FreeBSD Bugzilla – Attachment 158010 Details for
Bug 201070
[NEW PORT] graphics/lightzone: Professional-level digital darkroom and photo editor
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
shar archive
lightzone.shar (text/plain), 6.46 KB, created by
Yuri Victorovich
on 2015-06-23 08:49:14 UTC
(
hide
)
Description:
shar archive
Filename:
MIME Type:
Creator:
Yuri Victorovich
Created:
2015-06-23 08:49:14 UTC
Size:
6.46 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/lightzone ># graphics/lightzone/Makefile ># graphics/lightzone/pkg-descr ># graphics/lightzone/pkg-plist ># graphics/lightzone/distinfo ># graphics/lightzone/files ># graphics/lightzone/files/patch-products_lightzone ># graphics/lightzone/files/patch-src_com_lightcrafts_platform_linux_TestSSE2.java ># >echo c - graphics/lightzone >mkdir -p graphics/lightzone > /dev/null 2>&1 >echo x - graphics/lightzone/Makefile >sed 's/^X//' >graphics/lightzone/Makefile << '980033e6a0a8899115189ad9eab2f0a2' >X# Created by: Yuri Victorovich <yuri@rawbw.com> >X# $FreeBSD$ >X >XPORTNAME= lightzone >XDISTVERSION= 4.1.1 >XCATEGORIES= graphics java >XMASTER_SITES= GH >XDIST_SUBDIR= ${PORTNAME} >X >XMAINTAINER= yuri@rawbw.com >XCOMMENT= Professional-level digital darkroom and photo editor >X >XLICENSE= BSD3CLAUSE >X >XBUILD_DEPENDS= ant:${PORTSDIR}/devel/apache-ant \ >X jhindexer:${PORTSDIR}/java/javahelp \ >X git:${PORTSDIR}/devel/git \ >X rsync:${PORTSDIR}/net/rsync \ >X tidy:${PORTSDIR}/www/tidy-lib \ >X autoconf:${PORTSDIR}/devel/autoconf >XLIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ >X liblcms2.so:${PORTSDIR}/graphics/lcms2 \ >X libtiff.so:${PORTSDIR}/graphics/tiff >X >XUSE_GITHUB= yes >XGH_ACCOUNT= ktgw0316 >XGH_PROJECT= LightZone >X >XUSES= desktop-file-utils gmake pkgconfig >XUSE_ANT= yes >XUSE_JAVA= yes >XUSE_GCC= yes >XUSE_LDCONFIG= yes >XUSE_XORG= x11 >XJAVA_VENDOR= openjdk >XJAVA_VERSION= 1.6+ >XJAVA_BUILD= yes >XJAVA_RUN= yes >XINSTALLS_ICONS= yes >X >XDATADIR= ${PREFIX}/libexec/${PORTNAME} >XWRKSRC= ${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME}/linux >X >Xpost-patch: >X @${REINPLACE_CMD} -e 's|gcc|${CC}|' -e 's|g++|${CXX}|' ${WRKSRC}/../lightcrafts/mk/platform.mk >X >Xdo-install: >X ${INSTALL_SCRIPT} ${WRKSRC}/products/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ >X @${MKDIR} ${STAGEDIR}${JAVASHAREDIR}/${PORTNAME} >X ${INSTALL_DATA} ${WRKSRC}/products/*.jar ${STAGEDIR}${JAVASHAREDIR}/${PORTNAME} >X @${MKDIR} ${STAGEDIR}${DATADIR} >X ${INSTALL_PROGRAM} ${WRKSRC}/products/LightZone-forkd ${STAGEDIR}${DATADIR} >X ${INSTALL_PROGRAM} ${WRKSRC}/products/dcraw_lz ${STAGEDIR}${DATADIR} >X ${INSTALL_LIB} ${WRKSRC}/products/*.so ${STAGEDIR}${DATADIR} >X ${INSTALL_DATA} ${WRKSRC}/products/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications/ >X @cd ${WRKSRC} && ${COPYTREE_SHARE} icons ${STAGEDIR}${PREFIX}/share/ >X >X.include <bsd.port.mk> >980033e6a0a8899115189ad9eab2f0a2 >echo x - graphics/lightzone/pkg-descr >sed 's/^X//' >graphics/lightzone/pkg-descr << 'd8a70e5c705b54374a358068f4c6d713' >XProfessional-level digital darkroom and photo editor. >X >XWWW: http://lightzoneproject.org/ >d8a70e5c705b54374a358068f4c6d713 >echo x - graphics/lightzone/pkg-plist >sed 's/^X//' >graphics/lightzone/pkg-plist << '2fdd94e4a43a3faa9d188a35183d1d38' >Xbin/lightzone >X%%DATADIR%%/LightZone-forkd >X%%DATADIR%%/dcraw_lz >X%%DATADIR%%/libDCRaw.so >X%%DATADIR%%/libFASTJAI.so >X%%DATADIR%%/libJAI.so >X%%DATADIR%%/libLCArrays.so >X%%DATADIR%%/libLCCache.so >X%%DATADIR%%/libLCFileUtil.so >X%%DATADIR%%/libLCJNI.so >X%%DATADIR%%/libLCJPEG.so >X%%DATADIR%%/libLCLCMS.so >X%%DATADIR%%/libLCTIFF.so >X%%DATADIR%%/libLinux.so >X%%DATADIR%%/libSegment.so >X%%DATADIR%%/libfbf.so >X%%DATADIR%%/libmlib_jai.so >Xshare/applications/lightzone.desktop >Xshare/icons/hicolor/128x128/apps/lightzone.png >Xshare/icons/hicolor/16x16/apps/lightzone.png >Xshare/icons/hicolor/256x256/apps/lightzone.png >Xshare/icons/hicolor/32x32/apps/lightzone.png >Xshare/icons/hicolor/48x48/apps/lightzone.png >Xshare/icons/hicolor/64x64/apps/lightzone.png >X%%JAVASHAREDIR%%/lightzone/lcjai.jar >X%%JAVASHAREDIR%%/lightzone/lightcrafts-linux.jar >X%%JAVASHAREDIR%%/lightzone/lightcrafts.jar >X%%JAVASHAREDIR%%/lightzone/lightzonehelp.jar >X%%JAVASHAREDIR%%/lightzone/mlibwrapper_jai.jar >X%%JAVASHAREDIR%%/lightzone/substance-lite.jar >2fdd94e4a43a3faa9d188a35183d1d38 >echo x - graphics/lightzone/distinfo >sed 's/^X//' >graphics/lightzone/distinfo << '612d7113bdbf7ff848b3a7fdc2806bcf' >XSHA256 (lightzone/ktgw0316-LightZone-4.1.1_GH0.tar.gz) = 30ba265ceb101cc89a12c44849cadfffa0458445c92d20678904c4fbced3be3d >XSIZE (lightzone/ktgw0316-LightZone-4.1.1_GH0.tar.gz) = 26478012 >612d7113bdbf7ff848b3a7fdc2806bcf >echo c - graphics/lightzone/files >mkdir -p graphics/lightzone/files > /dev/null 2>&1 >echo x - graphics/lightzone/files/patch-products_lightzone >sed 's/^X//' >graphics/lightzone/files/patch-products_lightzone << '3979c3c6f7ef991875dba923f8ac73cf' >X--- products/lightzone.orig 2015-06-23 04:08:58 UTC >X+++ products/lightzone >X@@ -15,8 +15,8 @@ elif [ "${PLATFORM}" = "SunOS" ]; then >X totalmem=`expr $totalmem \* 1024` >X usrdir=/usr >X elif [ "${PLATFORM}" = "FreeBSD" ]; then >X- totalmem=`dmesg | grep 'real memory' | sed -r 's/.* ([0-9]+) .*/\1/'` >X- totalmem=`expr $totalmem / 1024` >X+ totalmem=`sysctl -n hw.physmem` >X+ totalmem=$(($totalmem / 1024)) >X usrdir=/usr/local >X fi >X >3979c3c6f7ef991875dba923f8ac73cf >echo x - graphics/lightzone/files/patch-src_com_lightcrafts_platform_linux_TestSSE2.java >sed 's/^X//' >graphics/lightzone/files/patch-src_com_lightcrafts_platform_linux_TestSSE2.java << '0f38e6fa71ead5bf6280d779da588140' >X--- src/com/lightcrafts/platform/linux/TestSSE2.java.orig 2015-06-23 04:17:32 UTC >X+++ src/com/lightcrafts/platform/linux/TestSSE2.java >X@@ -29,6 +29,8 @@ class TestSSE2 { >X regex = "^flags\t\t:.*sse2"; >X } else if (osname.indexOf("SunOS") >= 0) { >X regex = "^\t.*sse2"; >X+ } else if (osname.indexOf("FreeBSD") >= 0) { >X+ regex = "^hw.instruction_sse: 1"; >X } else { >X regex = "^ Features=.*SSE2"; >X } >X@@ -42,6 +44,8 @@ class TestSSE2 { >X cmd = new String[] {"cat", "/proc/cpuinfo"}; >X } else if (osname.indexOf("SunOS") >= 0) { >X cmd = new String[] {"sh", "-c", "isainfo -nv ; psrinfo -pv"}; >X+ } else if (osname.indexOf("FreeBSD") >= 0) { >X+ cmd = new String[] {"/sbin/sysctl", "hw"}; >X } else { >X cmd = new String[] {"dmesg"}; >X } >X@@ -68,6 +72,8 @@ class TestSSE2 { >X regex = getCpuInfoLine("^model name\t: "); >X } else if (osname.indexOf("SunOS") >= 0) { >X regex = getCpuInfoLine("^\t"); >X+ } else if (osname.indexOf("FreeBSD") >= 0) { >X+ regex = getCpuInfoLine("^hw.model: "); >X } else { >X regex = getCpuInfoLine("^CPU: "); >X } >0f38e6fa71ead5bf6280d779da588140 >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 201070
: 158010 |
158011