diff options
author | 2007-06-27 12:35:56 +0000 | |
---|---|---|
committer | 2007-06-27 12:35:56 +0000 | |
commit | 90e62e2b85002f55436ffba47c23d5a8142ea505 (patch) | |
tree | f5d1a3faca6a0ba5936ab2721f658581c49021de /dev-util/telepathy-inspector/files | |
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/files')
-rw-r--r-- | dev-util/telepathy-inspector/files/digest-telepathy-inspector-0.5.0 | 3 | ||||
-rw-r--r-- | dev-util/telepathy-inspector/files/telepathy-inspector-0.5.0-scons.patch | 57 |
2 files changed, 60 insertions, 0 deletions
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') |