[Pkg-telepathy-commits] ./packages/experimental/telepathy-butterfly r25: Added setup-scrits.diff patch to install scripts to install butterfly.

Jonny Lamb jonnylamb at jonnylamb.com
Sun Dec 30 15:55:07 UTC 2007


------------------------------------------------------------
revno: 25
committer: Jonny Lamb <jonnylamb at jonnylamb.com>
branch nick: telepathy-butterfly
timestamp: Sun 2007-12-30 15:55:07 +0000
message:
  Added setup-scrits.diff patch to install scripts to install butterfly.
added:
  patches/
  patches/setup-scripts.diff
modified:
  changelog
-------------- next part --------------
=== added directory 'patches'
=== added file 'patches/setup-scripts.diff'
--- a/patches/setup-scripts.diff	1970-01-01 00:00:00 +0000
+++ b/patches/setup-scripts.diff	2007-12-30 15:55:07 +0000
@@ -0,0 +1,97 @@
+diff -Nru telepathy-butterfly-0.1.4+bzr20071230.orig/data/org.freedesktop.Telepathy.ConnectionManager.butterfly.service telepathy-butterfly-0.1.4+bzr20071230/data/org.freedesktop.Telepathy.ConnectionManager.butterfly.service
+--- telepathy-butterfly-0.1.4+bzr20071230.orig/data/org.freedesktop.Telepathy.ConnectionManager.butterfly.service	1970-01-01 01:00:00.000000000 +0100
++++ telepathy-butterfly-0.1.4+bzr20071230/data/org.freedesktop.Telepathy.ConnectionManager.butterfly.service	2007-12-30 15:41:21.000000000 +0000
+@@ -0,0 +1,3 @@
++[D-BUS Service]
++Name=org.freedesktop.Telepathy.ConnectionManager.butterfly
++Exec=/usr/bin/telepathy-butterfly
+diff -Nru telepathy-butterfly-0.1.4+bzr20071230.orig/PKG-INFO telepathy-butterfly-0.1.4+bzr20071230/PKG-INFO
+--- telepathy-butterfly-0.1.4+bzr20071230.orig/PKG-INFO	1970-01-01 01:00:00.000000000 +0100
++++ telepathy-butterfly-0.1.4+bzr20071230/PKG-INFO	2007-12-30 15:41:21.000000000 +0000
+@@ -0,0 +1,20 @@
++Metadata-Version: 1.0
++Name: telepathy-butterfly
++Version: 0.1.4
++Summary: Telepathy MSN connection manager
++Home-page: http://telepathy.freedesktop.org/wiki/TelepathyButterfly
++Author: Ali Sabil
++Author-email: ali.sabil at gmail.com
++License: GNU GPL
++Description: UNKNOWN
++Platform: POSIX
++Classifier: Development Status :: 4 - Beta
++Classifier: Environment :: No Input/Output (Daemon)
++Classifier: Intended Audience :: End Users/DesktopIntended Audience :: Developers
++Classifier: Intended Audience :: Telecommunications Industry
++Classifier: License :: OSI Approved :: GNU General Public License (GPL)
++Classifier: Operating System :: POSIX
++Classifier: Operating System :: MacOS :: MacOS X
++Classifier: Programming Language :: Python
++Classifier: Topic :: Communications :: Chat
++Classifier: Topic :: Internet
+diff -Nru telepathy-butterfly-0.1.4+bzr20071230.orig/setup.py telepathy-butterfly-0.1.4+bzr20071230/setup.py
+--- telepathy-butterfly-0.1.4+bzr20071230.orig/setup.py	1970-01-01 01:00:00.000000000 +0100
++++ telepathy-butterfly-0.1.4+bzr20071230/setup.py	2007-12-30 15:41:21.000000000 +0000
+@@ -0,0 +1,62 @@
++from distutils.core import setup
++import distutils.util
++import distutils.file_util
++import sys
++import commands
++
++# Metadata
++NAME="telepathy-butterfly"
++VERSION="0.1.4"
++DESCRIPTION="Telepathy MSN connection manager"
++AUTHOR="Ali Sabil"
++AUTHOR_EMAIL="ali.sabil at gmail.com"
++URL="http://telepathy.freedesktop.org/wiki/TelepathyButterfly",
++LICENSE="GNU GPL",
++
++# compatibility with python < 2.2.3
++if sys.version < '2.2.3':
++    from distutils.dist import DistributionMetadata
++    DistributionMetadata.classifiers = None
++    DistributionMetadata.download_url = None
++
++# rebuild data/org.freedesktop.Telepathy.ConnectionManager.butterfly.service
++service_file = ('[D-BUS Service]',
++    'Name=org.freedesktop.Telepathy.ConnectionManager.butterfly',
++    'Exec=%s/bin/telepathy-butterfly' % sys.prefix)
++def rebuild_service_file():
++    distutils.file_util.write_file('data/org.freedesktop.Telepathy.ConnectionManager.butterfly.service', service_file)
++distutils.util.execute(rebuild_service_file,())
++
++
++dbus_service_dir = commands.getoutput('pkg-config --variable=session_bus_services_dir dbus-1')
++if dbus_service_dir ==  '':
++    dbus_service_dir = 'share/dbus-1/services'
++telepathy_manager_dir = 'share/telepathy/managers'
++# Setup
++setup(name=NAME,
++      version=VERSION,
++      description=DESCRIPTION,
++      author=AUTHOR,
++      author_email=AUTHOR_EMAIL,
++      url=URL,
++      license=LICENSE,
++      platforms=['POSIX'],
++      packages=['telepathy_butterfly', 'telepathy_butterfly.handler'],
++      scripts=['telepathy-butterfly'],
++      data_files=[
++          (dbus_service_dir, ['data/org.freedesktop.Telepathy.ConnectionManager.butterfly.service']),
++          (telepathy_manager_dir, ['data/butterfly.manager'])
++          ],
++      classifiers=[
++          'Development Status :: 4 - Beta',
++          'Environment :: No Input/Output (Daemon)',
++          'Intended Audience :: End Users/Desktop'
++          'Intended Audience :: Developers',
++          'Intended Audience :: Telecommunications Industry',
++          'License :: OSI Approved :: GNU General Public License (GPL)',
++          'Operating System :: POSIX',
++          'Operating System :: MacOS :: MacOS X',
++          'Programming Language :: Python',
++          'Topic :: Communications :: Chat',
++          'Topic :: Internet'
++          ])

=== modified file 'changelog'
--- a/changelog	2007-12-30 15:36:01 +0000
+++ b/changelog	2007-12-30 15:55:07 +0000
@@ -7,8 +7,9 @@
   * Updated copyright.
   * Added myself to Uploaders.
   * Removed dh_python from rules -- it's now obsolete.
+  * Added setup-scripts.diff patch to install scripts to install butterfly.
 
- -- Jonny Lamb <jonnylamb at jonnylamb.com>  Sun, 30 Dec 2007 15:35:26 +0000
+ -- Jonny Lamb <jonnylamb at jonnylamb.com>  Sun, 30 Dec 2007 15:52:44 +0000
 
 telepathy-butterfly (0.1.4-1) experimental; urgency=low
 



More information about the Pkg-telepathy-commits mailing list