[arch-commits] Commit in libglade/repos/extra-x86_64 (6 files)

Jan de Groot jgc at archlinux.org
Sun Jun 3 21:36:36 UTC 2018


    Date: Sunday, June 3, 2018 @ 21:36:35
  Author: jgc
Revision: 325720

archrelease: copy trunk to extra-x86_64

Added:
  libglade/repos/extra-x86_64/PKGBUILD
    (from rev 325719, libglade/trunk/PKGBUILD)
  libglade/repos/extra-x86_64/glade.install
    (from rev 325719, libglade/trunk/glade.install)
  libglade/repos/extra-x86_64/libglade-2.0.1-nowarning.patch
    (from rev 325719, libglade/trunk/libglade-2.0.1-nowarning.patch)
Deleted:
  libglade/repos/extra-x86_64/PKGBUILD
  libglade/repos/extra-x86_64/glade.install
  libglade/repos/extra-x86_64/libglade-2.0.1-nowarning.patch

--------------------------------+
 PKGBUILD                       |   73 +++++++++++++++++++-----------------
 glade.install                  |   50 ++++++++++++-------------
 libglade-2.0.1-nowarning.patch |   78 +++++++++++++++++++--------------------
 3 files changed, 102 insertions(+), 99 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-06-03 21:36:32 UTC (rev 325719)
+++ PKGBUILD	2018-06-03 21:36:35 UTC (rev 325720)
@@ -1,35 +0,0 @@
-# $Id$
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-
-pkgname=libglade
-pkgver=2.6.4
-pkgrel=5
-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=('python2' 'pkgconfig')
-optdepends=('python2: libglade-convert script')
-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')
-
-prepare() {
-  cd $pkgname-$pkgver
-  patch -Np1 -i ../libglade-2.0.1-nowarning.patch
-}
-
-build() {
-  cd $pkgname-$pkgver
-  PYTHON=/usr/bin/python2 ./configure --sysconfdir=/etc --prefix=/usr --localstatedir=/var
-  make
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="${pkgdir}" install
-  install -m755 libglade-convert "${pkgdir}/usr/bin/"
-}

Copied: libglade/repos/extra-x86_64/PKGBUILD (from rev 325719, libglade/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-06-03 21:36:35 UTC (rev 325720)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=libglade
+pkgver=2.6.4
+pkgrel=6
+pkgdesc="Allows you to load glade interface files in a program at runtime"
+arch=(x86_64)
+license=('LGPL')
+depends=('gtk2>=2.16.0' 'libxml2>=2.7.3')
+makedepends=('python2' 'pkgconfig')
+optdepends=('python2: libglade-convert script')
+install=glade.install
+source=(https://download.gnome.org/sources/${pkgname}/2.6/${pkgname}-${pkgver}.tar.bz2
+	libglade-2.0.1-nowarning.patch)
+url="http://www.gnome.org"
+sha256sums=('64361e7647839d36ed8336d992fd210d3e8139882269bed47dc4674980165dec'
+            '423c12af1c73442caa851a0b8db33b00fa4b778b1b422a4e8ac33d121d043008')
+
+prepare() {
+  cd $pkgname-$pkgver
+  patch -Np1 -i ../libglade-2.0.1-nowarning.patch
+}
+
+build() {
+  cd $pkgname-$pkgver
+  PYTHON=/usr/bin/python2 ./configure --sysconfdir=/etc --prefix=/usr --localstatedir=/var
+
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="${pkgdir}" install
+  install -m755 libglade-convert "${pkgdir}/usr/bin/"
+}

Deleted: glade.install
===================================================================
--- glade.install	2018-06-03 21:36:32 UTC (rev 325719)
+++ glade.install	2018-06-03 21:36:35 UTC (rev 325720)
@@ -1,25 +0,0 @@
-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
-}

Copied: libglade/repos/extra-x86_64/glade.install (from rev 325719, libglade/trunk/glade.install)
===================================================================
--- glade.install	                        (rev 0)
+++ glade.install	2018-06-03 21:36:35 UTC (rev 325720)
@@ -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
+}

Deleted: libglade-2.0.1-nowarning.patch
===================================================================
--- libglade-2.0.1-nowarning.patch	2018-06-03 21:36:32 UTC (rev 325719)
+++ libglade-2.0.1-nowarning.patch	2018-06-03 21:36:35 UTC (rev 325720)
@@ -1,39 +0,0 @@
---- 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 {

Copied: libglade/repos/extra-x86_64/libglade-2.0.1-nowarning.patch (from rev 325719, libglade/trunk/libglade-2.0.1-nowarning.patch)
===================================================================
--- libglade-2.0.1-nowarning.patch	                        (rev 0)
+++ libglade-2.0.1-nowarning.patch	2018-06-03 21:36:35 UTC (rev 325720)
@@ -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 {



More information about the arch-commits mailing list