~ubuntu-branches/ubuntu/quantal/jokosher/quantal

« back to all changes in this revision

Viewing changes to debian/patches/10_update_mime_database.dpatch

  • Committer: Bazaar Package Importer
  • Author(s): Luca Falavigna, Luca Falavigna, Piotr Ożarowski
  • Date: 2009-05-12 00:37:15 UTC
  • mfrom: (1.3.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20090512003715-3hp2ycoqjlzwfnlv
Tags: 0.11.2-1
[ Luca Falavigna ]
* New upstream release (Closes: #517234).
  - Jokosher now appears under Sound & Video (Closes: #443788).
* New Maintainer (Closes: #523167).
* Add Python Applications Packaging Team to Uploaders.
* Add Vcs-* fields in source stanza.
* Adjust copyright informations:
  - Refresh upstream authors and copyright holders.
  - Link to /usr/share/common-licenses/GPL-2.
  - Adjust copyright holders for Debian packaging.
  - Replace (c) with ©.
* Apply changes from Ubuntu by Daniel Holbach (thanks!):
  - Drop scrollkeeper from Build-Depends.
  - Drop useless dependencies: python-alsaaudio, gstreamer0.10-gnomevfs,
    librsvg2-common, python-gnome2.
  - Bump gstreamer0.10-plugins-good requirement to >= 0.10.9.
  - Drop debian/jokosher.sh, useless.
  - Provide debian/watch file.
* Switch to debhelper 7.
* Install Jokosher module in private directory.
* Unpack egg files to let python-support handle them.
* Drop python-dev from Build-Depends, use python (>= 2.4) instead.
* Depend on python-gobject.
* Switch dependency from python-setuptools to python-pkg-resources
  because of package rename (Closes: #468728).
* debian/patches/10_update_mime_database.dpatch:
  - Refresh for new upstream release.
* debian/patches/20_LevelList_IOError.dpatch:
  - Fix IOError exception trying to add an audio file to a project.
* debian/patches/30_desktop_file.dpatch:
  - Adhere to Freedesktop.org standards by removing deprecated entries.
* debian/patches/50_CreateNewProject_return.dpatch:
  - Return class while creating a new project.
* Provide a simple man page for jokosher.
* Bump Standards-Version to 3.8.1:
  - Provide Homepage field in source stanza.
  - Provide debian/README.source to document dpatch usage.

[ Piotr Ożarowski ]
* Add 40_load_extensions_from_unpacked_eggs patch so that extensions in
  unzipped Eggs are recognized as well

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
2
## 10_update_mime_database.dpatch by Florian Ragwitz <rafl@debian.org>
3
 
##
4
 
## All lines beginning with `## DP:' are a description of the patch.
5
3
## DP: Don't call update-{mime,desktop}-database at build-time.
6
4
 
7
5
@DPATCH@
8
 
diff -urNad jokosher-0.9~/setup.py jokosher-0.9/setup.py
9
 
--- jokosher-0.9~/setup.py      2007-06-22 15:20:07.000000000 +0200
10
 
+++ jokosher-0.9/setup.py       2007-06-22 15:21:01.299004415 +0200
11
 
@@ -103,10 +103,10 @@
12
 
        print "Updating the mime-types...."
13
 
        
14
 
        #update the mimetypes database
15
 
-       call(["update-mime-database", "/usr/share/mime/"])
16
 
+       #call(["update-mime-database", "/usr/share/mime/"])
17
 
        
18
 
        #update the .desktop file database
19
 
-       call(["update-desktop-database"])
20
 
+       #call(["update-desktop-database"])
 
6
diff -urNad jokosher-0.11.1~/setup.py jokosher-0.11.1/setup.py
 
7
--- jokosher-0.11.1~/setup.py   2009-04-16 23:24:58.000000000 +0200
 
8
+++ jokosher-0.11.1/setup.py    2009-04-18 03:00:01.000000000 +0200
 
9
@@ -98,22 +98,6 @@
 
10
                print "Updating the scrollkeeper index..."
 
11
                call(["scrollkeeper-update", "-o", installroot + omfdir])
21
12
 
 
13
-# Update the mime types
 
14
-if os.geteuid() == 0 and dist != None:
 
15
-       print "Updating the mime-types...."
 
16
-       
 
17
-       #update the mimetypes database
 
18
-       try:
 
19
-           call(["update-mime-database", "/usr/share/mime/"])
 
20
-       except:
 
21
-           pass
 
22
-       
 
23
-       #update the .desktop file database
 
24
-       try:
 
25
-          call(["update-desktop-database"])
 
26
-       except:
 
27
-           pass
 
28
-
22
29
 print "\nInstallation finished! You can now run Jokosher by typing 'jokosher' or through your applications menu icon."
23
30
        
 
31
 ## To uninstall manually delete these files/folders: