summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreroen <eroen-overlay@occam.eroen.eu>2016-10-12 18:46:02 +0200
committereroen <eroen-overlay@occam.eroen.eu>2016-10-12 18:46:02 +0200
commitde1ba250d1da83043974808ca14c92670c3f0a8f (patch)
treeca4bb30ff1815de526c8a0af55a414329d5157a4
parentsteam.eclass - cleanup (diff)
downloaderoen-de1ba250d1da83043974808ca14c92670c3f0a8f.tar.gz
eroen-de1ba250d1da83043974808ca14c92670c3f0a8f.tar.bz2
eroen-de1ba250d1da83043974808ca14c92670c3f0a8f.zip
termite,vte - bump, fixes build with gcc 6
-rw-r--r--x11-libs/vte/Manifest3
-rw-r--r--x11-libs/vte/files/vte-0.44.2-ng/01-expose-functions-for-pausing.patch64
-rw-r--r--x11-libs/vte/files/vte-0.44.2-ng/02-expose-function-for-setting.patch61
-rw-r--r--x11-libs/vte/files/vte-0.44.2-ng/03-add-function-for-setting-the.patch56
-rw-r--r--x11-libs/vte/files/vte-0.44.2-ng/04-add-functions-to-get-set-block.patch62
-rw-r--r--x11-libs/vte/files/vte-0.44.2-ng/05-expose-function-for-getting.patch43
-rw-r--r--x11-libs/vte/files/vte-0.44.2-ng/series6
-rw-r--r--x11-libs/vte/vte-0.34.9.ebuild70
-rw-r--r--x11-libs/vte/vte-0.36.2.ebuild72
-rw-r--r--x11-libs/vte/vte-0.36.3.ebuild2
-rw-r--r--x11-libs/vte/vte-0.36.4.ebuild2
-rw-r--r--x11-libs/vte/vte-0.40.2.ebuild2
-rw-r--r--x11-libs/vte/vte-0.44.2.ebuild85
-rw-r--r--x11-terms/termite/termite-12.ebuild66
-rw-r--r--x11-terms/termite/termite-9999.ebuild33
15 files changed, 465 insertions, 162 deletions
diff --git a/x11-libs/vte/Manifest b/x11-libs/vte/Manifest
index a7b9b1a..5e65ea0 100644
--- a/x11-libs/vte/Manifest
+++ b/x11-libs/vte/Manifest
@@ -1,7 +1,6 @@
DIST vte-0.34.2.tar.xz 981688 SHA256 f40f9fe0bcc6d65bc44b2fab5469b56a9f0631132c6b90e06053e421711159cf SHA512 4a89f149e9c101ed31b76086de1a05287d9c2a750ee098792fa9508b8712fa065a63e60d50cfb4a060991c2f6f182ddb91d3f21d4c7baf61337f08dc1a960a35 WHIRLPOOL b630b71cc873b933ec7ffd842b2a346092f3086936626ec4dcfadb7eaa8c474f3a9539e3932f16aa7f900f5e9cbdc8e8ceaed6fbac2247aebabd73451748d236
-DIST vte-0.34.9.tar.xz 996756 SHA256 6f38c5edf57d0a5b870c4e5e210731cccfb4899d0856ba7a3dc599f2ba6e23e1 SHA512 57fff7d5916bcd8a8a13e3cf050f85ed78e9154fdf2510a6d6f594f938c6d56f512089c6bc3e06c9123d35d17f2eb3b3814a5407635027ec0116c25f73034688 WHIRLPOOL 2caf90fdbce7baaf6038c0fda674577724ace354e63b8a6977e46b7f2cea8860f1a687cf34d4e10c4b08eeb666f6c62c42c0f5cfb0c55498fcc44cf44c9570d8
-DIST vte-0.36.2.tar.xz 1009160 SHA256 f45eed3aed823068c7563345ea947be0e6ddb3dacd74646e6d7d26a921e04345 SHA512 fafd368b95918024e6324c81f4fa6c35ad15138ad44af2f92164492d9773b127202d11824c9def4a26e17de44336f42e9c8906330dd300795c280ca068381632 WHIRLPOOL 034b6879131d2535e21a8a97e571753e250f98e01ef334d639038a0638fc0a6d214a267267f11822c30919629edaabc6f6a66a366a9b506ae57e2d4674efa724
DIST vte-0.36.3.tar.xz 1013412 SHA256 54e5b07be3c0f7b158302f54ee79d4de1cb002f4259b6642b79b1e0e314a959c SHA512 9e0c4e60c5a271720d7b480c9618069752faec6c310cc2477e67cdb1c3e961f6981d39c9116716739390dc8e4bab9bf06cf6c5d7d2546062e48523f85d731c77 WHIRLPOOL 0c582f50a07b9a55e8e7b16ae371b913348e8f93fc50ff734ea04a481a5e1ca30ebf3c3781dcd20fd340f50b34cd8f516de76ca59093f3952f23b99a5b30ddca
DIST vte-0.36.4.tar.xz 1012848 SHA256 aa549b114c80e18791b57031e5c1714aeb4a104405e3ba78dfd4ac374a71e2a1 SHA512 97bb226abaf2100a21856040039640005809eae647432c03a33eb691c8b0a29c13bd8cf824790c2a6360356c8c5d1b61c48b4a7893c7f0a8d3678b1a0914aa31 WHIRLPOOL d1294540c67e3253b166dc351b68534d9f36b1306449e2a319705cafe0317452e3bbe1768fdc30523f85270c2b949b9d9cf606695989968da4a099355413904c
DIST vte-0.40.2.tar.xz 923852 SHA256 9b68fbc16b27f2d79e6271f2b0708808594ac5acf979d0fccea118608199fd2d SHA512 06d1c9a34e8e82e1bd54810d245d908ebb837538ba19fbaabe683cdf3b96b7cb1630516ddeabf18b0294922b8d98d2b9a2f5028c171fac2ad913974d94555eb2 WHIRLPOOL 2499e01c2b0d38645b61d4c0a1814d7a3196df6d300577380f1e622c06a974a4cd0d9799fff35f1b0680603aa3a0be38730991ace83df90bfb265009873c5858
DIST vte-0.42.4.tar.xz 928048 SHA256 08c88bf5c0aa1dfa3711e2e83b784fb5ea82025661f30b54e93eebd5f4bce113 SHA512 871b47d976ae8faafabd2b9dd092b40b2b452fcfd7f60182db7c12ade0c265a1810e811a9a54b6a2c2061ff05f06743b90057babf300b98f391481bb02265fb5 WHIRLPOOL e3e9fbf5303770244b10259f1a07e41a7c0168debda2e81673f8fa1e19f591a4d2c643f614636e691ecaf22fc00eb8fce79d9d4a8d20c899f5a7e4ac187259db
+DIST vte-0.44.2.tar.xz 974596 SHA256 a1ea594814bb136a3a9a6c7656b46240571f6a198825c1111007fe99194b0949 SHA512 98db3c1528d5f458164e2d30056cd816e5943d9c569551878119e79d4fbca1865e52667393bf298f32fd54710d1b268a5aac125222ecb29ce854522be3776356 WHIRLPOOL 62830dc20a3aa29f4c13b3370d960f5522bb42231b68f426b2b662a40c4c8265f9d8a76c4e598cdfd5c8d8c5f712d3d9828f5f2ed5e24182f9be8697debe2ca6
diff --git a/x11-libs/vte/files/vte-0.44.2-ng/01-expose-functions-for-pausing.patch b/x11-libs/vte/files/vte-0.44.2-ng/01-expose-functions-for-pausing.patch
new file mode 100644
index 0000000..dbb158b
--- /dev/null
+++ b/x11-libs/vte/files/vte-0.44.2-ng/01-expose-functions-for-pausing.patch
@@ -0,0 +1,64 @@
+expose functions for pausing unpausing output
+
+From: Jelle van der Waa <jelle@vdwaa.nl>
+
+
+---
+ src/vte/vteterminal.h | 6 ++++++
+ src/vtegtk.cc | 26 ++++++++++++++++++++++++++
+ 2 files changed, 32 insertions(+)
+
+diff --git a/src/vte/vteterminal.h b/src/vte/vteterminal.h
+index 38ea8c3..453d807 100644
+--- a/src/vte/vteterminal.h
++++ b/src/vte/vteterminal.h
+@@ -167,6 +167,12 @@ void vte_terminal_feed_child_binary(VteTerminal *terminal,
+ const guint8 *data,
+ gsize length) _VTE_GNUC_NONNULL(1);
+
++_VTE_PUBLIC
++void vte_terminal_connect_pty_read(VteTerminal *terminal);
++
++_VTE_PUBLIC
++void vte_terminal_disconnect_pty_read(VteTerminal *terminal);
++
+ /* Copy currently-selected text to the clipboard, or from the clipboard to
+ * the terminal. */
+ _VTE_PUBLIC
+diff --git a/src/vtegtk.cc b/src/vtegtk.cc
+index a2591b4..ef868a5 100644
+--- a/src/vtegtk.cc
++++ b/src/vtegtk.cc
+@@ -2336,6 +2336,32 @@ vte_terminal_feed_child(VteTerminal *terminal,
+ }
+
+ /**
++ * vte_terminal_connect_pty_read:
++ * @terminal: a #VteTerminal
++ *
++ * Unpause output
++ */
++void
++vte_terminal_connect_pty_read(VteTerminal *terminal)
++{
++ g_return_if_fail(VTE_IS_TERMINAL(terminal));
++ IMPL(terminal)->connect_pty_read();
++}
++
++/**
++ * vte_terminal_disconnect_pty_read:
++ * @terminal: a #VteTerminal
++ *
++ * Pause output
++ */
++void
++vte_terminal_disconnect_pty_read(VteTerminal *terminal)
++{
++ g_return_if_fail(VTE_IS_TERMINAL(terminal));
++ IMPL(terminal)->disconnect_pty_read();
++}
++
++/**
+ * vte_terminal_feed_child_binary:
+ * @terminal: a #VteTerminal
+ * @data: data to send to the child
diff --git a/x11-libs/vte/files/vte-0.44.2-ng/02-expose-function-for-setting.patch b/x11-libs/vte/files/vte-0.44.2-ng/02-expose-function-for-setting.patch
new file mode 100644
index 0000000..ea86d2f
--- /dev/null
+++ b/x11-libs/vte/files/vte-0.44.2-ng/02-expose-function-for-setting.patch
@@ -0,0 +1,61 @@
+expose function for setting cursor position
+
+From: Jelle van der Waa <jelle@vdwaa.nl>
+
+
+---
+ src/vte/vteterminal.h | 5 +++++
+ src/vtegtk.cc | 24 ++++++++++++++++++++++++
+ 2 files changed, 29 insertions(+)
+
+diff --git a/src/vte/vteterminal.h b/src/vte/vteterminal.h
+index 453d807..f11beb5 100644
+--- a/src/vte/vteterminal.h
++++ b/src/vte/vteterminal.h
+@@ -339,6 +339,11 @@ _VTE_PUBLIC
+ void vte_terminal_get_cursor_position(VteTerminal *terminal,
+ glong *column,
+ glong *row) _VTE_GNUC_NONNULL(1);
++_VTE_PUBLIC
++void vte_terminal_set_cursor_position(VteTerminal *terminal,
++ glong column,
++ glong row) _VTE_GNUC_NONNULL(1);
++
+
+ /* Add a matching expression, returning the tag the widget assigns to that
+ * expression. */
+diff --git a/src/vtegtk.cc b/src/vtegtk.cc
+index ef868a5..a35da34 100644
+--- a/src/vtegtk.cc
++++ b/src/vtegtk.cc
+@@ -2171,6 +2171,30 @@ vte_terminal_get_cursor_position(VteTerminal *terminal,
+ }
+
+ /**
++ * vte_terminal_set_cursor_position
++ * @terminal: a #VteTerminal
++ * @column: the new cursor column
++ * @row: the new cursor row
++ *
++ * Set the location of the cursor.
++ */
++void
++vte_terminal_set_cursor_position(VteTerminal *terminal,
++ long column, long row)
++{
++ g_return_if_fail(VTE_IS_TERMINAL(terminal));
++
++ auto impl = IMPL(terminal);
++ impl->invalidate_cursor_once(FALSE);
++ impl->m_screen->cursor.col = column;
++ impl->m_screen->cursor.row = row;
++ impl->invalidate_cursor_once(FALSE);
++ impl->check_cursor_blink();
++ impl->queue_cursor_moved();
++
++}
++
++/**
+ * vte_terminal_pty_new_sync:
+ * @terminal: a #VteTerminal
+ * @flags: flags from #VtePtyFlags
diff --git a/x11-libs/vte/files/vte-0.44.2-ng/03-add-function-for-setting-the.patch b/x11-libs/vte/files/vte-0.44.2-ng/03-add-function-for-setting-the.patch
new file mode 100644
index 0000000..7c4794c
--- /dev/null
+++ b/x11-libs/vte/files/vte-0.44.2-ng/03-add-function-for-setting-the.patch
@@ -0,0 +1,56 @@
+add function for setting the text selections
+
+From: Jelle van der Waa <jelle@vdwaa.nl>
+
+
+---
+ src/vte/vteterminal.h | 4 ++++
+ src/vtegtk.cc | 20 ++++++++++++++++++++
+ 2 files changed, 24 insertions(+)
+
+diff --git a/src/vte/vteterminal.h b/src/vte/vteterminal.h
+index f11beb5..822f44f 100644
+--- a/src/vte/vteterminal.h
++++ b/src/vte/vteterminal.h
+@@ -187,6 +187,10 @@ _VTE_PUBLIC
+ void vte_terminal_select_all(VteTerminal *terminal) _VTE_GNUC_NONNULL(1);
+ _VTE_PUBLIC
+ void vte_terminal_unselect_all(VteTerminal *terminal) _VTE_GNUC_NONNULL(1);
++_VTE_PUBLIC
++void vte_terminal_select_text(VteTerminal *terminal, long start_col, long start_row,
++ long end_col, long end_row) _VTE_GNUC_NONNULL(1);
++
+
+ /* By-word selection */
+ _VTE_PUBLIC
+diff --git a/src/vtegtk.cc b/src/vtegtk.cc
+index a35da34..66bfe3b 100644
+--- a/src/vtegtk.cc
++++ b/src/vtegtk.cc
+@@ -2146,6 +2146,26 @@ vte_terminal_unselect_all(VteTerminal *terminal)
+ }
+
+ /**
++ * vte_terminal_select_text:
++ * @terminal: a #VteTerminal
++ * @start_col: the starting column for the selection
++ * @start_row: the starting row for the selection
++ * @end_col: the end column for the selection
++ * @end_row: the end row for the selection
++ *
++ * Sets the current selection region.
++ */
++void
++vte_terminal_select_text(VteTerminal *terminal,
++ long start_col, long start_row,
++ long end_col, long end_row)
++{
++ g_return_if_fail (VTE_IS_TERMINAL (terminal));
++
++ IMPL(terminal)->select_text(start_col, start_row, end_col, end_row);
++}
++
++/**
+ * vte_terminal_get_cursor_position:
+ * @terminal: a #VteTerminal
+ * @column: (out) (allow-none): a location to store the column, or %NULL
diff --git a/x11-libs/vte/files/vte-0.44.2-ng/04-add-functions-to-get-set-block.patch b/x11-libs/vte/files/vte-0.44.2-ng/04-add-functions-to-get-set-block.patch
new file mode 100644
index 0000000..0300d77
--- /dev/null
+++ b/x11-libs/vte/files/vte-0.44.2-ng/04-add-functions-to-get-set-block.patch
@@ -0,0 +1,62 @@
+add functions to get/set block selection mode
+
+From: Jelle van der Waa <jelle@vdwaa.nl>
+
+
+---
+ src/vte/vteterminal.h | 5 +++++
+ src/vtegtk.cc | 25 +++++++++++++++++++++++++
+ 2 files changed, 30 insertions(+)
+
+diff --git a/src/vte/vteterminal.h b/src/vte/vteterminal.h
+index 822f44f..22ee7f7 100644
+--- a/src/vte/vteterminal.h
++++ b/src/vte/vteterminal.h
+@@ -188,6 +188,11 @@ void vte_terminal_select_all(VteTerminal *terminal) _VTE_GNUC_NONNULL(1);
+ _VTE_PUBLIC
+ void vte_terminal_unselect_all(VteTerminal *terminal) _VTE_GNUC_NONNULL(1);
+ _VTE_PUBLIC
++gboolean vte_terminal_get_selection_block_mode(VteTerminal *terminal) _VTE_GNUC_NONNULL(1);
++_VTE_PUBLIC
++void vte_terminal_set_selection_block_mode(VteTerminal *terminal,
++ gboolean block_mode) _VTE_GNUC_NONNULL(1);
++_VTE_PUBLIC
+ void vte_terminal_select_text(VteTerminal *terminal, long start_col, long start_row,
+ long end_col, long end_row) _VTE_GNUC_NONNULL(1);
+
+diff --git a/src/vtegtk.cc b/src/vtegtk.cc
+index 66bfe3b..27734c2 100644
+--- a/src/vtegtk.cc
++++ b/src/vtegtk.cc
+@@ -2144,6 +2144,31 @@ vte_terminal_unselect_all(VteTerminal *terminal)
+
+ IMPL(terminal)->deselect_all();
+ }
++/**
++ * vte_terminal_get_selection_block_mode:
++ * @terminal: a #VteTerminal
++ *
++ * Checks whether or not block selection is enabled.
++ *
++ * Returns: %TRUE if block selection is enabled, %FALSE if not
++ */
++
++gboolean vte_terminal_get_selection_block_mode(VteTerminal *terminal) {
++ g_return_val_if_fail(VTE_IS_TERMINAL(terminal), FALSE);
++ return IMPL(terminal)->m_selection_block_mode;
++}
++/**
++ * vte_terminal_set_selection_block_mode:
++ * @terminal: a #VteTerminal
++ * @block_mode: whether block selection is enabled
++ *
++ * Sets whether or not block selection is enabled.
++ */
++void
++vte_terminal_set_selection_block_mode(VteTerminal *terminal, gboolean block_mode) {
++ g_return_if_fail (VTE_IS_TERMINAL (terminal));
++ IMPL(terminal)->m_selection_block_mode = block_mode;
++}
+
+ /**
+ * vte_terminal_select_text:
diff --git a/x11-libs/vte/files/vte-0.44.2-ng/05-expose-function-for-getting.patch b/x11-libs/vte/files/vte-0.44.2-ng/05-expose-function-for-getting.patch
new file mode 100644
index 0000000..e1eb92a
--- /dev/null
+++ b/x11-libs/vte/files/vte-0.44.2-ng/05-expose-function-for-getting.patch
@@ -0,0 +1,43 @@
+expose function for getting the selected text
+
+From: Jelle van der Waa <jelle@vdwaa.nl>
+
+
+---
+ src/vte/vteterminal.h | 4 +++-
+ src/vtegtk.cc | 7 +++++++
+ 2 files changed, 10 insertions(+), 1 deletion(-)
+
+diff --git a/src/vte/vteterminal.h b/src/vte/vteterminal.h
+index 22ee7f7..95ffac6 100644
+--- a/src/vte/vteterminal.h
++++ b/src/vte/vteterminal.h
+@@ -195,7 +195,9 @@ void vte_terminal_set_selection_block_mode(VteTerminal *terminal,
+ _VTE_PUBLIC
+ void vte_terminal_select_text(VteTerminal *terminal, long start_col, long start_row,
+ long end_col, long end_row) _VTE_GNUC_NONNULL(1);
+-
++_VTE_PUBLIC
++char *
++vte_terminal_get_selection(VteTerminal *terminal) _VTE_GNUC_NONNULL(1);
+
+ /* By-word selection */
+ _VTE_PUBLIC
+diff --git a/src/vtegtk.cc b/src/vtegtk.cc
+index 27734c2..ca3c6fb 100644
+--- a/src/vtegtk.cc
++++ b/src/vtegtk.cc
+@@ -2190,6 +2190,13 @@ vte_terminal_select_text(VteTerminal *terminal,
+ IMPL(terminal)->select_text(start_col, start_row, end_col, end_row);
+ }
+
++char *
++vte_terminal_get_selection(VteTerminal *terminal)
++{
++ g_return_val_if_fail(VTE_IS_TERMINAL(terminal), NULL);
++ return g_strdup (IMPL(terminal)->m_selection_text[VTE_SELECTION_PRIMARY]);
++}
++
+ /**
+ * vte_terminal_get_cursor_position:
+ * @terminal: a #VteTerminal
diff --git a/x11-libs/vte/files/vte-0.44.2-ng/series b/x11-libs/vte/files/vte-0.44.2-ng/series
new file mode 100644
index 0000000..7e86902
--- /dev/null
+++ b/x11-libs/vte/files/vte-0.44.2-ng/series
@@ -0,0 +1,6 @@
+# This series applies on GIT commit 8dbe242198fb3a4ce453866cfb4aa9dae9c3b9c4
+01-expose-functions-for-pausing.patch
+02-expose-function-for-setting.patch
+03-add-function-for-setting-the.patch
+04-add-functions-to-get-set-block.patch
+05-expose-function-for-getting.patch
diff --git a/x11-libs/vte/vte-0.34.9.ebuild b/x11-libs/vte/vte-0.34.9.ebuild
deleted file mode 100644
index 838449a..0000000
--- a/x11-libs/vte/vte-0.34.9.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/vte/vte-0.34.9.ebuild,v 1.1 2013/10/15 19:30:25 pacho Exp $
-
-EAPI="5"
-GCONF_DEBUG="yes"
-
-inherit eutils gnome2
-
-DESCRIPTION="Library providing a virtual terminal emulator widget"
-HOMEPAGE="https://wiki.gnome.org/action/show/Apps/Terminal/VTE"
-
-LICENSE="LGPL-2+"
-SLOT="2.90"
-IUSE="debug glade +introspection termite-patch"
-KEYWORDS="~amd64 ~x86"
-
-PDEPEND="=x11-libs/gnome-pty-helper-${PV}"
-RDEPEND="
- >=dev-libs/glib-2.31.13:2
- >=x11-libs/gtk+-3.1.9:3[introspection?]
- >=x11-libs/pango-1.22.0
-
- sys-libs/ncurses
- x11-libs/libX11
- x11-libs/libXft
-
- glade? ( >=dev-util/glade-3.9:3.10 )
- introspection? ( >=dev-libs/gobject-introspection-0.9.0 )
-"
-DEPEND="${RDEPEND}
- >=dev-util/intltool-0.35
- sys-devel/gettext
- virtual/pkgconfig
-"
-
-src_prepare() {
- if [[ ${CHOST} == *-interix* ]]; then
- G2CONF="${G2CONF} --disable-Bsymbolic"
-
- # interix stropts.h is empty...
- export ac_cv_header_stropts_h=no
- fi
-
- DOCS="AUTHORS ChangeLog HACKING NEWS README"
-
- # https://bugzilla.gnome.org/show_bug.cgi?id=663779
- epatch "${FILESDIR}/${PN}-0.30.1-alt-meta.patch"
-
- use termite-patch && epatch "${FILESDIR}"/${PN}-0.32.2-expose_select_text.patch
-
- gnome2_src_prepare
-}
-
-src_configure() {
- # Python bindings are via gobject-introspection
- # Ex: from gi.repository import Vte
- # Do not disable gnome-pty-helper, bug #401389
- gnome2_src_configure \
- --disable-deprecation \
- --disable-static \
- $(use_enable debug) \
- $(use_enable glade glade-catalogue) \
- $(use_enable introspection)
-}
-
-src_install() {
- gnome2_src_install
- rm -v "${ED}usr/libexec/gnome-pty-helper" || die
-}
diff --git a/x11-libs/vte/vte-0.36.2.ebuild b/x11-libs/vte/vte-0.36.2.ebuild
deleted file mode 100644
index 23a3b62..0000000
--- a/x11-libs/vte/vte-0.36.2.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="5"
-GCONF_DEBUG="yes"
-
-inherit eutils gnome2
-
-DESCRIPTION="Library providing a virtual terminal emulator widget"
-HOMEPAGE="https://wiki.gnome.org/action/show/Apps/Terminal/VTE"
-
-LICENSE="LGPL-2+"
-SLOT="2.90"
-IUSE="debug glade +introspection termite-patch"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~x64-solaris ~x86-solaris"
-
-PDEPEND="=x11-libs/gnome-pty-helper-${PV}"
-RDEPEND="
- >=dev-libs/glib-2.31.13:2
- >=x11-libs/gtk+-3.1.9:3[introspection?]
- >=x11-libs/pango-1.22.0
-
- sys-libs/ncurses
- x11-libs/libX11
- x11-libs/libXft
-
- glade? ( >=dev-util/glade-3.9:3.10 )
- introspection? ( >=dev-libs/gobject-introspection-0.9.0 )
-"
-DEPEND="${RDEPEND}
- >=dev-util/gtk-doc-am-1.13
- >=dev-util/intltool-0.35
- sys-devel/gettext
- virtual/pkgconfig
-"
-
-src_prepare() {
- # https://bugzilla.gnome.org/show_bug.cgi?id=663779
- epatch "${FILESDIR}/${PN}-0.30.1-alt-meta.patch"
-
- use termite-patch && epatch "${FILESDIR}"/${PN}-0.32.2-expose_select_text.patch
-
- gnome2_src_prepare
-}
-
-src_configure() {
- local myconf=""
-
- if [[ ${CHOST} == *-interix* ]]; then
- myconf="${myconf} --disable-Bsymbolic"
-
- # interix stropts.h is empty...
- export ac_cv_header_stropts_h=no
- fi
-
- # Python bindings are via gobject-introspection
- # Ex: from gi.repository import Vte
- # Do not disable gnome-pty-helper, bug #401389
- gnome2_src_configure \
- --disable-deprecation \
- --disable-static \
- $(use_enable debug) \
- $(use_enable glade glade-catalogue) \
- $(use_enable introspection)
-}
-
-src_install() {
- DOCS="AUTHORS ChangeLog HACKING NEWS README"
- gnome2_src_install
- rm -v "${ED}usr/libexec/gnome-pty-helper" || die
-}
diff --git a/x11-libs/vte/vte-0.36.3.ebuild b/x11-libs/vte/vte-0.36.3.ebuild
index bc760b4..db5e36e 100644
--- a/x11-libs/vte/vte-0.36.3.ebuild
+++ b/x11-libs/vte/vte-0.36.3.ebuild
@@ -21,7 +21,7 @@ RDEPEND="
>=x11-libs/gtk+-3.1.9:3[introspection?]
>=x11-libs/pango-1.22.0
- sys-libs/ncurses
+ sys-libs/ncurses:0
x11-libs/libX11
x11-libs/libXft
diff --git a/x11-libs/vte/vte-0.36.4.ebuild b/x11-libs/vte/vte-0.36.4.ebuild
index fd92b0d..b200a14 100644
--- a/x11-libs/vte/vte-0.36.4.ebuild
+++ b/x11-libs/vte/vte-0.36.4.ebuild
@@ -21,7 +21,7 @@ RDEPEND="
>=x11-libs/gtk+-3.1.9:3[introspection?]
>=x11-libs/pango-1.22.0
- sys-libs/ncurses
+ sys-libs/ncurses:0
x11-libs/libX11
x11-libs/libXft
diff --git a/x11-libs/vte/vte-0.40.2.ebuild b/x11-libs/vte/vte-0.40.2.ebuild
index 1521847..5579446 100644
--- a/x11-libs/vte/vte-0.40.2.ebuild
+++ b/x11-libs/vte/vte-0.40.2.ebuild
@@ -22,7 +22,7 @@ RDEPEND="
>=x11-libs/gtk+-3.8:3[introspection?]
>=x11-libs/pango-1.22.0
- sys-libs/ncurses
+ sys-libs/ncurses:0
sys-libs/zlib
x11-libs/libX11
x11-libs/libXft
diff --git a/x11-libs/vte/vte-0.44.2.ebuild b/x11-libs/vte/vte-0.44.2.ebuild
new file mode 100644
index 0000000..ca84d0b
--- /dev/null
+++ b/x11-libs/vte/vte-0.44.2.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+VALA_USE_DEPEND="vapigen"
+
+inherit eutils gnome2 vala
+
+DESCRIPTION="Library providing a virtual terminal emulator widget"
+HOMEPAGE="https://wiki.gnome.org/action/show/Apps/Terminal/VTE"
+
+LICENSE="LGPL-2+"
+SLOT="2.91"
+IUSE="+crypt debug glade +introspection termite-patch vala"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~x64-solaris ~x86-solaris"
+
+RDEPEND="
+ >=dev-libs/glib-2.40:2
+ >=x11-libs/gtk+-3.8:3[introspection?]
+ >=x11-libs/pango-1.22.0
+
+ sys-libs/ncurses:0=
+ sys-libs/zlib
+
+ glade? ( >=dev-util/glade-3.9:3.10 )
+ introspection? ( >=dev-libs/gobject-introspection-0.9.0:= )
+"
+DEPEND="${RDEPEND}
+ >=dev-util/gtk-doc-am-1.13
+ >=dev-util/intltool-0.35
+ sys-devel/gettext
+ virtual/pkgconfig
+
+ crypt? ( >=net-libs/gnutls-3.2.7 )
+ vala? ( $(vala_depend) )
+"
+RDEPEND="${RDEPEND}
+ !x11-libs/vte:2.90[glade]
+"
+
+src_prepare() {
+ eapply \
+ "$FILESDIR"/$P-ng/01-expose-functions-for-pausing.patch \
+ "$FILESDIR"/$P-ng/02-expose-function-for-setting.patch \
+ "$FILESDIR"/$P-ng/03-add-function-for-setting-the.patch \
+ "$FILESDIR"/$P-ng/04-add-functions-to-get-set-block.patch \
+ "$FILESDIR"/$P-ng/05-expose-function-for-getting.patch
+
+ use vala && vala_src_prepare
+
+ # build fails because of -Werror with gcc-5.x
+ sed -e 's#-Werror=format=2#-Wformat=2#' -i configure || die "sed failed"
+
+ gnome2_src_prepare
+}
+
+src_configure() {
+ local myconf=""
+
+ if [[ ${CHOST} == *-interix* ]]; then
+ myconf="${myconf} --disable-Bsymbolic"
+
+ # interix stropts.h is empty...
+ export ac_cv_header_stropts_h=no
+ fi
+
+ # Python bindings are via gobject-introspection
+ # Ex: from gi.repository import Vte
+ # FIXME: add USE for pcre
+ gnome2_src_configure \
+ --disable-test-application \
+ --disable-static \
+ $(use_enable debug) \
+ $(use_enable glade glade-catalogue) \
+ $(use_with crypt gnutls) \
+ $(use_enable introspection) \
+ $(use_enable vala) \
+ ${myconf}
+}
+
+src_install() {
+ gnome2_src_install
+ mv "${D}"/etc/profile.d/vte{,-${SLOT}}.sh || die
+}
diff --git a/x11-terms/termite/termite-12.ebuild b/x11-terms/termite/termite-12.ebuild
new file mode 100644
index 0000000..4df0fd2
--- /dev/null
+++ b/x11-terms/termite/termite-12.ebuild
@@ -0,0 +1,66 @@
+# By eroen, 2013-2016
+# Permission to use, copy, modify, and/or distribute this software for any
+# purpose with or without fee is hereby granted, provided that the above
+# copyright notice and this permission notice appear in all copies.
+
+EAPI=6
+
+inherit eutils toolchain-funcs versionator
+if [[ 9999 == $PV ]]; then
+ inherit git-r3
+else
+ # Submodules :-(
+ #SRC_URI="https://github.com/thestinger/termite/archive/v$PV.tar.gz -> $P.tar.gz"
+ inherit git-r3
+ EGIT_COMMIT=v$PV
+ KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="A keyboard-centric VTE-based terminal"
+HOMEPAGE="https://github.com/thestinger/termite"
+EGIT_REPO_URI="git://github.com/thestinger/termite.git
+ http://github.com/thestinger/termite.git
+ https://github.com/thestinger/termite.git"
+
+LICENSE="LGPL-2+ MIT"
+SLOT="0"
+IUSE=""
+
+LIBDEPEND=">=x11-libs/gtk+-3.0
+ >=x11-libs/vte-0.43.2:2.91[termite-patch(-)]
+ "
+DEPEND="${LIBDEPEND}"
+RDEPEND="${LIBDEPEND}"
+
+pkg_pretend() {
+ if ! version_is_at_least 4.7 $(gcc-version); then
+ eerror "${PN} passes -std=c++11 to \${CXX} and requires a version"
+ eerror "of gcc newer than 4.7.0"
+ fi
+}
+
+pkg_setup() {
+ # Makefile prepends -O3
+ CXXFLAGS="-O0 ${CXXFLAGS}"
+}
+
+src_prepare() {
+ default
+ sed -e "s/^VERSION = .*$/VERSION = v${PV}/" \
+ -i Makefile || die
+}
+
+src_compile() {
+ emake LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX=/usr install
+ dodoc README* config
+}
+
+pkg_postinst() {
+ elog
+ elog "Termite looks for a config file ~/.config/termite/config"
+ elog "An example config can be found in ${EROOT}usr/share/doc/${PF}/"
+}
diff --git a/x11-terms/termite/termite-9999.ebuild b/x11-terms/termite/termite-9999.ebuild
index ec921b0..60c8783 100644
--- a/x11-terms/termite/termite-9999.ebuild
+++ b/x11-terms/termite/termite-9999.ebuild
@@ -1,30 +1,33 @@
-# By eroen, 2013-2015
-# Distributed under the terms of the ISC licence
-# $Header: $
-
-EAPI=5
-
-inherit eutils toolchain-funcs versionator git-r3
+# By eroen, 2013-2016
+# Permission to use, copy, modify, and/or distribute this software for any
+# purpose with or without fee is hereby granted, provided that the above
+# copyright notice and this permission notice appear in all copies.
+
+EAPI=6
+
+inherit eutils toolchain-funcs versionator
+if [[ 9999 == $PV ]]; then
+ inherit git-r3
+else
+ SRC_URI="https://github.com/thestinger/termite/archive/v$PV.tar.gz -> $P.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
DESCRIPTION="A keyboard-centric VTE-based terminal"
HOMEPAGE="https://github.com/thestinger/termite"
-EGIT_REPO_URI="git://github.com/thestinger/termite.git"
-if [[ ${PV} != 999? ]]; then
- EGIT_COMMIT=v${PV}
-fi
+EGIT_REPO_URI="git://github.com/thestinger/termite.git
+ http://github.com/thestinger/termite.git
+ https://github.com/thestinger/termite.git"
LICENSE="LGPL-2+ MIT"
SLOT="0"
-KEYWORDS=""
IUSE=""
-HDEPEND=""
LIBDEPEND=">=x11-libs/gtk+-3.0
>=x11-libs/vte-0.38:2.91[termite-patch(-)]
"
DEPEND="${LIBDEPEND}"
RDEPEND="${LIBDEPEND}"
-[[ ${EAPI} == *-hdepend ]] || DEPEND+=" ${HDEPEND}"
pkg_pretend() {
if ! version_is_at_least 4.7 $(gcc-version); then
@@ -50,5 +53,5 @@ src_install() {
pkg_postinst() {
elog
elog "Termite looks for a config file ~/.config/termite/config"
- elog "An example config can be found in ${ROOT}usr/share/doc/${PF}/"
+ elog "An example config can be found in ${EROOT}usr/share/doc/${PF}/"
}