[arch-commits] Commit in gdome2/repos (6 files)

Eric Bélanger eric at nymeria.archlinux.org
Tue Oct 29 18:43:37 UTC 2013


    Date: Tuesday, October 29, 2013 @ 19:43:37
  Author: eric
Revision: 197759

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  gdome2/repos/extra-i686/PKGBUILD
    (from rev 197758, gdome2/trunk/PKGBUILD)
  gdome2/repos/extra-i686/gdome2-0.8.1-libxml2.patch
    (from rev 197758, gdome2/trunk/gdome2-0.8.1-libxml2.patch)
  gdome2/repos/extra-x86_64/PKGBUILD
    (from rev 197758, gdome2/trunk/PKGBUILD)
  gdome2/repos/extra-x86_64/gdome2-0.8.1-libxml2.patch
    (from rev 197758, gdome2/trunk/gdome2-0.8.1-libxml2.patch)
Deleted:
  gdome2/repos/extra-i686/PKGBUILD
  gdome2/repos/extra-x86_64/PKGBUILD

-----------------------------------------+
 /PKGBUILD                               |   66 ++++++++++++++++++++++++++++++
 extra-i686/PKGBUILD                     |   26 -----------
 extra-i686/gdome2-0.8.1-libxml2.patch   |   18 ++++++++
 extra-x86_64/PKGBUILD                   |   26 -----------
 extra-x86_64/gdome2-0.8.1-libxml2.patch |   18 ++++++++
 5 files changed, 102 insertions(+), 52 deletions(-)

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2013-10-29 18:42:47 UTC (rev 197758)
+++ extra-i686/PKGBUILD	2013-10-29 18:43:37 UTC (rev 197759)
@@ -1,26 +0,0 @@
-# $Id$
-# Maintainer:
-# Contributor: Jan de Groot <jgc at archlinux.org>
-
-pkgname=gdome2
-pkgver=0.8.1
-pkgrel=4
-pkgdesc="Gnome DOM Engine"
-url="http://gdome2.cs.unibo.it/"
-arch=('i686' 'x86_64')
-license=('LGPL')
-depends=('libxml2' 'glib2')
-options=(!libtool)
-source=("http://gdome2.cs.unibo.it/tarball/${pkgname}-${pkgver}.tar.gz")
-md5sums=('bfc114e59eec50cbda8e4ece751ff022')
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  ./configure --prefix=/usr --mandir=/usr/share/man
-  make
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  make DESTDIR="${pkgdir}" install
-}

Copied: gdome2/repos/extra-i686/PKGBUILD (from rev 197758, gdome2/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2013-10-29 18:43:37 UTC (rev 197759)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer:
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gdome2
+pkgver=0.8.1
+pkgrel=5
+pkgdesc="Gnome DOM Engine"
+arch=('i686' 'x86_64')
+url="http://gdome2.cs.unibo.it/"
+license=('LGPL')
+depends=('libxml2' 'glib2')
+source=("http://gdome2.cs.unibo.it/tarball/${pkgname}-${pkgver}.tar.gz"
+        gdome2-0.8.1-libxml2.patch)
+md5sums=('bfc114e59eec50cbda8e4ece751ff022'
+         'bde155107f30bf65d441adf70efc3c00')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  patch -p0 -i "${srcdir}/gdome2-0.8.1-libxml2.patch"
+}
+
+
+build() {
+  cd ${pkgname}-${pkgver}
+  ./configure --prefix=/usr --mandir=/usr/share/man
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+}

