# HG changeset patch # User Aleksej Bobylev # Date 1408741863 0 # Node ID 7d4e36ba1ddd9fb7ab622527862e3b1288a141e3 # Parent 7e9bfc819c6cfa9eeb4d6bab192c234994539745 gnome-calculator: compile glib schemes, fix absent icons, remove translations. diff -r 7e9bfc819c6c -r 7d4e36ba1ddd gnome-calculator/receipt --- a/gnome-calculator/receipt Fri Aug 22 18:46:29 2014 +0200 +++ b/gnome-calculator/receipt Fri Aug 22 21:11:03 2014 +0000 @@ -13,9 +13,18 @@ DEPENDS="gtk+3 glib" BUILD_DEPENDS="gtk+3-dev glib-dev itstool yelp-xsl" +L10N_MO="af am ar as ast az be@latin be bg bn_IN bn bs ca ca@valencia cs cy da \ +de dz el en_CA en_GB en@shaw en_US eo es et eu fa fi fr ga gl gu he hi hr hu \ +hy id it ja ka kk km kn ko ku lt lv mai mg mk ml mn mr ms my nb ne nl nn oc or \ +pa pl pt_BR pt ro ru rw si sk sl sq sr@latin sr sv ta te tg th tk tr ug uk vi \ +xh zh_CN zh_HK zh_TW" + # Rules to configure and make the package. compile_rules() { + # SliTaz icon theme has no symbolic icons + sed -i 's|-symbolic||g' $src/data/buttons*.ui + ./configure \ --prefix=/usr \ $CONFIGURE_ARGS && @@ -26,4 +35,17 @@ genpkg_rules() { cp -a $install/usr $fs + rm -rf $fs/usr/share/locale } + +post_install() +{ + echo "Processing post-install commands..." + chroot $1/ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas +} + +post_remove() +{ + echo "Processing post-remove commands..." + chroot $1/ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas +}