summaryrefslogtreecommitdiff
path: root/sci-electronics/qelectrotech/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-03-03 10:28:17 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-03-03 10:28:17 +0000
commitd99093fb4bb5652015c06274d64083daa2439e4f (patch)
treecf61513204d97974179580065e85df5c8009087c /sci-electronics/qelectrotech/files
parent463397cf1e064185110fe57c568d73f99a06f5d1 (diff)
gentoo resync : 03.03.2021
Diffstat (limited to 'sci-electronics/qelectrotech/files')
-rw-r--r--sci-electronics/qelectrotech/files/qelectrotech-0.80-fix-paths.patch50
-rw-r--r--sci-electronics/qelectrotech/files/qelectrotech-0.80-nomancompress.patch10
2 files changed, 60 insertions, 0 deletions
diff --git a/sci-electronics/qelectrotech/files/qelectrotech-0.80-fix-paths.patch b/sci-electronics/qelectrotech/files/qelectrotech-0.80-fix-paths.patch
new file mode 100644
index 000000000000..30ef9b6089b9
--- /dev/null
+++ b/sci-electronics/qelectrotech/files/qelectrotech-0.80-fix-paths.patch
@@ -0,0 +1,50 @@
+--- a/qelectrotech.pro 2021-02-21 10:15:38.000000000 +0100
++++ b/qelectrotech.pro 2021-02-28 21:12:15.934876464 +0100
+@@ -5,21 +5,21 @@
+ # Chemins utilises pour la compilation et l'installation de QET
+ unix {
+ # Chemins UNIX
+- COMPIL_PREFIX = '/usr/local/'
+- INSTALL_PREFIX = '/usr/local/'
++ COMPIL_PREFIX = '/usr/'
++ INSTALL_PREFIX = '/usr/'
+ QET_BINARY_PATH = 'bin/'
+ QET_COMMON_COLLECTION_PATH = 'share/qelectrotech/elements/'
+ QET_COMMON_TBT_PATH = 'share/qelectrotech/titleblocks/'
+ QET_LANG_PATH = 'share/qelectrotech/lang/'
+ QET_EXAMPLES_PATH = 'share/qelectrotech/examples/'
+ QET_LICENSE_PATH = 'doc/qelectrotech/'
+- QET_MIME_XML_PATH = '../share/mime/application/'
+- QET_MIME_DESKTOP_PATH = '../share/mimelnk/application/'
+- QET_MIME_PACKAGE_PATH = '../share/mime/packages/'
++ QET_MIME_XML_PATH = 'share/mime/application/'
++ QET_MIME_DESKTOP_PATH = 'share/mimelnk/application/'
++ QET_MIME_PACKAGE_PATH = 'share/mime/packages/'
+ QET_DESKTOP_PATH = 'share/applications/'
+ QET_ICONS_PATH = 'share/icons/hicolor/'
+- QET_MAN_PATH = 'man/'
+- QET_APPDATA_PATH = 'share/appdata'
++ QET_MAN_PATH = 'share/man/'
++ QET_APPDATA_PATH = 'share/metainfo'
+ }
+ win32 {
+ # Chemins Windows
+@@ -252,9 +252,6 @@
+ examples.path = $$join(INSTALL_PREFIX,,,$${QET_EXAMPLES_PATH})
+ examples.files = examples/*
+
+-copyright.path = $$join(INSTALL_PREFIX,,,$${QET_LICENSE_PATH})
+-copyright.files = LICENSE ELEMENTS.LICENSE CREDIT README ChangeLog
+-
+ mime_xml.path = $$join(INSTALL_PREFIX,,,$${QET_MIME_XML_PATH})
+ mime_xml.files = misc/x-qet-*.xml
+
+@@ -284,7 +281,7 @@
+ man.extra = sh man/compress_man_pages.sh
+
+ # L'installation comprend la copie du binaire, des elements, des fichiers de langue et du fichier LICENSE
+-INSTALLS += target elements tbt lang copyright
++INSTALLS += target elements tbt lang
+ # Sous Unix, on installe egalement l'icone, un fichier .desktop, des fichiers mime et les pages de manuel
+ unix {
+ INSTALLS += desktop mime_xml mime_desktop mime_package icons man examples appdata
diff --git a/sci-electronics/qelectrotech/files/qelectrotech-0.80-nomancompress.patch b/sci-electronics/qelectrotech/files/qelectrotech-0.80-nomancompress.patch
new file mode 100644
index 000000000000..9e63a4512892
--- /dev/null
+++ b/sci-electronics/qelectrotech/files/qelectrotech-0.80-nomancompress.patch
@@ -0,0 +1,10 @@
+--- a/qelectrotech.pro 2021-02-21 10:15:38.000000000 +0100
++++ b/qelectrotech.pro 2021-02-28 21:41:02.221285171 +0100
+@@ -278,7 +278,6 @@
+
+ man.path = $$join(INSTALL_PREFIX,,,$${QET_MAN_PATH})
+ man.files = man/files/*
+-man.extra = sh man/compress_man_pages.sh
+
+ # L'installation comprend la copie du binaire, des elements, des fichiers de langue et du fichier LICENSE
+ INSTALLS += target elements tbt lang