Gentoo Archives: gentoo-commits

From: "Chi-Thanh Christopher Nguyen (chithanh)" <chithanh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-libs/libSM: ChangeLog libSM-1.2.1.ebuild
Date: Sun, 04 Mar 2012 21:03:24
Message-Id: 20120304210314.D97BA2004B@flycatcher.gentoo.org
1 chithanh 12/03/04 21:03:14
2
3 Modified: ChangeLog
4 Added: libSM-1.2.1.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha89/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.92 x11-libs/libSM/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libSM/ChangeLog?rev=1.92&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libSM/ChangeLog?rev=1.92&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libSM/ChangeLog?r1=1.91&r2=1.92
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/x11-libs/libSM/ChangeLog,v
20 retrieving revision 1.91
21 retrieving revision 1.92
22 diff -u -r1.91 -r1.92
23 --- ChangeLog 19 Dec 2011 09:13:17 -0000 1.91
24 +++ ChangeLog 4 Mar 2012 21:03:14 -0000 1.92
25 @@ -1,6 +1,12 @@
26 # ChangeLog for x11-libs/libSM
27 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/libSM/ChangeLog,v 1.91 2011/12/19 09:13:17 grobian Exp $
29 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/libSM/ChangeLog,v 1.92 2012/03/04 21:03:14 chithanh Exp $
31 +
32 +*libSM-1.2.1 (04 Mar 2012)
33 +
34 + 04 Mar 2012; Chí-Thanh Christopher Nguyễn <chithanh@g.o>
35 + +libSM-1.2.1.ebuild:
36 + Version bump.
37
38 19 Dec 2011; Fabian Groffen <grobian@g.o> libSM-1.2.0.ebuild:
39 Drop no longer existing elibc_IRIX flag
40
41
42
43 1.1 x11-libs/libSM/libSM-1.2.1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libSM/libSM-1.2.1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libSM/libSM-1.2.1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: libSM-1.2.1.ebuild
49 ===================================================================
50 # Copyright 1999-2012 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/x11-libs/libSM/libSM-1.2.1.ebuild,v 1.1 2012/03/04 21:03:14 chithanh Exp $
53
54 EAPI=4
55
56 XORG_DOC=doc
57 inherit xorg-2
58
59 DESCRIPTION="X.Org SM library"
60
61 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
62 IUSE="doc ipv6 +uuid"
63
64 RDEPEND=">=x11-libs/libICE-1.0.5
65 x11-libs/xtrans
66 x11-proto/xproto
67 !elibc_FreeBSD? ( !elibc_SunOS? (
68 uuid? ( >=sys-apps/util-linux-2.16 )
69 ) )"
70 DEPEND="${RDEPEND}"
71
72 pkg_setup() {
73 local withuuid=$(use_with uuid libuuid)
74 xorg-2_pkg_setup
75
76 # do not use uuid even if available in libc (like on FreeBSD)
77 use uuid || export ac_cv_func_uuid_create=no
78
79 if use uuid ; then
80 case ${CHOST} in
81 *-solaris*|*-darwin*)
82 if [[ ! -d ${EROOT}usr/include/uuid ]] &&
83 [[ -d ${ROOT}usr/include/uuid ]]
84 then
85 # Solaris and Darwin have uuid provided by the host
86 # system. Since util-linux's version is based on this
87 # version, and on Darwin actually breaks host headers when
88 # installed, we can "pretend" for libSM we have libuuid
89 # installed, while in fact we don't
90 withuuid="--without-libuuid"
91 export HAVE_LIBUUID=yes
92 export LIBUUID_CFLAGS="-I${ROOT}usr/include/uuid"
93 # Darwin has uuid in libSystem
94 [[ ${CHOST} == *-solaris* ]] && export LIBUUID_LIBS="-luuid"
95 fi
96 ;;
97 esac
98 fi
99 XORG_CONFIGURE_OPTIONS=(
100 $(use_enable ipv6)
101 $(use_enable doc docs)
102 $(use_with doc xmlto)
103 ${withuuid}
104 --without-fop
105 )
106 }