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

Collapse All | Expand All

(-)/usr/portage/x11-wm/icewm/icewm-1.2.37.ebuild (-6 / +23 lines)
Lines 11-24 Link Here
11
#fix for icewm preversion package names
11
#fix for icewm preversion package names
12
S=${WORKDIR}/${P/_}
12
S=${WORKDIR}/${P/_}
13
13
14
SRC_URI="mirror://sourceforge/${PN}/${P/_}.tar.gz"
14
SRC_URI="mirror://sourceforge/${PN}/${P/_}.tar.gz
15
	xdg? ( http://lostclus.linux.kiev.ua/scripts/icewm-xdg-menu )"
15
16
16
LICENSE="GPL-2"
17
LICENSE="GPL-2"
17
SLOT="0"
18
SLOT="0"
18
19
19
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
20
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
20
21
21
IUSE="esd imlib nls spell truetype xinerama minimal debug uclibc"
22
IUSE="esd imlib nls spell truetype xinerama minimal debug uclibc gnome xdg"
22
23
23
RDEPEND="x11-libs/libX11
24
RDEPEND="x11-libs/libX11
24
	x11-libs/libXrandr
25
	x11-libs/libXrandr
Lines 33-39 Link Here
33
	imlib? ( >=media-libs/imlib-1.9.10-r1 )
34
	imlib? ( >=media-libs/imlib-1.9.10-r1 )
34
	nls? ( sys-devel/gettext )
35
	nls? ( sys-devel/gettext )
35
	truetype? ( >=media-libs/freetype-2.0.9 )
36
	truetype? ( >=media-libs/freetype-2.0.9 )
36
	media-libs/giflib"
37
	media-libs/giflib
38
	gnome? ( gnome-base/gnome-desktop gnome-base/libgnomeui gnome-base/gnome-vfs:2 )
39
	xdg? ( dev-python/pyxdg x11-misc/xdg-utils )"
37
40
38
DEPEND="${RDEPEND}
41
DEPEND="${RDEPEND}
39
	x11-proto/xproto
42
	x11-proto/xproto
Lines 55-60 Link Here
55
58
56
	use uclibc && epatch "${FILESDIR}/icewm-uclibc.patch"
59
	use uclibc && epatch "${FILESDIR}/icewm-uclibc.patch"
57
60
61
	cd "${S}"
62
	epatch "${FILESDIR}/icewm-configure.patch"
63
	epatch "${FILESDIR}/icewm-menu.patch"
64
	epatch "${FILESDIR}/icewm-toolbar.patch"
65
	epatch "${FILESDIR}/icewm-keys.patch"
66
	epatch "${FILESDIR}/icewm-desktop.patch"
67
58
	echo "#!/bin/sh" > "$T/icewm"
68
	echo "#!/bin/sh" > "$T/icewm"
59
	echo "/usr/bin/icewm-session" >> "$T/icewm"
69
	echo "/usr/bin/icewm-session" >> "$T/icewm"
60
}
70
}
Lines 63-69 Link Here
63
73
64
	if use truetype
74
	if use truetype
65
	then
75
	then
66
		myconf="${myconf} --enable-gradients --enable-shape --enable-movesize-fx --enable-shaped-decorations"
76
		myconf="${myconf} --enable-gradients --enable-antialiasing --enable-shape --enable-movesize-fx --enable-shaped-decorations"
67
	else
77
	else
68
		myconf="${myconf} --disable-xfreetype --enable-corefonts
78
		myconf="${myconf} --disable-xfreetype --enable-corefonts
69
			$(use_enable minimal lite)"
79
			$(use_enable minimal lite)"
Lines 80-85 Link Here
80
		$(use_enable spell GtkSpell)
90
		$(use_enable spell GtkSpell)
81
		$(use_enable x86 x86-asm)
91
		$(use_enable x86 x86-asm)
82
		$(use_enable xinerama)
92
		$(use_enable xinerama)
93
		$(use_enable gnome menus-gnome2)
83
		$(use_enable debug)"
94
		$(use_enable debug)"
84
95
85
	CXXFLAGS="${CXXFLAGS}" econf ${myconf} || die "configure failed"
96
	CXXFLAGS="${CXXFLAGS}" econf ${myconf} || die "configure failed"
Lines 93-104 Link Here
93
src_install(){
104
src_install(){
94
	emake DESTDIR="${D}" install || die "make install failed"
105
	emake DESTDIR="${D}" install || die "make install failed"
95
106
107
	newman doc/icewm.1.man icewm.1
108
96
	dodoc AUTHORS BUGS CHANGES PLATFORMS README* TODO VERSION
109
	dodoc AUTHORS BUGS CHANGES PLATFORMS README* TODO VERSION
97
	dohtml -a html,sgml doc/*
110
	dohtml -a html,sgml doc/*
98
111
112
	if use xdg; then
113
		dobin "${DISTDIR}/icewm-xdg-menu"
114
	fi
115
99
	exeinto /etc/X11/Sessions
116
	exeinto /etc/X11/Sessions
100
	doexe "$T/icewm"
117
	doexe "${T}/icewm"
101
118
102
	insinto /usr/share/xsessions
119
	insinto /usr/share/xsessions
103
	doins "${FILESDIR}/IceWM.desktop"
120
	doins lib/IceWM.desktop
104
}
121
}

Return to bug 276293