ABF is currently being migrated to new servers. Pull requests should be working.
avatar
Rosa has added bfc90dfeb8
initial: add from SRPM
... ... --- /dev/null
... ... +++ b/.abf.yml
... ... @@ -0,0 +1,2 @@
1
sources:
2
  "cdrdao-1.2.3.tar.bz2": 70d6547795a1342631c7ab56709fd1940c2aff9f
view file @ bfc90dfeb8
... ... --- /dev/null
... ... +++ b/cdrdao-1.2.2-fix-str-fmt.patch
... ... @@ -0,0 +1,54 @@
1
--- pccts/antlr/fset2.c.str	2009-04-07 09:43:21.000000000 +0200
2
+++ pccts/antlr/fset2.c	2009-04-07 09:43:38.000000000 +0200
3
@@ -2210,7 +2210,7 @@
4
       if (p->ntype != nToken) continue;
5
       tn=(TokNode *)p;
6
       if (depth != 0) fprintf(stdout," ");
7
-      fprintf(stdout,TerminalString(tn->token));
8
+      fprintf(stdout,"%s",TerminalString(tn->token));
9
       depth++;
10
       if (! MR_AmbAidMultiple) {
11
         if (set_nil(tn->tset)) {
12
--- pccts/antlr/gen.c.str	2009-04-07 09:42:11.000000000 +0200
13
+++ pccts/antlr/gen.c	2009-04-07 09:43:04.000000000 +0200
14
@@ -159,7 +159,7 @@
15
 #define gen6(s,a,b,c,d,e,f)	{tab(); fprintf(output, s,a,b,c,d,e,f);}
16
 #define gen7(s,a,b,c,d,e,f,g)	{tab(); fprintf(output, s,a,b,c,d,e,f,g);}
17
 
18
-#define _gen(s)			{fprintf(output, s);}
19
+#define _gen(s)			{fprintf(output, "%s", s);}
20
 #define _gen1(s,a)		{fprintf(output, s,a);}
21
 #define _gen2(s,a,b)	{fprintf(output, s,a,b);}
22
 #define _gen3(s,a,b,c)	{fprintf(output, s,a,b,c);}
23
--- pccts/antlr/lex.c.str	2009-04-07 09:41:11.000000000 +0200
24
+++ pccts/antlr/lex.c	2009-04-07 09:42:01.000000000 +0200
25
@@ -706,7 +706,7 @@
26
 /* MR26 */			if (! (isalpha(*t) || isdigit(*t) || *t == '_' || *t == '$')) break;
27
 /* MR26 */		}
28
 /* MR26 */	}
29
-/* MR26 */	fprintf(output,strBetween(pSymbol, t, pSeparator));
30
+/* MR26 */	fprintf(output,"%s",strBetween(pSymbol, t, pSeparator));
31
 
32
     *q = p;
33
     return (*pSeparator  == 0);
34
@@ -771,7 +771,7 @@
35
 				  &pValue,
36
 				  &pSeparator,
37
 				  &nest);
38
-	fprintf(f,strBetween(pDataType, pSymbol, pSeparator));
39
+	fprintf(f,"%s",strBetween(pDataType, pSymbol, pSeparator));
40
 }
41
 
42
 /* check to see if string e is a word in string s */
43
@@ -852,9 +852,9 @@
44
 					  &pSeparator,
45
 					  &nest);
46
 		fprintf(f,"\t");
47
-		fprintf(f,strBetween(pDataType, pSymbol, pSeparator));
48
+		fprintf(f,"%s",strBetween(pDataType, pSymbol, pSeparator));
49
 		fprintf(f," ");
50
-		fprintf(f,strBetween(pSymbol, pEqualSign, pSeparator));
51
+		fprintf(f,"%s",strBetween(pSymbol, pEqualSign, pSeparator));
52
 		fprintf(f,";\n");
53
     }
54
 	fprintf(f,"};\n");
