diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-09-07 12:19:54 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-09-07 12:19:54 -0300 |
commit | 730bda0e79d3e122d665663a18e0c973d7209236 (patch) | |
tree | 251b00a85c7bbc2e3ee21102c5c16c1054cf4669 /extra/scim | |
parent | cfe7b034671297c6bba5e91867d98e182c683ded (diff) | |
parent | fe769389426a6aa5a2878bf7dcfc6144717e1e93 (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community/gcolor2/PKGBUILD
community/perl-list-moreutils/PKGBUILD
extra/boost/PKGBUILD
extra/cdrkit/PKGBUILD
extra/ettercap/PKGBUILD
extra/lame/PKGBUILD
extra/sdl/PKGBUILD
extra/unzip/PKGBUILD
gnome-unstable/at-spi2-atk/PKGBUILD
gnome-unstable/at-spi2-core/PKGBUILD
gnome-unstable/caribou/PKGBUILD
gnome-unstable/empathy/PKGBUILD
gnome-unstable/eog/PKGBUILD
gnome-unstable/epiphany/PKGBUILD
gnome-unstable/glib2/PKGBUILD
gnome-unstable/glibmm/PKGBUILD
gnome-unstable/gnome-themes-standard/PKGBUILD
gnome-unstable/gtkmm3/PKGBUILD
gnome-unstable/yelp/PKGBUILD
Diffstat (limited to 'extra/scim')
-rw-r--r-- | extra/scim/PKGBUILD | 11 | ||||
-rw-r--r-- | extra/scim/wtf.patch | 93 |
2 files changed, 4 insertions, 100 deletions
diff --git a/extra/scim/PKGBUILD b/extra/scim/PKGBUILD index 7e5ad4220..e8a4224f7 100644 --- a/extra/scim/PKGBUILD +++ b/extra/scim/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 134853 2011-08-08 03:28:47Z bisson $ +# $Id: PKGBUILD 137306 2011-09-06 22:52:36Z bisson $ # Maintainer: Gaetan Bisson <bisson@archlinux.org> # Contributor: damir <damir@archlinux.org> # Contributor: Gan Lu <rhythm.gan@gmail.com> pkgname=scim pkgver=1.4.11 -pkgrel=1 +pkgrel=2 pkgdesc='Input method user interface and development platform' url='http://www.scim-im.org/projects/scim' license=('GPL') @@ -14,16 +14,13 @@ options=('!libtool') makedepends=('intltool') depends=('gtk2' 'libtool') backup=('etc/scim/config' 'etc/scim/global') -source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz" - 'wtf.patch') -sha1sums=('dd93094f62e5707db88d4f0e7ebd3392ae75b942' - '14d2be6c8f9f4af6494c3e806d3cadef5803597a') +source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz") +sha1sums=('e202e42df52f5c9a88f6ae4d4ce04f94bc22e27c') install=install build() { cd "${srcdir}/${pkgname}-${pkgver}" - patch -p1 -i ../wtf.patch # revert broken commit 303 ./bootstrap ./configure \ diff --git a/extra/scim/wtf.patch b/extra/scim/wtf.patch deleted file mode 100644 index c0e5ab078..000000000 --- a/extra/scim/wtf.patch +++ /dev/null @@ -1,93 +0,0 @@ -diff -aur old/extras/panel/scim_panel_gtk.cpp new/extras/panel/scim_panel_gtk.cpp ---- old/extras/panel/scim_panel_gtk.cpp 2011-08-04 13:21:29.000000000 -0700 -+++ new/extras/panel/scim_panel_gtk.cpp 2011-08-07 16:11:12.977663776 -0700 -@@ -479,12 +479,12 @@ - - static bool _should_exit = false; - -+static bool _panel_is_on = false; - --static struct timeval _last_menu_deactivate_time = {0, 0}; -+static GThread *_panel_agent_thread = 0; -+ -+static PanelAgent *_panel_agent = 0; - --// client repository --static PropertyRepository _frontend_property_repository; --static HelperPropertyRepository _helper_property_repository; - static std::vector<String> _factory_menu_uuids; - - static std::list<String> _recent_factory_uuids; -@@ -1187,16 +1187,16 @@ - - GtkRequisition ws; - gint pos_x, pos_y; -+ -+ gtk_widget_size_request (_toolbar_window, &ws); -+ -+ pos_x = _config->read (String (SCIM_CONFIG_PANEL_GTK_TOOLBAR_POS_X), - workarea_x + workarea_width - ws.width); - pos_y = _config->read (String (SCIM_CONFIG_PANEL_GTK_TOOLBAR_POS_Y), - workarea_y + workarea_height - ws.height); - if (pos_x == -1 && pos_y == -1) { - pos_x = workarea_x + workarea_width - ws.width; - pos_y = workarea_y + workarea_height - ws.height; -- workarea_y + workarea_height - ws.height); -- if (pos_x == -1 && pos_y == -1) { -- pos_x = workarea_x + workarea_width - ws.width; -- pos_y = workarea_y + workarea_height - ws.height; - } - - if (_toolbar_auto_snap) { -@@ -1215,6 +1215,10 @@ - else if (pos_y < 0) - pos_y = 0; - -+ if (_toolbar_window_x != pos_x || _toolbar_window_y != pos_y || force) { -+ gtk_window_move (GTK_WINDOW (_toolbar_window), pos_x, pos_y); -+ _toolbar_window_x = pos_x; -+ _toolbar_window_y = pos_y; - } - } - -@@ -1227,9 +1231,9 @@ - #endif - return gdk_screen_width (); - } -- return gdk_screen_get_width (_current_screen); --#endif -- return gdk_screen_width (); -+ -+static int -+ui_screen_height (void) - { - #if GDK_MULTIHEAD_SAFE - if (_current_screen) -@@ -1237,10 +1241,6 @@ - #endif - return gdk_screen_height (); - } -- return gdk_screen_get_height (_current_screen); --#endif -- return gdk_screen_height (); --} - - static void - ui_get_workarea (int &x, int &y, int &width, int &height) -@@ -1929,11 +1929,11 @@ - static gulong motion_handler; - GdkCursor *cursor; - -- if (!_config.null () && -- (_toolbar_window_x != pos_x || _toolbar_window_y != pos_y)) { -- _config->write ( -- SCIM_CONFIG_PANEL_GTK_TOOLBAR_POS_X, pos_x); -- _config->write ( -+ if (click_type == 0 && event->button <= 1) { -+ if (_toolbar_window_draging) -+ return FALSE; -+ -+ // Connection pointer motion handler to this window. - motion_handler = g_signal_connect (G_OBJECT (window), "motion-notify-event", - G_CALLBACK (ui_toolbar_window_motion_cb), - NULL); |