From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 89671158092 for ; Sun, 19 Sep 2021 03:42:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DB767E093D; Sun, 19 Sep 2021 03:42:51 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A7EEAE093D for ; Sun, 19 Sep 2021 03:42:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9A8013432B8 for ; Sun, 19 Sep 2021 03:42:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E3864CF for ; Sun, 19 Sep 2021 03:42:48 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1632022792.4a83d5e115d0631f70e33e3493d2b147854807b9.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-terms/sakura/, x11-terms/sakura/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-terms/sakura/Manifest x11-terms/sakura/files/sakura-3.8.3-gentoo.patch x11-terms/sakura/files/sakura-3.8.3-opacity.patch x11-terms/sakura/sakura-3.8.3.ebuild X-VCS-Directories: x11-terms/sakura/ x11-terms/sakura/files/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 4a83d5e115d0631f70e33e3493d2b147854807b9 X-VCS-Branch: master Date: Sun, 19 Sep 2021 03:42:48 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 70e769ae-f961-4716-bc3a-741052e468ee X-Archives-Hash: 1b977d0b9df02328bc80050f99224019 commit: 4a83d5e115d0631f70e33e3493d2b147854807b9 Author: Ionen Wolkens gentoo org> AuthorDate: Sun Sep 19 03:04:02 2021 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Sun Sep 19 03:39:52 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a83d5e1 x11-terms/sakura: add 3.8.3 Signed-off-by: Ionen Wolkens gentoo.org> x11-terms/sakura/Manifest | 1 + x11-terms/sakura/files/sakura-3.8.3-gentoo.patch | 15 ++++++++ x11-terms/sakura/files/sakura-3.8.3-opacity.patch | 14 +++++++ x11-terms/sakura/sakura-3.8.3.ebuild | 45 +++++++++++++++++++++++ 4 files changed, 75 insertions(+) diff --git a/x11-terms/sakura/Manifest b/x11-terms/sakura/Manifest index 6c355d7a1cb..15f4a80713e 100644 --- a/x11-terms/sakura/Manifest +++ b/x11-terms/sakura/Manifest @@ -1 +1,2 @@ DIST sakura-3.7.1.tar.bz2 56315 BLAKE2B 3de45b19f76f765bc611cc7514238c942ea2212d64332aab9befbea4b5fe0cdb29a555017276bd6394c1313ba64ce2bfca6e83c6ff19d6aa676409b51589a838 SHA512 69d3b14f455480e4515337b4a28daafc807f41653ed8d6b6f934a908305fcc28745796b0f290b3ec6e97f6572132664017f943e556cca69df7007e17fcd9b9df +DIST sakura-3.8.3.tar.bz2 57773 BLAKE2B 20a7b2823d8e2a494c11b15eac4900b935a7a7c99d5cd67a8470e3441b2e8ff7924dd92c35d188863c9c420dcefbfca8d1dcd9dcff06a77d3cd95f855230c23b SHA512 82e77940b4b4c90948235459a0135e74c5778c3bc1df4e803571b316e6ec6298493468a0c8c2517ca6b1680fcdbba6d0e36c8bad696205e3aa3e5b4f402c2a8e diff --git a/x11-terms/sakura/files/sakura-3.8.3-gentoo.patch b/x11-terms/sakura/files/sakura-3.8.3-gentoo.patch new file mode 100644 index 00000000000..c9f2c5a85f4 --- /dev/null +++ b/x11-terms/sakura/files/sakura-3.8.3-gentoo.patch @@ -0,0 +1,15 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -40,8 +40,2 @@ + +-IF (${CMAKE_BUILD_TYPE} MATCHES "Debug") +- SET (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall") +-ELSE (${CMAKE_BUILD_TYPE} NOT MATCHES "Debug") +- SET (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O2 -Wno-deprecated-declarations") +-ENDIF (${CMAKE_BUILD_TYPE} MATCHES "Debug") +- + INCLUDE_DIRECTORIES (. ${GTK_INCLUDE_DIRS} ${VTE_INCLUDE_DIRS}) +@@ -59,3 +53,2 @@ + ENDIF (POD2MAN) +-INSTALL (FILES README.md DESTINATION share/doc/sakura) + diff --git a/x11-terms/sakura/files/sakura-3.8.3-opacity.patch b/x11-terms/sakura/files/sakura-3.8.3-opacity.patch new file mode 100644 index 00000000000..4bb4ba88f18 --- /dev/null +++ b/x11-terms/sakura/files/sakura-3.8.3-opacity.patch @@ -0,0 +1,14 @@ +Fix regression with opacity not being applied on startup. +https://bugs.launchpad.net/sakura/+bug/1942665 +https://github.com/dabisu/sakura/pull/5 +--- a/src/sakura.c ++++ b/src/sakura.c +@@ -2180,4 +2180,8 @@ + gtk_widget_add_events(sakura.notebook, GDK_SCROLL_MASK); + ++ screen = gtk_widget_get_screen (GTK_WIDGET (sakura.main_window)); ++ GdkVisual *visual = gdk_screen_get_rgba_visual (screen); ++ if (visual != NULL && gdk_screen_is_composited (screen)) ++ gtk_widget_set_visual (GTK_WIDGET (sakura.main_window), visual); + + /*** Command line options initialization ***/ diff --git a/x11-terms/sakura/sakura-3.8.3.ebuild b/x11-terms/sakura/sakura-3.8.3.ebuild new file mode 100644 index 00000000000..bb84f11c518 --- /dev/null +++ b/x11-terms/sakura/sakura-3.8.3.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="GTK/VTE based terminal emulator" +HOMEPAGE="https://www.pleyades.net/david/projects/sakura" +SRC_URI="https://launchpad.net/sakura/trunk/${PV}/+download/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-linux" + +RDEPEND=" + dev-libs/glib:2 + x11-libs/gtk+:3[X] + x11-libs/pango + x11-libs/vte:2.91" +DEPEND=" + ${RDEPEND} + x11-base/xorg-proto + x11-libs/libX11" +BDEPEND=" + sys-devel/gettext + virtual/perl-podlators" + +PATCHES=( + "${FILESDIR}"/${P}-gentoo.patch + "${FILESDIR}"/${P}-opacity.patch +) + +src_prepare() { + cmake_src_prepare + + if [[ -v LINGUAS ]]; then + local lingua + for lingua in po/*.po; do + lingua=${lingua#*/} + lingua=${lingua%.*} + has ${lingua} ${LINGUAS} || rm po/${lingua}.po || die + done + fi +}