From 8a633b59afd4f481baf50e14c9eaea961d0b059d Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Sat, 23 Nov 2002 03:33:20 +0000 Subject: New port: misc/bibletime BibleTime is a powerful Bible study application for the K Desktop Environment running on Unix operating systems. BibleTime is based on the Sword library which provides access to all the different text modules created by the Crosswire Bible Society. PR: ports/34981 Submitted by: Willem van Engen --- misc/bibletime-kde3/Makefile | 33 +++++++ misc/bibletime-kde3/distinfo | 1 + misc/bibletime-kde3/files/patch-Makefile.am | 11 +++ misc/bibletime-kde3/files/patch-Makefile.in | 11 +++ misc/bibletime-kde3/files/patch-admin::ltmain.sh | 12 +++ ...ch-bibletime::backend::cswordbookmoduleinfo.cpp | 13 +++ ...time::frontend::searchdialog::csearchdialog.cpp | 12 +++ ...atch-bibletime::printing::cprintdialogpages.cpp | 20 ++++ misc/bibletime-kde3/pkg-comment | 1 + misc/bibletime-kde3/pkg-descr | 13 +++ misc/bibletime-kde3/pkg-plist | 105 +++++++++++++++++++++ 11 files changed, 232 insertions(+) create mode 100644 misc/bibletime-kde3/Makefile create mode 100644 misc/bibletime-kde3/distinfo create mode 100644 misc/bibletime-kde3/files/patch-Makefile.am create mode 100644 misc/bibletime-kde3/files/patch-Makefile.in create mode 100644 misc/bibletime-kde3/files/patch-admin::ltmain.sh create mode 100644 misc/bibletime-kde3/files/patch-bibletime::backend::cswordbookmoduleinfo.cpp create mode 100644 misc/bibletime-kde3/files/patch-bibletime::frontend::searchdialog::csearchdialog.cpp create mode 100644 misc/bibletime-kde3/files/patch-bibletime::printing::cprintdialogpages.cpp create mode 100644 misc/bibletime-kde3/pkg-comment create mode 100644 misc/bibletime-kde3/pkg-descr create mode 100644 misc/bibletime-kde3/pkg-plist (limited to 'misc/bibletime-kde3') diff --git a/misc/bibletime-kde3/Makefile b/misc/bibletime-kde3/Makefile new file mode 100644 index 000000000000..92f5a7ff2c2b --- /dev/null +++ b/misc/bibletime-kde3/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: bibletime +# Date created: 3 May 2002 +# Whom: Willem van Engen +# +# $FreeBSD$ +# + +PORTNAME= bibletime +PORTVERSION= 1.2.1 +CATEGORIES= misc +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= wvengen@stack.nl + +LIB_DEPENDS= sword.1:${PORTSDIR}/misc/sword +.if !defined(NOPORTDOCS) +RUN_DEPENDS= ${LOCALBASE}/share/doc/HTML/en/bibletime:${PORTSDIR}/misc/bibletime-doc +.endif + +USE_KDELIBS_VER=3 +GNU_CONFIGURE= yes +USE_GMAKE= yes +USE_BZIP2= yes +USE_REINPLACE= yes +CONFIGURE_ARGS+=--program-transform-name="" \ + --with-sworddir=${PREFIX} + +post-patch: + @${REINPLACE_CMD} -e "s^-lpthread^${PTHREAD_LIBS}^g" ${WRKSRC}/configure + @${REINPLACE_CMD} -e "s^-lpthread^${PTHREAD_LIBS}^g" ${WRKSRC}/bibletime/Makefile.in + +.include diff --git a/misc/bibletime-kde3/distinfo b/misc/bibletime-kde3/distinfo new file mode 100644 index 000000000000..d6a2debf325c --- /dev/null +++ b/misc/bibletime-kde3/distinfo @@ -0,0 +1 @@ +MD5 (bibletime-1.2.1.tar.bz2) = 48d7d38c216d5fbcb531eb0746dc4875 diff --git a/misc/bibletime-kde3/files/patch-Makefile.am b/misc/bibletime-kde3/files/patch-Makefile.am new file mode 100644 index 000000000000..0100057ac34c --- /dev/null +++ b/misc/bibletime-kde3/files/patch-Makefile.am @@ -0,0 +1,11 @@ +--- Makefile.am.orig Fri May 3 11:30:38 2002 ++++ Makefile.am Fri May 3 11:32:30 2002 +@@ -32,7 +32,7 @@ + cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common configure.files + + install-data-local: +- chmod 755 $(DESTDIR)$(kde_datadir)/bibletime -R ++ chmod -R 755 $(DESTDIR)$(kde_datadir)/bibletime + + MAINTAINERCLEANFILES = configure.files subdirs + diff --git a/misc/bibletime-kde3/files/patch-Makefile.in b/misc/bibletime-kde3/files/patch-Makefile.in new file mode 100644 index 000000000000..fe46c70fd628 --- /dev/null +++ b/misc/bibletime-kde3/files/patch-Makefile.in @@ -0,0 +1,11 @@ +--- Makefile.in.orig Fri May 3 11:30:38 2002 ++++ Makefile.in Fri May 3 11:32:25 2002 +@@ -597,7 +597,7 @@ + cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common configure.files + + install-data-local: +- chmod 755 $(DESTDIR)$(kde_datadir)/bibletime -R ++ chmod -R 755 $(DESTDIR)$(kde_datadir)/bibletime + + dist-hook: + cd $(distdir) && make -f Makefile.cvs diff --git a/misc/bibletime-kde3/files/patch-admin::ltmain.sh b/misc/bibletime-kde3/files/patch-admin::ltmain.sh new file mode 100644 index 000000000000..3938e1b81b69 --- /dev/null +++ b/misc/bibletime-kde3/files/patch-admin::ltmain.sh @@ -0,0 +1,12 @@ +diff -ruN admin/ltmain.sh admin/ltmain.sh +--- admin/ltmain.sh Fri Apr 12 13:40:12 2002 ++++ admin/ltmain.sh Thu Jun 20 09:51:32 2002 +@@ -1239,7 +1239,7 @@ + esac + elif test "X$arg" = "X-lc_r"; then + case $host in +- *-*-openbsd* | *-*-freebsd*) ++ *-*-openbsd* | *-*-freebsd[0-4]*) + # Do not include libc_r directly, use -pthread flag. + continue + ;; diff --git a/misc/bibletime-kde3/files/patch-bibletime::backend::cswordbookmoduleinfo.cpp b/misc/bibletime-kde3/files/patch-bibletime::backend::cswordbookmoduleinfo.cpp new file mode 100644 index 000000000000..95477bbb2942 --- /dev/null +++ b/misc/bibletime-kde3/files/patch-bibletime::backend::cswordbookmoduleinfo.cpp @@ -0,0 +1,13 @@ +diff -ruN bibletime/backend/cswordbookmoduleinfo.cpp bibletime/backend/cswordbookmoduleinfo.cpp +--- bibletime/backend/cswordbookmoduleinfo.cpp Sun Apr 7 01:12:21 2002 ++++ bibletime/backend/cswordbookmoduleinfo.cpp Wed Jun 19 17:31:40 2002 +@@ -18,6 +18,9 @@ + //BibleTime includes + #include "cswordbookmoduleinfo.h" + ++//Other includes ++#include ++ + //Sword includes + #include + #include diff --git a/misc/bibletime-kde3/files/patch-bibletime::frontend::searchdialog::csearchdialog.cpp b/misc/bibletime-kde3/files/patch-bibletime::frontend::searchdialog::csearchdialog.cpp new file mode 100644 index 000000000000..209520e81ffa --- /dev/null +++ b/misc/bibletime-kde3/files/patch-bibletime::frontend::searchdialog::csearchdialog.cpp @@ -0,0 +1,12 @@ +diff -ruN bibletime/frontend/searchdialog/csearchdialog.cpp bibletime/frontend/searchdialog/csearchdialog.cpp +--- bibletime/frontend/searchdialog/csearchdialog.cpp Sat Apr 20 02:25:39 2002 ++++ bibletime/frontend/searchdialog/csearchdialog.cpp Thu Jun 20 09:24:54 2002 +@@ -114,7 +114,7 @@ + } + + void CSearchDialog::setModuleList(ListCSwordModuleInfo& list) { +- if (m_moduleList != list) ++ if (! (m_moduleList == list) ) + m_moduleList = list; //copy the items of "list" + + m_moduleChooser->blockSignals(true); diff --git a/misc/bibletime-kde3/files/patch-bibletime::printing::cprintdialogpages.cpp b/misc/bibletime-kde3/files/patch-bibletime::printing::cprintdialogpages.cpp new file mode 100644 index 000000000000..f92537c285fc --- /dev/null +++ b/misc/bibletime-kde3/files/patch-bibletime::printing::cprintdialogpages.cpp @@ -0,0 +1,20 @@ +diff -ruN bibletime/printing/cprintdialogpages.cpp bibletime/printing/cprintdialogpages.cpp +--- bibletime/printing/cprintdialogpages.cpp Fri Apr 12 13:41:32 2002 ++++ bibletime/printing/cprintdialogpages.cpp Thu Jun 20 00:24:38 2002 +@@ -54,14 +54,14 @@ + QGridLayout *gbox = new QGridLayout( group, 4, 2, 5, 5 ); + gbox->addRowSpacing( 0, group->fontMetrics().height()-5 ); + +- const QString name[4] = {i18n("&Top"),i18n("&Bottom"),i18n("&Left"), i18n("&Right") }; ++ const QString nname[4] = {i18n("&Top"),i18n("&Bottom"),i18n("&Left"), i18n("&Right") }; + for( int i=0; i<4; i++ ) { + m_marginSpin[i] = new QSpinBox( group ); + m_marginSpin[i]->setFixedHeight( m_marginSpin[i]->sizeHint().height() ); + m_marginSpin[i]->setMinimumWidth( m_marginSpin[i]->fontMetrics().width("M")*10 ); + m_marginSpin[i]->setSuffix(" mm"); + +- QLabel *label = new QLabel( m_marginSpin[i], name[i], group ); ++ QLabel *label = new QLabel( m_marginSpin[i], nname[i], group ); + label->setFixedHeight( m_marginSpin[i]->sizeHint().height() ); + label->setFixedWidth( label->sizeHint().width() ); + diff --git a/misc/bibletime-kde3/pkg-comment b/misc/bibletime-kde3/pkg-comment new file mode 100644 index 000000000000..6efe8e10ac7d --- /dev/null +++ b/misc/bibletime-kde3/pkg-comment @@ -0,0 +1 @@ +A powerful Bible study application for KDE3 diff --git a/misc/bibletime-kde3/pkg-descr b/misc/bibletime-kde3/pkg-descr new file mode 100644 index 000000000000..d73877f626e6 --- /dev/null +++ b/misc/bibletime-kde3/pkg-descr @@ -0,0 +1,13 @@ +BibleTime is a powerful Bible study application for the K Desktop Environment +running on Unix operating systems. BibleTime is based on the Sword library +which provides access to all the different text modules created by the +Crosswire Bible Society. + +Current features are: toolbar, splitted window with index and MDI interface, +searching in one or more modules supporting regular expressions, graphical +search analysis, bookmarks, drag & drop, WYSIWYG html editing for comments, +printing and an extensive help system. + +WWW: http://www.bibletime.de/ + +- Willem van Engen diff --git a/misc/bibletime-kde3/pkg-plist b/misc/bibletime-kde3/pkg-plist new file mode 100644 index 000000000000..5c748b59687d --- /dev/null +++ b/misc/bibletime-kde3/pkg-plist @@ -0,0 +1,105 @@ +share/apps/bibletime/printing/bw_muchtext.xml +share/apps/bibletime/printing/standard.xml +@unexec rmdir %D/share/apps/bibletime/printing 2>/dev/null || true +share/apps/bibletime/bibletimeui.rc +share/apps/bibletime/pics/startuplogo.png +@unexec rmdir %D/share/apps/bibletime/pics 2>/dev/null || true +@unexec rmdir %D/share/apps/bibletime 2>/dev/null || true +@unexec rmdir %D/share/apps 2>/dev/null || true +share/icons/hicolor/16x16/actions/bt_bible.png +share/icons/hicolor/16x16/actions/bt_bible_add.png +share/icons/hicolor/16x16/actions/bt_bible_locked.png +share/icons/hicolor/16x16/actions/bt_book.png +share/icons/hicolor/16x16/actions/bt_book_add.png +share/icons/hicolor/16x16/actions/bt_book_locked.png +share/icons/hicolor/16x16/actions/bt_cascade.png +share/icons/hicolor/16x16/actions/bt_cascade_auto.png +share/icons/hicolor/16x16/actions/bt_commentary.png +share/icons/hicolor/16x16/actions/bt_commentary_add.png +share/icons/hicolor/16x16/actions/bt_commentary_locked.png +share/icons/hicolor/16x16/actions/bt_displayconfig.png +share/icons/hicolor/16x16/actions/bt_lexicon.png +share/icons/hicolor/16x16/actions/bt_lexicon_add.png +share/icons/hicolor/16x16/actions/bt_lexicon_locked.png +share/icons/hicolor/16x16/actions/bt_startconfig.png +share/icons/hicolor/16x16/actions/bt_swordconfig.png +share/icons/hicolor/16x16/actions/bt_sync.png +share/icons/hicolor/16x16/actions/bt_tile.png +share/icons/hicolor/16x16/actions/bt_tile_auto.png +@unexec rmdir %D/share/icons/hicolor/16x16/actions 2>/dev/null || true +share/icons/hicolor/16x16/apps/bibletime.png +@unexec rmdir %D/share/icons/hicolor/16x16/apps 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/16x16 2>/dev/null || true +share/icons/hicolor/22x22/actions/bt_bible.png +share/icons/hicolor/22x22/actions/bt_bible_add.png +share/icons/hicolor/22x22/actions/bt_bible_locked.png +share/icons/hicolor/22x22/actions/bt_book.png +share/icons/hicolor/22x22/actions/bt_book_add.png +share/icons/hicolor/22x22/actions/bt_book_locked.png +share/icons/hicolor/22x22/actions/bt_cascade.png +share/icons/hicolor/22x22/actions/bt_cascade_auto.png +share/icons/hicolor/22x22/actions/bt_commentary.png +share/icons/hicolor/22x22/actions/bt_commentary_add.png +share/icons/hicolor/22x22/actions/bt_commentary_locked.png +share/icons/hicolor/22x22/actions/bt_displayconfig.png +share/icons/hicolor/22x22/actions/bt_lexicon.png +share/icons/hicolor/22x22/actions/bt_lexicon_add.png +share/icons/hicolor/22x22/actions/bt_lexicon_locked.png +share/icons/hicolor/22x22/actions/bt_parallel.png +share/icons/hicolor/22x22/actions/bt_startconfig.png +share/icons/hicolor/22x22/actions/bt_sync.png +share/icons/hicolor/22x22/actions/bt_swordconfig.png +share/icons/hicolor/22x22/actions/bt_tile.png +share/icons/hicolor/22x22/actions/bt_tile_auto.png +@unexec rmdir %D/share/icons/hicolor/22x22/actions 2>/dev/null || true +share/icons/hicolor/22x22/apps/bibletime.png +@unexec rmdir %D/share/icons/hicolor/22x22/apps 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/22x22 2>/dev/null || true +share/icons/hicolor/32x32/actions/bt_bible.png +share/icons/hicolor/32x32/actions/bt_bible_add.png +share/icons/hicolor/32x32/actions/bt_book.png +share/icons/hicolor/32x32/actions/bt_book_add.png +share/icons/hicolor/32x32/actions/bt_cascade.png +share/icons/hicolor/32x32/actions/bt_cascade_auto.png +share/icons/hicolor/32x32/actions/bt_commentary.png +share/icons/hicolor/32x32/actions/bt_commentary_add.png +share/icons/hicolor/32x32/actions/bt_displayconfig.png +share/icons/hicolor/32x32/actions/bt_lexicon.png +share/icons/hicolor/32x32/actions/bt_lexicon_add.png +share/icons/hicolor/32x32/actions/bt_startconfig.png +share/icons/hicolor/32x32/actions/bt_swordconfig.png +share/icons/hicolor/32x32/actions/bt_sync.png +share/icons/hicolor/32x32/actions/bt_tile.png +share/icons/hicolor/32x32/actions/bt_tile_auto.png +@unexec rmdir %D/share/icons/hicolor/32x32/actions 2>/dev/null || true +share/icons/hicolor/32x32/apps/bibletime.png +@unexec rmdir %D/share/icons/hicolor/32x32/apps 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/32x32 2>/dev/null || true +share/icons/hicolor/48x48/actions/bt_bible.png +share/icons/hicolor/48x48/actions/bt_bible_add.png +share/icons/hicolor/48x48/actions/bt_book.png +share/icons/hicolor/48x48/actions/bt_book_add.png +share/icons/hicolor/48x48/actions/bt_cascade.png +share/icons/hicolor/48x48/actions/bt_cascade_auto.png +share/icons/hicolor/48x48/actions/bt_commentary.png +share/icons/hicolor/48x48/actions/bt_commentary_add.png +share/icons/hicolor/48x48/actions/bt_displayconfig.png +share/icons/hicolor/48x48/actions/bt_lexicon.png +share/icons/hicolor/48x48/actions/bt_lexicon_add.png +share/icons/hicolor/48x48/actions/bt_startconfig.png +share/icons/hicolor/48x48/actions/bt_swordconfig.png +share/icons/hicolor/48x48/actions/bt_sync.png +share/icons/hicolor/48x48/actions/bt_tile.png +share/icons/hicolor/48x48/actions/bt_tile_auto.png +@unexec rmdir %D/share/icons/hicolor/48x48/actions 2>/dev/null || true +share/icons/hicolor/48x48/apps/bibletime.png +@unexec rmdir %D/share/icons/hicolor/48x48/apps 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/48x48 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor 2>/dev/null || true +@unexec rmdir %D/share/icons 2>/dev/null || true +share/config/bt-printing +@unexec rmdir %D/share/config 2>/dev/null || true +share/applnk/Applications/bibletime.desktop +@unexec rmdir %D/share/applnk/Applications 2>/dev/null || true +@unexec rmdir %D/share/applnk 2>/dev/null || true +bin/bibletime -- cgit v1.2.3