I've posted to my ppa packages (for Ubuntu 12.04) of newer pixman and cairo with the downscaling fix, and a inkscape-trunk package built against these.
https://launchpad.net/~bryce/+archive/backports/+packages
[Installation for Ubuntu 12.04] 1. sudo apt-add repository ppa:bryce/backports 2. sudo apt-get update 3. sudo apt-get install inkscape-trunk # This will also pull in and install newer cairo and pixman 4. /usr/bin/inkscape
[Test Case] I've verified this fixes the bug, using the following test case:
1. Draw some horizontal, vertical, and other angled lines, black stroked, 1 unit wide. 2. Export selection to PNG. 3. Delete the drawn lines from Inkscape 4. Import the PNG we just created, embedded. 5. Drag the upper right corner to resize the embedded PNG
Broken Behavior: The lines will blink in and out irregularly as you scale the image down; at a certain small scale the whole image will vanish.
Fixed Behavior: The lines shrink in size quite smoothly, becoming fainter and fainter grey until you hit a scale that they fade out completely.
The pixman package is simply the current Ubuntu 13.10 package (release 0.30.2), rebuilt for 12.04 with no changes. The cairo package is the current Ubuntu package (release 0.12.16), with the downscaling patch applied via the packaging. The inkscape package is just today's snapshot I took from the Inkscape Trunk ppa, with the cairo version requirement changed in debian/control so that it will pull in
Have I missed anything? If no one raises an objection, I will upload the pixman and cairo packages to the Inkscape trunk and stable PPAs for Ubuntu 12.04, 12.10, 13.04, and 13.10, and commit the debian/control dependency version change to trunk. I believe that should appropriately solve this bug for all Ubuntu users.
Bryce
On Wed, 2013-09-25 at 14:04 -0700, Bryce Harrington wrote:
Have I missed anything? If no one raises an objection, I will upload the pixman and cairo packages to the Inkscape trunk and stable PPAs for Ubuntu 12.04, 12.10, 13.04, and 13.10, and commit the debian/control dependency version change to trunk. I believe that should appropriately solve this bug for all Ubuntu users.
This is great Bryce! And all sounds very spot on.
How many testers would you like before you spot the lot into trunk?
Martin,
On Wed, Sep 25, 2013 at 05:16:51PM -0400, Martin Owens wrote:
On Wed, 2013-09-25 at 14:04 -0700, Bryce Harrington wrote:
Have I missed anything? If no one raises an objection, I will upload the pixman and cairo packages to the Inkscape trunk and stable PPAs for Ubuntu 12.04, 12.10, 13.04, and 13.10, and commit the debian/control dependency version change to trunk. I believe that should appropriately solve this bug for all Ubuntu users.
This is great Bryce! And all sounds very spot on.
How many testers would you like before you spot the lot into trunk?
One or two would be sufficient. Mainly just want to check that everyone's cool with this approach as a solution.
Bryce
On Wed, Sep 25, 2013 at 02:04:51PM -0700, Bryce Harrington wrote:
I've posted to my ppa packages (for Ubuntu 12.04) of newer pixman and cairo with the downscaling fix, and a inkscape-trunk package built against these.
https://launchpad.net/~bryce/+archive/backports/+packages
[Installation for Ubuntu 12.04]
- sudo apt-add repository ppa:bryce/backports
- sudo apt-get update
- sudo apt-get install inkscape-trunk # This will also pull in and install newer cairo and pixman
- /usr/bin/inkscape
[Uninstallation] 1. sudo apt-get install ppa-purge 2. sudo ppa-purge ppa:bryce/backports 3. sudo apt-get install --reinstall inkscape
This will remove the inkscape-trunk package and restore to the distro-provided versions of cairo and pixman.
Step #3 should be unnecessary but I notice the inkscape-trunk package installs to /usr/bin/inkscape, so probably clobbers the distro-provided inkscape. Not a big deal; reinstalling it should fix any of that.
Bryce
2013/9/25 Bryce Harrington <bryce@...961...>:
I've posted to my ppa packages (for Ubuntu 12.04) of newer pixman and cairo with the downscaling fix, and a inkscape-trunk package built against these.
https://launchpad.net/~bryce/+archive/backports/+packages
[Installation for Ubuntu 12.04]
- sudo apt-add repository ppa:bryce/backports
- sudo apt-get update
- sudo apt-get install inkscape-trunk # This will also pull in and install newer cairo and pixman
- /usr/bin/inkscape
The first command should be: sudo add-apt-repository ppa:bryce/backports
Step #3 should be unnecessary but I notice the inkscape-trunk package installs to /usr/bin/inkscape, so probably clobbers the distro-provided inkscape. Not a big deal; reinstalling it should fix any of that.
As far as I know, in this case dpkg will refuse to install the conflicting file and package instalation will fail.
Regards, Krzysztof
On Wed, Sep 25, 2013 at 2:04 PM, Bryce Harrington <bryce@...961...> wrote:
I've posted to my ppa packages (for Ubuntu 12.04) of newer pixman and cairo with the downscaling fix, and a inkscape-trunk package built against these.
Even though they were built for precise, I installed them on raring.
Have I missed anything? If no one raises an objection, I will upload the pixman and cairo packages to the Inkscape trunk and stable PPAs for Ubuntu 12.04, 12.10, 13.04, and 13.10, and commit the debian/control dependency version change to trunk. I believe that should appropriately solve this bug for all Ubuntu users.
No objection here. I did the same test as you with older libs and newer libs, it all checked out good here.
Cheers, Josh
On Fri, Sep 27, 2013 at 05:01:24PM -0700, Josh Andler wrote:
On Wed, Sep 25, 2013 at 2:04 PM, Bryce Harrington <bryce@...961...> wrote:
I've posted to my ppa packages (for Ubuntu 12.04) of newer pixman and cairo with the downscaling fix, and a inkscape-trunk package built against these.
Even though they were built for precise, I installed them on raring.
*Nod* Yeah it's basically the same package needed for all ubuntu releases.
As a status update, I have the two libs packaged for 12.04 through 13.04, and am waiting for them to get built:
https://launchpad.net/~bryce/+archive/downscaling-2/+packages
Seems the buildd's are overloaded. :-) But once those are baked I can binary copy them into Inkscape's PPA and update the control file so inkscape starts using them.
Have I missed anything? If no one raises an objection, I will upload the pixman and cairo packages to the Inkscape trunk and stable PPAs for Ubuntu 12.04, 12.10, 13.04, and 13.10, and commit the debian/control dependency version change to trunk. I believe that should appropriately solve this bug for all Ubuntu users.
No objection here. I did the same test as you with older libs and newer libs, it all checked out good here.
Thanks for the testing. I'll go ahead and proceed once the packages are built, hopefully some time this weekend.
Bryce
On Fri, Sep 27, 2013 at 05:26:20PM -0700, Bryce Harrington wrote:
Have I missed anything? If no one raises an objection, I will upload the pixman and cairo packages to the Inkscape trunk and stable PPAs for Ubuntu 12.04, 12.10, 13.04, and 13.10, and commit the debian/control dependency version change to trunk. I believe that should appropriately solve this bug for all Ubuntu users.
No objection here. I did the same test as you with older libs and newer libs, it all checked out good here.
Thanks for the testing. I'll go ahead and proceed once the packages are built, hopefully some time this weekend.
I've copied the fixed pixman and cairo libs into the trunk PPA, updated the control file for the recipe, and fired off rebuilds.
Hopefully if I haven't screwed anything up, we should have builds with the fix up within the day.
Bryce
Hi Bryce,
Looks like the package recipe is failing to build because of a dependency wait on Ubuntu versions that don't ship cairo 1.12.16 themselves [1]. I think the issue is that the cairo packages in the PPA have version: 1.12.16-0ubuntu1~whatever
but the debian/control file specifies libcairo2-dev >= 1.12.16-0ubuntu1.
If I recall correctly, the tilde (~) suffix in the package means that the version is lower than 1.12.16-0. As such, I guess we should change to simply Build-Depends: libcairo2-dev >= 1.12.16.
Cheers,
AV
[1] https://code.launchpad.net/~inkscape.dev/+archive/trunk/+recipebuild/550954
On 28 September 2013 21:41, Bryce Harrington <bryce@...961...> wrote:
On Fri, Sep 27, 2013 at 05:26:20PM -0700, Bryce Harrington wrote:
Have I missed anything? If no one raises an objection, I will upload the pixman and cairo packages to the Inkscape trunk and stable PPAs for Ubuntu 12.04, 12.10, 13.04, and 13.10, and commit the debian/control dependency version change to trunk. I believe that should appropriately solve this bug for all Ubuntu users.
No objection here. I did the same test as you with older libs and newer libs, it all checked out good here.
Thanks for the testing. I'll go ahead and proceed once the packages are built, hopefully some time this weekend.
I've copied the fixed pixman and cairo libs into the trunk PPA, updated the control file for the recipe, and fired off rebuilds.
Hopefully if I haven't screwed anything up, we should have builds with the fix up within the day.
Bryce
October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clk... _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
participants (5)
-
Alex Valavanis
-
Bryce Harrington
-
Josh Andler
-
Krzysztof Kosiński
-
Martin Owens