Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 May 2006 14:42:29 GMT
From:      Aren Tyr <aren.tyr@gawab.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/96828: New port: sysutils/cdcat A QT based tool for offline CD/DVD/disk catalogs
Message-ID:  <200605051442.k45EgTiW028491@www.freebsd.org>
Resent-Message-ID: <200605051450.k45EoIpn081462@freefall.freebsd.org>

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

>Number:         96828
>Category:       ports
>Synopsis:       New port: sysutils/cdcat  A QT based tool for offline CD/DVD/disk catalogs
>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:   Fri May 05 14:50:18 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Aren Tyr
>Release:        6-STABLE
>Organization:
>Environment:
FreeBSD Yggdrasil 6.0-RELEASE FreeBSD 6.0-RELEASE #3: Thu Apr  6 17:51:20 BST 2006     aren@Yggdrasil:/usr/src/sys/i386/compile/SLEIPNIR  i386
>Description:
cdcat is a powerful QT based tool for creating fully searcheable offline
catalogs of the contents of any arbitrary media. Primarily it is most
useful for cataloging CDs, DVDs, and other such removeable media. The
catalogs can be quickly searched (including across multiple catalogs)
with regular expressions, exported as CSV or HTML files, sorted, and
statistical information gathered.

WWW: http://cdcat.sourceforge.net/

