Date: Friday, September 30, 2011 @ 07:14:26
  Author: ibiru
Revision: 139151

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

Added:
  libepc/repos/testing-i686/
  libepc/repos/testing-i686/0001-Avoid-use-of-deprecated-G_CONST_RETURN.patch
    (from rev 139150, 
libepc/trunk/0001-Avoid-use-of-deprecated-G_CONST_RETURN.patch)
  libepc/repos/testing-i686/PKGBUILD
    (from rev 139150, libepc/trunk/PKGBUILD)
  libepc/repos/testing-x86_64/
  libepc/repos/testing-x86_64/0001-Avoid-use-of-deprecated-G_CONST_RETURN.patch
    (from rev 139150, 
libepc/trunk/0001-Avoid-use-of-deprecated-G_CONST_RETURN.patch)
  libepc/repos/testing-x86_64/PKGBUILD
    (from rev 139150, libepc/trunk/PKGBUILD)

------------------------------------------------------------------+
 testing-i686/0001-Avoid-use-of-deprecated-G_CONST_RETURN.patch   |   40 
++++++++++
 testing-i686/PKGBUILD                                            |   33 
++++++++
 testing-x86_64/0001-Avoid-use-of-deprecated-G_CONST_RETURN.patch |   40 
++++++++++
 testing-x86_64/PKGBUILD                                          |   33 
++++++++
 4 files changed, 146 insertions(+)

Copied: 
libepc/repos/testing-i686/0001-Avoid-use-of-deprecated-G_CONST_RETURN.patch 
(from rev 139150, 
libepc/trunk/0001-Avoid-use-of-deprecated-G_CONST_RETURN.patch)
===================================================================
--- testing-i686/0001-Avoid-use-of-deprecated-G_CONST_RETURN.patch              
                (rev 0)
+++ testing-i686/0001-Avoid-use-of-deprecated-G_CONST_RETURN.patch      
2011-09-30 11:14:26 UTC (rev 139151)
@@ -0,0 +1,40 @@
+From 715c6ddf3de90936c9ba7a6bb6904b7072d3b241 Mon Sep 17 00:00:00 2001
+From: Ionut Biru <[email protected]>
+Date: Fri, 30 Sep 2011 10:57:14 +0000
+Subject: [PATCH] Avoid use of deprecated G_CONST_RETURN
+
+Signed-off-by: Ionut Biru <[email protected]>
+---
+ libepc/enums.c.in |    2 +-
+ libepc/enums.h.in |    2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/libepc/enums.c.in b/libepc/enums.c.in
+index 75f737c..bc81b84 100644
+--- a/libepc/enums.c.in
++++ b/libepc/enums.c.in
+@@ -65,7 +65,7 @@ G@Type@Class*
+  *
+  * Returns: The string representation of @value, or %NULL.
+  */
+-G_CONST_RETURN gchar*
++const gchar*
+ @enum_name@_to_string (@EnumName@ value)
+ {
+   const G@Type@Value *@type@_value = g_@type@_get_value 
(@enum_name@_get_class (), value);
+diff --git a/libepc/enums.h.in b/libepc/enums.h.in
+index fea8b07..48973e5 100644
+--- a/libepc/enums.h.in
++++ b/libepc/enums.h.in
+@@ -19,7 +19,7 @@ G_BEGIN_DECLS
+ 
+ GType                 @enum_name@_get_type  (void) G_GNUC_CONST;
+ G@Type@Class*           @enum_name@_get_class (void) G_GNUC_CONST;
+-G_CONST_RETURN gchar* @enum_name@_to_string (@EnumName@ value) G_GNUC_PURE;
++const gchar* @enum_name@_to_string (@EnumName@ value) G_GNUC_PURE;
+ /*** END value-header ***/
+ 
+ /*** BEGIN file-tail ***/
+-- 
+1.7.6.4
+

Copied: libepc/repos/testing-i686/PKGBUILD (from rev 139150, 
libepc/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD                               (rev 0)
+++ testing-i686/PKGBUILD       2011-09-30 11:14:26 UTC (rev 139151)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Jan de Groot <[email protected]>
+
+pkgname=libepc
+pkgver=0.4.1
+pkgrel=1
+pkgdesc="Easy Publish and Consume Library"
+arch=(i686 x86_64)
+license=('LGPL')
+url="http://live.gnome.org/libepc";
+depends=('gtk3' 'avahi' 'libsoup')
+makedepends=('intltool' 'gtk-doc' 'gnome-common')
+options=('!libtool' '!makeflags')
+source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/0.4/${pkgname}-${pkgver}.tar.xz
+        0001-Avoid-use-of-deprecated-G_CONST_RETURN.patch)
+sha256sums=('1377defd339122a5ef71509d3b761810c58f178985d655b74bc34760ef4ae49e'
+            'd2bcfd72abc4cd74975a70c667c38d88154117d1eef10a8e8b75bc07cb1dde06')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  patch -Np1 -i "${srcdir}/0001-Avoid-use-of-deprecated-G_CONST_RETURN.patch"
+  gnome-autogen.sh
+  ./configure --prefix=/usr --sysconfdir=/etc \
+      --localstatedir=/var --disable-static
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+}
+
+