Copied: gdome2/repos/extra-i686/gdome2-0.8.1-libxml2.patch (from rev 197758, gdome2/trunk/gdome2-0.8.1-libxml2.patch)
===================================================================
--- extra-i686/gdome2-0.8.1-libxml2.patch	                        (rev 0)
+++ extra-i686/gdome2-0.8.1-libxml2.patch	2013-10-29 18:43:37 UTC (rev 197759)
@@ -0,0 +1,18 @@
+Patch by Harris Landgarten.
+
+The patch was submitted on bug 448236, following the announcement on
+https://mail.gnome.org/archives/xml/2012-August/msg00005.html
+--- libgdome/gdomecore/gdome-xml-documentt.c.orig	2003-07-13 06:47:54.000000000 -0400
++++ libgdome/gdomecore/gdome-xml-documentt.c	2012-12-23 08:57:23.000000000 -0500
+@@ -342,7 +342,11 @@
+ 	}
+ 	xmlNodeDumpOutput (out_buff, NULL, (xmlNode *)is, 0, 0, NULL);
+ 	xmlOutputBufferFlush(out_buff);
++#if LIBXML_VERSION < 20900
+ 	ret = g_strndup (out_buff->buffer->content, out_buff->buffer->use);
++#else
++	ret = g_strndup (xmlBufContent(out_buff->buffer), xmlBufUse(out_buff->buffer));
++#endif
+ 	(void)xmlOutputBufferClose(out_buff);
+ 
+ 	return gdome_xml_str_mkref_own (ret);

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2013-10-29 18:42:47 UTC (rev 197758)
+++ extra-x86_64/PKGBUILD	2013-10-29 18:43:37 UTC (rev 197759)
@@ -1,26 +0,0 @@
-# $Id$
-# Maintainer:
-# Contributor: Jan de Groot <jgc at archlinux.org>
-
-pkgname=gdome2
-pkgver=0.8.1
-pkgrel=4
-pkgdesc="Gnome DOM Engine"
-url="http://gdome2.cs.unibo.it/"
-arch=('i686' 'x86_64')
-license=('LGPL')
-depends=('libxml2' 'glib2')
-options=(!libtool)
-source=("http://gdome2.cs.unibo.it/tarball/${pkgname}-${pkgver}.tar.gz")
-md5sums=('bfc114e59eec50cbda8e4ece751ff022')
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  ./configure --prefix=/usr --mandir=/usr/share/man
-  make
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  make DESTDIR="${pkgdir}" install
-}

Copied: gdome2/repos/extra-x86_64/PKGBUILD (from rev 197758, gdome2/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2013-10-29 18:43:37 UTC (rev 197759)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer:
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gdome2
+pkgver=0.8.1
+pkgrel=5
+pkgdesc="Gnome DOM Engine"
+arch=('i686' 'x86_64')
+url="http://gdome2.cs.unibo.it/"
+license=('LGPL')
+depends=('libxml2' 'glib2')
+source=("http://gdome2.cs.unibo.it/tarball/${pkgname}-${pkgver}.tar.gz"
+        gdome2-0.8.1-libxml2.patch)
+md5sums=('bfc114e59eec50cbda8e4ece751ff022'
+         'bde155107f30bf65d441adf70efc3c00')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  patch -p0 -i "${srcdir}/gdome2-0.8.1-libxml2.patch"
+}
+
+
+build() {
+  cd ${pkgname}-${pkgver}
+  ./configure --prefix=/usr --mandir=/usr/share/man
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+}

Copied: gdome2/repos/extra-x86_64/gdome2-0.8.1-libxml2.patch (from rev 197758, gdome2/trunk/gdome2-0.8.1-libxml2.patch)
===================================================================
--- extra-x86_64/gdome2-0.8.1-libxml2.patch	                        (rev 0)
+++ extra-x86_64/gdome2-0.8.1-libxml2.patch	2013-10-29 18:43:37 UTC (rev 197759)
@@ -0,0 +1,18 @@
+Patch by Harris Landgarten.
+
+The patch was submitted on bug 448236, following the announcement on
+https://mail.gnome.org/archives/xml/2012-August/msg00005.html
+--- libgdome/gdomecore/gdome-xml-documentt.c.orig	2003-07-13 06:47:54.000000000 -0400
++++ libgdome/gdomecore/gdome-xml-documentt.c	2012-12-23 08:57:23.000000000 -0500
+@@ -342,7 +342,11 @@
+ 	}
+ 	xmlNodeDumpOutput (out_buff, NULL, (xmlNode *)is, 0, 0, NULL);
+ 	xmlOutputBufferFlush(out_buff);
++#if LIBXML_VERSION < 20900
+ 	ret = g_strndup (out_buff->buffer->content, out_buff->buffer->use);
++#else
++	ret = g_strndup (xmlBufContent(out_buff->buffer), xmlBufUse(out_buff->buffer));
++#endif
+ 	(void)xmlOutputBufferClose(out_buff);
+ 
+ 	return gdome_xml_str_mkref_own (ret);




More information about the arch-commits mailing list