[arch-commits] Commit in xfce4-terminal/trunk (2 files)

Evangelos Foutras foutrelis at archlinux.org
Sat Dec 31 15:17:17 UTC 2016


    Date: Saturday, December 31, 2016 @ 15:17:17
  Author: foutrelis
Revision: 284989

upgpkg: xfce4-terminal 0.8.2-1

New upstream release.

Modified:
  xfce4-terminal/trunk/PKGBUILD
Deleted:
  xfce4-terminal/trunk/0001-Set-window-hints-properly-showes-columns-rows-when-r.patch

-----------------------------------------------------------------+
 0001-Set-window-hints-properly-showes-columns-rows-when-r.patch |   77 ----------
 PKGBUILD                                                        |    4 
 2 files changed, 2 insertions(+), 79 deletions(-)

Deleted: 0001-Set-window-hints-properly-showes-columns-rows-when-r.patch
===================================================================
--- 0001-Set-window-hints-properly-showes-columns-rows-when-r.patch	2016-12-31 15:03:35 UTC (rev 284988)
+++ 0001-Set-window-hints-properly-showes-columns-rows-when-r.patch	2016-12-31 15:17:17 UTC (rev 284989)
@@ -1,77 +0,0 @@
-From 980003baf92afed64c7958dbaf1a92c3aca402cb Mon Sep 17 00:00:00 2001
-From: Igor <f2404 at yandex.ru>
-Date: Tue, 18 Oct 2016 14:56:47 +0300
-Subject: [PATCH] Set window hints properly; showes columns/rows when resizing
-
-Fixes https://bugzilla.xfce.org/show_bug.cgi?id=12793
----
- terminal/terminal-screen.c | 36 ++++++++++++++++++++++++------------
- 1 file changed, 24 insertions(+), 12 deletions(-)
-
-diff --git a/terminal/terminal-screen.c b/terminal/terminal-screen.c
-index 0351437..311f02f 100644
---- a/terminal/terminal-screen.c
-+++ b/terminal/terminal-screen.c
-@@ -1673,35 +1673,47 @@ terminal_screen_get_geometry (TerminalScreen *screen,
-  *
-  * I don't like this way, but its required to work-around a Gtk+
-  * bug (maybe also caused by a Vte bug, not sure).
-+ *
-+ * Code borrowed from gnome-terminal (terminal_window_update_geometry).
-  **/
- void
- terminal_screen_set_window_geometry_hints (TerminalScreen *screen,
-                                            GtkWindow      *window)
- {
--  GdkGeometry  hints;
--  gint         xpad;
--  gint         ypad;
--  glong        char_width;
--  glong        char_height;
-+  GdkGeometry    hints;
-+  GtkRequisition vbox_request;
-+  GtkAllocation  toplevel_allocation, vbox_allocation;
-+  glong          char_width, char_height;
-+  glong          grid_width, grid_height;
-+  glong          chrome_width, chrome_height;
-+  gint           csd_width, csd_height;
- 
-   terminal_return_if_fail (TERMINAL_IS_SCREEN (screen));
-   terminal_return_if_fail (VTE_IS_TERMINAL (screen->terminal));
-   terminal_return_if_fail (gtk_widget_get_realized (screen));
-   terminal_return_if_fail (gtk_widget_get_realized (window));
- 
--  terminal_screen_get_geometry (screen,
--                                &char_width, &char_height,
--                                &xpad, &ypad);
-+  terminal_screen_get_geometry (screen, &char_width, &char_height, NULL, NULL);
-+  terminal_screen_get_size (screen, &grid_width, &grid_height);
-+
-+  gtk_widget_get_preferred_size (TERMINAL_WINDOW (window)->vbox, NULL, &vbox_request);
-+  chrome_width = vbox_request.width - (char_width * grid_width);
-+  chrome_height = vbox_request.height - (char_height * grid_height);
-+
-+  gtk_widget_get_allocation (TERMINAL_WINDOW (window)->vbox, &vbox_allocation);
-+  gtk_widget_get_allocation (GTK_WIDGET (window), &toplevel_allocation);
-+  csd_width = toplevel_allocation.width - vbox_allocation.width;
-+  csd_height = toplevel_allocation.height - vbox_allocation.height;
- 
--  hints.base_width = xpad;
--  hints.base_height = ypad;
-+  hints.base_width = chrome_width + csd_width;
-+  hints.base_height = chrome_height + csd_height;
-   hints.width_inc = char_width;
-   hints.height_inc = char_height;
-   hints.min_width = hints.base_width + hints.width_inc * 4;
-   hints.min_height = hints.base_height + hints.height_inc * 2;
- 
--  gtk_window_set_geometry_hints (GTK_WINDOW (window),
--                                 screen->terminal,
-+  gtk_window_set_geometry_hints (window,
-+                                 NULL,
-                                  &hints,
-                                  GDK_HINT_RESIZE_INC
-                                  | GDK_HINT_MIN_SIZE
--- 
-2.10.0
-

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-12-31 15:03:35 UTC (rev 284988)
+++ PKGBUILD	2016-12-31 15:17:17 UTC (rev 284989)
@@ -4,7 +4,7 @@
 # Contributor: Aurelien Foret <orelien at chez.com>
 
 pkgname=xfce4-terminal
-pkgver=0.8.1
+pkgver=0.8.2
 pkgrel=1
 pkgdesc="A modern terminal emulator primarily for the Xfce desktop environment"
 arch=('i686' 'x86_64')
@@ -16,7 +16,7 @@
 conflicts=('terminal')
 replaces=('terminal')
 source=(http://archive.xfce.org/src/apps/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2)
-sha256sums=('ddfe53a89d315a4a9170ca6d2cee2d33145bd63630062b2e867fb3a5fcde5fdf')
+sha256sums=('92aad3e14f3ef8d4c6c1409463e989bd8f5eefb686234f3cdbfe574729401681')
 
 build() {
   cd "$srcdir/$pkgname-$pkgver"



More information about the arch-commits mailing list