summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Buchholz <rbu@gentoo.org>2008-02-17 15:58:33 +0000
committerRobert Buchholz <rbu@gentoo.org>2008-02-17 15:58:33 +0000
commitcd642784f2d8bcc72878a533bddfbf5dce17c1ca (patch)
tree1fb194c8232009e5970563dee770c0f1c4003a1e /kde-misc
parentamd64 stable wrt bug #204472 (diff)
downloadgentoo-2-cd642784f2d8bcc72878a533bddfbf5dce17c1ca.tar.gz
gentoo-2-cd642784f2d8bcc72878a533bddfbf5dce17c1ca.tar.bz2
gentoo-2-cd642784f2d8bcc72878a533bddfbf5dce17c1ca.zip
Bump to newer svn snapshot to fix icon display.
(Portage version: 2.1.4.4)
Diffstat (limited to 'kde-misc')
-rw-r--r--kde-misc/knetworkmanager/ChangeLog13
-rw-r--r--kde-misc/knetworkmanager/files/knetworkmanager-0.2.1-autostart.patch34
-rw-r--r--kde-misc/knetworkmanager/knetworkmanager-0.2.1_p20071228.ebuild70
3 files changed, 115 insertions, 2 deletions
diff --git a/kde-misc/knetworkmanager/ChangeLog b/kde-misc/knetworkmanager/ChangeLog
index 0e568324bbd6..bc5446512acc 100644
--- a/kde-misc/knetworkmanager/ChangeLog
+++ b/kde-misc/knetworkmanager/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for kde-misc/knetworkmanager
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-misc/knetworkmanager/ChangeLog,v 1.6 2007/12/31 22:35:43 josejx Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/knetworkmanager/ChangeLog,v 1.7 2008/02/17 15:58:33 rbu Exp $
+
+*knetworkmanager-0.2.1_p20071228 (17 Feb 2008)
+
+ 17 Feb 2008; Robert Buchholz <rbu@gentoo.org>
+ +files/knetworkmanager-0.2.1-autostart.patch,
+ +knetworkmanager-0.2.1_p20071228.ebuild:
+ Bump to newer svn snapshot to fix icon display. Additionally,
+ - Depend on straight KDE 3.5 components (bug #206528)
+ - Install proper autostart entry
31 Dec 2007; Joseph Jezak <josejx@gentoo.org>
knetworkmanager-0.2.1_pre20071119.ebuild:
diff --git a/kde-misc/knetworkmanager/files/knetworkmanager-0.2.1-autostart.patch b/kde-misc/knetworkmanager/files/knetworkmanager-0.2.1-autostart.patch
new file mode 100644
index 000000000000..edb80227c325
--- /dev/null
+++ b/kde-misc/knetworkmanager/files/knetworkmanager-0.2.1-autostart.patch
@@ -0,0 +1,34 @@
+Date: Mon, 07 Jan 2008 00:16:46 +0500
+From: Valentine Sinitsyn <valentine.sinitsyn@usu.ru>
+To: kde-networkmanager@kde.org
+Subject: Autostart entry
+
+Hi everyone,
+
+It appears that KNM-current (and 0.2, too) fails to autostart regardless
+of the setting in the config dialog (at least on my system, which is
+Arch Linux Core Dump with almost vanilla KDE 3.5.8). The problem is KNM
+autostart .desktop entry isn't installed where it should be
+($KDEPREFIX/share/autostart). The patch is trivial (see attached file)
+and was shamelessly borrowed from kdebluetooth sources.
+
+...
+Best wishes & Happy New Year!
+Valentine Sinitsyn
+
+Index: Makefile.am
+===================================================================
+--- knetworkmanager/knetworkmanager/src/Makefile.am (revision 757371)
++++ knetworkmanager/knetworkmanager/src/Makefile.am (working copy)
+@@ -66,6 +66,10 @@
+ # this is where the desktop file will go
+ xdg_apps_DATA = knetworkmanager.desktop
+
++# Autostart entry
++autostartdir = $(datadir)/autostart
++autostart_DATA = knetworkmanager.desktop
++
+ # this is where the shell's XML-GUI resource file goes
+ shellrcdir = $(kde_datadir)/knetworkmanager
+ shellrc_DATA = knetworkmanagerui.rc
+
diff --git a/kde-misc/knetworkmanager/knetworkmanager-0.2.1_p20071228.ebuild b/kde-misc/knetworkmanager/knetworkmanager-0.2.1_p20071228.ebuild
new file mode 100644
index 000000000000..77abdb7f4f0f
--- /dev/null
+++ b/kde-misc/knetworkmanager/knetworkmanager-0.2.1_p20071228.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/knetworkmanager/knetworkmanager-0.2.1_p20071228.ebuild,v 1.1 2008/02/17 15:58:33 rbu Exp $
+
+inherit kde eutils
+
+MY_PV="0.2.1r749926"
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="A KDE frontend for NetworkManager"
+HOMEPAGE="http://en.opensuse.org/Projects/KNetworkManager"
+LICENSE="GPL-2"
+#SRC_URI="ftp://ftp.kde.org/pub/kde/stable/apps/KDE3.x/network/${P}.tar.bz2"
+SRC_URI="mirror://gentoo/${MY_P}.tar.bz2"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+IUSE="cisco openvpn pptp dialup"
+
+DEPEND="net-misc/networkmanager
+ =kde-base/kdelibs-3.5*
+ >=dev-libs/dbus-qt3-old-0.70
+ sys-apps/hal
+ net-wireless/wireless-tools
+ >=dev-libs/libnl-1.0_pre6-r1
+ cisco? ( <net-misc/networkmanager-vpnc-0.7.0 )
+ openvpn? ( <net-misc/networkmanager-openvpn-0.3.3 )
+ pptp? ( <net-misc/networkmanager-pptp-0.7.0 )
+ dialup? ( || ( =kde-base/kppp-3.5* =kde-base/kdenetwork-3.5* ) )"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+ kde_pkg_setup
+
+ if has_version "<sys-apps/dbus-0.9" && ! built_with_use sys-apps/dbus qt3 ; then
+ echo
+ eerror "You must rebuild sys-apps/dbus with USE=\"qt3\" or use a newer version of dbus"
+ die "sys-apps/dbus not built with qt3 bindings"
+ fi
+}
+
+src_unpack() {
+ kde_src_unpack
+ cd "${S}"
+
+ epatch "${FILESDIR}/${PN}-0.2-pam_console-fix.patch"
+ epatch "${FILESDIR}/${PN}-0.2.1-fixbuild_u64-hschaa-01.patch"
+ epatch "${FILESDIR}/${PN}-0.2.1-autostart.patch"
+}
+
+src_compile() {
+ set-kdedir
+ export PREFIX="${KDEDIR}"
+ local myconf="$(use_with cisco vpnc) \
+ $(use_with openvpn) \
+ $(use_with pptp) \
+ $(use_with dialup) \
+ --with-distro=gentoo --disable-rpath"
+ kde_src_compile
+}
+
+src_install() {
+ kde_src_install
+
+ # kde.eclass sets sysconfdir too weird for us, delete conf from there and reinstall to /etc
+ set-kdedir
+ rm -rf "${D}/${KDEDIR}/etc"
+ insinto /etc/dbus-1/system.d/
+ doins knetworkmanager/knetworkmanager.conf
+}