summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen de Groot <yngwin@gentoo.org>2009-01-19 21:46:04 +0000
committerBen de Groot <yngwin@gentoo.org>2009-01-19 21:46:04 +0000
commit2e8feba891a7a0c40d7b4d53d5e1d0835de53d3b (patch)
treee43e90aa59966c3feaf1111911571c8fe2050ff9 /net-misc/italc
parentBlock =mono-2.2 w.r.t. bug 255450. (diff)
downloadhistorical-2e8feba891a7a0c40d7b4d53d5e1d0835de53d3b.tar.gz
historical-2e8feba891a7a0c40d7b4d53d5e1d0835de53d3b.tar.bz2
historical-2e8feba891a7a0c40d7b4d53d5e1d0835de53d3b.zip
Make italc build with split Qt 4.4
Package-Manager: portage-2.2_rc22/cvs/Linux 2.6.28-hh1 i686
Diffstat (limited to 'net-misc/italc')
-rw-r--r--net-misc/italc/ChangeLog9
-rw-r--r--net-misc/italc/Manifest13
-rw-r--r--net-misc/italc/italc-1.0.3-r1.ebuild109
3 files changed, 118 insertions, 13 deletions
diff --git a/net-misc/italc/ChangeLog b/net-misc/italc/ChangeLog
index e77125b4aff6..c61578d1e21e 100644
--- a/net-misc/italc/ChangeLog
+++ b/net-misc/italc/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-misc/italc
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/italc/ChangeLog,v 1.11 2008/08/25 08:15:33 jokey Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/italc/ChangeLog,v 1.12 2009/01/19 21:46:04 yngwin Exp $
+
+*italc-1.0.3-r1 (19 Jan 2009)
+
+ 19 Jan 2009; Ben de Groot <yngwin@gentoo.org> +italc-1.0.3-r1.ebuild:
+ Make italc build with split Qt 4.4
25 Aug 2008; Markus Ullmann <jokey@gentoo.org> italc-1.0.3.ebuild:
Add missing inputproto dependency
diff --git a/net-misc/italc/Manifest b/net-misc/italc/Manifest
index 4dacfc218e09..d48610fc6693 100644
--- a/net-misc/italc/Manifest
+++ b/net-misc/italc/Manifest
@@ -1,17 +1,8 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX italc-1.0.3-fpic-asneeded.patch 918 RMD160 fa05d7c9d9e506a3ed5ad7c6a3d0b5a9b7a3dd0e SHA1 b7b57c48dd36101e81827dc5bd3ef723cb432c23 SHA256 269fbcd7f305b1680422324334627585180bb0288d051182a97b37c704ffdfc8
DIST italc-1.0.2.tar.bz2 2168941 RMD160 445d816497d5bc2f2724025e986a9a12566932d6 SHA1 b216e64e09e9ba50a3a39389ebb84a56d4f9d803 SHA256 7ef935ab21eb1f082e5670099fe39fcd402da8317ef2c2debe646dc712797929
DIST italc-1.0.3.tar.bz2 2215904 RMD160 0ffc8518aabdab9b6d0c23e464c35b20a216fc84 SHA1 bb14175bc9aa6a5530ea1cb78dd072e82a46b5f5 SHA256 8719c088e8e6b75a8319733dbc4661e7df9183db34ad1db561cb94c04348df50
EBUILD italc-1.0.2.ebuild 2453 RMD160 39ba258e0ce0bbeba275f059797bb9ab95c03a88 SHA1 b1fc56cfb45041e860544428f63b780186ccf1cf SHA256 c8edac65e41eccc81702f4f346afd543ead09a7320842552de5c5cbe02b890d4
+EBUILD italc-1.0.3-r1.ebuild 2833 RMD160 61102d42fd9258e76920d4d406dfb90f3f23235d SHA1 99ec362d309f99048cad37b09cc856dbb85d001f SHA256 8dffdf81d2f7bc7905d3678111b0119518957a1eed801181f7d7a6356387850f
EBUILD italc-1.0.3.ebuild 2829 RMD160 45c127ead1053a222d5f3cac3b52052c8cd1378d SHA1 32d4c05c7525b8ef6701b3fc6ea9a3222ad26223 SHA256 30a5ee74448488fb27a03e3b2e28100398a67b73dafc60bf863d6fc3334b0a31
-MISC ChangeLog 1845 RMD160 3d170cc712af971583f0bc0e11a6af2b9b781fa5 SHA1 a3910330d753899ca1d320b2a0c79845c0fcd840 SHA256 63777e81d6be008bc476c163ae76ec3c6b5354214dccae5f6b4509700d83d88e
+MISC ChangeLog 1987 RMD160 5c169d7ae198e4c16f81d527905b40d730593a6b SHA1 38f4d6e887d2e25e21fc11c824dffca0949c9d4a SHA256 ca232b15fc6ffceec28c64f45cc9489258e8a628ce023776c733d302c7707f89
MISC metadata.xml 254 RMD160 ead1eab9abeaef08c710959cbfca90e51608d979 SHA1 8a77820fc93d56766e0653a776419a59509e5e62 SHA256 e34969f3f290037e6297cc1752634e8fda356dd6f7849e2372103728a3f4a5e9
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
-
-iEYEARECAAYFAkiyajAACgkQz974XjDVpbniDwCcCBq3qvrBUweARXx535dk6v2d
-gyQAoN2I1QwU6Z7g/dI5baKIVEH248cM
-=cbHq
------END PGP SIGNATURE-----
diff --git a/net-misc/italc/italc-1.0.3-r1.ebuild b/net-misc/italc/italc-1.0.3-r1.ebuild
new file mode 100644
index 000000000000..57bf7d8448b7
--- /dev/null
+++ b/net-misc/italc/italc-1.0.3-r1.ebuild
@@ -0,0 +1,109 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $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 $
+
+EAPI=1
+
+inherit autotools qt4 eutils autotools
+
+DESCRIPTION="Intelligent Teaching And Learning with Computers (iTALC) supports working with computers in school"
+HOMEPAGE="http://italc.sourceforge.net/"
+SRC_URI="mirror://sourceforge/italc/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="X v4l crypt xinerama threads fbcon"
+
+RDEPEND="dev-libs/lzo
+ sys-apps/tcp-wrappers
+ media-libs/jpeg
+ sys-libs/zlib
+ dev-libs/openssl
+ x11-libs/qt-gui:4
+ xinerama? ( x11-libs/libXinerama )
+ X? ( x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXrandr
+ x11-libs/libXtst
+ x11-misc/xinput )"
+DEPEND="${RDEPEND}
+ X? ( x11-proto/inputproto )"
+
+pkg_setup() {
+ enewgroup italc
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ # From upstream subversion with extra modification for asneeded,
+ # both working but very likely incorrect solutions.
+ # http://italc.svn.sourceforge.net/viewvc/italc/branches/STABLE_1-0/configure.in?r1=217&r2=219
+ epatch "${FILESDIR}"/${P}-fpic-asneeded.patch
+ eautoreconf
+}
+
+src_compile() {
+ econf \
+ "--with-qtdir=${ROOT}/usr" \
+ "--with-linux" \
+ "--with-uinput" \
+ "--without-macosx-native" \
+ $(use_with xinerama) \
+ $(use_with X x) \
+ $(use_with X xkeyboard) \
+ $(use_with X xrandr) \
+ $(use_with X xfixes) \
+ $(use_with X xdamage) \
+ $(use_with X xtrap) \
+ $(use_with X xrecord) \
+ $(use_with X dpms) \
+ $(use_with v4l) \
+ $(use_with fbcon fbdev) \
+ $(use_with fbcon fbpm) \
+ $(use_with threads pthread) \
+ $(use_with crypt) \
+ || die "econf failed"
+ emake || die "make failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "Install failed"
+ rm -r "${D}/usr/share/italc"
+ dodoc TODO README AUTHORS INSTALL ChangeLog
+
+ # -- disabled per 2007-04-04 as the icon is missing in upstream file
+ # -- joke
+ # Install server logo
+ #newicon ima/resources/client_manager.png ${PN}.png
+ #make_desktop_entry "${PN}" "iTALC Master" "${PN}.png" "Qt;KDE;Education"
+}
+
+pkg_postinst() {
+ elog "On the master, please run "
+ elog "# emerge --config =${CATEGORY}/${PF}"
+
+ elog "Please add the logins of master users (teachers) to the italc group by running"
+ elog "# usermod -a -G italc <loginname>"
+
+ elog ""
+}
+
+pkg_config() {
+ if [ ! -d /etc/italc/keys ] ; then
+ einfo "Creating public and private keys for italc in /etc/italc/keys."
+ /usr/bin/ica -role teacher -createkeypair > /dev/null
+ eend $?
+ einfo "Setting chmod 640 on private keys."
+ chgrp -R italc /etc/italc
+ chmod -R o-rwx /etc/italc/keys/private
+ else
+ einfo "Not creating new keypair, as /etc/italc/keys already exists"
+ fi
+}