diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-08-17 09:35:02 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-08-17 09:35:02 +0800 |
commit | 9e1db7ebb934d70aeb80f3cb5e2400d6a02d2663 (patch) | |
tree | 44dd3049fa12128b85e45385b066897bf38b5e16 /net | |
parent | c88338683ff8036fac0111fc281d3af362a6d944 (diff) | |
download | marcuscom-ports-9e1db7ebb934d70aeb80f3cb5e2400d6a02d2663.tar marcuscom-ports-9e1db7ebb934d70aeb80f3cb5e2400d6a02d2663.tar.gz marcuscom-ports-9e1db7ebb934d70aeb80f3cb5e2400d6a02d2663.tar.bz2 marcuscom-ports-9e1db7ebb934d70aeb80f3cb5e2400d6a02d2663.tar.lz marcuscom-ports-9e1db7ebb934d70aeb80f3cb5e2400d6a02d2663.tar.xz marcuscom-ports-9e1db7ebb934d70aeb80f3cb5e2400d6a02d2663.tar.zst marcuscom-ports-9e1db7ebb934d70aeb80f3cb5e2400d6a02d2663.zip |
-Add gnomehier.
-USE_X_PREFIX -> USE_XLIB.
-Bump the PORTREVISION.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7066 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'net')
-rw-r--r-- | net/straw/Makefile | 47 | ||||
-rw-r--r-- | net/straw/distinfo | 3 | ||||
-rw-r--r-- | net/straw/files/patch-setup.py | 30 | ||||
-rw-r--r-- | net/straw/files/patch-src::lib::Config.py | 11 | ||||
-rw-r--r-- | net/straw/files/patch-src::lib::LookupManager.py | 14 | ||||
-rw-r--r-- | net/straw/files/patch-src::lib::utils.py | 11 | ||||
-rw-r--r-- | net/straw/files/patch-src::straw | 18 | ||||
-rw-r--r-- | net/straw/pkg-descr | 5 | ||||
-rw-r--r-- | net/straw/pkg-message | 6 | ||||
-rw-r--r-- | net/straw/pkg-plist | 151 |
10 files changed, 296 insertions, 0 deletions
diff --git a/net/straw/Makefile b/net/straw/Makefile new file mode 100644 index 000000000..1cca7d453 --- /dev/null +++ b/net/straw/Makefile @@ -0,0 +1,47 @@ +# New ports collection makefile for: straw +# Date created: 06 March 2003 +# Whom: Mezz <mezz7@cox.net> +# +# $FreeBSD$ +# + +PORTNAME= straw +PORTVERSION= 0.25.1 +PORTREVISION= 6 +CATEGORIES= net gnome +MASTER_SITES= ${MASTER_SITE_SAVANNAH} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= ports@FreeBSD.org +COMMENT= A GNOME 2 desktop weblog aggregator written in Python + +USE_GMAKE= yes +USE_XLIB= yes +USE_GNOME= gnomehier libglade2 pygnome2 pygnomeextras +USE_PYTHON= yes +USE_PYDISTUTILS= yes +PYDISTUTILS_INSTALLARGS= -c -O1 --prefix=${PREFIX} \ + --install-lib=${PREFIX}/share/gnome \ + --with-desktop-file-dir=share/gnome/applications + +GCONF_SCHEMAS= straw.schemas + +.include <bsd.port.pre.mk> + +# pybsddb ships with python 2.3 +.if ${PYTHON_REL} < 230 +BUILD_DEPENDS+= ${PYTHON_SITELIBDIR}/_bsddb.so:${PORTSDIR}/databases/py-bsddb3 +RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/_bsddb.so:${PORTSDIR}/databases/py-bsddb3 +.else +BUILD_DEPENDS+= ${PYTHON_SITELIBDIR}/_bsddb.so:${PORTSDIR}/databases/py-bsddb +RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/_bsddb.so:${PORTSDIR}/databases/py-bsddb +.endif + +post-patch: + @${REINPLACE_CMD} -e 's|%%PYTHON_SITELIBDIR%%|${PYTHON_SITELIBDIR}|g' \ + ${WRKSRC}/src/straw + +post-install: + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.post.mk> diff --git a/net/straw/distinfo b/net/straw/distinfo new file mode 100644 index 000000000..9051364a4 --- /dev/null +++ b/net/straw/distinfo @@ -0,0 +1,3 @@ +MD5 (straw-0.25.1.tar.gz) = 058a58e945e37cc264c562f5ca4ff781 +SHA256 (straw-0.25.1.tar.gz) = b4274ced139388c577d88c2b3175915bee203e14bca99b065a7f3b1bebae5998 +SIZE (straw-0.25.1.tar.gz) = 238215 diff --git a/net/straw/files/patch-setup.py b/net/straw/files/patch-setup.py new file mode 100644 index 000000000..29e044a51 --- /dev/null +++ b/net/straw/files/patch-setup.py @@ -0,0 +1,30 @@ +--- setup.py.orig Thu Jul 15 15:15:58 2004 ++++ setup.py Sun Dec 19 23:29:18 2004 +@@ -108,8 +108,8 @@ + '''Build list of data files to be installed''' + images = glob.glob('images/*.png') + files = [ +- ('share/pixmaps', ['images/straw.png']), +- ('share/straw', images + ['data/default_subscriptions.opml', 'data/straw.css', 'glade/straw.glade'])] ++ ('share/gnome/pixmaps', ['images/straw.png']), ++ ('share/gnome/straw', images + ['data/default_subscriptions.opml', 'data/straw.css', 'glade/straw.glade'])] + return files + + long_desc = '''\ +@@ -134,13 +134,12 @@ + data_files = data_files(), + pot_file = 'po/straw.pot', + translations = translations(), +- #config_files = [('gconf/schemas',['data/straw.schemas'], +- # 'with-gconf-schema-file-dir')], ++ config_files = [('gconf/schemas',['data/straw.schemas'], ++ 'with-gconf-schema-file-dir')], + scripts = ['src/straw'], +- modules_check = modules_check, + packages = ['straw'], + package_dir = {'straw' : 'src/lib'}, +- msg_sources = translation_files(), ++ msg_sources = ['glade/strings.c'] + glob.glob('src/lib/*.py'), + desktop_file = ['straw.desktop.in'], + ext_modules = [TemplateExtension(name='trayicon', + pkc_name='pygtk-2.0 gtk+-2.0', diff --git a/net/straw/files/patch-src::lib::Config.py b/net/straw/files/patch-src::lib::Config.py new file mode 100644 index 000000000..a5c3debd0 --- /dev/null +++ b/net/straw/files/patch-src::lib::Config.py @@ -0,0 +1,11 @@ +--- src/lib/Config.py.orig Tue Aug 24 02:19:12 2004 ++++ src/lib/Config.py Tue Aug 24 02:20:06 2004 +@@ -369,6 +369,8 @@ + last_poll = property(get_last_poll, set_last_poll, doc="Last polled") + + def get_number_of_items_stored(self): ++ if self._items_stored == 0: ++ return 30 + return self._items_stored + + def set_number_of_items_stored(self, num=30): diff --git a/net/straw/files/patch-src::lib::LookupManager.py b/net/straw/files/patch-src::lib::LookupManager.py new file mode 100644 index 000000000..abcb576da --- /dev/null +++ b/net/straw/files/patch-src::lib::LookupManager.py @@ -0,0 +1,14 @@ +--- src/lib/LookupManager.py.orig Thu Jul 15 15:15:58 2004 ++++ src/lib/LookupManager.py Mon Aug 16 22:20:25 2004 +@@ -5,9 +5,9 @@ + import Config + try: + import adns, ADNS +- _have_adns = True ++ _have_adns = False + except ImportError: +- error.log("No ADNS library found, using synchronous name lookups.") ++# error.log("No ADNS library found, using synchronous name lookups.") + _have_adns = False + + MAX_TIMES = 3 diff --git a/net/straw/files/patch-src::lib::utils.py b/net/straw/files/patch-src::lib::utils.py new file mode 100644 index 000000000..b3eb80979 --- /dev/null +++ b/net/straw/files/patch-src::lib::utils.py @@ -0,0 +1,11 @@ +--- src/lib/utils.py.orig Thu Jul 15 15:15:58 2004 ++++ src/lib/utils.py Mon Aug 16 22:26:08 2004 +@@ -162,7 +162,7 @@ + return os.environ["STRAW_DATA"] + h, t = os.path.split(os.path.split(os.path.abspath(sys.argv[0]))[0]) + if t == 'bin': +- fp = os.path.join(h, 'share', 'straw') ++ fp = os.path.join(h, 'share', 'gnome', 'straw') + if os.path.isdir(fp): + return fp + fp = os.path.join(h, 'lib', 'straw') diff --git a/net/straw/files/patch-src::straw b/net/straw/files/patch-src::straw new file mode 100644 index 000000000..4c0883465 --- /dev/null +++ b/net/straw/files/patch-src::straw @@ -0,0 +1,18 @@ +--- src/straw.orig Tue Feb 17 13:37:00 2004 ++++ src/straw Tue Feb 17 13:37:50 2004 +@@ -20,13 +20,14 @@ + return sd + h, t = os.path.split(os.path.split(os.path.abspath(sys.argv[0]))[0]) + if t == 'bin': +- libdir = os.path.join(h, 'lib') ++ libdir = os.path.join(h, 'share', 'gnome') + fp = os.path.join(libdir, 'straw') + if os.path.isdir(fp): + return libdir + raise "FileNotFoundError", "couldn't find straw library dir" + + sys.path.insert(0, find_straw_lib()) ++sys.path.insert(0, '%%PYTHON_SITELIBDIR%%') + + import straw + diff --git a/net/straw/pkg-descr b/net/straw/pkg-descr new file mode 100644 index 000000000..bdfd05c7d --- /dev/null +++ b/net/straw/pkg-descr @@ -0,0 +1,5 @@ +Straw is a desktop news aggregator for the GNOME environment. Its aim is to be a +faster, easier and more accessible way to read news and blogs than the +traditional browser. + +WWW: http://www.nongnu.org/straw/ diff --git a/net/straw/pkg-message b/net/straw/pkg-message new file mode 100644 index 000000000..b887178e1 --- /dev/null +++ b/net/straw/pkg-message @@ -0,0 +1,6 @@ +## +The ADNS feature has been disabled, because it will never work on FreeBSD. +There has a different function that will do the lookup without ADNS, although +ADNS should be more smoother. The problem with ADNS is possible has to do with +the thread safe or something else. +## diff --git a/net/straw/pkg-plist b/net/straw/pkg-plist new file mode 100644 index 000000000..930d800d1 --- /dev/null +++ b/net/straw/pkg-plist @@ -0,0 +1,151 @@ +bin/straw +share/gnome/applications/straw.desktop +share/gnome/pixmaps/straw.png +share/gnome/straw/Config.py +share/gnome/straw/Config.pyc +share/gnome/straw/Config.pyo +share/gnome/straw/DashboardFrontend.py +share/gnome/straw/DashboardFrontend.pyc +share/gnome/straw/DashboardFrontend.pyo +share/gnome/straw/Event.py +share/gnome/straw/Event.pyc +share/gnome/straw/Event.pyo +share/gnome/straw/Feed.py +share/gnome/straw/Feed.pyc +share/gnome/straw/Feed.pyo +share/gnome/straw/FeedCategoryList.py +share/gnome/straw/FeedCategoryList.pyc +share/gnome/straw/FeedCategoryList.pyo +share/gnome/straw/FeedDataRouter.py +share/gnome/straw/FeedDataRouter.pyc +share/gnome/straw/FeedDataRouter.pyo +share/gnome/straw/FeedItems.py +share/gnome/straw/FeedItems.pyc +share/gnome/straw/FeedItems.pyo +share/gnome/straw/FeedList.py +share/gnome/straw/FeedList.pyc +share/gnome/straw/FeedList.pyo +share/gnome/straw/FeedPropertiesDialog.py +share/gnome/straw/FeedPropertiesDialog.pyc +share/gnome/straw/FeedPropertiesDialog.pyo +share/gnome/straw/FindDialog.py +share/gnome/straw/FindDialog.pyc +share/gnome/straw/FindDialog.pyo +share/gnome/straw/ImageCache.py +share/gnome/straw/ImageCache.pyc +share/gnome/straw/ImageCache.pyo +share/gnome/straw/ItemStore.py +share/gnome/straw/ItemStore.pyc +share/gnome/straw/ItemStore.pyo +share/gnome/straw/LookupManager.py +share/gnome/straw/LookupManager.pyc +share/gnome/straw/LookupManager.pyo +share/gnome/straw/MVP.py +share/gnome/straw/MVP.pyc +share/gnome/straw/MVP.pyo +share/gnome/straw/Main.py +share/gnome/straw/Main.pyc +share/gnome/straw/Main.pyo +share/gnome/straw/MainWindow.py +share/gnome/straw/MainWindow.pyc +share/gnome/straw/MainWindow.pyo +share/gnome/straw/MainloopManager.py +share/gnome/straw/MainloopManager.pyc +share/gnome/straw/MainloopManager.pyo +share/gnome/straw/MessageManager.py +share/gnome/straw/MessageManager.pyc +share/gnome/straw/MessageManager.pyo +share/gnome/straw/NetworkConstants.py +share/gnome/straw/NetworkConstants.pyc +share/gnome/straw/NetworkConstants.pyo +share/gnome/straw/OPML.py +share/gnome/straw/OPML.pyc +share/gnome/straw/OPML.pyo +share/gnome/straw/OPMLExport.py +share/gnome/straw/OPMLExport.pyc +share/gnome/straw/OPMLExport.pyo +share/gnome/straw/OPMLImport.py +share/gnome/straw/OPMLImport.pyc +share/gnome/straw/OPMLImport.pyo +share/gnome/straw/ParsedSummary.py +share/gnome/straw/ParsedSummary.pyc +share/gnome/straw/ParsedSummary.pyo +share/gnome/straw/PollManager.py +share/gnome/straw/PollManager.pyc +share/gnome/straw/PollManager.pyo +share/gnome/straw/PreferencesDialog.py +share/gnome/straw/PreferencesDialog.pyc +share/gnome/straw/PreferencesDialog.pyo +share/gnome/straw/QueueDict.py +share/gnome/straw/QueueDict.pyc +share/gnome/straw/QueueDict.pyo +share/gnome/straw/SubscribeDialog.py +share/gnome/straw/SubscribeDialog.pyc +share/gnome/straw/SubscribeDialog.pyo +share/gnome/straw/SummaryItem.py +share/gnome/straw/SummaryItem.pyc +share/gnome/straw/SummaryItem.pyo +share/gnome/straw/SummaryParser.py +share/gnome/straw/SummaryParser.pyc +share/gnome/straw/SummaryParser.pyo +share/gnome/straw/Tray.py +share/gnome/straw/Tray.pyc +share/gnome/straw/Tray.pyo +share/gnome/straw/URLFetch.py +share/gnome/straw/URLFetch.pyc +share/gnome/straw/URLFetch.pyo +share/gnome/straw/ValueMonitor.py +share/gnome/straw/ValueMonitor.pyc +share/gnome/straw/ValueMonitor.pyo +share/gnome/straw/__init__.py +share/gnome/straw/__init__.pyc +share/gnome/straw/__init__.pyo +share/gnome/straw/dashboard.py +share/gnome/straw/dashboard.pyc +share/gnome/straw/dashboard.pyo +share/gnome/straw/default_subscriptions.opml +share/gnome/straw/error.py +share/gnome/straw/error.pyc +share/gnome/straw/error.pyo +share/gnome/straw/feedfinder.py +share/gnome/straw/feedfinder.pyc +share/gnome/straw/feedfinder.pyo +share/gnome/straw/feedparser.py +share/gnome/straw/feedparser.pyc +share/gnome/straw/feedparser.pyo +share/gnome/straw/file_selector.py +share/gnome/straw/file_selector.pyc +share/gnome/straw/file_selector.pyo +share/gnome/straw/hig_alert.py +share/gnome/straw/hig_alert.pyc +share/gnome/straw/hig_alert.pyo +share/gnome/straw/httplib_async.py +share/gnome/straw/httplib_async.pyc +share/gnome/straw/httplib_async.pyo +share/gnome/straw/image-broken.png +share/gnome/straw/image-waiting.png +share/gnome/straw/offline.png +share/gnome/straw/online.png +share/gnome/straw/pytrayicon.so +share/gnome/straw/straw.css +share/gnome/straw/straw.glade +share/gnome/straw/straw.png +share/gnome/straw/utils.py +share/gnome/straw/utils.pyc +share/gnome/straw/utils.pyo +share/locale/cs/LC_MESSAGES/straw.mo +share/locale/de/LC_MESSAGES/straw.mo +share/locale/en_CA/LC_MESSAGES/straw.mo +share/locale/en_GB/LC_MESSAGES/straw.mo +share/locale/es/LC_MESSAGES/straw.mo +share/locale/fi/LC_MESSAGES/straw.mo +share/locale/fr/LC_MESSAGES/straw.mo +share/locale/nl/LC_MESSAGES/straw.mo +share/locale/no/LC_MESSAGES/straw.mo +share/locale/pt/LC_MESSAGES/straw.mo +share/locale/pt_BR/LC_MESSAGES/straw.mo +share/locale/ru/LC_MESSAGES/straw.mo +share/locale/sr/LC_MESSAGES/straw.mo +share/locale/sr@Latn/LC_MESSAGES/straw.mo +share/locale/sv/LC_MESSAGES/straw.mo +@dirrm share/gnome/straw |