Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 May 2007 06:39:37 GMT
From:      "R.Mahmatkhanov"<R.Mahmatkhanov@SKYLINK.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/112801: [MAINTAINER] net/straw: update to 0.27
Message-ID:  <200705200639.l4K6dbQI020526@www.freebsd.org>
Resent-Message-ID: <200705200650.l4K6o3j4028623@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         112801
>Category:       ports
>Synopsis:       [MAINTAINER] net/straw: update to 0.27
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 20 06:50:02 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     R.Mahmatkhanov
>Release:        6.2-STABLE
>Organization:
SkyLink
>Environment:
FreeBSD 6.2-STABLE i386
>Description:
- update to 0.27
- update MASTER_SITES
- switch to BZIP2 distribution
- resurrect LookupManager.py patch, deleted accidentally
  (straw won't work if py24-adns is installed)
>How-To-Repeat:

>Fix:
1. cd /usr/ports/net/straw
2. patch < /path/to/straw027.diff
3. When it asks "File to patch:" please put there "files/patch-src::straw".
4. Then move patch-src-lib::LookupManager.py to files/ subdirecory.
 

Patch attached with submission follows:

diff -ruN /usr/ports/net/straw/Makefile new/Makefile
--- /usr/ports/net/straw/Makefile	Sun May 20 10:09:50 2007
+++ new/Makefile	Thu May 17 23:06:27 2007
@@ -6,10 +6,9 @@
 #
 
 PORTNAME=	straw
-PORTVERSION=	0.26
+PORTVERSION=	0.27
 CATEGORIES=	net gnome
-MASTER_SITES=	${MASTER_SITE_GNOME}
-MASTER_SITE_SUBDIR=sources/${PORTNAME}/${PORTVERSION}
+MASTER_SITES=	http://bighead.poli.usp.br/~lameiro/straw/
 
 MAINTAINER=	R.Mahmatkhanov@SKYLINK.RU
 COMMENT=	A GNOME 2 desktop weblog aggregator written in Python
@@ -19,6 +18,7 @@
 		${PYTHON_SITELIBDIR}/dbus/_dbus.py:${PORTSDIR}/devel/py-dbus
 
 USE_GMAKE=	yes
+USE_BZIP2=	yes
 USE_XLIB=	yes
 USE_GNOME=	gnomehier libglade2 pygnome2 pygnomeextras
 USE_PYTHON=	2.4+
diff -ruN /usr/ports/net/straw/distinfo new/distinfo
--- /usr/ports/net/straw/distinfo	Wed Mar  7 09:49:33 2007
+++ new/distinfo	Sun May 20 10:12:06 2007
@@ -1,3 +1,3 @@
-MD5 (straw-0.26.tar.gz) = 934d2ba4b0219120218ce83a36976f47
-SHA256 (straw-0.26.tar.gz) = 7dd1ae7108629874c3fb198747f788440ee3f3699b16f07f70860b11f6439a18
-SIZE (straw-0.26.tar.gz) = 318208
+MD5 (straw-0.27.tar.bz2) = d21249c82b14570fe2c61e114d1d2ea7
+SHA256 (straw-0.27.tar.bz2) = ed773c67dd3a367f08e7a2833b9517e2499d15c3977e6f1fd2131edf0eec7340
+SIZE (straw-0.27.tar.bz2) = 246922
diff -ruN /usr/ports/net/straw/files/patch-src-lib::LookupManager.py new/files/patch-src-lib::LookupManager.py
--- /usr/ports/net/straw/files/patch-src-lib::LookupManager.py	Thu Jan  1 00:00:00 1970
+++ new/files/patch-src-lib::LookupManager.py	Sun May 20 09:51:21 2007
@@ -0,0 +1,11 @@
+--- /usr/ports/net/straw/work/straw-0.27/src/lib/LookupManager.py	Sat Feb 18 16:11:38 2006
++++ LookupManager.py	Sun May 20 09:51:00 2007
+@@ -26,7 +26,7 @@
+ import Config
+ try:
+     import adns, ADNS
+-    _have_adns = True
++    _have_adns = False
+ except ImportError:
+     error.log("No ADNS library found, using synchronous name lookups.")
+     _have_adns = False
diff -ruN /usr/ports/net/straw/files/patch-src::straw new/files/patch-src::straw
--- /usr/ports/net/straw/files/patch-src::straw	Wed Mar  7 09:49:33 2007
+++ new/files/patch-src::straw	Sun May 20 09:49:37 2007
@@ -1,5 +1,5 @@
---- src/straw	Thu Jan 26 15:11:29 2006
-+++ src/straw	Wed Jan  3 23:44:51 2007
+--- /usr/ports/net/straw/work/straw-0.27/src/straw	Sat Oct 21 07:53:23 2006
++++ straw	Sun May 20 09:49:06 2007
 @@ -49,7 +49,7 @@
      if not sdir:
          h, t = os.path.split(os.path.split(os.path.abspath(sys.argv[0]))[0])
@@ -8,4 +8,13 @@
 +            libdir = os.path.join(h, 'share', 'gnome')
              fp = os.path.join(libdir, 'straw')
              if os.path.isdir(fp):
-                 sdir = libdir
+                 sdir = fp
+@@ -102,7 +102,7 @@
+     if ENV_IN_SOURCE:
+         from lib import Application, Config
+     else:
+-        from straw import Application, Config
++        import Application, Config
+ 
+     # set offline to false if offline. Previous releases just rely on the
+     # previous state of the 'offline' config. So if the user specifies
diff -ruN /usr/ports/net/straw/pkg-plist new/pkg-plist
--- /usr/ports/net/straw/pkg-plist	Wed Mar  7 09:49:33 2007
+++ new/pkg-plist	Thu May 17 22:18:28 2007
@@ -1,6 +1,5 @@
 bin/straw
 share/gnome/applications/straw.desktop
-share/pixmaps/straw.png
 share/gnome/straw/Application.py
 share/gnome/straw/Application.pyc
 share/gnome/straw/Application.pyo
@@ -127,26 +126,23 @@
 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/straw.css
 share/gnome/straw/straw.glade
 share/gnome/straw/straw.png
 share/gnome/straw/strawdbus.py
 share/gnome/straw/strawdbus.pyc
 share/gnome/straw/strawdbus.pyo
-share/gnome/straw/strawtypes.py
-share/gnome/straw/strawtypes.pyc
-share/gnome/straw/strawtypes.pyo
 share/gnome/straw/subscribe.py
 share/gnome/straw/subscribe.pyc
 share/gnome/straw/subscribe.pyo
 share/gnome/straw/utils.py
 share/gnome/straw/utils.pyc
 share/gnome/straw/utils.pyo
+share/locale/ar/LC_MESSAGES/straw.mo
 share/locale/bg/LC_MESSAGES/straw.mo
 share/locale/cs/LC_MESSAGES/straw.mo
 share/locale/de/LC_MESSAGES/straw.mo
+share/locale/dz/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
@@ -156,9 +152,9 @@
 share/locale/it/LC_MESSAGES/straw.mo
 share/locale/ja/LC_MESSAGES/straw.mo
 share/locale/lt/LC_MESSAGES/straw.mo
+share/locale/nb/LC_MESSAGES/straw.mo
 share/locale/ne/LC_MESSAGES/straw.mo
 share/locale/nl/LC_MESSAGES/straw.mo
-share/locale/no/LC_MESSAGES/straw.mo
 share/locale/pa/LC_MESSAGES/straw.mo
 share/locale/pt/LC_MESSAGES/straw.mo
 share/locale/pt_BR/LC_MESSAGES/straw.mo
@@ -170,4 +166,5 @@
 share/locale/uk/LC_MESSAGES/straw.mo
 share/locale/vi/LC_MESSAGES/straw.mo
 share/locale/zh_CN/LC_MESSAGES/straw.mo
+share/pixmaps/straw.png
 @dirrm share/gnome/straw

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705200639.l4K6dbQI020526>