svn commit: r316945 - in head/deskutils/xfce4-tumbler: . files

Olivier Duchateau olivierd at FreeBSD.org
Tue Apr 30 16:06:19 UTC 2013


Author: olivierd
Date: Tue Apr 30 16:06:18 2013
New Revision: 316945
URL: http://svnweb.freebsd.org/changeset/ports/316945

Log:
  - Revert GSTREAMER option
  - Add description for GSTREAMER, because it depends of new API (1.0)
  - Convert to USES= pathfix
  - Merge 'post-patch' target with configure patch (when NLS is unset)

Modified:
  head/deskutils/xfce4-tumbler/Makefile
  head/deskutils/xfce4-tumbler/files/patch-configure
  head/deskutils/xfce4-tumbler/pkg-plist

Modified: head/deskutils/xfce4-tumbler/Makefile
==============================================================================
--- head/deskutils/xfce4-tumbler/Makefile	Tue Apr 30 16:01:02 2013	(r316944)
+++ head/deskutils/xfce4-tumbler/Makefile	Tue Apr 30 16:06:18 2013	(r316945)
@@ -3,7 +3,7 @@
 
 PORTNAME=	tumbler
 PORTVERSION=	0.1.27
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	deskutils xfce
 MASTER_SITES=	${MASTER_SITE_XFCE}
 MASTER_SITE_SUBDIR=	src/xfce/${PORTNAME}/${PORTVERSION:R}
@@ -16,11 +16,11 @@ COMMENT=	Thumbnail service for Xfce desk
 LIB_DEPENDS=	png15:${PORTSDIR}/graphics/png \
 		dbus-glib-1:${PORTSDIR}/devel/dbus-glib
 
-USES=		pkgconfig
+USES=		pathfix pkgconfig
 USE_BZIP2=	yes
 GNU_CONFIGURE=	yes
 USE_GMAKE=	yes
-USE_GNOME=	glib20 gnomehack intltool intlhack
+USE_GNOME=	glib20 intltool intlhack
 USE_LDCONFIG=	yes
 USE_XFCE=	configenv
 
@@ -29,11 +29,10 @@ CONFIGURE_ARGS=	--enable-xdg-cache \
 
 OPTIONS_DEFINE=	DOCS NLS PIXBUF FONTS JPEG FFMPEG POPPLER \
 	GSTREAMER ODF RAW COVER
-OPTIONS_DEFAULT=	PIXBUF FONTS JPEG POPPLER GSTREAMER ODF
-# GStreamer thumbnailer needs new 1.0 API
-OPTIONS_EXCLUDE=	GSTREAMER
+OPTIONS_DEFAULT=	PIXBUF FONTS JPEG POPPLER ODF
 FONTS_DESC=	Fonts thumbnailer plugin
 COVER_DESC=	Open Movie Database thumbnailer plugin
+GSTREAMER_DESC=	GStreamer (1.0) thumbnailer plugin
 
 SUB_FILES=	pkg-message
 
@@ -129,7 +128,7 @@ USE_GNOME+=	gdkpixbuf2
 CONFIGURE_ARGS+=--enable-pixbuf-thumbnailer
 PLIST_SUB+=	PIXBUF=""
 .endif
-USE_GSTREAMER=	yes
+USE_GSTREAMER1=	yes
 CONFIGURE_ARGS+=--enable-gstreamer-thumbnailer
 PLIST_SUB+=	GSTREAMER=""
 .else
@@ -179,11 +178,6 @@ CONFIGURE_ARGS+=--disable-cover-thumbnai
 PLIST_SUB+=	COVER="@comment "
 .endif
 
-post-patch:
-.if empty(PORT_OPTIONS:MNLS)
-	@${REINPLACE_CMD} -e 's|	po||' ${WRKSRC}/Makefile.in
-.endif
-
 post-install:
 	@${ECHO_MSG}
 	@${CAT} ${PKGMESSAGE}

Modified: head/deskutils/xfce4-tumbler/files/patch-configure
==============================================================================
--- head/deskutils/xfce4-tumbler/files/patch-configure	Tue Apr 30 16:01:02 2013	(r316944)
+++ head/deskutils/xfce4-tumbler/files/patch-configure	Tue Apr 30 16:06:18 2013	(r316945)
@@ -1,5 +1,5 @@
 --- ./configure.orig	2013-01-12 11:14:34.000000000 +0000
-+++ ./configure	2013-01-12 18:25:40.000000000 +0000
++++ ./configure	2013-04-28 11:32:14.000000000 +0000
 @@ -915,9 +915,10 @@
  enable_gtk_doc
  enable_gtk_doc_html
@@ -12,6 +12,15 @@
  enable_ffmpeg_thumbnailer
  enable_gstreamer_thumbnailer
  enable_odf_thumbnailer
+@@ -13879,7 +13880,7 @@
+ 
+     fi
+   fi
+-     USE_NLS=yes
++#     USE_NLS=yes
+ 
+ 
+     gt_cv_have_gettext=no
 @@ -15618,9 +15619,9 @@
  fi
  

Modified: head/deskutils/xfce4-tumbler/pkg-plist
==============================================================================
--- head/deskutils/xfce4-tumbler/pkg-plist	Tue Apr 30 16:01:02 2013	(r316944)
+++ head/deskutils/xfce4-tumbler/pkg-plist	Tue Apr 30 16:06:18 2013	(r316945)
@@ -30,8 +30,8 @@ lib/tumbler-1/plugins/cache/tumbler-xdg-
 %%FONTS%%lib/tumbler-1/plugins/tumbler-font-thumbnailer.so
 %%JPEG%%lib/tumbler-1/plugins/tumbler-jpeg-thumbnailer.la
 %%JPEG%%lib/tumbler-1/plugins/tumbler-jpeg-thumbnailer.so
- at comment %%GSTREAMER%%lib/tumbler-1/plugins/tumbler-gst-thumbnailer.la
- at comment %%GSTREAMER%%lib/tumbler-1/plugins/tumbler-gst-thumbnailer.so
+%%GSTREAMER%%lib/tumbler-1/plugins/tumbler-gst-thumbnailer.la
+%%GSTREAMER%%lib/tumbler-1/plugins/tumbler-gst-thumbnailer.so
 %%ODF%%lib/tumbler-1/plugins/tumbler-odf-thumbnailer.la
 %%ODF%%lib/tumbler-1/plugins/tumbler-odf-thumbnailer.so
 %%PIXBUF%%lib/tumbler-1/plugins/tumbler-pixbuf-thumbnailer.la


More information about the svn-ports-all mailing list