diff options
Diffstat (limited to 'community/gq')
-rw-r--r-- | community/gq/PKGBUILD | 11 | ||||
-rw-r--r-- | community/gq/glib-includes.patch | 112 |
2 files changed, 119 insertions, 4 deletions
diff --git a/community/gq/PKGBUILD b/community/gq/PKGBUILD index 2f91bca12..595f70f28 100644 --- a/community/gq/PKGBUILD +++ b/community/gq/PKGBUILD @@ -4,19 +4,22 @@ pkgname=gq pkgver=1.3.4 -pkgrel=2 +pkgrel=2.1 pkgdesc="interactive graphical LDAP browser" url="http://sourceforge.net/projects/gqclient" license=("GPL") depends=('libxml2' 'gtk2' 'libgnome-keyring' 'libglade' 'libldap>=2.4.18' 'libgpg-error' 'libgcrypt') makedepends=('intltool' 'pkgconfig' 'gnome-doc-utils') -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') install=gq.install -source=(http://downloads.sourceforge.net/sourceforge/gqclient/$pkgname-$pkgver.tar.gz) -md5sums=('d7b1e183a3ecbd77aceea02d27f36b3e') +source=(http://downloads.sourceforge.net/sourceforge/gqclient/$pkgname-$pkgver.tar.gz + glib-includes.patch) +md5sums=('d7b1e183a3ecbd77aceea02d27f36b3e' + 'fa7d0f5f40953324dba108993d004807') build() { cd $srcdir/$pkgname-$pkgver + patch -p1 -i "$srcdir/glib-includes.patch" LDFLAGS=-lcrypto ./configure --prefix=/usr --disable-debugging --disable-update-mimedb make make DESTDIR=$pkgdir install diff --git a/community/gq/glib-includes.patch b/community/gq/glib-includes.patch new file mode 100644 index 000000000..f47418cf0 --- /dev/null +++ b/community/gq/glib-includes.patch @@ -0,0 +1,112 @@ +diff -ru gq-1.3.4.orig/src/glib-helpers.c gq-1.3.4/src/glib-helpers.c +--- gq-1.3.4.orig/src/glib-helpers.c 2012-08-28 16:44:00.844858395 +0200 ++++ gq-1.3.4/src/glib-helpers.c 2012-08-28 16:45:32.832447086 +0200 +@@ -23,8 +23,7 @@ + + #include "glib-helpers.h" + +-#include <glib/gmessages.h> +-#include <glib/gunicode.h> ++#include <glib.h> + + GList* + g_list_copy_reversed(GList* list) { +diff -ru gq-1.3.4.orig/src/glib-helpers.h gq-1.3.4/src/glib-helpers.h +--- gq-1.3.4.orig/src/glib-helpers.h 2012-08-28 16:44:00.816659875 +0200 ++++ gq-1.3.4/src/glib-helpers.h 2012-08-28 16:45:32.796191846 +0200 +@@ -24,7 +24,7 @@ + #ifndef GLIB_HELPERS_H + #define GLIB_HELPERS_H + +-#include <glib/glist.h> ++#include <glib.h> + + G_BEGIN_DECLS + +diff -ru gq-1.3.4.orig/src/gq-hash.h gq-1.3.4/src/gq-hash.h +--- gq-1.3.4.orig/src/gq-hash.h 2012-08-28 16:44:00.784432994 +0200 ++++ gq-1.3.4/src/gq-hash.h 2012-08-28 16:45:32.699511206 +0200 +@@ -24,7 +24,7 @@ + #ifndef GQ_ENCRYPTION_H + #define GQ_ENCRYPTION_H + +-#include <glib/garray.h> ++#include <glib.h> + #include "gq-utilities.h" + + G_BEGIN_DECLS +diff -ru gq-1.3.4.orig/src/gq-main-loop.h gq-1.3.4/src/gq-main-loop.h +--- gq-1.3.4.orig/src/gq-main-loop.h 2012-08-28 16:44:00.812631515 +0200 ++++ gq-1.3.4/src/gq-main-loop.h 2012-08-28 16:45:32.788135126 +0200 +@@ -24,7 +24,7 @@ + #ifndef GQ_MAIN_LOOP_H + #define GQ_MAIN_LOOP_H + +-#include <glib/gtypes.h> ++#include <glib.h> + + G_BEGIN_DECLS + +diff -ru gq-1.3.4.orig/src/gq-stack.c gq-1.3.4/src/gq-stack.c +--- gq-1.3.4.orig/src/gq-stack.c 2012-08-28 16:44:00.824716595 +0200 ++++ gq-1.3.4/src/gq-stack.c 2012-08-28 16:45:32.808276926 +0200 +@@ -23,9 +23,7 @@ + + #include "gq-stack.h" + +-#include <glib/gmem.h> +-#include <glib/gmessages.h> +-#include <glib/glist.h> ++#include <glib.h> + + #undef DEBUG_STACK + +diff -ru gq-1.3.4.orig/src/gq-stack.h gq-1.3.4/src/gq-stack.h +--- gq-1.3.4.orig/src/gq-stack.h 2012-08-28 16:44:00.832773315 +0200 ++++ gq-1.3.4/src/gq-stack.h 2012-08-28 16:45:32.816333646 +0200 +@@ -24,7 +24,7 @@ + #ifndef GQ_STACK_H + #define GQ_STACK_H + +-#include <glib/gtypes.h> ++#include <glib.h> + + G_BEGIN_DECLS + +diff -ru gq-1.3.4.orig/src/gq-tab.h gq-1.3.4/src/gq-tab.h +--- gq-1.3.4.orig/src/gq-tab.h 2012-08-28 16:44:00.844858395 +0200 ++++ gq-1.3.4/src/gq-tab.h 2012-08-28 16:45:32.828418726 +0200 +@@ -24,7 +24,7 @@ + #ifndef GQ_TAB_H + #define GQ_TAB_H + +-#include <glib/gmacros.h> ++#include <glib.h> + + G_BEGIN_DECLS + +diff -ru gq-1.3.4.orig/src/state.c gq-1.3.4/src/state.c +--- gq-1.3.4.orig/src/state.c 2012-08-28 16:44:00.804574794 +0200 ++++ gq-1.3.4/src/state.c 2012-08-28 16:45:32.780078406 +0200 +@@ -35,8 +35,8 @@ + #include <fcntl.h> + #include <errno.h> + + #include <glib/gi18n.h> +-#include <glib/gmessages.h> ++#include <glib.h> + #include <gtk/gtk.h> + + #include "configfile.h" +diff -ru gq-1.3.4.orig/src/syntax.h gq-1.3.4/src/syntax.h +--- gq-1.3.4.orig/src/syntax.h 2012-08-28 16:44:00.877085275 +0200 ++++ gq-1.3.4/src/syntax.h 2012-08-28 16:45:32.840503807 +0200 +@@ -27,7 +27,7 @@ + #ifndef GQ_SYNTAX_H_INCLUDED + #define GQ_SYNTAX_H_INCLUDED + +-#include <glib/gmacros.h> ++#include <glib.h> + + G_BEGIN_DECLS + |