1 |
yngwin 09/01/19 21:46:04 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: italc-1.0.3-r1.ebuild |
5 |
Log: |
6 |
Make italc build with split Qt 4.4 |
7 |
(Portage version: 2.2_rc22/cvs/Linux 2.6.28-hh1 i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.12 net-misc/italc/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/italc/ChangeLog?rev=1.12&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/italc/ChangeLog?rev=1.12&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/italc/ChangeLog?r1=1.11&r2=1.12 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/italc/ChangeLog,v |
19 |
retrieving revision 1.11 |
20 |
retrieving revision 1.12 |
21 |
diff -u -r1.11 -r1.12 |
22 |
--- ChangeLog 25 Aug 2008 08:15:33 -0000 1.11 |
23 |
+++ ChangeLog 19 Jan 2009 21:46:04 -0000 1.12 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for net-misc/italc |
26 |
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/italc/ChangeLog,v 1.11 2008/08/25 08:15:33 jokey Exp $ |
28 |
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/italc/ChangeLog,v 1.12 2009/01/19 21:46:04 yngwin Exp $ |
30 |
+ |
31 |
+*italc-1.0.3-r1 (19 Jan 2009) |
32 |
+ |
33 |
+ 19 Jan 2009; Ben de Groot <yngwin@g.o> +italc-1.0.3-r1.ebuild: |
34 |
+ Make italc build with split Qt 4.4 |
35 |
|
36 |
25 Aug 2008; Markus Ullmann <jokey@g.o> italc-1.0.3.ebuild: |
37 |
Add missing inputproto dependency |
38 |
|
39 |
|
40 |
|
41 |
1.1 net-misc/italc/italc-1.0.3-r1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/italc/italc-1.0.3-r1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/italc/italc-1.0.3-r1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: italc-1.0.3-r1.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2009 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/italc/italc-1.0.3-r1.ebuild,v 1.1 2009/01/19 21:46:04 yngwin Exp $ |
51 |
|
52 |
EAPI=1 |
53 |
|
54 |
inherit autotools qt4 eutils autotools |
55 |
|
56 |
DESCRIPTION="Intelligent Teaching And Learning with Computers (iTALC) supports working with computers in school" |
57 |
HOMEPAGE="http://italc.sourceforge.net/" |
58 |
SRC_URI="mirror://sourceforge/italc/${P}.tar.bz2" |
59 |
|
60 |
LICENSE="GPL-2" |
61 |
SLOT="0" |
62 |
KEYWORDS="~amd64 ~x86" |
63 |
|
64 |
IUSE="X v4l crypt xinerama threads fbcon" |
65 |
|
66 |
RDEPEND="dev-libs/lzo |
67 |
sys-apps/tcp-wrappers |
68 |
media-libs/jpeg |
69 |
sys-libs/zlib |
70 |
dev-libs/openssl |
71 |
x11-libs/qt-gui:4 |
72 |
xinerama? ( x11-libs/libXinerama ) |
73 |
X? ( x11-libs/libICE |
74 |
x11-libs/libSM |
75 |
x11-libs/libX11 |
76 |
x11-libs/libXdamage |
77 |
x11-libs/libXext |
78 |
x11-libs/libXfixes |
79 |
x11-libs/libXrandr |
80 |
x11-libs/libXtst |
81 |
x11-misc/xinput )" |
82 |
DEPEND="${RDEPEND} |
83 |
X? ( x11-proto/inputproto )" |
84 |
|
85 |
pkg_setup() { |
86 |
enewgroup italc |
87 |
} |
88 |
|
89 |
src_unpack() { |
90 |
unpack ${A} |
91 |
cd "${S}" |
92 |
# From upstream subversion with extra modification for asneeded, |
93 |
# both working but very likely incorrect solutions. |
94 |
# http://italc.svn.sourceforge.net/viewvc/italc/branches/STABLE_1-0/configure.in?r1=217&r2=219 |
95 |
epatch "${FILESDIR}"/${P}-fpic-asneeded.patch |
96 |
eautoreconf |
97 |
} |
98 |
|
99 |
src_compile() { |
100 |
econf \ |
101 |
"--with-qtdir=${ROOT}/usr" \ |
102 |
"--with-linux" \ |
103 |
"--with-uinput" \ |
104 |
"--without-macosx-native" \ |
105 |
$(use_with xinerama) \ |
106 |
$(use_with X x) \ |
107 |
$(use_with X xkeyboard) \ |
108 |
$(use_with X xrandr) \ |
109 |
$(use_with X xfixes) \ |
110 |
$(use_with X xdamage) \ |
111 |
$(use_with X xtrap) \ |
112 |
$(use_with X xrecord) \ |
113 |
$(use_with X dpms) \ |
114 |
$(use_with v4l) \ |
115 |
$(use_with fbcon fbdev) \ |
116 |
$(use_with fbcon fbpm) \ |
117 |
$(use_with threads pthread) \ |
118 |
$(use_with crypt) \ |
119 |
|| die "econf failed" |
120 |
emake || die "make failed" |
121 |
} |
122 |
|
123 |
src_install() { |
124 |
emake DESTDIR="${D}" install || die "Install failed" |
125 |
rm -r "${D}/usr/share/italc" |
126 |
dodoc TODO README AUTHORS INSTALL ChangeLog |
127 |
|
128 |
# -- disabled per 2007-04-04 as the icon is missing in upstream file |
129 |
# -- joke |
130 |
# Install server logo |
131 |
#newicon ima/resources/client_manager.png ${PN}.png |
132 |
#make_desktop_entry "${PN}" "iTALC Master" "${PN}.png" "Qt;KDE;Education" |
133 |
} |
134 |
|
135 |
pkg_postinst() { |
136 |
elog "On the master, please run " |
137 |
elog "# emerge --config =${CATEGORY}/${PF}" |
138 |
|
139 |
elog "Please add the logins of master users (teachers) to the italc group by running" |
140 |
elog "# usermod -a -G italc <loginname>" |
141 |
|
142 |
elog "" |
143 |
} |
144 |
|
145 |
pkg_config() { |
146 |
if [ ! -d /etc/italc/keys ] ; then |
147 |
einfo "Creating public and private keys for italc in /etc/italc/keys." |
148 |
/usr/bin/ica -role teacher -createkeypair > /dev/null |
149 |
eend $? |
150 |
einfo "Setting chmod 640 on private keys." |
151 |
chgrp -R italc /etc/italc |
152 |
chmod -R o-rwx /etc/italc/keys/private |
153 |
else |
154 |
einfo "Not creating new keypair, as /etc/italc/keys already exists" |
155 |
fi |
156 |
} |