Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=ayatana.git;a=commitdiff;h=a31193982b1eb74e1b7199e5766cd95fa19b6f26

commit a31193982b1eb74e1b7199e5766cd95fa19b6f26
Author: Devil505 <devil505li...@gmail.com>
Date:   Sat Jul 9 07:22:14 2011 +0200

libindicator-0.3.90-1-i686
* version bump
* added patch to fix gtk2 support

diff --git a/source/xlib-extra/libindicator/417_416.diff 
b/source/xlib-extra/libindicator/417_416.diff
new file mode 100644
index 0000000..ea5a117
--- /dev/null
+++ b/source/xlib-extra/libindicator/417_416.diff
@@ -0,0 +1,16 @@
+=== modified file 'tools/indicator-loader.c'
+--- tools/indicator-loader.c   2011-07-06 21:33:09 +0000
++++ tools/indicator-loader.c   2011-07-07 13:25:11 +0000
+@@ -44,7 +44,11 @@
+       g_debug("Signal: Entry Added");
+
+       GtkWidget * menuitem = gtk_menu_item_new();
++#if GTK_CHECK_VERSION(3,0,0)
+       GtkWidget * hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 3);
++#else
++      GtkWidget * hbox = gtk_hbox_new(FALSE, 3);
++#endif
+
+       if (entry->image != NULL) {
+               gtk_box_pack_start(GTK_BOX(hbox), GTK_WIDGET(entry->image), 
FALSE, FALSE, 0);
+
diff --git a/source/xlib-extra/libindicator/FrugalBuild 
b/source/xlib-extra/libindicator/FrugalBuild
index e368ff5..80fc62e 100644
--- a/source/xlib-extra/libindicator/FrugalBuild
+++ b/source/xlib-extra/libindicator/FrugalBuild
@@ -2,7 +2,7 @@
# Maintainer: Devil505 <devil505li...@gmail.com>

pkgname=libindicator
-pkgver=0.3.22
+pkgver=0.3.90
pkgrel=1
pkgdesc="A set of symbols and convenience functions that all indicators would 
like to use."
url="https://launchpad.net/libindicator";
@@ -10,17 +10,19 @@ depends=('gtk+2' 'gtk+3' 'dbus-glib')
options=('scriptlet')
groups=('xlib-extra')
archs=('i686' 'x86_64')
-up2date="Flasttar $url"
-Fconfopts="${Fconfopts[@]} "
-source=(http://launchpad.net/$pkgname/0.3/$pkgver/+download/$pkgname-$pkgver.tar.gz)
-sha1sums=('83fa101c972a6ff7d42f108f6e0e6adcbc439d5a')
+_F_launchpad_branch="0.4"
+Finclude launchpad
+source=($source 417_416.diff)
+sha1sums=('401237558cab8dcb5258f0b9b38ee4efa50292fd' \
+          '51dc3fe66e3e9018119dcbcc16631bbceeaccf04')

unset MAKEFLAGS

build() {
-    Fbuild --with-gtk=3
+    Fpatchall
+    Fmake --with-gtk=3
make clean || Fdie
-    Fbuild --with-gtk=2
+    Fmake --with-gtk=2
}

# optimization OK
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to