summaryrefslogtreecommitdiff
path: root/community
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2012-12-05 02:37:12 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2012-12-05 02:37:12 -0500
commit7759218711a68c96b140ef53542bfbfee223bd11 (patch)
tree3ca0e2eb2dcd849c4c0dfb2558a018624c417cda /community
parent5b773bfc871ccd0dc540942508e7480c1cd63df2 (diff)
Add gphpedit-0.9.98RC1-gmodule.patch
Diffstat (limited to 'community')
-rw-r--r--community/gphpedit/PKGBUILD7
-rw-r--r--community/gphpedit/gphpedit-0.9.98RC1-gmodule.patch20
2 files changed, 25 insertions, 2 deletions
diff --git a/community/gphpedit/PKGBUILD b/community/gphpedit/PKGBUILD
index 066ed3ac3..81d1cfd2e 100644
--- a/community/gphpedit/PKGBUILD
+++ b/community/gphpedit/PKGBUILD
@@ -14,11 +14,14 @@ makedepends=('intltool')
url="http://www.gphpedit.org/"
options=('!makeflags')
install=gphpedit.install
-source=(http://www.gphpedit.org/sites/default/files/gphpedit-$pkgver.tar.gz)
-md5sums=('cc3c5f50704fa0ed3ef3d4ac983db525')
+source=(http://www.gphpedit.org/sites/default/files/gphpedit-$pkgver.tar.gz
+ gphpedit-0.9.98RC1-gmodule.patch)
+md5sums=('cc3c5f50704fa0ed3ef3d4ac983db525'
+ '4eecf974dedbb3d29c64576d2642cd6f')
build() {
cd ${srcdir}/*$pkgname*
+ patch -Np1 -i ${srcdir}/gphpedit-0.9.98RC1-gmodule.patch
./autogen.sh
LDFLAGS=`pkg-config --libs gtk+-2.0` ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
make
diff --git a/community/gphpedit/gphpedit-0.9.98RC1-gmodule.patch b/community/gphpedit/gphpedit-0.9.98RC1-gmodule.patch
new file mode 100644
index 000000000..ecc4db5d7
--- /dev/null
+++ b/community/gphpedit/gphpedit-0.9.98RC1-gmodule.patch
@@ -0,0 +1,20 @@
+--- anoopjohn-gphpedit-fe8a12c.orig/configure.ac 2010-05-21 15:25:58.000000000 -0500
++++ anoopjohn-gphpedit-fe8a12c/configure.ac 2012-12-04 02:55:25.519819812 -0500
+@@ -80,6 +80,7 @@
+ PKG_CHECK_MODULES(GTK, gtk+-2.0 >= $GTK_REQUIRED_VERSION)
+ PKG_CHECK_MODULES(GCONF, gconf-2.0 >= $GCONF_REQUIRED_VERSION)
+ PKG_CHECK_MODULES(WEBKIT,[webkit-1.0])
++PKG_CHECK_MODULES(GMODULE,[gmodule-2.0])
+
+ AC_SUBST(GTK_CFLAGS)
+ AC_SUBST(GTK_LIBS)
+--- anoopjohn-gphpedit-fe8a12c.orig/src/Makefile.am 2010-05-21 15:25:58.000000000 -0500
++++ anoopjohn-gphpedit-fe8a12c/src/Makefile.am 2012-12-04 03:36:55.239679234 -0500
+@@ -92,6 +92,6 @@
+ cd gtkscintilla2 && $(MAKE) libgtkscintilla2.a && cd ..
+
+ gphpedit_LDADD = \
+- $(WEBKIT_LIBS) $(GTK_LIBS) $(GCONF_LIBS)\
++ $(WEBKIT_LIBS) $(GTK_LIBS) $(GCONF_LIBS) $(GMODULE_LIBS)\
+ gtkscintilla2/libgtkscintilla2.a\
+ gtkscintilla2/scintilla/bin/scintilla.a