From d99ac84258920d8432c7444af85127dde6b7cc5d Mon Sep 17 00:00:00 2001 From: Sergey Popov Date: Tue, 29 Apr 2014 09:19:13 +0000 Subject: Version bump, wrt bug #506148, thanks to Frank Krömmelbein for reporting this issue. Drop old version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42) --- app-backup/luckybackup/ChangeLog | 11 ++++- app-backup/luckybackup/luckybackup-0.4.7.ebuild | 37 ----------------- app-backup/luckybackup/luckybackup-0.4.8.ebuild | 53 +++++++++++++++++++++++++ 3 files changed, 62 insertions(+), 39 deletions(-) delete mode 100644 app-backup/luckybackup/luckybackup-0.4.7.ebuild create mode 100644 app-backup/luckybackup/luckybackup-0.4.8.ebuild (limited to 'app-backup/luckybackup') diff --git a/app-backup/luckybackup/ChangeLog b/app-backup/luckybackup/ChangeLog index 9f2999fad280..13a3b2ebd16d 100644 --- a/app-backup/luckybackup/ChangeLog +++ b/app-backup/luckybackup/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-backup/luckybackup -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-backup/luckybackup/ChangeLog,v 1.25 2013/03/02 19:11:44 hwoarang Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-backup/luckybackup/ChangeLog,v 1.26 2014/04/29 09:19:13 pinkbyte Exp $ + +*luckybackup-0.4.8 (29 Apr 2014) + + 29 Apr 2014; Sergey Popov -luckybackup-0.4.7.ebuild, + +luckybackup-0.4.8.ebuild: + Version bump, wrt bug #506148, thanks to Frank Krömmelbein for reporting this issue. Drop old version 02 Mar 2013; Markos Chandras luckybackup-0.4.7-r1.ebuild, luckybackup-0.4.7.ebuild: diff --git a/app-backup/luckybackup/luckybackup-0.4.7.ebuild b/app-backup/luckybackup/luckybackup-0.4.7.ebuild deleted file mode 100644 index 598b8f38f020..000000000000 --- a/app-backup/luckybackup/luckybackup-0.4.7.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-backup/luckybackup/luckybackup-0.4.7.ebuild,v 1.5 2013/03/02 19:11:44 hwoarang Exp $ - -EAPI=4 -inherit qt4-r2 - -DESCRIPTION="Powerful and flexible backup (and syncing) tool, using RSync and Qt4" -HOMEPAGE="http://luckybackup.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="debug" - -DEPEND="dev-qt/qtcore:4 - dev-qt/qtgui:4" -RDEPEND="${DEPEND} - net-misc/rsync" - -DOCS="readme/*" - -src_prepare() { - sed -i \ - -e "s:/usr/share/doc/${PN}:/usr/share/doc/${PF}:g" \ - -e "s:/usr/share/doc/packages/${PN}:/usr/share/doc/${PF}:g" \ - luckybackup.pro src/global.h || die "sed failed" - - # causes empty directory to be installed - sed -i -e '/^INSTALLS/s/debianmenu //' luckybackup.pro \ - || die "sed installs failed" - - # remove text version - cannot remote HTML version - # as it's used within the application - rm license/gpl.txt || die "rm failed" -} diff --git a/app-backup/luckybackup/luckybackup-0.4.8.ebuild b/app-backup/luckybackup/luckybackup-0.4.8.ebuild new file mode 100644 index 000000000000..a0d1a127528b --- /dev/null +++ b/app-backup/luckybackup/luckybackup-0.4.8.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-backup/luckybackup/luckybackup-0.4.8.ebuild,v 1.1 2014/04/29 09:19:13 pinkbyte Exp $ + +EAPI=5 + +PLOCALES="bs ca cs de el en es fr it nl no pl pt_BR ro ru sk sl sv tr zh_TW" +inherit l10n qt4-r2 + +DESCRIPTION="Powerful and flexible backup (and syncing) tool, using RSync and Qt4" +HOMEPAGE="http://luckybackup.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug" + +DEPEND="dev-qt/qtcore:4 + dev-qt/qtgui:4" +RDEPEND="${DEPEND} + net-misc/rsync" + +DOCS=( readme/{AUTHORS,README,TODO,TRANSLATIONS,changelog} ) + +rm_loc() { + sed -i -e "s|translations/${PN}_${1}.ts||" "${PN}.pro" || die 'sed on translations failed' + rm "translations/${PN}_${1}."{ts,qm} || die "removing ${1} locale failed" +} + +src_prepare() { + sed -i \ + -e "s:/usr/share/doc/${PN}:/usr/share/doc/${PF}:g" \ + -e "s:/usr/share/doc/packages/${PN}:/usr/share/doc/${PF}:g" \ + luckybackup.pro src/global.h || die "sed failed" + + # The su-to-root command is an ubuntu-specific script so it will + # not work with Gentoo. No reason to have it anyway. + sed -i -e "/^Exec/s:=.*:=/usr/bin/${PN}:" menu/${PN}-gnome-su.desktop \ + || die "failed to remove su-to-root" + + # causes empty directory to be installed + sed -i -e '/^INSTALLS/s/debianmenu //' luckybackup.pro \ + || die "sed installs failed" + + # remove text version - cannot remote HTML version + # as it's used within the application + rm license/gpl.txt || die "rm failed" + + l10n_find_plocales_changes "translations" "${PN}_" ".ts" + l10n_for_each_disabled_locale_do rm_loc + qt4-r2_src_prepare +} -- cgit v1.2.3-65-gdbad