>How-To-Repeat:
A QT based tool for offline CD/DVD/disk catalogs
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	cdcat
#	cdcat/pkg-descr
#	cdcat/patches
#	cdcat/patches/patch-src-recode.cpp
#	cdcat/patches/patch-src-tparser.cpp
#	cdcat/distinfo
#	cdcat/Makefile
#
echo c - cdcat
mkdir -p cdcat > /dev/null 2>&1
echo x - cdcat/pkg-descr
sed 's/^X//' >cdcat/pkg-descr << 'END-of-cdcat/pkg-descr'
Xcdcat is a powerful QT based tool for creating fully searcheable offline
Xcatalogs of the contents of any arbitrary media. Primarily it is most
Xuseful for cataloging CDs, DVDs, and other such removeable media. The
Xcatalogs can be quickly searched (including across multiple catalogs)
Xwith regular expressions, exported as CSV or HTML files, sorted, and
Xstatistical information gathered.
X
XWWW: http://cdcat.sourceforge.net/
END-of-cdcat/pkg-descr
echo c - cdcat/patches
mkdir -p cdcat/patches > /dev/null 2>&1
echo x - cdcat/patches/patch-src-recode.cpp
sed 's/^X//' >cdcat/patches/patch-src-recode.cpp << 'END-of-cdcat/patches/patch-src-recode.cpp'
X*** ./recode.cpp	Mon Aug 22 18:03:00 2005
X--- ../../cdcat.bsd/src/recode.cpp	Sun Apr 30 19:47:51 2006
X***************
X*** 12,18 ****
X  #include <string.h>
X  #include <stdio.h>
X  #include <stdlib.h>
X! #include <malloc.h>
X  #include <ctype.h>
X  
X  char *recode2(const char *c)
X--- 12,18 ----
X  #include <string.h>
X  #include <stdio.h>
X  #include <stdlib.h>
X! /* #include <malloc.h> */
X  #include <ctype.h>
X  
X  char *recode2(const char *c)
END-of-cdcat/patches/patch-src-recode.cpp
echo x - cdcat/patches/patch-src-tparser.cpp
sed 's/^X//' >cdcat/patches/patch-src-tparser.cpp << 'END-of-cdcat/patches/patch-src-tparser.cpp'
X*** ./tparser.cpp	Mon Sep 19 21:52:00 2005
X--- ../../cdcat.bsd/src/tparser.cpp	Sun Apr 30 19:56:55 2006
X***************
X*** 27,33 ****
X   */
X  //#include <iostream.h>
X  //#include <stdio.h>
X! #include <malloc.h>
X  #include <qstring.h>
X  
X  #include "tparser.h"
X--- 27,34 ----
X   */
X  //#include <iostream.h>
X  //#include <stdio.h>
X! /*#include <malloc.h> */
X! #include <stdlib.h>
X  #include <qstring.h>
X  
X  #include "tparser.h"
END-of-cdcat/patches/patch-src-tparser.cpp
echo x - cdcat/distinfo
sed 's/^X//' >cdcat/distinfo << 'END-of-cdcat/distinfo'
XMD5 (cdcat-1.01.tar.bz2) = 3c69cb9f43349d4c7fddba6c2ea988fb
XSHA256 (cdcat-1.01.tar.bz2) = 90dac1b15bbf7c988ddc15d9daf0ddfe0639a9a736715a2ab12acc61b17ef8b9
XSIZE (cdcat-1.01.tar.bz2) = 328192
END-of-cdcat/distinfo
echo x - cdcat/Makefile
sed 's/^X//' >cdcat/Makefile << 'END-of-cdcat/Makefile'
X# New ports collection makefile for:	cdcat
X# Date created: 			04 May 2006
X# Whom: 				Aren Tyr <aren.tyr@gawab.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	cdcat
XPORTVERSION=	1.01
XCATEGORIES=	sysutils
XMASTER_SITES=	http://cdcat.sourceforge.net/
XUSE_BZIP2=	yes
XDISTNAME=	${PORTNAME}-1.01
XMAINTAINER=	aren.tyr@gawab.com
XCOMMENT=	A QT based tool for offline CD/DVD/disk catalogs
XBUILD_DEPENDS=	qmake:${PORTSDIR}/devel/qmake
XPATCHDIR=	patches
XWRKSRC=		${WRKDIR}/CdCat-${PORTVERSION}/src
XQTDIR?=		${X11BASE}
XUSE_QT_VER=	3
XUSE_GMAKE=	yes
XPLIST=		${WRKDIR}/pkg-plist
XMAKE_ENV=	QTDIR="${QTDIR}" MAKE="${GMAKE}" \
X		QMAKESPEC="${LOCALBASE}/share/qt/mkspecs/freebsd-g++"
X
X.include <bsd.port.pre.mk>
X
XPLIST_FILES=	bin/cdcat \
X		share/cdcat/Authors \
X		share/cdcat/COPYING \
X		share/cdcat/ChangeLog \
X		share/cdcat/README \
X		share/cdcat/TRANSLATORS_README \
X		share/cdcat/cdcat.png \
X		share/cdcat/translations/cdcat_cz.qm \
X		share/cdcat/translations/cdcat_de.qm \
X		share/cdcat/translations/cdcat_el.qm \
X		share/cdcat/translations/cdcat_es.qm \
X		share/cdcat/translations/cdcat_fr.qm \
X		share/cdcat/translations/cdcat_hu.qm \
X		share/cdcat/translations/cdcat_id.qm \
X		share/cdcat/translations/cdcat_it.qm \
X		share/cdcat/translations/cdcat_pl.qm \
X		share/cdcat/translations/cdcat_pt.qm \
X		share/cdcat/translations/cdcat_sk.qm
XPLIST_DIRS=	share/cdcat/translations \
X		share/cdcat
X
Xpre-configure:
X	cd ${WRKSRC} && ${MAKE_ENV} qmake cdcat.pro
X.if defined(WITH_KDE)
XPLIST_DIRS+=		share/apps/cdcat
XPLIST_FILES+=		share/applications/kde/cdcat.desktop \
X			share/apps/cdcat/cdcat.png
X.endif
X
Xpost-install:
X.if defined(WITH_KDE)
X	${INSTALL_DATA} ${WRKSRC}/../KDE/cdcat.desktop ${LOCALBASE}/share/applications/kde
X	${MKDIR} ${LOCALBASE}/share/apps/cdcat
X	${LN} ${LOCALBASE}/share/cdcat/cdcat.png ${LOCALBASE}/share/apps/cdcat
X.endif
X
X	${STRIP_CMD} ${LOCALBASE}/bin/cdcat
X
X.include <bsd.port.post.mk>
END-of-cdcat/Makefile
exit
>Release-Note:
>Audit-Trail:
>Unformatted:



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