jcubic / Clarity

Customizable Monoshape Vector Icon Theme for GTK+

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Building Canus on Manjaro Linux

swetoast opened this issue · comments

Hi im using your iconset simply love it but XFCE updated today and the iconset broke so i thought i would give the git version a try but when i make the iconset it fails so here is the log and im really hoping for a solution cause the iconsets that i have in addition sucks really want Clarity back

http://pastebin.com/JmNgia6k

I had this problem with PPA build on Ubuntu Precise Pangolin, so replacing rsvg with rsvg-convert (you can do this from command line) should work:

sed -i -e 's/rsvg/rsvg-convert/g' configure
sed -i -e 's/rsvg/rsvg-convert/g' Makefile

or you can create that symlink instead (I need to use rsvg-convert because that was automagic)

sudo ln -s rsvg-convert /usr/bin/rsvg

if you still have the error then it means that you don't have installed rsvg, so you need to install it.

I can update the repo to rsvg-convert it probably will work on other systems, since article on linux from scratch shows that rsvg-convert is resulting binary.

Why the icons was broken in the first place? Does tar.gz file don't work anymore?

i really dunno there cause i got a sysupdate for xfce and chromium etc and after the update some of the icons stopped working like thundar, the volume icon on the taskbar etc.. really weird cause it shouldn't do that.

https://www.dropbox.com/s/t5ty77pcib09l9n/screenshot.png

how it looks now

and i tried the AUR package for it but i guess the person that did that package didnt figure on this happening either so it doesnt work it just runs in a loop

new issue after chaning the configure and make script

building 16x16/mimetypes/text-x-iptables.png
Multiple SVG files are only allowed for PDF and (E)PS output.
Makefile:436: recipe for target '_16x16' failed
make: *** [_16x16] Error 1

Try to remove | bash in makefile _16x16 rule

_16x16:
    @tar xzf 16x16.tar.gz
    @find scalable/ -type f | sed -e 's/scalable\(.*\)svg/echo building 16x16\1png; rsvg -w 16 -h 16 & 16x16\1png/' | bash

and run make _16x16, you should see output like:

echo building 16x16/distributor-logos/linux-generic.png; rsvg -w 16 -h 16 scalable/distributor-logos/linux-generic.svg 16x16/distributor-logos/linux-generic.png
echo building 16x16/distributor-logos/fedora.png; rsvg -w 16 -h 16 scalable/distributor-logos/fedora.svg 16x16/distributor-logos/fedora.png

you can just show the line that trigger this error by:

make _16x16 | grep text-x-iptables.png

what you see? If I run that command I've got:

echo building 16x16/mimetypes/text-x-iptables.png; rsvg -w 16 -h 16 scalable/mimetypes/text-x-iptables.svg 16x16/mimetypes/text-x-iptables.png

Hey, thanks for you awesome icons 👍

I have the same problem that on fedora rsvg don't exist. So I replace it with rsvg-convert. Which work more or less fine.

But with rsvg-convert I got the same error as @swetoast

Multiple SVG files are only allowed for PDF and (E)PS output.

The Problem is that:

@find scalable/ -type f | sed -e 's/scalable\(.*\)svg/echo building 16x16\1png; rsvg-convert -w 16 -h 16 & 16x16\1png/'

Something like this create:

echo building 16x16/stock/stock_xfburn-import-session.png; rsvg-convert -w 16 -h 16 scalable/stock/stock_xfburn-import-session.svg 16x16/stock/stock_xfburn-import-session.png

But it should look like this:

echo building 16x16/stock/stock_xfburn-import-session.png; rsvg-convert -w 16 -h 16 scalable/stock/stock_xfburn-import-session.svg > 16x16/stock/stock_xfburn-import-session.png

So for rsvg-convert the comand should look like:

@find scalable/ -type f | sed -e 's/scalable\(.*\)svg/echo building 16x16\1png; rsvg-convert -w 16 -h 16 & > 16x16\1png/ | bash'

For a reason which I didn't figure out by now this procure this error, when you pipe it in to bash from makefile:

$make _16x16
sed: -e expression #1, char 89: unknown option to `s'
make: *** [_16x16] Error 1

You've put quote in wrong place, it should be:

@find scalable/ -type f | sed -e 's/scalable(.*)svg/echo building 16x16\1png; rsvg-convert -w 16 -h 16 & > 16x16\1png/' | bash

because it should create a command as string and then pipe it to bash.

I've got same error with rsvg-convert. So it can be the same for all distros, I'll change that.

👌 I just try it and can confirm it works well with fedora 20