summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBertrand Jacquin <bertrand@jacquin.bzh>2018-10-05 20:58:00 +0100
committerBertrand Jacquin <bertrand@jacquin.bzh>2018-10-05 20:58:00 +0100
commit66f5414a078f7218f1f4ef95c861178780b4749e (patch)
tree920c6e913ecf2c10a93501ff0ba8225d31c61699
parentnet-p2p/monero: Stick on slotted version of net-dns/unbound (diff)
downloadportage-66f5414a078f7218f1f4ef95c861178780b4749e.tar.xz
net-p2p/monero-gui: Drop old
Package-Manager: Portage-2.3.49, Repoman-2.3.11
-rw-r--r--net-p2p/monero-gui/Manifest2
-rw-r--r--net-p2p/monero-gui/files/0.11.1.0-Embed-the-translation-files-in-the-monero-wallet-gui.patch149
-rw-r--r--net-p2p/monero-gui/monero-gui-0.11.1.0.ebuild74
-rw-r--r--net-p2p/monero-gui/monero-gui-0.12.2.0.ebuild78
4 files changed, 0 insertions, 303 deletions
diff --git a/net-p2p/monero-gui/Manifest b/net-p2p/monero-gui/Manifest
index 8dc2b907..a9f06fe4 100644
--- a/net-p2p/monero-gui/Manifest
+++ b/net-p2p/monero-gui/Manifest
@@ -1,3 +1 @@
-DIST monero-gui-0.11.1.0.tar.gz 2362961 BLAKE2B 195603312ef52e6c45e3bb21850b224278058b00ce756a2d0aa080d97cab26800c24473b7b141efa18e6c9250057eae4e8a92da941c8004413f077b9077eea45 SHA512 15a1fb663d2bc01e570a5c8e36b615595923ecc4ec1c93fe84dd446c68d435716f589de0de28a5cf79b3bc932f3f69bb97efc905d62f0677451d750cfb66b268
-DIST monero-gui-0.12.2.0.tar.gz 2916669 BLAKE2B 2cc1f102110ecccb9b8a059e35afc3d732afe6bb9382cb5a4a60bebf6a28c2ab6e17e612d342ba1eb8ec325f299fe5de48546c0eaaa9884bff3c66bc3d5236b8 SHA512 356c0e0f2400533aaf2e62115025f1e5a5fd7e613f06a2f97b26c170dcf4bbe81bb1a4c8a69a18f278566f5d9e58920180d999269ed84de8c86fda19ec004a35
DIST monero-gui-0.12.3.0.tar.gz 2998087 BLAKE2B c1c1f5322f01d08acd01e876f0f8447a72b017cd16558db17c38b554b85e7340dff9f8cc6d370f69b1e40434d873739ab1d83ca1c8e46e050593c5e0fd41a86d SHA512 2b70cc93e030aacab23c0a63787e7adb35bafc289165d63e4c59b3ffc66721eab5a18b5d3964db319a6014a498ad1334fe03aca1b5edb92bd3a92f1d4c07ef78
diff --git a/net-p2p/monero-gui/files/0.11.1.0-Embed-the-translation-files-in-the-monero-wallet-gui.patch b/net-p2p/monero-gui/files/0.11.1.0-Embed-the-translation-files-in-the-monero-wallet-gui.patch
deleted file mode 100644
index a836512a..00000000
--- a/net-p2p/monero-gui/files/0.11.1.0-Embed-the-translation-files-in-the-monero-wallet-gui.patch
+++ /dev/null
@@ -1,149 +0,0 @@
-From ec27875488544c77a85a5fe9bc4da645c111dc9e Mon Sep 17 00:00:00 2001
-From: Guillaume LE VAILLANT <glv@posteo.net>
-Date: Sun, 17 Dec 2017 22:47:26 +0100
-Subject: [PATCH] Embed the translation files in the monero-wallet-gui binary
-
----
- TranslationManager.cpp | 30 +++++++++++++++-----------
- monero-wallet-gui.pro | 57 +++++++++++++++++++-------------------------------
- 2 files changed, 40 insertions(+), 47 deletions(-)
-
-diff --git a/TranslationManager.cpp b/TranslationManager.cpp
-index fa39d35a3847..e7fc52aaac28 100644
---- a/TranslationManager.cpp
-+++ b/TranslationManager.cpp
-@@ -25,19 +25,12 @@ bool TranslationManager::setLanguage(const QString &language)
- return true;
- }
-
-- // translations are compiled into app binary
--#ifdef Q_OS_MACX
-- QString dir = qApp->applicationDirPath() + "/../Resources/translations";
--#else
- QString dir = qApp->applicationDirPath() + "/translations";
--#endif
--
- QString filename = "monero-core_" + language;
-
-- qDebug("%s: loading translation file '%s' from '%s",
-+ qDebug("%s: loading translation file '%s' from '%s'",
- __FUNCTION__, qPrintable(filename), qPrintable(dir));
-
--
- if (m_translator->load(filename, dir)) {
- qDebug("%s: translation for language '%s' loaded successfully",
- __FUNCTION__, qPrintable(language));
-@@ -45,11 +38,24 @@ bool TranslationManager::setLanguage(const QString &language)
- qApp->installTranslator(m_translator);
- emit languageChanged();
- return true;
-- } else {
-- qCritical("%s: error loading translation for language '%s'",
-- __FUNCTION__, qPrintable(language));
-- return false;
- }
-+
-+ qDebug("%s: couldn't load translation file '%s' from '%s'",
-+ __FUNCTION__, qPrintable(filename), qPrintable(dir));
-+ qDebug("%s: loading embedded translation file '%s'",
-+ __FUNCTION__, qPrintable(filename));
-+
-+ if (m_translator->load(filename, ":")) {
-+ qDebug("%s: embedded translation for language '%s' loaded successfully",
-+ __FUNCTION__, qPrintable(language));
-+ qApp->installTranslator(m_translator);
-+ emit languageChanged();
-+ return true;
-+ }
-+
-+ qCritical("%s: error loading translation for language '%s'",
-+ __FUNCTION__, qPrintable(language));
-+ return false;
- }
-
- TranslationManager *TranslationManager::instance()
-diff --git a/monero-wallet-gui.pro b/monero-wallet-gui.pro
-index b6383d2b28c3..27e1c94bd3e5 100644
---- a/monero-wallet-gui.pro
-+++ b/monero-wallet-gui.pro
-@@ -282,29 +282,7 @@ macx {
-
-
- # translation stuff
--TRANSLATIONS = \ # English is default language, no explicit translation file
-- $$PWD/translations/monero-core.ts \ # translation source (copy this file when creating a new translation)
-- $$PWD/translations/monero-core_ar.ts \ # Arabic
-- $$PWD/translations/monero-core_pt-br.ts \ # Portuguese (Brazil)
-- $$PWD/translations/monero-core_de.ts \ # German
-- $$PWD/translations/monero-core_eo.ts \ # Esperanto
-- $$PWD/translations/monero-core_es.ts \ # Spanish
-- $$PWD/translations/monero-core_fi.ts \ # Finnish
-- $$PWD/translations/monero-core_fr.ts \ # French
-- $$PWD/translations/monero-core_hr.ts \ # Croatian
-- $$PWD/translations/monero-core_id.ts \ # Indonesian
-- $$PWD/translations/monero-core_hi.ts \ # Hindi
-- $$PWD/translations/monero-core_it.ts \ # Italian
-- $$PWD/translations/monero-core_ja.ts \ # Japanese
-- $$PWD/translations/monero-core_nl.ts \ # Dutch
-- $$PWD/translations/monero-core_pl.ts \ # Polish
-- $$PWD/translations/monero-core_ru.ts \ # Russian
-- $$PWD/translations/monero-core_sv.ts \ # Swedish
-- $$PWD/translations/monero-core_zh-cn.ts \ # Chinese (Simplified-China)
-- $$PWD/translations/monero-core_zh-tw.ts \ # Chinese (Traditional-Taiwan)
-- $$PWD/translations/monero-core_he.ts \ # Hebrew
-- $$PWD/translations/monero-core_ko.ts \ # Korean
-- $$PWD/translations/monero-core_ro.ts \ # Romanian
-+TRANSLATIONS = $$files($$PWD/translations/monero-core_*.ts)
-
- CONFIG(release, debug|release) {
- DESTDIR = release/bin
-@@ -317,14 +295,7 @@ CONFIG(release, debug|release) {
- # LANGREL_OPTIONS = -markuntranslated "MISS_TR "
- }
-
--TARGET_FULL_PATH = $$OUT_PWD/$$DESTDIR
--TRANSLATION_TARGET_DIR = $$TARGET_FULL_PATH/translations
--
--macx {
-- TARGET_FULL_PATH = $$sprintf("%1/%2/%3.app", $$OUT_PWD, $$DESTDIR, $$TARGET)
-- TRANSLATION_TARGET_DIR = $$TARGET_FULL_PATH/Contents/Resources/translations
--}
--
-+TRANSLATION_TARGET_DIR = $$OUT_PWD/translations
-
- !ios {
- isEmpty(QMAKE_LUPDATE) {
-@@ -351,13 +322,29 @@ macx {
-
- QMAKE_EXTRA_TARGETS += langupd deploy deploy_win
- QMAKE_EXTRA_COMPILERS += langrel
-+
-+ # Compile an initial version of translation files when running qmake
-+ # the first time and generate the resource file for translations.
-+ !exists($$TRANSLATION_TARGET_DIR) {
-+ mkpath($$TRANSLATION_TARGET_DIR)
-+ }
-+ qrc_entry = "<RCC>"
-+ qrc_entry += ' <qresource prefix="/">'
-+ write_file($$TRANSLATION_TARGET_DIR/translations.qrc, qrc_entry)
-+ for(tsfile, TRANSLATIONS) {
-+ qmfile = $$TRANSLATION_TARGET_DIR/$$basename(tsfile)
-+ qmfile ~= s/.ts$/.qm/
-+ system($$LANGREL $$LANGREL_OPTIONS $$tsfile -qm $$qmfile)
-+ qrc_entry = " <file>$$basename(qmfile)</file>"
-+ write_file($$TRANSLATION_TARGET_DIR/translations.qrc, qrc_entry, append)
-+ }
-+ qrc_entry = " </qresource>"
-+ qrc_entry += "</RCC>"
-+ write_file($$TRANSLATION_TARGET_DIR/translations.qrc, qrc_entry, append)
-+ RESOURCES += $$TRANSLATION_TARGET_DIR/translations.qrc
- }
-
-
--
--
--
--
- # Update: no issues with the "slow link process" anymore,
- # for development, just build debug version of libwallet_merged lib
- # by invoking 'get_libwallet_api.sh Debug'
diff --git a/net-p2p/monero-gui/monero-gui-0.11.1.0.ebuild b/net-p2p/monero-gui/monero-gui-0.11.1.0.ebuild
deleted file mode 100644
index 595c105f..00000000
--- a/net-p2p/monero-gui/monero-gui-0.11.1.0.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit qmake-utils toolchain-funcs
-
-DESCRIPTION="GUI for net-p2p/monero"
-HOMEPAGE="https://getmonero.org"
-SRC_URI="https://github.com/monero-project/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="NEWLIB"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="qrcode unwind"
-
-COMMOM_DEPEND="=net-p2p/monero-${PV}:=[qt5,unwind?]
- dev-qt/qtcore:5
- dev-qt/qtgui:5
- dev-qt/qtdeclarative:5[xml]
- dev-qt/qtwidgets:5
- sys-libs/readline:=
- dev-libs/boost:=
- dev-libs/openssl:0
- unwind? ( sys-libs/libunwind[lzma] )
- qrcode? (
- dev-qt/qtmultimedia:5
- media-gfx/zbar
- )"
-DEPEND="${COMMOM_DEPEND}
- dev-qt/linguist-tools:5"
-RDEPEND="${COMMOM_DEPEND}
- dev-qt/qtquickcontrols:5
- dev-qt/qtgraphicaleffects:5"
-
-PATCHES=( "${FILESDIR}/${PV}-Embed-the-translation-files-in-the-monero-wallet-gui.patch" )
-
-src_prepare () {
- cat > version.js || die <<-EOF
- var GUI_VERSION = "${PV}"
- var GUI_MONERO_VERSION = "${PV}"
- EOF
-
- export AR=$(tc-getAR)
- export CC=$(tc-getCC)
- export CXX=$(tc-getCXX)
-
- default
-}
-
-src_configure () {
- local myconf=( "release" )
-
- if use qrcode ; then
- myconf+=( "WITH_SCANNER" )
- fi
-
- if ! use unwind ; then
- myconf+=( "libunwind_off" )
- fi
-
- # CONFIG is expected to be a single argument,
- eqmake5 "CONFIG+=${myconf[*]}"
-}
-
-src_compile () {
- emake -C src/zxcvbn-c
-
- default
-}
-
-src_install () {
- dobin release/bin/monero-wallet-gui
- dodoc README.md
-}
diff --git a/net-p2p/monero-gui/monero-gui-0.12.2.0.ebuild b/net-p2p/monero-gui/monero-gui-0.12.2.0.ebuild
deleted file mode 100644
index 7a2ee96e..00000000
--- a/net-p2p/monero-gui/monero-gui-0.12.2.0.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit qmake-utils toolchain-funcs
-
-DESCRIPTION="GUI for net-p2p/monero"
-HOMEPAGE="https://getmonero.org"
-SRC_URI="https://github.com/monero-project/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="NEWLIB"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="qrcode smartcard unwind"
-
-COMMOM_DEPEND="=net-p2p/monero-${PV}:=[qt5,smartcard?,unwind?]
- dev-db/lmdb:=
- dev-qt/qtconcurrent:5
- dev-qt/qtcore:5
- dev-qt/qtgui:5
- dev-qt/qtdeclarative:5[xml]
- dev-qt/qtwidgets:5
- dev-libs/boost:=
- dev-libs/openssl:0
- unwind? ( sys-libs/libunwind[lzma] )
- qrcode? (
- dev-qt/qtmultimedia:5
- media-gfx/zbar
- )
- smartcard? (
- sys-apps/pcsc-lite
- >=app-crypt/ccid-1.4.28[usb]
- )"
-DEPEND="${COMMOM_DEPEND}
- dev-qt/linguist-tools:5"
-RDEPEND="${COMMOM_DEPEND}
- dev-qt/qtquickcontrols:5
- dev-qt/qtquickcontrols2:5
- dev-qt/qtgraphicaleffects:5"
-
-src_prepare () {
- cat > version.js || die <<-EOF
- var GUI_VERSION = "${PV}"
- var GUI_MONERO_VERSION = "${PV}"
- EOF
-
- export AR=$(tc-getAR)
- export CC=$(tc-getCC)
- export CXX=$(tc-getCXX)
-
- default
-}
-
-src_configure () {
- local myconf=( "release" )
-
- if use qrcode ; then
- myconf+=( "WITH_SCANNER" )
- fi
-
- if ! use unwind ; then
- myconf+=( "libunwind_off" )
- fi
-
- # CONFIG is expected to be a single argument,
- eqmake5 "CONFIG+=${myconf[*]}"
-}
-
-src_compile () {
- emake -C src/zxcvbn-c
-
- default
-}
-
-src_install () {
- dobin release/bin/monero-wallet-gui
- dodoc README.md
-}