diff options
author | Carsten Lohrke <carlo@gentoo.org> | 2009-02-10 14:42:55 +0000 |
---|---|---|
committer | Carsten Lohrke <carlo@gentoo.org> | 2009-02-10 14:42:55 +0000 |
commit | c5044da29edb76dd8dca6d977d441e44dfaf0d2d (patch) | |
tree | c0915ce5e622df00098bc46782b33dc16d48fc5b /kde-misc | |
parent | Fix linking issues. Per bug #258438. (diff) | |
download | gentoo-2-c5044da29edb76dd8dca6d977d441e44dfaf0d2d.tar.gz gentoo-2-c5044da29edb76dd8dca6d977d441e44dfaf0d2d.tar.bz2 gentoo-2-c5044da29edb76dd8dca6d977d441e44dfaf0d2d.zip |
Require correct automake version. Get rid of the invalid aRts dependency. Proper desktop file fix. Wipe superfluous debian docs etc.. Address bug #254596 and #258437.
(Portage version: 2.2_rc23/cvs/Linux i686)
Diffstat (limited to 'kde-misc')
-rw-r--r-- | kde-misc/ksensors/ChangeLog | 11 | ||||
-rw-r--r-- | kde-misc/ksensors/files/ksensors-0.7.3-desktop-file.diff | 19 | ||||
-rw-r--r-- | kde-misc/ksensors/files/ksensors-0.7.3-sound-dir.diff | 10 | ||||
-rw-r--r-- | kde-misc/ksensors/ksensors-0.7.3-r3.ebuild | 55 |
4 files changed, 94 insertions, 1 deletions
diff --git a/kde-misc/ksensors/ChangeLog b/kde-misc/ksensors/ChangeLog index 544260fd55a8..2b82868528ca 100644 --- a/kde-misc/ksensors/ChangeLog +++ b/kde-misc/ksensors/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for kde-misc/ksensors # Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-misc/ksensors/ChangeLog,v 1.13 2009/01/11 08:01:40 gengor Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-misc/ksensors/ChangeLog,v 1.14 2009/02/10 14:42:55 carlo Exp $ + +*ksensors-0.7.3-r3 (10 Feb 2009) + + 10 Feb 2009; Carsten Lohrke <carlo@gentoo.org> + +files/ksensors-0.7.3-desktop-file.diff, + +files/ksensors-0.7.3-sound-dir.diff, +ksensors-0.7.3-r3.ebuild: + Require correct automake version. Get rid of the invalid aRts dependency. + Proper desktop file fix. Wipe superfluous debian docs etc.. Address bug + #254596 and #258437. *ksensors-0.7.3-r2 (11 Jan 2009) diff --git a/kde-misc/ksensors/files/ksensors-0.7.3-desktop-file.diff b/kde-misc/ksensors/files/ksensors-0.7.3-desktop-file.diff new file mode 100644 index 000000000000..228d17b4085b --- /dev/null +++ b/kde-misc/ksensors/files/ksensors-0.7.3-desktop-file.diff @@ -0,0 +1,19 @@ +--- ksensors-0.7.3/src/Makefile.am.orig 2009-02-10 03:01:36.000000000 +0100 ++++ ksensors-0.7.3/src/Makefile.am 2009-02-10 03:01:54.000000000 +0100 +@@ -46,7 +46,7 @@ + ksensors_LDADD = $(LIB_KDEUI) $(LIB_KDECORE) -lsensors -lm + + # this is where the desktop file will go +-shelldesktopdir = $(kde_appsdir)/Utilities ++shelldesktopdir = $(xdg_appsdir) + shelldesktop_DATA = ksensors.desktop + + # this is where the shell's XML-GUI resource file goes +--- ksensors-0.7.3/src/ksensors.desktop.orig 2009-02-10 03:02:15.000000000 +0100 ++++ ksensors-0.7.3/src/ksensors.desktop 2009-02-10 03:03:16.000000000 +0100 +@@ -1,5 +1,4 @@ + [Desktop Entry] +-Encoding=UTF-8 + Name=KSensors + Exec=ksensors + Icon=ksensors diff --git a/kde-misc/ksensors/files/ksensors-0.7.3-sound-dir.diff b/kde-misc/ksensors/files/ksensors-0.7.3-sound-dir.diff new file mode 100644 index 000000000000..89f75c9bcd2f --- /dev/null +++ b/kde-misc/ksensors/files/ksensors-0.7.3-sound-dir.diff @@ -0,0 +1,10 @@ +--- ksensors-0.7.3/src/sounds/Makefile.am.orig 2009-02-10 15:09:05.000000000 +0100 ++++ ksensors-0.7.3/src/sounds/Makefile.am 2009-02-10 15:09:59.000000000 +0100 +@@ -5,6 +5,7 @@ + EXTRA_DIST = ksensors_alert.wav + + install-data-local: ++ $(mkinstalldirs) $(kde_sounddir) + $(INSTALL_DATA) $(srcdir)/ksensors_alert.wav $(kde_sounddir)/ksensors_alert.wav + uninstall-local: + rm -f $(kde_sounddir)/ksensors_alert.wav diff --git a/kde-misc/ksensors/ksensors-0.7.3-r3.ebuild b/kde-misc/ksensors/ksensors-0.7.3-r3.ebuild new file mode 100644 index 000000000000..27195072eb8b --- /dev/null +++ b/kde-misc/ksensors/ksensors-0.7.3-r3.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-misc/ksensors/ksensors-0.7.3-r3.ebuild,v 1.1 2009/02/10 14:42:55 carlo Exp $ + +ARTS_REQUIRED="never" +WANT_AUTOMAKE="1.6" + +inherit kde + +DESCRIPTION="KSensors - a nice lm_sensors frontend for KDE." +SRC_URI="mirror://sourceforge/ksensors/${P}.tar.gz + mirror://debian/pool/main/k/ksensors/${PN}_${PV}-16.diff.gz" +HOMEPAGE="http://ksensors.sourceforge.net/" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="hddtemp ibmacpi" + +DEPEND=">=sys-apps/lm_sensors-2.6.3" + +RDEPEND="${DEPEND} + hddtemp? ( >=app-admin/hddtemp-0.3_beta15-r1 )" + +need-kde 3.5 + +src_unpack() { + kde_src_unpack + + rm -f "${S}"/configure + + cd ${WORKDIR} + + # Debian patchset, fixes bugs 120350, 171208, 173821, 232782 + epatch ${PN}_${PV}-16.diff + + epatch "${FILESDIR}/ksensors-0.7.3-desktop-file.diff" + epatch "${FILESDIR}/ksensors-0.7.3-sound-dir.diff" + + # On Gentoo hddtemp resides in /usr/sbin which is not in the user's + # path. Thus, call hddtemp with full path. + use hddtemp && epatch "${FILESDIR}/${P}-hddtemp-path.patch" + + # User-contributed patch, fixes bug 116661 + use ibmacpi && epatch "${FILESDIR}/${P}-ibm-acpi.patch" +} + +pkg_postinst() { + kde_pkg_postinst + + if use hddtemp; then + [[ -u "${ROOT}"/usr/sbin/hddtemp ]] || \ + elog "You need to run \"chmod u+s /usr/sbin/hddtemp\" to show disk temperatures." + fi +} |