Compare commits

...

453 Commits

Author SHA1 Message Date
Yujiang Wang
ec679e3762 Fix compilation on Arch Linux 2025-10-06 21:54:38 +02:00
Stéphane Lesimple
b20421e639 release v0.79.10-pl5 2025-05-11 22:54:26 +02:00
Stéphane Lesimple
627dcd111e chore: update locales 2025-05-11 22:54:26 +02:00
Stéphane Lesimple
4e9949bd38 fix: file open dialog crash (#126) 2025-05-11 13:26:03 +02:00
Stéphane Lesimple
4a7d375475 chore: update release date in CHANGELOG 2025-05-04 14:10:13 +02:00
Stéphane Lesimple
fb4e70bfca chore: windows: add glib2 schemas when packaging 2025-05-04 14:02:43 +02:00
Stéphane Lesimple
8a354dbb4f chore: update locales 2025-05-03 12:13:39 +02:00
Stéphane Lesimple
3ed8d281c4 bump to patchlevel 4 2025-05-03 12:13:39 +02:00
Stéphane Lesimple
9e6b43d2cf chore: configure: remove a few now-useless -Wno-* 2025-05-03 12:13:39 +02:00
Stéphane Lesimple
b89b7d0e50 chore: remove the TODO menu for our version 2025-05-03 12:13:39 +02:00
Stéphane Lesimple
4456b67a24 adjust adaptive reading message for RS03 2025-05-03 12:13:39 +02:00
Stéphane Lesimple
49cf87bb31 update changelogs in-app 2025-05-03 12:13:39 +02:00
Stéphane Lesimple
117fcb1ee9 chore: makefile: hide glib-compile-resources call 2025-05-03 12:13:39 +02:00
Stéphane Lesimple
7c72e749ca chore: add macos suffix to macos dist 2025-05-03 12:13:39 +02:00
Stéphane Lesimple
f03dc63571 update changelog and credits for release 2025-05-03 12:13:39 +02:00
Stéphane Lesimple
f1debb4002 update README 2025-05-03 12:13:39 +02:00
Stéphane Lesimple
935aa50038 Adjust workflows to build a proper Windows zip with gtk3 2025-05-01 17:10:27 +02:00
Paul Dicker
235a6243d2 Smooth curve (don't round double to int) 2025-05-01 11:41:09 +02:00
Paul Dicker
aa00ac9e3e Fix path with arc parsing bug in old rsvg 2025-05-01 11:40:51 +02:00
Paul Dicker
76f79adeed Explicitly use -symbolic in icon reference names (for old gtk3 versions) 2025-05-01 11:40:51 +02:00
Paul Dicker
903228e4b0 Rename help icon to manual to avoid confusion with stock help icon 2025-05-01 11:40:51 +02:00
Paul Dicker
02e1d35db8 Simplify svg of create icon 2025-05-01 11:40:51 +02:00
Paul Dicker
bbf60ee3e6 Make fix, scan and verify icons symbolic 2025-05-01 11:40:51 +02:00
Paul Dicker
dc0e03073d Adjust configure and makefile for inlined-icons.c 2025-05-01 11:40:51 +02:00
Paul Dicker
da612c8a3a Enable warnings for deprecated items 2025-05-01 11:40:51 +02:00
Paul Dicker
e4753752d3 Don't use deprecated kIOMasterPortDefault
`kIOMasterPortDefault` is deprecated since macOS 12.0.
One alternative is to use named constant `kIOMainPortDefault` which is
not available before macOS 12.0.

Both named constants are just an alias for `NULL`, so it is simpler to
use it directly instead.
2025-05-01 11:40:51 +02:00
Paul Dicker
e5f1eb1bd0 Don't use stock buttons 2025-05-01 11:40:51 +02:00
Paul Dicker
4f8a5479ac Rework icon handling and convert to svg 2025-05-01 11:40:51 +02:00
Paul Dicker
4c57e2ab2b Don't query medium size on undo 2025-05-01 11:40:51 +02:00
Paul Dicker
30ff03d053 Convert GtkTable to GtkGrid in encoding window 2025-05-01 11:40:51 +02:00
Paul Dicker
d826d01de2 Convert GtkTable to GtkGrid in rs03-verify 2025-05-01 11:40:51 +02:00
Paul Dicker
0d0180167e Convert GtkTable to GtkGrid in rs02-verify 2025-05-01 11:40:51 +02:00
Paul Dicker
dc23ed54b1 Convert GtkTable to GtkGrid in rs01-verify 2025-05-01 11:40:51 +02:00
Paul Dicker
51089b2902 Convert GtkTable to GtkGrid in media info 2025-05-01 11:40:51 +02:00
Paul Dicker
63ff359b03 Convert GtkTable to GtkGrid in RS02 preference tab 2025-05-01 11:40:51 +02:00
Paul Dicker
3538a6bc7b Convert GtkTable to GtkGrid in preferences 2025-05-01 11:40:51 +02:00
Paul Dicker
697b116374 Replace GtkAlignment widget 2025-05-01 11:40:51 +02:00
Paul Dicker
3757f9c9a8 The shadow type property on GtkMenuBar is ignored since gtk 3.20 2025-05-01 11:40:51 +02:00
Paul Dicker
b7840d13c1 Convert gtk_hscale_new_with_range to gtk_scale_new_with_range 2025-05-01 11:40:51 +02:00
Paul Dicker
fdc09176d9 Convert gtk_misc_set_padding to gtk_widget_set_margin_start 2025-05-01 11:40:51 +02:00
Paul Dicker
0392e443f5 Remove label alignments that don't effect layout 2025-05-01 11:40:51 +02:00
Paul Dicker
7e416990cd Vertically center status bar label 2025-05-01 11:40:51 +02:00
Paul Dicker
93be13b0ee Convert gtk_misc_set_alignment to gtk_label_set_(x|y)align 2025-05-01 11:40:51 +02:00
Paul Dicker
222429df10 Convert gtk_(h|v)separator_new to gtk_separator_new 2025-05-01 11:40:51 +02:00
Paul Dicker
5ea0011dce Convert gtk_(h|v)box_new to gtk_box_new 2025-05-01 11:40:51 +02:00
Stéphane Lesimple
cc9f4dd817 add some info about RS03 in readme 2025-04-17 17:35:29 +02:00
Stéphane Lesimple
7732231bb5 fix: RS03RecognizeImage exhaustive search when --no-bdr-defect-management is used (fix #99) 2025-04-16 22:45:16 +02:00
Stéphane Lesimple
e5bc7faa73 Build AppImage with gtk3
This also fixes #92, fixes the opening of the PDF manual under AppImage,
the default path of images and ecc files under AppImage, and a couple
other minor fixes.

We also now get Continuous Build binaries for all supported OSes when
a PR is merged to the main branch, and a Dev series of binaries in a
draft release when the dev branch is updated.
2025-04-15 20:47:11 +02:00
Stéphane Lesimple
3a37673b3f Fix error message display if xdg-open fails 2025-04-15 20:47:11 +02:00
Stéphane Lesimple
0d7a8cc22b Add a notice about ignored command-line options in GUI mode 2025-04-15 20:47:11 +02:00
Stéphane Lesimple
0b5b9c9f9e Re-enable verbose mode, add VERBOSE envvar support 2025-04-15 20:47:11 +02:00
Stéphane Lesimple
061026af8a Remove 'unstable' from the titlebar 2025-04-15 20:47:11 +02:00
Paul Dicker
2b5fca0e4f Simplify welcome window creation 2025-04-14 21:29:34 +02:00
Paul Dicker
24570f86d1 Set window width for help dialogs 2025-04-14 21:29:34 +02:00
Paul Dicker
9f583b1ffb Get foreground color while drawing, don't bother with background 2025-04-14 21:29:34 +02:00
Paul Dicker
d66ee15738 Convert colors to GdkRGBA 2025-04-14 21:29:34 +02:00
Paul Dicker
6c88a55600 Connect to draw instead of expose events 2025-04-14 21:29:34 +02:00
Paul Dicker
e75d73c74a Build with gtk3 2025-04-14 21:29:34 +02:00
Stéphane Lesimple
a7e1a5591e chore: configure: add --with-debug and --with-efence 2025-04-14 19:06:12 +02:00
Stéphane Lesimple
64f31a8e5d Fix issues detected by static analysis 2025-04-14 19:06:12 +02:00
Paul Dicker
d01aae080e Use finer curve grid for fast media (with a small x factor) 2025-04-14 19:05:27 +02:00
Paul Dicker
967d8e0b4c Draw left axis on top of grid (like the other axis) 2025-04-14 19:05:27 +02:00
Paul Dicker
ce64c57c49 Remove Closure->drawGC 2025-04-14 19:05:27 +02:00
Paul Dicker
5da5fa54dc Create cairo context in expose callback 2025-04-14 19:05:27 +02:00
Paul Dicker
6dc80bb542 Draw with cairo in raw editor 2025-04-14 19:05:27 +02:00
Paul Dicker
8c0765a1b6 Draw ecc capacity threshold line with cairo 2025-04-14 19:05:27 +02:00
Paul Dicker
640d72098d Draw adaptive read labels with cairo 2025-04-14 19:05:27 +02:00
Paul Dicker
57b55b2527 Draw curves with separate loops 2025-04-14 19:05:27 +02:00
Paul Dicker
a00dee7240 Draw curve with cairo 2025-04-14 19:05:27 +02:00
Paul Dicker
f3226aaf68 Draw spiral and spiral labels with cairo 2025-04-14 19:05:27 +02:00
Paul Dicker
d9f9094a56 Only draw inside expose callback in raw editor 2025-04-14 19:05:27 +02:00
Paul Dicker
923fe44e4a Only draw in expose callback in RS01/RS02/RS03 windows 2025-04-14 19:05:27 +02:00
Paul Dicker
fb7198c1e9 Only draw in expose callback in read linear window 2025-04-14 19:05:27 +02:00
Paul Dicker
58a35bc565 Only draw in expose callback in adaptive window 2025-04-14 19:05:27 +02:00
Paul Dicker
c4c0fcec81 Always redraw entire curve 2025-04-14 19:05:27 +02:00
Paul Dicker
bb6c9222fb Rename GuiDrawSpiralSegment to GuiSetSpiralSegmentColor 2025-04-14 19:05:27 +02:00
Paul Dicker
956131c3f3 Always redraw entire spiral 2025-04-14 19:05:27 +02:00
Paul Dicker
ed8d9cfd66 Set outline color per spiral segment 2025-04-14 19:05:27 +02:00
Paul Dicker
73218aebd2 Split curve and spiral widgets 2025-04-14 19:05:27 +02:00
Paul Dicker
9effa298cd Store widget instead of drawable in _Spiral 2025-04-14 19:05:27 +02:00
Paul Dicker
2cd769a958 Corect file name in ecc file picker 2025-04-14 19:05:27 +02:00
Paul Dicker
b227732274 Use GtkColorButton 2025-04-14 12:31:57 +02:00
Paul Dicker
e68a8e79d0 Don't set line wrap of message dialog label 2025-04-14 12:31:57 +02:00
Paul Dicker
e9b44a04f0 Use more accessors 2025-04-14 12:31:57 +02:00
Paul Dicker
eadbf54aae Don't directly access widget->allocation 2025-04-14 12:31:57 +02:00
Paul Dicker
3967ff3cae Switch raw sector buffer loading/saving to GtkFileChooserDialog 2025-04-14 12:31:57 +02:00
Paul Dicker
f8678eb3be Switch raw sector file picker to GtkFileChooserDialog 2025-04-14 12:31:57 +02:00
Paul Dicker
ea92170fd1 Switch raw sector dir picker to GtkFileChooserDialog 2025-04-14 12:31:57 +02:00
Paul Dicker
8504386fb1 Switch log file picker to GtkFileChooserDialog 2025-04-14 12:31:57 +02:00
Paul Dicker
8469a933e4 Switch image and ecc file picker to GtkFileChooserDialog 2025-04-14 12:31:57 +02:00
Paul Dicker
ad3285507b Don't right-justify Help 2025-04-14 12:31:57 +02:00
Paul Dicker
2bb0774538 Remove reversing Ok/Cancel button order functionality 2025-04-14 12:31:57 +02:00
Paul Dicker
2cee2215af Use gtk_menu_shell_append instead of gtk_menu_bar_append 2025-04-14 12:31:57 +02:00
Paul Dicker
8c567549c1 Switch from ComboBox to ComboBoxText 2025-04-14 12:31:57 +02:00
Paul Dicker
9bbd268aa4 Port to new GtkTooltip 2025-04-14 12:31:57 +02:00
Paul Dicker
3be61f4b7b Call FreeCrcBuf earlier (it may do logging) 2025-04-05 07:49:32 +00:00
Paul Dicker
c7b0f5b592 Free gui first (it may do logging) 2025-04-05 07:49:32 +00:00
Paul Dicker
c0bde64a54 Support HD-DVD 2025-04-01 22:27:01 +02:00
Stéphane Lesimple
c19e7ea100 fix: tests under mingw 2025-04-01 21:14:37 +02:00
Stéphane Lesimple
063ad92460 enh: speedup RS03 repair (fixes #100) 2024-08-03 10:24:33 +02:00
Stéphane Lesimple
aa9065f0c0 GUI: when working, disable strip button 2024-07-08 14:48:55 +02:00
Stéphane Lesimple
0bfca9a9fc more detailed help in commandline version 2024-07-08 14:47:42 +02:00
Stéphane Lesimple
71668f3296 fix: prevent AppImage from reading hosts' immodules.cache file (#94) 2024-07-08 13:35:11 +02:00
Stéphane Lesimple
3d1bf4677e remove misplaced src file, add draft (#93) 2024-07-06 16:04:11 +02:00
Stéphane Lesimple
c32080d7d6 fix: AppImage: add libgail, fixes #90 (#91)
* fix: AppImage: add libgail, fixes #90

* chore: push action-gh-release from v1 to v2
2024-05-08 18:20:04 +02:00
Stéphane Lesimple
42bb0a120b release v0.79.10-pl3 2024-02-18 18:29:12 +01:00
Stéphane Lesimple
8d24545c88 fix: corrupt data under Windows with mmap (fixes #82) (#87) 2024-02-18 12:26:41 +01:00
Stéphane Lesimple
16ea27d791 fix: re-enable buttons after Split is used (#86) 2024-02-18 12:21:57 +01:00
Stéphane Lesimple
a7c5268f37 fix: suboptimal layout for RS03 w/o defect management (#79) (#80)
* fix: suboptimal layout for RS03 w/o defect management (#79)

Co-authored-by: jpovixwm <53523617+jpovixwm@users.noreply.github.com>
2024-01-18 11:13:55 +01:00
Stéphane Lesimple
45ff2c5fda chore: update github actions 2023-10-01 15:02:53 +02:00
Stéphane Lesimple
1338598abb chore: fix github actions for release (macOS and AppImage) 2023-09-17 22:39:37 +02:00
Stéphane Lesimple
1577a7c18d chore: fix github actions for release, again 2023-09-17 19:47:49 +02:00
Stéphane Lesimple
36ef8517fd chore: fix github actions for release 2023-09-17 19:37:42 +02:00
Stéphane Lesimple
64c0361179 release v0.79.10-pl2 2023-09-17 19:22:32 +02:00
Stéphane Lesimple
eeb9f0705d feat: re-introduced MacOS support (#71)
* preparatory changes to make dvdisaster compilable under MacOS
* Implemented workaround to macOS Test Unit Ready bug
* fixed manual.pdf not opening on macOS
* Added case for binary being in app bundle
* updated locale files due to change in closure.c
* added back mac app bundle specific files
* reverted make-dist.sh to windows/linux only version and created separate mac script which uses dylibbundler
* altered release.yml accordingly
* chore: fix build under MacOS

---------

Co-authored-by: Stéphane Lesimple <speed47_github@speed47.net>
Co-authored-by: jlnbxn <julianboxan@gmail.com>
Co-authored-by: wojas <github@m.wojas.nl>
2023-09-17 19:13:47 +02:00
Stéphane Lesimple
f38969c7c8 chore: update github actions to use windows-latest 2023-06-01 10:00:29 +02:00
Stéphane Lesimple
be6970f5df chore: add codeql 2023-06-01 10:00:29 +02:00
Stéphane Lesimple
cb3d628f12 chore: fix regtests under github actions 2022-07-23 15:48:06 +02:00
Stéphane Lesimple
62ec64d18f fix: appimage: issue with glib #60 2022-07-23 15:48:06 +02:00
Stéphane Lesimple
981226eec2 chore: fix bad utf8 encoding 2021-10-10 00:58:30 +02:00
Stéphane Lesimple
06b367e1cd fix: re-introduce Windows-specific code in closure.c 2021-10-09 17:32:10 +02:00
Stéphane Lesimple
3d3a65d8c2 fix: manual was not opening from the menu 2021-10-09 17:11:18 +02:00
Stéphane Lesimple
50ff1c0403 fix: documentation path under Windows 2021-10-09 16:56:31 +02:00
Stéphane Lesimple
65976868cf fix: appimage: replace ubuntu 16.04 by 18.04
The 16.04 image is no longer available on GitHub.
2021-10-09 16:56:31 +02:00
Stéphane Lesimple
62b602030a fix: re-introduce modified version info 2021-10-09 16:56:31 +02:00
Stéphane Lesimple
db4d3af31d sync from upstream up to 22:14a375563e2b
This includes the following commits:

changeset:   22:14a375563e2b
summary:     chang "while" command to "type -P" in bash based configure

changeset:   21:c4bf7c0f33d2
summary:     updated codec paper for RS01 life cycle

changeset:   20:dbcaad8128aa
summary:     replaced build count with mercurial changeset

changeset:   19:fba258a6acfa
summary:     Added tag 0.79.10 for changeset 49950be5a2ef

changeset:   18:49950be5a2ef
summary:     merged some debian patches

changeset:   17:815be3929c41
summary:     merged "easy" patches from Stéphane Lesimple's version

changeset:   16:7d15f8a958cb
summary:     Made printf format strings 32/64bit safe as suggested by Stéphane;

changeset:   15:1055a53b8d6d
summary:     reorganized code for --with-gui=[yes|no] option

changeset:   14:fbe2ae12a32c
summary:     Added tag 0.79.9 for changeset f2fdd6d3a1f5

changeset:   13:f2fdd6d3a1f5
summary:     updated TODO and CHANGELOG

And other changes that were needed to resolve the (many) conflicts.
2021-10-09 15:22:57 +02:00
Stéphane Lesimple
244111e7db upstream: 13:f2fdd6d3a1f5 [updated TODO and CHANGELOG] 2021-10-09 15:22:57 +02:00
Stéphane Lesimple
eb4c232059 upstream: 12:af7ecbca7a9e [added error message dialog when xdg-open can not be forked] 2021-10-09 15:22:57 +02:00
Stéphane Lesimple
1382e19eb5 upstream: 11:9fa5dfdc9718 [strengthened install and uninstall against path names with blanks]
strengthened install and uninstall against path names with blanks;
small updates in various files and documentation
2021-10-09 15:22:57 +02:00
Stéphane Lesimple
8d088fc6e4 upstream: 9:bcdddf4f72e8 [verified that Slackware 15 fix also works for Debian 11 (sid)] 2021-10-09 15:22:57 +02:00
Stéphane Lesimple
a8eb4acf08 upstream: 8:df8ab86066ea [preparations for 0.79.9 rollout] 2021-10-09 15:22:57 +02:00
dvdisaster developers
90b5ab6443 upstream: 2:3d07b022a7df [aggregated changes for version 0.79.8] 2021-10-09 15:22:57 +02:00
Stéphane Lesimple
eac7884373 upstream: 0:71e73a60f282 [Genesis commit: dvdisaster 0.79.7] 2021-10-09 15:22:57 +02:00
Stéphane Lesimple
8d080d69c5 chore: welcome: forgot to update msg for pl9 2021-07-03 20:55:22 +02:00
Stéphane Lesimple
70342e3174 doc: add image of bdxl read 2021-07-03 20:55:22 +02:00
Stéphane Lesimple
d7a1936536 enh: read linear: more progress info in console 2021-07-03 20:55:22 +02:00
Stéphane Lesimple
3147aa3ce8 chore: README.md: better images 2021-06-30 19:40:27 +02:00
Stéphane Lesimple
ab057244b4 fix: windows build: -mwindows in LDFLAGS instead of CLFAGS 2021-06-28 22:43:41 +02:00
Stéphane Lesimple
275decd40e bump to patchlevel 9 2021-06-28 22:08:51 +02:00
Stéphane Lesimple
9264713614 chore: update locales 2021-06-28 22:08:51 +02:00
Stéphane Lesimple
d0fd46c97c enh: read linear: add sectors ok/err in verbose mode
print amount of correctly read sectors during session
when at least one read failed, in verbose mode
2021-06-28 22:08:51 +02:00
Stéphane Lesimple
451bdf9a7e test: fail by default 2021-06-28 22:08:51 +02:00
Stéphane Lesimple
58b558ea7e enh: linear read: log amount of correctly read sectors during a sesssion 2021-06-27 21:04:23 +02:00
Stéphane Lesimple
6444ff67c5 enh: log window: bigger scrollback buffer 2021-06-27 21:04:23 +02:00
Stéphane Lesimple
bd9777a531 fix: --strip in console without X server would segfault & fix tests 2021-06-26 21:03:54 +02:00
Stéphane Lesimple
464f2b8bfa doc: codecs-specs: regenerate codecs.pdf 2021-06-26 11:59:40 +02:00
Stéphane Lesimple
af178e89bc chore: fix codec-specs Makefile
We need to run latex twice to get the page numbers, figures numbers
and summary right.
2021-06-26 11:59:40 +02:00
Stéphane Lesimple
8710519821 enh: windows: hide useless background console 2021-06-19 21:14:02 +02:00
Stéphane Lesimple
36fa2db965 release pl8 2021-02-22 23:26:59 +01:00
Stéphane Lesimple
442af06f7a enh: gui: medium-info: add an 'exhaustive search' button' 2021-02-22 21:45:07 +01:00
Stéphane Lesimple
d8773e5ee6 enh: gui prefs: add a visual indication of tooltips 2021-02-21 02:18:47 +01:00
Stéphane Lesimple
5063106418 release patchlevel 7 2021-01-30 14:51:38 +01:00
Stéphane Lesimple
430fc71932 chore: update locales 2021-01-30 13:24:00 +01:00
Stéphane Lesimple
c336d039a9 feat: add -z (--strip) to remove ECC data from an iso 2021-01-30 13:17:28 +01:00
Stéphane Lesimple
fd4f8424f7 chore: update tests accordingly 2021-01-27 22:03:59 +01:00
Stéphane Lesimple
cc4547810f enh: more logs around exhaustive RS03 search in verbose 2021-01-27 22:03:59 +01:00
Stéphane Lesimple
f5fa3d9952 enh: add --examine-rs0[23] in --debug mode for CLI 2021-01-27 22:03:59 +01:00
Stéphane Lesimple
dac6f14af0 chore: update readme 2021-01-23 11:51:26 +01:00
Stéphane Lesimple
fef782b246 fix: win: fix the last warns 2021-01-22 22:54:53 +01:00
Stéphane Lesimple
9916ce74bc enh: try harder to find RS02/RS03 sigs in non-exhaustive mode
Look at the extensive comments in the code for more context.
2021-01-21 07:29:04 +01:00
Stéphane Lesimple
355427b6e0 bump to pl6 2021-01-18 00:19:07 +01:00
Stéphane Lesimple
da44e81561 chore: debug printf format with CI 2021-01-17 15:01:49 +01:00
Stéphane Lesimple
9e5ba80e29 chore: better use of configure features 2021-01-17 15:01:49 +01:00
Stéphane Lesimple
c72b85bb9a chore: ensure configure works properly even with -Werror 2021-01-17 15:01:49 +01:00
Stéphane Lesimple
97a4df2f21 chore: update locales 2021-01-17 00:22:13 +01:00
Stéphane Lesimple
f68efb758e fix: printf: some potentially severe format errors 2021-01-17 00:22:13 +01:00
Stéphane Lesimple
66cf0d25ee fix: don't use plain strings in vars as printf formats 2021-01-17 00:22:13 +01:00
Stéphane Lesimple
e8eb7824aa fix: replace %ldd/%ld by PRId64 to remove warnings on all archs 2021-01-17 00:22:13 +01:00
Stéphane Lesimple
a3aedbd4a2 chore: configure: add DEBUG_PRINTF_FORMAT=1 to catch printf format eerrors 2021-01-17 00:22:13 +01:00
Stéphane Lesimple
83acea4684 fix: another warning under clang 2021-01-15 20:33:26 +01:00
Stéphane Lesimple
3bd06abbda fix: warning under clang
src/crcbuf.c:142:24: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
      cb->md5State &= ~MD5_BUILDING;
                      ~^~~~~~~~~~~~
src/dvdisaster.h:561:23: note: expanded from macro 'MD5_BUILDING'
 #define MD5_BUILDING 1<<0
                      ^
1 warning generated.
2021-01-15 19:12:32 +01:00
Stéphane Lesimple
901e87dfcd fix: reversed order or arguments in memset() 2021-01-15 19:12:20 +01:00
Stéphane Lesimple
4518992908 fix: allow blank media in Preferences>Error correction>RS02>query medium 2021-01-13 20:15:29 +01:00
Stéphane Lesimple
802e095cfb fix: additional case of error with blank media in medium info
This completes 396c73f5c8
2021-01-13 20:15:29 +01:00
Stéphane Lesimple
8332b845a7 chore: windist: fix gtk-2.0 location 2021-01-13 20:15:29 +01:00
Stéphane Lesimple
c0de13c027 fix: appimage: adjust docdir for help menu 2021-01-12 23:21:06 +01:00
Stéphane Lesimple
b03bd5d076 chore: update CHANGELOG and version 2021-01-12 21:47:25 +01:00
Stéphane Lesimple
290097c9b3 chore: update locales 2021-01-12 21:47:25 +01:00
Stéphane Lesimple
305f773bd3 chore: update welcome msg and year for release 2021-01-12 21:47:25 +01:00
Stéphane Lesimple
fc18da7043 chore: add CHANGELOG, TODO, CREDITS to dist 2021-01-12 21:16:20 +01:00
Stéphane Lesimple
396c73f5c8 fix: allow blank media in medium-info
This resolves the second part of issue #19.

This bug was present since upstream v0.79.5
2021-01-12 21:07:33 +01:00
Stéphane Lesimple
93c6a7a887 fix: gui: fix the 'SetLabelText() failed' error caption on the medium-info window
This is a cosmetic fix only, this bug is present since at least 0.72,
but only became apparent since commit 4cebc5af, which made the error
no longer silently ignored (v0.72.3).

Fixes one of the reported problem of issue #19.
2021-01-12 20:30:31 +01:00
Stéphane Lesimple
53ddb9a51b chore: appimage: add missing gtk engines 2020-11-21 20:19:47 +01:00
Stéphane Lesimple
0521f5271e chore: enhance packaging 2020-11-21 15:42:16 +01:00
Stéphane Lesimple
3844c156e5 chore: docs: website superseded by manual.pdf, add codecs.pdf symlink 2020-09-07 12:31:22 +02:00
Stéphane Lesimple
fb67ee4ab5 chore: update locales & changelog 2020-09-05 18:42:56 +02:00
Stéphane Lesimple
daec1295aa fix: ensure variables are initialized before dereferencing 2020-09-05 18:42:56 +02:00
Stéphane Lesimple
9ba1374351 chore: re-enable adaptive read tests, enhance github actions 2020-09-05 18:42:56 +02:00
Stéphane Lesimple
d90cd7fa40 release patchlevel 4 2020-09-05 18:42:56 +02:00
Stéphane Lesimple
a98c795280 feat: allow adaptive reading again
The feature was disabled by the author in this version, as it missed RS03
awareness. We enable it if we find RS01, RS02 or no ECC data, and warn the
user if we find RS03, telling him that the wise choice is to cancel and
rely on linear read
2020-09-05 00:24:23 +02:00
Stéphane Lesimple
7a3391f49d fix: lift segfault when aborting adaptive read 2020-09-05 00:24:23 +02:00
Stéphane Lesimple
1a9416f7b2 feat: add --permissive-medium-type option
This option can be useful to try to work with normally unsupported media types.
Namely the Windows 10 default iso mounter (and virtual drive) is tagged DVD-DROM,
even if it mounts bare iso images. Useful for debugging (requires --debug).
2020-09-05 00:24:23 +02:00
Stéphane Lesimple
be2f7b67b9 fix: lift the limitation on the number of arguments 2020-09-05 00:24:23 +02:00
Stéphane Lesimple
dcfb23f4ee chore: update readme 2020-09-05 00:24:23 +02:00
Stéphane Lesimple
239f76c71c chore: add missing target dependency in makefile 2020-09-05 00:24:23 +02:00
Stéphane Lesimple
dc53597e8e chore: rename CLI version to NOGUI in the version tag
As CLI is already #defined, we couldn't stringify it properly
and we ended up with 1 in the version tag
2020-09-05 00:24:23 +02:00
Stéphane Lesimple
7091b5fbbe chore: update readme 2020-09-04 09:21:32 +02:00
Stéphane Lesimple
269ea45d8d chore: locales update 2020-09-04 09:21:17 +02:00
Stéphane Lesimple
7ee35f1d0a chore: use gcc -pipe to speed up the build 2020-09-04 09:21:17 +02:00
Stéphane Lesimple
0724a34af8 chore: build: finally really fix make parallelism 2020-09-04 09:21:17 +02:00
Stéphane Lesimple
898f2fcfb6 chore: move *.c *.h to src/, build in build/ 2020-09-03 09:32:13 +02:00
Stéphane Lesimple
5b82ec64bc release patchlevel3 2020-09-01 22:16:50 +02:00
Stéphane Lesimple
9fed89dbcf chore: automatically build & upload release assets 2020-09-01 22:16:02 +02:00
Stéphane Lesimple
22b2aba490 fix: windows: flavor in build.h was always UNKNOWN 2020-09-01 12:52:35 +02:00
Stéphane Lesimple
0598fad827 fix: windows: config file couldn't be written
now cfg and log file will be in the same directory than the exe (portable mode)
2020-09-01 12:52:35 +02:00
Stéphane Lesimple
cbcac368dc chore: add auto Windows CLI tests 2020-08-30 18:40:34 +02:00
Stéphane Lesimple
bd70bcef1b chore: add auto Windows CLI tests 2020-08-30 17:58:31 +02:00
Stéphane Lesimple
71b32a30a1 feat: BD-R: add --no-defect-management
Enable bigger augmented images for BD-R (around +3%).
If you know you will use a BD-R medium and want to maximize the free space
for parity data, you can skip the defect management formatting before burning,
at the expense of potential coasters. Specify this option to tell dvdisaster
to produce bigger images that will only fit on BD-R media burnt without defect
management. Some burning softwares call it "formatting" the BD-R before burning.
Note that should you need to repair such an augmented image, you'll then need to
specify this option on the command-line too.
2020-08-30 17:54:36 +02:00
Stéphane Lesimple
2d68cfb0b1 feat: add --no-bdr-defect-management to produce bigger augmented images with RS03 2020-08-30 17:06:41 +02:00
Stéphane Lesimple
c0c6747bd9 fix: reimport some missed locales 2020-08-29 22:11:30 +02:00
Stéphane Lesimple
3eecbcbdcc chore: autotest windows & linux on PR + remove 2 warnings under Linux 2020-08-29 21:44:15 +02:00
Stéphane Lesimple
49eecc0a6f chore: add a static make target 2020-08-27 19:11:12 +02:00
Stéphane Lesimple
4d2e0ba32c chore: fix make parallelism 2020-08-27 19:11:12 +02:00
Stéphane Lesimple
495a851356 fix: adjust BDXL_QL_SIZE and rollback BD_SL_SIZE to upstream version
BD_SL_SIZE was mistakenly modified in 0.79.6-pl1, we restore the
previous upstream version to avoid having several dvdisaster versions
in the field with different values set for it.

If you created an RS03 augmented image with 0.79.6-pl1, you'll still
be able to conduct a repair of the image, should it be damaged,
by using any 0.79.6 version (with or without patchlevel), using
the following additional command-line parameters:
dvdisaster -f --debug -n 12219392

BDXL_QL_SIZE (introduced in pl1) was also adjusted in this version,
To repair a damaged BD-R quadruple layer image created by pl1:
dvdisaster -f --debug -n 62500864

The values that were present in pl1 were corresponding to a BD-R
burnt without formatting it for defect management first, which enabled
more space for parity data. You can still do it if you want (read
the comment in the code introduced by this commit), but to follow
upstream design, the default number of sectors for all BD-R implies
that defect management is enabled.
2020-08-27 19:11:12 +02:00
Stéphane Lesimple
5b95870f39 chore: update README.md 2020-08-27 18:37:06 +02:00
Stéphane Lesimple
d76551ce39 chore: automatically run regression tests on pull request 2020-08-26 09:35:35 +02:00
Stéphane Lesimple
0c5995bd72 chore: use tags to describe the build 2020-08-25 21:15:08 +02:00
Stéphane Lesimple
7c74ca8f84 chore: fix a typo in makefile, update po files 2020-08-25 21:12:55 +02:00
Stéphane Lesimple
7966d41c01 update README.md 2020-08-25 21:06:29 +02:00
Stéphane Lesimple
87d61d4eb0 fix config-win.txt location 2020-08-25 20:35:20 +02:00
Stéphane Lesimple
ab0427f2f0 update CHANGELOG, create README.md 2020-08-25 20:27:40 +02:00
Stéphane Lesimple
4b982057f7 adjust the welcome window message 2020-08-25 20:22:49 +02:00
Stéphane Lesimple
d22fac49a3 add regtest/runtests.sh 2020-08-25 20:15:36 +02:00
Stéphane Lesimple
8e0664462e icon for Windows, make windist 2020-08-25 20:15:00 +02:00
Stéphane Lesimple
8298d78e04 regtests: more fixes for Windows 2020-08-25 14:28:15 +02:00
Stéphane Lesimple
d8e0dab436 regtests: enhancements for Windows 2020-08-25 13:22:10 +02:00
Stéphane Lesimple
196506c3dd win32: add device name for simulated device 2020-08-25 13:05:22 +02:00
Stéphane Lesimple
6362a68355 enh: regtests: add config-win.txt to override tests config 2020-08-25 13:04:42 +02:00
Stéphane Lesimple
5553ed332f fix: isprint => canprint
add a canprint() func that return true iif
char is ascii (< 0x80) and not a control char
(> 0x1F), as isprint() seems to be different
under Linux and Windows
2020-08-25 13:03:05 +02:00
Stéphane Lesimple
5ab5f9b0cb enable all regtests, fixes after regests run 2020-08-24 21:02:44 +02:00
Stéphane Lesimple
9ef0b374e5 chore: remove exit status check, sometimes non-zero is legit 2020-08-23 20:01:19 +02:00
Stéphane Lesimple
a886d60417 fix: remove debug print 2020-08-23 20:00:26 +02:00
Stéphane Lesimple
d29db408a3 fix: configure: remove -Werror, silently breaks conftest.c tests 2020-08-23 19:58:37 +02:00
Stéphane Lesimple
f8dbe54a8c feat: First working Windows build 2020-08-23 16:52:06 +02:00
Stéphane Lesimple
f9e8ce83bc chore: regtest: if exit status != 0, log it 2020-08-23 16:38:07 +02:00
Stéphane Lesimple
4ba33a2c89 chore: add notion of patchlevel to avoid changing version scheme 2020-08-23 16:38:07 +02:00
Stéphane Lesimple
41887bb25e debian: adust patches/series 2020-08-20 14:20:10 +02:00
Stéphane Lesimple
0a90d1b22a chore: Adjust changelog, about box and welcome message 2020-08-20 14:17:58 +02:00
Stéphane Lesimple
d314a6bcef enh: CLI: better description for -m 2020-08-20 14:17:58 +02:00
Stéphane Lesimple
b4aed53e23 feat: add support for BDXL QL (128GB) 2020-08-20 14:17:58 +02:00
Stéphane Lesimple
a4efe71abf chore: adjustments to the auto build numbering 2020-08-20 14:17:58 +02:00
Stéphane Lesimple
38defdf7aa Apply (most) debian patches
Apply debian patch 02-encryption
Apply debian patch 03-dvdrom
Apply a modified version of patch 05-help-dialog
Apply debian patch 08-fix-gnu-make-detection
Apply debian patch 10-use-non-size-specific-icon-and-add-keywords-to-desktop-file
Apply debian patch 12-fix-spelling-of-up-to
Apply debian patch 13-fix-missing-language-field-in-po-files
Apply a modified version of debian patch 14-make-builds-reproducible
Apply debian patch 17-fix-all-but-deprecated-api-warnings
Apply a modified version of debian patch 18-update-copyright-in-about-dialog
Apply debian patch 19-show-text-files-with-abs-path
Apply debian patch 22-fix-hurd-i386-ftbfs
Apply debian patch 23-add-bdrom-support
Apply debian patch 25-fix-man-pages
Apply debian patch 27-allow-opening-in-browser-again
Apply debian patch 28-pdftex-reproducibility
Apply debian patch 29-fix-more-typos
Apply debian patch 30-hurd-kfreebsd-ftbfs
Apply debian patch 31-improve-hurd-and-kfreebsd-support
Apply debian patch 33-honour-LDFLAGS
Apply debian patch 34-gcc8-format-security.patch
Apply debian patch 35-archived-homepage
Apply debian patch 36-fix-parallelism
2020-08-20 14:17:35 +02:00
Stéphane Lesimple
99b27b982a feat: CLI-only version (without GTK)
Modify the build system and the source
files to support building a CLI-only
version with only glib2 as a dependency.
Use CLI_ONLY=1 ./configure, then make clean all.
2020-08-19 21:21:11 +02:00
Stéphane Lesimple
4f480905dc fix: adjust BD_SL_SIZE to the most commonly found size in the field
This is also the size reported by Wikipedia.
TODO: add a CLI option to specify a medium
of arbitrary size, especially important for RS03.
2020-08-19 21:21:11 +02:00
Stéphane Lesimple
32c8455017 chore: build system adjustments
Remove build.h and version.tex from versioning, they're autogenerated
Make 'Makefile' the dummy makefile to instruct user to launch configure if no GNUmakefile is found
Make GNUmakefile the generated makefile and exclude it from the versioning
Update .gitignore accordingly
2020-08-19 21:21:11 +02:00
Debian Janitor
0c038b8171 Fix day-of-week for changelog entries 0.71~devel23-4.
Fixes lintian: debian-changelog-has-wrong-day-of-week
See https://lintian.debian.org/tags/debian-changelog-has-wrong-day-of-week.html for more details.
2020-08-19 21:21:11 +02:00
Debian Janitor
fc3f2605f6 Remove obsolete fields Name, Contact from debian/upstream/metadata. 2020-08-19 21:21:11 +02:00
Debian Janitor
4ecd698a6b Update standards version to 4.4.1, no changes needed.
Fixes lintian: out-of-date-standards-version
See https://lintian.debian.org/tags/out-of-date-standards-version.html for more details.
2020-08-19 21:21:11 +02:00
Debian Janitor
a5bf80c657 Set debhelper-compat version in Build-Depends. 2020-08-19 21:21:11 +02:00
Debian Janitor
5bc91d01b1 Update standards version, no changes needed.
Fixes lintian: out-of-date-standards-version
See https://lintian.debian.org/tags/out-of-date-standards-version.html for more details.
2020-08-19 21:21:11 +02:00
Debian Janitor
3c60b1a959 Use secure URI in debian/watch.
Fixes lintian: debian-watch-uses-insecure-uri
See https://lintian.debian.org/tags/debian-watch-uses-insecure-uri.html for more details.
2020-08-19 21:21:11 +02:00
Carlos Maddela
181c40e1fb Release version 0.79.5-9 2020-08-19 21:21:11 +02:00
Carlos Maddela
6f7cb57317 Make sure that the upstream changelog remains uncompressed
Make sure that the upstream changelog remains uncompressed,
so that the application can display it.
2020-08-19 21:21:11 +02:00
Carlos Maddela
d169e4f289 debian/gbp.conf: Switch debian branch to debian/master. 2020-08-19 21:21:11 +02:00
Carlos Maddela
f6a9f663bf Release version 0.79.6-5 to experimental. 2019-02-02 16:05:49 +11:00
Carlos Maddela
95b3155bc8 Prepare changelog and rebase patches.
Gbp-Dch: Ignore
2019-02-02 16:04:23 +11:00
Carlos Maddela
4c4aa1a143 Merge branch 'debian/unstable' into debian/experimental 2019-02-02 16:00:54 +11:00
Carlos Maddela
31b154dacc Release version 0.79.5-9 2019-02-02 15:20:38 +11:00
Carlos Maddela
52f3307d78 Suggest to install dvdisaster-doc in error message
Suggest to install dvdisaster-doc in error message, if the PDF manual
cannot be found.
2019-02-02 15:20:07 +11:00
Carlos Maddela
1e51a09248 Make sure that the upstream changelog remains uncompressed
Make sure that the upstream changelog remains uncompressed,
so that the application can display it.
2019-02-02 13:34:45 +11:00
Carlos Maddela
6c4d0d26e9 Release version 0.79.6-4 to experimental. 2019-02-01 23:13:25 +11:00
Carlos Maddela
adeba79339 Prepare changelog.
Gbp-Dch: Ignore
2019-02-01 23:11:56 +11:00
Carlos Maddela
f648710f2f Merge branch 'debian/unstable' into debian/experimental 2019-02-01 23:08:51 +11:00
Carlos Maddela
bf96232b15 Release version 0.79.5-8 2019-02-01 23:03:25 +11:00
Carlos Maddela
c84be789d3 Fix parallel build of locale strings. 2019-02-01 22:55:07 +11:00
Carlos Maddela
3e16a0c2da Release version 0.79.6-3 to experimental. 2019-01-31 09:02:00 +11:00
Carlos Maddela
c40d6e9278 Update gbp.conf for debian/experimental branch. 2019-01-31 08:58:42 +11:00
Carlos Maddela
bee8419a4a Prepare changelog and rebase patches.
Gbp-Dch: Ignore
2019-01-31 08:55:53 +11:00
Carlos Maddela
af179a1a3e Merge branch 'debian/unstable' into debian/experimental 2019-01-31 08:48:01 +11:00
Carlos Maddela
2ebf97cbf4 Fix lost entries in debian/changelog from previous merge.
Gbp-Dch: Ignore
2019-01-31 08:44:33 +11:00
Carlos Maddela
4b4495b693 Release version 0.79.5-7 2019-01-31 07:10:55 +11:00
Carlos Maddela
ddaf4cfc23 Indicate compliance with Debian Policy 4.3.0. 2019-01-31 07:09:23 +11:00
Carlos Maddela
86207af360 Add more details to upstream metadata. 2019-01-31 07:06:20 +11:00
Carlos Maddela
44bc4b1916 Add support for nodoc build profile. 2019-01-31 06:48:26 +11:00
Carlos Maddela
b7344e4855 Change homepage to one archived at web.archive.org.
http://dvdisaster.net has been unavailable for a while now.
Not certain if this is permanent though, as the domain name still
exists for mail.
2019-01-31 06:00:36 +11:00
Carlos Maddela
9fc9a74171 Fix format security compilation warning in GCC-8. 2019-01-31 05:21:34 +11:00
Carlos Maddela
b289d165db Fix dh_auto_build overrides to take advantage of parallel builds. 2019-01-31 05:06:04 +11:00
Carlos Maddela
b24ad06237 Fix location of manual. 2019-01-31 04:51:51 +11:00
Carlos Maddela
e4f86281b1 Build as verbosely as possible. 2019-01-31 04:34:03 +11:00
Carlos Maddela
dc27f5e3fa Simplify process by which mutable files are backed up and restored. 2019-01-31 04:30:57 +11:00
Carlos Maddela
3693b4e86e Set "Rules-Requires-Root: no". 2019-01-31 04:25:17 +11:00
Carlos Maddela
354e8a500a Build with Debhelper compat level 12. 2019-01-31 04:16:55 +11:00
Carlos Maddela
72f70e6488 Add debian/gbp.conf to conform with DEP14 conventions. 2019-01-31 04:01:04 +11:00
Carlos Maddela
13db28beb6 Restore lost .gitignore file.
Gbp-Dch: Ignore
2018-06-27 15:27:33 +10:00
Carlos Maddela
19a77a6cba Merge branch 'experimental/master' 2018-06-27 15:09:03 +10:00
TANIGUCHI Takaki
2b5666fc47 Merge remote-tracking branch 'origin/master' 2018-06-23 12:16:27 +09:00
Carlos Maddela
f2da0d5640 Release version 0.79.6-2 to experimental. 2018-06-23 05:42:31 +10:00
Carlos Maddela
02a85cae19 Merge tag 'debian/0.79.5-6' into experimental/master
dvdisaster Debian release 0.79.5-6
2018-06-23 05:39:23 +10:00
Carlos Maddela
25c3061e39 Prepare changelog for new release. 2018-06-23 05:10:32 +10:00
Carlos Maddela
30adf4ea35 Release version 0.79.5-6 to unstable. 2018-06-23 05:01:43 +10:00
Carlos Maddela
72e8ebd009 Update location of PDF manual registered with doc-base
Update location of PDF manual registered with doc-base (required
as a result of DH compat level change).
2018-06-23 04:54:25 +10:00
Carlos Maddela
1c6804804d Update debian/copyright. 2018-06-23 03:49:40 +10:00
Carlos Maddela
de50a000bf Add machine-readable upstream metadata. 2018-06-23 03:46:21 +10:00
Carlos Maddela
00d42647ef Indicate compliance with Debian Policy 4.1.4. 2018-06-23 03:07:11 +10:00
Carlos Maddela
1a4b5b62ee Build with DH compat level 11. 2018-06-23 03:04:39 +10:00
Carlos Maddela
5197239bfa Prepare changelog for new release. 2018-06-23 02:59:15 +10:00
TANIGUCHI Takaki
e82528bc0c change Vcs-* path 2018-01-29 22:27:28 +09:00
TANIGUCHI Takaki
869c56ca37 prepare release 2018-01-27 23:34:30 +09:00
TANIGUCHI Takaki
ff8db2fb8b Bump Standards-Version to 4.1.3 2018-01-27 23:33:30 +09:00
TANIGUCHI Takaki
765d87e0d3 update changelog 2018-01-27 23:30:13 +09:00
TANIGUCHI Takaki
2ef4511927 Update Vcs-* to salsa.debian.org 2018-01-05 17:12:52 +09:00
Carlos Maddela
e35c2de208 Release version 0.79.6-1 to experimental. 2017-12-21 05:54:03 +11:00
Carlos Maddela
619ee820f3 Rebase patches. 2017-12-21 05:49:31 +11:00
Carlos Maddela
581d7697db Prepare changelog for new upstream development version [0.79.6]. 2017-12-21 05:36:52 +11:00
Carlos Maddela
58e068ff5b Update upstream source from tag 'upstream/0.79.6'
Update to upstream version '0.79.6'
with Debian dir b81b2ebe3a
2017-12-21 05:32:12 +11:00
Carlos Maddela
2388e522b3 Release version 0.79.5-4 to unstable. 2017-12-21 03:16:48 +11:00
Carlos Maddela
b3b74e69d9 Honour LDFLAGS set by dpkg-buildflags in building all binaries.
Unpackaged simple-md5sum utility must do so as well, to keep blhc happy.
2017-12-21 03:04:59 +11:00
Carlos Maddela
3af39d5b74 Suppress debian-watch-uses-insecure-uri Lintian warning. 2017-12-21 01:31:13 +11:00
Carlos Maddela
d813ad385b Indicate compliance with Debian Policy 4.1.2. 2017-12-21 01:17:51 +11:00
Carlos Maddela
c4d7120860 Remove unnecessary Testsuite header from debian/control. 2017-12-21 01:16:52 +11:00
Carlos Maddela
5f5aef550f Remove trailing white space from debian/changelog. 2017-12-21 01:14:42 +11:00
Carlos Maddela
0144e738fb Merge branch 'experimental/master' 2017-12-21 01:05:26 +11:00
Carlos Maddela
5d5e943c51 Reproducibly generate PDF documentation from TeX sources. 2017-08-15 03:50:22 +10:00
Carlos Maddela
06c675c1fd Remove dependencies on dh-exec and dpkg-dev.
* Use alternative way of installing icons to remove dependency on
  dh-exec.
* Drop redundant dependency on dpkg-dev.
2017-08-15 02:00:37 +10:00
Carlos Maddela
a5f48d91a3 Call ./configure script directly
Call ./configure script directly, instead of relying on debhelper,
to resolve incompatibilities with Bash-based script.
2017-08-15 00:29:03 +10:00
Carlos Maddela
f83f9e81b0 Use complete Debian revision number as build number
Use complete Debian revision number as build number, instead of
just the numeric part. Also, re-implement scripts/time-stamper.bash
without direct calls to dpkg-parsechangelog.
2017-08-14 23:15:27 +10:00
TANIGUCHI Takaki
38a3127d2f Merge remote-tracking branch 'origin/master' 2017-08-14 20:15:28 +09:00
Carlos Maddela
9f38622429 Release version 0.79.5-3 to unstable. 2017-08-14 14:53:19 +10:00
Carlos Maddela
520b4cb8c9 Update uploaders list.
Add myself to uploaders list.
2017-08-14 14:41:09 +10:00
Carlos Maddela
af00bbb1cb Do not suppress the display of compilation commands
Do not suppress the display of compilation commands,
so that build logs may be analysed by blhc.
2017-08-13 11:43:25 +10:00
Carlos Maddela
34afe54009 Regenerate patches with git version 2.14.0. 2017-08-13 11:42:32 +10:00
Carlos Maddela
a66cebafd3 Bump Standards Version to 4.0.1. 2017-08-08 10:16:21 +10:00
Carlos Maddela
eaa545b89c Fix another build failure on kFreeBSD. 2017-08-08 03:18:19 +10:00
TANIGUCHI Takaki
72767c589f prepare release 2017-08-07 17:34:31 +09:00
TANIGUCHI Takaki
1a3b3cbfa7 Merge branch 'experimental/master' 2017-08-07 17:30:46 +09:00
Carlos Maddela
1b266ccbde Release fixed version of 0.79.5-2 to experimental. 2017-08-07 14:26:50 +10:00
Carlos Maddela
7d36061007 Revert "Mark bug, which we should have done in previous release, as closed."
This reverts commit 1a6b38f9a5.
2017-08-07 11:04:51 +10:00
Carlos Maddela
645178ef92 Release version 0.79.5-2 to experimental. 2017-08-06 18:39:07 +10:00
Carlos Maddela
1a6b38f9a5 Mark bug, which we should have done in previous release, as closed.
Closes: #838294
2017-08-06 18:38:45 +10:00
Carlos Maddela
a614f5d1f7 Improve support for Hurd and kFreeBSD systems
Improve support for Hurd and kFreeBSD systems,
although Hurd still builds without SCSI.
2017-08-06 18:36:44 +10:00
Carlos Maddela
52204ec502 Remove incorrect use of 'Origin: vendor' from DEP-3 patch headers. 2017-08-06 18:36:44 +10:00
Carlos Maddela
84716913ad Fix FTBFS on Hurd and kFreeBSD.
Make sure MMAP_FLAGS gets defined.
2017-08-06 18:36:41 +10:00
Carlos Maddela
f16a9b9c7b Fix more typos in error messages and docs.
'sucessful' → 'successful'
'improvment' → 'improvement'
2017-08-06 18:35:01 +10:00
Carlos Maddela
bb6d3049f5 debian/watch: Avoid repacking upstream tarballs unnecessarily. 2017-08-06 17:47:39 +10:00
Carlos Maddela
c68a08fb59 Remove unnecessary calls to dpkg-parsechangelog from debian/rules. 2017-08-06 17:47:35 +10:00
Carlos Maddela
c71560a5f2 Bump Standards Version to 4.0.0. 2017-08-06 17:46:31 +10:00
TANIGUCHI Takaki
a8579f2310 prepare release 2017-02-02 22:28:41 +09:00
TANIGUCHI Takaki
89cf9f96be Merge remote-tracking branch 'exp/debian/experimental' 2017-02-02 22:25:01 +09:00
TANIGUCHI Takaki
1d80dd8d65 Merge tag 'upstream/0.79.5'
Upstream version 0.79.5

# gpg: Signature made 2017年02月02日 22時24分51秒 JST
# gpg:                using RSA key D24ABFD127CD2556A13C6C79CC149F6C28A5E257
# gpg:                issuer "takaki@asis.media-as.org"
# gpg: Good signature from "TANIGUCHI Takaki <takaki@media-as.org>" [ultimate]
# gpg:                 aka "TANIGUCHI Takaki <takaki@asis.media-as.org>" [ultimate]
# gpg:                 aka "TANIGUCHI Takaki <taniguchi.takaki@gmail.com>" [ultimate]
# gpg:                 aka "TANIGUCHI Takaki <takaki@debian.org>" [ultimate]
# gpg:                 aka "TANIGUCHI Takaki <takaki@debian.or.jp>" [ultimate]
# gpg:                 aka "TANIGUCHI Takaki <takaki@takaki.media-as.org>" [ultimate]
# gpg:                 aka "TANIGUCHI Takaki <takaki@nagoya-u.jp>" [ultimate]
2017-02-02 22:24:51 +09:00
TANIGUCHI Takaki
f7d26c5dda Merge remote-tracking branch 'exp/debian/unstable' 2017-02-02 22:04:33 +09:00
Carlos Maddela
66e2abac90 Release version 0.79.5-1 to experimental. 2017-01-07 00:37:27 +11:00
Carlos Maddela
ba84c34dce Disable generating manual.pdf ourselves.
For the time being, we'll just package the upstream-generated
manual.pdf, since we can't build the PDF reproducibly ourselves.
The reason we can't is most probably due to the fact that the
LaTeX document embeds other PDF documents and PNG images.
Although we are able to reproduce the PDF's creation and mod
dates, as well as its PDF IDs, the stream elements representing
the embedded images are always what seem to differ each time we
try to generate the PDF.
2017-01-07 00:36:25 +11:00
Carlos Maddela
ce67360bbf Fudge dates and PDF IDs in the interest of build reproducibility. 2017-01-07 00:36:25 +11:00
Carlos Maddela
2f2a3918ee Resurrect old code to support opening URLs in a browser. 2017-01-07 00:36:25 +11:00
Carlos Maddela
71f4bac562 Fix display of manual.pdf.
The PDF file is automatically compressed by Debhelper, so we need to
account for this.
2017-01-07 00:36:25 +11:00
Carlos Maddela
5343babeb4 Fix generated man pages.
The generated man pages incorrectly direct users to the directory of
the old HTML documentation, which is no longer available.
2017-01-07 00:36:25 +11:00
Carlos Maddela
f9b03ad387 debian/rules: Update mutable file list. 2017-01-07 00:36:25 +11:00
Carlos Maddela
b603c4f5be Update documentation build and install rules. 2017-01-07 00:36:25 +11:00
Carlos Maddela
09760e826d Update clean rule as old files no longer apply. 2017-01-07 00:36:25 +11:00
Carlos Maddela
4f4b91805a Update license to GPL-3. 2017-01-07 00:36:25 +11:00
Carlos Maddela
df576e4510 Refresh and drop patches.
The following patches have been dropped:
    01-libpng15.patch
    06-remove-encoding-from-desktop-file.patch
    07-fix-spelling-errors-in-binaries.patch
    09-fix-format-security-warnings.patch
    21-fix-privacy-breach-in-doco.patch
2017-01-07 00:36:25 +11:00
Carlos Maddela
16c1f0cc01 Merge tag 'upstream/0.79.5' 2017-01-07 00:33:38 +11:00
Carlos Maddela
5fe15556d7 Release version 0.72.4-3 2017-01-07 00:29:57 +11:00
Corey Wright
499f5b41ae Add support for BD-ROM media-type.
This allows dvdisaster to scan and read (ie create ISO
images of) BD-ROM media.

Closes: #849518
2017-01-07 00:26:50 +11:00
Carlos Maddela
f85bbb920a Fix FTBFS for hurd-i386.
Hurd does not have path length restrictions, so doesn't define
PATH_MAX. Assuming a PATH_MAX of 4096 as a quick workaround.
2017-01-07 00:26:50 +11:00
Carlos Maddela
04ce38ec85 Backup and restore mutable files to allow multiple builds. 2017-01-07 00:26:50 +11:00
Carlos Maddela
f8dc3ae4a9 Use original name for the duplicate uncompressed upstream CHANGELOG. 2017-01-07 00:26:50 +11:00
Carlos Maddela
367a650129 debian/watch: Relax upstream version restriction. 2017-01-04 04:10:43 +11:00
Carlos Maddela
1d134855eb Bump compat level to 10. 2017-01-04 04:10:33 +11:00
Carlos Maddela
352e03e296 Release version 0.72.4-2 2017-01-04 03:43:37 +11:00
Carlos Maddela
254a31248c Fix installation of thumbnails for Czech doco. 2017-01-04 03:39:46 +11:00
Carlos Maddela
0efa890674 Link all duplicate doc files. 2017-01-04 03:39:46 +11:00
Carlos Maddela
4a360d1e86 Don't allow doco to automatically fetch resources from the internet.
Remove link to the newsfeed, to fix Lintian privacy-breach-generic
warning. The news feed no longer works anyway.
2017-01-04 03:39:46 +11:00
Carlos Maddela
df6fe7761f Fix display of changelog, credits and to-do files.
Use absolute paths to compensate for the fact that we don't install
duplicates in /usr/share/doc/dvdisaster-doc or build with source
path embedded anymore.
2017-01-04 03:39:45 +11:00
Carlos Maddela
c525e2fdf9 Allow ShowTextFile() to work with absolute path names. 2017-01-04 03:39:45 +11:00
Carlos Maddela
6715d62989 Update copyright notice in about dialog. 2017-01-04 03:39:45 +11:00
Carlos Maddela
a8f06a0b4d Fix all warnings except for those related to deprecated API.
Silence deprecated API warnings.

Closes: #748416
2017-01-04 03:39:45 +11:00
Carlos Maddela
5f8bcae4b3 Separate binary-arch and binary-indep rules. 2017-01-04 03:39:45 +11:00
Carlos Maddela
5d0bcafecc Remove unnecessary duplication of doc files in the two packages. 2017-01-04 03:39:45 +11:00
Carlos Maddela
8467adff67 Update help dialog to show link to the new Debian package tracker. 2017-01-04 03:39:45 +11:00
Carlos Maddela
e8f1c10d5c Don't build with source path embedded as this makes unreproducible builds. 2017-01-04 03:39:45 +11:00
Carlos Maddela
649f2e6e80 Fix path of GPL-2 license in 05-help-dialog.patch.
The following path needed fixing:
/usr/share/common/licenses/GPL-2 -> /usr/share/common-licenses/GPL-2

Also, ensured that the license is opened as a text file and not as an
HTML file.

Closes: #708384
2017-01-04 03:39:45 +11:00
Carlos Maddela
37a0c5dacb Make builds reproducible.
Use the Debian changelog details to derive a build number and date,
so that we can make reproducible binaries.
2017-01-04 03:39:45 +11:00
Carlos Maddela
ee5d92b276 Fix clean up rules. 2017-01-04 03:39:45 +11:00
Carlos Maddela
76b5a1b44b Add link to html docs in dvdisaster-doc package. 2017-01-04 03:39:44 +11:00
Carlos Maddela
53629e2ee7 Add debian/dvdisaster-doc.doc-base file. 2017-01-04 03:39:44 +11:00
Carlos Maddela
0b5d917bab Drop no longer required debian/pixmaps/dvdisaster.xpm. 2017-01-04 03:39:44 +11:00
Carlos Maddela
63e31ec0b1 Mark dvdisaster-doc as a multi-arch foreign package. 2017-01-04 03:39:44 +11:00
Carlos Maddela
d2a8cb357b Fix missing language fields in PO files. 2017-01-04 03:39:44 +11:00
Carlos Maddela
943c49baca Link required libraries as needed. 2017-01-04 03:39:44 +11:00
Carlos Maddela
2b2db42faf Fix spelling: upto -> up to 2017-01-04 03:39:44 +11:00
Carlos Maddela
52734ab081 Tidy up installation of doc files. 2017-01-04 03:39:44 +11:00
Carlos Maddela
f2faa26920 Fix installation of desktop file and icon images. 2017-01-04 03:39:44 +11:00
Carlos Maddela
cbea35454b Use non-size-specific icon and add keywords to desktop file. 2017-01-04 03:39:44 +11:00
Carlos Maddela
beb037c83a Convert copyright file into proper DEP5 format and update. 2017-01-04 03:39:44 +11:00
Carlos Maddela
55e2eceb2f Drop debian/dvdisaster.menu file in favour of desktop file. 2017-01-04 03:39:43 +11:00
Carlos Maddela
66a09cac46 Build with all hardening flags set. 2017-01-04 03:39:43 +11:00
Carlos Maddela
35a67aeb62 Perform wrap and sort on debian/control. 2017-01-04 03:39:43 +11:00
Carlos Maddela
5223f60753 Remove obsolete DM-Upload-Alllowed control field. 2017-01-04 03:39:43 +11:00
Carlos Maddela
e2e5998004 Update VCS details. 2017-01-04 03:39:43 +11:00
Carlos Maddela
ceff546a54 Fix format security warnings.
Fix format security warnings, since they are treated as errors in
Standards Version 3.9.8.
2017-01-04 03:39:43 +11:00
Carlos Maddela
a24f411118 Update to Standards Version 3.9.8. 2017-01-04 03:39:43 +11:00
Carlos Maddela
7757fa7186 Update uscan rules. 2017-01-04 03:39:26 +11:00
Carlos Maddela
f754ce1075 Fix GNU Make detection.
Closes: #848811
2016-12-22 01:57:55 +11:00
Carlos Maddela
0a72a11315 Imported Upstream version 0.79.5 2016-12-19 10:33:34 +11:00
Carlos Maddela
45af00b78e Fix patch headers to work with git-buildpackage.
Fix patch headers to work with git-buildpackage, retaining as much meta
info as possible.
2016-12-18 22:25:54 +11:00
TANIGUCHI Takaki
5249b88996 prepare release 2012-04-08 22:03:17 +09:00
TANIGUCHI Takaki
ec90405195 refresh patches.
debian/paches/04-manpage.patch: Removed (upstream merged).
2012-04-08 21:55:52 +09:00
TANIGUCHI Takaki
02429d92bc new upstream 2012-04-08 21:49:03 +09:00
TANIGUCHI Takaki
e4dd16533b debian/patches/glib-single-include.patch: Fix glib include. (Closes: #665522) 2012-03-25 23:25:28 +09:00
TANIGUCHI Takaki
86278fbab4 release 2012-03-19 11:09:13 +09:00
TANIGUCHI Takaki
638e490827 debian/patches/libpng15: Build with libpn15 (Closes: #649555) 2012-03-19 11:08:24 +09:00
TANIGUCHI Takaki
1af1a99951 merge from HEAD 2012-03-06 13:33:29 +09:00
TANIGUCHI Takaki
318f2c2256 increment B-D debhelper version 2012-03-06 12:47:50 +09:00
TANIGUCHI Takaki
17aa97679e release 2012-03-06 12:44:23 +09:00
TANIGUCHI Takaki
cc2d9f8e3a debian/rules: Rewrite in dh7 style 2012-03-06 12:42:55 +09:00
TANIGUCHI Takaki
5a462353d1 update changelog 2012-03-06 11:34:06 +09:00
TANIGUCHI Takaki
53abce82da Depend unversion libpng-dev (Closes: #662306) 2012-03-06 11:24:30 +09:00
TANIGUCHI Takaki
9876613ba0 Add gitignore 2012-03-06 11:23:18 +09:00
TANIGUCHI Takaki
e3cdc289e4 debian/patches/*: Refresh. 2012-03-06 11:23:05 +09:00
TANIGUCHI Takaki
deeb8cc725 Bump Standards-Version to 3.9.3 2012-03-06 11:23:05 +09:00
TANIGUCHI Takaki
606d4178ee Imported Upstream version 0.72.3 2012-03-06 11:23:04 +09:00
Rogério Brito
ab070f0354 Imported Upstream version 0.79.3 2012-03-06 11:23:04 +09:00
Rogério Brito
bfe15b23fb Imported Upstream version 0.79.2 2012-03-06 11:23:03 +09:00
Rogério Brito
c3da7b4a44 debian/patches/04-manpage.patch: escape one hyphen 2012-03-06 11:04:45 +09:00
Rogério Brito
e95352d3f5 debian/patches/*: refresh and adapt every patch 2012-03-06 11:04:45 +09:00
Rogério Brito
f18c1018bc Initial version of a gitignore file 2010-12-13 14:45:06 -02:00
Rogério Brito
c63439d879 Update the changelog 2010-12-13 14:39:22 -02:00
Rogério Brito
7d95600ddb Remove patches that were applied upstream 2010-12-13 14:38:22 -02:00
Rogério Brito
fb476bac8c Merge commit 'upstream/0.79.3' 2010-12-13 14:18:26 -02:00
Rogério Brito
e4fb88eb2d Prepare for upload to experimental 2010-11-06 21:56:27 -02:00
Rogério Brito
5053ead62f debian/patches/04-manpage.patch: escape one hyphen 2010-11-06 21:48:31 -02:00
Rogério Brito
95d251f6c4 Update the changelog in preparation for a new release 2010-11-06 21:35:21 -02:00
Rogério Brito
774cba8932 debian/patches/*: refresh and adapt every patch 2010-11-06 21:01:14 -02:00
Rogério Brito
09f902b05f Merge commit 'upstream/0.79.2' 2010-11-06 20:36:56 -02:00
Rogério Brito
848b6782bd Update the changelog 2010-08-24 12:11:39 -03:00
Rogério Brito
b8f0e626e4 Update standards version with no changes needed 2010-07-26 17:50:26 -03:00
Rogério Brito
96b581bdd0 Fix for another typo in the manpage 2010-07-26 17:33:45 -03:00
Rogério Brito
cea78c3862 Add patch to fix spelling errors in the binaries 2010-07-26 17:24:49 -03:00
Rogério Brito
80e291c7e4 Add description for the patch 2010-07-26 17:24:19 -03:00
Rogério Brito
57e4fab14b Update patch to deal with hyphens used as minus signs 2010-07-26 17:14:02 -03:00
Rogério Brito
219494102d Remove UTF-8 encoding from desktop file 2010-07-26 15:47:20 -03:00
Rogério Brito
f51c51aad9 Add debian/watch file to more closely follow upstream 2010-07-26 15:33:32 -03:00
Rogério Brito
7771474ad7 Remove duplicate section field for dvdisaster 2010-07-26 15:28:28 -03:00
Rogério Brito
65764829ad Remove unneeded patch
It is in the repository, if we happen to need it.
2010-07-26 15:22:56 -03:00
Rogério Brito
9fe0db45c7 Fix incorrect place of misc:depends. 2010-07-26 15:07:11 -03:00
Rogério Brito
70a6efdc89 Rewrap the build-depends line, for diff-friendliness. 2010-07-26 15:05:43 -03:00
Rogério Brito
fac6933b94 Add missing misc-depends on dvdisaster 2010-07-26 15:05:00 -03:00
Rogério Brito
00e19688b4 Don't patch the documentation directly.
Don't patch the documentation directly, to avoid one extra patch
in divergence from upstream.

Use the BUILDROOT variable instead of setting BINDIR etc during
installation.
2009-12-09 23:42:23 -02:00
Rogério Brito
237207698a Wrap one extra line. 2009-12-09 21:38:42 -02:00
Rogério Brito
af26379c0c Wrap some long lines for legibility. 2009-12-09 21:08:38 -02:00
Rogério Brito
3ee8b47d0c Initial migration to format "3.0 (quilt)". 2009-12-07 16:25:30 -02:00
Rogério Brito
da276c7fc4 Refresh patches to avoid potential problems with the buildds. 2009-12-07 16:22:30 -02:00
TANIGUCHI Takaki
d8edfc2ac4 debian/control: typo, Vcs-Git 2009-11-23 10:38:25 +09:00
TANIGUCHI Takaki
0683a48953 debian/control: add Vcs-* 2009-11-23 10:29:20 +09:00
TANIGUCHI Takaki
a6dd6eaf97 debian/README.source create 2009-11-22 19:52:49 +09:00
TANIGUCHI Takaki
9e778cc617 debian/contrl: update Homepage; debian/README.source: create 2009-11-22 19:27:29 +09:00
TANIGUCHI Takaki
26207495ec add .gitignore files 2009-11-22 18:01:36 +09:00
TANIGUCHI Takaki
487811728e Revert "documentatoin/images/.gitignore: dummy file"
This reverts commit 1fbaa497e2.
2009-11-22 17:32:45 +09:00
TANIGUCHI Takaki
1fbaa497e2 documentatoin/images/.gitignore: dummy file 2009-11-22 17:21:12 +09:00
TANIGUCHI Takaki
8f429ba0a8 debicn/control: new maintainer 2009-11-22 16:56:08 +09:00
TANIGUCHI Takaki
a02e5d8a10 Merge commit 'upstream/0.72.1' 2009-11-22 16:53:43 +09:00
Daniel Baumann
8ea2ebcd2a Imported Debian patch 0.72-2 2009-11-21 16:29:04 +09:00
468 changed files with 272743 additions and 22086 deletions

View File

@@ -1,4 +0,0 @@
PRIVATE
test-cases
regtest
st

64
.github/workflows/codeql.yml vendored Normal file
View File

@@ -0,0 +1,64 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"
on: [push,pull_request]
jobs:
analyze:
name: Analyze
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'cpp' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Use only 'java' to analyze code written in Java, Kotlin or both
# Use only 'javascript' to analyze code written in JavaScript, TypeScript or both
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
persist-credentials: false
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality
- name: Build app
run: |
sudo apt-get update && sudo apt-get install -y libglib2.0-dev ghostscript man jq libgtk-3-dev
./configure --with-werror
nproc && make -j$(nproc)
env:
DEBIAN_FRONTEND: noninteractive
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{matrix.language}}"

103
.github/workflows/make-dist.sh vendored Executable file
View File

@@ -0,0 +1,103 @@
#!/bin/bash
set -e
github_ref="$1"
case "$MSYSTEM" in
MINGW64) os=win64; suf=$os-portable; exe=.exe;;
MINGW32) os=win32; suf=$os-portable; exe=.exe;;
*) os=linux64; suf=$os-static; exe='';;
esac
./dvdisaster$exe --version
if ./dvdisaster$exe --version | grep -q NOGUI; then
GUI=0
suffix=$suf-cli-only
else
GUI=1
suffix=$suf
fi
archive=dvdisaster-$(echo "$github_ref" | grep -Eo '[^/]+$')-$suffix.zip
[ -n "$GITHUB_OUTPUT" ] && echo "archive=$archive" >> "$GITHUB_OUTPUT"
echo "!> Appimage is <$archive>"
echo "!> Copying locales"
mkdir -p dist/locale
cp -va locale/*/ dist/locale/
# WINDOWS 32/64
if [ "$os" != "linux64" ]; then
lookup_dependencies="dvdisaster"
if [ "$GUI" = 1 ]; then
echo "!> Copying glib2 schemas..."
mkdir -p dist/share/glib-2.0
cp -va "$MINGW_PREFIX/share/glib-2.0/schemas" dist/share/glib-2.0/
echo "!> Copying default icons..."
mkdir -p dist/share/
cp -va "$MINGW_PREFIX/share/icons" dist/share/
loaders_cache="$(find "$MINGW_PREFIX/lib/gdk-pixbuf-2.0/" -name loaders.cache | head -n1)"
pixbuf_dir="$(dirname "$loaders_cache")"
echo "!> Absolute pixbuf directory is $pixbuf_dir"
pixbuf_dir_relative=$(echo "$pixbuf_dir" | sed -re "s=$MINGW_PREFIX/==")
echo "!> Relative pixbuf directory is $pixbuf_dir_relative"
mkdir -p "dist/$pixbuf_dir_relative/loaders"
cp -va "$loaders_cache" "dist/$pixbuf_dir_relative/"
lookup_dependencies="$lookup_dependencies $(\ls -1 "$pixbuf_dir"/loaders/*.dll)"
fi
echo "!> Will look for dependencies of $lookup_dependencies"
for binary in $lookup_dependencies
do
if [ "$binary" != "dvdisaster" ]; then
echo "!> Copying pixbuf loader lib $binary to dist/$pixbuf_dir_relative/loaders..."
cp -va "$binary" "dist/$pixbuf_dir_relative/loaders/"
fi
echo "!> Looking for dependencies of $binary..."
# ntldd -R $binary
for i in $(ntldd -R "$binary" | awk '/mingw/ {print $3}' | tr \\\\ / | grep -Eo '[^/]+$')
do
src="$MINGW_PREFIX/bin/$i"
echo -n "!>> Inspecting $src... "
if [ -e "$src" ]; then
echo "found, copying"
cp -va "$src" dist/
else
echo "not found, skipping"
fi
done
done
echo "!> Remove .a files if any"
find dist -type f -name "*.a" -print -delete
echo "!> Copy and rename text files"
for file in CHANGELOG TODO COPYING CREDITS.* TODO
do
cp -va "$file" "dist/$file.txt"
done
echo "!> Copy other files"
for file in dvdisaster.exe documentation/user-manual/manual.pdf
do
cp -va "$file" dist/
done
# /WINDOWS
else
# Linux
echo "!> Copying text, man and pdf files"
cp -va CHANGELOG TODO COPYING CREDITS.* dvdisaster documentation/dvdisaster.*.1 documentation/user-manual/manual.pdf dist/
fi
echo "!> Building pdf from man"
man -t documentation/dvdisaster.en.1 | ps2pdf - dist/dvdisaster.pdf
echo "!> Building dist zip"
if command -v zip >/dev/null; then
mv -v dist "${archive/.zip/}"
zip -9r "$archive" "${archive/.zip/}"
mv -v "${archive/.zip/}" dist
fi
echo "!> Dist done ($archive)"

51
.github/workflows/make-mac-app.sh vendored Executable file
View File

@@ -0,0 +1,51 @@
#!/bin/bash
set -e
set -x
github_ref="$1"
if ./dvdisaster --version | grep -q NOGUI; then
suffix="-cli-only"
else
suffix=""
fi
archive="dvdisaster-$(echo "$github_ref" | grep -Eo '[^/]+$')-macos$suffix.dmg"
[ -n "$GITHUB_OUTPUT" ] && echo "archive=$archive" >> "$GITHUB_OUTPUT"
echo "mac dmg is <$archive>"
mkdir -p dist
# Create directory structure for the macOS application bundle
mkdir -p dvdisaster.app/Contents/{MacOS,Resources}
# Copy the main executable to the appropriate location
cp dvdisaster dvdisaster.app/Contents/MacOS
# Use dylibbundler to bundle dynamic libraries into the application bundle
dylibbundler -od -cd -b -x dvdisaster.app/Contents/MacOS/dvdisaster -d 'dvdisaster.app/Contents/libs/'
# Copy the Info.plist file to define application metadata
cp macinst/Info.plist dvdisaster.app/Contents/
# Create a directory for documentation resources
mkdir dvdisaster.app/Contents/Resources/documentation
# Copy documentation files to the documentation directory
cp CHANGELOG TODO COPYING CREDITS.* documentation/dvdisaster.*.1 documentation/user-manual/manual.pdf dvdisaster.app/Contents/Resources/documentation
# Copy localization files to the locale directory
find locale/* -maxdepth 0 -type d -exec cp -r {} dvdisaster.app/Contents/Resources/locale/ \;
# Copy the application icon to the resources directory
cp macinst/dvdisaster.icns dvdisaster.app/Contents/Resources/
# Make the main executable executable
chmod +x dvdisaster.app/Contents/MacOS/dvdisaster
# Move the application bundle to the 'dist' directory
mv dvdisaster.app dist
create-dmg "$archive" dist
echo "dist done ($archive)"

340
.github/workflows/release.yml vendored Normal file
View File

@@ -0,0 +1,340 @@
name: autobuild
on:
push:
branches:
- 'master'
- 'dev'
tags:
- 'v*'
jobs:
mac:
runs-on: macos-13
strategy:
matrix:
ui: [cli, gui]
include:
- ui: cli
clionly: --with-gui=no
steps:
- uses: actions/checkout@v4
- name: install prerequisites
env:
HOMEBREW_NO_INSTALL_CLEANUP: 1
run: brew install ghostscript glib gdk-pixbuf dylibbundler create-dmg
- name: install prerequisites (GUI)
if: matrix.ui == 'gui'
env:
HOMEBREW_NO_INSTALL_CLEANUP: 1
run: brew install gtk+3
- name: configure
run: |
set +x
./configure ${{ matrix.clionly }} --with-werror
- name: make
run: |
cat Makefile.config
make -j$(sysctl -n hw.ncpu || 2)
- name: check executability
run: ./dvdisaster --version
- name: check executable (GUI)
if: matrix.ui == 'gui'
run: |
./dvdisaster --version
if ./dvdisaster --version | grep NOGUI; then exit 1; fi
- name: check executable (CLI)
if: matrix.ui == 'cli'
run: |
./dvdisaster --version
./dvdisaster --version | grep NOGUI
- name: build dist
run: ./.github/workflows/make-mac-app.sh ${{ github.ref }}
id: dist
- name: Tag for Continuous Build
if: github.ref_name == 'master'
run: |
git tag -f latest
git push -f origin latest
- name: Upload to Continuous Build
if: github.ref_name == 'master'
uses: softprops/action-gh-release@v2
with:
token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: true
name: "Continuous Build"
tag_name: latest
files: ${{ steps.dist.outputs.archive }}
- name: Tag for Dev Build
if: github.ref_name == 'dev'
run: |
git tag -f devel
git push -f origin devel
- name: Upload to Dev Build
if: github.ref_name == 'dev'
uses: softprops/action-gh-release@v2
with:
token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: true
draft: true
name: "Dev Build"
tag_name: devel
files: ${{ steps.dist.outputs.archive }}
- name: Upload to Draft Release
if: github.ref_type == 'tag'
uses: softprops/action-gh-release@v2
with:
token: "${{ secrets.GITHUB_TOKEN }}"
draft: true
name: ${{ github.ref_name }}
tag_name: ${{ github.ref_name }}
files: ${{ steps.dist.outputs.archive }}
win:
runs-on: windows-latest
strategy:
matrix:
arch: [x86_64, i686]
ui: [cli, gui]
include:
- arch: x86_64
msystem: MINGW64
grep: x86-64
- arch: i686
msystem: MINGW32
grep: 386
- ui: cli
clionly: --with-gui=no
defaults:
run:
shell: msys2 {0}
steps:
- uses: msys2/setup-msys2@v2
with:
msystem: ${{ matrix.msystem }}
update: false
install: git diffutils make pkg-config mingw-w64-${{ matrix.arch }}-glib2 mingw-w64-${{ matrix.arch }}-gcc mingw-w64-${{ matrix.arch }}-ghostscript mingw-w64-${{ matrix.arch }}-ntldd-git man zip
- name: install GUI prereqs
if: matrix.ui == 'gui'
run: pacman -S --noconfirm mingw-w64-${{ matrix.arch }}-gtk3 mingw-w64-${{ matrix.arch }}-librsvg
- name: git config
run: git config --global core.autocrlf input
shell: bash
- uses: actions/checkout@v4
- name: configure
run: ./configure ${{ matrix.clionly }}
- name: make
run: nproc && make -j$(nproc)
- name: check executable
run: |
./dvdisaster.exe --version
file dvdisaster.exe
if ./dvdisaster.exe --version | grep dirty; then exit 1; fi
file dvdisaster.exe | grep -q '${{ matrix.grep }}'
file dvdisaster.exe | grep -q 'for MS Windows'
- name: check executable (GUI)
if: matrix.ui == 'gui'
run: if ./dvdisaster.exe --version | grep NOGUI; then exit 1; fi
- name: check executable (CLI)
if: matrix.ui == 'cli'
run: ./dvdisaster.exe --version | grep NOGUI
- name: prepare dist
run: ./.github/workflows/make-dist.sh ${{ github.ref }}
id: dist
- name: check executability of dist from cmd.exe
shell: cmd
run: |
cd dist
dvdisaster.exe --version
- name: Tag for Continuous Build
if: github.ref_name == 'master'
run: |
git tag -f latest
git push -f origin latest
- name: Upload to Continuous Build
if: github.ref_name == 'master'
uses: softprops/action-gh-release@v2
with:
token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: true
name: "Continuous Build"
tag_name: latest
files: ${{ steps.dist.outputs.archive }}
- name: Tag for Dev Build
if: github.ref_name == 'dev'
run: |
git tag -f devel
git push -f origin devel
- name: Upload to Dev Build
if: github.ref_name == 'dev'
uses: softprops/action-gh-release@v2
with:
token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: true
draft: true
name: "Dev Build"
tag_name: devel
files: ${{ steps.dist.outputs.archive }}
- name: Upload to Draft Release
if: github.ref_type == 'tag'
uses: softprops/action-gh-release@v2
with:
token: "${{ secrets.GITHUB_TOKEN }}"
draft: true
name: ${{ github.ref_name }}
tag_name: ${{ github.ref_name }}
files: ${{ steps.dist.outputs.archive }}
linux64-cli:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: install prerequisites
run: sudo apt update && sudo apt install -y libglib2.0-dev ghostscript man
- name: configure
run: ./configure --with-gui=no
- name: make
run: nproc && make -j$(nproc) && make static && mv -f dvdisaster-static dvdisaster
- name: check executable
run: |
./dvdisaster --version && ./dvdisaster --version | grep -q dirty || true
file dvdisaster && file dvdisaster | grep -q 'ELF 64' && file dvdisaster | grep -q 'statically linked'
- name: build dist
run: ./.github/workflows/make-dist.sh ${{ github.ref }}
id: dist
- name: Tag for Continuous Build
if: github.ref_name == 'master'
run: |
git tag -f latest
git push -f origin latest
- name: Upload to Continuous Build
if: github.ref_name == 'master'
uses: softprops/action-gh-release@v2
with:
token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: true
name: "Continuous Build"
tag_name: latest
files: ${{ steps.dist.outputs.archive }}
- name: Tag for Dev Build
if: github.ref_name == 'dev'
run: |
git tag -f devel
git push -f origin devel
- name: Upload to Dev Build
if: github.ref_name == 'dev'
uses: softprops/action-gh-release@v2
with:
token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: true
draft: true
name: "Dev Build"
tag_name: devel
files: ${{ steps.dist.outputs.archive }}
- name: Upload to Draft Release
if: github.ref_type == 'tag'
uses: softprops/action-gh-release@v2
with:
token: "${{ secrets.GITHUB_TOKEN }}"
draft: true
name: ${{ github.ref_name }}
tag_name: ${{ github.ref_name }}
files: ${{ steps.dist.outputs.archive }}
linux64-appimage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: install prerequisites on host
run: sudo apt-get update && sudo apt-get install -y fuse
- name: docker
run: |
mkdir -p /tmp/dist
docker run --device /dev/fuse --privileged --name uu -d -v $PWD:/dvdisaster -v /tmp/dist:/dist ubuntu:18.04 sleep 1800
- name: install prerequisites in docker
run: docker exec uu sh -c 'apt update && apt install -y ghostscript man fuse file make gcc pkg-config libglib2.0-dev libgtk-3-dev glib-networking libgdk-pixbuf2.0-dev'
- name: configure in docker
run: docker exec uu sh -c 'cd /dvdisaster && ./configure --prefix=/usr'
- name: make in docker
run: docker exec uu sh -c 'make -C /dvdisaster -j$(nproc) && make -C /dvdisaster'
- name: make install in docker
run: docker exec uu sh -c 'cd /dvdisaster && touch documentation/user-manual/manual.pdf && make install DESTDIR=/dist'
- name: copy gtk3 and gio stuff to dist in docker
run: |
set -euo pipefail
docker exec uu sh -c 'install -d /dist/usr/lib/gtk-3.0 && cp -va $(pkg-config --variable=libdir gtk+-3.0)/gtk-3.0/* /dist/usr/lib/gtk-3.0'
docker exec uu sh -c 'install -d /dist/usr/lib/gio/modules && cp -va $(dirname $(dpkg -L glib-networking | grep -F /libgiolibproxy.so | head -n1))/* /dist/usr/lib/gio/modules/'
docker exec uu sh -c 'gio-querymodules /dist/usr/lib/gio/modules'
docker exec uu sh -c 'install -d /dist/usr/lib/gdk-pixbuf2 && timeout 10 cp -va $(dirname $(find /usr/lib -name "libpixbufloader-*.so" | head -n1))/../* /dist/usr/lib/gdk-pixbuf2/'
docker exec uu sh -c 'gdk-pixbuf-query-loaders > /dist/usr/lib/gdk-pixbuf2/loaders.cache'
IM_BASEPATH=$(dirname $(cd /tmp/dist; find . -name immodules.cache))/immodules
sudo sed -i -re 's=^"/.+/immodules/(.+)="'$IM_BASEPATH'/\1=' $(find /tmp/dist/ -name immodules.cache)
PIX_BASEPATH=$(dirname $(cd /tmp/dist; find . -name loaders.cache))/
sudo sed -i -re 's=^"/.+/loaders/(.+)="'$PIX_BASEPATH'/loaders/\1=' $(find /tmp/dist/ -name loaders.cache)
- name: build appimage in docker with linuxdeploy
run: |
wget -q https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage
chmod 755 linuxdeploy-x86_64.AppImage
docker exec -e LINUXDEPLOY_OUTPUT_VERSION=$(echo "${{ github.ref }}" | grep -Eo '[^/]+$') -e ARCH=x86_64 uu sh -c 'cd /dvdisaster && ./linuxdeploy-x86_64.AppImage -d contrib/dvdisaster.desktop -i contrib/dvdisaster64.png -i contrib/dvdisaster48.png -i contrib/dvdisaster32.png -i contrib/dvdisaster16.png --icon-filename dvdisaster --custom-apprun=contrib/AppRun.sh --appdir /dist/ --output appimage'
- name: fix perms
run: docker exec uu sh -c "chown -R $UID /dist /dvdisaster/*.AppImage"
- name: patch libgio and apply glib workaround by repackaging with appimagetool
env:
ARCH: x86_64
run: |
wget -q https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage
chmod 755 appimagetool-x86_64.AppImage
exe=$(ls -1 dvdisaster*.AppImage)
chmod 755 $exe
./$exe --appimage-extract
rm -vf $exe
sed -i -re "s=gio/modules=:::::::::::=g" squashfs-root/usr/lib/libgio*.so*
env LINUXDEPLOY_OUTPUT_VERSION=$(echo "${{ github.ref }}" | grep -Eo '[^/]+$') ./appimagetool-x86_64.AppImage -v squashfs-root
mv -v dvdisaster*AppImage $exe
chmod 755 $exe
- name: test appimage
id: dist
run: |
chmod 755 dvdisaster*.AppImage && ./dvdisaster*.AppImage --version
archive=$(ls -1 dvdisaster*.AppImage)
echo "archive=$archive" >> "$GITHUB_OUTPUT"
echo "appimage is <$archive>"
- name: Tag for Continuous Build
if: github.ref_name == 'master'
run: |
git tag -f latest
git push -f origin latest
- name: Upload to Continuous Build
if: github.ref_name == 'master'
uses: softprops/action-gh-release@v2
with:
token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: true
name: "Continuous Build"
tag_name: latest
files: ${{ steps.dist.outputs.archive }}
- name: Tag for Dev Build
if: github.ref_name == 'dev'
run: |
git tag -f devel
git push -f origin devel
- name: Upload to Dev Build
if: github.ref_name == 'dev'
uses: softprops/action-gh-release@v2
with:
token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: true
draft: true
name: "Dev Build"
tag_name: devel
files: ${{ steps.dist.outputs.archive }}
- name: Upload to Draft Release
if: github.ref_type == 'tag'
uses: softprops/action-gh-release@v2
with:
token: "${{ secrets.GITHUB_TOKEN }}"
draft: true
name: ${{ github.ref_name }}
tag_name: ${{ github.ref_name }}
files: ${{ steps.dist.outputs.archive }}

174
.github/workflows/tests.yml vendored Normal file
View File

@@ -0,0 +1,174 @@
name: non-regression tests
on: [pull_request]
jobs:
mac:
runs-on: macos-latest
strategy:
matrix:
ui: [cli, gui]
printf: [fmtdbg, normal]
include:
- ui: cli
clionly: --with-gui=no
- printf: fmtdbg
debugprintf: --with-debug-printf-format
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: install prerequisites
env:
HOMEBREW_NO_INSTALL_CLEANUP: 1
run: brew install ghostscript
- name: install prerequisites (GUI)
if: matrix.ui == 'gui'
env:
HOMEBREW_NO_INSTALL_CLEANUP: 1
run: brew install gtk+3
- name: configure
run: |
set +x
./configure ${{ matrix.clionly }} ${{ matrix.debugprintf }} --with-werror
- name: make
run: |
cat Makefile.config
echo xxxxxxxxxxxxxxxxxxxxxxx
grep -i icon GNUmakefile
make -j$(sysctl -n hw.ncpu || 2)
- name: check executability
run: ./dvdisaster --version
- name: check executable (GUI)
if: matrix.ui == 'gui'
run: |
./dvdisaster --version
if ./dvdisaster --version | grep NOGUI; then exit 1; fi
- name: check executable (CLI)
if: matrix.ui == 'cli'
run: |
./dvdisaster --version
./dvdisaster --version | grep NOGUI
- name: prepare dist
run: ./.github/workflows/make-dist.sh ${{ github.ref }}
- name: regression tests
if: matrix.printf == 'normal'
env:
REGTEST_NO_UTF8: 1
run: mkdir /var/tmp/regtest && ./regtest/runtests.sh
win:
runs-on: windows-latest
strategy:
matrix:
arch: [x86_64, i686]
ui: [cli, gui]
printf: [fmtdbg, normal]
include:
- arch: x86_64
msystem: MINGW64
grep: x86-64
- arch: i686
msystem: MINGW32
grep: 386
- ui: cli
clionly: --with-gui=no
- printf: fmtdbg
debugprintf: --with-debug-printf-format
defaults:
run:
shell: msys2 {0}
steps:
- uses: msys2/setup-msys2@v2
with:
msystem: ${{ matrix.msystem }}
update: false
install: git diffutils make pkg-config mingw-w64-${{ matrix.arch }}-glib2 mingw-w64-${{ matrix.arch }}-gcc mingw-w64-${{ matrix.arch }}-ghostscript mingw-w64-${{ matrix.arch }}-ntldd-git man zip
- name: install GUI prereqs
if: matrix.ui == 'gui'
run: pacman -S --noconfirm mingw-w64-${{ matrix.arch }}-gtk3
- name: git config
run: git config --global core.autocrlf input
shell: bash
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: configure
run: |
echo running ./configure ${{ matrix.clionly }} ${{ matrix.debugprintf }} --with-werror
./configure ${{ matrix.clionly }} ${{ matrix.debugprintf }} --with-werror
- name: make
run: nproc && make -j$(nproc)
- name: check executable
run: |
./dvdisaster.exe --version
file dvdisaster.exe
if ./dvdisaster.exe --version | grep dirty; then exit 1; fi
file dvdisaster.exe | grep -q '${{ matrix.grep }}'
file dvdisaster.exe | grep -q 'for MS Windows'
- name: check executable (GUI)
if: matrix.ui == 'gui'
run: |
./dvdisaster.exe --version
if ./dvdisaster.exe --version | grep NOGUI; then exit 1; fi
- name: check executable (CLI)
if: matrix.ui == 'cli'
run: |
./dvdisaster.exe --version
./dvdisaster.exe --version | grep NOGUI
- name: try to prepare dist
run: ./.github/workflows/make-dist.sh ${{ github.ref }}
- name: run regression tests
if: matrix.printf == 'normal'
env:
REGTEST_NO_UTF8: 1
run: mkdir /var/tmp/regtest && ./regtest/runtests.sh
linux:
runs-on: ubuntu-latest
strategy:
matrix:
ui: [cli, gui]
printf: [fmtdbg, normal]
include:
- ui: cli
clionly: --with-gui=no
- printf: fmtdbg
debugprintf: --with-debug-printf-format
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: install prerequisites
env:
DEBIAN_FRONTEND: noninteractive
run: sudo apt-get update && sudo apt-get install -y libglib2.0-dev ghostscript man jq
- name: install prerequisites (GUI)
if: matrix.ui == 'gui'
env:
DEBIAN_FRONTEND: noninteractive
run: sudo apt-get install -y libgtk-3-dev
- name: configure
run: |
echo ./configure ${{ matrix.clionly }} ${{ matrix.debugprintf }} --with-werror
./configure ${{ matrix.clionly }} ${{ matrix.debugprintf }} --with-werror
- name: make
run: nproc && make -j$(nproc)
- name: check executability
run: ./dvdisaster --version
- name: check executable (GUI)
if: matrix.ui == 'gui'
run: |
./dvdisaster --version
if ./dvdisaster --version | grep NOGUI; then exit 1; fi
- name: check executable (CLI)
if: matrix.ui == 'cli'
run: |
./dvdisaster --version
./dvdisaster --version | grep NOGUI
- name: prepare dist
run: ./.github/workflows/make-dist.sh ${{ github.ref }}
- name: regression tests
if: matrix.printf == 'normal'
env:
REGTEST_NO_UTF8: 1
run: mkdir /var/tmp/regtest && ./regtest/runtests.sh

18
.gitignore vendored Normal file
View File

@@ -0,0 +1,18 @@
.pc
*.o
*~
*.gcno
*.gcda
*.gcov
Makefile.config
configure.log
locale/Makefile
GNUmakefile
.gitignore
simple-md5sum
inlined-icons.c
help-dialogs.h
dvdisaster
build.h
dvdisaster.mo
locale/messages.pot

241
CHANGELOG
View File

@@ -1,5 +1,240 @@
# dvdisaster changelog -*-text-*-
# dvdisaster changelog -*-text-*-
# dvdisaster: Additional error correction for optical media.
# Copyright (C) 2004-2017 Carsten Gnoerlich.
# Copyright (C) 2019-2021 The dvdisaster development team.
#
# Email: support@dvdisaster.org
#
# This file is part of dvdisaster.
#
# dvdisaster is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# dvdisaster is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with dvdisaster. If not, see <http://www.gnu.org/licenses/>.
0.79.10.patchlevel-5 11-05-2025 *UNOFFICIAL*
- fix: GUI fileopen dialog crash
0.79.10.patchlevel-4 04-05-2025 *UNOFFICIAL*
- enh: port the GUI to gtk3
- enh: speedup RS03 repair
- enh: add support for HD-DVD(-R(W))
- fix: RS03 exhaustive search on BD-R when --no-bd-defect-management is used
- fix: a few coding errors found by static analysis (no major impact)
- fix: disable strip button on GUI when working
0.79.10.patchlevel-3 17-02-2024 *UNOFFICIAL*
- fix: corrupt data under Windows with mmap
- fix: re-enable buttons after Split is used
0.79.10.patchlevel-2 17-09-2023 *UNOFFICIAL*
- re-introduced MacOS build. No other functional change since v0.79.10-pl1.
0.79.10.patchlevel-1 09-10-2021 *UNOFFICIAL*
- sync: integrated changes from latest upstream,
please refer to the entries below for details.
0.79.10 24-09-2021
- command line only version can be generated by
using ./configure --with-gui=no
The cli version will not be linked against gtk+ and it auxiliary libs.
However, glib is still required as it provides some basic functionality
for multithreading and string operations.
- Fixed a checksum buffering bug which was introduced in 0.79.6:
If user reads in CD A, then switches to image of CD B in the file dialogue
and creates error correction data, depending on the codec some invalid
checksums from CD A will be drawn into the ecc data for CD B.
- Fixed crc buf related memory leak while reading/scanning
- run_regtest will now insist that both image and ecc arguments are given.
This prevents stale arguments when running in GUI mode.
- Test case motivated changes/fixes:
- in general: fixed missing/inappropriate parameters in test cases for GUI mode
- RS01_scan_tao_tail_with_ecc
corrected wording of warning message (scan mode won't alter the image)
- RS01_scan_medium_with_dsm
RS01_read_medium_with_dsm
substantiated reading summary
- RS01_read_medium_with_dsm_in_image
removed reporting of displaced sectors in the image (only displaced
sectors in the medium matter!)
- RS02_ecc_recreate_after_read_rs02
crc buf now considered valid (when stripping the data portion from
the read image)
- RS03i_plus_56_bytes
RS03i_with_ecc_file_header
fixed misconfiguration of testcase for GUI
- RS03i_missing_header (and most following verify tests)
prognosis would declare image as uncorrectable because treatment
of unreadable ECC headers was broken.
- RS03i_missing_header3/4
Test case created an uncorrectable image (which did test the required
properties, though). Changed to a test-equvalent correctable image.
- RS03f_ecc_recreate_after_read_rs02
rs03-create.c:prepare_header() called CrcBufValid() with wrong values when
creating error correction files for an already augmented image.
- Merged fixes from Stéphane Lesimple's version
- printf argument debugging and PRId64 etc. format strings
- -Werror setting
- "easy" patches; non-trivial changes have been noted and
will be processed later
- Merged Debian patches:
08 gmake detection
10 dvdisaster.desktop
12 up to spelling
17 API warnings (partially merged)
29 fix more typos
33 - obsoleted -
34 format security warning
35 archived homepage (rewritten with references to the pdf manuals)
0.79.9 14-05-2021
- Revised code for clean compile under gcc-10 and Debian 11 (sid) or Slackware 15
- added -Wno-deprecated-declarations to shield against a flood of warnings
resulting from gtk-2 / glib mismatches
- safeguarded install and uninstall against blanks in path names
0.79.8 11-05-2021
- Revised code for clean compile under gcc-8 and Debian 10 (Buster).
- Simplyfied display of URLS and PDF via xdg-open
- minor rework of user manual
- added skip feature to regtests: sometimes, output rows are permutated due to
a race condition between printf()s. This is rather hard to control.
0.79.7 09-04-2019
- Cleanup of documentation and files for new contact address
0.79.6.patchlevel-9 27-06-2021 *UNOFFICIAL*
- fix: using --strip in console without X server would segfault at program exit
- enh: windows: hide useless background console
- enh: linear read: log amount of correctly read sectors during a sesssion
- enh: log window: use a bigger scrollback buffer
- doc: regenerate codecs.pdf to get proper page numbers
- chore: fix codec-specs Makefile
0.79.6.patchlevel-8 22-02-2021 *UNOFFICIAL*
- enh: gui: medium-info: add an 'exhaustive search' when not enabled in options
- enh: gui: prefs: add a visual cue of tooltips
0.79.6.patchlevel-7 30-01-2021 *UNOFFICIAL*
- feat: add a new button to remove ECC data from an iso ("strip"), restoring an ISO to its previous non-augmented state (option: -z/--strip)
- enh: try harder to find RS02/RS03 sigs in non-exhaustive mode (#19)
- enh: add --examine-rs0[23] in --debug mode for CLI, to force exhaustive search with --medium-info
- enh: more logs around exhaustive RS03 search in verbose
- fix: windows: get rid of the last few warnings, build with -Werror for releases
- chore: update tests, locales & readme
0.79.6.patchlevel-6 17-01-2021 *UNOFFICIAL*
- fix: allow blank media in Preferences>Error correction>RS02>query medium (#19)
- fix: tested compilation under clang, detected a reversed order or arguments in a call to memset(), fixed
- fix: printf: added --with-debug-print-format configure option to permit compile-time detection of printf format errors:
- fixed some potentially severe ones
- replaced %ldd/%ld by PRId64 to remove warnings on all archs
- fix: appimage: adjust docdir for help menu
- chore: ensure configure works properly even if user adds -Werror to CFLAGS
- chore: added --with-werror to configure
- chore: replaced CLI_ONLY=1 by --with-cli-only in configure
- chore: update locales
- chore: debug printf format in GitHub actions tests
0.79.6.patchlevel-5 12-01-2021 *UNOFFICIAL*
- fix: don't error on blank media in medium-info (#19), bug present upstream since 0.79.5
- fix: gui: fix the 'SetLabelText() failed' error caption on the medium-info window (#19), bug present upstream since 0.72.3
- fix: add CHANGELOG, TODO, CREDITS to dist for the Help menu
- chore: appimage: add missing gtk engines and adjust docdir for help menu
- chore: enhance packaging, update locales, changelog et al.
0.79.6.patchlevel-4 04-09-2020 *UNOFFICIAL*
- feat: allow adaptive reading again*
- feat: add --permissive-medium-type option
- fix: lift the limitation on the number of cmdline args
- fix: lift segfault when aborting adaptive read
- fix: ensure variables are initialized before dereferencing
- chore: re-enable adaptive read regtests
- chore: move *.c *.h to src/, and build in build/
- chore: build: finally really fix make parallelism
- chore: use gcc -pipe to speed up the build
- chore: rename CLI version to NOGUI in the version tag
- chore: add missing target dependency in Makefile
- chore: update readme
- chore: locales update
*:The original author disabled adaptive reading
specifically in 0.79.6 (see changelog below), as it
doesn't handle RS03 correctly yet. In this patchlevel
we enable it again for media without (detected) ECC data,
and for media protected with RS01 or RS02. If we detect RS03,
we tell the user the behaviour is unpredictable/undefined,
and recommend using linear reading instead.
0.79.6.patchlevel-3 01-09-2020 *UNOFFICIAL*
- fix: windows: flavor in build version was always 'UNKNOWN'
- fix: windows: the config & log files were not written properly
0.79.6.patchlevel-2 30-08-2020 *UNOFFICIAL*
- fix: Adjust BDXL_QL_SIZE and rollback BD_SL_SIZE to upstream version*
- feat: add --no-bdr-defect-management to produce bigger augmented images with RS03
- chore: remove 2 compiler warnings under Linux
- chore: automatically run regtests under Win32, Win64, Linux64 (regular and CLI-only) on pull requests
- chore: add a Linux CLI-only static make target
- chore: fix make parallelism
- chore: use tags to describe the build
*:BD_SL_SIZE was mistakenly modified in 0.79.6-pl1, we restore the
previous upstream value to avoid having several dvdisaster versions
in the field with different values set for it.
If you created an RS03 augmented image with 0.79.6-pl1, you'll still
be able to conduct a repair of the image, should it be damaged,
by using any 0.79.6 version (with or without patchlevel), using
the following additional command-line parameters:
dvdisaster -f --debug -n 12219392
On the patchlevel versions, this is equivalent to saying:
dvdisaster -f --no-bdr-defect-management
BDXL_QL_SIZE (introduced in pl1) was also adjusted in this version,
To repair a damaged BD-R quadruple layer image created by pl1:
dvdisaster -f --debug -n 62500864
On the patchlevel versions, this is equivalent to saying:
dvdisaster -f --no-bdr-defect-management
The values that were present in pl1 were corresponding to a BD-R
burnt without formatting it for defect management first, which enabled
more space for parity data. You can still do it if you want, with
--no-bdr-defect-management (see manpage), but to follow upstream,
the default number of sectors for all BD-R implies that defect
management is enabled.
0.79.6.patchlevel-1 20-08-2020 *UNOFFICIAL*
- This is an UNOFFICIAL version, not from the original author,
based on the latest available pre-release, 0.79.6.
Changes will be kept minimal (this is not a hard fork),
to be able to merge in any new upstream version should it arise.
- Most patches from the Debian maintainer have been applied,
up to Debian version 0.79.6-5. Patches that are purely Debian
specific have been omitted.
- This release keeps the debian/ folder untouched, with only
the patches/series file adjusted. Building the package has
not been tested.
- Added support for BDXL-QL (quadruple layer, 128GB)
- Added support to compile a CLI-only version, without
the GTK dependency (only glib2), compile with:
$ CLI_ONLY=1 ./configure && make clean && make -j4
- Added support to compile a Windows version under MingW (tested
with MSYS2)
- All regression tests are passing on Linux 64, Win 32 and Win 64.
- A few tweaks and fixes around have been done while massively
amending the source files to make the CLI-only version possible.
This hopefully removes a few quirks without adding too many.
0.79.6 20-11-2017
- The Verify/Test option will now output dvdisaster version
numbers always in x.yy.zz format, as the old scheme
@@ -34,7 +269,7 @@ do not affect already created RS03 data.
0.79.4 07-10-2012 (not released)
## 0.79.4 is a technical release in order to freeze
## and archive some parts of the source code.
## Do not use for anything prodictive.
## Do not use for anything productive.
## The next useful release will be 0.79.5.
- optical drives would only be detected for /dev/pass[0-9]
on FreeBSD. Fixed to work with arbitrary /dev/pass

View File

@@ -10,6 +10,13 @@ Harald Bögeholz (hwb@heise.de)
Anregungen und Ideen zurück; er hatte zuvor schon eine ähnliche
Strategie entwickelt und in Ausgabe 16/2005 der c't veröffentlicht.
Jesus Cea <jcea@jcea.es>
hat das Projekt am Leben erhalten und ermöglicht momentan das
Datenhosting.
Paul Dicker (@pitdicker on GitHub)
migrierte die Anwendung von GTK2 nach GTK3.
Julian Einwag (julian@einwag.de)
erstellt und pflegt die Mac OS X / Darwin - spezifischen Anpassungen.
@@ -30,6 +37,11 @@ Phil Karn
Originalversion von Phils Bibliothek herunterladen, wenn Sie
Reed-Solomon-Kode in Ihren eigenen Programmen verwenden möchten.
Stéphane Lesimple <stephane@lesimple.fr>
hat das Projekt in einem eigenen GIT-Repository am Leben erhalten
sowie Patches und Erweiterungen beigesteuert. Er stellt weiterhin
eine Windows-Version bereit.
Daniel Nylander (info@danielnylander.se)
erstellt und pflegt die schwedische Übersetzung.
@@ -47,4 +59,4 @@ Sergey Svishchev (svs@ropnet.ru)
Viele andere Personen haben weitere Anregungen und Fehlerberichte
geliefert; schauen Sie auch in den Änderungsbericht für weitere
Einzelheiten darüber.
Einzelheiten darüber.

View File

@@ -10,6 +10,12 @@ Harald Bögeholz (hwb@heise.de)
suggestions and ideas; he had implemented a similar strategy
before and published in issue 16/2005 of the german periodical "c't".
Jesus Cea <jcea@jcea.es>
for keeping the project alive and providing hosting for the project
Paul Dicker (@pitdicker on GitHub)
for porting the codebase from GTK2 to GTK3.
Julian Einwag (julian@einwag.de).
provides and maintains the Mac OS X / Darwin port.
@@ -29,6 +35,10 @@ Phil Karn
special needs, you should get the original thing if you're
interested in incorporating RS codes into your application.
Stéphane Lesimple <stephane@lesimple.fr>
for keeping the project alive in his own GIT repository, and
for supplying patches, enhancements and the Windows version.
Daniel Nylander (info@danielnylander.se)
provides and maintains the Swedish translation.

View File

@@ -1,4 +0,0 @@
all:
@echo
@echo "Please create a Makefile by entering \"bash configure\" first"
@echo

View File

@@ -1,3 +1,24 @@
# dvdisaster: Additional error correction for optical media.
# Copyright (C) 2004-2017 Carsten Gnoerlich.
# Copyright (C) 2019-2021 The dvdisaster development team.
#
# Email: support@dvdisaster.org
#
# This file is part of dvdisaster.
#
# dvdisaster is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# dvdisaster is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with dvdisaster. If not, see <http://www.gnu.org/licenses/>.
######################################################################
# Begin of dvdisaster makefile template
######################################################################
@@ -15,6 +36,10 @@ MAN_LOCALES = de
# Where to put tar archives (arch, srcdist)
TAR_PREFIX=/dev/shm
# current project homepage
HOMEPAGE="https://dvdisaster.jcea.es/"
######################################################################
# Take over variables from configure
######################################################################
@@ -39,9 +64,13 @@ INTL_LIBS = $(CFG_INTL_LIBS)
CAM_LFLAGS = $(CFG_CAM_LFLAGS)
CAM_LIBS = $(CFG_CAM_LIBS)
GTK_CFLAGS = $(CFG_GTK2_CFLAGS)
GTK_LIBS = $(CFG_GTK2_LIBS)
GTK_BINDIR = $(CFG_GTK2_BINDIR)
GLIB_CFLAGS = $(CFG_GLIB2_CFLAGS)
GLIB_LIBS = $(CFG_GLIB2_LIBS)
GLIB_BINDIR = $(CFG_GLIB2_BINDIR)
GTK_CFLAGS = $(CFG_GTK3_CFLAGS) $(CFG_GLIB2_CFLAGS)
GTK_LIBS = $(CFG_GTK3_LIBS) $(CFG_GLIB2_LIBS)
GTK_BINDIR = $(CFG_GTK3_BINDIR) $(CFG_GLIB2_BINDIR)
EFENCE_LFLAGS = $(CFG_EFENCE_LFLAGS)
EFENCE_LIBS = $(CFG_EFENCE_LIBS)
@@ -50,86 +79,79 @@ SYS_OPTIONS = $(CFG_SYS_OPTIONS)
SYS_NAME = $(CFG_SYS_NAME)
HAVE_OPTIONS = $(CFG_HAVE_OPTIONS)
WITH_OPTIONS = $(CFG_WITH_OPTIONS)
OTHER_OPTIONS = $(CFG_OTHER_OPTIONS) -DVERSION=\"$(VERSION)\"
OTHER_OPTIONS = $(CFG_OTHER_OPTIONS) -DVERSION="\"$(VERSION)\""
SSE2_OPTIONS = $(CFG_SSE2_OPTIONS)
ALTIVEC_OPTIONS = $(CFG_ALTIVEC_OPTIONS)
LOCATIONS = -DSRCDIR=\"$(SRCDIR)\" -DBINDIR=\"$(BINDIR)\" -DDOCDIR=\"$(DOCSUBDIR)\" -DLOCALEDIR=\"$(LOCALEDIR)\"
COPTS = $(CFLAGS) $(LOCATIONS) $(SYS_OPTIONS) $(SYS_NAME) $(HAVE_OPTIONS) $(WITH_OPTIONS) $(OTHER_OPTIONS) $(INTL_INCL) $(CAM_INCL) $(GTK_CFLAGS) $(MUDFLAP_CFLAGS)
LOPTS = $(LDFLAGS) $(INTL_LFLAGS) $(CAM_LFLAGS) $(EFENCE_LFLAGS) $(MUDFLAP_LFLAGS)
LOCATIONS = -DSRCDIR="\"$(SRCDIR)\"" -DBINDIR="\"$(BINDIR)\"" -DDOCDIR="\"$(DOCSUBDIR)\"" -DLOCALEDIR="\"$(LOCALEDIR)\""
COPTS = $(CFLAGS) $(LOCATIONS) $(SYS_OPTIONS) $(SYS_NAME) $(HAVE_OPTIONS) $(WITH_OPTIONS) $(OTHER_OPTIONS) $(INTL_INCL) $(CAM_INCL) $(GTK_CFLAGS) $(GLIB_CFLAGS)
LOPTS = $(LDFLAGS) $(INTL_LFLAGS) $(CAM_LFLAGS) $(EFENCE_LFLAGS)
LIBS = $(INTL_LIBS) $(CAM_LIBS) $(GTK_LIBS) $(EFENCE_LIBS) $(MUDFLAP_LIBS) -lm
LIBS = $(INTL_LIBS) $(CAM_LIBS) $(GTK_LIBS) $(GLIB_LIBS) $(EFENCE_LIBS) -lm
CFILES = $(CFG_CFILES)
OFILES = $(CFG_OFILES)
# special case for DESTDIR, if BUILDROOT is undef and DESTDIR is,
# set BUILDROOT to DESTDIR
ifeq "" "$(BUILDROOT)"
BUILDROOT = $(DESTDIR)
endif
######################################################################
# Compilation related
######################################################################
.PHONY : all help show locale time-stamp
.PHONY : all help show locale
${BUILDTMP}/%.o : %.c
all: dvdisaster
src/build.h: configure
@echo "Updating:" src/build.h
@$(SRCDIR)/scripts/time-stamper.bash $(SRCDIR)/src/build.h
${BUILDTMP}/%.o : src/%.c
@echo "Compiling:" $?
@$(CC) $(COPTS) -c $? -o $@
all: time-stamp dvdisaster
${BUILDTMP}/inlined-icons.c.o : ${BUILDTMP}/inlined-icons.c
@echo "Compiling:" $?
@$(CC) $(COPTS) -c $? -o $@
${BUILDTMP}/build.o : src/build.c src/build.h
@echo "Compiling:" src/build.o
@$(CC) $(COPTS) -c src/build.c -o $@
${BUILDTMP}/closure.o : src/closure.c $(ICONS)
@echo "Compiling:" src/closure.c
@$(CC) $(COPTS) -c src/closure.c -o $@
# Building the dvdisaster binary
time-stamp:
@$(SRCDIR)/scripts/time-stamper.bash $(SRCDIR)/build.h
dvdisaster: inlined-icons.h $(OFILES)
dvdisaster: $(OFILES)
@echo "Linking : dvdisaster"
@$(CC) $(LOPTS) $(OFILES) $(LIBS) -o dvdisaster
@if test $(CFG_SYS_OPTIONS) == -DSYS_MINGW; \
then windres -v src/winres.rc -O coff -o ${BUILDTMP}/winres.o >/dev/null ; \
$(CC) $(LOPTS) $(OFILES) $(LIBS) ${BUILDTMP}/winres.o -o dvdisaster ; \
else $(CC) $(LOPTS) $(OFILES) $(LIBS) -o dvdisaster ; \
fi
@if test -e locale/de/LC_MESSAGES/dvdisaster.mo \
|| echo $(WITH_OPTIONS) | grep "NLS_NO" >/dev/null; \
then echo "not touching locale"; \
else $(MAKE) --no-print-directory -C locale; \
fi
inlined-icons.h: icons/read.png icons/create.png icons/scan.png icons/fix.png icons/verify.png
@gdk-pixbuf-csource --raw --name=dvdisaster_read icons/read.png >inlined-icons.h
@gdk-pixbuf-csource --raw --name=dvdisaster_create icons/create.png >>inlined-icons.h
@gdk-pixbuf-csource --raw --name=dvdisaster_scan icons/scan.png >>inlined-icons.h
@gdk-pixbuf-csource --raw --name=dvdisaster_fix icons/fix.png >>inlined-icons.h
@gdk-pixbuf-csource --raw --name=dvdisaster_verify icons/verify.png >>inlined-icons.h
@gdk-pixbuf-csource --raw --name=dvdisaster_open_ecc icons/open-ecc.png >>inlined-icons.h
@gdk-pixbuf-csource --raw --name=dvdisaster_open_img icons/open-img.png >>inlined-icons.h
@gdk-pixbuf-csource --raw --name=dvdisaster_cd icons/cd.png >>inlined-icons.h
@gdk-pixbuf-csource --raw --name=dvdisaster_gtk_help icons/gtk-help.png >>inlined-icons.h
@gdk-pixbuf-csource --raw --name=dvdisaster_gtk_index icons/gtk-index.png >>inlined-icons.h
@gdk-pixbuf-csource --raw --name=dvdisaster_gtk_preferences icons/gtk-preferences.png >>inlined-icons.h
@gdk-pixbuf-csource --raw --name=dvdisaster_gtk_quit icons/gtk-quit.png >>inlined-icons.h
@gdk-pixbuf-csource --raw --name=dvdisaster_gtk_stop icons/gtk-stop.png >>inlined-icons.h
$(BUILDTMP)/inlined-icons.c: icons/icons.gresource.xml icons/cd.svg icons/close.svg icons/create.svg icons/fix-symbolic.svg icons/log.svg icons/manual.svg icons/open-ecc.svg icons/open-img.svg icons/preferences.svg icons/quit.svg icons/read-symbolic.svg icons/scan-symbolic.svg icons/stop.svg icons/strip.svg icons/verify-symbolic.svg
@echo "Generating:" $(ICONS)
@glib-compile-resources --generate-source --target=$(ICONS) --sourcedir=icons icons/icons.gresource.xml
$(BUILDTMP)/help-dialogs.o: help-dialogs.c simple-md5sum
@if test -e fingerprints.md5; \
then if test -e help-dialogs.h; then rm help-dialogs.h; fi; \
mv inlined-icons.h inlined-icons.saved; \
mv build.h build.saved; \
./simple-md5sum -b *.h *.c | sort -k2 >tmp.md5; \
sort -k2 < fingerprints.md5 >tmp2.md5; \
mv inlined-icons.saved inlined-icons.h; \
mv build.saved build.h; \
if ! cmp tmp2.md5 tmp.md5 >/dev/null; \
then echo "#define MODIFIED_SOURCE 1" >> help-dialogs.h; \
else echo "#define UNMODIFIED_SOURCE 1" >> help-dialogs.h; \
fi; \
rm tmp.md5 tmp2.md5; \
else echo "#define MODIFIED_SOURCE 1" >> help-dialogs.h; \
fi
@echo "Compiling:" help-dialogs.c
@$(CC) $(COPTS) -c help-dialogs.c -o $(BUILDTMP)/help-dialogs.o
$(BUILDTMP)/rs-encoder-sse2.o: src/rs-encoder-sse2.c
@echo "Compiling:" src/rs-encoder-sse2.c
@$(CC) $(SSE2_OPTIONS) $(COPTS) -c src/rs-encoder-sse2.c -o $(BUILDTMP)/rs-encoder-sse2.o
$(BUILDTMP)/rs-encoder-sse2.o: rs-encoder-sse2.c
@echo "Compiling:" rs-encoder-sse2.c
@$(CC) $(SSE2_OPTIONS) $(COPTS) -c rs-encoder-sse2.c -o $(BUILDTMP)/rs-encoder-sse2.o
$(BUILDTMP)/rs-encoder-altivec.o: rs-encoder-altivec.c
@echo "Compiling:" rs-encoder-altivec.c
@$(CC) $(ALTIVEC_OPTIONS) $(COPTS) -c rs-encoder-altivec.c -o $(BUILDTMP)/rs-encoder-altivec.o
$(BUILDTMP)/rs-encoder-altivec.o: src/rs-encoder-altivec.c
@echo "Compiling:" src/rs-encoder-altivec.c
@$(CC) $(ALTIVEC_OPTIONS) $(COPTS) -c src/rs-encoder-altivec.c -o $(BUILDTMP)/rs-encoder-altivec.o
locale:
@$(MAKE) --no-print-directory -C locale
@@ -137,11 +159,10 @@ locale:
untranslated:
@$(MAKE) --no-print-directory -C locale check-untranslated
simple-md5sum: md5.c
@$(CC) $(COPTS) $(MUDFLAP_CFLAGS) -DSIMPLE_MD5SUM md5.c $(MUDFLAP_LFLAGS) $(MUDFLAP_LIBS) -o simple-md5sum
version.tex:
@test -d $(SRCDIR)/documentation/config || mkdir $(SRCDIR)/documentation/config
@echo "\\newcommand{\\projectversion}{$(VERSION)}" >$(SRCDIR)/documentation/config/version.tex
@echo "\\newcommand{\\homepage}{\\url{$(HOMEPAGE)}}" >>$(SRCDIR)/documentation/config/version.tex
manual: version.tex
@echo "Producing user manual... "
@@ -151,6 +172,21 @@ manualclean:
@echo "Removing temporary user manual files... "
@$(MAKE) --no-print-directory -C documentation/user-manual clean
manualarchclean:
@echo "Removing generated user manual files... "
@$(MAKE) --no-print-directory -C documentation/user-manual archclean
codecs:
@echo "Producing codecs specification documentation... "
@$(MAKE) --no-print-directory -C documentation/codec-specs
codecsclean:
@echo "Removing temporary codecs specification documentation files... "
@$(MAKE) --no-print-directory -C documentation/codec-specs clean
codecsarchclean:
@echo "Removing generated codecs specification documentation files... "
@$(MAKE) --no-print-directory -C documentation/codec-specs archclean
# Some usage info
@@ -163,6 +199,7 @@ help:
@echo
@echo "Documentation related:"
@echo "manual - create the user manual (requires LaTeX)"
@echo "codecs - create the codecs spec documentation (requires LaTeX)"
@echo
@echo "Locale related:"
@echo "locale - update locale files"
@@ -221,60 +258,71 @@ show:
######################################################################
.PHONY : install uninstall clean distclean arch
.PHONY : srcdist
.PHONY : srcdist dist
install: dvdisaster manual
@echo "Installing package..."
install -d $(BUILDROOT)$(BINDIR)
install dvdisaster $(BUILDROOT)$(BINDIR)
install -d $(BUILDROOT)$(DOCSUBDIR)
install -m 644 CHANGELOG $(BUILDROOT)$(DOCSUBDIR)
install -m 644 COPYING $(BUILDROOT)$(DOCSUBDIR)
install -m 644 CREDITS* $(BUILDROOT)$(DOCSUBDIR)
install -m 644 README.MODIFYING $(BUILDROOT)$(DOCSUBDIR)
install -m 644 TODO $(BUILDROOT)$(DOCSUBDIR)
install -d $(BUILDROOT)$(DOCSUBDIR)
(cd documentation/user-manual; install -m 644 manual.pdf $(BUILDROOT)$(DOCSUBDIR))
install -d $(BUILDROOT)$(MANDIR)/man1
install -d $(BUILDROOT)$(MANDIR)/de/man1
install -d "$(BUILDROOT)$(BINDIR)"
install dvdisaster "$(BUILDROOT)$(BINDIR)"
install -d "$(BUILDROOT)$(DOCSUBDIR)"
install -m 644 CHANGELOG "$(BUILDROOT)$(DOCSUBDIR)"
install -m 644 COPYING "$(BUILDROOT)$(DOCSUBDIR)"
install -m 644 CREDITS* "$(BUILDROOT)$(DOCSUBDIR)"
install -m 644 TODO "$(BUILDROOT)$(DOCSUBDIR)"
install -d "$(BUILDROOT)$(DOCSUBDIR)"
(cd documentation/user-manual; install -m 644 manual.pdf "$(BUILDROOT)$(DOCSUBDIR)")
install -d "$(BUILDROOT)$(MANDIR)/man1"
install -d "$(BUILDROOT)$(MANDIR)/de/man1"
cd documentation; \
ESCAPED_DOCSUBDIR=`echo $(DOCSUBDIR) | sed -e 's/\//\\\\\//g'`; \
sed "s/%docdir%/$$ESCAPED_DOCSUBDIR\/html/" <dvdisaster.en.1 >dvdisaster.updated; \
install -m 644 dvdisaster.updated $(BUILDROOT)$(MANDIR)/man1/dvdisaster.1; \
sed "s/%docdir%/$$ESCAPED_DOCSUBDIR\/html/" <dvdisaster.de.1 >dvdisaster.updated; \
install -m 644 dvdisaster.updated $(BUILDROOT)$(MANDIR)/de/man1/dvdisaster.1; \
sed "s/%docdir%/$$ESCAPED_DOCSUBDIR/" <dvdisaster.en.1 >dvdisaster.updated; \
install -m 644 dvdisaster.updated "$(BUILDROOT)$(MANDIR)/man1/dvdisaster.1"; \
sed "s/%docdir%/$$ESCAPED_DOCSUBDIR/" <dvdisaster.de.1 >dvdisaster.updated; \
install -m 644 dvdisaster.updated "$(BUILDROOT)$(MANDIR)/de/man1/dvdisaster.1"; \
rm dvdisaster.updated
if echo $(WITH_OPTIONS) | grep "NLS_YES" >/dev/null; then \
cd locale; \
for i in ?? ??_??; do\
install -d $(BUILDROOT)$(LOCALEDIR)/$$i/LC_MESSAGES; \
install -m 644 $$i/LC_MESSAGES/dvdisaster.mo $(BUILDROOT)$(LOCALEDIR)/$$i/LC_MESSAGES; \
install -d "$(BUILDROOT)$(LOCALEDIR)/$$i/LC_MESSAGES"; \
install -m 644 $$i/LC_MESSAGES/dvdisaster.mo "$(BUILDROOT)$(LOCALEDIR)/$$i/LC_MESSAGES"; \
done \
fi
@echo "# dvdisaster uninstaller script" > $(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh
@echo "# Usage: sh dvdisaster-uninstall.sh" >> $(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh
@echo >> $(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh
@echo "rm -f $(BINDIR)/dvdisaster $(BINDIR)/dvdisaster-uninstall.sh" >> $(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh
@echo "rm -rf $(DOCSUBDIR)" >> $(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh
@echo "# dvdisaster uninstaller script" > "$(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh"
@echo "# Usage: sh dvdisaster-uninstall.sh" >> "$(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh"
@echo >> "$(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh"
@echo "rm -f $(BINDIR)/dvdisaster $(BINDIR)/dvdisaster-uninstall.sh" >> "$(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh"
@echo "rm -f \"$(DOCSUBDIR)/CHANGELOG\"" >> "$(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh"
@echo "rm -f \"$(DOCSUBDIR)/COPYING\"" >> "$(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh"
@echo "rm -f \"$(DOCSUBDIR)/CREDITS.de\"" >> "$(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh"
@echo "rm -f \"$(DOCSUBDIR)/CREDITS.en\"" >> "$(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh"
@echo "rm -f \"$(DOCSUBDIR)/manual.pdf\"" >> "$(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh"
@echo "rm -f \"$(DOCSUBDIR)/TODO\"" >> "$(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh"
@echo "rmdir \"$(DOCSUBDIR)\"" >> "$(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh"
@for i in $(PO_LOCALES); do \
echo "rm $(LOCALEDIR)/$$i/LC_MESSAGES/dvdisaster.mo" >> $(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh ; \
echo "rm \"$(LOCALEDIR)/$$i/LC_MESSAGES/dvdisaster.mo\"" >> "$(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh" ; \
done
@echo "rm -f $(MANDIR)/man1/dvdisaster.1" >> $(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh
@echo "rm -f \"$(MANDIR)/man1/dvdisaster.1\"" >> "$(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh"
@for i in $(MAN_LOCALES); do \
echo "rm $(MANDIR)/$$i/man1/dvdisaster.1" >> $(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh ; \
echo "rm \"$(MANDIR)/$$i/man1/dvdisaster.1\"" >> "$(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh" ; \
done
@echo "echo \"dvdisaster has been uninstalled.\"" >> $(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh
@echo "echo \"dvdisaster has been uninstalled.\"" >> "$(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh"
uninstall:
@echo "Uninstalling package..."
rm -f $(BINDIR)/dvdisaster $(BINDIR)/dvdisaster-uninstall.sh
rm -rf $(DOCSUBDIR)
rm -f $(MANDIR)/man1/dvdisaster.1
rm -f "$(BINDIR)/dvdisaster" "$(BINDIR)/dvdisaster-uninstall.sh"
rm -f "$(DOCSUBDIR)/CHANGELOG"
rm -f "$(DOCSUBDIR)/COPYING"
rm -f "$(DOCSUBDIR)/CREDITS.de"
rm -f "$(DOCSUBDIR)/CREDITS.en"
rm -f "$(DOCSUBDIR)/manual.pdf"
rm -f "$(DOCSUBDIR)/TODO"
rmdir "$(DOCSUBDIR)"
rm -f "$(MANDIR)/man1/dvdisaster.1"
for i in $(PO_LOCALES); do \
rm $(LOCALEDIR)/$$i/LC_MESSAGES/dvdisaster.mo; \
rm "$(LOCALEDIR)/$$i/LC_MESSAGES/dvdisaster.mo"; \
done
for i in $(MAN_LOCALES); do \
rm $(MANDIR)/$$i/man1/dvdisaster.1; \
rm "$(MANDIR)/$$i/man1/dvdisaster.1"; \
done
archclean: distclean
@@ -284,50 +332,32 @@ archclean: distclean
distclean: clean
@echo "Removing configuration files"
@rm -f configure.log Makefile.config GNUmakefile locale/Makefile
@rm -f configure.log Makefile.config src/build.h GNUmakefile locale/Makefile
@for i in locale/?? locale/??_??; do rm -rf $$i; done
@echo "all:" >>GNUmakefile
@echo -e "\t@echo" >>GNUmakefile
@echo -e "\t@echo \"Please create a Makefile by entering \\\"bash configure\\\" first\"" >>GNUmakefile
@echo -e "\t@echo" >>GNUmakefile
# There might be a not executable simple-md5sum from a compiler run
# under a different architecture, so make sure we have a working binary
# in the clean target.
@rm -f dvdisaster-debug
clean:
@echo "Removing rebuildable files"
@rm -rf *.o $(BUILDTMP)/*.o medium.* abbild.* dvdisaster .dvdisaster core core.* *.core
@rm -f inlined-icons.h help-dialogs.h
@rm -f *.o "$(BUILDTMP)"/*.o medium.* abbild.* dvdisaster .dvdisaster core core.* *.core
@rm -f "$(BUILDTMP)"/inlined-icons.c src/help-dialogs.h
@find . -name \*\~ -print | xargs rm -f;
@find . -name \*.mo -print | xargs rm -f;
@find . -name \#\*\# -print | xargs rm -f;
@rm -f documentation/config/version.tex
@if test -e $(PKGNAME); then rm -rf $(PKGNAME); fi
@if test -e ~/.dvdisaster-original-author; then \
mv build.h build.saved ;\
if ! test -x simple-md5sum || ! ./simple-md5sum >/dev/null 2>&1; then \
rm -f simple-md5sum; \
$(MAKE) --no-print-directory simple-md5sum; \
echo "[simple-md5sum (re-)built]"; \
fi; \
./simple-md5sum -b *.h *.c >fingerprints.md5 ;\
mv build.saved build.h; \
fi
@rm -f simple-md5sum
@$(MAKE) --no-print-directory -C $(SRCDIR)/documentation/codec-specs clean;
@$(MAKE) --no-print-directory -C $(SRCDIR)/documentation/user-manual clean;
@$(MAKE) --no-print-directory -C $(SRCDIR)/locale clean;
BUILD=`grep BUILD $(SRCDIR)/build.h | cut -d ' ' -f 3`
arch: archclean time-stamp
BUILD=`grep BUILD $(SRCDIR)/src/build.h | cut -d ' ' -f 3`
arch: archclean build.h
@cd .. ; tar -c -z -f $(TAR_PREFIX)/$(PKGNAME)-$(BUILD).tgz $(PKGNAME)
INSTALL: documentation/install.template
@sed "s/@@PKGNAME/$(PKGNAME)/" <documentation/install.template >INSTALL
srcdist: INSTALL distclean manual manualclean
@cd .. ; tar -c -j -X $(PKGNAME)/NODIST -f $(TAR_PREFIX)/$(PKGNAME).tar.bz2 $(PKGNAME)
srcdist: INSTALL distclean manual manualclean codecsclean
@cd .. ; tar -c -j --owner=dvdisaster --group=devel -X $(PKGNAME)/NODIST -f $(TAR_PREFIX)/$(PKGNAME).tar.bz2 $(PKGNAME)
@cd .. ; gpg --homedir .gnupg --default-key 758BCC23 --detach-sign --output $(TAR_PREFIX)/$(PKGNAME).tar.bz2.gpg --armor $(TAR_PREFIX)/$(PKGNAME).tar.bz2
static: dvdisaster
$(CC) $(LOPTS) $(OFILES) $(LIBS) -pthread -static -o dvdisaster-static

26
INSTALL
View File

@@ -1,3 +1,24 @@
# dvdisaster: Additional error correction for optical media.
# Copyright (C) 2004-2018 Carsten Gnoerlich.
# Copyright (C) 2019-2021 The dvdisaster development team.
#
# Email: support@dvdisaster.org
#
# This file is part of dvdisaster.
#
# dvdisaster is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# dvdisaster is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with dvdisaster. If not, see <http://www.gnu.org/licenses/>.
Installation of the dvdisaster source code distribution
=======================================================
[don't edit - generated from documentation/install.template]
@@ -127,6 +148,11 @@ Call the configuration script in the usual way:
user@host> ./configure
If you want to build a CLI-only version, which doesn't depend
on the gtk2 libraries, you can run instead:
user@host> ./configure --with-cli-only
The script will possibly print some errors about missing libraries.
Type "configure --help" to learn about pointing configure
to the correct path of already installed libraries.

View File

@@ -4,8 +4,12 @@
all:
@echo
@echo "dvdisaster requires GNU make to build."
@echo "Please try your command again using gmake."
@echo "Please run \`./configure' first."
@echo
@echo "To build a CLI-only version, run `./configure --with-cli-only'."
@echo
@echo "Note that dvdisaster requires GNU make to build."
@echo "Under non-Linux systems, it might be known as \`gmake'."
@echo
show: all

32
README
View File

@@ -1,3 +1,24 @@
# dvdisaster: Additional error correction for optical media.
# Copyright (C) 2004-2017 Carsten Gnoerlich.
# Copyright (C) 2019-2020 The dvdisaster development team.
#
# Email: support@dvdisaster.org
#
# This file is part of dvdisaster.
#
# dvdisaster is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# dvdisaster is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with dvdisaster. If not, see <http://www.gnu.org/licenses/>.
This directory tree contains dvdisaster,
a tool providing additional ECC protection for optical media.
@@ -11,12 +32,6 @@ Roadmap of contained files
INSTALL
See the file INSTALL on bringing up dvdisaster.
README.CVS
If you got this archive from CVS, make sure to read README.CVS also.
README.MODIFYING
Please read these notes carefully if you plan to modify dvdisaster.
COPYING
This software is distributed under the GNU General Public License,
which is contained in the file COPYING.
@@ -65,8 +80,3 @@ locale
scripts
Scripts needed for configuring and building dvdisaster are
located in the "scripts" directory.
tools
Auxiliary programs for the build and packaging process reside
in "tools".

View File

@@ -1,37 +0,0 @@
Please read these notes carefully if you plan to modify dvdisaster.
-------------------------------------------------------------------
When publishing a modified version of dvdisaster you are kindly
asked not to misrepresent your work as the original.
The original authors have undertaken great efforts for putting the
project into shape and earning their reputation. So if you hack and
publish your own version of dvdisaster, please RESPECT the original
authors vision of what the project should be like.
Document your changes as explained below so that users can tell
the modified version from the original.
How to document your changes.
-----------------------------
Document the changes you made in the source code, NOT in a
separate file which might get unbundled from the changed source.
New files start with your copyright notice; modified files
get an additional entry under the original copyright notice.
See the file md5.c for an example.
But this is not enough; most people will not read the source
code as they are using binary distributions. Give them a way
to find out about your modifications in the "About" dialog.
The build process will prepare a suitable message template
for you if it finds that you have modified the sources.
Feel free to further customize this message, and even
change the project name if you deem that appropriate.
Thank you for your cooperation.

124
README.md Normal file
View File

@@ -0,0 +1,124 @@
# :cd: What is dvdisaster?
**dvdisaster** provides additional [ECC](https://en.m.wikipedia.org/wiki/Error_correction_code) protection for optical media.
If a medium gets damaged, dvdisaster can recover it as long as the amount of damage is smaller than the amount of ECC data you added to protect it.
It can loosely be compared to [.par2](https://en.m.wikipedia.org/wiki/Parchive) files, but the protection works at the *iso* level instead of working at the file level.
This way, even if metadata from the optical medium filesystem is damaged, dvdisaster can still work flawlessly.
Please refer to the [PDF manual](documentation/user-manual/manual.pdf) for more information.
# :wrench: Unofficial version
The last upstream version dates back to 2021, and can be found on the [official website](https://dvdisaster.jcea.es).
This version is built on top of the latest upstream version, with the following notable enhancements:
- Added pre-defined sizes for BD-R Triple Layer (100GB), BD-R Quadruple Layer (128GB)
- Added an option to use more space for ECC on BD-R when using RS03 (`--no-bdr-defect-management`)
- Re-enabled adaptive reading for RS01 and RS02, and optionally for RS03 on user request (more on that below)
- Ability to strip an augmented image from its additional ECC-data
- A new CLI-only version, not depending on gtk (`./configure --with-gui=no && make clean && make -j4`)
- GUI codebase ported from gtk2 to gtk3 to ensure future-proofness
- Windows and macOS builds are supported again, those were dropped upstream a few versions back
- Non-regression tests on each code change, along with prebuilt binaries for Linux64, Windows32/64 and macOS, for both CLI and GUI versions
- Fixed a bunch of other (minor) quirks, a few (minor) bugs, added a couple other (minor) features
Please refer to the [CHANGELOG](CHANGELOG) for all the details.
This version will never break compatibility with upstream versions,
the goal is to ensure an optical media protected by upstream dvdisaster will still be able to be repaired
with this version, decades from now. Regression tests are here to ensure this is the case.
# :twisted_rightwards_arrows: 3 available protection modes ("codecs")
For a more detailed explanation of the algorithms, please refer to the [codecs specification PDF](documentation/codecs.pdf).
:arrow_forward: **RS01** creates error correction files which are stored separately from the image they belong to.
The artefact is an **ecc** file, which must be stored on another media than the one we're protecting.
:arrow_forward: **RS02** creates error correction data which is added to the medium to protect, we call this *augmenting* the image we're protecting.
Damaged sectors in the error correction information reduce the data recovering capacity,
but do not make recovery impossible - a second medium for keeping or protecting the error correction information is not required.
Intelligent adaptive reading is also available when reading a damaged RS02-protected disc: dvdisaster will only attempt
to read the minimum amount of required sectors to be able to rebuild the image, using a so-called "divide and conquer"
seeking mechanism, cutting off up to 90% of the time required to read and recover a damaged media.
:arrow_forward: **RS03** is a further development of RS01 and RS02. It can create both error correction files and
augmented images, with the following added features:
- It can use multiple CPU cores and is therefore **WAY** faster than RS01/RS02 on modern hardware.
- RS03 augmented images and error correction files are - contrary to RS01, and to a lesser extent RS02 - robust against
damage of the dvdisaster-added recovery data itself
There are, however, a few cons that must be noted for RS03:
- In image mode, the RS03 augmented image file size will be picked up from a predefined list of well-known medium sizes,
while the size of augmented images can be freely chosen in RS02. This is the "price to pay" for the added robustness
of the correction data.
- In image mode, intelligent adaptive reading is not available for RS03-protected images. The "divide and conquer"
algorithm will still be used, but dvdisaster will not stop as soon as enough sectors have been recovered to rebuild
the image: it'll attempt to read them all until you stop it, or until it tried to read all the sectors. You can still
stop it manually and attempt a "verify" of the resulting image file, to see if enough data has been read for recovery,
otherwise resuming the adaptive reading until this is the case.
- The changes for parallel computation and higher robustness make RS03 a tiny bit less space efficient, e.g. RS03 error
correction data has slighly less (around -3%) error correction capacity than RS02 on images with equal size. This is
usually considered a cheap price to pay for the added robustness against corruption.
# :mag: Comparison table
This attempts to summarize the differences, pros and cons of each codec:
| Codecs | RS01 (separate file, obsolete) | RS02 (augmented image) | RS03 (in separate file mode) | RS03 (in augmented image mode) |
|--------------------------------------|--------------------------------|--------------------------------|--------------------------------|--------------------------------|
| Robustness :one: | :star: | :star::star::star: | :star::star::star::star::star: | :star::star::star::star::star: |
| Space efficiency | :star::star: | :star::star::star::star::star: | :star::star::star::star: | :star::star::star::star: |
| Computational generation speed :two: | :star::star: | :star::star: | :star::star::star::star::star: | :star::star::star::star::star: |
| Computational repair speed :two: | :star::star::star: | :star::star::star: | :star::star::star: | :star::star::star: |
| Damaged media recovery speed :three: | :star: | :star::star::star: | :star: | :star: |
| Supports customizing redundancy size | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :x: :four: |
:one: Here we're talking about the robustness against corruption of the dvdisaster-added ECC parts _themselves_. The higher the ranking, the less it is likely than a few badly located damaged sectors render the whole correction impossible because they affect dvdisaster metadata on-disc. For example, corruption of the first dozens of sectors of an image can make RS02 entirely unusable regardless of the redundancy data originally stored on it.
:two: When algorithm is CPU-bound, i.e. generating or repairing an image stored on a SSD/NVMe drive where the storage i/o speed is not an issue.
:three: Using adaptive reading when supported (RS02), limiting the number of damaged sectors that need to be read to what is strictly necessary for repair. Using linear reading otherwise (RS03 and separate file codecs), assuming a badly damaged media, taking into account the time the drive takes to try to read damaged sectors.
:four: The robustness of RS03 comes at the cost of having to augment images strictly to well-known media sizes, as explained in the previous section above. This usually doesn't make much difference as long as you intend to burn the augmented image to a classic medium (CD-R, DVD-R, BD-R, ...).
# :bulb: Rationale
Even if the peak of the optical media era is well behind us, optical media is still of some value for specific use cases such as off-site backups.
In any case, we still have media in our hands that we want to be able to repair, should it be damaged, during the next years/decades.
Repairing is actually pretty much the very reason of dvdisaster existence (as long as parity data has been added, of course).
The main purpose of this unofficial version is to ensure dvdisaster doesn't get hard to find, use or compile on recent systems.
To this effect, prebuilt binaries are available for the 3 main categories of operating systems, and on top of that we've also fixed a few
bugs and added a few tiny features.
# :hammer: Compiling
See the [INSTALL](INSTALL) file. The [workflow file](.github/workflows/release.yml) that is used to automatically build binaries for each release can also help.
# :camera: Screenshots
### Reading a damaged CD under Windows:
![dvdisaster_damaged_cd](https://user-images.githubusercontent.com/218502/123558682-e2cc3780-d797-11eb-8ad0-5247b2601656.PNG)
### Verifying the ECC correction data from the damaged image:
![dvdisaster_cd_verify](https://user-images.githubusercontent.com/218502/123558696-f6779e00-d797-11eb-861b-1e6eb9d201b3.PNG)
### Repairing the damaged image thanks to augmented data:
![dvdisaster_cd_repair](https://user-images.githubusercontent.com/218502/123558704-fe374280-d797-11eb-8f93-cd41848777d0.PNG)
### Verification of the image after correction:
![dvdisaster_cd_verify_ok](https://user-images.githubusercontent.com/218502/123558712-04c5ba00-d798-11eb-884f-bfd5443f036c.PNG)
### Reading a quad-layer multi-session BDXL with Linux GUI:
![dvdisaster_bdxl_read](https://user-images.githubusercontent.com/218502/124361434-8baee280-dc2f-11eb-892e-27a9e738b41c.png)
Note that the disc still has some room for more sessions (capacity is 128 GB).

52
TODO
View File

@@ -1,37 +1,42 @@
Tentative to do/ release schedule
Version 0.79: new RS03 codec (encoding part)
- lots of speed optimizations in error correction data encoding
- multithreaded / multicore processor support
- add missing functionality, e.g. adaptive reading
0.79.5: project re-launch
0.79.6: re-introduce CRC and MD5 caching between reading
and ecc creation; cosmetical changes
0.79.7: re-introduce adaptive reading
Versions 0.79.x: development releases
* restart project, catch up wich recent compiler and OS version
* last releases with gtk-2
Version 0.80: milestone release
work in progress (this release):
- split GUI code from core source to allow for command-line only build (done)
- merge patches from Stéphane Lesimple (done) and Debian (done)
upcoming (next stable release):
- restore adaptive reading for all codecs
(no more releases for 0.79.x planned;
except for maintenance issues should the need arise)
Versions 0.80.x: development releases
* gtk-4 migration
* lots of micro releases to revive the project and resolve outstanding issues
- upgrade from gtk-2 to gtk-4
- remove obsolete features, especially from the GUI
- ... many more will likely be added ...
Version 0.82: milestone/stable release
- RS03 encoding considered feature complete
Version 0.81:
Version 0.83: development releases
- multithreaded decoding (error correction/repair)
for RS01/RS02/RS03
- RS01 encoding (not decoding of course) will be
removed as RS03 fully replaces it
Version 0.82: milestone release
Version 0.84: milestone/stable release
- RS03 decoding considered feature complete
Version 0.84:
- compile option to create a CLI-only binary
(without GTK+ linkage)
Version 0.86:
- maybe upgrade from GTK+ 2 to version 3
(not decided yet)
Version 0.90:
- Grand finale: add a new feature which isn't jaw dropping
- Grand finale: add a last new feature which isn't jaw dropping
but very convenient to have (sorry - has nothing to do
with ripping). Since I'm not sure whether there
is prior art to this feature, I won't get into
@@ -49,11 +54,10 @@ Version 1.00: maintenance releases
Unspecified schedule / later releases
- native Windows fork
- add pause/resume button
- optionally pause after n read errors for drives which
need to cool down
- add function for stripping RS02 data from image
- add function for stripping RS02 data from image [done in pl7]
- add quiet option for command line mode
- display estimated finishing time for encoding/decoding
- catch up with many other queued up suggestions

View File

@@ -1,3 +1,23 @@
# dvdisaster: Additional error correction for optical media.
# Copyright (C) 2004-2017 Carsten Gnoerlich.
# Copyright (C) 2019-2021 The dvdisaster development team.
#
# Email: support@dvdisaster.org
#
# This file is part of dvdisaster.
#
# dvdisaster is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# dvdisaster is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with dvdisaster. If not, see <http://www.gnu.org/licenses/>.
This document describes the process of adding a new translation
to dvdisaster. It is work in progress and not yet complete.

View File

@@ -1,2 +0,0 @@
#define BUILD 272
#define BDATE "17.11.17 (Freitag, 09:57)"

142
configure vendored
View File

@@ -1,16 +1,37 @@
#!/usr/bin/env bash
# dvdisaster: Additional error correction for optical media.
# Copyright (C) 2004-2018 Carsten Gnoerlich.
# Copyright (C) 2019-2021 The dvdisaster development team.
#
# Email: support@dvdisaster.org
#
# This file is part of dvdisaster.
#
# dvdisaster is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# dvdisaster is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with dvdisaster. If not, see <http://www.gnu.org/licenses/>.
# Load the shell functions needed for the rest of this script.
BASH_BASED_CONFIGURE=./scripts/bash-based-configure
REQUIRED_CFLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I."
RECOMMENDED_CFLAGS="-O2 -fomit-frame-pointer -Wall"
DEBUG_CFLAGS="-ggdb -Wall"
CFG_USE_CYGWIN="no" # do not change
BASH_BASED_CONFIGURE_OPTS="--buildtmp=$(pwd)/build $@"
REQUIRED_CFLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -pipe"
RECOMMENDED_CFLAGS="-Wall -Wno-format-zero-length -Wno-unused-but-set-variable"
NODEBUG_CFLAGS="-O2 -fomit-frame-pointer"
DEBUG_CFLAGS="-ggdb"
if test -e $BASH_BASED_CONFIGURE; then
source $BASH_BASED_CONFIGURE
source $BASH_BASED_CONFIGURE $BASH_BASED_CONFIGURE_OPTS
else
echo "Could not find $BASH_BASED_CONFIGURE"
echo "You're probably not in the right directory."
@@ -19,14 +40,20 @@ fi
# Set the package name and version
PACKAGE dvdisaster 0.79.6
CFG_HAVE_OPTIONS="$CFG_HAVE_OPTIONS -DHAVE_UNSTABLE_RELEASE"
PACKAGE dvdisaster 0.79.10
DEFINE_INT PATCHLEVEL 5
DEFINE_STRING HAVE_UNSTABLE_RELEASE 1
DEFINE_STRING HOMEPAGE "https://dvdisaster.jcea.es"
# Check for some essential tools.
REQUIRE_GMAKE
REQUIRE_GCC
if [[ $(uname) =~ Darwin ]]; then
REQUIRE_CLANG
else
REQUIRE_GCC
fi
# Find out and verify the basedir of the source installation,
# and where to install the binary.
@@ -36,21 +63,33 @@ GET_PKGNAME
GET_PREFIX /usr/local
GET_BINDIR
GET_MANDIR
GET_DOCDIR /usr/share/doc
GET_DOCDIR
GET_DIR "$PKGNAME" docsub "Documentation sub"\
" put documentation into this subdirectory\n under \$DOCDIR "
GET_LOCALEDIR /usr/share/locale
GET_LOCALEDIR
GET_BUILDROOT
GET_BUILDTMP
PRINT_MESSAGE "\nDetermining build flavor:"
WITH_OPTION gui yes "[yes | no]"
# Remove the useless CLI console under windows
if [[ $(uname) =~ MINGW ]] && [ "$cfg_with_gui" == "yes" ]; then
CFG_LDFLAGS="$CFG_LDFLAGS -mwindows"
fi
# Look for required libraries
PRINT_MESSAGE "\nLooking for includes and libraries:"
REQUIRE_GLIB2 2 32 0
REQUIRE_GTK2 2 6 0 WITH_THREADS
echo
if test "$cfg_with_gui" == "yes"; then
REQUIRE_GTK3 3 4 0 WITH_THREADS
fi
if ! CHECK_INCLUDE locale.h locale || ! CHECK_INCLUDE libintl.h intl ; then
echo " [previous test forces -with-nls=no]"
cfg_force_with_nls=no
@@ -69,10 +108,10 @@ PRINT_MESSAGE "\nChecking for functions and symbols..."
CHECK_FUNCTION mmap
if ! CHECK_FUNCTION getopt_long ; then
if ! test -e getopt.h || ! test -e getopt.c ; then
if ! test -e src/getopt.h || ! test -e src/getopt.c ; then
echo " * getopt_long is missing. You can provide one by simply"
echo " * copying getopt.c, getopt1.c and getopt.h from the GNU"
echo " * C library into this directory."
echo " * C library into the src/ directory."
exit 1
fi
fi
@@ -89,6 +128,11 @@ CFG_CFLAGS="$CFG_CFLAGS -D_LARGEFILE64_SOURCE"
CHECK_SYMBOL fcntl.h O_LARGEFILE
CFG_CFLAGS=$SAVE_CFLAGS
if [[ $(uname) =~ Darwin ]]; then
CFG_CFLAGS="$CFG_CFLAGS -Wno-void-pointer-to-int-cast"
CFG_LDFLAGS="$CFG_LDFLAGS -framework CoreFoundation -framework IOKit"
fi
# Machine specific
echo
@@ -110,10 +154,12 @@ if ! EXECUTE_PROGRAM "xgettext --help" xgettext \
cfg_force_with_nls=no
fi
if ! EXECUTE_PROGRAM "gdk-pixbuf-csource --help" gdk_pixbuf_csource ; then
echo "* gdk-pixbuf not installed"
echo "* or path to gdk-pixbuf-csource is missing."
exit 1
if test "$cfg_with_gui" == "yes"; then
if ! EXECUTE_PROGRAM "glib-compile-resources --help" gdk_pixbuf_csource ; then
echo "* glib-compile-resources not installed"
echo "* or path to glib-compile-resources is missing."
exit 1
fi
fi
# Evaluate the --with* customization options
@@ -126,6 +172,32 @@ WITH_OPTION embedded-src-path yes "[yes | no]"
PRINT_MESSAGE "\nDebugging options (do not use in production system):"
WITH_OPTION memdebug no "[no | yes]"
WITH_OPTION debug-printf-format no "[no | yes]"
WITH_OPTION werror no "[no | yes]"
WITH_OPTION debug no "[no | yes]"
WITH_OPTION efence no "[no | yes]"
if test "$cfg_with_debug_printf_format" == "yes"; then
# don't use the binary compiled with this,
# it's only useful to properly get all the build-time
# warnings around printf-errors, that are otherwise
# not catched by the compiler because of the _() macro
DEFINE_STRING DEBUG_PRINTF_FORMAT 1
else
# warnings given by -Wformat-security are bogus because of _(),
# see above comment if you actually want to check for format errors
CFG_CFLAGS="$CFG_CFLAGS -Wno-format-security"
fi
if test "$cfg_with_werror" == "yes"; then
CFG_CFLAGS="$CFG_CFLAGS -Werror"
fi
if test "$cfg_with_debug" == "yes"; then
CFG_CFLAGS="$CFG_CFLAGS $DEBUG_CFLAGS"
else
CFG_CFLAGS="$CFG_CFLAGS $NODEBUG_CFLAGS"
fi
if test "$cfg_with_efence" == "yes"; then
if ! CHECK_LIBRARY efence malloc efence; then
@@ -146,49 +218,59 @@ fi
PRINT_MESSAGE "\nCollecting source files:"
rm -f conftest.c method-link.c
cfiles="method-link.c"
rm -f src/conftest.c src/method-link.c
cfiles="src/method-link.c"
ofiles="$BUILDTMP/method-link.o"
for cfile in *.c; do
# Only include icons in GUI builds
if test "$cfg_with_gui" == "yes"; then
icons="$BUILDTMP/inlined-icons.c"
else
icons=""
fi
for cfile in $icons src/*.c; do
cfile_prefix=`echo $cfile | sed -e 's/\.c//'`
cfiles="$cfiles $cfile"
ofiles="$ofiles $BUILDTMP/$cfile_prefix.o"
ofiles="$ofiles $BUILDTMP/$(basename $cfile_prefix.o)"
echo -n " $cfile_prefix"
done
echo
echo -e "\nCFG_CFILES = $cfiles" >> Makefile.config
echo "CFG_OFILES = $ofiles" >> Makefile.config
if test "$cfg_with_gui" == "yes"; then
echo "ICONS = $icons" >> Makefile.config
fi
# Create the method wrapper
PRINT_MESSAGE "\nCollecting methods:"
cat >> method-link.c <<EOF
cat >> src/method-link.c <<EOF
/* Automatically generated wrapper for registering the methods */
void BindMethods(void)
{
EOF
for method in ecc-*.c; do
method_name=`echo $method | sed -e 's/\.c//' -e 's/ecc-//'`
for method in src/ecc-*.c; do
method_name=`echo $(basename $method) | sed -e 's/\.c//' -e 's/ecc-//'`
method_prefix="$method_prefix $method_name"
echo -n " $method_name"
done
for method in $method_prefix; do
echo " void register_${method}(void);" >> method-link.c
echo " void register_${method}(void);" >> src/method-link.c
done
echo >> method-link.c
echo >> src/method-link.c
for method in $method_prefix; do
echo " register_${method}();" >> method-link.c
echo " register_${method}();" >> src/method-link.c
done
echo "}" >> method-link.c
echo "}" >> src/method-link.c
echo
# Okay, hopefully we've got everything together now.

79
contrib/AppRun.sh Executable file
View File

@@ -0,0 +1,79 @@
#!/bin/sh
DIR="$(readlink -f "$(dirname "$0")")"
# When adding environment variables in this script, don't forget to sync with the src/show-manual.c
# list, as they need to be cleaned up before calling xdg-open to ensure xdg-open works with all the
# libs from the host and none from the AppImage (which most of the time just doesn't work).
# Also save the original value into an _ORIGINAL variable, which will be restored by dvdisaster
# into the xdg-open's environment before calling execve()
# Point to our own gtk libs
[ "_$GTK_PATH" != _ ] && export GTK_PATH_ORIGINAL="$GTK_PATH"
export GTK_PATH="$DIR/usr/lib/gtk-3.0"
# Load our own modules instead of the host ones,
# an absolute path pointing to the host is unfortunately hardcoded in ./usr/lib/libgio-2.0.so.0,
# but we edited the lib to neutralize said path (replaced gio/modules by :'s):
#
# $ strings ./usr/lib/libgio-2.0.so.0 | grep :::
# /usr/lib/:::::::::::
# /usr/lib/x86_64-linux-gnu/:::::::::::
#
# So the path below should be the only one used in the end:
[ "_$GIO_EXTRA_MODULES" != _ ] && export GIO_EXTRA_MODULES_ORIGINAL="$GIO_EXTRA_MODULES"
export GIO_EXTRA_MODULES="$DIR/usr/lib/gio/modules"
# To avoid getting:
# '''
# (dvdisaster:16170): Gtk-WARNING **: 14:31:41.224: Loading IM context type 'ibus' failed
# (dvdisaster:16170): Gtk-WARNING **: 14:31:41.224: /lib/x86_64-linux-gnu/libibus-1.0.so.5: undefined symbol: g_get_language_names_with_category
# '''
# We use xim instead, which is included in our build, along with the proper immodules cache file referencing our modules
[ "_$GTK_IM_MODULE_FILE" != _ ] && export GTK_IM_MODULE_FILE_ORIGINAL="$GTK_IM_MODULE_FILE"
export GTK_IM_MODULE_FILE="$(find "$DIR/" -name immodules.cache)"
[ "_$GTK_IM_MODULE" != _ ] && export GTK_IM_MODULE_ORIGINAL="$GTK_IM_MODULE"
export GTK_IM_MODULE=xim
# if host has GTK_MODULES set, empty it to prevent it from loading modules from the host
[ "_$GTK_MODULES" != _ ] && export GTK_MODULES_ORIGINAL="$GTK_MODULES"
export GTK_MODULES=''
# To avoid getting:
# '''
# (dvdisaster:16133): GLib-GIO-ERROR **: 14:25:53.270: Settings schema 'org.gnome.settings-daemon.plugins.xsettings' does not contain a key named 'antialiasing'
# Trace/breakpoint trap (core dumped)
# '''
# Under Ubuntu 22.04 and possibly later versions using Wayland
# https://github.com/Ultimaker/Cura/issues/12776
[ "_$GDK_BACKEND" != _ ] && export GDK_BACKEND_ORIGINAL="$GDK_BACKEND_ORIGINAL"
export GDK_BACKEND=x11
# To avoid getting:
# '''
# (evince:172616): dbind-WARNING **: 18:02:34.901: Couldn't connect to accessibility bus: Failed to connect to socket /run/user/1000/at-spi/bus: Permission denied
# '''
[ "_$NO_AT_BRIDGE" != _ ] && export NO_AT_BRIDGE_ORIGINAL="$NO_AT_BRIDGE"
export NO_AT_BRIDGE=1
# To avoid getting:
# '''
# (dvdisaster:20080): Gtk-WARNING **: 15:43:20.719: Could not load a pixbuf from icon theme.
# This may indicate that pixbuf loaders or the mime database could not be found.
# '''
# Point to our own patched cache file for gdk-pixbuf2
[ "_$GDK_PIXBUF_MODULE_FILE" != _ ] && export GDK_PIXBUF_MODULE_FILE_ORIGINAL="$GDK_PIXBUF_MODULE_FILE"
export GDK_PIXBUF_MODULE_FILE="$DIR/usr/lib/gdk-pixbuf2/loaders.cache"
# As the pixbuf loaders depends themselves on other libs, also adjust LD_LIBRARY_PATH so they load properly
[ "_$LD_LIBRARY_PATH" != _ ] && export LD_LIBRARY_PATH_ORIGINAL="$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH="$DIR/usr/lib:$LD_LIBRARY_PATH"
# Change to the proper directory because some .cache files have relative paths starting with "."
# we save the current PWD so that dvdisaster can use it as a default to store image and ecc files
export ORIGINAL_PWD="$PWD"
cd "$DIR" || exit 1
# Now run the program, with 3 vars it uses at runtime
export DVDISASTER_APPIMAGE=1
export DOCDIR="$DIR/usr/share/doc/dvdisaster"
export BINDIR="$DIR/usr/bin"
exec "$DIR/usr/bin/dvdisaster" "$@"

View File

@@ -6,7 +6,8 @@ Comment=Additional error protection for CD/DVD media
Comment[cs]=Přídavná ochrana pro média CD/DVD
Comment[de]=Zusätzliche Fehlerkorrektur für CD/DVD
Exec=dvdisaster
Icon=dvdisaster48.png
Icon=dvdisaster
Terminal=false
Type=Application
Categories=Application;System;
Keywords=CD;DVD;media;data loss;scratch;aging;error;protection;recovery;

378
curve.c
View File

@@ -1,378 +0,0 @@
/* dvdisaster: Additional error correction for optical media.
* Copyright (C) 2004-2017 Carsten Gnoerlich.
*
* Email: carsten@dvdisaster.org -or- cgnoerlich@fsfe.org
* Project homepage: http://www.dvdisaster.org
*
* This file is part of dvdisaster.
*
* dvdisaster is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* dvdisaster is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with dvdisaster. If not, see <http://www.gnu.org/licenses/>.
*/
#include "dvdisaster.h"
/***
*** Constructors and destructors
***/
/*
* Initialize the curve
*/
Curve* CreateCurve(GtkWidget *widget, char *left_label, char *left_format, int n_values, int bottom_format)
{ Curve *curve = g_malloc0(sizeof(Curve));
curve->widget = widget;
curve->layout = gtk_widget_create_pango_layout(widget, NULL);
curve->leftLabel = g_strdup(left_label);
curve->leftFormat = g_strdup(left_format);
curve->bottomFormat = bottom_format;
curve->fvalue = g_malloc0(sizeof(gdouble)*(n_values+1));
curve->ivalue = g_malloc0(sizeof(gint)*(n_values+1));
curve->lvalue = g_malloc0(sizeof(gint)*(n_values+1));
curve->lastValueIdx = n_values;
curve->maxX = 1;
curve->maxY = 1;
curve->logMaxY = 1;
if(bottom_format != CURVE_PERCENT)
curve->margin = 2;
return curve;
}
/*
* Get rid of it
*/
void FreeCurve(Curve *curve)
{
g_object_unref(curve->layout);
g_free(curve->leftLabel);
if(curve->leftLogLabel)
g_free(curve->leftLogLabel);
g_free(curve->leftFormat);
g_free(curve->fvalue);
g_free(curve->ivalue);
g_free(curve->lvalue);
g_free(curve);
}
/*
* Reset the values
*/
void ZeroCurve(Curve *curve)
{ int i;
if(curve)
for(i=0; i<=curve->lastValueIdx; i++)
{ curve->fvalue[i] = -1.0;
curve->ivalue[i] = 0;
curve->lvalue[i] = 0;
}
}
/***
*** Auxiliary functions
***/
/*
* Calculate pixel coords from curve values
*/
int CurveX(Curve *curve, gdouble x)
{ gdouble width = (curve->rightX - curve->leftX - curve->margin);
return 1 + curve->leftX + ((gdouble)x * width) / 1000.0;
}
int CurveLX(Curve *curve, gdouble x)
{ gdouble width = (curve->rightX - curve->leftX - curve->margin);
return 1 + curve->leftX + (x * width) / (gdouble)curve->maxX;
}
int CurveY(Curve *curve, gdouble y)
{ gdouble hfact;
hfact = (gdouble)(curve->bottomY - curve->topY)
/ (gdouble)curve->maxY;
return curve->bottomY - y * hfact;
}
int CurveLogY(Curve *curve, gdouble y) /* not really a log */
{ gdouble hfact;
if(y<1) return curve->bottomLY;
hfact = (gdouble)(curve->bottomLY - curve->topLY);
if(y==1) return curve->bottomLY - ((log(2)/log(curve->logMaxY)) * hfact)/2;
else return curve->bottomLY - (log(y)/log(curve->logMaxY)) * hfact;
}
/***
*** Calculate the curve geometry
***/
void UpdateCurveGeometry(Curve *curve, char *largest_left_label, int right_padding)
{ GtkAllocation *a = &curve->widget->allocation;
int w,h;
/* Top and bottom margins */
SetText(curve->layout, curve->leftLabel, &w, &h);
curve->topY = h + 10;
SetText(curve->layout, "0123456789", &w, &h);
curve->bottomY = a->height - h - 10;
/* Left and right margins */
SetText(curve->layout, largest_left_label, &w, &h);
curve->leftX = 5 + 6 + 3 + w;
curve->rightX = a->width - right_padding;
/* Add space for the lograithmic curve */
if(curve->enable & DRAW_LCURVE)
{ int height = curve->bottomY - curve->topY;
curve->bottomLY = curve->bottomY;
curve->bottomY -= height/4;
curve->topLY = curve->bottomY + h + 15;
}
}
/***
*** Redraw the coordinate axes
***/
void RedrawAxes(Curve *curve)
{ GdkDrawable *d = curve->widget->window;
int i,w,h,x,y;
int yg=0;
int step;
int bottom_y;
/* Draw and label the left coordinate axis */
gdk_gc_set_rgb_fg_color(Closure->drawGC, Closure->foreground);
gdk_draw_line(d, Closure->drawGC,
curve->leftX, curve->topY, curve->leftX, curve->bottomY);
if(curve->enable & DRAW_LCURVE)
{ gdk_draw_line(d, Closure->drawGC,
curve->leftX, curve->topLY, curve->leftX, curve->bottomLY);
}
gdk_gc_set_rgb_fg_color(Closure->drawGC, Closure->curveColor);
SetText(curve->layout, curve->leftLabel, &w, &h);
x = curve->leftX - w/2;
if(x < 5) x = 5;
gdk_draw_layout(d, Closure->drawGC,
x, curve->topY - h - 5, curve->layout);
/* Draw and label the grid lines for the log curve */
if(curve->enable & DRAW_LCURVE)
{ int val;
char buf[16];
gdk_gc_set_rgb_fg_color(Closure->drawGC, Closure->logColor);
SetText(curve->layout, curve->leftLogLabel, &w, &h);
x = curve->leftX - w/2;
if(x < 5) x = 5;
gdk_draw_layout(d, Closure->drawGC,
x, curve->topLY - h - 5, curve->layout);
for(val=400; val>3; val/=2)
{ y = CurveLogY(curve, val);
sprintf(buf,"%d",val);
SetText(curve->layout, buf, &w, &h);
gdk_gc_set_rgb_fg_color(Closure->drawGC, Closure->logColor);
gdk_draw_layout(d, Closure->drawGC, curve->leftX-9-w, y-h/2, curve->layout);
gdk_gc_set_rgb_fg_color(Closure->drawGC, Closure->foreground);
gdk_draw_line(d, Closure->drawGC, curve->leftX-6, y, curve->leftX, y);
gdk_gc_set_rgb_fg_color(Closure->drawGC, Closure->grid);
gdk_draw_line(d, Closure->drawGC, curve->leftX, y, curve->rightX, y);
val /=2;
y = CurveLogY(curve, val);
gdk_gc_set_rgb_fg_color(Closure->drawGC, Closure->foreground);
gdk_draw_line(d, Closure->drawGC, curve->leftX-3, y, curve->leftX, y);
if(curve->bottomLY-curve->topLY > 8*h)
{ sprintf(buf,"%d",val);
SetText(curve->layout, buf, &w, &h);
gdk_gc_set_rgb_fg_color(Closure->drawGC, Closure->logColor);
gdk_draw_layout(d, Closure->drawGC, curve->leftX-9-w, y-h/2, curve->layout);
}
}
}
/* Draw and label the grid lines for the normal curve */
if(curve->maxY < 20) step = 4;
else step = 10;
for(i=0; i<=curve->maxY; i+=step)
{ char buf[4];
g_snprintf(buf, 4, curve->leftFormat, i);
SetText(curve->layout, buf, &w, &h);
y = yg = CurveY(curve, i);
gdk_gc_set_rgb_fg_color(Closure->drawGC, Closure->curveColor);
gdk_draw_layout(d, Closure->drawGC, curve->leftX-9-w, y-h/2, curve->layout);
gdk_gc_set_rgb_fg_color(Closure->drawGC, Closure->foreground);
gdk_draw_line(d, Closure->drawGC, curve->leftX-6, y, curve->leftX, y);
gdk_gc_set_rgb_fg_color(Closure->drawGC, Closure->grid);
gdk_draw_line(d, Closure->drawGC, curve->leftX, y, curve->rightX, y);
gdk_gc_set_rgb_fg_color(Closure->drawGC, Closure->foreground);
y = CurveY(curve, i+step/2);
if(y >= curve->topY)
gdk_draw_line(d, Closure->drawGC, curve->leftX-3, y, curve->leftX, y);
}
/* Draw the right coordinate axis */
gdk_gc_set_rgb_fg_color(Closure->drawGC, Closure->foreground);
gdk_draw_line(d, Closure->drawGC,
curve->rightX, curve->topY, curve->rightX, curve->bottomY);
if(curve->enable & DRAW_LCURVE)
gdk_draw_line(d, Closure->drawGC,
curve->rightX, curve->topLY, curve->rightX, curve->bottomLY);
/* Draw and label the bottom coordinate axis */
gdk_gc_set_rgb_fg_color(Closure->drawGC, Closure->foreground);
gdk_draw_line(d, Closure->drawGC,
curve->leftX, curve->bottomY, curve->rightX, curve->bottomY);
if(curve->enable & DRAW_LCURVE)
{ gdk_draw_line(d, Closure->drawGC,
curve->leftX, curve->bottomLY, curve->rightX, curve->bottomLY);
bottom_y = curve->bottomLY;
}
else bottom_y = curve->bottomY;
if(curve->maxX <= 100) step = 20; /* <100M */
else if(curve->maxX < 1000) step = 100; /* 100M ... 1000M */
else if(curve->maxX < 8000) step = 1024; /* 1G .. 8G */
else if(curve->maxX < 15000) step = 2560; /* 8G .. 15G */
else if(curve->maxX < 25000) step = 5120; /* 15G .. 25G */
else step = 10240;
for(i=0; i<=curve->maxX; i+=step)
{ char buf[10];
switch(curve->bottomFormat)
{ case CURVE_PERCENT:
g_snprintf(buf, 10, "%d%%", i);
break;
case CURVE_MEGABYTES:
if(step <= 100)
g_snprintf(buf, 10, "%dM",i);
else g_snprintf(buf, 10, "%3.1fG",(gdouble)i/1024.0);
break;
}
SetText(curve->layout, buf, &w, &h);
x = CurveLX(curve,i)-1;
gdk_draw_line(d, Closure->drawGC, x, bottom_y+6, x, bottom_y);
gdk_draw_layout(d, Closure->drawGC, x-w/2, bottom_y+8, curve->layout);
if(i && x < curve->rightX)
{ gdk_gc_set_rgb_fg_color(Closure->drawGC, Closure->grid);
gdk_draw_line(d, Closure->drawGC, x, curve->bottomY-1, x, yg);
if(curve->enable & DRAW_LCURVE)
gdk_draw_line(d, Closure->drawGC, x, curve->bottomLY-1, x, curve->topLY);
}
gdk_gc_set_rgb_fg_color(Closure->drawGC, Closure->foreground);
x = CurveLX(curve,i+step/2)-1;
if(x < curve->rightX)
gdk_draw_line(d, Closure->drawGC, x, bottom_y+3, x, bottom_y);
}
}
/*
* Redraw the curve
*/
void RedrawCurve(Curve *curve, int last)
{ int i,x0,x1,fy0,fy1;
x0 = CurveX(curve, 0);
fy0 = CurveY(curve, curve->fvalue[0]);
gdk_gc_set_rgb_fg_color(Closure->drawGC, Closure->curveColor);
/* Draw the curve */
for(i=1; i<=last; i++)
{ x1 = CurveX(curve, i);
if(curve->enable & DRAW_ICURVE)
{ int iy = CurveY(curve, curve->ivalue[i]);
if(curve->ivalue[i] > 0)
{ gdk_gc_set_rgb_fg_color(Closure->drawGC, Closure->barColor);
gdk_draw_rectangle(curve->widget->window,
Closure->drawGC, TRUE,
x0, iy, x0==x1 ? 1 : x1-x0, curve->bottomY-iy);
}
}
if(curve->enable & DRAW_LCURVE)
{ int iy = CurveLogY(curve, curve->lvalue[i]);
if(curve->lvalue[i] > 0)
{ gdk_gc_set_rgb_fg_color(Closure->drawGC, Closure->logColor);
gdk_draw_rectangle(curve->widget->window,
Closure->drawGC, TRUE,
x0, iy, x0==x1 ? 1 : x1-x0, curve->bottomLY-iy);
}
}
if(curve->enable & DRAW_FCURVE && curve->fvalue[i] >= 0)
{ fy1 = CurveY(curve, curve->fvalue[i]);
if(x0 < x1)
{ gdk_gc_set_rgb_fg_color(Closure->drawGC, Closure->curveColor);
gdk_draw_line(curve->widget->window, Closure->drawGC, x0, fy0, x1, fy1);
fy0 = fy1;
}
}
x0 = x1;
}
}

564
debian/changelog vendored Normal file
View File

@@ -0,0 +1,564 @@
dvdisaster (0.79.6-6) UNRELEASED; urgency=medium
* Use secure URI in debian/watch.
* Update standards version, no changes needed.
* Set debhelper-compat version in Build-Depends.
* Update standards version to 4.4.1, no changes needed.
* Remove obsolete fields Name, Contact from debian/upstream/metadata.
* Fix day-of-week for changelog entries 0.71~devel23-4.
-- Debian Janitor <janitor@jelmer.uk> Tue, 06 Aug 2019 16:08:20 +0000
dvdisaster (0.79.6-5) experimental; urgency=medium
* Merge changes from 0.79.5-9.
-- Carlos Maddela <e7appew@gmail.com> Sat, 02 Feb 2019 16:05:29 +1100
dvdisaster (0.79.6-4) experimental; urgency=medium
* Merge changes from 0.79.5-8.
-- Carlos Maddela <e7appew@gmail.com> Fri, 01 Feb 2019 23:13:16 +1100
dvdisaster (0.79.6-3) experimental; urgency=medium
* Merge changes from 0.79.5-7.
* Update gbp.conf for debian/experimental branch.
-- Carlos Maddela <e7appew@gmail.com> Thu, 31 Jan 2019 08:59:58 +1100
dvdisaster (0.79.6-2) experimental; urgency=medium
[ TANIGUCHI Takaki ]
* Update Vcs-* to salsa.debian.org.
[ Carlos Maddela ]
* Build with DH compat level 11.
* Indicate compliance with Debian Policy 4.1.4.
* Add machine-readable upstream metadata.
* Update debian/copyright.
* Update location of PDF manual registered with doc-base (required
as a result of DH compat level change).
-- Carlos Maddela <e7appew@gmail.com> Sat, 23 Jun 2018 05:41:03 +1000
dvdisaster (0.79.6-1) experimental; urgency=medium
* New upstream development version [0.79.6].
* Rebase patches.
-- Carlos Maddela <e7appew@gmail.com> Thu, 21 Dec 2017 05:51:54 +1100
dvdisaster (0.79.5-9) unstable; urgency=medium
* Make sure that the upstream changelog remains uncompressed so
that the application can display it.
-- Carlos Maddela <e7appew@gmail.com> Sat, 02 Feb 2019 13:32:34 +1100
dvdisaster (0.79.5-9) unstable; urgency=medium
* Make sure that the upstream changelog remains uncompressed so
that the application can display it.
* Suggest to install dvdisaster-doc in error message, if the PDF manual
cannot be found.
-- Carlos Maddela <e7appew@gmail.com> Sat, 02 Feb 2019 15:20:23 +1100
dvdisaster (0.79.5-8) unstable; urgency=medium
* Fix parallel build of locale strings.
-- Carlos Maddela <e7appew@gmail.com> Fri, 01 Feb 2019 23:03:13 +1100
dvdisaster (0.79.5-7) unstable; urgency=medium
* Add debian/gbp.conf to conform with DEP14 conventions.
* Build with Debhelper compat level 12.
* Set "Rules-Requires-Root: no".
* Simplify process by which mutable files are backed up and restored.
* Build as verbosely as possible.
* Fix location of manual.
* Fix dh_auto_build overrides to take advantage of parallel builds.
* Fix format security compilation warning in GCC-8.
* Change homepage to one archived at web.archive.org.
http://dvdisaster.net has been unavailable for a while now.
Not certain if this is permanent though, as the domain name still
exists for mail.
* Add support for nodoc build profile.
* Add more details to upstream metadata.
* Indicate compliance with Debian Policy 4.3.0.
-- Carlos Maddela <e7appew@gmail.com> Thu, 31 Jan 2019 07:10:46 +1100
dvdisaster (0.79.5-6) unstable; urgency=medium
[ TANIGUCHI Takaki ]
* change Vcs-* path
[ Carlos Maddela ]
* Build with DH compat level 11.
* Indicate compliance with Debian Policy 4.1.4.
* Add machine-readable upstream metadata.
* Update debian/copyright.
* Update location of PDF manual registered with doc-base (required
as a result of DH compat level change).
-- Carlos Maddela <e7appew@gmail.com> Sat, 23 Jun 2018 05:01:27 +1000
dvdisaster (0.79.5-5) unstable; urgency=medium
* Update Vcs-* to salsa.debian.org
* Bump Standards-Version to 4.1.3
-- TANIGUCHI Takaki <takaki@debian.org> Sat, 27 Jan 2018 23:34:08 +0900
dvdisaster (0.79.5-4) unstable; urgency=medium
* Use complete Debian revision number as build number, instead of
just the numeric part.
* Re-implement scripts/time-stamper.bash without direct calls to
dpkg-parsechangelog.
* Call ./configure script directly, instead of relying on debhelper,
to resolve incompatibilities with Bash-based script.
* Use alternative way of installing icons to remove dependency on
dh-exec.
* Drop redundant dependency on dpkg-dev.
* Reproducibly generate PDF documentation from TeX sources.
* Remove trailing white space from debian/changelog.
* Remove unnecessary Testsuite header from debian/control.
* Indicate compliance with Debian Policy 4.1.2.
* Suppress debian-watch-uses-insecure-uri Lintian warning.
* Honour LDFLAGS set by dpkg-buildflags in building all binaries.
-- Carlos Maddela <e7appew@gmail.com> Thu, 21 Dec 2017 03:14:14 +1100
dvdisaster (0.79.5-3) unstable; urgency=medium
* Team upload.
* Fix another build failure on kFreeBSD.
* Bump Standards Version to 4.0.1.
* Regenerate patches with git version 2.14.0.
* Do not suppress the display of compilation commands,
so that build logs may be analysed by blhc.
* Update uploaders list.
-- Carlos Maddela <e7appew@gmail.com> Mon, 14 Aug 2017 14:52:56 +1000
dvdisaster (0.79.5-2) unstable; urgency=medium
[ Carlos Maddela ]
* Team upload.
* Bump Standards Version to 4.0.0.
* Remove unnecessary calls to dpkg-parsechangelog from debian/rules.
* debian/watch: Avoid repacking upstream tarballs unnecessarily.
* Fix more typos in error messages and docs.
* Fix FTBFS on Hurd and kFreeBSD.
* Remove incorrect use of 'Origin: vendor' from DEP-3 patch headers.
* Improve support for Hurd and kFreeBSD systems, although Hurd still
builds without SCSI.
-- TANIGUCHI Takaki <takaki@debian.org> Mon, 07 Aug 2017 17:34:01 +0900
dvdisaster (0.79.5-1) unstable; urgency=medium
[ Carlos Maddela ]
* Team upload.
* New upstream version [0.79.5]
* Refresh and drop patches. The following patches have been dropped:
+ 01-libpng15.patch
+ 06-remove-encoding-from-desktop-file.patch
+ 07-fix-spelling-errors-in-binaries.patch
+ 09-fix-format-security-warnings.patch
+ 21-fix-privacy-breach-in-doco.patch
* Update license to GPL-3.
* Update clean rule as old files no longer apply.
* Update documentation build and install rules.
* debian/rules: Update mutable file list.
* Fix generated man pages. The generated man pages incorrectly direct
users to the directory of the old HTML documentation, which is no
longer available.
* Fix display of manual.pdf. The PDF file is automatically compressed
by Debhelper, so we need to account for this.
* Resurrect old code to support opening URLs in a browser.
* Ship upstream-generated manual.pdf for the time being, as we can't
generate it ourselves reproducibly.
-- TANIGUCHI Takaki <takaki@debian.org> Thu, 02 Feb 2017 22:28:25 +0900
dvdisaster (0.72.4-3) unstable; urgency=medium
[ Carlos Maddela ]
* Team upload.
* Bump compat level to 10.
* debian/watch: Relax upstream version restriction.
* Use original name for the duplicate uncompressed upstream CHANGELOG.
* Backup and restore mutable files to allow multiple builds.
* Fix FTBFS for hurd-i386.
[ Corey Wright ]
* Add support for BD-ROM media-type. (Closes: #849518)
-- Carlos Maddela <e7appew@gmail.com> Sat, 07 Jan 2017 00:29:19 +1100
dvdisaster (0.72.4-2) unstable; urgency=medium
* Team upload.
* Make builds reproducible:
+ Use the Debian changelog details to derive a build number and date.
+ Don't build with source path embedded in binary.
* debian/control:
+ Update to Standards Version 3.9.8.
- Format security warnings required fixing in tools/memory.c as
a result.
+ Update VCS details.
+ Remove obsolete DM-Upload-Alllowed control field.
+ Perform wrap and sort.
+ Mark dvdisaster-doc as a multi-arch foreign package.
* debian/rules:
+ Build with all hardening flags set.
+ Link required libraries as needed.
+ Fix installation of desktop file and icon images.
+ Tidy up installation of doc files.
+ Fix clean up.
+ Separate binary-arch and binary-indep rules.
+ Silence deprecated API warnings.
* debian/*:
+ Update uscan rules.
+ Drop debian/dvdisaster.menu file in favour of desktop file.
+ Convert copyright file into proper DEP5 format and update.
+ Drop no longer required debian/pixmaps/dvdisaster.xpm.
+ Add debian/dvdisaster-doc.doc-base file.
+ Add link to html docs in dvdisaster-doc package.
+ Remove unnecessary duplication of doc files in the two packages.
+ Link all duplicate doc files.
+ Fix installation of thumbnails for Czech doco.
* debian/patches/*:
+ Fix headers to work with git-buildpackage, retaining as much
meta info as possible.
+ Fix GNU Make detection. (Closes: #848811)
+ Fix path of GPL-2 license in 05-help-dialog.patch. (Closes: #708384)
+ Fix all warnings except for those related to deprecated API.
(Closes: #748416)
+ Use non-size-specific icon and add keywords to desktop file.
+ Fix spelling: upto -> up to
+ Fix missing language fields in PO files.
+ Update help dialog to show link to the new Debian package tracker.
+ Update copyright notice in about dialog.
+ Allow ShowTextFile() to work with absolute path names.
+ Fix display of changelog, credits and to-do files.
+ Remove link to the newsfeed, to fix Lintian privacy-breach-generic
warning. The news feed no longer works anyway.
-- Carlos Maddela <e7appew@gmail.com> Fri, 23 Dec 2016 15:53:13 +1100
dvdisaster (0.72.4-1) unstable; urgency=low
* New upstream (Closes: #665522)
* debian/paches/04-manpage.patch: Removed (merged by upstream).
-- TANIGUCHI Takaki <takaki@debian.org> Sun, 08 Apr 2012 22:02:16 +0900
dvdisaster (0.72.3-2) unstable; urgency=low
* debian/patches/libpng15: Build with libpng15. (Closes: #649555)
-- TANIGUCHI Takaki <takaki@debian.org> Mon, 19 Mar 2012 11:08:53 +0900
dvdisaster (0.72.3-1) unstable; urgency=low
[ Rogério Brito ]
* debian/patches/*: refresh and adapt every patch
* debian/patches/04-manpage.patch: escape one hyphen
[ TANIGUCHI Takaki ]
* New upstream 0.72.3 (Closes: #643869)
* Bump Standards-Version to 3.9.3
* debian/patches/*: Refreshed.
* Depend unversion libpng-dev (Closes: #662306)
* debian/rules: Rewrite in dh7 style
-- TANIGUCHI Takaki <takaki@debian.org> Tue, 06 Mar 2012 12:44:08 +0900
dvdisaster (0.72.1-2) unstable; urgency=low
* [da276c7] Refresh patches to avoid potential problems with the
buildds.
* [3ee8b47] Initial migration to format "3.0 (quilt)".
* [af26379] Wrap some long lines for legibility.
* [2372076] Wrap one extra line.
* [00e1968] Don't patch the documentation directly.
* [fac6933] Add missing misc-depends on dvdisaster
* [70a6efd] Rewrap the build-depends line, for diff-friendliness.
* [9fe0db4] Fix incorrect place of misc:depends.
* [6576482] Remove unneeded patch
* [7771474] Remove duplicate section field for dvdisaster
* [f51c51a] Add debian/watch file to more closely follow upstream
* [2194941] Remove UTF-8 encoding from desktop file
* [57e4fab] Update patch to deal with hyphens used as minus signs
* [80e291c] Add description for the patch
* [cea78c3] Add patch to fix spelling errors in the binaries
* [96b581b] Fix for another typo in the manpage
* [b8f0e62] Update standards version with no changes needed
-- Rogério Brito <rbrito@ime.usp.br> Tue, 24 Aug 2010 12:10:21 -0300
dvdisaster (0.72.1-1) unstable; urgency=low
* New maintainer (Closes: 543876)
* new upstream version.
* debian/control: update Homepage:
* debian/README.source: create
* debian/control: add Vcs-*.
-- TANIGUCHI Takaki <takaki@debian.org> Mon, 23 Nov 2009 10:29:09 +0900
dvdisaster (0.72-2) unstable; urgency=low
* Updating to standards version 3.8.3.
* Removing vcs fields.
* Orphaning package.
-- Daniel Baumann <daniel@debian.org> Thu, 27 Aug 2009 10:24:34 +0200
dvdisaster (0.72-1) unstable; urgency=low
* Using correct rfc-2822 date formats in changelog.
* Merging upstream version 0.72.
* Removing shebang.patch, not required anymore.
* Updating standards version to 3.8.2.
* Tidy rules file.
-- Daniel Baumann <daniel@debian.org> Tue, 07 Jul 2009 01:11:52 +0200
dvdisaster (0.72~rc1-1) unstable; urgency=low
* Merging upstream version 0.72~rc1.
* Upgrading to standards 3.8.1.
-- Daniel Baumann <daniel@debian.org> Fri, 17 Apr 2009 21:20:00 +0200
dvdisaster (0.71.28-1) unstable; urgency=medium
* Merging upstream version 0.71.28:
- Fixes "illegal instruction" crashes on x86 machines which do not support
SSE2 (Closes: #515950).
-- Daniel Baumann <daniel@debian.org> Tue, 17 Mar 2009 09:55:00 +0100
dvdisaster (0.71.27-1) unstable; urgency=low
* Using patch-stamp rather than patch in rules file.
* Replacing obsolete dh_clean -k with dh_prep.
* Merging upstream version 0.71.27.
* Rediffing help-dialog.dpatch.
* Using quilt rather than dpatch.
* Updating year in copyright.
* Adding longtitle and description in menu file.
* Using usual name for pixmaps directory.
* Updating rules to current state of the art.
-- Daniel Baumann <daniel@debian.org> Sun, 25 Jan 2009 14:01:00 +0100
dvdisaster (0.71.26-2) unstable; urgency=medium
* Updating to standards 3.8.0.
* Updating vcs fields in control file.
* Correcting 03-dvdrom.dpatch to not crash when opening a DVD-ROM.
Thanks to Tobias Gruetzmacher <tobias-debian@23.gs> (Closes: #498296).
-- Daniel Baumann <daniel@debian.org> Mon, 08 Sep 2008 22:08:00 +0200
dvdisaster (0.71.26-1) unstable; urgency=medium
* Reordering rules file.
* Using examples debhelper to install examples.
* Removing 08-xdg.dpatch, went upstream.
* Removing 07-adaptive-read.dpatch, went upstream.
* Rediffing 05-help-dialog.dpatch.
* Rediffing 03-dvdrom.dpatch.
* Rediffing 02-encryption.dpatch.
* Removing watch file.
* Removing useless whitespaces at end of debian gmkrs02 example.
* Rewriting copyright file in machine-interpretable format.
* Adding vcs fields in control file.
* Upgrading package to debhelper 7.
* Merging upstream version 0.71.26.
-- Daniel Baumann <daniel@debian.org> Sat, 03 May 2008 11:34:00 +0200
dvdisaster (0.71~devel23-7) unstable; urgency=low
* Bumping to new policy.
* Updating menu file to new policy.
* Don't hide make errors in clean target of rules.
-- Daniel Baumann <daniel@debian.org> Sun, 23 Dec 2007 13:26:00 +0100
dvdisaster (0.71~devel23-6) unstable; urgency=low
* Using xdg-open rather than gnome-open.
-- Daniel Baumann <daniel@debian.org> Thu, 29 Nov 2007 10:39:00 +0100
dvdisaster (0.71~devel23-5) unstable; urgency=low
* Setting configure shebang to bash.
-- Daniel Baumann <daniel@debian.org> Wed, 24 Oct 2007 06:14:00 +0200
dvdisaster (0.71~devel23-4) unstable; urgency=low
* Fixed clean target in rules (Closes: #442559).
-- Daniel Baumann <daniel@debian.org> Mon, 17 Sep 2007 00:37:00 +0200
dvdisaster (0.71~devel23-3) unstable; urgency=medium
* Applied patch from Wolfgang Weisselberg <g35fckt001@sneakemail.com> to fix
segfault when reading CD with --adaptive-read (Closes: #427980).
* Including example script from Osamu Aoki <osamu@debian.org> to provide a
GUI for creating RS02 supplimented ISO images (Closes: #442145).
-- Daniel Baumann <daniel@debian.org> Fri, 14 Sep 2007 11:13:00 +0200
dvdisaster (0.71~devel23-2) unstable; urgency=low
* Fix shebang in configure.
-- Daniel Baumann <daniel@debian.org> Tue, 04 Sep 2007 22:53:00 +0200
dvdisaster (0.71~devel23-1) unstable; urgency=low
* New upstream release.
-- Daniel Baumann <daniel@debian.org> Mon, 14 May 2007 10:46:00 +0200
dvdisaster (0.71~devel22-1) unstable; urgency=low
* New upstream release.
-- Daniel Baumann <daniel@debian.org> Sun, 29 Apr 2007 16:47:00 +0200
dvdisaster (0.70.4-2) unstable; urgency=low
* Uploading to unstable.
* Bumped package to debhelper 5.
-- Daniel Baumann <daniel@debian.org> Thu, 08 Mar 2007 10:35:00 +0100
dvdisaster (0.70.4-1) experimental; urgency=low
* New upstream release.
-- Daniel Baumann <daniel@debian.org> Sat, 27 Jan 2007 18:05:00 +0100
dvdisaster (0.70.3-2) unstable; urgency=medium
* Added patch from Carsten Gnoerlich <carsten@dvdisaster.com> to fix issues
with glib threading (Closes: #405757).
-- Daniel Baumann <daniel@debian.org> Wed, 17 Jan 2007 10:42:00 +0100
dvdisaster (0.70.3-1) unstable; urgency=low
* New upstream release.
-- Daniel Baumann <daniel@debian.org> Wed, 13 Dec 2006 11:57:00 +0100
dvdisaster (0.70.2-2) unstable; urgency=medium
* Adjusted 05-help-dialog.dpatch as suggested by
Corey Wright <undefined@pobox.com> (Closes: #393671).
-- Daniel Baumann <daniel@debian.org> Tue, 17 Oct 2006 14:01:00 +0200
dvdisaster (0.70.2-1) unstable; urgency=low
* New upstream release.
* Added patch to customize the help-dialog according to README.MODIFYING.
-- Daniel Baumann <daniel@debian.org> Tue, 03 Oct 2006 20:58:00 +0200
dvdisaster (0.70.1-2) unstable; urgency=low
* Added patch from upstream to fix some code errors (Closes: #388304).
-- Daniel Baumann <daniel@debian.org> Thu, 21 Sep 2006 01:29:00 +0200
dvdisaster (0.70.1-1) unstable; urgency=low
* New upstream release.
-- Daniel Baumann <daniel@debian.org> Tue, 22 Aug 2006 23:09:00 +0200
dvdisaster (0.70-1) unstable; urgency=low
* New upstream release (Closes: #377757).
-- Daniel Baumann <daniel@debian.org> Tue, 11 Jul 2006 07:19:00 +0200
dvdisaster (0.66-4) unstable; urgency=low
* New email address.
* Fixed typo in manpage (Closes: #376752).
-- Daniel Baumann <daniel@debian.org> Fri, 07 Jul 2006 09:01:00 +0200
dvdisaster (0.66-3) unstable; urgency=low
* Fixed docsubdir (Closes: #366274).
* Disabled skipping of encrypted disks (Closes: #366399).
* Added patch for DVD-ROM medias (Closes: #366392).
-- Daniel Baumann <daniel.baumann@panthera-systems.net> Mon, 15 May 2006 03:17:00 -0500
dvdisaster (0.66-2) unstable; urgency=low
* Set dvdisaster-doc to recommends instead of suggests (Closes: #363291).
-- Daniel Baumann <daniel.baumann@panthera-systems.net> Tue, 18 Apr 2006 16:35:00 +0100
dvdisaster (0.66-1) unstable; urgency=low
* New upstream release.
* Added pixmap.
-- Daniel Baumann <daniel.baumann@panthera-systems.net> Tue, 28 Mar 2006 10:13:00 +0100
dvdisaster (0.65-1) unstable; urgency=low
* New upstream release.
* Removed patch stack buffer patch (went upstream).
* Removed manpage patches (went upstream).
-- Daniel Baumann <daniel.baumann@panthera-systems.net> Tue, 17 Jan 2006 14:32:00 +0100
dvdisaster (0.64.2-1) unstable; urgency=low
* New upstream release.
* Now using dpatch for updating manpages.
* Fixed definitely the documentation path in the manpages (Closes: #333591).
* Added patch from Robert Bihlmeyer <robbe@orcus.priv.at> to fix segfault on
allocating stack buffer (Closes: #335792).
-- Daniel Baumann <daniel.baumann@panthera-systems.net> Fri, 25 Nov 2005 11:01:00 +0100
dvdisaster (0.63.2-1) unstable; urgency=low
* New upstream release:
- no longer needs gawk.
- manpage updated and moved to upstream.
- manpage now mentions correct documentation-location (Closes: #322187).
* Now update config.{guess,sub} via .diff.gz.
* Corrected non-ascii chars in the German and Italian manpage.
-- Daniel Baumann <daniel.baumann@panthera-systems.net> Sat, 06 Aug 2005 20:03:00 +0200
dvdisaster (0.63-1) unstable; urgency=low
* Initial release (Closes: #319742).
* Fixed Makefile for $(DESTDIR)-use.
* Added manpage.
-- Daniel Baumann <daniel.baumann@panthera-systems.net> Sun, 24 Jul 2005 13:35:00 +0200

46
debian/control vendored Normal file
View File

@@ -0,0 +1,46 @@
Source: dvdisaster
Section: otherosfs
Priority: optional
Maintainer: Optical Media Tools Team <pkg-opt-media-team@lists.alioth.debian.org>
Uploaders: TANIGUCHI Takaki <takaki@debian.org>,
Rogério Brito <rbrito@ime.usp.br>,
Carlos Maddela <e7appew@gmail.com>
Build-Depends: debhelper (>= 12),
gettext,
libbz2-dev,
libcam-dev [kfreebsd-any],
libgtk2.0-dev,
libpng-dev,
pkg-config,
debhelper-compat (= 12)
Build-Depends-Indep: texlive-fonts-recommended <!nodoc>,
texlive-latex-base <!nodoc>,
texlive-latex-extra <!nodoc>
Standards-Version: 4.4.1
Vcs-Browser: https://salsa.debian.org/optical-media-team/dvdisaster
Vcs-Git: https://salsa.debian.org/optical-media-team/dvdisaster.git
Homepage: https://web.archive.org/web/20180428070843/http://dvdisaster.net/
Rules-Requires-Root: no
Package: dvdisaster
Architecture: any
Depends: xdg-utils, ${misc:Depends}, ${shlibs:Depends}
Recommends: dvdisaster-doc
Description: data loss/scratch/aging protection for CD/DVD media
dvdisaster provides a margin of safety against data loss on CD and DVD media
caused by scratches or aging media. It creates error correction data which is
used to recover unreadable sectors if the disc becomes damaged at a later time.
Package: dvdisaster-doc
Build-Profiles: <!nodoc>
Section: doc
Architecture: all
Multi-Arch: foreign
Depends: ${misc:Depends}
Suggests: dvdisaster
Description: data loss/scratch/aging protection for CD/DVD media (documentation)
dvdisaster provides a margin of safety against data loss on CD and DVD media
caused by scratches or aging media. It creates error correction data which is
used to recover unreadable sectors if the disc becomes damaged at a later time.
.
This package contains the documentation.

49
debian/copyright vendored Normal file
View File

@@ -0,0 +1,49 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Contact: Carsten Gnörlich <carsten@dvdisaster.org>
Upstream-Name: dvdisaster
Source: https://web.archive.org/web/20180428070843/http://dvdisaster.net/
Files: *
Copyright: 20042015, Carsten Gnörlich <carsten@dvdisaster.org>
License: GPL-3+
Files: debian/*
Copyright: 20052009, Daniel Baumann <daniel@debian.org>
20092018, TANIGUCHI Takaki <takaki@debian.org>
20092010, Rogério Brito <rbrito@ime.usp.br>
20162018, Carlos Maddela <e7appew@gmail.com>
License: GPL-2+
License: GPL-2+
This package is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU General
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
License: GPL-3+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU General
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".

10
debian/dvdisaster-doc.doc-base vendored Normal file
View File

@@ -0,0 +1,10 @@
Document: dvdisaster
Title: The dvdisaster User's Manual
Author: Carsten Gnörlich
Abstract: This manual describes what dvdisaster is and how it can be used
to protect optical media (CD/DVD/BD) from data loss, due to scratches
and aging.
Section: File Management
Format: PDF
Files: /usr/share/doc/dvdisaster/manual.pdf.gz

1
debian/dvdisaster-doc.docs vendored Normal file
View File

@@ -0,0 +1 @@
documentation/user-manual/manual.pdf

4
debian/dvdisaster.docs vendored Normal file
View File

@@ -0,0 +1,4 @@
CREDITS.*
README.MODIFYING
TODO
TRANSLATION.HOWTO

1
debian/dvdisaster.examples vendored Normal file
View File

@@ -0,0 +1 @@
debian/examples/*

5
debian/dvdisaster.install vendored Normal file
View File

@@ -0,0 +1,5 @@
contrib/dvdisaster.desktop usr/share/applications
usr/bin
usr/share/icons
usr/share/locale
usr/share/man

1
debian/dvdisaster.lintian-overrides vendored Normal file
View File

@@ -0,0 +1 @@
dvdisaster: changelog-file-not-compressed changelog

41
debian/examples/gmkrs02 vendored Normal file
View File

@@ -0,0 +1,41 @@
#!/bin/sh -e
# Copyright (C) 2007 Osamu Aoki <osamu@debian.org>, Public Domain
set -x
# Initialize variables
DATA_SRC=""
DATA_ISO="$HOME/Desktop/iso-$$.img"
LABEL=$(date +%Y%m%d-%H%M%S-%Z)
error_exit()
{
echo "$1" >&2
exit 1
}
# Erase disk image
rm -f "$DATA_ISO" || true
# Select directory for creating ISO image from folder on desktop
DATA_SRC=$(zenity --file-selection --directory \
--title="Select the directory tree root to create ISO image") \
|| error_exit "Exit on directry selection"
# Check size of archive
xterm -T "Check size $DATA_SRC" -e du -s $DATA_SRC/*
SIZE=$(($(du -s $DATA_SRC | awk '{print $1}')/1024))
if [ $SIZE -le 520 ] ; then
zenity --info --title="Dvdisaster RS02" --width 640 --height 400 \
--text="The data size is good for CD backup:\\n $SIZE MB"
elif [ $SIZE -le 3500 ]; then
zenity --info --title="Dvdisaster RS02" --width 640 --height 400 \
--text="The data size is good for DVD backup :\\n $SIZE MB"
else
zenity --info --title="Dvdisaster RS02" --width 640 --height 400 \
--text="The data size is too big to backup : $SIZE MB"
error_exit "The data size is too big to backup :\\n $SIZE MB"
fi
# only xterm is sure to have working -e option
# Create raw ISO image
xterm -T "genisoimage $DATA_ISO" \
-e genisoimage -r -J -V "$LABEL" -o "$DATA_ISO" "$DATA_SRC"
# Create RS02 supplimental redundancy
xterm -T "dvdisaster $DATA_ISO" -e dvdisaster -i "$DATA_ISO" -mRS02 -c
zenity --info --title="Dvdisaster RS02" --width 640 --height 400 \
--text="ISO/RS02 data ($SIZE MB) \\n created at: $DATA_ISO"
# EOF

5
debian/gbp.conf vendored Normal file
View File

@@ -0,0 +1,5 @@
[DEFAULT]
debian-branch = debian/master
upstream-branch = upstream/latest
sign-tags = True
pristine-tar = True

32
debian/patches/02-encryption.patch vendored Normal file
View File

@@ -0,0 +1,32 @@
From: Optical Media Tools Team <pkg-opt-media-team@lists.alioth.debian.org>
Date: Sun, 8 Apr 2012 21:51:29 +0900
Subject: Disables to skip on encrypted disks (e.g. DVD with CSS-Encryption).
Description: Disables to skip on encrypted disks (e.g. DVD with CSS-Encryption).
Author: n/a
Last-Update: 2012-04-08
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---
scsi-layer.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/scsi-layer.c b/scsi-layer.c
index cad13d4..866b7ac 100644
--- a/scsi-layer.c
+++ b/scsi-layer.c
@@ -2695,12 +2695,13 @@ Image* OpenImageFromDevice(char *device)
return NULL;
}
}
-
+/*
if(dh->mainType == DVD && query_copyright(dh))
{ CloseImage(image);
Stop(_("This software does not support encrypted media.\n"));
return NULL;
}
+*/
/* Create the bitmap of simulated defects */

29
debian/patches/03-dvdrom.patch vendored Normal file
View File

@@ -0,0 +1,29 @@
From: Corey Wright <undefined@pobox.com>
Date: Tue, 6 Mar 2012 11:10:30 +0900
Subject: Adds support for DVD-ROM medium-type.
Description: Adds support for DVD-ROM medium-type.
Author: Corey Wright <undefined@pobox.com>
Last-Update: 2012-03-06
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---
scsi-layer.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/scsi-layer.c b/scsi-layer.c
index 866b7ac..b3a9d0e 100644
--- a/scsi-layer.c
+++ b/scsi-layer.c
@@ -908,6 +908,11 @@ static int query_dvd(DeviceHandle *dh, int probe_only)
break;
}
+ if(layer_type & 0x01)
+ { dh->typeDescr = g_strdup("DVD-ROM");
+ break;
+ }
+
if(layer_type & 0x06) /* strange thing: (re-)writeable but neither plus nor dash */
{ dh->typeDescr = g_strdup("DVD-ROM (fake)");
dh->subType = DVD;

55
debian/patches/05-help-dialog.patch vendored Normal file
View File

@@ -0,0 +1,55 @@
From: Daniel Baumann <daniel@debian.org>
Date: Sun, 8 Apr 2012 21:53:29 +0900
Subject: Customizes the help-dialog according to README.MODIFYING.
Description: Customizes the help-dialog according to README.MODIFYING.
.
* 2016-12-19 - Fixed path:
/usr/share/common/licenses/GPL-2 -> /usr/share/common-licenses/GPL-2
and restored use of "GPL" label.
Author: Daniel Baumann <daniel@debian.org>
Last-Update: 2016-12-19
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---
help-dialogs.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/help-dialogs.c b/help-dialogs.c
index c486613..758ac19 100644
--- a/help-dialogs.c
+++ b/help-dialogs.c
@@ -403,7 +403,7 @@ void ShowGPL()
ShowTextfile(_("windowtitle|GNU General Public License"),
_("<big>GNU General Public License</big>\n"
"<i>The license terms of dvdisaster.</i>"),
- "COPYING", NULL, NULL);
+ "/usr/share/common-licenses/GPL-2", NULL, NULL);
}
/*
@@ -567,7 +567,7 @@ static void show_modifying(void)
{ ShowTextfile(_("windowtitle|Modifying dvdisaster"),
_("<big>Modifying dvdisaster</big>\n"
"<i>Your changes are not ours.</i>"),
- "README.MODIFYING", NULL, NULL);
+ "/usr/share/doc/dvdisaster/README.MODIFYING", NULL, NULL);
}
static gint about_cb(GtkWidget *widget, GdkEvent *event, gpointer data)
@@ -746,11 +746,11 @@ void AboutDialog()
"GPL");
#ifdef MODIFIED_SOURCE
- AboutTextWithLink(vbox, _("\nThis program is <b>not the original</b>. It is based on the\n"
- "source code of dvdisaster, but contains third-party changes.\n\n"
+ AboutTextWithLink(vbox, _("\nThis version is <b>not the original</b>. It has been patched\n"
+ "for Debian to support DVD-ROMs (with and without encryption).\n\n"
"Please do not bother the original authors of dvdisaster\n"
- "([www.dvdisaster.org]) about issues with this version.\n"),
- "http://www.dvdisaster.org");
+ "but submit bugreports against the [debian package] instead.\n"),
+ "http://packages.qa.debian.org/dvdisaster");
#else
lang = g_getenv("LANG");

View File

@@ -0,0 +1,41 @@
From: Carlos Maddela <e7appew@gmail.com>
Date: Sun, 18 Dec 2016 23:05:03 +1100
Subject: Fix GNU Make detection.
Description: Fix GNU Make detection.
While the previous code works with earlier versions of bash, it doesn't
seem to work with bash 4.4.5. The redirection to /dev/null somehow causes
grep to return an error code of 2.
.
This change allows for more predictable behaviour: grep returns an
error code of 0 or 1.
Author: Carlos Maddela <e7appew@gmail.com>
Bug-Debian: https://bugs.debian.org/848811
Forwarded: no
Last-Update: 2016-12-18
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---
scripts/bash-based-configure | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/bash-based-configure b/scripts/bash-based-configure
index 6baffde..f1a8bd1 100644
--- a/scripts/bash-based-configure
+++ b/scripts/bash-based-configure
@@ -313,13 +313,13 @@ function REQUIRE_GMAKE()
echo -n "Checking for gmake: "
- if (gmake -v | grep "GNU Make") > /dev/null 2>&1 ;
+ if (gmake -v 2>&1 | grep "GNU Make") > /dev/null 2>&1 ;
then echo "yes"
echo "MAKE = `which gmake`" >>Makefile.config
return 0
fi;
- if (make -v | grep "GNU Make") > /dev/null 2>&1 ;
+ if (make -v 2>&1 | grep "GNU Make") > /dev/null 2>&1 ;
then echo "yes"
echo "MAKE = `which make`" >>Makefile.config
return 0

View File

@@ -0,0 +1,28 @@
From: Carlos Maddela <e7appew@gmail.com>
Date: Mon, 19 Dec 2016 03:40:41 +1100
Subject: Use non-size-specific icon and add keywords to desktop file.
Description: Use non-size-specific icon and add keywords to desktop file.
Author: Carlos Maddela <e7appew@gmail.com>
Forwarded: no
Last-Update: 2016-12-19
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---
contrib/dvdisaster.desktop | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/contrib/dvdisaster.desktop b/contrib/dvdisaster.desktop
index c7661ec..1f9926b 100644
--- a/contrib/dvdisaster.desktop
+++ b/contrib/dvdisaster.desktop
@@ -6,7 +6,8 @@ Comment=Additional error protection for CD/DVD media
Comment[cs]=Přídavná ochrana pro média CD/DVD
Comment[de]=Zusätzliche Fehlerkorrektur für CD/DVD
Exec=dvdisaster
-Icon=dvdisaster48.png
+Icon=dvdisaster
Terminal=false
Type=Application
Categories=Application;System;
+Keywords=CD;DVD;media;data loss;scratch;aging;error;protection;recovery;

51
debian/patches/11-no-cruft.patch vendored Normal file
View File

@@ -0,0 +1,51 @@
From: Carlos Maddela <e7appew@gmail.com>
Date: Mon, 19 Dec 2016 05:06:30 +1100
Subject: Do not install cruft.
Description: Do not install cruft.
Author: Carlos Maddela <e7appew@gmail.com>
Forwarded: not-needed
Last-Update: 2017-12-21
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---
GNUmakefile.template | 19 -------------------
1 file changed, 19 deletions(-)
diff --git a/GNUmakefile.template b/GNUmakefile.template
index 77a57bf..6fda92b 100644
--- a/GNUmakefile.template
+++ b/GNUmakefile.template
@@ -228,12 +228,6 @@ install: dvdisaster manual
install -d $(BUILDROOT)$(BINDIR)
install dvdisaster $(BUILDROOT)$(BINDIR)
install -d $(BUILDROOT)$(DOCSUBDIR)
- install -m 644 CHANGELOG $(BUILDROOT)$(DOCSUBDIR)
- install -m 644 COPYING $(BUILDROOT)$(DOCSUBDIR)
- install -m 644 CREDITS* $(BUILDROOT)$(DOCSUBDIR)
- install -m 644 README.MODIFYING $(BUILDROOT)$(DOCSUBDIR)
- install -m 644 TODO $(BUILDROOT)$(DOCSUBDIR)
- install -d $(BUILDROOT)$(DOCSUBDIR)
(cd documentation/user-manual; install -m 644 manual.pdf $(BUILDROOT)$(DOCSUBDIR))
install -d $(BUILDROOT)$(MANDIR)/man1
install -d $(BUILDROOT)$(MANDIR)/de/man1
@@ -251,19 +245,6 @@ install: dvdisaster manual
install -m 644 $$i/LC_MESSAGES/dvdisaster.mo $(BUILDROOT)$(LOCALEDIR)/$$i/LC_MESSAGES; \
done \
fi
- @echo "# dvdisaster uninstaller script" > $(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh
- @echo "# Usage: sh dvdisaster-uninstall.sh" >> $(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh
- @echo >> $(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh
- @echo "rm -f $(BINDIR)/dvdisaster $(BINDIR)/dvdisaster-uninstall.sh" >> $(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh
- @echo "rm -rf $(DOCSUBDIR)" >> $(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh
- @for i in $(PO_LOCALES); do \
- echo "rm $(LOCALEDIR)/$$i/LC_MESSAGES/dvdisaster.mo" >> $(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh ; \
- done
- @echo "rm -f $(MANDIR)/man1/dvdisaster.1" >> $(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh
- @for i in $(MAN_LOCALES); do \
- echo "rm $(MANDIR)/$$i/man1/dvdisaster.1" >> $(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh ; \
- done
- @echo "echo \"dvdisaster has been uninstalled.\"" >> $(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh
uninstall:
@echo "Uninstalling package..."

View File

@@ -0,0 +1,397 @@
From: Carlos Maddela <e7appew@gmail.com>
Date: Mon, 19 Dec 2016 06:03:48 +1100
Subject: Fix spelling: upto -> up to
Description: Fix spelling: upto -> up to
Author: Carlos Maddela <e7appew@gmail.com>
Forwarded: no
Last-Update: 2017-12-21
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---
debug.c | 2 +-
documentation/codec-specs/rs01.tex | 2 +-
documentation/codec-specs/rs02.tex | 2 +-
documentation/dvdisaster.en.1 | 4 ++--
documentation/user-manual/qa.tex | 2 +-
dvdisaster.c | 2 +-
dvdisaster.h | 4 ++--
locale/cs.po | 6 +++---
locale/de.po | 6 +++---
locale/it.po | 8 ++++----
locale/pt_BR.po | 10 +++++-----
locale/ru.po | 12 ++++++------
locale/sv.po | 6 +++---
preferences.c | 4 ++--
14 files changed, 35 insertions(+), 35 deletions(-)
diff --git a/debug.c b/debug.c
index b4a96d1..bd725d6 100644
--- a/debug.c
+++ b/debug.c
@@ -1023,7 +1023,7 @@ void RawSector(char *arg)
*
* ./dvdisaster --debug --send-cdb 12,00,00,00,24,00:24
*
- * The first six bytes make up the cdb; cdbs with upto 12 bytes are possible.
+ * The first six bytes make up the cdb; cdbs with up to 12 bytes are possible.
* The :24 arg is the allocation length.
* Note that the allocation length must match those specified in the cdb;
* differing values may crash the system.
diff --git a/documentation/codec-specs/rs01.tex b/documentation/codec-specs/rs01.tex
index ebb1ee5..a8c0d90 100644
--- a/documentation/codec-specs/rs01.tex
+++ b/documentation/codec-specs/rs01.tex
@@ -172,7 +172,7 @@ The $d_{i,j}$ denote the $i-th$ byte in the $j-th$ layer.
In order to create the first ecc block, bytes $d_{1,1}$ to $d_{1,n}$ are taken from the
$n$ layers. Then the RS(255,k) code is calculated (see appendix \ref{rs} for its parameters)
and the
-resulting $k$ parity bytes $e_{1,1}$ upto $e_{k,1}$ are stored
+resulting $k$ parity bytes $e_{1,1}$ up to $e_{k,1}$ are stored
in the ecc file. The resulting ecc block is marked grey in the
figure. The next ecc blocks are calculated and stored accordingly.
In total, the ecc section contains $k*ls$ bytes of parity information,
diff --git a/documentation/codec-specs/rs02.tex b/documentation/codec-specs/rs02.tex
index 69195a0..fb88384 100644
--- a/documentation/codec-specs/rs02.tex
+++ b/documentation/codec-specs/rs02.tex
@@ -133,7 +133,7 @@ Its format is described in appendix \ref{eh}. For RS02, only the data fields
marked with ``all'' or ``RS02'' are relevant; all other fields should be set to zero.
Data layer $n$ does also contain the CRC32 checksums of each data sector
-upto the ecc header. If the .iso image contains $s$ sectors,
+up to the ecc header. If the .iso image contains $s$ sectors,
then the CRC field contains $4s$ bytes, rounded up
to the nearest multiple of 2048.
CRC32 checksums are calculated over a whole CD sector comprising 2048 bytes.
diff --git a/documentation/dvdisaster.en.1 b/documentation/dvdisaster.en.1
index 3472012..d71abec 100644
--- a/documentation/dvdisaster.en.1
+++ b/documentation/dvdisaster.en.1
@@ -279,7 +279,7 @@ Selects between the sg (SG_IO) driver (default setting) and the
older cdrom (CDROM_SEND_PACKET) driver for accessing the optical drives.
Both drivers should work equally well; however the cdrom driver is known
to cause system failures on some ancient SCSI controllers.
-The older cdrom driver was the default upto and including dvdisaster 0.72.x;
+The older cdrom driver was the default up to and including dvdisaster 0.72.x;
if the now pre-selected sg driver changes something to the worse for you
please switch back to the older driver using \-\-driver=cdrom.
.TP
@@ -384,7 +384,7 @@ the uncorrected sector instead.
.RE
.TP
.B \-\-read-attempts n-m
-attempts n upto m reads of a defective sector.
+attempts n up to m reads of a defective sector.
.TP
.B \-\-read-medium n
read the whole medium up to n times.
diff --git a/documentation/user-manual/qa.tex b/documentation/user-manual/qa.tex
index a3465a8..d79ca4d 100644
--- a/documentation/user-manual/qa.tex
+++ b/documentation/user-manual/qa.tex
@@ -465,6 +465,6 @@ drive for reading images in these cases.}
\qa{``Ecc file has been created with version 0.40.7.''}
{Some developer versions of dvdisaster mark their ecc files with a special bit.
- This causes dvdisaster versions upto 0.65 to falsely display the above error
+ This causes dvdisaster versions up to 0.65 to falsely display the above error
message. Please use the developer versions only together with dvdisaster
0.66 or newer versions. }
diff --git a/dvdisaster.c b/dvdisaster.c
index 6742d99..6840fd5 100644
--- a/dvdisaster.c
+++ b/dvdisaster.c
@@ -930,7 +930,7 @@ int main(int argc, char *argv[])
PrintCLI(_(" --old-ds-marker - mark missing sectors compatible with dvdisaster <= 0.70\n"));
PrintCLI(_(" --prefetch-sectors n - prefetch n sectors for RS03 encoding (uses ~nMiB)\n"));
PrintCLI(_(" --raw-mode n - mode for raw reading CD media (20 or 21)\n"));
- PrintCLI(_(" --read-attempts n-m - attempts n upto m reads of a defective sector\n"));
+ PrintCLI(_(" --read-attempts n-m - attempts n up to m reads of a defective sector\n"));
PrintCLI(_(" --read-medium n - read the whole medium up to n times\n"));
PrintCLI(_(" --read-raw - performs read in raw mode if possible\n"));
PrintCLI(_(" --regtest - tweaks output for compatibility with regtests\n"));
diff --git a/dvdisaster.h b/dvdisaster.h
index 7fb980b..a466450 100644
--- a/dvdisaster.h
+++ b/dvdisaster.h
@@ -112,7 +112,7 @@
#define MAX_CODEC_THREADS 1024 /* not including IO and GUI */
#define MAX_OLD_CACHE_SIZE 8096 /* old cache for RS01/RS02 */
-#define MAX_PREFETCH_CACHE_SIZE (512*1024) /* upto 0.5TB RS03 */
+#define MAX_PREFETCH_CACHE_SIZE (512*1024) /* up to 0.5TB RS03 */
/* Choices for I/O strategy */
@@ -376,7 +376,7 @@ typedef struct _LargeFile
#define FINGERPRINT_SECTOR 16 /* Sector currently used to calculate the fingerprint. */
/* This is the ISO filesystem root sector which contains */
/* the volume label and creation time stamps. */
- /* Versions upto 0.64 used sector 257, */
+ /* Versions up to 0.64 used sector 257, */
/* but that was not a wise choice for CD media.*/
#define MFLAG_DEVEL (1<<0) /* for methodFlags[3] */
diff --git a/locale/cs.po b/locale/cs.po
index 3274de9..4f766a3 100644
--- a/locale/cs.po
+++ b/locale/cs.po
@@ -662,7 +662,7 @@ msgid " --raw-mode n - mode for raw reading CD media (20 or 21)\n"
msgstr " --raw-mode n - režim přímého čtení pro CD disky (20 nebo 21)\n"
#: dvdisaster.c:933
-msgid " --read-attempts n-m - attempts n upto m reads of a defective sector\n"
+msgid " --read-attempts n-m - attempts n up to m reads of a defective sector\n"
msgstr " --read-attempts n-m - zkusit n až m opakovaných čtení poškozeného sektoru\n"
#: dvdisaster.c:934
@@ -2014,7 +2014,7 @@ msgstr "Přečtení sektoru nezkoušet více než %d krát"
msgid ""
"<b>Maximum number of reading attempts</b>\n"
"\n"
-"When the minimum number of reading attempts is reached without success, dvdisaster might choose to perform additional reading attempts upto this number.\n"
+"When the minimum number of reading attempts is reached without success, dvdisaster might choose to perform additional reading attempts up to this number.\n"
"\n"
"The decision to do more attempts depends on the quality of data gathered so far, which in turn is influenced by the capabilities of your optical drive and the operating system. So depending on your configuration, you may or may not see dvdisaster using the maximum value."
msgstr ""
@@ -2086,7 +2086,7 @@ msgstr " krát"
msgid ""
"<b>Media read attempts</b> for the linear reading strategy\n"
"\n"
-"If unreadable sectors remain after reading the medium from start to end, the medium is read again upto he given number of times.\n"
+"If unreadable sectors remain after reading the medium from start to end, the medium is read again up to he given number of times.\n"
"\n"
"Only the missing sectors will be tried in the additional reading passes."
msgstr ""
diff --git a/locale/de.po b/locale/de.po
index b252c19..5b47778 100644
--- a/locale/de.po
+++ b/locale/de.po
@@ -704,7 +704,7 @@ msgid " --raw-mode n - mode for raw reading CD media (20 or 21)\n"
msgstr " --raw-mode n - \"raw-modus\" zum Lesen von CD (20 or 21)\n"
#: dvdisaster.c:933
-msgid " --read-attempts n-m - attempts n upto m reads of a defective sector\n"
+msgid " --read-attempts n-m - attempts n up to m reads of a defective sector\n"
msgstr " --read-attempts n-m - versucht beschädigten Sektor n bis m-mal zu lesen\n"
#: dvdisaster.c:934
@@ -2073,7 +2073,7 @@ msgstr "Höchstens %d Leseversuche pro Sektor"
msgid ""
"<b>Maximum number of reading attempts</b>\n"
"\n"
-"When the minimum number of reading attempts is reached without success, dvdisaster might choose to perform additional reading attempts upto this number.\n"
+"When the minimum number of reading attempts is reached without success, dvdisaster might choose to perform additional reading attempts up to this number.\n"
"\n"
"The decision to do more attempts depends on the quality of data gathered so far, which in turn is influenced by the capabilities of your optical drive and the operating system. So depending on your configuration, you may or may not see dvdisaster using the maximum value."
msgstr ""
@@ -2145,7 +2145,7 @@ msgstr " mal lesen"
msgid ""
"<b>Media read attempts</b> for the linear reading strategy\n"
"\n"
-"If unreadable sectors remain after reading the medium from start to end, the medium is read again upto he given number of times.\n"
+"If unreadable sectors remain after reading the medium from start to end, the medium is read again up to he given number of times.\n"
"\n"
"Only the missing sectors will be tried in the additional reading passes."
msgstr ""
diff --git a/locale/it.po b/locale/it.po
index efd3d27..f6e9dfd 100644
--- a/locale/it.po
+++ b/locale/it.po
@@ -629,7 +629,7 @@ msgid " --raw-mode n - mode for raw reading CD media (20 or 21)\n"
msgstr ""
#: dvdisaster.c:933
-msgid " --read-attempts n-m - attempts n upto m reads of a defective sector\n"
+msgid " --read-attempts n-m - attempts n up to m reads of a defective sector\n"
msgstr ""
#: dvdisaster.c:934
@@ -1838,7 +1838,7 @@ msgstr ""
msgid ""
"<b>Maximum number of reading attempts</b>\n"
"\n"
-"When the minimum number of reading attempts is reached without success, dvdisaster might choose to perform additional reading attempts upto this number.\n"
+"When the minimum number of reading attempts is reached without success, dvdisaster might choose to perform additional reading attempts up to this number.\n"
"\n"
"The decision to do more attempts depends on the quality of data gathered so far, which in turn is influenced by the capabilities of your optical drive and the operating system. So depending on your configuration, you may or may not see dvdisaster using the maximum value."
msgstr ""
@@ -1897,7 +1897,7 @@ msgstr ""
msgid ""
"<b>Media read attempts</b> for the linear reading strategy\n"
"\n"
-"If unreadable sectors remain after reading the medium from start to end, the medium is read again upto he given number of times.\n"
+"If unreadable sectors remain after reading the medium from start to end, the medium is read again up to he given number of times.\n"
"\n"
"Only the missing sectors will be tried in the additional reading passes."
msgstr ""
@@ -6086,7 +6086,7 @@ msgstr ""
#~ msgstr "Se potete verificate se la dimensione dell'immagine è corretta,\n"
#~ msgid ""
-#~ "please send in the whole dvdisaster output upto this line\n"
+#~ "please send in the whole dvdisaster output up to this line\n"
#~ "to have your drive included in the internal data base.\n"
#~ msgstr ""
#~ "Prego inviare l'intero output di dvdisaster fino a questa linea\n"
diff --git a/locale/pt_BR.po b/locale/pt_BR.po
index 21ea77b..86eda03 100644
--- a/locale/pt_BR.po
+++ b/locale/pt_BR.po
@@ -645,7 +645,7 @@ msgid " --raw-mode n - mode for raw reading CD media (20 or 21)\n"
msgstr " --raw-mode n - modo para leitura de mídia CD em modo raw (20 ou 21)\n"
#: dvdisaster.c:933
-msgid " --read-attempts n-m - attempts n upto m reads of a defective sector\n"
+msgid " --read-attempts n-m - attempts n up to m reads of a defective sector\n"
msgstr " --read-attempts n-m - tenta de n a m leituras em um setor defeituoso\n"
#: dvdisaster.c:934
@@ -1949,7 +1949,7 @@ msgstr "Máx. de %d tentativas de leitura por setor"
msgid ""
"<b>Maximum number of reading attempts</b>\n"
"\n"
-"When the minimum number of reading attempts is reached without success, dvdisaster might choose to perform additional reading attempts upto this number.\n"
+"When the minimum number of reading attempts is reached without success, dvdisaster might choose to perform additional reading attempts up to this number.\n"
"\n"
"The decision to do more attempts depends on the quality of data gathered so far, which in turn is influenced by the capabilities of your optical drive and the operating system. So depending on your configuration, you may or may not see dvdisaster using the maximum value."
msgstr ""
@@ -2021,7 +2021,7 @@ msgstr " vezes"
msgid ""
"<b>Media read attempts</b> for the linear reading strategy\n"
"\n"
-"If unreadable sectors remain after reading the medium from start to end, the medium is read again upto he given number of times.\n"
+"If unreadable sectors remain after reading the medium from start to end, the medium is read again up to he given number of times.\n"
"\n"
"Only the missing sectors will be tried in the additional reading passes."
msgstr ""
@@ -6482,7 +6482,7 @@ msgstr "<i>Novidades dessa versão:</i>"
#~ " --internal-rereads n - drive may attempt n rereads before reporting an error\n"
#~ " --query-size n - query drive/udf/ecc for image size (default: ecc)\n"
#~ " --raw-mode n - mode for raw reading CD media (20 or 21)\n"
-#~ " --read-attempts n-m - attempts n upto m reads of a defective sector\n"
+#~ " --read-attempts n-m - attempts n up to m reads of a defective sector\n"
#~ " --read-medium n - read the whole medium up to n times\n"
#~ " --read-raw - performs read in raw mode if possible\n"
#~ " --speed-warning n - print warning if speed changes by more than n percent\n"
@@ -6501,7 +6501,7 @@ msgstr "<i>Novidades dessa versão:</i>"
#~ msgid ""
#~ "<b>File splitting</b>\n"
#~ "\n"
-#~ "Allows working with file systems which are limited to 2GB per file, e.g. FAT from Windows. Created files are spread over upto 100 segments called \"medium00.iso\", \"medium01.iso\" etc. at the cost of a small performance hit."
+#~ "Allows working with file systems which are limited to 2GB per file, e.g. FAT from Windows. Created files are spread over up to 100 segments called \"medium00.iso\", \"medium01.iso\" etc. at the cost of a small performance hit."
#~ msgstr ""
#~ "<b>Separação de arquivos</b>\n"
#~ "\n"
diff --git a/locale/ru.po b/locale/ru.po
index 767f906..7984c59 100644
--- a/locale/ru.po
+++ b/locale/ru.po
@@ -644,7 +644,7 @@ msgid " --raw-mode n - mode for raw reading CD media (20 or 21)\n"
msgstr " --raw-mode n - режим для низкоуровневого чтения CD-носителей (20 или 21)\n"
#: dvdisaster.c:933
-msgid " --read-attempts n-m - attempts n upto m reads of a defective sector\n"
+msgid " --read-attempts n-m - attempts n up to m reads of a defective sector\n"
msgstr " --read-attempts n-m - делается от n до m попыток чтения поврежденного сектора\n"
#: dvdisaster.c:934
@@ -1952,7 +1952,7 @@ msgstr "Макс. %d попыток чтения на сектор"
msgid ""
"<b>Maximum number of reading attempts</b>\n"
"\n"
-"When the minimum number of reading attempts is reached without success, dvdisaster might choose to perform additional reading attempts upto this number.\n"
+"When the minimum number of reading attempts is reached without success, dvdisaster might choose to perform additional reading attempts up to this number.\n"
"\n"
"The decision to do more attempts depends on the quality of data gathered so far, which in turn is influenced by the capabilities of your optical drive and the operating system. So depending on your configuration, you may or may not see dvdisaster using the maximum value."
msgstr ""
@@ -2024,7 +2024,7 @@ msgstr " раз"
msgid ""
"<b>Media read attempts</b> for the linear reading strategy\n"
"\n"
-"If unreadable sectors remain after reading the medium from start to end, the medium is read again upto he given number of times.\n"
+"If unreadable sectors remain after reading the medium from start to end, the medium is read again up to he given number of times.\n"
"\n"
"Only the missing sectors will be tried in the additional reading passes."
msgstr ""
@@ -6543,7 +6543,7 @@ msgstr "<i>Новое в этой версии:</i>"
#~ " --internal-rereads n - drive may attempt n rereads before reporting an error\n"
#~ " --query-size n - query drive/udf/ecc for image size (default: ecc)\n"
#~ " --raw-mode n - mode for raw reading CD media (20 or 21)\n"
-#~ " --read-attempts n-m - attempts n upto m reads of a defective sector\n"
+#~ " --read-attempts n-m - attempts n up to m reads of a defective sector\n"
#~ " --read-medium n - read the whole medium up to n times\n"
#~ " --read-raw - performs read in raw mode if possible\n"
#~ " --speed-warning n - print warning if speed changes by more than n percent\n"
@@ -6560,7 +6560,7 @@ msgstr "<i>Новое в этой версии:</i>"
#~ msgid ""
#~ "<b>File splitting</b>\n"
#~ "\n"
-#~ "Allows working with file systems which are limited to 2GB per file, e.g. FAT from Windows. Created files are spread over upto 100 segments called \"medium00.iso\", \"medium01.iso\" etc. at the cost of a small performance hit."
+#~ "Allows working with file systems which are limited to 2GB per file, e.g. FAT from Windows. Created files are spread over up to 100 segments called \"medium00.iso\", \"medium01.iso\" etc. at the cost of a small performance hit."
#~ msgstr ""
#~ "<b>Разбиение файлов</b>\n"
#~ "\n"
@@ -6606,7 +6606,7 @@ msgstr "<i>Новое в этой версии:</i>"
#~ " --internal-rereads n - drive may attempt n rereads before reporting an error\n"
#~ " --query-size n - query drive/udf/ecc for image size (default: ecc)\n"
#~ " --raw-mode n - mode for raw reading CD media (20 or 21)\n"
-#~ " --read-attempts n-m - attempts n upto m reads of a defective sector\n"
+#~ " --read-attempts n-m - attempts n up to m reads of a defective sector\n"
#~ " --read-medium n - read the whole medium up to n times\n"
#~ " --read-raw - performs read in raw mode if possible\n"
#~ " --speed-warning n - print warning if speed changes by more than n percent\n"
diff --git a/locale/sv.po b/locale/sv.po
index 548e2e5..c74a942 100644
--- a/locale/sv.po
+++ b/locale/sv.po
@@ -630,7 +630,7 @@ msgid " --raw-mode n - mode for raw reading CD media (20 or 21)\n"
msgstr ""
#: dvdisaster.c:933
-msgid " --read-attempts n-m - attempts n upto m reads of a defective sector\n"
+msgid " --read-attempts n-m - attempts n up to m reads of a defective sector\n"
msgstr ""
#: dvdisaster.c:934
@@ -1844,7 +1844,7 @@ msgstr ""
msgid ""
"<b>Maximum number of reading attempts</b>\n"
"\n"
-"When the minimum number of reading attempts is reached without success, dvdisaster might choose to perform additional reading attempts upto this number.\n"
+"When the minimum number of reading attempts is reached without success, dvdisaster might choose to perform additional reading attempts up to this number.\n"
"\n"
"The decision to do more attempts depends on the quality of data gathered so far, which in turn is influenced by the capabilities of your optical drive and the operating system. So depending on your configuration, you may or may not see dvdisaster using the maximum value."
msgstr ""
@@ -1903,7 +1903,7 @@ msgstr ""
msgid ""
"<b>Media read attempts</b> for the linear reading strategy\n"
"\n"
-"If unreadable sectors remain after reading the medium from start to end, the medium is read again upto he given number of times.\n"
+"If unreadable sectors remain after reading the medium from start to end, the medium is read again up to he given number of times.\n"
"\n"
"Only the missing sectors will be tried in the additional reading passes."
msgstr ""
diff --git a/preferences.c b/preferences.c
index 70afa02..4899317 100644
--- a/preferences.c
+++ b/preferences.c
@@ -2221,7 +2221,7 @@ void CreatePreferencesWindow(void)
_("<b>Maximum number of reading attempts</b>\n\n"
"When the minimum number of reading attempts is reached "
"without success, dvdisaster might choose to perform additional "
- "reading attempts upto this number.\n\n"
+ "reading attempts up to this number.\n\n"
"The decision to do more attempts depends on the quality of "
"data gathered so far, which in turn is influenced by the "
@@ -2336,7 +2336,7 @@ void CreatePreferencesWindow(void)
AddHelpParagraph(lwoh,
_("<b>Media read attempts</b> for the linear reading strategy\n\n"
"If unreadable sectors remain after reading the medium from start to end, "
- "the medium is read again upto he given number of times.\n\n"
+ "the medium is read again up to he given number of times.\n\n"
"Only the missing sectors will be tried in the additional reading passes."));
/** Defective sector caching */

View File

@@ -0,0 +1,41 @@
From: Carlos Maddela <e7appew@gmail.com>
Date: Mon, 19 Dec 2016 07:04:02 +1100
Subject: Fix missing language fields in PO files.
Description: Fix missing language fields in PO files.
Author: Carlos Maddela <e7appew@gmail.com>
Forwarded: no
Last-Update: 2017-01-05
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---
locale/pt_BR.po | 2 +-
locale/ru.po | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/locale/pt_BR.po b/locale/pt_BR.po
index 86eda03..f3437f3 100644
--- a/locale/pt_BR.po
+++ b/locale/pt_BR.po
@@ -11,7 +11,7 @@ msgstr ""
"PO-Revision-Date: 2010-06-09 11:13+0200\n"
"Last-Translator: cg <cg@dvdisaster.org>\n"
"Language-Team: Portuguese\n"
-"Language: \n"
+"Language: pt_BR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
diff --git a/locale/ru.po b/locale/ru.po
index 7984c59..1bc7324 100644
--- a/locale/ru.po
+++ b/locale/ru.po
@@ -13,7 +13,7 @@ msgstr ""
"PO-Revision-Date: 2009-07-23 08:11+0300\n"
"Last-Translator: Igor Gorbounov <igor.gorbounov@gmail.com>\n"
"Language-Team: Russian\n"
-"Language: \n"
+"Language: ru\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

View File

@@ -0,0 +1,128 @@
From: Carlos Maddela <e7appew@gmail.com>
Date: Mon, 19 Dec 2016 09:39:49 +1100
Subject: Make builds reproducible.
Description: Make builds reproducible.
Use the Debian changelog details to derive a build number and date,
so that we can make reproducible binaries.
Author: Carlos Maddela <e7appew@gmail.com>
Forwarded: not-needed
Last-Update: 2017-08-14
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---
build.c | 2 +-
closure.c | 2 +-
dvdisaster.h | 2 +-
locale/cs.po | 4 ++--
locale/pt_BR.po | 4 ++--
locale/ru.po | 4 ++--
scripts/time-stamper.bash | 8 ++++----
7 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/build.c b/build.c
index 0e99b22..65b17cd 100644
--- a/build.c
+++ b/build.c
@@ -25,4 +25,4 @@
/* build is incremented at each make;
make recompile of dependent file as fast as possible */
-int buildCount = BUILD;
+const char *const buildCount = BUILD;
diff --git a/closure.c b/closure.c
index 58ba86f..d633d53 100644
--- a/closure.c
+++ b/closure.c
@@ -442,7 +442,7 @@ void InitClosure()
#define BITNESS_STRING ""
#endif
- Closure->versionString = g_strdup_printf("dvdisaster %s build %d, %s%s",
+ Closure->versionString = g_strdup_printf("dvdisaster %s build %s, %s%s",
Closure->cookedVersion, buildCount, SYS_NAME, BITNESS_STRING);
/* Replace the dot with a locale-resistant separator */
diff --git a/dvdisaster.h b/dvdisaster.h
index a466450..9acd094 100644
--- a/dvdisaster.h
+++ b/dvdisaster.h
@@ -463,7 +463,7 @@ void FreeBitmap(Bitmap*);
*** build.h
***/
-int buildCount;
+extern const char *const buildCount;
/***
*** cacheprobe.h
diff --git a/locale/cs.po b/locale/cs.po
index 4f766a3..453ec07 100644
--- a/locale/cs.po
+++ b/locale/cs.po
@@ -6511,11 +6511,11 @@ msgstr "<i>Novinky v této verzi:</i>"
#~ msgid ""
#~ "\n"
-#~ "dvdisaster version %s build %d\n"
+#~ "dvdisaster version %s build %s\n"
#~ "\n"
#~ msgstr ""
#~ "\n"
-#~ "dvdisaster verze %s sestavení %d\n"
+#~ "dvdisaster verze %s sestavení %s\n"
#~ "\n"
#~ msgid "--prefetch-sectors must be in range 32...8096"
diff --git a/locale/pt_BR.po b/locale/pt_BR.po
index f3437f3..f7f6af0 100644
--- a/locale/pt_BR.po
+++ b/locale/pt_BR.po
@@ -6232,11 +6232,11 @@ msgstr "<i>Novidades dessa versão:</i>"
#~ msgid ""
#~ "\n"
-#~ "dvdisaster version %s build %d\n"
+#~ "dvdisaster version %s build %s\n"
#~ "\n"
#~ msgstr ""
#~ "\n"
-#~ "dvdisaster, versão %s build %d\n"
+#~ "dvdisaster, versão %s build %s\n"
#~ msgid "--cache-size maximum is 8192MiB."
#~ msgstr "--cache-size máximo é 8192MiB."
diff --git a/locale/ru.po b/locale/ru.po
index 1bc7324..9625a1f 100644
--- a/locale/ru.po
+++ b/locale/ru.po
@@ -6247,11 +6247,11 @@ msgstr "<i>Новое в этой версии:</i>"
#~ msgid ""
#~ "\n"
-#~ "dvdisaster version %s build %d\n"
+#~ "dvdisaster version %s build %s\n"
#~ "\n"
#~ msgstr ""
#~ "\n"
-#~ "dvdisaster версия %s сборка %d\n"
+#~ "dvdisaster версия %s сборка %s\n"
#~ "\n"
#~ msgid "--cache-size maximum is 8192MiB."
diff --git a/scripts/time-stamper.bash b/scripts/time-stamper.bash
index fd28794..4ec3e60 100755
--- a/scripts/time-stamper.bash
+++ b/scripts/time-stamper.bash
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
-build=$(grep BUILD $1 | cut -d\ -f3)
-build=$((build+1))
-echo "#define BUILD $build" >$1
-date=$(date +"%d.%m.%y (%A, %H:%M)")
+# Use Debian changelog details to derive build number and date.
+build=$(echo "${DEB_VERSION}" | cut -f2 -d-)
+echo "#define BUILD \"$build\"" >$1
+date=$(date --date="@${SOURCE_DATE_EPOCH}" --utc +"%d.%m.%y (%A, %H:%M)")
echo "#define BDATE \"$date\"" >>$1

View File

@@ -0,0 +1,28 @@
From: Carlos Maddela <e7appew@gmail.com>
Date: Mon, 19 Dec 2016 12:02:51 +1100
Subject: Update help dialog to show link to the new Debian package tracker.
Description: Update help dialog to show link to the new Debian
package tracker.
Author: Carlos Maddela <e7appew@gmail.com>
Forwarded: not-needed
Last-Update: 2016-12-19
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---
help-dialogs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/help-dialogs.c b/help-dialogs.c
index 758ac19..47551f7 100644
--- a/help-dialogs.c
+++ b/help-dialogs.c
@@ -750,7 +750,7 @@ void AboutDialog()
"for Debian to support DVD-ROMs (with and without encryption).\n\n"
"Please do not bother the original authors of dvdisaster\n"
"but submit bugreports against the [debian package] instead.\n"),
- "http://packages.qa.debian.org/dvdisaster");
+ "https://tracker.debian.org/pkg/dvdisaster");
#else
lang = g_getenv("LANG");

View File

@@ -0,0 +1,33 @@
From: Carlos Maddela <e7appew@gmail.com>
Date: Thu, 22 Dec 2016 02:20:30 +1100
Subject: Don't build and install documentation automatically.
Description: Don't build and install documentation automatically.
This allows for better control over binary-arch and binary-indep builds.
Author: Carlos Maddela <e7appew@gmail.com>
Forwarded: not-needed
Last-Update: 2017-01-05
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---
GNUmakefile.template | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/GNUmakefile.template b/GNUmakefile.template
index 6fda92b..d9bef11 100644
--- a/GNUmakefile.template
+++ b/GNUmakefile.template
@@ -223,12 +223,11 @@ show:
.PHONY : install uninstall clean distclean arch
.PHONY : srcdist
-install: dvdisaster manual
+install: dvdisaster
@echo "Installing package..."
install -d $(BUILDROOT)$(BINDIR)
install dvdisaster $(BUILDROOT)$(BINDIR)
install -d $(BUILDROOT)$(DOCSUBDIR)
- (cd documentation/user-manual; install -m 644 manual.pdf $(BUILDROOT)$(DOCSUBDIR))
install -d $(BUILDROOT)$(MANDIR)/man1
install -d $(BUILDROOT)$(MANDIR)/de/man1
cd documentation; \

View File

@@ -0,0 +1,244 @@
From: Carlos Maddela <e7appew@gmail.com>
Date: Thu, 22 Dec 2016 11:19:20 +1100
Subject: Fix all warnings except for those related to deprecated API.
Description: Fix all warnings except for those related to deprecated API.
Author: Carlos Maddela <e7appew@gmail.com>
Bug-Debian: https://bugs.debian.org/748416
Forwarded: no
Last-Update: 2017-12-21
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---
closure.c | 2 +-
menubar.c | 2 +-
rs03-create.c | 24 ++++++++++++------------
rs03-fix.c | 8 ++++----
scsi-layer.c | 4 ++++
smart-lec.c | 10 +++++-----
6 files changed, 27 insertions(+), 23 deletions(-)
diff --git a/closure.c b/closure.c
index d633d53..fa52f09 100644
--- a/closure.c
+++ b/closure.c
@@ -196,7 +196,7 @@ void ReadDotfile()
/* Get first MAX_LINE_LEN bytes of line, discard the rest */
line[MAX_LINE_LEN-1] = 1;
- fgets(line, MAX_LINE_LEN, dotfile);
+ if(!fgets(line, MAX_LINE_LEN, dotfile)) break;
if(!line[MAX_LINE_LEN-1]) /* line longer than buffer */
while(!feof(dotfile) && fgetc(dotfile) != '\n')
;
diff --git a/menubar.c b/menubar.c
index 94d462b..ee24ebe 100644
--- a/menubar.c
+++ b/menubar.c
@@ -414,7 +414,7 @@ void set_path(GtkWidget *entry, char *path)
else
{ char buf[PATH_MAX + strlen(path) + 2];
- getcwd(buf, PATH_MAX);
+ if(!getcwd(buf, PATH_MAX)) return;
strcat(buf,"/");
strcat(buf,path);
diff --git a/rs03-create.c b/rs03-create.c
index 71460ef..9c7265d 100644
--- a/rs03-create.c
+++ b/rs03-create.c
@@ -31,9 +31,9 @@
//#define VERBOSE 1
#ifdef VERBOSE
- #define verbose(format,args...) printf(format, ## args)
+ #define verbose(format,...) printf(format, __VA_ARGS__)
#else
- #define verbose(format,args...)
+ #define verbose(format,...)
#endif
#ifdef HAVE_MMAP
@@ -714,7 +714,7 @@ static void flush_crc(ecc_closure *ec, LargeFile *file_out)
/* Write out the CRC layer */
- verbose("IO: writing CRC layer\n");
+ verbose("%s", "IO: writing CRC layer\n");
crc_sect = 2048*(ec->encoderChunk+lay->firstCrcPos);
if(!LargeSeek(file_out, crc_sect))
{ ec->abortImmediately = TRUE;
@@ -735,7 +735,7 @@ static void flush_parity(ecc_closure *ec, LargeFile *file_out)
/* Write out the created parity. */
- verbose("IO: writing parity...\n");
+ verbose("%s", "IO: writing parity...\n");
for(k=0; k<lay->nroots; k++)
{ gint64 idx=0;
@@ -752,7 +752,7 @@ static void flush_parity(ecc_closure *ec, LargeFile *file_out)
}
}
}
- verbose("IO: parity written.\n");
+ verbose("%s", "IO: parity written.\n");
}
static gpointer io_thread(ecc_closure *ec)
@@ -767,7 +767,7 @@ static gpointer io_thread(ecc_closure *ec)
int parity_available = 0;
int i;
- verbose("Reader thread initializing\n");
+ verbose("%s", "Reader thread initializing\n");
/*** Allocate local parity buffer aligned at 128bit boundary */
@@ -835,7 +835,7 @@ static gpointer io_thread(ecc_closure *ec)
{ read_next_chunk(ec, chunk);
// flush_crc(ec, file_out); // FIXME
needs_preload = 0;
- verbose("IO: first chunk loaded\n");
+ verbose("%s", "IO: first chunk loaded\n");
continue;
}
@@ -882,7 +882,7 @@ static gpointer io_thread(ecc_closure *ec)
g_mutex_lock(ec->lock);
cpu_bound = ec->buffersToEncode;
while(ec->buffersToEncode)
- { verbose("IO: Waiting for encoders to finish\n");
+ { verbose("%s", "IO: Waiting for encoders to finish\n");
g_cond_wait(ec->ioCond, ec->lock);
}
g_mutex_unlock(ec->lock);
@@ -924,7 +924,7 @@ static gpointer io_thread(ecc_closure *ec)
ec->slicesFree = TRUE; /* we have saved the slices; go ahead */
g_cond_broadcast(ec->ioCond);
while(ec->buffersToEncode)
- { verbose("IO: Waiting for encoders to finish last chunk\n");
+ { verbose("%s", "IO: Waiting for encoders to finish last chunk\n");
g_cond_wait(ec->ioCond, ec->lock);
}
g_mutex_unlock(ec->lock);
@@ -937,7 +937,7 @@ static gpointer io_thread(ecc_closure *ec)
flush_crc(ec, file_out);
flush_parity(ec, file_out);
- verbose("IO: finished\n"); fflush(stdout);
+ verbose("%s", "IO: finished\n"); fflush(stdout);
return NULL;
}
@@ -1123,7 +1123,7 @@ static gpointer encoder_thread(ecc_closure *ec)
ec->buffersToEncode-=enc_size;
if(!ec->buffersToEncode)
{ g_cond_broadcast(ec->ioCond);
- verbose("ENC: processed last buffer; telling IO process.\n");
+ verbose("%s", "ENC: processed last buffer; telling IO process.\n");
fflush(stdout);
}
g_mutex_unlock(ec->lock);
@@ -1223,7 +1223,7 @@ static void create_reed_solomon(ecc_closure *ec)
verbose("SCHED: joined with worker %d\n", i);
fflush(stdout);
}
- verbose("SCHED: scheduler finished.\n");
+ verbose("%s", "SCHED: scheduler finished.\n");
}
/***
diff --git a/rs03-fix.c b/rs03-fix.c
index 7afb6d6..19b9322 100644
--- a/rs03-fix.c
+++ b/rs03-fix.c
@@ -829,10 +829,10 @@ void RS03Fix(Image *image)
if we were processing an augmented image. */
if(lay->target == ECC_FILE && i >= ndata-1)
- {
- if(!LargeSeek(image->eccFile, (gint64)(2048*sec)))
- Stop(_("Failed seeking to sector %lld in ecc file [%s]: %s"),
- sec, "FW", strerror(errno));
+ {
+ if(!LargeSeek(image->eccFile, (gint64)(2048*sec)))
+ Stop(_("Failed seeking to sector %lld in ecc file [%s]: %s"),
+ sec, "FW", strerror(errno));
n = LargeWrite(image->eccFile, cache_offset+fc->imgBlock[i], 2048);
if(n != 2048)
diff --git a/scsi-layer.c b/scsi-layer.c
index b3a9d0e..f8d2112 100644
--- a/scsi-layer.c
+++ b/scsi-layer.c
@@ -31,7 +31,9 @@
static int query_type(DeviceHandle*, int);
static gint64 query_size(Image*);
+#if 0
static int query_copyright(DeviceHandle*);
+#endif
static int read_dvd_sector(DeviceHandle*, unsigned char*, int, int);
static int read_cd_sector(DeviceHandle*, unsigned char*, int, int);
@@ -1649,6 +1651,7 @@ reset_mode_page:
* Find out whether we are allowed to create an image from the DVD.
*/
+#if 0
static int query_copyright(DeviceHandle *dh)
{ Sense sense;
AlignedBuffer *ab = CreateAlignedBuffer(2048);
@@ -1709,6 +1712,7 @@ static int query_copyright(DeviceHandle *dh)
return result;
}
+#endif
/*
* See whether a sector lies within the user area.
diff --git a/smart-lec.c b/smart-lec.c
index 02b9c49..944b70d 100644
--- a/smart-lec.c
+++ b/smart-lec.c
@@ -27,9 +27,9 @@
#define VERBOSE 1
#ifdef VERBOSE
- #define verbose(format,args...) printf(format, ## args)
+ #define verbose(format,...) printf(format, __VA_ARGS__)
#else
- #define verbose(format,args...)
+ #define verbose(format,...)
#endif
/***
@@ -432,7 +432,7 @@ static void update_pq_state(sh_context *shc)
static void print_pq_state(sh_context *shc)
{ int i;
- verbose("PQ states: \n");
+ verbose("%s", "PQ states: \n");
for(i=0; i<N_P_VECTORS; i++)
{ if(shc->pState[i] == 1)
@@ -1354,7 +1354,7 @@ static void swap_p_for_new_improvement(sh_context *shc)
count++;
if(count < 2)
- { verbose(" pruned");
+ { verbose("%s", " pruned");
goto decrement;
}
@@ -1417,7 +1417,7 @@ decrement:
if(index >= n_q) break;
selection[index]=0;
- verbose("\n");
+ verbose("%s", "\n");
}
}
}

View File

@@ -0,0 +1,30 @@
From: Carlos Maddela <e7appew@gmail.com>
Date: Wed, 21 Dec 2016 07:25:17 +1100
Subject: Update copyright notice in about dialog.
Description: Update copyright notice in about dialog.
Author: Carlos Maddela <e7appew@gmail.com>
Forwarded: not-needed
Last-Update: 2017-12-21
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---
help-dialogs.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/help-dialogs.c b/help-dialogs.c
index 47551f7..3f94920 100644
--- a/help-dialogs.c
+++ b/help-dialogs.c
@@ -723,8 +723,9 @@ void AboutDialog()
g_free(text);
#ifdef MODIFIED_SOURCE
- AboutTextWithLink(vbox,
- _("Modified version Copyright 2017 (please fill in - [directions])\n"
+ AboutTextWithLink(vbox,
+ _("[Modified version]\n"
+ "Copyright 2005-2017 Debian Optical Media Tools Team\n"
"Copyright 2004-2017 Carsten Gnoerlich"),
"MODIFYING");
#else

View File

@@ -0,0 +1,43 @@
From: Carlos Maddela <e7appew@gmail.com>
Date: Wed, 21 Dec 2016 09:08:05 +1100
Subject: Allow ShowTextFile() to work with absolute path names.
Description: Allow ShowTextFile() to work with absolute path names.
Author: Carlos Maddela <e7appew@gmail.com>
Forwarded: no
Last-Update: 2016-12-21
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---
help-dialogs.c | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/help-dialogs.c b/help-dialogs.c
index 3f94920..d893d33 100644
--- a/help-dialogs.c
+++ b/help-dialogs.c
@@ -423,6 +423,24 @@ char *find_file(char *file, size_t *size, char *lang)
lang_suffix[1] = lang[1];
}
+ /* Test for absolute path first. */
+ if(*file == '/')
+ {
+ if(lang)
+ path = g_strdup_printf("%s.%s", file, lang_suffix);
+ else
+ path = g_strdup(file);
+
+ if(LargeStat(path, &stat_size))
+ {
+ *size = stat_size;
+ return path;
+ }
+
+ g_free(path);
+ return NULL;
+ }
+
/* Try file in bin dir */
if(Closure->binDir)

View File

@@ -0,0 +1,46 @@
From: Carlos Maddela <e7appew@gmail.com>
Date: Wed, 21 Dec 2016 09:59:58 +1100
Subject: Fix display of changelog, credits and to-do files.
Description: Fix display of changelog, credits and to-do files.
Use absolute paths to compensate for the fact that we don't install
duplicates in /usr/share/doc/dvdisaster-doc or build with source
path embedded anymore.
Author: Carlos Maddela <e7appew@gmail.com>
Forwarded: not-needed
Last-Update: 2017-01-05
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---
menubar.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/menubar.c b/menubar.c
index ee24ebe..4a9f470 100644
--- a/menubar.c
+++ b/menubar.c
@@ -126,21 +126,21 @@ static void menu_cb(GtkWidget *widget, gpointer data)
ShowTextfile(_("windowtitle|Change log"),
_("<big>Change log</big>\n"
"<i>Major differences from earlier program versions.</i>"),
- "CHANGELOG", NULL, NULL);
+ "/usr/share/doc/dvdisaster/CHANGELOG", NULL, NULL);
break;
case MENU_HELP_CREDITS:
ShowTextfile(_("windowtitle|Credits"),
_("<big>Credits</big>\n"
"<i>Thanks go out to...</i>"),
- "CREDITS", NULL, NULL);
+ "/usr/share/doc/dvdisaster/CREDITS", NULL, NULL);
break;
case MENU_HELP_TODO:
ShowTextfile(_("windowtitle|To do list"),
_("<big>To do list</big>\n"
"<i>A sneak preview of coming features ... perhaps ;-)</i>"),
- "TODO", NULL, NULL);
+ "/usr/share/doc/dvdisaster/TODO", NULL, NULL);
break;
default:

View File

@@ -0,0 +1,31 @@
From: Carlos Maddela <e7appew@gmail.com>
Date: Wed, 4 Jan 2017 03:55:58 +1100
Subject: Fix FTBFS for hurd-i386.
Description: Fix FTBFS for hurd-i386.
Hurd does not have path length restrictions, so doesn't define
PATH_MAX. Assuming a PATH_MAX of 4096 as a quick workaround.
Author: Carlos Maddela <e7appew@gmail.com>
Forwarded: no
Last-Update: 2017-01-04
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---
menubar.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/menubar.c b/menubar.c
index 4a9f470..8330edb 100644
--- a/menubar.c
+++ b/menubar.c
@@ -24,6 +24,10 @@
#include <limits.h>
+#ifndef PATH_MAX
+ #define PATH_MAX 4096
+#endif
+
/***
*** Forward declarations
***/

View File

@@ -0,0 +1,32 @@
From: Corey Wright <undefined@pobox.com>
Date: Sat, 24 Sep 2016 14:16:10 -0500
Subject: Add support for BD-ROM media-type.
Description: Add support for BD-ROM media-type.
The attached patch adds support to dvdisaster for the BD-ROM
media-type. This allows dvdisaster to scan and read (ie create ISO
images of) BD-ROM media.
Author: Corey Write <undefined@pobox.com>
Origin: other, https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=849518;filename=dvdisaster-add_bdrom_support.patch;msg=5
Bug-Debian: https://bugs.debian.org/849518
Forwarded: no
Last-Update: 2016-12-27
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---
scsi-layer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scsi-layer.c b/scsi-layer.c
index f8d2112..50f6c4c 100644
--- a/scsi-layer.c
+++ b/scsi-layer.c
@@ -1029,7 +1029,7 @@ static int query_bd(DeviceHandle *dh, int probe_only)
if(!strncmp((char*)&buf[4+8], "BDO", 3))
{ dh->typeDescr = g_strdup("BD-ROM");
- dh->subType = UNSUPPORTED;
+ dh->subType = BD;
}
if(!strncmp((char*)&buf[4+8], "BDW", 3))

View File

@@ -0,0 +1,27 @@
From: Carlos Maddela <e7appew@gmail.com>
Date: Thu, 5 Jan 2017 14:36:27 +1100
Subject: Update help dialog to show GPL-3 license.
Description: Update help dialog to show GPL-3 license.
Author: Carlos Maddela <e7appew@gmail.com>
Forwarded: not-needed
Last-Update: 2017-01-05
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---
help-dialogs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/help-dialogs.c b/help-dialogs.c
index d893d33..75a615e 100644
--- a/help-dialogs.c
+++ b/help-dialogs.c
@@ -403,7 +403,7 @@ void ShowGPL()
ShowTextfile(_("windowtitle|GNU General Public License"),
_("<big>GNU General Public License</big>\n"
"<i>The license terms of dvdisaster.</i>"),
- "/usr/share/common-licenses/GPL-2", NULL, NULL);
+ "/usr/share/common-licenses/GPL-3", NULL, NULL);
}
/*

32
debian/patches/25-fix-man-pages.patch vendored Normal file
View File

@@ -0,0 +1,32 @@
From: Carlos Maddela <e7appew@gmail.com>
Date: Thu, 5 Jan 2017 18:51:49 +1100
Subject: Fix generated man pages.
Description: Fix generated man pages.
The generated man pages incorrectly direct users to the directory of
the old HTML documentation, which is no longer available.
Author: Carlos Maddela <e7appew@gmail.com>
Forwarded: no
Last-Update: 2016-12-21
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---
GNUmakefile.template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/GNUmakefile.template b/GNUmakefile.template
index d9bef11..d80932d 100644
--- a/GNUmakefile.template
+++ b/GNUmakefile.template
@@ -232,9 +232,9 @@ install: dvdisaster
install -d $(BUILDROOT)$(MANDIR)/de/man1
cd documentation; \
ESCAPED_DOCSUBDIR=`echo $(DOCSUBDIR) | sed -e 's/\//\\\\\//g'`; \
- sed "s/%docdir%/$$ESCAPED_DOCSUBDIR\/html/" <dvdisaster.en.1 >dvdisaster.updated; \
+ sed "s/%docdir%/$$ESCAPED_DOCSUBDIR/" <dvdisaster.en.1 >dvdisaster.updated; \
install -m 644 dvdisaster.updated $(BUILDROOT)$(MANDIR)/man1/dvdisaster.1; \
- sed "s/%docdir%/$$ESCAPED_DOCSUBDIR\/html/" <dvdisaster.de.1 >dvdisaster.updated; \
+ sed "s/%docdir%/$$ESCAPED_DOCSUBDIR/" <dvdisaster.de.1 >dvdisaster.updated; \
install -m 644 dvdisaster.updated $(BUILDROOT)$(MANDIR)/de/man1/dvdisaster.1; \
rm dvdisaster.updated
if echo $(WITH_OPTIONS) | grep "NLS_YES" >/dev/null; then \

View File

@@ -0,0 +1,47 @@
From: Carlos Maddela <e7appew@gmail.com>
Date: Thu, 5 Jan 2017 18:59:30 +1100
Subject: Fix display of manual.pdf.
Description: Fix display of manual.pdf.
The PDF file is automatically compressed by Debhelper, so we need to
account for this.
Author: Carlos Maddela <e7appew@gmail.com>
Forwarded: not-needed
Last-Update: 2017-01-05
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---
show-manual.c | 4 ++--
welcome-window.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/show-manual.c b/show-manual.c
index c25342b..4abbe97 100644
--- a/show-manual.c
+++ b/show-manual.c
@@ -287,8 +287,8 @@ void ShowPDF(char *target)
/* If no target is given, show the manual. */
- if(!target)
- { bi->path = g_strdup_printf("%s/manual.pdf",Closure->docDir);
+ if(!target)
+ { bi->path = g_strdup_printf("%s/manual.pdf.gz",Closure->docDir);
}
else
if(*target != '/') bi->path = g_strdup_printf("%s/%s",Closure->docDir, target);
diff --git a/welcome-window.c b/welcome-window.c
index d30ebd9..63ac3df 100644
--- a/welcome-window.c
+++ b/welcome-window.c
@@ -139,8 +139,8 @@ void CreateWelcomePage(GtkNotebook *notebook)
AboutText(box, _("\ndvdisaster creates error correction data to protect\n"
"optical media (CD,DVD,BD) against data loss.\n"));
- AboutTextWithLink(box, _("Please see the [manual] for typical uses of dvdisaster.\n\n"),
- "manual.pdf");
+ AboutTextWithLink(box, _("Please see the [manual] for typical uses of dvdisaster.\n\n"),
+ "manual.pdf.gz");
AboutText(box, _("<i>New in this Version:</i>"));

View File

@@ -0,0 +1,485 @@
From: Carlos Maddela <e7appew@gmail.com>
Date: Thu, 5 Jan 2017 19:11:38 +1100
Subject: Resurrect old code to support opening URLs in a browser.
Description: Resurrect old code to support opening URLs in a browser.
Author: Carlos Maddela <e7appew@gmail.com>
Forwarded: not-needed
Last-Update: 2016-12-21
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---
closure.c | 2 +
dvdisaster.h | 7 +
help-dialogs.c | 3 +-
show-html.c | 402 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 413 insertions(+), 1 deletion(-)
create mode 100644 show-html.c
diff --git a/closure.c b/closure.c
index fa52f09..24c1e8c 100644
--- a/closure.c
+++ b/closure.c
@@ -474,6 +474,7 @@ void InitClosure()
Closure->deviceNames = g_ptr_array_new();
Closure->deviceNodes = g_ptr_array_new();
Closure->viewer = g_strdup("xdg-open");
+ Closure->browser = g_strdup("xdg-open");
Closure->methodList = g_ptr_array_new();
Closure->methodName = g_strdup("RS01");
Closure->dDumpDir = g_strdup(Closure->homeDir);
@@ -589,6 +590,7 @@ void FreeClosure()
cond_free(Closure->binDir);
cond_free(Closure->docDir);
cond_free(Closure->viewer);
+ cond_free(Closure->browser);
cond_free(Closure->errorTitle);
cond_free(Closure->simulateCD);
cond_free(Closure->dDumpDir);
diff --git a/dvdisaster.h b/dvdisaster.h
index 9acd094..f536040 100644
--- a/dvdisaster.h
+++ b/dvdisaster.h
@@ -229,6 +229,7 @@ typedef struct _GlobalClosure
char *binDir; /* place where the binary resides */
char *docDir; /* place where our documentation resides */
char *viewer; /* Name of preferred PDF viewer */
+ char *browser; /* Name of preferred browser */
GMutex progressLock; /* A mutex protected the stuff below */
char bs[256]; /* A string of 255 backspace characters */
@@ -1348,6 +1349,12 @@ int ProbeAltiVec(void);
void ShowPDF(char*);
+/***
+ *** show-html.c
+ ***/
+
+void ShowHTML(char*);
+
/***
*** smart-lec.c
***/
diff --git a/help-dialogs.c b/help-dialogs.c
index 75a615e..dc5b440 100644
--- a/help-dialogs.c
+++ b/help-dialogs.c
@@ -599,7 +599,8 @@ static gint about_cb(GtkWidget *widget, GdkEvent *event, gpointer data)
{ case GDK_BUTTON_PRESS:
if(!inside) return FALSE; /* Defect in certain Gtk versions? */
if(!strcmp(label,"GPL")) ShowGPL();
- else if(!strcmp(label,"MODIFYING")) show_modifying();
+ else if(!strcmp(label,"MODIFYING")) show_modifying();
+ else if(strlen(label) > 4 && !strncmp(label, "http", 4)) ShowHTML(g_strdup(label));
else ShowPDF(g_strdup(label));
break;
case GDK_ENTER_NOTIFY:
diff --git a/show-html.c b/show-html.c
new file mode 100644
index 0000000..608e8ec
--- /dev/null
+++ b/show-html.c
@@ -0,0 +1,402 @@
+/* dvdisaster: Additional error correction for optical media.
+ * Copyright (C) 2004-2012 Carsten Gnoerlich.
+ * Project home page: http://www.dvdisaster.com
+ * Email: carsten@dvdisaster.com -or- cgnoerlich@fsfe.org
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA,
+ * or direct your browser at http://www.gnu.org.
+ */
+
+#include "dvdisaster.h"
+
+#if defined(SYS_LINUX) || defined(SYS_FREEBSD) || defined(SYS_NETBSD)
+#include <sys/wait.h>
+#endif
+
+#ifdef SYS_MINGW
+#include "windows.h"
+#include "shellapi.h"
+#endif
+
+/***
+ *** Ask user to specify his browser
+ ***/
+
+#if defined(SYS_LINUX) || defined(SYS_FREEBSD) || defined(SYS_NETBSD)
+
+#define SEARCH_BUTTON 1
+
+typedef struct
+{ GtkWidget *dialog;
+ GtkWidget *entry;
+ GtkWidget *search;
+ GtkWidget *filesel;
+ GtkWidget *fileok;
+ GtkWidget *filecancel;
+ char *url;
+} browser_dialog_info;
+
+static void response_cb(GtkWidget *widget, int response, gpointer data)
+{ browser_dialog_info *bdi = (browser_dialog_info*)data;
+
+ switch(response)
+ { case GTK_RESPONSE_ACCEPT:
+ if(Closure->browser) g_free(Closure->browser);
+ Closure->browser = g_strdup(gtk_entry_get_text(GTK_ENTRY(bdi->entry)));
+ ShowHTML(bdi->url);
+ break;
+
+ case GTK_RESPONSE_REJECT:
+ if(bdi->url) g_free(bdi->url);
+ break;
+ }
+ gtk_widget_destroy(widget);
+ if(bdi->filesel)
+ gtk_widget_destroy(bdi->filesel);
+ g_free(bdi);
+}
+
+static void search_cb(GtkWidget *widget, gpointer data)
+{ browser_dialog_info *bdi = (browser_dialog_info*)data;
+
+ if(widget == bdi->search)
+ { bdi->filesel = gtk_file_selection_new(_utf("windowtitle|Choose a browser"));
+ bdi->fileok = GTK_FILE_SELECTION(bdi->filesel)->ok_button;
+ bdi->filecancel = GTK_FILE_SELECTION(bdi->filesel)->cancel_button;
+ ReverseCancelOK(GTK_DIALOG(bdi->filesel));
+ gtk_file_selection_hide_fileop_buttons(GTK_FILE_SELECTION(bdi->filesel));
+ g_signal_connect(G_OBJECT(GTK_FILE_SELECTION(bdi->filesel)->ok_button), "clicked",
+ G_CALLBACK(search_cb), bdi);
+
+ g_signal_connect(G_OBJECT(GTK_FILE_SELECTION(bdi->filesel)->cancel_button), "clicked",
+ G_CALLBACK(search_cb), bdi);
+
+ gtk_widget_show(bdi->filesel);
+ }
+
+ if(widget == bdi->fileok)
+ {
+ if(Closure->browser) g_free(Closure->browser);
+ Closure->browser = g_strdup(gtk_file_selection_get_filename(GTK_FILE_SELECTION(bdi->filesel)));
+ ShowHTML(bdi->url);
+ gtk_widget_destroy(bdi->filesel);
+ gtk_widget_destroy(bdi->dialog);
+ g_free(bdi);
+ return;
+ }
+
+ if(widget == bdi->filecancel)
+ { gtk_widget_destroy(bdi->filesel);
+ bdi->filesel = NULL;
+ }
+}
+
+static void browser_dialog(char *url)
+{ GtkWidget *dialog, *vbox, *hbox, *label, *entry, *button;
+ browser_dialog_info *bdi = g_malloc0(sizeof(browser_dialog_info));
+
+ /* Create the dialog */
+
+ dialog = gtk_dialog_new_with_buttons(_utf("windowtitle|Browser required"),
+ Closure->window, GTK_DIALOG_DESTROY_WITH_PARENT,
+ GTK_STOCK_OK, GTK_RESPONSE_ACCEPT,
+ GTK_STOCK_CANCEL, GTK_RESPONSE_REJECT, NULL);
+ bdi->dialog = dialog;
+ if(url)
+ { bdi->url = g_strdup(url);
+ }
+
+ vbox = gtk_vbox_new(FALSE, 0);
+ gtk_box_pack_start(GTK_BOX(GTK_DIALOG(dialog)->vbox), vbox, FALSE, FALSE, 0);
+ gtk_container_set_border_width(GTK_CONTAINER(vbox), 10);
+
+ /* Insert the contents */
+
+ label = gtk_label_new(NULL);
+ gtk_label_set_markup(GTK_LABEL(label), _utf("<b>Could not find a suitable browser.</b>\n\n"
+ "Which browser would you like to use\n"
+ "for reading the online documentation?\n\n"
+ "Please enter its name (e.g. mozilla) or\n"
+ "use the \"Search\" button for a file dialog.\n")),
+ gtk_box_pack_start(GTK_BOX(vbox), label, TRUE, TRUE, 10);
+
+ hbox = gtk_hbox_new(FALSE, 0);
+ gtk_box_pack_start(GTK_BOX(vbox), hbox, TRUE, TRUE, 10);
+
+ bdi->entry = entry = gtk_entry_new();
+ gtk_box_pack_start(GTK_BOX(hbox), entry, FALSE, FALSE, 10);
+
+ bdi->search = button = gtk_button_new_with_label(_utf("Search"));
+ g_signal_connect(G_OBJECT(button), "clicked", G_CALLBACK(search_cb), bdi);
+ gtk_box_pack_start(GTK_BOX(hbox), button, FALSE, FALSE, 10);
+
+ /* Show it */
+
+ g_signal_connect(dialog, "response", G_CALLBACK(response_cb), bdi);
+
+ gtk_widget_show_all(dialog);
+}
+#endif /* SYS_ unix-like */
+
+/***
+ *** Show the manual in an external browser
+ ***/
+
+/*
+ * Check the child processes exit status
+ * to find whether the browser could be invoked.
+ */
+
+typedef struct
+{ pid_t pid;
+ char *url;
+ GtkWidget *msg;
+ int seconds;
+} browser_info;
+
+
+static void msg_destroy_cb(GtkWidget *widget, gpointer data)
+{ browser_info *bi = (browser_info*)data;
+
+ bi->msg = NULL;
+}
+
+#if defined(SYS_LINUX) || defined(SYS_FREEBSD) || defined(SYS_NETBSD)
+
+/*
+ * The following list of browsers and html wrappers
+ * will be tried one at a time until one entry succeeds by:
+ * - returning zero
+ * - not returning within 60 seconds
+ */
+
+static int browser_index;
+static void try_browser(browser_info*);
+
+static char *browsers[] =
+{ "user-selection",
+ "xdg-open",
+ "gnome-open",
+ "htmlview",
+ "firefox",
+ "mozilla",
+ "konqueror",
+ "epiphany",
+ "opera",
+ "/Applications/Safari.app/Contents/MacOS/Safari", /* better way to do this? */
+ NULL
+};
+
+static gboolean browser_timeout_func(gpointer data)
+{ browser_info *bi = (browser_info*)data;
+ int status;
+
+ waitpid(bi->pid, &status, WNOHANG);
+
+ /* At least mozilla returns random values under FreeBSD on success,
+ so we can't rely on the return value exept our own 110 one. */
+
+ if(WIFEXITED(status))
+ {
+ switch(WEXITSTATUS(status))
+ { case 110: /* browser did not execute */
+ browser_index++;
+ if(!browsers[browser_index]) /* all browsers from the list failed */
+ { browser_dialog(bi->url);
+
+ if(bi->msg)
+ gtk_widget_destroy(bi->msg);
+ if(bi->url)
+ g_free(bi->url);
+ g_free(bi);
+ }
+ else /* try next browser from list */
+ { bi->seconds = 0;
+ try_browser(bi);
+ }
+ return FALSE;
+
+ case 0: /* browser assumed to be successful */
+ default:
+ if(bi->msg)
+ gtk_widget_destroy(bi->msg);
+ if(bi->url)
+ g_free(bi->url);
+ g_free(bi);
+ return FALSE;
+ }
+ }
+
+ bi->seconds++;
+ if(bi->seconds == 10 && bi->msg)
+ { gtk_widget_destroy(bi->msg);
+ bi->msg = NULL;
+ }
+
+ return bi->seconds > 60 ? FALSE : TRUE;
+}
+#endif /* SYS_ unix-like */
+
+#ifdef SYS_MINGW
+static gboolean browser_timeout_func(gpointer data)
+{ browser_info *bi = (browser_info*)data;
+
+ bi->seconds++;
+
+ if(bi->seconds >= 10)
+ { if(bi->msg)
+ { gtk_widget_destroy(bi->msg);
+ bi->msg = NULL;
+ }
+ if(bi->url) g_free(bi->url);
+ g_free(bi);
+ return FALSE;
+ }
+
+ return TRUE;
+}
+#endif /* SYS_MINGW */
+
+/*
+ * Invoke the browser
+ */
+
+#if defined(SYS_LINUX) || defined(SYS_FREEBSD) || defined(SYS_NETBSD)
+static void try_browser(browser_info *bi)
+{ pid_t pid;
+
+ bi->pid = pid = fork();
+
+ if(pid == -1)
+ { printf("fork failed\n");
+ return;
+ }
+
+ /* make the parent remember and wait() for the browser */
+
+ if(pid > 0)
+ { g_timeout_add(1000, browser_timeout_func, (gpointer)bi);
+
+ if(browser_index)
+ { g_free(Closure->browser);
+ Closure->browser = g_strdup(browsers[browser_index]);
+ }
+ }
+
+ /* try calling the browser */
+
+ if(pid == 0)
+ { char *argv[10];
+ int argc = 0;
+
+ argv[argc++] = browser_index ? browsers[browser_index] : Closure->browser;
+ argv[argc++] = bi->url;
+ argv[argc++] = NULL;
+ execvp(argv[0], argv);
+
+ _exit(110); /* couldn't execute */
+ }
+}
+#endif /* SYS_ unix-like */
+
+
+void ShowHTML(char *target)
+{ browser_info *bi = g_malloc0(sizeof(browser_info));
+ guint64 ignore;
+ const char *lang;
+ char *path = NULL;
+ int http_url;
+
+ /* If no target is given, select between translations of the manual. */
+
+ if(!target) target = g_strdup("index.html");
+
+ http_url = strlen(target) > 4 && !strncmp(target, "http", 4);
+
+ if(!http_url && !strchr(target, '/')) /* create full path */
+ {
+ if(!Closure->docDir)
+ {
+ CreateMessage(_("Documentation not installed."), GTK_MESSAGE_ERROR);
+ g_free(bi);
+ return;
+ }
+
+ lang = g_getenv("LANG");
+
+ if(lang)
+ { if(!strncmp(lang, "ru", 2))
+#ifdef SYS_MINGW
+ path = g_strdup_printf("%s\\ru\\%s",Closure->docDir,target);
+#else
+ path = g_strdup_printf("%s/ru/%s",Closure->docDir,target);
+#endif
+ else if(!strncmp(lang, "de", 2))
+#ifdef SYS_MINGW
+ path = g_strdup_printf("%s\\de\\%s",Closure->docDir,target);
+#else
+ path = g_strdup_printf("%s/de/%s",Closure->docDir,target);
+#endif
+ }
+
+ if(!path)
+ {
+#ifdef SYS_MINGW
+ path = g_strdup_printf("%s\\en\\%s",Closure->docDir,target);
+#else
+ path = g_strdup_printf("%s/en/%s",Closure->docDir,target);
+#endif
+ }
+
+#ifdef SYS_MINGW
+ if(!LargeStat(path, &ignore))
+ {
+ g_free(path); /* the local dir is Windows specific */
+ path = g_strdup_printf("%s\\local\\%s",Closure->docDir,target);
+ }
+#endif
+ g_free(target);
+ bi->url = path;
+ }
+ else bi->url = target;
+
+ if(!http_url && !LargeStat(bi->url, &ignore))
+ {
+ CreateMessage(_("Documentation file\n%s\nnot found.\n"), GTK_MESSAGE_ERROR, bi->url);
+ g_free(bi);
+ g_free(bi->url);
+ return;
+ }
+
+ /* Lock the help button and show a message for 10 seconds. */
+
+ TimedInsensitive(Closure->helpButton, 10000);
+ bi->msg = CreateMessage(_("Please hang on until the browser comes up!"), GTK_MESSAGE_INFO);
+ g_signal_connect(G_OBJECT(bi->msg), "destroy", G_CALLBACK(msg_destroy_cb), bi);
+
+#ifdef SYS_MINGW
+ /* Okay, Billy wins big time here ;-) */
+
+ ShellExecute(NULL, "open", bi->url, NULL, NULL, SW_SHOWNORMAL);
+ g_timeout_add(1000, browser_timeout_func, (gpointer)bi);
+#endif
+
+#if defined(SYS_LINUX) || defined(SYS_FREEBSD) || defined(SYS_NETBSD)
+ /* Try the first browser */
+
+ browser_index = 0;
+ try_browser(bi);
+#endif
+}

View File

@@ -0,0 +1,29 @@
From: Carlos Maddela <e7appew@gmail.com>
Date: Thu, 5 Jan 2017 19:14:35 +1100
Subject: Apply pdftex workarounds for build reproducibility.
Description: Apply pdftex workarounds for build reproducibility.
* Generate the same PDF IDs.
* Suppress additional metadata for included images.
Author: Carlos Maddela <e7appew@gmail.com>
Forwarded: not-needed
Last-Update: 2017-08-15
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---
documentation/user-manual/manual.tex | 2 ++
1 file changed, 2 insertions(+)
diff --git a/documentation/user-manual/manual.tex b/documentation/user-manual/manual.tex
index 3024f3a..d943232 100644
--- a/documentation/user-manual/manual.tex
+++ b/documentation/user-manual/manual.tex
@@ -65,6 +65,8 @@
\fancyfoot{}
\fancyfoot[LE,RO]{page \thepage\ of \pageref{LastPage}}
+\pdftrailerid{dvdisaster}
+\pdfsuppressptexinfo=-1
\begin{document}
\definecolor{lightorange}{RGB}{255,224,150}

173
debian/patches/29-fix-more-typos.patch vendored Normal file
View File

@@ -0,0 +1,173 @@
From: Carlos Maddela <e7appew@gmail.com>
Date: Sun, 6 Aug 2017 02:16:17 +1000
Subject: Fix more typos in error messages and docs.
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Description: Fix more typos in error messages and docs.
'sucessful' → 'successful'
'improvment' → 'improvement'
Author: Carlos Maddela <e7appew@gmail.com>
Last-Update: 2017-12-21
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---
documentation/user-manual/howtos.tex | 2 +-
locale/cs.po | 2 +-
locale/de.po | 2 +-
locale/it.po | 2 +-
locale/pt_BR.po | 2 +-
locale/ru.po | 2 +-
locale/sv.po | 2 +-
preferences.c | 4 ++--
regtest/rs01.bash | 2 +-
scsi-layer.c | 2 +-
smart-lec.c | 2 +-
11 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/documentation/user-manual/howtos.tex b/documentation/user-manual/howtos.tex
index 51ff827..80fe9d3 100644
--- a/documentation/user-manual/howtos.tex
+++ b/documentation/user-manual/howtos.tex
@@ -1822,7 +1822,7 @@ process of creating error correction files using these options. The
first option marked green lets dvdisaster create the error correction
file immediately after the medium has been (completely) read.
The second option marked green deletes the image when the error correction
-file has been sucessfully created.
+file has been successfully created.
\bigskip
diff --git a/locale/cs.po b/locale/cs.po
index 453ec07..d89ff4a 100644
--- a/locale/cs.po
+++ b/locale/cs.po
@@ -1917,7 +1917,7 @@ msgid "Media ejection"
msgstr "Vysunutí disku"
#: preferences.c:2064 preferences.c:2065
-msgid "Eject medium after sucessful read"
+msgid "Eject medium after successful read"
msgstr "Po úspěšném načtení vysunout disk"
#: preferences.c:2091
diff --git a/locale/de.po b/locale/de.po
index 5b47778..8112b13 100644
--- a/locale/de.po
+++ b/locale/de.po
@@ -1975,7 +1975,7 @@ msgid "Media ejection"
msgstr "Datenträger auswerfen"
#: preferences.c:2064 preferences.c:2065
-msgid "Eject medium after sucessful read"
+msgid "Eject medium after successful read"
msgstr "Datenträger nach erfolgreichem Lesen auswerfen"
#: preferences.c:2091
diff --git a/locale/it.po b/locale/it.po
index f6e9dfd..b98f8d3 100644
--- a/locale/it.po
+++ b/locale/it.po
@@ -1763,7 +1763,7 @@ msgid "Media ejection"
msgstr ""
#: preferences.c:2064 preferences.c:2065
-msgid "Eject medium after sucessful read"
+msgid "Eject medium after successful read"
msgstr ""
#: preferences.c:2091
diff --git a/locale/pt_BR.po b/locale/pt_BR.po
index f7f6af0..81ee14d 100644
--- a/locale/pt_BR.po
+++ b/locale/pt_BR.po
@@ -1853,7 +1853,7 @@ msgid "Media ejection"
msgstr "Ejeção da mídia"
#: preferences.c:2064 preferences.c:2065
-msgid "Eject medium after sucessful read"
+msgid "Eject medium after successful read"
msgstr "Ejetar mídia após uma leitura completa"
#: preferences.c:2091
diff --git a/locale/ru.po b/locale/ru.po
index 9625a1f..6e980b9 100644
--- a/locale/ru.po
+++ b/locale/ru.po
@@ -1855,7 +1855,7 @@ msgid "Media ejection"
msgstr "Извлечь носитель"
#: preferences.c:2064 preferences.c:2065
-msgid "Eject medium after sucessful read"
+msgid "Eject medium after successful read"
msgstr "Извлечь носитель после успешного чтения"
#: preferences.c:2091
diff --git a/locale/sv.po b/locale/sv.po
index c74a942..3011969 100644
--- a/locale/sv.po
+++ b/locale/sv.po
@@ -1769,7 +1769,7 @@ msgid "Media ejection"
msgstr ""
#: preferences.c:2064 preferences.c:2065
-msgid "Eject medium after sucessful read"
+msgid "Eject medium after successful read"
msgstr ""
#: preferences.c:2091
diff --git a/preferences.c b/preferences.c
index 4899317..4309809 100644
--- a/preferences.c
+++ b/preferences.c
@@ -2061,8 +2061,8 @@ void CreatePreferencesWindow(void)
frame = gtk_frame_new(_utf("Media ejection"));
gtk_box_pack_start(GTK_BOX(vbox), frame, FALSE, FALSE, 0);
- lwoh = CreateLabelWithOnlineHelp(_("Eject medium after sucessful read"),
- _("Eject medium after sucessful read"));
+ lwoh = CreateLabelWithOnlineHelp(_("Eject medium after successful read"),
+ _("Eject medium after successful read"));
RegisterPreferencesHelpWindow(lwoh);
for(i=0; i<2; i++)
diff --git a/regtest/rs01.bash b/regtest/rs01.bash
index 3c03f61..cc11f6e 100755
--- a/regtest/rs01.bash
+++ b/regtest/rs01.bash
@@ -1323,7 +1323,7 @@ if try "reading medium w/ ecc in 3 passes; 3rd pass recovers some" read_multipas
run_regtest read_multipass_ecc_partial_success "--read-medium=3 --spinup-delay=0 -r" $TMPISO $TMPECC
fi
-# Do a second sucessful read attempt at an incomplete image;
+# Do a second successful read attempt at an incomplete image;
# see whether correct results are reported when ecc data is present
# since CRC caching is a bit complicated in this case.
diff --git a/scsi-layer.c b/scsi-layer.c
index 50f6c4c..22e825d 100644
--- a/scsi-layer.c
+++ b/scsi-layer.c
@@ -2458,7 +2458,7 @@ int ReadSectors(DeviceHandle *dh, unsigned char *buf, gint64 s, int nsectors)
if(Closure->readRaw && dh->rawBuffer)
recommended_attempts = dh->rawBuffer->recommendedAttempts;
- if(status) /* current try was unsucessful */
+ if(status) /* current try was unsuccessful */
{ int last_key, last_asc, last_ascq;
if(Closure->stopActions) /* user break */
diff --git a/smart-lec.c b/smart-lec.c
index 944b70d..534dd65 100644
--- a/smart-lec.c
+++ b/smart-lec.c
@@ -1609,7 +1609,7 @@ static int smart_lec_iteration(sh_context *shc, char *message)
shc->bestBonus = 0;
shc->bestMalus = 100000;
memcpy(shc->bestFrame, rb->recovered, rb->sampleSize);
- sprintf(shc->msg, "smart_lec: no further improvment");
+ sprintf(shc->msg, "smart_lec: no further improvement");
update_pq_state(shc);
print_pq_state(shc);

View File

@@ -0,0 +1,46 @@
From: Carlos Maddela <e7appew@gmail.com>
Date: Sun, 6 Aug 2017 02:40:33 +1000
Subject: Fix FTBFS on Hurd and kFreeBSD.
Description: Fix FTBFS on Hurd and kFreeBSD.
Make sure MMAP_FLAGS gets defined.
Author: Carlos Maddela <e7appew@gmail.com>
Last-Update: 2017-08-06
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---
rs03-create.c | 19 +++++++++++--------
1 file changed, 11 insertions(+), 8 deletions(-)
diff --git a/rs03-create.c b/rs03-create.c
index 9c7265d..678644c 100644
--- a/rs03-create.c
+++ b/rs03-create.c
@@ -39,16 +39,19 @@
#ifdef HAVE_MMAP
#include <sys/mman.h>
-#ifdef SYS_LINUX
- #define MMAP_FLAGS (MAP_SHARED | MAP_POPULATE | MAP_NORESERVE)
-#endif
+#if defined(SYS_LINUX)
-#ifdef SYS_FREEBSD
- #define MMAP_FLAGS (MAP_SHARED | MAP_PREFAULT_READ)
-#endif
+ #define MMAP_FLAGS (MAP_SHARED | MAP_POPULATE | MAP_NORESERVE)
+
+#elif defined(SYS_FREEBSD)
+
+ #define MMAP_FLAGS (MAP_SHARED | MAP_PREFAULT_READ)
+
+#else
+
+ /* SYS_NETBSD and others. */
+ #define MMAP_FLAGS (MAP_SHARED)
-#ifdef SYS_NETBSD
- #define MMAP_FLAGS (MAP_SHARED)
#endif
#endif

View File

@@ -0,0 +1,308 @@
From: Carlos Maddela <e7appew@gmail.com>
Date: Sun, 6 Aug 2017 10:37:18 +1000
Subject: Add better support for HURD and kFreeBSD systems.
Description: Add better support for HURD and kFreeBSD systems.
Hurd still compiles without SCSI layer, however.
Author: Carlos Maddela <e7appew@gmail.com>
Last-Update: 2017-08-06
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---
cacheprobe.c | 16 +++++++++-------
closure.c | 6 ++++--
scripts/bash-based-configure | 18 ++++++++++++++++++
scsi-freebsd.c | 4 ++--
scsi-layer.c | 10 ++++++----
scsi-layer.h | 17 +++++++++--------
scsi-unknown.c | 4 ++--
show-html.c | 15 ++++++++++-----
8 files changed, 60 insertions(+), 30 deletions(-)
diff --git a/cacheprobe.c b/cacheprobe.c
index 545c690..9f754dd 100644
--- a/cacheprobe.c
+++ b/cacheprobe.c
@@ -22,7 +22,8 @@
#include "dvdisaster.h"
-#ifdef SYS_LINUX
+#if defined(SYS_LINUX)
+
int ProbeCacheLineSize()
{ int cl_size = 0;
@@ -36,9 +37,9 @@ int ProbeCacheLineSize()
return cl_size;
}
-#endif
-#ifdef SYS_FREEBSD
+#elif defined(SYS_FREEBSD) || defined(SYS_KFREEBSD)
+
#include <sys/param.h>
int ProbeCacheLineSize()
@@ -52,9 +53,9 @@ int ProbeCacheLineSize()
return cl_size;
}
-#endif
-#ifdef SYS_NETBSD
+#elif defined(SYS_NETBSD)
+
#include <sys/param.h>
int ProbeCacheLineSize()
@@ -68,13 +69,14 @@ int ProbeCacheLineSize()
return cl_size;
}
-#endif
-#ifdef SYS_UNKNOWN
+#else /* SYS_UNKNOWN and others. */
+
int ProbeCacheLineSize()
{
return 64;
}
+
#endif
diff --git a/closure.c b/closure.c
index 24c1e8c..26ee13b 100644
--- a/closure.c
+++ b/closure.c
@@ -50,7 +50,8 @@ static void get_base_dirs()
/*** Otherwise try the installation directory.
On Unices this is a hardcoded directory. */
-#if defined(SYS_LINUX) || defined(SYS_FREEBSD) || defined(SYS_NETBSD) || defined(SYS_UNKNOWN)
+#if defined(SYS_LINUX) || defined(SYS_FREEBSD) || defined(SYS_KFREEBSD) || \
+ defined(SYS_NETBSD) || defined(SYS_HURD) || defined(SYS_UNKNOWN)
if(DirStat(BINDIR))
Closure->binDir = g_strdup(BINDIR);
@@ -432,7 +433,8 @@ void InitClosure()
/* Generate a more comprehensive version string */
-#if defined(SYS_LINUX) || defined(SYS_FREEBSD) || defined(SYS_NETBSD)
+#if defined(SYS_LINUX) || defined(SYS_FREEBSD) || defined(SYS_KFREEBSD) || \
+ defined(SYS_NETBSD) || defined(SYS_HURD)
#ifdef HAVE_64BIT
#define BITNESS_STRING " 64bit"
#else
diff --git a/scripts/bash-based-configure b/scripts/bash-based-configure
index f1a8bd1..487a50b 100644
--- a/scripts/bash-based-configure
+++ b/scripts/bash-based-configure
@@ -136,6 +136,15 @@ case "$cfg_uname" in
}
;;
+ GNU/kFreeBSD*) cfg_system=kfreebsd
+ CFG_SYS_OPTIONS="-DSYS_KFREEBSD"
+ CFG_SYS_NAME="-DSYS_NAME=\\\"GNU/kFreeBSD\\\""
+ CFG_EXE_SUFFIX=""
+ function add_linker_flags()
+ { lflags_return="-L$1 -Wl,-rpath,$1 $2"
+ }
+ ;;
+
NetBSD*) cfg_system=netbsd
CFG_SYS_OPTIONS="-DSYS_NETBSD"
CFG_SYS_NAME="-DSYS_NAME=\\\"NetBSD\\\""
@@ -146,6 +155,15 @@ case "$cfg_uname" in
}
;;
+ GNU*) cfg_system=hurd
+ CFG_SYS_OPTIONS="-DSYS_HURD"
+ CFG_SYS_NAME="-DSYS_NAME=\\\"GNU/Hurd\\\""
+ CFG_EXE_SUFFIX=""
+ function add_linker_flags()
+ { lflags_return="-L$1 -Wl,-rpath,$1 $2"
+ }
+ ;;
+
*) cfg_system=unknown-system
CFG_SYS_OPTIONS="-DSYS_UNKNOWN"
CFG_SYS_NAME="-DSYS_NAME=\\\"Unknown\\\""
diff --git a/scsi-freebsd.c b/scsi-freebsd.c
index 0e3397a..bbfb913 100644
--- a/scsi-freebsd.c
+++ b/scsi-freebsd.c
@@ -25,7 +25,7 @@
#include "scsi-layer.h"
#include "udf.h"
-#ifdef SYS_FREEBSD
+#if defined(SYS_FREEBSD) || defined(SYS_KFREEBSD)
/* SCSI wrappers for FreeBSD are still work in progress. */
@@ -241,4 +241,4 @@ int SendPacket(DeviceHandle *dh, unsigned char *cmd, int cdb_size, unsigned char
return -1;
}
-#endif /* SYS_FREEBSD */
+#endif /* defined(SYS_FREEBSD) || defined(SYS_KFREEBSD) */
diff --git a/scsi-layer.c b/scsi-layer.c
index 22e825d..eaecc5c 100644
--- a/scsi-layer.c
+++ b/scsi-layer.c
@@ -2005,12 +2005,13 @@ static gint64 query_size(Image *image)
*/
gint64 CurrentMediumSize(int get_blank_size)
-{ Image *image;
+{
+#if defined(SYS_UNKNOWN) || defined(SYS_HURD)
+ return 0;
+#else
+ Image *image;
gint64 size;
-#ifdef SYS_UNKNOWN
- return 0;
-#endif
image = OpenImageFromDevice(Closure->device);
if(!image) return 0;
@@ -2051,6 +2052,7 @@ gint64 CurrentMediumSize(int get_blank_size)
CloseImage(image);
return size;
+#endif
}
/***
diff --git a/scsi-layer.h b/scsi-layer.h
index cb5c559..6169508 100644
--- a/scsi-layer.h
+++ b/scsi-layer.h
@@ -28,7 +28,7 @@
#include <linux/cdrom.h>
#endif
-#ifdef SYS_FREEBSD
+#if defined(SYS_FREEBSD) || defined(SYS_KFREEBSD)
#include <camlib.h>
#endif
@@ -49,19 +49,21 @@
* Linux already has one
*/
-#ifdef SYS_LINUX
+#if defined(SYS_LINUX)
+
#define MAX_CDB_SIZE CDROM_PACKET_SIZE
/* Now globally defined for all OSes here */
//typedef struct request_sense Sense;
-#endif
-#ifdef SYS_FREEBSD
+#elif defined(SYS_FREEBSD) || defined(SYS_KFREEBSD)
+
#define MAX_CDB_SIZE SCSI_MAX_CDBLEN
-#endif
-#if defined(SYS_UNKNOWN) || defined(SYS_NETBSD)
+#else /* SYS_UNKNOWN and others. */
+
#define MAX_CDB_SIZE 16 /* longest possible SCSI command */
+
#endif
/*
@@ -101,8 +103,7 @@ typedef struct _DeviceHandle
*/
#if defined(SYS_LINUX) || defined(SYS_NETBSD)
int fd; /* device file descriptor */
-#endif
-#ifdef SYS_FREEBSD
+#elif defined(SYS_FREEBSD) || defined(SYS_KFREEBSD)
struct cam_device *camdev; /* camlib device handle */
union ccb *ccb;
#endif
diff --git a/scsi-unknown.c b/scsi-unknown.c
index f5f1072..7b2ccdb 100644
--- a/scsi-unknown.c
+++ b/scsi-unknown.c
@@ -25,7 +25,7 @@
#include "scsi-layer.h"
#include "udf.h"
-#ifdef SYS_UNKNOWN
+#if defined(SYS_UNKNOWN) || defined(SYS_HURD)
/* Dummy routines so that we can compile on unknown architectures
for which we don't have SCSI support yet. */
@@ -51,4 +51,4 @@ int SendPacket(DeviceHandle *dh, unsigned char *cmd, int cdb_size, unsigned char
return -1;
}
-#endif /* SYS_UNKNOWN */
+#endif /* defined(SYS_UNKNOWN) || defined(SYS_HURD) */
diff --git a/show-html.c b/show-html.c
index 608e8ec..20715f4 100644
--- a/show-html.c
+++ b/show-html.c
@@ -21,7 +21,8 @@
#include "dvdisaster.h"
-#if defined(SYS_LINUX) || defined(SYS_FREEBSD) || defined(SYS_NETBSD)
+#if defined(SYS_LINUX) || defined(SYS_FREEBSD) || defined(SYS_KFREEBSD) || \
+ defined(SYS_NETBSD) || defined(SYS_HURD)
#include <sys/wait.h>
#endif
@@ -34,7 +35,8 @@
*** Ask user to specify his browser
***/
-#if defined(SYS_LINUX) || defined(SYS_FREEBSD) || defined(SYS_NETBSD)
+#if defined(SYS_LINUX) || defined(SYS_FREEBSD) || defined(SYS_KFREEBSD) || \
+ defined(SYS_NETBSD) || defined(SYS_HURD)
#define SEARCH_BUTTON 1
@@ -173,7 +175,8 @@ static void msg_destroy_cb(GtkWidget *widget, gpointer data)
bi->msg = NULL;
}
-#if defined(SYS_LINUX) || defined(SYS_FREEBSD) || defined(SYS_NETBSD)
+#if defined(SYS_LINUX) || defined(SYS_FREEBSD) || defined(SYS_KFREEBSD) || \
+ defined(SYS_NETBSD) || defined(SYS_HURD)
/*
* The following list of browsers and html wrappers
@@ -273,7 +276,8 @@ static gboolean browser_timeout_func(gpointer data)
* Invoke the browser
*/
-#if defined(SYS_LINUX) || defined(SYS_FREEBSD) || defined(SYS_NETBSD)
+#if defined(SYS_LINUX) || defined(SYS_FREEBSD) || defined(SYS_KFREEBSD) || \
+ defined(SYS_NETBSD) || defined(SYS_HURD)
static void try_browser(browser_info *bi)
{ pid_t pid;
@@ -393,7 +397,8 @@ void ShowHTML(char *target)
g_timeout_add(1000, browser_timeout_func, (gpointer)bi);
#endif
-#if defined(SYS_LINUX) || defined(SYS_FREEBSD) || defined(SYS_NETBSD)
+#if defined(SYS_LINUX) || defined(SYS_FREEBSD) || defined(SYS_KFREEBSD) || \
+ defined(SYS_NETBSD) || defined(SYS_HURD)
/* Try the first browser */
browser_index = 0;

View File

@@ -0,0 +1,192 @@
From: Carlos Maddela <e7appew@gmail.com>
Date: Wed, 9 Aug 2017 20:49:31 +1000
Subject: Do not suppress the display of compilation commands
Description: Do not suppress the display of compilation commands,
so that build logs may be analysed by blhc.
Author: Carlos Maddela <e7appew@gmail.com>
Forwarded: not-needed
Last-Update: 2017-08-9
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---
GNUmakefile.template | 93 +++++++++++++++++++++++++---------------------------
1 file changed, 45 insertions(+), 48 deletions(-)
diff --git a/GNUmakefile.template b/GNUmakefile.template
index d80932d..ac1f597 100644
--- a/GNUmakefile.template
+++ b/GNUmakefile.template
@@ -71,41 +71,41 @@ OFILES = $(CFG_OFILES)
${BUILDTMP}/%.o : %.c
@echo "Compiling:" $?
- @$(CC) $(COPTS) -c $? -o $@
+ $(CC) $(COPTS) -c $? -o $@
all: time-stamp dvdisaster
# Building the dvdisaster binary
time-stamp:
- @$(SRCDIR)/scripts/time-stamper.bash $(SRCDIR)/build.h
+ $(SRCDIR)/scripts/time-stamper.bash $(SRCDIR)/build.h
dvdisaster: inlined-icons.h $(OFILES)
@echo "Linking : dvdisaster"
- @$(CC) $(LOPTS) $(OFILES) $(LIBS) -o dvdisaster
- @if test -e locale/de/LC_MESSAGES/dvdisaster.mo \
+ $(CC) $(LOPTS) $(OFILES) $(LIBS) -o dvdisaster
+ if test -e locale/de/LC_MESSAGES/dvdisaster.mo \
|| echo $(WITH_OPTIONS) | grep "NLS_NO" >/dev/null; \
then echo "not touching locale"; \
else $(MAKE) --no-print-directory -C locale; \
fi
inlined-icons.h: icons/read.png icons/create.png icons/scan.png icons/fix.png icons/verify.png
- @gdk-pixbuf-csource --raw --name=dvdisaster_read icons/read.png >inlined-icons.h
- @gdk-pixbuf-csource --raw --name=dvdisaster_create icons/create.png >>inlined-icons.h
- @gdk-pixbuf-csource --raw --name=dvdisaster_scan icons/scan.png >>inlined-icons.h
- @gdk-pixbuf-csource --raw --name=dvdisaster_fix icons/fix.png >>inlined-icons.h
- @gdk-pixbuf-csource --raw --name=dvdisaster_verify icons/verify.png >>inlined-icons.h
- @gdk-pixbuf-csource --raw --name=dvdisaster_open_ecc icons/open-ecc.png >>inlined-icons.h
- @gdk-pixbuf-csource --raw --name=dvdisaster_open_img icons/open-img.png >>inlined-icons.h
- @gdk-pixbuf-csource --raw --name=dvdisaster_cd icons/cd.png >>inlined-icons.h
- @gdk-pixbuf-csource --raw --name=dvdisaster_gtk_help icons/gtk-help.png >>inlined-icons.h
- @gdk-pixbuf-csource --raw --name=dvdisaster_gtk_index icons/gtk-index.png >>inlined-icons.h
- @gdk-pixbuf-csource --raw --name=dvdisaster_gtk_preferences icons/gtk-preferences.png >>inlined-icons.h
- @gdk-pixbuf-csource --raw --name=dvdisaster_gtk_quit icons/gtk-quit.png >>inlined-icons.h
- @gdk-pixbuf-csource --raw --name=dvdisaster_gtk_stop icons/gtk-stop.png >>inlined-icons.h
+ gdk-pixbuf-csource --raw --name=dvdisaster_read icons/read.png >inlined-icons.h
+ gdk-pixbuf-csource --raw --name=dvdisaster_create icons/create.png >>inlined-icons.h
+ gdk-pixbuf-csource --raw --name=dvdisaster_scan icons/scan.png >>inlined-icons.h
+ gdk-pixbuf-csource --raw --name=dvdisaster_fix icons/fix.png >>inlined-icons.h
+ gdk-pixbuf-csource --raw --name=dvdisaster_verify icons/verify.png >>inlined-icons.h
+ gdk-pixbuf-csource --raw --name=dvdisaster_open_ecc icons/open-ecc.png >>inlined-icons.h
+ gdk-pixbuf-csource --raw --name=dvdisaster_open_img icons/open-img.png >>inlined-icons.h
+ gdk-pixbuf-csource --raw --name=dvdisaster_cd icons/cd.png >>inlined-icons.h
+ gdk-pixbuf-csource --raw --name=dvdisaster_gtk_help icons/gtk-help.png >>inlined-icons.h
+ gdk-pixbuf-csource --raw --name=dvdisaster_gtk_index icons/gtk-index.png >>inlined-icons.h
+ gdk-pixbuf-csource --raw --name=dvdisaster_gtk_preferences icons/gtk-preferences.png >>inlined-icons.h
+ gdk-pixbuf-csource --raw --name=dvdisaster_gtk_quit icons/gtk-quit.png >>inlined-icons.h
+ gdk-pixbuf-csource --raw --name=dvdisaster_gtk_stop icons/gtk-stop.png >>inlined-icons.h
$(BUILDTMP)/help-dialogs.o: help-dialogs.c simple-md5sum
- @if test -e fingerprints.md5; \
+ if test -e fingerprints.md5; \
then if test -e help-dialogs.h; then rm help-dialogs.h; fi; \
mv inlined-icons.h inlined-icons.saved; \
mv build.h build.saved; \
@@ -121,35 +121,35 @@ $(BUILDTMP)/help-dialogs.o: help-dialogs.c simple-md5sum
else echo "#define MODIFIED_SOURCE 1" >> help-dialogs.h; \
fi
@echo "Compiling:" help-dialogs.c
- @$(CC) $(COPTS) -c help-dialogs.c -o $(BUILDTMP)/help-dialogs.o
+ $(CC) $(COPTS) -c help-dialogs.c -o $(BUILDTMP)/help-dialogs.o
$(BUILDTMP)/rs-encoder-sse2.o: rs-encoder-sse2.c
@echo "Compiling:" rs-encoder-sse2.c
- @$(CC) $(SSE2_OPTIONS) $(COPTS) -c rs-encoder-sse2.c -o $(BUILDTMP)/rs-encoder-sse2.o
+ $(CC) $(SSE2_OPTIONS) $(COPTS) -c rs-encoder-sse2.c -o $(BUILDTMP)/rs-encoder-sse2.o
$(BUILDTMP)/rs-encoder-altivec.o: rs-encoder-altivec.c
@echo "Compiling:" rs-encoder-altivec.c
- @$(CC) $(ALTIVEC_OPTIONS) $(COPTS) -c rs-encoder-altivec.c -o $(BUILDTMP)/rs-encoder-altivec.o
+ $(CC) $(ALTIVEC_OPTIONS) $(COPTS) -c rs-encoder-altivec.c -o $(BUILDTMP)/rs-encoder-altivec.o
locale:
- @$(MAKE) --no-print-directory -C locale
+ $(MAKE) --no-print-directory -C locale
untranslated:
- @$(MAKE) --no-print-directory -C locale check-untranslated
+ $(MAKE) --no-print-directory -C locale check-untranslated
simple-md5sum: md5.c
- @$(CC) $(COPTS) $(MUDFLAP_CFLAGS) -DSIMPLE_MD5SUM md5.c $(MUDFLAP_LFLAGS) $(MUDFLAP_LIBS) -o simple-md5sum
+ $(CC) $(COPTS) $(MUDFLAP_CFLAGS) -DSIMPLE_MD5SUM md5.c $(MUDFLAP_LFLAGS) $(MUDFLAP_LIBS) -o simple-md5sum
version.tex:
@echo "\\newcommand{\\projectversion}{$(VERSION)}" >$(SRCDIR)/documentation/config/version.tex
manual: version.tex
@echo "Producing user manual... "
- @$(MAKE) --no-print-directory -C documentation/user-manual manual.pdf
+ $(MAKE) --no-print-directory -C documentation/user-manual manual.pdf
manualclean:
@echo "Removing temporary user manual files... "
- @$(MAKE) --no-print-directory -C documentation/user-manual clean
+ $(MAKE) --no-print-directory -C documentation/user-manual clean
# Some usage info
@@ -259,13 +259,13 @@ uninstall:
archclean: distclean
@echo "Removing rebuildable documentation parts"
- @$(MAKE) --no-print-directory -C $(SRCDIR)/documentation/codec-specs archclean
- @$(MAKE) --no-print-directory -C $(SRCDIR)/documentation/user-manual archclean
+ $(MAKE) --no-print-directory -C $(SRCDIR)/documentation/codec-specs archclean
+ $(MAKE) --no-print-directory -C $(SRCDIR)/documentation/user-manual archclean
distclean: clean
@echo "Removing configuration files"
- @rm -f configure.log Makefile.config GNUmakefile locale/Makefile
- @for i in locale/?? locale/??_??; do rm -rf $$i; done
+ rm -f configure.log Makefile.config GNUmakefile locale/Makefile
+ for i in locale/?? locale/??_??; do rm -rf $$i; done
@echo "all:" >>GNUmakefile
@echo -e "\t@echo" >>GNUmakefile
@echo -e "\t@echo \"Please create a Makefile by entering \\\"bash configure\\\" first\"" >>GNUmakefile
@@ -277,14 +277,14 @@ distclean: clean
clean:
@echo "Removing rebuildable files"
- @rm -rf *.o $(BUILDTMP)/*.o medium.* abbild.* dvdisaster .dvdisaster core core.* *.core
- @rm -f inlined-icons.h help-dialogs.h
- @find . -name \*\~ -print | xargs rm -f;
- @find . -name \*.mo -print | xargs rm -f;
- @find . -name \#\*\# -print | xargs rm -f;
- @rm -f documentation/config/version.tex
- @if test -e $(PKGNAME); then rm -rf $(PKGNAME); fi
- @if test -e ~/.dvdisaster-original-author; then \
+ rm -rf *.o $(BUILDTMP)/*.o medium.* abbild.* dvdisaster .dvdisaster core core.* *.core
+ rm -f inlined-icons.h help-dialogs.h
+ find . -name \*\~ -print | xargs rm -f;
+ find . -name \*.mo -print | xargs rm -f;
+ find . -name \#\*\# -print | xargs rm -f;
+ rm -f documentation/config/version.tex
+ if test -e $(PKGNAME); then rm -rf $(PKGNAME); fi
+ if test -e ~/.dvdisaster-original-author; then \
mv build.h build.saved ;\
if ! test -x simple-md5sum || ! ./simple-md5sum >/dev/null 2>&1; then \
rm -f simple-md5sum; \
@@ -294,20 +294,17 @@ clean:
./simple-md5sum -b *.h *.c >fingerprints.md5 ;\
mv build.saved build.h; \
fi
- @rm -f simple-md5sum
- @$(MAKE) --no-print-directory -C $(SRCDIR)/documentation/codec-specs clean;
- @$(MAKE) --no-print-directory -C $(SRCDIR)/documentation/user-manual clean;
+ rm -f simple-md5sum
+ $(MAKE) --no-print-directory -C $(SRCDIR)/documentation/codec-specs clean;
+ $(MAKE) --no-print-directory -C $(SRCDIR)/documentation/user-manual clean;
BUILD=`grep BUILD $(SRCDIR)/build.h | cut -d ' ' -f 3`
arch: archclean time-stamp
- @cd .. ; tar -c -z -f $(TAR_PREFIX)/$(PKGNAME)-$(BUILD).tgz $(PKGNAME)
+ cd .. ; tar -c -z -f $(TAR_PREFIX)/$(PKGNAME)-$(BUILD).tgz $(PKGNAME)
INSTALL: documentation/install.template
- @sed "s/@@PKGNAME/$(PKGNAME)/" <documentation/install.template >INSTALL
+ sed "s/@@PKGNAME/$(PKGNAME)/" <documentation/install.template >INSTALL
srcdist: INSTALL distclean manual manualclean
- @cd .. ; tar -c -j -X $(PKGNAME)/NODIST -f $(TAR_PREFIX)/$(PKGNAME).tar.bz2 $(PKGNAME)
- @cd .. ; gpg --homedir .gnupg --default-key 758BCC23 --detach-sign --output $(TAR_PREFIX)/$(PKGNAME).tar.bz2.gpg --armor $(TAR_PREFIX)/$(PKGNAME).tar.bz2
-
-
-
+ cd .. ; tar -c -j -X $(PKGNAME)/NODIST -f $(TAR_PREFIX)/$(PKGNAME).tar.bz2 $(PKGNAME)
+ cd .. ; gpg --homedir .gnupg --default-key 758BCC23 --detach-sign --output $(TAR_PREFIX)/$(PKGNAME).tar.bz2.gpg --armor $(TAR_PREFIX)/$(PKGNAME).tar.bz2

28
debian/patches/33-honour-LDFLAGS.patch vendored Normal file
View File

@@ -0,0 +1,28 @@
From: Carlos Maddela <e7appew@gmail.com>
Date: Thu, 21 Dec 2017 02:44:53 +1100
Subject: Honour LDFLAGS set by dpkg-buildflags in building all binaries.
Description: Honour LDFLAGS set by dpkg-buildflags in building all binaries.
Unpackaged simple-md5sum utility must do so as well, to keep blhc happy.
Author: Carlos Maddela <e7appew@gmail.com>
Forwarded: no
Last-Update: 2017-12-21
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---
GNUmakefile.template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/GNUmakefile.template b/GNUmakefile.template
index ac1f597..4509c48 100644
--- a/GNUmakefile.template
+++ b/GNUmakefile.template
@@ -138,7 +138,7 @@ untranslated:
$(MAKE) --no-print-directory -C locale check-untranslated
simple-md5sum: md5.c
- $(CC) $(COPTS) $(MUDFLAP_CFLAGS) -DSIMPLE_MD5SUM md5.c $(MUDFLAP_LFLAGS) $(MUDFLAP_LIBS) -o simple-md5sum
+ $(CC) $(COPTS) $(MUDFLAP_CFLAGS) -DSIMPLE_MD5SUM md5.c $(LDFLAGS) $(MUDFLAP_LFLAGS) $(MUDFLAP_LIBS) -o simple-md5sum
version.tex:
@echo "\\newcommand{\\projectversion}{$(VERSION)}" >$(SRCDIR)/documentation/config/version.tex

View File

@@ -0,0 +1,27 @@
From: Carlos Maddela <e7appew@gmail.com>
Date: Thu, 31 Jan 2019 05:10:21 +1100
Subject: Fix format security warning in GCC-8.
Description: Fix format security warning in GCC-8.
Author: Carlos Maddela <e7appew@gmail.com>
Forwarded: no
Last-Update: 2019-01-31
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---
udf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/udf.c b/udf.c
index 174fa36..9e345c2 100644
--- a/udf.c
+++ b/udf.c
@@ -794,7 +794,7 @@ void FreeIsoHeader(IsoHeader *ih)
void AddFile(IsoHeader *ih, char *name, guint64 size)
{ static int n;
- char iso[20], joliet[strlen(name)+3];
+ char iso[22], joliet[strlen(name)+3];
n++;
sprintf(iso,"RAN_%04d.DAT;1", n);

View File

@@ -0,0 +1,108 @@
From: Carlos Maddela <e7appew@gmail.com>
Date: Thu, 31 Jan 2019 05:31:03 +1100
Subject: Change homepage to one archived at web.archive.org.
Description: Change homepage to one archived at web.archive.org.
http://dvdisaster.net has been unavailable for a while now.
Not certain if this is permanent though, as the domain name still
exists for mail.
Author: Carlos Maddela <e7appew@gmail.com>
Forwarded: not-needed
Last-Update: 2019-01-31
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---
documentation/codec-specs/rs01.tex | 2 +-
documentation/codec-specs/rs02.tex | 2 +-
documentation/upstream-site/de/impressum.html | 2 +-
documentation/upstream-site/en/imprint.html | 2 +-
documentation/user-manual/background.tex | 2 +-
documentation/user-manual/download.tex | 4 ++--
6 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/documentation/codec-specs/rs01.tex b/documentation/codec-specs/rs01.tex
index a8c0d90..ca7f71f 100644
--- a/documentation/codec-specs/rs01.tex
+++ b/documentation/codec-specs/rs01.tex
@@ -44,7 +44,7 @@ correction files must be protected with an image level
error correction layer (by using RS01,RS02 or RS03 on the medium),
since only image level error correction avoids meta
data sectors to become a single point of failure. See the
-discussion at \url{http://dvdisaster.net/en/qa32.html} for
+discussion at \url{https://web.archive.org/web/20180428070843/http://dvdisaster.net/en/qa32.html} for
more information on the advantages of image level data protection
over file level approaches.
diff --git a/documentation/codec-specs/rs02.tex b/documentation/codec-specs/rs02.tex
index fb88384..06e8126 100644
--- a/documentation/codec-specs/rs02.tex
+++ b/documentation/codec-specs/rs02.tex
@@ -74,7 +74,7 @@ the parity data portion of the image might not be written to the medium.
Most current writing programs do however measure the .iso image by examining
its file size, and will transfer the parity data correctly. To be sure you
should follow the steps described under ``Testing image compatibility''
-at the dvdisaster site (\url{http://dvdisaster.net/en/howtos92.html}) once
+at the dvdisaster site (\url{https://web.archive.org/web/20180428070843/http://dvdisaster.net/en/howtos92.html}) once
before using each version of your optical media authoring software.
Like the other dvdisaster codecs, RS02 is based on a RS(255,k) Reed-Solomon code
diff --git a/documentation/upstream-site/de/impressum.html b/documentation/upstream-site/de/impressum.html
index 7c5ded3..d8bf4f8 100644
--- a/documentation/upstream-site/de/impressum.html
+++ b/documentation/upstream-site/de/impressum.html
@@ -63,7 +63,7 @@ Carsten Gnörlich (Anschrift wie oben).
Das Impressum gilt für die Internetpräsenz unter den Domänen<br>
<a href="http://dvdisaster.com">dvdisaster.com</a>, &nbsp;
<a href="http://dvdisaster.de">dvdisaster.de</a>, &nbsp;
-<a href="http://dvdisaster.net">dvdisaster.net</a>, &nbsp;
+<a href="https://web.archive.org/web/20180428070843/http://dvdisaster.net">dvdisaster.net</a>, &nbsp;
<a href="http://dvdisaster.org">dvdisaster.org</a>.
<!-- Page footer -->
diff --git a/documentation/upstream-site/en/imprint.html b/documentation/upstream-site/en/imprint.html
index d99324b..43641f2 100644
--- a/documentation/upstream-site/en/imprint.html
+++ b/documentation/upstream-site/en/imprint.html
@@ -63,7 +63,7 @@ Carsten Gnörlich (see above for address).
This notice covers the web sites under the domains<br>
<a href="http://dvdisaster.com">dvdisaster.com</a>, &nbsp;
<a href="http://dvdisaster.de">dvdisaster.de</a>, &nbsp;
-<a href="http://dvdisaster.net">dvdisaster.net</a>, &nbsp;
+<a href="https://web.archive.org/web/20180428070843/http://dvdisaster.net">dvdisaster.net</a>, &nbsp;
<a href="http://dvdisaster.org">dvdisaster.org</a>.<br>
<!-- Page footer -->
diff --git a/documentation/user-manual/background.tex b/documentation/user-manual/background.tex
index ba602ef..9aba84f 100644
--- a/documentation/user-manual/background.tex
+++ b/documentation/user-manual/background.tex
@@ -272,7 +272,7 @@ media with augmented images may not play correctly on all units \\
\end{tabular}
\paragraph{Further reading.} The specification for the dvdisaster codecs
-has been specified in a separate document called \href{http://dvdisaster.net/downloads/codecs.pdf}{codecs.pdf}.
+has been specified in a separate document called \href{https://web.archive.org/web/20180428070843/http://dvdisaster.net/downloads/codecs.pdf}{codecs.pdf}.
Good knowledge in coding theory and programming is required.
\subsection{The linear reading strategy}
diff --git a/documentation/user-manual/download.tex b/documentation/user-manual/download.tex
index 79df7be..a91a44a 100644
--- a/documentation/user-manual/download.tex
+++ b/documentation/user-manual/download.tex
@@ -15,7 +15,7 @@ the \href{http://www.gnu.org/licenses/gpl-3.0.txt}{GNU General Public License v3
\bigskip
-The dvdisaster developer site (\url{http://dvdisaster.net}) contains
+The dvdisaster developer site (\url{https://web.archive.org/web/20180428070843/http://dvdisaster.net}) contains
the latest source code releases for the FreeBSD, GNU/Linux and NetBSD
operating systems. These are mostly aimed at maintainers of binary packages for
the beforementioned platforms. As an end user you might find it more convenient
@@ -133,6 +133,6 @@ We cannot accept them for various reasons.
\smallskip
dvdisaster releases are always published with cryptographic signatures
-and md5 checksums. See the \href{http://dvdisaster.net}{download site} for examples.
+and md5 checksums. See the \href{https://web.archive.org/web/20180428070843/http://dvdisaster.net}{download site} for examples.
Be very cautious if signatures and checksums are missing, invalid or not
matching those published at the sites mentioned above.

54
debian/patches/36-fix-parallelism.patch vendored Normal file
View File

@@ -0,0 +1,54 @@
From: Carlos Maddela <e7appew@gmail.com>
Date: Fri, 1 Feb 2019 22:28:18 +1100
Subject: Fix parallel build of locale strings.
Description: Fix parallel build of locale strings.
Author: Carlos Maddela <e7appew@gmail.com>
Forwarded: no
Last-Update: 2019-02-01
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---
GNUmakefile.template | 1 +
locale/create-makefile | 10 +++++++---
2 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/GNUmakefile.template b/GNUmakefile.template
index 4509c48..3aae04e 100644
--- a/GNUmakefile.template
+++ b/GNUmakefile.template
@@ -297,6 +297,7 @@ clean:
rm -f simple-md5sum
$(MAKE) --no-print-directory -C $(SRCDIR)/documentation/codec-specs clean;
$(MAKE) --no-print-directory -C $(SRCDIR)/documentation/user-manual clean;
+ $(MAKE) --no-print-directory -C $(SRCDIR)/locale clean;
BUILD=`grep BUILD $(SRCDIR)/build.h | cut -d ' ' -f 3`
arch: archclean time-stamp
diff --git a/locale/create-makefile b/locale/create-makefile
index 5ed31ed..83a4abf 100644
--- a/locale/create-makefile
+++ b/locale/create-makefile
@@ -30,15 +30,19 @@ locale: \$(LOCALEFILES)
# Create the locale files.
+messages.pot: \$(CFILES)
+ @cd ..; xgettext --no-wrap -cTRANSLATORS: -o locale/messages.pot -k_ -k_utf \$(CFILES_NP)
+
+clean:
+ rm -f messages.pot
+
EOF
for i in $prefixes; do
cat >> Makefile <<EOF
-$i.po: \$(CFILES)
+$i.po: messages.pot
@echo "Updating $i.po"
- @cd ..; xgettext --no-wrap -cTRANSLATORS: -o locale/messages.pot -k_ -k_utf \$(CFILES_NP)
@msgmerge -q -U --no-wrap --no-fuzzy-matching $i.po messages.pot
- @rm -f messages.pot
$i/LC_MESSAGES/dvdisaster.mo: $i.po
@echo "Updating $i.mo"

View File

@@ -0,0 +1,137 @@
From: Carlos Maddela <e7appew@gmail.com>
Date: Sat, 2 Feb 2019 13:56:04 +1100
Subject: Suggest to install dvdisaster-doc in error message
Description: Suggest to install dvdisaster-doc in error message
if the PDF manual cannot be found.
Author: Carlos Maddela <e7appew@gmail.com>
Forwarded: not-needed
Last-Update: 2019-02-02
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---
locale/cs.po | 2 ++
locale/de.po | 2 ++
locale/it.po | 2 ++
locale/pt_BR.po | 2 ++
locale/ru.po | 2 ++
locale/sv.po | 2 ++
show-manual.c | 3 ++-
7 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/locale/cs.po b/locale/cs.po
index d89ff4a..b55c45a 100644
--- a/locale/cs.po
+++ b/locale/cs.po
@@ -6077,10 +6077,12 @@ msgid ""
"Documentation file\n"
"%s\n"
"not found.\n"
+"Please install the dvdisaster-doc package.\n"
msgstr ""
"Soubor dokumentace\n"
"%s\n"
"nebyl nalezen.\n"
+"Nainstalujte prosím balíček dvdisaster-doc.\n"
#: show-manual.c:308
msgid "Please hang on until the viewer comes up!"
diff --git a/locale/de.po b/locale/de.po
index 8112b13..f54b083 100644
--- a/locale/de.po
+++ b/locale/de.po
@@ -6226,10 +6226,12 @@ msgid ""
"Documentation file\n"
"%s\n"
"not found.\n"
+"Please install the dvdisaster-doc package.\n"
msgstr ""
"Dokument-Datei\n"
"%s\n"
"nicht gefunden.\n"
+"Bitte installieren Sie das dvdisaster-doc-Paket.\n"
#: show-manual.c:308
msgid "Please hang on until the viewer comes up!"
diff --git a/locale/it.po b/locale/it.po
index b98f8d3..de60016 100644
--- a/locale/it.po
+++ b/locale/it.po
@@ -5629,10 +5629,12 @@ msgid ""
"Documentation file\n"
"%s\n"
"not found.\n"
+"Please install the dvdisaster-doc package.\n"
msgstr ""
"File di documentazione\n"
"%s\n"
"non trovati.\n"
+"Si prega di installare il pacchetto dvdisaster-doc.\n"
#: show-manual.c:308
msgid "Please hang on until the viewer comes up!"
diff --git a/locale/pt_BR.po b/locale/pt_BR.po
index 81ee14d..3659f11 100644
--- a/locale/pt_BR.po
+++ b/locale/pt_BR.po
@@ -5950,10 +5950,12 @@ msgid ""
"Documentation file\n"
"%s\n"
"not found.\n"
+"Please install the dvdisaster-doc package.\n"
msgstr ""
"Arquivo de documentação\n"
"%s\n"
"não encontrado.\n"
+"Por favor, instale o pacote dvdisaster-doc.\n"
#: show-manual.c:308
msgid "Please hang on until the viewer comes up!"
diff --git a/locale/ru.po b/locale/ru.po
index 6e980b9..9c45692 100644
--- a/locale/ru.po
+++ b/locale/ru.po
@@ -5958,10 +5958,12 @@ msgid ""
"Documentation file\n"
"%s\n"
"not found.\n"
+"Please install the dvdisaster-doc package.\n"
msgstr ""
"Файл документации\n"
"%s\n"
"не найден.\n"
+"Пожалуйста, установите пакет dvdisaster-doc.\n"
#: show-manual.c:308
msgid "Please hang on until the viewer comes up!"
diff --git a/locale/sv.po b/locale/sv.po
index 3011969..9cee323 100644
--- a/locale/sv.po
+++ b/locale/sv.po
@@ -5648,10 +5648,12 @@ msgid ""
"Documentation file\n"
"%s\n"
"not found.\n"
+"Please install the dvdisaster-doc package.\n"
msgstr ""
"Dokumentationsfilen\n"
"%s\n"
"hittades inte.\n"
+"Installera dvdisaster-doc-paketet.\n"
#: show-manual.c:308
msgid "Please hang on until the viewer comes up!"
diff --git a/show-manual.c b/show-manual.c
index 4abbe97..5ac8e97 100644
--- a/show-manual.c
+++ b/show-manual.c
@@ -296,7 +296,8 @@ void ShowPDF(char *target)
if(!LargeStat(bi->path, &ignore))
{
- CreateMessage(_("Documentation file\n%s\nnot found.\n"), GTK_MESSAGE_ERROR, bi->path);
+ CreateMessage(_("Documentation file\n%s\nnot found.\n"
+ "Please install the dvdisaster-doc package.\n"), GTK_MESSAGE_ERROR, bi->path);
g_free(bi->path);
g_free(bi);
return;

9
debian/patches/series vendored Normal file
View File

@@ -0,0 +1,9 @@
11-no-cruft.patch
15-show-new-pkg-tracker.patch
16-remove-auto-build-of-doco-from-install-rule.patch
20-display-changelog-credits-and-todo.patch
24-show-gpl3-license.patch
26-fix-display-of-manual.pdf.patch
32-display-compilation-commands.patch
34-gcc8-format-security.patch
37-suggest-dvdisaster-doc.patch

75
debian/rules vendored Executable file
View File

@@ -0,0 +1,75 @@
#!/usr/bin/make -f
export DH_VERBOSE = 1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
export DEB_CFLAGS_MAINT_APPEND = $(CPPFLAGS) -Wall -Wno-deprecated-declarations -pedantic
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
include /usr/share/dpkg/pkg-info.mk
export DEB_VERSION
export FORCE_SOURCE_DATE = 1
MUTABLE_FILES := build.h $(wildcard locale/*.po) \
documentation/config/version.tex \
documentation/user-manual/manual.pdf
BACKUP_TAR_FILE := debian/backup.tar
BUILDROOT := $(CURDIR)/debian/tmp
ICONS := $(wildcard contrib/dvdisaster*.png)
ICON_SIZES := $(patsubst contrib/dvdisaster%.png,%,$(ICONS))
%:
dh $@
override_dh_update_autotools_config:
dh_update_autotools_config
test -f $(BACKUP_TAR_FILE) || \
tar cpf $(BACKUP_TAR_FILE) $(MUTABLE_FILES)
override_dh_clean:
dh_clean
test ! -f $(BACKUP_TAR_FILE) || \
tar xpf $(BACKUP_TAR_FILE) && rm -f $(BACKUP_TAR_FILE)
override_dh_auto_configure:
./configure \
--prefix=/usr \
--mandir=share/man \
--localedir=share/locale \
--docdir=share/doc \
--docsubdir=dvdisaster \
--with-embedded-src-path=no
override_dh_auto_build-arch:
dh_auto_build -a -- all
override_dh_auto_build-indep:
dh_auto_build -i \
$(if $(findstring nodoc,$(DEB_BUILD_OPTIONS)),--no-act) \
-- manual
override_dh_auto_install-arch:
dh_auto_install -a -- BUILDROOT=$(BUILDROOT)
set -e; \
for S in $(ICON_SIZES); do \
D="$(BUILDROOT)/usr/share/icons/hicolor/$${S}x$${S}/apps"; \
install -d "$${D}"; \
install -T "contrib/dvdisaster$${S}.png" "$${D}/dvdisaster.png"; \
done
override_dh_auto_install-indep:
true
# Ensure that none of the text files that the application
# tries to display directly are compressed, as it doesn't
# automatically decompress text files.
override_dh_compress-arch:
dh_compress -p dvdisaster \
-Xchangelog -XCREDITS -XREADME.MODIFYING -XTODO
gzip -9n debian/dvdisaster/usr/share/doc/dvdisaster/changelog.Debian
override_dh_installchangelogs-arch:
dh_installchangelogs -p dvdisaster -k

1
debian/source/format vendored Normal file
View File

@@ -0,0 +1 @@
3.0 (quilt)

1
debian/source/lintian-overrides vendored Normal file
View File

@@ -0,0 +1 @@
dvdisaster source: debian-watch-uses-insecure-uri http://dvdisaster.net/en/index.html

1
debian/source/options vendored Normal file
View File

@@ -0,0 +1 @@
no-unapply-patches

2
debian/tests/control vendored Normal file
View File

@@ -0,0 +1,2 @@
Tests: unknown-system
Depends: dvdisaster

6
debian/tests/unknown-system vendored Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/sh
set -e
# Make sure we haven't built for an unknown system.
! (dvdisaster --version | grep -qiw unknown)

4
debian/upstream/metadata vendored Normal file
View File

@@ -0,0 +1,4 @@
# https://wiki.debian.org/UpstreamMetadata
Documentation: https://web.archive.org/web/20180428070843/http://dvdisaster.net/en/misc.html#manual
Homepage: https://web.archive.org/web/20180428070843/http://dvdisaster.net/
Security-Contact: Carsten Gnörlich <carsten@dvdisaster.org>

73
debian/upstream/signing-key.asc vendored Normal file
View File

@@ -0,0 +1,73 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQGiBD9GYJcRBACXa6CzZ0WPqUvit1d7LvnSOqLDxYQiiphnzjQc+ssJvScNxv9+
ThELKXHxaKfDpL9/C4+5qh1pfrsEEpuQ7m+RfXFqz5UPZITgza5Ko/5WPhhVRxkh
8b8ux7DIeFlbgmd5YSFPoYIwGWCAtI5OiUC6qa149gAq7k0vtgb+hbxn2wCg0lTu
XGNjX7qMNggbnx3aBVVd9SMD/RYWIr2c66w6Kt/EYLLgYGqgZL9MkmocuUoJVgiI
Y2pi3SPbIvX3enk1OIRBCFbweEgXiVw+FWu6aK09eZrJcDv2Uns4ecTvzz1d83RH
gssV7ulB6P5mU3u6NT39CHW6fJ5Xi1HPkw380+y3dbaRxh/1htmk5Ao0DmDGRohL
vzgIA/9P/bdqh0WG0j4qY+8pcsNn0/ymiJXPZzvyr2cEc56AaHgLAVZHMUyE3Rd9
9rSZjVS+x/oGbkzVOd8IySUSRx7f2Sxve1sxoaNlwdqcE0vq16PH1iMBQ6KJAvUA
NAM4QZhAI7Lav9yB/tXblGrHHjll+fwFB/9t6G0hO9JoJDaEgbQmQ2Fyc3RlbiBH
bsO2cmxpY2ggKHBrZyBzaWduaW5nIGtleSAjMSmIXgQTEQIAHgUCQCvkqQIbAwYL
CQgHAwIDFQIDAxYCAQIeAQIXgAAKCRBaWQ7+9fbEbGfsAJ9NrkdlRobMhtWpAyeW
wPUe8XHzsACfYbMooS0D/UmRGo7wW7rBnrVqLxy5AQ0EP0ZgmBAEAKJos9WBWgw1
sGFFM/1eKEzZqGYMt8qk2r/djPyZYEIzqT47aR7P9gPIXDTplOmBgL43hU8MlE9K
Q92s4RVP/x/OvMWF04vSO3vBEmeR3HncpbIk4AP17MZGuqEGtyAe1e5hcGiho1CL
/6fSanYydC2iciKbfyyfzL9oISHedad7AAMFA/4wtrdqwTI2p05NAGxRA2r4egYI
m7x+ixyYuHGkzZzHMdos5zDg/dzNRnarib98JgAkZR+EVT6K0Ez6ykz57oteCt6f
jyGjOwI9bUyOFa+LyGJ+QRaeVozhqLLu/b4wgKCuBcKNt2ebpKFHi9JKiGE9hOJz
4nanjCbtihUJaf1DLIhJBBgRAgAJBQI/RmCYAhsMAAoJEFpZDv719sRsbk4An2JZ
q/8GBvugzgfu5AxacsuiZzfgAKCwzLAuoUTw/Sz6bYaAUfec362gFw==
=Sidz
-----END PGP PUBLIC KEY BLOCK-----
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBFYS0XkBEACxsIQ1dI0k1TiybBztU6BC3DeQsDGC9TeaGBgYDo+62B8U5uiJ
AD9ofBXglj0/DOweAIoLdcVsvFzU0sxk4tUnb84plk09qG+UfU2227DWeKTP3YPv
E8A6uWopr6Yoc8WGG9mKl9L1CCiqQmNB4L4Um2/yDPrhtN3TxzpMLBoNUo/f271Q
yLxQZMEsUDTZq7JxbEQ9hLbBn69zIptsZHyNJwCerqXqhzQcB11BVqZyLrRC+0ZT
eUtO1o10Y/EAEi86ivi1upLsgVi5u2LcP9ICIhTVv6MQ+turhThFOIcEvbw/15Hp
4Vlb0yZlBx2j4Hr4tDSrWeQ1lmBNA1qhrLkPOIQv+scXhcyzY5nKIjRDKYS1v8OM
uMhfVakK/YS+flN5nyS4Ku0x99sae75+PArMjbLNfP738Zw4ywC4i+i958SEIcky
4Bia+kyTCPRZWZ5BJe3+GAPDdI1XntS0D1uXPiwi8u91jg1cAEChwjwe2pr0RG+h
8ft5BTezJyAeZ9haU8OyrW5GZNddhyBH4QxdRYvMTdmQIbjxNuTYGpBXl4qgTqKn
A7Gxbr24hgdUHKIe//AlDQ41VbBTdyBmgyORGCL+uaSpDerADPXh+bwE2vQsKs13
+HcVldLBJmL9tYeRZvpvR/vwFBvfkrgAN8+NdPnSzwvLI0JMrL50DOhapwARAQAB
tB9kdmRpc2FzdGVyIChwa2cgc2lnbmluZyBrZXkgIzIpiQI4BBMBAgAiBQJWEtF5
AhsDBgsJCAcDAgYVCAIJCgsEFgIDAQIeAQIXgAAKCRCw28p9ZPdwsivVD/4wiomj
IFNUG0lb4sIvXHZR2sv0rVz1eN74B+Ngefp3viZvjvmXji2cbzPhTsoAq4ys5/nD
m9fLnm+mG2TfLKTqXBNRDeEDmknK0aXlFVbdUfgeExvU9Tj1giOORTvTiNPdJpkF
qKMrjvtB4t2sHuuL/SNwQAWlWfDUuK52yf1SAZasdFPTAvAuzo+lqfYbi5tnjIY/
GkR9e3ZjMEaWvxc0N5CJg7ibKpuX476eo+04oKkNvSbyE7Lpcho4AHy6e4UoJ9e+
UBL3o84MtChwrlP5HmMPan1hIL5iyswDUrxUfL36GqAEcAM8tIbZ6A6CfQT+FgnI
e/E1dm3FWEje8F7uD2xkCGRBYTN8BG5+UMTF9MaQGU3kxBMPt8xvHmCNZHR6QrdL
+vysa+02QmSM1jZz4J37yctM69WY1x3JDC+HGHMxCX3G+BrDntLG3yQkox1nBi2l
8JiKTdoX7LhRn1xCijIpYdbszMao0lN/XEiOgx2eygG9a3fQDOqR/yi9tTqmKQM4
H/il88tkdsaioWXspWEhrS+8MhiUdr8yz3LA9+DawddnW8ZbTee2R4ARMlKhfXBE
kvXO2L37Ub2sX97S9qbKkwaYIs2PHn7NFNRB6OP8Oz0scMuritvUZrNfNjaGba3e
YNgR36NFvroM3R2a+Yr0zjbY+rqjJSdNSfcsxLkCDQRWEtF5ARAA3KvEpeB7vbCx
olIlzxuF/RHJ770GUYSfTVbYIKSl4HbywrDak7uXlDWIJ/u1lunu5+albUEHIadu
YolrzaTG6A/sslXHgk8RUxZonzAw2/8C0fQCBAPjs2nlwzt61g75/EPJlESocapd
Ri97EleGmGGK5L6N2CyTX8pjj1DkXwiWX95EOcgWRoLXpf/bpThqFCsRjoJfHO7z
cA0b5iIR7LQenMG/3AeGFRr1Oh2UzAL60MuPypu8NBv3IUXZ6mXdFTNM4bQc/Rlm
VDoB8B8mz4M1IL0fP98LN+b9ZfUUDz1zk9W8H+OCvfdOVj1srDq+uhaSwDC6jDu7
wTaFlaJaPBoqCXCk7xGbVxKdZot6oN5ZrAvMMnD0Jc+QX+MKSodMk5LQRFB+WGI8
2IwgeS7kqQX2Bt0w7d4xL/3AKTNgQQAGzXRi7dzXR//diKEmESSmaRccVpLZYtR4
PdUuY6ZXyayEvZCosV6B7P+lV842lN9Q/KgrZjH09SYKK8pzqRPoAIvPJNT4fP8F
eTztnKu9gfS0Zs2MnkKjEK85E8OMSidpISqn0xgHeuldMPL7gGxJKj95BF4jFUs4
fQa8nD1jnnUbKdAsGd5ujpEAjAfV+kkGZPUyVrJokhGlCLLt2dG4PrgZ4tNXdEQw
VGNskHYjs6YU+CGYjzfopvrUPast+cUAEQEAAYkCHwQYAQIACQUCVhLReQIbDAAK
CRCw28p9ZPdwsrmqD/sFsulD6nl5DRznofkqBJwwl6zdtNN9OKsEi8UKc10iuq+Z
vynWFbcARqW9sgbBCoCM5KuA5zMIQ0hvrvlb+HOt8v7DA2D0d/IPU1BPnxoEuMDq
5g+a3MYzmP+4Wmp8r6NNAW0ArWhazQsNdIhAVv4ItUCos7+S7q8srsflpEVG78/f
C4Fw4sRjAaCd1NsP6D3vHwENtbuoQaT63kyfPK+r6EADTxmeFe7anovQo6MirRCn
Loo3NdPVfQlgXkdL3wiBpwm7W/PYY+9Z6HIfE2AIBs+C5SdxYPR+tVz3+3QC9998
egxTRnJMaKkDQ+nG/ROSVpCqXwhzob6HlrKhoe7H7GKVZyl/IVllpUQHKi5C03S8
JQxpaJoB85/C5ZlcMtb0e1YUYeVhTKWIREFsx5FlxXcJh5CLVplZKxfn0oiIgnyK
HtCOeNcXP2mOYClN8RmhW+/Z198bTmzMrB2jq7a3xbLGWKJqfgfZ6EPwCEu/jZTB
SQgyssrrGahyyOIDadEcyfYV+r5pUm1++1YxSe0/hZ89RjGAIneWmo6sDLwPd44G
LKAAb/E/yS/320bu031426gU8Zdw7bK1dVNVQxWOpRc/RTRjmVjrO9NIN+7DSNOF
nvep13/48UEDSFXkNnh+VgxGpvpOouw2xUBVNZuhjPr589pvAEQFUyxCTI0uwQ==
=mXsc
-----END PGP PUBLIC KEY BLOCK-----

4
debian/watch vendored Normal file
View File

@@ -0,0 +1,4 @@
version=3
opts="pgpsigurlmangle=s/$/.gpg/" \
https://web.archive.org/web/20180428070843/https://dvdisaster.net/en/index.html \
(?:.*?/)?dvdisaster-(.*)\.tar\.bz2 debian uupdate

View File

@@ -1,6 +1,6 @@
.PHONY : all codecs clean
.PHONY : all clean
all: codecs
all: codecs.pdf
clean:
@rm -f *~ *.aux *.log *.bak *.out *.toc *.dvi *.ps
@@ -8,7 +8,9 @@ clean:
archclean: clean
@rm -f *.pdf
codecs:
# run latex twice to get the proper number of pages, fig numbers and index table
codecs.pdf: *.tex *.fig *.eps
latex codecs
latex codecs
dvips codecs.dvi
ps2pdf codecs.ps

Binary file not shown.

View File

@@ -35,12 +35,14 @@
\fancyfoot[LO]{created: \today}
\fancyfoot[RE]{\paperversion}
\input{../config/version.tex}
\begin{document}
\definecolor{lightblue}{RGB}{224,224,255}
\pagecolor{lightblue}
\title{The dvdisaster Reed-Solomon Codec specification}
\author{Carsten Gnörlich\\carsten@dvdisaster.org}
\author{The dvdisaster development team\\support@dvdisaster.org}
\date{}
\maketitle
\thispagestyle{empty}
@@ -59,7 +61,7 @@ Reed-Solomon codecs which are currently called RS01, RS02 and RS03.
The codecs create Reed-Solomon parity data to protect data stored on optical media.
Depending on the codec, parity data can either be stored in a separate file
or be integrated with the .iso image on the same medium.
See \url{http://dvdisaster.org} for additional resources on the dvdisaster project,
See \homepage for additional resources on the dvdisaster pro\-ject,
e.g. for the {\em orange manual} (manual.pdf) containing information for end users.
\end{abstract}
@@ -69,7 +71,7 @@ e.g. for the {\em orange manual} (manual.pdf) containing information for end use
dvdisaster developers and, when the final version has been crafted, as an implementation
guide for third party developers who wish to create and process dvdisaster error correction data.
It is {\bf neither intended nor suitable} as end-user documentation; for usage information
please refer to the online documentation at \url{http://dvdisaster.org}.
please refer to the online documentation at \homepage.
\bigskip
@@ -81,7 +83,8 @@ of programming in C is also assumed.
\vfill
\begin{center}
{\em
Copyright 2008-2015 Carsten Gnörlich.
Copyright 2008-2015 Carsten Gnörlich.\\
Copyright 2021 The dvdisaster development team.\\
Verbatim copying and distribution of this entire article is permitted in any medium,
provided this notice is preserved.}
\end{center}

View File

@@ -44,7 +44,7 @@ correction files must be protected with an image level
error correction layer (by using RS01,RS02 or RS03 on the medium),
since only image level error correction avoids meta
data sectors to become a single point of failure. See the
discussion at \url{http://dvdisaster.net/en/qa32.html} for
discussion at \url{https://web.archive.org/web/20180428070843/http://dvdisaster.net/en/qa32.html} for
more information on the advantages of image level data protection
over file level approaches.
@@ -172,7 +172,7 @@ The $d_{i,j}$ denote the $i-th$ byte in the $j-th$ layer.
In order to create the first ecc block, bytes $d_{1,1}$ to $d_{1,n}$ are taken from the
$n$ layers. Then the RS(255,k) code is calculated (see appendix \ref{rs} for its parameters)
and the
resulting $k$ parity bytes $e_{1,1}$ upto $e_{k,1}$ are stored
resulting $k$ parity bytes $e_{1,1}$ up to $e_{k,1}$ are stored
in the ecc file. The resulting ecc block is marked grey in the
figure. The next ecc blocks are calculated and stored accordingly.
In total, the ecc section contains $k*ls$ bytes of parity information,

View File

@@ -74,7 +74,7 @@ the parity data portion of the image might not be written to the medium.
Most current writing programs do however measure the .iso image by examining
its file size, and will transfer the parity data correctly. To be sure you
should follow the steps described under ``Testing image compatibility''
at the dvdisaster site (\url{http://dvdisaster.net/en/howtos92.html}) once
at the dvdisaster site (\url{https://web.archive.org/web/20180428070843/http://dvdisaster.net/en/howtos92.html}) once
before using each version of your optical media authoring software.
Like the other dvdisaster codecs, RS02 is based on a RS(255,k) Reed-Solomon code
@@ -133,7 +133,7 @@ Its format is described in appendix \ref{eh}. For RS02, only the data fields
marked with ``all'' or ``RS02'' are relevant; all other fields should be set to zero.
Data layer $n$ does also contain the CRC32 checksums of each data sector
upto the ecc header. If the .iso image contains $s$ sectors,
up to the ecc header. If the .iso image contains $s$ sectors,
then the CRC field contains $4s$ bytes, rounded up
to the nearest multiple of 2048.
CRC32 checksums are calculated over a whole CD sector comprising 2048 bytes.

1
documentation/codecs.pdf Symbolic link
View File

@@ -0,0 +1 @@
codec-specs/codecs.pdf

View File

@@ -1 +0,0 @@
\newcommand{\projectversion}{0.79.6}

View File

@@ -1,4 +1,4 @@
.TH DVDISASTER 1 "2010-02-07" "0.80" "Schutz f\[:u]r optische Datentr\[:a]ger"
.TH DVDISASTER 1 "2018-05-14" "0.79.7" "Schutz f\[:u]r optische Datentr\[:a]ger"
.SH NAME
DVDISASTER \- Schutz f\[:u]r optische Datentr\[:a]ger gegen Datenverlust durch Alterung
@@ -67,6 +67,7 @@ oder Kratzer
.IR n \|]
.RB [\| \-\-spinup\-delay
.IR n \|]
.RB [\| \-\-version \|]
.SH BESCHREIBUNG
.B DVDISASTER
@@ -334,7 +335,7 @@ funktioniert am besten beim direkten Arbeiten mit Dateien im Arbeitsspeicher (z.
.RE
.TP
.B \-\-fill-unreadable n
f\[:u]lle unlesbare Sektoren mit Byte n.
f\[:u]lle unlesbare Sektoren mit Byte n. Hilfreich um Abbilder zu verarbeiten, die von anderen Werkzeugen angelegt wurden. Beispielsweise f\[:u]llt ddrescue unlesbare Sektoren mit Null auf; dementsprechend w\[:a]re \-\-fill-unreadable=0 zu verwenden. Bitte dabei beachten: Sparse files k\[:o]nnen nicht mit dvdisaster verarbeitet werden.
.TP
.B \-\-ignore-fatal-sense
Lesen nach m\[:o]glicherweise schwerwiegenden Fehlern fortsetzen.
@@ -422,6 +423,9 @@ warnt bei Geschwindigkeits\[:a]nderung um mehr als n Prozent.
.TP
.B \-\-spinup-delay n
gibt dem Laufwerk n Sekunden Zeit zum Hochlaufen.
.TP
.B \-\-version
gibt die Versionsnummer und einige Konfigurationseigenschaften aus
.PP
.SH SIEHE AUCH

View File

@@ -1,4 +1,4 @@
.TH DVDISASTER 1 "2010-02-06" "0.80" "protection for optical media"
.TH DVDISASTER 1 "2018-05-14" "0.79.7" "protection for optical media"
.SH NAME
DVDISASTER \- data loss/scratch/aging protection for optical media
@@ -50,6 +50,7 @@ DVDISASTER \- data loss/scratch/aging protection for optical media
.RB [\| \-\-medium-info \|]
.RB [\| \-\-no-progress \|]
.RB [\| \-\-old-ds-marker \|]
.RB [\| \-\-no-bdr-defect-management \|]
.RB [\| \-\-prefetch-sectors
.IR n \|]
.RB [\| \-\-raw-mode
@@ -66,6 +67,7 @@ DVDISASTER \- data loss/scratch/aging protection for optical media
.IR n \|]
.RB [\| \-\-spinup\-delay
.IR n \|]
.RB [\| \-\-version \|]
.SH DESCRIPTION
.B DVDISASTER
@@ -225,6 +227,21 @@ RS02 images:
\-n BDXL3 augments image suitable for three layered BDXL media.
.RE
.RS
\-n BDXL4 augments image suitable for quadruple layered BDXL media.
.RE
.RS
\-n BDNODM\ \ \ \ augments image suitable for BD media burnt without defect management.
.RE
.RS
\-n BD2NODM\ \ augments image suitable for two layered BD media burnt without defect management.
.RE
.RS
\-n BDXL3NODM augments image suitable for three layered BDXL media burnt without defect management.
.RE
.RS
\-n BDXL4NODM augments image suitable for quadruple layered BDXL media burnt without defect management.
.RE
.RS
\-n x\ \ \ \ \ augments image using approx. x sectors in total.
.RE
.RS
@@ -240,9 +257,22 @@ RS03 images:
.RS
Setting the redundancy is not possible due to constraints in the format.
The codec will automatically choose the size of the smallest fitting medium.
However, see --no-bdr-defect-management below.
.RE
.RE
.TP
.B \-\-no-bdr-defect-management
Enable bigger augmented images for BD-R (around +3%).
If you know you will use a BD-R medium and want to maximize the free space
for parity data, you can skip the defect management formatting before burning,
at the expense of potential coasters. Specify this option to tell dvdisaster
to produce bigger images that will only fit on BD-R media burnt without defect
management. Some burning softwares call it "formatting" the BD-R before burning.
Note that should you need to repair such an augmented image, you'll then need to
specify this option on the command-line too.
.RE
.TP
.B \-m, \-\-method n
lists/selects error correction methods (default: RS01).
@@ -279,7 +309,7 @@ Selects between the sg (SG_IO) driver (default setting) and the
older cdrom (CDROM_SEND_PACKET) driver for accessing the optical drives.
Both drivers should work equally well; however the cdrom driver is known
to cause system failures on some ancient SCSI controllers.
The older cdrom driver was the default upto and including dvdisaster 0.72.x;
The older cdrom driver was the default up to and including dvdisaster 0.72.x;
if the now pre-selected sg driver changes something to the worse for you
please switch back to the older driver using \-\-driver=cdrom.
.TP
@@ -319,7 +349,7 @@ and on very fast media with low latency such as SSDs.
.RE
.TP
.B \-\-fill-unreadable n
fill unreadable sectors with byte n
fill unreadable sectors with byte n. Useful for processing images which have been created by other tools. For example, ddrescue fills unreadable sectors with zeros; therefore \-\-fill-unreadable=0 should be used. Please note: Sparse files can not be processed with dvdisaster.
.TP
.B \-\-ignore-fatal-sense
continue reading after potentially fatal error condition.
@@ -384,7 +414,7 @@ the uncorrected sector instead.
.RE
.TP
.B \-\-read-attempts n-m
attempts n upto m reads of a defective sector.
attempts n up to m reads of a defective sector.
.TP
.B \-\-read-medium n
read the whole medium up to n times.
@@ -403,6 +433,9 @@ print warning if speed changes by more than n percent.
.TP
.B \-\-spinup-delay n
wait n seconds for drive to spin up.
.TP
.B \-\-version
print version number and some configuration information.
.PP
.SH SEE ALSO

View File

@@ -1,76 +0,0 @@
@charset "UTF-8";
body { font-family:Helvetica,Arial,sans-serif,Verdana }
a:link { font-weight:normal; color:#0000ff; text-decoration:none }
a:visited { font-weight:normal; color:#0000ff; text-decoration:none }
a:hover { font-weight:normal; background-color:#e0e0e0; color:#0000FF; text-decoration:none }
a:active { font-weight:normal; background-color:#e0e0e0; color:#0000FF; text-decoration:none }
a:focus { font-weight:normal; background-color:#e0e0e0; color:#0000FF; text-decoration:none }
table.navigation {width:100%; background-color:#f0f0f0}
table.download {width:100%; background-color:#f0f0f0}
table.thumbnail {border-width:1px; border-style:solid; border-color:#000000; background-color:#e0e0ff}
table.screenshot {width:100%; border-width:0px; background-color:#e0e0ff}
table.ecompat {border-width:0px}
table.ecompat td { border-width:0px; vertical-align:text-top}
table.ecompat td.file { border-width:0px; background-color:#ffa0ff}
table.ecompat td.iso { border-width:0px; background-color:#a0ffff}
table.ecompat td.augment { border-width:0px; background-color:#a0a0ff}
table.compat {width:100%; border-style:solid; border-width:0px; border-collapse:collapse}
table.compat th { border-width:1px; padding:8px; border-style:solid; background-color:#b0b0b0 }
table.compat th.file { border-width:1px; padding:8px; border-style:solid; background-color:#ffa0ff }
table.compat th.iso { border-width:1px; padding:8px; border-style:solid; background-color:#a0ffff }
table.compat th.augment { border-width:1px; padding:8px; border-style:solid; background-color:#a0a0ff }
table.compat td { border-width:1px; padding:4px; border-style:solid; text-align:center}
table.compat td.noalign { border-width:1px; padding:4px; border-style:solid }
table.compat td.fullspan { border-width:1px; padding:0px; border-style:solid; background-color:#e0e0e0 }
table.compat td.red { border-width:1px; padding:4px; border-style:solid; background-color:#ff8080; text-align:center}
table.compat td.yellow { border-width:1px; padding:4px; border-style:solid; background-color:#ffe0a0; text-align:center}
table.compat td.green { border-width:1px; padding:4px; border-style:solid; background-color:#a0ffa0; text-align:center}
table.compat td.grey { border-width:1px; padding:4px; border-style:solid; background-color:#e0e0e0; text-align:center}
table.compat td.white { border-width:1px; padding:4px; border-style:solid; text-align:center}
a.active {color:#0000ff; text-decoration:none }
a.passive {color:#808080; text-decoration:none }
img.noborder {border:0px solid transparent;}
img.nobordervalignm {border:0px solid transparent; vertical-align:middle;}
span.fl {font-size:large;}
span.fxxl {font-size:xx-large;}
span.fs {font-size:small;}
span.fxs {font-size:x-small;}
span.green {color:green;}
span.red {color:red;}
span.blue {color:blue;}
span.yellow {color:gold;}
h3.top {margin-top: 0;}
table {empty-cells:show;} /* display border and background color even for empty table cells */
td.hsep {height:1px; width:100%; background-color:black;} /* black horizontal separator */
td.vsep {height:100%; width:2px; background-color:black;} /* black vertical separator */
td.esep {height:3px;}
.w10p {width:10%;}
.w15p {width:15%;}
.w20p {width:20%;}
.w50p {width:50%;}
.w55p {width:55%;}
.w65x {width:65px;}
.w100x {width:100px;}
.w127x {width:127px;}
.w150x {width:150px;}
.w200x {width:200px;}
.valignb {vertical-align:bottom;}
.valignm {vertical-align:middle;}
.valignt {vertical-align:top;}
.valigntt {vertical-align:text-top;}
.talignr {text-align:right;}

View File

@@ -1,105 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title></title>
<link rel="stylesheet" type="text/css" href="../css/dvdisaster.css">
</head>
<body>
<!-- Title header -->
<table width="100%" cellpadding="0" border="0">
<tr>
<td align="left">
<span class="fxxl"><b>dvdisaster</b>&nbsp;</span>
<i>Version 0.79.5 (stable) / 0.79.6 (unstable)</i>
</td>
<td align="right">
<span class="fxxl">&nbsp;</span>
Deutsch &nbsp; <a href="../en/privacy.html">English</a>
</td>
</tr>
<tr><td colspan="2" class="hsep"></td></tr>
<tr><td colspan="2">
<table class="navigation" width="100%" cellpadding="0" border="0">
<tr>
<td>Unterseiten: &nbsp;&nbsp;&nbsp;
<a href="index.html">Entwickler-Seite</a> &nbsp;&middot;&nbsp;
<a href="verschiedenes.html">Verschiedenes</a>
</td>
<td align="right">
<b>Datenschutz-Erklärung</b> &nbsp;&middot;&nbsp;
<a href="impressum.html">Impressum</a>
</td>
</tr>
</table>
</td></tr>
<tr><td colspan="2" class="hsep"></td></tr>
<tr><td style="height: 10px"></td></tr>
</table>
<!-- Main body -->
<b>Datenschutzerklärung für die Internetseiten unter</b><p>
dvdisaster.com, &nbsp;
dvdisaster.de, &nbsp;
dvdisaster.net, &nbsp;
dvdisaster.org
<p>
Das dvdisaster-Projekt (<a href="impressum.html">Anbieter siehe Impressum</a>)
ermöglicht Ihnen die Nutzung dieser Internetseiten ohne Registrierung und
ohne eine Angabe von personenbezogenen Daten.
<p>
<b>Server-Protokoll-Dateien</b><p>
Die Server dieser Internetseiten führen kein Protokoll über Ihre Seitenzugriffe.
<p>
<b>Cookies</b><p>
Diese Internetseiten verwenden keine Cookies.
<p>
<b>Verweise zu anderen Internetseiten</b><p>
Diese Internetseiten enthalten Verweise (Links) zu externen Seiten,
die von anderen Anbietern betrieben werden.
Das dvdisaster-Projekt hat keinen Einfluß darauf,
ob andere Anbieter diese Datenschutzbestimmungen einhalten.
<p>
<b>Weiterentwicklung dieser Internetseiten</b><p>
Im Zuge der Weiterentwicklung dieser Internetseiten können Änderungen
dieser Datenschutzerklärung erforderlich werden. Bitte lesen Sie sich
diese Datenschutzerklärung von Zeit zu Zeit erneut durch.
<!-- Page footer -->
<table width="100%" cellpadding="0" border="0">
<tr><td colspan="2" style="width:100%; height:10px;"></td></tr>
<tr><td colspan="2" class="hsep"></td></tr>
<tr>
<td align="center">
<span class="fs">
<i> Copyright 2004-2017 Carsten Gn&ouml;rlich.<br>
Die unveränderte Vervielfältigung und Verteilung dieses gesamten Artikels in beliebiger Form ist gestattet,
sofern dieser Hinweis erhalten bleibt.
</i>
</span>
</td>
</tr>
<tr><td colspan="2" class="hsep"></td>
</tr>
</table>
</body>
</html>

View File

@@ -1,88 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title></title>
<link rel="stylesheet" type="text/css" href="../css/dvdisaster.css">
</head>
<body>
<!-- Title header -->
<table width="100%" cellpadding="0" border="0">
<tr>
<td align="left">
<span class="fxxl"><b>dvdisaster</b>&nbsp;</span>
<i>Version 0.79.5 (stable) / 0.79.6 (unstable)</i>
</td>
<td align="right">
<span class="fxxl">&nbsp;</span>
Deutsch &nbsp; <a href="../en/imprint.html">English</a>
</td>
</tr>
<tr><td colspan="2" class="hsep"></td></tr>
<tr><td colspan="2">
<table class="navigation" width="100%" cellpadding="0" border="0">
<tr>
<td>Unterseiten: &nbsp;&nbsp;&nbsp;
<a href="index.html">Entwickler-Seite</a> &nbsp;&middot;&nbsp;
<a href="verschiedenes.html">Verschiedenes</a>
</td>
<td align="right">
<a href="datenschutz.html">Datenschutz-Erklärung</a> &nbsp;&middot;&nbsp;
<b>Impressum</b>
</td>
</tr>
</table>
</td></tr>
<tr><td colspan="2" class="hsep"></td></tr>
<tr><td style="height: 10px"></td></tr>
</table>
<!-- Main body -->
<b>Impressum</b><p>
Carsten Gnörlich <br>
Karl-von-Hahn-Str. 125 <br>
72250 Freudenstadt / Deutschland<br>
Tel.: +49 172 566 1442 &nbsp; (kein Support, nur für Anfragen im Rahmen des Telemediengesetzes!)
<p>
E-Mail: carsten@dvdisaster.org<br>
Internet: www.dvdisaster.org
<p>
Inhaltlich Verantwortlicher: <br>
Carsten Gnörlich (Anschrift wie oben).
<p>
Das Impressum gilt für die Internetpräsenz unter den Domänen<br>
<a href="http://dvdisaster.com">dvdisaster.com</a>, &nbsp;
<a href="http://dvdisaster.de">dvdisaster.de</a>, &nbsp;
<a href="http://dvdisaster.net">dvdisaster.net</a>, &nbsp;
<a href="http://dvdisaster.org">dvdisaster.org</a>.
<!-- Page footer -->
<table width="100%" cellpadding="0" border="0">
<tr><td colspan="2" style="width:100%; height:10px;"></td></tr>
<tr><td colspan="2" class="hsep"></td></tr>
<tr>
<td align="center">
<span class="fs">
<i> Copyright 2004-2017 Carsten Gn&ouml;rlich.<br>
Die unveränderte Vervielfältigung und Verteilung dieses gesamten Artikels in beliebiger Form ist gestattet,
sofern dieser Hinweis erhalten bleibt.
</i>
</span>
</td>
</tr>
<tr><td colspan="2" class="hsep"></td>
</tr>
</table>
</body>
</html>

View File

@@ -1,147 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title></title>
<link rel="stylesheet" type="text/css" href="../css/dvdisaster.css">
</head>
<body>
<!-- Title header -->
<table width="100%" cellpadding="0" border="0">
<tr>
<td align="left">
<span class="fxxl"><b>dvdisaster</b>&nbsp;</span>
<i>Version 0.79.5 (stable) / 0.79.6 (unstable)</i>
</td>
<td align="right">
<span class="fxxl">&nbsp;</span>
Deutsch &nbsp; <a href="../en/index.html">English</a>
</td>
</tr>
<tr><td colspan="2" class="hsep"></td></tr>
<tr><td colspan="2">
<table class="navigation" width="100%" cellpadding="0" border="0">
<tr>
<td>Unterseiten: &nbsp;&nbsp;&nbsp;
<b>Entwickler-Seite</b> &nbsp;&middot;&nbsp;
<a href="verschiedenes.html">Verschiedenes</a>
</td>
<td align="right"><a href="datenschutz.html">Datenschutz-Erklärung</a> &nbsp;&middot;&nbsp; <a href="impressum.html">Impressum</a></td>
</tr>
</table>
</td></tr>
<tr><td colspan="2" class="hsep"></td></tr>
<tr><td style="height: 10px"></td></tr>
</table>
<!-- Main body -->
<b>Entwickler-Seite</a></b><p>
Auf dieser Seite finden Sie den neuesten Quellkode
von <i>dvdisaster</i> für die Betriebssysteme
FreeBSD, GNU/Linux und NetBSD. Der Inhalt dieser
Seite richtet sich vorwiegend an die Betreuer
von Binärpaketen für die genannten Plattformen.
Typischerweise ist es bequemer, wenn Sie sich
dvdisaster aus dem Paketsystem Ihres Betriebssystems
bzw. Ihrer Distribution installieren.
Natürlich können Sie sich
den Quellkode von dvdisaster aber auch selbst
herunterladen und übersetzen, wenn Sie dies
lieber möchten.<br>
Diese Seite enthält <i>keine</i> Informationen
über den Sinn und die Benutzung von dvdisaster.
Dies ist an anderen Stellen besser beschrieben -
zum Beispiel in zahlreichen Foren und (in englischer Sprache) im
<a href="verschiedenes.html#manual">Benutzerhandbuch</a>.
<p>
<a name="download"></a>
<b>Quellkode herunterladen</b>
<table width="100%">
<tr>
<td>dvdisaster unterstützt die Betriebssysteme <b>FreeBSD</b>, <b>GNU/Linux</b> und <b>NetBSD</b>.
Es wird Ihnen
als <a href="http://www.germany.fsfeurope.org/documents/freesoftware.de.html">freie Software</a>
unter der <a href="http://www.gnu.org/licenses/gpl-3.0.txt">GNU General Public License v3</a> zur
Verfügung gestellt.
</td>
<td class="w127x" valign="top"><img src="../images/gplv3-127x51.png" alt="GPLv3-Logo" width="127">
</td>
</tr>
</table>
<p>
<table>
<tr>
<td>Aktuelle Version:&nbsp;</td>
<td><a href="../downloads/dvdisaster-0.79.5.tar.bz2">dvdisaster-0.79.5.tar.bz2</a></td>
<td>(<a href="../downloads/dvdisaster-0.79.5.tar.bz2.gpg">digitale Unterschrift</a>,
MD5-Prüfsumme: ceef990a2239c43314bc6427c6afb181)</td>
</tr>
</table>
<p>
Die Archive können mit einer <a href="verschiedenes.html#pubkey">digitalen Unterschrift</a> auf
ihren Ursprungszustand überprüft werden. In den Archiven gibt die Datei
<tt>INSTALL</tt> weitere Informationen zum Übersetzen des Programmes.
<p>
Die Unterstützung von OS X und Windows wurde eingestellt.
Die <a href="verschiedenes.html#windows">letzte veröffentlichte Version 0.72.3 für Windows</a> ist noch verfügbar.
<p>
<b>Die Entwickler-Versionen sind zurück!</b><p>
Der ursprüngliche Plan, alle paar Monate eine stabile Version zu veröffentlichen, kann derzeit aus Zeitmangel nicht umgesetzt werden. In der Zwischenzeit werden (unstabile) Entwicklerversionen veröffentlicht, wenn sich die Notwendigkeit für eine kurzfristige Aktualisierung ergibt. Bitte beachten Sie, daß diese Versionen nicht dokumentiert sind. Sie können unvollständige oder fehlerhafte Eigenschaften aufweisen. Sie sollten diese Versionen nur nutzen, wenn Sie eine Funktionalität aus der unten aufgeführten Liste benötigen.<p>
<a href="../downloads/dvdisaster-0.79.6.tar.bz2">dvdisaster-0.79.6.tar.bz2</a></td>
<td>(<a href="../downloads/dvdisaster-0.79.6.tar.bz2.gpg">digitale Unterschrift</a>,
MD5-Prüfsumme: ceef990a2239c43314bc6427c6afb181)
<ul>
<li> Das "Datenträger-Info"-Werkzeug zeigt nun die korrekte Leerkapazität an (vorher wurde immer Null ausgegeben).</li>
<li> Unterstützung für BDXL-TL-Datenträger (dreilagig, 100GB).</li>
<li> Sektoren-Prüfsummen und Abbild-Prüfsummen werden während des Lesens von
Datenträgern zwischengespeichert und beim Erstellen von Fehlerkorrektur-Daten
wiederverwendet. Das Erstellen von Fehlerkorrektur-Daten wird dadurch beschleunigt
und RS03-Fehlerkorrektur-Daten enthalten die optionale Abbild-Prüfsumme,
wenn der Datenträger vorher einmal komplett eingelesen wurde.
</li>
</ul>
<p>
<p>
<b>Was ist mit den alten dvdisaster-Seiten passiert?</b><p>
Bitte schauen Sie in das <i>Vorwort zur Version 0.79.5</i> im
englischen <a href="verschiedenes.html#manual">Benutzerhandbuch</a>.
<!-- Page footer -->
<table width="100%" cellpadding="0" border="0">
<tr><td colspan="2" style="width:100%; height:10px;"></td></tr>
<tr><td colspan="2" class="hsep"></td></tr>
<tr>
<td align="center">
<span class="fs">
<i> Copyright 2004-2017 Carsten Gn&ouml;rlich.<br>
Die unveränderte Vervielfältigung und Verteilung dieses gesamten Artikels in beliebiger Form ist gestattet,
sofern dieser Hinweis erhalten bleibt.
</i>
</span>
</td>
</tr>
<tr><td colspan="2" class="hsep"></td>
</tr>
</table>
</body>
</html>

View File

@@ -1,140 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title></title>
<link rel="stylesheet" type="text/css" href="../css/dvdisaster.css">
</head>
<body>
<!-- Title header -->
<table width="100%" cellpadding="0" border="0">
<tr>
<td align="left">
<span class="fxxl"><b>dvdisaster</b>&nbsp;</span>
<i>Version 0.79.5 (stable) / 0.79.6 (unstable)</i>
</td>
<td align="right">
<span class="fxxl">&nbsp;</span>
Deutsch &nbsp; <a href="../en/misc.html">English</a>
</td>
</tr>
<tr><td colspan="2" class="hsep"></td></tr>
<tr><td colspan="2">
<table class="navigation" width="100%" cellpadding="0" border="0">
<tr>
<td>Unterseiten: &nbsp;&nbsp;&nbsp;
<a href="index.html">Entwickler-Seite</a> &nbsp;&middot;&nbsp;
<b>Verschiedenes</b>
</td>
<td align="right"><a href="datenschutz.html">Datenschutz-Erklärung</a> &nbsp;&middot;&nbsp; <a href="impressum.html">Impressum</a></td>
</tr>
</table>
</td></tr>
<tr><td colspan="2" class="hsep"></td></tr>
<tr><td style="height: 10px"></td></tr>
</table>
<!-- Main body -->
<a name="pubkey"></a>
<b>Öffentlicher Schlüssel für die digitale Unterschrift</b><p>
Die herunterladbaren Pakete enthalten
eine mit <a href="http://www.gnupg.org">GnuPG</a> erstellte
digitale Unterschrift, damit Sie nachprüfen können,
ob sich die Software in ihrem ursprünglichen Zustand befindet.<p>
Ab Version 0.79.5 werden Pakete mit diesem
<a href="../downloads/pubkey2.asc">4096bit RSA-Schlüssel</a> unterschrieben:
<pre>
pub 4096R/64F770B2 2015-10-05
Schl.-Fingerabdruck = E3AF E703 96CC C0D9 E5D8 381C B0DB CA7D 64F7 70B2
uid dvdisaster (pkg signing key #2)
sub 4096R/758BCC23 2015-10-05
</pre>
Ältere Versionen (bis zu 0.79.3) wurden mit einem
<a href="../downloads/pubkey1.asc">1024bit DSA-Schlüssel</a> unterschrieben,
der noch zum Vergleich hier verfügbar ist.
Sie können den Fingerabdruck der öffentlichen Schlüssel auch direkt von
den Entwicklern erhalten, indem Sie eine E-Mail
an carsten@dvdisaster.org schreiben. Bitte verwenden Sie
den Betreff "GPG finger print".
<p>
<b>Benutzerhandbuch</b><p>
<a name="manual"></a>
Das Benutzerhandbuch zu dvdisaster gibt es - leider aus Zeitgründen nur
in englischer Sprache - als <a href="../downloads/manual.pdf">PDF-Dokument (manual.pdf)</a>.
Es erläutert die Benutzung von dvdisaster anhand einiger
grundlegender Beispiele und enthält weitere Hintergrundinformationen
zu seiner Funktionsweise.
Sie brauchen das Handbuch hier nicht herunterzuladen, wenn Sie bereits
das Quellkode-Archiv haben - dort ist ebenfalls ein Exemplar enthalten.
<p>
<b>Kodierer-Spezifikation</b><p>
Die Spezifikation der RS01-, RS02- und RS03-Kodierer
ist als <a href="../downloads/codecs.pdf">PDF-Dokument (codecs.pdf)</a>
verfügbar.
Dieses Dokument ist zur Diskussion der Kodierer-Implementierung unter
den Entwicklern vorgesehen. Er erfordert Kenntnisse in Kodierungstheorie
und ist nicht als Endbenutzer-Dokumentation gedacht.
<table>
<tr><td>
<a href="http://pdfreaders.org/"><img src="http://pdfreaders.org/graphics/pdfreaders-lang-neutral.png" alt="pdfreaders.org" /></a></td>
<td>Programme zum Lesen von PDF-Dokumenten sind bei <a href="http://pdfreaders.org">PDFreaders.org</a> verfügbar.</td>
</tr>
</table>
<p>
<b>Letzte Windows-Version</b><p>
Ein anderer Entwickler hat angefangen, eine Version von dvdisaster direkt für Windows zu
erstellen, aber es gibt dazu noch nichts anzukündigen. Verwenden Sie
bis dahin bitte weiterhin die letzte veröffentlichte Version für Windows:
<table>
<tr>
<td>Quellkode:&nbsp;</td>
<td><a href="../downloads/dvdisaster-0.72.3.tar.bz2">dvdisaster-0.72.3.tar.bz2</a></td>
<td>(<a href="../downloads/dvdisaster-0.72.3.tar.bz2.gpg">Digitale Unterschrift</a>,
MD5-Prüfsumme: 4eb09c1aa3cdbc1dafdb075148fb471d)</td>
</tr>
<tr>
<td>Installierbare Binärversion:&nbsp;</td>
<td><a href="../downloads/dvdisaster-0.72.3-setup.exe">dvdisaster-0.72.3-setup.exe</a></td>
<td>(<a href="../downloads/dvdisaster-0.72.3-setup.exe.gpg">Digitale Unterschrift</a>,
MD5-Prüfsumme: b6861ba1e8de6d91a2da5342a14870e0)</td>
</tr>
</table>
<!-- Page footer -->
<table width="100%" cellpadding="0" border="0">
<tr><td colspan="2" style="width:100%; height:10px;"></td></tr>
<tr><td colspan="2" class="hsep"></td></tr>
<tr>
<td align="center">
<span class="fs">
<i> Copyright 2004-2017 Carsten Gn&ouml;rlich.<br>
Die unveränderte Vervielfältigung und Verteilung dieses gesamten Artikels in beliebiger Form ist gestattet,
sofern dieser Hinweis erhalten bleibt.
</i>
</span>
</td>
</tr>
<tr><td colspan="2" class="hsep"></td>
</tr>
</table>
</body>
</html>

View File

@@ -1,24 +0,0 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.2.4 (GNU/Linux)
mQGiBD9GYJcRBACXa6CzZ0WPqUvit1d7LvnSOqLDxYQiiphnzjQc+ssJvScNxv9+
ThELKXHxaKfDpL9/C4+5qh1pfrsEEpuQ7m+RfXFqz5UPZITgza5Ko/5WPhhVRxkh
8b8ux7DIeFlbgmd5YSFPoYIwGWCAtI5OiUC6qa149gAq7k0vtgb+hbxn2wCg0lTu
XGNjX7qMNggbnx3aBVVd9SMD/RYWIr2c66w6Kt/EYLLgYGqgZL9MkmocuUoJVgiI
Y2pi3SPbIvX3enk1OIRBCFbweEgXiVw+FWu6aK09eZrJcDv2Uns4ecTvzz1d83RH
gssV7ulB6P5mU3u6NT39CHW6fJ5Xi1HPkw380+y3dbaRxh/1htmk5Ao0DmDGRohL
vzgIA/9P/bdqh0WG0j4qY+8pcsNn0/ymiJXPZzvyr2cEc56AaHgLAVZHMUyE3Rd9
9rSZjVS+x/oGbkzVOd8IySUSRx7f2Sxve1sxoaNlwdqcE0vq16PH1iMBQ6KJAvUA
NAM4QZhAI7Lav9yB/tXblGrHHjll+fwFB/9t6G0hO9JoJDaEgbQmQ2Fyc3RlbiBH
bsO2cmxpY2ggKHBrZyBzaWduaW5nIGtleSAjMSmIXgQTEQIAHgUCQCvkqQIbAwYL
CQgHAwIDFQIDAxYCAQIeAQIXgAAKCRBaWQ7+9fbEbGfsAJ9NrkdlRobMhtWpAyeW
wPUe8XHzsACfYbMooS0D/UmRGo7wW7rBnrVqLxy5AQ0EP0ZgmBAEAKJos9WBWgw1
sGFFM/1eKEzZqGYMt8qk2r/djPyZYEIzqT47aR7P9gPIXDTplOmBgL43hU8MlE9K
Q92s4RVP/x/OvMWF04vSO3vBEmeR3HncpbIk4AP17MZGuqEGtyAe1e5hcGiho1CL
/6fSanYydC2iciKbfyyfzL9oISHedad7AAMFA/4wtrdqwTI2p05NAGxRA2r4egYI
m7x+ixyYuHGkzZzHMdos5zDg/dzNRnarib98JgAkZR+EVT6K0Ez6ykz57oteCt6f
jyGjOwI9bUyOFa+LyGJ+QRaeVozhqLLu/b4wgKCuBcKNt2ebpKFHi9JKiGE9hOJz
4nanjCbtihUJaf1DLIhJBBgRAgAJBQI/RmCYAhsMAAoJEFpZDv719sRsbk4An2JZ
q/8GBvugzgfu5AxacsuiZzfgAKCwzLAuoUTw/Sz6bYaAUfec362gFw==
=Sidz
-----END PGP PUBLIC KEY BLOCK-----

View File

@@ -1,53 +0,0 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.12 (GNU/Linux)
mQINBFYS0XkBEACxsIQ1dI0k1TiybBztU6BC3DeQsDGC9TeaGBgYDo+62B8U5uiJ
AD9ofBXglj0/DOweAIoLdcVsvFzU0sxk4tUnb84plk09qG+UfU2227DWeKTP3YPv
E8A6uWopr6Yoc8WGG9mKl9L1CCiqQmNB4L4Um2/yDPrhtN3TxzpMLBoNUo/f271Q
yLxQZMEsUDTZq7JxbEQ9hLbBn69zIptsZHyNJwCerqXqhzQcB11BVqZyLrRC+0ZT
eUtO1o10Y/EAEi86ivi1upLsgVi5u2LcP9ICIhTVv6MQ+turhThFOIcEvbw/15Hp
4Vlb0yZlBx2j4Hr4tDSrWeQ1lmBNA1qhrLkPOIQv+scXhcyzY5nKIjRDKYS1v8OM
uMhfVakK/YS+flN5nyS4Ku0x99sae75+PArMjbLNfP738Zw4ywC4i+i958SEIcky
4Bia+kyTCPRZWZ5BJe3+GAPDdI1XntS0D1uXPiwi8u91jg1cAEChwjwe2pr0RG+h
8ft5BTezJyAeZ9haU8OyrW5GZNddhyBH4QxdRYvMTdmQIbjxNuTYGpBXl4qgTqKn
A7Gxbr24hgdUHKIe//AlDQ41VbBTdyBmgyORGCL+uaSpDerADPXh+bwE2vQsKs13
+HcVldLBJmL9tYeRZvpvR/vwFBvfkrgAN8+NdPnSzwvLI0JMrL50DOhapwARAQAB
tB9kdmRpc2FzdGVyIChwa2cgc2lnbmluZyBrZXkgIzIpiQI4BBMBAgAiBQJWEtF5
AhsDBgsJCAcDAgYVCAIJCgsEFgIDAQIeAQIXgAAKCRCw28p9ZPdwsivVD/4wiomj
IFNUG0lb4sIvXHZR2sv0rVz1eN74B+Ngefp3viZvjvmXji2cbzPhTsoAq4ys5/nD
m9fLnm+mG2TfLKTqXBNRDeEDmknK0aXlFVbdUfgeExvU9Tj1giOORTvTiNPdJpkF
qKMrjvtB4t2sHuuL/SNwQAWlWfDUuK52yf1SAZasdFPTAvAuzo+lqfYbi5tnjIY/
GkR9e3ZjMEaWvxc0N5CJg7ibKpuX476eo+04oKkNvSbyE7Lpcho4AHy6e4UoJ9e+
UBL3o84MtChwrlP5HmMPan1hIL5iyswDUrxUfL36GqAEcAM8tIbZ6A6CfQT+FgnI
e/E1dm3FWEje8F7uD2xkCGRBYTN8BG5+UMTF9MaQGU3kxBMPt8xvHmCNZHR6QrdL
+vysa+02QmSM1jZz4J37yctM69WY1x3JDC+HGHMxCX3G+BrDntLG3yQkox1nBi2l
8JiKTdoX7LhRn1xCijIpYdbszMao0lN/XEiOgx2eygG9a3fQDOqR/yi9tTqmKQM4
H/il88tkdsaioWXspWEhrS+8MhiUdr8yz3LA9+DawddnW8ZbTee2R4ARMlKhfXBE
kvXO2L37Ub2sX97S9qbKkwaYIs2PHn7NFNRB6OP8Oz0scMuritvUZrNfNjaGba3e
YNgR36NFvroM3R2a+Yr0zjbY+rqjJSdNSfcsxIhGBBARAgAGBQJWEtXYAAoJEFpZ
Dv719sRsj6kAoL8AIsw7wF1F/LBHOZc/56GmYlAfAJ4nYQAjhx0Hh3fLpsjxtoH7
oIuwCLkCDQRWEtF5ARAA3KvEpeB7vbCxolIlzxuF/RHJ770GUYSfTVbYIKSl4Hby
wrDak7uXlDWIJ/u1lunu5+albUEHIaduYolrzaTG6A/sslXHgk8RUxZonzAw2/8C
0fQCBAPjs2nlwzt61g75/EPJlESocapdRi97EleGmGGK5L6N2CyTX8pjj1DkXwiW
X95EOcgWRoLXpf/bpThqFCsRjoJfHO7zcA0b5iIR7LQenMG/3AeGFRr1Oh2UzAL6
0MuPypu8NBv3IUXZ6mXdFTNM4bQc/RlmVDoB8B8mz4M1IL0fP98LN+b9ZfUUDz1z
k9W8H+OCvfdOVj1srDq+uhaSwDC6jDu7wTaFlaJaPBoqCXCk7xGbVxKdZot6oN5Z
rAvMMnD0Jc+QX+MKSodMk5LQRFB+WGI82IwgeS7kqQX2Bt0w7d4xL/3AKTNgQQAG
zXRi7dzXR//diKEmESSmaRccVpLZYtR4PdUuY6ZXyayEvZCosV6B7P+lV842lN9Q
/KgrZjH09SYKK8pzqRPoAIvPJNT4fP8FeTztnKu9gfS0Zs2MnkKjEK85E8OMSidp
ISqn0xgHeuldMPL7gGxJKj95BF4jFUs4fQa8nD1jnnUbKdAsGd5ujpEAjAfV+kkG
ZPUyVrJokhGlCLLt2dG4PrgZ4tNXdEQwVGNskHYjs6YU+CGYjzfopvrUPast+cUA
EQEAAYkCHwQYAQIACQUCVhLReQIbDAAKCRCw28p9ZPdwsrmqD/sFsulD6nl5DRzn
ofkqBJwwl6zdtNN9OKsEi8UKc10iuq+ZvynWFbcARqW9sgbBCoCM5KuA5zMIQ0hv
rvlb+HOt8v7DA2D0d/IPU1BPnxoEuMDq5g+a3MYzmP+4Wmp8r6NNAW0ArWhazQsN
dIhAVv4ItUCos7+S7q8srsflpEVG78/fC4Fw4sRjAaCd1NsP6D3vHwENtbuoQaT6
3kyfPK+r6EADTxmeFe7anovQo6MirRCnLoo3NdPVfQlgXkdL3wiBpwm7W/PYY+9Z
6HIfE2AIBs+C5SdxYPR+tVz3+3QC9998egxTRnJMaKkDQ+nG/ROSVpCqXwhzob6H
lrKhoe7H7GKVZyl/IVllpUQHKi5C03S8JQxpaJoB85/C5ZlcMtb0e1YUYeVhTKWI
REFsx5FlxXcJh5CLVplZKxfn0oiIgnyKHtCOeNcXP2mOYClN8RmhW+/Z198bTmzM
rB2jq7a3xbLGWKJqfgfZ6EPwCEu/jZTBSQgyssrrGahyyOIDadEcyfYV+r5pUm1+
+1YxSe0/hZ89RjGAIneWmo6sDLwPd44GLKAAb/E/yS/320bu031426gU8Zdw7bK1
dVNVQxWOpRc/RTRjmVjrO9NIN+7DSNOFnvep13/48UEDSFXkNnh+VgxGpvpOouw2
xUBVNZuhjPr589pvAEQFUyxCTI0uwQ==
=sd4U
-----END PGP PUBLIC KEY BLOCK-----

View File

@@ -1,87 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title></title>
<link rel="stylesheet" type="text/css" href="../css/dvdisaster.css">
</head>
<body>
<!-- Title header -->
<table width="100%" cellpadding="0" border="0">
<tr>
<td align="left">
<span class="fxxl"><b>dvdisaster</b>&nbsp;</span>
<i>Version 0.79.5 (stable) / 0.79.6 (unstable)</i>
</td>
<td align="right">
<span class="fxxl">&nbsp;</span>
<a href="../de/impressum.html">Deutsch</a> &nbsp; English
</td>
</tr>
<tr><td colspan="2" class="hsep"></td></tr>
<tr><td colspan="2">
<table class="navigation" width="100%" cellpadding="0" border="0">
<tr>
<td>Navigation: &nbsp;&nbsp;&nbsp;
<a href="index.html">Developer site</a> &nbsp;&middot;&nbsp;
<a href="misc.html">Miscellaneous</a>
</td>
<td align="right">
<a href="privacy.html">Privacy policy</a> &nbsp;&middot;&nbsp;
<b>Contact information</b>
</td>
</tr>
</table>
</td></tr>
<tr><td colspan="2" class="hsep"></td></tr>
<tr><td style="height: 10px"></td></tr>
</table>
<!-- Main body -->
<b>Contact information</b><p>
Carsten Gnörlich <br>
Karl-von-Hahn-Str. 125 <br>
72250 Freudenstadt / Germany<br>
Tel.: +49 172 566 1442
<p>
E-Mail: carsten@dvdisaster.org<br>
Internet: www.dvdisaster.org
<p>
Responsible for the website content: <br>
Carsten Gnörlich (see above for address).
<p>
This notice covers the web sites under the domains<br>
<a href="http://dvdisaster.com">dvdisaster.com</a>, &nbsp;
<a href="http://dvdisaster.de">dvdisaster.de</a>, &nbsp;
<a href="http://dvdisaster.net">dvdisaster.net</a>, &nbsp;
<a href="http://dvdisaster.org">dvdisaster.org</a>.<br>
<!-- Page footer -->
<table width="100%" cellpadding="0" border="0">
<tr><td colspan="2" style="width:100%; height:10px;"></td></tr>
<tr><td colspan="2" class="hsep"></td></tr>
<tr>
<td align="center">
<span class="fs">
<i> Copyright 2004-2017 Carsten Gn&ouml;rlich.<br>
Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.
</i>
</span>
</td>
</tr>
<tr><td colspan="2" class="hsep"></td>
</tr>
</table>
</body>
</html>

View File

@@ -1,139 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title></title>
<link rel="stylesheet" type="text/css" href="../css/dvdisaster.css">
</head>
<body>
<!-- Title header -->
<table width="100%" cellpadding="0" border="0">
<tr>
<td align="left">
<span class="fxxl"><b>dvdisaster</b>&nbsp;</span>
<i>Version 0.79.5 (stable) / 0.79.6 (unstable)</i>
</td>
<td align="right">
<span class="fxxl">&nbsp;</span>
<a href="../de/index.html">Deutsch</a> &nbsp; English
</td>
</tr>
<tr><td colspan="2" class="hsep"></td></tr>
<tr><td colspan="2">
<table class="navigation" width="100%" cellpadding="0" border="0">
<tr>
<td>Navigation: &nbsp;&nbsp;&nbsp;
<b>Developer site</b> &nbsp;&middot;&nbsp;
<a href="misc.html">Miscellaneous</a>
</td>
<td align="right">
<a href="privacy.html">Privacy policy</a> &nbsp;&middot;&nbsp;
<a href="imprint.html">Contact information</a>
</td>
</tr>
</table>
</td></tr>
<tr><td colspan="2" class="hsep"></td></tr>
<tr><td style="height: 10px"></td></tr>
</table>
<!-- Main body -->
<b>Developer site</b><p>
This site provides the latest source code release of dvdisaster for the
FreeBSD, GNU/Linux and NetBSD operating systems. It is mostly aimed at
maintainers of binary packages for the beforementioned platforms.
End users might find it more convenient to install dvdisaster from the
package system of their operating system bundle or distribution.
But if you prefer to download and compile the source package on your own,
you're welcome, too.<br>
This site does <i>not</i> provide information on the purpose and usage
of dvdisaster. This is better described at other places, e.g.
in the <a href="misc.html#manual">user manual</a> and numerous online
forums.
<p>
<a name="download"></a>
<b>Download the source code</b>
<table width="100%">
<tr>
<td>dvdisaster is available for the <b>FreeBSD</b>, <b>GNU/Linux</b> und <b>NetBSD</b>
operating systems.
It is provided as
<a href="http://fsfe.org/about/basics/freesoftware.en.html">free software</a>
under the <a href="http://www.gnu.org/licenses/gpl-3.0.txt">GNU General Public License v3</a>. </td>
<td class="w127x" valign="top"><img src="../images/gplv3-127x51.png" alt="GPLv3-Logo" width="127">
</td>
</tr>
</table>
<p>
<table>
<tr>
<td>Current stable version:&nbsp;</td>
<td><a href="../downloads/dvdisaster-0.79.5.tar.bz2">dvdisaster-0.79.5.tar.bz2</a></td>
<td>(<a href="../downloads/dvdisaster-0.79.5.tar.bz2.gpg">digital signature</a>,
MD5 sum: ceef990a2239c43314bc6427c6afb181)</td>
</tr>
</table>
<p>
A <a href="misc.html#pubkey">digital signature</a> is provided for
verification that the packages are in their original state. The archives
contain a file <tt>INSTALL</tt> with further instructions for building dvdisaster.
<p>
OS X and Windows are no longer supported.
The <a href="misc.html#windows">last published version for Windows (0.72.3)</a> is still available.
<p>
<b>The developer versions are back!</b><p>
The original plan of publishing stable versions every few months did not work out due to continued lack of time. In the mean time, developer (unstable) versions are published whenever the need arises for a current update. Please be aware that developer versions are undocumented and may contain unfinished or otherwise defective functionality. You should only use them if you need some of the features detailed in the list below.<p>
<a href="../downloads/dvdisaster-0.79.6.tar.bz2">dvdisaster-0.79.6.tar.bz2</a></td>
<td>(<a href="../downloads/dvdisaster-0.79.6.tar.bz2.gpg">digital signature</a>,
MD5 sum: ceef990a2239c43314bc6427c6afb181)
<ul>
<li> The "medium info" tool will now correctly show the blank capacity (was previously always shown as zero)</li>
<li> added support for BDXL-TL (triple layer, 100GB) media</li>
<li> Sector CRC sums and the image MD5 sums are collected during
reading the medium and can be re-used by the ecc data creation
process. Speeds up ecc generation and enables RS03 image
checksums when generating ecc data was preceeded by a read.
</li>
</ul>
<p>
<b>What happened to the old dvdisaster site?</b><p>
Please see the <i>Preface for version 0.79.5</i> in the <a href="misc.html#manual">user manual</a>.
<!-- Page footer -->
<table width="100%" cellpadding="0" border="0">
<tr><td colspan="2" style="width:100%; height:10px;"></td></tr>
<tr><td colspan="2" class="hsep"></td></tr>
<tr>
<td align="center">
<span class="fs">
<i> Copyright 2004-2017 Carsten Gn&ouml;rlich.<br>
Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.
</i>
</span>
</td>
</tr>
<tr><td colspan="2" class="hsep"></td>
</tr>
</table>
</body>
</html>

View File

@@ -1,138 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title></title>
<link rel="stylesheet" type="text/css" href="../css/dvdisaster.css">
</head>
<body>
<!-- Title header -->
<table width="100%" cellpadding="0" border="0">
<tr>
<td align="left">
<span class="fxxl"><b>dvdisaster</b>&nbsp;</span>
<i>Version 0.79.5 (stable) / 0.79.6 (unstable)</i>
</td>
<td align="right">
<span class="fxxl">&nbsp;</span>
<a href="../de/verschiedenes.html">Deutsch</a> &nbsp; English
</td>
</tr>
<tr><td colspan="2" class="hsep"></td></tr>
<tr><td colspan="2">
<table class="navigation" width="100%" cellpadding="0" border="0">
<tr>
<td>Navigation: &nbsp;&nbsp;&nbsp;
<a href="index.html">Developer site</a> &nbsp;&middot;&nbsp;
<b>Miscellaneous</b>
</td>
<td align="right">
<a href="privacy.html">Privacy policy</a> &nbsp;&middot;&nbsp;
<a href="imprint.html">Contact information</a>
</td>
</tr>
</table>
</td></tr>
<tr><td colspan="2" class="hsep"></td></tr>
<tr><td style="height: 10px"></td></tr>
</table>
<!-- Main body -->
<b>Public key for the digital signature</b><p>
The downloadable dvdisaster packages have been digitally signed using
<a href="http://www.gnupg.org">GnuPG</a> so that you can verify
that the software is in its original state.<p>
Starting with version 0.79.5, releases are signed with this
<a href="../downloads/pubkey2.asc">4096bit RSA key</a>:
<pre>
pub 4096R/64F770B2 2015-10-05
Key fingerprint = E3AF E703 96CC C0D9 E5D8 381C B0DB CA7D 64F7 70B2
uid dvdisaster (pkg signing key #2)
sub 4096R/758BCC23 2015-10-05
</pre>
The <a href="../downloads/pubkey1.asc">1024bit DSA key</a> used to sign releases up to version 0.79.3 is
still available for reference.
Feel free to send an email to carsten@dvdisaster.org to obtain
any of these fingerprints directly from the developers.
Please include "GPG finger print" in the subject line.
<p>
<b>User's manual</b><p>
<a name="manual"></a>
The user manual is provided as a <a href="../downloads/manual.pdf">PDF document (manual.pdf)</a>.
It contains several basic examples of using dvdisaster and some background
information on its way of working.
You do not need to download the manual if you already have the
source code archive - a copy of the manual is contained there.
<p>
<b>Codec specification</b><p>
The specification of the RS01, RS02 and RS03 codec
is available as a <a href="../downloads/codecs.pdf">PDF document (codecs.pdf)</a>.
This document is meant to discuss the codec implementation among developers.
It requires knowledge in the area of coding theory and is not meant as end
user documentation.
<table>
<tr><td>
<a href="http://pdfreaders.org/"><img src="http://pdfreaders.org/graphics/pdfreaders-lang-neutral.png" alt="pdfreaders.org" /></a></td>
<td>Software for reading the PDF document is available at <a href="http://pdfreaders.org">PDFreaders.org</a>.</td>
</tr>
</table>
<p>
<b>Last Windows release</b><p>
<a name="windows"></a>
A native Windows fork of dvdisaster will be started soon by another developer,
but there is nothing to announce yet.
In the mean time, please continue using the last published version for Windows (0.72.3):
<table>
<tr>
<td>Source code:&nbsp;</td>
<td><a href="../downloads/dvdisaster-0.72.3.tar.bz2">dvdisaster-0.72.3.tar.bz2</a></td>
<td>(<a href="../downloads/dvdisaster-0.72.3.tar.bz2.gpg">digital signature</a>,
MD5 checksum: 4eb09c1aa3cdbc1dafdb075148fb471d)</td>
</tr>
<tr>
<td>Binary installer:&nbsp;</td>
<td><a href="../downloads/dvdisaster-0.72.3-setup.exe">dvdisaster-0.72.3-setup.exe</a></td>
<td>(<a href="../downloads/dvdisaster-0.72.3-setup.exe.gpg">digital signature</a>,
MD5 checksum: b6861ba1e8de6d91a2da5342a14870e0)</td>
</tr>
</table>
<!-- Page footer -->
<table width="100%" cellpadding="0" border="0">
<tr><td colspan="2" style="width:100%; height:10px;"></td></tr>
<tr><td colspan="2" class="hsep"></td></tr>
<tr>
<td align="center">
<span class="fs">
<i> Copyright 2004-2017 Carsten Gn&ouml;rlich.<br>
Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.
</i>
</span>
</td>
</tr>
<tr><td colspan="2" class="hsep"></td>
</tr>
</table>
</body>
</html>

View File

@@ -1,102 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title></title>
<link rel="stylesheet" type="text/css" href="../css/dvdisaster.css">
</head>
<body>
<!-- Title header -->
<table width="100%" cellpadding="0" border="0">
<tr>
<td align="left">
<span class="fxxl"><b>dvdisaster</b>&nbsp;</span>
<i>Version 0.79.5 (stable) / 0.79.6 (unstable)</i>
</td>
<td align="right">
<span class="fxxl">&nbsp;</span>
<a href="../de/datenschutz.html">Deutsch</a> &nbsp; English
</td>
</tr>
<tr><td colspan="2" class="hsep"></td></tr>
<tr><td colspan="2">
<table class="navigation" width="100%" cellpadding="0" border="0">
<tr>
<td>Navigation: &nbsp;&nbsp;&nbsp;
<a href="index.html">Developer site</a> &nbsp;&middot;&nbsp;
<a href="misc.html">Miscellaneous</a>
</td>
<td align="right">
<b>Privacy policy</b> &nbsp;&middot;&nbsp;
<a href="imprint.html">Contact information</a>
</td>
</tr>
</table>
</td></tr>
<tr><td colspan="2" class="hsep"></td></tr>
<tr><td style="height: 10px"></td></tr>
</table>
<!-- Main body -->
<b>Privacy statement for the web sites</b><p>
dvdisaster.com, &nbsp;
dvdisaster.de, &nbsp;
dvdisaster.net, &nbsp;
dvdisaster.org
<p>
The dvdisaster project (<a href="imprint.html">see the contact page for representatives</a>)
provides its internet sites to you without requiring a registration or entering personal data.
<p>
<b>Server log files</b><p>
The servers of this internet site create no logs about your visit.
<p>
<b>Cookies</b><p>
This internet site does not use cookies.
<p>
<b>Links to other internet sites</b><p>
Our internet pages contain links to other internet sites.
The dvdisaster project has no control over their publishers,
and whether they follow our privacy policy.
<p>
<b>Further development of these internet pages</b><p>
Further development of these internet pages may require our privacy policy
to be changed. Please revisit this policy statement occasionally and watch for
change notices.
<!-- Page footer -->
<table width="100%" cellpadding="0" border="0">
<tr><td colspan="2" style="width:100%; height:10px;"></td></tr>
<tr><td colspan="2" class="hsep"></td></tr>
<tr>
<td align="center">
<span class="fs">
<i> Copyright 2004-2017 Carsten Gn&ouml;rlich.<br>
Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.
</i>
</span>
</td>
</tr>
<tr><td colspan="2" class="hsep"></td>
</tr>
</table>
</body>
</html>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

View File

@@ -11,7 +11,7 @@ archclean: clean
single:
pdflatex manual
manual.pdf: preface.tex background.tex defect-reporting.tex howtos.tex manual.tex qa.tex burning-compatibility.tex download.tex local.tex overview.tex
manual.pdf: preface.tex background.tex defect-reporting.tex howtos.tex manual.tex qa.tex download.tex local.tex overview.tex
pdflatex manual
pdflatex manual
pdflatex manual

View File

@@ -272,7 +272,7 @@ media with augmented images may not play correctly on all units \\
\end{tabular}
\paragraph{Further reading.} The specification for the dvdisaster codecs
has been specified in a separate document called \href{http://dvdisaster.net/downloads/codecs.pdf}{codecs.pdf}.
has been specified in a separate document called \href{https://web.archive.org/web/20180428070843/http://dvdisaster.net/downloads/codecs.pdf}{codecs.pdf}.
Good knowledge in coding theory and programming is required.
\subsection{The linear reading strategy}

View File

@@ -1,196 +0,0 @@
\section{Burning software compatibility}
\label{burning-compatibility}
dvdisaster must be used in conjunction with a CD/DVD/BD writing suite (``burning program'')
in order to generate ISO images and to write augmented ISO image files. Unfortunately,
not all burning programs provide the required features to work with dvdisaster.
Some burning programs may even produce media and/or ISO images which can not be
used with dvdisaster.
\smallskip
For your convenience, the dvdisaster project has tested some free burning programs
available for GNU/Linux. Please note that this list will always be incomplete and
only be a snapshot of a certain program version. It is likely to be outdated when
you are reading this page. It is therefore recommended that you test your specific
burning program version by following the \tlnk{howto-compat-overview}{instructions} given
in the howto section.
\paragraph{Recommended software}\quad
\medskip
The dvdisaster project recommends either using the command line tools
listed below or using the K3B burning application (which is actually
a graphical wrapper around the command line tools).
\paragraph{Burning program compatibility table}\quad
\medskip
\newcommand{\tgrey}[1]{\cellcolor{dkgrey}#1}
\newcommand{\tturquoise}[1]{\cellcolor{turquoise}#1}
\newcommand{\tpink}[1]{\cellcolor{pink}#1}
\newcommand{\tblue}[1]{\cellcolor{dkblue}#1}
\newcommand{\tred}[1]{&\begin{minipage}{10mm}{\cellcolor{ltred}#1}\end{minipage}}
\newcommand{\tyellow}[1]{&\begin{minipage}{10mm}\cellcolor{ltyellow}{#1}\end{minipage}}
\newcommand{\ok}{&\cellcolor{ltgreen}OK}
\newcommand{\na}{&\cellcolor{ltgrey}n.a.}
\newcommand{\nt}{&\begin{minipage}{10mm}{not tested}\end{minipage}}
\begin{tabular}{|c|c|c|c|c|c|c|c|c|c|}
\hline
\tgrey{} & \tgrey{} & \tgrey{} & \tturquoise{Create} &
\multicolumn{3}{c|}{\tpink{Burning images}} & \multicolumn{3}{c|}{\tblue{Burning images}} \\
\tgrey{Program} & \tgrey{Version} & \tgrey{Testing} & \tturquoise{ISO/} &
\multicolumn{3}{c|}{\tpink{for error}} &
\multicolumn{3}{c|}{\tblue{with embedded}} \\
\tgrey{} & \tgrey{} & \tgrey{Date} & \tturquoise{UDF} &
\multicolumn{3}{c|}{\tpink{correction files}} &
\multicolumn{3}{c|}{\tblue{error correction}} \\
\cline{5-10}
\tgrey{} & \tgrey{} & \tgrey{} &\tturquoise{Image} &\tpink{CD} &\tpink{DVD} &\tpink{BD} &\tblue{CD} &\tblue{DVD} &\tblue{BD} \\
\hline
\multicolumn{10}{|c|}{\cellcolor{ltgrey}Command line tools} \\
\hline
genisoimage & 1.1.11 & Jul'14 \ok \na \na \na \na \na \na \\
\hline
wodim & 1.1.11 & Jul'14 \na \ok \ok \na \ok \ok \na \\
\hline
growisofs & 7.1 & Jul'14 \na \na \ok \ok \na \ok \ok \\
\hline
\multicolumn{10}{|c|}{\cellcolor{ltgrey}Tools with a graphical user interface} \\
\hline
brasero & 3.4.1 & Jul'14 \tred{no UDF$^{1)}$} \tyellow{avoid$^{2)}$} \ok \na \tyellow{avoid$^{2)}$} \ok \na \\
\hline
K3B & 2.0.2 & Jul'14 \ok \ok \ok \na \ok \ok \na \\
\hline
xfburn & 0.4.3 & Jul'14 \ok \tyellow{re-read only$^{3)}$} \tyellow{re-read only$^{3)}$} \na \tred{do not use$^{3)}$} \tred{do not use$^{3)}$} \na \\
\hline
\end{tabular}
\bigskip
\paragraph{Testing conditions and objectives}\quad
\medskip
Testing was done using Debian 7.5 (wheezy) on an amd64 machine.
Versions of the tested writing software are indicated in the table above.
\medskip
Evaluation of the burning software is done for the two major cases where
interoperability with dvdisaster is required:
\bigskip
a) Creating error correction files
\medskip
The burning program is used to assemble an ISO image from a selected set of files,
and to write a CD, DVD or BD disc from it. An \tlnk{howto-eccfile}{error correction file} will
be created to protect this medium.
\smallskip
There are two ways of obtaining the ISO image for creating the error correction file:
\begin{enumerate}
\item The burning program is used to create an ISO image which is stored on hard disk.
This image is used for burning the medium and for creating the error correction file.
If the writing software creates a medium which does not exactly match the image,
the resulting error correction file may be useless.
A respective \tlnk{howto-compat-file}{testing method} is described
in the ``Howtos'' section. An ``OK'' in the table above indicates that
this test has been passed. But you are strongly advised to
\tlnk{howto-compat-file}{do your own test} at least
once to make sure that you are working on the same versions and premises.
\smallskip
If it is not possible to use a pre-made ISO image for both writing the medium
and for creating the error correction file, the writing software is
rated ``Re-read only'' in the table. In that case, use the alternative
approach described below (topic 2).
\item The burning program is used to write a medium, either by using a
pre-made ISO image or by creating the image on-the-fly while writing
the medium. Afterwards, the pre-made ISO image is discarded. dvdisaster
is used to read back a new ISO image from the newly written medium. From
this newly created ISO image the error correction file is created. This
process should always work; if not, the respective burning software is
marked as being unusable in the table.
\end{enumerate}
\bigskip
b) Augmenting a medium with error correction data
\medskip
\tlnk{howto-augment-write-iso}{Creating a medium}
\tlnk{howto-augment}{with embedded error correction data} is comprised of
several sub tasks: First, the burning application converts a selection of files
into an ISO image stored on hard disk. dvdisaster augments the image residing
on the hard disk with error correction data. Then, the burning application
writes the augmented image to the CD, DVD or BD. The ISO image content or format
must not be altered during the writing process. Especially, the added error correction
sectors must not be removed and no padding sectors must be added to the image during
the writing process. The ``Howto'' section describes
\tlnk{howto-compat-augment}{a test for compatibility between
a writing software and dvdisaster}. An ``OK'' in the table above indicates that this
test has been passed; otherwise you can not use the respective software for writing
augmented images. You are strongly advised to \tlnk{howto-compat-augment}{do your own test} at
least once to make sure that you are working on the same versions
and premises even with software marked as compatible in the table above.
\bigskip
c) Creating ISO images
\medskip
In addition, the table indicates whether the burning application can convert
a selection of files into an ISO image and store that ISO image on hard disk
for further processing with dvdisaster.
\paragraph{Notes (why a certain software failed a test)}\quad
\medskip
$^{1)}${\bf brasero} can only create ISO images, not ISO/UDF. This is not
recommended for DVD-Video authoring and has the disadvantage that files
with sizes greater than 2GiB can not be used in a portable way (the tested
version can not use files larger than 2GiB at all even if it says otherwise).
\bigskip
$^{2)}${\bf brasero} does not support the ``disc at once'' writing strategy. This
creates two spurious unreadable sectors at the end of CD media. dvdisaster
can handle such media, but will issue a warning and requires a preferences
setting each time such media is processed.
\bigskip
$^{3)}${\bf xfburn} can not be used to write RS02/RS03 augmented images due to a
wrong implementation of padding sector handling. In a correct implementation,
a burning program would add 150 zero padding sectors to an image it has created
itself. However padding sectors must never be added to an image which was created
or manipulated by a foreign application, such as an image being augmented by dvdisaster.
This results in the image being read back with wrong checksums, and dvdisaster will
rightfully complain that the ``Image file is 150 sectors longer than expected.''.
Error correction files can - for the same reason - not be used when created from
the original image, but it is possible to re-read the image from the written
medium and create error correction files from that image.

Some files were not shown because too many files have changed in this diff Show More