Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Aug 2008 01:35:02 GMT
From:      Dierk Sacher <dierk@blaxxtarz.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/126582: [update][patch][fix] multimedia/ffmpegthumbnailer: fix build with new ffmpeg - upgrade to 1.2.6
Message-ID:  <200808170135.m7H1Z2XQ030356@www.freebsd.org>
Resent-Message-ID: <200808170140.m7H1e1Hd050928@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         126582
>Category:       ports
>Synopsis:       [update][patch][fix] multimedia/ffmpegthumbnailer: fix build with new ffmpeg - upgrade to 1.2.6
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 17 01:40:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Dierk Sacher
>Release:        7.0
>Organization:
DSITC
>Environment:
>Description:
This updates the port to 1.2.6 while fixing build with new versions of ffmpeg. 

new files: pkg-plist
remove files: patch-src_Makefile.in
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -u -r -N ffmpegthumbnailer.old/Makefile ffmpegthumbnailer/Makefile
--- ffmpegthumbnailer.old/Makefile	2008-03-06 23:19:49.000000000 +0100
+++ ffmpegthumbnailer/Makefile	2008-08-17 03:12:26.000000000 +0200
@@ -5,7 +5,7 @@
 # $FreeBSD: ports/multimedia/ffmpegthumbnailer/Makefile,v 1.2 2008/03/06 22:19:49 edwin Exp $
 
 PORTNAME=	ffmpegthumbnailer
-PORTVERSION=	1.1.5
+PORTVERSION=	1.2.6
 CATEGORIES=	multimedia graphics
 MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
 
@@ -13,13 +13,15 @@
 COMMENT=	Lightweight video thumbnailer that can be used by file managers
 
 LIB_DEPENDS=	png:${PORTSDIR}/graphics/png \
-		avcodec:${PORTSDIR}/multimedia/ffmpeg
+		swscale:${PORTSDIR}/multimedia/ffmpeg \
+		jpeg.9:${PORTSDIR}/graphics/jpeg
+
+CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib"
+CONFIGURE_ARGS=	--with-pkgconfigdir=${LOCALBASE}/libdata/pkgconfig
 
 GNU_CONFIGURE=	yes
 USE_GZIP=	yes
 USE_GMAKE=	yes
 USE_GNOME=	pkgconfig
 
-PLIST_FILES=	bin/ffmpegthumbnailer
-
 .include <bsd.port.mk>
diff -u -r -N ffmpegthumbnailer.old/distinfo ffmpegthumbnailer/distinfo
--- ffmpegthumbnailer.old/distinfo	2008-02-25 10:09:59.000000000 +0100
+++ ffmpegthumbnailer/distinfo	2008-08-16 17:55:43.000000000 +0200
@@ -1,3 +1,3 @@
-MD5 (ffmpegthumbnailer-1.1.5.tar.gz) = 3fd10a22eb34e28bd670c8d9aa6b6d38
-SHA256 (ffmpegthumbnailer-1.1.5.tar.gz) = 6630cb76ae68b72fbe851d0c7232b5e6a94386e3febcfb06c36e37f48df7906a
-SIZE (ffmpegthumbnailer-1.1.5.tar.gz) = 84935
+MD5 (ffmpegthumbnailer-1.2.6.tar.gz) = 2bd0676354c623b29a2ee161befd74fd
+SHA256 (ffmpegthumbnailer-1.2.6.tar.gz) = 9381bfe784baa927b510e98a15a00097e904ed38d096b2649edf455107a79a69
+SIZE (ffmpegthumbnailer-1.2.6.tar.gz) = 317401
diff -u -r -N ffmpegthumbnailer.old/files/patch-src_Makefile.in ffmpegthumbnailer/files/patch-src_Makefile.in
--- ffmpegthumbnailer.old/files/patch-src_Makefile.in	2008-02-25 10:09:59.000000000 +0100
+++ ffmpegthumbnailer/files/patch-src_Makefile.in	1970-01-01 01:00:00.000000000 +0100
@@ -1,11 +0,0 @@
---- src/Makefile.in.orig	Sat Feb 16 11:07:19 2008
-+++ src/Makefile.in	Wed Feb 20 11:10:22 2008
-@@ -49,7 +49,7 @@
- am__DEPENDENCIES_1 =
- ffmpegthumbnailer_DEPENDENCIES = $(am__DEPENDENCIES_1) \
- 	$(am__DEPENDENCIES_1)
--DEFAULT_INCLUDES = -I.@am__isrc@
-+DEFAULT_INCLUDES = -I.@am__isrc@ @FFMPEG_CFLAGS@
- depcomp = $(SHELL) $(top_srcdir)/depcomp
- am__depfiles_maybe = depfiles
- CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
diff -u -r -N ffmpegthumbnailer.old/pkg-plist ffmpegthumbnailer/pkg-plist
--- ffmpegthumbnailer.old/pkg-plist	1970-01-01 01:00:00.000000000 +0100
+++ ffmpegthumbnailer/pkg-plist	2008-08-17 03:13:10.000000000 +0200
@@ -0,0 +1,11 @@
+bin/ffmpegthumbnailer
+include/libffmpegthumbnailer
+include/libffmpegthumbnailer/videothumbnailer.h
+include/libffmpegthumbnailer/videothumbnailerc.h
+include/libffmpegthumbnailer/imagetypes.h
+lib/libffmpegthumbnailer.so.2
+lib/libffmpegthumbnailer.so
+lib/libffmpegthumbnailer.la
+lib/libffmpegthumbnailer.a
+libdata/pkgconfig/libffmpegthumbnailer.pc
+@dirrm include/libffmpegthumbnailer


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808170135.m7H1Z2XQ030356>