* [gentoo-commits] repo/gentoo:master commit in: x11-terms/sakura/files/, x11-terms/sakura/
@ 2021-12-16 19:11 Ionen Wolkens
0 siblings, 0 replies; 2+ messages in thread
From: Ionen Wolkens @ 2021-12-16 19:11 UTC (permalink / raw
To: gentoo-commits
commit: b88ac496fe500b148207808694e163deba42dfb8
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 16 16:48:57 2021 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Thu Dec 16 19:08:56 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b88ac496
x11-terms/sakura: drop 3.7.1
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
x11-terms/sakura/Manifest | 1 -
x11-terms/sakura/files/sakura-3.7.0-gentoo.patch | 23 ---------
x11-terms/sakura/sakura-3.7.1.ebuild | 63 ------------------------
3 files changed, 87 deletions(-)
diff --git a/x11-terms/sakura/Manifest b/x11-terms/sakura/Manifest
index 15f4a80713eb..d2151e1548bb 100644
--- a/x11-terms/sakura/Manifest
+++ b/x11-terms/sakura/Manifest
@@ -1,2 +1 @@
-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.7.0-gentoo.patch b/x11-terms/sakura/files/sakura-3.7.0-gentoo.patch
deleted file mode 100644
index ab1d8bebc93c..000000000000
--- a/x11-terms/sakura/files/sakura-3.7.0-gentoo.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -38,12 +38,6 @@
- ADD_DEFINITIONS (-DDATADIR="${CMAKE_INSTALL_PREFIX}/share")
- ADD_DEFINITIONS (-DBUILDTYPE="${CMAKE_BUILD_TYPE}")
-
--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})
- LINK_DIRECTORIES (${GTK_LIBRARY_DIRS} ${VTE_LIBRARY_DIRS} ${X11_LIBRARY_DIRS})
- LINK_LIBRARIES (${GTK_LIBRARIES} ${VTE_LIBRARIES} ${X11_LIBRARIES} m)
-@@ -57,7 +51,6 @@
- IF (POD2MAN)
- INSTALL (FILES ${sakura_BINARY_DIR}/sakura.1 DESTINATION share/man/man1)
- ENDIF (POD2MAN)
--INSTALL (FILES INSTALL DESTINATION share/doc/sakura)
-
- FILE (GLOB MO_FILES po/*.mo)
-
diff --git a/x11-terms/sakura/sakura-3.7.1.ebuild b/x11-terms/sakura/sakura-3.7.1.ebuild
deleted file mode 100644
index 25cba9388867..000000000000
--- a/x11-terms/sakura/sakura-3.7.1.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake flag-o-matic strip-linguas xdg-utils
-
-DESCRIPTION="sakura is a terminal emulator based on GTK and VTE"
-HOMEPAGE="https://www.pleyades.net/david/projects/sakura"
-SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86 ~x86-linux"
-
-RDEPEND="
- >=dev-libs/glib-2.20:2
- >=x11-libs/gtk+-3.20:3[X]
- x11-libs/libX11
- >=x11-libs/vte-0.50:2.91
-"
-DEPEND="
- ${RDEPEND}
- >=dev-lang/perl-5.10.1
- virtual/pkgconfig
-"
-PATCHES=(
- "${FILESDIR}"/${PN}-3.7.0-gentoo.patch
-)
-DOCS=(
- AUTHORS
-)
-
-src_prepare() {
- strip-linguas -i po/
- local lingua
- for lingua in po/*.po; do
- lingua="${lingua/po\/}"
- lingua="${lingua/.po}"
- if ! has ${lingua} ${LINGUAS}; then
- rm po/${lingua}.po || die
- fi
- done
-
- cmake_src_prepare
- # sakura.c:1740:3: warning: implicit declaration of function ‘readlink’
- # [-Wimplicit-function-declaration]
- append-cppflags -D_DEFAULT_SOURCE
-
- # sakura.c:1348:9: error: ‘for’ loop initial declarations are only allowed
- # in C99 or C11 mode
- append-cflags -std=c99
-}
-
-pkg_postinst() {
- xdg_desktop_database_update
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_desktop_database_update
- xdg_icon_cache_update
-}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: x11-terms/sakura/files/, x11-terms/sakura/
@ 2022-01-17 4:10 Ionen Wolkens
0 siblings, 0 replies; 2+ messages in thread
From: Ionen Wolkens @ 2022-01-17 4:10 UTC (permalink / raw
To: gentoo-commits
commit: a9c941b2da26d5ec3e790e84efbac19e28604f25
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 17 04:01:17 2022 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Mon Jan 17 04:08:17 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9c941b2
x11-terms/sakura: add 3.8.4
No source changes given this .4 was only released to add the
already used opacity.patch fix, but it did get some white
spaces changes that needed a rebased gentoo.patch.
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
x11-terms/sakura/Manifest | 1 +
x11-terms/sakura/files/sakura-3.8.4-gentoo.patch | 18 ++++++++++
x11-terms/sakura/sakura-3.8.4.ebuild | 44 ++++++++++++++++++++++++
3 files changed, 63 insertions(+)
diff --git a/x11-terms/sakura/Manifest b/x11-terms/sakura/Manifest
index d2151e1548bb..7e6ee2bc09f4 100644
--- a/x11-terms/sakura/Manifest
+++ b/x11-terms/sakura/Manifest
@@ -1 +1,2 @@
DIST sakura-3.8.3.tar.bz2 57773 BLAKE2B 20a7b2823d8e2a494c11b15eac4900b935a7a7c99d5cd67a8470e3441b2e8ff7924dd92c35d188863c9c420dcefbfca8d1dcd9dcff06a77d3cd95f855230c23b SHA512 82e77940b4b4c90948235459a0135e74c5778c3bc1df4e803571b316e6ec6298493468a0c8c2517ca6b1680fcdbba6d0e36c8bad696205e3aa3e5b4f402c2a8e
+DIST sakura-3.8.4.tar.bz2 70492 BLAKE2B 4f53a86813de49d1f76c0a209a825b19601a22b4078744a0e4dfe21afd000e524a3705e8125b275b3615b35e5e7f38934270baa73d190e06dabf4284d4dab536 SHA512 9450f523555a40c66375304cb4134686dddd1b15233a70e488d1220fbdacd46b8e93cb679bbd1c235cc8d08f08551743b4780130d282d94d258247436a84ed61
diff --git a/x11-terms/sakura/files/sakura-3.8.4-gentoo.patch b/x11-terms/sakura/files/sakura-3.8.4-gentoo.patch
new file mode 100644
index 000000000000..8289d3ed9ea0
--- /dev/null
+++ b/x11-terms/sakura/files/sakura-3.8.4-gentoo.patch
@@ -0,0 +1,18 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -39,9 +39,4 @@
+ ADD_DEFINITIONS (-DBUILDTYPE="${CMAKE_BUILD_TYPE}")
+
+-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})
+@@ -58,5 +53,4 @@
+ INSTALL (FILES ${sakura_BINARY_DIR}/sakura.1 DESTINATION share/man/man1)
+ ENDIF (POD2MAN)
+-INSTALL (FILES README.md DESTINATION share/doc/sakura)
+
+ FILE (GLOB MO_FILES po/*.mo)
diff --git a/x11-terms/sakura/sakura-3.8.4.ebuild b/x11-terms/sakura/sakura-3.8.4.ebuild
new file mode 100644
index 000000000000..e5eb80e686b0
--- /dev/null
+++ b/x11-terms/sakura/sakura-3.8.4.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2022 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
+)
+
+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
+}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-01-17 4:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-16 19:11 [gentoo-commits] repo/gentoo:master commit in: x11-terms/sakura/files/, x11-terms/sakura/ Ionen Wolkens
-- strict thread matches above, loose matches on Subject: below --
2022-01-17 4:10 Ionen Wolkens
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox