diff -Nru unity-webapps-hulu-player-2.4.16+13.10.20130924.2/debian/changelog unity-webapps-hulu-player-2.4.16+16.04.20151119/debian/changelog --- unity-webapps-hulu-player-2.4.16+13.10.20130924.2/debian/changelog 2015-11-19 17:17:21.000000000 +0000 +++ unity-webapps-hulu-player-2.4.16+16.04.20151119/debian/changelog 2015-11-19 17:17:22.000000000 +0000 @@ -1,3 +1,137 @@ +unity-webapps-hulu-player (2.4.16+16.04.20151119-0ubuntu1) xenial; urgency=medium + + [ Alexandre Abreu ] + * Add default desktop file added: hulu-playerhulucom.desktop + * Add migration script added: debian/unity-webapps-hulu- + player.migrations scripts/ scripts/update-desktop-file-exec-line.py + * Add proper license + * Add session migration script + * Add session migration script & desktop file for StartupWMClass + added: debian/unity-webapps-hulu-player.migrations hulu- + playerhulucom.desktop scripts/update-desktop-file-unity-webapps- + hulu-player.py + * Add support for domain name in debian/control + * Default desktop file uses the webbrowser-app directly + * Install desktop file + * Strip unecessary part from debian/copyright + * Update copyright + * Update copyright + * Update copyright + * Update copyright & control (lintian) + * Update copyright GPL-3 license + * Update description and icons copyright + * Update icons copyright & legal + * Update/fix installed icons removed: debian/icons/ debian/icons/128/ + debian/icons/128/unity-webapps-hulu-player.png debian/icons/48/ + debian/icons/48/unity-webapps-hulu-player.png debian/icons/52/ + debian/icons/52/unity-webapps-hulu-player.png debian/icons/64/ + debian/icons/64/unity-webapps-hulu-player.png + * Update/fix installed icons; update copyright renamed: 128/hulu.png + => 128/unity-webapps-hulu.png 48/hulu.png => 48/unity-webapps- + hulu.png 52/hulu.png => 52/unity-webapps-hulu.png 64/hulu.png => + 64/unity-webapps-hulu.png + * add COPYING added: COPYING + * merge trunk + * remove debian/source (dpkg failure) removed: debian/source/ + debian/source/format debian/source/include-binaries + * remove junk files removed: debian/unity-webapps-hulu-player/ + debian/unity-webapps-hulu-player.debhelper.log debian/unity-webapps- + hulu-player.postinst.debhelper debian/unity-webapps-hulu- + player.postrm.debhelper debian/unity-webapps-hulu-player.substvars + debian/unity-webapps-hulu-player/DEBIAN/ debian/unity-webapps-hulu- + player/DEBIAN/control debian/unity-webapps-hulu- + player/DEBIAN/md5sums debian/unity-webapps-hulu- + player/DEBIAN/postinst debian/unity-webapps-hulu- + player/DEBIAN/postrm debian/unity-webapps-hulu-player/usr/ + debian/unity-webapps-hulu-player/usr/share/ debian/unity-webapps- + hulu-player/usr/share/doc/ debian/unity-webapps-hulu- + player/usr/share/doc/unity-webapps-hulu-player/ debian/unity- + webapps-hulu-player/usr/share/doc/unity-webapps-hulu- + player/changelog.gz debian/unity-webapps-hulu- + player/usr/share/doc/unity-webapps-hulu-player/copyright + debian/unity-webapps-hulu-player/usr/share/icons/ debian/unity- + webapps-hulu-player/usr/share/icons/hicolor/ debian/unity-webapps- + hulu-player/usr/share/icons/hicolor/48x48/ debian/unity-webapps- + hulu-player/usr/share/icons/hicolor/48x48/apps/ debian/unity- + webapps-hulu-player/usr/share/icons/hicolor/48x48/apps/unity- + webapps-hulu-player.png debian/unity-webapps-hulu- + player/usr/share/icons/unity-webapps-applications/ debian/unity- + webapps-hulu-player/usr/share/icons/unity-webapps-applications/128/ + debian/unity-webapps-hulu-player/usr/share/icons/unity-webapps- + applications/128/apps/ debian/unity-webapps-hulu- + player/usr/share/icons/unity-webapps-applications/128/apps/unity- + webapps-hulu-player.png debian/unity-webapps-hulu- + player/usr/share/icons/unity-webapps-applications/48/ debian/unity- + webapps-hulu-player/usr/share/icons/unity-webapps- + applications/48/apps/ debian/unity-webapps-hulu- + player/usr/share/icons/unity-webapps-applications/48/apps/unity- + webapps-hulu-player.png debian/unity-webapps-hulu- + player/usr/share/icons/unity-webapps-applications/52/ debian/unity- + webapps-hulu-player/usr/share/icons/unity-webapps- + applications/52/apps/ debian/unity-webapps-hulu- + player/usr/share/icons/unity-webapps-applications/52/apps/unity- + webapps-hulu-player.png debian/unity-webapps-hulu- + player/usr/share/icons/unity-webapps-applications/64/ debian/unity- + webapps-hulu-player/usr/share/icons/unity-webapps- + applications/64/apps/ debian/unity-webapps-hulu- + player/usr/share/icons/unity-webapps-applications/64/apps/unity- + webapps-hulu-player.png debian/unity-webapps-hulu- + player/usr/share/unity-webapps/ debian/unity-webapps-hulu- + player/usr/share/unity-webapps/userscripts/ debian/unity-webapps- + hulu-player/usr/share/unity-webapps/userscripts/unity-webapps-hulu- + player/ debian/unity-webapps-hulu-player/usr/share/unity- + webapps/userscripts/unity-webapps-hulu-player/128/ debian/unity- + webapps-hulu-player/usr/share/unity-webapps/userscripts/unity- + webapps-hulu-player/128/hulu.png debian/unity-webapps-hulu- + player/usr/share/unity-webapps/userscripts/unity-webapps-hulu- + player/48/ debian/unity-webapps-hulu-player/usr/share/unity- + webapps/userscripts/unity-webapps-hulu-player/48/hulu.png + debian/unity-webapps-hulu-player/usr/share/unity- + webapps/userscripts/unity-webapps-hulu-player/52/ debian/unity- + webapps-hulu-player/usr/share/unity-webapps/userscripts/unity- + webapps-hulu-player/52/hulu.png debian/unity-webapps-hulu- + player/usr/share/unity-webapps/userscripts/unity-webapps-hulu- + player/64/ debian/unity-webapps-hulu-player/usr/share/unity- + webapps/userscripts/unity-webapps-hulu-player/64/hulu.png + debian/unity-webapps-hulu-player/usr/share/unity- + webapps/userscripts/unity-webapps-hulu-player/hulu-player.user.js + debian/unity-webapps-hulu-player/usr/share/unity- + webapps/userscripts/unity-webapps-hulu-player/manifest.json + * revert migration removed: debian/unity-webapps-hulu- + player.migrations hulu-playerhulucom.desktop scripts/update-desktop- + file-exec-line.py + * update copyright + * update copyright + * update debian/source/format + * update debian/source/format (bis) + + [ Justin McPherson ] + * Fix icon name + + [ 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 gettext placeholder, whitespace cleanup. + * Add missing build-dep on unity-webapps-common. + * Add split builddeb for autolanding purposes. added: .bzr-builddeb/ + .bzr-builddeb/default.conf + * Add unit test. added: hulu-player.test.js + * Build tools now provided by -dev. + * Look for .user.js in current directory. + * Minor packaging fixes. + * More small packaging fixes. + * Run style_checker.js to test scripts. + * Update standards versions. + * Use common debian/rules infrastructure. + + [ VĂ­ctor R. Ruiz ] + * Fix 'const' error (style_checker). + + -- Ken VanDine Thu, 19 Nov 2015 14:00:40 +0000 + unity-webapps-hulu-player (2.4.16+13.10.20130924.2-0ubuntu1) saucy; urgency=low * Automatic snapshot from revision 56 diff -Nru unity-webapps-hulu-player-2.4.16+13.10.20130924.2/debian/unity-webapps-hulu-player.migrations unity-webapps-hulu-player-2.4.16+16.04.20151119/debian/unity-webapps-hulu-player.migrations --- unity-webapps-hulu-player-2.4.16+13.10.20130924.2/debian/unity-webapps-hulu-player.migrations 2015-11-19 17:17:21.000000000 +0000 +++ unity-webapps-hulu-player-2.4.16+16.04.20151119/debian/unity-webapps-hulu-player.migrations 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -scripts/update-desktop-file-unity-webapps-hulu-player.py diff -Nru unity-webapps-hulu-player-2.4.16+13.10.20130924.2/hulu-playerhulucom.desktop unity-webapps-hulu-player-2.4.16+16.04.20151119/hulu-playerhulucom.desktop --- unity-webapps-hulu-player-2.4.16+13.10.20130924.2/hulu-playerhulucom.desktop 2013-09-24 22:10:32.000000000 +0000 +++ unity-webapps-hulu-player-2.4.16+16.04.20151119/hulu-playerhulucom.desktop 2015-11-19 14:00:23.000000000 +0000 @@ -1,9 +1,9 @@ [Desktop Entry] Name=hulu-player Type=Application -Icon=unity-webapps-hulu-player +Icon=unity-webapps-hulu MimeType= Actions=S0;S1;S2;S3;S4;S5;S6;S7;S8;S9;S10; Exec=unity-webapps-runner -n 'aHVsdS1wbGF5ZXI=' -d 'hulu.com' %u StartupWMClass=hulu-playerhulucom - \ No newline at end of file + diff -Nru unity-webapps-hulu-player-2.4.16+13.10.20130924.2/scripts/update-desktop-file-unity-webapps-hulu-player.py unity-webapps-hulu-player-2.4.16+16.04.20151119/scripts/update-desktop-file-unity-webapps-hulu-player.py --- unity-webapps-hulu-player-2.4.16+13.10.20130924.2/scripts/update-desktop-file-unity-webapps-hulu-player.py 2013-09-24 22:10:32.000000000 +0000 +++ unity-webapps-hulu-player-2.4.16+16.04.20151119/scripts/update-desktop-file-unity-webapps-hulu-player.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 = 'hulu-playerhulucom' - -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