Gentoo Archives: gentoo-commits

From: Michael Orlitzky <mjo@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/arj/
Date: Sun, 31 Jul 2016 19:07:12
Message-Id: 1469991661.c12d97d4bf183e39bed8b04c5f066fcee0063530.mjo@gentoo
1 commit: c12d97d4bf183e39bed8b04c5f066fcee0063530
2 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jul 31 19:00:42 2016 +0000
4 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 31 19:01:01 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c12d97d4
7
8 app-arch/arj: new revision with Debian patchlevel 15.
9
10 This new revision updates the Debian patchlevel from 14 to 15. Some
11 other minor cleanups were made:
12
13 * No longer append -Wall to CFLAGS (why?).
14
15 * Clear the gnu/stripgcc.lnk in src_prepare() instead of using sed to
16 disable it in src_compile(). Doing so in src_prepare() is more
17 semantically correct, and should work the same.
18
19 * Don't pass ARJLIBDIR, CC, libdir, ADD_LDFLAGS, or pkglibdir to emake.
20 I think these are obsolete; the build system correctly identifies my
21 libdir, compiler, CFLAGS, LDFLAGS, etc.
22
23 * Add a few more docs, and switch to using the DOCS variable.
24
25 * Use the default src_compile() and src_install().
26
27 Package-Manager: portage-2.2.28
28
29 app-arch/arj/Manifest | 2 +-
30 ...arj-3.10.22-r6.ebuild => arj-3.10.22-r7.ebuild} | 40 ++++++++++------------
31 2 files changed, 20 insertions(+), 22 deletions(-)
32
33 diff --git a/app-arch/arj/Manifest b/app-arch/arj/Manifest
34 index c84190b..e2a7c2f 100644
35 --- a/app-arch/arj/Manifest
36 +++ b/app-arch/arj/Manifest
37 @@ -1,3 +1,3 @@
38 DIST arj_3.10.22-13.debian.tar.xz 15904 SHA256 d74588f13a2de780d762d3405b0216a02cf4e55bda4ac4703cab94310ac3ea46 SHA512 670f9fb69f1f4363a4d277151bc99286de024764a99ca5276e9f46d560718a906657ec6e2898290f57fbf1007c9190959d38de14ecd1d3205fb26323eff6795d WHIRLPOOL b1111dc6dce1d3810819d6773a27b5d9642ea421e571fe1fa7eac0f4dfb16625769d57a4378613ca7f1b58531593f55044ef6efcb41a56fc4afd2a65c290c53f
39 -DIST arj_3.10.22-14.debian.tar.xz 16436 SHA256 992b740d8cce5e5c5c866f625a2201514930191548ee56df27c34905ea4be665 SHA512 a5d8cba4761e34324ac00275040c808597e4ec9efb46c1f97f894f9ecd6d29b3e5858d953d1bbe7d5f82226683003d128544e04e3e5cded6c38e9c87746a437e WHIRLPOOL 3974347c8795536645994865a15d1f39079542fe3b689e3311ff86daac83d9f1ac3ad3832aff453e6abc0f9737071e4c55f1012e1f97a2e237fae9a557cd368c
40 +DIST arj_3.10.22-15.debian.tar.xz 16756 SHA256 69d7f2a94c0a7c76e276904cae98a977fbc5275b3db6e020e2a414b5d91f422f SHA512 66e1bc3188afc24573fe98374f9b0cf939d0d3c7a1b356e6367ef544fb0e64721fa686fd1e791f58508576f0f50994878347bcb054f48ebe240cc9ab97e00688 WHIRLPOOL 79c02a23b9ea47cf91c0f8d6441c5b7a7e11c165fb833b8f39e2ee0aafcfdb4c2678e066d27fc7b387efbc190234997c302d9ca58b38b93c14ab04a516e223f7
41 DIST arj_3.10.22.orig.tar.gz 431467 SHA256 589e4c9bccc8669e7b6d8d6fcd64e01f6a2c21fe10aad56a83304ecc3b96a7db SHA512 4730dfdbab4f8095396c337578ed69bdaae52955ad468db50b52af8ad2846ecd6cfc05eb3ac0d03838c1c32ea60126f14a22b93e8181c06b9546456f3937ff76 WHIRLPOOL 86223959a938898126c544a75cbc0c4885777fe2eda3ccad2bbae47f8e3a31a409e2dca0dbbde8333e8c2ac77a1f350c7d95bbcba002f88ee94420f31d957319
42
43 diff --git a/app-arch/arj/arj-3.10.22-r6.ebuild b/app-arch/arj/arj-3.10.22-r7.ebuild
44 similarity index 59%
45 rename from app-arch/arj/arj-3.10.22-r6.ebuild
46 rename to app-arch/arj/arj-3.10.22-r7.ebuild
47 index b5ce2dd..52126ca 100644
48 --- a/app-arch/arj/arj-3.10.22-r6.ebuild
49 +++ b/app-arch/arj/arj-3.10.22-r7.ebuild
50 @@ -4,13 +4,13 @@
51
52 EAPI=6
53
54 -inherit autotools toolchain-funcs
55 +inherit autotools
56
57 -PATCH_LEVEL=14
58 +PATCH_LEVEL=15
59 MY_P="${PN}_${PV}"
60
61 DESCRIPTION="Utility for opening arj archives"
62 -HOMEPAGE="http://arj.sourceforge.net"
63 +HOMEPAGE="http://arj.sourceforge.net/"
64 SRC_URI="mirror://debian/pool/main/a/arj/${MY_P}.orig.tar.gz
65 mirror://debian/pool/main/a/arj/${MY_P}-${PATCH_LEVEL}.debian.tar.xz"
66
67 @@ -27,28 +27,26 @@ PATCHES=(
68 "${FILESDIR}/${P}-interix.patch"
69 )
70
71 +DOCS=(
72 + doc/compile.txt
73 + doc/debug.txt
74 + doc/glossary.txt
75 + doc/rev_hist.txt
76 + doc/xlation.txt
77 +)
78 +
79 src_prepare() {
80 default
81 - cd gnu || die
82 - mv configure.{in,ac} || die
83 - eautoreconf
84 -}
85 + cd gnu || die 'failed to change to the "gnu" directory'
86 + echo -n "" > stripgcc.lnk || die "failed to disable stripgcc.lnk"
87
88 -src_configure() {
89 - cd gnu || die
90 - CFLAGS="${CFLAGS} -Wall" econf
91 -}
92 -
93 -src_compile() {
94 - sed -i -e '/stripgcc/d' GNUmakefile || die
95 + # This gets rid of the QA warning, but should be fixed upstream...
96 + mv configure.{in,ac} || die 'failed to move configure.in to configure.ac'
97
98 - ARJLIBDIR="${EPREFIX}/usr/$(get_libdir)"
99 - emake CC=$(tc-getCC) libdir="${ARJLIBDIR}" \
100 - ADD_LDFLAGS="${LDFLAGS}" \
101 - pkglibdir="${ARJLIBDIR}" all
102 + eautoreconf
103 }
104
105 -src_install() {
106 - emake pkglibdir="${ARJLIBDIR}" DESTDIR="${D}" install
107 - dodoc doc/rev_hist.txt
108 +src_configure() {
109 + cd gnu || die 'failed to change to the "gnu" directory'
110 + econf
111 }