From 1a5a24193e56f815fa1929f904fcd787c7eb7636 Mon Sep 17 00:00:00 2001 From: Miroslav Ć ulc Date: Tue, 24 Oct 2017 10:30:35 +0200 Subject: media-gfx/valentina: fixed homepage, sources and issues with version 0.5.0 Package-Manager: Portage-2.3.12, Repoman-2.3.3 --- .../files/0.5.0-disable-tests-compilation.patch | 35 -------------- .../files/0.5.0-fix-insecure-runpaths.patch | 56 ---------------------- media-gfx/valentina/files/0.5.0-locales.patch | 48 ------------------- 3 files changed, 139 deletions(-) delete mode 100644 media-gfx/valentina/files/0.5.0-disable-tests-compilation.patch delete mode 100644 media-gfx/valentina/files/0.5.0-fix-insecure-runpaths.patch delete mode 100644 media-gfx/valentina/files/0.5.0-locales.patch (limited to 'media-gfx/valentina/files') diff --git a/media-gfx/valentina/files/0.5.0-disable-tests-compilation.patch b/media-gfx/valentina/files/0.5.0-disable-tests-compilation.patch deleted file mode 100644 index a819a02a336b..000000000000 --- a/media-gfx/valentina/files/0.5.0-disable-tests-compilation.patch +++ /dev/null @@ -1,35 +0,0 @@ -# HG changeset patch -# User Roman Telezhynskyi -# Date 1455906661 -7200 -# Branch develop -# Node ID 8edb1b0f161a5f472a0e6a8a8b5b8a1ae7cf33c5 -# Parent 42a73e7a17757ce9d12e16f616a41f52efdf4b91 -CONFIG key to disable building tests. - -diff --git a/src/src.pro b/src/src.pro ---- a/src/src.pro -+++ b/src/src.pro -@@ -1,8 +1,17 @@ - TEMPLATE = subdirs --SUBDIRS = \ -- libs \ -- app \ -- test - --app.depends = libs --test.depends = libs -+noTests{ # For enable run qmake with CONFIG+=noTests -+ SUBDIRS = \ -+ libs \ -+ app -+ -+} else { -+ SUBDIRS = \ -+ libs \ -+ app \ -+ test -+ -+ test.depends = libs -+} -+ -+app.depends = libs diff --git a/media-gfx/valentina/files/0.5.0-fix-insecure-runpaths.patch b/media-gfx/valentina/files/0.5.0-fix-insecure-runpaths.patch deleted file mode 100644 index a98a069dfb5a..000000000000 --- a/media-gfx/valentina/files/0.5.0-fix-insecure-runpaths.patch +++ /dev/null @@ -1,56 +0,0 @@ -# HG changeset patch -# User Roman Telezhynskyi -# Date 1455895311 -7200 -# Branch develop -# Node ID ebb8c53b8fdc09d2542ec6b8a63585be63c02725 -# Parent a29fbab1f3ac59fda0e81bf1e99d153b5f47bd7c -CONFIG key to disable setting custom rpath option. - -diff --git a/src/app/tape/tape.pro b/src/app/tape/tape.pro ---- a/src/app/tape/tape.pro -+++ b/src/app/tape/tape.pro -@@ -348,10 +348,16 @@ - # Path to recource file. - win32:RC_FILE = share/resources/tape.rc - --unix:!macx{ -- # suppress the default RPATH -- QMAKE_LFLAGS_RPATH = -- QMAKE_LFLAGS += "-Wl,-rpath,\'\$$ORIGIN\' -Wl,-rpath,$${OUT_PWD}/../../libs/qmuparser/$${DESTDIR} -Wl,-rpath,$${OUT_PWD}/../../libs/vpropertyexplorer/$${DESTDIR}" -+noRunPath{ # For enable run qmake with CONFIG+=noRunPath -+ # do nothing -+} else { -+ unix:!macx{ -+ # suppress the default RPATH -+ # helps to run the program without Qt Creator -+ # see problem with path to libqmuparser and libpropertybrowser -+ QMAKE_LFLAGS_RPATH = -+ QMAKE_LFLAGS += "-Wl,-rpath,\'\$$ORIGIN\' -Wl,-rpath,$${OUT_PWD}/../../libs/qmuparser/$${DESTDIR} -Wl,-rpath,$${OUT_PWD}/../../libs/vpropertyexplorer/$${DESTDIR}" -+ } - } - - # When the GNU linker sees a library, it discards all symbols that it doesn't need. -diff --git a/src/app/valentina/valentina.pro b/src/app/valentina/valentina.pro ---- a/src/app/valentina/valentina.pro -+++ b/src/app/valentina/valentina.pro -@@ -476,10 +476,16 @@ - copyToDestdir($$pdftops_path, $$shell_path($${OUT_PWD}/$$DESTDIR)) - } - --unix:!macx{ -- # suppress the default RPATH -- QMAKE_LFLAGS_RPATH = -- QMAKE_LFLAGS += "-Wl,-rpath,\'\$$ORIGIN\' -Wl,-rpath,$${OUT_PWD}/../../libs/qmuparser/$${DESTDIR} -Wl,-rpath,$${OUT_PWD}/../../libs/vpropertyexplorer/$${DESTDIR}" -+noRunPath{ # For enable run qmake with CONFIG+=noRunPath -+ # do nothing -+} else { -+ unix:!macx{ -+ # suppress the default RPATH -+ # helps to run the program without Qt Creator -+ # see problem with path to libqmuparser and libpropertybrowser -+ QMAKE_LFLAGS_RPATH = -+ QMAKE_LFLAGS += "-Wl,-rpath,\'\$$ORIGIN\' -Wl,-rpath,$${OUT_PWD}/../../libs/qmuparser/$${DESTDIR} -Wl,-rpath,$${OUT_PWD}/../../libs/vpropertyexplorer/$${DESTDIR}" -+ } - } - - # When the GNU linker sees a library, it discards all symbols that it doesn't need. diff --git a/media-gfx/valentina/files/0.5.0-locales.patch b/media-gfx/valentina/files/0.5.0-locales.patch deleted file mode 100644 index a9084627df57..000000000000 --- a/media-gfx/valentina/files/0.5.0-locales.patch +++ /dev/null @@ -1,48 +0,0 @@ -diff --git a/src/app/translations.pri b/src/app/translations.pri -index b2dd2c4..87c55f7 100755 ---- a/src/app/translations.pri -+++ b/src/app/translations.pri -@@ -9,22 +9,27 @@ PMSYSTEMS += \ - p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17 p18 p19 p20 p21 p22 p23 p24 p25 p26 p27 p28 p29 p30 \ - p31 p32 p33 p34 p35 p36 p37 p38 p39 p40 p41 p42 p43 p44 p45 p46 p47 p48 p49 p50 p51 p52 p53 p54 p998 - --LANGUAGES += \ -- ru_RU \ -- uk_UA \ -- de_DE \ -- cs_CZ \ -- he_IL \ -- fr_FR \ -- it_IT \ -- nl_NL \ -- id_ID \ -- es_ES \ -- fi_FI \ -- en_US \ -- en_CA \ -- en_IN \ -- ro_RO -+isEmpty(LOCALES){ -+ LANGUAGES += \ -+ ru_RU \ -+ uk_UA \ -+ de_DE \ -+ cs_CZ \ -+ he_IL \ -+ fr_FR \ -+ it_IT \ -+ nl_NL \ -+ id_ID \ -+ es_ES \ -+ fi_FI \ -+ en_US \ -+ en_CA \ -+ en_IN \ -+ ro_RO \ -+ zh_CN -+ } else { -+ LANGUAGES = $${LOCALES} -+ } - - for(lang, LANGUAGES) { - INSTALL_TRANSLATIONS += $${TRANSLATIONS_PATH}/valentina_$${lang}.qm -- cgit v1.2.3-65-gdbad