summaryrefslogtreecommitdiffstats
path: root/x11/gnome-terminal/files
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-10-28 06:10:10 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-10-28 06:10:10 +0800
commit752a66b40a757b50196fb97fda1143a42e96c295 (patch)
tree49bd85e2fc333a96c40e09b46a8027f64b1a470f /x11/gnome-terminal/files
parent2d81cfc3ccdf086d3ac5c107818ffe2f73f04d9a (diff)
downloadmarcuscom-ports-752a66b40a757b50196fb97fda1143a42e96c295.tar
marcuscom-ports-752a66b40a757b50196fb97fda1143a42e96c295.tar.gz
marcuscom-ports-752a66b40a757b50196fb97fda1143a42e96c295.tar.bz2
marcuscom-ports-752a66b40a757b50196fb97fda1143a42e96c295.tar.lz
marcuscom-ports-752a66b40a757b50196fb97fda1143a42e96c295.tar.xz
marcuscom-ports-752a66b40a757b50196fb97fda1143a42e96c295.tar.zst
marcuscom-ports-752a66b40a757b50196fb97fda1143a42e96c295.zip
Move gnome3 ports into the place of the gnome2 locations.
Update to new port rules, remove conflicts, latest_link, enable stage support. gnome-games was skipped because I got a update for that. gnome-keyring 2 vs 3, needs to be looked at. zenity 2 vs 3, and libgnomekbd 2 vs 3 Use new lib_depend syntax in bsd.gnome.mk. Possible lots of broken links. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@18813 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/gnome-terminal/files')
-rw-r--r--x11/gnome-terminal/files/patch-config.h.in6
-rw-r--r--x11/gnome-terminal/files/patch-configure69
-rw-r--r--x11/gnome-terminal/files/patch-configure.ac16
-rw-r--r--x11/gnome-terminal/files/patch-src-terminal.c11
-rw-r--r--x11/gnome-terminal/files/patch-src_terminal-screen.c8
5 files changed, 36 insertions, 74 deletions
diff --git a/x11/gnome-terminal/files/patch-config.h.in b/x11/gnome-terminal/files/patch-config.h.in
index 1617731fa..a752d5eff 100644
--- a/x11/gnome-terminal/files/patch-config.h.in
+++ b/x11/gnome-terminal/files/patch-config.h.in
@@ -1,6 +1,6 @@
---- config.h.in.orig 2009-05-03 15:26:39.000000000 -0400
-+++ config.h.in 2009-05-03 15:26:55.000000000 -0400
-@@ -24,6 +24,9 @@
+--- config.h.in.orig 2011-01-13 04:05:18.243479000 +0000
++++ config.h.in 2011-01-13 04:05:35.000000000 +0000
+@@ -27,6 +27,9 @@
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
diff --git a/x11/gnome-terminal/files/patch-configure b/x11/gnome-terminal/files/patch-configure
index 45c938236..54434bd97 100644
--- a/x11/gnome-terminal/files/patch-configure
+++ b/x11/gnome-terminal/files/patch-configure
@@ -1,21 +1,17 @@
---- configure.orig 2009-05-03 15:26:45.000000000 -0400
-+++ configure 2009-05-03 15:27:01.000000000 -0400
-@@ -15099,6 +15099,79 @@ GLIB_GENMARSHAL="$($PKG_CONFIG --variabl
- GLIB_MKENUMS="$($PKG_CONFIG --variable=glib_mkenums glib-2.0)"
+--- configure.orig 2011-01-13 04:08:02.000000000 +0000
++++ configure 2011-01-13 04:08:30.000000000 +0000
+@@ -14510,6 +13851,52 @@
+ ;;
+ esac
-
-+{ echo "$as_me:$LINENO: checking for kinfo_getfile in -lutil" >&5
-+echo $ECHO_N "checking for kinfo_getfile in -lutil... $ECHO_C" >&6; }
-+if test "${ac_cv_lib_util_kinfo_getfile+set}" = set; then
-+ echo $ECHO_N "(cached) $ECHO_C" >&6
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for kinfo_getfile in -lutil" >&5
++$as_echo_n "checking for kinfo_getfile in -lutil... " >&6; }
++if ${ac_cv_lib_util_kinfo_getfile+:} false; then :
++ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lutil $LIBS"
-+cat >conftest.$ac_ext <<_ACEOF
-+/* confdefs.h. */
-+_ACEOF
-+cat confdefs.h >>conftest.$ac_ext
-+cat >>conftest.$ac_ext <<_ACEOF
++cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
@@ -33,50 +29,27 @@
+ return 0;
+}
+_ACEOF
-+rm -f conftest.$ac_objext conftest$ac_exeext
-+if { (ac_try="$ac_link"
-+case "(($ac_try" in
-+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-+ *) ac_try_echo=$ac_try;;
-+esac
-+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-+ (eval "$ac_link") 2>conftest.er1
-+ ac_status=$?
-+ grep -v '^ *+' conftest.er1 >conftest.err
-+ rm -f conftest.er1
-+ cat conftest.err >&5
-+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
-+ (exit $ac_status); } && {
-+ test -z "$ac_c_werror_flag" ||
-+ test ! -s conftest.err
-+ } && test -s conftest$ac_exeext &&
-+ $as_test_x conftest$ac_exeext; then
++if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_util_kinfo_getfile=yes
+else
-+ echo "$as_me: failed program was:" >&5
-+sed 's/^/| /' conftest.$ac_ext >&5
-+
-+ ac_cv_lib_util_kinfo_getfile=no
++ ac_cv_lib_util_kinfo_getfile=no
+fi
-+
-+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-+ conftest$ac_exeext conftest.$ac_ext
++rm -f core conftest.err conftest.$ac_objext \
++ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
-+{ echo "$as_me:$LINENO: result: $ac_cv_lib_util_kinfo_getfile" >&5
-+echo "${ECHO_T}$ac_cv_lib_util_kinfo_getfile" >&6; }
-+if test $ac_cv_lib_util_kinfo_getfile = yes; then
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_kinfo_getfile" >&5
++$as_echo "$ac_cv_lib_util_kinfo_getfile" >&6; }
++if test "x$ac_cv_lib_util_kinfo_getfile" = xyes; then :
+ LIBS="${LIBS} -lutil"
+
-+cat >>confdefs.h <<\_ACEOF
-+#define HAVE_KINFO_GETFILE 1
-+_ACEOF
++$as_echo "#define HAVE_KINFO_GETFILE 1" >>confdefs.h
+
+else
+ :
+fi
+
+
- # Extract the first word of "gtk-builder-convert", so it can be a program name with args.
- set dummy gtk-builder-convert; ac_word=$2
- { echo "$as_me:$LINENO: checking for $ac_word" >&5
+ if test "$GTK_BUILDER_CONVERT" = "false"; then
+ as_fn_error $? "gtk-builder-convert not found" "$LINENO" 5
+ fi
diff --git a/x11/gnome-terminal/files/patch-configure.ac b/x11/gnome-terminal/files/patch-configure.ac
index 131e4c85b..5e3a59f60 100644
--- a/x11/gnome-terminal/files/patch-configure.ac
+++ b/x11/gnome-terminal/files/patch-configure.ac
@@ -1,13 +1,13 @@
---- configure.ac.orig 2009-05-03 15:25:26.000000000 -0400
-+++ configure.ac 2009-05-03 15:26:34.000000000 -0400
-@@ -96,6 +96,10 @@ AC_SUBST([GLIB_GENMARSHAL])
- GLIB_MKENUMS="$($PKG_CONFIG --variable=glib_mkenums glib-2.0)"
- AC_SUBST([GLIB_MKENUMS])
+--- configure.ac.orig 2011-01-11 19:41:06.000000000 +0000
++++ configure.ac 2011-01-13 04:07:54.000000000 +0000
+@@ -136,6 +136,10 @@
+ 3.0) AC_PATH_PROGS([GTK_BUILDER_CONVERT],[gtk-builder-convert gtk-builder-convert-3.0],[false]) ;;
+ esac
+AC_CHECK_LIB(util, kinfo_getfile,
-+ [LIBS="${LIBS} -lutil"
-+ AC_DEFINE(HAVE_KINFO_GETFILE, 1, [Define if you have the kinfo_getfile function])], [:])
++ [LIBS="${LIBS} -lutil"
++ AC_DEFINE(HAVE_KINFO_GETFILE, 1, [Define if you have the kinfo_getfile function])], [:])
+
- AC_PATH_PROG([GTK_BUILDER_CONVERT],[gtk-builder-convert],[false])
if test "$GTK_BUILDER_CONVERT" = "false"; then
AC_MSG_ERROR([gtk-builder-convert not found])
+ fi
diff --git a/x11/gnome-terminal/files/patch-src-terminal.c b/x11/gnome-terminal/files/patch-src-terminal.c
deleted file mode 100644
index a434ca7ab..000000000
--- a/x11/gnome-terminal/files/patch-src-terminal.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/terminal.c.orig 2010-11-10 10:47:14.000000000 -0800
-+++ src/terminal.c 2012-03-23 21:10:08.520503912 -0700
-@@ -579,7 +579,7 @@
- data = g_new (OwnData, 1);
- data->factory_name = get_factory_name_for_display (display_name);
- data->options = options;
-- data->exit_code = -1;
-+ data->exit_code = EXIT_SUCCESS;
- data->argv = argv_copy;
- data->argc = argc_copy;
-
diff --git a/x11/gnome-terminal/files/patch-src_terminal-screen.c b/x11/gnome-terminal/files/patch-src_terminal-screen.c
index 69c4aa802..096a53103 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-08-13 14:39:24.000000000 +0200
-+++ src/terminal-screen.c 2009-08-20 10:41:58.000000000 +0200
+--- src/terminal-screen.c.orig 2010-12-03 01:12:50.000000000 +0000
++++ src/terminal-screen.c 2011-01-13 04:06:12.000000000 +0000
@@ -18,6 +18,15 @@
#include <config.h>
@@ -16,7 +16,7 @@
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
-@@ -184,15 +193,28 @@ G_DEFINE_TYPE (TerminalScreen, terminal_
+@@ -179,15 +188,28 @@ G_DEFINE_TYPE (TerminalScreen, terminal_
static char *
cwd_of_pid (int pid)
{
@@ -45,7 +45,7 @@
/* Try to get the working directory using various OS-specific mechanisms */
for (i = 0; i < G_N_ELEMENTS (patterns); ++i)
{
-@@ -230,6 +252,49 @@ cwd_of_pid (int pid)
+@@ -225,6 +247,49 @@ cwd_of_pid (int pid)
return working_dir;
}
}