[arch-commits] Commit in gnome-terminal/repos/extra-x86_64 (3 files)

Jan Steffens heftig at archlinux.org
Fri Mar 27 20:52:33 UTC 2020


    Date: Friday, March 27, 2020 @ 20:52:32
  Author: heftig
Revision: 378572

archrelease: copy trunk to extra-x86_64

Added:
  gnome-terminal/repos/extra-x86_64/PKGBUILD
    (from rev 378570, gnome-terminal/trunk/PKGBUILD)
Deleted:
  gnome-terminal/repos/extra-x86_64/0001-screen-Fix-non-preserved-working-dir.patch
  gnome-terminal/repos/extra-x86_64/PKGBUILD

-------------------------------------------------+
 0001-screen-Fix-non-preserved-working-dir.patch |   47 ----------
 PKGBUILD                                        |   96 ++++++++++------------
 2 files changed, 45 insertions(+), 98 deletions(-)

Deleted: 0001-screen-Fix-non-preserved-working-dir.patch
===================================================================
--- 0001-screen-Fix-non-preserved-working-dir.patch	2020-03-27 20:52:30 UTC (rev 378571)
+++ 0001-screen-Fix-non-preserved-working-dir.patch	2020-03-27 20:52:32 UTC (rev 378572)
@@ -1,47 +0,0 @@
-From 0a68500b46668e4b9c027b630d0ba2ccb7bed555 Mon Sep 17 00:00:00 2001
-From: "Jan Alexander Steffens (heftig)" <jan.steffens at gmail.com>
-Date: Tue, 10 Mar 2020 21:02:19 +0000
-Subject: [PATCH] screen: Fix non-preserved working dir
-
-If `preserve_cwd` is false, the code would leave `data->cwd` unset. This
-resulted in VTE keeping the current pwd, which in the case of
-`gnome-terminal-server` running as a systemd user service is `/`.
-
-Fixes https://gitlab.gnome.org/GNOME/gnome-terminal/issues/228
----
- src/terminal-screen.c | 5 ++---
- 1 file changed, 2 insertions(+), 3 deletions(-)
-
-diff --git a/src/terminal-screen.c b/src/terminal-screen.c
-index dc9f8447..6541c0a5 100644
---- a/src/terminal-screen.c
-+++ b/src/terminal-screen.c
-@@ -963,23 +963,22 @@ terminal_screen_exec (TerminalScreen *screen,
-     return FALSE;
-   }
- 
--  if (preserve_cwd) {
--    data->cwd = g_strdup (cwd);
--  } else {
-+  if (!preserve_cwd) {
-     cwd = g_get_home_dir ();
-     envv = g_environ_unsetenv (envv, "PWD");
-   }
- 
-   if (fd_list) {
-     const int *fds;
- 
-     fds = g_unix_fd_list_peek_fds (fd_list, &data->fd_list_len);
-     data->fd_list = g_memdup (fds, (data->fd_list_len + 1) * sizeof (int));
-     data->fd_array = g_variant_get_fixed_array (fd_array, &data->fd_array_len, 2 * sizeof (int));
-   }
- 
-   data->argv = g_strdupv (argv);
-   data->exec_argv = g_strdupv (exec_argv);
-+  data->cwd = g_strdup (cwd);
-   data->envv = g_strdupv (envv);
-   data->as_shell = as_shell;
-   data->pty_flags = VTE_PTY_DEFAULT;
--- 
-2.25.1
-

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-27 20:52:30 UTC (rev 378571)
+++ PKGBUILD	2020-03-27 20:52:32 UTC (rev 378572)
@@ -1,51 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-
-pkgname=gnome-terminal
-pkgver=3.36.0.1
-pkgrel=2
-pkgdesc="The GNOME Terminal Emulator"
-url="https://wiki.gnome.org/Apps/Terminal"
-arch=(x86_64)
-license=(GPL)
-depends=('vte3>=0.60.0' gsettings-desktop-schemas)
-makedepends=(itstool docbook-xsl libnautilus-extension appstream-glib
-             gnome-shell vala yelp-tools git)
-groups=(gnome)
-_commit=7d7b73d1005d8377e6f8303801e0da505f907611  # tags/3.36.0.1^0
-source=("git+https://gitlab.gnome.org/GNOME/gnome-terminal.git#commit=$_commit"
-        0001-screen-Fix-non-preserved-working-dir.patch)
-sha256sums=('SKIP'
-            '32f26314ba3b33c95acb41510fa9e4f46d00bb575d3a32cc765b65303c30734a')
-
-pkgver() {
-  cd $pkgname
-  git describe --tags | sed 's/-/+/g'
-}
-
-prepare() {
-  cd $pkgname
-
-  # https://bugs.archlinux.org/task/65774
-  git apply -3 ../0001-screen-Fix-non-preserved-working-dir.patch
-
-  NOCONFIGURE=1 ./autogen.sh
-}
-
-build() {
-  cd $pkgname
-  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
-    --libexecdir=/usr/lib --disable-static --with-nautilus-extension
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-  make
-}
-
-check() {
-  cd $pkgname
-  make check
-}
-
-package() {
-  cd $pkgname
-  make DESTDIR="$pkgdir" install
-}

Copied: gnome-terminal/repos/extra-x86_64/PKGBUILD (from rev 378570, gnome-terminal/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-27 20:52:32 UTC (rev 378572)
@@ -0,0 +1,45 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gnome-terminal
+pkgver=3.36.1
+pkgrel=1
+pkgdesc="The GNOME Terminal Emulator"
+url="https://wiki.gnome.org/Apps/Terminal"
+arch=(x86_64)
+license=(GPL)
+depends=('vte3>=0.60.0' gsettings-desktop-schemas)
+makedepends=(itstool docbook-xsl libnautilus-extension appstream-glib
+             gnome-shell vala yelp-tools git)
+groups=(gnome)
+_commit=c428fb95b47a71743c166f89d1371e9ef327230d  # tags/3.36.1^0
+source=("git+https://gitlab.gnome.org/GNOME/gnome-terminal.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd $pkgname
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+    --libexecdir=/usr/lib --disable-static --with-nautilus-extension
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+check() {
+  cd $pkgname
+  make check
+}
+
+package() {
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list