summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Callen <abcd@gentoo.org>2011-06-06 20:30:06 +0000
committerJonathan Callen <abcd@gentoo.org>2011-06-06 20:30:06 +0000
commit50e67e0fea6bba1e33ec8374056ac1b0da441408 (patch)
tree17bf268ce4c655f9e92f8a492399d32dcb80fd4b
parentRemove mentions of kdeprefix (diff)
downloadgentoo-2-50e67e0fea6bba1e33ec8374056ac1b0da441408.tar.gz
gentoo-2-50e67e0fea6bba1e33ec8374056ac1b0da441408.tar.bz2
gentoo-2-50e67e0fea6bba1e33ec8374056ac1b0da441408.zip
Remove mentions of kdeprefix
(Portage version: 2.2.0_alpha38/cvs/Linux x86_64)
-rw-r--r--kde-base/kde-env/ChangeLog6
-rw-r--r--kde-base/kde-env/kde-env-4.6.2.ebuild50
-rw-r--r--kde-base/kde-env/kde-env-4.6.3.ebuild51
3 files changed, 16 insertions, 91 deletions
diff --git a/kde-base/kde-env/ChangeLog b/kde-base/kde-env/ChangeLog
index 3ccb775619e8..b2f51c9d7e5c 100644
--- a/kde-base/kde-env/ChangeLog
+++ b/kde-base/kde-env/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for kde-base/kde-env
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kde-env/ChangeLog,v 1.102 2011/06/02 21:57:39 dilfridge Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kde-env/ChangeLog,v 1.103 2011/06/06 20:30:06 abcd Exp $
+
+ 06 Jun 2011; Jonathan Callen <abcd@gentoo.org> kde-env-4.6.2.ebuild,
+ kde-env-4.6.3.ebuild:
+ Remove mentions of kdeprefix
02 Jun 2011; Andreas K. Huettel <dilfridge@gentoo.org> -kde-env-4.4.5.ebuild,
-kde-env-4.4.5-r1.ebuild:
diff --git a/kde-base/kde-env/kde-env-4.6.2.ebuild b/kde-base/kde-env/kde-env-4.6.2.ebuild
index 20c84bdb7919..fa15c3547285 100644
--- a/kde-base/kde-env/kde-env-4.6.2.ebuild
+++ b/kde-base/kde-env/kde-env-4.6.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kde-env/kde-env-4.6.2.ebuild,v 1.4 2011/06/01 17:53:12 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kde-env/kde-env-4.6.2.ebuild,v 1.5 2011/06/06 20:30:06 abcd Exp $
EAPI=3
@@ -29,58 +29,18 @@ src_prepare() {
}
src_install() {
- if use kdeprefix; then
- # List all the multilib libdirs
- local _libdir _libdirs
- for _libdir in $(get_all_libdirs); do
- _libdirs+=":${EKDEDIR}/${_libdir}"
- done
- _libdirs=${_libdirs#:}
-
- # number goes down with version
- cat <<-EOF > 43kdepaths-${SLOT}
-PATH="${EKDEDIR}/bin"
-ROOTPATH="${EKDEDIR}/sbin:${EKDEDIR}/bin"
-LDPATH="${_libdirs}"
-MANPATH="${EKDEDIR}/share/man"
-CONFIG_PROTECT="${KDEDIR}/share/config ${KDEDIR}/env ${KDEDIR}/shutdown /usr/share/config"
-#KDE_IS_PRELINKED=1
-PKG_CONFIG_PATH="${EKDEDIR}/$(get_libdir)/pkgconfig"
-XDG_DATA_DIRS="${EKDEDIR}/share"
-EOF
- doenvd 43kdepaths-${SLOT}
- cat <<-EOF > 50-kde-${SLOT}
-SEARCH_DIRS="${EKDEDIR}/bin ${EKDEDIR}/lib*"
-EOF
- insinto /etc/revdep-rebuild
- doins 50-kde-${SLOT}
-
- # kdeglobals needed to make third party apps installed in /usr work
- cat <<-EOF > kdeglobals
-[Directories][\$i]
-prefixes=${EPREFIX}/usr
-EOF
- insinto ${KDEDIR}/share/config
- doins kdeglobals
-
- KDE_X="KDE-${SLOT}"
- else
- # Much simpler for the FHS compliant -kdeprefix install
- # number goes down with version
- cat <<-EOF > 43kdepaths
+ # number goes down with version
+ cat <<-EOF > 43kdepaths
CONFIG_PROTECT="/usr/share/config"
#KDE_IS_PRELINKED=1
EOF
- doenvd 43kdepaths
-
- KDE_X="KDE-4"
- fi
+ doenvd 43kdepaths
# Properly place xinitrc.d file that exports XDG_MENU_PREFIX to env
cat <<EOF > 11-xdg-menu-kde-${SLOT}
#!/bin/sh
-if [ -z \${XDG_MENU_PREFIX} ] && [ "\${DESKTOP_SESSION}" = "${KDE_X}" ]; then
+if [ -z \${XDG_MENU_PREFIX} ] && [ "\${DESKTOP_SESSION}" = "KDE-4" ]; then
export XDG_MENU_PREFIX="kde-${SLOT}-"
fi
EOF
diff --git a/kde-base/kde-env/kde-env-4.6.3.ebuild b/kde-base/kde-env/kde-env-4.6.3.ebuild
index 56b48045a101..4a118713969f 100644
--- a/kde-base/kde-env/kde-env-4.6.3.ebuild
+++ b/kde-base/kde-env/kde-env-4.6.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kde-env/kde-env-4.6.3.ebuild,v 1.1 2011/05/07 10:47:57 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kde-env/kde-env-4.6.3.ebuild,v 1.2 2011/06/06 20:30:06 abcd Exp $
EAPI=4
@@ -29,58 +29,19 @@ src_prepare() {
}
src_install() {
- if use kdeprefix; then
- # List all the multilib libdirs
- local _libdir _libdirs
- for _libdir in $(get_all_libdirs); do
- _libdirs+=":${EKDEDIR}/${_libdir}"
- done
- _libdirs=${_libdirs#:}
-
- # number goes down with version
- cat <<-EOF > 43kdepaths-${SLOT}
-PATH="${EKDEDIR}/bin"
-ROOTPATH="${EKDEDIR}/sbin:${EKDEDIR}/bin"
-LDPATH="${_libdirs}"
-MANPATH="${EKDEDIR}/share/man"
-CONFIG_PROTECT="${KDEDIR}/share/config ${KDEDIR}/env ${KDEDIR}/shutdown /usr/share/config"
-#KDE_IS_PRELINKED=1
-PKG_CONFIG_PATH="${EKDEDIR}/$(get_libdir)/pkgconfig"
-XDG_DATA_DIRS="${EKDEDIR}/share"
-EOF
- doenvd 43kdepaths-${SLOT}
- cat <<-EOF > 50-kde-${SLOT}
-SEARCH_DIRS="${EKDEDIR}/bin ${EKDEDIR}/lib*"
-EOF
- insinto /etc/revdep-rebuild
- doins 50-kde-${SLOT}
-
- # kdeglobals needed to make third party apps installed in /usr work
- cat <<-EOF > kdeglobals
-[Directories][\$i]
-prefixes=${EPREFIX}/usr
-EOF
- insinto ${KDEDIR}/share/config
- doins kdeglobals
-
- KDE_X="KDE-${SLOT}"
- else
- # Much simpler for the FHS compliant -kdeprefix install
- # number goes down with version
- cat <<-EOF > 43kdepaths
+ # Much simpler for the FHS compliant -kdeprefix install
+ # number goes down with version
+ cat <<-EOF > 43kdepaths
CONFIG_PROTECT="/usr/share/config"
#KDE_IS_PRELINKED=1
EOF
- doenvd 43kdepaths
-
- KDE_X="KDE-4"
- fi
+ doenvd 43kdepaths
# Properly place xinitrc.d file that exports XDG_MENU_PREFIX to env
cat <<EOF > 11-xdg-menu-kde-${SLOT}
#!/bin/sh
-if [ -z \${XDG_MENU_PREFIX} ] && [ "\${DESKTOP_SESSION}" = "${KDE_X}" ]; then
+if [ -z \${XDG_MENU_PREFIX} ] && [ "\${DESKTOP_SESSION}" = "KDE-4" ]; then
export XDG_MENU_PREFIX="kde-${SLOT}-"
fi
EOF