ports/155956: [UPDATE]: x11-fm/py-nautilus Update to new release, 0.7.2

Maxim Samsonov xors at mne.ru
Sun Mar 27 00:20:09 UTC 2011


>Number:         155956
>Category:       ports
>Synopsis:       [UPDATE]: x11-fm/py-nautilus Update to new release, 0.7.2
>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 Mar 27 00:20:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Maxim Samsonov
>Release:        FreeBSD 8.2-STABLE i386
>Organization:
>Environment:
>Description:
Update to new release, 0.7.2
>How-To-Repeat:
>Fix:
--- x11-fm-py-nautilus.patch begins here ---
diff --git a/x11-fm/py-nautilus/Makefile b/x11-fm/py-nautilus/Makefile
--- a/x11-fm/py-nautilus/Makefile
+++ b/x11-fm/py-nautilus/Makefile
@@ -7,8 +7,7 @@
 #
 
 PORTNAME=	nautilus
-PORTVERSION=	0.6.1
-PORTREVISION=	2
+PORTVERSION=	0.7.2
 CATEGORIES=	x11-fm gnome python
 MASTER_SITES=	GNOME
 MASTER_SITE_SUBDIR=	sources/nautilus-python/${PORTVERSION:R}
@@ -18,14 +17,16 @@
 MAINTAINER=	gnome at FreeBSD.org
 COMMENT=	Python nautilus bindings
 
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 USE_BZIP2=	yes
 GNU_CONFIGURE=	yes
 USE_PYTHON=	yes
 USE_GMAKE=	yes
-USE_GNOME=	gnomeprefix gnomehack pygnome2 eel2 nautilus2
-CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include `pkg-config --cflags gnome-vfs-2.0`" \
-		LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
-		LIBS="`pkg-config --libs gnome-vfs-2.0`"
+USE_GNOME=	gnomeprefix gnomehack pygnome2 nautilus2
+MAKE_JOBS_SAFE=	yes
+MAKE_ARGS+=	PYTHON_VERSION="${PYTHON_VER}"
 
 DOCSDIR=	${PREFIX}/share/doc/nautilus-python
 
diff --git a/x11-fm/py-nautilus/distinfo b/x11-fm/py-nautilus/distinfo
--- a/x11-fm/py-nautilus/distinfo
+++ b/x11-fm/py-nautilus/distinfo
@@ -1,2 +1,2 @@
-SHA256 (nautilus-python-0.6.1.tar.bz2) = b80c814c4f08daa92369077625e2cbf4865cb5423a4151b1e61f12cbbe148f2b
-SIZE (nautilus-python-0.6.1.tar.bz2) = 243352
+SHA256 (nautilus-python-0.7.2.tar.bz2) = b5db7e06eb0d9b35174282ae0a9726cde4712db687f1d1065e2d8b4715eb746a
+SIZE (nautilus-python-0.7.2.tar.bz2) = 253803
diff --git a/x11-fm/py-nautilus/files/patch-configure b/x11-fm/py-nautilus/files/patch-configure
deleted file mode 100644
--- a/x11-fm/py-nautilus/files/patch-configure
+++ /dev/null
@@ -1,16 +0,0 @@
---- configure.orig	2010-01-18 02:10:37.000000000 -0500
-+++ configure	2010-01-18 02:10:56.000000000 -0500
-@@ -10479,11 +10479,11 @@ py_exec_prefix=`$PYTHON -c "import sys; 
- 
- 
- 
--if test "x$PYTHON_LIBS" == x; then
-+if test "x$PYTHON_LIBS" = x; then
- 	PYTHON_LIBS="-L${py_prefix}/lib${libdirsuffix} -lpython${PYTHON_VERSION}"
- fi
- 
--if test "x$PYTHON_LIB_LOC" == x; then
-+if test "x$PYTHON_LIB_LOC" = x; then
- 	PYTHON_LIB_LOC="${py_prefix}/lib${libdirsuffix}"
- fi
- 
diff --git a/x11-fm/py-nautilus/files/patch-src_nautilus-python.c b/x11-fm/py-nautilus/files/patch-src_nautilus-python.c
new file mode 100644
--- /dev/null
+++ b/x11-fm/py-nautilus/files/patch-src_nautilus-python.c
@@ -0,0 +1,13 @@
+--- src/nautilus-python.c.orig	2010-05-21 01:11:11.000000000 +0400
++++ src/nautilus-python.c	2011-02-28 15:06:49.000000000 +0300
+@@ -207,8 +207,8 @@
+ 	if (Py_IsInitialized())
+ 		return TRUE;
+ 
+-  	debug("g_module_open " PY_LIB_LOC "/libpython" PYTHON_VERSION "." G_MODULE_SUFFIX ".1.0");
+-	libpython = g_module_open(PY_LIB_LOC "/libpython" PYTHON_VERSION "." G_MODULE_SUFFIX ".1.0", 0);
++  	debug("g_module_open " PY_LIB_LOC "/libpython" PYTHON_VERSION "." G_MODULE_SUFFIX ".1");
++	libpython = g_module_open(PY_LIB_LOC "/libpython" PYTHON_VERSION "." G_MODULE_SUFFIX ".1", 0);
+ 	if (!libpython)
+ 		g_warning("g_module_open libpython failed: %s", g_module_error());
+ 
diff --git a/x11-fm/py-nautilus/pkg-descr b/x11-fm/py-nautilus/pkg-descr
--- a/x11-fm/py-nautilus/pkg-descr
+++ b/x11-fm/py-nautilus/pkg-descr
@@ -1,1 +1,3 @@
 Python nautilus bindings.
+
+WWW: http://projects.gnome.org/nautilus-python
diff --git a/x11-fm/py-nautilus/pkg-plist b/x11-fm/py-nautilus/pkg-plist
--- a/x11-fm/py-nautilus/pkg-plist
+++ b/x11-fm/py-nautilus/pkg-plist
@@ -4,12 +4,13 @@
 lib/nautilus/extensions-2.0/libnautilus-python.so
 libdata/pkgconfig/nautilus-python.pc
 %%DOCSDIR%%/README
-%%DOCSDIR%%/documentation.py
 %%DOCSDIR%%/examples/background-image.py
 %%DOCSDIR%%/examples/block-size-column.py
+%%DOCSDIR%%/examples/location-widget-provider.py
 %%DOCSDIR%%/examples/md5sum-property-page.py
 %%DOCSDIR%%/examples/open-terminal.py
 %%DOCSDIR%%/examples/submenu.py
+%%DOCSDIR%%/examples/update-file-info-async.py
 @dirrm %%DOCSDIR%%/examples
 @dirrm %%DOCSDIR%%
 @dirrm lib/nautilus-python
--- x11-fm-py-nautilus.patch ends here ---


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



More information about the freebsd-ports-bugs mailing list