summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-09-30 09:13:19 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-09-30 09:13:19 +0000
commit036289b9bb4ce6ceb1cd2affea8a876b04964cf9 (patch)
treeb6614956a05f04d81c6f3918686d84e9011795b2 /eclass/xfce44.eclass
parentAutomated update of use.local.desc (diff)
downloadgentoo-2-036289b9bb4ce6ceb1cd2affea8a876b04964cf9.tar.gz
gentoo-2-036289b9bb4ce6ceb1cd2affea8a876b04964cf9.tar.bz2
gentoo-2-036289b9bb4ce6ceb1cd2affea8a876b04964cf9.zip
Obsolete xfce44.eclass with comments and minimalizing it a bit.
Diffstat (limited to 'eclass/xfce44.eclass')
-rw-r--r--eclass/xfce44.eclass68
1 files changed, 12 insertions, 56 deletions
diff --git a/eclass/xfce44.eclass b/eclass/xfce44.eclass
index ea7566040dde..45ff861a5836 100644
--- a/eclass/xfce44.eclass
+++ b/eclass/xfce44.eclass
@@ -1,39 +1,23 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/xfce44.eclass,v 1.23 2009/02/23 21:38:01 angelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/xfce44.eclass,v 1.24 2009/09/30 09:13:19 ssuominen Exp $
-# Xfce44 Eclass
-#
-# Eclass to simplify Xfce4 package installation
+# OBSOLETE ECLASS. Unused and doesn't work. Delete soon as allowed.
inherit fdo-mime gnome2-utils
-## set some variable values:
-## COMPRESS is the default compression extension
-## INSTALL is default gmake install directive
-## *_VERSION sets the minimum version required for the panel
-## LICENSE is set to Xfce base packages default
-
-LICENSE="GPL-2"
+LICENSE=""
SLOT="0"
-
IUSE="${IUSE}"
-
-DEPEND="${RDEPEND}
- dev-util/pkgconfig"
-
-#S="${WORKDIR}/${MY_P:-${P}}"
-
COMPRESS=".tar.bz2"
CONFIGURE="econf"
INSTALL="emake DESTDIR=${D} install"
-
XFCE_BETA_VERSION="4.3.99.2"
XFCE_VERSION="4.4.0"
THUNAR_BETA_VERSION="0.5.0_rc2"
THUNAR_VERSION="0.8"
+HOMEPAGE=""
-## sets {XFCE,THUNAR}_MASTER_VESION to {XFCE,THUNR}_BETA_VERSION
xfce44_beta() {
XFCE_MASTER_VERSION=${XFCE_BETA_VERSION}
THUNAR_MASTER_VERSION=${THUNAR_BETA_VERSION}
@@ -44,17 +28,14 @@ xfce44() {
THUNAR_MASTER_VERSION=${THUNAR_VERSION}
}
-## plugins and base packages default to tar.bz2 unless gzipped is called
xfce44_gzipped() {
COMPRESS=".tar.gz"
}
-## plugins and base packages default to tar.bz2 unless zipped is called
xfce44_zipped() {
COMPRESS=".zip"
}
-## adds the -plugin string to $P and adds the depend on panel version
xfce44_plugin() {
[[ -z ${MY_PN} ]] && MY_PN="${PN}-plugin"
[[ -z ${MY_P} ]] && MY_P="${MY_PN}-${PV}"
@@ -65,61 +46,45 @@ xfce44_plugin() {
xfce44_panel_plugin() {
xfce44_plugin
- RDEPEND="${RDEPEND} >=xfce-base/xfce4-panel-${XFCE_MASTER_VERSION}"
- DEPEND="${DEPEND} >=xfce-base/xfce4-panel-${XFCE_MASTER_VERSION}"
}
xfce44_thunar_plugin() {
xfce44_plugin
- HOMEPAGE="http://thunar.xfce.org/pwiki/projects/${MY_PN}"
- RDEPEND="${RDEPEND} >=xfce-base/thunar-${THUNAR_MASTER_VERSION}"
- DEPEND="${DEPEND} >=xfce-base/thunar-${THUNAR_MASTER_VERSION}"
}
-## sets SRC_URI and HOMEPAGE to berlios
xfce44_goodies() {
- [[ -z ${HOMEPAGE} ]] && HOMEPAGE="http://goodies.xfce.org"
S="${WORKDIR}/${MY_P:-${P}}"
SRC_URI="http://goodies.xfce.org/releases/${MY_PN:-${PN}}/${MY_P:-${P}}${COMPRESS}"
}
-## goodies_panel_plugin calls panel_plugin and goodies funtions in correct order
xfce44_goodies_panel_plugin() {
xfce44_panel_plugin
xfce44_goodies
}
-## calls thunar_plugin and goodies funtions in correct order
xfce44_goodies_thunar_plugin() {
xfce44_thunar_plugin
xfce44_goodies
}
-## sets SRC_URI and HOMPAGE for all Xfce core packages
xfce44_core_package() {
SRC_URI="http://www.xfce.org/archive/xfce-${XFCE_MASTER_VERSION}/src/${P}${COMPRESS}"
- HOMEPAGE="http://www.xfce.org/"
}
-## sets SRC_URI for non-core packages, like xarchiver
xfce44_extra_package() {
[[ -z ${MY_P} ]] && MY_P=${P}
SRC_URI="http://www.xfce.org/archive/xfce-${XFCE_MASTER_VERSION}/src/${MY_P}${COMPRESS}"
- HOMEPAGE="http://www.xfce.org/"
}
-## single_make sets the -j value to 1 eliminationg parallel builds for broken autotools scripts
xfce44_single_make() {
- JOBS="-j1"
+ JOBS=""
}
-## want_einstall
xfce44_want_einstall() {
- INSTALL="einstall"
+ INSTALL="true"
}
xfce44_src_compile() {
- ## XFCE_CONFIG sets extra config parameters
if has doc ${IUSE}; then
XFCE_CONFIG="${XFCE_CONFIG} $(use_enable doc gtk-doc)"
fi
@@ -132,33 +97,24 @@ xfce44_src_compile() {
XFCE_CONFIG="${XFCE_CONFIG} $(use_enable debug)"
fi
${CONFIGURE} ${XFCE_CONFIG}
- ## JOBS is unset and defaults to make.conf settings
- ## unless set by single_make
- emake ${JOBS} || die
+ emake ${JOBS}
}
xfce44_src_install() {
- ## Install documentation from sources defined in DOCS
[[ -n "${DOCS}" ]] && dodoc ${DOCS}
-
- ## INSTALL is default make install string
- ${INSTALL} ${JOBS} || die
+ ${INSTALL} ${JOBS}
}
xfce44_pkg_preinst() {
- gnome2_icon_savelist
+ true
}
xfce44_pkg_postinst() {
- fdo-mime_desktop_database_update
- fdo-mime_mime_database_update
- gnome2_icon_cache_update
+ true
}
xfce44_pkg_postrm() {
- fdo-mime_desktop_database_update
- fdo-mime_mime_database_update
- gnome2_icon_cache_update
+ true
}
EXPORT_FUNCTIONS src_compile src_install pkg_preinst pkg_postinst pkg_postrm