diff options
author | Mart Raudsepp <leio@gentoo.org> | 2008-03-21 12:38:11 +0000 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2008-03-21 12:38:11 +0000 |
commit | 82e2a7cf9bb3b72a53f2b74024a0b6000c461b92 (patch) | |
tree | ec00b52e98c220582a207cda6323008a1efe3eed /x11-libs/libwnck | |
parent | Stable on alpha, bug #213039 (diff) | |
download | historical-82e2a7cf9bb3b72a53f2b74024a0b6000c461b92.tar.gz historical-82e2a7cf9bb3b72a53f2b74024a0b6000c461b92.tar.bz2 historical-82e2a7cf9bb3b72a53f2b74024a0b6000c461b92.zip |
New version for GNOME-2.22, with mostly bug fixes and code correctness improvements. Also apply patches from upstream for various viewport (compiz usage) related fixes
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'x11-libs/libwnck')
8 files changed, 345 insertions, 5 deletions
diff --git a/x11-libs/libwnck/ChangeLog b/x11-libs/libwnck/ChangeLog index 55603daef298..00f9967b4518 100644 --- a/x11-libs/libwnck/ChangeLog +++ b/x11-libs/libwnck/ChangeLog @@ -1,6 +1,18 @@ # ChangeLog for x11-libs/libwnck # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/libwnck/ChangeLog,v 1.193 2008/02/04 04:18:24 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/libwnck/ChangeLog,v 1.194 2008/03/21 12:38:10 leio Exp $ + +*libwnck-2.22.0 (21 Mar 2008) + + 21 Mar 2008; Mart Raudsepp <leio@gentoo.org> + +files/2.22.0/001-logout-crash.patch, + +files/2.22.0/002-demands-attention-visibility-with-viewports.patch, + +files/2.22.0/003-Unstick-windows-when-moving-them-to-another-viewport.pat + ch, +files/2.22.0/004-Fix-moving-window-to-an-arbitrary-viewport.patch, + +files/2.22.0/005-gtk-doc-die-die-die.patch, +libwnck-2.22.0.ebuild: + New version for GNOME-2.22, with mostly bug fixes and code correctness + improvements. Also apply patches from upstream for various viewport (compiz + usage) related fixes 04 Feb 2008; Jeroen Roovers <jer@gentoo.org> libwnck-2.20.3.ebuild: Stable for HPPA (bug #208366). diff --git a/x11-libs/libwnck/Manifest b/x11-libs/libwnck/Manifest index 5dc60584e8ee..607838df667a 100644 --- a/x11-libs/libwnck/Manifest +++ b/x11-libs/libwnck/Manifest @@ -1,16 +1,23 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +AUX 2.22.0/001-logout-crash.patch 4636 RMD160 3371d75f76c96097ee0da18f1c903ae5e2a9fba1 SHA1 0bc1af194023c2a1eb5510dae28eefaaf71614f0 SHA256 9f438ff3f9d354b8653d8f64e6d0c5fe4ba791e2e017b8c0e8059e9b9a20ed77 +AUX 2.22.0/002-demands-attention-visibility-with-viewports.patch 1211 RMD160 c278e29694d30f01c8762716f47b8b149f9a4f63 SHA1 b83399bbbbc41d72cbd9fc1897f3bc3b5c95a5fd SHA256 85fa915aa0d82b2c50b80bf76be0d111cf177c9fe184c124e57234d054697227 +AUX 2.22.0/003-Unstick-windows-when-moving-them-to-another-viewport.patch 3290 RMD160 2e8710691f474f532f0968e297b90de1e79c7506 SHA1 f0e1090945a2c04ee84a28828fa296ca4843d651 SHA256 0343e3f07d6265487e1c51e6ccfec3c3ba8b9b8cdd644e8ea4757b79c5768db1 +AUX 2.22.0/004-Fix-moving-window-to-an-arbitrary-viewport.patch 1467 RMD160 7778aac7ee923e19386f4074c75d06ac39fc60db SHA1 84c09bad8c6bf481be9615940b7c3fc4f86afc3f SHA256 9ea8d1f526b787e31f8d77fc98422b22adfc3afc29ce281247b84facfee18397 +AUX 2.22.0/005-gtk-doc-die-die-die.patch 979 RMD160 150f4d7e0efe012b53d9cbe310a6bda1dea6aa39 SHA1 c0edc814479b8d032369a9e81f60ca0748f54d6b SHA256 f4f58114b974752d41aa544ce5c3809f8690d6a668cb841afc761dcd9b0b0561 DIST libwnck-2.20.1.tar.bz2 648179 RMD160 ef5f222fac8ad4a2e96fa59a2cec5e8c85ba0d28 SHA1 962bfe393fae44a5714a07446e34f4f264d218de SHA256 9a9699ab2fa04433618adafb204f07216d7256c4f975ad066ac3ee0eb5e5797b DIST libwnck-2.20.3.tar.bz2 637507 RMD160 d7b198f5194ff442d2840cc05a73d23b3d819df2 SHA1 21a710e5ac221b73ce40616867ac2fba3a105647 SHA256 d5fc1d8b0202ad169052dcd50b283ed4fb30a4a7da9bbf0be462d2879535dd6a +DIST libwnck-2.22.0.tar.bz2 725210 RMD160 355bd97681faa2c197b3eef026e5c470131a7772 SHA1 f0950913366d7bfb81c1cc06815209f55fa58ab9 SHA256 481dbf1ac490eb1a83abbb218a8191a0b7ae378a8d31e353a1abf96dc11f442a EBUILD libwnck-2.20.1.ebuild 745 RMD160 ad48ffaa5803c03f9dfe5c0d1342be19e51981d6 SHA1 a3ea22816bbeaf143bb9978ac26127f7e3f61ac2 SHA256 6393fe648eaecfe57133eb60eab7f51d7b8bcb0b3ad6cb4cce8d7798a7386401 EBUILD libwnck-2.20.3.ebuild 744 RMD160 accdf572b52aec6f482e64a1a5852434c61792cf SHA1 165a9229e39224981ad6ba8a0db28c206d751c5b SHA256 e0f4bd3e49b4b138f71f99df58154e0950de45ea862eb671b04781c61aade6c1 -MISC ChangeLog 21875 RMD160 e0be69c0d7c96fed00306e1a580eba2ea87e1923 SHA1 4c5d25bfb24751b74e408c539880ebb99da81354 SHA256 4c5c1354f4e5a4f74f0511a1a7869d75fe9ba6063ddece37cb6ac8b41b306f01 +EBUILD libwnck-2.22.0.ebuild 884 RMD160 9756cc099d3bd3c100062281f2224ad6572551b5 SHA1 34ab41e77f7fbc0410ee006d69050be7fd116f9b SHA256 dba8d9ec9cc077b8b9b8d324e36a78dda7b1b7250dd42f12a029ae4082c4e355 +MISC ChangeLog 22462 RMD160 05d377c9b6999524055fd13393ca80cda64e160f SHA1 1426f2b04060e9e92345bff6926b98cc2ebc68cc SHA256 92de9c6460b295ddc44b760f4c5b5ecf25dc36714be6c71e92c96a809fbfe97e MISC metadata.xml 158 RMD160 c0e2bae8e91bb6be8922bac5e4f597302e06587e SHA1 38f78e9790bcd4382b4a49aa226aa6dda1d3a3d7 SHA256 3a7dbca0fdc557de69783e0663e2d76ddab129ea8a19b2d0ef6d3e5d1b947ce1 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.8 (GNU/Linux) -iEYEARECAAYFAkfUW5gACgkQkeYb6olFHJcRxACggb70Arpa/SeGonUlBwU0jnWX -Lq0An2X0U4j6Z6DnGPfmTF0mBOElh7/E -=8c5Z +iEYEARECAAYFAkfjrC0ACgkQkeYb6olFHJdu2wCgumLilW39DsgrtyJOL6VFyYFZ +YMYAnjiH6AfhSqtO7+CQIkTw3myPTTz6 +=mlmu -----END PGP SIGNATURE----- diff --git a/x11-libs/libwnck/files/2.22.0/001-logout-crash.patch b/x11-libs/libwnck/files/2.22.0/001-logout-crash.patch new file mode 100644 index 000000000000..a986fd663ec3 --- /dev/null +++ b/x11-libs/libwnck/files/2.22.0/001-logout-crash.patch @@ -0,0 +1,110 @@ +diff --git a/ChangeLog b/ChangeLog +index 2997448..622bce0 100644 +--- a/ChangeLog ++++ b/ChangeLog +@@ -1,3 +1,15 @@ ++2008-03-19 Vincent Untz <vuntz@gnome.org> ++ ++ Fix crash on logout because of some race condition. ++ Fix bug #517750 ++ ++ * libwnck/pager.c: (wnck_pager_connect_window): use g_signal_connect() ++ instead of g_signal_connect_object() since we'll disconnect the ++ handlers ++ (wnck_pager_disconnect_screen): disconnect signal handlers for all ++ windows ++ (wnck_pager_disconnect_window): helper function ++ + 2008-03-10 Vincent Untz <vuntz@gnome.org> + + * configure.in: +diff --git a/libwnck/pager.c b/libwnck/pager.c +index 9a615b6..c21c6e9 100644 +--- a/libwnck/pager.c ++++ b/libwnck/pager.c +@@ -174,6 +174,8 @@ static void wnck_pager_connect_screen (WnckPager *pager); + static void wnck_pager_connect_window (WnckPager *pager, + WnckWindow *window); + static void wnck_pager_disconnect_screen (WnckPager *pager); ++static void wnck_pager_disconnect_window (WnckPager *pager, ++ WnckWindow *window); + + static gboolean wnck_pager_set_layout_hint (WnckPager *pager); + +@@ -2415,27 +2417,28 @@ static void + wnck_pager_connect_window (WnckPager *pager, + WnckWindow *window) + { +- g_signal_connect_object (G_OBJECT (window), "name_changed", +- G_CALLBACK (window_name_changed_callback), +- pager, 0); +- g_signal_connect_object (G_OBJECT (window), "state_changed", +- G_CALLBACK (window_state_changed_callback), +- pager, 0); +- g_signal_connect_object (G_OBJECT (window), "workspace_changed", +- G_CALLBACK (window_workspace_changed_callback), +- pager, 0); +- g_signal_connect_object (G_OBJECT (window), "icon_changed", +- G_CALLBACK (window_icon_changed_callback), +- pager, 0); +- g_signal_connect_object (G_OBJECT (window), "geometry_changed", +- G_CALLBACK (window_geometry_changed_callback), +- pager, 0); ++ g_signal_connect (G_OBJECT (window), "name_changed", ++ G_CALLBACK (window_name_changed_callback), ++ pager); ++ g_signal_connect (G_OBJECT (window), "state_changed", ++ G_CALLBACK (window_state_changed_callback), ++ pager); ++ g_signal_connect (G_OBJECT (window), "workspace_changed", ++ G_CALLBACK (window_workspace_changed_callback), ++ pager); ++ g_signal_connect (G_OBJECT (window), "icon_changed", ++ G_CALLBACK (window_icon_changed_callback), ++ pager); ++ g_signal_connect (G_OBJECT (window), "geometry_changed", ++ G_CALLBACK (window_geometry_changed_callback), ++ pager); + } + + static void + wnck_pager_disconnect_screen (WnckPager *pager) + { + int i; ++ GList *tmp; + + if (pager->priv->screen == NULL) + return; +@@ -2458,6 +2461,32 @@ wnck_pager_disconnect_screen (WnckPager *pager) + space = wnck_screen_get_workspace (pager->priv->screen, i); + g_signal_handlers_disconnect_by_func (space, G_CALLBACK (workspace_name_changed_callback), pager); + } ++ ++ for (tmp = wnck_screen_get_windows (pager->priv->screen); tmp; tmp = tmp->next) ++ { ++ wnck_pager_disconnect_window (pager, WNCK_WINDOW (tmp->data)); ++ } ++} ++ ++static void ++wnck_pager_disconnect_window (WnckPager *pager, ++ WnckWindow *window) ++{ ++ g_signal_handlers_disconnect_by_func (G_OBJECT (window), ++ G_CALLBACK (window_name_changed_callback), ++ pager); ++ g_signal_handlers_disconnect_by_func (G_OBJECT (window), ++ G_CALLBACK (window_state_changed_callback), ++ pager); ++ g_signal_handlers_disconnect_by_func (G_OBJECT (window), ++ G_CALLBACK (window_workspace_changed_callback), ++ pager); ++ g_signal_handlers_disconnect_by_func (G_OBJECT (window), ++ G_CALLBACK (window_icon_changed_callback), ++ pager); ++ g_signal_handlers_disconnect_by_func (G_OBJECT (window), ++ G_CALLBACK (window_geometry_changed_callback), ++ pager); + } + + static void diff --git a/x11-libs/libwnck/files/2.22.0/002-demands-attention-visibility-with-viewports.patch b/x11-libs/libwnck/files/2.22.0/002-demands-attention-visibility-with-viewports.patch new file mode 100644 index 000000000000..820744f0f1d0 --- /dev/null +++ b/x11-libs/libwnck/files/2.22.0/002-demands-attention-visibility-with-viewports.patch @@ -0,0 +1,33 @@ +diff --git a/ChangeLog b/ChangeLog +index 622bce0..1e94451 100644 +--- a/ChangeLog ++++ b/ChangeLog +@@ -1,5 +1,13 @@ + 2008-03-19 Vincent Untz <vuntz@gnome.org> + ++ List windows that demands attention in the tasklist when they're in the ++ current workspace but they're not visible in the viewport. ++ Fix bug #520124 ++ ++ * libwnck/tasklist.c: (wnck_task_state_changed): just do it ++ ++2008-03-19 Vincent Untz <vuntz@gnome.org> ++ + Fix crash on logout because of some race condition. + Fix bug #517750 + +diff --git a/libwnck/tasklist.c b/libwnck/tasklist.c +index d687ee3..1d7e4df 100644 +--- a/libwnck/tasklist.c ++++ b/libwnck/tasklist.c +@@ -3397,7 +3397,9 @@ wnck_task_state_changed (WnckWindow *window, + wnck_screen_get_active_workspace (tasklist->priv->screen); + + if (active_workspace && +- active_workspace != wnck_window_get_workspace (window)) ++ (active_workspace != wnck_window_get_workspace (window) || ++ (wnck_workspace_is_virtual (active_workspace) && ++ !wnck_window_is_in_viewport (window, active_workspace)))) + { + wnck_tasklist_update_lists (tasklist); + gtk_widget_queue_resize (GTK_WIDGET (tasklist)); diff --git a/x11-libs/libwnck/files/2.22.0/003-Unstick-windows-when-moving-them-to-another-viewport.patch b/x11-libs/libwnck/files/2.22.0/003-Unstick-windows-when-moving-them-to-another-viewport.patch new file mode 100644 index 000000000000..24985cb453ac --- /dev/null +++ b/x11-libs/libwnck/files/2.22.0/003-Unstick-windows-when-moving-them-to-another-viewport.patch @@ -0,0 +1,80 @@ +diff --git a/ChangeLog b/ChangeLog +index 1e94451..b041087 100644 +--- a/ChangeLog ++++ b/ChangeLog +@@ -1,5 +1,15 @@ + 2008-03-19 Vincent Untz <vuntz@gnome.org> + ++ Unstick windows when moving them in another workspace (viewport mode), ++ else the windows are just outside the visible screen. ++ Fix bug #520704. ++ Patch by Travis Watkins <amaranth@ubuntu.com> ++ ++ * libwnck/window-action-menu.c: (item_activated_callback): well, do ++ what I already described ++ ++2008-03-19 Vincent Untz <vuntz@gnome.org> ++ + List windows that demands attention in the tasklist when they're in the + current workspace but they're not visible in the viewport. + Fix bug #520124 +diff --git a/libwnck/window-action-menu.c b/libwnck/window-action-menu.c +index 5921b9d..d0b34e0 100644 +--- a/libwnck/window-action-menu.c ++++ b/libwnck/window-action-menu.c +@@ -208,13 +208,13 @@ item_activated_callback (GtkWidget *menu_item, + if (!viewport_mode) + wnck_window_pin (window); + else +- wnck_window_stick(window); ++ wnck_window_stick (window); + break; + case UNPIN: + if (!viewport_mode) + wnck_window_unpin (window); + else +- wnck_window_unstick(window); ++ wnck_window_unstick (window); + break; + case LEFT: + if (!viewport_mode) +@@ -230,6 +230,7 @@ item_activated_callback (GtkWidget *menu_item, + + width = wnck_screen_get_width (screen); + wnck_window_get_geometry (window, &xw, &yw, &ww, &hw); ++ wnck_window_unstick (window); + wnck_window_set_geometry (window, 0, + WNCK_WINDOW_CHANGE_X | WNCK_WINDOW_CHANGE_Y, + xw - width, yw, +@@ -250,6 +251,7 @@ item_activated_callback (GtkWidget *menu_item, + + width = wnck_screen_get_width (screen); + wnck_window_get_geometry (window, &xw, &yw, &ww, &hw); ++ wnck_window_unstick (window); + wnck_window_set_geometry (window, 0, + WNCK_WINDOW_CHANGE_X | WNCK_WINDOW_CHANGE_Y, + xw + width, yw, +@@ -270,6 +272,7 @@ item_activated_callback (GtkWidget *menu_item, + + height = wnck_screen_get_height (screen); + wnck_window_get_geometry (window, &xw, &yw, &ww, &hw); ++ wnck_window_unstick (window); + wnck_window_set_geometry (window, 0, + WNCK_WINDOW_CHANGE_X | WNCK_WINDOW_CHANGE_Y, + xw, yw - height, +@@ -290,6 +293,7 @@ item_activated_callback (GtkWidget *menu_item, + + height = wnck_screen_get_height (screen); + wnck_window_get_geometry (window, &xw, &yw, &ww, &hw); ++ wnck_window_unstick (window); + wnck_window_set_geometry (window, 0, + WNCK_WINDOW_CHANGE_X | WNCK_WINDOW_CHANGE_Y, + xw, yw + height, +@@ -336,6 +340,7 @@ item_activated_callback (GtkWidget *menu_item, + xw += viewport_x; + yw += viewport_y; + ++ wnck_window_unstick (window); + wnck_window_set_geometry (window, 0, + WNCK_WINDOW_CHANGE_X | WNCK_WINDOW_CHANGE_Y, + xw + new_viewport_x, diff --git a/x11-libs/libwnck/files/2.22.0/004-Fix-moving-window-to-an-arbitrary-viewport.patch b/x11-libs/libwnck/files/2.22.0/004-Fix-moving-window-to-an-arbitrary-viewport.patch new file mode 100644 index 000000000000..0524b8e511c2 --- /dev/null +++ b/x11-libs/libwnck/files/2.22.0/004-Fix-moving-window-to-an-arbitrary-viewport.patch @@ -0,0 +1,39 @@ +diff --git a/ChangeLog b/ChangeLog +index b041087..e56cdfe 100644 +--- a/ChangeLog ++++ b/ChangeLog +@@ -1,5 +1,13 @@ + 2008-03-19 Vincent Untz <vuntz@gnome.org> + ++ Fix moving a window to an arbitrary workspace in viewport mode. ++ Fix bug #520726. ++ ++ * libwnck/window-action-menu.c: (item_activated_callback): get the ++ maths right. ++ ++2008-03-19 Vincent Untz <vuntz@gnome.org> ++ + Unstick windows when moving them in another workspace (viewport mode), + else the windows are just outside the visible screen. + Fix bug #520704. +diff --git a/libwnck/window-action-menu.c b/libwnck/window-action-menu.c +index d0b34e0..0e1108a 100644 +--- a/libwnck/window-action-menu.c ++++ b/libwnck/window-action-menu.c +@@ -337,14 +337,11 @@ item_activated_callback (GtkWidget *menu_item, + viewport_x = wnck_workspace_get_viewport_x (workspace); + viewport_y = wnck_workspace_get_viewport_y (workspace); + +- xw += viewport_x; +- yw += viewport_y; +- + wnck_window_unstick (window); + wnck_window_set_geometry (window, 0, + WNCK_WINDOW_CHANGE_X | WNCK_WINDOW_CHANGE_Y, +- xw + new_viewport_x, +- yw + new_viewport_y, ++ xw + new_viewport_x - viewport_x, ++ yw + new_viewport_y - viewport_y, + ww, hw); + } + break; diff --git a/x11-libs/libwnck/files/2.22.0/005-gtk-doc-die-die-die.patch b/x11-libs/libwnck/files/2.22.0/005-gtk-doc-die-die-die.patch new file mode 100644 index 000000000000..4bab59d986ce --- /dev/null +++ b/x11-libs/libwnck/files/2.22.0/005-gtk-doc-die-die-die.patch @@ -0,0 +1,26 @@ +--- gtk-doc.make 2008-01-14 21:07:04.000000000 -0800 ++++ gtk-doc.make 2008-01-14 21:15:30.000000000 -0800 +@@ -139,8 +139,9 @@ + done; \ + echo '-- Installing $(srcdir)/html/index.sgml' ; \ + $(INSTALL_DATA) $(srcdir)/html/index.sgml $(DESTDIR)$(TARGET_DIR) || :; \ +- which gtkdoc-rebase >/dev/null && \ ++ if test $(which gtkdoc-rebase 2> /dev/null) ; then \ + gtkdoc-rebase --relative --dest-dir=$(DESTDIR) --html-dir=$(DESTDIR)$(TARGET_DIR) ; \ ++ fi \ + fi + + +--- doc/Makefile.in 2008-01-14 21:59:37.000000000 -0800 ++++ doc/Makefile.in 2008-01-14 22:01:06.000000000 -0800 +@@ -569,8 +569,9 @@ + done; \ + echo '-- Installing $(srcdir)/html/index.sgml' ; \ + $(INSTALL_DATA) $(srcdir)/html/index.sgml $(DESTDIR)$(TARGET_DIR) || :; \ +- which gtkdoc-rebase >/dev/null && \ ++ if test $(which gtkdoc-rebase 2> /dev/null) ; then \ + gtkdoc-rebase --relative --dest-dir=$(DESTDIR) --html-dir=$(DESTDIR)$(TARGET_DIR) ; \ ++ fi \ + fi + + uninstall-local: diff --git a/x11-libs/libwnck/libwnck-2.22.0.ebuild b/x11-libs/libwnck/libwnck-2.22.0.ebuild new file mode 100644 index 000000000000..f7cc0ab8929b --- /dev/null +++ b/x11-libs/libwnck/libwnck-2.22.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/libwnck/libwnck-2.22.0.ebuild,v 1.1 2008/03/21 12:38:10 leio Exp $ + +inherit gnome2 eutils + +DESCRIPTION="A window navigation construction kit" +HOMEPAGE="http://www.gnome.org/" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="doc" + +RDEPEND=">=x11-libs/gtk+-2.11.3 + >=dev-libs/glib-2.13.0 + >=x11-libs/startup-notification-0.4 + x11-libs/libX11 + x11-libs/libXres + x11-libs/libXext" +DEPEND="${RDEPEND} + sys-devel/gettext + >=dev-util/pkgconfig-0.9 + >=dev-util/intltool-0.35 + doc? ( >=dev-util/gtk-doc-1.9 )" + +DOCS="AUTHORS ChangeLog HACKING NEWS README" + +src_unpack() { + gnome2_src_unpack + + EPATCH_SUFFIX="patch" EPATCH_FORCE="yes" epatch "${FILESDIR}/${PV}/" +} |