diff options
author | Carlo Strub <cs@FreeBSD.org> | 2015-09-18 21:03:25 +0000 |
---|---|---|
committer | Carlo Strub <cs@FreeBSD.org> | 2015-09-18 21:03:25 +0000 |
commit | e65770e262ad464ec873ca3307617f8ea68ade5e (patch) | |
tree | b92d4b82a9ed1c3e0c39b2ea5fb25dd3eff78f15 /graphics | |
parent | bf65c25262b7903eaacfb8ce436867af083ddda4 (diff) | |
download | ports-e65770e262ad464ec873ca3307617f8ea68ade5e.tar.gz ports-e65770e262ad464ec873ca3307617f8ea68ade5e.zip |
Notes
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/lightzone/Makefile | 3 | ||||
-rw-r--r-- | graphics/lightzone/distinfo | 4 | ||||
-rw-r--r-- | graphics/lightzone/files/patch-products_lightzone | 13 | ||||
-rw-r--r-- | graphics/lightzone/files/patch-src_com_lightcrafts_platform_linux_TestSSE2.java | 29 | ||||
-rw-r--r-- | graphics/lightzone/pkg-plist | 1 |
5 files changed, 5 insertions, 45 deletions
diff --git a/graphics/lightzone/Makefile b/graphics/lightzone/Makefile index d71d6f818548..c195907090f3 100644 --- a/graphics/lightzone/Makefile +++ b/graphics/lightzone/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= lightzone -DISTVERSION= 4.1.1 -PORTREVISION= 1 +DISTVERSION= 4.1.2 CATEGORIES= graphics java DIST_SUBDIR= ${PORTNAME} diff --git a/graphics/lightzone/distinfo b/graphics/lightzone/distinfo index 7ee882b8f6b7..47d8828c7ebb 100644 --- a/graphics/lightzone/distinfo +++ b/graphics/lightzone/distinfo @@ -1,2 +1,2 @@ -SHA256 (lightzone/ktgw0316-LightZone-4.1.1_GH0.tar.gz) = 30ba265ceb101cc89a12c44849cadfffa0458445c92d20678904c4fbced3be3d -SIZE (lightzone/ktgw0316-LightZone-4.1.1_GH0.tar.gz) = 26478012 +SHA256 (lightzone/ktgw0316-LightZone-4.1.2_GH0.tar.gz) = 46d9a849e500eaa403fd7c8f03220828a9283ec96a45b2d51aa2adff5da5ecce +SIZE (lightzone/ktgw0316-LightZone-4.1.2_GH0.tar.gz) = 23686103 diff --git a/graphics/lightzone/files/patch-products_lightzone b/graphics/lightzone/files/patch-products_lightzone index 60516a1803d7..4633372b1198 100644 --- a/graphics/lightzone/files/patch-products_lightzone +++ b/graphics/lightzone/files/patch-products_lightzone @@ -1,15 +1,6 @@ ---- products/lightzone.orig 2015-06-02 13:25:15 UTC +--- products/lightzone.orig 2015-08-04 13:37:11 UTC +++ products/lightzone -@@ -15,19 +15,13 @@ elif [ "${PLATFORM}" = "SunOS" ]; then - totalmem=`expr $totalmem \* 1024` - usrdir=/usr - elif [ "${PLATFORM}" = "FreeBSD" ]; then -- totalmem=`dmesg | grep 'real memory' | sed -r 's/.* ([0-9]+) .*/\1/'` -- totalmem=`expr $totalmem / 1024` -- usrdir=/usr/local -+ totalmem=`sysctl -n hw.physmem` -+ totalmem=$(($totalmem / 1024)) -+ usrdir=%%LOCALBASE%% +@@ -21,13 +21,7 @@ elif [ "${PLATFORM}" = "FreeBSD" ]; then fi pkgjavadir=${usrdir}/share/java/lightzone diff --git a/graphics/lightzone/files/patch-src_com_lightcrafts_platform_linux_TestSSE2.java b/graphics/lightzone/files/patch-src_com_lightcrafts_platform_linux_TestSSE2.java deleted file mode 100644 index e5d2f160c175..000000000000 --- a/graphics/lightzone/files/patch-src_com_lightcrafts_platform_linux_TestSSE2.java +++ /dev/null @@ -1,29 +0,0 @@ ---- src/com/lightcrafts/platform/linux/TestSSE2.java.orig 2015-06-02 13:25:15 UTC -+++ src/com/lightcrafts/platform/linux/TestSSE2.java -@@ -29,6 +29,8 @@ class TestSSE2 { - regex = "^flags\t\t:.*sse2"; - } else if (osname.indexOf("SunOS") >= 0) { - regex = "^\t.*sse2"; -+ } else if (osname.indexOf("FreeBSD") >= 0) { -+ regex = "^hw.instruction_sse: 1"; - } else { - regex = "^ Features=.*SSE2"; - } -@@ -42,6 +44,8 @@ class TestSSE2 { - cmd = new String[] {"cat", "/proc/cpuinfo"}; - } else if (osname.indexOf("SunOS") >= 0) { - cmd = new String[] {"sh", "-c", "isainfo -nv ; psrinfo -pv"}; -+ } else if (osname.indexOf("FreeBSD") >= 0) { -+ cmd = new String[] {"/sbin/sysctl", "hw"}; - } else { - cmd = new String[] {"dmesg"}; - } -@@ -68,6 +72,8 @@ class TestSSE2 { - regex = getCpuInfoLine("^model name\t: "); - } else if (osname.indexOf("SunOS") >= 0) { - regex = getCpuInfoLine("^\t"); -+ } else if (osname.indexOf("FreeBSD") >= 0) { -+ regex = getCpuInfoLine("^hw.model: "); - } else { - regex = getCpuInfoLine("^CPU: "); - } diff --git a/graphics/lightzone/pkg-plist b/graphics/lightzone/pkg-plist index b023da10adc2..15c05e134412 100644 --- a/graphics/lightzone/pkg-plist +++ b/graphics/lightzone/pkg-plist @@ -14,7 +14,6 @@ bin/lightzone %%LIBDIR%%/libLinux.so %%LIBDIR%%/libSegment.so %%LIBDIR%%/libfbf.so -%%LIBDIR%%/libmlib_jai.so share/applications/lightzone.desktop share/icons/hicolor/128x128/apps/lightzone.png share/icons/hicolor/16x16/apps/lightzone.png |