aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/vte3/files
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2013-12-08 09:55:41 +0000
committerKoop Mast <kwm@FreeBSD.org>2013-12-08 09:55:41 +0000
commit430957572e0547eb9db51dc3ae266f7da7b1e74f (patch)
treead519bdf5e9b7d1fb5321de8e707e5114b3a0170 /x11-toolkits/vte3/files
parent7db9db9528b455767056ac5c00b7954c2e84eecb (diff)
downloadports-430957572e0547eb9db51dc3ae266f7da7b1e74f.tar.gz
ports-430957572e0547eb9db51dc3ae266f7da7b1e74f.zip
Add vte3, the Gtk 3 version of the vte terminal widget.
Split off gnome-pty-helper from vte to allow both versions of vte to be installed at the same time. Update comment to make it clearer which gtk+ version it is for. Enable introspection bindings in vte. Obtained from: GNOME dev repo.
Notes
Notes: svn path=/head/; revision=335873
Diffstat (limited to 'x11-toolkits/vte3/files')
-rw-r--r--x11-toolkits/vte3/files/extra-patch-gnome-pty-helper_gnome-utmp.c40
-rw-r--r--x11-toolkits/vte3/files/patch-gnome-pty-helper_Makefile.in13
-rw-r--r--x11-toolkits/vte3/files/patch-gnome-pty-helper_config.h.in12
-rw-r--r--x11-toolkits/vte3/files/patch-gnome-pty-helper_configure11
-rw-r--r--x11-toolkits/vte3/files/patch-gnome-pty-helper_gnome-pty-helper.c10
-rw-r--r--x11-toolkits/vte3/files/patch-gnome-pty-helper_gnome-utmp.c11
-rw-r--r--x11-toolkits/vte3/files/patch-src_vteseq.c10
7 files changed, 107 insertions, 0 deletions
diff --git a/x11-toolkits/vte3/files/extra-patch-gnome-pty-helper_gnome-utmp.c b/x11-toolkits/vte3/files/extra-patch-gnome-pty-helper_gnome-utmp.c
new file mode 100644
index 000000000000..bc0877bf5f3a
--- /dev/null
+++ b/x11-toolkits/vte3/files/extra-patch-gnome-pty-helper_gnome-utmp.c
@@ -0,0 +1,40 @@
+--- gnome-pty-helper/gnome-utmp.c.orig Sat Oct 28 23:15:53 2006
++++ gnome-pty-helper/gnome-utmp.c Sat Oct 28 23:15:40 2006
+@@ -258,10 +258,18 @@ write_logout_record (char *login_name, v
+ #endif
+
+ if (utmp)
++#if defined(__FreeBSD__)
++ logout (put.ut_line);
++#else
+ update_utmp (&put);
++#endif
+
+ if (wtmp)
++#if defined(__FreeBSD__)
++ logwtmp (put.ut_line, "", "");
++#else
+ update_wtmp (WTMP_OUTPUT_FILENAME, &put);
++#endif
+
+ free (ut);
+ }
+@@ -347,10 +355,18 @@ write_login_record (char *login_name, ch
+ # endif
+ #endif
+ if (utmp)
++#if defined(__FreeBSD__)
++ login (ut);
++#else
+ update_utmp (ut);
++#endif
+
+ if (wtmp)
++#if defined(__FreeBSD__)
++ logwtmp (ut->ut_line, ut->ut_name, ut->ut_host);
++#else
+ update_wtmp (WTMP_OUTPUT_FILENAME, ut);
++#endif
+
+ if (lastlog)
+ update_lastlog(login_name, ut);
diff --git a/x11-toolkits/vte3/files/patch-gnome-pty-helper_Makefile.in b/x11-toolkits/vte3/files/patch-gnome-pty-helper_Makefile.in
new file mode 100644
index 000000000000..93f9d08dab50
--- /dev/null
+++ b/x11-toolkits/vte3/files/patch-gnome-pty-helper_Makefile.in
@@ -0,0 +1,13 @@
+--- gnome-pty-helper/Makefile.in.orig 2009-05-06 01:20:54.000000000 -0400
++++ gnome-pty-helper/Makefile.in 2009-05-06 01:21:30.000000000 -0400
+@@ -590,8 +590,8 @@ uninstall-am: uninstall-libexecPROGRAMS
+
+
+ install-exec-hook:
+- chown root.utmp $(DESTDIR)$(libexecdir)/gnome-pty-helper || true
+- chmod g+s $(DESTDIR)$(libexecdir)/gnome-pty-helper || true
++ chown root:wheel $(DESTDIR)$(libexecdir)/gnome-pty-helper || true
++ chmod u+s $(DESTDIR)$(libexecdir)/gnome-pty-helper || true
+
+ -include $(top_srcdir)/git.mk
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
diff --git a/x11-toolkits/vte3/files/patch-gnome-pty-helper_config.h.in b/x11-toolkits/vte3/files/patch-gnome-pty-helper_config.h.in
new file mode 100644
index 000000000000..d07c7bce3919
--- /dev/null
+++ b/x11-toolkits/vte3/files/patch-gnome-pty-helper_config.h.in
@@ -0,0 +1,12 @@
+--- gnome-pty-helper/config.h.in.orig 2012-03-24 17:31:26.000000000 -0400
++++ gnome-pty-helper/config.h.in 2012-03-24 17:31:43.000000000 -0400
+@@ -24,6 +24,9 @@
+ /* Define to 1 if you have the `getutmpx' function. */
+ #undef HAVE_GETUTMPX
+
++/* Define to 1 if you have the `getutxid' function. */
++#undef HAVE_GETUTXID
++
+ /* Define to 1 if you have the `grantpt' function. */
+ #undef HAVE_GRANTPT
+
diff --git a/x11-toolkits/vte3/files/patch-gnome-pty-helper_configure b/x11-toolkits/vte3/files/patch-gnome-pty-helper_configure
new file mode 100644
index 000000000000..737b74e59ca5
--- /dev/null
+++ b/x11-toolkits/vte3/files/patch-gnome-pty-helper_configure
@@ -0,0 +1,11 @@
+--- gnome-pty-helper/configure.orig 2012-03-24 17:31:04.000000000 -0400
++++ gnome-pty-helper/configure 2012-03-24 17:31:21.000000000 -0400
+@@ -5699,7 +5699,7 @@ fi
+
+ fi
+
+-for ac_func in endutent fcntl forkpty getttyent getutent getutmpx grantpt flock login_tty openpty revoke sendmsg seteuid setreuid setutent strrchr updwtmp updwtmpx utmpname utmpxname
++for ac_func in endutent fcntl forkpty getttyent getutent getutmpx grantpt flock login_tty openpty revoke sendmsg seteuid setreuid setutent strrchr updwtmp updwtmpx utmpname utmpxname getutxid
+ do :
+ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
diff --git a/x11-toolkits/vte3/files/patch-gnome-pty-helper_gnome-pty-helper.c b/x11-toolkits/vte3/files/patch-gnome-pty-helper_gnome-pty-helper.c
new file mode 100644
index 000000000000..ab80c5364b55
--- /dev/null
+++ b/x11-toolkits/vte3/files/patch-gnome-pty-helper_gnome-pty-helper.c
@@ -0,0 +1,10 @@
+--- gnome-pty-helper/gnome-pty-helper.c
++++ gnome-pty-helper/gnome-pty-helper.c
+@@ -51,7 +51,6 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <stdio.h>
+-#include <utmp.h>
+ #include <grp.h>
+ #include "gnome-pty.h"
+ #include "gnome-login-support.h"
diff --git a/x11-toolkits/vte3/files/patch-gnome-pty-helper_gnome-utmp.c b/x11-toolkits/vte3/files/patch-gnome-pty-helper_gnome-utmp.c
new file mode 100644
index 000000000000..fa2750ccd5ba
--- /dev/null
+++ b/x11-toolkits/vte3/files/patch-gnome-pty-helper_gnome-utmp.c
@@ -0,0 +1,11 @@
+--- gnome-pty-helper/gnome-utmp.c.orig 2012-03-24 17:30:46.000000000 -0400
++++ gnome-pty-helper/gnome-utmp.c 2012-03-24 17:30:25.000000000 -0400
+@@ -152,7 +152,7 @@ update_wtmp (char *file, UTMP *putmp)
+ #endif /* !HAVE_GETUTMPX */
+
+
+-#if defined(HAVE_GETUTMPX)
++#if defined(HAVE_GETUTMPX) || defined(HAVE_GETUTXID)
+ static void
+ update_utmp (UTMP *ut)
+ {
diff --git a/x11-toolkits/vte3/files/patch-src_vteseq.c b/x11-toolkits/vte3/files/patch-src_vteseq.c
new file mode 100644
index 000000000000..e5afb288b0d8
--- /dev/null
+++ b/x11-toolkits/vte3/files/patch-src_vteseq.c
@@ -0,0 +1,10 @@
+--- src/vteseq.c.orig Mon Jun 12 20:27:00 2006
++++ src/vteseq.c Mon Jun 12 20:27:19 2006
+@@ -20,6 +20,7 @@
+ #include "../config.h"
+
+ #ifdef HAVE_SYS_SYSLIMITS_H
++#include <sys/cdefs.h>
+ #include <sys/syslimits.h>
+ #endif
+