Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=ryuotesting.git;a=commitdiff;h=f2406403ad8122c25de01dd02deffef533eeb187

commit f2406403ad8122c25de01dd02deffef533eeb187
Author: Baste <[email protected]>
Date:   Wed Feb 29 15:56:45 2012 +0100

gtkspell-2.0.16-9-x86_64
* Rebuild : Miss for i686
* Modify patch for gtkspell3

diff --git a/source/xlib/gtkspell/FrugalBuild b/source/xlib/gtkspell/FrugalBuild
index ca943d5..3a34616 100644
--- a/source/xlib/gtkspell/FrugalBuild
+++ b/source/xlib/gtkspell/FrugalBuild
@@ -3,7 +3,7 @@

pkgname=gtkspell
pkgver=2.0.16
-pkgrel=8
+pkgrel=9
pkgdesc="GtkSpell provides word-processor-style highlighting and replacement of 
misspelled words in a GtkTextView widget."
url="http://gtkspell.sourceforge.net/";
depends=('libxml2>=2.7.8' 'gtk+2>=2.20.0-2' 'aspell' 'enchant')
@@ -15,7 +15,7 @@ archs=('i686' 'x86_64' 'ppc')
Finclude sourceforge
source=($source gtkspell-gtk3.patch)
sha1sums=('49a3eaff850d119a94fc929635270f01e87cdca1' \
-          '2d371218a761fd627cd03460dc2faf86d4fd10c7')
+          '4c1892a7e51415fb5b9474c9514f49e9b5be1bf0')

subpkgs=('gtkspell3')
subdescs=('GtkSpell provides word-processor-style highlighting and replacement 
of misspelled words in a GtkTextView widget.')
diff --git a/source/xlib/gtkspell/gtkspell-gtk3.patch 
b/source/xlib/gtkspell/gtkspell-gtk3.patch
index 7605aee..4f3f85a 100644
--- a/source/xlib/gtkspell/gtkspell-gtk3.patch
+++ b/source/xlib/gtkspell/gtkspell-gtk3.patch
@@ -7,8 +7,8 @@
pkgconfigdir=$(libdir)/pkgconfig
+
+if USE_GTK3
-+pkgconfig_DATA=gtkspell3-2.0.pc
-+DISTCLEANFILES=gtkspell3-2.0.pc
++pkgconfig_DATA=gtkspell-3.0.pc
++DISTCLEANFILES=gtkspell-3.0.pc
+else
pkgconfig_DATA=gtkspell-2.0.pc
DISTCLEANFILES=gtkspell-2.0.pc
@@ -62,7 +62,7 @@
dnl AM_MAINTAINER_MODE

-AC_CONFIG_FILES(Makefile gtkspell/Makefile examples/Makefile gtkspell-2.0.pc 
gtkspell.spec docs/Makefile po/Makefile.in)
-+AC_CONFIG_FILES(Makefile gtkspell/Makefile examples/Makefile gtkspell-2.0.pc 
gtkspell3-2.0.pc gtkspell.spec docs/Makefile po/Makefile.in)
++AC_CONFIG_FILES(Makefile gtkspell/Makefile examples/Makefile gtkspell-2.0.pc 
gtkspell-3.0.pc gtkspell.spec docs/Makefile po/Makefile.in)

GTK_DOC_CHECK(1.0)

@@ -75,7 +75,7 @@
AM_CFLAGS = @GTKSPELL_CFLAGS@ -I$(top_builddir)
INCLUDES = -I$(top_srcdir)
+if USE_GTK3
-+LDADD = @GTKSPELL_LIBS@ $(top_builddir)/gtkspell/libgtkspell3.la
++LDADD = @GTKSPELL_LIBS@ $(top_builddir)/gtkspell/libgtkspell-3.la
+else
LDADD = @GTKSPELL_LIBS@ $(top_builddir)/gtkspell/libgtkspell.la
+endif
@@ -85,27 +85,28 @@
=== modified file 'gtkspell/Makefile.am'
--- old/gtkspell/Makefile.am    2005-09-06 13:00:45 +0000
+++ new/gtkspell/Makefile.am    2011-07-23 21:39:04 +0000
-@@ -1,6 +1,19 @@
+@@ -1,6 +1,20 @@
-lib_LTLIBRARIES=libgtkspell.la
+if USE_GTK3
+VER=3
-+lib_LTLIBRARIES = libgtkspell3.la
++lib_LTLIBRARIES = libgtkspell-3.la
+else
+VER=
+lib_LTLIBRARIES = libgtkspell.la
+endif
+
AM_CFLAGS=@GTKSPELL_CFLAGS@ -DG_LOG_DOMAIN=\"gtkspell\" 
-DLOCALEDIR=\""$(datadir)/locale"\"
++if USE_GTK3
++libgtkspell_3_la_LIBADD=@GTKSPELL_LIBS@ @SPELLER_LIB@
++libgtkspell_3_la_includedir=$(includedir)/gtkspell-3.0/gtkspell
++libgtkspell_3_la_include_HEADERS=gtkspell.h
++libgtkspell_3_la_SOURCES=gtkspell.c deprecated.c gtkspell.h
++else
libgtkspell_la_LIBADD=@GTKSPELL_LIBS@ @SPELLER_LIB@
libgtkspell_la_includedir=$(includedir)/gtkspell-2.0/gtkspell
libgtkspell_la_include_HEADERS=gtkspell.h
libgtkspell_la_SOURCES=gtkspell.c deprecated.c gtkspell.h
-+
-+libgtkspell3_la_LIBADD=$(libgtkspell_la_LIBADD)
-+libgtkspell3_la_includedir=$(libgtkspell_la_includedir)
-+libgtkspell3_la_include_HEADERS=$(libgtkspell_la_include_HEADERS)
-+libgtkspell3_la_SOURCES=$(libgtkspell_la_SOURCES)
-+
++endif

=== modified file 'gtkspell/gtkspell.c'
--- old/gtkspell/gtkspell.c     2010-01-08 22:13:05 +0000
@@ -121,9 +122,9 @@
if (debug) {
g_print("old word: '%s'\n", oldword);

-=== added file 'gtkspell3-2.0.pc.in'
---- old/gtkspell3-2.0.pc.in    1970-01-01 00:00:00 +0000
-+++ new/gtkspell3-2.0.pc.in    2011-07-23 21:39:04 +0000
+=== added file 'gtkspell-3.0.pc.in'
+--- old/gtkspell-3.0.pc.in     1970-01-01 00:00:00 +0000
++++ new/gtkspell-3.0.pc.in     2011-07-23 21:39:04 +0000
@@ -0,0 +1,13 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
@@ -134,8 +135,8 @@
+Description: GTK spelling library
+Version: @VERSION@
+Requires: @GTKSPELL_PACKAGES@
-+Libs: -L${libdir} -lgtkspell3
++Libs: -L${libdir} -lgtkspell-3
+Libs.private: @SPELLER_LIB@
-+Cflags: -I${includedir}/gtkspell-2.0
++Cflags: -I${includedir}/gtkspell-3.0
+
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to