From cb5e0cd100f66717005b79878f9758bb0ac3432c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 21 Aug 2017 17:59:27 +0100 Subject: app-backup/qt5-fsarchiver : bugfix https://bugs.redcorelinux.org/show_bug.cgi?id=39 --- app-backup/qt5-fsarchiver/files/redcorelinux.patch | 7 +-- .../qt5-fsarchiver-0.8.1-r1708.ebuild | 63 ++++++++++++++++++++++ .../qt5-fsarchiver/qt5-fsarchiver-0.8.1-r3.ebuild | 63 ---------------------- 3 files changed, 67 insertions(+), 66 deletions(-) create mode 100644 app-backup/qt5-fsarchiver/qt5-fsarchiver-0.8.1-r1708.ebuild delete mode 100644 app-backup/qt5-fsarchiver/qt5-fsarchiver-0.8.1-r3.ebuild (limited to 'app-backup/qt5-fsarchiver') diff --git a/app-backup/qt5-fsarchiver/files/redcorelinux.patch b/app-backup/qt5-fsarchiver/files/redcorelinux.patch index 54114b52..f46bdcd0 100644 --- a/app-backup/qt5-fsarchiver/files/redcorelinux.patch +++ b/app-backup/qt5-fsarchiver/files/redcorelinux.patch @@ -1,6 +1,6 @@ diff -Nur a/src/share/polkit-1/actions/org.project.pkexec.run-qt5-fsarchiver.policy b/src/share/polkit-1/actions/org.project.pkexec.run-qt5-fsarchiver.policy --- a/src/share/polkit-1/actions/org.project.pkexec.run-qt5-fsarchiver.policy 2016-06-04 17:03:48.000000000 +0100 -+++ b/src/share/polkit-1/actions/org.project.pkexec.run-qt5-fsarchiver.policy 2017-03-20 21:16:14.455787071 +0000 ++++ b/src/share/polkit-1/actions/org.project.pkexec.run-qt5-fsarchiver.policy 2017-08-21 17:53:25.245124171 +0100 @@ -7,7 +7,7 @@ Run the qt5-fsarchiver program @@ -12,7 +12,7 @@ diff -Nur a/src/share/polkit-1/actions/org.project.pkexec.run-qt5-fsarchiver.pol auth_admin diff -Nur a/starter/gnome-qt5-fsarchiver.desktop b/starter/gnome-qt5-fsarchiver.desktop --- a/starter/gnome-qt5-fsarchiver.desktop 2017-01-30 16:09:58.000000000 +0000 -+++ b/starter/gnome-qt5-fsarchiver.desktop 2017-03-20 21:17:28.521205205 +0000 ++++ b/starter/gnome-qt5-fsarchiver.desktop 2017-08-21 17:57:00.486186980 +0100 @@ -1,12 +1,11 @@ [Desktop Entry] -Name=qt5-fsarchiver @@ -20,8 +20,9 @@ diff -Nur a/starter/gnome-qt5-fsarchiver.desktop b/starter/gnome-qt5-fsarchiver. +Name=Qt5 fsarchiver +Name[de_DE]=Qt5 fsarchiver Comment=Qt GUI for fsarchiver - Exec=/usr/sbin/qt5-fsarchiver_polkit %f +-Exec=/usr/sbin/qt5-fsarchiver_polkit %f -Icon=/usr/share/app-install/icons/harddrive.png ++Exec=kdesu /usr/sbin/qt5-fsarchiver +Icon=/usr/share/qt5-fsarchiver/harddrive.png Terminal=false Type=Application diff --git a/app-backup/qt5-fsarchiver/qt5-fsarchiver-0.8.1-r1708.ebuild b/app-backup/qt5-fsarchiver/qt5-fsarchiver-0.8.1-r1708.ebuild new file mode 100644 index 00000000..8bf7e7a9 --- /dev/null +++ b/app-backup/qt5-fsarchiver/qt5-fsarchiver-0.8.1-r1708.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit qmake-utils versionator + +MIN_PV="$(get_version_component_range 1-3)" + +DESCRIPTION="Qt5 frontend for fsarchiver" +HOMEPAGE="http://qt4-fsarchiver.sourceforge.net/" +SRC_URI="mirror://sourceforge/project/qt4-fsarchiver/${PN}/source/${P}-0.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" + +IUSE="" + +CDEPEND="app-arch/bzip2 + app-arch/xz-utils + dev-libs/libgcrypt:= + dev-libs/lzo + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + sys-apps/util-linux + sys-fs/e2fsprogs + sys-libs/zlib" +RDEPEND="${CDEPEND} + >=app-backup/fsarchiver-${MIN_PV}[lzma,lzo]" +DEPEND="${CDEPEND}" + +S="${WORKDIR}/${PN}" + +src_prepare() { + epatch ${FILESDIR}/redcorelinux.patch + sed -i \ + -e "/icon.path/s:app-install/icons:${PN}:" "${PN}.pro" \ + || die "sed on ${PN}.pro failed" +} + +src_compile() { + eqmake5 +} + +src_install() { + emake INSTALL_ROOT="${D}" install + einstalldocs + # remove gksu && kdesu enabled desktop entries + rm -rf ${ED}/usr/share/applications/kde-${PN}.desktop + rm -rf ${ED}/usr/share/applications/mate-${PN}.desktop +} + +pkg_postinst() { + elog "optional dependencies:" + elog " sys-fs/btrfs-progs" + elog " sys-fs/jfsutils" + elog " sys-fs/ntfs3g[ntfsprogs]" + elog " sys-fs/reiser4progs" + elog " sys-fs/reiserfsprogs" + elog " net-fs/sshfs" + elog " sys-fs/xfsprogs" +} diff --git a/app-backup/qt5-fsarchiver/qt5-fsarchiver-0.8.1-r3.ebuild b/app-backup/qt5-fsarchiver/qt5-fsarchiver-0.8.1-r3.ebuild deleted file mode 100644 index 8bf7e7a9..00000000 --- a/app-backup/qt5-fsarchiver/qt5-fsarchiver-0.8.1-r3.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit qmake-utils versionator - -MIN_PV="$(get_version_component_range 1-3)" - -DESCRIPTION="Qt5 frontend for fsarchiver" -HOMEPAGE="http://qt4-fsarchiver.sourceforge.net/" -SRC_URI="mirror://sourceforge/project/qt4-fsarchiver/${PN}/source/${P}-0.tar.gz" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" - -IUSE="" - -CDEPEND="app-arch/bzip2 - app-arch/xz-utils - dev-libs/libgcrypt:= - dev-libs/lzo - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtwidgets:5 - sys-apps/util-linux - sys-fs/e2fsprogs - sys-libs/zlib" -RDEPEND="${CDEPEND} - >=app-backup/fsarchiver-${MIN_PV}[lzma,lzo]" -DEPEND="${CDEPEND}" - -S="${WORKDIR}/${PN}" - -src_prepare() { - epatch ${FILESDIR}/redcorelinux.patch - sed -i \ - -e "/icon.path/s:app-install/icons:${PN}:" "${PN}.pro" \ - || die "sed on ${PN}.pro failed" -} - -src_compile() { - eqmake5 -} - -src_install() { - emake INSTALL_ROOT="${D}" install - einstalldocs - # remove gksu && kdesu enabled desktop entries - rm -rf ${ED}/usr/share/applications/kde-${PN}.desktop - rm -rf ${ED}/usr/share/applications/mate-${PN}.desktop -} - -pkg_postinst() { - elog "optional dependencies:" - elog " sys-fs/btrfs-progs" - elog " sys-fs/jfsutils" - elog " sys-fs/ntfs3g[ntfsprogs]" - elog " sys-fs/reiser4progs" - elog " sys-fs/reiserfsprogs" - elog " net-fs/sshfs" - elog " sys-fs/xfsprogs" -} -- cgit v1.2.3