Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=d9afe33e68153192a5cfb9210e7140e91e910052
commit d9afe33e68153192a5cfb9210e7140e91e910052 Author: James Buren <[email protected]> Date: Tue Nov 17 22:04:55 2015 +0100 fun-0.3.4-3-x86_64 * remove package diff --git a/source/xapps-extra/fun/FrugalBuild b/source/xapps-extra/fun/FrugalBuild deleted file mode 100644 index 09cff8d..0000000 --- a/source/xapps-extra/fun/FrugalBuild +++ /dev/null @@ -1,31 +0,0 @@ -# Compiling Time: 0.05 SBU -# Maintainer: Priyank Gosalia <[email protected]> - -pkgname=fun -pkgver=0.3.4 -pkgrel=3 -pkgdesc="Frugalware Update Notifier (FUN)" -url="http://ftp.frugalware.org/pub/other/fun" -rodepends=('gfpm>=1.2.1') -depends=('glib2' 'gtk+2>=2.20.1' 'libglade' 'dbus' \ - 'dbus-glib>=0.80' 'libnotify' 'libnxml' 'openssl>=1.0.0') -makedepends=('pkgconfig' 'intltool') -groups=('xapps-extra') -archs=('i686' 'x86_64') -options=('genscriptlet') -_F_gnome_iconcache="y" -_F_gnome_scriptlet="$pkgname.install" -Finclude gnome-scriptlet -up2date="lynx -dump $url | Flasttar" -source=($url/$pkgname-$pkgver.tar.gz fun.service) -sha1sums=('b9c14747593dc22e450e8a182403e2b82725d81d' \ - '4570162ee41a854bea8a7a5d72a64084d6b2668b') - -build() -{ - Fbuild - Fbuild_gnome_scriptlet - Ffile /lib/systemd/system/fun.service -} - -# optimization OK diff --git a/source/xapps-extra/fun/fun.install b/source/xapps-extra/fun/fun.install deleted file mode 100644 index de93ecd..0000000 --- a/source/xapps-extra/fun/fun.install +++ /dev/null @@ -1,237 +0,0 @@ -systemd_units=(fun=e) - -schemas=($_F_gnome_schemas) -entries=($_F_gnome_entries) - -UpdateDesktopDatabase() -{ - if [ -f /usr/bin/update-desktop-database ] - then - echo -n "updating desktop database..." - if update-desktop-database > /dev/null 2>&1 ; then - echo " done." - else - echo " failed." - fi - fi - if [ -f /usr/bin/update-desktop-database-3.0 ] - then - echo -n "updating desktop database gtk+3..." - if update-desktop-database > /dev/null 2>&1 ; then - echo " done." - else - echo " failed." - fi - fi -} -UpdateIconCache() -{ - if [ -f /usr/bin/gtk-update-icon-cache ] - then - echo -n "updating hicolor icon cache..." - if gtk-update-icon-cache -f -t /usr/share/icons/hicolor > /dev/null 2>&1 ; then - echo " done." - else - echo " failed." - fi - fi - if [ -f /usr/bin/gtk-update-icon-cache-3.0 ] - then - echo -n "updating hicolor icon cache gtk+3..." - if gtk-update-icon-cache-3.0 -f -t /usr/share/icons/hicolor > /dev/null 2>&1 ; then - echo " done." - else - echo " failed." - fi - fi -} -post_install() -{ - if [ ${#schemas[*]} -gt 0 ]; then - echo -n "installing gconf schemas... " - for schema in "${schemas[@]}" ; do - GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` \ - /usr/bin/gconftool-2 --makefile-install-rule "$schema" > /dev/null 2>&1 - done - if [ -e /bin/pidof ]; then - kill -HUP `pidof /usr/libexec/gconfd-2` > /dev/null 2>&1 - fi - echo "done." - fi - if [ ${#entries[*]} -gt 0 ]; then - echo -n "loading gconf entries... " - for entry in "${entries[@]}" ; do - gconftool-2 --direct --config-source=`/usr/bin/gconftool-2 --get-default-source` --load $entry > /dev/null 2>&1 - done - if [ -e /bin/pidof ]; then - kill -HUP `pidof /usr/libexec/gconfd-2` > /dev/null 2>&1 - fi - echo "done." - fi - if [ -n "$_F_gnome_glib" ]; then - echo -n "loading schema glib entries... " - glib-compile-schemas /usr/share/glib-2.0/schemas - echo "done." - fi - if [ -n "$_F_gnome_desktop" ]; then - UpdateDesktopDatabase - fi - if [ -n "$_F_gnome_scrollkeeper" ]; then - echo -n "updating rarian database..." - if rarian-sk-update -q > /dev/null 2>&1 ; then - echo " done." - else - echo " failed." - fi - fi - if [ -n "$_F_gnome_mime" ]; then - echo -n "updating mime database..." - if update-mime-database /usr/share/mime > /dev/null 2>&1 ; then - echo " done." - else - echo " failed." - fi - fi - if [ -n "$_F_gnome_iconcache" ]; then - UpdateIconCache - fi - - local unit - local op - - for i in ${systemd_units[@]}; do - unit=$(echo $i | cut -f 1 -d '=') - op=$(echo $i | cut -f 2 -d '=') - if echo $op | grep -q 'e'; then - systemctl enable $unit.service >/dev/null 2>&1 - fi - if echo $op | grep -q 's'; then - systemctl start $unit.service >/dev/null 2>&1 - fi - done -} - -post_upgrade() -{ - if [ ${#schemas[*]} -gt 0 ]; then - echo -n "installing gconf schemas... " - for schema in "${schemas[@]}" ; do - GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` \ - /usr/bin/gconftool-2 --makefile-install-rule "$schema" > /dev/null 2>&1 - done - if [ -e /bin/pidof ]; then - kill -HUP `pidof /usr/libexec/gconfd-2` > /dev/null 2>&1 - fi - echo "done." - fi - if [ ${#entries[*]} -gt 0 ]; then - echo -n "loading gconf entries... " - for entry in "${entries[@]}" ; do - gconftool-2 --direct --config-source=`/usr/bin/gconftool-2 --get-default-source` --load $entry > /dev/null 2>&1 - done - if [ -e /bin/pidof ]; then - kill -HUP `pidof /usr/libexec/gconfd-2` > /dev/null 2>&1 - fi - echo "done." - fi - if [ -n "$_F_gnome_glib" ]; then - echo -n "loading schema glib entries... " - glib-compile-schemas /usr/share/glib-2.0/schemas - echo "done." - fi - if [ -n "$_F_gnome_desktop" ]; then - UpdateDesktopDatabase - fi - if [ -n "$_F_gnome_scrollkeeper" ]; then - echo -n "updating rarian database..." - if rarian-sk-update -q > /dev/null 2>&1 ; then - echo " done." - else - echo " failed." - fi - fi - if [ -n "$_F_gnome_mime" ]; then - echo -n "updating mime database..." - if update-mime-database /usr/share/mime > /dev/null 2>&1 ; then - echo " done." - else - echo " failed." - fi - fi - if [ -n "$_F_gnome_iconcache" ]; then - UpdateIconCache - fi - - - systemctl daemon-reload >/dev/null 2>&1 -} - -pre_remove() { - if [ -n "$_F_gnome_glib" ]; then - echo -n "loading schema glib entries... " - glib-compile-schemas /usr/share/glib-2.0/schemas - echo "done." - fi - if [ ${#schemas[*]} -gt 0 ]; then - echo -n "updating gconf schemas... " - for schema in "${schemas[@]}" ; do - GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` \ - /usr/bin/gconftool-2 --makefile-install-rule "$schema" > /dev/null 2>&1 - done - if [ -e /bin/pidof ]; then - kill -HUP `pidof /usr/libexec/gconfd-2` > /dev/null 2>&1 - fi - echo "done." - fi - if [ ${#entries[*]} -gt 0 ]; then - echo -n "unloading gconf entries... " - for entry in "${entries[@]}" ; do - gconftool-2 --direct --config-source=`/usr/bin/gconftool-2 --get-default-source` --unload $entry > /dev/null 2>&1 - done - if [ -e /bin/pidof ]; then - kill -HUP `pidof /usr/libexec/gconfd-2` > /dev/null 2>&1 - fi - echo "done." - fi - - local unit - - for i in ${systemd_units[@]}; do - unit=$(echo $i | cut -f 1 -d '=') - systemctl --no-reload disable $unit.service >/dev/null 2>&1 - systemctl stop $unit.service >/dev/null 2>&1 - done -} - -post_remove() -{ - if [ -n "$_F_gnome_desktop" ]; then - UpdateDesktopDatabase - fi - if [ -n "$_F_gnome_scrollkeeper" ]; then - echo -n "updating rarian database..." - if rarian-sk-update -q > /dev/null 2>&1 ; then - echo " done." - else - echo " failed." - fi - fi - if [ -n "$_F_gnome_mime" ]; then - echo -n "updating mime database..." - if update-mime-database /usr/share/mime > /dev/null 2>&1 ; then - echo " done." - else - echo " failed." - fi - fi - if [ -n "$_F_gnome_iconcache" ]; then - UpdateIconCache - fi - - systemctl daemon-reload >/dev/null 2>&1 -} - -op=$1 -shift - -$op $* diff --git a/source/xapps-extra/fun/fun.service b/source/xapps-extra/fun/fun.service deleted file mode 100644 index a12dd6d..0000000 --- a/source/xapps-extra/fun/fun.service +++ /dev/null @@ -1,10 +0,0 @@ -[Unit] -Description=Frugalware Update Notifier daemon -After=network.target - -[Service] -ExecStart=/usr/sbin/fund --daemon -Type=forking - -[Install] -WantedBy=multi-user.target _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
