[arch-commits] Commit in libglade/trunk (PKGBUILD bgo555149.patch)
Jan de Groot
jgc at archlinux.org
Sun Mar 8 13:26:38 UTC 2009
Date: Sunday, March 8, 2009 @ 09:26:38
Author: jgc
Revision: 29376
upgpkg: libglade 2.6.3-2
Fix FS#12773 (upstream bug 555149)
Added:
libglade/trunk/bgo555149.patch
Modified:
libglade/trunk/PKGBUILD
-----------------+
PKGBUILD | 21 +++++++++++++--------
bgo555149.patch | 47 +++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 60 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2009-03-08 13:24:58 UTC (rev 29375)
+++ PKGBUILD 2009-03-08 13:26:38 UTC (rev 29376)
@@ -3,24 +3,29 @@
pkgname=libglade
pkgver=2.6.3
-pkgrel=1
+pkgrel=2
pkgdesc="Allows you to load glade interface files in a program at runtime"
arch=(i686 x86_64)
license=('LGPL')
-depends=('gtk2>=2.14.1' 'libxml2>=2.6.32')
+depends=('gtk2>=2.14.7' 'libxml2>=2.7.3')
makedepends=('python' 'pkgconfig')
+optdepends=('python: libglade-convert script')
options=('!libtool')
install=glade.install
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.6/${pkgname}-${pkgver}.tar.bz2
- libglade-2.0.1-nowarning.patch)
+ libglade-2.0.1-nowarning.patch
+ bgo555149.patch)
url="http://www.gnome.org"
-md5sums=('1c359860b1a0f369f0b6e3f96fd985c2' '4f879c0ce550004905aa0fb24f25c353')
+md5sums=('1c359860b1a0f369f0b6e3f96fd985c2'
+ '4f879c0ce550004905aa0fb24f25c353'
+ '02e1e7f3538b9d8f0c0c64eb01e535c6')
build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- patch -Np1 -i ${srcdir}/libglade-2.0.1-nowarning.patch || return 1
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -Np1 -i "${srcdir}/libglade-2.0.1-nowarning.patch" || return 1
+ patch -Np0 -i "${srcdir}/bgo555149.patch" || return 1
./configure --sysconfdir=/etc --prefix=/usr --localstatedir=/var || return 1
make || return 1
- make DESTDIR=${pkgdir} install || return 1
- install -m755 libglade-convert ${pkgdir}/usr/bin/libglade-convert || return 1
+ make DESTDIR="${pkgdir}" install || return 1
+ install -m755 libglade-convert "${pkgdir}/usr/bin/" || return 1
}
Added: bgo555149.patch
===================================================================
--- bgo555149.patch (rev 0)
+++ bgo555149.patch 2009-03-08 13:26:38 UTC (rev 29376)
@@ -0,0 +1,47 @@
+Index: glade/glade-build.h
+===================================================================
+--- glade/glade-build.h (revision 546)
++++ glade/glade-build.h (working copy)
+@@ -26,10 +26,7 @@
+ #include <glib-object.h>
+ #include <gmodule.h>
+ #include <glade/glade-xml.h>
+-#include <gtk/gtkwidget.h>
+-#include <gtk/gtkwindow.h>
+-#include <gtk/gtkaccelgroup.h>
+-#include <gtk/gtkadjustment.h>
++#include <gtk/gtk.h>
+
+ #include <glade/glade-parser.h>
+
+Index: glade/glade-xml.h
+===================================================================
+--- glade/glade-xml.h (revision 546)
++++ glade/glade-xml.h (working copy)
+@@ -23,8 +23,7 @@
+ #define GLADE_XML_H
+
+ #include <glib.h>
+-#include <gtk/gtkwidget.h>
+-#include <gtk/gtktooltips.h>
++#include <gtk/gtk.h>
+
+ G_BEGIN_DECLS
+
+Index: glade/glade-xml.c
+===================================================================
+--- glade/glade-xml.c (revision 546)
++++ glade/glade-xml.c (working copy)
+@@ -30,11 +30,7 @@
+ #include <glade/glade-build.h>
+ #include <glade/glade-private.h>
+ #include <gmodule.h>
+-#include <gtk/gtkobject.h>
+-#include <gtk/gtksignal.h>
+-#include <gtk/gtkwidget.h>
+-#include <gtk/gtkcontainer.h>
+-#include <gtk/gtklabel.h>
++#include <gtk/gtk.h>
+ #include <atk/atk.h>
+
+ #ifdef ENABLE_NLS
More information about the arch-commits
mailing list