Gentoo Archives: gentoo-commits

From: "Lars Wendler (polynomial-c)" <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-libs/e2fsprogs-libs: e2fsprogs-libs-1.42.12.ebuild ChangeLog
Date: Fri, 05 Sep 2014 18:39:53
Message-Id: 20140905183949.C3AE64CC1@oystercatcher.gentoo.org
1 polynomial-c 14/09/05 18:39:49
2
3 Modified: ChangeLog
4 Added: e2fsprogs-libs-1.42.12.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)
9
10 Revision Changes Path
11 1.130 sys-libs/e2fsprogs-libs/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/e2fsprogs-libs/ChangeLog?rev=1.130&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/e2fsprogs-libs/ChangeLog?rev=1.130&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/e2fsprogs-libs/ChangeLog?r1=1.129&r2=1.130
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-libs/e2fsprogs-libs/ChangeLog,v
20 retrieving revision 1.129
21 retrieving revision 1.130
22 diff -u -r1.129 -r1.130
23 --- ChangeLog 12 Aug 2014 05:57:34 -0000 1.129
24 +++ ChangeLog 5 Sep 2014 18:39:49 -0000 1.130
25 @@ -1,6 +1,12 @@
26 # ChangeLog for sys-libs/e2fsprogs-libs
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/e2fsprogs-libs/ChangeLog,v 1.129 2014/08/12 05:57:34 vapier Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/e2fsprogs-libs/ChangeLog,v 1.130 2014/09/05 18:39:49 polynomial-c Exp $
30 +
31 +*e2fsprogs-libs-1.42.12 (05 Sep 2014)
32 +
33 + 05 Sep 2014; Lars Wendler <polynomial-c@g.o>
34 + +e2fsprogs-libs-1.42.12.ebuild:
35 + Version bump.
36
37 12 Aug 2014; Mike Frysinger <vapier@g.o> e2fsprogs-libs-1.42.11.ebuild:
38 Fix USE=-nls builds that lack gettext.
39
40
41
42 1.1 sys-libs/e2fsprogs-libs/e2fsprogs-libs-1.42.12.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/e2fsprogs-libs/e2fsprogs-libs-1.42.12.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/e2fsprogs-libs/e2fsprogs-libs-1.42.12.ebuild?rev=1.1&content-type=text/plain
46
47 Index: e2fsprogs-libs-1.42.12.ebuild
48 ===================================================================
49 # Copyright 1999-2014 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sys-libs/e2fsprogs-libs/e2fsprogs-libs-1.42.12.ebuild,v 1.1 2014/09/05 18:39:49 polynomial-c Exp $
52
53 EAPI="4"
54
55 case ${PV} in
56 *_pre*) UP_PV="${PV%_pre*}-WIP-${PV#*_pre}" ;;
57 *) UP_PV=${PV} ;;
58 esac
59
60 inherit autotools toolchain-funcs eutils multilib-minimal
61
62 DESCRIPTION="e2fsprogs libraries (common error and subsystem)"
63 HOMEPAGE="http://e2fsprogs.sourceforge.net/"
64 SRC_URI="mirror://sourceforge/e2fsprogs/${PN}-${UP_PV}.tar.gz"
65
66 LICENSE="GPL-2"
67 SLOT="0"
68 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~m68k-mint ~x86-solaris"
69 IUSE="nls static-libs"
70
71 RDEPEND="!sys-libs/com_err
72 !sys-libs/ss
73 !<sys-fs/e2fsprogs-1.41.8
74 abi_x86_32? (
75 !<=app-emulation/emul-linux-x86-baselibs-20130224-r12
76 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
77 )"
78 DEPEND="nls? ( sys-devel/gettext )
79 virtual/pkgconfig"
80
81 S=${WORKDIR}/${P%_pre*}
82
83 src_prepare() {
84 printf 'all:\n%%:;@:\n' > doc/Makefile.in # don't bother with docs #305613
85 epatch "${FILESDIR}"/${PN}-1.42.9-no-quota.patch
86 epatch "${FILESDIR}"/${PN}-1.42.10-fix-build-cflags.patch
87 # Not everyone has gettext installed (like USE=-nls).
88 echo 'm4_ifndef([AM_GNU_GETTEXT],[m4_define([AM_GNU_GETTEXT])])' >> acinclude.m4
89 eautoreconf
90 }
91
92 multilib_src_configure() {
93 local myconf=()
94 # we use blkid/uuid from util-linux now
95 if use kernel_linux ; then
96 export ac_cv_lib_{uuid_uuid_generate,blkid_blkid_get_cache}=yes
97 myconf+=( --disable-lib{blkid,uuid} )
98 fi
99 ac_cv_path_LDCONFIG=: \
100 ECONF_SOURCE="${S}" \
101 CC="$(tc-getCC)" \
102 BUILD_CC="$(tc-getBUILD_CC)" \
103 BUILD_LD="$(tc-getBUILD_LD)" \
104 econf \
105 --disable-quota \
106 $(tc-is-static-only || echo --enable-elf-shlibs) \
107 $(tc-has-tls || echo --disable-tls) \
108 $(use_enable nls) \
109 "${myconf[@]}"
110 }
111
112 multilib_src_compile() {
113 emake V=1
114 }
115
116 multilib_src_install() {
117 emake V=1 STRIP=: DESTDIR="${D}" install || die
118 multilib_is_native_abi && gen_usr_ldscript -a com_err ss $(usex kernel_linux '' 'uuid blkid')
119 # configure doesn't have an option to disable static libs :/
120 use static-libs || find "${ED}" -name '*.a' -delete
121 }