Bug 112917 - app-misc/ddccontrol-0.3 (Update) and ddccontrol-db-20051114 (version bump)
Bug#: 112917 Product:  Gentoo Linux Version: 2005.0 Platform: All
OS/Version: Linux Status: CLOSED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: robbat2@gentoo.org Reported By: nicolas@boichat.ch
Component: Ebuilds
URL:  http://ddccontrol.sf.net
Summary: app-misc/ddccontrol-0.3 (Update) and ddccontrol-db-20051114 (version bump)
Keywords:  
Status Whiteboard: 
Opened: 2005-11-18 07:48 0000
Description:   Opened: 2005-11-18 07:48 0000
ddccontrol 0.3 has just been released.

Please bump ddccontrol-db to 20051114.

------- Comment #1 From Nicolas Boichat 2005-11-18 07:56:03 0000 -------
Created an attachment (id=73136) [details]
ddccontrol-0.3.ebuild

Updated ebuild for ddccontrol-0.3.
Changes:
 - Use tar.bz2 instead of tar.gz source URI.
 - Depends on the newest ddccontrol-db.
 - Depends on gnome-panel-2.10 if gnome USE flag is set.
 - Fix a sandbox violation (I fixed it upstream).

--- ddccontrol-0.2.ebuild	2005-09-04 00:35:40.000000000 +0200
+++ ddccontrol-0.3.ebuild	2005-11-18 16:54:11.000000000 +0100
@@ -4,7 +4,7 @@

 DESCRIPTION="DDCControl allows control of monitor parameters via DDC"
 HOMEPAGE="http://ddccontrol.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"

 LICENSE="GPL-2"
 SLOT="0"
@@ -13,9 +13,10 @@

 RDEPEND="dev-libs/libxml2
	gtk? ( >=x11-libs/gtk+-2.4 )
+	gnome? ( >=gnome-base/gnome-panel-2.10 )
	sys-apps/pciutils
	nls? ( sys-devel/gettext )
-	>=app-misc/ddccontrol-db-20050813"
+	>=app-misc/ddccontrol-db-20051114"
 DEPEND="${RDEPEND}
	doc? ( >=app-text/docbook-xsl-stylesheets-1.65.1
		   >=dev-libs/libxslt-1.1.6
@@ -23,6 +24,9 @@
	sys-kernel/linux-headers"

 src_compile() {
+	# Fix sandbox violation
+	sed -i -e "s/-@INSTALL@ -m 644 gddccontrol-bluecurve.png
\$(datadir)/-@INSTALL@ -m 644 gddccontrol-bluecurve.png
\$(DESTDIR)\/\$(datadir)/" src/gddccontrol/Makefile.in
+
	econf $(use_enable doc) \
		$(use_enable gtk gnome) \
		$(use_enable nls) || die "econf failed"

------- Comment #2 From Robin Johnson 2005-12-11 20:09:52 0000 -------
in cvs now.
I modified your changes significently.

------- Comment #3 From Nicolas Boichat 2005-12-27 13:36:57 0000 -------
Works fine, thanks.