Gentoo Archives: gentoo-commits

From: "Andreas HAttel (dilfridge)" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/argyllcms: ChangeLog argyllcms-1.3.3.ebuild argyllcms-1.3.2-r1.ebuild argyllcms-1.3.2.ebuild
Date: Sun, 29 May 2011 10:51:23
Message-Id: 20110529105112.B0E1B20054@flycatcher.gentoo.org
1 dilfridge 11/05/29 10:51:12
2
3 Modified: ChangeLog
4 Added: argyllcms-1.3.3.ebuild
5 Removed: argyllcms-1.3.2-r1.ebuild argyllcms-1.3.2.ebuild
6 Log:
7 Version bump; drop old
8
9 (Portage version: 2.1.9.49/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.10 media-gfx/argyllcms/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/argyllcms/ChangeLog?rev=1.10&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/argyllcms/ChangeLog?rev=1.10&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/argyllcms/ChangeLog?r1=1.9&r2=1.10
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/media-gfx/argyllcms/ChangeLog,v
21 retrieving revision 1.9
22 retrieving revision 1.10
23 diff -u -r1.9 -r1.10
24 --- ChangeLog 26 Feb 2011 17:06:55 -0000 1.9
25 +++ ChangeLog 29 May 2011 10:51:12 -0000 1.10
26 @@ -1,6 +1,12 @@
27 # ChangeLog for media-gfx/argyllcms
28 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/argyllcms/ChangeLog,v 1.9 2011/02/26 17:06:55 signals Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/argyllcms/ChangeLog,v 1.10 2011/05/29 10:51:12 dilfridge Exp $
31 +
32 +*argyllcms-1.3.3 (29 May 2011)
33 +
34 + 29 May 2011; Andreas K. Huettel <dilfridge@g.o>
35 + -argyllcms-1.3.2.ebuild, -argyllcms-1.3.2-r1.ebuild, +argyllcms-1.3.3.ebuild:
36 + Version bump; drop old
37
38 26 Feb 2011; Kevin McCarthy <signals@g.o> argyllcms-1.3.0.ebuild:
39 Updated depends from media-libs/jpeg to virtual/jpeg
40
41
42
43 1.1 media-gfx/argyllcms/argyllcms-1.3.3.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/argyllcms/argyllcms-1.3.3.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/argyllcms/argyllcms-1.3.3.ebuild?rev=1.1&content-type=text/plain
47
48 Index: argyllcms-1.3.3.ebuild
49 ===================================================================
50 # Copyright 1999-2011 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/media-gfx/argyllcms/argyllcms-1.3.3.ebuild,v 1.1 2011/05/29 10:51:12 dilfridge Exp $
53
54 MY_P="Argyll_V${PV}"
55 DESCRIPTION="Open source, ICC compatible color management system"
56 HOMEPAGE="http://www.argyllcms.com/"
57 SRC_URI="http://www.argyllcms.com/${MY_P}_src.zip"
58
59 LICENSE="AGPL-3"
60 SLOT="0"
61 KEYWORDS="~amd64 ~x86"
62 IUSE="doc"
63
64 RDEPEND="media-libs/tiff
65 virtual/jpeg
66 sys-libs/zlib
67 x11-libs/libX11
68 x11-libs/libXau
69 x11-libs/libXdmcp
70 x11-libs/libXext
71 x11-libs/libXinerama
72 x11-libs/libXrandr
73 x11-libs/libXxf86vm
74 x11-libs/libXScrnSaver"
75 DEPEND="${RDEPEND}
76 app-arch/unzip
77 dev-util/ftjam"
78
79 S="${WORKDIR}/${MY_P}"
80
81 src_compile() {
82 # Make it respect LDFLAGS
83 echo "LINKFLAGS += ${LDFLAGS} ;" >> Jamtop
84
85 # Evil hack to get --as-needed working. The build system unfortunately lists all
86 # the shared libraries by default on the command line _before_ the object to be built...
87 echo "STDLIBS += -ldl -lrt -lX11 -lXext -lXxf86vm -lXinerama -lXrandr -lXau -lXdmcp -lXss -ltiff ;" >> Jamtop
88
89 local jobnumber=$(echo "${MAKEOPTS}" | sed -ne "/-j/ { s/.*\(-j[[:space:]]*[0-9]\+\).*/\1/; p }")
90 [ ${jobnumber} ] || jobnumber=-j1
91
92 jam -q -fJambase ${jobnumber} || die
93 }
94
95 src_install() {
96 jam -q -fJambase install || die
97
98 rm bin/License.txt || die
99
100 cd bin || die
101 local binname
102 for binname in * ; do
103 newbin ${binname} argyll-${binname} || die
104 done
105 cd .. || die
106
107 if use doc; then
108 dohtml doc/* || die
109 fi
110
111 dodoc log.txt Readme.txt ttbd.txt notes.txt || die
112
113 insinto /usr/share/${PN}/ref
114 doins ref/* || die
115
116 insinto /etc/udev/rules.d
117 doins libusb/55-Argyll.rules || die
118 }
119
120 pkg_postinst() {
121 elog "To avoid file collisions, all binary names have been prefixed"
122 elog "with \"argyll-\". E.g., the \"refine\" program is now called"
123 elog "\"argyll-refine\"."
124 elog
125 elog "If you have a Spyder2 you need to extract the firmware"
126 elog "from the spyder2_setup.exe (ColorVision CD)"
127 elog "and store it as /usr/bin/spyd2PLD.bin"
128 elog
129 elog "For further info on setting up instrument access read"
130 elog "http://www.argyllcms.com/doc/Installing_Linux.html"
131 elog
132 }