Hello community, here is the log from the commit of package youtube-dl-gui for openSUSE:Factory checked in at 2017-07-25 11:39:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/youtube-dl-gui (Old) and /work/SRC/openSUSE:Factory/.youtube-dl-gui.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "youtube-dl-gui" Tue Jul 25 11:39:33 2017 rev:3 rq:511863 version:0.4 Changes: -------- --- /work/SRC/openSUSE:Factory/youtube-dl-gui/youtube-dl-gui.changes 2017-04-20 20:56:37.499814861 +0200 +++ /work/SRC/openSUSE:Factory/.youtube-dl-gui.new/youtube-dl-gui.changes 2017-07-25 11:39:33.571430912 +0200 @@ -1,0 +2,41 @@ +Fri Jul 21 11:28:11 UTC 2017 - aloi...@gmx.com + +- Update to version 0.4 + New UI (designed by @philipzae): + * Better design overall + * Easier format selection + * Easier save path selection + * Added new functionality (play, delete, move item in queue, + reload, pause, etc..) + * New options window (5 tabs instead of 13) + * Removed some of the old options (write description to file, + custom format selection, etc..) + * Added new options (-v, --ignore-config, --hls-prefer-native, + --no-mtime, etc..) + * Support for new output templates + * Added generic video formats (3gp, mp4, webm, etc..) + * Added Korean translation by @memnoth + * Removed outdated translations + Post Processing: + * Calculate final size of post process files + * Extract final extension after merging process [ffmpeg] + * Extract final extension after recoding process [ffmpeg] + Setup: + * Update setup.py + * Build .MO files during build phase + * Removed unused OSX code from setup.py + Other: + * Removed twodict from utils.py and made it a dep + * Resolved issues (#54, #151, #162, #173, etc..) + * Moved utility scripts & docs to new directories + * Added new dev scripts + * New ISSUE_TEMPLATE.md + * Updated README.md + * Added FAQs + * Small fixes + +- Refreshed youtube-dl-gui-use_system_exe.patch + +- Force python2 everywhere + +------------------------------------------------------------------- Old: ---- youtube-dl-gui-0.3.8.tar.gz New: ---- youtube-dl-gui-0.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ youtube-dl-gui.spec ++++++ --- /var/tmp/diff_new_pack.YotJWo/_old 2017-07-25 11:39:34.079359182 +0200 +++ /var/tmp/diff_new_pack.YotJWo/_new 2017-07-25 11:39:34.083358617 +0200 @@ -17,7 +17,7 @@ Name: youtube-dl-gui -Version: 0.3.8 +Version: 0.4 Release: 0 Summary: GUI for youtube-dl # The Unlicense @@ -29,10 +29,13 @@ Patch0: %{name}-use_system_exe.patch BuildRequires: fdupes BuildRequires: hicolor-icon-theme -BuildRequires: python-devel +BuildRequires: python-rpm-macros BuildRequires: python-wxWidgets-3_0-devel +BuildRequires: python2-devel +BuildRequires: python2-twodict BuildRequires: update-desktop-files Requires: python-wxWidgets-3_0 +Requires: python2-twodict Requires: youtube-dl Recommends: ffmpeg Enhances: youtube-dl @@ -48,18 +51,22 @@ %setup -q %patch0 -p1 sed -e 's|__BINDIR__|%{_bindir}|' -i youtube_dl_gui/optionsmanager.py -for i in {'optionsmanager','mainframe','__init__','logmanager','utils','downloadmanager','__main__','updatemanager','parsers','optionsframe','downloaders'}; do -sed -i -e "1d" "youtube_dl_gui/$i.py" +items=( + 'downloaders' 'downloadmanager' '__init__' 'logmanager' + 'mainframe' '__main__' 'optionsframe' 'optionsmanager' + 'parsers' 'updatemanager' 'utils' 'widgets' + ) +for i in "${items[@]}"; do + sed -i -e "1d" "youtube_dl_gui/$i.py" done %build -python setup.py build +%__python2 setup.py build %install -python setup.py install --root %{buildroot} +%__python2 setup.py install --root %{buildroot} %find_lang youtube_dl_gui -sed -e '1i \#!/usr/bin/env python' -i %{buildroot}%{_bindir}/%{name} -mv %{buildroot}%{_datadir}/pixmaps/%{name}_48x48.png %{buildroot}%{_datadir}/pixmaps/%{name}.png +sed -e '1i \#!%__python2' -i %{buildroot}%{_bindir}/%{name} %suse_update_desktop_file -c youtube-dl-gui youtube-dl-gui "Video downloader" youtube-dl-gui youtube-dl-gui "AudioVideo Recorder Network FileTransfer" %fdupes -s %{buildroot} @@ -69,17 +76,17 @@ %doc LICENSE README.md %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop -%{_datadir}/icons/hicolor/*/apps/%{name}_*.png -%{_datadir}/pixmaps/%{name}*.png -%{python_sitelib}/youtube_dl_gui -%{python_sitelib}/Youtube_DLG-%{version}-py%{python_version}.egg-info +%{_datadir}/icons/hicolor/*/apps/%{name}.png +%{_datadir}/pixmaps/%{name}.png +%exclude %{python2_sitelib}/youtube_dl_gui/locale +%{python2_sitelib}/youtube_dl_gui +%{python2_sitelib}/Youtube_DLG-%{version}-py%{python2_version}.egg-info %files lang -f youtube_dl_gui.lang %defattr(-,root,root) %doc LICENSE -%dir %{_datadir}/youtube-dlg -%dir %{_datadir}/youtube-dlg/locale -%dir %{_datadir}/youtube-dlg/locale/??_?? -%dir %{_datadir}/youtube-dlg/locale/??_??/LC_MESSAGES +%dir %{python2_sitelib}/youtube_dl_gui/locale +%dir %{python2_sitelib}/youtube_dl_gui/locale/* +%dir %{python2_sitelib}/youtube_dl_gui/locale/*/* %changelog ++++++ youtube-dl-gui-0.3.8.tar.gz -> youtube-dl-gui-0.4.tar.gz ++++++ ++++ 14960 lines of diff (skipped) ++++++ youtube-dl-gui-use_system_exe.patch ++++++ --- /var/tmp/diff_new_pack.YotJWo/_old 2017-07-25 11:39:34.195342803 +0200 +++ /var/tmp/diff_new_pack.YotJWo/_new 2017-07-25 11:39:34.195342803 +0200 @@ -1,40 +1,31 @@ From: Luigi Baldoni <aloi...@gmx.com> -Date: 2017-04-13 18:07:44 +0200 +Date: 2017-07-21 11:27:24 +0200 Subject: Disable update button and force exe path -Update button is ghosted so that we don't end up with +Update button is removed so that we don't end up with locally installed versions of youtube-dl and rely on the system one instead. Also the path for youtube-dl is hardcoded so that it can point to the system-installed executable. - -Index: youtube-dl-gui-0.3.8/youtube_dl_gui/mainframe.py +Index: youtube-dl-gui-0.4/youtube_dl_gui/mainframe.py =================================================================== ---- youtube-dl-gui-0.3.8.orig/youtube_dl_gui/mainframe.py -+++ youtube-dl-gui-0.3.8/youtube_dl_gui/mainframe.py -@@ -149,6 +149,7 @@ class MainFrame(wx.Frame): - - self._download_btn = self._create_button(self.DOWNLOAD_LABEL, self._on_download) - self._update_btn = self._create_button(self.UPDATE_LABEL, self._on_update) -+ self._update_btn.Disable() - self._options_btn = self._create_button(self.OPTIONS_LABEL, self._on_options) - - self._status_list = ListCtrl(self.STATUSLIST_COLUMNS, -@@ -276,7 +277,6 @@ class MainFrame(wx.Frame): - """Resets GUI widgets after update or download process. """ - self._download_btn.SetLabel(self.DOWNLOAD_LABEL) - self._download_btn.Enable() -- self._update_btn.Enable() - - def _print_stats(self): - """Display download stats in the status bar. """ -Index: youtube-dl-gui-0.3.8/youtube_dl_gui/optionsmanager.py +--- youtube-dl-gui-0.4.orig/youtube_dl_gui/mainframe.py ++++ youtube-dl-gui-0.4/youtube_dl_gui/mainframe.py +@@ -226,7 +226,6 @@ class MainFrame(wx.Frame): + # label, event_handler + settings_menu_data = ( + (self.OPTIONS_LABEL, self._on_options), +- (self.UPDATE_LABEL, self._on_update), + (self.VIEWLOG_LABEL, self._on_viewlog), + (self.ABOUT_LABEL, self._on_about) + ) +Index: youtube-dl-gui-0.4/youtube_dl_gui/optionsmanager.py =================================================================== ---- youtube-dl-gui-0.3.8.orig/youtube_dl_gui/optionsmanager.py -+++ youtube-dl-gui-0.3.8/youtube_dl_gui/optionsmanager.py -@@ -234,7 +234,7 @@ class OptionsManager(object): +--- youtube-dl-gui-0.4.orig/youtube_dl_gui/optionsmanager.py ++++ youtube-dl-gui-0.4/youtube_dl_gui/optionsmanager.py +@@ -276,7 +276,7 @@ class OptionsManager(object): 'username': '', 'password': '', 'video_password': '', @@ -42,4 +33,4 @@ + 'youtubedl_path': '__BINDIR__', 'cmd_args': '', 'enable_log': True, - 'log_time': False, + 'log_time': True,