Fixing the launcher icon for harmattan (even if I am doing it wrong)
[gonvert] / setup.py
index d0979a9..61c2a99 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -37,7 +37,9 @@ ICON_CATEGORY="apps"
 ICON_SIZES=[32,48]
 #[[[end]]] (checksum: fefe5943a0176aa799fab0d963c33832)
 
 ICON_SIZES=[32,48]
 #[[[end]]] (checksum: fefe5943a0176aa799fab0d963c33832)
 
-CHANGES = """Switching from py2deb.py to sdist_maemo
+CHANGES = """* Support for PySide
+* XDG Support
+* Fixed a race condition
 """.strip()
 BUGTRACKER_URL = "https://bugs.maemo.org/enter_bug.cgi?product=Gonvert"
 
 """.strip()
 BUGTRACKER_URL = "https://bugs.maemo.org/enter_bug.cgi?product=Gonvert"
 
@@ -87,6 +89,7 @@ setup(
        },
        data_files=[
                (DESKTOP_FILE_PATH, [INPUT_DESKTOP_FILE]),
        },
        data_files=[
                (DESKTOP_FILE_PATH, [INPUT_DESKTOP_FILE]),
+               ("/usr/share/icons/hicolor/scalable/apps", ["data/%s.svg" % APP_NAME]),
        ] +
        [
                (
        ] +
        [
                (
@@ -98,7 +101,6 @@ setup(
        requires=[
                "PySide",
                "pyxdg",
        requires=[
                "PySide",
                "pyxdg",
-               "simplejson",
        ],
        cmdclass={
                'sdist_ubuntu': sdist_maemo,
        ],
        cmdclass={
                'sdist_ubuntu': sdist_maemo,
@@ -113,7 +115,7 @@ setup(
                        "copyright": "gpl",
                        "changelog": CHANGES,
                        "buildversion": str(BUILD),
                        "copyright": "gpl",
                        "changelog": CHANGES,
                        "buildversion": str(BUILD),
-                       "depends": "python, python-pyside.qtcore, python-pyside.qtgui, python-xdg, python-simplejson",
+                       "depends": "python, python-pyside.qtcore, python-pyside.qtgui, python-xdg",
                        "architecture": "any",
                },
                "sdist_diablo": {
                        "architecture": "any",
                },
                "sdist_diablo": {
@@ -155,7 +157,7 @@ setup(
                        "copyright": "gpl",
                        "changelog": CHANGES,
                        "buildversion": str(BUILD),
                        "copyright": "gpl",
                        "changelog": CHANGES,
                        "buildversion": str(BUILD),
-                       "depends": "python, python-pyside.qtcore, python-pyside.qtgui, python-xdg, python-simplejson",
+                       "depends": "python, python-pyside.qtcore, python-pyside.qtgui, python-xdg",
                        "architecture": "any",
                },
                "bdist_rpm": {
                        "architecture": "any",
                },
                "bdist_rpm": {