From owner-svn-ports-all@FreeBSD.ORG Wed Jan 8 16:13:05 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 38D05FE5; Wed, 8 Jan 2014 16:13:05 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 235CC1856; Wed, 8 Jan 2014 16:13:05 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s08GD5wb054021; Wed, 8 Jan 2014 16:13:05 GMT (envelope-from nemysis@svn.freebsd.org) Received: (from nemysis@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s08GD3UE054014; Wed, 8 Jan 2014 16:13:03 GMT (envelope-from nemysis@svn.freebsd.org) Message-Id: <201401081613.s08GD3UE054014@svn.freebsd.org> From: Rusmir Dusko Date: Wed, 8 Jan 2014 16:13:03 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r339154 - in head/sysutils/dvdisaster: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jan 2014 16:13:05 -0000 Author: nemysis Date: Wed Jan 8 16:13:03 2014 New Revision: 339154 URL: http://svnweb.freebsd.org/changeset/ports/339154 Log: - Update to 0.72.5 [1] - Pass maintainership to submitter - Remove LICENSE_FILE [1] - USES gmake instead of USE_GMAKE [1] - Change CONFIGURE_ARGS [1] - Remove PORTSCOUT [1] - Support STAGEDIR and add OPTIONS_SUB [1] - Add DOCS and NLS Option [1] - Use NLS_USES=gettext instead of USES=gettext [1] - Fix build with Clang [1] - Disable all warnings with -w - Add patch and REINPLACE_CMD, fix bad C++ code - Add patch-GNUmakefile.template, adjust install [1] - Change pkg-message [1] PR: ports/183838 [1] Submitted by: Horia Racoviceanu Approved by: maintainer (Corey Halpin ) Added: head/sysutils/dvdisaster/files/ head/sysutils/dvdisaster/files/patch-GNUmakefile.template (contents, props changed) head/sysutils/dvdisaster/files/patch-tools__memory.c (contents, props changed) Modified: head/sysutils/dvdisaster/Makefile head/sysutils/dvdisaster/distinfo (contents, props changed) head/sysutils/dvdisaster/pkg-message (contents, props changed) head/sysutils/dvdisaster/pkg-plist Modified: head/sysutils/dvdisaster/Makefile ============================================================================== --- head/sysutils/dvdisaster/Makefile Wed Jan 8 16:12:38 2014 (r339153) +++ head/sysutils/dvdisaster/Makefile Wed Jan 8 16:13:03 2014 (r339154) @@ -2,45 +2,51 @@ # $FreeBSD$ PORTNAME= dvdisaster -PORTVERSION= 0.72.4 -PORTREVISION= 1 +PORTVERSION= 0.72.5 CATEGORIES= sysutils MASTER_SITES= http://dvdisaster.net/downloads/ -MAINTAINER= chalpin@cs.wisc.edu +MAINTAINER= horia@racoviceanu.com COMMENT= CD/DVD error recovery tool LICENSE= GPLv2 -LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash MAKEFILE= GNUmakefile +USES= gmake pkgconfig USE_BZIP2= yes -USES= gettext pkgconfig USE_GNOME= gtk20 +CONFIGURE_LOG= configure.log CONFIGURE_ARGS= --prefix=${PREFIX} \ --docsubdir="/" \ --png-includes=${LOCALBASE}/include \ - --png-libraries=${LOCALBASE}/lib -USE_GMAKE= yes -MAKE_JOBS_UNSAFE=yes - -.if defined(NOPORTDOCS) -CONFIGURE_ARGS+= --docdir=${WRKSRC} -.else -CONFIGURE_ARGS+= --docdir=${DOCSDIR} -.endif + --png-libraries=${LOCALBASE}/lib \ + --phpmountdir=${LOCALBASE}/www/${PORTNAME} \ + --mandir=${PREFIX}/man \ + --localedir=${PREFIX}/share/locale \ + --buildroot=${STAGEDIR} +MAKE_JOBS_UNSAFE= yes PORTDOCS= * -PORTSCOUT= limitw:1,even +OPTIONS_DEFINE= DOCS NLS +OPTIONS_SUB= yes -MAN1= dvdisaster.1 -MANLANG= "" cs de it +DOCS_CONFIGURE_ON= --docdir=${DOCSDIR} +DOCS_CONFIGURE_OFF= --docdir=${WRKSRC} + +NLS_USES= gettext + +post-patch: + ${REINPLACE_CMD} -e '/REQUIRE_GCC/d' \ + ${WRKSRC}/configure ${WRKSRC}/tools/configure + ${REINPLACE_CMD} -e 's|$$(CFG_GTK2_CFLAGS)|$$(CFG_GTK2_CFLAGS) -w|' \ + ${WRKSRC}/GNUmakefile.template + ${REINPLACE_CMD} -e 's|(ctx)|(*ctx)|' \ + ${WRKSRC}/md5.c -NO_STAGE= yes do-configure: @(cd ${CONFIGURE_WRKSRC} && \ if ! ${SETENV} CC="${CC}" CXX="${CXX}" \ @@ -50,12 +56,9 @@ do-configure: INSTALL_PROGRAM="${INSTALL_PROGRAM}" \ INSTALL_SCRIPT="${INSTALL_SCRIPT}" \ ${CONFIGURE_ENV} bash configure ${CONFIGURE_ARGS}; then \ - ${ECHO_CMD} "===> Script \"${CONFIGURE_SCRIPT}\" failed unexpectedly."; \ - (${ECHO_CMD} ${CONFIGURE_FAIL_MESSAGE}) | ${FMT} 75 79 ; \ - ${FALSE}; \ + ${ECHO_CMD} "===> Script \"${CONFIGURE_SCRIPT}\" failed unexpectedly."; \ + (${ECHO_CMD} ${CONFIGURE_FAIL_MESSAGE}) | ${FMT} 75 79 ; \ + ${FALSE}; \ fi) -post-install: - @${CAT} ${PKGMESSAGE} - .include Modified: head/sysutils/dvdisaster/distinfo ============================================================================== --- head/sysutils/dvdisaster/distinfo Wed Jan 8 16:12:38 2014 (r339153) +++ head/sysutils/dvdisaster/distinfo Wed Jan 8 16:13:03 2014 (r339154) @@ -1,2 +1,2 @@ -SHA256 (dvdisaster-0.72.4.tar.bz2) = 444763bc40bcc8c396ecd7af0d5d6dd8c458009d4ed62af74ef54074541aa05e -SIZE (dvdisaster-0.72.4.tar.bz2) = 5097738 +SHA256 (dvdisaster-0.72.5.tar.bz2) = dd19e69d2ad361458cb5250d63ae6a483914f7fddeaa3593030e60ea65c4cfe0 +SIZE (dvdisaster-0.72.5.tar.bz2) = 5065440 Added: head/sysutils/dvdisaster/files/patch-GNUmakefile.template ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/dvdisaster/files/patch-GNUmakefile.template Wed Jan 8 16:13:03 2014 (r339154) @@ -0,0 +1,35 @@ +--- ./GNUmakefile.template.orig 2013-11-25 05:07:19.000000000 +0000 ++++ ./GNUmakefile.template 2013-11-25 05:08:26.000000000 +0000 +@@ -356,19 +356,19 @@ + install -m 644 $$i/LC_MESSAGES/dvdisaster.mo $(BUILDROOT)$(LOCALEDIR)/$$i/LC_MESSAGES; \ + done \ + fi +- @echo "# dvdisaster uninstaller script" > $(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh +- @echo "# Usage: sh dvdisaster-uninstall.sh" >> $(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh +- @echo >> $(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh +- @echo "rm -f $(BINDIR)/dvdisaster $(BINDIR)/dvdisaster.exe $(BINDIR)/dvdisaster-win.exe $(BINDIR)/dvdisaster-uninstall.sh" >> $(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh +- @echo "rm -rf $(DOCSUBDIR)" >> $(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh +- @echo "rm -f $(MANDIR)/man1/dvdisaster.1" >> $(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh +- @for i in $(PO_LOCALES); do \ +- echo "rm $(LOCALEDIR)/$$i/LC_MESSAGES/dvdisaster.mo" >> $(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh ; \ +- done +- @for i in $(MAN_LOCALES); do \ +- echo "rm $(MANDIR)/$$i/man1/dvdisaster.1" >> $(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh ; \ +- done +- @echo "echo \"dvdisaster has been uninstalled.\"" >> $(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh ++# @echo "# dvdisaster uninstaller script" > $(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh ++# @echo "# Usage: sh dvdisaster-uninstall.sh" >> $(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh ++# @echo >> $(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh ++# @echo "rm -f $(BINDIR)/dvdisaster $(BINDIR)/dvdisaster.exe $(BINDIR)/dvdisaster-win.exe $(BINDIR)/dvdisaster-uninstall.sh" >> $(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh ++# @echo "rm -rf $(DOCSUBDIR)" >> $(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh ++# @echo "rm -f $(MANDIR)/man1/dvdisaster.1" >> $(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh ++# @for i in $(PO_LOCALES); do \ ++# echo "rm $(LOCALEDIR)/$$i/LC_MESSAGES/dvdisaster.mo" >> $(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh ; \ ++# done ++# @for i in $(MAN_LOCALES); do \ ++# echo "rm $(MANDIR)/$$i/man1/dvdisaster.1" >> $(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh ; \ ++# done ++# @echo "echo \"dvdisaster has been uninstalled.\"" >> $(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh + + uninstall: + @echo "Uninstalling package..." Added: head/sysutils/dvdisaster/files/patch-tools__memory.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/dvdisaster/files/patch-tools__memory.c Wed Jan 8 16:13:03 2014 (r339154) @@ -0,0 +1,11 @@ +--- ./tools/memory.c.orig 2012-03-26 14:46:05.000000000 +0200 ++++ ./tools/memory.c 2014-01-08 14:13:28.000000000 +0100 +@@ -165,7 +165,7 @@ + static void print_ptrs(char *msg) + { int bucket,i,n=0; + +- fprintf(stdout, msg); ++ fprintf(stdout, "msg\n"); + + for(bucket=0; bucket<64; bucket++) + for(i=0; i