From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Feb 17 12:40:10 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BDCA516A4CF for ; Tue, 17 Feb 2004 12:40:10 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B4EDC43D1D for ; Tue, 17 Feb 2004 12:40:10 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i1HKeAbv050834 for ; Tue, 17 Feb 2004 12:40:10 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i1HKeA75050833; Tue, 17 Feb 2004 12:40:10 -0800 (PST) (envelope-from gnats) Date: Tue, 17 Feb 2004 12:40:10 -0800 (PST) Message-Id: <200402172040.i1HKeA75050833@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Jeremy Messenger Subject: Re: ports/62978: Maintainer update: net/straw 0.21.1 -> 0.22 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Jeremy Messenger List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Feb 2004 20:40:10 -0000 The following reply was made to PR ports/62978; it has been noted by GNATS. From: Jeremy Messenger To: freebsd-gnats-submit@FreeBSD.org, mezz7@cox.net Cc: Subject: Re: ports/62978: Maintainer update: net/straw 0.21.1 -> 0.22 Date: Tue, 17 Feb 2004 14:32:24 -0600 ------------ZuwL6RcteEs2q2248TDqdg Content-Type: text/plain; format=flowed; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Whoops, forgot about that py-gnome2 is now in the new bsd.gnome.mk so attaching correct one. Cheers, Mezz -- bsdforums.org 's moderator, mezz. ------------ZuwL6RcteEs2q2248TDqdg Content-Disposition: attachment; filename=straw.diff Content-Type: text/plain; name=straw.diff Content-Transfer-Encoding: 8bit diff -urN straw.orig/Makefile straw/Makefile --- straw.orig/Makefile Tue Feb 3 23:08:22 2004 +++ straw/Makefile Tue Feb 17 14:30:22 2004 @@ -6,27 +6,25 @@ # PORTNAME= straw -PORTVERSION= 0.21.1 -PORTREVISION= 3 +PORTVERSION= 0.22 CATEGORIES= net gnome -#MASTER_SITES= ${MASTER_SITE_SAVANNAH} -#MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTNAME}.pkg/${PORTVERSION}/ -MASTER_SITES= ${MASTER_SITE_LOCAL} -MASTER_SITE_SUBDIR= adamw +MASTER_SITES= ${MASTER_SITE_SAVANNAH} +MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= mezz7@cox.net COMMENT= A GNOME 2 desktop weblog aggregator written in Python -RUN_DEPENDS= ${PYXML} \ - ${PYTHON_SITELIBDIR}/mx/DateTime/mxDateTime/__init__.py:${PORTSDIR}/lang/py-mx-base \ - ${PYTHON_SITELIBDIR}/gtk-2.0/gnome/__init__.py:${PORTSDIR}/x11-toolkits/py-gnome2 +RUN_DEPENDS= ${PYTHON_SITELIBDIR}/mx/DateTime/mxDateTime/__init__.py:${PORTSDIR}/lang/py-mx-base USE_BZIP2= yes USE_GMAKE= yes -USE_PYTHON= yes USE_X_PREFIX= yes USE_REINPLACE= yes -USE_GNOME= libglade2 +USE_GNOME= libglade2 py-gnome2 +USE_PYTHON= yes +USE_PYDISTUTILS= yes +PYDISTUTILS_INSTALLARGS= -c -O1 --prefix=${PREFIX} \ + --install-lib=${PREFIX}/share/gnome .include @@ -38,9 +36,8 @@ .endif post-patch: - @${REINPLACE_CMD} -e 's|%%X11PREFIX%%|${PREFIX}|g ; \ - s|%%PYTHON_SITELIBDIR%%|${PYTHON_SITELIBDIR}|g' \ - ${WRKSRC}/Makefile ${WRKSRC}/src/straw + @${REINPLACE_CMD} -e 's|%%PYTHON_SITELIBDIR%%|${PYTHON_SITELIBDIR}|g' \ + ${WRKSRC}/src/straw post-install: @${CAT} ${PKGMESSAGE} diff -urN straw.orig/distinfo straw/distinfo --- straw.orig/distinfo Sat Jan 31 03:47:57 2004 +++ straw/distinfo Tue Feb 17 13:25:53 2004 @@ -1,2 +1,2 @@ -MD5 (straw-0.21.1.tar.bz2) = 504c2614d0a09ae8d484ad1568881b32 -SIZE (straw-0.21.1.tar.bz2) = 108009 +MD5 (straw-0.22.tar.bz2) = 8cdd2ad3c6d8f4e120eae003831152a0 +SIZE (straw-0.22.tar.bz2) = 138825 diff -urN straw.orig/files/patch-Makefile straw/files/patch-Makefile --- straw.orig/files/patch-Makefile Fri Nov 14 13:25:02 2003 +++ straw/files/patch-Makefile Wed Dec 31 18:00:00 1969 @@ -1,61 +0,0 @@ ---- Makefile.orig Thu Nov 13 21:53:33 2003 -+++ Makefile Thu Nov 13 21:57:07 2003 -@@ -1,4 +1,4 @@ --PYTHON ?= python2.2 -+PYTHON ?= python - INSTALL ?= install - RM ?= rm - MSGFMT ?= msgfmt -@@ -6,16 +6,16 @@ - XGETTEXT ?= xgettext - FIND ?= find - --#PREFIX = /usr/local -+PREFIX = %%X11PREFIX%% - # autodetect GNOME prefix, change this if you want it elsewhere --PREFIX ?= `pkg-config libgnome-2.0 --variable=prefix || echo /usr/local` -+#PREFIX ?= `pkg-config libgnome-2.0 --variable=prefix || echo /usr/local` - - # If you edited PYTHON above, edit this to the corresponding python lib dir --LIBDIR = $(PREFIX)/lib/python2.2/site-packages/straw -+LIBDIR = $(PREFIX)/share/gnome/straw - BINDIR = $(PREFIX)/bin --DATADIR = $(PREFIX)/share/straw --APPLICATIONSDIR = $(PREFIX)/share/applications --ICONDIR = $(PREFIX)/share/pixmaps -+DATADIR = $(PREFIX)/share/gnome/straw -+APPLICATIONSDIR = $(PREFIX)/share/gnome/applications -+ICONDIR = $(PREFIX)/share/gnome/pixmaps - LOCALEDIR = $(PREFIX)/share/locale - # change this to just "/etc" if you're installing in /usr - SYSCONFDIR = $(PREFIX)/etc -@@ -27,9 +27,9 @@ - schema_DATA = data/straw.schemas - # modify this if you're running your own build environment (garnome/jhbuild) - # change it to "xml://path/to/gnome_build_env/etc/gconf/gconf.xml.defaults" --GCONF_SCHEMA_CONFIG_SOURCE = xml::/etc/gconf/gconf.xml.defaults -+GCONF_SCHEMA_CONFIG_SOURCE = xml::$(SYSCONFDIR)/gconf/gconf.xml.defaults - GCONF_SCHEMA_FILE_DIR = $(SYSCONFDIR)/gconf/schemas/ --GCONFTOOL = gconftool-2 -+GCONFTOOL = $(BINDIR)/gconftool-2 - - SCHEMADIR = $(GCONF_SCHEMA_FILE_DIR) - -@@ -60,7 +60,7 @@ - $(INSTALL) -m 644 images/straw.png $(ICONDIR) - $(INSTALL) -m 644 images/*.png $(DATADIR) - $(INSTALL) -m 644 data/default_subscriptions.opml $(DATADIR) -- $(INSTALL) -m 644 src/lib/*.py[co] $(LIBDIR) -+ $(INSTALL) -m 644 src/lib/*.py $(LIBDIR) - $(INSTALL) -m 644 straw.desktop $(APPLICATIONSDIR) - $(INSTALL) -m 644 data/straw.schemas $(SCHEMADIR) - $(INSTALL) -m 644 images/straw.png $(ICONDIR) -@@ -69,7 +69,7 @@ - for mo in $$mos; do \ - mo=`basename $$mo`; \ - lang=`echo $$mo | sed -e 's/\.mo$$//'`; \ -- $(INSTALL) -m 644 -D $$mo $(LOCALEDIR)/$$lang/LC_MESSAGES/straw.mo; \ -+ $(INSTALL) -m 644 $$mo $(LOCALEDIR)/$$lang/LC_MESSAGES/straw.mo; \ - done - - clean: diff -urN straw.orig/files/patch-setup.py straw/files/patch-setup.py --- straw.orig/files/patch-setup.py Wed Dec 31 18:00:00 1969 +++ straw/files/patch-setup.py Tue Feb 17 13:32:51 2004 @@ -0,0 +1,15 @@ +--- setup.py.orig Tue Feb 17 13:31:30 2004 ++++ setup.py Tue Feb 17 13:32:32 2004 +@@ -80,9 +80,9 @@ + '''Build list of data files to be installed''' + images = glob.glob('images/*.png') + files = [ +- ('share/pixmaps', ['images/straw.png']), +- ('share/applications', ['straw.desktop']), +- ('share/straw', images + ++ ('share/gnome/pixmaps', ['images/straw.png']), ++ ('share/gnome/applications', ['straw.desktop']), ++ ('share/gnome/straw', images + + ['data/default_subscriptions.opml', 'glade/straw.glade'])] + return files + diff -urN straw.orig/files/patch-src::lib::Config.py straw/files/patch-src::lib::Config.py --- straw.orig/files/patch-src::lib::Config.py Sun Nov 16 03:03:24 2003 +++ straw/files/patch-src::lib::Config.py Wed Dec 31 18:00:00 1969 @@ -1,11 +0,0 @@ ---- src/lib/Config.py.orig Sun Nov 16 03:57:07 2003 -+++ src/lib/Config.py Sun Nov 16 03:58:04 2003 -@@ -364,6 +364,8 @@ - last_poll = property(get_last_poll, set_last_poll, None, "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 -urN straw.orig/files/patch-src::lib::Main.py straw/files/patch-src::lib::Main.py --- straw.orig/files/patch-src::lib::Main.py Fri Nov 14 13:25:02 2003 +++ straw/files/patch-src::lib::Main.py Tue Feb 17 13:36:28 2004 @@ -1,6 +1,6 @@ ---- src/lib/Main.py.orig Thu Nov 13 21:57:57 2003 -+++ src/lib/Main.py Thu Nov 13 21:58:51 2003 -@@ -360,7 +360,7 @@ +--- src/lib/Main.py.orig Tue Feb 17 13:35:41 2004 ++++ src/lib/Main.py Tue Feb 17 13:36:26 2004 +@@ -479,7 +479,7 @@ return os.environ["STRAW_DATA"] h, t = os.path.split(os.path.split(os.path.abspath(sys.argv[0]))[0]) if t == 'bin': diff -urN straw.orig/files/patch-src::lib::utils.py straw/files/patch-src::lib::utils.py --- straw.orig/files/patch-src::lib::utils.py Sun Nov 16 03:03:24 2003 +++ straw/files/patch-src::lib::utils.py Wed Dec 31 18:00:00 1969 @@ -1,11 +0,0 @@ ---- src/lib/utils.py.orig Sun Nov 16 03:58:11 2003 -+++ src/lib/utils.py Sun Nov 16 03:58:32 2003 -@@ -22,7 +22,7 @@ - previous = None - while res_len < chars and i < frag_len - 1: - i += 1 -- current = fragment[i] -+ current = fragment[i].encode('utf-8') - if in_tag: - if in_attr: - if current == '"': diff -urN straw.orig/files/patch-src::straw straw/files/patch-src::straw --- straw.orig/files/patch-src::straw Fri Nov 14 13:25:02 2003 +++ straw/files/patch-src::straw Tue Feb 17 13:38:08 2004 @@ -1,12 +1,6 @@ ---- src/straw.orig Thu Nov 13 21:59:51 2003 -+++ src/straw Thu Nov 13 22:01:07 2003 -@@ -1,4 +1,4 @@ --#!/usr/bin/env python2.2 -+#!/usr/bin/env python - # - # Copyright (c) 2002 Juri Pakaste - # You may use and distribute this software under the terms of the -@@ -19,13 +19,14 @@ +--- 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': diff -urN straw.orig/pkg-plist straw/pkg-plist --- straw.orig/pkg-plist Fri Nov 14 13:25:01 2003 +++ straw/pkg-plist Tue Feb 17 13:59:25 2004 @@ -1,58 +1,145 @@ bin/straw +etc/gconf/gconf.xml.defaults/apps/straw/%gconf.xml +etc/gconf/gconf.xml.defaults/apps/straw/general/%gconf.xml +etc/gconf/gconf.xml.defaults/apps/straw/ui/%gconf.xml +etc/gconf/gconf.xml.defaults/schemas/apps/straw/%gconf.xml +etc/gconf/gconf.xml.defaults/schemas/apps/straw/general/%gconf.xml +etc/gconf/gconf.xml.defaults/schemas/apps/straw/ui/%gconf.xml etc/gconf/schemas/straw.schemas 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/ExportSubscriptionsDialog.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/ImportSubscriptionsDialog.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/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/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/StrawURLOpener.py +share/gnome/straw/StrawURLOpener.pyc +share/gnome/straw/StrawURLOpener.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/URLFetch.py +share/gnome/straw/URLFetch.pyc +share/gnome/straw/URLFetch.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/face-happy.png -share/gnome/straw/face-sad.png +share/gnome/straw/error.pyc +share/gnome/straw/error.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/rssfinder.py -share/gnome/straw/rssparser.py +share/gnome/straw/rssfinder.pyc +share/gnome/straw/rssfinder.pyo 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/de/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/ru/LC_MESSAGES/straw.mo @dirrm share/gnome/straw +@dirrm etc/gconf/gconf.xml.defaults/schemas/apps/straw/ui +@dirrm etc/gconf/gconf.xml.defaults/schemas/apps/straw/general +@dirrm etc/gconf/gconf.xml.defaults/schemas/apps/straw +@dirrm etc/gconf/gconf.xml.defaults/apps/straw/ui +@dirrm etc/gconf/gconf.xml.defaults/apps/straw/general +@dirrm etc/gconf/gconf.xml.defaults/apps/straw ------------ZuwL6RcteEs2q2248TDqdg--