From dfe0d242c2bf37921d0dde5207c9d7b7ee3f2fec Mon Sep 17 00:00:00 2001 From: Bernard Cafarelli Date: Tue, 26 Jan 2010 12:50:28 +0000 Subject: x2goclient-gtk ebuild based on joachim Langenbach's ebuild in bug #249600 Runs in an infinite loop at startup, so still not working svn path=/testing/; revision=242 --- metadata/cache/net-misc/x2goclient-gtk-3.01.8 | 22 ++++++++ net-misc/x2goclient-gtk/Manifest | 3 + .../files/x2goclient-gtk-3.01-8.patch | 12 ++++ .../x2goclient-gtk/x2goclient-gtk-3.01.8.ebuild | 65 ++++++++++++++++++++++ 4 files changed, 102 insertions(+) create mode 100644 metadata/cache/net-misc/x2goclient-gtk-3.01.8 create mode 100644 net-misc/x2goclient-gtk/Manifest create mode 100644 net-misc/x2goclient-gtk/files/x2goclient-gtk-3.01-8.patch create mode 100644 net-misc/x2goclient-gtk/x2goclient-gtk-3.01.8.ebuild diff --git a/metadata/cache/net-misc/x2goclient-gtk-3.01.8 b/metadata/cache/net-misc/x2goclient-gtk-3.01.8 new file mode 100644 index 0000000..7f84848 --- /dev/null +++ b/metadata/cache/net-misc/x2goclient-gtk-3.01.8 @@ -0,0 +1,22 @@ +dev-cpp/gtkmm dev-cpp/gconfmm dev-cpp/glibmm dev-cpp/libglademm dev-lang/perl dev-perl/XML-Parser net-print/cups =sys-devel/automake-1.10* >=sys-devel/autoconf-2.61 sys-devel/libtool +dev-cpp/gtkmm dev-cpp/gconfmm dev-cpp/glibmm dev-cpp/libglademm +0 +http://x2go.obviously-nice.de/deb/pool-lenny/x2goclient-gtk/x2goclient-gtk_3.01-8.tar.gz + +http://x2go.berlios.de +GPL-2 +The X2Go GTK Client +~amd64 ~x86 +autotools eutils libtool multilib portability toolchain-funcs versionator + + + + +2 + +install prepare + + + + + diff --git a/net-misc/x2goclient-gtk/Manifest b/net-misc/x2goclient-gtk/Manifest new file mode 100644 index 0000000..885d881 --- /dev/null +++ b/net-misc/x2goclient-gtk/Manifest @@ -0,0 +1,3 @@ +AUX x2goclient-gtk-3.01-8.patch 549 RMD160 12b68347de1ecdc0758b871b5f5099d80c1cacae SHA1 197de9d763fab2a7a3676e5db2808b30951c4649 SHA256 84f1022ecf76f059d8018a96f20b26466699287f30f22f18e6ce80c69ab56a14 +DIST x2goclient-gtk_3.01-8.tar.gz 741689 RMD160 973dec6246dd61db346348f38b86b03b667d6325 SHA1 cc6853a18cef590e3fa63529a6f74af361d736f8 SHA256 63b25d21bc42eb16b81e6ff63c36728d4989f9354951433cdd62aa2443559c07 +EBUILD x2goclient-gtk-3.01.8.ebuild 1362 RMD160 644a8de2109b34709b523296961ef948af6b85f2 SHA1 b0c10bf07fae5bf5ac319ddf897a686b8716fa84 SHA256 5b9024b667ec240a0c12590b8a40c8ed1cf9b608a6e01219875982e962e15887 diff --git a/net-misc/x2goclient-gtk/files/x2goclient-gtk-3.01-8.patch b/net-misc/x2goclient-gtk/files/x2goclient-gtk-3.01-8.patch new file mode 100644 index 0000000..717a59c --- /dev/null +++ b/net-misc/x2goclient-gtk/files/x2goclient-gtk-3.01-8.patch @@ -0,0 +1,12 @@ +diff -u --recursive --new-file x2goclient-gtk-3.01/src/main_window.cc x2goclient-gtk-3.01-mod/src/main_window.cc +--- x2goclient-gtk-3.01/src/main_window.cc 2009-09-24 20:02:33.000000000 +0200 ++++ x2goclient-gtk-3.01-mod/src/main_window.cc 2009-10-11 15:50:43.000000000 +0200 +@@ -37,7 +37,7 @@ + #include "config.h" + #include + #if GTKMM_MAJOR_VERSION==2 && GTKMM_MINOR_VERSION>2 +-#include ++// #include + #define GMM_GTKMM_22_24(a,b) b + #else //gtkmm 2.2 + #define GMM_GTKMM_22_24(a,b) a diff --git a/net-misc/x2goclient-gtk/x2goclient-gtk-3.01.8.ebuild b/net-misc/x2goclient-gtk/x2goclient-gtk-3.01.8.ebuild new file mode 100644 index 0000000..e22ebba --- /dev/null +++ b/net-misc/x2goclient-gtk/x2goclient-gtk-3.01.8.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=2 + +inherit versionator eutils autotools + +MAJOR_PV="$(get_version_component_range 1-2)" +FULL_PV="${MAJOR_PV}-$(get_version_component_range 3)" +DESCRIPTION="The X2Go GTK Client " +HOMEPAGE="http://x2go.berlios.de" +SRC_URI="http://x2go.obviously-nice.de/deb/pool-lenny/${PN}/${PN}_${FULL_PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +S=${WORKDIR}/${PN}-${MAJOR_PV} + +RDEPEND="dev-cpp/gtkmm + dev-cpp/gconfmm + dev-cpp/glibmm + dev-cpp/libglademm" + +DEPEND="${RDEPEND} + dev-lang/perl + dev-perl/XML-Parser + net-print/cups" + + +src_prepare() { + epatch "${FILESDIR}"/${PN}-${FULL_PV}.patch + eautoreconf +} + +src_install() { + BINNAME="x2goclient_gtk" + ICONDIR="/usr/share/${BINNAME}/png" + + dobin src/${BINNAME} + dodoc README + + # glade files + insinto /usr/share/x2goclient_gtk/glade + doins glade/* + + # copying the icons + + insinto ${ICONDIR} + doins png/* + insinto ${ICONDIR}/icons/ + doins png/icons/* + insinto ${ICONDIR}/icons/16x16 + doins png/icons/16x16/* + insinto ${ICONDIR}/icons/32x32 + doins png/icons/32x32/* + insinto ${ICONDIR}/icons/64x64 + doins png/icons/64x64/* + insinto ${ICONDIR}/icons/128x128 + doins png/icons/128x128/* + + make_desktop_entry /usr/bin/${BINNAME} "X2Go GTK-Client" ${BINNAME}/128x128/x2go.png "Network" +} -- cgit v1.2.3-65-gdbad