This repository has been archived by the owner. It is now read-only.

librsvg 2.40.11 #44735

Closed
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
4 participants
@tschoonj
Member

tschoonj commented Oct 8, 2015

No description provided.

@xu-cheng

This comment has been minimized.

Show comment
Hide comment
@xu-cheng

xu-cheng Oct 8, 2015

Contributor

Thanks for the pull request! 🎉 Homebrew depends on contributions from community members like you and we're grateful for your support.

Contributor

xu-cheng commented Oct 8, 2015

Thanks for the pull request! 🎉 Homebrew depends on contributions from community members like you and we're grateful for your support.

@xu-cheng xu-cheng closed this in 77edaa0 Oct 8, 2015

@EugeneDae

This comment has been minimized.

Show comment
Hide comment
@EugeneDae

EugeneDae Nov 1, 2015

2.40.11 breaks --keep-aspect-ratio (or -a) feature of librsvg-convert.

Easy to test from command-line:

$ wget -O test.svg https://upload.wikimedia.org/wikipedia/en/8/80/Wikipedia-logo-v2.svg
$ rsvg-convert test.svg -a -w 1000 > test.png
$ du -hs test.png
24K test.png

Compare with the output of rsvg-convert version 2.40.2 on Ubuntu:

$ wget -O test.svg https://upload.wikimedia.org/wikipedia/en/8/80/Wikipedia-logo-v2.svg
$ rsvg-convert test.svg -a -w 1000 > test.png
$ du -hs test.png
376K    test.png

The latter results in a properly resized image that weights 376KB.

I wish I knew how to revert the version on OS X.

EugeneDae commented Nov 1, 2015

2.40.11 breaks --keep-aspect-ratio (or -a) feature of librsvg-convert.

Easy to test from command-line:

$ wget -O test.svg https://upload.wikimedia.org/wikipedia/en/8/80/Wikipedia-logo-v2.svg
$ rsvg-convert test.svg -a -w 1000 > test.png
$ du -hs test.png
24K test.png

Compare with the output of rsvg-convert version 2.40.2 on Ubuntu:

$ wget -O test.svg https://upload.wikimedia.org/wikipedia/en/8/80/Wikipedia-logo-v2.svg
$ rsvg-convert test.svg -a -w 1000 > test.png
$ du -hs test.png
376K    test.png

The latter results in a properly resized image that weights 376KB.

I wish I knew how to revert the version on OS X.

@EugeneDae

This comment has been minimized.

Show comment
Hide comment
@EugeneDae

EugeneDae Nov 1, 2015

I've managed to downgrade librsvg to 2.40.10 and that fixed the issue.

$ cd /usr/local
$ git checkout 7a58ff6e07dd35d438193a2e551cf282c2088a44 /usr/local/Library/Formula/librsvg.rb
$ git install librsvg
$ git checkout master
$ brew pin librsvg

Now:

$ rsvg-convert --version
rsvg-convert version 2.40.10
$ rsvg-convert test.svg -a -w 1000 > test.png
$ du -hs test.png
376K    test.png

Bottom line: 2.40.10 works much better for me on El Cap than the newer one 2.40.11.

EugeneDae commented Nov 1, 2015

I've managed to downgrade librsvg to 2.40.10 and that fixed the issue.

$ cd /usr/local
$ git checkout 7a58ff6e07dd35d438193a2e551cf282c2088a44 /usr/local/Library/Formula/librsvg.rb
$ git install librsvg
$ git checkout master
$ brew pin librsvg

Now:

$ rsvg-convert --version
rsvg-convert version 2.40.10
$ rsvg-convert test.svg -a -w 1000 > test.png
$ du -hs test.png
376K    test.png

Bottom line: 2.40.10 works much better for me on El Cap than the newer one 2.40.11.

@tschoonj

This comment has been minimized.

Show comment
Hide comment
@tschoonj

tschoonj Nov 2, 2015

Member

@EugeneDae this is an upstream issue. I assume this bugreport covers your problem?

Member

tschoonj commented Nov 2, 2015

@EugeneDae this is an upstream issue. I assume this bugreport covers your problem?

@EugeneDae

This comment has been minimized.

Show comment
Hide comment
@EugeneDae

EugeneDae Nov 2, 2015

@tschoonj Yes, exactly. Upd: I've filed a report as well.

EugeneDae commented Nov 2, 2015

@tschoonj Yes, exactly. Upd: I've filed a report as well.

@haio

This comment has been minimized.

Show comment
Hide comment
@haio

haio Dec 17, 2015

Thanks! @EugeneDae the commands should be

cd /usr/local
git checkout 7a58ff6e07dd35d438193a2e551cf282c2088a44 /usr/local/Library/Formula/librsvg.rb
brew install librsvg
git checkout master /usr/local/Library/Formula/librsvg.rb
brew pin librsvg

haio commented Dec 17, 2015

Thanks! @EugeneDae the commands should be

cd /usr/local
git checkout 7a58ff6e07dd35d438193a2e551cf282c2088a44 /usr/local/Library/Formula/librsvg.rb
brew install librsvg
git checkout master /usr/local/Library/Formula/librsvg.rb
brew pin librsvg
@EugeneDae

This comment has been minimized.

Show comment
Hide comment
@EugeneDae

EugeneDae May 11, 2016

This no longer works after brew upgrade.

@haio @tschoonj Could you please help downgrade librsvg to 2.40.10?

EugeneDae commented May 11, 2016

This no longer works after brew upgrade.

@haio @tschoonj Could you please help downgrade librsvg to 2.40.10?

@EugeneDae

This comment has been minimized.

Show comment
Hide comment
@EugeneDae

EugeneDae May 11, 2016

Ah, figured out I can just do

brew install librsvg.rb

with librsvg.rb downloaded from 7a58ff6.

EugeneDae commented May 11, 2016

Ah, figured out I can just do

brew install librsvg.rb

with librsvg.rb downloaded from 7a58ff6.

@Homebrew Homebrew locked and limited conversation to collaborators Jul 10, 2016

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.