summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Buchholz <rbu@gentoo.org>2007-03-14 23:39:51 +0000
committerRobert Buchholz <rbu@gentoo.org>2007-03-14 23:39:51 +0000
commitab1923b27446d7e31d8120e53e4a06bba24b4b7c (patch)
tree21aa2ba5fc6226bb7fc0ec9b8922515d3d68feea /dev-libs/libg15render
parentSnapshot version bump (diff)
downloadgentoo-2-ab1923b27446d7e31d8120e53e4a06bba24b4b7c.tar.gz
gentoo-2-ab1923b27446d7e31d8120e53e4a06bba24b4b7c.tar.bz2
gentoo-2-ab1923b27446d7e31d8120e53e4a06bba24b4b7c.zip
QA fix by tove and drop of old version
(Portage version: 2.1.2.2)
Diffstat (limited to 'dev-libs/libg15render')
-rw-r--r--dev-libs/libg15render/ChangeLog9
-rw-r--r--dev-libs/libg15render/files/digest-libg15render-1.1.13
-rw-r--r--dev-libs/libg15render/files/digest-libg15render-1.2-r1 (renamed from dev-libs/libg15render/files/digest-libg15render-1.2)0
-rw-r--r--dev-libs/libg15render/files/libg15render-1.2-pixel-c.patch19
-rw-r--r--dev-libs/libg15render/libg15render-1.2-r1.ebuild (renamed from dev-libs/libg15render/libg15render-1.1.1.ebuild)11
-rw-r--r--dev-libs/libg15render/libg15render-1.2.ebuild31
6 files changed, 37 insertions, 36 deletions
diff --git a/dev-libs/libg15render/ChangeLog b/dev-libs/libg15render/ChangeLog
index dd62537e59a1..cdfb991610c6 100644
--- a/dev-libs/libg15render/ChangeLog
+++ b/dev-libs/libg15render/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-libs/libg15render
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libg15render/ChangeLog,v 1.6 2007/01/27 18:58:01 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libg15render/ChangeLog,v 1.7 2007/03/14 23:39:51 rbu Exp $
+
+*libg15render-1.2-r1 (14 Mar 2007)
+
+ 14 Mar 2007; Robert Buchholz <rbu@gentoo.org>
+ +files/libg15render-1.2-pixel-c.patch, -libg15render-1.1.1.ebuild,
+ -libg15render-1.2.ebuild, +libg15render-1.2-r1.ebuild:
+ QA fix by tove and drop of old version
27 Jan 2007; Joseph Jezak <josejx@gentoo.org> libg15render-1.1.1.ebuild,
libg15render-1.2.ebuild:
diff --git a/dev-libs/libg15render/files/digest-libg15render-1.1.1 b/dev-libs/libg15render/files/digest-libg15render-1.1.1
deleted file mode 100644
index 1431d63fbe1b..000000000000
--- a/dev-libs/libg15render/files/digest-libg15render-1.1.1
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 35c5c660f3f939d795aee21761efbc2c libg15render-1.1.1.tar.bz2 223443
-RMD160 2a74bddc5ba2792053a2e9e18c4f576ef51b31da libg15render-1.1.1.tar.bz2 223443
-SHA256 c51eb9b526105a8dd33fba3c83d61744ec1b3c063260036de5341cd83d398c11 libg15render-1.1.1.tar.bz2 223443
diff --git a/dev-libs/libg15render/files/digest-libg15render-1.2 b/dev-libs/libg15render/files/digest-libg15render-1.2-r1
index 4168e7fa59aa..4168e7fa59aa 100644
--- a/dev-libs/libg15render/files/digest-libg15render-1.2
+++ b/dev-libs/libg15render/files/digest-libg15render-1.2-r1
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.1.1.ebuild b/dev-libs/libg15render/libg15render-1.2-r1.ebuild
index 522a9e40a1fd..e5b6d005cdd4 100644
--- a/dev-libs/libg15render/libg15render-1.1.1.ebuild
+++ b/dev-libs/libg15render/libg15render-1.2-r1.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libg15render/libg15render-1.1.1.ebuild,v 1.4 2007/01/27 18:58:01 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libg15render/libg15render-1.2-r1.ebuild,v 1.1 2007/03/14 23:39:51 rbu Exp $
+
+inherit eutils
DESCRIPTION="Small library for display text and graphics on a Logitech G15 keyboard"
HOMEPAGE="http://g15tools.sourceforge.net/"
@@ -17,6 +19,13 @@ DEPEND="dev-libs/libg15
RDEPEND=${DEPEND}
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}/${P}-pixel-c.patch"
+}
+
src_compile() {
econf \
$(use_enable truetype ttf ) \
diff --git a/dev-libs/libg15render/libg15render-1.2.ebuild b/dev-libs/libg15render/libg15render-1.2.ebuild
deleted file mode 100644
index 445724379491..000000000000
--- a/dev-libs/libg15render/libg15render-1.2.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libg15render/libg15render-1.2.ebuild,v 1.2 2007/01/27 18:58:01 josejx Exp $
-
-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"
-
-DEPEND="dev-libs/libg15
- truetype? ( media-libs/freetype )"
-
-RDEPEND=${DEPEND}
-
-src_compile() {
- econf \
- $(use_enable truetype ttf ) \
- || die "configure failed"
-
- emake || die "make failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "make install failed"
- dodoc AUTHORS ChangeLog NEWS README
-}