summaryrefslogtreecommitdiff
path: root/dev-util/ftjam
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-util/ftjam
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-util/ftjam')
-rw-r--r--dev-util/ftjam/Manifest9
-rw-r--r--dev-util/ftjam/files/ftjam-2.5.3-debug-commandline.patch14
-rw-r--r--dev-util/ftjam/files/ftjam-2.5.3-false-flags.patch59
-rw-r--r--dev-util/ftjam/files/ftjam-2.5.3-i-hate-yacc.patch54
-rw-r--r--dev-util/ftjam/files/ftjam-2.5.3-nostrip.patch40
-rw-r--r--dev-util/ftjam/ftjam-2.5.3_rc2-r1.ebuild42
-rw-r--r--dev-util/ftjam/metadata.xml11
7 files changed, 229 insertions, 0 deletions
diff --git a/dev-util/ftjam/Manifest b/dev-util/ftjam/Manifest
new file mode 100644
index 000000000000..08a5d88cce64
--- /dev/null
+++ b/dev-util/ftjam/Manifest
@@ -0,0 +1,9 @@
+AUX ftjam-2.5.3-debug-commandline.patch 314 SHA256 8cd45df0375dc51ecac21391a0a4b07d7a6cc716068a2326e364681293f6f93f SHA512 c9e59c3785678d347510525b10824af2648f4de040bfc2d97ca2301298628d82f78c13f63b30da1baef0a8c2ed6142fa2db63650fc982601e491aaff8e15378b WHIRLPOOL f4ed1c0bb9ba45cfe25b8b29d0770c1ef1cbb3733e56b765ef900e2e116eb5e318d88139a471f2e1a69b89f3f6824dc5b95b1ca8847f3fa8f8d85b06404dd14e
+AUX ftjam-2.5.3-false-flags.patch 1682 SHA256 ef95761ea85b103e8665b044b7a99c18e8d1c83ab3bf35e30e2d8f454ed946e8 SHA512 b9b97127c6a5d89759563cd4a1e4f87ed911610b70bbfff309105ab733290f74087bd0eb066eaad860be5624573ad2dfc1245eb45347c2d1c9800033c35e5c0a WHIRLPOOL f51ec332a5ad8581c3ac67d94d148ce010ad3a527167f3a487699b29b11d5edede337415fe1e64191c7eff8889900902f488e4da4378806ad4b69bf5d66f5dbd
+AUX ftjam-2.5.3-i-hate-yacc.patch 1756 SHA256 8d8710e4699b3c910ed8f1ea50f9b1c1a9beaae8aee0c6fc815905666a5ffb81 SHA512 e02948ccccb963ddfeb777c217efafaf19239cacff80514c167166ec666a6301b90e1a86a2b97ab58fee006f509106cc0e3dacbbde822efd0db2b9f5f4645be8 WHIRLPOOL b4daf4e31596ea71974bcd3688a3191504e47a0c88988d277dffe221fc917cd8f0918ec610a63ce1609e53cee300a229002828c69d76ce26c6d067d26b96fd32
+AUX ftjam-2.5.3-nostrip.patch 780 SHA256 66af8842f5853d22717dc1613c001aae61eed3c7f5997f16007298e0e7a97f6d SHA512 6d8b399f8a4047c34b1315a230cf47e8ab76c7fbad9089fd4c3c18b2ba7fbb2f3ecbcb2d3a1075f0d95d36e547490de345167ba55fed75221b2b8162796ccc25 WHIRLPOOL 16ab7f27f8aa37e9100cdcaf796aa7758f6159a37a171e53e6a698219bf2331a0170d90c9d43b70454f8292d8c608399c3864bc0722203daca2155bd2545bd59
+DIST ftjam-2.5.3rc2.tar.bz2 215963 SHA256 a9f8a274049893a4d1f1ad82f7b04f3ebc2554635dd606185e20ba97cb4d64ec SHA512 18a40c6741493adf293f032d9c7a9ab419402505a37993fa859e36e7a1655ec9d3d07662e6ee242487b143aa7e0f6c46f253bc7e23c3162c7381aaced001bfcd WHIRLPOOL 4a688ea0c6a883f12e9b22bd6166ec972a43fe29473a8db46c2d278e333507215b20977e01da40782fb2f266b250541c11617ad066128ac4bc7c965e56ba9d59
+EBUILD ftjam-2.5.3_rc2-r1.ebuild 1131 SHA256 947644c65fbabe27a70d432084263a0fb9c5eb7cd18c44fc814ad83a5d37d35c SHA512 9d469b5e76ed2742cd5605093c81e97c6c08454a0f8d0a54ec5c4d0d5edd1dc2188ae93b0f81c537eb2196810c68d68fd6b9b79547403c0e9c2325b3d1b102db WHIRLPOOL 6f7a2687e6e8f14394ea0bc545c7f8a3e95c778987db2ba551778c35647b1ba38175b2eb77889b92b562f8cb40ce9f9aa5ac3538f279c9b1682d7b9b3e5f7ffd
+MISC ChangeLog 2888 SHA256 0feb561a6e0cecbabd11aa0ce2695a99ae71a3fa7c5513709516d6b01deb0d0b SHA512 491d24682aed6f201ffc1a8370b02ffcb5560af84287dc5e2a931dcdcef54cf2fb7d287e2164265ae56eefbd1078fb923555a6847de6a787c8fe7b21b33807d5 WHIRLPOOL 9dc6dced18be0ab422c110db0423b797fc899a144e0f8719d90e88116dba33c641f1bb177fec517b134a049bb4dd057d141bd07008b83d38549f68ed53108f9d
+MISC ChangeLog-2015 3202 SHA256 3e634b1249b34c577474c7ca52889571484b72f2a8977d4df4cff3588c618a9c SHA512 ff5932406858d96ae948644f1af7fe162c6f952862ec29a55bc123c210df4aaadca6ead94c371407608e75fab864a95cfd973c26122adec714b89797d384c3e0 WHIRLPOOL c4a59f45331421db0f1bc2f1da40c901d840a5ebf1a5ffef64fffc439295b1335892893e46b079283d24fe40b729fc50b041d8c0764410ae752d9351783ce26a
+MISC metadata.xml 319 SHA256 f14ccb736e2c7e5255edfa752903a15481979c06099e489f4b78996675923d05 SHA512 c645d76d4eb37391099c7882f68a268bbe45e844dab9015b8d5f557c9acce08df1b5eded075288e3fcf5e6390fb177fa4a9df3adba3327ca2e2b97d1ef183e0d WHIRLPOOL 3c43bc0d1744792fe5902dad82d07b2b9085980e056d636f4658c0563f48fdd83fd4c20e2b7ce0c9d7e9c733f3602ea6b0edbb8387d0b899833cc2c8cc063058
diff --git a/dev-util/ftjam/files/ftjam-2.5.3-debug-commandline.patch b/dev-util/ftjam/files/ftjam-2.5.3-debug-commandline.patch
new file mode 100644
index 000000000000..ba6613430308
--- /dev/null
+++ b/dev-util/ftjam/files/ftjam-2.5.3-debug-commandline.patch
@@ -0,0 +1,14 @@
+Make jam print the commandline it's executing.
+Only useful for ebuild debugging - I just always forget how to enable it.
+
+--- ftjam-2.5.3rc2-orig/builds/unix/Makefile.in
++++ ftjam-2.5.3rc2/builds/unix/Makefile.in
+@@ -16,7 +16,7 @@
+
+ all: jam0
+ chmod a+w jambase.c
+- ./jam0
++ ./jam0 -dx -q
+
+ include common.mk
+
diff --git a/dev-util/ftjam/files/ftjam-2.5.3-false-flags.patch b/dev-util/ftjam/files/ftjam-2.5.3-false-flags.patch
new file mode 100644
index 000000000000..1b33a0f770d3
--- /dev/null
+++ b/dev-util/ftjam/files/ftjam-2.5.3-false-flags.patch
@@ -0,0 +1,59 @@
+Respect CC, *FLAGS. Add datarootdir for autoconf-2.60 warnings.
+
+--- ftjam-2.5.3rc2-orig/builds/unix/Makefile.in
++++ ftjam-2.5.3rc2/builds/unix/Makefile.in
+@@ -37,6 +37,7 @@ exec_prefix := @exec_prefix@
+ libdir := @libdir@
+ bindir := @bindir@
+ includedir := @includedir@
++datarootdir := @datarootdir@
+ datadir := @datadir@
+
+ version_info := @version_info@
+--- ftjam-2.5.3rc2-orig/jambase.c
++++ ftjam-2.5.3rc2/jambase.c
+@@ -652,21 +652,21 @@ const char *jambase[] = {
+ "\n",
+ "AR ?= ar ru ;\n",
+ "AS ?= as ;\n",
+-"ASFLAGS ?= ;\n",
++"ASFLAGS += $(ASFLAGS) ;\n",
+ "AWK ?= awk ;\n",
+ "BINDIR ?= /usr/local/bin ;\n",
+-"C++ ?= cc ;\n",
+-"C++FLAGS ?= ;\n",
+-"CC ?= cc ;\n",
+-"CCFLAGS ?= ;\n",
++"C++ ?= $(CXX) ;\n",
++"C++FLAGS += $(CXXFLAGS) ;\n",
++"CC ?= $(CC) ;\n",
++"CCFLAGS += $(CFLAGS) ;\n",
+ "CP ?= cp -f ;\n",
+ "CRELIB ?= ;\n",
+ "DOT ?= . ;\n",
+ "DOTDOT ?= .. ;\n",
+ "EXEMODE ?= 711 ;\n",
+ "FILEMODE ?= 644 ;\n",
+-"FORTRAN ?= f77 ;\n",
+-"FORTRANFLAGS ?= ;\n",
++"FORTRAN ?= $(F77) ;\n",
++"FORTRANFLAGS += $(FFLAGS) ;\n",
+ "HDRS ?= ;\n",
+ "INSTALLGRIST ?= installed ;\n",
+ "JAMFILE ?= Jamfile ;\n",
+@@ -674,13 +674,13 @@ const char *jambase[] = {
+ "LEX ?= ;\n",
+ "LIBDIR ?= /usr/local/lib ;\n",
+ "LINK ?= $(CC) ;\n",
+-"LINKFLAGS ?= ;\n",
++"LINKFLAGS += $(LDFLAGS) ;\n",
+ "LINKLIBS ?= ;\n",
+ "LN ?= ln ;\n",
+ "MANDIR ?= /usr/local/man ;\n",
+ "MKDIR ?= mkdir ;\n",
+ "MV ?= mv -f ;\n",
+-"OPTIM ?= ;\n",
++"OPTIM = ;\n",
+ "RCP ?= rcp ;\n",
+ "RM ?= rm -f ;\n",
+ "RMDIR ?= $(RM) ;\n",
diff --git a/dev-util/ftjam/files/ftjam-2.5.3-i-hate-yacc.patch b/dev-util/ftjam/files/ftjam-2.5.3-i-hate-yacc.patch
new file mode 100644
index 000000000000..44322d64c2cf
--- /dev/null
+++ b/dev-util/ftjam/files/ftjam-2.5.3-i-hate-yacc.patch
@@ -0,0 +1,54 @@
+diff -Naurp ftjam-2.5.3rc2-orig/Jambase ftjam-2.5.3rc2/Jambase
+--- ftjam-2.5.3rc2-orig/Jambase 2007-06-05 08:20:19.000000000 -0600
++++ ftjam-2.5.3rc2/Jambase 2008-07-21 19:26:02.000000000 -0600
+@@ -813,7 +813,7 @@ else if $(UNIX)
+ LINKLIBS ?= ;
+ OPTIM ?= -O ;
+ RANLIB ?= ranlib ;
+- YACC ?= yacc ;
++ YACC ?= bison -y ;
+ YACCGEN ?= .c ;
+ YACCFILES ?= y.tab ;
+ YACCFLAGS ?= -d ;
+@@ -882,10 +882,10 @@ DC ?= dmd ;
+ SUFLIB ?= .a ;
+ SUFOBJ ?= .o ;
+ UNDEFFLAG ?= "-u _" ;
+- YACC ?= ;
+- YACCGEN ?= ;
+- YACCFILES ?= ;
+- YACCFLAGS ?= ;
++ YACC ?= bison -y ;
++ YACCGEN ?= .c ;
++ YACCFILES ?= y.tab ;
++ YACCFLAGS ?= -d ;
+
+ HDRPATTERN =
+ "^[ ]*#[ ]*include[ ]*[<\"]([^\">]*)[\">].*$" ;
+diff -Naurp ftjam-2.5.3rc2-orig/jambase.c ftjam-2.5.3rc2/jambase.c
+--- ftjam-2.5.3rc2-orig/jambase.c 2007-06-05 08:31:08.000000000 -0600
++++ ftjam-2.5.3rc2/jambase.c 2008-07-21 19:27:55.000000000 -0600
+@@ -632,7 +632,7 @@ const char *jambase[] = {
+ "LINKLIBS ?= ;\n",
+ "OPTIM ?= -O ;\n",
+ "RANLIB ?= ranlib ;\n",
+-"YACC ?= yacc ;\n",
++"YACC ?= bison -y ;\n",
+ "YACCGEN ?= .c ;\n",
+ "YACCFILES ?= y.tab ;\n",
+ "YACCFLAGS ?= -d ;\n",
+@@ -695,10 +695,10 @@ const char *jambase[] = {
+ "SUFLIB ?= .a ;\n",
+ "SUFOBJ ?= .o ;\n",
+ "UNDEFFLAG ?= \"-u _\" ;\n",
+-"YACC ?= ;\n",
+-"YACCGEN ?= ;\n",
+-"YACCFILES ?= ;\n",
+-"YACCFLAGS ?= ;\n",
++"YACC ?= bison -y ;\n",
++"YACCGEN ?= .c ;\n",
++"YACCFILES ?= y.tab ;\n",
++"YACCFLAGS ?= -d ;\n",
+ "\n",
+ "HDRPATTERN =\n",
+ "\"^[ ]*#[ ]*include[ ]*[<\\\"]([^\\\">]*)[\\\">].*$\" ;\n",
diff --git a/dev-util/ftjam/files/ftjam-2.5.3-nostrip.patch b/dev-util/ftjam/files/ftjam-2.5.3-nostrip.patch
new file mode 100644
index 000000000000..1b7e69fc2c8f
--- /dev/null
+++ b/dev-util/ftjam/files/ftjam-2.5.3-nostrip.patch
@@ -0,0 +1,40 @@
+diff -Naur ftjam-2.5.3rc2-orig/Jamfile ftjam-2.5.3rc2/Jamfile
+--- ftjam-2.5.3rc2-orig/Jamfile 2007-06-05 08:30:52.000000000 -0600
++++ ftjam-2.5.3rc2/Jamfile 2007-06-10 12:55:03.000000000 -0600
+@@ -138,16 +138,6 @@
+ LinkLibraries jam : libjam.a ;
+ GenFile jambase.c : mkjambase Jambase ;
+
+-if $(UNIX) && ! $(DEBUG)
+-{
+- actions Strip
+- {
+- strip $(1)
+- }
+-
+- Strip jam ;
+-}
+-
+ Library libjam.a :
+ builtins.c command.c compile.c $(code) expand.c
+ glob.c hash.c headers.c lists.c make.c make1.c
+@@ -156,19 +146,6 @@
+ hdrmacro.c rope.c
+ ;
+
+-# Strip the Jam executable on Mingw
+-#
+-if $(JAM_TOOLSET) = MINGW
+-{
+- actions Strip
+- {
+- strip $(1)
+- }
+-
+- Strip jam$(SUFEXE) ;
+-}
+-
+-
+ if $(BINDIR) { InstallBin $(BINDIR) : jam ; }
+
+ #
diff --git a/dev-util/ftjam/ftjam-2.5.3_rc2-r1.ebuild b/dev-util/ftjam/ftjam-2.5.3_rc2-r1.ebuild
new file mode 100644
index 000000000000..a8cf96c8ab2d
--- /dev/null
+++ b/dev-util/ftjam/ftjam-2.5.3_rc2-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit eutils toolchain-funcs versionator
+
+MY_PV=$(delete_version_separator _)
+
+DESCRIPTION="Jam is a powerful alternative to make. FTJam is a 100% compatible enhanced Jam implementation"
+HOMEPAGE="http://freetype.sourceforge.net/jam/index.html"
+SRC_URI="http://david.freetype.org/jam/ftjam-${MY_PV}.tar.bz2"
+
+LICENSE="perforce GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~arm64 hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE=""
+
+DEPEND="!dev-util/jam
+ sys-devel/bison"
+RDEPEND="!dev-util/jam"
+
+S=${WORKDIR}/${PN}-${MY_PV}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-2.5.3-nostrip.patch
+ epatch "${FILESDIR}"/${PN}-2.5.3-i-hate-yacc.patch
+ epatch "${FILESDIR}"/${PN}-2.5.3-false-flags.patch
+# epatch "${FILESDIR}"/${PN}-2.5.3-debug-commandline.patch # development only
+}
+
+src_compile() {
+ tc-export CC
+ econf
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc README README.ORG CHANGES INSTALL RELNOTES
+ dohtml Jam.html Jambase.html Jamfile.html
+}
diff --git a/dev-util/ftjam/metadata.xml b/dev-util/ftjam/metadata.xml
new file mode 100644
index 000000000000..ac75c3797151
--- /dev/null
+++ b/dev-util/ftjam/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>rhill@gentoo.org</email>
+ <name>Ryan Hill</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">freetype</remote-id>
+ </upstream>
+</pkgmetadata>