From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9518D1396D0 for ; Tue, 3 Oct 2017 06:35:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C6BF62BC012; Tue, 3 Oct 2017 06:35:13 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 908402BC012 for ; Tue, 3 Oct 2017 06:35:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0259234189D for ; Tue, 3 Oct 2017 06:35:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 607D59086 for ; Tue, 3 Oct 2017 06:35:10 +0000 (UTC) From: "Göktürk Yüksek" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Göktürk Yüksek" Message-ID: <1507012469.5c2f1337a48523c475f90f7eb2bf1b43610e4215.gokturk@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/propaganda/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/propaganda/propaganda-1.0-r1.ebuild X-VCS-Directories: media-gfx/propaganda/ X-VCS-Committer: gokturk X-VCS-Committer-Name: Göktürk Yüksek X-VCS-Revision: 5c2f1337a48523c475f90f7eb2bf1b43610e4215 X-VCS-Branch: master Date: Tue, 3 Oct 2017 06:35:10 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: edbac4ef-b2e1-4ab1-9172-7d8b86d50b18 X-Archives-Hash: de3f323d3db003125ab2acc4234292d1 commit: 5c2f1337a48523c475f90f7eb2bf1b43610e4215 Author: Andrey Utkin fastmail com> AuthorDate: Wed Aug 16 20:51:33 2017 +0000 Commit: Göktürk Yüksek gentoo org> CommitDate: Tue Oct 3 06:34:29 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c2f1337 media-gfx/propaganda: add 1.0-r1 for improvements and fixes This is to facilitate maintenance such as update to EAPI=6 and fixes the issues highlighted by repoman and more. - add quotes around strings with variables - fix LICENSE Actual COPYING files are saying the license is GPLv2 or any later version. - omit COPYING, README-GPL from dodoc These files contain GPLv2+ license text which shouldn't be installed as it is already indicated by LICENSE in ebuild. - replace dead homepage URL with No_homepage - use mirror://gentoo/ in SRC_URI SRC_URI contained URLs which don't work anymore, distfiles are being fetched from mirrors anyway. - install just jpg files and doc, simplify ebuild Unnecessary files which were installed by 1.0 ebuild, listed below, are no more shipped. This allowed to simplify ebuild logic. HTML files for viewing of image files and navigation between them. They are deemed not essential. README: contained nothing more than an author's suggestion to view images directories in KDE. README-PROPAGANDA, which contains a substantial introduction into project history, is still installed. magicbg.tar{,.gz}: source code of some app, not essential for usage of the package. script.perl: scripts for generation of navigation HTML. More non-essential files, e.g. /usr/share/pixmaps/Propaganda/Vol11/Icon:0d /usr/share/pixmaps/Propaganda/Vol11/Modified by Michael Coyle /usr/share/pixmaps/Propaganda/Vol12/Icon:0d - use prepare phase for renames Renaming (volume dir names, *.JPG to *.jpg) is not really compiling, so use src_prepare phase which is designed for actions like these. - add "|| die" to commands which may fail Suggested-by: Amy Liffey gentoo.org> Suggested-by: Göktürk Yüksek gentoo.org> Package-Manager: Portage-2.3.7, Repoman-2.3.3 media-gfx/propaganda/propaganda-1.0-r1.ebuild | 47 +++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/media-gfx/propaganda/propaganda-1.0-r1.ebuild b/media-gfx/propaganda/propaganda-1.0-r1.ebuild new file mode 100644 index 00000000000..86f584a1d5f --- /dev/null +++ b/media-gfx/propaganda/propaganda-1.0-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +S="${WORKDIR}/Propaganda" +DESCRIPTION="Propaganda Volume 1-14 + E. Tiling images for your desktop" +HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage" +SITE="mirror://gentoo/" +SRC_URI="${SITE}Propaganda-Vol-01.tar.gz + ${SITE}Propaganda-Vol-02.tar.gz + ${SITE}Propaganda-Vol-03.tar.gz + ${SITE}Propaganda-Vol-04.tar.gz + ${SITE}Propaganda-Vol-05.tar.gz + ${SITE}Propaganda-Vol-06.tar.gz + ${SITE}Propaganda-Vol-07.tar.gz + ${SITE}Propaganda-Vol-08.tar.gz + ${SITE}Propaganda-Vol-09.tar.gz + ${SITE}Propaganda-Vol-10.tar.gz + ${SITE}Propaganda-Vol-11.tar.gz + ${SITE}Propaganda-Vol-12.tar.gz + ${SITE}Propaganda-13.tar.gz + ${SITE}Propaganda-14.tar.gz + ${SITE}Propaganda-For-E.tar.gz" + +SLOT="0" +LICENSE="GPL-2+" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +src_prepare() { + default + + mv ../Propaganda-Vol-11 Vol11 || die + mv ../Propaganda-Vol-12 Vol12 || die + + rename JPG jpg */*.JPG || die +} + +src_install() { + dodoc README-PROPAGANDA + + local VOLUME + for VOLUME in Vol* Propaganda-For-E; do + insinto "/usr/share/pixmaps/Propaganda/${VOLUME}" + doins "${VOLUME}"/*.jpg + done +}