We truncated the diff of some files because they were too big.
If you want to see the full diff for every file, click here.
Overview
curlew.changes
Changed
x
1
2
-------------------------------------------------------------------
3
+Mon Mar 14 11:58:45 UTC 2016 - avvissu@yandex.ru
4
+
5
+- Update to 0.2.2:
6
+ * see: /usr/share/doc/packages/curlew/ChangeLog
7
+- Update patches:
8
+ * curlew-0.2.1_path.patch -> curlew-0.2.2_path.patch
9
+
10
+-------------------------------------------------------------------
11
+Sun Feb 28 04:04:00 UTC 2016 - avvissu@yandex.ru
12
+
13
+- Set mplayer as the default player
14
+
15
+-------------------------------------------------------------------
16
+Sat Feb 27 16:34:14 UTC 2016 - avvissu@yandex.ru
17
+
18
+- Update to 0.2.1:
19
+ * see: /usr/share/doc/packages/curlew/ChangeLog
20
+- Add a language pack
21
+
22
+-------------------------------------------------------------------
23
Fri Apr 10 21:09:24 UTC 2015 - avvissu@yandex.ru
24
25
- Initial package
26
curlew.spec
Changed
115
1
2
#
3
# spec file for package curlew
4
#
5
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
6
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
7
#
8
# All modifications and additions to the file contributed by third parties
9
# remain the property of their copyright owners, unless otherwise agreed
10
11
12
13
Name: curlew
14
-Version: 0.1.22.3
15
+Version: 0.2.2
16
Release: 0
17
Summary: Multimedia converter
18
License: Waqf
19
Group: Productivity/Multimedia/Video/Convertors
20
Url: http://sourceforge.net/projects/curlew/
21
-Source0: http://sourceforge.net/projects/curlew/files/curlew-0.1.22.3/%{name}-%{version}.tar.gz
22
-# PATCH-FIX-OPENSUSE desktop.patch avvissu@yandex.ru -- Generic name of the application
23
-Patch0: curlew-0.1.22.3_desktop.patch
24
-BuildRequires: ImageMagick
25
-BuildRequires: desktop-file-utils
26
+Source0: http://sourceforge.net/projects/curlew/files/curlew-%{version}/%{name}-%{version}.tar.gz
27
+# PATCH-FIX-OPENSUSE sitelib.patch avvissu@yandex.ru -- Change path to files (use site-packages)
28
+Patch0: curlew-0.2.2_sitelib.patch
29
BuildRequires: hicolor-icon-theme
30
BuildRequires: intltool
31
-BuildRequires: python-devel
32
-BuildRequires: python-distutils-extra
33
-BuildRequires: python-gobject >= 3.0
34
-BuildRequires: python-setuptools
35
+BuildRequires: python3-base >= 3.3.2
36
+BuildRequires: python3-gobject >= 3.12.0
37
+BuildRequires: python3-setuptools
38
+BuildRequires: rsvg-view
39
+BuildRequires: update-desktop-files
40
+Requires: dbus-1-python3
41
Requires: ffmpeg
42
Requires: mediainfo
43
Requires: mencoder
44
-Requires: python-gobject
45
+Requires: python3-gobject
46
+Requires: typelib(Gtk) = 3.0
47
Requires: xdg-utils
48
# Conflict with ffmpeg
49
#Requires: libav-tools
50
51
- Combine subtitle with video file.
52
- Show error details if exist.
53
- And more ...
54
+
55
+%lang_package
56
57
%prep
58
%setup -q
59
%patch0 -p1
60
61
+# Set mplayer as the default player
62
+sed -i '/self.player/s/avplay/mplayer/' $(grep -rl 'avplay')
63
+
64
# Fix spurious-executable-perm
65
find . -type f -perm /u+x -exec chmod 644 {} \; || :
66
67
%build
68
-python setup.py build
69
+python3 setup.py build
70
71
%install
72
-python setup.py install --root=%{buildroot}
73
+python3 setup.py install --root=%{buildroot}
74
+
75
+%suse_update_desktop_file -r %{name} AudioVideo Video AudioVideoEditing
76
77
%find_lang %{name}
78
79
%post
80
%icon_theme_cache_post
81
%desktop_database_post
82
-# Notify user about changes
83
-if [ $1 -ge 2 ] ; then
84
-mkdir -p %{_localstatedir}/adm/update-messages
85
-cat > %{_localstatedir}/adm/update-messages/%{name}-%{version} << EOF
86
-INFO: ValueError: unsupported pickle protocol: 3
87
-INFO: If you are switching between python versions, you will need to
88
-INFO: remove the old profile from ~/.%{name}
89
-EOF
90
-fi
91
92
%postun
93
%icon_theme_cache_postun
94
%desktop_database_postun
95
96
-%files -f %{name}.lang
97
-%defattr(-,root,root,-)
98
-%doc %{_datadir}/doc/curlew
99
+%files
100
+%doc LICENSE* AUTHORS ChangeLog README
101
%{_bindir}/%{name}
102
+%{_datadir}/%{name}/
103
%{_datadir}/applications/%{name}.desktop
104
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
105
%{_datadir}/icons/hicolor/*/apps/%{name}.png
106
-%{python_sitelib}/Curlew
107
-%{python_sitelib}/%{name}-*
108
+%{python3_sitelib}/%{name}-*.egg-info
109
+%{python3_sitelib}/%{name}/
110
+
111
+%files lang -f %{name}.lang
112
+%defattr(-,root,root,-)
113
114
%changelog
115
curlew-0.1.22.3_desktop.patch
Deleted
18
1
2
-diff -U 3 -H -d -r -N -- curlew-0.1.22.3.orig/curlew.desktop curlew-0.1.22.3/curlew.desktop
3
---- curlew-0.1.22.3.orig/curlew.desktop 2013-10-08 11:52:26.000000000 +0300
4
-+++ curlew-0.1.22.3/curlew.desktop 2015-04-11 01:14:51.039378764 +0300
5
-@@ -12,7 +12,11 @@
6
- Comment=Easy to use Multimedia Converter for Linux
7
- Comment[ar]=محول وسائط على لينكس سهل الاستخدام
8
- Comment[fr]=Un Convertisseur Multimédia simple à utiliser sous Linux
9
--Categories=AudioVideo;Video;
10
-+GenericName=Multimedia Converter
11
-+GenericName[ru]=Мультимедиа конвертер
12
-+GenericName[ar]=تحويل الوسائط المتعددة
13
-+GenericName[fr]=Convertisseur multimédia
14
-+Categories=AudioVideo;Video;AudioVideoEditing;
15
- #MimeType=audio/vorbis;audio/x-mp3;audio/x-ms-wma;audio/x-vorbis;audio/x-wav;video/x-ms-asf;audio/ogg;audio/3gpp;audio/AMR;audio/AMR-WB;video/3gpp;video/flv;video/mpeg;video/msvideo;video/x-mpeg;video/x-ms-asf;video/x-ms-wmv;video/quicktime;audio/x-realaudio;audio/x-pn-realaudio;video/vnd.rn-realvideo;audio/mp4a-latm;video/x-m4v;video/mp4;audio/x-matroska;video/x-matroska;audio/x-aiff;audio/x-monkeys-audio;video/x-m4v;audio/mp4a-latm;video/webm
16
- Encoding=UTF-8
17
- Terminal=false
18
curlew-0.2.2_sitelib.patch
Added
162
1
2
+diff -U 3 -dHrN curlew-0.2.2.orig/curlew curlew-0.2.2/curlew
3
+--- curlew-0.2.2.orig/curlew 2016-03-07 13:52:48.000000000 +0300
4
++++ curlew-0.2.2/curlew 2016-03-14 15:02:59.504346113 +0300
5
+@@ -1,9 +1,5 @@
6
+ #!/usr/bin/env python3
7
+
8
+-from site import addsitedir
9
+-addsitedir('/usr/share/curlew')
10
+-addsitedir('/usr/local/share/curlew')
11
+-
12
+ import sys
13
+-from modules.curlew import main
14
++from curlew.curlew import main
15
+ main(*sys.argv[1:])
16
+diff -U 3 -dHrN curlew-0.2.2.orig/modules/codecs.py curlew-0.2.2/modules/codecs.py
17
+--- curlew-0.2.2.orig/modules/codecs.py 2016-03-10 16:19:55.000000000 +0300
18
++++ curlew-0.2.2/modules/codecs.py 2016-03-14 15:04:47.898214293 +0300
19
+@@ -21,7 +21,7 @@
20
+ gi.require_version('Gtk', '3.0')
21
+
22
+ from gi.repository import Gtk, Pango
23
+-from modules.functions import get_available_codecs
24
++from curlew.functions import get_available_codecs
25
+
26
+ class CodecsDialog(Gtk.Dialog):
27
+ def __init__(self, prnt, encoder, title, headerbar):
28
+diff -U 3 -dHrN curlew-0.2.2.orig/modules/configs.py curlew-0.2.2/modules/configs.py
29
+--- curlew-0.2.2.orig/modules/configs.py 2016-03-08 19:41:33.000000000 +0300
30
++++ curlew-0.2.2/modules/configs.py 2016-03-14 15:08:07.496466859 +0300
31
+@@ -19,7 +19,7 @@
32
+
33
+
34
+ from gi.repository import GLib
35
+-from modules.consts import CONF_FILE
36
++from curlew.consts import CONF_FILE
37
+
38
+ GROUP = 'configs'
39
+
40
+diff -U 3 -dHrN curlew-0.2.2.orig/modules/consts.py curlew-0.2.2/modules/consts.py
41
+--- curlew-0.2.2.orig/modules/consts.py 2016-03-07 13:52:48.000000000 +0300
42
++++ curlew-0.2.2/modules/consts.py 2016-03-14 15:05:41.710010707 +0300
43
+@@ -26,7 +26,7 @@
44
+ CONF_FILE = join(CONF_PATH, 'curlew.cfg')
45
+
46
+ PKG_DIR = dirname(realpath(__file__))
47
+-DTA_DIR = join(PKG_DIR, '../')
48
++DTA_DIR = join(PKG_DIR, '../../../../share/curlew')
49
+
50
+ ORG_FFILE = join(DTA_DIR, 'formats.cfg')
51
+ USR_FFILE = join(CONF_PATH, 'formats.cfg')
52
+diff -U 3 -dHrN curlew-0.2.2.orig/modules/curlew.py curlew-0.2.2/modules/curlew.py
53
+--- curlew-0.2.2.orig/modules/curlew.py 2016-03-12 00:37:11.000000000 +0300
54
++++ curlew-0.2.2/modules/curlew.py 2016-03-14 15:08:07.536464240 +0300
55
+@@ -38,23 +38,23 @@
56
+ from gi.repository import Gtk, GLib, Gdk, GObject, GdkPixbuf, Gio
57
+ import dbus.glib, dbus.service
58
+
59
+- from modules.customwidgets import LabeledHBox, TimeLayout, HScale, \
60
++ from curlew.customwidgets import LabeledHBox, TimeLayout, HScale, \
61
+ SpinsFrame, LabeledGrid, ComboWithEntry, ButtonWithIcon
62
+- from modules.about import About
63
+- from modules.functions import show_message, get_format_size, \
64
++ from curlew.about import About
65
++ from curlew.functions import show_message, get_format_size, \
66
+ duration_to_time, time_to_duration, check_codec
67
+- from modules.logdialog import LogDialog
68
+- from modules.tray import StatusIcon
69
+- from modules.languages import LANGUAGES
70
+- from modules.favdialog import Favorite
71
+- from modules.waitdialog import WaitDialog
72
+- from modules.fileinfos import FileInfos
73
+- from modules.formats import Formats
74
+- from modules.infobars import InfoBar
75
+- from modules.codecs import CodecsDialog
76
+- from modules.consts import CONF_PATH, HOME, CONF_FILE, DTA_DIR, \
77
++ from curlew.logdialog import LogDialog
78
++ from curlew.tray import StatusIcon
79
++ from curlew.languages import LANGUAGES
80
++ from curlew.favdialog import Favorite
81
++ from curlew.waitdialog import WaitDialog
82
++ from curlew.fileinfos import FileInfos
83
++ from curlew.formats import Formats
84
++ from curlew.infobars import InfoBar
85
++ from curlew.codecs import CodecsDialog
86
++ from curlew.consts import CONF_PATH, HOME, CONF_FILE, DTA_DIR, \
87
+ ORG_FFILE, USR_FFILE
88
+- from modules.configs import get_b_config
89
++ from curlew.configs import get_b_config
90
+ except Exception as e:
91
+ print(e)
92
+ sys.exit(1)
93
+@@ -72,7 +72,7 @@
94
+
95
+ # Localization.
96
+ DOMAIN = 'curlew'
97
+-LOCALDIR = join(DTA_DIR, 'locale')
98
++LOCALDIR = join(DTA_DIR, '../locale')
99
+ gettext.install(DOMAIN, LOCALDIR)
100
+
101
+ # Create ".curlew" folder if not exist
102
+diff -U 3 -dHrN curlew-0.2.2.orig/modules/edition.py curlew-0.2.2/modules/edition.py
103
+--- curlew-0.2.2.orig/modules/edition.py 2016-03-11 19:29:53.000000000 +0300
104
++++ curlew-0.2.2/modules/edition.py 2016-03-14 15:08:07.492467120 +0300
105
+@@ -24,9 +24,9 @@
106
+
107
+ from gi.repository import Gtk, GLib
108
+
109
+-from modules.customwidgets import LabeledGrid, ButtonWithIcon
110
+-from modules.consts import CONF_FILE, ORG_FFILE
111
+-from modules.functions import show_message
112
++from curlew.customwidgets import LabeledGrid, ButtonWithIcon
113
++from curlew.consts import CONF_FILE, ORG_FFILE
114
++from curlew.functions import show_message
115
+
116
+
117
+ class FormatEditor(Gtk.Dialog):
118
+diff -U 3 -dHrN curlew-0.2.2.orig/modules/formats.py curlew-0.2.2/modules/formats.py
119
+--- curlew-0.2.2.orig/modules/formats.py 2016-03-12 00:41:14.000000000 +0300
120
++++ curlew-0.2.2/modules/formats.py 2016-03-14 15:08:07.488467381 +0300
121
+@@ -21,8 +21,8 @@
122
+ gi.require_version('Gtk', '3.0')
123
+
124
+ from gi.repository import Gtk
125
+-from modules.edition import FormatEditor
126
+-from modules.customwidgets import ButtonWithIcon
127
++from curlew.edition import FormatEditor
128
++from curlew.customwidgets import ButtonWithIcon
129
+
130
+ class Formats(Gtk.Popover):
131
+
132
+diff -U 3 -dHrN curlew-0.2.2.orig/setup.py curlew-0.2.2/setup.py
133
+--- curlew-0.2.2.orig/setup.py 2016-03-14 12:39:44.000000000 +0300
134
++++ curlew-0.2.2/setup.py 2016-03-14 15:11:55.448256414 +0300
135
+@@ -17,8 +17,6 @@
136
+ doc_files = ['LICENSE-ar.txt', 'LICENSE-en.txt', 'AUTHORS', 'THANKS', 'ChangeLog', 'README']
137
+ data_files = [('share/applications/', ['curlew.desktop']),
138
+ ('share/icons/hicolor/scalable/apps', ['curlew.svg']),
139
+- ('share/pixmaps', ['curlew.svg']),
140
+- ('share/doc/curlew', doc_files),
141
+ ('share/curlew', ['formats.cfg']),
142
+ #('share/curlew', ['formats.cfg', 'ffmpeg']), # Portable version
143
+ ('share/curlew/modules', glob("modules/*.py"))
144
+@@ -58,7 +56,7 @@
145
+ # Generate mo files
146
+ call("msgfmt {} -o {}".format(po_file, mo_path), shell=True)
147
+
148
+- locales = map(lambda i: ('share/curlew/'+i, [i+'/curlew.mo', ]), glob('locale/*/LC_MESSAGES'))
149
++ locales = map(lambda i: ('share/'+i, [i+'/curlew.mo', ]), glob('locale/*/LC_MESSAGES'))
150
+ data_files.extend(locales)
151
+
152
+ return 0
153
+@@ -168,5 +166,7 @@
154
+ 'Topic :: Desktop Environment :: Gnome',
155
+ 'Topic :: Multimedia :: Sound/Audio :: Conversion',
156
+ 'Topic :: Utilities'],
157
+- data_files=data_files
158
++ data_files=data_files,
159
++ packages=['curlew'],
160
++ package_dir={"curlew" : "modules"}
161
+ )
162
curlew-0.1.22.3.tar.gz -> curlew-0.2.2.tar.gz
Changed
Refresh
Refresh
Login required, please
login
or
signup
in order to comment
Request History
awissu created request about 8 years ago
awissu accepted request about 8 years ago
Please add a comment