diff options
Diffstat (limited to 'misc/xiphos/files')
-rw-r--r-- | misc/xiphos/files/patch-Makefile.in | 31 | ||||
-rw-r--r-- | misc/xiphos/files/patch-configure | 28 | ||||
-rw-r--r-- | misc/xiphos/files/patch-src_Makefile.in | 10 | ||||
-rw-r--r-- | misc/xiphos/files/patch-src_gs_editor.c | 22 |
4 files changed, 80 insertions, 11 deletions
diff --git a/misc/xiphos/files/patch-Makefile.in b/misc/xiphos/files/patch-Makefile.in index afbae2ab5af3..ea6e97fcf042 100644 --- a/misc/xiphos/files/patch-Makefile.in +++ b/misc/xiphos/files/patch-Makefile.in @@ -1,18 +1,27 @@ ---- Makefile.in.orig Wed Oct 16 11:05:14 2002 -+++ Makefile.in Wed Oct 16 11:06:31 2002 -@@ -136,13 +136,13 @@ +--- Makefile.in.orig Fri Feb 28 16:49:32 2003 ++++ Makefile.in Fri Feb 28 16:50:47 2003 +@@ -140,14 +140,7 @@ EXTRA_DIST = gnomesword.desktop gnomesworddocdir = $(prefix)/doc/gnomesword --gnomesworddoc_DATA = README COPYING AUTHORS ChangeLog INSTALL NEWS TODO -+gnomesworddoc_DATA = # README COPYING AUTHORS ChangeLog INSTALL NEWS TODO +-gnomesworddoc_DATA = \ +- README\ +- COPYING\ +- AUTHORS\ +- ChangeLog\ +- INSTALL\ +- NEWS\ +- TODO ++gnomesworddoc_DATA = + subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 - mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +@@ -155,7 +148,7 @@ CONFIG_HEADER = config.h - CONFIG_CLEAN_FILES = --DATA = $(gnomesworddoc_DATA) -+DATA = # $(gnomesworddoc_DATA) + CONFIG_CLEAN_FILES = intl/Makefile + DIST_SOURCES = +-DATA = $(gnomesworddoc_DATA) ++DATA = # $(gnomesworddoc_DATA) - DIST_COMMON = README ./stamp-h.in ABOUT-NLS AUTHORS COPYING ChangeLog \ - INSTALL Makefile.am Makefile.in NEWS TODO acconfig.h aclocal.m4 \ + + RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \ diff --git a/misc/xiphos/files/patch-configure b/misc/xiphos/files/patch-configure new file mode 100644 index 000000000000..e9323f3b5252 --- /dev/null +++ b/misc/xiphos/files/patch-configure @@ -0,0 +1,28 @@ +--- configure.orig Sat Jan 11 16:54:15 2003 ++++ configure Fri Feb 28 17:38:01 2003 +@@ -7438,7 +7438,7 @@ + EOF + + cat >> confdefs.h <<EOF +-#define PACKAGE_PIXMAPS_DIR "${ac_default_prefix}/${DATADIRNAME}/pixmaps/${PACKAGE}" ++#define PACKAGE_PIXMAPS_DIR "${PREFIX}/share/gnome/pixmaps/gnomesword" + EOF + + cat >> confdefs.h <<EOF +@@ -8194,16 +8194,7 @@ + gtkhtml_ok="false" + echo $ac_n "checking for GtkHTML""... $ac_c" 1>&6 + echo "configure:8197: checking for GtkHTML" >&5 +- if gnome-config --libs gtkhtml > /dev/null 2>&1; then +- vers=`gnome-config --modversion gtkhtml` +- case $vers +- in +- gtkhtml-0.012345678) gtkhtml_ok=false ;; +- *) gtkhtml_ok=true ;; +- esac +- else + gtkhtml_ok=false +- fi + + if $gtkhtml_ok; then + echo "$ac_t""$vers found" 1>&6 diff --git a/misc/xiphos/files/patch-src_Makefile.in b/misc/xiphos/files/patch-src_Makefile.in new file mode 100644 index 000000000000..4b37f359d9a6 --- /dev/null +++ b/misc/xiphos/files/patch-src_Makefile.in @@ -0,0 +1,10 @@ +--- src/Makefile.in.orig Fri Feb 28 17:24:26 2003 ++++ src/Makefile.in Fri Feb 28 17:24:48 2003 +@@ -144,6 +144,7 @@ + $(PIXBUF_CFLAGS) \ + $(SWORD_CPPFLAGS) \ + $(PACKAGE_CFLAGS) \ ++ $(GNOME_APP_CFLAGS) \ + -I/usr/include/gnome-1.0/ + + diff --git a/misc/xiphos/files/patch-src_gs_editor.c b/misc/xiphos/files/patch-src_gs_editor.c new file mode 100644 index 000000000000..6bfe1c65d935 --- /dev/null +++ b/misc/xiphos/files/patch-src_gs_editor.c @@ -0,0 +1,22 @@ +--- src/gs_editor.c.orig Fri Feb 28 17:32:42 2003 ++++ src/gs_editor.c Fri Feb 28 17:33:19 2003 +@@ -1252,6 +1252,10 @@ + GSHTMLEditorControlData * ecd) + { + gchar buf[256], *target = ""; ++#ifdef USE_GTKHTML1 ++ const gchar *url; ++ const gchar *text; ++#endif + + HTMLEngine *e = ecd->html->engine; + if (strlen(linkmod)) +@@ -1260,8 +1264,6 @@ + sprintf(buf, "passage=%s", linkref); + + #ifdef USE_GTKHTML1 +- const gchar *url; +- const gchar *text; + url = buf; + text = linkref; + if (url && text && *url && *text) { |