Merge ~liushuyu-011/ubuntu/+source/pct-scanner-scripts:ubuntu/devel into ubuntu/+source/pct-scanner-scripts:debian/sid

Proposed by Zixing Liu
Status: Needs review
Proposed branch: ~liushuyu-011/ubuntu/+source/pct-scanner-scripts:ubuntu/devel
Merge into: ubuntu/+source/pct-scanner-scripts:debian/sid
Diff against target: 112 lines (+73/-1)
4 files modified
debian/changelog (+23/-0)
debian/control (+2/-1)
debian/patches/fix-improper-script-quoting.patch (+47/-0)
debian/patches/series (+1/-0)
Reviewer Review Type Date Requested Status
Vladimir Petko (community) Approve
Review via email: mp+465612@code.launchpad.net

Description of the change

This MP merges the pct-scanner-scripts packaging changes from Debian sid.

To post a comment you must log in.
Revision history for this message
Zixing Liu (liushuyu-011) wrote :
Revision history for this message
Vladimir Petko (vpa1977) wrote :

b2be7f5e0094f921e7713c6995b018138c2fc5c1 includes changelog entry, we probably want to fix up merge

review: Needs Fixing
Revision history for this message
Vladimir Petko (vpa1977) wrote :
review: Approve
Revision history for this message
Vladimir Petko (vpa1977) wrote :

Uploaded, thank you!!!

Unmerged commits

55646e6... by Zixing Liu

finalize changelog

37ea9a5... by Zixing Liu

d/p/fix-improper-script-quoting.patch: add the patch file ...

... after the Debian transition to v3.0 source format

17048ab... by Zixing Liu

update-maintainer

28bb486... by Zixing Liu

reconstruct-changelog

5531a85... by Zixing Liu

merge-changelogs

5aec974... by Daniel T Chen

    - Apply patch from Dwayne Litzenberger fixing improper quoting

        in the shell script. Thanks, Dwayne! (LP: #799190)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/debian/changelog b/debian/changelog
2index 63a2b9e..7bc28f4 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,13 @@
6+pct-scanner-scripts (0.0.4-4ubuntu1) oracular; urgency=medium
7+
8+ * Merge with Debian unstable. Remaining changes:
9+ - Apply patch from Dwayne Litzenberger fixing improper quoting
10+ in the shell script. Thanks, Dwayne! (LP #799190)
11+ - Add the patches to the d/patches folder after the source format
12+ upgrade
13+
14+ -- Zixing Liu <zixing.liu@canonical.com> Mon, 06 May 2024 14:18:08 -0600
15+
16 pct-scanner-scripts (0.0.4-4) unstable; urgency=medium
17
18 * QA upload.
19@@ -19,6 +29,19 @@ pct-scanner-scripts (0.0.4-3.1) unstable; urgency=medium
20
21 -- Holger Levsen <holger@debian.org> Mon, 04 Jan 2021 16:08:04 +0100
22
23+pct-scanner-scripts (0.0.4-3ubuntu2) noble; urgency=medium
24+
25+ * No change rebuild to gain buildinfo.
26+
27+ -- Dimitri John Ledkov <dimitri.ledkov@canonical.com> Sat, 17 Feb 2024 18:47:16 +0000
28+
29+pct-scanner-scripts (0.0.4-3ubuntu1) oneiric; urgency=low
30+
31+ * Apply patch from Dwayne Litzenberger fixing improper quoting
32+ in the shell script. Thanks, Dwayne! (LP: #799190)
33+
34+ -- Daniel T Chen <crimsun@ubuntu.com> Tue, 19 Jul 2011 16:33:16 -0400
35+
36 pct-scanner-scripts (0.0.4-3) unstable; urgency=low
37
38 * changelog
39diff --git a/debian/control b/debian/control
40index 91af9a9..7a4c6d5 100644
41--- a/debian/control
42+++ b/debian/control
43@@ -1,7 +1,8 @@
44 Source: pct-scanner-scripts
45 Section: misc
46 Priority: extra
47-Maintainer: Debian QA Group <packages@qa.debian.org>
48+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
49+XSBC-Original-Maintainer: Debian QA Group <packages@qa.debian.org>
50 Build-Depends: debhelper (>= 7)
51 Standards-Version: 3.8.1
52 Homepage: https://secure.powercraft.nl/svn/packages/trunk/source/pct-scanner-scripts/
53diff --git a/debian/patches/fix-improper-script-quoting.patch b/debian/patches/fix-improper-script-quoting.patch
54new file mode 100644
55index 0000000..0551770
56--- /dev/null
57+++ b/debian/patches/fix-improper-script-quoting.patch
58@@ -0,0 +1,47 @@
59+Description: Fix improper quoting in the shell script
60+Author: Darsey Litzenberger <dlitz@dlitz.net>
61+Origin: vendor, https://bugs.launchpad.net/ubuntu/+source/pct-scanner-scripts/+bug/799190/+attachment/2174277/+files/fix-pct-scanner-script-quoting.patch
62+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=634760
63+Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/pct-scanner-scripts/+bug/799190
64+Last-Update: 2011-06-18
65+---
66+Index: pct-scanner-scripts/pct-scanner-script
67+===================================================================
68+--- pct-scanner-scripts.orig/pct-scanner-script
69++++ pct-scanner-scripts/pct-scanner-script
70+@@ -331,7 +331,7 @@ function check_startcount()
71+ exit 1
72+ fi
73+
74+- if [ $(echo "$SOURCE" | tr [:upper:] [:lower:]) == "flatbed" ]; then
75++ if [ "$(echo "$SOURCE" | tr '[:upper:]' '[:lower:]')" == "flatbed" ]; then
76+ EXTRA="--end-count $startcount"
77+ fi
78+
79+@@ -362,7 +362,7 @@ function scanner_lineart()
80+ echo $"resolution: $RESOLUTION"
81+ echo $"scanning of document has started, please standby ..."
82+ scan_busy_set
83+- scanadf $VERBOSE --device-name $DEVICE --scan-script "$COMMAND" --output-file "$OUTDIR"/scanscript/input/image-%04d.pbm --source $SOURCE --resolution $RESOLUTION --mode Lineart --compression None -x 210.000mm -y 297.000mm --start-count "$startcount" $EXTRA $EXEC_VERBOSE
84++ scanadf $VERBOSE --device-name "$DEVICE" --scan-script "$COMMAND" --output-file "$OUTDIR"/scanscript/input/image-%04d.pbm --source "$SOURCE" --resolution "$RESOLUTION" --mode Lineart --compression None -x 210.000mm -y 297.000mm --start-count "$startcount" $EXTRA $EXEC_VERBOSE
85+ scan_busy_unset
86+ }
87+
88+@@ -380,7 +380,7 @@ function scanner_color()
89+ echo $"resolution: $RESOLUTION"
90+ echo $"scanning of document has started, please standby ..."
91+ scan_busy_set
92+- scanadf $VERBOSE --device-name $DEVICE --scan-script "$COMMAND" --output-file "$OUTDIR"/scanscript/input/image-%04d.pbm --source $SOURCE --resolution $RESOLUTION --mode Color -x 210.000mm -y 297.000mm --start-count "$startcount" $EXTRA $EXEC_VERBOSE
93++ scanadf $VERBOSE --device-name "$DEVICE" --scan-script "$COMMAND" --output-file "$OUTDIR"/scanscript/input/image-%04d.pbm --source "$SOURCE" --resolution "$RESOLUTION" --mode Color -x 210.000mm -y 297.000mm --start-count "$startcount" $EXTRA $EXEC_VERBOSE
94+ scan_busy_unset
95+ }
96+
97+@@ -398,7 +398,7 @@ function scanner_grayscale()
98+ echo $"resolution: $RESOLUTION"
99+ echo $"scanning of document has started, please standby ..."
100+ scan_busy_set
101+- scanadf $VERBOSE --device-name $DEVICE --scan-script "$COMMAND" --output-file "$OUTDIR"/scanscript/input/image-%04d.pbm --source $SOURCE --resolution $RESOLUTION --mode Gray -x 210.000mm -y 297.000mm --start-count "$startcount" $EXTRA $EXEC_VERBOSE
102++ scanadf $VERBOSE --device-name "$DEVICE" --scan-script "$COMMAND" --output-file "$OUTDIR"/scanscript/input/image-%04d.pbm --source "$SOURCE" --resolution "$RESOLUTION" --mode Gray -x 210.000mm -y 297.000mm --start-count "$startcount" $EXTRA $EXEC_VERBOSE
103+ scan_busy_unset
104+ }
105+
106diff --git a/debian/patches/series b/debian/patches/series
107index 3893360..2c40ce7 100644
108--- a/debian/patches/series
109+++ b/debian/patches/series
110@@ -1 +1,2 @@
111 debian.patch
112+fix-improper-script-quoting.patch

Subscribers

People subscribed via source and target branches

to all changes: