debian/0000755000000000000000000000000012255547767007212 5ustar debian/libwnck22.install0000644000000000000000000000004212222304352012342 0ustar debian/tmp/usr/lib/libwnck-1.so.* debian/libwnck-dev.install0000644000000000000000000000027312222304352012760 0ustar debian/tmp/usr/include debian/tmp/usr/lib/pkgconfig debian/tmp/usr/lib/libwnck-1.a debian/tmp/usr/lib/libwnck-1.so debian/tmp/usr/share/doc/libwnck-dev/html debian/tmp/usr/share/gir-1.0 debian/control.in0000644000000000000000000000524012255547736011217 0ustar Source: libwnck Section: libs Priority: optional Maintainer: Ubuntu Desktop Team XSBC-Original-Maintainer: Josselin Mouette Uploaders: @GNOME_TEAM@ Standards-Version: 3.9.1 Build-Depends: debhelper (>= 5), libgtk2.0-dev (>= 2.19.7), gettext, libstartup-notification0-dev (>= 0.7), cdbs (>= 0.4.41), dh-autoreconf, gnome-pkg-tools (>= 0.10), docbook-xml, libx11-dev, libxres-dev, libxt-dev, libxres-dev, intltool (>= 0.40.0), libglib2.0-dev (>= 2.16.0), gobject-introspection, libgirepository1.0-dev (>= 0.6.14), gir1.2-atk-1.0, gir1.2-freedesktop, gir1.2-glib-2.0, gir1.2-gtk-2.0, gir1.2-pango-1.0, dpkg-dev (>= 1.13.19), gtk-doc-tools (>= 1.9), libglib2.0-doc, libgtk2.0-doc Vcs-Bzr: https://code.launchpad.net/~ubuntu-desktop/libwnck/ubuntu Package: libwnck22 Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends}, libwnck-common Description: Window Navigator Construction Kit - runtime files A library to use for writing pagers and task lists. . This package contains runtime files. Package: libwnck-dev Architecture: any Section: libdevel Depends: ${misc:Depends}, libwnck22 (= ${binary:Version}), libglib2.0-dev (>= 2.13.0), libpango1.0-dev, libx11-dev, libgtk2.0-dev (>= 2.19.7), libstartup-notification0-dev (>= 0.7-1), libcairo2-dev, libxres-dev, ${shlibs:Depends} Replaces: gir-repository-dev (<< 0.6.5-7) Description: Window Navigator Construction Kit - development files A library to use for writing pagers and task lists. . This package contains development files (include headers). Package: libwnck-common Architecture: all Depends: ${misc:Depends} Description: Window Navigator Construction Kit - common files A library to use for writing pagers and task lists. . This package contains internationalization files. Package: gir1.2-wnck-1.0 Conflicts: gir1.0-wnck-1.0 Replaces: gir1.0-wnck-1.0 Architecture: any Depends: ${gir:Depends}, ${misc:Depends}, ${shlibs:Depends} Description: GObject introspection data for the WNCK library This package contains introspection data for Window Navigator Construction Kit, a library to interact with window managers. . It can be used by packages using the GIRepository format to generate dynamic bindings. debian/libwnck-dev.links0000644000000000000000000000011112222304352012421 0ustar /usr/share/doc/libwnck-dev/html/libwnck/ /usr/share/gtk-doc/html/libwnck debian/copyright0000644000000000000000000000212112222304352011110 0ustar This package was debianized by Christian Marillat on Sat, 8 Dec 2001 18:55:53 +0100. It was downloaded from: http://ftp.gnome.org/pub/GNOME/sources/libwnck Author: Havoc Pennington License: This package is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian systems, the complete text of the GNU Lesser General Public License can be found in `/usr/share/common-licenses/LGPL'. debian/libwnck22.symbols0000644000000000000000000001677412222304352012407 0ustar libwnck-1.so.22 libwnck22 #MINVER# wnck_action_menu_get_type@Base 1:2.22 wnck_action_menu_new@Base 1:2.22 wnck_application_get@Base 1:2.22 wnck_application_get_icon@Base 1:2.22 wnck_application_get_icon_is_fallback@Base 1:2.22 wnck_application_get_icon_name@Base 1:2.22 wnck_application_get_mini_icon@Base 1:2.22 wnck_application_get_n_windows@Base 1:2.22 wnck_application_get_name@Base 1:2.22 wnck_application_get_pid@Base 1:2.22 wnck_application_get_startup_id@Base 1:2.22 wnck_application_get_type@Base 1:2.22 wnck_application_get_windows@Base 1:2.22 wnck_application_get_xid@Base 1:2.22 wnck_class_group_get@Base 1:2.22 wnck_class_group_get_icon@Base 1:2.22 wnck_class_group_get_mini_icon@Base 1:2.22 wnck_class_group_get_name@Base 1:2.22 wnck_class_group_get_res_class@Base 1:2.22 wnck_class_group_get_type@Base 1:2.22 wnck_class_group_get_windows@Base 1:2.22 wnck_client_type_get_type@Base 1:2.22 wnck_create_window_action_menu@Base 1:2.22 wnck_gtk_window_set_dock_type@Base 1:2.22 wnck_motion_direction_get_type@Base 1:2.22 wnck_pager_accessible_factory_get_type@Base 1:2.22 wnck_pager_accessible_factory_new@Base 1:2.22 wnck_pager_accessible_get_type@Base 1:2.22 wnck_pager_accessible_new@Base 1:2.22 wnck_pager_display_mode_get_type@Base 1:2.22 wnck_pager_get_type@Base 1:2.22 wnck_pager_new@Base 1:2.22 wnck_pager_set_display_mode@Base 1:2.22 wnck_pager_set_n_rows@Base 1:2.22 wnck_pager_set_orientation@Base 1:2.22 wnck_pager_set_screen@Base 1:2.22 wnck_pager_set_shadow_type@Base 1:2.22 wnck_pager_set_show_all@Base 1:2.22 wnck_pid_read_resource_usage@Base 1:2.22 wnck_screen_calc_workspace_layout@Base 1:2.22 wnck_screen_change_workspace_count@Base 1:2.22 wnck_screen_force_update@Base 1:2.22 wnck_screen_free_workspace_layout@Base 1:2.22 wnck_screen_get@Base 1:2.22 wnck_screen_get_active_window@Base 1:2.22 wnck_screen_get_active_workspace@Base 1:2.22 wnck_screen_get_background_pixmap@Base 1:2.22 wnck_screen_get_default@Base 1:2.22 wnck_screen_get_for_root@Base 1:2.22 wnck_screen_get_height@Base 1:2.22 wnck_screen_get_number@Base 1:2.22 wnck_screen_get_previously_active_window@Base 1:2.22 wnck_screen_get_showing_desktop@Base 1:2.22 wnck_screen_get_type@Base 1:2.22 wnck_screen_get_width@Base 1:2.22 wnck_screen_get_window_manager_name@Base 1:2.22 wnck_screen_get_windows@Base 1:2.22 wnck_screen_get_windows_stacked@Base 1:2.22 wnck_screen_get_workspace@Base 1:2.22 wnck_screen_get_workspace_count@Base 1:2.22 wnck_screen_get_workspace_index@Base 1:2.22 wnck_screen_get_workspace_neighbor@Base 1:2.22 wnck_screen_get_workspaces@Base 1:2.22 wnck_screen_move_viewport@Base 1:2.22 wnck_screen_net_wm_supports@Base 1:2.22 wnck_screen_release_workspace_layout@Base 1:2.22 wnck_screen_toggle_showing_desktop@Base 1:2.22 wnck_screen_try_set_workspace_layout@Base 1:2.22 wnck_selector_get_type@Base 1:2.22 wnck_selector_new@Base 1:2.22 wnck_set_client_type@Base 1:2.22 wnck_tasklist_get_minimum_height@Base 1:2.22 wnck_tasklist_get_minimum_width@Base 1:2.22 wnck_tasklist_get_size_hint_list@Base 1:2.22 wnck_tasklist_get_type@Base 1:2.22 wnck_tasklist_grouping_type_get_type@Base 1:2.22 wnck_tasklist_new@Base 1:2.22 wnck_tasklist_set_button_relief@Base 1:2.22 wnck_tasklist_set_grouping@Base 1:2.22 wnck_tasklist_set_grouping_limit@Base 1:2.22 wnck_tasklist_set_icon_loader@Base 1:2.22 wnck_tasklist_set_include_all_workspaces@Base 1:2.22 wnck_tasklist_set_minimum_height@Base 1:2.22 wnck_tasklist_set_minimum_width@Base 1:2.22 wnck_tasklist_set_orientation@Base 1:2.30.2-0ubuntu3 wnck_tasklist_set_screen@Base 1:2.22 wnck_tasklist_set_switch_workspace_on_unminimize@Base 1:2.22 wnck_window_actions_get_type@Base 1:2.22 wnck_window_activate@Base 1:2.22 wnck_window_activate_transient@Base 1:2.22 wnck_window_close@Base 1:2.22 wnck_window_get@Base 1:2.22 wnck_window_get_actions@Base 1:2.22 wnck_window_get_application@Base 1:2.22 wnck_window_get_class_group@Base 1:2.22 wnck_window_get_client_window_geometry@Base 1:2.22 wnck_window_get_geometry@Base 1:2.22 wnck_window_get_group_leader@Base 1:2.22 wnck_window_get_icon@Base 1:2.22 wnck_window_get_icon_is_fallback@Base 1:2.22 wnck_window_get_icon_name@Base 1:2.22 wnck_window_get_mini_icon@Base 1:2.22 wnck_window_get_name@Base 1:2.22 wnck_window_get_pid@Base 1:2.22 wnck_window_get_screen@Base 1:2.22 wnck_window_get_session_id@Base 1:2.22 wnck_window_get_session_id_utf8@Base 1:2.22 wnck_window_get_sort_order@Base 1:2.22 wnck_window_get_state@Base 1:2.22 wnck_window_get_transient@Base 1:2.22 wnck_window_get_type@Base 1:2.22 wnck_window_get_window_type@Base 1:2.22 wnck_window_get_workspace@Base 1:2.22 wnck_window_get_xid@Base 1:2.22 wnck_window_gravity_get_type@Base 1:2.22 wnck_window_has_icon_name@Base 1:2.22 wnck_window_has_name@Base 1:2.22 wnck_window_is_above@Base 1:2.22 wnck_window_is_active@Base 1:2.22 wnck_window_is_below@Base 1:2.22 wnck_window_is_fullscreen@Base 1:2.22 wnck_window_is_in_viewport@Base 1:2.22 wnck_window_is_maximized@Base 1:2.22 wnck_window_is_maximized_horizontally@Base 1:2.22 wnck_window_is_maximized_vertically@Base 1:2.22 wnck_window_is_minimized@Base 1:2.22 wnck_window_is_most_recently_activated@Base 1:2.22 wnck_window_is_on_workspace@Base 1:2.22 wnck_window_is_pinned@Base 1:2.22 wnck_window_is_shaded@Base 1:2.22 wnck_window_is_skip_pager@Base 1:2.22 wnck_window_is_skip_tasklist@Base 1:2.22 wnck_window_is_sticky@Base 1:2.22 wnck_window_is_visible_on_workspace@Base 1:2.22 wnck_window_keyboard_move@Base 1:2.22 wnck_window_keyboard_size@Base 1:2.22 wnck_window_make_above@Base 1:2.22 wnck_window_make_below@Base 1:2.22 wnck_window_maximize@Base 1:2.22 wnck_window_maximize_horizontally@Base 1:2.22 wnck_window_maximize_vertically@Base 1:2.22 wnck_window_minimize@Base 1:2.22 wnck_window_move_resize_mask_get_type@Base 1:2.22 wnck_window_move_to_workspace@Base 1:2.22 wnck_window_needs_attention@Base 1:2.22 wnck_window_or_transient_needs_attention@Base 1:2.22 wnck_window_pin@Base 1:2.22 wnck_window_set_fullscreen@Base 1:2.22 wnck_window_set_geometry@Base 1:2.22 wnck_window_set_icon_geometry@Base 1:2.22 wnck_window_set_skip_pager@Base 1:2.22 wnck_window_set_skip_tasklist@Base 1:2.22 wnck_window_set_sort_order@Base 1:2.22 wnck_window_set_window_type@Base 1:2.22 wnck_window_shade@Base 1:2.22 wnck_window_state_get_type@Base 1:2.22 wnck_window_stick@Base 1:2.22 wnck_window_transient_is_most_recently_activated@Base 1:2.22 wnck_window_type_get_type@Base 1:2.22 wnck_window_unmake_above@Base 1:2.22 wnck_window_unmake_below@Base 1:2.22 wnck_window_unmaximize@Base 1:2.22 wnck_window_unmaximize_horizontally@Base 1:2.22 wnck_window_unmaximize_vertically@Base 1:2.22 wnck_window_unminimize@Base 1:2.22 wnck_window_unpin@Base 1:2.22 wnck_window_unshade@Base 1:2.22 wnck_window_unstick@Base 1:2.22 wnck_workspace_accessible_factory_get_type@Base 1:2.22 wnck_workspace_accessible_factory_new@Base 1:2.22 wnck_workspace_accessible_get_type@Base 1:2.22 wnck_workspace_accessible_new@Base 1:2.22 wnck_workspace_activate@Base 1:2.22 wnck_workspace_change_name@Base 1:2.22 wnck_workspace_get_height@Base 1:2.22 wnck_workspace_get_layout_column@Base 1:2.22 wnck_workspace_get_layout_row@Base 1:2.22 wnck_workspace_get_name@Base 1:2.22 wnck_workspace_get_neighbor@Base 1:2.22 wnck_workspace_get_number@Base 1:2.22 wnck_workspace_get_screen@Base 1:2.22 wnck_workspace_get_type@Base 1:2.22 wnck_workspace_get_viewport_x@Base 1:2.22 wnck_workspace_get_viewport_y@Base 1:2.22 wnck_workspace_get_width@Base 1:2.22 wnck_workspace_is_virtual@Base 1:2.22 wnck_xid_read_resource_usage@Base 1:2.22 debian/libwnck-dev.doc-base0000644000000000000000000000062512222304352012770 0ustar Document: libwnckmanual Title: libwnck Reference Manual Author: Havoc Pennington Abstract: Reference manual for the Window Navigator Construction Kit. The Window Navigator Construction Kit is a library for use in writing pagers, taskslists etc. Section: Programming Format: HTML Index: /usr/share/doc/libwnck-dev/html/libwnck/index.html Files: /usr/share/doc/libwnck-dev/html/libwnck/* debian/changelog0000644000000000000000000006113312255547767011070 0ustar libwnck (1:2.30.7-0ubuntu4) trusty; urgency=medium * Build using dh-autoreconf. -- Matthias Klose Sun, 22 Dec 2013 12:41:25 +0100 libwnck (1:2.30.7-0ubuntu3) saucy; urgency=low * debian/patches/03_window_action_menu_dispose_events.patch: - Stop idles and disconnect from signals on dispose (LP: #1191853) -- Marco Trevisan Fri, 27 Sep 2013 19:52:16 +0200 libwnck (1:2.30.7-0ubuntu2) quantal; urgency=low * Rebuild for new armel compiler default of ARMv5t. -- Colin Watson Fri, 05 Oct 2012 10:45:22 +0100 libwnck (1:2.30.7-0ubuntu1) oneiric; urgency=low * New upstream release * debian/watch: - Watch tar.bz2 tarballs -- Rodrigo Moya Thu, 08 Sep 2011 17:01:53 +0200 libwnck (1:2.30.6-0ubuntu4) oneiric; urgency=low * debian/libwnck-dev.install: - Don't install wnckprop, it conflicts with libwnck-3-dev -- Michael Terry Tue, 07 Jun 2011 14:44:56 -0400 libwnck (1:2.30.6-0ubuntu3) natty; urgency=low [ Travis Watkins ] * debian/patches/02_moveresize_static_gravity.patch: - Don't move window position when switching workspaces (LP: #691545) -- Robert Ancell Tue, 04 Jan 2011 17:16:01 +1100 libwnck (1:2.30.6-0ubuntu2) natty; urgency=low * Updated for the gir abi transition -- Ken VanDine Thu, 16 Dec 2010 13:14:58 -0500 libwnck (1:2.30.6-0ubuntu1) natty; urgency=low * New upstream version -- Sebastien Bacher Wed, 17 Nov 2010 14:22:08 +0100 libwnck (1:2.30.5-0ubuntu2) natty; urgency=low * Rebuild against the latest gobject-introspection -- Robert Ancell Mon, 18 Oct 2010 10:55:32 +1100 libwnck (1:2.30.5-0ubuntu1) maverick; urgency=low * New uptream release: - Fix pager with multiple rows, regression from 2.30.4 (Theppitak Karoonboonyanan) - Associate .gir with pkg-config file (Vincent) - Rename --enable-deprecations configure option to --enable-deprecation-flags (Vincent) - Updated transations * debian/patches/91_git_fix_multi_row_pagers.patch: - removed -- Didier Roche Mon, 27 Sep 2010 15:43:40 +0200 libwnck (1:2.30.4-0ubuntu2) maverick; urgency=low * debian/patches/91_git_fix_multi_row_pagers.patch: - backport fix to get back multi workspace row support in metacity and mutter (LP: #642746) -- Didier Roche Thu, 23 Sep 2010 13:55:49 +0200 libwnck (1:2.30.4-0ubuntu1) maverick; urgency=low * New upstream version -- Sebastien Bacher Tue, 14 Sep 2010 16:02:59 +0200 libwnck (1:2.30.3-1ubuntu1) maverick; urgency=low * Merge with Debian unstable, remaining Ubuntu changes: * debian/control.in: - Use standards-version 3.9.1 - Don't build-depends on gir-repository-dev - Bump build-depends on libgirepository1.0-dev - Add Vcs-Bzr link - Clean old conflicts, replaces * debian/libwnck22.shlibs, debian/libwnck22.symbols: - use a .symbols rather than shlibs * debian/watch: - Watch for unstable versions -- Robert Ancell Tue, 24 Aug 2010 12:36:46 +1000 libwnck (2.30.3-1) unstable; urgency=low [ Emilio Pozuelo Monfort ] * debian/control.in: - Standards-Version is 3.9.0, no changes needed. [ Josselin Mouette ] * New upstream translation and bugfix release. -- Josselin Mouette Mon, 16 Aug 2010 19:47:24 +0200 libwnck (2.30.0-4) unstable; urgency=low * Build-depend on gir-repository-dev until GTK+ has its GI bindings built in the package. -- Josselin Mouette Wed, 14 Jul 2010 05:03:35 +0200 libwnck (2.30.0-3) unstable; urgency=low [ Sebastien Bacher ] * debian/control.in: - list a new gir1.0-wnck-1.0 binary - libwnck-dev replaces gir-repository-dev * debian/gir1.0-wnck-1.0.install, debian/libwnck-dev.install: - install the gir and typelib * debian/rules: - use dh_girepository [ Josselin Mouette ] * Fix GIR package description. * Disable 01_vertical_panel.patch. Closes: #588721. * 01_tasklist_orientation.patch: patch from Jean-Luc Porquet to fix #524117 in a more elegant way by extending the API. * Bump shlibs accordingly. -- Josselin Mouette Tue, 13 Jul 2010 19:30:02 +0200 libwnck (1:2.30.2-0ubuntu2) maverick; urgency=low * debian/control.in: - list a new gir1.0-wnck-1.0 binary - libgconf2-dev replaces gir-repository-dev * debian/gir1.0-wnck-1.0.install, debian/libwnck-dev.install: - install the gir and typelib * debian/rules: - use dh_girepository -- Sebastien Bacher Thu, 01 Jul 2010 22:52:43 +0200 libwnck (1:2.30.2-0ubuntu1) maverick; urgency=low * New upstream version: Fixes - Many GSeal-related fixes - Do not ship gir files in the tarball -- Sebastien Bacher Tue, 22 Jun 2010 14:44:20 +0200 libwnck (1:2.30.0-2ubuntu1) maverick; urgency=low * Merge with Debian unstable, remaining Ubuntu changes: * debian/changelog: - Add epoch to version (only thing stopping a sync) * debian/control.in: - Add Vcs-Bzr link * debian/watch: - Watch for unstable versions -- Robert Ancell Fri, 04 Jun 2010 12:21:46 +1000 libwnck (2.30.0-2) unstable; urgency=low * Switch to 3.0 (quilt) format. * 01_vertical_panel.patch: patch from Carey Underwood and Leniviy to fix lockups when the window list applet is on a vertical panel. Closes: #524117. -- Josselin Mouette Fri, 23 Apr 2010 19:47:04 +0200 libwnck (2.30.0-1) unstable; urgency=low * New upstream stable release: + debian/control.in: - Update build dependencies. -- Sebastian Dröge Mon, 12 Apr 2010 17:40:38 +0200 libwnck (2.28.0-1) unstable; urgency=low * New upstream release. - debian/control.in: + Bump libgtk2.0-dev build dependency to 2.16.0. * debian/patches/90_relibtoolize.patch: - Removed, no longer needed now that upstream uses a recent libtool. * debian/control.in: - Standards-Version is 3.8.3, no changes needed. - Let libwnck22 and libwnck-common inherit the section from the source stanza. - Don't build depend on libstartup-notification0-dev >= 0.7-1, 0.7 is just fine. -- Emilio Pozuelo Monfort Tue, 22 Sep 2009 21:20:44 +0200 libwnck (2.26.1-1) unstable; urgency=low * Build-depend on libglib2.0-doc and libgtk2.0-doc to ensure proper xrefs. * New upstream release. * Bump build-dep on libglib2.0-dev. * 90_relibtoolize.patch: updated for the new version. -- Josselin Mouette Tue, 09 Jun 2009 19:58:35 +0200 libwnck (2.24.2-2) unstable; urgency=low * Upload to unstable. -- Josselin Mouette Wed, 04 Mar 2009 15:14:46 +0100 libwnck (2.24.2-1) experimental; urgency=low * New upstream release. -- Josselin Mouette Sun, 04 Jan 2009 13:32:49 +0100 libwnck (2.24.1-1) experimental; urgency=low [ Emilio Pozuelo Monfort ] * debian/libwnck-dev.doc-base: fix section. [ Josselin Mouette ] * New upstream release. * Add build-dependency on intltool. * 90_relibtoolize.patch: relibtoolize to avoid the amd64 rpath issue. * Pass --as-needed to the linker. * 99_ltmain_as-needed.patch: make it work. -- Josselin Mouette Sat, 22 Nov 2008 12:16:42 +0100 libwnck (2.22.3-1) unstable; urgency=low * New upstream bugfix release: + debian/patches/60_last-window.patch: - Dropped, merged upstream. * debian/control.in: + Update Standards-Version to 3.8.0, no additional changes needed. -- Sebastian Dröge Mon, 30 Jun 2008 12:26:47 +0200 libwnck (2.22.1-2) unstable; urgency=low * New patch, 60_last-window, fix handling of the last window which disappears; from SVN r1629; see also ; thanks Marco Túlio Gontijo. -- Loic Minier Thu, 26 Jun 2008 22:28:04 +0200 libwnck (2.22.1-1) unstable; urgency=low * New upstream bugfix release. -- Sebastian Dröge Tue, 08 Apr 2008 13:11:30 +0200 libwnck (2.22.0-1) unstable; urgency=low [ Loic Minier ] * Add ${shlibs:Depends} to libwnck-dev. [ Sebastian Dröge ] * New upstream stable release: + debian/control.in: - Update build dependencies and dependencies of the -dev package. + debian/libwnck22.shlibs: - Updated to >= 2.22.0 because of new API. -- Sebastian Dröge Thu, 13 Mar 2008 12:16:21 +0100 libwnck (2.20.3-1) unstable; urgency=low [ Loic Minier ] * Drop useless version computation in rules. [ Sebastian Dröge ] * New upstream release with translation updates. * debian/control.in: + Update Standards-Version to 3.7.3, no additional changes needed. -- Sebastian Dröge Sat, 12 Jan 2008 07:22:56 +0100 libwnck (2.20.2-1) unstable; urgency=low * New upstream bugfix release. -- Sebastian Dröge Tue, 27 Nov 2007 06:33:34 +0100 libwnck (2.20.1-1) unstable; urgency=low * New upstream bugfix release. -- Sebastian Dröge Sun, 21 Oct 2007 20:59:34 +0200 libwnck (2.20.0-1) unstable; urgency=low * Drop useless --libexecdir from configure flags. * Don't include autotools.mk as it's already included by gnome.mk. * Use ${binary:Version} instead of ${Source-Version}; build-dep on dpkg-dev (>= 1.3.19). * New upstream major stable release; no API change. - Target at unstable; drop check-dist include. -- Loic Minier Sun, 23 Sep 2007 20:25:47 +0200 libwnck (2.19.5-1) experimental; urgency=low * New upstream release series; these are development releases, the API may still change incompatibly but is not expected to only see additions until 2.20. - Target at experimental; include check-dist. - Rename libwnck18 to libwnck22 for SONAME change due to API and ABI changes. - Bump shlibs to 2.19.5 where the last API additions happened. - Unversion the libwnck-common dependency to permit parallel installation of libwnck18; it only ships translations. - Bump libgtk2.0-dev build-dep to >= 2.11.3 and build-dep on libglib2.0-dev (>= 2.13.0). - Install new wnckprop utility in libwnck-dev as it doesn't warrant a new package but might still be useful. * Include CDBS' utils. -- Loic Minier Tue, 10 Jul 2007 16:25:51 +0200 libwnck (2.18.3-1) unstable; urgency=low * New upstream stable release; no API change; bug fixes. -- Loic Minier Wed, 04 Jul 2007 09:56:57 +0200 libwnck (2.18.2-1) unstable; urgency=low * New upstream stable release; with API additions. - Bump libwnck18's shlibs to >= 2.18.2. -- Loic Minier Mon, 28 May 2007 15:26:00 +0200 libwnck (2.18.0-2) unstable; urgency=low * Upload to unstable; drop check-dist include. * Set LDFLAGS directly instead of via DEB_CONFIGURE_SCRIPT_ENV; build-depend on cdbs >= 0.4.41; cleanups. * Bump up Debhelper compatibility level to 5. * Add ${misc:Depends}. * Wrap build-deps and deps. -- Loic Minier Thu, 12 Apr 2007 18:19:45 +0200 libwnck (2.18.0-1) experimental; urgency=low * New upstream release, no API changes. * Fixing the copyright file. -- Marco Cabizza Sun, 25 Mar 2007 19:24:21 +0200 libwnck (2.16.3-1) experimental; urgency=low [ Loic Minier ] * Add a get-orig-source target to retrieve the upstream tarball. * Include the new check-dist Makefile to prevent accidental uploads to unstable; bump build-dep on gnome-pkg-tools to >= 0.10. [ Josselin Mouette ] * New upstream release. -- Josselin Mouette Sun, 4 Mar 2007 10:15:31 +0100 libwnck (2.16.2-1) experimental; urgency=low [ Loic Minier ] * Fix watch file to use HTTP. [ Josselin Mouette ] * New upstream release. -- Josselin Mouette Fri, 8 Dec 2006 23:43:06 +0100 libwnck (2.16.1-1) experimental; urgency=low * New upstream release. * Update watch file. * rules: include clean-la.mk and gnome-version.mk. * Build-depend on gnome-pkg-tools 0.7. * libwnck18 depends on libwnck-common with ${gnome:Version} restrictions. -- Josselin Mouette Sun, 19 Nov 2006 18:41:35 +0100 libwnck (2.16.0-1) experimental; urgency=low * New upstream release; no API changes. -- Loic Minier Sat, 9 Sep 2006 13:41:17 +0200 libwnck (2.15.91-1) experimental; urgency=low * New upstream development releases; with API additions. - Target at experimental. - Bump shlibs to >= 2.15.90. -- Loic Minier Tue, 8 Aug 2006 22:21:29 +0200 libwnck (2.14.3-1) unstable; urgency=low [ Marco Cabizza ] * debian/control, debian/control.in: - Standards-Version is 3.7.2 * Fixed debian/watch [ Loic Minier ] * New upstream release; no API changes. -- Loic Minier Fri, 4 Aug 2006 08:18:49 +0200 libwnck (2.14.2-1) unstable; urgency=low * Remove obsolete xlibs-dev build-dep. [debian/control, debian/control.in] * New upstream release. -- Loic Minier Tue, 30 May 2006 16:02:02 +0200 libwnck (2.14.1-2) unstable; urgency=medium * Stop shipping /usr/lib/*.la files in libwnck-dev. [debian/libwnck-dev.install] * Bump shlibs to >= 2.14.0. [debian/libwnck18.shlibs] -- Loic Minier Mon, 8 May 2006 22:22:03 +0200 libwnck (2.14.1) unstable; urgency=low * New upstream release (bugfixes and translation updates). * [debian/control.in] Bumped libgtk2.0-dev dependencies due to libXrender/libXcursor transition. -- J.H.M. Dassen (Ray) Fri, 21 Apr 2006 11:07:20 +0200 libwnck (2.14.0) unstable; urgency=low * New upstream GNOME 2.14 release. -- Ondřej Surý Wed, 22 Mar 2006 11:37:55 +0100 libwnck (2.12.3-1) unstable; urgency=low * New upstream release (bugfixes and translation updates). * [debian/copyright] Updated FSF's address. -- J.H.M. Dassen (Ray) Thu, 9 Feb 2006 08:43:53 +0100 libwnck (2.12.2-2) unstable; urgency=low * Upload to unstable. -- Ondřej Surý Fri, 6 Jan 2006 21:53:58 +0100 libwnck (2.12.2-1) experimental; urgency=low * New upstream release. -- Jordi Mallach Mon, 26 Dec 2005 00:39:09 +0100 libwnck (2.12.1-1) experimental; urgency=low * New upstream version: - add support for the Urgent hint (Closes: #291079). * debian/control.in: - Build-Depends on libxres-dev, libxml-parser-perl. - updated for the soname change. * debian/watch: - updated. -- Sebastien Bacher Tue, 18 Oct 2005 12:30:10 +0200 libwnck (2.10.3-1) unstable; urgency=low * New upstream release. * Bump Standards-Version to 3.6.2. -- Loic Minier Wed, 27 Jul 2005 22:09:39 +0200 libwnck (2.10.2-1) unstable; urgency=low * Sebastien Bacher: * New upstream version. * Josselin Mouette: * Don't overwrite DEB_CONFIGURE_SCRIPT_ENV completely. -- Sebastien Bacher Thu, 30 Jun 2005 19:15:56 +0200 libwnck (2.10.0-2) unstable; urgency=low * Upload to unstable. -- Ondřej Surý Tue, 7 Jun 2005 16:03:03 +0200 libwnck (2.10.0-1) experimental; urgency=low * New upstream version. * Updated for the soname change. * debian/control.in: - updated the Build-Depends. * debian/patches/01_xinerama.patch: - fixed with the new version. * debian/watch: - updated. -- Sebastien Bacher Thu, 7 Apr 2005 19:43:26 +0200 libwnck (2.8.1-3) unstable; urgency=low * debian/patches/01_xinerama.patch: - list all the applications in the windows list with xinerama (Closes: #274890). -- Sebastien Bacher Wed, 24 Nov 2004 11:16:44 +0100 libwnck (2.8.1-2) unstable; urgency=low * GNOME team upload. * Upload to unstable. -- Jordi Mallach Wed, 17 Nov 2004 23:34:43 +0100 libwnck (2.8.1-1) experimental; urgency=low * New upstream release. -- J.H.M. Dassen (Ray) Tue, 12 Oct 2004 19:45:32 +0200 libwnck (2.8.0.1-1) experimental; urgency=low * New upstream release. -- J.H.M. Dassen (Ray) Tue, 28 Sep 2004 18:08:36 +0200 libwnck (2.8.0-1) experimental; urgency=low * New upstream release. * [debian/watch] Updated. * [debian/rules] Don't build the documentation ourselves; use the files from the upstream tarball instead. * [debian/control.in] Dropped gtk-doc-tools build dependency. -- J.H.M. Dassen (Ray) Tue, 14 Sep 2004 18:02:52 +0200 libwnck (2.7.92-1) experimental; urgency=low * New upstream development release. * [debian/rules] Generate and install the documentation. * [debian/libwnck-dev.doc-base] Register the documentation. * [debian/libwnck-dev.links] Make the documentation accessible to devhelp. -- J.H.M. Dassen (Ray) Mon, 30 Aug 2004 17:48:05 +0200 libwnck (2.7.91-1) experimental; urgency=low * New upstream development release. * [debian/libwnck4.shlibs] Bumped, just in case. * [debian/control.in] Bumped libstartup-notification0-dev build dependency, just in case. * [debian/rules] Ensure at build time that all symbols are resolvable; make the linker work a bit harder to speed up dynamic loading. -- J.H.M. Dassen (Ray) Sat, 21 Aug 2004 11:38:19 +0200 libwnck (2.6.2-1) unstable; urgency=low * GNOME Team Upload. * New upstream release. * debian/libwnck4.shlibs: - updated the shlibs to 2.6.2. * debian/rules: - removed dh_makeshlibs call since there is a libwnck4.shlibs doing this job. -- Sebastien Bacher Thu, 17 Jun 2004 19:02:25 +0200 libwnck (2.6.1-3) unstable; urgency=low * Upload to unstable. -- Ondřej Surý Mon, 24 May 2004 19:55:51 +0200 libwnck (2.6.1-2) experimental; urgency=low * Fix FTBFS on alpha (Closes: #249880) -- Ondřej Surý Thu, 20 May 2004 10:03:10 +0200 libwnck (2.6.1-1) experimental; urgency=low * New upstream release. * Remove 01_pager.c.patch, it was merged upstream. -- Ondřej Surý Tue, 20 Apr 2004 13:30:05 +0200 libwnck (2.6.0.1-2) experimental; urgency=low * Gnome Team Upload. * debian/rules: + updated shlibs version. * libwnck-common.files, libwnck-dev.files + removed old files. -- Sebastien Bacher Tue, 13 Apr 2004 00:52:15 +0200 libwnck (2.6.0.1-1) experimental; urgency=low * New upstream release. -- Ondřej Surý Thu, 1 Apr 2004 12:08:17 +0200 libwnck (2.6.0-2) experimental; urgency=low * Add dependency on docbook-xml and gtk-doc-tools. -- Ondřej Surý Wed, 24 Mar 2004 16:34:02 +0100 libwnck (2.6.0-1) experimental; urgency=low * New upstream release. -- Ondřej Surý Tue, 23 Mar 2004 18:22:53 +0100 libwnck (2.4.0.1-4) unstable; urgency=low * New maintainer (Closes: #238900) -- Ondřej Surý Tue, 23 Mar 2004 16:15:37 +0000 libwnck (2.4.0.1-3) unstable; urgency=low * Orphaned package. -- Christian Marillat Fri, 19 Mar 2004 16:36:52 +0100 libwnck (2.4.0.1-2) unstable; urgency=low * Apply patch from bugzilla to fix windows position with sawfish and pagers. You need to logout/login from the current session to see something (Closes: #216470) -- Christian Marillat Sun, 19 Oct 2003 10:35:30 +0200 libwnck (2.4.0.1-1) unstable; urgency=low * New upstream release. -- Christian Marillat Sat, 18 Oct 2003 01:19:41 +0200 libwnck (2.2.2-1) unstable; urgency=low * New upstream release. -- Christian Marillat Mon, 2 Jun 2003 22:12:32 +0200 libwnck (2.2.1-2) unstable; urgency=low * Update section -- Christian Marillat Tue, 1 Apr 2003 18:56:00 +0200 libwnck (2.2.1-1) unstable; urgency=low * New upstream release. -- Christian Marillat Thu, 6 Feb 2003 10:37:35 +0100 libwnck (2.2.0-1) unstable; urgency=low * New upstream release. -- Christian Marillat Tue, 21 Jan 2003 15:15:20 +0100 libwnck (2.1.90-2) unstable; urgency=low * Shoould build-depends and the -dev package too on libstartup-notification0-dev (Closes: #176129) -- Christian Marillat Fri, 10 Jan 2003 13:34:21 +0100 libwnck (2.1.90-1) unstable; urgency=low * New upstream release. -- Christian Marillat Fri, 10 Jan 2003 10:40:52 +0100 libwnck (2.1.5-1) unstable; urgency=low * New upstream release. * Bump Standards-Version to 3.5.8 * This version fix the metcacity bug (Closes: #168498) -- Christian Marillat Wed, 8 Jan 2003 16:04:21 +0100 libwnck (0.18-1) unstable; urgency=low * New upstream release. -- Christian Marillat Thu, 31 Oct 2002 19:31:39 +0100 libwnck (0.17-2) unstable; urgency=low * Update to standards version 3.5.7 -- Christian Marillat Sat, 21 Sep 2002 14:44:19 +0200 libwnck (0.17-1) unstable; urgency=low * New upstream release. -- Christian Marillat Tue, 27 Aug 2002 10:32:19 +0200 libwnck (0.16-1) unstable; urgency=low * New upstream release. -- Christian Marillat Fri, 9 Aug 2002 14:08:26 +0200 libwnck (0.15-1) unstable; urgency=low * New upstream release. -- Christian Marillat Mon, 5 Aug 2002 01:27:16 +0200 libwnck (0.14-1) unstable; urgency=low * New upstream release. -- Christian Marillat Wed, 12 Jun 2002 15:14:47 +0200 libwnck (0.13-1) unstable; urgency=low * New upstream release. -- Christian Marillat Mon, 3 Jun 2002 15:48:48 +0200 libwnck (0.12-2) unstable; urgency=low * Fix build-depends (Closes: #148041) -- Christian Marillat Fri, 24 May 2002 21:06:24 +0200 libwnck (0.12-1) unstable; urgency=low * New upstream release. * Move *.mo files in libwnck-common package. -- Christian Marillat Sat, 18 May 2002 23:16:34 +0200 libwnck (0.10-1) unstable; urgency=low * New upstream release. * Add support for DEB_HOST_GNU_TYPE DEB_BUILD_GNU_TYPE and DEB_BUILD_OPTIONS -- Christian Marillat Wed, 15 May 2002 18:45:20 +0200 libwnck (0.9-1) unstable; urgency=low * New upstream release. -- Christian Marillat Mon, 29 Apr 2002 17:32:48 +0200 libwnck (0.8-1) unstable; urgency=low * New upstream release. -- Christian Marillat Wed, 17 Apr 2002 15:14:06 +0200 libwnck (0.7-1) unstable; urgency=low * New upstream release. -- Christian Marillat Mon, 25 Mar 2002 17:48:42 +0100 libwnck (0.6-2) unstable; urgency=low * Build against the latest libraries. -- Christian Marillat Sun, 24 Mar 2002 00:40:09 +0100 libwnck (0.6-1) unstable; urgency=low * New upstream release. -- Christian Marillat Tue, 5 Mar 2002 14:03:16 +0100 libwnck (0.5-2) unstable; urgency=low * Build (again) against the latest libraries. -- Christian Marillat Mon, 25 Feb 2002 14:40:41 +0100 libwnck (0.5-1) unstable; urgency=low * New upstream release. -- Christian Marillat Mon, 18 Feb 2002 22:09:47 +0100 libwnck (0.3-1) unstable; urgency=low * New upstream release. -- Christian Marillat Sat, 16 Feb 2002 00:48:57 +0100 libwnck (0.2-3) unstable; urgency=low * Build against the latest libgtk1.3 -- Christian Marillat Sun, 3 Feb 2002 16:18:48 +0100 libwnck (0.2-2) unstable; urgency=low * Build against the latest libatk9 -- Christian Marillat Wed, 23 Jan 2002 00:25:55 +0100 libwnck (0.2-1) unstable; urgency=low * New upstream release. -- Christian Marillat Mon, 14 Jan 2002 22:39:51 +0100 libwnck (0.1-3) unstable; urgency=low * Build against th latest libgtk13 (Closes: #129089) -- Christian Marillat Mon, 14 Jan 2002 10:10:49 +0100 libwnck (0.1-2) unstable; urgency=low * debian/control Spell check (Closes: #125077, #125076) * Forgot to fill the Build-Depends field (Closes: #125699) -- Christian Marillat Tue, 18 Dec 2001 18:46:15 +0100 libwnck (0.1-1) unstable; urgency=low * Initial Release (Closes: #122958). -- Christian Marillat Sat, 8 Dec 2001 18:55:53 +0100 debian/gir1.2-wnck-1.0.install0000644000000000000000000000004412222304352013005 0ustar debian/tmp/usr/lib/girepository-1.0 debian/libwnck-common.install0000644000000000000000000000003412222304352013465 0ustar debian/tmp/usr/share/locale debian/compat0000644000000000000000000000000212222304352010357 0ustar 5 debian/patches/0000755000000000000000000000000012222304352010610 5ustar debian/patches/99_ltmain_as-needed.patch0000644000000000000000000000167312222304352015352 0ustar Index: libwnck-2.30.0/ltmain.sh =================================================================== --- libwnck-2.30.0.orig/ltmain.sh 2010-04-23 19:41:31.894859918 +0200 +++ libwnck-2.30.0/ltmain.sh 2010-04-23 19:41:34.679353830 +0200 @@ -4716,6 +4716,11 @@ func_mode_link () arg=$func_stripname_result ;; + -Wl,--as-needed) + deplibs="$deplibs $arg" + continue + ;; + -Wl,*) func_stripname '-Wl,' '' "$arg" args=$func_stripname_result @@ -5067,6 +5072,15 @@ func_mode_link () lib= found=no case $deplib in + -Wl,--as-needed) + if test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + deplibs="$deplib $deplibs" + fi + continue + ;; -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) if test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$deplib $compile_deplibs" debian/patches/03_window_action_menu_dispose_events.patch0000644000000000000000000000665712222304352021153 0ustar Description: WindowActionMenu: unset window and stop async events on dispose Finalize function can be never called on menu, so it's better to do this when the widget gets destroyed. Origin: upstream, https://git.gnome.org/browse/libwnck/commit/?h=gtk2&id=9e17ab5b Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/libwnck/+bug/1191853 Forwarded: yes Author: Marco Trevisan diff --git a/libwnck/window-action-menu.c b/libwnck/window-action-menu.c index e687cff..1e4b27e 100644 --- a/libwnck/window-action-menu.c +++ b/libwnck/window-action-menu.c @@ -104,10 +104,8 @@ enum { G_DEFINE_TYPE (WnckActionMenu, wnck_action_menu, GTK_TYPE_MENU); #define WNCK_ACTION_MENU_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), WNCK_TYPE_ACTION_MENU, WnckActionMenuPrivate)) -static void wnck_action_menu_finalize (GObject *object); +static void wnck_action_menu_dispose (GObject *object); -static void object_weak_notify (gpointer data, - GObject *obj); static void window_weak_notify (gpointer data, GObject *window); @@ -118,23 +116,10 @@ static void window_weak_notify (gpointer data, GObject *window) { - g_object_weak_unref (G_OBJECT (data), - object_weak_notify, - window); - + WNCK_ACTION_MENU(data)->priv->window = NULL; gtk_widget_destroy (GTK_WIDGET (data)); } - -static void -object_weak_notify (gpointer data, - GObject *obj) -{ - g_object_weak_unref (G_OBJECT (data), - window_weak_notify, - obj); -} - static WnckActionMenu* get_action_menu (GtkWidget *widget) { @@ -1030,7 +1015,6 @@ wnck_action_menu_constructor (GType type, } g_object_weak_ref (G_OBJECT (priv->window), window_weak_notify, menu); - g_object_weak_ref (G_OBJECT (menu), object_weak_notify, priv->window); priv->minimize_item = make_menu_item (MINIMIZE); @@ -1181,7 +1165,7 @@ wnck_action_menu_class_init (WnckActionMenuClass *klass) object_class->constructor = wnck_action_menu_constructor; object_class->get_property = wnck_action_menu_get_property; object_class->set_property = wnck_action_menu_set_property; - object_class->finalize = wnck_action_menu_finalize; + object_class->dispose = wnck_action_menu_dispose; g_object_class_install_property (object_class, PROP_WINDOW, @@ -1192,17 +1176,30 @@ wnck_action_menu_class_init (WnckActionMenuClass *klass) } static void -wnck_action_menu_finalize (GObject *object) +wnck_action_menu_dispose (GObject *object) { WnckActionMenu *menu; menu = WNCK_ACTION_MENU (object); if (menu->priv->idle_handler) - g_source_remove (menu->priv->idle_handler); - menu->priv->idle_handler = 0; + { + g_source_remove (menu->priv->idle_handler); + menu->priv->idle_handler = 0; + } + + if (WNCK_IS_WINDOW (menu->priv->window)) + { + g_object_weak_unref (G_OBJECT (menu->priv->window), window_weak_notify, menu); + g_signal_handlers_disconnect_by_data (menu->priv->window, menu); + + WnckScreen *screen = wnck_window_get_screen (menu->priv->window); + g_signal_handlers_disconnect_by_data (screen, menu); + + menu->priv->window = NULL; + } - G_OBJECT_CLASS (wnck_action_menu_parent_class)->finalize (object); + G_OBJECT_CLASS (wnck_action_menu_parent_class)->dispose (object); } /** -- 1.8.3.2 debian/patches/01_tasklist_orientation.patch0000644000000000000000000002334312222304352016407 0ustar Debian #524117 GNOME #513347 and #86382 Index: libwnck-2.30.0/libwnck/tasklist.c =================================================================== --- libwnck-2.30.0.orig/libwnck/tasklist.c 2010-03-30 01:55:24.000000000 +0200 +++ libwnck-2.30.0/libwnck/tasklist.c 2010-07-13 19:29:18.489245060 +0200 @@ -234,6 +234,8 @@ struct _WnckTasklistPrivate GdkPixmap *background; guint drag_start_time; + + GtkOrientation orientation; }; static GType wnck_task_get_type (void); @@ -316,6 +318,7 @@ static int wnck_tasklist_layout int max_width, int max_height, int n_buttons, + GtkOrientation orientation, int *n_cols_out, int *n_rows_out); @@ -976,6 +979,20 @@ wnck_tasklist_set_button_relief (WnckTas } /** + * wnck_tasklist_set_orientation: + * @tasklist: a #WnckTasklist. + * @orient: a GtkOrientation. + * + * Set the orientation of the @taskluist. The main use of this function is + * proper integration of #WnckTasklist in vertical panels. + */ + +void wnck_tasklist_set_orientation(WnckTasklist *tasklist, GtkOrientation orient) +{ + tasklist->priv->orientation = orient; +} + +/** * wnck_tasklist_set_switch_workspace_on_unminimize: * @tasklist: a #WnckTasklist. * @switch_workspace_on_unminimize: whether to activate the #WnckWorkspace a @@ -1147,29 +1164,38 @@ wnck_tasklist_layout (GtkAllocation *all int max_width, int max_height, int n_buttons, + GtkOrientation orientation, int *n_cols_out, int *n_rows_out) { int n_cols, n_rows; - /* How many rows fit in the allocation */ - n_rows = allocation->height / max_height; - - /* Don't have more rows than buttons */ - n_rows = MIN (n_rows, n_buttons); - - /* At least one row */ - n_rows = MAX (n_rows, 1); - - /* We want to use as many rows as possible to limit the width */ - n_cols = (n_buttons + n_rows - 1) / n_rows; - - /* At least one column */ - n_cols = MAX (n_cols, 1); + if (orientation == GTK_ORIENTATION_HORIZONTAL) { + /* How many rows fit in the allocation */ + n_rows = allocation->height / max_height; + + /* Don't have more rows than buttons */ + n_rows = MIN (n_rows, n_buttons); + + /* At least one row */ + n_rows = MAX (n_rows, 1); + + /* We want to use as many rows as possible to limit the width */ + n_cols = (n_buttons + n_rows - 1) / n_rows; + + /* At least one column */ + n_cols = MAX (n_cols, 1); + + } else { + n_cols = allocation->width / max_width; + n_cols = MIN(n_cols, n_buttons); + n_cols = MAX(n_cols, 1); + n_rows = (n_buttons + n_cols - 1) / n_cols; + n_rows = MAX(n_rows, 1); + } *n_cols_out = n_cols; *n_rows_out = n_rows; - return allocation->width / n_cols; } @@ -1367,19 +1393,31 @@ wnck_tasklist_size_request (GtkWidget tasklist->priv->max_button_width, tasklist->priv->max_button_height, n_windows + n_startup_sequences, + tasklist->priv->orientation, &n_cols, &n_rows); last_n_cols = G_MAXINT; lowest_range = G_MAXINT; if (tasklist->priv->grouping != WNCK_TASKLIST_ALWAYS_GROUP) { - val = n_cols * tasklist->priv->max_button_width; - g_array_insert_val (array, array->len, val); - val = n_cols * grouping_limit; - g_array_insert_val (array, array->len, val); - - last_n_cols = n_cols; - lowest_range = val; + if (tasklist->priv->orientation == GTK_ORIENTATION_HORIZONTAL) { + val = n_cols * tasklist->priv->max_button_width; + g_array_insert_val (array, array->len, val); + val = n_cols * grouping_limit; + g_array_insert_val (array, array->len, val); + + last_n_cols = n_cols; + lowest_range = val; + } else { + val = n_rows * tasklist->priv->max_button_height; + g_array_insert_val (array, array->len, val); + val = n_rows * grouping_limit; + g_array_insert_val (array, array->len, val); + + last_n_cols = n_rows; + lowest_range = val; + + } } while (ungrouped_class_groups != NULL && @@ -1399,29 +1437,56 @@ wnck_tasklist_size_request (GtkWidget tasklist->priv->max_button_width, tasklist->priv->max_button_height, n_startup_sequences + n_windows - n_grouped_buttons, + tasklist->priv->orientation, &n_cols, &n_rows); - if (n_cols != last_n_cols && - (tasklist->priv->grouping == WNCK_TASKLIST_AUTO_GROUP || - ungrouped_class_groups == NULL)) - { - val = n_cols * tasklist->priv->max_button_width; - if (val >= lowest_range) - { /* Overlaps old range */ - g_assert (array->len > 0); - lowest_range = n_cols * grouping_limit; - g_array_index(array, int, array->len-1) = lowest_range; - } - else - { - /* Full new range */ - g_array_insert_val (array, array->len, val); - val = n_cols * grouping_limit; - g_array_insert_val (array, array->len, val); - lowest_range = val; - } - - last_n_cols = n_cols; - } + if (tasklist->priv->orientation == GTK_ORIENTATION_HORIZONTAL) { + if (n_cols != last_n_cols && + (tasklist->priv->grouping == WNCK_TASKLIST_AUTO_GROUP || + ungrouped_class_groups == NULL)) + { + val = n_cols * tasklist->priv->max_button_width; + if (val >= lowest_range) + { /* Overlaps old range */ + g_assert (array->len > 0); + lowest_range = n_cols * grouping_limit; + g_array_index(array, int, array->len-1) = lowest_range; + } + else + { + /* Full new range */ + g_array_insert_val (array, array->len, val); + val = n_cols * grouping_limit; + g_array_insert_val (array, array->len, val); + lowest_range = val; + } + + last_n_cols = n_cols; + } + } else { + if (n_rows != last_n_cols && + (tasklist->priv->grouping == WNCK_TASKLIST_AUTO_GROUP || + ungrouped_class_groups == NULL)) + { + val = n_rows * tasklist->priv->max_button_height;; + if (val >= lowest_range) + { /* Overlaps old range */ + g_assert (array->len > 0); + lowest_range = n_rows * grouping_limit; + g_array_index(array, int, array->len-1) = lowest_range; + } + else + { + /* Full new range */ + g_array_insert_val (array, array->len, val); + val = n_rows * grouping_limit; + g_array_insert_val (array, array->len, val); + lowest_range = val; + } + + last_n_cols = n_rows; + } + } + } g_list_free (ungrouped_class_groups); @@ -1443,8 +1508,13 @@ wnck_tasklist_size_request (GtkWidget tasklist->priv->size_hints = (int *)g_array_free (array, FALSE); - requisition->width = tasklist->priv->size_hints[0]; - requisition->height = fake_allocation.height; + if (tasklist->priv->orientation == GTK_ORIENTATION_VERTICAL) { + requisition->width = n_cols * tasklist->priv->max_button_width; + requisition->height = n_rows * tasklist->priv->max_button_height; + } else { + requisition->width = tasklist->priv->size_hints[0]; + requisition->height = fake_allocation.height; + } } /** @@ -1540,6 +1610,7 @@ wnck_tasklist_size_allocate (GtkWidget tasklist->priv->max_button_width, tasklist->priv->max_button_height, n_startup_sequences + n_windows, + tasklist->priv->orientation, &n_cols, &n_rows); while (ungrouped_class_groups != NULL && ((tasklist->priv->grouping == WNCK_TASKLIST_ALWAYS_GROUP) || @@ -1589,6 +1660,7 @@ wnck_tasklist_size_allocate (GtkWidget tasklist->priv->max_button_width, tasklist->priv->max_button_height, n_startup_sequences + n_windows - n_grouped_buttons, + tasklist->priv->orientation, &n_cols, &n_rows); } @@ -2143,6 +2215,7 @@ wnck_tasklist_new (WnckScreen *screen) WnckTasklist *tasklist; tasklist = g_object_new (WNCK_TYPE_TASKLIST, NULL); + tasklist->priv->orientation = GTK_ORIENTATION_HORIZONTAL; return GTK_WIDGET (tasklist); } @@ -4270,7 +4343,6 @@ wnck_task_new_from_window (WnckTasklist WnckTask *task; task = g_object_new (WNCK_TYPE_TASK, NULL); - task->type = WNCK_TASK_WINDOW; task->window = g_object_ref (window); task->class_group = g_object_ref (wnck_window_get_class_group (window)); Index: libwnck-2.30.0/libwnck/tasklist.h =================================================================== --- libwnck-2.30.0.orig/libwnck/tasklist.h 2009-04-19 19:40:32.000000000 +0200 +++ libwnck-2.30.0/libwnck/tasklist.h 2010-07-13 19:29:18.489245060 +0200 @@ -99,6 +99,8 @@ void wnck_tasklist_set_include_all_works gboolean include_all_workspaces); void wnck_tasklist_set_button_relief (WnckTasklist *tasklist, GtkReliefStyle relief); +void wnck_tasklist_set_orientation(WnckTasklist *tasklist, GtkOrientation orient); + #ifndef WNCK_DISABLE_DEPRECATED void wnck_tasklist_set_minimum_width (WnckTasklist *tasklist, gint size); gint wnck_tasklist_get_minimum_width (WnckTasklist *tasklist); debian/patches/02_moveresize_static_gravity.patch0000644000000000000000000000651512222304352017445 0ustar From 512ee1283c66ddb39b5598b2d1654568508f3fbf Mon Sep 17 00:00:00 2001 From: Sam Spilsbury Date: Sun, 2 Jan 2011 11:57:56 +0800 Subject: [PATCH] Use StaticGravity when sending _NET_MOVERESIZE_WINDOW requests to change vp's Bug: https://bugzilla.gnome.org/show_bug.cgi?id=638483 Bug-Ubuntu: http://launchpad.net/bugs/691545 ForgetGravity will cause the window manager to use the default gravity which will shift the window by the frame extents on vp switch. --- libwnck/window-action-menu.c | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/libwnck/window-action-menu.c b/libwnck/window-action-menu.c index e687cff..405f597 100644 --- a/libwnck/window-action-menu.c +++ b/libwnck/window-action-menu.c @@ -233,7 +233,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_set_geometry (window, WNCK_WINDOW_GRAVITY_STATIC, WNCK_WINDOW_CHANGE_X | WNCK_WINDOW_CHANGE_Y, xw - width, yw, ww, hw); @@ -254,7 +254,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_set_geometry (window, WNCK_WINDOW_GRAVITY_STATIC, WNCK_WINDOW_CHANGE_X | WNCK_WINDOW_CHANGE_Y, xw + width, yw, ww, hw); @@ -275,7 +275,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_set_geometry (window, WNCK_WINDOW_GRAVITY_STATIC, WNCK_WINDOW_CHANGE_X | WNCK_WINDOW_CHANGE_Y, xw, yw - height, ww, hw); @@ -296,7 +296,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_set_geometry (window, WNCK_WINDOW_GRAVITY_STATIC, WNCK_WINDOW_CHANGE_X | WNCK_WINDOW_CHANGE_Y, xw, yw + height, ww, hw); @@ -340,7 +340,7 @@ item_activated_callback (GtkWidget *menu_item, viewport_y = wnck_workspace_get_viewport_y (workspace); wnck_window_unstick (window); - wnck_window_set_geometry (window, 0, + wnck_window_set_geometry (window, WNCK_WINDOW_GRAVITY_STATIC, WNCK_WINDOW_CHANGE_X | WNCK_WINDOW_CHANGE_Y, xw + new_viewport_x - viewport_x, yw + new_viewport_y - viewport_y, -- 1.7.2.3 debian/patches/series0000644000000000000000000000020612222304352012023 0ustar 01_tasklist_orientation.patch 02_moveresize_static_gravity.patch 03_window_action_menu_dispose_events.patch 99_ltmain_as-needed.patch debian/control0000644000000000000000000000560512255547774010621 0ustar # This file is autogenerated. DO NOT EDIT! # # Modifications should be made to debian/control.in instead. # This file is regenerated automatically in the clean target. Source: libwnck Section: libs Priority: optional Maintainer: Ubuntu Desktop Team XSBC-Original-Maintainer: Josselin Mouette Uploaders: Debian GNOME Maintainers Standards-Version: 3.9.1 Build-Depends: debhelper (>= 5), libgtk2.0-dev (>= 2.19.7), gettext, libstartup-notification0-dev (>= 0.7), cdbs (>= 0.4.41), dh-autoreconf, gnome-pkg-tools (>= 0.10), docbook-xml, libx11-dev, libxres-dev, libxt-dev, libxres-dev, intltool (>= 0.40.0), libglib2.0-dev (>= 2.16.0), gobject-introspection, libgirepository1.0-dev (>= 0.6.14), gir1.2-atk-1.0, gir1.2-freedesktop, gir1.2-glib-2.0, gir1.2-gtk-2.0, gir1.2-pango-1.0, dpkg-dev (>= 1.13.19), gtk-doc-tools (>= 1.9), libglib2.0-doc, libgtk2.0-doc Vcs-Bzr: https://code.launchpad.net/~ubuntu-desktop/libwnck/ubuntu Package: libwnck22 Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends}, libwnck-common Description: Window Navigator Construction Kit - runtime files A library to use for writing pagers and task lists. . This package contains runtime files. Package: libwnck-dev Architecture: any Section: libdevel Depends: ${misc:Depends}, libwnck22 (= ${binary:Version}), libglib2.0-dev (>= 2.13.0), libpango1.0-dev, libx11-dev, libgtk2.0-dev (>= 2.19.7), libstartup-notification0-dev (>= 0.7-1), libcairo2-dev, libxres-dev, ${shlibs:Depends} Replaces: gir-repository-dev (<< 0.6.5-7) Description: Window Navigator Construction Kit - development files A library to use for writing pagers and task lists. . This package contains development files (include headers). Package: libwnck-common Architecture: all Depends: ${misc:Depends} Description: Window Navigator Construction Kit - common files A library to use for writing pagers and task lists. . This package contains internationalization files. Package: gir1.2-wnck-1.0 Conflicts: gir1.0-wnck-1.0 Replaces: gir1.0-wnck-1.0 Architecture: any Depends: ${gir:Depends}, ${misc:Depends}, ${shlibs:Depends} Description: GObject introspection data for the WNCK library This package contains introspection data for Window Navigator Construction Kit, a library to interact with window managers. . It can be used by packages using the GIRepository format to generate dynamic bindings. debian/rules0000755000000000000000000000121412255547700010253 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/autoreconf.mk include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/rules/utils.mk include /usr/share/cdbs/1/class/gnome.mk include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk include /usr/share/gnome-pkg-tools/1/rules/gnome-version.mk include /usr/share/gnome-pkg-tools/1/rules/clean-la.mk -include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk LDFLAGS += -Wl,-z,defs -Wl,-O1 -Wl,--as-needed DEB_CONFIGURE_EXTRA_FLAGS += \ --disable-gtk-doc \ --with-html-dir=\$${prefix}/share/doc/libwnck-dev/html binary-predeb/gir1.0-wnck-1.0:: dh_girepository -p$(cdbs_curpkg) debian/source/0000755000000000000000000000000012222304352010461 5ustar debian/source/format0000644000000000000000000000001412222304352011667 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000014112222304352010206 0ustar version=2 http://ftp.gnome.org/pub/gnome/sources/libwnck/([\d\.]+)\d/libwnck-([\d\.]+)\.tar\.bz2