diff options
Diffstat (limited to 'dev-util/telepathy-inspector')
6 files changed, 148 insertions, 0 deletions
diff --git a/dev-util/telepathy-inspector/ChangeLog b/dev-util/telepathy-inspector/ChangeLog new file mode 100644 index 000000000000..86aca5152b7b --- /dev/null +++ b/dev-util/telepathy-inspector/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-util/telepathy-inspector +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/telepathy-inspector/ChangeLog,v 1.1 2007/06/27 12:35:56 coldwind Exp $ + +*telepathy-inspector-0.5.0 (27 Jun 2007) + + 27 Jun 2007; Santiago M. Mola <coldwind@gentoo.org> + +files/telepathy-inspector-0.5.0-scons.patch, +metadata.xml, + +telepathy-inspector-0.5.0.ebuild: + Initial import from voip-overlay. + diff --git a/dev-util/telepathy-inspector/Manifest b/dev-util/telepathy-inspector/Manifest new file mode 100644 index 000000000000..c1f77c696e1a --- /dev/null +++ b/dev-util/telepathy-inspector/Manifest @@ -0,0 +1,20 @@ +AUX telepathy-inspector-0.5.0-scons.patch 2551 RMD160 332877c3559691ab5caf544fbcb8645425e48270 SHA1 86fbbbad7bc5f9306ba456ae1bf390083d2afb19 SHA256 ee42a7d0b5c69731a5d8d84ba38febd5556510e336a55a5c854a7fe7714af1c4 +MD5 0516748d72aa5a74fa798df2d3c57228 files/telepathy-inspector-0.5.0-scons.patch 2551 +RMD160 332877c3559691ab5caf544fbcb8645425e48270 files/telepathy-inspector-0.5.0-scons.patch 2551 +SHA256 ee42a7d0b5c69731a5d8d84ba38febd5556510e336a55a5c854a7fe7714af1c4 files/telepathy-inspector-0.5.0-scons.patch 2551 +DIST telepathy-inspector-0.5.0.tar.gz 118614 RMD160 2c6059b92cceb61dbb4c422ca9f7d9632f892c71 SHA1 2f5a8ed769235367363d97079ee497d283ab0f0e SHA256 16ff39f1d80e6898d0c58e634211254833e6067bd55bc3b4eefabf53cbe6844d +EBUILD telepathy-inspector-0.5.0.ebuild 1091 RMD160 a99739ad58b65c2d24a2550b5c7ad5905db764d4 SHA1 1f5d3814254ee4767d2ff029b6326317ede7fe4d SHA256 d3ba8c1f24dd29985603dfc9b96d85bc39ad3d3eeede2051ca6742cc9f4af8a6 +MD5 41483bcaaed1eb640f1082e41d8aecea telepathy-inspector-0.5.0.ebuild 1091 +RMD160 a99739ad58b65c2d24a2550b5c7ad5905db764d4 telepathy-inspector-0.5.0.ebuild 1091 +SHA256 d3ba8c1f24dd29985603dfc9b96d85bc39ad3d3eeede2051ca6742cc9f4af8a6 telepathy-inspector-0.5.0.ebuild 1091 +MISC ChangeLog 464 RMD160 9e10240407975a68e434b832c710d36dbd17175e SHA1 eae4a2267bdde2bf868bebca3d27f943754c30b0 SHA256 c8d4509bf5bf5150feba0f2406fe96c2b72804c95020cd8ad65ddb3d24ab5356 +MD5 7619f2aa545145f25a6d612f4d91feed ChangeLog 464 +RMD160 9e10240407975a68e434b832c710d36dbd17175e ChangeLog 464 +SHA256 c8d4509bf5bf5150feba0f2406fe96c2b72804c95020cd8ad65ddb3d24ab5356 ChangeLog 464 +MISC metadata.xml 368 RMD160 1c070f76f48ba65d7899db5f6215352629f826a8 SHA1 b95030aa3433f36a71d6bec2ac3725ed2c4f3bf9 SHA256 6b6b1a3838e57204184683c4b159dfc38b953a7917d0088497ed00eb1ef009f9 +MD5 dbe7fdeaa1eda4c71ccb61f9816c0983 metadata.xml 368 +RMD160 1c070f76f48ba65d7899db5f6215352629f826a8 metadata.xml 368 +SHA256 6b6b1a3838e57204184683c4b159dfc38b953a7917d0088497ed00eb1ef009f9 metadata.xml 368 +MD5 a78d9e3dd39ad8b2990c003668befedc files/digest-telepathy-inspector-0.5.0 277 +RMD160 2f32a9bd8e9b1029f62804e8146972001b15b3a9 files/digest-telepathy-inspector-0.5.0 277 +SHA256 7cd239a8d4457c3b848cc50f7f6bfe081efe162389e423ed078e560c9f5d2e3c files/digest-telepathy-inspector-0.5.0 277 diff --git a/dev-util/telepathy-inspector/files/digest-telepathy-inspector-0.5.0 b/dev-util/telepathy-inspector/files/digest-telepathy-inspector-0.5.0 new file mode 100644 index 000000000000..a48f0b211593 --- /dev/null +++ b/dev-util/telepathy-inspector/files/digest-telepathy-inspector-0.5.0 @@ -0,0 +1,3 @@ +MD5 7fe5810c15edacb0d9c5590d3767f8f0 telepathy-inspector-0.5.0.tar.gz 118614 +RMD160 2c6059b92cceb61dbb4c422ca9f7d9632f892c71 telepathy-inspector-0.5.0.tar.gz 118614 +SHA256 16ff39f1d80e6898d0c58e634211254833e6067bd55bc3b4eefabf53cbe6844d telepathy-inspector-0.5.0.tar.gz 118614 diff --git a/dev-util/telepathy-inspector/files/telepathy-inspector-0.5.0-scons.patch b/dev-util/telepathy-inspector/files/telepathy-inspector-0.5.0-scons.patch new file mode 100644 index 000000000000..34d9a4d38674 --- /dev/null +++ b/dev-util/telepathy-inspector/files/telepathy-inspector-0.5.0-scons.patch @@ -0,0 +1,57 @@ +diff -ur telepathy-inspector-0.5.0.orig/data/SConscript telepathy-inspector-0.5.0/data/SConscript +--- telepathy-inspector-0.5.0.orig/data/SConscript 2007-06-27 12:10:15.000000000 +0200 ++++ telepathy-inspector-0.5.0/data/SConscript 2007-06-27 12:10:48.000000000 +0200 +@@ -27,7 +27,8 @@ + + Import ('env') + +-install_dir = os.path.join (env['PREFIX'], 'share', 'telepathy-inspector') ++_r = lambda p: (p[0] == '/') and p[1:] or p ++install_dir = os.path.join('/', env['DESTDIR'], _r(env['PREFIX']), 'share', 'telepathy-inspector') + + data_install = env.Install (install_dir, data_files) + env.Alias ('install', data_install) +diff -ur telepathy-inspector-0.5.0.orig/SConstruct telepathy-inspector-0.5.0/SConstruct +--- telepathy-inspector-0.5.0.orig/SConstruct 2007-06-27 12:10:15.000000000 +0200 ++++ telepathy-inspector-0.5.0/SConstruct 2007-06-27 13:56:42.000000000 +0200 +@@ -21,7 +21,9 @@ + + # Get our configuration options: + opts = Options(options_filename) +-opts.Add('PREFIX', 'Directory to install under', '/usr/local') ++opts.Add('PREFIX', 'A prefix for all paths', '/usr/local') ++opts.Add('DESTDIR', 'Directory to install under', '') ++opts.Add('CCFLAGS', 'Compiler flags', '') + opts.Add(BoolOption('CONFIGURE', 'Whether the build should be (re)configured', 'yes')) + opts.Add(BoolOption('DEBUG', 'Whether debugging information should be produced', 'no')) + opts.Update(env) +@@ -32,13 +34,12 @@ + # Compiler options + + if env['CC'] == 'gcc': ++ if '-Wall' not in env['CCFLAGS'].split() and '-Werror' not in env['CCFLAGS'].split(): ++ env['CCFLAGS'] += ' -Wall -Werror' + +- env['CCFLAGS'] += ' -Wall -Werror' +- +- if env['DEBUG'] == True: ++ if env['DEBUG'] == True and '-g' not in env['CCFLAGS'].split(): + env['CCFLAGS'] += ' -g' + +- + # Configuration: + + if env['CONFIGURE'] == True: +diff -ur telepathy-inspector-0.5.0.orig/src/SConscript telepathy-inspector-0.5.0/src/SConscript +--- telepathy-inspector-0.5.0.orig/src/SConscript 2007-06-27 12:10:14.000000000 +0200 ++++ telepathy-inspector-0.5.0/src/SConscript 2007-06-27 12:11:00.000000000 +0200 +@@ -45,7 +45,8 @@ + + Import ('env options_filename') + +-install_dir = os.path.join (env['PREFIX'], 'bin') ++_r = lambda p: (p[0] == '/') and p[1:] or p ++install_dir = os.path.join('/', env['DESTDIR'], _r(env['PREFIX']), 'bin') + + env.Command('ti-signals-marshal.c', 'ti-signals-marshal.list', 'glib-genmarshal --body --prefix=ti_marshal $SOURCE > $TARGET') + env.Command('ti-signals-marshal.h', 'ti-signals-marshal.list', 'glib-genmarshal --header --prefix=ti_marshal $SOURCE > $TARGET') diff --git a/dev-util/telepathy-inspector/metadata.xml b/dev-util/telepathy-inspector/metadata.xml new file mode 100644 index 000000000000..8968de3bfad1 --- /dev/null +++ b/dev-util/telepathy-inspector/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>voip</herd> +<maintainer> + <email>coldwind@gentoo.org</email> + <name>Santiago M. Mola</name> +</maintainer> + <longdescription>A tool to inspect telepathy connections and to test + connection managers.</longdescription> +</pkgmetadata> diff --git a/dev-util/telepathy-inspector/telepathy-inspector-0.5.0.ebuild b/dev-util/telepathy-inspector/telepathy-inspector-0.5.0.ebuild new file mode 100644 index 000000000000..457674a037a9 --- /dev/null +++ b/dev-util/telepathy-inspector/telepathy-inspector-0.5.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/telepathy-inspector/telepathy-inspector-0.5.0.ebuild,v 1.1 2007/06/27 12:35:56 coldwind Exp $ + +inherit eutils flag-o-matic + +DESCRIPTION="The swiss-army knife of every Telepathy developer." +HOMEPAGE="http://telepathy.freedesktop.org/wiki/TelepathyInspector" +SRC_URI="mirror://sourceforge/tapioca-voip/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~x86" +IUSE="debug" + +RDEPEND=">=dev-libs/glib-2 + >=x11-libs/gtk+-2 + gnome-base/libglade + dev-libs/dbus-glib" +DEPEND="${RDEPEND} + dev-util/scons + dev-util/pkgconfig" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-scons.patch" +} + +src_compile() { + replace-flags -O? -O1 + + local myopts + if use debug ; then + myopts="DEBUG=yes" + else + myopts="DEBUG=no" + fi + scons CONFIGURE=yes DESTDIR="${D}" PREFIX=/usr \ + CCFLAGS="${CFLAGS}" ${myopts} || die "scons failed" +} + +src_install() { + scons install || die "scons install failed" + dodoc README ChangeLog || die "dodoc failed" +} |