[Bug 424249] Re: locks when trying to save as PDF

Jeffrey Ratcliffe Jeffrey.Ratcliffe at gmail.com
Mon Jan 25 21:52:55 UTC 2010


On Sun, Jan 24, 2010 at 07:01:23PM -0000, Ilya Barygin wrote:
> According to comments in the Debian bug, the problem goes away with
> imagemagick 7:6.5.7.8-1, so no fix should be required for Lucid (Lucid
> has imagemagick 7:6.5.7.8-1ubuntu1). Is this correct?

No. I think that there are two different bugs here that are showing
themselves in the same way. Unfortunately, I have, to date, not been
able to reproduce the problem with imagemagick, but for those for whom
the workaround adding the resolution=... in the .gscan2pdf (which was,
as I explained before, not a good workaround), this bug would still be present.

> If the patch here is targeted for Karmic, please follow the steps in
> https://wiki.ubuntu.com/StableReleaseUpdates#Procedure . Where it says
> "upload the fixed package", please instead attach the debdiff to this
> bug report and re-subscribe ubuntu-universe-sponsors (I'm unsubscribing
> u-u-s now).

Yup, that was my plan. I am the Debian maintainer, but I guessed that
you would prefer an Ubuntu-specific release, especially as I was
hoping to fix this in unstable and testing with a new upstream release
with a load of other changes.

The bug affects only those using the libsane-perl frontend in
gscan2pdf, but it completely prevents them from saving PDFs or DjVu
files until the resolution is specified internally.

The workaround suggested previously in this bug report does this for a
fixed resolution, which will be wrong if a different one is used for
scanning. A better workaround would be to use the scanimage frontend
in gscan2pdf.

This fix works by updating the internal resolution variable with that
used during the scan process.

The patch has been applied upstream and will be included in the
upcoming 0.9.30 release.

To reproduce the bug, delete the ~/.gscan2pdf file, start gscan2pdf,
set the frontend in Edit/Preferences to libsane-perl, scan, and try to
save as PDF or DjVu.

I can't see any potential for regressions, as the patch is tiny -
there are more changes to the Debian packaging to make it
lintian-clean than to the application itself.

In the attached debdiff, I have again slightly refined the packaging
compared, but the patch itself is identical.

Regards

Jeff


** Attachment added: "gscan2pdf_0.9.29-1ubuntu1.debdiff"
   http://launchpadlibrarian.net/38378288/gscan2pdf_0.9.29-1ubuntu1.debdiff

-- 
locks when trying to save as PDF
https://bugs.launchpad.net/bugs/424249
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list