Skip to content

Commit

Permalink
Add indicator-emojitwo packaging.
Browse files Browse the repository at this point in the history
  • Loading branch information
flexiondotorg committed Oct 4, 2019
1 parent 790bdd4 commit 0e70ffc
Show file tree
Hide file tree
Showing 10 changed files with 497 additions and 0 deletions.
5 changes: 5 additions & 0 deletions debian/indicator-emojitwo/debian/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
indicator-emojitwo (19.10.1-0ubuntu1~eoan1.1) eoan; urgency=medium

* Initial release.

-- Martin Wimpress <[email protected]> Thu, 03 Oct 2019 20:53:40 +0100
23 changes: 23 additions & 0 deletions debian/indicator-emojitwo/debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
Source: indicator-emojitwo
Section: misc
Priority: optional
Homepage: https://github.com/ubuntu-mate/indicator-emojitwo
Build-Depends: debhelper-compat (=12),
python3,
Standards-Version: 4.4.0
Maintainer: Martin Wimpress <[email protected]>

Package: indicator-emojitwo
Depends: gir1.2-appindicator3-0.1,
gir1.2-gtk-3.0,
gir1.2-notify-0.7,
gir1.2-rsvg-2.0,
python3-gi,
python3-setproctitle,
python3,
${misc:Depends},
Architecture: all
Description: A emoji picker for the indicator area using Emoji Two
Emoji Picker featuring several menus and a search panel.
.
You must paste the emojis wherever you want to use them.
384 changes: 384 additions & 0 deletions debian/indicator-emojitwo/debian/copyright

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions debian/indicator-emojitwo/debian/install
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
assets/*.glade /usr/share/indicator-emojitwo/assets/
assets/*.json /usr/share/indicator-emojitwo/assets/
assets/categories/*.svg /usr/share/indicator-emojitwo/assets/categories/
assets/icon-default* /usr/share/indicator-emojitwo/assets/
assets/icon-mono*.png /usr/share/indicator-emojitwo/assets/
assets/svg/*.svg /usr/share/indicator-emojitwo/assets/svg/
indicator-emojitwo /usr/bin
indicator-emojitwo.desktop /usr/share/applications
28 changes: 28 additions & 0 deletions debian/indicator-emojitwo/debian/postinst
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#!/bin/bash

set -e

pathfind() {
OLDIFS="$IFS"
IFS=:
for p in $PATH; do
if [ -x "$p/$*" ]; then
IFS="$OLDIFS"
return 0
fi
done
IFS="$OLDIFS"
return 1
}

if `pathfind xdg-icon-resource` ; then
for SIZE in 16 22 24 32 48 64 ; do
xdg-icon-resource install --theme ubuntu-mono-dark --size ${SIZE} /usr/share/indicator-emojitwo/assets/icon-mono-dark-${SIZE}.png indicator-emojitwo || true
xdg-icon-resource install --theme ubuntu-mono-light --size ${SIZE} /usr/share/indicator-emojitwo/assets/icon-mono-light-${SIZE}.png indicator-emojitwo || true
done
xdg-icon-resource forceupdate || true
fi

#DEBHELPER#

exit 0
28 changes: 28 additions & 0 deletions debian/indicator-emojitwo/debian/postrm
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#!/bin/bash

set -e

pathfind() {
OLDIFS="$IFS"
IFS=:
for p in $PATH; do
if [ -x "$p/$*" ]; then
IFS="$OLDIFS"
return 0
fi
done
IFS="$OLDIFS"
return 1
}

if `pathfind xdg-icon-resource` ; then
for SIZE in 16 22 24 32 48 64 ; do
xdg-icon-resource uninstall --theme ubuntu-mono-dark --size ${SIZE} indicator-emojitwo || true
xdg-icon-resource uninstall --theme ubuntu-mono-light --size ${SIZE} indicator-emojitwo || true
done
xdg-icon-resource forceupdate || true
fi

#DEBHELPER#

exit 0
10 changes: 10 additions & 0 deletions debian/indicator-emojitwo/debian/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/usr/bin/make -f

%:
dh ${@}

override_dh_missing:
dh_missing --fail-missing

get-orig-source:
uscan --noconf --force-download --rename --download-current-version --destdir=..
1 change: 1 addition & 0 deletions debian/indicator-emojitwo/debian/source/format
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.0 (quilt)
8 changes: 8 additions & 0 deletions debian/indicator-emojitwo/debian/upstream/metadata
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Name: indicator-emojitwo
Bug-Database: https://github.com/ubuntu-mate/indicator-emojitwo/issues
Bug-Submit: https://github.com/ubuntu-mate/indicator-emojitwo/issues/new
Contact: [email protected]
Donation: https://ubuntu-mate.org/donate/
Repository: https://github.com/ubuntu-mate/indicator-emojitwo.git
Repository-Browse: https://github.com/ubuntu-mate/indicator-emojitwo
Security-Contact: [email protected]
2 changes: 2 additions & 0 deletions debian/indicator-emojitwo/debian/watch
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
version=3
https://github.com/ubuntu-mate/indicator-emojitwo/tags .*/V?(\d\S*)\.tar\.gz

0 comments on commit 0e70ffc

Please sign in to comment.