diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-text/searchmonkey |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-text/searchmonkey')
-rw-r--r-- | app-text/searchmonkey/Manifest | 11 | ||||
-rw-r--r-- | app-text/searchmonkey/files/searchmonkey-2.0.0-gcc4.7.patch | 40 | ||||
-rw-r--r-- | app-text/searchmonkey/files/searchmonkey-2.0.0-gcc6.patch | 14 | ||||
-rw-r--r-- | app-text/searchmonkey/files/searchmonkey-2.0.0.desktop | 8 | ||||
-rw-r--r-- | app-text/searchmonkey/metadata.xml | 8 | ||||
-rw-r--r-- | app-text/searchmonkey/searchmonkey-0.8.1.ebuild | 25 | ||||
-rw-r--r-- | app-text/searchmonkey/searchmonkey-2.0.0-r1.ebuild | 44 | ||||
-rw-r--r-- | app-text/searchmonkey/searchmonkey-2.0.0.ebuild | 40 |
8 files changed, 190 insertions, 0 deletions
diff --git a/app-text/searchmonkey/Manifest b/app-text/searchmonkey/Manifest new file mode 100644 index 000000000000..36e24cd465cd --- /dev/null +++ b/app-text/searchmonkey/Manifest @@ -0,0 +1,11 @@ +AUX searchmonkey-2.0.0-gcc4.7.patch 1342 SHA256 8ac09a7985a7085fbea5b4c117e7ae62d375fee06f2457080dbfc924a4cc4900 SHA512 0a303099c99ae6e7b66ab6934bd5fad6301901d294642fc68dc1eaee0bd35d87e04870243e178acaedee2cac84ab90219854621bb778d491134a0995fb9d8501 WHIRLPOOL 09ed731129123635724f54d92b2de787193aff44a1ab25286b011abb2e5fed67ea7cb70326ab3f43f2e79af777162c2902c6674c4b004d3806596b198c91d762 +AUX searchmonkey-2.0.0-gcc6.patch 572 SHA256 3b67dc2c140d99ed3d0340505b1fe1ef15302d447de68ec6d106b6f0394f33d5 SHA512 9f55a6c28a09ab108acaa921546be194027480f756fd2c66dcb730cf8795a7510a545d47066fea9d62a765f928719a5c40d11d723f316e3d2822433a00c82089 WHIRLPOOL 0cd4ddef282c187aa6ffd16a5dd22b9dfb0fa1f84d0429de43ebfffea7c8d91b680f8826b3977584b1efe918ffb9d17d99eb56c6c83bab4c4762902e96e81837 +AUX searchmonkey-2.0.0.desktop 181 SHA256 e97a27492a75ea09b7f14caeecb3c75217a06c91fb8fc93248ef294ffdd9925f SHA512 4c70055169de7c442e960061f82714a72f03ce10f85471004d05d2813b0f2b4d7d1413d1a49e10e60049bdeded63a21614ff11ea3f9ca5f10f10ba9cf682222c WHIRLPOOL 12642da291aee8b5e6c62095f399924f45ce58094a4d024db387359f3949c418b9815985b554b58db64a95c238c23ff39e5622a80ee8cbb6a1f05ad72db55ecf +DIST searchmonkey-0.8.1.tar.gz 364824 SHA256 5b20484deeb0b4134fa3848d9db631637ec62ed9eac337863b118f617558caca SHA512 9a07031fe629ef3b910c252b179f0ba33e83750b25a632631bbd50531632f8d77b0943cef87ba0f854afb590274e45c9eaf45d3cb51dc55b2faffe1a45fe0d87 WHIRLPOOL 0a749b232931f95612c94975c16dd8ff40123c6dfc5a092f6c5e1ffb152361e3e86154cd2584aa09d6a8f39f86639edb0e9cf39a7ab16068eeea76eb3c013e2a +DIST searchmonkey_v2.0.0.zip 491726 SHA256 116ebe50c8daff6fa3366ca19087ac1c7d6a40e0c39b9e3c0f4cb6ed66ee87b1 SHA512 bde6560c58ed2b0295fdbdf778e947926c08ab9e70ab4fde4e4fc170353a7301d5c598669975654dede88faeb367627f05ee144a7ab18443db43b2f4f7396ba3 WHIRLPOOL 5d14090321cab861df4b4e2c5bd11aebc38d9b884115b809ae97c7a559a7e5742e0a8ef273336e834169f0456ac05b159d1716a721d329d8a4569046d4180e33 +EBUILD searchmonkey-0.8.1.ebuild 596 SHA256 4566db6af4e50c76db787869f211281f0e02407b391a5b5859e24abb8b7bc49b SHA512 a786f6a20842e53f1cf5559239332c05bbf6dbc1e09787561b84c7b6d1e2e00a252f64362828af87525b78fc58a552ec9557138003f3d6593052c8fdc8da0bfa WHIRLPOOL adfc0c91e7567b8935753b1ad6db24226bc8e05675f8d896b58592da973ccaa4ef88a9d62ae1a6f2816050298a6b4e599a55e2ba080fc99d6fa92d15fc251eb9 +EBUILD searchmonkey-2.0.0-r1.ebuild 830 SHA256 a1c126e22b7a74dcba7e830991770066a3330f8c307c6686f4f2a7feba2a3589 SHA512 b8f9336a2e80ab7fb82300e2b8b1c7fc53cf8c8968bbd8b3aa06e134e1eb6ab0f4bded4c59036d9408b7c26fd4798c7f5e7fec2ac93b0c0717b1c5e579c32b94 WHIRLPOOL 80f81f42f34968cca480249a06d078d5c4cb8c6a10b5e0348c0f4f9fec8ada4782dc9a50184bb5d06b4ab46b789449dc0928fa95ae4ebcc47b587afe0d2bcca2 +EBUILD searchmonkey-2.0.0.ebuild 788 SHA256 effb7f91b3de3c3c94bc880ce35a5660fe876f8559cb9bed2a913415961e0c23 SHA512 1b7da549c0daca9fe0011bf29a06541cb9a96e825ada079fc975943a2a698d18bbc70783738ccc982e56e59e850058f1ac11e63facb52ca02e1783eadbf5b7e7 WHIRLPOOL 853aa0f154eef8fcecc1f6b0c8a48d58b307fad7174d3c9f8f1faba3de1e37079872d426ecc252f5439c25fc1c2b98300b25fefa63011536d04a95af28cb88a4 +MISC ChangeLog 2937 SHA256 4cf6e16506a756405632c255651b29d555ea6a66e2a6c5ca5697866c9ebe9a5f SHA512 f34d4c222977daad63da4696c957c2c6abeb5138f51581b7d764de6906d418ca15d0eb8b05fac31007af43d243132e59e4bcb036cd9972c33854bea168053883 WHIRLPOOL e30455cc35ec9d4e6d057febda79fb80f4a0bf4f1818b96a2df4d39767a060d823076030b1f296e66c65e5c5af12e019132720ec3c3a5c892a144708f1f9490c +MISC ChangeLog-2015 2172 SHA256 aefc736f8e917e89fc43fed66fb43597c81ddd134ec3604f61ca7cb5eca3aee6 SHA512 0a7e71221954f7b1a9f8c9d6423ffa30482e988e05ad25119d333b7e3fc360f16fa43ffd196ed30c213f741dfec7d097c11b2a1989870f92f5cbf09fe7d3e606 WHIRLPOOL e87e5b9a904823fd088209734f9aafa9c323ae077545ad415152daf0efb5e86c7d421b20f2b70ee1abbfcf45efe59614c5e4e203209cfd475c4a377d7d85e5a6 +MISC metadata.xml 249 SHA256 7c53f4f106146fa7455b5c302ca42e59fd1067dbae65b97a9f6bbecf23d38ba0 SHA512 0dcb7f72ef6733582eca7f8af4e2e7b2852c3f9a97035940d003b6edca4830cf59b469bc919ffd89e1c64270c0a73b51c9eb7e0c70c190c81ccf3fa994ad7bb2 WHIRLPOOL 30929e6c792c9c0bdfb9e150c61f6b856ef3e31b83f35e7a653273d5bb616b27a1a9a45cdbb45ec97467d41b615858df478fb70fce7cb9080b4934d3e6e0aa01 diff --git a/app-text/searchmonkey/files/searchmonkey-2.0.0-gcc4.7.patch b/app-text/searchmonkey/files/searchmonkey-2.0.0-gcc4.7.patch new file mode 100644 index 000000000000..f9d1718dd7b4 --- /dev/null +++ b/app-text/searchmonkey/files/searchmonkey-2.0.0-gcc4.7.patch @@ -0,0 +1,40 @@ + Utility.h | 20 ++++++++++---------- + 1 files changed, 10 insertions(+), 10 deletions(-) + +diff --git a/Utility.h b/Utility.h +index 890eada..99f9a4e 100644 +--- a/Utility.h ++++ b/Utility.h +@@ -92,16 +92,6 @@ QRegExp::PatternSyntax uint2syntax(uint _index); + CallEach(observers, searchable, &Subject::Register);
+ here the Subject is the type of Caller
+ */
+-template <typename CalleeContainer, typename Caller, typename Op>
+-void CallEach(const CalleeContainer& container, Caller& caller, Op op)
+-{
+- for_each(container.begin(), container.end(), bind1st(mem_fun(op), caller));
+-}
+-template <typename T>
+-bool IsValueInRange(T value, T lowerBound, T upperBound)
+-{
+- return LowerBoundFit(value, lowerBound) && UpperBoundFit(value, upperBound);
+-}
+ template <typename T>
+ bool BoundSpecified(T boundValue)
+ {
+@@ -129,5 +119,15 @@ bool UpperBoundFit(T value, T upperBound) +
+ return false;
+ }
++template <typename CalleeContainer, typename Caller, typename Op>
++void CallEach(const CalleeContainer& container, Caller& caller, Op op)
++{
++ for_each(container.begin(), container.end(), bind1st(mem_fun(op), caller));
++}
++template <typename T>
++bool IsValueInRange(T value, T lowerBound, T upperBound)
++{
++ return LowerBoundFit(value, lowerBound) && UpperBoundFit(value, upperBound);
++}
+
+ #endif
diff --git a/app-text/searchmonkey/files/searchmonkey-2.0.0-gcc6.patch b/app-text/searchmonkey/files/searchmonkey-2.0.0-gcc6.patch new file mode 100644 index 000000000000..ede01afa39e7 --- /dev/null +++ b/app-text/searchmonkey/files/searchmonkey-2.0.0-gcc6.patch @@ -0,0 +1,14 @@ +Bug: https://bugs.gentoo.org/602166
+
+diff -Naur a/mainwindow.cpp b/mainwindow.cpp +--- a/mainwindow.cpp 2017-07-31 18:06:33.206668001 -0400 ++++ b/mainwindow.cpp 2017-07-31 18:07:09.685940997 -0400 +@@ -781,7 +781,7 @@ + ******************************************************************************/
+ void MainWindow::find () throw() {
+
+- auto autoSettingsReset asr(sui); // dtor calls sui->reset()
++ autoSettingsReset asr(sui); // dtor calls sui->reset()
+
+ bool modeAdvanced = ui->actionAdvanced->isChecked();
+ qDebug() << "modeAdvanced-" << modeAdvanced;
diff --git a/app-text/searchmonkey/files/searchmonkey-2.0.0.desktop b/app-text/searchmonkey/files/searchmonkey-2.0.0.desktop new file mode 100644 index 000000000000..cdd082e75141 --- /dev/null +++ b/app-text/searchmonkey/files/searchmonkey-2.0.0.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Version=1.0 +Name=Searchmonkey 2 +Exec=searchmonkey2 +Icon=/usr/share/pixmaps/searchmonkey-300x300.png +Terminal=false +Categories=FileTools;Utility;Qt; diff --git a/app-text/searchmonkey/metadata.xml b/app-text/searchmonkey/metadata.xml new file mode 100644 index 000000000000..811e07d2e1d3 --- /dev/null +++ b/app-text/searchmonkey/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> + <upstream> + <remote-id type="sourceforge">searchmonkey</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-text/searchmonkey/searchmonkey-0.8.1.ebuild b/app-text/searchmonkey/searchmonkey-0.8.1.ebuild new file mode 100644 index 000000000000..e418a50adba1 --- /dev/null +++ b/app-text/searchmonkey/searchmonkey-0.8.1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="2" + +inherit eutils + +DESCRIPTION="Powerful text searches using regular expressions" +HOMEPAGE="http://searchmonkey.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 x86" +IUSE="" + +RDEPEND=">=x11-libs/gtk+-2.6:2" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + dodoc AUTHORS ChangeLog INSTALL NEWS README + make_desktop_entry ${PN} ${PN} ${PN} "Utility;GTK" +} diff --git a/app-text/searchmonkey/searchmonkey-2.0.0-r1.ebuild b/app-text/searchmonkey/searchmonkey-2.0.0-r1.ebuild new file mode 100644 index 000000000000..34061ebf5259 --- /dev/null +++ b/app-text/searchmonkey/searchmonkey-2.0.0-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils qmake-utils + +MY_PN=${PN}2 +MY_P=${PN}_v${PV} + +DESCRIPTION="Powerful text searches using regular expressions" +HOMEPAGE="http://searchmonkey.sourceforge.net/" +# Switch to ^s when we switch to EAPI=6. +SRC_URI="mirror://sourceforge/project/${PN}/S${MY_PN:1}/${PV}%20%5Bstable%5D/${MY_P}.zip" + +LICENSE="GPL-3" +SLOT="2" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + dev-qt/qtcore:4 + dev-qt/qtgui:4" +DEPEND="${RDEPEND} + app-arch/unzip" + +S="${WORKDIR}"/${MY_P} + +PATCHES=( + "${FILESDIR}"/${P}-gcc4.7.patch + "${FILESDIR}"/${P}-gcc6.patch +) + +src_compile() { + eqmake4 +} + +src_install() { + newbin ${PN} ${MY_PN} + + # Hand-made desktop icon + doicon pixmaps/searchmonkey-300x300.png + domenu "${FILESDIR}"/${P}.desktop +} diff --git a/app-text/searchmonkey/searchmonkey-2.0.0.ebuild b/app-text/searchmonkey/searchmonkey-2.0.0.ebuild new file mode 100644 index 000000000000..c69ce6729127 --- /dev/null +++ b/app-text/searchmonkey/searchmonkey-2.0.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit qt4-r2 + +MY_PN=${PN}2 +MY_P=${PN}_v${PV} + +DESCRIPTION="Powerful text searches using regular expressions" +HOMEPAGE="http://searchmonkey.sourceforge.net/" +# Switch to ^s when we switch to EAPI=6. +SRC_URI="mirror://sourceforge/project/${PN}/S${MY_PN:1}/${PV}%20%5Bstable%5D/${MY_P}.zip" + +LICENSE="GPL-3" +SLOT="2" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=" + dev-qt/qtcore:4 + dev-qt/qtgui:4" +DEPEND="${RDEPEND} + app-arch/unzip" + +S="${WORKDIR}"/${MY_P} + +PATCHES=( + "${FILESDIR}"/${P}-gcc4.7.patch + "${FILESDIR}"/${P}-gcc6.patch +) + +src_install() { + newbin ${PN} ${MY_PN} + + # Hand-made desktop icon + doicon pixmaps/searchmonkey-300x300.png + domenu "${FILESDIR}"/${P}.desktop +} |