view file @ bfc90dfeb8
... ... --- /dev/null
... ... +++ b/cdrdao-1.2.3-stat.patch
... ... @@ -0,0 +1,13 @@
1
diff -up cdrdao-1.2.3/dao/ScsiIf-linux.cc.stat cdrdao-1.2.3/dao/ScsiIf-linux.cc
2
--- cdrdao-1.2.3/dao/ScsiIf-linux.cc.stat	2010-01-20 20:11:36.000000000 +0100
3
+++ cdrdao-1.2.3/dao/ScsiIf-linux.cc	2010-01-20 20:14:07.000000000 +0100
4
@@ -19,6 +19,9 @@
5
 
6
 #include <config.h>
7
 
8
+#include <sys/types.h>
9
+#include <sys/stat.h>
10
+
11
 #include <stdio.h>
12
 #include <fcntl.h>
13
 #include <unistd.h>
view file @ bfc90dfeb8
... ... --- /dev/null
... ... +++ b/cdrdao-1.2.3-version.patch
... ... @@ -0,0 +1,11 @@
1
--- cdrdao/dao/main.cc~	2009-04-16 15:34:27.000000000 +0200
2
+++ cdrdao/dao/main.cc	2009-04-16 15:34:38.000000000 +0200
3
@@ -207,7 +207,7 @@
4
 
5
 static void printVersion()
