FreeBSD Bugzilla – Attachment 45962 Details for
Bug 70702
[port update] misc/sword: update to 1.5.7
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
sword-1.5.7.diff
sword-1.5.7.diff (text/plain), 14.36 KB, created by
wvengen
on 2004-08-20 12:50:14 UTC
(
hide
)
Description:
sword-1.5.7.diff
Filename:
MIME Type:
Creator:
wvengen
Created:
2004-08-20 12:50:14 UTC
Size:
14.36 KB
patch
obsolete
>diff -ruN /usr/ports/misc/sword/Makefile misc/sword/Makefile >--- /usr/ports/misc/sword/Makefile Mon Feb 9 04:01:38 2004 >+++ misc/sword/Makefile Tue Aug 17 15:55:01 2004 >@@ -5,63 +5,55 @@ > # $FreeBSD: ports/misc/sword/Makefile,v 1.10 2004/02/08 20:31:24 linimon Exp $ > # > >-PORTNAME= ${SWORD_PORTNAME} >-PORTVERSION= ${SWORD_PORTVERSION} >-PORTREVISION= 1 >+PORTNAME= sword >+PORTVERSION= 1.5.7 > CATEGORIES= misc >-MASTER_SITES= ${SWORD_MASTER_SITES} >-MASTER_SITE_SUBDIR= ${SWORD_MASTER_SITE_SUBDIR} >-DISTNAME= ${SWORD_DISTNAME} >+MASTER_SITES= ftp://ftp.crosswire.org/pub/sword/source/v1.5/ \ >+ ${MASTER_SITE_SOURCEFORGE} >+MASTER_SITE_SUBDIR= ${PORTNAME} >+# 1.5.7a version fixes some build problems. Since there was no FreeBSD >+# version of 1.5.7 it's really no problem to put the a here. WRKSRC is also >+# just work/sword-1.5.7 >+DISTFILES= ${DISTNAME}a${EXTRACT_SUFX} > > MAINTAINER= wvengen@stack.nl > COMMENT= A project framework for manipulating Bible texts > > USE_GMAKE= yes >+USE_REINPLACE= yes > GNU_CONFIGURE= yes >+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} >+CONFIGURE_ARGS+= --without-conf > INSTALLS_SHLIB= yes >-CONFIGURE_ARGS+= --program-transform-name="" --without-conf > >-.if defined(WITH_INSTALLMGR) >+.if defined(WITHOUT_CURL) >+CONFIGURE_ARGS+= --without-curl >+PLIST_SUB+= INSTALLMGR="@comment " >+.else > LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl >-CONFIGURE_ARGS+= --enable-installmgr >+CONFIGURE_ARGS+= --with-curl > PLIST_SUB+= INSTALLMGR="" >-.else >-CONFIGURE_ARGS+= --disable-installmgr >-PLIST_SUB+= INSTALLMGR="@comment " >- >-.include "${.CURDIR}/Makefile.common" > > pre-everything:: >- @${ECHO_CMD} "Define WITH_INSTALLMGR to include the installmanager (curl)" >+ @${ECHO_CMD} "Define WITHOUT_CURL to disable remote fetch (curl) support in the installmanager" > .endif > >-post-install: register >+post-patch: >+ @${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|${PREFIX}/libdata/pkgconfig|g' \ >+ ${WRKSRC}/Makefile.in >+ >+post-install: >+ @${MKDIR} -p ${PREFIX}/share/sword/mods.d > .if !exists(${PREFIX}/etc/sword.conf) >- @${ECHO_CMD} "[Install]" >${PREFIX}/etc/sword.conf >- @${ECHO_CMD} "DataPath=${DATADIR}/" >>${PREFIX}/etc/sword.conf >- @${ECHO_CMD} "Config file installed in ${PREFIX}/etc/sword.conf" >+ @(cd ${WRKSRC} && make install_config) > .else > @${ECHO_CMD} "Config file not installed since ${PREFIX}/etc/sword.conf already exists." > @${ECHO_CMD} "Please check that DataPath points to your modules (default ${DATADIR})."; > .endif >-.if !exists(${PREFIX}/share/sword/mods.d/globals.conf) >- @${MKDIR} ${PREFIX}/share/sword/mods.d >- @${ECHO_CMD} "[Globals]" >${PREFIX}/share/sword/mods.d/globals.conf >- @${ECHO_CMD} "" >>${PREFIX}/share/sword/mods.d/globals.conf >- @${ECHO_CMD} "Global sword runtime settings installed in" >- @${ECHO_CMD} " ${PREFIX}/share/sword/mods.d/globals.conf >-.endif > @${ECHO_CMD} "" > @${CAT} ${PKGMESSAGE} > > register: >-.if !defined(BATCH) >- @${ECHO} "Do you want to help the authors of SWORD to keep track of how many" >- @${ECHO} -n "people use this program and register now ? [y/n] " >- @read answer; \ >- if [ x$$answer = xy -o x$$answer = xY ]; then \ >- (cd ${WRKSRC}; ${GMAKE} register;); \ >- fi >-.endif >+ @(cd ${WRKSRC} && make register) > > .include <bsd.port.mk> >diff -ruN /usr/ports/misc/sword/Makefile.common misc/sword/Makefile.common >--- /usr/ports/misc/sword/Makefile.common Sun Feb 8 21:31:24 2004 >+++ misc/sword/Makefile.common Thu Jan 1 01:00:00 1970 >@@ -1,11 +0,0 @@ >-# $FreeBSD: ports/misc/sword/Makefile.common,v 1.1 2004/02/08 20:31:24 linimon Exp $ >- >-SWORD_PORTNAME= sword >-SWORD_PORTVERSION= 1.5.5 >-SWORD_MASTER_SITES= ftp://ftp.crosswire.org/pub/sword/source/v1.5/ \ >- ${MASTER_SITE_SOURCEFORGE} >-SWORD_MASTER_SITE_SUBDIR= ${PORTNAME} >-SWORD_DISTNAME= ${SWORD_PORTNAME}-${SWORD_PORTVERSION} >- >-MD5_FILE?= ${PORTSDIR}/misc/sword/distinfo >- >diff -ruN /usr/ports/misc/sword/distinfo misc/sword/distinfo >--- /usr/ports/misc/sword/distinfo Wed Mar 31 13:35:40 2004 >+++ misc/sword/distinfo Tue Aug 17 10:47:16 2004 >@@ -1,2 +1,2 @@ >-MD5 (sword-1.5.5.tar.gz) = d5889fa47ed52c83cfd6466fabc0241b >-SIZE (sword-1.5.5.tar.gz) = 3984442 >+MD5 (sword-1.5.7a.tar.gz) = e77801ac7abb7a940eb8a75d725e346f >+SIZE (sword-1.5.7a.tar.gz) = 1535217 >diff -ruN /usr/ports/misc/sword/files/patch-configure misc/sword/files/patch-configure >--- /usr/ports/misc/sword/files/patch-configure Thu Jan 1 01:00:00 1970 >+++ misc/sword/files/patch-configure Tue Aug 17 13:49:41 2004 >@@ -0,0 +1,13 @@ >+--- configure.orig Tue Aug 17 13:48:32 2004 >++++ configure Tue Aug 17 13:49:13 2004 >+@@ -20183,8 +20183,8 @@ >+ echo "curl found - remote install options available" >+ CURL_CFLAGS=`$CURL_CONFIG --cflags` >+ CURL_LIBS=`$CURL_CONFIG --libs` >+- CXXFLAGS="$CXXFLAGS -DCURLAVAILABLE" >+- CFLAGS="$CFLAGS -DCURLAVAILABLE" >++ CXXFLAGS="$CXXFLAGS -DCURLAVAILABLE $CURL_CFLAGS" >++ CFLAGS="$CFLAGS -DCURLAVAILABLE $CURL_CFLAGS" >+ fi >+ fi >+ >diff -ruN /usr/ports/misc/sword/files/patch-configure.ac misc/sword/files/patch-configure.ac >--- /usr/ports/misc/sword/files/patch-configure.ac Thu Jan 1 01:00:00 1970 >+++ misc/sword/files/patch-configure.ac Tue Aug 17 13:49:28 2004 >@@ -0,0 +1,13 @@ >+--- configure.ac.orig Tue Aug 17 13:48:26 2004 >++++ configure.ac Tue Aug 17 13:48:53 2004 >+@@ -151,8 +151,8 @@ >+ echo "curl found - remote install options available" >+ CURL_CFLAGS=`$CURL_CONFIG --cflags` >+ CURL_LIBS=`$CURL_CONFIG --libs` >+- CXXFLAGS="$CXXFLAGS -DCURLAVAILABLE" >+- CFLAGS="$CFLAGS -DCURLAVAILABLE" >++ CXXFLAGS="$CXXFLAGS -DCURLAVAILABLE $CURL_CFLAGS" >++ CFLAGS="$CFLAGS -DCURLAVAILABLE $CURL_CFLAGS" >+ fi >+ fi >+ >diff -ruN /usr/ports/misc/sword/files/patch-examples::cmdline::Makefile.am misc/sword/files/patch-examples::cmdline::Makefile.am >--- /usr/ports/misc/sword/files/patch-examples::cmdline::Makefile.am Fri Jun 28 05:34:56 2002 >+++ misc/sword/files/patch-examples::cmdline::Makefile.am Thu Jan 1 01:00:00 1970 >@@ -1,8 +0,0 @@ >---- examples/cmdline/Makefile.am.orig Thu May 2 11:24:34 2002 >-+++ examples/cmdline/Makefile.am Thu May 2 11:24:41 2002 >-@@ -7,4 +7,4 @@ >- lookup_SOURCES = lookup.cpp >- search_SOURCES = search.cpp >- threaded_search_SOURCES = threaded_search.cpp >--threaded_search_LDADD = $(LDADD) -lpthread >-+threaded_search_LDADD = $(LDADD) -pthread >diff -ruN /usr/ports/misc/sword/files/patch-examples::cmdline::Makefile.in misc/sword/files/patch-examples::cmdline::Makefile.in >--- /usr/ports/misc/sword/files/patch-examples::cmdline::Makefile.in Fri Jun 28 05:34:56 2002 >+++ misc/sword/files/patch-examples::cmdline::Makefile.in Thu Jan 1 01:00:00 1970 >@@ -1,11 +0,0 @@ >---- examples/cmdline/Makefile.in.orig Thu May 2 11:24:45 2002 >-+++ examples/cmdline/Makefile.in Thu May 2 11:23:52 2002 >-@@ -105,7 +105,7 @@ >- lookup_SOURCES = lookup.cpp >- search_SOURCES = search.cpp >- threaded_search_SOURCES = threaded_search.cpp >--threaded_search_LDADD = $(LDADD) -lpthread >-+threaded_search_LDADD = $(LDADD) -pthread >- subdir = examples/cmdline >- mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs >- CONFIG_HEADER = $(top_builddir)/config.h >diff -ruN /usr/ports/misc/sword/files/patch-include::ftpparse.h misc/sword/files/patch-include::ftpparse.h >--- /usr/ports/misc/sword/files/patch-include::ftpparse.h Thu Jan 1 01:00:00 1970 >+++ misc/sword/files/patch-include::ftpparse.h Tue Aug 17 10:49:37 2004 >@@ -0,0 +1,19 @@ >+--- include/ftpparse.h.orig Tue Aug 17 10:49:11 2004 >++++ include/ftpparse.h Tue Aug 17 10:49:24 2004 >+@@ -1,7 +1,6 @@ >+ #ifndef FTPPARSE_H >+ #define FTPPARSE_H >+ >+-#include <time.h> >+ >+ /* >+ ftpparse(&fp,buf,len) tries to parse one line of LIST output. >+@@ -25,7 +24,7 @@ >+ int sizetype; >+ long size; /* number of octets */ >+ int mtimetype; >+- time_t mtime; /* modification time */ >++ long mtime; /* modification time */ >+ int idtype; >+ char *id; /* not necessarily 0-terminated */ >+ int idlen; >diff -ruN /usr/ports/misc/sword/files/patch-src::utilfuns::ftpparse.c misc/sword/files/patch-src::utilfuns::ftpparse.c >--- /usr/ports/misc/sword/files/patch-src::utilfuns::ftpparse.c Thu Jan 1 01:00:00 1970 >+++ misc/sword/files/patch-src::utilfuns::ftpparse.c Thu Feb 19 23:23:58 2004 >@@ -0,0 +1,10 @@ >+--- src/utilfuns/ftpparse.c.orig Thu Feb 19 23:22:11 2004 >++++ src/utilfuns/ftpparse.c Thu Feb 19 23:22:19 2004 >+@@ -21,6 +21,7 @@ >+ NCSA Telnet FTP server. Has LIST = NLST (and bad NLST for directories). >+ */ >+ >++#include <time.h> >+ #include <ftpparse.h> >+ >+ static long totai(long year,long month,long mday) >diff -ruN /usr/ports/misc/sword/pkg-message misc/sword/pkg-message >--- /usr/ports/misc/sword/pkg-message Tue Dec 11 10:36:32 2001 >+++ misc/sword/pkg-message Tue Aug 17 15:37:33 2004 >@@ -1,4 +1,15 @@ >-To use sword, you need to have bible, commentary and/or lexicon modules. Those >-are available in the sword-modules package/port. And you probabely want to >-install a bible-application that uses sword, like cheatah (or irenaeus, >-bibletime or gnomesword when they become available as package/port). >+To use sword, you need to have bible, commentary and/or lexicon modules. You >+can install those from the crosswire website in two ways. If you live in a >+persecuted country however and do not wish to risk detection, you should *not* >+try this. >+ 1. Use installmgr (doesn't work when port is built WITHOUT_CURL). E.g.: >+ # installmgr -init >+ # installmgr -r crosswire >+ # installmgr -ri crosswire ASV >+ See `installmgr --help` for details. >+ 2. Download raw zip-archives from >+ http://www.crosswire.org/sword/modules/ >+ and unpack them in PREFIX/share/sword. >+ >+You probabely want to install a bible-application that uses sword, like >+cheatah, bibletime or gnomesword. >diff -ruN /usr/ports/misc/sword/pkg-plist misc/sword/pkg-plist >--- /usr/ports/misc/sword/pkg-plist Wed Nov 27 12:01:40 2002 >+++ misc/sword/pkg-plist Tue Aug 17 14:29:00 2004 >@@ -1,5 +1,15 @@ >+bin/addld > bin/diatheke >-etc/sword.conf >+bin/imp2ld >+bin/imp2vs >+bin/installmgr >+bin/mod2imp >+bin/mod2osis >+bin/mod2vpl >+bin/mod2zmod >+bin/osis2mod >+bin/vpl2mod >+bin/vs2osisref > include/sword/Greek2Greek.h > include/sword/GreekChars.h > include/sword/canon.h >@@ -11,18 +21,23 @@ > include/sword/femain.h > include/sword/filemgr.h > include/sword/flatapi.h >+include/sword/ftpparse.h > include/sword/gbffootnotes.h > include/sword/gbfheadings.h > include/sword/gbfhtml.h > include/sword/gbfhtmlhref.h > include/sword/gbfmorph.h >+include/sword/gbfosis.h > include/sword/gbfplain.h >+include/sword/gbfredletterwords.h > include/sword/gbfrtf.h > include/sword/gbfstrongs.h > include/sword/gbfthml.h >+include/sword/gbfwebif.h > include/sword/greeklexattribs.h > include/sword/hebrewmcim.h > include/sword/hrefcom.h >+include/sword/installmgr.h > include/sword/latin1utf16.h > include/sword/latin1utf8.h > include/sword/listkey.h >@@ -31,6 +46,17 @@ > include/sword/markupfiltmgr.h > include/sword/multimapwdef.h > include/sword/nullim.h >+include/sword/osisfootnotes.h >+include/sword/osisheadings.h >+include/sword/osishtmlhref.h >+include/sword/osislemma.h >+include/sword/osismorph.h >+include/sword/osisplain.h >+include/sword/osisredletterwords.h >+include/sword/osisrtf.h >+include/sword/osisscripref.h >+include/sword/osisstrongs.h >+include/sword/osiswebif.h > include/sword/plainfootnotes.h > include/sword/plainhtml.h > include/sword/rawcom.h >@@ -46,12 +72,11 @@ > include/sword/regex.h > include/sword/roman.h > include/sword/rtfhtml.h >-include/sword/rwphtml.h >-include/sword/rwprtf.h > include/sword/sapphire.h > include/sword/scsuutf8.h > include/sword/strkey.h > include/sword/swbasicfilter.h >+include/sword/swbuf.h > include/sword/swcacher.h > include/sword/swcipher.h > include/sword/swcom.h >@@ -64,6 +89,7 @@ > include/sword/swfiltermgr.h > include/sword/swgenbook.h > include/sword/swinputmeth.h >+%%INSTALLMGR%%include/sword/swinstallmgr.h > include/sword/swkey.h > include/sword/swld.h > include/sword/swlocale.h >@@ -71,8 +97,10 @@ > include/sword/swmacs.h > include/sword/swmgr.h > include/sword/swmodule.h >-include/sword/untgz.h > include/sword/swobject.h >+include/sword/swoptfilter.h >+%%INSTALLMGR%%include/sword/swremotemgr.h >+include/sword/swsearchable.h > include/sword/swtext.h > include/sword/swunicod.h > include/sword/swversion.h >@@ -86,26 +114,35 @@ > include/sword/thmlhtmlhref.h > include/sword/thmllemma.h > include/sword/thmlmorph.h >-include/sword/thmlolb.h >+include/sword/thmlosis.h > include/sword/thmlplain.h > include/sword/thmlrtf.h > include/sword/thmlscripref.h > include/sword/thmlstrongs.h > include/sword/thmlvariants.h >+include/sword/thmlwebif.h > include/sword/treekey.h > include/sword/treekeyidx.h > include/sword/unicodertf.h > include/sword/unixstr.h >+include/sword/untgz.h > include/sword/utf16utf8.h >+include/sword/utf8arshaping.h >+include/sword/utf8bidireorder.h > include/sword/utf8cantillation.h > include/sword/utf8greekaccents.h > include/sword/utf8hebrewpoints.h > include/sword/utf8html.h > include/sword/utf8latin1.h >+include/sword/utf8nfc.h >+include/sword/utf8nfkd.h >+include/sword/utf8transliterator.h > include/sword/utf8utf16.h > include/sword/utilconf.h > include/sword/utilfuns.h > include/sword/utilstr.h >+include/sword/utilweb.h >+include/sword/utilxml.h > include/sword/versekey.h > include/sword/zcom.h > include/sword/zconf.h >@@ -115,35 +152,40 @@ > include/sword/zstr.h > include/sword/ztext.h > include/sword/zverse.h >-%%INSTALLMGR%%include/sword/swremotemgr.h >-%%INSTALLMGR%%include/sword/swinstallmgr.h >-@dirrm include/sword >-lib/libsword.so.1 >-lib/libsword.so >-lib/libsword.la > lib/libsword.a >-@dirrm lib/sword >+lib/libsword.la >+lib/libsword.so >+lib/libsword.so.4 >+libdata/pkgconfig/sword.pc > share/sword/locales.d/abbr.conf >+share/sword/locales.d/bg_BG-cp1251.conf > share/sword/locales.d/cs.conf > share/sword/locales.d/da.conf > share/sword/locales.d/de.conf > share/sword/locales.d/de_abbrev.conf >+share/sword/locales.d/en_GB.conf > share/sword/locales.d/es.conf >+share/sword/locales.d/et.conf >+share/sword/locales.d/et_abbr.conf >+share/sword/locales.d/fi.conf > share/sword/locales.d/fr.conf >-share/sword/locales.d/fr_FR.ISO-8859-1.conf >+share/sword/locales.d/id.conf > share/sword/locales.d/it.conf > share/sword/locales.d/la.conf > share/sword/locales.d/nl.conf > share/sword/locales.d/no.conf > share/sword/locales.d/pl.conf > share/sword/locales.d/pt.conf >-share/sword/locales.d/id.conf > share/sword/locales.d/pt_BR.conf >+share/sword/locales.d/ro.conf >+share/sword/locales.d/ru_RU-cp1251.conf >+share/sword/locales.d/ru_RU-koi8-r.conf > share/sword/locales.d/sk.conf >-share/sword/locales.d/ru.conf >-share/sword/locales.d/et.conf >-share/sword/locales.d/et_abbr.conf >+share/sword/locales.d/uk_UA-cp1251.conf >+share/sword/locales.d/uk_UA-koi8-u.conf > @dirrm share/sword/locales.d >-share/sword/mods.d/globals.conf > @dirrm share/sword/mods.d > @dirrm share/sword >+@dirrm lib/sword >+@dirrm libdata/pkgconfig >+@dirrm include/sword
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 70702
: 45962
Working