Gentoo Archives: gentoo-commits

From: "Pacho Ramos (pacho)" <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/argyllcms: argyllcms-1.4.0-r1.ebuild ChangeLog
Date: Sat, 01 Dec 2012 08:45:06
Message-Id: 20121201084455.6C76221666@flycatcher.gentoo.org
1 pacho 12/12/01 08:44:55
2
3 Modified: ChangeLog
4 Added: argyllcms-1.4.0-r1.ebuild
5 Log:
6 Fix CVE-2012-4405
7
8 (Portage version: 2.1.11.32/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
9
10 Revision Changes Path
11 1.26 media-gfx/argyllcms/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/argyllcms/ChangeLog?rev=1.26&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/argyllcms/ChangeLog?rev=1.26&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/argyllcms/ChangeLog?r1=1.25&r2=1.26
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-gfx/argyllcms/ChangeLog,v
20 retrieving revision 1.25
21 retrieving revision 1.26
22 diff -u -r1.25 -r1.26
23 --- ChangeLog 13 Oct 2012 11:00:14 -0000 1.25
24 +++ ChangeLog 1 Dec 2012 08:44:55 -0000 1.26
25 @@ -1,6 +1,12 @@
26 # ChangeLog for media-gfx/argyllcms
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/argyllcms/ChangeLog,v 1.25 2012/10/13 11:00:14 pinkbyte Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/argyllcms/ChangeLog,v 1.26 2012/12/01 08:44:55 pacho Exp $
30 +
31 +*argyllcms-1.4.0-r1 (01 Dec 2012)
32 +
33 + 01 Dec 2012; Pacho Ramos <pacho@g.o> +argyllcms-1.4.0-r1.ebuild,
34 + +files/argyllcms-1.4.0-CVE-2012-4405.patch:
35 + Fix CVE-2012-4405
36
37 13 Oct 2012; Sergey Popov <pinkbyte@g.o> argyllcms-1.4.0.ebuild:
38 Fix location for installing udev rules wrt bug #438114. Thanks to poncho for
39 @@ -143,4 +149,3 @@
40 New application, see bug 125774. Thanks go to Guillaume Castagnino and all
41 the previous authors of the ebuild (see bug 125774 for details), and to
42 chiiph, ohnobinki, and hwoarang for reviewing on IRC.
43 -
44
45
46
47 1.1 media-gfx/argyllcms/argyllcms-1.4.0-r1.ebuild
48
49 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/argyllcms/argyllcms-1.4.0-r1.ebuild?rev=1.1&view=markup
50 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/argyllcms/argyllcms-1.4.0-r1.ebuild?rev=1.1&content-type=text/plain
51
52 Index: argyllcms-1.4.0-r1.ebuild
53 ===================================================================
54 # Copyright 1999-2012 Gentoo Foundation
55 # Distributed under the terms of the GNU General Public License v2
56 # $Header: /var/cvsroot/gentoo-x86/media-gfx/argyllcms/argyllcms-1.4.0-r1.ebuild,v 1.1 2012/12/01 08:44:55 pacho Exp $
57
58 EAPI=5
59
60 inherit base toolchain-funcs
61
62 MY_P="Argyll_V${PV}"
63 DESCRIPTION="Open source, ICC compatible color management system"
64 HOMEPAGE="http://www.argyllcms.com/"
65 SRC_URI="http://www.argyllcms.com/${MY_P}_src.zip"
66
67 LICENSE="AGPL-3"
68 SLOT="0"
69 KEYWORDS="~amd64 ~x86"
70 IUSE="doc"
71
72 RDEPEND="media-libs/tiff
73 virtual/jpeg
74 sys-libs/zlib
75 x11-libs/libX11
76 x11-libs/libXau
77 x11-libs/libXdmcp
78 x11-libs/libXext
79 x11-libs/libXinerama
80 x11-libs/libXrandr
81 x11-libs/libXxf86vm
82 x11-libs/libXScrnSaver"
83 DEPEND="${RDEPEND}
84 app-arch/unzip
85 dev-util/ftjam
86 virtual/pkgconfig"
87
88 S="${WORKDIR}/${MY_P}"
89
90 PATCHES=( "${FILESDIR}/${PN}-1.4.0-jpeg.patch"
91 "${FILESDIR}/${PN}-1.4.0-CVE-2012-4405.patch" )
92
93 src_compile() {
94 # Make it respect LDFLAGS
95 echo "LINKFLAGS += ${LDFLAGS} ;" >> Jamtop
96
97 # Evil hack to get --as-needed working. The build system unfortunately lists all
98 # the shared libraries by default on the command line _before_ the object to be built...
99 echo "STDLIBS += -ldl -lrt -lX11 -lXext -lXxf86vm -lXinerama -lXrandr -lXau -lXdmcp -lXss -ltiff -ljpeg ;" >> Jamtop
100
101 local jobnumber=$(echo "${MAKEOPTS}" | sed -ne "/-j/ { s/.*\(-j[[:space:]]*[0-9]\+\).*/\1/; p }")
102 [ ${jobnumber} ] || jobnumber=-j1
103
104 jam -q -fJambase ${jobnumber} || die
105 }
106
107 src_install() {
108 jam -q -fJambase install || die
109
110 rm bin/License.txt || die
111
112 cd bin || die
113 local binname
114 for binname in * ; do
115 newbin ${binname} argyll-${binname}
116 done
117 cd .. || die
118
119 if use doc; then
120 dohtml doc/*
121 fi
122
123 dodoc log.txt Readme.txt ttbd.txt notes.txt
124
125 insinto /usr/share/${PN}/ref
126 doins ref/*
127
128 local udevdir=/lib/udev
129 has_version sys-fs/udev && udevdir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)"
130 insinto "${udevdir}"/rules.d
131 doins libusb/55-Argyll.rules
132 }
133
134 pkg_postinst() {
135 elog "If you have a Spyder2 you need to extract the firmware"
136 elog "from the CVSpyder.dll of the windows driver package"
137 elog "and store it as /usr/share/color/spyd2PLD.bin"
138 elog
139 elog "For further info on setting up instrument access read"
140 elog "http://www.argyllcms.com/doc/Installing_Linux.html"
141 elog
142 }