summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2017-05-20 17:11:27 +0300
committerMart Raudsepp <leio@gentoo.org>2017-05-20 17:40:12 +0300
commit67cac69fafcb092d4d0a6283ffbb7f7842cec16b (patch)
treea5f8bff50d781aff773826e43e423d43b1c9ea28 /x11-libs/vte
parentx11-libs/vte: bump to 0.48.3 (diff)
downloadgentoo-67cac69fafcb092d4d0a6283ffbb7f7842cec16b.tar.gz
gentoo-67cac69fafcb092d4d0a6283ffbb7f7842cec16b.tar.bz2
gentoo-67cac69fafcb092d4d0a6283ffbb7f7842cec16b.zip
x11-libs/vte: add OSC 777 desktop notification patch from Fedora
Adds pre-generated gperf patches on top to avoid semi-wrong QA warning. This allows terminals to catch these notifications and do something with this, e.g a patched gnome-terminal will show a notification icon for the tab where a notification action happened, and show a desktop notification when not in foreground. Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'x11-libs/vte')
-rw-r--r--x11-libs/vte/Manifest1
-rw-r--r--x11-libs/vte/vte-0.48.3.ebuild12
2 files changed, 11 insertions, 2 deletions
diff --git a/x11-libs/vte/Manifest b/x11-libs/vte/Manifest
index 40d844afbdaa..fa1df8c0e090 100644
--- a/x11-libs/vte/Manifest
+++ b/x11-libs/vte/Manifest
@@ -3,3 +3,4 @@ DIST vte-0.36.5.tar.xz 1017504 SHA256 c2c2ce9640f08b07667f1037862fe991081495446b
DIST vte-0.44.3.tar.xz 984412 SHA256 e6dd09d9497aa899d06439272a641d19f0024abaa7e177de88a2ef4d3d0ccffe SHA512 7fdb520cda7128ad9b661b78a2e1e14952389a106d23613c62ebf81a10510b2d31d1b02f28c64919543e8ecac889123770e22b5b120f633a5eab5565106fdf05 WHIRLPOOL 62a491a2e93c673ee2d6aa8089a446fbbbede482afc458c23e4fbb876166640c6a5d0f41f8f4d2e17ff73a289bcd535b63ca4f9273161e31c3db590a4886c82e
DIST vte-0.46.1.tar.xz 989164 SHA256 8800cf8bc259704a12ad1853fb0eb43bfe3857af15242e6fb9f2c3fd95b3f5c6 SHA512 04b3f8ce922c4326d92bef605a0dbe195764946cd5f1acf28fd6d69c0cdb2ee661cc7e424436c72380da5d0250790ae658ac49d761b567dea88d92157285889d WHIRLPOOL 7947982c2e9eba1481f302da8bf3433156490537c9e7ab1ef8da8d399b3dccec0911253b8973712be77fa89f7eb9451e09b65ffd6cc2ccc6e2bea9fb9f2997f8
DIST vte-0.48.3.tar.xz 1009364 SHA256 a3a9fb182740b392a45cd3f46fa61a985f68bb6b1817b52daec22034c46158c3 SHA512 3037b61a759cfcf56838bc7804df5a211da416bff9ddc5791f8a8d5157b90926985cfe57d7edbab42de64945d5e668470fe4129a218fb9c7af546648e1660c72 WHIRLPOOL f288b988de9fa1a1ff36f6c9c5031dc7660de311657ce0a83070df6ce0cc2a9ad4e1333a9696a1febb0f91799dc31ca692c3d7ac78699b986ac1ceeb8c215292
+DIST vte-2.91-command-notify.patch.xz 6012 SHA256 b99ea46c410030f0d0ffe85a9034f27ba9c1a93bc80b4ac6a51657685f49d9a1 SHA512 e6a8955f99c98183c60df770b5c6826c5a456aaac3c83a8d0fa5037d2dd250450c8287dff335e22ca32332645d13d298cecc5d2c884c7c9da65d09dfd2a79054 WHIRLPOOL fcebe53b0b631a0d4670b91385ede0c5f2e14f7bbf006385e812160f03a118ac6783229c5f1a41f8ca0e0d3a4262b385f2c872b5a8e7b6b44bd8d04aa571be02
diff --git a/x11-libs/vte/vte-0.48.3.ebuild b/x11-libs/vte/vte-0.48.3.ebuild
index f8701553efff..91dfc16937b5 100644
--- a/x11-libs/vte/vte-0.48.3.ebuild
+++ b/x11-libs/vte/vte-0.48.3.ebuild
@@ -5,17 +5,19 @@ EAPI="6"
VALA_USE_DEPEND="vapigen"
VALA_MIN_API_VERSION="0.32"
-inherit eutils gnome2 vala
+inherit 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 vala"
+IUSE="+crypt debug glade +introspection vala vanilla"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-solaris ~x86-solaris"
REQUIRED_USE="vala? ( introspection )"
+SRC_URI="${SRC_URI} !vanilla? ( https://dev.gentoo.org/~leio/distfiles/${PN}-${SLOT}-command-notify.patch.xz )"
+
RDEPEND="
>=dev-libs/glib-2.40:2
>=dev-libs/libpcre2-10.21
@@ -44,6 +46,12 @@ RDEPEND="${RDEPEND}
"
src_prepare() {
+ if ! use vanilla; then
+ # First half of http://pkgs.fedoraproject.org/cgit/rpms/vte291.git/tree/vte291-command-notify-scroll-speed.patch
+ # Adds OSC 777 support for desktop notifications in gnome-terminal or elsewhere
+ eapply "${WORKDIR}/${PN}-${SLOT}-command-notify.patch"
+ fi
+
use vala && vala_src_prepare
# build fails because of -Werror with gcc-5.x