Copied: 
libepc/repos/testing-x86_64/0001-Avoid-use-of-deprecated-G_CONST_RETURN.patch 
(from rev 139150, 
libepc/trunk/0001-Avoid-use-of-deprecated-G_CONST_RETURN.patch)
===================================================================
--- testing-x86_64/0001-Avoid-use-of-deprecated-G_CONST_RETURN.patch            
                (rev 0)
+++ testing-x86_64/0001-Avoid-use-of-deprecated-G_CONST_RETURN.patch    
2011-09-30 11:14:26 UTC (rev 139151)
@@ -0,0 +1,40 @@
+From 715c6ddf3de90936c9ba7a6bb6904b7072d3b241 Mon Sep 17 00:00:00 2001
+From: Ionut Biru <[email protected]>
+Date: Fri, 30 Sep 2011 10:57:14 +0000
+Subject: [PATCH] Avoid use of deprecated G_CONST_RETURN
+
+Signed-off-by: Ionut Biru <[email protected]>
+---
+ libepc/enums.c.in |    2 +-
+ libepc/enums.h.in |    2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/libepc/enums.c.in b/libepc/enums.c.in
+index 75f737c..bc81b84 100644
+--- a/libepc/enums.c.in
++++ b/libepc/enums.c.in
+@@ -65,7 +65,7 @@ G@Type@Class*
+  *
+  * Returns: The string representation of @value, or %NULL.
+  */
+-G_CONST_RETURN gchar*
++const gchar*
+ @enum_name@_to_string (@EnumName@ value)
+ {
+   const G@Type@Value *@type@_value = g_@type@_get_value 
(@enum_name@_get_class (), value);
+diff --git a/libepc/enums.h.in b/libepc/enums.h.in
+index fea8b07..48973e5 100644
+--- a/libepc/enums.h.in
++++ b/libepc/enums.h.in
+@@ -19,7 +19,7 @@ G_BEGIN_DECLS
+ 
+ GType                 @enum_name@_get_type  (void) G_GNUC_CONST;
+ G@Type@Class*           @enum_name@_get_class (void) G_GNUC_CONST;
+-G_CONST_RETURN gchar* @enum_name@_to_string (@EnumName@ value) G_GNUC_PURE;
++const gchar* @enum_name@_to_string (@EnumName@ value) G_GNUC_PURE;
+ /*** END value-header ***/
+ 
+ /*** BEGIN file-tail ***/
+-- 
+1.7.6.4
+

Copied: libepc/repos/testing-x86_64/PKGBUILD (from rev 139150, 
libepc/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD                             (rev 0)
+++ testing-x86_64/PKGBUILD     2011-09-30 11:14:26 UTC (rev 139151)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Jan de Groot <[email protected]>
+
+pkgname=libepc
+pkgver=0.4.1
+pkgrel=1
+pkgdesc="Easy Publish and Consume Library"
+arch=(i686 x86_64)
+license=('LGPL')
+url="http://live.gnome.org/libepc";
+depends=('gtk3' 'avahi' 'libsoup')
+makedepends=('intltool' 'gtk-doc' 'gnome-common')
+options=('!libtool' '!makeflags')
+source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/0.4/${pkgname}-${pkgver}.tar.xz
+        0001-Avoid-use-of-deprecated-G_CONST_RETURN.patch)
+sha256sums=('1377defd339122a5ef71509d3b761810c58f178985d655b74bc34760ef4ae49e'
+            'd2bcfd72abc4cd74975a70c667c38d88154117d1eef10a8e8b75bc07cb1dde06')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  patch -Np1 -i "${srcdir}/0001-Avoid-use-of-deprecated-G_CONST_RETURN.patch"
+  gnome-autogen.sh
+  ./configure --prefix=/usr --sysconfdir=/etc \
+      --localstatedir=/var --disable-static
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+}
+
+

Reply via email to