From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Nov 14 00:40:20 2003 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 E146F16A4CF for ; Fri, 14 Nov 2003 00:40:20 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 10BD043FA3 for ; Fri, 14 Nov 2003 00:40:19 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id hAE8eIFY076050 for ; Fri, 14 Nov 2003 00:40:18 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id hAE8eIqs076049; Fri, 14 Nov 2003 00:40:18 -0800 (PST) (envelope-from gnats) Resent-Date: Fri, 14 Nov 2003 00:40:18 -0800 (PST) Resent-Message-Id: <200311140840.hAE8eIqs076049@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jeremy Messenger Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 273C416A4CE for ; Fri, 14 Nov 2003 00:34:22 -0800 (PST) Received: from ns1.mezzweb.com (ip68-103-32-11.ks.ok.cox.net [68.103.32.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 88E9B43FDF for ; Fri, 14 Nov 2003 00:34:20 -0800 (PST) (envelope-from mezz@ns1.mezzweb.com) Received: from ns1.mezzweb.com (localhost [127.0.0.1]) by ns1.mezzweb.com (8.12.9/8.12.9) with ESMTP id hAE89vF6082400 for ; Fri, 14 Nov 2003 02:09:57 -0600 (CST) (envelope-from mezz@ns1.mezzweb.com) Received: (from mezz@localhost) by ns1.mezzweb.com (8.12.9/8.12.9/Submit) id hAE89uEc082399; Fri, 14 Nov 2003 02:09:56 -0600 (CST) Message-Id: <200311140809.hAE89uEc082399@ns1.mezzweb.com> Date: Fri, 14 Nov 2003 02:09:56 -0600 (CST) From: Jeremy Messenger To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/59282: New port: news/straw or net/straw, A GNOME 2 desktop weblog aggregator written in Python 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: Fri, 14 Nov 2003 08:40:21 -0000 >Number: 59282 >Category: ports >Synopsis: New port: news/straw or net/straw, A GNOME 2 desktop weblog aggregator written in Python >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Nov 14 00:40:18 PST 2003 >Closed-Date: >Last-Modified: >Originator: Mezz >Release: FreeBSD 5.1-CURRENT i386 >Organization: >Environment: System: FreeBSD ns1.mezzweb.com 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Wed Aug 13 22:39:47 CDT 2003 mezz@mezz.mezzweb.com:/usr/obj/usr/src/sys/BSDROCKS i386 >Description: Straw port is back! 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. Yep, it has finally work on FreeBSD. There have two different lookup options, one depend on ADNS and other its own lookup function. >How-To-Repeat: n/a >Fix: Some feedbacks are what I would like to see: - I am not sure which it fits in either news or net category. The Liferea is in the net category, so I am guessing it's more like in the net category. - Can anyone check on the RUN_DEPENDS of py-bsddb and py-bsddb3. I hope, it's fine. - It would be nice if anyone can clean the grammar in the pkg-message if it needs. Thanks! --- straw.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # straw # straw/files # straw/files/patch-Makefile # straw/files/patch-src::lib::Main.py # straw/files/patch-src::straw # straw/files/patch-src::lib::LookupManager.py # straw/distinfo # straw/Makefile # straw/pkg-descr # straw/pkg-plist # straw/pkg-message # echo c - straw mkdir -p straw > /dev/null 2>&1 echo c - straw/files mkdir -p straw/files > /dev/null 2>&1 echo x - straw/files/patch-Makefile sed 's/^X//' >straw/files/patch-Makefile << 'END-of-straw/files/patch-Makefile' X--- Makefile.orig Thu Nov 13 21:53:33 2003 X+++ Makefile Thu Nov 13 21:57:07 2003 X@@ -1,4 +1,4 @@ X-PYTHON ?= python2.2 X+PYTHON ?= python X INSTALL ?= install X RM ?= rm X MSGFMT ?= msgfmt X@@ -6,16 +6,16 @@ X XGETTEXT ?= xgettext X FIND ?= find X X-#PREFIX = /usr/local X+PREFIX = %%X11PREFIX%% X # autodetect GNOME prefix, change this if you want it elsewhere X-PREFIX ?= `pkg-config libgnome-2.0 --variable=prefix || echo /usr/local` X+#PREFIX ?= `pkg-config libgnome-2.0 --variable=prefix || echo /usr/local` X X # If you edited PYTHON above, edit this to the corresponding python lib dir X-LIBDIR = $(PREFIX)/lib/python2.2/site-packages/straw X+LIBDIR = $(PREFIX)/share/gnome/straw X BINDIR = $(PREFIX)/bin X-DATADIR = $(PREFIX)/share/straw X-APPLICATIONSDIR = $(PREFIX)/share/applications X-ICONDIR = $(PREFIX)/share/pixmaps X+DATADIR = $(PREFIX)/share/gnome/straw X+APPLICATIONSDIR = $(PREFIX)/share/gnome/applications X+ICONDIR = $(PREFIX)/share/gnome/pixmaps X LOCALEDIR = $(PREFIX)/share/locale X # change this to just "/etc" if you're installing in /usr X SYSCONFDIR = $(PREFIX)/etc X@@ -27,9 +27,9 @@ X schema_DATA = data/straw.schemas X # modify this if you're running your own build environment (garnome/jhbuild) X # change it to "xml://path/to/gnome_build_env/etc/gconf/gconf.xml.defaults" X-GCONF_SCHEMA_CONFIG_SOURCE = xml::/etc/gconf/gconf.xml.defaults X+GCONF_SCHEMA_CONFIG_SOURCE = xml::$(SYSCONFDIR)/gconf/gconf.xml.defaults X GCONF_SCHEMA_FILE_DIR = $(SYSCONFDIR)/gconf/schemas/ X-GCONFTOOL = gconftool-2 X+GCONFTOOL = $(BINDIR)/gconftool-2 X X SCHEMADIR = $(GCONF_SCHEMA_FILE_DIR) X X@@ -60,7 +60,7 @@ X $(INSTALL) -m 644 images/straw.png $(ICONDIR) X $(INSTALL) -m 644 images/*.png $(DATADIR) X $(INSTALL) -m 644 data/default_subscriptions.opml $(DATADIR) X- $(INSTALL) -m 644 src/lib/*.py[co] $(LIBDIR) X+ $(INSTALL) -m 644 src/lib/*.py $(LIBDIR) X $(INSTALL) -m 644 straw.desktop $(APPLICATIONSDIR) X $(INSTALL) -m 644 data/straw.schemas $(SCHEMADIR) X $(INSTALL) -m 644 images/straw.png $(ICONDIR) X@@ -69,7 +69,7 @@ X for mo in $$mos; do \ X mo=`basename $$mo`; \ X lang=`echo $$mo | sed -e 's/\.mo$$//'`; \ X- $(INSTALL) -m 644 -D $$mo $(LOCALEDIR)/$$lang/LC_MESSAGES/straw.mo; \ X+ $(INSTALL) -m 644 $$mo $(LOCALEDIR)/$$lang/LC_MESSAGES/straw.mo; \ X done X X clean: END-of-straw/files/patch-Makefile echo x - straw/files/patch-src::lib::Main.py sed 's/^X//' >straw/files/patch-src::lib::Main.py << 'END-of-straw/files/patch-src::lib::Main.py' X--- src/lib/Main.py.orig Thu Nov 13 21:57:57 2003 X+++ src/lib/Main.py Thu Nov 13 21:58:51 2003 X@@ -360,7 +360,7 @@ X return os.environ["STRAW_DATA"] X h, t = os.path.split(os.path.split(os.path.abspath(sys.argv[0]))[0]) X if t == 'bin': X- fp = os.path.join(h, 'share', 'straw') X+ fp = os.path.join(h, 'share', 'gnome', 'straw') X if os.path.isdir(fp): X return fp X fp = os.path.join(h, 'lib', 'straw') END-of-straw/files/patch-src::lib::Main.py echo x - straw/files/patch-src::straw sed 's/^X//' >straw/files/patch-src::straw << 'END-of-straw/files/patch-src::straw' X--- src/straw.orig Thu Nov 13 21:59:51 2003 X+++ src/straw Thu Nov 13 22:01:07 2003 X@@ -1,4 +1,4 @@ X-#!/usr/bin/env python2.2 X+#!/usr/bin/env python X # X # Copyright (c) 2002 Juri Pakaste X # You may use and distribute this software under the terms of the X@@ -19,13 +19,14 @@ X return sd X h, t = os.path.split(os.path.split(os.path.abspath(sys.argv[0]))[0]) X if t == 'bin': X- libdir = os.path.join(h, 'lib') X+ libdir = os.path.join(h, 'share', 'gnome') X fp = os.path.join(libdir, 'straw') X if os.path.isdir(fp): X return libdir X raise "FileNotFoundError", "couldn't find straw library dir" X X sys.path.insert(0, find_straw_lib()) X+sys.path.insert(0, '%%PYTHON_SITELIBDIR%%') X X import straw X END-of-straw/files/patch-src::straw echo x - straw/files/patch-src::lib::LookupManager.py sed 's/^X//' >straw/files/patch-src::lib::LookupManager.py << 'END-of-straw/files/patch-src::lib::LookupManager.py' X--- src/lib/LookupManager.py.orig Thu Nov 13 23:37:03 2003 X+++ src/lib/LookupManager.py Thu Nov 13 23:38:28 2003 X@@ -6,9 +6,9 @@ X from error import log X try: X import adns, ADNS X- _have_adns = True X+ _have_adns = False X except ImportError: X- log("No ADNS library found, using synchronous name lookups.") X+ #log("No ADNS library found, using synchronous name lookups.") X _have_adns = False X X MAX_TIMES = 3 END-of-straw/files/patch-src::lib::LookupManager.py echo x - straw/distinfo sed 's/^X//' >straw/distinfo << 'END-of-straw/distinfo' XMD5 (straw-0.21.1.tar.bz2) = 504c2614d0a09ae8d484ad1568881b32 END-of-straw/distinfo echo x - straw/Makefile sed 's/^X//' >straw/Makefile << 'END-of-straw/Makefile' X# New ports collection makefile for: straw X# Date created: 06 March 2003 X# Whom: Mezz X# X# $FreeBSD$ X# X XPORTNAME= straw XPORTVERSION= 0.21.1 XCATEGORIES= net gnome XMASTER_SITES= ${MASTER_SITE_SAVANNAH} XMASTER_SITE_SUBDIR= ${PORTNAME}/${PORTNAME}.pkg/${PORTVERSION}/ X XMAINTAINER= mezz7@cox.net XCOMMENT= A GNOME 2 desktop weblog aggregator written in Python X XRUN_DEPENDS= ${PYTHON_SITELIBDIR}/mx/DateTime/mxDateTime/__init__.py:${PORTSDIR}/lang/py-mx-base \ X ${PYTHON_SITELIBDIR}/gtk-2.0/gnome/__init__.py:${PORTSDIR}/x11-toolkits/py-gnome2 X XUSE_BZIP2= yes XUSE_GMAKE= yes XUSE_PYTHON= yes XUSE_X_PREFIX= yes XUSE_REINPLACE= yes XUSE_GNOME= libglade2 X X.include X X# pybsddb ships with python 2.3 X.if ${PYTHON_REL} < 230 XRUN_DEPENDS+= ${PYTHON_SITELIBDIR}/_bsddb.so:${PORTSDIR}/databases/py-bsddb3 X.else XRUN_DEPENDS+= ${PYTHON_SITELIBDIR}/_bsddb.so:${PORTSDIR}/databases/py-bsddb X.endif X Xpost-patch: X ${REINPLACE_CMD} -e 's|%%X11PREFIX%%|${PREFIX}|g ; \ X s|%%PYTHON_SITELIBDIR%%|${PYTHON_SITELIBDIR}|g' \ X ${WRKSRC}/Makefile ${WRKSRC}/src/straw X Xpost-install: X @${CAT} ${PKGMESSAGE} X X.include END-of-straw/Makefile echo x - straw/pkg-descr sed 's/^X//' >straw/pkg-descr << 'END-of-straw/pkg-descr' XStraw is a desktop news aggregator for the GNOME environment. Its aim is to be a Xfaster, easier and more accessible way to read news and blogs than the Xtraditional browser. X XWWW: http://www.nongnu.org/straw/ END-of-straw/pkg-descr echo x - straw/pkg-plist sed 's/^X//' >straw/pkg-plist << 'END-of-straw/pkg-plist' Xbin/straw Xetc/gconf/schemas/straw.schemas Xshare/gnome/applications/straw.desktop Xshare/gnome/pixmaps/straw.png Xshare/gnome/straw/Config.py Xshare/gnome/straw/DashboardFrontend.py Xshare/gnome/straw/Event.py Xshare/gnome/straw/ExportSubscriptionsDialog.py Xshare/gnome/straw/Feed.py Xshare/gnome/straw/FeedDataRouter.py Xshare/gnome/straw/FeedItems.py Xshare/gnome/straw/FeedList.py Xshare/gnome/straw/FeedPropertiesDialog.py Xshare/gnome/straw/FindDialog.py Xshare/gnome/straw/ImageCache.py Xshare/gnome/straw/ImportSubscriptionsDialog.py Xshare/gnome/straw/ItemStore.py Xshare/gnome/straw/LookupManager.py Xshare/gnome/straw/Main.py Xshare/gnome/straw/MainWindow.py Xshare/gnome/straw/MessageManager.py Xshare/gnome/straw/NetworkConstants.py Xshare/gnome/straw/OPML.py Xshare/gnome/straw/OPMLExport.py Xshare/gnome/straw/OPMLImport.py Xshare/gnome/straw/ParsedSummary.py Xshare/gnome/straw/PollManager.py Xshare/gnome/straw/PreferencesDialog.py Xshare/gnome/straw/QueueDict.py Xshare/gnome/straw/StrawURLOpener.py Xshare/gnome/straw/SubscribeDialog.py Xshare/gnome/straw/SummaryItem.py Xshare/gnome/straw/SummaryParser.py Xshare/gnome/straw/URLFetch.py Xshare/gnome/straw/__init__.py Xshare/gnome/straw/dashboard.py Xshare/gnome/straw/default_subscriptions.opml Xshare/gnome/straw/error.py Xshare/gnome/straw/face-happy.png Xshare/gnome/straw/face-sad.png Xshare/gnome/straw/hig_alert.py Xshare/gnome/straw/httplib_async.py Xshare/gnome/straw/image-broken.png Xshare/gnome/straw/image-waiting.png Xshare/gnome/straw/offline.png Xshare/gnome/straw/online.png Xshare/gnome/straw/rssfinder.py Xshare/gnome/straw/rssparser.py Xshare/gnome/straw/straw.glade Xshare/gnome/straw/straw.png Xshare/gnome/straw/utils.py Xshare/locale/de/LC_MESSAGES/straw.mo Xshare/locale/es/LC_MESSAGES/straw.mo Xshare/locale/fi/LC_MESSAGES/straw.mo Xshare/locale/fr/LC_MESSAGES/straw.mo Xshare/locale/no/LC_MESSAGES/straw.mo Xshare/locale/ru/LC_MESSAGES/straw.mo X@dirrm share/gnome/straw END-of-straw/pkg-plist echo x - straw/pkg-message sed 's/^X//' >straw/pkg-message << 'END-of-straw/pkg-message' X## XThe ADNS feature has been disabled, because it will never work on FreeBSD. There Xhas a different function that will do the lookup without ADNS, although ADNS Xshould be more smoother. The problem with ADNS is possible has to do with the Xthread safe or something else. X## END-of-straw/pkg-message exit --- straw.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: