diff options
author | Kathryn Kulick <gothgirl@gentoo.org> | 2005-11-26 18:58:48 +0000 |
---|---|---|
committer | Kathryn Kulick <gothgirl@gentoo.org> | 2005-11-26 18:58:48 +0000 |
commit | 43068f810fa245116cae9d9c469d95f69784cc80 (patch) | |
tree | 9b4767fc9b28962171868b5232a65bfc019c9a69 /x11-wm | |
parent | small change for cosmetics (diff) | |
download | gentoo-2-43068f810fa245116cae9d9c469d95f69784cc80.tar.gz gentoo-2-43068f810fa245116cae9d9c469d95f69784cc80.tar.bz2 gentoo-2-43068f810fa245116cae9d9c469d95f69784cc80.zip |
64bit property patch added
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/openbox/ChangeLog | 8 | ||||
-rw-r--r-- | x11-wm/openbox/Manifest | 3 | ||||
-rw-r--r-- | x11-wm/openbox/files/digest-openbox-3.3_rc2-r1 | 2 | ||||
-rw-r--r-- | x11-wm/openbox/files/openbox-3.3_rc2-64bit-property.patch | 176 | ||||
-rw-r--r-- | x11-wm/openbox/openbox-3.3_rc2-r1.ebuild | 58 |
5 files changed, 246 insertions, 1 deletions
diff --git a/x11-wm/openbox/ChangeLog b/x11-wm/openbox/ChangeLog index 6b577367b5d7..678b90772d16 100644 --- a/x11-wm/openbox/ChangeLog +++ b/x11-wm/openbox/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for x11-wm/openbox # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-wm/openbox/ChangeLog,v 1.103 2005/10/29 04:15:45 gothgirl Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-wm/openbox/ChangeLog,v 1.104 2005/11/26 18:58:48 gothgirl Exp $ + +*openbox-3.3_rc2-r1 (26 Nov 2005) + + 26 Nov 2005; <gothgirl@gentoo.org> + +files/openbox-3.3_rc2-64bit-property.patch, +openbox-3.3_rc2-r1.ebuild: + 64bit property patch added 29 Oct 2005; <gothgirl@gentoo.org> openbox-3.3_rc2.ebuild: pango support corrected wrt bug#106131 diff --git a/x11-wm/openbox/Manifest b/x11-wm/openbox/Manifest index 7d62e308bcf0..179b32cda657 100644 --- a/x11-wm/openbox/Manifest +++ b/x11-wm/openbox/Manifest @@ -4,9 +4,11 @@ MD5 90beb2a0e34f8958dd4c1f3312856d09 files/digest-openbox-3.2-r2 134 MD5 519483ed863bad15ab1a51dc3a9d8e07 files/digest-openbox-3.3_rc1-r1 138 MD5 519483ed863bad15ab1a51dc3a9d8e07 files/digest-openbox-3.3_rc1-r2 138 MD5 122fd8de469e2b587a061d7228b2581e files/digest-openbox-3.3_rc2 138 +MD5 122fd8de469e2b587a061d7228b2581e files/digest-openbox-3.3_rc2-r1 138 MD5 df0043ec05d0e257c30a0c1b7b28a78e files/openbox-2.3.1-epist.patch 318 MD5 0b79bdcff70f29cdaf7980382b34dee4 files/openbox-2.3.1-nls-codeset.patch 306 MD5 9cf0208bdd9705c3aa2ec4a2be62c138 files/openbox-3.2-makefile.patch 413 +MD5 f628d964589ac827c70bca569312d813 files/openbox-3.3_rc2-64bit-property.patch 6458 MD5 056f24d600f8f7ad2c02642ecd41ebfa files/openbox-gcc.patch 276 MD5 87a0450483a263221557f426bd7b0d60 files/openbox.desktop 192 MD5 d87e96216b91be365fcbc08521298824 metadata.xml 251 @@ -14,4 +16,5 @@ MD5 79cff5950461065f7c400f64e3ff2c92 openbox-3.2-r1.ebuild 1504 MD5 51397ff312937bcbf2bfdb88761a0784 openbox-3.2-r2.ebuild 1580 MD5 8fc6220800cdabdff66278338255b2d2 openbox-3.3_rc1-r1.ebuild 1732 MD5 e798f2ca4ac6aea747d905d99447ed86 openbox-3.3_rc1-r2.ebuild 1734 +MD5 ec8bfccaf268c4481977ee45856a603b openbox-3.3_rc2-r1.ebuild 1660 MD5 7713c362072065b5b6ab5548884aee91 openbox-3.3_rc2.ebuild 1644 diff --git a/x11-wm/openbox/files/digest-openbox-3.3_rc2-r1 b/x11-wm/openbox/files/digest-openbox-3.3_rc2-r1 new file mode 100644 index 000000000000..63bf9cec59ef --- /dev/null +++ b/x11-wm/openbox/files/digest-openbox-3.3_rc2-r1 @@ -0,0 +1,2 @@ +MD5 3d69bb394dae0994461172fccedc602a ob-themes-usability.tar.bz2 19204 +MD5 1ff100d27cc1f47dadebb884a696dac3 openbox-3.3-rc2.tar.gz 585486 diff --git a/x11-wm/openbox/files/openbox-3.3_rc2-64bit-property.patch b/x11-wm/openbox/files/openbox-3.3_rc2-64bit-property.patch new file mode 100644 index 000000000000..4d763ff16c28 --- /dev/null +++ b/x11-wm/openbox/files/openbox-3.3_rc2-64bit-property.patch @@ -0,0 +1,176 @@ +diff -ruN openbox-3.3-rc2.bak/openbox/client.c openbox-3.3-rc2/openbox/client.c +--- openbox-3.3-rc2.bak/openbox/client.c 2005-08-11 15:23:59.000000000 +0200 ++++ openbox-3.3-rc2/openbox/client.c 2005-10-07 16:34:21.000000000 +0200 +@@ -126,7 +126,7 @@ + windows = NULL; + + PROP_SETA32(RootWindow(ob_display, ob_screen), +- net_client_list, window, (guint32*)windows, size); ++ net_client_list, window, (gulong*)windows, size); + + if (windows) + g_free(windows); +@@ -1297,7 +1297,7 @@ + + static void client_change_allowed_actions(ObClient *self) + { +- guint32 actions[9]; ++ gulong actions[9]; + gint num = 0; + + /* desktop windows are kept on all desktops */ +@@ -1712,8 +1712,8 @@ + + static void client_change_state(ObClient *self) + { +- guint32 state[2]; +- guint32 netstate[11]; ++ gulong state[2]; ++ gulong netstate[11]; + guint num; + + state[0] = self->wmstate; +diff -ruN openbox-3.3-rc2.bak/openbox/frame.c openbox-3.3-rc2/openbox/frame.c +--- openbox-3.3-rc2.bak/openbox/frame.c 2005-07-14 15:44:33.000000000 +0200 ++++ openbox-3.3-rc2/openbox/frame.c 2005-10-07 16:06:50.000000000 +0200 +@@ -422,7 +422,7 @@ + } + + if (!STRUT_EQUAL(self->size, oldsize)) { +- guint32 vals[4]; ++ gulong vals[4]; + vals[0] = self->size.left; + vals[1] = self->size.right; + vals[2] = self->size.top; +Files openbox-3.3-rc2.bak/openbox/.libs/lt-openbox and openbox-3.3-rc2/openbox/.libs/lt-openbox differ +Files openbox-3.3-rc2.bak/openbox/.libs/openbox and openbox-3.3-rc2/openbox/.libs/openbox differ +diff -ruN openbox-3.3-rc2.bak/openbox/prop.c openbox-3.3-rc2/openbox/prop.c +--- openbox-3.3-rc2.bak/openbox/prop.c 2004-03-21 02:03:00.000000000 +0100 ++++ openbox-3.3-rc2/openbox/prop.c 2005-10-07 16:58:45.000000000 +0200 +@@ -206,7 +206,7 @@ + data[i] = xdata[i]; + break; + case 16: +- ((guint16*)data)[i] = ((guint16*)xdata)[i]; ++ ((gushort*)data)[i] = ((gushort*)xdata)[i]; + break; + case 32: + ((guint32*)data)[i] = ((gulong*)xdata)[i]; +@@ -245,7 +245,7 @@ + (*data)[i] = xdata[i]; + break; + case 16: +- ((guint16*)*data)[i] = ((guint16*)xdata)[i]; ++ ((gushort*)*data)[i] = ((gushort*)xdata)[i]; + break; + case 32: + ((guint32*)*data)[i] = ((gulong*)xdata)[i]; +@@ -383,13 +383,13 @@ + return FALSE; + } + +-void prop_set32(Window win, Atom prop, Atom type, guint32 val) ++void prop_set32(Window win, Atom prop, Atom type, gulong val) + { + XChangeProperty(ob_display, win, prop, type, 32, PropModeReplace, + (guchar*)&val, 1); + } + +-void prop_set_array32(Window win, Atom prop, Atom type, guint32 *val, ++void prop_set_array32(Window win, Atom prop, Atom type, gulong *val, + guint num) + { + XChangeProperty(ob_display, win, prop, type, 32, PropModeReplace, +diff -ruN openbox-3.3-rc2.bak/openbox/prop.h openbox-3.3-rc2/openbox/prop.h +--- openbox-3.3-rc2.bak/openbox/prop.h 2004-03-21 02:03:00.000000000 +0100 ++++ openbox-3.3-rc2/openbox/prop.h 2005-10-07 16:15:38.000000000 +0200 +@@ -177,8 +177,8 @@ + gboolean prop_get_strings_locale(Window win, Atom prop, gchar ***ret); + gboolean prop_get_strings_utf8(Window win, Atom prop, gchar ***ret); + +-void prop_set32(Window win, Atom prop, Atom type, guint32 val); +-void prop_set_array32(Window win, Atom prop, Atom type, guint32 *val, ++void prop_set32(Window win, Atom prop, Atom type, gulong val); ++void prop_set_array32(Window win, Atom prop, Atom type, gulong *val, + guint num); + void prop_set_string_utf8(Window win, Atom prop, gchar *val); + void prop_set_strings_utf8(Window win, Atom prop, gchar **strs); +diff -ruN openbox-3.3-rc2.bak/openbox/screen.c openbox-3.3-rc2/openbox/screen.c +--- openbox-3.3-rc2.bak/openbox/screen.c 2005-10-03 17:47:53.000000000 +0200 ++++ openbox-3.3-rc2/openbox/screen.c 2005-10-07 16:29:58.000000000 +0200 +@@ -156,7 +156,7 @@ + XSetWindowAttributes attrib; + pid_t pid; + gint i, num_support; +- guint32 *supported; ++ gulong *supported; + + /* create the netwm support window */ + attrib.override_redirect = TRUE; +@@ -206,7 +206,7 @@ + /* set the _NET_SUPPORTED_ATOMS hint */ + num_support = 51; + i = 0; +- supported = g_new(guint32, num_support); ++ supported = g_new(gulong, num_support); + supported[i++] = prop_atoms.net_current_desktop; + supported[i++] = prop_atoms.net_number_of_desktops; + supported[i++] = prop_atoms.net_desktop_geometry; +@@ -340,7 +340,7 @@ + static gint oldw = 0, oldh = 0; + gint w, h; + GList *it; +- guint32 geometry[2]; ++ gulong geometry[2]; + + w = WidthOfScreen(ScreenOfDisplay(ob_display, ob_screen)); + h = HeightOfScreen(ScreenOfDisplay(ob_display, ob_screen)); +@@ -368,7 +368,7 @@ + void screen_set_num_desktops(guint num) + { + guint i, old; +- guint32 *viewport; ++ gulong *viewport; + GList *it; + + g_assert(num > 0); +@@ -381,7 +381,7 @@ + net_number_of_desktops, cardinal, num); + + /* set the viewport hint */ +- viewport = g_new0(guint32, num * 2); ++ viewport = g_new0(gulong, num * 2); + PROP_SETA32(RootWindow(ob_display, ob_screen), + net_desktop_viewport, cardinal, viewport, num * 2); + g_free(viewport); +@@ -969,7 +969,7 @@ + void screen_update_areas() + { + guint i, x; +- guint32 *dims; ++ long *dims; + GList *it; + gint o; + +@@ -987,7 +987,7 @@ + area[i] = g_new0(Rect, screen_num_monitors + 1); + area[i] = NULL; + +- dims = g_new(guint32, 4 * screen_num_desktops); ++ dims = g_new(gulong, 4 * screen_num_desktops); + + for (i = 0; i < screen_num_desktops + 1; ++i) { + Strut *struts; + +diff -ruN openbox-3.3-rc2.bak/openbox/stacking.c openbox-3.3-rc2/openbox/stacking.c +--- openbox-3.3-rc2.bak/openbox/stacking.c 2005-02-08 05:33:54.000000000 +0100 ++++ openbox-3.3-rc2/openbox/stacking.c 2005-10-07 16:21:27.000000000 +0200 +@@ -49,7 +49,7 @@ + } + + PROP_SETA32(RootWindow(ob_display, ob_screen), +- net_client_list_stacking, window, (guint32*)windows, i); ++ net_client_list_stacking, window, (gulong*)windows, i); + + g_free(windows); + } diff --git a/x11-wm/openbox/openbox-3.3_rc2-r1.ebuild b/x11-wm/openbox/openbox-3.3_rc2-r1.ebuild new file mode 100644 index 000000000000..d6a02e699b1a --- /dev/null +++ b/x11-wm/openbox/openbox-3.3_rc2-r1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-wm/openbox/openbox-3.3_rc2-r1.ebuild,v 1.1 2005/11/26 18:58:48 gothgirl Exp $ + +inherit eutils + +DESCRIPTION="Openbox is a standards compliant, fast, light-weight, extensible window manager." +HOMEPAGE="http://icculus.org/openbox/" +SRC_URI="http://icculus.org/openbox/releases/${P/_/-}.tar.gz + mirror://gentoo/ob-themes-usability.tar.bz2" + +LICENSE="GPL-2" +SLOT="3" +KEYWORDS="~amd64" +IUSE="pango nls startup-notification" + +RDEPEND="virtual/xft + virtual/x11 + >=dev-libs/glib-2 + >=media-libs/fontconfig-2 + >=dev-libs/libxml2-2.0" +DEPEND="${RDEPEND} + pango? ( x11-libs/pango ) + startup-notification? ( x11-libs/startup-notification ) + dev-util/pkgconfig" + +S=${WORKDIR}/${P/_/-} + +src_unpack() { + unpack ${A} + epatch ${FILESDIR}/${P}-64bit-property.patch +} + +src_compile() { + econf `use_enable nls` `use_enable pango` ${myconf} || die + emake || die +} + +src_install() { + dodir /etc/X11/Sessions + echo "/usr/bin/openbox" > ${D}/etc/X11/Sessions/openbox + fperms a+x /etc/X11/Sessions/openbox + + insinto /usr/share/xsessions + doins ${FILESDIR}/${PN}.desktop + + make DESTDIR=${D} install || die + dodoc ABOUT-NLS AUTHORS CHANGELOG COMPLIANCE COPYING README + + # Extra styles from http://home.clara.co.uk/dpb/openbox.htm + # These are included due to the poor usability of the default themes + # for users with limited vision. These are based on Jimmac's + # Gorilla and Industrial themes for Metacity. + + insinto /usr/share/themes + #cp -pPR ${WORKDIR}/ob-themes-usability/* ${D}/usr/share/themes + doins -r ${WORKDIR}/ob-themes-usability/* +} |