Anonymous avatar Anonymous committed b32236a

Moved openbox and obconf live ebuilds from portage tree

Comments (0)

Files changed (5)

x11-misc/obconf/Manifest

+EBUILD obconf-9999.ebuild 1062 RMD160 acfc658c407d5525377e12661c4c67c6dc78ef5c SHA1 4e7ccb9749432990a40f7fd4790f1afa75ca02a1 SHA256 4a5258bd56caacbbe234ca2dc6014067277283f8968e1835125d4d2ae61eb14a

x11-misc/obconf/obconf-9999.ebuild

+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/obconf/obconf-9999.ebuild,v 1.2 2010/02/07 13:59:33 hwoarang Exp $
+
+EAPI="2"
+
+WANT_AUTOMAKE="1.9"
+inherit autotools fdo-mime git
+
+DESCRIPTION="ObConf is a tool for configuring the Openbox window manager."
+HOMEPAGE="http://icculus.org/openbox/index.php/ObConf:About"
+EGIT_REPO_URI="git://git.openbox.org/dana/obconf.git"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE="nls"
+
+RDEPEND=">=gnome-base/libglade-2
+	x11-libs/gtk+:2
+	x11-libs/startup-notification
+	>=x11-wm/openbox-3.4.2"
+DEPEND="${RDEPEND}
+	nls? ( sys-devel/gettext )
+	dev-util/pkgconfig"
+
+src_prepare() {
+	eautopoint
+	eautoreconf
+}
+
+src_configure() {
+	econf \
+		$(use_enable nls) \
+		|| die "econf failed"
+}
+
+src_install() {
+	emake DESTDIR="${D}" install || die "emake install failed"
+}
+
+pkg_postinst() {
+	fdo-mime_desktop_database_update
+	fdo-mime_mime_database_update
+}
+
+pkg_postrm() {
+	fdo-mime_desktop_database_update
+	fdo-mime_mime_database_update
+}

x11-wm/openbox/Manifest

+AUX openbox-gnome-session-3.4.9.patch 449 RMD160 7a39d0d8ba997a6dc7c8de72edaef2ecf5c405e5 SHA1 1f9f9680ed4ca106761d24e4b38e3479c5f3a17a SHA256 0fbbf60ba8ce2503d307cf55b6467b3cf53e01d32deff1417e3afbf6397d9eb5
+EBUILD openbox-9999.ebuild 1469 RMD160 7d4855067ae29c730e43d1c5ccb55eea8530c21d SHA1 e7f0a752d7dffe9b7946878d8a58e07e21525fe0 SHA256 d8d5660e1f58e937429578a319b65cd55055065c246e0b5822d61318b6a5f1e2

x11-wm/openbox/files/openbox-gnome-session-3.4.9.patch

+--- data/xsession/openbox-gnome-session.in.orig	2009-12-27 02:43:49.000000000 +0100
++++ data/xsession/openbox-gnome-session.in	2009-12-27 02:48:03.000000000 +0100
+@@ -18,6 +18,9 @@
+ MAJOR=$(echo $VER | cut -d . -f 1)
+ MINOR=$(echo $VER | cut -d . -f 2)
+ 
++# use gnome menus (gentoo bug #291965)
++export XDG_MENU_PREFIX=gnome-
++
+ # run GNOME with Openbox as its window manager
+ 
+ if test $MAJOR -lt 2 || (test $MAJOR = 2 && test $MINOR -le 22); then

x11-wm/openbox/openbox-9999.ebuild

+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/openbox/openbox-9999.ebuild,v 1.2 2010/02/07 13:40:50 hwoarang Exp $
+
+EAPI="2"
+WANT_AUTOMAKE="1.9"
+inherit autotools eutils git
+
+DESCRIPTION="A standards compliant, fast, light-weight, extensible window manager"
+HOMEPAGE="http://openbox.org/"
+EGIT_REPO_URI="git://git.openbox.org/dana/openbox"
+
+LICENSE="GPL-2"
+SLOT="3"
+KEYWORDS=""
+IUSE="imlib nls startup-notification xinerama"
+
+RDEPEND="dev-libs/glib:2
+	>=dev-libs/libxml2-2.0
+	>=media-libs/fontconfig-2
+	x11-libs/libXft
+	x11-libs/libXrandr
+	x11-libs/libXt
+	>=x11-libs/pango-1.8[X]
+	imlib? ( media-libs/imlib2 )
+	nls? ( sys-devel/gettext )
+	startup-notification? ( >=x11-libs/startup-notification-0.8 )
+	xinerama? ( x11-libs/libXinerama )"
+DEPEND="${RDEPEND}
+	nls? ( sys-devel/gettext )
+	dev-util/cvs
+	dev-util/pkgconfig
+	x11-proto/xextproto
+	x11-proto/xf86vidmodeproto
+	xinerama? ( x11-proto/xineramaproto )"
+
+src_prepare() {
+	epatch "${FILESDIR}"/${PN}-gnome-session-3.4.9.patch
+	eautopoint
+	eautoreconf
+}
+
+src_configure() {
+	econf \
+		--docdir=/usr/share/doc/${PF} \
+		$(use_enable imlib imlib2) \
+		$(use_enable nls) \
+		$(use_enable startup-notification)
+}
+
+src_install() {
+	dodir /etc/X11/Sessions
+	echo "/usr/bin/openbox-session" > "${D}/etc/X11/Sessions/${PN}"
+	fperms a+x /etc/X11/Sessions/${PN}
+
+	emake DESTDIR="${D}" install || die "emake install failed"
+}
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.