summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Frisch (xororand) <xororand@frexx.de>2006-11-02 18:37:28 +0000
committerWolfgang Frisch (xororand) <xororand@frexx.de>2006-11-02 18:37:28 +0000
commit12bba9d745df74ecf1e08d151af6551260e6b9e9 (patch)
tree866791bf4167538b3ff70ff77f955bdf88d8d927 /dev-util
parentnet-mail/dbmail: glib dep changed to 2.6 (diff)
downloadsunrise-reviewed-12bba9d745df74ecf1e08d151af6551260e6b9e9.tar.gz
sunrise-reviewed-12bba9d745df74ecf1e08d151af6551260e6b9e9.tar.bz2
sunrise-reviewed-12bba9d745df74ecf1e08d151af6551260e6b9e9.zip
dev-util/bugle: New Ebuild for bug 143835 (BuGLe)
svn path=/sunrise/; revision=1740
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/bugle/ChangeLog8
-rw-r--r--dev-util/bugle/Manifest20
-rw-r--r--dev-util/bugle/bugle-0.0.20061022.ebuild54
-rw-r--r--dev-util/bugle/files/ccache-dtu-bug.patch18
-rw-r--r--dev-util/bugle/files/digest-bugle-0.0.200610223
-rw-r--r--dev-util/bugle/metadata.xml5
6 files changed, 108 insertions, 0 deletions
diff --git a/dev-util/bugle/ChangeLog b/dev-util/bugle/ChangeLog
new file mode 100644
index 000000000..0cb927ff4
--- /dev/null
+++ b/dev-util/bugle/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for dev-util/bugle
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 02 Nov 2006; Wolfgang Frisch (xororand) <xororand@frexx.de>
+ +bugle-0.0.20061022.ebuild, +files/ccache-dtu-bug.patch, +metadata.xml:
+ New Ebuild for bug 143835 (BuGLe)
+
diff --git a/dev-util/bugle/Manifest b/dev-util/bugle/Manifest
new file mode 100644
index 000000000..adae48348
--- /dev/null
+++ b/dev-util/bugle/Manifest
@@ -0,0 +1,20 @@
+AUX ccache-dtu-bug.patch 803 RMD160 b4b4da4f3dedf30697059026aaa469bb16387664 SHA1 4e66b31700baab4414774dd650e3ff8293cda91b SHA256 1e58b4858d88f1dc93173130ba7cce7d2fe784d72923071291530495751d3789
+MD5 87360fc5eba3682a415e91af64eb2031 files/ccache-dtu-bug.patch 803
+RMD160 b4b4da4f3dedf30697059026aaa469bb16387664 files/ccache-dtu-bug.patch 803
+SHA256 1e58b4858d88f1dc93173130ba7cce7d2fe784d72923071291530495751d3789 files/ccache-dtu-bug.patch 803
+DIST bugle-0.0.20061022.tar.bz2 1116247 RMD160 8a290bd023b8291171d08b06bc5d5e5ca364d396 SHA1 a4594fcbc480b424fb942a8d2dcdcf5a28a50481 SHA256 89c81a16d522d696b59c4975f17133db65df9ed4b022ea087552bc112369a6f5
+EBUILD bugle-0.0.20061022.ebuild 1209 RMD160 e86948fe50ea5a6381296910a45eb9dcfb209359 SHA1 8a53efd81678fafe4b97fa2fce9f32952f27bc55 SHA256 cfbb9ee3762bb37f65d7ff8acb4ab1e6bd108c5aadb9eec218740895cecca389
+MD5 849a119cb160fb346b5343787b76238d bugle-0.0.20061022.ebuild 1209
+RMD160 e86948fe50ea5a6381296910a45eb9dcfb209359 bugle-0.0.20061022.ebuild 1209
+SHA256 cfbb9ee3762bb37f65d7ff8acb4ab1e6bd108c5aadb9eec218740895cecca389 bugle-0.0.20061022.ebuild 1209
+MISC ChangeLog 288 RMD160 69c8e6a72b0e363a0e96fae39a2475167b280117 SHA1 2c0d747eaab0dc99f68195233b1006351fb7b60f SHA256 15aafd143d9ee3dfec4937099e2b5b7ab4b41cfdbe532ddd284e0c71895105a7
+MD5 2205154b9be5056582f4dfada838c1bf ChangeLog 288
+RMD160 69c8e6a72b0e363a0e96fae39a2475167b280117 ChangeLog 288
+SHA256 15aafd143d9ee3dfec4937099e2b5b7ab4b41cfdbe532ddd284e0c71895105a7 ChangeLog 288
+MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
+MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170
+RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170
+SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata.xml 170
+MD5 8dafefe57ebc8a8b2f24606ad8d76fe0 files/digest-bugle-0.0.20061022 262
+RMD160 7fc8e7a49cf60daf8a611f5bc3b29fc37ca96d98 files/digest-bugle-0.0.20061022 262
+SHA256 3584d152ddcae9eb8904c8035e72a9ffc02cdc7674c409e0dfa3c70b451043af files/digest-bugle-0.0.20061022 262
diff --git a/dev-util/bugle/bugle-0.0.20061022.ebuild b/dev-util/bugle/bugle-0.0.20061022.ebuild
new file mode 100644
index 000000000..f42f00a4b
--- /dev/null
+++ b/dev-util/bugle/bugle-0.0.20061022.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+# Wolfgang Frisch <xororand@frexx.de>
+
+inherit autotools toolchain-funcs
+
+DESCRIPTION="A tool for OpenGL debugging"
+HOMEPAGE="http://bugle.sourceforge.net/"
+SRC_URI="mirror://sourceforge/bugle/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="ffmpeg gtk readline"
+
+DEPEND="
+ ffmpeg? ( media-video/ffmpeg )
+ gtk? ( x11-libs/gtk+ >=x11-libs/gtkglext-1.0.0 )
+ readline? ( sys-libs/readline )
+ sys-libs/ncurses"
+
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/ccache-dtu-bug.patch"
+}
+
+src_compile() {
+ if [ "$(gcc-version)" == "4.0" ]; then
+ die "BuGLe doesn't work with gcc-4.0. Use gcc-3.x or >=gcc-4.1."
+ fi
+
+ econf \
+ $(use_with ffmpeg) \
+ $(use_with readline) \
+ $(use_with gtk) \
+ $(use_with gtk gtkglext) \
+ || die "econf failed"
+ emake DESTDIR="${D}" || die "emake failed"
+}
+
+src_install() {
+ dodoc README TODO TROUBLESHOOTING LICENSE FAQ doc/*.{txt,html}
+ docinto examples
+ dodoc doc/examples/*
+ emake DESTDIR="${D}" install || die "emake install failed"
+}
+
+pkg_postinst() {
+ einfo "See man 3 bugle for an introduction to BuGLe."
+}
diff --git a/dev-util/bugle/files/ccache-dtu-bug.patch b/dev-util/bugle/files/ccache-dtu-bug.patch
new file mode 100644
index 000000000..19d63ba5a
--- /dev/null
+++ b/dev-util/bugle/files/ccache-dtu-bug.patch
@@ -0,0 +1,18 @@
+--- bugle-0.0.20061022.orig/Makefile.am 2006-11-02 16:10:12.000000000 +0100
++++ bugle-0.0.20061022/Makefile.am 2006-11-02 16:15:11.000000000 +0100
+@@ -119,9 +119,14 @@
+
+ # Generated files that generate other files
+
++# NOTE: Disabling ccache at line 127 because of a potential bug:
++# The package breaks at one point where a "translation unit dump" is
++# needed, triggered by the gcc option -fdump-translation-unit.
++# This file is not created by ccache.
++
+ src/data/gl.tu: src/data/gl.c src/data/overrides.h
+ $(INSTALL) -d src/data
+- $(COMPILE) -fdump-translation-unit -c $(srcdir)/src/data/gl.c -o src/data/gl.o
++ CCACHE_DISABLE=1 $(COMPILE) -fdump-translation-unit -c $(srcdir)/src/data/gl.c -o src/data/gl.o
+ rm -f src/data/gl.o
+ mv gl.c.`test -f gl.c.t00.tu && echo t00.`tu src/data/gl.tu
+
diff --git a/dev-util/bugle/files/digest-bugle-0.0.20061022 b/dev-util/bugle/files/digest-bugle-0.0.20061022
new file mode 100644
index 000000000..42f6450b4
--- /dev/null
+++ b/dev-util/bugle/files/digest-bugle-0.0.20061022
@@ -0,0 +1,3 @@
+MD5 42dee9799abc1097d51b8d99dd749c3d bugle-0.0.20061022.tar.bz2 1116247
+RMD160 8a290bd023b8291171d08b06bc5d5e5ca364d396 bugle-0.0.20061022.tar.bz2 1116247
+SHA256 89c81a16d522d696b59c4975f17133db65df9ed4b022ea087552bc112369a6f5 bugle-0.0.20061022.tar.bz2 1116247
diff --git a/dev-util/bugle/metadata.xml b/dev-util/bugle/metadata.xml
new file mode 100644
index 000000000..7e3286984
--- /dev/null
+++ b/dev-util/bugle/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>maintainer-wanted</herd>
+</pkgmetadata>