diff options
author | Santiago M. Mola <coldwind@gentoo.org> | 2007-06-27 12:35:56 +0000 |
---|---|---|
committer | Santiago M. Mola <coldwind@gentoo.org> | 2007-06-27 12:35:56 +0000 |
commit | 90e62e2b85002f55436ffba47c23d5a8142ea505 (patch) | |
tree | f5d1a3faca6a0ba5936ab2721f658581c49021de /dev-util/telepathy-inspector | |
parent | Marked stable on x86. (diff) | |
download | gentoo-2-90e62e2b85002f55436ffba47c23d5a8142ea505.tar.gz gentoo-2-90e62e2b85002f55436ffba47c23d5a8142ea505.tar.bz2 gentoo-2-90e62e2b85002f55436ffba47c23d5a8142ea505.zip |
dev-util/telepathy-inspector: initial import from voip-overlay
(Portage version: 2.1.2.7)
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..094ba56424dd --- /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 966 RMD160 8e7ae963efd43c783dbc6c6225ddae9db51de4ed SHA1 79492bce689d231a4ed2430ecd374660f80d4e70 SHA256 e222790d592ea4d168754146c2c850eddeb87df1adb8670e20c99211b73d8d2c +MD5 7cb66fcbce413107529673c5bbaad576 telepathy-inspector-0.5.0.ebuild 966 +RMD160 8e7ae963efd43c783dbc6c6225ddae9db51de4ed telepathy-inspector-0.5.0.ebuild 966 +SHA256 e222790d592ea4d168754146c2c850eddeb87df1adb8670e20c99211b73d8d2c telepathy-inspector-0.5.0.ebuild 966 +MISC ChangeLog 362 RMD160 9c55fad3b6fd95fa6064afd1a8a9745e872c7e5e SHA1 83a1f990b481aa06892a47c904b710273155f2c6 SHA256 0518013369531f541aa8a982cca8bc3375fd08cee655ec47410f282f4ad142c4 +MD5 036e36ed8859a855fb8185b13c57af9c ChangeLog 362 +RMD160 9c55fad3b6fd95fa6064afd1a8a9745e872c7e5e ChangeLog 362 +SHA256 0518013369531f541aa8a982cca8bc3375fd08cee655ec47410f282f4ad142c4 ChangeLog 362 +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" +} |