diff options
author | mezz <mezz@FreeBSD.org> | 2004-06-09 19:12:14 +0000 |
---|---|---|
committer | mezz <mezz@FreeBSD.org> | 2004-06-09 19:12:14 +0000 |
commit | 756e886de5e9473d67306f809305c3bedc21656e (patch) | |
tree | 2621f7501060288988c4a8f5204711e18cd7e536 /editors/abiword-devel/files | |
parent | 7cc1521d0de81362c481a2a637515d7d93735882 (diff) | |
download | FreeBSD-ports-756e886de5e9473d67306f809305c3bedc21656e.zip FreeBSD-ports-756e886de5e9473d67306f809305c3bedc21656e.tar.gz |
- Clean up to make it looks nicer.
- Change from autogen.sh to configure; it works fine with tweaks.
- No longer wv check for the conflict, which it depends on textproc/wv
rather than the one include AbiWord's tarball. I have tested my Mom
and sister's docs from their work/school and they works fine with wv
port. I don't see any problem or slowdown.
- Force AbiWord to check/compile everything what apps that are
installed (headers, libraries, etc) from ports rather than check and
use the stuff that are included in tarball such as wv, zlib, libpng,
popt and etc. (Use external dependencies.)
- Improvement the autochecks and knobs of WITH_ENCHANT and WITH_ASPELL.
- Add the new WITHOUT_GTKSPELL knob to allow us not depend and install
either Aspell or Enchant, but the spell checker will be still enable
and dictionary will be install. The spell checker works fine in my
test so far.
- Add install the Help docs to fix the ports/66623 and add a new
WITHOUT_HELP_DOCS to disable the install Help docs.
Reviewed by: marcus and adamw
Diffstat (limited to 'editors/abiword-devel/files')
-rw-r--r-- | editors/abiword-devel/files/patch-..::wv::magick::Makefile.in | 14 | ||||
-rw-r--r-- | editors/abiword-devel/files/patch-GNUmakefile.in (renamed from editors/abiword-devel/files/patch-GNUmakefile.am) | 33 | ||||
-rw-r--r-- | editors/abiword-devel/files/patch-an | 27 | ||||
-rw-r--r-- | editors/abiword-devel/files/patch-ap | 23 | ||||
-rw-r--r-- | editors/abiword-devel/files/patch-aq | 13 | ||||
-rw-r--r-- | editors/abiword-devel/files/patch-autogen.sh | 57 | ||||
-rw-r--r-- | editors/abiword-devel/files/patch-ax | 10 |
7 files changed, 45 insertions, 132 deletions
diff --git a/editors/abiword-devel/files/patch-..::wv::magick::Makefile.in b/editors/abiword-devel/files/patch-..::wv::magick::Makefile.in deleted file mode 100644 index bfba3a8..0000000 --- a/editors/abiword-devel/files/patch-..::wv::magick::Makefile.in +++ /dev/null @@ -1,14 +0,0 @@ - -$FreeBSD$ - ---- ../wv/magick/Makefile.in 2001/08/08 11:44:02 1.1 -+++ ../wv/magick/Makefile.in 2001/08/08 11:44:13 -@@ -40,7 +40,7 @@ - all: $(MAGICKOBJECTS) - - %.$(OBJEXT): $(srcdir)/%.c -- $(CC) $(CFLAGS) -c $(srcdir)/$*.c -+ $(CC) @CPPFLAGS@ $(CFLAGS) -c $(srcdir)/$*.c - - clean: - rm -rf *.$(OBJEXT) core a.$(OBJEXT)ut *.a diff --git a/editors/abiword-devel/files/patch-GNUmakefile.am b/editors/abiword-devel/files/patch-GNUmakefile.in index 5aa1457..fe5958d 100644 --- a/editors/abiword-devel/files/patch-GNUmakefile.am +++ b/editors/abiword-devel/files/patch-GNUmakefile.in @@ -1,8 +1,19 @@ ---- GNUmakefile.am.orig Fri Sep 12 09:18:10 2003 -+++ GNUmakefile.am Thu May 20 01:35:58 2004 -@@ -7,11 +7,11 @@ - libpng_peerdir=@LIBPNG_PEERDIR@ - libpopt_peerdir=$(top_builddir)/../popt +--- GNUmakefile.in.orig Mon Jun 7 14:59:52 2004 ++++ GNUmakefile.in Mon Jun 7 15:01:41 2004 +@@ -156,17 +156,17 @@ + + SUBDIRS = src + +-expat_peerdir = $(top_builddir)/../expat +-wv_peerdir = $(top_builddir)/../wv +-libiconv_peerdir = $(top_builddir)/../libiconv +-libpng_peerdir = @LIBPNG_PEERDIR@ +-libpopt_peerdir = $(top_builddir)/../popt ++#expat_peerdir = $(top_builddir)/../expat ++#wv_peerdir = $(top_builddir)/../wv ++#libiconv_peerdir = $(top_builddir)/../libiconv ++#libpng_peerdir = @LIBPNG_PEERDIR@ ++#libpopt_peerdir = $(top_builddir)/../popt -desktop_DATA = abiword.desktop -desktopdir = $(datadir)/applications @@ -10,13 +21,13 @@ +#desktopdir = $(datadir)/applications -icon_DATA = abiword_48.png --icondir= $(datadir)/icons +-icondir = $(datadir)/icons +#icon_DATA = abiword_48.png -+#icondir= $(datadir)/icons ++#icondir = $(datadir)/icons - # Hack: make sure that the PEERS stuff is build first - # We can not use the all target, because on parallel builds there is no -@@ -82,7 +82,6 @@ + @BIGENDIAN_TRUE@dictionary = $(top_srcdir)/../abidistfiles/dictionary/BigEndian32.american.hash + @BIGENDIAN_FALSE@dictionary = $(top_srcdir)/../abidistfiles/dictionary/LittleEndian32.american.hash +@@ -586,7 +586,6 @@ # Install the datafiles. This is quick-and-dirty. install-data-local: @@ -24,7 +35,7 @@ if test -d $(top_srcdir)/../abidistfiles ; then \ for dir in `cd $(top_srcdir)/../abidistfiles; find . -type d ! -name CVS` ; do \ $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/$$dir ;\ -@@ -95,11 +94,7 @@ +@@ -599,11 +598,7 @@ for file in $(top_srcdir)/../abidistfiles/$$dir/* ; do \ if test -f $$file ; then \ sfile=`echo "$$file" | sed 's/\.[^.]*$$//'`; \ diff --git a/editors/abiword-devel/files/patch-an b/editors/abiword-devel/files/patch-an index f2e91bd..1048c7a 100644 --- a/editors/abiword-devel/files/patch-an +++ b/editors/abiword-devel/files/patch-an @@ -1,9 +1,9 @@ $FreeBSD$ ---- src/Makefile.orig Thu May 30 17:51:53 2002 -+++ src/Makefile Wed Jun 5 15:47:41 2002 -@@ -48,6 +48,7 @@ +--- src/Makefile.orig Mon Jun 7 00:15:08 2004 ++++ src/Makefile Mon Jun 7 00:51:56 2004 +@@ -52,6 +52,7 @@ ## Set the following to a list of pathnames to be copied to $(CANONDIR) CANON_TOPLEVELFILES= $(ABI_ROOT)/COPYING $(ABI_ROOT)/user/wp/readme.txt @@ -11,7 +11,7 @@ $FreeBSD$ ## Set the following to a list of directories (probably a subset of DIRS) ## that have work to do. -@@ -58,6 +59,9 @@ +@@ -62,6 +63,9 @@ @for k in $(CANON_TOPLEVELFILES); do \ $(ABICOPY) $$k $(CANONDIR); \ done @@ -21,21 +21,26 @@ $FreeBSD$ @for k in $(CANON_SubDirs); do \ $(MAKE) ABI_ROOT=$(ABI_ROOT) -C $$k canonical; \ done -@@ -72,6 +76,7 @@ - cp $$k american.hash; \ - rm $$k ; \ +@@ -73,9 +77,10 @@ + @$(ABICOPY) $(ABI_ROOT)/../abidistfiles/dictionary/$(OS_ENDIAN).*.hash $(CANONDIR)/dictionary + @(cd $(CANONDIR)/dictionary; \ + for k in *.hash; do \ +- cp $$k american.hash; \ +- rm $$k ; \ ++ $(ABICOPY) $$k american.hash; \ ++ $(ABIRM) $$k ; \ done) + @(cd $(CANONDIR)/dictionary; $(ABICHMOD) ugo=r *) # We currently only ship american.hash, so the above and below aren't logical. - # For same reason, this will only copy american.hash-encoding once in place. The rest is in abispell. - @$(ABICOPY) $(ABI_ROOT)/../abidistfiles/dictionary/*.hash-encoding $(CANONDIR)/dictionary -@@ -112,10 +117,12 @@ + @$(ABICOPY) $(ABI_ROOT)/../abidistfiles/dictionary/*.xml $(CANONDIR)/dictionary + endif +@@ -115,10 +120,12 @@ fi # icons for X window manager use @$(subst xxxx,$(CANONDIR)/icons,$(VERIFY_DIRECTORY)) - (cd $(ABI_ROOT)/../abidistfiles/icons; cp abi* $(CANONDIR)/icons) + (cd $(ABI_ROOT)/../abidistfiles/icons; $(ABICOPY) abi* $(CANONDIR)/icons) -+ @(cd $(CANONDIR)/icons; $(ABICHMOD) ugo=r *_48*) ++ @(cd $(CANONDIR)/icons; $(ABICHMOD) ugo=r abi*) # font stuff for installation @$(subst xxxx,$(CANONDIR)/fonts,$(VERIFY_DIRECTORY)) - (cd $(ABI_ROOT)/../unixfonts/fonts ; cp *.* $(CANONDIR)/fonts) diff --git a/editors/abiword-devel/files/patch-ap b/editors/abiword-devel/files/patch-ap deleted file mode 100644 index 76fbc45..0000000 --- a/editors/abiword-devel/files/patch-ap +++ /dev/null @@ -1,23 +0,0 @@ ---- src/wp/Makefile.orig Sat Apr 13 07:22:38 2002 -+++ src/wp/Makefile Fri Apr 19 23:30:57 2002 -@@ -44,8 +44,18 @@ - @$(subst xxxx,$(CANON_AppDir),$(VERIFY_DIRECTORY)) - @$(subst xxxx,$(CANON_AppDir)/strings,$(VERIFY_DIRECTORY)) - @$(subst xxxx,$(CANON_AppDir)/help,$(VERIFY_DIRECTORY)) -+ @$(subst xxxx,$(CANON_AppDir)/help/en-US,$(VERIFY_DIRECTORY)) -+ @$(subst xxxx,$(CANON_AppDir)/help/en-US/howto,$(VERIFY_DIRECTORY)) -+ @$(subst xxxx,$(CANON_AppDir)/help/en-US/howto/howtoweb.xhtml_data,$(VERIFY_DIRECTORY)) -+ @$(subst xxxx,$(CANON_AppDir)/help/en-US/howto/howtoword.xhtml_data,$(VERIFY_DIRECTORY)) -+ @$(subst xxxx,$(CANON_AppDir)/help/en-US/info,$(VERIFY_DIRECTORY)) -+ @$(subst xxxx,$(CANON_AppDir)/help/en-US/interface,$(VERIFY_DIRECTORY)) -+ @$(subst xxxx,$(CANON_AppDir)/help/en-US/interface/dialogreplace.xhtml_data,$(VERIFY_DIRECTORY)) -+ @$(subst xxxx,$(CANON_AppDir)/help/en-US/interface/menufile.xhtml_data,$(VERIFY_DIRECTORY)) -+ @$(subst xxxx,$(CANON_AppDir)/help/en-US/interface/workspace.xhtml_data,$(VERIFY_DIRECTORY)) -+ @$(subst xxxx,$(CANON_AppDir)/help/en-US/problems,$(VERIFY_DIRECTORY)) -+ @$(subst xxxx,$(CANON_AppDir)/help/en-US/tutorial,$(VERIFY_DIRECTORY)) -+ @$(subst xxxx,$(CANON_AppDir)/help/images,$(VERIFY_DIRECTORY)) - @$(ABICOPY) $(USERDIR)/wp/readme.txt $(CANON_AppDir) - @$(ABICOPY) $(USERDIR)/wp/system.profile* $(CANON_AppDir) - @$(ABICOPY) $(USERDIR)/wp/strings/*.strings $(CANON_AppDir)/strings -- (cd $(USERDIR)/wp/help; tar cf - images ./*.* $(CANON_Lang)/*.* $(CANON_Lang)/*/*.*) | (cd $(CANON_AppDir)/help; tar xf -) -- @$(ABICOPY) $(ABI_ROOT)/CREDITS.TXT $(CANON_AppDir)/help/en-US/credits.txt diff --git a/editors/abiword-devel/files/patch-aq b/editors/abiword-devel/files/patch-aq index ed0324f..4ceb3a2 100644 --- a/editors/abiword-devel/files/patch-aq +++ b/editors/abiword-devel/files/patch-aq @@ -1,24 +1,25 @@ ---- src/config/abi_defs.mk Fri Jun 9 15:48:49 2000 -+++ src/config/abi_defs.mk.new Thu Jun 22 16:32:03 2000 -@@ -124,11 +124,11 @@ +--- src/config/abi_defs.mk.orig Mon Jun 7 00:43:15 2004 ++++ src/config/abi_defs.mk Mon Jun 7 00:47:55 2004 +@@ -213,11 +213,11 @@ ## INSTALL program... define MAKE_OBJDIR -if test ! -d $(@D); then rm -rf $(@D); mkdir -p $(@D); fi -+if test ! -d $(@D); then rm -rf $(@D); $(ABIMKDIR) -p $(@D); fi ++if test ! -d $(@D); then $(ABIRM) -rf $(@D); $(ABIMKDIR) -p $(@D); fi endef define VERIFY_DIRECTORY -if test ! -d xxxx; then rm -rf xxxx; mkdir -p xxxx; fi -+if test ! -d xxxx; then rm -rf xxxx; $(ABIMKDIR) -p xxxx; fi ++if test ! -d xxxx; then $(ABIRM) -rf xxxx; $(ABIMKDIR) -p xxxx; fi endef ifeq ($(OS_NAME), WIN32) -@@ -160,7 +160,9 @@ +@@ -262,7 +262,10 @@ ################################################################## ################################################################## -ABICOPY=cp ++ABIRM = rm +ABICOPY = cp +ABICHMOD = chmod +ABIMKDIR = mkdir -m u=rwx,go=rx diff --git a/editors/abiword-devel/files/patch-autogen.sh b/editors/abiword-devel/files/patch-autogen.sh deleted file mode 100644 index 666294e..0000000 --- a/editors/abiword-devel/files/patch-autogen.sh +++ /dev/null @@ -1,57 +0,0 @@ ---- autogen.sh.orig Fri Feb 20 08:29:23 2004 -+++ autogen.sh Sat Mar 6 03:36:00 2004 -@@ -10,7 +10,7 @@ - - rm -f autogen.err - --automake --version | perl -ne 'if (/\(GNU automake\) ([0-9].[0-9])/) {print; if ($1 < 1.4) {exit 1;}}' -+%%AUTOMAKE%% --version | perl -ne 'if (/\(GNU automake\) ([0-9].[0-9])/) {print; if ($1 < 1.4) {exit 1;}}' - - if [ $? -ne 0 ]; then - echo "Error: you need automake 1.4 or later. Please upgrade." -@@ -19,9 +19,9 @@ - - # Produce aclocal.m4, so autoconf gets the automake macros it needs - # --echo "Creating aclocal.m4: aclocal -I ac-helpers $ACLOCAL_FLAGS" -+echo "Creating aclocal.m4: %%ACLOCAL%% -I ac-helpers $ACLOCAL_FLAGS" - --aclocal -I ac-helpers $ACLOCAL_FLAGS 2>> autogen.err -+%%ACLOCAL%% -I ac-helpers $ACLOCAL_FLAGS 2>> autogen.err - - if test -f autom4te.cache/requests; then - echo "Checking for PKG_CHECK_MODULES in autom4te.cache/requests ..." -@@ -32,9 +32,9 @@ - fi - - if test "x$pkgcheckdef" = "x"; then -- echo "Running aclocal -I ac-helpers -I ac-helpers/pkg-config $ACLOCAL_FLAGS" -- (aclocal -I ac-helpers -I ac-helpers/pkg-config $ACLOCAL_FLAGS 2>> autogen.err) || { -- echo "aclocal failed! Unable to continue." -+ echo "Running %%ACLOCAL%% -I ac-helpers -I ac-helpers/pkg-config $ACLOCAL_FLAGS" -+ (%%ACLOCAL%% -I ac-helpers -I ac-helpers/pkg-config $ACLOCAL_FLAGS 2>> autogen.err) || { -+ echo "%%ACLOCAL%% failed! Unable to continue." - exit 1 - } - if test -f autom4te.cache/requests; then -@@ -62,9 +62,9 @@ - # Produce all the `GNUmakefile.in's and create neat missing things - # like `install-sh', etc. - # --echo "automake --add-missing --copy --foreign" -+echo "%%AUTOMAKE%% --add-missing --copy --foreign" - --automake --add-missing --copy --foreign 2>> autogen.err || { -+%%AUTOMAKE%% --add-missing --copy --foreign 2>> autogen.err || { - echo "" - echo "* * * warning: possible errors while running automake - check autogen.err" - echo "" -@@ -80,7 +80,7 @@ - # - echo "Creating configure..." - --autoconf 2>> autogen.err || { -+%%AUTOCONF%% 2>> autogen.err || { - echo "" - echo "* * * warning: possible errors while running automake - check autogen.err" - echo "" diff --git a/editors/abiword-devel/files/patch-ax b/editors/abiword-devel/files/patch-ax deleted file mode 100644 index 91ab017..0000000 --- a/editors/abiword-devel/files/patch-ax +++ /dev/null @@ -1,10 +0,0 @@ ---- ../wv/libole2/ms-ole.h Sun Oct 6 20:18:41 2002 -+++ ../wv/libole2/ms-ole.h.new Sun Oct 6 20:18:48 2002 -@@ -20,6 +20,7 @@ - #if defined(__QNXNTO__) - # include <sys/types.h> - #endif -+# include <sys/types.h> - # include <fcntl.h> /* for mode_t */ - #else - # include <stdlib.h> |