diff options
author | Thomas Abthorpe <tabthorpe@FreeBSD.org> | 2012-02-22 18:36:32 +0000 |
---|---|---|
committer | Thomas Abthorpe <tabthorpe@FreeBSD.org> | 2012-02-22 18:36:32 +0000 |
commit | ccaa209dfadfaf49bb56447d08f44b7c9fe48913 (patch) | |
tree | d8d58a3d3aba0f86866d2cdd41a56c8254eacca1 /misc/xiphos | |
parent | 206d7d84bd710c7f3ee1e7dfae901c9a3cd41154 (diff) | |
download | ports-ccaa209dfadfaf49bb56447d08f44b7c9fe48913.tar.gz ports-ccaa209dfadfaf49bb56447d08f44b7c9fe48913.zip |
Notes
Diffstat (limited to 'misc/xiphos')
-rw-r--r-- | misc/xiphos/Makefile | 9 | ||||
-rw-r--r-- | misc/xiphos/distinfo | 4 | ||||
-rw-r--r-- | misc/xiphos/files/patch-src__gnome2__utilities.c | 12 | ||||
-rw-r--r-- | misc/xiphos/files/patch-src__main__display.cc | 73 | ||||
-rw-r--r-- | misc/xiphos/files/patch-waffles__gnome.py | 11 | ||||
-rw-r--r-- | misc/xiphos/pkg-plist | 78 |
6 files changed, 118 insertions, 69 deletions
diff --git a/misc/xiphos/Makefile b/misc/xiphos/Makefile index 416be59be169..e3d951b0fce6 100644 --- a/misc/xiphos/Makefile +++ b/misc/xiphos/Makefile @@ -6,8 +6,7 @@ # PORTNAME= xiphos -PORTVERSION= 3.1.4 -PORTREVISION= 2 +PORTVERSION= 3.1.5 CATEGORIES= misc gnome MASTER_SITES= SF/gnomesword/Xiphos/${PORTVERSION} @@ -26,12 +25,12 @@ USE_PYTHON_BUILD= yes USE_GETTEXT= yes INSTALLS_OMF= yes INSTALLS_ICONS= yes -USE_GNOME= gnomehack gnomeprefix gtkhtml3 \ - intlhack libgsf +USE_GNOME= gnomehack gnomeprefix gtkhtml3 intlhack libgsf do-configure: @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./waf configure \ - --prefix=${PREFIX} --enable-gtkhtml --debug-level=optimized + --prefix=${PREFIX} --destdir=${PREFIX} \ + --backend gtkhtml --gtk=2 do-build: @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./waf build diff --git a/misc/xiphos/distinfo b/misc/xiphos/distinfo index 0e4fbf86b6ec..41a05dbb440b 100644 --- a/misc/xiphos/distinfo +++ b/misc/xiphos/distinfo @@ -1,2 +1,2 @@ -SHA256 (xiphos-3.1.4.tar.gz) = 4a585459e15458509d6a6e4e71a8c8739f8ab27ca913c846bc2a903763103687 -SIZE (xiphos-3.1.4.tar.gz) = 6473885 +SHA256 (xiphos-3.1.5.tar.gz) = db7a937b830628baae083143cf898772c097463705eeb4cf7238e2dbb5061179 +SIZE (xiphos-3.1.5.tar.gz) = 6720373 diff --git a/misc/xiphos/files/patch-src__gnome2__utilities.c b/misc/xiphos/files/patch-src__gnome2__utilities.c deleted file mode 100644 index 7db06dd03d84..000000000000 --- a/misc/xiphos/files/patch-src__gnome2__utilities.c +++ /dev/null @@ -1,12 +0,0 @@ ---- ./src/gnome2/utilities.c.orig 2010-10-21 11:08:39.000000000 -0400 -+++ ./src/gnome2/utilities.c 2010-10-21 11:10:46.000000000 -0400 -@@ -1934,7 +1934,9 @@ - - #define IMGSRC_STRING "<img src=\"" - #define IMGSRC_LENGTH 10 // strlen(IMGSRC_STRING) -+#ifndef HAVE_STRCASESTR - const char *strcasestr(const char *haystack, const char *needle); -+#endif - - const char * - AnalyzeForImageSize(const char *origtext, diff --git a/misc/xiphos/files/patch-src__main__display.cc b/misc/xiphos/files/patch-src__main__display.cc new file mode 100644 index 000000000000..486fd2d5a714 --- /dev/null +++ b/misc/xiphos/files/patch-src__main__display.cc @@ -0,0 +1,73 @@ +--- ./src/main/display.cc.orig 2012-02-20 17:02:30.000000000 -0500 ++++ ./src/main/display.cc 2012-02-21 00:40:06.000000000 -0500 +@@ -29,12 +29,6 @@ + #include <thmlhtmlhref.h> + #include <gbfhtmlhref.h> + #include <teihtmlhref.h> +-#ifndef NO_SWORD_SET_RENDER_NOTE_NUMBERS +-/* these files are erroneously uninstalled as of previous release */ +-#include <osisxhtml.h> +-#include <thmlxhtml.h> +-#include <gbfxhtml.h> +-#endif + + #include <osisvariants.h> + #include <thmlvariants.h> +@@ -650,7 +644,6 @@ + if ((reported = backend->get_entry_attribute("Footnote", "1", "n", false))) { + g_free(reported); // dispose of test junk. + +-#ifdef NO_SWORD_SET_RENDER_NOTE_NUMBERS + // + // with recent engine change to auto-render + // note/xref markers, this is unneeded. +@@ -689,7 +682,6 @@ + // naïveté: if any verse uses 'n=', all do: reset for next verse. + if (reset) + footnote = 0; +-#endif /* NO_SWORD_SET_RENDER_NOTE_NUMBERS */ + } + + // otherwise we simply count notes & xrefs through the verse. +@@ -762,41 +754,8 @@ + } + } + +-#ifdef NO_SWORD_SET_RENDER_NOTE_NUMBERS + // placeholder for older Sword. + #define set_render_numbers(x,y) /* nothing */ +-#else +-void +-set_render_numbers(SWModule& imodule, GLOBAL_OPS *ops) +-{ +- for (FilterList::const_iterator it = +- imodule.getRenderFilters().begin(); +- it != imodule.getRenderFilters().end(); +- it++) { +- OSISHTMLHREF *f1 = dynamic_cast<OSISHTMLHREF *>(*it); +- if (f1) +- f1->setRenderNoteNumbers((ops->xrefnotenumbers != 0)); +- ThMLHTMLHREF *f2 = dynamic_cast<ThMLHTMLHREF *>(*it); +- if (f2) +- f2->setRenderNoteNumbers((ops->xrefnotenumbers != 0)); +- GBFHTMLHREF *f3 = dynamic_cast<GBFHTMLHREF *>(*it); +- if (f3) +- f3->setRenderNoteNumbers((ops->xrefnotenumbers != 0)); +- TEIHTMLHREF *f4 = dynamic_cast<TEIHTMLHREF *>(*it); +- if (f4) +- f4->setRenderNoteNumbers((ops->xrefnotenumbers != 0)); +- OSISXHTML *f5 = dynamic_cast<OSISXHTML *>(*it); +- if (f5) +- f5->setRenderNoteNumbers((ops->xrefnotenumbers != 0)); +- ThMLXHTML *f6 = dynamic_cast<ThMLXHTML *>(*it); +- if (f6) +- f6->setRenderNoteNumbers((ops->xrefnotenumbers != 0)); +- GBFXHTML *f7 = dynamic_cast<GBFXHTML *>(*it); +- if (f7) +- f7->setRenderNoteNumbers((ops->xrefnotenumbers != 0)); +- } +-} +-#endif /* !NO_SWORD_SET_RENDER_NOTE_NUMBERS */ + + // + // display of commentary by chapter. diff --git a/misc/xiphos/files/patch-waffles__gnome.py b/misc/xiphos/files/patch-waffles__gnome.py deleted file mode 100644 index dd21da59ea11..000000000000 --- a/misc/xiphos/files/patch-waffles__gnome.py +++ /dev/null @@ -1,11 +0,0 @@ ---- ./waffles/gnome.py.orig 2010-10-15 17:32:41.000000000 -0400 -+++ ./waffles/gnome.py 2010-10-21 11:00:42.000000000 -0400 -@@ -216,7 +216,7 @@ - xsltproc2po = conf.find_program('xsltproc', var='XSLTPROC2PO') - conf.env['XML2POFLAGS'] = '-e -p' - conf.env['SCROLLKEEPER_DATADIR'] = Utils.cmd_output("scrollkeeper-config --pkgdatadir", silent=1).strip() -- conf.env['DB2OMF'] = Utils.cmd_output("/usr/bin/pkg-config --variable db2omf gnome-doc-utils", silent=1).strip() -+ conf.env['DB2OMF'] = Utils.cmd_output("pkg-config --variable db2omf gnome-doc-utils", silent=1).strip() - - def set_options(opt): - opt.add_option('--want-rpath', type='int', default=1, dest='want_rpath', help='set rpath to 1 or 0 [Default 1]') diff --git a/misc/xiphos/pkg-plist b/misc/xiphos/pkg-plist index 6ab04ac94074..76afdd2dbb3a 100644 --- a/misc/xiphos/pkg-plist +++ b/misc/xiphos/pkg-plist @@ -1,4 +1,5 @@ bin/xiphos +bin/xiphos-nav share/applications/xiphos.desktop %%DOCSDIR%%/AUTHORS %%DOCSDIR%%/COPYING @@ -120,7 +121,6 @@ share/gnome/help/xiphos/fr/figures/sword_install.png share/gnome/help/xiphos/fr/figures/sword_remove.png share/gnome/help/xiphos/fr/figures/sword_sources.png share/gnome/help/xiphos/fr/xiphos.xml -bin/xiphos-nav share/icons/hicolor/icon-theme.cache share/icons/hicolor/scalable/apps/xiphos.svg share/locale/ar/LC_MESSAGES/xiphos.mo @@ -153,73 +153,73 @@ share/locale/zh_TW/LC_MESSAGES/xiphos.mo share/omf/xiphos/xiphos-C.omf share/omf/xiphos/xiphos-fa.omf share/omf/xiphos/xiphos-fr.omf -share/pixmaps/xiphos/about.png -share/pixmaps/xiphos/book_closed.png -share/pixmaps/xiphos/book_closed_rtol.png -share/pixmaps/xiphos/book_open.png -share/pixmaps/xiphos/book_open_rtol.png -share/pixmaps/xiphos/chat_icon-16.png -share/pixmaps/xiphos/dlg-un-16.png -share/pixmaps/xiphos/dlg-un.png -share/pixmaps/xiphos/epiphany-bookmark-page.png -share/pixmaps/xiphos/epiphany-bookmarks.png -share/pixmaps/xiphos/epiphany-secure.png -share/pixmaps/xiphos/epiphany-unsecure.png -share/pixmaps/xiphos/gnome-session.png -share/pixmaps/xiphos/gnome-window-manager.png -share/pixmaps/xiphos/gnome-windows.png -share/pixmaps/xiphos/gs2-48x48-old.ico -share/pixmaps/xiphos/gs2-48x48-old.png -share/pixmaps/xiphos/gs2-48x48.ico -share/pixmaps/xiphos/gs2-48x48.png -share/pixmaps/xiphos/gs2.xpm -share/pixmaps/xiphos/indexed-16.png -share/pixmaps/xiphos/indexed.png -share/pixmaps/xiphos/init-settings.png -share/pixmaps/xiphos/logo.png -share/pixmaps/xiphos/mailing_list_icon-16.png -share/pixmaps/xiphos/mozilla-icon.png -share/pixmaps/xiphos/new_tab_button.png -share/pixmaps/xiphos/silk-edit-bookmarks.png -share/pixmaps/xiphos/splash.png -share/pixmaps/xiphos/sword-big.png -share/pixmaps/xiphos/sword.png -share/pixmaps/xiphos/sword_icon-16.png -share/pixmaps/xiphos/translation_icon-16.png -share/pixmaps/xiphos/tt.png -share/pixmaps/xiphos/window-close.png -share/pixmaps/xiphos/xiphos-button-125.png -share/pixmaps/xiphos/xiphos-x-16.png -share/pixmaps/xiphos/xiphos.xpm +%%DATADIR%%/about.png %%DATADIR%%/arrow_down.png %%DATADIR%%/arrow_down_box.png %%DATADIR%%/arrow_up.png %%DATADIR%%/arrow_up_box.png +%%DATADIR%%/book_closed.png +%%DATADIR%%/book_closed_rtol.png +%%DATADIR%%/book_open.png +%%DATADIR%%/book_open_rtol.png %%DATADIR%%/bookmarks.glade +%%DATADIR%%/bookmarks.gtkbuilder %%DATADIR%%/chat_icon-16.png %%DATADIR%%/dlg-un-16.png +%%DATADIR%%/dlg-un.png %%DATADIR%%/editor_link_dialog.xml %%DATADIR%%/editor_note.xml %%DATADIR%%/editor_studypad.xml +%%DATADIR%%/epiphany-bookmark-page.png %%DATADIR%%/epiphany-bookmarks.png +%%DATADIR%%/epiphany-secure.png +%%DATADIR%%/epiphany-unsecure.png %%DATADIR%%/export-dialog.glade +%%DATADIR%%/export-dialog.gtkbuilder +%%DATADIR%%/gnome-session.png %%DATADIR%%/gnome-sound-properties.png +%%DATADIR%%/gnome-window-manager.png +%%DATADIR%%/gnome-windows.png +%%DATADIR%%/gs2-48x48-old.ico +%%DATADIR%%/gs2-48x48-old.png +%%DATADIR%%/gs2-48x48.ico +%%DATADIR%%/gs2-48x48.png +%%DATADIR%%/gs2.xpm +%%DATADIR%%/indexed-16.png +%%DATADIR%%/indexed.png +%%DATADIR%%/init-settings.png %%DATADIR%%/languages %%DATADIR%%/logo.png %%DATADIR%%/mailing_list_icon-16.png %%DATADIR%%/markverse.glade +%%DATADIR%%/markverse.gtkbuilder %%DATADIR%%/module-manager.glade +%%DATADIR%%/module-manager.gtkbuilder +%%DATADIR%%/mozilla-icon.png %%DATADIR%%/navbar_versekey.glade +%%DATADIR%%/navbar_versekey.gtkbuilder %%DATADIR%%/new_tab_button.png %%DATADIR%%/prefs.glade +%%DATADIR%%/prefs.gtkbuilder %%DATADIR%%/search-dialog.glade +%%DATADIR%%/search-dialog.gtkbuilder %%DATADIR%%/silk-edit-bookmarks.png +%%DATADIR%%/splash.png +%%DATADIR%%/sword-big.png +%%DATADIR%%/sword.png %%DATADIR%%/sword3.png %%DATADIR%%/sword_icon-16.png %%DATADIR%%/translation_icon-16.png +%%DATADIR%%/tt.png +%%DATADIR%%/window-close.png %%DATADIR%%/xi-export-bookmarks.glade +%%DATADIR%%/xi-menus-popup.gtkbuilder %%DATADIR%%/xi-menus.glade +%%DATADIR%%/xi-menus.gtkbuilder +%%DATADIR%%/xi-splash.ui +%%DATADIR%%/xiphos-button-125.png %%DATADIR%%/xiphos-x-16.png +%%DATADIR%%/xiphos.xpm @dirrm %%DATADIR%% @dirrm share/pixmaps/xiphos @dirrm share/omf/xiphos |