Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=0ad7b45619f0bdf5c3c8ceaeee76c8c708d1ceae
commit 0ad7b45619f0bdf5c3c8ceaeee76c8c708d1ceae Author: bouleetbil <bouleet...@frogdev.info> Date: Thu Aug 20 14:03:37 2009 +0200 trayer-1.0-5-i686 *added patch for fix build diff --git a/source/x11-extra/trayer/FrugalBuild b/source/x11-extra/trayer/FrugalBuild index 4f68851..7c8e8d7 100644 --- a/source/x11-extra/trayer/FrugalBuild +++ b/source/x11-extra/trayer/FrugalBuild @@ -4,22 +4,27 @@ pkgname=trayer pkgver=1.0 -pkgrel=4 +pkgrel=5 pkgdesc="A system tray" _F_berlios_dirname="fvwm-crystal" Finclude berlios +source=($source GtkFix.diff) url="http://fvwm-crystal.org/" depends=('gtk+2>=2.16.2-2' 'libxmu>=1.0.4-2') groups=('x11-extra') archs=('i686' 'x86_64') options=('scriptlet') up2date="lynx -dump 'http://developer.berlios.de/project/showfiles.php?group_id=1595'|grep -o -m 1 'trayer-.*\.tar\.gz'|sed -e 's/trayer-//' -e 's/\.tar\.gz//'" -sha1sums=('f2657693d196578e3776b0812952dfa1c25878cc') +sha1sums=('f2657693d196578e3776b0812952dfa1c25878cc' \ + '1eab347b4459cbf634e1fac4301c4243f49955a8') build() { Fsed "CFLAGS = -O2" "CFLAGS = $CFLAGS" Makefile.common + Fpatchall Fmake Fexerel usr/bin/trayer } + +# optimization OK diff --git a/source/x11-extra/trayer/GtkFix.diff b/source/x11-extra/trayer/GtkFix.diff new file mode 100644 index 0000000..062f332 --- /dev/null +++ b/source/x11-extra/trayer/GtkFix.diff @@ -0,0 +1,12 @@ +--- trayer-1.0.orig/Makefile.common ++++ trayer-1.0/Makefile.common +@@ -25,7 +25,7 @@ + endif + + # -DGTK_DISABLE_DEPRECATED does not work yet +-CFLAGS += -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED ++CFLAGS += -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED + + %.o: %.c + $(CC) $(CFLAGS) $(INCS) -c $< + _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git