From 7bc9c63c9da678a7e6fceb095d56c634afd22c56 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 15 Dec 2019 18:09:03 +0000 Subject: gentoo resync : 15.12.2019 --- x11-terms/sakura/Manifest | 4 +- x11-terms/sakura/files/sakura-3.7.0-gentoo.patch | 23 +++++++++ x11-terms/sakura/sakura-3.6.0.ebuild | 66 ------------------------ x11-terms/sakura/sakura-3.7.0.ebuild | 62 ++++++++++++++++++++++ 4 files changed, 88 insertions(+), 67 deletions(-) create mode 100644 x11-terms/sakura/files/sakura-3.7.0-gentoo.patch delete mode 100644 x11-terms/sakura/sakura-3.6.0.ebuild create mode 100644 x11-terms/sakura/sakura-3.7.0.ebuild (limited to 'x11-terms/sakura') diff --git a/x11-terms/sakura/Manifest b/x11-terms/sakura/Manifest index 5cb959e66a41..3882a32f78fb 100644 --- a/x11-terms/sakura/Manifest +++ b/x11-terms/sakura/Manifest @@ -1,8 +1,10 @@ AUX sakura-3.1.3-flags.patch 626 BLAKE2B 5d0d19c134e0dca10d564049e8b988616e5d84d8bf88c8ab6469bdf3e504b9d528a7754cb02d171fd71497eac2363bfd41f1b26551a9e2dc5a39f262ff3e92d6 SHA512 007a2f2ab722bd991cee0da708efba301b3c69bb86eff25a14519008ad485e8e6ed1c8e2ded6fcd88ff7066528ff539eced4d105a84d6774aa952150beddc57f AUX sakura-3.6.0-tab-crash.patch 2274 BLAKE2B 428ada6b712d961bb2db5f7662dbe8275b6bc01d4b259437c372766809dc4277a20004706af812be667f37e5248b7d5ae67d16dcfa768d7424c534b8fdc5914d SHA512 eb15333aa1ab078ca66478fb176424029a3b99974d771b8f9fcf646b4cf0f72e14ee39b0c324d1323e90263dcc1dd54c8840526fffe3e0e961b525cded364108 +AUX sakura-3.7.0-gentoo.patch 866 BLAKE2B a75ff98fc9b13c2d73e1f03930beae00e6260ffdb9b3e91b62386bbd90b2379c88fd00dd45ec1956eac9e08134c428b6c5616b50af7c83a3a1856d9fc46be96b SHA512 a7c9c49218180a5ce59ea4e1e27b662cf1897a15079e642d8c9cc97accfc9cb3cf03926edb91684f87e25e44542fcfbabeeb336dde8a869721f8364111a87532 DIST sakura-3.5.0.tar.bz2 55432 BLAKE2B 9accd09eac359b64637ff5c318e50e32f5bfa27cf7fb5d4a99c91391e14f145020bd19077e20585b78149e5ac5f281abaf1098dbbaf111e54fd5ad5fbb2f4887 SHA512 20c691342c68a2a6f7397da754c83b19c7622e25984ae9fe9fef47492e19cd7589dd9d1bd2ccb82bd9c6ab82f92c97c1b742795434a101a0e169c6f901f40d9e DIST sakura-3.6.0.tar.bz2 56044 BLAKE2B 746de744ad562c4202acf4cb6803917530bde6edb13799630124e64e3e423ee423770cdebd5f8f42b5c2bd56b8863c82eb2015c65b2f168933c87337026c1313 SHA512 4b9d2c15305a2b9a193031194afc0b50deeb32ae52f8b13967801cd57aa71424d7dedf0a9aedf7470aef8b58d8341c85ae37ef67b941b8b97912eb845c5df08f +DIST sakura-3.7.0.tar.gz 64728 BLAKE2B 637d8c9a393fe2823943190ec3c1676d3dd900b574f58fc3f6d61709ac3b70081736f0804c0e7d8ec5a1409cc2651aa1c3bee04a04c5d3df4ac1432fa2a5c41b SHA512 1018ea952d491f68a05ee3b3d8ac70cbfb485687f76224f9a395ff6508e0e75ff58bfd12dcb534c86430da54803a3016619f441d8bd14e496df32f81e00ca72e EBUILD sakura-3.5.0.ebuild 1374 BLAKE2B 8f582200acd5a4ab13b8ee1e2c2eaa95cae00999aa892b9af60def89b3135c3dea157eae1b5b2edc4256457094bea473b5dfb1899020c56076b6763634c5206f SHA512 6189f97dae9654625cd4d8764746d8a96cadb5411b8260a3f1445b03a1e1a4bd23e58729049974f2dc708548b5f371b795be305c30c6b8abba36b871b47ff4f8 EBUILD sakura-3.6.0-r1.ebuild 1422 BLAKE2B ef82bcd3e6c7767dafcfe92bc9605853a44f8672fa570cab3992232fe02918c73e98fc638fb0ae253b196e04a9072720e8ecc03a0b71747f0b803ebfbc4bd1e2 SHA512 3cbc7e38c4485bbe0a661356ebfce3db551b39d21d8c76ad2661b73f761f30237d5b6c8108a8c4f3096e652f5d61d969fe6f6bb578d361344eb2d6dbca5f15a9 -EBUILD sakura-3.6.0.ebuild 1382 BLAKE2B a79d51d96301f740285f99a20db398bcc8249afb6b24dd853841ef8c9b235da24eedc88249f1f64d06911fee869ba4e42af75f6f7f782ccc46d2f8bb0abd24d1 SHA512 82c6c09038a5649c7706d34d1ecc0529ae67454ff867e95b0517b5c213e25929591391fc8f623ab329fc309408182db340a8ff9cb2b9117f671bbe29c46596be +EBUILD sakura-3.7.0.ebuild 1316 BLAKE2B 1fa202fc3cc924856a65e85b96678b70cbae83c859b87da493c4227e753e284ce6e71db2e2d73d057e9badfedc00b339af389294f80e4f9e143ff222aacb04be SHA512 bac50cb5fa966cdb70c5c5696199d6600f80733da5bce48205df679fb0880a5592b63018bb7c27cbcd9580ea58027c46c29b1c3763891c151a59af8f590ac4e2 MISC metadata.xml 928 BLAKE2B 91926b81400896fef6be017fe1d0dacc25bb2331e84b7604223464c2f0862b0935aadf944dcd272a989ae9de5b180f3576725f30fa2a161ba24f27c5ba1884e0 SHA512 95be972f218e92365f8084f3a796199c3f7a182bc42c098761096f2146323afcdb2fc45e6c4ec975f03decdac05b9c01083c768162bf97c88c61dab892419ffb diff --git a/x11-terms/sakura/files/sakura-3.7.0-gentoo.patch b/x11-terms/sakura/files/sakura-3.7.0-gentoo.patch new file mode 100644 index 000000000000..ab1d8bebc93c --- /dev/null +++ b/x11-terms/sakura/files/sakura-3.7.0-gentoo.patch @@ -0,0 +1,23 @@ +--- 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.6.0.ebuild b/x11-terms/sakura/sakura-3.6.0.ebuild deleted file mode 100644 index db76e0ca9c4c..000000000000 --- a/x11-terms/sakura/sakura-3.6.0.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2018 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 ~x86-linux" - -RDEPEND=" - >=dev-libs/glib-2.20:2 - x11-libs/gtk+: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.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 -} diff --git a/x11-terms/sakura/sakura-3.7.0.ebuild b/x11-terms/sakura/sakura-3.7.0.ebuild new file mode 100644 index 000000000000..80e1ce96127e --- /dev/null +++ b/x11-terms/sakura/sakura-3.7.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit cmake-utils eutils flag-o-matic 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.gz" + +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-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() { + xdg_desktop_database_update + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update +} -- cgit v1.2.3