6
 {
7
-  log_message(2, "Cdrdao version %s - (C) Andreas Mueller <andreas@daneb.de>",
8
+  log_message(0, "Cdrdao version %s - (C) Andreas Mueller <andreas@daneb.de>",
9
 	  VERSION);
10
 
11
   std::list<std::string> list;
... ... --- /dev/null
... ... +++ b/cdrdao.spec
... ... @@ -0,0 +1,332 @@
1
%define	name	cdrdao
2
%define version 1.2.3
3
%define build_plf 0
4
%{?_with_plf: %{expand: %%global build_plf 1}}
5
%define release %mkrel 6
6
%define fname %name-%version
7
%if %build_plf
8
%define distsuffix plf
9
%if %mdvver >= 201100
10
# make EVR of plf build higher than regular to allow update, needed with rpm5 mkrel
11
%define extrarelsuffix plf
12
%endif
13
%endif
14
15
Summary:	Cdrdao - Write CDs in disk-at-once mode
16
Name:		%{name}
17
Version:	%{version}
18
Release:	%{release}%{?extrarelsuffix}
19
License:	GPLv2+
20
Group:		Archiving/Cd burning
21
URL:		http://cdrdao.sourceforge.net/
22
Source0:	http://prdownloads.sourceforge.net/cdrdao/%{fname}.tar.bz2
23
Patch1:		mkisofs-changelog.patch 
24
#gw from Fedora: fix version printing needed by k3b
25
Patch3:		cdrdao-1.2.3-version.patch
26
Patch10:	cdrdao-1.2.2-fix-str-fmt.patch
27
Patch11:	cdrdao-1.2.3-stat.patch
28
BuildRequires:	libvorbis-devel
29
BuildRequires:	libmad-devel
30
BuildRequires:	libao-devel
31
BuildRequires:	imagemagick
32
BuildRequires:	desktop-file-utils
33
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot
34
35
%description
36
Writes CDs in disc-at-once (DAO) mode allowing control over pre-gaps
37
(length down to 0, nonzero audio data) and sub-channel information
38
like ISRC codes. All data that is written to the disc must be
39
specified with a text file. Audio data may be in WAVE or raw format.
40
%if %build_plf
41
42
This package is in PLF as it violates some patents for MP3 encoding.
43
%endif
44
45
%package	gcdmaster
46
Summary:	Graphical front end to cdrdao for creating audio CDs
47
Group:		Archiving/Cd burning
48
Obsoletes:	cdrdao-xdao cdrdao-xcdrdao
49
BuildRequires:	libgnomeuimm2.6-devel
50
Provides:	cdrdao-xdao cdrdao-xcdrdao
51
52
Requires:		%{name} = %{version}
53
Requires(post):		shared-mime-info
54
Requires(postun):	shared-mime-info
55
Requires(post):		desktop-file-utils
56
Requires(postun):	desktop-file-utils
57
58
%description    gcdmaster
59
gcdmaster allows the creation of toc-files for cdrdao and can control
60
the recording process. Its main application is the creation of audio
61
CDs from one or more audio files. It supports PQ-channel editing,
62
entry of meta data like ISRC codes/CD-TEXT and non-destructive cut of
63
the audio data.
64
65
%if %build_plf
66
%package	toc2mp3
67
Summary:	Command line MP3 encoder front end to cdrdao
68
Group:		Sound
69
BuildRequires:	liblame-devel
70
Requires:	%{name} = %{version}
71
72
%description	toc2mp3
73
This is a command line MP3 encoder that converts audio CD disc images
74
(toc files) to MP3 files. Special care is taken that the MP3 files can
75
be played in sequence without having unwanted noise at the transition
76
points. CD-TEXT information (if available) is used to set ID3 (v2)
77
tags and to construct the name of the MP3 files.
78
79
This package is in PLF as it violates some patents for MP3 encoding.
80
%endif
81
82
%prep
83
%setup -q -n %fname
84
%patch1 -p1 -b .changelog
85
%patch3 -p1
86
%patch10 -p0 -b .str
87
%patch11 -p1 -b .stat
88
89
%build
90
export CXXFLAGS="%optflags -DENABLE_NLS"
91
%configure2_5x
92
%make
93
94
%install
95
rm -rf %buildroot
96
%makeinstall
97
98
# Menu
99
perl -pi -e 's,gcdmaster.png,gcdmaster,g' %{buildroot}%{_datadir}/applications/*
100
desktop-file-install --vendor="" \
101
  --remove-category="Application" \
102
  --remove-category="X-Fedora" \
103
  --remove-key="Encoding" \
104
  --add-category="GTK" \
105
  --add-category="AudioVideo" \
106
  --add-category="DiscBurning" \
107
  --dir %{buildroot}%{_datadir}/applications %{buildroot}%{_datadir}/applications/*
108
  
109
# icon
110
mkdir -p %{buildroot}%{_iconsdir}/hicolor/{16x16,32x32,48x48}/apps
111
convert -scale 16 xdao/gcdmaster.png %{buildroot}%{_iconsdir}/hicolor/16x16/apps/gcdmaster.png
112
convert -scale 32 xdao/gcdmaster.png %{buildroot}%{_iconsdir}/hicolor/32x32/apps/gcdmaster.png
113
install -m 644 xdao/gcdmaster.png %{buildroot}%{_iconsdir}/hicolor/48x48/apps/gcdmaster.png
114
 
115
%define schemas gcdmaster
116
%if %mdkversion < 200900
117
%post gcdmaster
118
%post_install_gconf_schemas %schemas
119
%{update_menus}
120
%{update_icon_cache hicolor}
121
122
%postun gcdmaster
123
%{clean_menus}
124
%{clean_icon_cache hicolor}
125
%endif
126
127
%preun gcdmaster
128
%preun_uninstall_gconf_schemas %schemas
129
130
%clean
131
rm -rf %{buildroot}
132
133
%files
134
%defattr(-,root,root)
135
%doc README README.PlexDAE
136
%doc %{_mandir}/man1/*
137
%attr(6755,root,cdwriter) %{_bindir}/cdrdao
138
%{_bindir}/toc2cue
139
%{_bindir}/toc2cddb
140
%{_bindir}/cue2toc
141
%{_datadir}/%{name}
142
143
%files	gcdmaster
144
%defattr(-,root,root)
145
%_sysconfdir/gconf/schemas/gcdmaster.schemas
146
%{_bindir}/gcdmaster
147
%{_datadir}/applications/gcdmaster.desktop
148
%{_datadir}/application-registry/gcdmaster.applications
149
%{_datadir}/gcdmaster
150
%{_datadir}/mime-info/gcdmaster.keys
151
%{_datadir}/mime-info/gcdmaster.mime
152
%{_datadir}/mime/packages/gcdmaster.xml
153
%{_datadir}/pixmaps/*
154
%{_iconsdir}/hicolor/*/apps/*
155
156
%if %build_plf
157
%files toc2mp3
158
%defattr(-,root,root)
159
%{_bindir}/toc2mp3
160
%endif
161
162
163
164
%changelog
165
* Mon May 23 2011 Funda Wang <fwang@mandriva.org> 1.2.3-6mdv2011.0
166
+ Revision: 677613
167
- rebuild to add gconftool as req
168
169
* Thu Apr 21 2011 Götz Waschk <waschk@mandriva.org> 1.2.3-5
170
+ Revision: 656475
171
- rebuild
172
173
  + Anssi Hannula <anssi@mandriva.org>
174
    - plf: append "plf" to Release on cooker to make plf build have higher EVR
175
      again with the rpm5-style mkrel now in use
176
177
* Mon Dec 20 2010 Funda Wang <fwang@mandriva.org> 1.2.3-4mdv2011.0
178
+ Revision: 623246
179
- fix build with stat headers
180
181
  + Oden Eriksson <oeriksson@mandriva.com>
182
    - rebuild
183
184
* Sun Mar 28 2010 Funda Wang <fwang@mandriva.org> 1.2.3-3mdv2010.1
185
+ Revision: 528350
186
- rebuild
187
188
* Mon Mar 15 2010 Oden Eriksson <oeriksson@mandriva.com> 1.2.3-2mdv2010.1
189
+ Revision: 520020
190
- rebuilt for 2010.1
191
192
* Tue Oct 06 2009 Götz Waschk <waschk@mandriva.org> 1.2.3-1mdv2010.0
193
+ Revision: 454454
194
- new version
195
- drop patch 2
196
197
* Mon May 04 2009 Götz Waschk <waschk@mandriva.org> 1.2.3-0.rc2.1mdv2010.0
198
+ Revision: 371558
199
- new prerelease
200
- drop patches 0,9,22,30
201
- update patch 2
202
- add Fedora patch for k3b
203
- update file list
204
205
* Tue Apr 07 2009 Funda Wang <fwang@mandriva.org> 1.2.2-8mdv2009.1
206
+ Revision: 364769
207
- fix str fmt
208
209
* Wed Aug 06 2008 Thierry Vignaud <tv@mandriva.org> 1.2.2-8mdv2009.0
210
+ Revision: 264347
211
- rebuild early 2009.0 package (before pixel changes)
212
213
  + Pixel <pixel@mandriva.com>
214
    - rpm filetriggers deprecates update_menus/update_scrollkeeper/update_mime_database/update_icon_cache/update_desktop_database/post_install_gconf_schemas
215
216
* Fri May 23 2008 Oden Eriksson <oeriksson@mandriva.com> 1.2.2-7mdv2009.0
217
+ Revision: 210280
218
- more gcc43 fixes
219
- sync with fedora
220
221
* Fri Dec 21 2007 Olivier Blin <oblin@mandriva.com> 1.2.2-6mdv2008.1
222
+ Revision: 136290
223
- restore BuildRoot
224
225
  + Thierry Vignaud <tv@mandriva.org>
226
    - kill re-definition of %%buildroot on Pixel's request
227
228
* Wed Sep 12 2007 Götz Waschk <waschk@mandriva.org> 1.2.2-6mdv2008.0
229
+ Revision: 84783
230
- fix description
231
232
* Tue Sep 11 2007 Adam Williamson <awilliamson@mandriva.org> 1.2.2-5mdv2008.0
233
+ Revision: 84331
234
- add patch0 to fix compilation issue caused by use of old sigc++ API
235
- don't buildrequire cdrecord-devel any more
236
-rebuild for 2008
237
- no need to update mime database as the .desktop file contains no mime types
238
- fix encoding and icon errors in .desktop file
239
- drop X-Mandriva and X-Fedora menu categories
240
- fd.o icons
241
- drop legacy menu and icons
242
- s/mp3/MP3/
243
- rewrap descriptions
244
- Fedora license policy
245
246
  + Götz Waschk <waschk@mandriva.org>
247
    - fix description (bug #32017)
248
249
250
* Wed Oct 18 2006 Götz Waschk <waschk@mandriva.org>
251
+ 2006-10-17 12:47:21 (65871)
252
rebuild
253
254
* Tue Oct 17 2006 Götz Waschk <waschk@mandriva.org>
255
+ 2006-10-16 07:25:36 (65483)
256
rebuild
257
258
* Fri Oct 13 2006 Götz Waschk <waschk@mandriva.org>
259
+ 2006-10-12 07:48:55 (63699)
260
rebuild
261
262
* Fri Oct 13 2006 Götz Waschk <waschk@mandriva.org>
263
+ 2006-10-12 07:42:18 (63698)
264
rebuild
265
266
* Mon Oct 09 2006 Götz Waschk <waschk@mandriva.org>
267
+ 2006-10-08 13:30:36 (63025)
268
Import cdrdao
269
270
* Sat Sep 23 2006 Gtz Waschk <waschk@mandriva.org> 1.2.2-1mdv2007.0
271
- drop patch
272
- New version 1.2.2
273
274
* Thu Aug 24 2006 Gtz Waschk <waschk@mandriva.org> 1.2.1-3mdv2007.0
275
- rebuild for new cairomm
276
277
* Sat Jun 17 2006 Gtz Waschk <waschk@mandriva.org> 1.2.1-2mdv2007.0
278
- xdg menu
279
- fix build with gcc 4.1
280
281
* Sat Nov 26 2005 Gtz Waschk <waschk@mandriva.org> 1.2.1-1mdk
282
- drop patches
283
- New release 1.2.1
284
285
* Sun Jul 31 2005 Nicolas Lcureuil <neoclust@mandriva.org> 1.2.0-2mdk
286
- Patch 1 : Fix Compile with Gcc4
287
288
* Sat May 14 2005 Gtz Waschk <waschk@mandriva.org> 1.2.0-1mdk
289
- update file list
290
- bump deps
291
- drop patches 3,4
292
- mkrel
293
- new version
294
295
* Thu Dec 16 2004 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 1.1.9-7mdk
296
- fix buildrequires
297
. fix ambigous operator cast (P4 from fedora)
298
299
* Fri Sep 03 2004 Marcel Pol <mpol@mandrake.org> 1.1.9-6mdk
300
- fix menu section
301
302
* Wed Jun 16 2004 Götz Waschk <waschk@linux-mandrake.com> 1.1.9-5mdk
303
- use official icon
304
- add missing files
305
- patch 3 for some gcc 3.4 fixes
306
- drop merged patches 1,2
307
- add source URL
308
- New release 1.1.9
309
310
* Fri May 14 2004 Götz Waschk <waschk@linux-mandrake.com> 1.1.8-5mdk
311
- C++ fixes from Gwenole Beauchesne
312
313
* Sun Apr 18 2004 Götz Waschk <waschk@linux-mandrake.com> 1.1.8-4mdk
314
- fix toc2mp3 package
315
316
* Sun Apr 18 2004 Götz Waschk <waschk@linux-mandrake.com> 1.1.8-3mdk
317
- gcdmaster depends on cdrdao
318
319
* Wed Mar 24 2004 Götz Waschk <waschk@linux-mandrake.com> 1.1.8-2mdk
320
- patch1: don't add kernel includes
321
- add subpackage for toc2mp3
322
- real 1.1.8 final
323
324
* Fri Mar 12 2004 Warly <warly@mandrakesoft.com> 1.1.8-1mdk
325
- 1.1.8 final
326
- add buildrequires cdrecord-devel
327
328
* Sun Jan 11 2004 Götz Waschk <waschk@linux-mandrake.com> 1.1.8-0.pre2.0.20040106.1mdk
329
- set suid bit on the cdrdao executable
330
- add toc2cddb
331
- new cvs snapshot
332
view file @ bfc90dfeb8
... ... --- /dev/null
... ... +++ b/mkisofs-changelog.patch
... ... @@ -0,0 +1,9 @@
1
--- cdrtools-1.10/mkisofs/ChangeLog.changelog	Sat Apr  7 17:34:04 2001
2
+++ cdrtools-1.10/mkisofs/ChangeLog	Thu Apr 19 01:02:24 2001
3
@@ -0,0 +1,6 @@
4
+**************** Packager's Note ******************
5
+Tue Aug  8 2000 Crutcher Dunnavant <crutcher@redhat.com>
6
+	* graft-points are NO LONGER assuemd,
7
+	  you must specify '-graft-points'
8
+
9
+

Comments