diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2009-08-01 22:33:39 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2009-08-01 22:33:39 +0000 |
commit | 0f1af20e04ce6c3c55c9156afa378d799cff1695 (patch) | |
tree | 3a0869da2e88abf871481d4d429e8376d38c44c7 /net-misc/tsclient | |
parent | Another bump, upstream says fixes to TRIM. (diff) | |
download | gentoo-2-0f1af20e04ce6c3c55c9156afa378d799cff1695.tar.gz gentoo-2-0f1af20e04ce6c3c55c9156afa378d799cff1695.tar.bz2 gentoo-2-0f1af20e04ce6c3c55c9156afa378d799cff1695.zip |
Version bump; experimental ebuild, since the code does not look extremely useful. This at least builds.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/tsclient')
-rw-r--r-- | net-misc/tsclient/ChangeLog | 12 | ||||
-rw-r--r-- | net-misc/tsclient/files/tsclient-2.0.1-no-networkmanager.patch | 40 | ||||
-rw-r--r-- | net-misc/tsclient/metadata.xml | 8 | ||||
-rw-r--r-- | net-misc/tsclient/tsclient-2.0.1.ebuild | 67 |
4 files changed, 121 insertions, 6 deletions
diff --git a/net-misc/tsclient/ChangeLog b/net-misc/tsclient/ChangeLog index aa7025e97a85..2625114efc86 100644 --- a/net-misc/tsclient/ChangeLog +++ b/net-misc/tsclient/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for net-misc/tsclient -# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/tsclient/ChangeLog,v 1.29 2009/05/23 21:52:05 beandog Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/tsclient/ChangeLog,v 1.30 2009/08/01 22:33:39 flameeyes Exp $ + +*tsclient-2.0.1 (01 Aug 2009) + + 01 Aug 2009; Diego E. Pettenò <flameeyes@gentoo.org> + +tsclient-2.0.1.ebuild, +files/tsclient-2.0.1-no-networkmanager.patch, + metadata.xml: + Version bump; experimental ebuild, since the code does not look extremely + useful. This at least builds. 23 May 2009; Steve Dibb <beandog@gentoo.org> tsclient-0.148.ebuild: Remove dodoc on non-existing file diff --git a/net-misc/tsclient/files/tsclient-2.0.1-no-networkmanager.patch b/net-misc/tsclient/files/tsclient-2.0.1-no-networkmanager.patch new file mode 100644 index 000000000000..bb6dace855d5 --- /dev/null +++ b/net-misc/tsclient/files/tsclient-2.0.1-no-networkmanager.patch @@ -0,0 +1,40 @@ +Index: tsclient-2.0.1/configure.ac +=================================================================== +--- tsclient-2.0.1.orig/configure.ac ++++ tsclient-2.0.1/configure.ac +@@ -32,7 +32,7 @@ AM_PROG_LIBTOOL + + ### get cflags and libs + +-PKG_CHECK_MODULES(TSC, glib-2.0 gmodule-2.0 gobject-2.0 gtk+-2.0 libglade-2.0 libgnome-2.0 gnome-desktop-2.0 gnome-vfs-2.0 libnotify gconf-2.0 libnm_glib) ++PKG_CHECK_MODULES(TSC, glib-2.0 gmodule-2.0 gobject-2.0 gtk+-2.0 libglade-2.0 libgnome-2.0 gnome-desktop-2.0 gnome-vfs-2.0 libnotify gconf-2.0) + TSC_CFLAGS="-Wall $TSC_CFLAGS" + + ### Internationalization support +Index: tsclient-2.0.1/src/Makefile.am +=================================================================== +--- tsclient-2.0.1.orig/src/Makefile.am ++++ tsclient-2.0.1/src/Makefile.am +@@ -36,7 +36,6 @@ tsclient_SOURCES = \ + tsc-main.c \ + tsc-marshal.c \ + tsc-manager.c \ +- tsc-network.c \ + tsc-provider.c \ + tsc-spawn.c \ + tsc-util.c \ +Index: tsclient-2.0.1/src/tsc-connection.c +=================================================================== +--- tsclient-2.0.1.orig/src/tsc-connection.c ++++ tsclient-2.0.1/src/tsc-connection.c +@@ -167,10 +167,6 @@ tsc_connection_start (TSCConnection *con + return TRUE; + } + +- if (!tsc_network_wait ()) { +- g_set_error (&my_error, TSC_ERROR, TSC_ERROR, _("Network connection is not available.")); +- } +- + class = TSC_CONNECTION_GET_CLASS (connection); + if (class->start == NULL) { + g_set_error (&my_error, TSC_ERROR, TSC_ERROR, "Start method not implemented"); diff --git a/net-misc/tsclient/metadata.xml b/net-misc/tsclient/metadata.xml index fe83d6c486fb..28be26d74f5d 100644 --- a/net-misc/tsclient/metadata.xml +++ b/net-misc/tsclient/metadata.xml @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<herd>gnome</herd> -<longdescription> -TSclient is a GTK2+ frontend for rdesktop. -</longdescription> + <herd>gnome</herd> + <maintainer> + <email>flameeyes@gentoo.org</email> + </maintainer> </pkgmetadata> diff --git a/net-misc/tsclient/tsclient-2.0.1.ebuild b/net-misc/tsclient/tsclient-2.0.1.ebuild new file mode 100644 index 000000000000..2238bc499e54 --- /dev/null +++ b/net-misc/tsclient/tsclient-2.0.1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/tsclient/tsclient-2.0.1.ebuild,v 1.1 2009/08/01 22:33:39 flameeyes Exp $ + +EAPI=2 + +inherit eutils autotools + +DESCRIPTION="GTK2 frontend for rdesktop" +HOMEPAGE="http://sourceforge.net/projects/${PN}" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +# Too broken upstream to support +RESTRICT=test + +RDEPEND="x11-libs/gtk+:2 + dev-libs/glib:2 + gnome-base/libglade:2.0 + gnome-base/libgnome + gnome-base/libgnomeui + gnome-base/gnome-desktop" + +DEPEND="${RDEPEND} + gnome-base/gconf + >=dev-util/intltool-0.27 + dev-util/pkgconfig" + +RDEPEND="${RDEPEND} + >=net-misc/rdesktop-1.3.0" + +src_prepare() { + epatch "${FILESDIR}"/${P}-no-networkmanager.patch + + # For recent libgnomeui + sed -i -e 's:libgnome-2\.0:\0 libgnomeui-2\.0:' \ + configure.ac || die + + # don't seem to be actually needed + sed -i -e 's:libnotify gconf-2.0::' \ + configure.ac || die + + eautoreconf +} + +src_configure() { + econf \ + --disable-static \ + --disable-dependency-tracking +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + dodoc AUTHORS NEWS README TODO || die + + find "${D}" -name '*.la' -delete || die + + # Don't install headers since we don't have any plugin that uses + # tsclient. If upstream ever release further plugins we'll restore + # them, but for now it seems like they just use a single plugin + # for the sake of it. + rm -r "${D}"/usr/include || die +} |