ports/149088: multimedia/gnome-subtitles update to 1.0

Armin Pirkovitsch armin at frozen-zone.org
Fri Jul 30 05:00:15 UTC 2010


>Number:         149088
>Category:       ports
>Synopsis:       multimedia/gnome-subtitles update to 1.0
>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:   Fri Jul 30 05:00:07 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Armin Pirkovitsch
>Release:        
>Organization:
>Environment:
>Description:
Update to 1.0
Add license
Take maintainership
Add support for WITHOUT_NLS
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -Nur multimedia/gnome-subtitles.orig/Makefile multimedia/gnome-subtitles/Makefile
--- multimedia/gnome-subtitles.orig/Makefile	2010-06-02 16:40:11.000000000 +0200
+++ multimedia/gnome-subtitles/Makefile	2010-07-28 17:32:14.000000000 +0200
@@ -6,12 +6,11 @@
 #
 
 PORTNAME=	gnome-subtitles
-PORTVERSION=	0.9.1
-PORTREVISION=	3
+PORTVERSION=	1.0
 CATEGORIES=	multimedia
 MASTER_SITES=	SF
 
-MAINTAINER=	ports at FreeBSD.org
+MAINTAINER=	armin at frozen-zone.org
 COMMENT=	Subtitle editor with video preview
 
 LIB_DEPENDS=	enchant.1:${PORTSDIR}/textproc/enchant \
@@ -19,10 +18,11 @@
 BUILD_DEPENDS=	mono:${PORTSDIR}/lang/mono
 RUN_DEPENDS=	mono:${PORTSDIR}/lang/mono
 
+LICENSE=	GPLv2
+
 USE_GMAKE=	yes
 USE_GNOME=	gnomeprefix gtksharp20 gnomesharp20 gnomedocutils
 USE_GSTREAMER=	yes
-USE_GETTEXT=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 		LDFLAGS="-L${LOCALBASE}/lib"
@@ -34,6 +34,14 @@
 
 MAN1=		gnome-subtitles.1
 
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT=    yes
+PLIST_SUB+=     NLS=""
+.else
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+=     NLS="@comment "
+.endif
+
 .include <bsd.port.pre.mk>
 .include "${.CURDIR}/../../lang/mono/bsd.mono.mk"
 .include <bsd.port.post.mk>
diff -Nur multimedia/gnome-subtitles.orig/distinfo multimedia/gnome-subtitles/distinfo
--- multimedia/gnome-subtitles.orig/distinfo	2009-09-10 16:20:55.000000000 +0200
+++ multimedia/gnome-subtitles/distinfo	2010-07-28 06:45:44.000000000 +0200
@@ -1,3 +1,3 @@
-MD5 (gnome-subtitles-0.9.1.tar.gz) = 1c5f01aaf14dbd91581b286bf92f08d7
-SHA256 (gnome-subtitles-0.9.1.tar.gz) = ea22790a23522ee12793177afe08b1b1a5f31b8b2cf9a4015e77868a2aeea765
-SIZE (gnome-subtitles-0.9.1.tar.gz) = 658660
+MD5 (gnome-subtitles-1.0.tar.gz) = 19d0beabc063abe86d8fe32913dc7aeb
+SHA256 (gnome-subtitles-1.0.tar.gz) = 79144ae170688eac655e07292afa9484fdc118ca4657ded10fa9eb680f4fb623
+SIZE (gnome-subtitles-1.0.tar.gz) = 903679
diff -Nur multimedia/gnome-subtitles.orig/pkg-plist multimedia/gnome-subtitles/pkg-plist
--- multimedia/gnome-subtitles.orig/pkg-plist	2009-09-10 16:20:55.000000000 +0200
+++ multimedia/gnome-subtitles/pkg-plist	2010-07-29 16:06:41.000000000 +0200
@@ -2,6 +2,8 @@
 lib/gnome-subtitles/gnome-subtitles.exe
 lib/gnome-subtitles/gnome-subtitles.exe.config
 lib/gnome-subtitles/libgstreamer_playbin.so
+lib/gnome-subtitles/libgstreamer_playbin.so.0
+lib/gnome-subtitles/libgstreamer_playbin.la
 share/applications/gnome-subtitles.desktop
 share/gnome/help/gnome-subtitles/C/gnome-subtitles.xml
 share/gnome/help/gnome-subtitles/C/legal.xml
