summaryrefslogtreecommitdiff
path: root/app-i18n/poedit
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-i18n/poedit
reinit the tree, so we can have metadata
Diffstat (limited to 'app-i18n/poedit')
-rw-r--r--app-i18n/poedit/Manifest10
-rw-r--r--app-i18n/poedit/files/poedit-1.5.5-wx28.patch22
-rw-r--r--app-i18n/poedit/metadata.xml12
-rw-r--r--app-i18n/poedit/poedit-1.5.5.ebuild46
-rw-r--r--app-i18n/poedit/poedit-1.8.5.ebuild72
-rw-r--r--app-i18n/poedit/poedit-1.8.7.ebuild67
6 files changed, 229 insertions, 0 deletions
diff --git a/app-i18n/poedit/Manifest b/app-i18n/poedit/Manifest
new file mode 100644
index 000000000000..14cbd16b7225
--- /dev/null
+++ b/app-i18n/poedit/Manifest
@@ -0,0 +1,10 @@
+AUX poedit-1.5.5-wx28.patch 610 SHA256 84f3b5b9c60fb4504619ed79d3a6685a4aff3a07d160249926d7a8f1ccab921b SHA512 70193e75980938cf42658ea8bee5979d57a204dd92909e2a0cdb803659e8becccd4c1919eb2fb85467cd6aa2e4ac913c074eb834c9b318bc265239aaffbcf551 WHIRLPOOL c09fe986a8a94ce72ecf2a1e73cf1e0f6a1f44c8b31ba3bc044ec2c409dcb2ebe90b5efde24ea96ff90dd10e2566554ddcfc9ae5fe469cf8dfdba9f9dcbb44d2
+DIST poedit-1.5.5.tar.gz 2594758 SHA256 3c94c9825c11a2d1ce10e083ad246e8625469f358da4a5a2f6210170b970f949 SHA512 a3524e27681dbf97babef7bf3ec56d6b7cd736370f8ed86b53c717a5a2eb36245f9ed89fcd28b57bd4d6f5ff5fb98d6c1615baae0bf10be720dcfdafa57ad4f4 WHIRLPOOL 893795acc85183cede0313b9220179cafa17a92033e8472e48454475f4ecdf51a014dc7123e9396a38a98217c43666919e7a1dadf68ab2f401b920071cec3d23
+DIST poedit-1.8.5.tar.gz 2404829 SHA256 cf541b8cbaf5d019cb2bd8f97c848e9f2d59dcf771d2281fc08f1122a923d96d SHA512 87eae2bcedc07eefb097edf263db10b3947956cfa504eddb259e3c3cfed6215ad0da4517fe5132b61041c39a7fbabd298ca42582570295bacbbd62d5ffc6f6a7 WHIRLPOOL 316e0593e2e5fa82c893f9b55ab0b8b2816a65f33e64f0b25985704c05c8d5d319cea4199c3c9685c57a0fbd96ace26f091214aab66a02dfc858759be8d7d99d
+DIST poedit-1.8.7.tar.gz 2483945 SHA256 562d9fdf44869db63ad5c219a79aeecda859490d57e43e00140b0e8114006a46 SHA512 609022e696915cddb130c561c7eaa7dff76ce0458f58d9b8de34f0e8b98839cdccaf4a593e0e4eded67252cece08c61f961191f64cf4d76fa148f403d9705e68 WHIRLPOOL 8d1b7eafa8605323d8e4048e07eb631cac65eb2f98bdbe61687cb18c79120ac12187c6be60f112695b624857f0483c9fb6ec5e581691cb07cd14dcd30728d09e
+EBUILD poedit-1.5.5.ebuild 913 SHA256 5c03171630f50e39d5657d183c4a8945afdd21738ddaa75f2c8d06f40739742e SHA512 d00ea3c8ad267c9641c747f54ce74788c08b132d4c3395b5789c56613cf2e5d6594f72075f49d75b4ae3b2fed1f9432d6dd8da41e10b516bb039f542bc5a7989 WHIRLPOOL f3a7fb33eedfc36807e23d003ee06e3d9689ae883649fe49908af8225f83610b0b707281218f46850f39038ab0f5d626a42eb980f93cc1d5745c1c9962ddd68f
+EBUILD poedit-1.8.5.ebuild 1732 SHA256 9267ff41f1e5aebb7e69189ab9db6f6da4a0ae1cd6389694519863256ecd8efb SHA512 32873dfe6efb3e2c4faee91bf93031ef47ff4d7d5539388329dc4aaaab989b4cf6fc3d7703e8ead57db4d0b33410c3dba21a7bfce0fb6950473e1fa64cd19622 WHIRLPOOL 8fd2c28b2e25f75152ead81a3e7c6ce03a9ffb87c52279f594010d705c0b965c587c4a6fa125f200b65c1001736a4db3db21018295c3c006d33e6f7403cc07c8
+EBUILD poedit-1.8.7.ebuild 1595 SHA256 0452a973906ade2edee0b25dc5d7eb198df799fd64fc3778cfc1abd686ea8333 SHA512 29e404d07a6f9103ae40ca4a745cd92bd32cd28829623b99d84f0a6b8436f333d2f0a0ecdaf78c620dfc274910b61df9d26337156902e1894cee0f5a59b41fd3 WHIRLPOOL 4a3e0364038e7bd0513590280bde9c3aaff1d2ff47bbd769ae38ab14b3498eb430feddaa2fe1a0c7484aee73ab0181d2067ec3f4c95d8f228419b19f0e1fff23
+MISC ChangeLog 3774 SHA256 7ebab8c3a378f35038254c020e756c37c728250a76541ff2ae5459e67b3f4423 SHA512 16ebc34942e4d3d778468e7080ef98d42be89f24fd95e2672cb2c66c66732405ed5bf9b7a026706eae95fb2e4e6dfc4a5f51d82383fb7316f92cbbe15b59edb5 WHIRLPOOL 6d6fa8b322988fca9b98dd1e083c3654c0e42ef6816257a0c2242d0d31771c74de4371fadc7973ba80a246df795bccbb051a932e7b496d778d2b0fb2e12837eb
+MISC ChangeLog-2015 13714 SHA256 a88259af65685274bdb0e5462ee9bed36e128311324841174da97a1180c9bc5e SHA512 f4d11da7389eaa712a13e59b59b8f10bd4410750b74c9a7dcc72bf355cc5044f026d5e292bcd64e0b2a25a04f1fc0481e2ea0ed2c32a28307249b3b12389c019 WHIRLPOOL 820ff832f1d59869fba7273e63835e16f178d2c76bb211f3b1c6da9b1d9688e1818319230543ace15d9112168e894e9b79092c6810372c3a6820a4f0235268a2
+MISC metadata.xml 391 SHA256 a482b82c6191d7eeee6625a739ffdf4a08c34c7894d1f9eab49acf6c215e6df4 SHA512 703b2a9a442d99d59f033561093bc9027cd52c0a98eb1e0cc253c3fcfbcf1987fac8c244061edfe87ea84dde192fe098ed02c6b1cdc3bb6754f42a72ac2ddd3f WHIRLPOOL 3636003924f9e7af6c7a335a31591038edcbe6213f5f3b26645efffb597d9c9811d095e1a81a9b894396976874b5246fb5e7d2aea9923e883b96bac949e7f992
diff --git a/app-i18n/poedit/files/poedit-1.5.5-wx28.patch b/app-i18n/poedit/files/poedit-1.5.5-wx28.patch
new file mode 100644
index 000000000000..f10c731c597a
--- /dev/null
+++ b/app-i18n/poedit/files/poedit-1.5.5-wx28.patch
@@ -0,0 +1,22 @@
+catalog.cpp:1155:20: error: 'class wxCharBuffer' has no member named 'length'
+
+http://www.poedit.net/trac/ticket/513
+
+
+--- a/src/catalog.cpp
++++ b/src/catalog.cpp
+@@ -1151,8 +1151,13 @@ inline bool CanEncodeStringToCharset(const wxString& s, wxMBConv& conv)
+ {
+ if (s.empty())
+ return true;
+- wxCharBuffer converted(s.mb_str(conv));
++ const wxCharBuffer converted(s.mb_str(conv));
++#if wxCHECK_VERSION(2,9,0)
+ if ( converted.length() == 0 )
++#else
++ const char *cs = (const char*)converted;
++ if ( cs == NULL || strlen(cs) == 0 )
++#endif
+ return false;
+ return true;
+ }
diff --git a/app-i18n/poedit/metadata.xml b/app-i18n/poedit/metadata.xml
new file mode 100644
index 000000000000..ce23bed0e6f5
--- /dev/null
+++ b/app-i18n/poedit/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>wxwidgets@gentoo.org</email>
+ <name>Gentoo wxWidgets Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">vslavik/poedit</remote-id>
+ <remote-id type="sourceforge">poedit</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-i18n/poedit/poedit-1.5.5.ebuild b/app-i18n/poedit/poedit-1.5.5.ebuild
new file mode 100644
index 000000000000..f47d006f3565
--- /dev/null
+++ b/app-i18n/poedit/poedit-1.5.5.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+WX_GTK_VER=2.8
+
+inherit eutils fdo-mime flag-o-matic wxwidgets
+
+DESCRIPTION="Cross-platform gettext catalogs (.po files) editor"
+HOMEPAGE="http://poedit.sourceforge.net/"
+SRC_URI="mirror://sourceforge/poedit/${P}.tar.gz"
+
+LICENSE="MIT CC-BY-2.5 CC-BY-SA-2.5"
+SLOT="0"
+KEYWORDS="amd64 hppa ppc sparc x86"
+IUSE="spell"
+
+RDEPEND="dev-libs/boost
+ >=sys-libs/db-4.7
+ x11-libs/wxGTK:2.8[X]
+ spell? ( app-text/gtkspell:2 )"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-wx28.patch
+}
+
+src_configure() {
+ append-flags -fno-strict-aliasing
+ econf $(use_enable spell spellchecking)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc AUTHORS NEWS README TODO
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+}
diff --git a/app-i18n/poedit/poedit-1.8.5.ebuild b/app-i18n/poedit/poedit-1.8.5.ebuild
new file mode 100644
index 000000000000..f704a88dabab
--- /dev/null
+++ b/app-i18n/poedit/poedit-1.8.5.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+WX_GTK_VER=3.0
+
+PLOCALES="af am an ar ast az be@latin be bg bn br bs ca ca@valencia ckb co cs da de el en_GB eo es et eu fa fi fr fur fy_NL ga gl he hi hr hu hy id is it ja kab ka kk ko ku ky lt lv mk mn mr ms nb ne nl nn oc pa pl pt_BR pt_PT ro ru sk sl sq sr sv ta tg th tr tt ug uk ur uz vi wa zh_CN zh_TW"
+
+inherit eutils fdo-mime flag-o-matic gnome2-utils l10n wxwidgets
+
+DESCRIPTION="GUI editor for gettext translations files"
+HOMEPAGE="https://poedit.net"
+SRC_URI="https://github.com/vslavik/${PN}/releases/download/v${PV}-oss/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 hppa ~ppc ppc64 x86"
+IUSE=""
+
+# db/expat req for legacytm (backwards support for pre 1.6)
+# we currently have 1.5.5 in stable so this is enabled
+RDEPEND="
+ app-text/gtkspell:2
+ dev-cpp/lucene++
+ dev-libs/boost:=[nls]
+ dev-libs/expat
+ dev-libs/icu:=
+ || (
+ =sys-libs/db-5*[cxx]
+ =sys-libs/db-4*[cxx]
+ )
+ <sys-libs/db-6:=[cxx]
+ x11-libs/gtk+:2
+ x11-libs/wxGTK:${WX_GTK_VER}[X]
+ "
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ my_rm_loc() {
+ sed -i -e "/^POEDIT_LINGUAS = /s: ${1}::" locales/Makefile.in || die
+ rm "locales/${1}.mo" || die
+ }
+ l10n_find_plocales_changes 'locales' '' '.mo'
+ l10n_for_each_disabled_locale_do my_rm_loc
+
+ append-flags -Wno-deprecated-declarations
+}
+
+src_configure() {
+ econf --without-cpprest --without-cld2
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc AUTHORS NEWS README
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+}
diff --git a/app-i18n/poedit/poedit-1.8.7.ebuild b/app-i18n/poedit/poedit-1.8.7.ebuild
new file mode 100644
index 000000000000..825517a6b8fa
--- /dev/null
+++ b/app-i18n/poedit/poedit-1.8.7.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+WX_GTK_VER=3.0-gtk3
+
+PLOCALES="af am an ar ast az be be@latin bg bn br bs ca ca@valencia ckb co cs da de el en_GB eo es et eu fa fi fr fur fy_NL ga gl he hi hr hu hy id is it ja ka kab kk ko ky lt lv mk mn mr ms nb ne nl nn oc pa pl pt_BR pt_PT ro ru sk sl sq sr sv ta tg th tr tt ug uk ur uz vi wa zh_CN zh_TW"
+
+inherit fdo-mime l10n wxwidgets
+
+DESCRIPTION="GUI editor for gettext translations files"
+HOMEPAGE="https://poedit.net"
+SRC_URI="https://github.com/vslavik/${PN}/releases/download/v${PV}-oss/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
+IUSE=""
+
+# db/expat req for legacytm (backwards support for pre 1.6)
+# we currently have 1.5.5 in stable so this is enabled
+RDEPEND="
+ app-text/gtkspell:3
+ dev-cpp/lucene++
+ dev-libs/boost:=[nls]
+ dev-libs/expat
+ dev-libs/icu:=
+ || (
+ =sys-libs/db-5*[cxx]
+ =sys-libs/db-4*[cxx]
+ )
+ <sys-libs/db-6:=[cxx]
+ x11-libs/gtk+:3
+ x11-libs/wxGTK:${WX_GTK_VER}[X]
+ "
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ my_rm_loc() {
+ sed -i -e "/^POEDIT_LINGUAS = /s: ${1}::" locales/Makefile.in || die
+ rm "locales/${1}.mo" || die
+ }
+ l10n_find_plocales_changes 'locales' '' '.mo'
+ l10n_for_each_disabled_locale_do my_rm_loc
+
+ setup-wxwidgets
+ default
+}
+
+src_configure() {
+ econf --without-cpprest --without-cld2
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc AUTHORS NEWS README
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+}