Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 May 2012 02:45:20 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/168023: deskutils/cdcat: Update to version 2.0
Message-ID:  <20120518024520.910924fa.tkato432@yahoo.com>
Resent-Message-ID: <201205171810.q4HIA2Q9098824@freefall.freebsd.org>

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

>Number:         168023
>Category:       ports
>Synopsis:       deskutils/cdcat: Update to version 2.0
>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:   Thu May 17 18:10:02 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p5 i386
>Organization:
>Environment:
>Description:
- Update to version 2.0

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/deskutils/cdcat/Makefile deskutils/cdcat/Makefile
--- /usr/ports/deskutils/cdcat/Makefile	2012-04-22 03:48:30.000000000 +0900
+++ deskutils/cdcat/Makefile	2012-05-15 02:21:35.000000000 +0900
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	cdcat
-PORTVERSION=	1.9
+PORTVERSION=	2.0
 CATEGORIES=	deskutils
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} \
 		GOOGLE_CODE:lib7zip
@@ -30,7 +30,7 @@
 PROJECTHOST=	lib7zip
 USE_BZIP2=	yes
 USE_QT_VER=	4
-QT_COMPONENTS=	corelib gui qt3support xml \
+QT_COMPONENTS=	corelib gui xml \
 		linguist_build moc_build qmake_build uic_build
 INSTALLS_ICONS=	yes
 MAKE_JOBS_SAFE=	yes
@@ -41,7 +41,10 @@
 		LIBS+="${L7Z_WRKSRC}/Lib7Zip/lib7zip.a" \
 		LIBS+="${MIF_WRKSRC}/MediaInfoLib/Project/GNU/Library/.libs/libmediainfo.a" \
 		LIBS+="${MIF_WRKSRC}/ZenLib/Project/GNU/Library/.libs/libzen.a" \
-		DEFINES+="MEDIAINFO_STATIC"
+		LIBS+="-lz -lbz2 -ltar -lexif" \
+		DEFINES+="MEDIAINFO_STATIC" \
+		DEFINES+="MEDIAINFO_UNICODE" \
+		DEFINES+="USE_LIBEXIF"
 LRELEASE=	${QT_PREFIX}/bin/lrelease-qt4
 
 # spoof tinderbox: build deps for multimedia/mediainfo
@@ -74,13 +77,7 @@
 
 post-patch:
 	@${REINPLACE_CMD} -e \
-		'/lib7zip.a/s|^|#| ; \
-		 /-lmediainfo/s|^|#| ; \
-		 /libmediainfo/s|^|#| ; \
-		 s|-ldl|| ; \
-		 s|-std=c++0x || ; \
-		 s|-g || ; \
-		 s|-O2 ||' ${BUILD_WRKSRC}/${PORTNAME}.pro
+		'/LIBS/s|^|#|' ${BUILD_WRKSRC}/${PORTNAME}.pro
 	@${REINPLACE_CMD} -e \
 		's|/dev/sr0|/dev/cd0|' ${BUILD_WRKSRC}/config.cpp
 	@${REINPLACE_CMD} -e \
diff -urN /usr/ports/deskutils/cdcat/distinfo deskutils/cdcat/distinfo
--- /usr/ports/deskutils/cdcat/distinfo	2012-04-22 03:48:30.000000000 +0900
+++ deskutils/cdcat/distinfo	2012-05-15 01:31:29.000000000 +0900
@@ -1,4 +1,4 @@
-SHA256 (cdcat-1.9.tar.bz2) = d9c83835e3544a1316bc4a10d5fb0efe19f556994424e5520f7edb2ce5f874da
-SIZE (cdcat-1.9.tar.bz2) = 367729
+SHA256 (cdcat-2.0.tar.bz2) = d9c6dd6d1ab0b997e35446c0370f03e69a40ac7f49492c3c70ae6224c568970a
+SIZE (cdcat-2.0.tar.bz2) = 382091
 SHA256 (lib7zip-1.4.1.tar.gz) = 20efb640c43c5d05e1f8d641eb0d01f8712648fe7989f275ec5b2997641316d9
 SIZE (lib7zip-1.4.1.tar.gz) = 95080
>Release-Note:
>Audit-Trail:
>Unformatted:



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