~ubuntu-branches/ubuntu/precise/onboard/precise

« back to all changes in this revision

Viewing changes to .pc/set_theme_default_to_ambiance.patch/setup.py

  • Committer: Bazaar Package Importer
  • Author(s): Francesco Fumanti
  • Date: 2011-06-25 19:41:52 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20110625194152-d601ypm62q5lk9hp
Tags: 0.95.1-0ubuntu1
  * Request for sponsorship: New release available (LP: #802027)
  * Don't crash when the icon fails to load.
  * Construct GtkAdjustments before the objects they are referenced in. Works
    around regression caused by 
    https://bugzilla.gnome.org/show_bug.cgi?id=576492
  * Update README about themes and macros
  * Import translations from launchpad on 25th June 2011
  * debian/control and debian/rules:
      Convert build system to dh7 and Python helper to dh_python2; code from
      Barry Warsaw (LP: #788514)
  * debian/patches:
      Set Ambiance as default theme by using the provided configuration
      mechanism; Ambiance is the theme designed for Ubuntu Natty
  * debian/copyright:
      Add the year 2011

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/python
 
2
import glob
 
3
from distutils import version
 
4
 
 
5
try:
 
6
    import DistUtilsExtra.auto
 
7
except ImportError:
 
8
    import sys
 
9
    print >> sys.stderr, 'To build Onboard you need https://launchpad.net/python-distutils-extra'
 
10
    sys.exit(1)
 
11
 
 
12
current_ver = version.StrictVersion(DistUtilsExtra.auto.__version__)
 
13
required_ver = version.StrictVersion('2.12')
 
14
assert current_ver >= required_ver , 'needs DistUtilsExtra.auto >= 2.12'
 
15
 
 
16
DistUtilsExtra.auto.setup(
 
17
    name = 'onboard',
 
18
    version = '0.95.1',
 
19
    author = 'Chris Jones',
 
20
    author_email = 'chris.e.jones@gmail.com',
 
21
    maintainer = 'Ubuntu Core Developers',
 
22
    maintainer_email = 'ubuntu-devel-discuss@lists.ubuntu.com',
 
23
    url = 'http://launchpad.net/onboard/',
 
24
    license = 'gpl',
 
25
    description = 'Simple On-screen Keyboard',
 
26
 
 
27
    packages = ['Onboard'],
 
28
 
 
29
    data_files = [('share/gconf/schemas', glob.glob('data/*.schemas')),
 
30
                  ('share/onboard', glob.glob('AUTHORS')),
 
31
                  ('share/onboard', glob.glob('CHANGELOG')),
 
32
                  ('share/onboard', glob.glob('COPYING')),
 
33
                  ('share/onboard', glob.glob('NEWS')),
 
34
                  ('share/onboard', glob.glob('README')),
 
35
                  ('share/onboard', glob.glob('onboard-defaults.conf.example')),
 
36
                  ('share/icons/hicolor/scalable/apps', glob.glob('data/*.svg')),
 
37
                  ('share/onboard/data', glob.glob('data/*.gif')),
 
38
                  ('share/onboard/docs', glob.glob('docs/*')),
 
39
                  ('share/onboard/layouts', glob.glob('layouts/*')),
 
40
                  ('share/onboard/themes', glob.glob('themes/*')),
 
41
                  ('share/onboard/scripts', glob.glob('scripts/*'))],
 
42
 
 
43
    scripts = ['onboard', 'onboard-settings'],
 
44
)
 
45