Gentoo Archives: gentoo-commits

From: "Markus Ullmann (jokey)" <jokey@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/italc: ChangeLog italc-1.0.9.ebuild metadata.xml italc-1.0.2.ebuild italc-1.0.3.ebuild
Date: Sat, 31 Jan 2009 21:21:15
Message-Id: E1LTNH6-0005K7-OQ@stork.gentoo.org
1 jokey 09/01/31 21:21:12
2
3 Modified: ChangeLog metadata.xml
4 Added: italc-1.0.9.ebuild
5 Removed: italc-1.0.2.ebuild italc-1.0.3.ebuild
6 Log:
7 Fix glibc 2.8 build w/ version bump, add option to build against system libvncserver
8 (Portage version: 2.2_rc23/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.14 net-misc/italc/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/italc/ChangeLog?rev=1.14&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/italc/ChangeLog?rev=1.14&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/italc/ChangeLog?r1=1.13&r2=1.14
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-misc/italc/ChangeLog,v
20 retrieving revision 1.13
21 retrieving revision 1.14
22 diff -u -r1.13 -r1.14
23 --- ChangeLog 21 Jan 2009 22:24:13 -0000 1.13
24 +++ ChangeLog 31 Jan 2009 21:21:12 -0000 1.14
25 @@ -1,6 +1,15 @@
26 # ChangeLog for net-misc/italc
27 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-misc/italc/ChangeLog,v 1.13 2009/01/21 22:24:13 maekke Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-misc/italc/ChangeLog,v 1.14 2009/01/31 21:21:12 jokey Exp $
30 +
31 +*italc-1.0.9 (31 Jan 2009)
32 +
33 + 31 Jan 2009; <jokey@g.o> +files/italc-1.0.9-qt4-libpath.patch,
34 + +files/italc-1.0.9-strip.patch,
35 + +files/italc-1.0.9-system-libvncserver.patch, metadata.xml,
36 + -italc-1.0.2.ebuild, -italc-1.0.3.ebuild, +italc-1.0.9.ebuild:
37 + Fix glibc 2.8 build w/ version bump, add option to build against system
38 + libvncserver
39
40 21 Jan 2009; Markus Meier <maekke@g.o> italc-1.0.3-r1.ebuild:
41 amd64/x86 stable, bug #248038
42
43
44
45 1.2 net-misc/italc/metadata.xml
46
47 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/italc/metadata.xml?rev=1.2&view=markup
48 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/italc/metadata.xml?rev=1.2&content-type=text/plain
49 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/italc/metadata.xml?r1=1.1&r2=1.2
50
51 Index: metadata.xml
52 ===================================================================
53 RCS file: /var/cvsroot/gentoo-x86/net-misc/italc/metadata.xml,v
54 retrieving revision 1.1
55 retrieving revision 1.2
56 diff -u -r1.1 -r1.2
57 --- metadata.xml 3 Apr 2007 22:34:13 -0000 1.1
58 +++ metadata.xml 31 Jan 2009 21:21:12 -0000 1.2
59 @@ -6,4 +6,7 @@
60 <email>jokey@g.o</email>
61 <name>Markus Ullmann</name>
62 </maintainer>
63 + <use>
64 + <flag name="system-libvncserver">Build against the system libvncserver (experimental)</flag>
65 + </use>
66 </pkgmetadata>
67
68
69
70 1.1 net-misc/italc/italc-1.0.9.ebuild
71
72 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/italc/italc-1.0.9.ebuild?rev=1.1&view=markup
73 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/italc/italc-1.0.9.ebuild?rev=1.1&content-type=text/plain
74
75 Index: italc-1.0.9.ebuild
76 ===================================================================
77 # Copyright 1999-2009 Gentoo Foundation
78 # Distributed under the terms of the GNU General Public License v2
79 # $Header: /var/cvsroot/gentoo-x86/net-misc/italc/italc-1.0.9.ebuild,v 1.1 2009/01/31 21:21:12 jokey Exp $
80
81 EAPI=2
82
83 inherit autotools qt4 eutils autotools
84
85 DESCRIPTION="Intelligent Teaching And Learning with Computers (iTALC) supports working with computers in school"
86 HOMEPAGE="http://italc.sourceforge.net/"
87 SRC_URI="mirror://sourceforge/italc/${P}.tar.bz2"
88
89 LICENSE="GPL-2"
90 SLOT="0"
91 KEYWORDS="~amd64 ~x86"
92
93 IUSE="X v4l crypt xinerama threads fbcon system-libvncserver"
94
95 RDEPEND="dev-libs/lzo
96 sys-apps/tcp-wrappers
97 media-libs/jpeg
98 sys-libs/zlib
99 dev-libs/openssl
100 x11-libs/qt-core
101 x11-libs/qt-xmlpatterns
102 system-libvncserver? ( net-libs/libvncserver )
103 xinerama? ( x11-libs/libXinerama )
104 X? ( x11-libs/libICE
105 x11-libs/libSM
106 x11-libs/libX11
107 x11-libs/libXdamage
108 x11-libs/libXext
109 x11-libs/libXfixes
110 x11-libs/libXrandr
111 x11-libs/libXtst
112 x11-misc/xinput
113 x11-libs/qt-gui:4 )"
114 DEPEND="${RDEPEND}
115 X? ( x11-proto/inputproto )"
116
117 pkg_setup() {
118 enewgroup italc
119 }
120
121 src_prepare() {
122 epatch "${FILESDIR}"/${P}-qt4-libpath.patch
123 epatch "${FILESDIR}"/${P}-strip.patch
124 use system-libvncserver && epatch "${FILESDIR}"/${P}-system-libvncserver.patch
125 eautoreconf
126 }
127
128 src_configure() {
129 econf \
130 "--with-qtdir=/usr" \
131 "--with-linux" \
132 "--with-uinput" \
133 "--without-macosx-native" \
134 $(use_with xinerama) \
135 $(use_with X x) \
136 $(use_with X xkeyboard) \
137 $(use_with X xrandr) \
138 $(use_with X xfixes) \
139 $(use_with X xdamage) \
140 $(use_with X xtrap) \
141 $(use_with X xrecord) \
142 $(use_with X dpms) \
143 $(use_with v4l) \
144 $(use_with fbcon fbdev) \
145 $(use_with fbcon fbpm) \
146 $(use_with threads pthread) \
147 $(use_with crypt) \
148 || die "econf failed"
149 }
150
151 src_install() {
152 emake DESTDIR="${D}" install || die "Install failed"
153 rm -r "${D}/usr/share/italc"
154 dodoc TODO README AUTHORS INSTALL ChangeLog
155
156 # -- disabled per 2007-04-04 as the icon is missing in upstream file
157 # -- joke
158 # Install server logo
159 #newicon ima/resources/client_manager.png ${PN}.png
160 #make_desktop_entry "${PN}" "iTALC Master" "${PN}.png" "Qt;KDE;Education"
161 }
162
163 pkg_postinst() {
164 elog "On the master, please run "
165 elog "# emerge --config =${CATEGORY}/${PF}"
166
167 elog "Please add the logins of master users (teachers) to the italc group by running"
168 elog "# usermod -a -G italc <loginname>"
169
170 elog ""
171 }
172
173 pkg_config() {
174 if [ ! -d /etc/italc/keys ] ; then
175 einfo "Creating public and private keys for italc in /etc/italc/keys."
176 /usr/bin/ica -role teacher -createkeypair > /dev/null
177 eend $?
178 einfo "Setting chmod 640 on private keys."
179 chgrp -R italc /etc/italc
180 chmod -R o-rwx /etc/italc/keys/private
181 else
182 einfo "Not creating new keypair, as /etc/italc/keys already exists"
183 fi
184 }