summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-04-30 18:28:55 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-04-30 18:28:55 (GMT)
commitc37fcb9bfbacbde499f3a7ff3016c7af99a6a7ab (patch)
treeab0761e1bf94dd687e69420763abe572c68f22d9 /abs/extra-testing
parente0366c16c6cc3833daffc4fc0c24c642bff870e2 (diff)
downloadlinhes_pkgbuild-c37fcb9bfbacbde499f3a7ff3016c7af99a6a7ab.zip
linhes_pkgbuild-c37fcb9bfbacbde499f3a7ff3016c7af99a6a7ab.tar.gz
linhes_pkgbuild-c37fcb9bfbacbde499f3a7ff3016c7af99a6a7ab.tar.bz2
Updated to latest.
Diffstat (limited to 'abs/extra-testing')
-rw-r--r--abs/extra-testing/gdl/PKGBUILD10
-rw-r--r--abs/extra-testing/libglade/PKGBUILD28
-rw-r--r--abs/extra-testing/libglade/glade.install25
-rw-r--r--abs/extra-testing/libglade/libglade-2.0.1-nowarning.patch39
4 files changed, 97 insertions, 5 deletions
diff --git a/abs/extra-testing/gdl/PKGBUILD b/abs/extra-testing/gdl/PKGBUILD
index bd7853c..ee649c2 100644
--- a/abs/extra-testing/gdl/PKGBUILD
+++ b/abs/extra-testing/gdl/PKGBUILD
@@ -1,18 +1,18 @@
-# $Id: PKGBUILD 15373 2008-10-13 12:01:00Z jgc $
+# $Id: PKGBUILD 32356 2009-03-30 17:59:10Z andyrtr $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=gdl
-pkgver=2.24.0
+pkgver=2.26.0
pkgrel=1
pkgdesc="Gnome Devtool Libraries"
arch=(i686 x86_64)
license=('GPL')
url="http://www.gnome.org/"
-depends=('libglade>=2.6.3')
+depends=('libglade>=2.6.4')
makedepends=('pkgconfig')
options=('!libtool')
-source=(http://ftp.gnome.org/pub/GNOME/sources/gdl/2.24/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('1d5cd4af1f4041394169d643316646bf')
+source=(http://ftp.gnome.org/pub/GNOME/sources/gdl/2.26/${pkgname}-${pkgver}.tar.bz2)
+md5sums=('8915b8808d88e12c1bb53e84f50e6707')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
diff --git a/abs/extra-testing/libglade/PKGBUILD b/abs/extra-testing/libglade/PKGBUILD
new file mode 100644
index 0000000..95eff9b
--- /dev/null
+++ b/abs/extra-testing/libglade/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 30217 2009-03-17 18:11:58Z jgc $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+
+pkgname=libglade
+pkgver=2.6.4
+pkgrel=1
+pkgdesc="Allows you to load glade interface files in a program at runtime"
+arch=(i686 x86_64)
+license=('LGPL')
+depends=('gtk2>=2.16.0' '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)
+url="http://www.gnome.org"
+md5sums=('d1776b40f4e166b5e9c107f1c8fe4139'
+ '4f879c0ce550004905aa0fb24f25c353')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -Np1 -i "${srcdir}/libglade-2.0.1-nowarning.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/" || return 1
+}
diff --git a/abs/extra-testing/libglade/glade.install b/abs/extra-testing/libglade/glade.install
new file mode 100644
index 0000000..a7f05c5
--- /dev/null
+++ b/abs/extra-testing/libglade/glade.install
@@ -0,0 +1,25 @@
+post_install() {
+ if [ ! -d etc/xml ]; then
+ mkdir -p etc/xml
+ fi
+ if [ ! -e etc/xml/catalog ]; then
+ xmlcatalog --noout --create etc/xml/catalog
+ fi
+ xmlcatalog --noout --add "system" \
+ "http://glade.gnome.org/glade-2.0.dtd" \
+ /usr/share/xml/libglade/glade-2.0.dtd etc/xml/catalog
+}
+
+pre_upgrade() {
+ post_remove
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+# arg 1: the old package version
+post_remove() {
+ xmlcatalog --noout --del \
+ /usr/share/xml/libglade/glade-2.0.dtd etc/xml/catalog
+}
diff --git a/abs/extra-testing/libglade/libglade-2.0.1-nowarning.patch b/abs/extra-testing/libglade/libglade-2.0.1-nowarning.patch
new file mode 100644
index 0000000..fd07121
--- /dev/null
+++ b/abs/extra-testing/libglade/libglade-2.0.1-nowarning.patch
@@ -0,0 +1,39 @@
+--- libglade-2.0.1/glade/glade-gtk.c.nowarning 2003-08-29 14:50:10.000000000 -0400
++++ libglade-2.0.1/glade/glade-gtk.c 2003-08-29 14:58:41.000000000 -0400
+@@ -639,9 +639,8 @@
+ if (!strcmp (childinfo->properties[j].name, "label")) {
+ label = childinfo->properties[j].value;
+ break;
+- } else {
+- g_warning ("Unknown CList child property: %s", childinfo->properties[j].name);
+ }
++ /* Ignore all other properties */
+ }
+
+ if (label) {
+@@ -683,6 +682,7 @@
+ char *icon = NULL;
+ gboolean use_stock = FALSE, active = FALSE, new_group = FALSE;
+ gboolean use_underline = FALSE;
++ gboolean sensitive = TRUE;
+ GtkWidget *iconw = NULL;
+ int j;
+
+@@ -708,6 +708,8 @@
+ group_name = value;
+ } else if (!strcmp (name, "new_group")) {
+ new_group = BOOL (value);
++ } else if (!strcmp (name, "sensitive")) {
++ sensitive = BOOL (value);
+ } else if (!strcmp (name, "visible")) {
+ /* ignore for now */
+ } else if (!strcmp (name, "tooltip")) {
+@@ -785,6 +787,8 @@
+ gtk_label_set_use_underline (GTK_LABEL (toolbar_child->label),
+ TRUE);
+ }
++
++ gtk_widget_set_sensitive (child, sensitive);
+
+ glade_xml_set_common_params (xml, child, childinfo->child);
+ } else {