Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Apr 2012 03:15:33 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/166878: deskutils/cdcat: Update to version 1.9
Message-ID:  <20120413031533.3760547c.tkato432@yahoo.com>
Resent-Message-ID: <201204121840.q3CIeA76019182@freefall.freebsd.org>

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

>Number:         166878
>Category:       ports
>Synopsis:       deskutils/cdcat: Update to version 1.9
>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 Apr 12 18:40:09 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p5 i386
>Organization:
>Environment:
>Description:
- Update to version 1.9

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/deskutils/cdcat/Makefile deskutils/cdcat/Makefile
--- /usr/ports/deskutils/cdcat/Makefile	2012-03-04 21:29:05.000000000 +0900
+++ deskutils/cdcat/Makefile	2012-03-30 20:30:21.000000000 +0900
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	cdcat
-PORTVERSION=	1.8
+PORTVERSION=	1.9
 CATEGORIES=	deskutils
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} \
 		GOOGLE_CODE:lib7zip
@@ -22,7 +22,8 @@
 
 BUILD_DEPENDS=	${NONEXISTENT}:${PORTSDIR}/archivers/p7zip:patch \
 		${NONEXISTENT}:${PORTSDIR}/multimedia/mediainfo:build
-LIB_DEPENDS=	tar.0:${PORTSDIR}/devel/libtar
+LIB_DEPENDS=	tar.0:${PORTSDIR}/devel/libtar \
+		exif.12:${PORTSDIR}/graphics/libexif
 
 BUILD_WRKSRC=	${WRKSRC}/src
 
@@ -31,6 +32,7 @@
 USE_QT_VER=	4
 QT_COMPONENTS=	corelib gui qt3support xml \
 		linguist_build moc_build qmake_build uic_build
+INSTALLS_ICONS=	yes
 MAKE_JOBS_SAFE=	yes
 
 QMAKEFLAGS+=	INCLUDEPATH+="${L7Z_WRKSRC}/Lib7Zip" \
@@ -43,13 +45,17 @@
 LRELEASE=	${QT_PREFIX}/bin/lrelease-qt4
 
 # spoof tinderbox: build deps for multimedia/mediainfo
-USE_AUTOTOOLS=	automake:env autoconf:env libtool:env
+USE_AUTOTOOLS=	autoconf:env automake:env libtool:env
 
 PORTDOCS=	Authors ChangeLog README TRANSLATORS_README
 PLIST_FILES=	bin/${PORTNAME} %%DATADIR%%/${PORTNAME}.png
 .for lang in cz de el es fr hu id it pl pt sk sr
 PLIST_FILES+=	%%DATADIR%%/translations/${PORTNAME}_${lang}.qm
 .endfor
+.for size in 16 22 32 48 64
+PLIST_FILES+=	share/icons/hicolor/${size}x${size}/apps/${PORTNAME}_logo.png
+.endfor
+PLIST_FILES+=	share/icons/hicolor/scalable/apps/${PORTNAME}_logo.svg
 PLIST_DIRS=	%%DATADIR%%/translations %%DATADIR%%
 
 L7Z_NAME=	lib7zip
@@ -59,8 +65,8 @@
 
 .include <bsd.port.pre.mk>
 
-P7Z_WRKSRC!=	cd ${PORTSDIR}/archivers/p7zip && ${MAKE} -V WRKSRC
-MIF_WRKSRC!=	cd ${PORTSDIR}/multimedia/mediainfo && ${MAKE} -V WRKSRC
+P7Z_WRKSRC=	$$(cd ${PORTSDIR}/archivers/p7zip && ${MAKE} -V WRKSRC)
+MIF_WRKSRC=	$$(cd ${PORTSDIR}/multimedia/mediainfo && ${MAKE} -V WRKSRC)
 
 post-extract:
 	@${GZCAT} ${DISTDIR}/${L7Z_DISTFILE} | (cd ${WRKDIR} && ${TAR} -xf -)
@@ -101,6 +107,14 @@
 	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.png ${DATADIR}
 	@${MKDIR} ${DATADIR}/translations
 	${INSTALL_DATA} ${BUILD_WRKSRC}/lang/*.qm ${DATADIR}/translations
+	@${MKDIR} ${PREFIX}/share/icons/hicolor/scalable/apps
+	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}_logo.svg \
+		${PREFIX}/share/icons/hicolor/scalable/apps/${PORTNAME}_logo.svg
+.for size in 16 22 32 48 64
+	@${MKDIR} ${PREFIX}/share/icons/hicolor/${size}x${size}/apps
+	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}_logo_${size}x${size}.png \
+		${PREFIX}/share/icons/hicolor/${size}x${size}/apps/${PORTNAME}_logo.png
+.endfor
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
 .for file in ${PORTDOCS}
diff -urN /usr/ports/deskutils/cdcat/distinfo deskutils/cdcat/distinfo
--- /usr/ports/deskutils/cdcat/distinfo	2012-03-04 21:29:06.000000000 +0900
+++ deskutils/cdcat/distinfo	2012-03-30 18:39:19.000000000 +0900
@@ -1,4 +1,4 @@
-SHA256 (cdcat-1.8.tar.bz2) = 0f535a544227e8ff7859f618ab81723e84ba8a2dc7684ace4d13d10127c6eb24
-SIZE (cdcat-1.8.tar.bz2) = 306422
+SHA256 (cdcat-1.9.tar.bz2) = d9c83835e3544a1316bc4a10d5fb0efe19f556994424e5520f7edb2ce5f874da
+SIZE (cdcat-1.9.tar.bz2) = 367729
 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?20120413031533.3760547c.tkato432>