ports/121099: [PATCH] audio/easytag-devel: update to 2.1.4

Yuri Pankov yuri at sparkie.irbis.net.ru
Mon Feb 25 23:10:02 UTC 2008


>Number:         121099
>Category:       ports
>Synopsis:       [PATCH] audio/easytag-devel: update to 2.1.4
>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:   Mon Feb 25 23:10:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Yuri Pankov
>Release:        FreeBSD
>Organization:
>Environment:
>Description:
- Update to 2.1.4

Added file(s):
- files/patch-src__mp4_tag.c

Removed file(s):
- files/patch-src-mp4_tag.c

Port maintainer (novel at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- easytag-devel-2.1.4.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/audio/easytag-devel/Makefile,v
retrieving revision 1.60
diff -u -r1.60 Makefile
--- Makefile	27 Nov 2007 05:30:04 -0000	1.60
+++ Makefile	25 Feb 2008 23:04:06 -0000
@@ -6,43 +6,75 @@
 #
 
 PORTNAME=	easytag
-PORTVERSION=	2.1.2
-PORTREVISION=	2
+PORTVERSION=	2.1.4
 CATEGORIES=	audio
-MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR=	${PORTNAME}
+MASTER_SITES=	SF
 PKGNAMESUFFIX=	-devel
 
 MAINTAINER=	novel at FreeBSD.org
 COMMENT=	GTK2 Tag editor for MP3 and OGG files
 
-LIB_DEPENDS=	id3tag:${PORTSDIR}/audio/libid3tag \
-		vorbis:${PORTSDIR}/audio/libvorbis \
-		FLAC:${PORTSDIR}/audio/flac \
-		mp4v2:${PORTSDIR}/multimedia/mpeg4ip-libmp4v2
-
 MAN1=		easytag.1
 CONFLICTS=	easytag-[0-9]*
 
 USE_BZIP2=	yes
-USE_XLIB=	yes
 USE_GETTEXT=	yes
 USE_GNOME=	gnomehack gnomeprefix gtk20 desktopfileutils
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include -DHAVE_GTK" \
 		LDFLAGS="-L${LOCALBASE}/lib"
 
-.if defined(WITH_WAVPACK)
-LIB_DEPENDS+=		wavpack.1:${PORTSDIR}/audio/wavpack
-CONFIGURE_ARGS+=	--enable-wavpack
+OPTIONS=	FLAC "FLAC support" on
+OPTIONS+=	MP3 "MP3 ID3V1 and ID3V24 support" on
+OPTIONS+=	ID3V23 "MP3 ID3V23 support" off
+OPTIONS+=	MPEG4IP "MP4 support" on
+OPTIONS+=	SPEEX "SPEEX support" off
+OPTIONS+=	VORBIS "VORBIS support" on
+OPTIONS+=	WAVPACK "WAVPACK support" off
+
+.include <bsd.port.pre.mk>
+
+# XXX disable FLAC support until ancient version in ports is updated
+#.if !defined(WITHOUT_FLAC)
+#LIB_DEPENDS+=	FLAC:${PORTSDIR}/audio/flac
+#.else
+CONFIGURE_ARGS+=--disable-flac
+#.endif
+
+.if !defined(WITHOUT_MP3)
+LIB_DEPENDS+=	id3tag:${PORTSDIR}/audio/libid3tag
+.else
+CONFIGURE_ARGS+=--disable-mp3
+.endif
+
+.if defined(WITH_ID3V23)
+LIB_DEPENDS+=	id3:${PORTSDIR}/audio/id3lib
+.else
+CONFIGURE_ARGS+=--disable-id3v23
+.endif
+
+.if !defined(WITHOUT_MPEG4IP)
+LIB_DEPENDS+=	mp4v2:${PORTSDIR}/multimedia/mpeg4ip-libmp4v2
+.else
+CONFIGURE_ARGS+=--disable-mp4
+.endif
+
+.if defined(WITH_SPEEX)
+LIB_DEPENDS+=	speex:${PORTSDIR}/audio/speex
 .else
-CONFIGURE_ARGS+=	--disable-wavpack
+CONFIGURE_ARGS+=--disable-speex
 .endif
 
-.if defined(WITHOUT_ID3V23)
-CONFIGURE_ARGS+=	--disable-id3v23
+.if !defined(WITHOUT_VORBIS)
+LIB_DEPENDS+=	vorbis:${PORTSDIR}/audio/libvorbis
+.else
+CONFIGURE_ARGS+=--disable-ogg
+.endif
+
+.if defined(WITH_WAVPACK)
+LIB_DEPENDS+=	wavpack:${PORTSDIR}/audio/wavpack
 .else
-LIB_DEPENDS+=		id3:${PORTSDIR}/audio/id3lib
+CONFIGURE_ARGS+=--disable-wavpack
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/audio/easytag-devel/distinfo,v
retrieving revision 1.36
diff -u -r1.36 distinfo
--- distinfo	2 Aug 2007 18:30:04 -0000	1.36
+++ distinfo	25 Feb 2008 23:04:06 -0000
@@ -1,3 +1,3 @@
-MD5 (easytag-2.1.2.tar.bz2) = 4b741e8ddf809d989a012d20a5a969aa
-SHA256 (easytag-2.1.2.tar.bz2) = 921d3a4011d91eedbe3b4c7a99d13dba8f1c79f13b9048154a30e86bdb7a43d1
-SIZE (easytag-2.1.2.tar.bz2) = 2954397
+MD5 (easytag-2.1.4.tar.bz2) = 201bd38a73100e14fb6d81243a9c3a1b
+SHA256 (easytag-2.1.4.tar.bz2) = 7a06b4f5e71d2df1434e99c5ad19027fddaaf30cf1e10457f2963948a1f18cc4
+SIZE (easytag-2.1.4.tar.bz2) = 3242736
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/audio/easytag-devel/pkg-plist,v
retrieving revision 1.18
diff -u -r1.18 pkg-plist
--- pkg-plist	24 Oct 2007 23:34:44 -0000	1.18
+++ pkg-plist	25 Feb 2008 23:04:06 -0000
@@ -1,8 +1,8 @@
 bin/easytag
 share/applications/easytag.desktop
-share/easytag/ChangeLog
-share/easytag/EasyTAG_logo.xpm
-share/pixmaps/EasyTAG.xpm
+%%DATADIR%%/ChangeLog
+%%DATADIR%%/EasyTAG_logo.xpm
+share/pixmaps/EasyTAG_icon.xpm
 share/locale/bg/LC_MESSAGES/easytag.mo
 share/locale/cs/LC_MESSAGES/easytag.mo
 share/locale/da/LC_MESSAGES/easytag.mo
@@ -19,10 +19,13 @@
 share/locale/pt_BR/LC_MESSAGES/easytag.mo
 share/locale/ro/LC_MESSAGES/easytag.mo
 share/locale/ru/LC_MESSAGES/easytag.mo
+share/locale/sr/LC_MESSAGES/easytag.mo
+share/locale/sr at Latn/LC_MESSAGES/easytag.mo
 share/locale/sv/LC_MESSAGES/easytag.mo
 share/locale/uk/LC_MESSAGES/easytag.mo
 share/locale/zh_CN/LC_MESSAGES/easytag.mo
- at dirrm share/easytag
+share/locale/zh_TW/LC_MESSAGES/easytag.mo
+ at dirrm %%DATADIR%%
 @exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
 @unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
 @dirrmtry share/applications
Index: files/patch-src-mp4_tag.c
===================================================================
RCS file: files/patch-src-mp4_tag.c
diff -N files/patch-src-mp4_tag.c
--- files/patch-src-mp4_tag.c	2 Oct 2007 18:55:05 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,11 +0,0 @@
---- src/mp4_tag.c.orig	2007-10-02 22:37:42.000000000 +0400
-+++ src/mp4_tag.c	2007-10-02 22:39:54.000000000 +0400
-@@ -185,7 +185,7 @@
-      * Picture *
-      ***********/
-     // There is only one picture!
--    if ( MP4GetMetadataCoverArt( mp4file, &coverArt, &coverSize ) )
-+    if ( MP4GetMetadataCoverArt( mp4file, &coverArt, &coverSize, 0 ) )
-     {
-         Picture *pic = Picture_Allocate();
-         pic->size = coverSize;
Index: files/patch-src__mp4_tag.c
===================================================================
RCS file: files/patch-src__mp4_tag.c
diff -N files/patch-src__mp4_tag.c
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-src__mp4_tag.c	25 Feb 2008 23:04:06 -0000
@@ -0,0 +1,11 @@
+--- ./src/mp4_tag.c.orig	2008-02-26 01:23:44.000000000 +0300
++++ ./src/mp4_tag.c	2008-02-26 01:24:07.000000000 +0300
+@@ -83,7 +83,7 @@
+     uint16_t track, track_total;
+     uint16_t disk, disktotal;
+     u_int8_t *coverArt;
+-    u_int32_t coverSize;
++    u_int32_t coverSize, i;
+     Picture *prev_pic = NULL;
+ 
+     if (!filename || !FileTag)
--- easytag-devel-2.1.4.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list