Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 468680 | Differences between
and this patch

Collapse All | Expand All

(-)fvwm-crystal-3.0.6-r2.ebuild (-37 / +33 lines)
Lines 1-64 Link Here
1
# Copyright 1999-2012 Gentoo Foundation
1
# Copyright 1999-2013 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/x11-themes/fvwm-crystal/fvwm-crystal-3.0.6-r2.ebuild,v 1.4 2012/07/29 17:48:29 armin76 Exp $
3
# $Header: $
4
4
5
EAPI=4
5
EAPI="5"
6
6
7
PYTHON_DEPEND="2:2.7"
7
PYTHON_COMPAT=( python2_7 )
8
inherit eutils python-r1
8
9
9
inherit eutils python
10
DESCRIPTION="Configurable and full featured FVWM theme, with lots of transparency and freedesktop compatible menu"
10
11
HOMEPAGE="http://fvwm-crystal.sourceforge.net/"
11
DESCRIPTION="Configurable and full featured theme for FVWM, with lots of transparency"
12
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
12
HOMEPAGE="http://gna.org/projects/fvwm-crystal/"
13
SRC_URI="http://download.gna.org/${PN}/${PV}/${P}.tar.gz"
14
13
15
LICENSE="GPL-2"
14
LICENSE="GPL-2"
16
SLOT="0"
15
SLOT="0"
17
KEYWORDS="amd64 ~ppc ~ppc64 x86"
16
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
18
IUSE=""
17
IUSE=""
19
18
20
RDEPEND="|| ( media-gfx/imagemagick[png] media-gfx/graphicsmagick[imagemagick,png] )
19
RDEPEND="${PYTHON_DEPS}
21
	x11-apps/xwd
20
	>=x11-wm/fvwm-2.6.5[png]
22
	|| ( x11-misc/habak x11-misc/hsetroot )
21
	|| ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] )
23
	|| ( x11-misc/stalonetray x11-misc/trayer )
22
	|| ( >=x11-misc/stalonetray-0.6.2-r2 x11-misc/trayer )
24
	>=x11-wm/fvwm-2.6.2[png]"
23
	|| ( x11-misc/hsetroot media-gfx/feh )
25
24
	sys-apps/sed
26
pkg_setup() {
25
	sys-devel/bc
27
	python_set_active_version 2
26
	virtual/awk
28
	python_pkg_setup
27
	x11-apps/xwd"
29
}
30
28
31
src_prepare() {
29
src_prepare() {
32
	find . -type d -name '.svn' -prune -exec rm -rf {} ';' || die
33
	python_convert_shebangs -r 2 bin fvwm/scripts #317041
34
	epatch \
30
	epatch \
35
		"${FILESDIR}"/${PN}.apps.patch \
36
		"${FILESDIR}"/${PN}-build.patch
31
		"${FILESDIR}"/${PN}-build.patch
37
}
32
}
38
33
39
src_install() {
34
src_install() {
40
	emake \
35
	emake \
41
		DESTDIR="${D}" \
36
		DESTDIR="${D}" \
42
		addondir="/usr/share/doc/${PF}/addons" \
37
		docdir="${EPREFIX}/usr/share/doc/${PF}" \
43
		docdir="/usr/share/doc/${PF}" \
38
		prefix="${EPREFIX}/usr" \
44
		prefix="/usr" \
45
		install
39
		install
46
47
	exeinto /etc/X11/Sessions
48
	doexe "${FILESDIR}"/fvwm-crystal
49
50
	insinto /usr/share/xsessions
51
	doins addons/fvwm-crystal.desktop
52
}
40
}
53
41
54
pkg_postinst() {
42
pkg_postinst() {
55
	einfo
43
	einfo
56
	einfo "Configuration examples can be found in ${ROOT}usr/share/doc/${PF}/examples/"
44
	einfo "After installation, execute following commands:"
45
	einfo " $ cp -r ${EPREFIX}/usr/share/doc/${PF}/addons/Xresources ~/.Xresources"
46
	einfo " $ cp -r ${EPREFIX}/usr/share/doc/${PF}/addons/Xsession ~/.xinitrc"
57
	einfo
47
	einfo
58
	einfo "Many applications can extend functionality of fvwm-crystal."
48
	einfo "Many applications can extend functionality of fvwm-crystal."
59
	einfo "They are listed in the INSTALL file in ${ROOT}usr/share/doc/${PF}."
49
	einfo "They are listed in ${EPREFIX}/usr/share/doc/${PF}/INSTALL.gz."
50
	einfo
51
	einfo "Some icons fixes was committed recently."
52
	einfo "To archive the same fixes on your private icon files,"
53
	einfo "please read ${EPREFIX}/usr/share/doc/${PF}/INSTALL.gz."
54
	einfo "This will fix the libpng warnings at stderr."
60
	einfo
55
	einfo
61
	ewarn "In this release, all hyphens (-) in names of env variables"
56
	einfo "The color themes was updated to Fvwm InfoStore."
62
	ewarn "used by FVWM-Crystal have been replaced by underscores (_)."
57
	einfo "To know how to update your custom color themes, please run"
63
	ewarn "You may need to update your configuration."
58
	einfo "	${EPREFIX}/usr/share/doc/${PF}/addons/convert_colorsets"
59
	einfo ""
64
}
60
}

Return to bug 468680