From: "Göktürk Yüksek" <gokturk@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/propaganda/
Date: Tue, 3 Oct 2017 06:35:10 +0000 (UTC) [thread overview]
Message-ID: <1507012469.5c2f1337a48523c475f90f7eb2bf1b43610e4215.gokturk@gentoo> (raw)
commit: 5c2f1337a48523c475f90f7eb2bf1b43610e4215
Author: Andrey Utkin <andrey_utkin <AT> fastmail <DOT> com>
AuthorDate: Wed Aug 16 20:51:33 2017 +0000
Commit: Göktürk Yüksek <gokturk <AT> gentoo <DOT> 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 <amynka <AT> gentoo.org>
Suggested-by: Göktürk Yüksek <gokturk <AT> 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
+}
next reply other threads:[~2017-10-03 6:35 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-03 6:35 Göktürk Yüksek [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-11-21 0:47 [gentoo-commits] repo/gentoo:master commit in: media-gfx/propaganda/ Andrey Utkin
2017-11-27 19:55 Sergei Trofimovich
2017-12-22 17:47 Andrey Utkin
2019-02-25 20:13 Andrey Utkin
2020-07-27 23:48 Andrey Utkin
2022-07-15 5:48 Sam James
2022-08-28 18:18 Arthur Zamarin
2022-08-28 18:18 Arthur Zamarin
2022-08-29 7:22 Joonas Niilola
2022-08-29 7:22 Joonas Niilola
2022-08-29 7:22 Joonas Niilola
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1507012469.5c2f1337a48523c475f90f7eb2bf1b43610e4215.gokturk@gentoo \
--to=gokturk@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox