Compare commits
43 Commits
debian/0.7
...
debian/0.7
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
30adf4ea35 | ||
|
|
72e8ebd009 | ||
|
|
1c6804804d | ||
|
|
de50a000bf | ||
|
|
00d42647ef | ||
|
|
1a4b5b62ee | ||
|
|
5197239bfa | ||
|
|
e82528bc0c | ||
|
|
869c56ca37 | ||
|
|
ff8db2fb8b | ||
|
|
765d87e0d3 | ||
|
|
2ef4511927 | ||
|
|
2388e522b3 | ||
|
|
b3b74e69d9 | ||
|
|
3af39d5b74 | ||
|
|
d813ad385b | ||
|
|
c4d7120860 | ||
|
|
5f5aef550f | ||
|
|
0144e738fb | ||
|
|
5d5e943c51 | ||
|
|
06c675c1fd | ||
|
|
a5f48d91a3 | ||
|
|
f83f9e81b0 | ||
|
|
38a3127d2f | ||
|
|
9f38622429 | ||
|
|
520b4cb8c9 | ||
|
|
af00bbb1cb | ||
|
|
34afe54009 | ||
|
|
a66cebafd3 | ||
|
|
eaa545b89c | ||
|
|
72767c589f | ||
|
|
1a3b3cbfa7 | ||
|
|
1b266ccbde | ||
|
|
7d36061007 | ||
|
|
645178ef92 | ||
|
|
1a6b38f9a5 | ||
|
|
a614f5d1f7 | ||
|
|
52204ec502 | ||
|
|
84716913ad | ||
|
|
f16a9b9c7b | ||
|
|
bb6d3049f5 | ||
|
|
c68a08fb59 | ||
|
|
c71560a5f2 |
73
debian/changelog
vendored
73
debian/changelog
vendored
@@ -1,3 +1,72 @@
|
||||
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 ]
|
||||
@@ -99,7 +168,7 @@ dvdisaster (0.72.4-1) unstable; urgency=low
|
||||
|
||||
dvdisaster (0.72.3-2) unstable; urgency=low
|
||||
|
||||
* debian/patches/libpng15: Build with libpng15. (Closes: #649555)
|
||||
* debian/patches/libpng15: Build with libpng15. (Closes: #649555)
|
||||
|
||||
-- TANIGUCHI Takaki <takaki@debian.org> Mon, 19 Mar 2012 11:08:53 +0900
|
||||
|
||||
@@ -146,7 +215,7 @@ dvdisaster (0.72.1-1) unstable; urgency=low
|
||||
* New maintainer (Closes: 543876)
|
||||
* new upstream version.
|
||||
* debian/control: update Homepage:
|
||||
* debian/README.source: create
|
||||
* debian/README.source: create
|
||||
* debian/control: add Vcs-*.
|
||||
|
||||
-- TANIGUCHI Takaki <takaki@debian.org> Mon, 23 Nov 2009 10:29:09 +0900
|
||||
|
||||
2
debian/compat
vendored
2
debian/compat
vendored
@@ -1 +1 @@
|
||||
10
|
||||
11
|
||||
|
||||
20
debian/control
vendored
20
debian/control
vendored
@@ -3,21 +3,21 @@ 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>
|
||||
Build-Depends: debhelper (>= 10),
|
||||
dh-exec,
|
||||
dpkg-dev (>= 1.16.1.1),
|
||||
Rogério Brito <rbrito@ime.usp.br>,
|
||||
Carlos Maddela <e7appew@gmail.com>
|
||||
Build-Depends: debhelper (>= 11),
|
||||
gettext,
|
||||
libbz2-dev,
|
||||
libcam-dev [kfreebsd-any],
|
||||
libgtk2.0-dev,
|
||||
libpng-dev,
|
||||
pkg-config
|
||||
# Build-Depends-Indep: texlive-fonts-recommended,
|
||||
# texlive-latex-base,
|
||||
# texlive-latex-extra
|
||||
Standards-Version: 3.9.8
|
||||
Vcs-Browser: https://anonscm.debian.org/git/pkg-opt-media/dvdisaster.git
|
||||
Vcs-Git: https://anonscm.debian.org/git/pkg-opt-media/dvdisaster.git
|
||||
Build-Depends-Indep: texlive-fonts-recommended,
|
||||
texlive-latex-base,
|
||||
texlive-latex-extra
|
||||
Standards-Version: 4.1.4
|
||||
Vcs-Browser: https://salsa.debian.org/optical-media-team/dvdisaster
|
||||
Vcs-Git: https://salsa.debian.org/optical-media-team/dvdisaster.git
|
||||
Homepage: http://dvdisaster.net/
|
||||
|
||||
Package: dvdisaster
|
||||
|
||||
4
debian/copyright
vendored
4
debian/copyright
vendored
@@ -9,9 +9,9 @@ License: GPL-3+
|
||||
|
||||
Files: debian/*
|
||||
Copyright: 2005–2009, Daniel Baumann <daniel@debian.org>
|
||||
2009–2012, TANIGUCHI Takaki <takaki@debian.org>
|
||||
2009–2018, TANIGUCHI Takaki <takaki@debian.org>
|
||||
2009–2010, Rogério Brito <rbrito@ime.usp.br>
|
||||
2016, Carlos Maddela <e7appew@gmail.com>
|
||||
2016–2018, Carlos Maddela <e7appew@gmail.com>
|
||||
License: GPL-2+
|
||||
|
||||
License: GPL-2+
|
||||
|
||||
2
debian/dvdisaster-doc.doc-base
vendored
2
debian/dvdisaster-doc.doc-base
vendored
@@ -7,4 +7,4 @@ Abstract: This manual describes what dvdisaster is and how it can be used
|
||||
Section: File Management
|
||||
|
||||
Format: PDF
|
||||
Files: /usr/share/doc/dvdisaster-doc/manual.pdf.gz
|
||||
Files: /usr/share/doc/dvdisaster/manual.pdf.gz
|
||||
|
||||
1
debian/dvdisaster-doc.links
vendored
1
debian/dvdisaster-doc.links
vendored
@@ -1 +0,0 @@
|
||||
usr/share/doc/dvdisaster-doc/manual.pdf.gz usr/share/doc/dvdisaster/manual.pdf.gz
|
||||
9
debian/dvdisaster.install
vendored
Executable file → Normal file
9
debian/dvdisaster.install
vendored
Executable file → Normal file
@@ -1,10 +1,5 @@
|
||||
#!/usr/bin/dh-exec
|
||||
contrib/dvdisaster.desktop usr/share/applications
|
||||
usr/bin
|
||||
usr/share/icons
|
||||
usr/share/locale
|
||||
usr/share/man
|
||||
contrib/dvdisaster.desktop usr/share/applications
|
||||
contrib/dvdisaster16.png => usr/share/icons/hicolor/16x16/apps/dvdisaster.png
|
||||
contrib/dvdisaster24.png => usr/share/icons/hicolor/24x24/apps/dvdisaster.png
|
||||
contrib/dvdisaster32.png => usr/share/icons/hicolor/32x32/apps/dvdisaster.png
|
||||
contrib/dvdisaster48.png => usr/share/icons/hicolor/48x48/apps/dvdisaster.png
|
||||
contrib/dvdisaster64.png => usr/share/icons/hicolor/64x64/apps/dvdisaster.png
|
||||
|
||||
@@ -10,7 +10,6 @@ Description: Fix GNU Make detection.
|
||||
This change allows for more predictable behaviour: grep returns an
|
||||
error code of 0 or 1.
|
||||
Author: Carlos Maddela <e7appew@gmail.com>
|
||||
Origin: vendor
|
||||
Bug-Debian: https://bugs.debian.org/848811
|
||||
Forwarded: no
|
||||
Last-Update: 2016-12-18
|
||||
|
||||
@@ -4,7 +4,6 @@ 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>
|
||||
Origin: vendor
|
||||
Forwarded: no
|
||||
Last-Update: 2016-12-19
|
||||
---
|
||||
|
||||
1
debian/patches/11-no-cruft.patch
vendored
1
debian/patches/11-no-cruft.patch
vendored
@@ -4,7 +4,6 @@ Subject: Do not install cruft.
|
||||
|
||||
Description: Do not install cruft.
|
||||
Author: Carlos Maddela <e7appew@gmail.com>
|
||||
Origin: vendor
|
||||
Forwarded: not-needed
|
||||
Last-Update: 2017-01-05
|
||||
---
|
||||
|
||||
@@ -4,7 +4,6 @@ Subject: Fix spelling: upto -> up to
|
||||
|
||||
Description: Fix spelling: upto -> up to
|
||||
Author: Carlos Maddela <e7appew@gmail.com>
|
||||
Origin: vendor
|
||||
Forwarded: no
|
||||
Last-Update: 2017-01-05
|
||||
---
|
||||
|
||||
@@ -4,7 +4,6 @@ Subject: Fix missing language fields in PO files.
|
||||
|
||||
Description: Fix missing language fields in PO files.
|
||||
Author: Carlos Maddela <e7appew@gmail.com>
|
||||
Origin: vendor
|
||||
Forwarded: no
|
||||
Last-Update: 2017-01-05
|
||||
---
|
||||
|
||||
114
debian/patches/14-make-builds-reproducible.patch
vendored
114
debian/patches/14-make-builds-reproducible.patch
vendored
@@ -6,17 +6,112 @@ 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>
|
||||
Origin: vendor
|
||||
Forwarded: not-needed
|
||||
Last-Update: 2016-12-19
|
||||
Last-Update: 2017-08-14
|
||||
---
|
||||
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
|
||||
---
|
||||
scripts/time-stamper.bash | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
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 1666795..05a3b24 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 7568cba..51e91a2 100644
|
||||
--- a/closure.c
|
||||
+++ b/closure.c
|
||||
@@ -433,7 +433,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 db2031e..bcfd4f5 100644
|
||||
--- a/dvdisaster.h
|
||||
+++ b/dvdisaster.h
|
||||
@@ -450,7 +450,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 ed1fc65..24b1e7c 100644
|
||||
--- a/locale/cs.po
|
||||
+++ b/locale/cs.po
|
||||
@@ -6476,11 +6476,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 04b33b5..012ce9e 100644
|
||||
--- a/locale/pt_BR.po
|
||||
+++ b/locale/pt_BR.po
|
||||
@@ -6200,11 +6200,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 6cd3789..912d6fb 100644
|
||||
--- a/locale/ru.po
|
||||
+++ b/locale/ru.po
|
||||
@@ -6215,11 +6215,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..60fe91a 100755
|
||||
index fd28794..4ec3e60 100755
|
||||
--- a/scripts/time-stamper.bash
|
||||
+++ b/scripts/time-stamper.bash
|
||||
@@ -1,7 +1,7 @@
|
||||
@@ -24,9 +119,10 @@ index fd28794..60fe91a 100755
|
||||
|
||||
-build=$(grep BUILD $1 | cut -d\ -f3)
|
||||
-build=$((build+1))
|
||||
+# Use Debian changelog details to derive build number and date.
|
||||
+build=$(dpkg-parsechangelog -S Version | sed 's/.*-\([0-9]\+\).*/\1/')
|
||||
echo "#define BUILD $build" >$1
|
||||
-echo "#define BUILD $build" >$1
|
||||
-date=$(date +"%d.%m.%y (%A, %H:%M)")
|
||||
+date=$(date --date="$(dpkg-parsechangelog -S 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
|
||||
|
||||
1
debian/patches/15-show-new-pkg-tracker.patch
vendored
1
debian/patches/15-show-new-pkg-tracker.patch
vendored
@@ -5,7 +5,6 @@ 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>
|
||||
Origin: vendor
|
||||
Forwarded: not-needed
|
||||
Last-Update: 2016-12-19
|
||||
---
|
||||
|
||||
@@ -5,7 +5,6 @@ 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>
|
||||
Origin: vendor
|
||||
Forwarded: not-needed
|
||||
Last-Update: 2017-01-05
|
||||
---
|
||||
|
||||
@@ -4,7 +4,6 @@ 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>
|
||||
Origin: vendor
|
||||
Bug-Debian: https://bugs.debian.org/748416
|
||||
Forwarded: no
|
||||
Last-Update: 2017-01-05
|
||||
@@ -23,7 +22,7 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
|
||||
9 files changed, 38 insertions(+), 32 deletions(-)
|
||||
|
||||
diff --git a/closure.c b/closure.c
|
||||
index 7568cba..0e2f889 100644
|
||||
index 51e91a2..40bb225 100644
|
||||
--- a/closure.c
|
||||
+++ b/closure.c
|
||||
@@ -196,7 +196,7 @@ void ReadDotfile()
|
||||
|
||||
@@ -4,7 +4,6 @@ Subject: Update copyright notice in about dialog.
|
||||
|
||||
Description: Update copyright notice in about dialog.
|
||||
Author: Carlos Maddela <e7appew@gmail.com>
|
||||
Origin: vendor
|
||||
Forwarded: not-needed
|
||||
Last-Update: 2017-01-05
|
||||
---
|
||||
|
||||
@@ -4,7 +4,6 @@ Subject: Allow ShowTextFile() to work with absolute path names.
|
||||
|
||||
Description: Allow ShowTextFile() to work with absolute path names.
|
||||
Author: Carlos Maddela <e7appew@gmail.com>
|
||||
Origin: vendor
|
||||
Forwarded: no
|
||||
Last-Update: 2016-12-21
|
||||
---
|
||||
|
||||
@@ -7,7 +7,6 @@ Description: Fix display of changelog, credits and to-do files.
|
||||
duplicates in /usr/share/doc/dvdisaster-doc or build with source
|
||||
path embedded anymore.
|
||||
Author: Carlos Maddela <e7appew@gmail.com>
|
||||
Origin: vendor
|
||||
Forwarded: not-needed
|
||||
Last-Update: 2017-01-05
|
||||
---
|
||||
|
||||
1
debian/patches/22-fix-hurd-i386-ftbfs.patch
vendored
1
debian/patches/22-fix-hurd-i386-ftbfs.patch
vendored
@@ -6,7 +6,6 @@ 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>
|
||||
Origin: vendor
|
||||
Forwarded: no
|
||||
Last-Update: 2017-01-04
|
||||
---
|
||||
|
||||
2
debian/patches/23-add-bdrom-support.patch
vendored
2
debian/patches/23-add-bdrom-support.patch
vendored
@@ -7,7 +7,7 @@ Description: Add support for BD-ROM media-type.
|
||||
media-type. This allows dvdisaster to scan and read (ie create ISO
|
||||
images of) BD-ROM media.
|
||||
Author: Corey Write <undefined@pobox.com>
|
||||
Origin: vendor, https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=849518;filename=dvdisaster-add_bdrom_support.patch;msg=5
|
||||
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
|
||||
|
||||
1
debian/patches/24-show-gpl3-license.patch
vendored
1
debian/patches/24-show-gpl3-license.patch
vendored
@@ -4,7 +4,6 @@ Subject: Update help dialog to show GPL-3 license.
|
||||
|
||||
Description: Update help dialog to show GPL-3 license.
|
||||
Author: Carlos Maddela <e7appew@gmail.com>
|
||||
Origin: vendor
|
||||
Forwarded: not-needed
|
||||
Last-Update: 2017-01-05
|
||||
---
|
||||
|
||||
1
debian/patches/25-fix-man-pages.patch
vendored
1
debian/patches/25-fix-man-pages.patch
vendored
@@ -6,7 +6,6 @@ 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>
|
||||
Origin: vendor
|
||||
Forwarded: no
|
||||
Last-Update: 2016-12-21
|
||||
---
|
||||
|
||||
@@ -6,7 +6,6 @@ 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>
|
||||
Origin: vendor
|
||||
Forwarded: not-needed
|
||||
Last-Update: 2017-01-05
|
||||
---
|
||||
|
||||
@@ -4,7 +4,6 @@ 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>
|
||||
Origin: vendor
|
||||
Forwarded: not-needed
|
||||
Last-Update: 2016-12-21
|
||||
---
|
||||
@@ -18,7 +17,7 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
|
||||
create mode 100644 show-html.c
|
||||
|
||||
diff --git a/closure.c b/closure.c
|
||||
index 0e2f889..632c103 100644
|
||||
index 40bb225..f408f7a 100644
|
||||
--- a/closure.c
|
||||
+++ b/closure.c
|
||||
@@ -467,6 +467,7 @@ void InitClosure()
|
||||
@@ -38,7 +37,7 @@ index 0e2f889..632c103 100644
|
||||
cond_free(Closure->simulateCD);
|
||||
cond_free(Closure->dDumpDir);
|
||||
diff --git a/dvdisaster.h b/dvdisaster.h
|
||||
index db2031e..22eab5a 100644
|
||||
index bcfd4f5..ae874ae 100644
|
||||
--- a/dvdisaster.h
|
||||
+++ b/dvdisaster.h
|
||||
@@ -213,6 +213,7 @@ typedef struct _GlobalClosure
|
||||
@@ -49,19 +48,19 @@ index db2031e..22eab5a 100644
|
||||
|
||||
GMutex progressLock; /* A mutex protected the stuff below */
|
||||
char bs[256]; /* A string of 255 backspace characters */
|
||||
@@ -1299,6 +1300,12 @@ int ProbeAltiVec(void);
|
||||
@@ -1298,6 +1299,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 5065e76..3874463 100644
|
||||
--- a/help-dialogs.c
|
||||
|
||||
@@ -1,27 +1,29 @@
|
||||
From: Carlos Maddela <e7appew@gmail.com>
|
||||
Date: Thu, 5 Jan 2017 19:14:35 +1100
|
||||
Subject: Generate the same PDF document IDs for build reproducibility.
|
||||
Subject: Apply pdftex workarounds for build reproducibility.
|
||||
|
||||
Description: Generate the same PDF IDs 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>
|
||||
Origin: vendor
|
||||
Forwarded: not-needed
|
||||
Last-Update: 2016-12-21
|
||||
Last-Update: 2017-08-15
|
||||
---
|
||||
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
|
||||
---
|
||||
documentation/user-manual/manual.tex | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
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 60fb51e..aaab4fa 100644
|
||||
index 60fb51e..bf4364d 100644
|
||||
--- a/documentation/user-manual/manual.tex
|
||||
+++ b/documentation/user-manual/manual.tex
|
||||
@@ -65,6 +65,7 @@
|
||||
@@ -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
173
debian/patches/29-fix-more-typos.patch
vendored
Normal 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-08-06
|
||||
---
|
||||
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 24b1e7c..497a4a9 100644
|
||||
--- a/locale/cs.po
|
||||
+++ b/locale/cs.po
|
||||
@@ -1903,7 +1903,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 bbbfdcc..bb5baa6 100644
|
||||
--- a/locale/de.po
|
||||
+++ b/locale/de.po
|
||||
@@ -1959,7 +1959,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 a074339..000d5c3 100644
|
||||
--- a/locale/it.po
|
||||
+++ b/locale/it.po
|
||||
@@ -1749,7 +1749,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 012ce9e..4624071 100644
|
||||
--- a/locale/pt_BR.po
|
||||
+++ b/locale/pt_BR.po
|
||||
@@ -1839,7 +1839,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 912d6fb..66fc036 100644
|
||||
--- a/locale/ru.po
|
||||
+++ b/locale/ru.po
|
||||
@@ -1841,7 +1841,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 9f70808..5cd4927 100644
|
||||
--- a/locale/sv.po
|
||||
+++ b/locale/sv.po
|
||||
@@ -1755,7 +1755,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 f5ef889..5a24200 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 46bfac4..45f7611 100755
|
||||
--- a/regtest/rs01.bash
|
||||
+++ b/regtest/rs01.bash
|
||||
@@ -1327,7 +1327,7 @@ if try "reading medium in 3 passes; 3rd pass recovers some" read_multipass_parti
|
||||
run_regtest read_multipass_partial_success "--read-medium=3 --spinup-delay=0 -r" $TMPISO $ISODIR/no.ecc
|
||||
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 b70a4a4..515cc93 100644
|
||||
--- a/scsi-layer.c
|
||||
+++ b/scsi-layer.c
|
||||
@@ -2474,7 +2474,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 0355879..e33ad8f 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);
|
||||
46
debian/patches/30-hurd-kfreebsd-ftbfs.patch
vendored
Normal file
46
debian/patches/30-hurd-kfreebsd-ftbfs.patch
vendored
Normal 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 b2c6033..b14e326 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
|
||||
308
debian/patches/31-improve-hurd-and-kfreebsd-support.patch
vendored
Normal file
308
debian/patches/31-improve-hurd-and-kfreebsd-support.patch
vendored
Normal 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 60c55f9..f30f5d3 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 f408f7a..f4b1893 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);
|
||||
|
||||
@@ -425,7 +426,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 d62f5d7..9abcf96 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 78d0be4..793f206 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 515cc93..609cb73 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 cc7d9fc..0706a22 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 e9183f6..ef54552 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;
|
||||
192
debian/patches/32-display-compilation-commands.patch
vendored
Normal file
192
debian/patches/32-display-compilation-commands.patch
vendored
Normal 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
28
debian/patches/33-honour-LDFLAGS.patch
vendored
Normal 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
|
||||
7
debian/patches/series
vendored
7
debian/patches/series
vendored
@@ -19,4 +19,9 @@
|
||||
25-fix-man-pages.patch
|
||||
26-fix-display-of-manual.pdf.patch
|
||||
27-allow-opening-in-browser-again.patch
|
||||
28-fudge-pdf-doc-ids.patch
|
||||
28-pdftex-reproducibility.patch
|
||||
29-fix-more-typos.patch
|
||||
30-hurd-kfreebsd-ftbfs.patch
|
||||
31-improve-hurd-and-kfreebsd-support.patch
|
||||
32-display-compilation-commands.patch
|
||||
33-honour-LDFLAGS.patch
|
||||
|
||||
43
debian/rules
vendored
43
debian/rules
vendored
@@ -6,12 +6,17 @@ 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
|
||||
|
||||
export SOURCE_DATE_EPOCH := \
|
||||
$(shell date --date="$$(dpkg-parsechangelog -S Date)" +%s)
|
||||
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/config/version.tex \
|
||||
documentation/user-manual/manual.pdf
|
||||
|
||||
BUILDROOT := $(CURDIR)/debian/tmp
|
||||
ICONS := $(wildcard contrib/dvdisaster*.png)
|
||||
ICON_SIZES := $(patsubst contrib/dvdisaster%.png,%,$(ICONS))
|
||||
|
||||
%:
|
||||
dh $@
|
||||
@@ -20,9 +25,11 @@ override_dh_auto_configure:
|
||||
for f in $(MUTABLE_FILES); do \
|
||||
cp -an $$f $$f.orig; \
|
||||
done
|
||||
dh_auto_configure -- \
|
||||
--localedir=\$${prefix}/share/locale \
|
||||
--docdir=\$${prefix}share/doc \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--mandir=share/man \
|
||||
--localedir=share/locale \
|
||||
--docdir=share/doc \
|
||||
--docsubdir=dvdisaster-doc \
|
||||
--with-embedded-src-path=no
|
||||
|
||||
@@ -35,28 +42,24 @@ override_dh_clean:
|
||||
override_dh_auto_build-arch:
|
||||
make all
|
||||
|
||||
# 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.
|
||||
override_dh_auto_build-indep:
|
||||
# make manual
|
||||
true
|
||||
make manual
|
||||
|
||||
override_dh_auto_install-arch:
|
||||
dh_auto_install -a -- BUILDROOT=$(CURDIR)/debian/tmp
|
||||
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 not compressed, as it doesn't
|
||||
# tries to display directly are compressed, as it doesn't
|
||||
# automatically decompress text files.
|
||||
override_dh_compress:
|
||||
override_dh_compress-arch:
|
||||
dh_compress -p dvdisaster \
|
||||
-XCHANGELOG -XCREDITS -XREADME.MODIFYING -XTODO
|
||||
dh_compress --remaining-packages
|
||||
|
||||
1
debian/source/lintian-overrides
vendored
Normal file
1
debian/source/lintian-overrides
vendored
Normal file
@@ -0,0 +1 @@
|
||||
dvdisaster source: debian-watch-uses-insecure-uri http://dvdisaster.net/en/index.html
|
||||
2
debian/tests/control
vendored
Normal file
2
debian/tests/control
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
Tests: unknown-system
|
||||
Depends: dvdisaster
|
||||
6
debian/tests/unknown-system
vendored
Executable file
6
debian/tests/unknown-system
vendored
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
# Make sure we haven't built for an unknown system.
|
||||
! (dvdisaster --version | grep -qiw unknown)
|
||||
6
debian/upstream/metadata
vendored
Normal file
6
debian/upstream/metadata
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
%YAML 1.1
|
||||
---
|
||||
# https://wiki.debian.org/UpstreamMetadata
|
||||
Contact: Carsten Gnörlich <carsten@dvdisaster.org>
|
||||
Name: dvdisaster
|
||||
Homepage: http://dvdisaster.net/
|
||||
4
debian/watch
vendored
4
debian/watch
vendored
@@ -1,6 +1,4 @@
|
||||
version=3
|
||||
opts="pgpsigurlmangle=s/$/.gpg/, \
|
||||
compression=xz, \
|
||||
repack" \
|
||||
opts="pgpsigurlmangle=s/$/.gpg/" \
|
||||
http://dvdisaster.net/en/index.html \
|
||||
(?:.*?/)?dvdisaster-(.*)\.tar\.bz2 debian uupdate
|
||||
|
||||
Reference in New Issue
Block a user