[arch-commits] Commit in libunique/trunk (PKGBUILD)

2020-05-16 Thread Felix Yan via arch-commits
Date: Saturday, May 16, 2020 @ 11:27:01
  Author: felixonmars
Revision: 384301

upgpkg: libunique 1.1.6-8: reproducibility rebuild

Modified:
  libunique/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-05-16 11:26:13 UTC (rev 384300)
+++ PKGBUILD2020-05-16 11:27:01 UTC (rev 384301)
@@ -1,7 +1,7 @@
 # Maintainer: Jan de Groot  
 pkgname=libunique
 pkgver=1.1.6
-pkgrel=7
+pkgrel=8
 pkgdesc="Library for writing single instance applications"
 arch=('x86_64')
 license=('LGPL')


[arch-commits] Commit in libunique/trunk (PKGBUILD)

2018-06-07 Thread Antonio Rojas via arch-commits
Date: Thursday, June 7, 2018 @ 07:05:24
  Author: arojas
Revision: 326169

BUILDINFO rebuild

Modified:
  libunique/trunk/PKGBUILD

--+
 PKGBUILD |3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-06-07 06:54:04 UTC (rev 326168)
+++ PKGBUILD2018-06-07 07:05:24 UTC (rev 326169)
@@ -2,7 +2,7 @@
 # Maintainer: Jan de Groot  
 pkgname=libunique
 pkgver=1.1.6
-pkgrel=6
+pkgrel=7
 pkgdesc="Library for writing single instance applications"
 arch=('x86_64')
 license=('LGPL')
@@ -20,6 +20,7 @@
   cd $pkgname-$pkgver
   patch -Np1 -i "${srcdir}/unique-gdbus.patch"
   patch -Np1 -i "${srcdir}/remove_G_CONST_RETURN.patch"
+  sed -e 's/-Werror//' -i configure.ac
 }
 
 build() {


[arch-commits] Commit in libunique/trunk (PKGBUILD)

2014-03-04 Thread Jan de Groot
Date: Tuesday, March 4, 2014 @ 13:25:03
  Author: jgc
Revision: 206658

upgpkg: libunique 1.1.6-6

Move patches to prepare, fix build by using autoreconf -fi (FS#39123)

Modified:
  libunique/trunk/PKGBUILD

--+
 PKGBUILD |   14 +-
 1 file changed, 9 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-03-04 11:58:53 UTC (rev 206657)
+++ PKGBUILD2014-03-04 12:25:03 UTC (rev 206658)
@@ -2,7 +2,7 @@
 # Maintainer: Jan de Groot  j...@archlinux.org
 pkgname=libunique
 pkgver=1.1.6
-pkgrel=5
+pkgrel=6
 pkgdesc=Library for writing single instance applications
 arch=('i686' 'x86_64')
 license=('LGPL')
@@ -16,11 +16,15 @@
 'bf99ddbf9104502ea498a6812ec2d700f61f4dbbaa2471cd52174b0b27070769'
 '194ebfcc4c9297c44bbcfe5d45474310983121cdad881b72265d79cf4ec44235')
 
-build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
+prepare() {
+  cd $pkgname-$pkgver
   patch -Np1 -i ${srcdir}/unique-gdbus.patch
   patch -Np1 -i ${srcdir}/remove_G_CONST_RETURN.patch
-  autoreconf
+}
+
+build() {
+  cd $pkgname-$pkgver
+  autoreconf -fi
   ./configure --prefix=/usr --sysconfdir=/etc \
   --localstatedir=/var --disable-static \
   --disable-dbus
@@ -28,7 +32,7 @@
 }
 
 package() {
-  cd ${srcdir}/${pkgname}-${pkgver}
+  cd $pkgname-$pkgver
   make DESTDIR=${pkgdir} install
 
   # Remove documentation, provided by libunique3



[arch-commits] Commit in libunique/trunk (PKGBUILD remove_G_CONST_RETURN.patch)

2011-11-30 Thread Ionut Biru
Date: Thursday, December 1, 2011 @ 02:44:42
  Author: ibiru
Revision: 143971

fix compilation with newer glib2. FS#27365

Added:
  libunique/trunk/remove_G_CONST_RETURN.patch
Modified:
  libunique/trunk/PKGBUILD

-+
 PKGBUILD|9 ++-
 remove_G_CONST_RETURN.patch |  117 ++
 2 files changed, 123 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-12-01 02:01:56 UTC (rev 143970)
+++ PKGBUILD2011-12-01 07:44:42 UTC (rev 143971)
@@ -2,7 +2,7 @@
 # Maintainer: Jan de Groot  j...@archlinux.org
 pkgname=libunique
 pkgver=1.1.6
-pkgrel=4
+pkgrel=5
 pkgdesc=Library for writing single instance applications
 arch=('i686' 'x86_64')
 license=('LGPL')
@@ -11,13 +11,16 @@
 options=('!libtool')
 url=http://live.gnome.org/LibUnique;
 
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/1.1/${pkgname}-${pkgver}.tar.bz2
-unique-gdbus.patch)
+unique-gdbus.patch
+remove_G_CONST_RETURN.patch)
 sha256sums=('e5c8041cef8e33c55732f06a292381cb345db946cf792a4ae18aa5c66cdd4fbb'
-'bf99ddbf9104502ea498a6812ec2d700f61f4dbbaa2471cd52174b0b27070769')
+'bf99ddbf9104502ea498a6812ec2d700f61f4dbbaa2471cd52174b0b27070769'
+'194ebfcc4c9297c44bbcfe5d45474310983121cdad881b72265d79cf4ec44235')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
   patch -Np1 -i ${srcdir}/unique-gdbus.patch
+  patch -Np1 -i ${srcdir}/remove_G_CONST_RETURN.patch
   autoreconf
   ./configure --prefix=/usr --sysconfdir=/etc \
   --localstatedir=/var --disable-static \

Added: remove_G_CONST_RETURN.patch
===
--- remove_G_CONST_RETURN.patch (rev 0)
+++ remove_G_CONST_RETURN.patch 2011-12-01 07:44:42 UTC (rev 143971)
@@ -0,0 +1,117 @@
+diff -Nur libunique-1.1.6.orig/unique/uniqueapp.c 
libunique-1.1.6/unique/uniqueapp.c
+--- libunique-1.1.6.orig/unique/uniqueapp.c2011-12-01 07:38:17.748122298 
+
 libunique-1.1.6/unique/uniqueapp.c 2011-12-01 07:39:59.132319788 +
+@@ -781,7 +781,7 @@
+ }
+ 
+ 
+-G_CONST_RETURN gchar *
++const gchar *
+ unique_command_to_string (UniqueApp *app,
+   gint   command)
+ {
+@@ -863,7 +863,7 @@
+   return retval;
+ }
+ 
+-G_CONST_RETURN gchar *
++const gchar *
+ unique_response_to_string (UniqueResponse response)
+ {
+   GEnumClass *enum_class;
+diff -Nur libunique-1.1.6.orig/unique/uniquebackend.c 
libunique-1.1.6/unique/uniquebackend.c
+--- libunique-1.1.6.orig/unique/uniquebackend.c2011-12-01 
07:38:17.748122298 +
 libunique-1.1.6/unique/uniquebackend.c 2011-12-01 07:39:24.418677950 
+
+@@ -111,7 +111,7 @@
+  *
+  * Return value: FIXME
+  */
+-G_CONST_RETURN gchar *
++const gchar *
+ unique_backend_get_name (UniqueBackend *backend)
+ {
+   g_return_val_if_fail (UNIQUE_IS_BACKEND (backend), NULL);
+@@ -154,7 +154,7 @@
+  *
+  * Return value: FIXME
+  */
+-G_CONST_RETURN gchar *
++const gchar *
+ unique_backend_get_startup_id (UniqueBackend *backend)
+ {
+   g_return_val_if_fail (UNIQUE_IS_BACKEND (backend), NULL);
+diff -Nur libunique-1.1.6.orig/unique/uniquebackend.h 
libunique-1.1.6/unique/uniquebackend.h
+--- libunique-1.1.6.orig/unique/uniquebackend.h2011-12-01 
07:38:17.748122298 +
 libunique-1.1.6/unique/uniquebackend.h 2011-12-01 07:42:13.833467492 
+
+@@ -94,10 +94,10 @@
+ 
+ UniqueBackend *   unique_backend_create (void);
+ 
+-G_CONST_RETURN gchar *unique_backend_get_name   (UniqueBackend 
*backend);
++const gchar *unique_backend_get_name   (UniqueBackend *backend);
+ void  unique_backend_set_name   (UniqueBackend 
*backend,
+  const gchar   *name);
+-G_CONST_RETURN gchar *unique_backend_get_startup_id (UniqueBackend 
*backend);
++const gchar *unique_backend_get_startup_id (UniqueBackend *backend);
+ void  unique_backend_set_startup_id (UniqueBackend 
*backend,
+  const gchar   
*startup_id);
+ GdkScreen *   unique_backend_get_screen (UniqueBackend 
*backend);
+diff -Nur libunique-1.1.6.orig/unique/uniqueinternals.h 
libunique-1.1.6/unique/uniqueinternals.h
+--- libunique-1.1.6.orig/unique/uniqueinternals.h  2011-12-01 
07:38:17.748122298 +
 libunique-1.1.6/unique/uniqueinternals.h   2011-12-01 07:41:17.142977914 
+
+@@ -44,11 +44,11 @@
+  * and then back into an id
+  */
+ UniqueResponseunique_response_from_string  (const gchar*response);
+-G_CONST_RETURN gchar *unique_response_to_string(UniqueResponse  response);
++const gchar *unique_response_to_string(UniqueResponse  response);
+ 
+ gint  unique_command_from_string   (UniqueApp  *app,
+ 

[arch-commits] Commit in libunique/trunk (PKGBUILD)

2011-02-13 Thread Jan Steffens
Date: Sunday, February 13, 2011 @ 09:14:02
  Author: heftig
Revision: 109868

upgpkg: libunique 1.1.6-4
Update for gnome-unstable

Modified:
  libunique/trunk/PKGBUILD

--+
 PKGBUILD |   13 ++---
 1 file changed, 10 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-02-13 14:09:17 UTC (rev 109867)
+++ PKGBUILD2011-02-13 14:14:02 UTC (rev 109868)
@@ -2,12 +2,12 @@
 # Maintainer: Jan de Groot  j...@archlinux.org
 pkgname=libunique
 pkgver=1.1.6
-pkgrel=3
+pkgrel=4
 pkgdesc=Library for writing single instance applications
 arch=('i686' 'x86_64')
 license=('LGPL')
-depends=('gtk2=2.21.8')
-makedepends=('pkgconfig' 'gobject-introspection=0.9.5')
+depends=('gtk2')
+makedepends=('gtk-doc' 'gobject-introspection')
 options=('!libtool')
 url=http://live.gnome.org/LibUnique;
 
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/1.1/${pkgname}-${pkgver}.tar.bz2
@@ -23,5 +23,12 @@
   --localstatedir=/var --disable-static \
   --disable-dbus
   make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
   make DESTDIR=${pkgdir} install
+
+  # Remove documentation, provided by libunique3
+  rm -r $pkgdir/usr/share/gtk-doc
 }



[arch-commits] Commit in libunique/trunk (PKGBUILD unique-gdbus.patch)

2010-09-15 Thread Jan de Groot
Date: Wednesday, September 15, 2010 @ 09:49:39
  Author: jgc
Revision: 90706

upgpkg: libunique 1.1.6-3
Patch to work with gdbus instead of dbus. Removes 2 linked libraries

Added:
  libunique/trunk/unique-gdbus.patch
Modified:
  libunique/trunk/PKGBUILD

+
 PKGBUILD   |   21 +-
 unique-gdbus.patch |  529 +++
 2 files changed, 542 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2010-09-15 13:48:38 UTC (rev 90705)
+++ PKGBUILD2010-09-15 13:49:39 UTC (rev 90706)
@@ -2,21 +2,26 @@
 # Maintainer: Jan de Groot  j...@archlinux.org
 pkgname=libunique
 pkgver=1.1.6
-pkgrel=2
+pkgrel=3
 pkgdesc=Library for writing single instance applications
 arch=('i686' 'x86_64')
 license=('LGPL')
-depends=('gtk2=2.18.3' 'dbus-glib=0.82')
-makedepends=('pkgconfig' 'gobject-introspection')
+depends=('gtk2=2.21.8')
+makedepends=('pkgconfig' 'gobject-introspection=0.9.5')
 options=('!libtool')
 url=http://live.gnome.org/LibUnique;
-source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/1.1/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('e5c8041cef8e33c55732f06a292381cb345db946cf792a4ae18aa5c66cdd4fbb')
+source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/1.1/${pkgname}-${pkgver}.tar.bz2
+unique-gdbus.patch)
+sha256sums=('e5c8041cef8e33c55732f06a292381cb345db946cf792a4ae18aa5c66cdd4fbb'
+'bf99ddbf9104502ea498a6812ec2d700f61f4dbbaa2471cd52174b0b27070769')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
+  patch -Np1 -i ${srcdir}/unique-gdbus.patch
+  autoreconf
   ./configure --prefix=/usr --sysconfdir=/etc \
-  --localstatedir=/var --disable-static || return 1
-  make || return 1
-  make DESTDIR=${pkgdir} install || return 1
+  --localstatedir=/var --disable-static \
+  --disable-dbus
+  make
+  make DESTDIR=${pkgdir} install
 }

Added: unique-gdbus.patch
===
--- unique-gdbus.patch  (rev 0)
+++ unique-gdbus.patch  2010-09-15 13:49:39 UTC (rev 90706)
@@ -0,0 +1,529 @@
+From 01066039529c0181f231325476bb4823c16a2aea Mon Sep 17 00:00:00 2001
+From: Christian Persch c...@gnome.org
+Date: Sat, 15 May 2010 17:47:45 +
+Subject: Add GDBus backend
+
+Add backend using GDBus, the new D-BUS binding in GIO 2.25.
+
+Bug #618723.
+---
+diff --git a/configure.ac b/configure.ac
+index bc3163a..b6a4221 100644
+--- a/configure.ac
 b/configure.ac
+@@ -116,6 +116,19 @@ AS_IF([test x$have_dbus = xyes],
+ 
+ AM_CONDITIONAL([HAVE_DBUS], [test x$have_dbus = xyes])
+ 
++dnl GDBus backend
++dnl This is the default backend if GIO is recent enough
++m4_define([gdbus_gio_required],[2.25.7])
++PKG_CHECK_MODULES([GDBUS],[gio-2.0 = 
gdbus_gio_required],[have_gdbus=yes],[have_gdbus=no])
++
++AS_IF([test x$have_gdbus = xyes],
++  [
++AC_DEFINE([HAVE_GDBUS],[1],[Define if GDBus backend is enabled])
++  ]
++  )
++
++AM_CONDITIONAL([HAVE_GDBUS],[test $have_gdbus = yes])
++
+ dnl Bacon backend
+ dnl This is the fallback backend, so we *need* these headers and functions
+ dnl even if we end up using D-Bus
+@@ -146,7 +159,13 @@ AM_CONDITIONAL([HAVE_BACON], [test x$have_bacon = 
xyes])
+ 
+ dnl Choose the default backend
+ AC_MSG_CHECKING([for default IPC mechanism])
+-AS_IF([test x$have_dbus = xyes],
++AS_IF([test x$have_gdbus = xyes],
++  [
++UNIQUE_DEFAULT_BACKEND=gdbus
++AC_MSG_RESULT([GDBus])
++  ],
++
++  [test x$have_dbus = xyes],
+   [
+ UNIQUE_DEFAULT_BACKEND=dbus
+ AC_MSG_RESULT([D-Bus])
+@@ -243,6 +262,7 @@ AC_CONFIG_FILES([
+ unique/uniqueversion.h
+ unique/bacon/Makefile
+ unique/dbus/Makefile
++unique/gdbus/Makefile
+ tests/Makefile
+ po/Makefile.in
+ ])
+@@ -261,6 +281,7 @@ Configuration:
+ Backends:
+   Unix Domain Socket: $have_bacon
+D-BUS: $have_dbus
++   GDBus: $have_gdbus
+ 
+  Default backend: $UNIQUE_DEFAULT_BACKEND
+ 
+diff --git a/doc/reference/Makefile.am b/doc/reference/Makefile.am
+index 3172588..2c1dbf4 100644
+--- a/doc/reference/Makefile.am
 b/doc/reference/Makefile.am
+@@ -50,7 +50,8 @@ IGNORE_HFILES = \
+   uniquemarshal.h \
+   stamp-uniquemarshal.h \
+   bacon \
+-  dbus 
++  dbus \
++  gdbus
+ 
+ EXTRA_HFILES =
+ 
+diff --git a/unique/Makefile.am b/unique/Makefile.am
+index 6475a87..8f0b7ba 100644
+--- a/unique/Makefile.am
 b/unique/Makefile.am
+@@ -12,7 +12,11 @@ if HAVE_DBUS
+ SUBDIRS += dbus
+ endif
+ 
+-DIST_SUBDIRS = bacon dbus
++if HAVE_GDBUS
++SUBDIRS += gdbus
++endif
++
++DIST_SUBDIRS = bacon dbus gdbus
+ 
+ INCLUDES = -I$(top_srcdir)
+ 
+@@ -72,6 +76,10 @@ if HAVE_DBUS
+ unique_backend_libs += $(top_builddir)/unique/dbus/libunique-dbus.la
+ endif
+ 
++if HAVE_GDBUS
++unique_backend_libs += $(top_builddir)/unique/gdbus/libunique-gdbus.la

[arch-commits] Commit in libunique/trunk (PKGBUILD)

2010-02-21 Thread Jan de Groot
Date: Sunday, February 21, 2010 @ 09:52:32
  Author: jgc
Revision: 69618

upgpkg: libunique 1.1.6-2
Add introspection data

Modified:
  libunique/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2010-02-21 14:31:08 UTC (rev 69617)
+++ PKGBUILD2010-02-21 14:52:32 UTC (rev 69618)
@@ -2,12 +2,12 @@
 # Maintainer: Jan de Groot  j...@archlinux.org
 pkgname=libunique
 pkgver=1.1.6
-pkgrel=1
+pkgrel=2
 pkgdesc=Library for writing single instance applications
 arch=('i686' 'x86_64')
 license=('LGPL')
 depends=('gtk2=2.18.3' 'dbus-glib=0.82')
-makedepends=('pkgconfig')
+makedepends=('pkgconfig' 'gobject-introspection')
 options=('!libtool')
 url=http://live.gnome.org/LibUnique;
 
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/1.1/${pkgname}-${pkgver}.tar.bz2)



[arch-commits] Commit in libunique/trunk (PKGBUILD)

2009-11-18 Thread Ionut Biru
Date: Wednesday, November 18, 2009 @ 13:30:38
  Author: ibiru
Revision: 58973

upgpkg: libunique 1.1.6-1
new ver

Modified:
  libunique/trunk/PKGBUILD

--+
 PKGBUILD |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2009-11-18 18:25:23 UTC (rev 58972)
+++ PKGBUILD2009-11-18 18:30:38 UTC (rev 58973)
@@ -1,17 +1,17 @@
 # $Id$
 # Maintainer: Jan de Groot  j...@archlinux.org
 pkgname=libunique
-pkgver=1.1.2
+pkgver=1.1.6
 pkgrel=1
 pkgdesc=Library for writing single instance applications
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
 license=('LGPL')
-depends=('gtk2=2.17.8' 'dbus-glib=0.80')
+depends=('gtk2=2.18.3' 'dbus-glib=0.82')
 makedepends=('pkgconfig')
 options=('!libtool')
 url=http://live.gnome.org/LibUnique;
 
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/1.1/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('73fb130295fc42b237aa3d808905f65ead9f979acbe49434eca830c6085f0c6e')
+sha256sums=('e5c8041cef8e33c55732f06a292381cb345db946cf792a4ae18aa5c66cdd4fbb')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}