diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-util/ftjam | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-util/ftjam')
-rw-r--r-- | dev-util/ftjam/Manifest | 1 | ||||
-rw-r--r-- | dev-util/ftjam/files/ftjam-2.5.3-debug-commandline.patch | 14 | ||||
-rw-r--r-- | dev-util/ftjam/files/ftjam-2.5.3-false-flags.patch | 59 | ||||
-rw-r--r-- | dev-util/ftjam/files/ftjam-2.5.3-i-hate-yacc.patch | 54 | ||||
-rw-r--r-- | dev-util/ftjam/files/ftjam-2.5.3-nostrip.patch | 40 | ||||
-rw-r--r-- | dev-util/ftjam/ftjam-2.5.3_rc2-r1.ebuild | 43 | ||||
-rw-r--r-- | dev-util/ftjam/metadata.xml | 8 |
7 files changed, 219 insertions, 0 deletions
diff --git a/dev-util/ftjam/Manifest b/dev-util/ftjam/Manifest new file mode 100644 index 000000000000..fb6d92e9504c --- /dev/null +++ b/dev-util/ftjam/Manifest @@ -0,0 +1 @@ +DIST ftjam-2.5.3rc2.tar.bz2 215963 SHA256 a9f8a274049893a4d1f1ad82f7b04f3ebc2554635dd606185e20ba97cb4d64ec SHA512 18a40c6741493adf293f032d9c7a9ab419402505a37993fa859e36e7a1655ec9d3d07662e6ee242487b143aa7e0f6c46f253bc7e23c3162c7381aaced001bfcd WHIRLPOOL 4a688ea0c6a883f12e9b22bd6166ec972a43fe29473a8db46c2d278e333507215b20977e01da40782fb2f266b250541c11617ad066128ac4bc7c965e56ba9d59 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..15495163947b --- /dev/null +++ b/dev-util/ftjam/ftjam-2.5.3_rc2-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 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..0cb5b5e2962f --- /dev/null +++ b/dev-util/ftjam/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>rhill@gentoo.org</email> + <name>Ryan Hill</name> + </maintainer> +</pkgmetadata> |