summaryrefslogtreecommitdiff
path: root/editors/abiword/patches
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2000-05-02 23:35:55 +0000
committerjlam <jlam@pkgsrc.org>2000-05-02 23:35:55 +0000
commit3ea3ba4680eb1379a6c49287582fe3c6e7a956d2 (patch)
tree9f7c3dea77803e6a29e9b9734d4ab049ec359931 /editors/abiword/patches
parent82d9c1f1741f9147489baab354ae377f3c09d184 (diff)
downloadpkgsrc-3ea3ba4680eb1379a6c49287582fe3c6e7a956d2.tar.gz
Update abiword-personal to 0.7.9. Remove several patches which were
incorporated into the AbiWord main source tree. Changes from 0.7.8: User Interface + Insert Symbol dialog (msevior@mccubbin.ph.unimelb.edu.au) + Word Count dialog (Sam Tobin-Hochstadt) + Overwrite Mode added (Alexey Sinutin) + Set Page Margins from ruler (Bruce Pearson) + Insert Field dialog (Henrik Berg)-- not fully enabled due to pending changes in the underlying fields implementation. Bug Fixes + The infamous libpng bug (Justin Bradford and Sam Tobin-Hochstadt) + Underline/superscript fix (Martin Sevior) + View Ruler consistency (Kevin Vajk) + RTF CR/LF handing (Harald Fernengel) + Various Other Bugs: #522 (sterwill@sourcegear.com), #10 and #811 (Sam Tobin-Hochstadt), #302 (Aaron Lehmann), #352 (Henrik Berg), #432 and #776 (Martin Sevior), #637 (Andy Richardson), #651 (Matt Kraai), #770 (Matthew Allen), #782 (Danny Faught), #788 and #789 (Joaquin Cuenca Abela) Other + Various localizations + Updated XML parser to version 1.1 (Sam Tobin-Hochstadt) + Mac port beginning (Bryan Prusha) + Lots of Gnome dialogs (John Tunison) -- no Gnome binaries for 0.7.9 but will be available in the next release + Command line conversions (Joaquin Cuenca Abela) -- for a complete list, type AbiWord -help from a command prompt
Diffstat (limited to 'editors/abiword/patches')
-rw-r--r--editors/abiword/patches/patch-ac31
-rw-r--r--editors/abiword/patches/patch-ad59
-rw-r--r--editors/abiword/patches/patch-ae28
-rw-r--r--editors/abiword/patches/patch-af13
-rw-r--r--editors/abiword/patches/patch-ag88
-rw-r--r--editors/abiword/patches/patch-ah86
-rw-r--r--editors/abiword/patches/patch-ai13
-rw-r--r--editors/abiword/patches/patch-aj13
-rw-r--r--editors/abiword/patches/patch-ak13
9 files changed, 25 insertions, 319 deletions
diff --git a/editors/abiword/patches/patch-ac b/editors/abiword/patches/patch-ac
index 33fefc50090..c16e27b5a2a 100644
--- a/editors/abiword/patches/patch-ac
+++ b/editors/abiword/patches/patch-ac
@@ -1,8 +1,8 @@
-$NetBSD: patch-ac,v 1.3 2000/02/29 18:31:30 jlam Exp $
+$NetBSD: patch-ac,v 1.4 2000/05/02 23:35:56 jlam Exp $
---- src/config/abi_defs.mk.orig Tue Jan 11 06:46:50 2000
-+++ src/config/abi_defs.mk Tue Feb 29 12:05:03 2000
-@@ -296,7 +296,7 @@
+--- src/config/abi_defs.mk.orig Mon Mar 13 17:48:16 2000
++++ src/config/abi_defs.mk Tue May 2 18:12:28 2000
+@@ -325,7 +325,7 @@
## a date stamp in a nightly build system).
##
@@ -11,26 +11,3 @@ $NetBSD: patch-ac,v 1.3 2000/02/29 18:31:30 jlam Exp $
ABI_BUILD_ID =
##################################################################
-@@ -353,14 +353,18 @@
-
- ifeq ($(ABI_NATIVE),unix)
- ifdef ABI_OPT_GNOME
--CFLAGS += `$(GNOME_CONFIG) --cflags gnorba gnomeui` -DHAVE_GNOME
--EXTRA_LIBS += `$(GNOME_CONFIG) --libs gnorba gnomeui`
-+GNOME_CFLAGS := $(shell $(GNOME_CONFIG) --cflags gnorba gnomeui)
-+GNOME_LIBS := $(shell $(GNOME_CONFIG) --libs gnorba gnomeui)
-+CFLAGS += $(GNOME_CFLAGS) -DHAVE_GNOME
-+EXTRA_LIBS += $(GNOME_LIBS)
- ABI_GNOME_DIR = gnome
- ABI_GNOME_PREFIX = Gnome
- ABI_OPTIONS+=Gnome:On
- else
--CFLAGS += `$(GTK_CONFIG) --cflags`
--EXTRA_LIBS += `$(GTK_CONFIG) --libs`
-+GTK_CFLAGS := $(shell $(GTK_CONFIG) --cflags)
-+GTK_LIBS := $(shell $(GTK_CONFIG) --libs)
-+CFLAGS += $(GTK_CFLAGS)
-+EXTRA_LIBS += $(GTK_LIBS)
- ABI_OPTIONS+=Gnome:Off
- endif
- endif
diff --git a/editors/abiword/patches/patch-ad b/editors/abiword/patches/patch-ad
index 570ce4525c6..ff07847e9cf 100644
--- a/editors/abiword/patches/patch-ad
+++ b/editors/abiword/patches/patch-ad
@@ -1,46 +1,8 @@
-$NetBSD: patch-ad,v 1.4 2000/02/29 18:31:30 jlam Exp $
+$NetBSD: patch-ad,v 1.5 2000/05/02 23:35:56 jlam Exp $
---- src/config/platforms/netbsd.mk.orig Sun Dec 12 10:07:09 1999
-+++ src/config/platforms/netbsd.mk Tue Feb 29 12:05:03 2000
-@@ -30,8 +30,13 @@
- ## compiler/loader options are used. It will probably also be used
- ## in constructing the name object file destination directory.
-
--OS_ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/ | sed "s/\//-/")
-+OS_ARCH := $(shell uname -m)
-+
-+ifneq (,$(shell $(CC) -E - -dM </usr/include/machine/endian.h | grep BYTE_ORDER.*LITTLE_ENDIAN))
- OS_ENDIAN = LittleEndian32
-+else
-+OS_ENDIAN = BigEndian32
-+endif
-
- # Define tools
- CC = gcc
-@@ -65,17 +70,20 @@
- endif
-
- # Includes
--OS_INCLUDES =
-+OS_INCLUDES +=
- G++INCLUDES = -I/usr/include/g++
-
- # Compiler flags
- PLATFORM_FLAGS = -pipe -DNETBSD -DNetBSD
- PORT_FLAGS = -DHAVE_STRERROR
--OS_CFLAGS = $(DSO_CFLAGS) $(PLATFORM_FLAGS) $(PORT_FLAGS)
-+OS_CFLAGS += $(DSO_CFLAGS) $(PLATFORM_FLAGS) $(PORT_FLAGS)
-
- PLATFORM_FLAGS +=
- PORT_FLAGS +=
-
-+# Linker flags
-+OS_DLLFLAGS +=
-+
- GLIB_CONFIG = glib-config
- GTK_CONFIG = gtk-config
- GNOME_CONFIG = gnome-config
-@@ -86,7 +94,7 @@
+--- src/config/platforms/netbsd.mk.orig Tue Feb 29 16:37:56 2000
++++ src/config/platforms/netbsd.mk Tue May 2 18:14:13 2000
+@@ -85,7 +85,7 @@
# Which links can this platform create. Define one or
# both of these options.
UNIX_CAN_BUILD_DYNAMIC=1
@@ -49,16 +11,3 @@ $NetBSD: patch-ad,v 1.4 2000/02/29 18:31:30 jlam Exp $
##################################################################
## Here you can choice if you want to use the gnome stuff.
-@@ -101,5 +109,12 @@
-
- ABI_NATIVE = unix
- ABI_FE = Unix
-+
-+##################################################################
-+## ABIPKGDIR defines the directory containing the Makefile to use to
-+## build a set of distribution archives (.deb, .rpm, .tgz, .exe, etc)
-+## This is relative to $(ABI_ROOT)/src/pkg
-+
-+ABIPKGDIR = netbsd
-
- # End of NetBSD defs
diff --git a/editors/abiword/patches/patch-ae b/editors/abiword/patches/patch-ae
index fab27468e0c..655a5c0e001 100644
--- a/editors/abiword/patches/patch-ae
+++ b/editors/abiword/patches/patch-ae
@@ -1,28 +1,8 @@
-$NetBSD: patch-ae,v 1.2 2000/02/29 18:31:30 jlam Exp $
+$NetBSD: patch-ae,v 1.3 2000/05/02 23:35:56 jlam Exp $
---- src/config/require/unix/Makefile.orig Tue Feb 1 18:55:24 2000
-+++ src/config/require/unix/Makefile Tue Feb 29 12:05:03 2000
-@@ -74,7 +74,9 @@
-
- _ZLIB_:
- @if [ -r /usr/lib/libz.a \
-+ -o -r ${LOCALBASE}/lib/libz.a \
- -o -r /usr/local/lib/libz.a \
-+ -o -r ${X11BASE}/lib/libz.a \
- -o -r /usr/X11R6/lib/libz.a \
- ]; then \
- echo Found zlib in system directories; \
-@@ -90,7 +92,9 @@
-
- _LIBPNG_:
- @if [ -r /usr/lib/libpng.a \
-+ -o -r ${LOCALBASE}/lib/libpng.a \
- -o -r /usr/local/lib/libpng.a \
-+ -o -r ${X11BASE}/lib/libpng.a \
- -o -r /usr/X11R6/lib/libpng.a \
- ]; then \
- echo Found libpng in system directories; \
-@@ -155,7 +159,7 @@
+--- src/config/require/unix/Makefile.orig Tue Feb 29 16:37:57 2000
++++ src/config/require/unix/Makefile Tue May 2 18:16:28 2000
+@@ -159,7 +159,7 @@
# was something you installed yourself.
_LIBICONV_:
diff --git a/editors/abiword/patches/patch-af b/editors/abiword/patches/patch-af
deleted file mode 100644
index 2843f0b5477..00000000000
--- a/editors/abiword/patches/patch-af
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-af,v 1.2 2000/02/29 18:31:30 jlam Exp $
-
---- src/hello/main/unix/Makefile.orig Mon Dec 13 16:10:25 1999
-+++ src/hello/main/unix/Makefile Tue Feb 29 12:05:03 2000
-@@ -24,7 +24,7 @@
-
- CPPSRCS= UnixMain.cpp
-
--INCLUDES= `gtk-config --cflags`
-+INCLUDES= $(GTK_CFLAGS)
-
- PROGRAM= AbiHello
-
diff --git a/editors/abiword/patches/patch-ag b/editors/abiword/patches/patch-ag
deleted file mode 100644
index a226f3837d0..00000000000
--- a/editors/abiword/patches/patch-ag
+++ /dev/null
@@ -1,88 +0,0 @@
-$NetBSD: patch-ag,v 1.2 2000/02/29 18:31:30 jlam Exp $
-
---- src/pkg/common/unix/scripts/install.sh.orig Wed Jun 2 16:19:32 1999
-+++ src/pkg/common/unix/scripts/install.sh Tue Feb 29 12:17:41 2000
-@@ -2,14 +2,14 @@
- #
- # This script is invoked by the Makefiles when the "install" target
- # is specified. It just puts things where most users will probably
--# be happy, in $TARGET, with symbolic links (in $BINDIR) to the binaries
--# in $TARGET/bin
-+# be happy, in $TARGET, with the binaries in $LIBEXECDIR, with
-+# symbolic links (in $BINDIR) to the binaries in $LIBEXECDIR.
- #
- # $SRCDIR should be the place where the compile process (the "canonical"
- # target especially) put all the stuff. $SCRIPTDIR should be set by the
- # caller so we can know where we are. $BINDIR is where the symbolic
--# links are eventually installed, to point to the "bin/*" files within
--# $TARGET/bin
-+# links are eventually installed, to point to the executable files within
-+# $LIBEXECDIR
-
- # if no target, bail
- if [ -z "$TARGET" ]
-@@ -52,6 +52,21 @@
- exit 1
- fi
-
-+# Make sure the libexec dir exists
-+if [ -z "$LIBEXECDIR" ]
-+then
-+ LIBEXECDIR=${TARGET}/bin
-+fi
-+mkdir -p $LIBEXECDIR
-+
-+if [ ! -d $LIBEXECDIR ]
-+then
-+ echo ""
-+ echo "Error creating directory [$LIBEXECDIR]."
-+ echo ""
-+ exit 1
-+fi
-+
- # start with breathing room
- echo ""
-
-@@ -63,9 +78,9 @@
- # Copy the files from $SRCDIR to $TARGET
- (cd $SRCDIR/AbiSuite; tar cf - *) | (cd $TARGET; tar xf -)
-
--echo "Installing program binaries to [$TARGET/bin]..."
-+echo "Installing program binaries to [$LIBEXECDIR]..."
- # Setup bins
--(cd $SRCDIR; tar cf - bin/Abi*) | (cd $TARGET; tar xf -)
-+(cd $SRCDIR/bin; tar cf - Abi*) | (cd $LIBEXECDIR; tar xf -)
-
- ########################################################################
- # If we're on Solaris, run makepsres on the font path
-@@ -91,10 +106,10 @@
- cd $SCRIPTDIR
-
- echo "Making wrapper script at [$TARGET/bin/AbiWord]..."
--./makewrapper.sh AbiWord $TARGET
-+./makewrapper.sh AbiWord $TARGET $LIBEXECDIR
- # TODO : make use of these
--# ./makewrapper.sh AbiCalc $TARGET
--# ./makewrapper.sh AbiFile $TARGET
-+# ./makewrapper.sh AbiCalc $TARGET $LIBEXECDIR
-+# ./makewrapper.sh AbiFile $TARGET $LIBEXECDIR
-
-
- ########################################################################
-@@ -107,12 +122,12 @@
-
- # NOTE : Solaris ln doesn't seem to honor the -f (force flag), so
- # NOTE : we have to remove them first.
--rm -f $BINDIR/AbiWord ; ln -s $TARGET/bin/AbiWord $BINDIR/AbiWord
--rm -f $BINDIR/abiword ; ln -s $TARGET/bin/AbiWord $BINDIR/abiword
-+rm -f $BINDIR/AbiWord ; ln -s $LIBEXECDIR/AbiWord $BINDIR/AbiWord
-+rm -f $BINDIR/abiword ; ln -s $LIBEXECDIR/AbiWord $BINDIR/abiword
-
- # TODO : make use of these, etc.
--# rm -f $BINDIR/AbiCalc ; ln -s $TARGET/bin/AbiCalc $LINK_DIR/AbiCalc
--# rm -f $BINDIR/abicalc ; ln -s $TARGET/bin/AbiCalc $LINK_DIR/abicalc
-+# rm -f $BINDIR/AbiCalc ; ln -s $LIBEXECDIR/AbiCalc $LINK_DIR/AbiCalc
-+# rm -f $BINDIR/abicalc ; ln -s $LIBEXECDIR/AbiCalc $LINK_DIR/abicalc
-
- ########################################################################
- # Done
diff --git a/editors/abiword/patches/patch-ah b/editors/abiword/patches/patch-ah
deleted file mode 100644
index ae372a31396..00000000000
--- a/editors/abiword/patches/patch-ah
+++ /dev/null
@@ -1,86 +0,0 @@
-$NetBSD: patch-ah,v 1.2 2000/02/29 18:31:30 jlam Exp $
-
---- src/pkg/common/unix/scripts/makewrapper.sh.orig Thu Jun 24 16:54:37 1999
-+++ src/pkg/common/unix/scripts/makewrapper.sh Tue Feb 29 12:19:00 2000
-@@ -3,15 +3,16 @@
- # This script is invoked to create wrapper scripts for AbiSuite
- # binaries. One should pass it the _base_ name of the program
- # to wrap (one would pass "AbiWord" to wrap "AbiWord_s" and
--# "AbiWord_d"), and the install base of the tree, to which "bin"
--# will be appended for binary and script locations.
-+# "AbiWord_d"), and the install base of the tree and the location of the
-+# machine-dependent binaries and scripts.
-
- # Examples:
--# makewrapper.sh AbiWord /usr/local/AbiSuite
--# makewrapper.sh AbiCalc /usr/local/AbiSuite
-+# makewrapper.sh AbiWord /usr/local/AbiSuite /usr/local/libexec/AbiSuite
-+# makewrapper.sh AbiCalc /usr/local/AbiSuite /usr/local/libexec/AbiSuite
-
- PROGRAM_NAME=$1
- INSTALL_BASE=$2
-+LIBEXECDIR=$3
-
- # Did they supply any arguments?
- if [ -z "$PROGRAM_NAME" ]
-@@ -28,11 +29,15 @@
- echo ""
- exit 1
- fi
-+if [ -z "$LIBEXECDIR" ]
-+then
-+ LIBEXECDIR=${INSTALL_BASE}/bin
-+fi
-
- # Make directory path up to program we're creating
--mkdir -p $INSTALL_BASE/bin
-+mkdir -p $LIBEXECDIR
-
--cat >$INSTALL_BASE/bin/$PROGRAM_NAME<<EOF
-+cat >$LIBEXECDIR/$PROGRAM_NAME<<EOF
- #!/bin/sh
- #
- # AbiSuite program wrapper script, dynamically generated
-@@ -42,6 +47,9 @@
- ABISUITE_HOME=$INSTALL_BASE
- export ABISUITE_HOME
-
-+# Change this if you move the AbiSuite binaries.
-+ABISUITE_LIBEXEC=$LIBEXECDIR
-+
- # Change this if you move your fonts.
- ABISUITE_FONT_HOME=\$ABISUITE_HOME/fonts
-
-@@ -52,18 +60,18 @@
- fi
-
- # Figure out which binary to run
--if [ -f \$ABISUITE_HOME/bin/${PROGRAM_NAME}_d ]
-+if [ -f \$ABISUITE_LIBEXEC/${PROGRAM_NAME}_d ]
- then
-- \$ABISUITE_HOME/bin/${PROGRAM_NAME}_d "\$@"
--elif [ -f \$ABISUITE_HOME/bin/${PROGRAM_NAME}_s ]
-+ \$ABISUITE_LIBEXEC/${PROGRAM_NAME}_d "\$@"
-+elif [ -f \$ABISUITE_LIBEXEC/${PROGRAM_NAME}_s ]
- then
-- \$ABISUITE_HOME/bin/${PROGRAM_NAME}_s "\$@"
-+ \$ABISUITE_LIBEXEC/${PROGRAM_NAME}_s "\$@"
- else
- echo ""
- echo "Error: can't find ${PROGRAM_NAME} executables:"
-- echo " \$ABISUITE_HOME/bin/${PROGRAM_NAME}_d"
-+ echo " \$ABISUITE_LIBEXEC/${PROGRAM_NAME}_d"
- echo " -or-"
-- echo " \$ABISUITE_HOME/bin/${PROGRAM_NAME}_s"
-+ echo " \$ABISUITE_LIBEXEC/${PROGRAM_NAME}_s"
- echo ""
- exit
- fi
-@@ -75,6 +83,6 @@
- fi
- EOF
-
--chmod 755 ${INSTALL_BASE}/bin/$PROGRAM_NAME
-+chmod 755 ${LIBEXECDIR}/$PROGRAM_NAME
-
-
diff --git a/editors/abiword/patches/patch-ai b/editors/abiword/patches/patch-ai
deleted file mode 100644
index 6501578551d..00000000000
--- a/editors/abiword/patches/patch-ai
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ai,v 1.2 2000/02/29 18:31:30 jlam Exp $
-
---- src/wp/main/unix/Makefile.orig Mon Dec 13 16:10:26 1999
-+++ src/wp/main/unix/Makefile Tue Feb 29 12:05:03 2000
-@@ -24,7 +24,7 @@
-
- CPPSRCS= UnixMain.cpp
-
--INCLUDES= `$(GTK_CONFIG) --cflags`
-+INCLUDES= $(GTK_CFLAGS)
-
- PROGRAM= $(BINDIR)/AbiWord_d
- PROGRAM_S= $(BINDIR)/AbiWord_s
diff --git a/editors/abiword/patches/patch-aj b/editors/abiword/patches/patch-aj
deleted file mode 100644
index 836b31102a0..00000000000
--- a/editors/abiword/patches/patch-aj
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-aj,v 1.1 2000/02/29 18:31:30 jlam Exp $
-
---- src/wp/main/unix/gnome/Makefile.orig Mon Dec 13 16:10:26 1999
-+++ src/wp/main/unix/gnome/Makefile Tue Feb 29 12:05:03 2000
-@@ -24,7 +24,7 @@
-
- CPPSRCS= UnixGnomeMain.cpp
-
--INCLUDES= `$(GNOME_CONFIG) gnomeui --cflags`
-+INCLUDES= $(GNOME_CFLAGS)
-
- PROGRAM= $(BINDIR)/AbiWord_d
- PROGRAM_S= $(BINDIR)/AbiWord_s
diff --git a/editors/abiword/patches/patch-ak b/editors/abiword/patches/patch-ak
new file mode 100644
index 00000000000..50e6671d5a7
--- /dev/null
+++ b/editors/abiword/patches/patch-ak
@@ -0,0 +1,13 @@
+$NetBSD: patch-ak,v 1.1 2000/05/02 23:35:58 jlam Exp $
+
+--- src/pkg/netbsd/Makefile.orig Tue Feb 29 16:37:58 2000
++++ src/pkg/netbsd/Makefile Tue May 2 18:36:23 2000
+@@ -4,6 +4,7 @@
+
+ # The plain "install" common to all Unix targets
+ install:
+- @TARGET=$(prefix)/AbiSuite BINDIR=$(prefix)/bin SRCDIR=$(OUTDIR) \
++ @TARGET=$(prefix)/share/AbiSuite BINDIR=$(prefix)/bin SRCDIR=$(OUTDIR) \
++ LIBEXECDIR=$(prefix)/libexec/AbiSuite \
+ SCRIPTDIR=$(ABI_ROOT)/src/pkg/common/unix/scripts \
+ $(ABI_ROOT)/src/pkg/common/unix/scripts/install.sh