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
Submit package home:aspiers:...es:Multimedia / mp3splt-gtk to package Multimedia / mp3splt-gtk
mp3splt-gtk.spec
Changed
x
1
2
# vim: set ts=4 sw=4 et:
3
4
%if %{?_without_audacious:1}0
5
-%define with_audacious 0
6
+%define with_audacious 1
7
%else
8
%define with_audacious 1
9
%endif
10
11
Name: mp3splt-gtk
12
-Version: 0.6.1a
13
-Release: 0.pm.1
14
+Version: 0.7.3
15
+Release: 1
16
Summary: Split MP3 and Ogg Files without decoding
17
-# http://prdownloads.sourceforge.net/mp3splt/mp3splt-gtk-%{version}.tar.gz
18
-Source: mp3splt-gtk-%{version}.tar.bz2
19
+Source: http://prdownloads.sourceforge.net/mp3splt/mp3splt-gtk-%{version}.tar.gz
20
Source1: %{name}.desktop
21
-Patch1: mp3splt-gtk-no_help.patch
22
+# This won't be required > 0.7.3:
23
+Patch0: mp3splt-gtk-m4-lib64.patch
24
+# since https://sourceforge.net/p/mp3splt/bugs/131/ is already fixed upstream
25
+Patch1: mp3splt-gtk-compiler-issues.patch
26
URL: http://mp3splt.sourceforge.net/mp3splt_page/home.php
27
Group: Productivity/Multimedia/Sound/Editors and Convertors
28
-License: GNU General Public License version 2 or later (GPLv2+)
29
+License: GPL-2.0+
30
BuildRoot: %{_tmppath}/build-%{name}-%{version}
31
BuildRequires: gstreamer-0_10-devel
32
BuildRequires: gstreamer-0_10-plugins-base-devel
33
BuildRequires: libmp3splt-devel >= 0.3.1
34
-BuildRequires: gtk2-devel >= 2.6.0
35
+BuildRequires: gtk3-devel
36
+BuildRequires: dbus-1-glib-devel
37
BuildRequires: libpng-devel
38
%if %with_audacious
39
BuildRequires: audacious-devel
40
# remove once the Requires is fixed in audacious-devel:
41
BuildRequires: libmcs-devel >= 0.7
42
%endif
43
-BuildRequires: autoconf automake libtool update-desktop-files
44
+BuildRequires: autoconf automake gettext-tools libtool update-desktop-files
45
46
%description
47
-%{name} is a GTK2 utility to split mp3 and ogg files selecting a begin and an
48
+%{name} is a GTK utility to split mp3 and ogg files selecting a begin and an
49
end time position, without decoding. It is very useful to split large mp3/ogg
50
to make smaller files or to split entire albums to obtain original tracks.
51
52
%prep
53
%setup -q
54
-%patch1
55
+%patch0 -p0
56
+%patch1 -p1
57
58
%build
59
export SUSE_ASNEEDED=0
60
+./autogen.sh
61
62
%configure \
63
--disable-rpath \
64
--disable-scrollkeeper \
65
--disable-gnome \
66
+ --disable-doxygen_doc \
67
+ --enable-gtk3 \
68
%if %with_audacious
69
--enable-audacious
70
%else
71
72
%defattr(-,root,root)
73
%doc AUTHORS ChangeLog COPYING NEWS README
74
%{_bindir}/mp3splt-gtk
75
+%{_mandir}/man1/mp3splt-gtk.1.gz
76
%{_datadir}/pixmaps/mp3splt-gtk.png
77
%{_datadir}/pixmaps/mp3splt-gtk_ico.svg
78
%{_datadir}/applications/%{name}.desktop
79
%{_datadir}/mp3splt-gtk
80
81
%changelog
82
+* Tue Dec 18 2012 aspiers@suse.com
83
+- update to 0.7.3
84
+* Sat Feb 27 2010 pascal.bleser@opensuse.org
85
+- update to 0.5.9
86
+* Mon Jun 8 2009 pascal.bleser@opensuse.org
87
+- rebuild against libaudclient.so.2
88
+* Mon Jan 19 2009 guru@unixtech.be
89
+- update to 0.5.4
90
+* Sat Dec 29 2007 guru@unixtech.be
91
+- moved to Packman
92
+- added patch to fix int pointer castings on 64bit
93
+* Mon Mar 27 2006 guru@unixtech.be
94
+- new package
95
mp3splt-gtk-compiler-issues.patch
Added
54
1
2
+Index: mp3splt-gtk/src/gstreamer_control.c
3
+===================================================================
4
+--- mp3splt-gtk/src/gstreamer_control.c (revision 1161)
5
++++ mp3splt-gtk/src/gstreamer_control.c (working copy)
6
+@@ -287,7 +287,7 @@
7
+ }
8
+
9
+ gchar *title = malloc(sizeof(char) * title_size);
10
+- memset(title, title_size, '\0');
11
++ memset(title, '\0', title_size);
12
+
13
+ if (pi->song_artist && pi->song_title)
14
+ {
15
+Index: mp3splt-gtk/src/mp3splt-gtk.c
16
+===================================================================
17
+--- mp3splt-gtk/src/mp3splt-gtk.c (revision 1161)
18
++++ mp3splt-gtk/src/mp3splt-gtk.c (working copy)
19
+@@ -269,7 +269,7 @@
20
+ gdk_threads_leave();
21
+ }
22
+
23
+-gboolean exit_application(GtkWidget *widget, GdkEvent *event, gpointer data)
24
++void exit_application(GtkWidget *widget, GdkEvent *event, gpointer data)
25
+ {
26
+ ui_state *ui = (ui_state *)data;
27
+
28
+Index: mp3splt-gtk/src/mp3splt-gtk.h
29
+===================================================================
30
+--- mp3splt-gtk/src/mp3splt-gtk.h (revision 1161)
31
++++ mp3splt-gtk/src/mp3splt-gtk.h (working copy)
32
+@@ -46,7 +46,7 @@
33
+ GThread *create_thread_with_fname(GThreadFunc func, ui_with_fname *ui_fname);
34
+ void enter_threads();
35
+ void exit_threads();
36
+-gboolean exit_application(GtkWidget *widget, GdkEvent *event, gpointer data);
37
++void exit_application(GtkWidget *widget, GdkEvent *event, gpointer data);
38
+ void exit_application_bis(GtkWidget *widget, gpointer data);
39
+
40
+ #define MP3SPLT_GTK_DATE "27/08/12"
41
+Index: mp3splt-gtk/src/multiple_files_window.c
42
+===================================================================
43
+--- mp3splt-gtk/src/multiple_files_window.c (revision 1161)
44
++++ mp3splt-gtk/src/multiple_files_window.c (working copy)
45
+@@ -158,7 +158,7 @@
46
+ {
47
+ if (filename == NULL)
48
+ {
49
+- return;
50
++ return FALSE;
51
+ }
52
+
53
+ GtkTreeModel *model = gtk_tree_view_get_model(ui->gui->multiple_files_tree);
54
mp3splt-gtk-m4-lib64.patch
Added
16
1
2
+--- m4/mp3splt.m4.orig 2012-12-18 21:13:05.124139636 +0000
3
++++ m4/mp3splt.m4 2012-12-18 21:24:37.783700438 +0000
4
+@@ -20,9 +20,9 @@
5
+ if test "x$mp3splt_libraries" != "x"; then
6
+ MP3SPLT_LIBS="-L$mp3splt_libraries"
7
+ elif test "x$mp3splt_prefix" != "x"; then
8
+- MP3SPLT_LIBS="-L$mp3splt_prefix/lib"
9
++ MP3SPLT_LIBS="-L$mp3splt_prefix/${libdir#$exec_prefix/}"
10
+ elif test "x$prefix" != "xNONE"; then
11
+- MP3SPLT_LIBS="-L$prefix/lib"
12
++ MP3SPLT_LIBS="-L$prefix/${libdir#$exec_prefix/}"
13
+ fi
14
+
15
+ MP3SPLT_LIBS="$MP3SPLT_LIBS -lmp3splt"
16
mp3splt-gtk-0.6.1a.tar.bz2 -> mp3splt-gtk-0.7.3.tar.gz
Changed
Refresh
Refresh
Login required, please
login
or
signup
in order to comment
Request History
aspiers created request over 11 years ago
Builds nicely on 0.7.3 now
pbleser accepted request about 12 years ago
reviewed ok, thanks