diff options
author | Michael Weber <xmw@gentoo.org> | 2017-03-09 19:28:13 +0100 |
---|---|---|
committer | Michael Weber <xmw@gentoo.org> | 2017-03-09 19:28:27 +0100 |
commit | 2081cabce708068615e0a07de5d6193c10f09107 (patch) | |
tree | c496a0d8850d048586b6d3debfa91ed96f25d59f /sci-misc/mendeleydesktop/files | |
parent | dev-ruby/facter: 3.6.1 stable amd64 and x86 (diff) | |
download | gentoo-2081cabce708068615e0a07de5d6193c10f09107.tar.gz gentoo-2081cabce708068615e0a07de5d6193c10f09107.tar.bz2 gentoo-2081cabce708068615e0a07de5d6193c10f09107.zip |
sci-misc/mendeleydesktop: Revbump with fixed launcher (thanks Marius Brehler, bug 611792).
Package-Manager: Portage-2.3.4, Repoman-2.3.2
Diffstat (limited to 'sci-misc/mendeleydesktop/files')
3 files changed, 50 insertions, 0 deletions
diff --git a/sci-misc/mendeleydesktop/files/mendeleydesktop-1.17.8-libdir.patch b/sci-misc/mendeleydesktop/files/mendeleydesktop-1.17.8-libdir.patch new file mode 100644 index 000000000000..67ba57fca05f --- /dev/null +++ b/sci-misc/mendeleydesktop/files/mendeleydesktop-1.17.8-libdir.patch @@ -0,0 +1,19 @@ +Patch to find libstdc++. + +https://bugs.funtoo.org/browse/FL-3519 +--- a/bin/mendeleydesktop ++++ b/bin/mendeleydesktop +@@ -29,6 +29,13 @@ def library_paths(): + paths.append("/usr/lib/x86_64-linux-gnu") + paths.append("/usr/lib/i386-linux-gnu") + ++ gcc_libpath = subprocess.Popen( ++ '/usr/bin/gcc-config -L', shell=True, stdout=subprocess.PIPE, ++ ).stdout.read().decode('utf-8').replace('\n', '').split(':') ++ for path in gcc_libpath: ++ if len(path) > 0: ++ paths.append(path) ++ + return paths + + def library_version_from_path(lib_path): diff --git a/sci-misc/mendeleydesktop/files/mendeleydesktop-1.17.8-qt5plugins.patch b/sci-misc/mendeleydesktop/files/mendeleydesktop-1.17.8-qt5plugins.patch new file mode 100644 index 000000000000..49395a46a0f7 --- /dev/null +++ b/sci-misc/mendeleydesktop/files/mendeleydesktop-1.17.8-qt5plugins.patch @@ -0,0 +1,15 @@ +Patch to find qt5 plugins. + +Patch by Marius Brehler <marbre@linux.sungazer.de> +--- a/bin/mendeleydesktop ++++ b/bin/mendeleydesktop +@@ -75,7 +83,7 @@ def get_paths(): + else: + results['MENDELEY_BIN'] = results['MENDELEY_BASE'] + "/lib/mendeleydesktop/libexec/mendeleydesktop.i486" + +- results['MENDELEY_BUNDLED_QT_PLUGIN'] = results['MENDELEY_BASE'] + "/lib/mendeleydesktop/plugins/" ++ results['MENDELEY_BUNDLED_QT_PLUGIN'] = "/usr/lib/qt5/plugins" + + # Path to Mendeley Desktop and PDFNet libraries + results['MENDELEY_LIB'] = results['MENDELEY_BASE'] + "/lib/" + diff --git a/sci-misc/mendeleydesktop/files/mendeleydesktop-1.17.8-unix-distro-build.patch b/sci-misc/mendeleydesktop/files/mendeleydesktop-1.17.8-unix-distro-build.patch new file mode 100644 index 000000000000..dffd69df6b56 --- /dev/null +++ b/sci-misc/mendeleydesktop/files/mendeleydesktop-1.17.8-unix-distro-build.patch @@ -0,0 +1,16 @@ +Patch to force --unix-distro-build. + +Patch by Marius Brehler <marbre@linux.sungazer.de> +--- a/bin/mendeleydesktop ++++ b/bin/mendeleydesktop +@@ -159,10 +167,7 @@ def mendeley_desktop_arguments(): + """ Returns a list with the argumetns to be appended to Mendeley Desktop. """ + extra_args = sys.argv[1:] + +- if is_linux_distro_build(): +- # Enable Linux distro specific changes (eg. in auto-update +- # handling) +- extra_args = extra_args + ["--unix-distro-build"] ++ extra_args = extra_args + ["--unix-distro-build"] + + use_debugger = sys.argv.count("--debug") > 0 |