diff -Nru unity-webapps-deviantart-2.4.16+13.10.20130926.1/debian/changelog unity-webapps-deviantart-2.4.16+16.04.20151119/debian/changelog --- unity-webapps-deviantart-2.4.16+13.10.20130926.1/debian/changelog 2015-11-19 17:16:51.000000000 +0000 +++ unity-webapps-deviantart-2.4.16+16.04.20151119/debian/changelog 2015-11-19 17:16:51.000000000 +0000 @@ -1,3 +1,47 @@ +unity-webapps-deviantart (2.4.16+16.04.20151119-0ubuntu1) xenial; urgency=medium + + [ Alexandre Abreu ] + * Add default desktop file added: DeviantArtdeviantartcom.desktop + * Add migration script added: debian/unity-webapps- + deviantart.migrations scripts/ scripts/update-desktop-file-exec- + line.py + * Add session migration script + * Add session migration script + * Add session migration script & desktop file for StartupWMClass + added: DeviantArtdeviantartcom.desktop debian/unity-webapps- + deviantart.migrations scripts/update-desktop-file-unity-webapps- + deviantart.py + * Add session migration script removed: + DeviantArtdeviantartcom.desktop debian/unity-webapps- + deviantart.migrations scripts/update-desktop-file-exec-line.py + * Default desktop file uses the webbrowser-app directly + * Install desktop file + + [ Ken VanDine ] + * When using gi.repository you must not import static modules like + gobject, patch thanks to Puspendu Banerjee (LP: #1369208) (LP: + #1369208) + + [ Robert Bruce Park ] + * Add COPYING file. added: COPYING + * Add gettext placeholder, whitespace cleanup. + * Add icons. added: 128/ 128/unity-webapps-deviantart.png 48/ + 48/unity-webapps-deviantart.png 52/ 52/unity-webapps-deviantart.png + 64/ 64/unity-webapps-deviantart.png + * Add missing build-dep on unity-webapps-common. + * Add missing manifest.json. + * Add split builddeb for autolanding purposes. added: .bzr-builddeb/ + .bzr-builddeb/default.conf + * Build tools now provided by -dev. + * Install icons. + * Look for .user.js in current directory. + * Minor packaging fixes. + * More small packaging fixes. + * Run style_checker.js to test scripts. + * Use common debian/rules infrastructure. + + -- Ken VanDine Thu, 19 Nov 2015 13:58:27 +0000 + unity-webapps-deviantart (2.4.16+13.10.20130926.1-0ubuntu1) saucy; urgency=low * Automatic snapshot from revision 27 diff -Nru unity-webapps-deviantart-2.4.16+13.10.20130926.1/debian/unity-webapps-deviantart.migrations unity-webapps-deviantart-2.4.16+16.04.20151119/debian/unity-webapps-deviantart.migrations --- unity-webapps-deviantart-2.4.16+13.10.20130926.1/debian/unity-webapps-deviantart.migrations 2015-11-19 17:16:51.000000000 +0000 +++ unity-webapps-deviantart-2.4.16+16.04.20151119/debian/unity-webapps-deviantart.migrations 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -scripts/update-desktop-file-unity-webapps-deviantart.py diff -Nru unity-webapps-deviantart-2.4.16+13.10.20130926.1/scripts/update-desktop-file-unity-webapps-deviantart.py unity-webapps-deviantart-2.4.16+16.04.20151119/scripts/update-desktop-file-unity-webapps-deviantart.py --- unity-webapps-deviantart-2.4.16+13.10.20130926.1/scripts/update-desktop-file-unity-webapps-deviantart.py 2013-09-26 18:03:31.000000000 +0000 +++ unity-webapps-deviantart-2.4.16+16.04.20151119/scripts/update-desktop-file-unity-webapps-deviantart.py 1970-01-01 00:00:00.000000000 +0000 @@ -1,34 +0,0 @@ -#!/usr/bin/python -from gi.repository import Gio -import os -import glib -import glob -import re - -APP_ID = 'DeviantArtdeviantartcom' - -def get_local_applications_path(): - return os.path.join(glib.get_user_data_dir(), 'applications') - -def update_desktop_file_startupwmclass(): - local_applications_path = get_local_applications_path() - if not os.path.exists(local_applications_path) or not os.path.isdir(local_applications_path): - return - - desktop_filename = os.path.join(local_applications_path, '{0}.desktop'.format(APP_ID)) - if not os.path.exists(desktop_filename) or not os.path.isfile(desktop_filename): - return - - try: - desktop_file_content = open(desktop_filename).read() - start_idx = desktop_file_content.find('[Desktop Entry]') - if start_idx != -1 and desktop_file_content.find('StartupWMClass') == -1: - start_idx += len('[Desktop Entry]') - updated_desktop_file_content = desktop_file_content[:start_idx] + '\nStartupWMClass={0}'.format(APP_ID) + desktop_file_content[start_idx:] - open(desktop_filename, "w+").write(updated_desktop_file_content) - except Exception, e: - print 'Error while upgrading the desktop file: ', str(e) - -if __name__ == "__main__": - update_desktop_file_startupwmclass() - \ No newline at end of file