summaryrefslogtreecommitdiffstats
path: root/x11/gnome-terminal
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2009-08-20 16:48:31 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2009-08-20 16:48:31 +0800
commitf2d913c408be27a9df67b18e1cf2b88c330cb6a3 (patch)
tree95d1f10931b0ab65fac7b97a47e1e322cb34e6c0 /x11/gnome-terminal
parent1acf8e10c9976dd38a166eebefa4da36081d1b43 (diff)
downloadmarcuscom-ports-f2d913c408be27a9df67b18e1cf2b88c330cb6a3.tar
marcuscom-ports-f2d913c408be27a9df67b18e1cf2b88c330cb6a3.tar.gz
marcuscom-ports-f2d913c408be27a9df67b18e1cf2b88c330cb6a3.tar.bz2
marcuscom-ports-f2d913c408be27a9df67b18e1cf2b88c330cb6a3.tar.lz
marcuscom-ports-f2d913c408be27a9df67b18e1cf2b88c330cb6a3.tar.xz
marcuscom-ports-f2d913c408be27a9df67b18e1cf2b88c330cb6a3.tar.zst
marcuscom-ports-f2d913c408be27a9df67b18e1cf2b88c330cb6a3.zip
Update to 2.27.91.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@12667 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/gnome-terminal')
-rw-r--r--x11/gnome-terminal/Makefile5
-rw-r--r--x11/gnome-terminal/distinfo6
-rw-r--r--x11/gnome-terminal/files/patch-src_terminal-screen.c23
-rw-r--r--x11/gnome-terminal/pkg-plist1
4 files changed, 17 insertions, 18 deletions
diff --git a/x11/gnome-terminal/Makefile b/x11/gnome-terminal/Makefile
index c6963c019..71bc279d1 100644
--- a/x11/gnome-terminal/Makefile
+++ b/x11/gnome-terminal/Makefile
@@ -3,12 +3,11 @@
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/x11/gnome-terminal/Makefile,v 1.119 2009/08/15 20:23:58 marcus Exp $
+# $MCom: ports/x11/gnome-terminal/Makefile,v 1.120 2009/08/16 05:34:12 marcus Exp $
#
PORTNAME= gnome-terminal
-PORTVERSION= 2.26.3.1
-PORTREVISION= 4
+PORTVERSION= 2.27.91
CATEGORIES= x11 gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome2
diff --git a/x11/gnome-terminal/distinfo b/x11/gnome-terminal/distinfo
index aa1b4fa09..62626ad92 100644
--- a/x11/gnome-terminal/distinfo
+++ b/x11/gnome-terminal/distinfo
@@ -1,3 +1,3 @@
-MD5 (gnome2/gnome-terminal-2.26.3.1.tar.bz2) = b6c6c0f5f3e061da7e56f3a04385bb7b
-SHA256 (gnome2/gnome-terminal-2.26.3.1.tar.bz2) = 40d97f983363002d6da574b35f3e4d44d4e8db38b776b226626f1e83d6fde1dc
-SIZE (gnome2/gnome-terminal-2.26.3.1.tar.bz2) = 2176049
+MD5 (gnome2/gnome-terminal-2.27.91.tar.bz2) = 42b643e0d1940c473af31e752e17a482
+SHA256 (gnome2/gnome-terminal-2.27.91.tar.bz2) = 06f1e7f8b70c0c207fed0f85b77ee5fcc36244dd67f8d0bc60191289772a3a6a
+SIZE (gnome2/gnome-terminal-2.27.91.tar.bz2) = 2188758
diff --git a/x11/gnome-terminal/files/patch-src_terminal-screen.c b/x11/gnome-terminal/files/patch-src_terminal-screen.c
index e283146a7..52f80dd55 100644
--- a/x11/gnome-terminal/files/patch-src_terminal-screen.c
+++ b/x11/gnome-terminal/files/patch-src_terminal-screen.c
@@ -1,5 +1,5 @@
---- src/terminal-screen.c.orig 2009-04-12 15:40:23.000000000 +0200
-+++ src/terminal-screen.c 2009-05-06 00:30:39.000000000 +0200
+--- src/terminal-screen.c.orig 2009-08-13 14:39:24.000000000 +0200
++++ src/terminal-screen.c 2009-08-20 10:41:58.000000000 +0200
@@ -18,6 +18,15 @@
#include <config.h>
@@ -16,9 +16,9 @@
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
-@@ -1744,10 +1753,22 @@
- char*
- terminal_screen_get_current_dir (TerminalScreen *screen)
+@@ -184,15 +193,28 @@ G_DEFINE_TYPE (TerminalScreen, terminal_
+ static char *
+ cwd_of_pid (int pid)
{
+#ifndef __FreeBSD__
static const char patterns[][18] = {
@@ -36,22 +36,21 @@
+#endif /* HAVE_KINFO_GETFILE */
+#endif /* __FreeBSD_version > 800018 || (__FreeBSD_version < 800000 && __FreeBSD_version >= 700104) */
+#endif /* __FreeBSD__ */
- TerminalScreenPrivate *priv = screen->priv;
- int fgpid;
guint i;
-@@ -1767,6 +1788,7 @@
- if (fgpid == -1)
- return g_strdup (priv->initial_working_directory);
+
+ if (pid == -1)
+ return NULL;
+#ifndef __FreeBSD__
/* Try to get the working directory using various OS-specific mechanisms */
for (i = 0; i < G_N_ELEMENTS (patterns); ++i)
{
-@@ -1804,6 +1826,48 @@
+@@ -230,6 +252,49 @@ cwd_of_pid (int pid)
return working_dir;
}
}
+#else
++ int fgpid;
+#if __FreeBSD_version > 800018 || (__FreeBSD_version < 800000 && __FreeBSD_version >= 700104)
+#ifndef HAVE_KINFO_GETFILE
+ name[0] = CTL_KERN;
@@ -94,5 +93,5 @@
+#endif /* __FreeBSD_version > 800018 || (__FreeBSD_version < 800000 && __FreeBSD_version >= 700104) */
+#endif /* __FreeBSD__ */
- return g_strdup (priv->initial_working_directory);
+ return NULL;
}
diff --git a/x11/gnome-terminal/pkg-plist b/x11/gnome-terminal/pkg-plist
index 83bb026ba..f97216140 100644
--- a/x11/gnome-terminal/pkg-plist
+++ b/x11/gnome-terminal/pkg-plist
@@ -89,6 +89,7 @@ share/locale/bn_IN/LC_MESSAGES/gnome-terminal.mo
share/locale/bs/LC_MESSAGES/gnome-terminal.mo
share/locale/ca/LC_MESSAGES/gnome-terminal.mo
share/locale/cs/LC_MESSAGES/gnome-terminal.mo
+share/locale/cy/LC_MESSAGES/gnome-terminal.mo
share/locale/da/LC_MESSAGES/gnome-terminal.mo
share/locale/de/LC_MESSAGES/gnome-terminal.mo
share/locale/dz/LC_MESSAGES/gnome-terminal.mo