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-libs/libg15render | |
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-libs/libg15render')
-rw-r--r-- | dev-libs/libg15render/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libg15render/files/libg15render-1.2-pixel-c.patch | 19 | ||||
-rw-r--r-- | dev-libs/libg15render/libg15render-1.2-r2.ebuild | 41 | ||||
-rw-r--r-- | dev-libs/libg15render/libg15render-9999.ebuild | 58 | ||||
-rw-r--r-- | dev-libs/libg15render/metadata.xml | 14 |
5 files changed, 133 insertions, 0 deletions
diff --git a/dev-libs/libg15render/Manifest b/dev-libs/libg15render/Manifest new file mode 100644 index 000000000000..55909408f5b4 --- /dev/null +++ b/dev-libs/libg15render/Manifest @@ -0,0 +1 @@ +DIST libg15render-1.2.tar.bz2 246034 SHA256 d22335af6a17ec44799da82671778d2072499b26c5773ab913d9ba20d159d20f SHA512 960fd6bc6159b1b12e1de3b0c07e5960d7d5056d4927be8eddf89a911e2c97a8677ef41456aa255399e8a86cd354b848fab28a47005ee2d1b6640e0c886deaac WHIRLPOOL 5074e6fc8bbc02f1b5bb25156e43d6fe4d4f7b475449b59d8bd27677ab1fa530a9ffa5fde88634d620dae6159fb935ffac24440d7ceab86713ed0860c80f4746 diff --git a/dev-libs/libg15render/files/libg15render-1.2-pixel-c.patch b/dev-libs/libg15render/files/libg15render-1.2-pixel-c.patch new file mode 100644 index 000000000000..3f7ecc2ff7b2 --- /dev/null +++ b/dev-libs/libg15render/files/libg15render-1.2-pixel-c.patch @@ -0,0 +1,19 @@ +dev-libs/libg15render-1.2: + + * QA Notice: Package has poor programming practices which may compile + * fine but exhibit random runtime failures. + * pixel.c:356: warning: incompatible implicit declaration of built-in function 'ceil' + + +Should be fixed by including math.h: + +--- libg15render-1.2_old/pixel.c 2007-03-14 23:37:42.000000000 +0100 ++++ libg15render-1.2/pixel.c 2007-03-14 23:36:29.000000000 +0100 +@@ -17,6 +17,7 @@ + */ + + #include <fcntl.h> ++#include <math.h> + #include "libg15render.h" + + void
\ No newline at end of file diff --git a/dev-libs/libg15render/libg15render-1.2-r2.ebuild b/dev-libs/libg15render/libg15render-1.2-r2.ebuild new file mode 100644 index 000000000000..bc682e026ae2 --- /dev/null +++ b/dev-libs/libg15render/libg15render-1.2-r2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit eutils + +DESCRIPTION="Small library for display text and graphics on a Logitech G15 keyboard" +HOMEPAGE="http://g15tools.sourceforge.net/" +SRC_URI="mirror://sourceforge/g15tools/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 x86" + +IUSE="truetype" + +RDEPEND=" + dev-libs/libg15 + truetype? ( media-libs/freetype ) +" +DEPEND=${RDEPEND} + +src_prepare() { + epatch "${FILESDIR}/${P}-pixel-c.patch" +} + +src_configure() { + econf \ + --disable-static \ + $(use_enable truetype ttf ) +} + +src_install() { + emake DESTDIR="${D}" \ + docdir=/usr/share/doc/${PF} install || die "make install failed" + rm "${ED}/usr/share/doc/${PF}/COPYING" + + find "${ED}" -name '*.la' -exec rm -f {} + +} diff --git a/dev-libs/libg15render/libg15render-9999.ebuild b/dev-libs/libg15render/libg15render-9999.ebuild new file mode 100644 index 000000000000..e56cfb86e8c0 --- /dev/null +++ b/dev-libs/libg15render/libg15render-9999.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +ESVN_PROJECT=g15tools/trunk +ESVN_REPO_URI="https://g15tools.svn.sourceforge.net/svnroot/${ESVN_PROJECT}/${PN}" + +inherit subversion base eutils autotools + +DESCRIPTION="Small library for display text and graphics on a Logitech G15 keyboard" +HOMEPAGE="http://g15tools.sourceforge.net/" +[[ $PV = *9999* ]] || SRC_URI="mirror://sourceforge/g15tools/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="" + +IUSE="truetype" + +RDEPEND=" + dev-libs/libg15 + truetype? ( media-libs/freetype ) +" +DEPEND=${RDEPEND} + +src_unpack() { + if [[ ${PV} = *9999* ]]; then + subversion_src_unpack + fi +} + +src_prepare() { + # Merged upstream + #epatch "${FILESDIR}/${PN}-1.2-pixel-c.patch" + + if [[ ${PV} = *9999* ]]; then + subversion_wc_info + fi + base_src_prepare + if [[ ${PV} = *9999* ]]; then + eautoreconf + fi +} + +src_configure() { + econf \ + --disable-static \ + $(use_enable truetype ttf ) +} + +src_install() { + emake DESTDIR="${D}" \ + docdir=/usr/share/doc/${PF} install || die "make install failed" + rm "${ED}/usr/share/doc/${PF}/COPYING" + + find "${ED}" -name '*.la' -exec rm -f {} + +} diff --git a/dev-libs/libg15render/metadata.xml b/dev-libs/libg15render/metadata.xml new file mode 100644 index 000000000000..968a455eb0aa --- /dev/null +++ b/dev-libs/libg15render/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>robbat2@gentoo.org</email> + </maintainer> + <maintainer> + <email>polynomial-c@gentoo.org</email> + <name>Lars Wendler</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">g15tools</remote-id> + </upstream> +</pkgmetadata> |