Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 112917 - app-misc/ddccontrol-0.3 (Update) and ddccontrol-db-20051114 (version bump)
Summary: app-misc/ddccontrol-0.3 (Update) and ddccontrol-db-20051114 (version bump)
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Robin Johnson
URL: http://ddccontrol.sf.net
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-18 07:48 UTC by Nicolas Boichat
Modified: 2005-12-27 13:36 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
ddccontrol-0.3.ebuild (ddccontrol-0.3.ebuild,1.24 KB, text/plain)
2005-11-18 07:56 UTC, Nicolas Boichat
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Boichat 2005-11-18 07:48:01 UTC
ddccontrol 0.3 has just been released.

Please bump ddccontrol-db to 20051114.
Comment 1 Nicolas Boichat 2005-11-18 07:56:03 UTC
Created attachment 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 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-12-11 20:09:52 UTC
in cvs now.
I modified your changes significently.
Comment 3 Nicolas Boichat 2005-12-27 13:36:57 UTC
Works fine, thanks.