[arch-commits] Commit in trayer/trunk (PKGBUILD trayer.diff)

Thayer Williams thayer at archlinux.org
Fri Oct 17 22:21:18 UTC 2008


    Date: Friday, October 17, 2008 @ 18:21:17
  Author: thayer
Revision: 15736

upgpkg: trayer 1.0-2
    fixed CFLAGS required for compilation

Added:
  trayer/trunk/trayer.diff
Modified:
  trayer/trunk/PKGBUILD

-------------+
 PKGBUILD    |   13 +++++++++----
 trayer.diff |   22 ++++++++++++++++++++++
 2 files changed, 31 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-10-17 21:57:48 UTC (rev 15735)
+++ PKGBUILD	2008-10-17 22:21:17 UTC (rev 15736)
@@ -1,18 +1,23 @@
 # $Id$
-# Maintainer: Simo Leone <simo at archlinux.org>
+# Maintainer: Thayer Williams <thayer at archlinux.org>
+# Contributor: Unknown
 
 pkgname=trayer
 pkgver=1.0
 pkgrel=2
 pkgdesc="Swallows GTK 1.2/2.x application docklets, and KDE docklets."
+arch=('i686')
 url="http://fvwm-crystal.org"
-license=""
+license=('GPL' 'custom')
 depends=('gtk2')
-source=(http://download.gna.org/fvwm-crystal/trayer/$pkgver/$pkgname-$pkgver.tar.gz)
-md5sums=('e1b0b6464f991f2c296561e377585867')
+source=(http://download.gna.org/fvwm-crystal/trayer/$pkgver/$pkgname-$pkgver.tar.gz
+        trayer.diff)
+md5sums=('e1b0b6464f991f2c296561e377585867'
+         '7f66eee885563871f9f76646bca6b14d')
 
 build() {
   cd $startdir/src/$pkgname-$pkgver
+  patch -Np0 -i ${startdir}/src/trayer.diff || return 1
   make || return 1
   make PREFIX=$startdir/pkg/usr install
 }

Added: trayer.diff
===================================================================
--- trayer.diff	                        (rev 0)
+++ trayer.diff	2008-10-17 22:21:17 UTC (rev 15736)
@@ -0,0 +1,22 @@
+ # This patchfile was courtesy of the Debian team.  Thanks!
+--- Makefile.common
++++ 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 $<
+--- panel.c
++++ panel.c~
+@@ -588,7 +588,6 @@
+     printf(" --height <number>\n");
+     printf(" --SetDockType <true|false>\n");
+     printf(" --SetPartialStrut <true|false>\n");
+-    printf(" --RoundCorners <true|false>\n");
+     printf(" --transparent <true|false>\n");
+     printf(" --alpha <number>\n");
+     printf(" --tint <int>\n");




More information about the arch-commits mailing list