summaryrefslogtreecommitdiff
path: root/x11-terms/sakura
diff options
context:
space:
mode:
Diffstat (limited to 'x11-terms/sakura')
-rw-r--r--x11-terms/sakura/Manifest10
-rw-r--r--x11-terms/sakura/files/sakura-3.1.3-flags.patch15
-rw-r--r--x11-terms/sakura/metadata.xml20
-rw-r--r--x11-terms/sakura/sakura-3.3.4.ebuild44
-rw-r--r--x11-terms/sakura/sakura-3.4.0.ebuild56
-rw-r--r--x11-terms/sakura/sakura-3.5.0.ebuild66
6 files changed, 211 insertions, 0 deletions
diff --git a/x11-terms/sakura/Manifest b/x11-terms/sakura/Manifest
new file mode 100644
index 000000000000..b776b25c07b5
--- /dev/null
+++ b/x11-terms/sakura/Manifest
@@ -0,0 +1,10 @@
+AUX sakura-3.1.3-flags.patch 626 SHA256 072f4d0329f9667d235ef656c2d934dbd851ad9a8554652a94925d1bb11b13d7 SHA512 007a2f2ab722bd991cee0da708efba301b3c69bb86eff25a14519008ad485e8e6ed1c8e2ded6fcd88ff7066528ff539eced4d105a84d6774aa952150beddc57f WHIRLPOOL 674d9d9b915ee1880807d7aae90d05907c69d7130cd880c45a56c35d9dd0efd8582a8f6526e19e72242532b90a7973ad365f62035a968eebb87860974d1f9cd9
+DIST sakura-3.3.4.tar.bz2 52839 SHA256 27277214964851fa23ecc290f0eae391af3d11279ec42769d84a7be1feccd3ba SHA512 a84849e2fa7b45da513ff05a1e1636eb8d331b7c632f18605d6aa01463e44d877c057f2f628bfdc27e9f6ff29b0441ba248885d92341ed3a9b5eb281d02e34d7 WHIRLPOOL 22e10b9098db39151b32b6cfaec4cbffb1991e65212a3d1acc768e250aca3fb3f5ff17c86b09df66706e7a38cec868f5c66a9048cd71e754f03bae5efeffe110
+DIST sakura-3.4.0.tar.bz2 54907 SHA256 04487511049d596856d700d524c3354610c7caae8bb87ba3c16851356d3f40ee SHA512 5d8f62638bd826a294b240960f2bd696583f8cad4799ab5862796b6210320f94ee11e64847c36ca6765f9281fb8fabb7a699db6fcf1de41c5e7f82bb281e9512 WHIRLPOOL 4ebcd55b0deac473df39125397ce99ae3cfa68ba991e28eb447fbee0a8758a000400a748d142addf18ea60b3677ff4118dbd5a10ffa6adcefcabf16c141c86c3
+DIST sakura-3.5.0.tar.bz2 55432 SHA256 eb30ede41083fda2b07c6a3b7393150f48867e81d28ef70b15824740cab00c3a SHA512 20c691342c68a2a6f7397da754c83b19c7622e25984ae9fe9fef47492e19cd7589dd9d1bd2ccb82bd9c6ab82f92c97c1b742795434a101a0e169c6f901f40d9e WHIRLPOOL 7c0bff58bbe2725f64e38bcde594f1637d9e60c6a207d3ae44c005f34dea2417f6ace724f014ecd4f996f878166fadd4e4c336c980286b6e0a951134923ebd9d
+EBUILD sakura-3.3.4.ebuild 906 SHA256 0a5e25d7748cad167f94df9cd4371fc7a1903b27b7fb391e1df9a0e6e3169c54 SHA512 5461559e63d9eaf5ae4d3bd9da90228fb96cc1dea8a588f9297ed071222de6d799e6712671c41f15420b1b5851448bbbe22dd39457d77c236d8bea8a3964f2d1 WHIRLPOOL 08af7defc6d57d7184d6eb0b43d7071a07830dd3dea49e3b2f42d4bb49e61869680dd9b389cf6789dcf9c8ce4cf7ed1e746a24fdf5cbf89f2e95c438976dc3ec
+EBUILD sakura-3.4.0.ebuild 1216 SHA256 cf0776a648807df87c2eac88c4d029209a22a55efd4d91ebcda4455b4a948bdf SHA512 0bcedeb6b85b5499bcbc1ea73508af9ad12cdcb87f6807076368873f2880f6b945e8300327c7aa25d9808ce753438a269267dd6c1d81c40f8d4ac797dad6d5f2 WHIRLPOOL b1fc0ffafcc219a759194a637af82220ca7e1827ff31f9daec68718cd085b6b176d3285de88f7eebf91c20eec8b7382ca53c935832c7d245f2fab78f616f8acf
+EBUILD sakura-3.5.0.ebuild 1387 SHA256 e208366cdf363f6fa1324a51975ffc476d682d7404c61d26c840bf90c84f7e9d SHA512 c9842e1c0e4103071573cb8541609ab9ee9646e8847ae38decc980cdff44e7823d897ab4e63ee17e0dcf2d5b48014997c65902e8d67befe1806e03a083b85209 WHIRLPOOL f35cf1de89c2b37ad33a57160fe98950f65bbfc2ccce3b552ca71c7426f96879f486bc06b773812253a1cec0af7b1a64e67085720273d9a949ca9272d43cb034
+MISC ChangeLog 3715 SHA256 bacfb4fcedd79a39f4a393de94d01c5e12f3187b0216edb4fbf65c7b3ec122e6 SHA512 799273d3361d82e615554075a2c333c3372fd142ba4bf85c023ba837397d2b9ef4a1c60030a398eb4eaac264ab2cbd4c26289653fa22c87c2448df375a9f1b1a WHIRLPOOL 7a920beca99442a1da1391eedc644a2a56f19bc6db80f04b3724693ae3b322736cbb5a73fd48c70653a72bfad40d62ffff89e5b9e3bd849ac2fe7d0b072e3492
+MISC ChangeLog-2015 7488 SHA256 5a1c3023d2989df352031b715d474a1ef009046147b3aa0ab68d54a4ab4a1ce6 SHA512 f44f4617961a0f9d68d9e6435507f1ca734cb7ce93e96ba69c6859ecdc24c50a12ceb90682689e12547e0b46823886ad868193172caf082d5f03e02d534d0337 WHIRLPOOL 68356c08b1638055008844e574961c057c708f9aadc4e6ff6dce90a7475097c53d5b04a17b9a724791bfacabcdb8ee39971621077127d2364ed11b1271113f04
+MISC metadata.xml 928 SHA256 92d866e6e9eaaf4036133c69b4e50c6d8ec9809f25541ed9fee82e2dee45b23e SHA512 95be972f218e92365f8084f3a796199c3f7a182bc42c098761096f2146323afcdb2fc45e6c4ec975f03decdac05b9c01083c768162bf97c88c61dab892419ffb WHIRLPOOL 7969fc2db6a8db526ae0617c255ee468d33444ff053c13731091d7f40a7ed24611072420f8cbcd1f46e3a3d470206b409f483cf5cee800b38e56de3a213150c1
diff --git a/x11-terms/sakura/files/sakura-3.1.3-flags.patch b/x11-terms/sakura/files/sakura-3.1.3-flags.patch
new file mode 100644
index 000000000000..28b72dd694a6
--- /dev/null
+++ b/x11-terms/sakura/files/sakura-3.1.3-flags.patch
@@ -0,0 +1,15 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -35,12 +35,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})
+ LINK_LIBRARIES (${GTK_LIBRARIES} ${VTE_LIBRARIES} m)
diff --git a/x11-terms/sakura/metadata.xml b/x11-terms/sakura/metadata.xml
new file mode 100644
index 000000000000..9825940be72b
--- /dev/null
+++ b/x11-terms/sakura/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <longdescription>
+ sakura is a terminal emulator based on GTK and VTE. It's a terminal emulator
+ with few dependencies, so you don't need a full GNOME desktop installed to
+ have a decent terminal emulator. Current terminal emulators based on VTE are
+ gnome-terminal, XFCE Terminal, TermIt and a small sample program included
+ in the vte sources. Sakura differences from the last one is that it uses a
+ notebook to provide several terminals in one window and adds a contextual
+ menu with some basic options. No more no less.
+ </longdescription>
+ <upstream>
+ <remote-id type="launchpad">sakura</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-terms/sakura/sakura-3.3.4.ebuild b/x11-terms/sakura/sakura-3.3.4.ebuild
new file mode 100644
index 000000000000..f55472bc7960
--- /dev/null
+++ b/x11-terms/sakura/sakura-3.3.4.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit cmake-utils eutils
+
+DESCRIPTION="sakura is a terminal emulator based on GTK and VTE"
+HOMEPAGE="http://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 ~arm-linux ~x86-linux"
+
+RDEPEND="
+ >=dev-libs/glib-2.20:2
+ x11-libs/gtk+:3[X]
+ x11-libs/vte:2.91
+"
+DEPEND="
+ ${RDEPEND}
+ >=dev-lang/perl-5.10.1
+ virtual/pkgconfig
+"
+
+PATCHES=( "${FILESDIR}"/${PN}-3.1.3-flags.patch )
+
+DOCS=( AUTHORS )
+
+src_prepare() {
+ sed -i "/FILES INSTALL/d" CMakeLists.txt || die
+
+ 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-utils_src_prepare
+}
diff --git a/x11-terms/sakura/sakura-3.4.0.ebuild b/x11-terms/sakura/sakura-3.4.0.ebuild
new file mode 100644
index 000000000000..315f2a8ec16e
--- /dev/null
+++ b/x11-terms/sakura/sakura-3.4.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit cmake-utils eutils flag-o-matic
+
+DESCRIPTION="sakura is a terminal emulator based on GTK and VTE"
+HOMEPAGE="http://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 ~arm-linux ~x86-linux"
+
+RDEPEND="
+ >=dev-libs/glib-2.20:2
+ x11-libs/gtk+:3[X]
+ x11-libs/libX11
+ x11-libs/vte:2.91
+"
+DEPEND="
+ ${RDEPEND}
+ >=dev-lang/perl-5.10.1
+ virtual/pkgconfig
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-3.1.3-flags.patch
+)
+
+DOCS=(
+ AUTHORS
+)
+
+src_prepare() {
+ sed -i "/FILES INSTALL/d" CMakeLists.txt || die
+
+ 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-utils_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
+}
diff --git a/x11-terms/sakura/sakura-3.5.0.ebuild b/x11-terms/sakura/sakura-3.5.0.ebuild
new file mode 100644
index 000000000000..ea31dcb86d1b
--- /dev/null
+++ b/x11-terms/sakura/sakura-3.5.0.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit cmake-utils eutils flag-o-matic gnome2-utils xdg-utils
+
+DESCRIPTION="sakura is a terminal emulator based on GTK and VTE"
+HOMEPAGE="http://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 ~arm-linux ~x86-linux"
+
+RDEPEND="
+ >=dev-libs/glib-2.20:2
+ x11-libs/gtk+:3[X]
+ x11-libs/libX11
+ x11-libs/vte:2.91
+"
+DEPEND="
+ ${RDEPEND}
+ >=dev-lang/perl-5.10.1
+ virtual/pkgconfig
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-3.1.3-flags.patch
+)
+
+DOCS=(
+ AUTHORS
+)
+
+src_prepare() {
+ sed -i "/FILES INSTALL/d" CMakeLists.txt || die
+
+ 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-utils_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() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}