diff options
author | 2007-12-08 23:18:55 +0000 | |
---|---|---|
committer | 2007-12-08 23:18:55 +0000 | |
commit | 4642f438b7384fd6d1f34243d8ccccbbeab15300 (patch) | |
tree | e870b22f76f2028c91bd6fef6ba1c2d2ef9a0718 /x11-wm/windowmaker/files | |
parent | Add amd64 (diff) | |
download | gentoo-2-4642f438b7384fd6d1f34243d8ccccbbeab15300.tar.gz gentoo-2-4642f438b7384fd6d1f34243d8ccccbbeab15300.tar.bz2 gentoo-2-4642f438b7384fd6d1f34243d8ccccbbeab15300.zip |
Dropping old version
(Portage version: 2.1.4_rc9)
Diffstat (limited to 'x11-wm/windowmaker/files')
4 files changed, 0 insertions, 242 deletions
diff --git a/x11-wm/windowmaker/files/0.91.0/64bit+endian-fixes-0.9x.patch b/x11-wm/windowmaker/files/0.91.0/64bit+endian-fixes-0.9x.patch deleted file mode 100644 index c922fc965789..000000000000 --- a/x11-wm/windowmaker/files/0.91.0/64bit+endian-fixes-0.9x.patch +++ /dev/null @@ -1,166 +0,0 @@ -diff -ur WindowMaker-0.91.0/src/wmspec.c WindowMaker-0.91.0-test/src/wmspec.c ---- WindowMaker-0.91.0/src/wmspec.c 2004-10-24 15:36:15.000000000 -0400 -+++ WindowMaker-0.91.0-test/src/wmspec.c 2005-03-13 14:25:18.860008096 -0500 -@@ -27,6 +27,7 @@ - - #include <X11/Xlib.h> - #include <X11/Xatom.h> -+#include <X11/Xarch.h> - #include <string.h> - - #include "WindowMaker.h" -@@ -314,15 +315,15 @@ - void - wNETWMUpdateDesktop(WScreen *scr) - { -- CARD32 *views, sizes[2]; -+ long *views, sizes[2]; - int count, i; - - if (scr->workspace_count==0) - return; - - count = scr->workspace_count * 2; -- views = wmalloc(sizeof(CARD32) * count); -- /*memset(views, 0, sizeof(CARD32) * count);*/ -+ views = wmalloc(sizeof(long) * count); -+ /*memset(views, 0, sizeof(long) * count);*/ - - #ifdef VIRTUAL_DESKTOP - sizes[0] = scr->workspaces[scr->current_workspace]->width; -@@ -362,7 +363,7 @@ - 0, 1, &count); - if (prop) - { -- int desktop= *(CARD32*)prop; -+ int desktop= *(long*)prop; - XFree(prop); - return desktop; - } -@@ -382,40 +383,54 @@ - &nitems_return, &bytes_after_return, &prop_return); - - if (rc==Success && prop_return) { -- unsigned int *data = (unsigned int *)prop_return; -+ unsigned long *data = (unsigned long *)prop_return; - unsigned int pos = 0, len = 0; - unsigned int best_pos = 0, best_tmp = ~0; -+ unsigned int tmp; - extern WPreferences wPreferences; - unsigned int pref_size = wPreferences.icon_size; - unsigned int pref_sq = pref_size*pref_size; -- char *src, *dst; -+ unsigned char *src, *dst; - RImage *new_rimage; - - do { - len = data[pos+0]*data[pos+1]; -- unsigned int tmp = pref_sq-len; -+ tmp = pref_sq-len; - if (tmp < best_tmp && tmp > 0) { - best_tmp = tmp; -- best_pos = pos; -+ best_pos = pos+2; - } - pos += 2+len; - } while (pos < nitems_return && len != 0); - -- new_rimage = RCreateImage(data[best_pos+0], data[best_pos+1], True); -- len = data[best_pos+0] * data[best_pos+1]; -- src = (char*)&data[best_pos+2]; -- dst = new_rimage->data; -- for (pos=0; pos<len; ++pos, src+=4, dst+=4) { -- dst[0] = src[2]; /* R */ -- dst[1] = src[1]; /* G */ -- dst[2] = src[0]; /* B */ -- dst[3] = src[3]; /* A */ -- } -+ if ( best_pos < 2 ) best_pos = 2; -+ -+ new_rimage = RCreateImage(data[best_pos-2], data[best_pos-1], True); - - if (new_rimage) { -- if (wwin->net_icon_image) -- RReleaseImage(wwin->net_icon_image); -- wwin->net_icon_image = new_rimage; -+ len = data[best_pos-2] * data[best_pos-1]; -+ dst = new_rimage->data; -+ -+ for (pos = best_pos; pos < best_pos + len; pos++, dst += 4) { -+ src = (unsigned char *) &data[pos]; -+ -+#if BYTE_ORDER == BIG_ENDIAN -+ src += sizeof(unsigned long) - 4; -+ dst[0] = src[1]; /* R */ -+ dst[1] = src[2]; /* G */ -+ dst[2] = src[3]; /* B */ -+ dst[3] = src[0]; /* A */ -+#else /* Little endian */ -+ dst[0] = src[2]; /* R */ -+ dst[1] = src[1]; /* G */ -+ dst[2] = src[0]; /* B */ -+ dst[3] = src[3]; /* A */ -+#endif /* endianness */ -+ } -+ -+ if (wwin->net_icon_image) -+ RReleaseImage(wwin->net_icon_image); -+ wwin->net_icon_image = new_rimage; - } - - XFree(prop_return); -@@ -426,7 +441,7 @@ - static void - updateShowDesktop(WScreen * scr, Bool show) - { -- CARD32 foo; -+ long foo; - - foo = (show == True); - XChangeProperty(dpy, scr->root_win, net_showing_desktop, XA_CARDINAL, 32, -@@ -599,7 +614,7 @@ - void - wNETWMUpdateWorkarea(WScreen *scr, WArea usableArea) - { -- CARD32 *area; -+ long *area; - int count, i; - - /* XXX: not Xinerama compatible, -@@ -609,7 +624,7 @@ - return; - - count = scr->workspace_count * 4; -- area = wmalloc(sizeof(CARD32) * count); -+ area = wmalloc(sizeof(long) * count); - for (i=0; i<scr->workspace_count; i++) { - area[4*i + 0] = usableArea.x1; - area[4*i + 1] = usableArea.y1; -@@ -732,7 +747,7 @@ - static void - updateWorkspaceCount(WScreen *scr) /* changeable */ - { -- CARD32 count; -+ long count; - - count = scr->workspace_count; - -@@ -744,7 +759,7 @@ - static void - updateCurrentWorkspace(WScreen *scr) /* changeable */ - { -- CARD32 count; -+ long count; - - count = scr->current_workspace; - -@@ -791,7 +806,7 @@ - static void - updateWorkspaceHint(WWindow *wwin, Bool fake, Bool del) - { -- CARD32 l; -+ long l; - - if (del) { - XDeleteProperty(dpy, wwin->client_win, net_wm_desktop); -Only in WindowMaker-0.91.0-test/src: wmspec.c.orig diff --git a/x11-wm/windowmaker/files/0.91.0/maximize-fix-0.9x.patch b/x11-wm/windowmaker/files/0.91.0/maximize-fix-0.9x.patch deleted file mode 100644 index 553b05c1ffb3..000000000000 --- a/x11-wm/windowmaker/files/0.91.0/maximize-fix-0.9x.patch +++ /dev/null @@ -1,33 +0,0 @@ ---- WindowMaker-0.91.0/src/actions.c_old 2005-06-12 15:37:16.000000000 +0200 -+++ WindowMaker-0.91.0/src/actions.c 2005-06-12 15:38:44.000000000 +0200 -@@ -474,7 +474,7 @@ - void - wUnmaximizeWindow(WWindow *wwin) - { -- int restore_x, restore_y; -+ int x, y, w, h; - - if (!wwin->flags.maximized) - return; -@@ -483,13 +483,17 @@ - wwin->flags.skip_next_animation = 1; - wUnshadeWindow(wwin); - } -- restore_x = (wwin->flags.maximized & MAX_HORIZONTAL) ? -+ x = ((wwin->flags.maximized & MAX_HORIZONTAL) && wwin->old_geometry.x) ? - wwin->old_geometry.x : wwin->frame_x; -- restore_y = (wwin->flags.maximized & MAX_VERTICAL) ? -+ y = ((wwin->flags.maximized & MAX_VERTICAL) && wwin->old_geometry.y) ? - wwin->old_geometry.y : wwin->frame_y; -+ w = wwin->old_geometry.width ? -+ wwin->old_geometry.width : wwin->client.width; -+ h = wwin->old_geometry.height ? -+ wwin->old_geometry.height : wwin->client.height; -+ - wwin->flags.maximized = 0; -- wWindowConfigure(wwin, restore_x, restore_y, -- wwin->old_geometry.width, wwin->old_geometry.height); -+ wWindowConfigure(wwin, x, y, w, h); - - WMPostNotificationName(WMNChangedState, wwin, "maximize"); - diff --git a/x11-wm/windowmaker/files/0.91.0/menufocus.patch b/x11-wm/windowmaker/files/0.91.0/menufocus.patch deleted file mode 100644 index f913777bcb26..000000000000 --- a/x11-wm/windowmaker/files/0.91.0/menufocus.patch +++ /dev/null @@ -1,37 +0,0 @@ -diff -Naur ./WindowMaker-0.91.0/src/switchmenu.c WindowMaker-0.91.0.mod2/src/switchmenu.c ---- ./WindowMaker-0.91.0/src/switchmenu.c 2004-10-18 19:41:54.000000000 -0700 -+++ WindowMaker-0.91.0.mod2/src/switchmenu.c 2004-11-22 03:56:48.540567984 -0800 -@@ -231,7 +231,11 @@ - char *t; - int idx; - -- if (wwin->flags.internal_window || WFLAGP(wwin, skip_window_list)) -+ if (wwin->flags.internal_window || WFLAGP(wwin, skip_window_list) -+ || ((wwin->wm_gnustep_attr -+ && wwin->wm_gnustep_attr->flags & GSWindowLevelAttr) -+ && (wwin->wm_gnustep_attr->window_level == WMMainMenuWindowLevel -+ || wwin->wm_gnustep_attr->window_level == WMSubmenuWindowLevel))) - return; - - if (wwin->frame->title) -diff -Naur ./WindowMaker-0.91.0/src/window.c WindowMaker-0.91.0.mod2/src/window.c ---- ./WindowMaker-0.91.0/src/window.c 2004-10-22 20:11:10.000000000 -0700 -+++ WindowMaker-0.91.0.mod2/src/window.c 2004-11-22 03:56:48.540567984 -0800 -@@ -340,17 +340,6 @@ - wwin->client_flags.no_appicon = 1; - } - -- /* temporary solution to avoid GS menus in our window list. -- * it's temporary because it's not the proper way: windows at the -- * floating level are also skipped from the window list with this. -- * Fix it -Dan */ -- if (gs_hints->flags & GSWindowLevelAttr) { -- if (gs_hints->window_level == WMMainMenuWindowLevel || -- gs_hints->window_level == WMSubmenuWindowLevel) { -- wwin->client_flags.skip_window_list = 1; -- } -- } -- - } - - diff --git a/x11-wm/windowmaker/files/digest-windowmaker-0.91.0-r1 b/x11-wm/windowmaker/files/digest-windowmaker-0.91.0-r1 deleted file mode 100644 index 966510ea620e..000000000000 --- a/x11-wm/windowmaker/files/digest-windowmaker-0.91.0-r1 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 be07953e905d1e42fe7a65ac2193a5f9 WindowMaker-0.91.0.tar.gz 2742380 -RMD160 f593893d9aeba85fec42216f5f86a8c7c79db53e WindowMaker-0.91.0.tar.gz 2742380 -SHA256 464d91995f9b3f00ca266a06e785c06bb834dfae795fdff804922cf44a838d30 WindowMaker-0.91.0.tar.gz 2742380 -MD5 07c7700daaaf232bc490f5abaabef085 WindowMaker-extra-0.1.tar.gz 238018 -RMD160 94334c2c12d20a8fd0cd2a70e54cd3689f043038 WindowMaker-extra-0.1.tar.gz 238018 -SHA256 acd6e1fb790485b107daf2b710da372367b41383c55d9c8bdfdac521d850edc4 WindowMaker-extra-0.1.tar.gz 238018 |