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 /x11-misc/xfractint | |
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 'x11-misc/xfractint')
-rw-r--r-- | x11-misc/xfractint/Manifest | 1 | ||||
-rw-r--r-- | x11-misc/xfractint/files/xfractint-20.04p09-ldflags.patch | 29 | ||||
-rw-r--r-- | x11-misc/xfractint/files/xfractint.envd | 4 | ||||
-rw-r--r-- | x11-misc/xfractint/metadata.xml | 7 | ||||
-rw-r--r-- | x11-misc/xfractint/xfractint-20.04_p12.ebuild | 46 |
5 files changed, 87 insertions, 0 deletions
diff --git a/x11-misc/xfractint/Manifest b/x11-misc/xfractint/Manifest new file mode 100644 index 000000000000..0f22a7ccab92 --- /dev/null +++ b/x11-misc/xfractint/Manifest @@ -0,0 +1 @@ +DIST xfractint-20.04p12.tar.gz 1335480 SHA256 e81affa9d3b3826f14502cedf1fc4a4dd41bcfa71ba32f8e4224748c5b9c69e0 SHA512 ef233b417ccdff153e53b70f4ac0500be99e9fc6e87360b341640573592320b2485f18fd6426436432d968d33fa41d4862babf193c3b11c480f514a4602bb8f2 WHIRLPOOL 47a2f4c0919232109309a00a131ffc4a5a87519727469af09f51101f7984b54851e71d928147faed27d51d167ce3c13f5332cd0747e63cf96c18cbed2d81b404 diff --git a/x11-misc/xfractint/files/xfractint-20.04p09-ldflags.patch b/x11-misc/xfractint/files/xfractint-20.04p09-ldflags.patch new file mode 100644 index 000000000000..382bdc6a285c --- /dev/null +++ b/x11-misc/xfractint/files/xfractint-20.04p09-ldflags.patch @@ -0,0 +1,29 @@ +--- Makefile ++++ Makefile +@@ -125,7 +125,7 @@ + + ifeq ($(AS),/usr/bin/nasm) + +-CFLAGS = -I$(HFD) $(DEFINES) -g -DBIG_ANSI_C -DLINUX -DNASM -fno-builtin ++CFLAGS = -I$(HFD) $(DEFINES) -DBIG_ANSI_C -DLINUX -DNASM -fno-builtin + #CFLAGS = -I. -D_CONST $(DEFINES) + #CFLAGS = -I$(HFD) $(DEFINES) -g -DBIG_ANSI_C -DLINUX \ + # -march=$(ARCH) -DNASM -fno-builtin +@@ -133,7 +133,7 @@ + + else + +-CFLAGS = -I$(HFD) $(DEFINES) -g -DBIG_ANSI_C -DLINUX -fno-builtin ++CFLAGS = -I$(HFD) $(DEFINES) -DBIG_ANSI_C -DLINUX -fno-builtin + #CFLAGS = -I$(HFD) $(DEFINES) -g -DBIG_ANSI_C -DLINUX \ + # -march=$(ARCH) -fno-builtin + #CFLAGS = -I. $(DEFINES) -g -DBIG_ANSI_C -DLINUX -Os -fno-builtin +@@ -312,7 +312,7 @@ + "HFD=.${HFD}" + cd unix ; ${MAKE} all "CC=${CC}" "CFLAGS= -I.${HFD} -I${XFTHFD} ${CFLAGS} ${OPT}" "SRCDIR=${SHRDIR}" \ + "AS=${AS}" "AFLAGS=${AFLAGS}" "HFD=.${HFD}" +- $(CC) -o xfractint $(CFLAGS) $(OPT) $(OBJS) $(U_OBJS) $(LIBS) ++ $(CC) -o xfractint $(CFLAGS) $(LDFLAGS) $(OPT) $(OBJS) $(U_OBJS) $(LIBS) + # strip xfractint + + fractint: diff --git a/x11-misc/xfractint/files/xfractint.envd b/x11-misc/xfractint/files/xfractint.envd new file mode 100644 index 000000000000..3dd0cbcda664 --- /dev/null +++ b/x11-misc/xfractint/files/xfractint.envd @@ -0,0 +1,4 @@ +#Specifies xfractint directory + +FRACTDIR=/usr/share/xfractint + diff --git a/x11-misc/xfractint/metadata.xml b/x11-misc/xfractint/metadata.xml new file mode 100644 index 000000000000..ff62877c67ae --- /dev/null +++ b/x11-misc/xfractint/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> + <email>maintainer-needed@gentoo.org</email> +</maintainer> +</pkgmetadata> diff --git a/x11-misc/xfractint/xfractint-20.04_p12.ebuild b/x11-misc/xfractint/xfractint-20.04_p12.ebuild new file mode 100644 index 000000000000..0ed5221789cf --- /dev/null +++ b/x11-misc/xfractint/xfractint-20.04_p12.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit eutils toolchain-funcs + +MY_P=${P/_} + +DESCRIPTION="A fractal generator" +HOMEPAGE="http://www.fractint.org" +SRC_URI="http://www.fractint.org/ftp/current/linux/${MY_P}.tar.gz" + +LICENSE="freedist" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="" + +RDEPEND="x11-libs/libX11" +DEPEND="${RDEPEND} + x11-libs/libXft" +# x86? ( dev-lang/nasm )" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + epatch "${FILESDIR}/xfractint-20.04p09-ldflags.patch" +} + +src_compile() { + # Untested, any x86 archteam dev. is allowed to uncomment this. + local myasm="foo" +# use x86 && myasm="/usr/bin/nasm" + emake CC="$(tc-getCC)" AS="${myasm}" OPT="${CFLAGS}" LDFLAGS="${LDFLAGS}" +} + +src_install() { + emake DESTDIR="${D}/usr" STRIP="true" install + newenvd "${FILESDIR}"/xfractint.envd 60xfractint +} + +pkg_postinst() { + elog "XFractInt requires the FRACTDIR variable to be set in order to start." + elog "Please re-login or \`source /etc/profile\` to have this variable set." +} |