summaryrefslogtreecommitdiff
path: root/community/regexxer
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-03-30 00:01:15 +0000
committerroot <root@rshg054.dnsready.net>2012-03-30 00:01:15 +0000
commit263884f95012e159a0be10444ef96bbf56e70545 (patch)
treea71c47be511babbe957d4f4701b12d0039b09f88 /community/regexxer
parent44ded298ebb49500d321ac79b7d0d8bb4d5058ec (diff)
Fri Mar 30 00:01:15 UTC 2012
Diffstat (limited to 'community/regexxer')
-rw-r--r--community/regexxer/PKGBUILD11
-rw-r--r--community/regexxer/regexxer-glib2.32.patch35
2 files changed, 42 insertions, 4 deletions
diff --git a/community/regexxer/PKGBUILD b/community/regexxer/PKGBUILD
index 85d87b7a6..c570f654d 100644
--- a/community/regexxer/PKGBUILD
+++ b/community/regexxer/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 68478 2012-03-25 19:09:20Z bgyorgy $
+# $Id: PKGBUILD 68556 2012-03-28 05:13:10Z bgyorgy $
# Maintainer: Balló György <ballogyor+arch at gmail dot com>
pkgname=regexxer
pkgver=0.10
-pkgrel=2
+pkgrel=3
pkgdesc="Interactive search and replace tool for GNOME"
arch=('i686' 'x86_64')
url="http://regexxer.sourceforge.net/"
@@ -11,11 +11,14 @@ license=('GPL')
depends=('gtksourceviewmm' 'dconf' 'hicolor-icon-theme' 'xdg-utils')
makedepends=('intltool')
install=$pkgname.install
-source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz)
-sha256sums=('2a7832541a0306b3d4eb63a1cf8978d7bbfc7927e9304473fe801d71fd99736c')
+source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz
+ regexxer-glib2.32.patch)
+sha256sums=('2a7832541a0306b3d4eb63a1cf8978d7bbfc7927e9304473fe801d71fd99736c'
+ '1addebc552e4374f3f9ee778fb734c08c1ed3a4b2b5e70905f7c9287c9b34882')
build() {
cd "$srcdir/$pkgname-$pkgver"
+ patch -Np1 -i "$srcdir/regexxer-glib2.32.patch"
sed -i '/GLIB_COMPILE_SCHEMAS/ d' Makefile.in
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
diff --git a/community/regexxer/regexxer-glib2.32.patch b/community/regexxer/regexxer-glib2.32.patch
new file mode 100644
index 000000000..7d732b8bb
--- /dev/null
+++ b/community/regexxer/regexxer-glib2.32.patch
@@ -0,0 +1,35 @@
+diff -Naur regexxer-0.10.orig/src/fileshared.h regexxer-0.10/src/fileshared.h
+--- regexxer-0.10.orig/src/fileshared.h 2012-03-27 03:59:38.209864722 +0000
++++ regexxer-0.10/src/fileshared.h 2012-03-27 04:17:47.161371044 +0000
+@@ -23,6 +23,7 @@
+
+ #include "sharedptr.h"
+
++#include <glibmm/regex.h>
+ #include <gtkmm/textbuffer.h>
+ #include <functional>
+ #include <utility>
+diff -Naur regexxer-0.10.orig/src/globalstrings.h regexxer-0.10/src/globalstrings.h
+--- regexxer-0.10.orig/src/globalstrings.h 2012-03-27 03:59:38.209864722 +0000
++++ regexxer-0.10/src/globalstrings.h 2012-03-27 04:21:44.906198757 +0000
+@@ -21,7 +21,7 @@
+ #ifndef REGEXXER_GLOBALSTRINGS_H_INCLUDED
+ #define REGEXXER_GLOBALSTRINGS_H_INCLUDED
+
+-#include <glib/gutils.h> /* for G_DIR_SEPARATOR_S */
++#include <glib.h> /* for G_DIR_SEPARATOR_S */
+
+ namespace Regexxer
+ {
+diff -Naur regexxer-0.10.orig/src/translation.h regexxer-0.10/src/translation.h
+--- regexxer-0.10.orig/src/translation.h 2012-03-27 03:59:38.206531386 +0000
++++ regexxer-0.10/src/translation.h 2012-03-27 04:21:39.209576021 +0000
+@@ -21,7 +21,7 @@
+ #ifndef REGEXXER_TRANSLATION_H_INCLUDED
+ #define REGEXXER_TRANSLATION_H_INCLUDED
+
+-#include <glib/gmacros.h>
++#include <glib.h>
+ #include <glibmm/ustring.h>
+
+ #ifndef gettext_noop