@@ -12,26 +14,29 @@
 share/gnome/help/gnome-subtitles/fr/gnome-subtitles.xml
 share/gnome/help/gnome-subtitles/oc/gnome-subtitles.xml
 share/gnome/help/gnome-subtitles/sv/gnome-subtitles.xml
-share/locale/ar/LC_MESSAGES/gnome-subtitles.mo
-share/locale/ca/LC_MESSAGES/gnome-subtitles.mo
-share/locale/cs/LC_MESSAGES/gnome-subtitles.mo
-share/locale/da/LC_MESSAGES/gnome-subtitles.mo
-share/locale/de/LC_MESSAGES/gnome-subtitles.mo
-share/locale/dz/LC_MESSAGES/gnome-subtitles.mo
-share/locale/el/LC_MESSAGES/gnome-subtitles.mo
-share/locale/en_GB/LC_MESSAGES/gnome-subtitles.mo
-share/locale/es/LC_MESSAGES/gnome-subtitles.mo
-share/locale/fi/LC_MESSAGES/gnome-subtitles.mo
-share/locale/fr/LC_MESSAGES/gnome-subtitles.mo
-share/locale/he/LC_MESSAGES/gnome-subtitles.mo
-share/locale/it/LC_MESSAGES/gnome-subtitles.mo
-share/locale/nb/LC_MESSAGES/gnome-subtitles.mo
-share/locale/oc/LC_MESSAGES/gnome-subtitles.mo
-share/locale/pl/LC_MESSAGES/gnome-subtitles.mo
-share/locale/pt/LC_MESSAGES/gnome-subtitles.mo
-share/locale/pt_BR/LC_MESSAGES/gnome-subtitles.mo
-share/locale/ru/LC_MESSAGES/gnome-subtitles.mo
-share/locale/sv/LC_MESSAGES/gnome-subtitles.mo
+%%NLS%%share/locale/ar/LC_MESSAGES/gnome-subtitles.mo
+%%NLS%%share/locale/ca/LC_MESSAGES/gnome-subtitles.mo
+%%NLS%%share/locale/cs/LC_MESSAGES/gnome-subtitles.mo
+%%NLS%%share/locale/da/LC_MESSAGES/gnome-subtitles.mo
+%%NLS%%share/locale/de/LC_MESSAGES/gnome-subtitles.mo
+%%NLS%%share/locale/dz/LC_MESSAGES/gnome-subtitles.mo
+%%NLS%%share/locale/el/LC_MESSAGES/gnome-subtitles.mo
+%%NLS%%share/locale/en_GB/LC_MESSAGES/gnome-subtitles.mo
+%%NLS%%share/locale/es/LC_MESSAGES/gnome-subtitles.mo
+%%NLS%%share/locale/fi/LC_MESSAGES/gnome-subtitles.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/gnome-subtitles.mo
+%%NLS%%share/locale/he/LC_MESSAGES/gnome-subtitles.mo
+%%NLS%%share/locale/it/LC_MESSAGES/gnome-subtitles.mo
+%%NLS%%share/locale/nb/LC_MESSAGES/gnome-subtitles.mo
+%%NLS%%share/locale/oc/LC_MESSAGES/gnome-subtitles.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/gnome-subtitles.mo
+%%NLS%%share/locale/pt/LC_MESSAGES/gnome-subtitles.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/gnome-subtitles.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/gnome-subtitles.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/gnome-subtitles.mo
+%%NLS%%share/locale/bg/LC_MESSAGES/gnome-subtitles.mo
+%%NLS%%share/locale/gl/LC_MESSAGES/gnome-subtitles.mo
+%%NLS%%share/locale/sl/LC_MESSAGES/gnome-subtitles.mo
 share/omf/gnome-subtitles/gnome-subtitles-C.omf
 share/omf/gnome-subtitles/gnome-subtitles-ca.omf
 share/omf/gnome-subtitles/gnome-subtitles-de.omf
@@ -52,8 +57,8 @@
 @dirrmtry share/gnome/help/gnome-subtitles/oc
 @dirrmtry share/gnome/help/gnome-subtitles/sv
 @dirrmtry share/gnome/help/gnome-subtitles
- at dirrmtry share/locale/oc/LC_MESSAGES
- at dirrmtry share/locale/oc
- at dirrmtry share/locale/dz/LC_MESSAGES
- at dirrmtry share/locale/dz
+%%NLS%%@dirrmtry share/locale/oc/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/oc
+%%NLS%%@dirrmtry share/locale/dz/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/dz
 @dirrmtry share/applications


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



More information about the freebsd-ports-bugs mailing list