diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-07-04 14:05:23 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-07-04 14:05:23 +0100 |
commit | 05b8b0e0af1d72e51a3ee61522941bf7605cd01c (patch) | |
tree | 43b0410e62aba677b4b256bc3ffe3fd333d28dbe /x11-terms/sakura | |
parent | 90c88731bd036e5698b281fbc0a5f3aa4c9983ac (diff) |
gentoo resync : 04.07.2020
Diffstat (limited to 'x11-terms/sakura')
-rw-r--r-- | x11-terms/sakura/Manifest | 10 | ||||
-rw-r--r-- | x11-terms/sakura/files/sakura-3.1.3-flags.patch | 15 | ||||
-rw-r--r-- | x11-terms/sakura/files/sakura-3.6.0-tab-crash.patch | 60 | ||||
-rw-r--r-- | x11-terms/sakura/sakura-3.6.0-r1.ebuild | 67 | ||||
-rw-r--r-- | x11-terms/sakura/sakura-3.7.0.ebuild | 4 | ||||
-rw-r--r-- | x11-terms/sakura/sakura-3.7.1.ebuild (renamed from x11-terms/sakura/sakura-3.5.0.ebuild) | 24 |
6 files changed, 15 insertions, 165 deletions
diff --git a/x11-terms/sakura/Manifest b/x11-terms/sakura/Manifest index 3882a32f78fb..c549c1b42739 100644 --- a/x11-terms/sakura/Manifest +++ b/x11-terms/sakura/Manifest @@ -1,10 +1,6 @@ -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.7.0.ebuild 1316 BLAKE2B 1fa202fc3cc924856a65e85b96678b70cbae83c859b87da493c4227e753e284ce6e71db2e2d73d057e9badfedc00b339af389294f80e4f9e143ff222aacb04be SHA512 bac50cb5fa966cdb70c5c5696199d6600f80733da5bce48205df679fb0880a5592b63018bb7c27cbcd9580ea58027c46c29b1c3763891c151a59af8f590ac4e2 +DIST sakura-3.7.1.tar.bz2 56315 BLAKE2B 3de45b19f76f765bc611cc7514238c942ea2212d64332aab9befbea4b5fe0cdb29a555017276bd6394c1313ba64ce2bfca6e83c6ff19d6aa676409b51589a838 SHA512 69d3b14f455480e4515337b4a28daafc807f41653ed8d6b6f934a908305fcc28745796b0f290b3ec6e97f6572132664017f943e556cca69df7007e17fcd9b9df +EBUILD sakura-3.7.0.ebuild 1314 BLAKE2B e395e374af350c96061af5e6a41e52c269d0ebfb5e1a73daad3a0e8889f303412a5ba5eac9cba1a5b59c446fbf6a7d5b6467dfb1363855ce2277fc9df01e9cd0 SHA512 256f6022dba7e23fb8364f8da47f84c730008850f72d10540c03cc65d4de915e7d108fa9e089b08a42cb0173a38fa5dcfa1b5ecae04244e5d72158b0f08f43d4 +EBUILD sakura-3.7.1.ebuild 1305 BLAKE2B 8e3e6e93716ea3c37935541e1f8eb87fe3bb50d584da2beca9c29c8572be3e274c56eba8e2222b83f300335671e09f47b4b199cfad68fcfc6a0a9fb3e7388dff SHA512 5dd27251c6c74d6cb0596256d4935c54e7b30eb7ab4f2f4ffdbb83022fe6e3b95a621edbf385f5081d98e6b61b7dc95067578f5eb398a036a50786f822efb7ee MISC metadata.xml 928 BLAKE2B 91926b81400896fef6be017fe1d0dacc25bb2331e84b7604223464c2f0862b0935aadf944dcd272a989ae9de5b180f3576725f30fa2a161ba24f27c5ba1884e0 SHA512 95be972f218e92365f8084f3a796199c3f7a182bc42c098761096f2146323afcdb2fc45e6c4ec975f03decdac05b9c01083c768162bf97c88c61dab892419ffb diff --git a/x11-terms/sakura/files/sakura-3.1.3-flags.patch b/x11-terms/sakura/files/sakura-3.1.3-flags.patch deleted file mode 100644 index 28b72dd694a6..000000000000 --- a/x11-terms/sakura/files/sakura-3.1.3-flags.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- 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/files/sakura-3.6.0-tab-crash.patch b/x11-terms/sakura/files/sakura-3.6.0-tab-crash.patch deleted file mode 100644 index 4d1a33e27510..000000000000 --- a/x11-terms/sakura/files/sakura-3.6.0-tab-crash.patch +++ /dev/null @@ -1,60 +0,0 @@ ---- a/src/sakura.c -+++ b/src/sakura.c -@@ -339,6 +339,7 @@ - bool label_set_byuser; - GtkBorder padding; /* inner-property data */ - int colorset; -+ gulong exit_handler_id; - }; - - -@@ -984,31 +985,6 @@ - if (npages==1) { - sakura_config_done(); - } -- -- /* Workaround for libvte strange behaviour. There is not child-exited signal for -- the last terminal, so we need to kill it here. Check with libvte authors about -- child-exited/eof signals */ -- if (gtk_notebook_get_current_page(GTK_NOTEBOOK(sakura.notebook))==0) { -- -- term = sakura_get_page_term(sakura, 0); -- -- if (option_hold==TRUE) { -- SAY("hold option has been activated"); -- return; -- } -- -- //SAY("waiting for terminal pid (in eof) %d", term->pid); -- //waitpid(term->pid, &status, WNOHANG); -- /* TODO: check wait return */ -- /* Child should be automatically reaped because we don't use G_SPAWN_DO_NOT_REAP_CHILD flag */ -- g_spawn_close_pid(term->pid); -- -- sakura_del_tab(0); -- -- npages = gtk_notebook_get_n_pages(GTK_NOTEBOOK(sakura.notebook)); -- if (npages==0) -- sakura_destroy(); -- } - } - - /* This handler is called when window title changes, and is used to change window and notebook pages titles */ -@@ -3167,7 +3143,7 @@ - g_signal_connect(G_OBJECT(term->vte), "bell", G_CALLBACK(sakura_beep), NULL); - g_signal_connect(G_OBJECT(term->vte), "increase-font-size", G_CALLBACK(sakura_increase_font), NULL); - g_signal_connect(G_OBJECT(term->vte), "decrease-font-size", G_CALLBACK(sakura_decrease_font), NULL); -- g_signal_connect(G_OBJECT(term->vte), "child-exited", G_CALLBACK(sakura_child_exited), NULL); -+ term->exit_handler_id = g_signal_connect(G_OBJECT(term->vte), "child-exited", G_CALLBACK(sakura_child_exited), NULL); - g_signal_connect(G_OBJECT(term->vte), "eof", G_CALLBACK(sakura_eof), NULL); - g_signal_connect(G_OBJECT(term->vte), "window-title-changed", G_CALLBACK(sakura_title_changed), NULL); - g_signal_connect_swapped(G_OBJECT(term->vte), "button-press-event", G_CALLBACK(sakura_button_press), sakura.menu); -@@ -3366,6 +3342,7 @@ - } - - gtk_widget_hide(term->hbox); -+ g_signal_handler_disconnect (term->vte, term->exit_handler_id); - gtk_notebook_remove_page(GTK_NOTEBOOK(sakura.notebook), page); - - /* Find the next page, if it exists, and grab focus */ - diff --git a/x11-terms/sakura/sakura-3.6.0-r1.ebuild b/x11-terms/sakura/sakura-3.6.0-r1.ebuild deleted file mode 100644 index 9f68fad99741..000000000000 --- a/x11-terms/sakura/sakura-3.6.0-r1.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# 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 - "${FILESDIR}"/${PN}-3.6.0-tab-crash.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 index 80e1ce96127e..d681c5107f7f 100644 --- a/x11-terms/sakura/sakura-3.7.0.ebuild +++ b/x11-terms/sakura/sakura-3.7.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -10,7 +10,7 @@ SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86 ~x86-linux" +KEYWORDS="amd64 x86 ~x86-linux" RDEPEND=" >=dev-libs/glib-2.20:2 diff --git a/x11-terms/sakura/sakura-3.5.0.ebuild b/x11-terms/sakura/sakura-3.7.1.ebuild index f69297012816..d3b584953364 100644 --- a/x11-terms/sakura/sakura-3.5.0.ebuild +++ b/x11-terms/sakura/sakura-3.7.1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 -inherit cmake-utils eutils flag-o-matic gnome2-utils xdg-utils +EAPI=7 +inherit cmake 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/" @@ -10,31 +10,27 @@ SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 x86 ~x86-linux" +KEYWORDS="~amd64 ~x86 ~x86-linux" RDEPEND=" >=dev-libs/glib-2.20:2 - x11-libs/gtk+:3[X] + >=x11-libs/gtk+-3.20:3[X] x11-libs/libX11 - x11-libs/vte:2.91 + >=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 + "${FILESDIR}"/${PN}-3.7.0-gentoo.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 @@ -45,7 +41,7 @@ src_prepare() { fi done - cmake-utils_src_prepare + cmake_src_prepare # sakura.c:1740:3: warning: implicit declaration of function ‘readlink’ # [-Wimplicit-function-declaration] append-cppflags -D_DEFAULT_SOURCE @@ -56,11 +52,11 @@ src_prepare() { } pkg_postinst() { - gnome2_icon_cache_update xdg_desktop_database_update + xdg_icon_cache_update } pkg_postrm() { - gnome2_icon_cache_update xdg_desktop_database_update + xdg_icon_cache_update } |