FreeBSD Bugzilla – Attachment 147230 Details for
Bug 179116
New port: graphics/xcftools Command-line tools for extracting from Gimp's XCF format
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
graphics/xcftools: ShellArchive {v4}
v4_graphics_xcftools.shar (text/plain), 6.94 KB, created by
Kalten
on 2014-09-12 01:04:07 UTC
(
hide
)
Description:
graphics/xcftools: ShellArchive {v4}
Filename:
MIME Type:
Creator:
Kalten
Created:
2014-09-12 01:04:07 UTC
Size:
6.94 KB
patch
obsolete
># 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: ># ># graphics/xcftools ># graphics/xcftools/files ># graphics/xcftools/files/patch-test_dottest ># graphics/xcftools/files/patch-src_xcf2png.c ># graphics/xcftools/files/patch-src_io-unix.c ># graphics/xcftools/Makefile ># graphics/xcftools/pkg-descr ># graphics/xcftools/distinfo ># >echo c - graphics/xcftools >mkdir -p graphics/xcftools > /dev/null 2>&1 >echo c - graphics/xcftools/files >mkdir -p graphics/xcftools/files > /dev/null 2>&1 >echo x - graphics/xcftools/files/patch-test_dottest >sed 's/^X//' >graphics/xcftools/files/patch-test_dottest << '8242887679776ff40ecee0129146481d' >X--- test/dotest.orig 2013-02-12 19:30:10.000000000 +0100 >X+++ test/dotest 2014-09-11 05:58:19.000000000 +0200 >X@@ -31,6 +31,17 @@ >X keepgoing=1 >X fi >X >X+ >X+compare() { >X+ answer=`pamarith -compare "$1" "$2" 2>&1` >X+ result=$? >X+ if [ ! $result -eq 0 ]; then >X+ echo "$answer" >X+ fi >X+ return $result >X+} >X+ >X+ >X failed() { >X if (( lastfailed != totaltests )) >X then >X@@ -126,9 +137,9 @@ >X source="$1" >X shift >X testrun ${XCFTOOLS_PREFIX}xcf2pnm \ >X- -@ -oo.$oext $aopt source/$source.xcf.gz "$@" >X- [ -z "$oanswer" ] || cmp o.want o.$oext || failed >X- [ -z "$aanswer" ] || cmp a.want a.pnm || failed >X+ -oo.$oext $aopt source/$source.xcf.gz "$@" >X+ [ -z "$oanswer" ] || compare o.want o.$oext || failed >X+ [ -z "$aanswer" ] || compare a.want a.pnm || failed >X } >X >X testpng() { >X@@ -162,10 +173,10 @@ >X perl pngtype.pl < o.png > pngtype >X diff -u pngtype.want pngtype || failed >X pngtopnm $oargs o.png > o.pnm >X- cmp o.want o.pnm || failed >X+ compare o.want o.pnm || failed >X if [ "$afilter" != : ] ; then >X pngtopnm -alpha o.png > a.pnm >X- cmp a.want a.pnm || failed >X+ compare a.want a.pnm || failed >X fi >X rm pngtype.want >X } >X@@ -732,4 +743,4 @@ >X exit 0 >X fi >X >X-# End >X\ No newline at end of file >X+# End >8242887679776ff40ecee0129146481d >echo x - graphics/xcftools/files/patch-src_xcf2png.c >sed 's/^X//' >graphics/xcftools/files/patch-src_xcf2png.c << 'e883383437bfaefd4b676089594fb8cb' >X--- src/xcf2png.c.orig 2013-02-12 19:30:10.000000000 +0100 >X+++ src/xcf2png.c 2014-09-11 01:38:20.000000000 +0200 >X@@ -23,6 +23,13 @@ >X #include "palette.h" >X >X #include <png.h> >X+#ifndef png_voidp_NULL >X+#define png_voidp_NULL (png_voidp)NULL >X+#endif >X+#ifndef png_error_ptr_NULL >X+#define png_error_ptr_NULL (png_error_ptr)NULL >X+#endif >X+ >X #include <stdlib.h> >X #include <string.h> >X #include <locale.h> >e883383437bfaefd4b676089594fb8cb >echo x - graphics/xcftools/files/patch-src_io-unix.c >sed 's/^X//' >graphics/xcftools/files/patch-src_io-unix.c << 'c07e242207744b5f1e729ce54148ac49' >X--- src/io-unix.c.orig 2013-02-12 19:30:10.000000000 +0100 >X+++ src/io-unix.c 2014-09-11 01:34:41.000000000 +0200 >X@@ -96,7 +96,7 @@ >X if( status > 0 ) { >X fclose(xcfstream) ; >X xcfstream = 0 ; >X- FatalGeneric(status,NULL); >X+ FatalGeneric(status,"status=%d",status); >X } >X } else { >X fclose(xcfstream) ; >c07e242207744b5f1e729ce54148ac49 >echo x - graphics/xcftools/Makefile >sed 's/^X//' >graphics/xcftools/Makefile << 'e207c628500ab6fea736726ab30e4630' >X# $FreeBSD$ >X >XPORTNAME= xcftools >XPORTVERSION= 1.0.8.20130212 >XCATEGORIES= graphics >XMASTER_SITES= GH \ >X http://freeheimdall.spdns.org/files/ >X >XMAINTAINER= kalten@gmx.at >XCOMMENT= Command-line tools for extracting from XCF format (graphics/gimp) >X >X# manual pages not built but there is -h for each program. >X# regression tests (TESTS option) fail >X >X#LICENSE= PD >X >XLIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png >X >XUSE_GITHUB= yes >XGH_ACCOUNT= j-jorge >XGH_TAGNAME= ${GH_COMMIT} >XGH_COMMIT= d72ba82 >X >XDIST_SUBDIR= ${PORTNAME} >X >XUSE_PERL5= build run >XUSES= libtool cmake gmake iconv pkgconfig perl5 >X# option NLS (for gettext) is wrong as this port allways needs NLS: >XUSES+= gettext >XGNU_CONFIGURE= yes >XCONFIGURE_ARGS= >XMAKE_JOBS_SAFE= no >XUSE_LDCONFIG= yes >X >XOPTIONS_DEFINE= DOCS >X# option NLS (for gettext) is wrong as this port allways needs NLS: >X#OPTIONS_DEFINE+= NLS >X# >X# regression tests do not work corectly: >XOPTIONS_DEFINE+= TESTS >XTESTS_DESC= Run self-tests (faulty) (pulls in graphics/netpbm shells/bash) >X# >XOPTIONS_DEFAULT= >X >X.include <bsd.port.options.mk> >X >XINSTALL_TARGET= preinstall >X >X.if ${PORT_OPTIONS:MTESTS} >XBUILD_DEPENDS+= pngtopnm:${PORTSDIR}/graphics/netpbm >XBUILD_DEPENDS+= bash:${PORTSDIR}/shells/bash >X.endif >X >XPORTDOCS= ChangeLog README TRANSLATION >X >XPLIST_FILES= bin/xcf2png \ >X bin/xcf2pnm \ >X bin/xcfinfo \ >X bin/xcfview >X >XCFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libpng15 >XLDFLAGS+= -L${LOCALBASE}/lib -lintl >X >X.include <bsd.port.pre.mk> >X >Xpost-patch: >X @${REINPLACE_CMD} -e "s|^#! \(/bin/bash\)|#!${PREFIX}\1|" ${WRKSRC}/test/dotest >X @${REINPLACE_CMD} -e "s|perl|${PERL}|" ${WRKSRC}/test/dotest >X @${REINPLACE_CMD} -e "s|^#! /usr/bin/perl|#!${PERL}|" \ >X ${WRKSRC}/xcfview \ >X ${WRKSRC}/mancombine.pl \ >X ${WRKSRC}/manpo/mantranslate.pl \ >X ${WRKSRC}/manpo/optipot.pl \ >X ${WRKSRC}/mkenumsc.pl \ >X ${WRKSRC}/mkenumsh.pl \ >X ${WRKSRC}/mkopti.pl \ >X ${WRKSRC}/mktablec.pl >X >Xtest: >X.if ${PORT_OPTIONS:MTESTS} >X cd ${WRKSRC}/test && ${SETENV} ${MAKE_ENV} limits -m 20m ${GMAKE} check >X.endif >X >Xpost-build: test >X >Xpost-install: >X ${STRIP_CMD} ${WRKSRC}/bin/xcf2png >X ${STRIP_CMD} ${WRKSRC}/bin/xcf2pnm >X ${STRIP_CMD} ${WRKSRC}/bin/xcfinfo >X ${INSTALL_SCRIPT} ${WRKSRC}/bin/xcf2png ${STAGEDIR}${PREFIX}/bin/ >X ${INSTALL_SCRIPT} ${WRKSRC}/bin/xcf2pnm ${STAGEDIR}${PREFIX}/bin/ >X ${INSTALL_SCRIPT} ${WRKSRC}/bin/xcfinfo ${STAGEDIR}${PREFIX}/bin/ >X ${INSTALL_SCRIPT} ${WRKSRC}/xcfview ${STAGEDIR}${PREFIX}/bin/ >X.if ${PORT_OPTIONS:MDOCS} >X @${MKDIR} ${STAGEDIR}${DOCSDIR} >X ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} >X.endif >X >X.include <bsd.port.post.mk> >e207c628500ab6fea736726ab30e4630 >echo x - graphics/xcftools/pkg-descr >sed 's/^X//' >graphics/xcftools/pkg-descr << '01b1f0de061beae451b43c0edb3c7b38' >XXcftools is a set of fast command-line tools for extracting >Xinformation from the Gimp's native file format XCF. The tools >Xare designed to allow efficient use of layered XCF files as >Xsources in a build system that use 'make' and similar tools >Xto manage automatic processing of the graphics. These tools >Xwork independently of the Gimp engine and do not require the >XGimp to even be installed. >X >XWWW: https://github.com/j-jorge/xcftools >XWWW: http://henning.makholm.net/software >01b1f0de061beae451b43c0edb3c7b38 >echo x - graphics/xcftools/distinfo >sed 's/^X//' >graphics/xcftools/distinfo << 'a26ea2a4ab4a35287e3b48fb62662056' >XSHA256 (xcftools/xcftools-1.0.8.20130212.tar.gz) = 3b00aa9ace6e4c46674fbaee03a8ba0111bd4a2c980b42c9a82f1ff42cd8f6cd >XSIZE (xcftools/xcftools-1.0.8.20130212.tar.gz) = 197954 >a26ea2a4ab4a35287e3b48fb62662056 >exit >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 179116
:
134443
|
134444
|
134445
| 147230 |
147231
|
147232