summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2019-12-05 22:52:59 +0100
committerBernard Cafarelli <voyageur@gentoo.org>2019-12-05 22:53:11 +0100
commit394f9d84b1d266ea4435a10d18888a7ab90f1c5b (patch)
tree833c91ee90db6b7f7309d9046074624d06f41987 /gnustep-apps/cenon
parentprofiles/package.mask: drop mask for app-misc/rioutil (diff)
downloadgentoo-394f9d84b1d266ea4435a10d18888a7ab90f1c5b.tar.gz
gentoo-394f9d84b1d266ea4435a10d18888a7ab90f1c5b.tar.bz2
gentoo-394f9d84b1d266ea4435a10d18888a7ab90f1c5b.zip
gnustep-apps/cenon: 4.0.6 bump
Package-Manager: Portage-2.3.80, Repoman-2.3.19 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'gnustep-apps/cenon')
-rw-r--r--gnustep-apps/cenon/Manifest1
-rw-r--r--gnustep-apps/cenon/cenon-4.0.6.ebuild23
-rw-r--r--gnustep-apps/cenon/files/cenon-4.0.6-install.patch20
-rw-r--r--gnustep-apps/cenon/files/cenon-4.0.6-invalid_array_syntax.patch20
4 files changed, 64 insertions, 0 deletions
diff --git a/gnustep-apps/cenon/Manifest b/gnustep-apps/cenon/Manifest
index 7564f31f492c..4cf033d88825 100644
--- a/gnustep-apps/cenon/Manifest
+++ b/gnustep-apps/cenon/Manifest
@@ -1 +1,2 @@
DIST Cenon-4.0.2.tar.bz2 4150615 BLAKE2B 75252c6495c0cdba32f18e31674ff1c4f8e3d6c7f94b56ac763bcd7d8bcb401fe6817e0a06642dc927ff87c32956e9277a777a7744a8a33135a4e3a76aa511cc SHA512 94bf95dbdb8fbe9c21fbe80cbc33fbe376c598cf79be295cb1045a0ac888da5363f388f3f051d593ca47f6c1fcbade2825389aec5da328c59158a1e5da89db75
+DIST Cenon-4.0.6.tar.bz2 10931177 BLAKE2B 40b62313360833b7ee3677143014e7cbe90b79290e9bdd1afe01c411bd4382d792354c6529f84c89eeb2be1c0e7ac7ce5f9557148014af07f46fc223932b20d4 SHA512 7fe4847cf4b2bc2a8f46e42d9e24e35dc42d0d7688ed02ea844cac562355611c64d3a1f0a90ae379db28415b40bb2fb38c2faf8c67bcc5ef7d5512cbc7452a3a
diff --git a/gnustep-apps/cenon/cenon-4.0.6.ebuild b/gnustep-apps/cenon/cenon-4.0.6.ebuild
new file mode 100644
index 000000000000..512edd10e9d2
--- /dev/null
+++ b/gnustep-apps/cenon/cenon-4.0.6.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit gnustep-2
+
+S=${WORKDIR}/${PN/c/C}
+
+DESCRIPTION="Cenon is a vector graphics tool for GNUstep, OpenStep and MacOSX"
+HOMEPAGE="http://www.cenon.info/"
+SRC_URI="http://www.cenon.zone/download/source/${P/c/C}.tar.bz2"
+KEYWORDS="~amd64 ~ppc ~x86"
+SLOT="0"
+LICENSE="Cenon"
+IUSE=""
+
+DEPEND=""
+RDEPEND=">=gnustep-libs/cenonlibrary-4.0.0"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-install.patch
+ "${FILESDIR}"/${P}-invalid_array_syntax.patch
+ )
diff --git a/gnustep-apps/cenon/files/cenon-4.0.6-install.patch b/gnustep-apps/cenon/files/cenon-4.0.6-install.patch
new file mode 100644
index 000000000000..b4b78d6e0a6c
--- /dev/null
+++ b/gnustep-apps/cenon/files/cenon-4.0.6-install.patch
@@ -0,0 +1,20 @@
+diff -Naur Cenon.orig/GNUmakefile.postamble Cenon/GNUmakefile.postamble
+--- Cenon.orig/GNUmakefile.postamble 2019-12-05 22:46:35.156776358 +0100
++++ Cenon/GNUmakefile.postamble 2019-12-05 22:46:50.725769361 +0100
+@@ -18,13 +18,13 @@
+ # before-install::
+
+ # Things to do after installing
+-after-install::
++#after-install::
+ # copy library
+ #rm -R $(GNUSTEP_LIBRARY)/$(APP_NAME)
+ #mkdir $(GNUSTEP_LIBRARY)/
+- cp -R Library/$(APP_NAME)/ $(GNUSTEP_LIBRARY)/
++ #cp -R Library/$(APP_NAME)/ $(GNUSTEP_LIBRARY)/
+ # set permissions (rrr)
+- chmod -R ugo+rX $(GNUSTEP_APPS)/$(APP_NAME).*
++ #chmod -R ugo+rX $(GNUSTEP_APPS)/$(APP_NAME).*
+ #chmod -R ugo+rX $(GNUSTEP_LIBRARY)/$(APP_NAME)
+
+ # Things to do before uninstalling
diff --git a/gnustep-apps/cenon/files/cenon-4.0.6-invalid_array_syntax.patch b/gnustep-apps/cenon/files/cenon-4.0.6-invalid_array_syntax.patch
new file mode 100644
index 000000000000..696a5c8d1754
--- /dev/null
+++ b/gnustep-apps/cenon/files/cenon-4.0.6-invalid_array_syntax.patch
@@ -0,0 +1,20 @@
+Decsription: Fix FTBFS due to invalid syntax that only works with Clang.
+Author: Yavor Doganov <yavor@gnu.org>
+Forwarded: info@cenon.com
+Last-Update: 2018-03-12
+---
+
+--- cenon.app.orig/VHFImport/PSImport.m
++++ cenon.app/VHFImport/PSImport.m
+@@ -180,7 +180,10 @@
+ NSString *output;
+
+ [task setLaunchPath: @"/bin/sh"];
+- [task setArguments:@[@"-c", [NSString stringWithFormat:@"%@ -h | grep %@", gsPath, gsDev]] ];
++ [task setArguments:
++ [NSArray arrayWithObjects: @"-c",
++ [NSString stringWithFormat:@"%@ -h | grep %@",
++ gsPath, gsDev], nil]];
+ [task setStandardOutput:pipe];
+ [task launch];
+ output = [[NSString alloc] initWithData:[file readDataToEndOfFile] encoding:NSUTF8StringEncoding];