ports/172037: multimedia/dvdauthor: Update to version 0.7.1
KATO Tsuguru
tkato432 at yahoo.com
Tue Sep 25 18:10:36 UTC 2012
>Number: 172037
>Category: ports
>Synopsis: multimedia/dvdauthor: Update to version 0.7.1
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Sep 25 18:10:36 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 7.4-RELEASE-p10 i386
>Organization:
>Environment:
>Description:
- Update to version 0.7.1
Remove file:
files/patch-spuunmux.c
pkg-plist
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/multimedia/dvdauthor/Makefile multimedia/dvdauthor/Makefile
--- /usr/ports/multimedia/dvdauthor/Makefile 2012-06-01 14:22:27.000000000 +0900
+++ multimedia/dvdauthor/Makefile 2012-09-25 03:38:18.000000000 +0900
@@ -1,69 +1,76 @@
-# New ports collection makefile for: dvdauthor
-# Date created: 20 April 2003
-# Whom: pb at FreeBSD.org
-#
+# Created by: pb at FreeBSD.org
# $FreeBSD: ports/multimedia/dvdauthor/Makefile,v 1.51 2012/06/01 05:22:27 dinoex Exp $
-#
PORTNAME= dvdauthor
-PORTVERSION= 0.7.0
-PORTREVISION= 3
+PORTVERSION= 0.7.1
CATEGORIES= multimedia
MASTER_SITES= SF
MAINTAINER= ports at FreeBSD.org
COMMENT= Makes a DVD file structure from one or more MPEG2 streams
-LIB_DEPENDS= dvdread.4:${PORTSDIR}/multimedia/libdvdread \
- fribidi.3:${PORTSDIR}/converters/fribidi \
- xml2.5:${PORTSDIR}/textproc/libxml2 \
- freetype.9:${PORTSDIR}/print/freetype2
+LICENSE= GPLv2
+
+LIB_DEPENDS= fribidi:${PORTSDIR}/converters/fribidi \
+ png15:${PORTSDIR}/graphics/png \
+ freetype:${PORTSDIR}/print/freetype2 \
+ fontconfig:${PORTSDIR}/x11-fonts/fontconfig
+
+OPTIONS_DEFINE= DVDREAD IMAGEMAGICK DOCS
+OPTIONS_DEFAULT=DVDREAD
+DVDREAD_DESC= Enable libdvdread support
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
USE_BISON= build
+USE_GNOME= libxml2
+USE_ICONV= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-WRKSRC= ${WRKDIR}/dvdauthor
-MAN1= dvdauthor.1 dvddirdel.1 dvdunauthor.1 mpeg2desc.1 spumux.1 spuunmux.1
+CONFIGURE_ENV= ac_cv_prog_GMAGICKCONFIG=no
+MAKE_JOBS_SAFE= yes
-.include <bsd.port.pre.mk>
-
-.if exists(${LOCALBASE}/lib/libfreetype.so.9)
-WITH_FREETYPE= yes
-.endif
-.if exists(${LOCALBASE}/lib/libiconv.so)
-WITH_ICONV= yes
-.endif
-.if exists(${LOCALBASE}/lib/libMagickWand.so.5)
-WITH_IMAGEMAGICK= yes
-.endif
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
-.if defined(WITH_ICONV)
-USE_ICONV= yes
-CFLAGS+= -DICONV_CONV=yes
-.endif
-.if defined(WITH_IMAGEMAGICK)
-LIB_DEPENDS+= MagickWand.5:${PORTSDIR}/graphics/ImageMagick
+MAN1= dvdauthor.1 \
+ dvddirdel.1 \
+ mpeg2desc.1 \
+ spumux.1 \
+ spuunmux.1
+PORTDOCS= README \
+ README.FreeBSD
+PLIST_FILES= bin/dvdauthor \
+ bin/dvddirdel \
+ bin/mpeg2desc \
+ bin/spumux \
+ bin/spuunmux \
+ %%DATADIR%%/common.xsd \
+ %%DATADIR%%/dvdauthor.xsd \
+ %%DATADIR%%/spumux.xsd
+PLIST_DIRS= %%DATADIR%%
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDVDREAD}
+LIB_DEPENDS+= dvdread:${PORTSDIR}/multimedia/libdvdread
+MAN1+= dvdunauthor.1
+PLIST_FILES+= bin/dvdunauthor
.else
-LIB_DEPENDS+= png15:${PORTSDIR}/graphics/png
+CONFIGURE_ARGS+=--disable-dvdunauthor
.endif
-pre-everything::
-.if !defined(WITH_ICONV)
- @${ECHO_MSG} "You can enable Iconv support by defining WITH_ICONV."
- @${ECHO_MSG}
-.endif
-.if !defined(WITH_IMAGEMAGICK)
- @${ECHO_MSG} "You can enable ImageMagick support by defining WITH_IMAGEMAGICK."
- @${ECHO_MSG}
+.if ${PORT_OPTIONS:MIMAGEMAGICK}
+LIB_DEPENDS+= MagickCore:${PORTSDIR}/graphics/ImageMagick
+.else
+CONFIGURE_ENV+= ac_cv_prog_MAGICKCONFIG=no
.endif
post-install:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/dvdauthor
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/dvdauthor
- ${INSTALL_DATA} ${FILESDIR}/README.FreeBSD ${PREFIX}/share/doc/dvdauthor
+.if ${PORT_OPTIONS:MDOCS}
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+ ${INSTALL_DATA} ${FILESDIR}/README.FreeBSD ${DOCSDIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -urN /usr/ports/multimedia/dvdauthor/distinfo multimedia/dvdauthor/distinfo
--- /usr/ports/multimedia/dvdauthor/distinfo 2011-09-17 03:40:27.000000000 +0900
+++ multimedia/dvdauthor/distinfo 2012-09-13 18:43:40.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (dvdauthor-0.7.0.tar.gz) = aea6af7b99eba38ffa9dc5ad1521c2cc652e043cea0e7482e239d2a3fc2f34d0
-SIZE (dvdauthor-0.7.0.tar.gz) = 414191
+SHA256 (dvdauthor-0.7.1.tar.gz) = 501fb11b09c6eb9c5a229dcb400bd81e408cc78d34eab6749970685023c51fe9
+SIZE (dvdauthor-0.7.1.tar.gz) = 421324
diff -urN /usr/ports/multimedia/dvdauthor/files/patch-spuunmux.c multimedia/dvdauthor/files/patch-spuunmux.c
--- /usr/ports/multimedia/dvdauthor/files/patch-spuunmux.c 2012-06-01 14:22:27.000000000 +0900
+++ multimedia/dvdauthor/files/patch-spuunmux.c 1970-01-01 09:00:00.000000000 +0900
@@ -1,19 +0,0 @@
---- src/spuunmux.c.orig 2010-05-10 09:27:55.000000000 +0200
-+++ src/spuunmux.c 2012-04-27 10:44:31.000000000 +0200
-@@ -39,6 +39,7 @@
- #include <netinet/in.h>
-
- #include <png.h>
-+#include <zlib.h>
-
- #include "rgb.h"
- #include "common.h"
-@@ -610,7 +611,7 @@
- png_destroy_write_struct(&png_ptr, (png_infopp)NULL);
- return -1;
- } /*if*/
-- if (setjmp(png_ptr->jmpbuf))
-+ if (setjmp(png_jmpbuf(png_ptr)))
- {
- png_destroy_write_struct(&png_ptr, &info_ptr);
- fclose(fp);
diff -urN /usr/ports/multimedia/dvdauthor/pkg-plist multimedia/dvdauthor/pkg-plist
--- /usr/ports/multimedia/dvdauthor/pkg-plist 2005-12-27 11:14:54.000000000 +0900
+++ multimedia/dvdauthor/pkg-plist 1970-01-01 09:00:00.000000000 +0900
@@ -1,12 +0,0 @@
-bin/dvdauthor
-bin/dvddirdel
-bin/dvdunauthor
-bin/mpeg2desc
-bin/spumux
-bin/spuunmux
-share/dvdauthor/dvdauthor.xsd
-share/dvdauthor/spumux.xsd
- at dirrm share/dvdauthor
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/README.FreeBSD
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list