Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install hardcode-tray when using inkscape-trunk #446

Closed
dflock opened this issue Sep 20, 2017 · 21 comments
Closed

Can't install hardcode-tray when using inkscape-trunk #446

dflock opened this issue Sep 20, 2017 · 21 comments

Comments

@dflock
Copy link

dflock commented Sep 20, 2017

Specifications

  • Hardcode-Tray version : hardcode-tray_3.5.2.1~880~ubuntu16.04.1_all.deb
  • Distribution : XUbuntu
  • Inkscape version : Inkscape 0.92+devel (unknown)

Expected behavior and actual behavior

$ sudo apt install sni-qt sni-qt:i386
...
$ sudo apt install hardcode-tray
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help resolve the situation:

The following packages have unmet dependencies:
 hardcode-tray : Depends: inkscape but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Note the hardcode-tray : Depends: inkscape but it is not going to be installed - this is because I have inkscape-trunk installed and the hardcode-tray package has a hard dependency on inkscape.

This dependency should either be optional or it should depend on inkscape or inkscape-trunk.

@dflock
Copy link
Author

dflock commented Sep 20, 2017

Ended up editing the control file to get this to install, like this: https://serverfault.com/a/859394/72740

@bilelmoussaoui
Copy link
Owner

We should definitely remove the hard dependency of Inkscape. As the user can use whatever conversion tool they want

@andia89
Copy link
Collaborator

andia89 commented Sep 21, 2017

@bil-elmoussaoui Should I remove it as dependency?

That are the dependencies thus far:
Depends: git, python3, python3-gi, wget, inkscape, python3-cairosvg, gir1.2-rsvg-2.0, libqt4-svg, sni-qt, gir1.2-gtk-3.0

I guess inkscape, python3-cairosvg, gir1.2-rsvg-2.0, libqt4-svg, sni-qt can go

@bilelmoussaoui
Copy link
Owner

Yeah especially sni-qt and Inkscape. We should ensure to have a working installation, so maybe we should keep the python cairosvg backend?

@andia89
Copy link
Collaborator

andia89 commented Sep 21, 2017

Ok I'll keep python3-cairosvg I guess it's not too big anyways

@andia89
Copy link
Collaborator

andia89 commented Sep 21, 2017

Done

@andia89 andia89 closed this as completed Sep 21, 2017
@bilelmoussaoui
Copy link
Owner

Perfect 👍

@varlesh
Copy link
Collaborator

varlesh commented Sep 21, 2017

Inkscape need for Papirus icons, because cairosvg not support CSS-styles.
#245

@bilelmoussaoui
Copy link
Owner

People can still install Inkscape and use it, it's just no more a hard dependency

@andia89
Copy link
Collaborator

andia89 commented Sep 21, 2017

what about rsvg? Maybe we just should keep that then?

@varlesh
Copy link
Collaborator

varlesh commented Sep 21, 2017

@wa4557 I don't know need test it. Also you can move inkscape packgae from Recommends to Suggests on PPA

@varlesh
Copy link
Collaborator

varlesh commented Sep 21, 2017

worked on Ubuntu 16.04:
image

@andia89
Copy link
Collaborator

andia89 commented Sep 21, 2017

Ok let's make a dependency on rsvg then. I will move the others to suggests

@varlesh
Copy link
Collaborator

varlesh commented Sep 21, 2017

@bil-elmoussaoui Why needed this more conversion tools? Maybe we will be used only RSVGConvert?

varlesh added a commit to PapirusDevelopmentTeam/papirus-icon-theme that referenced this issue Sep 21, 2017
@bilelmoussaoui
Copy link
Owner

@varlesh you don't need them; you can keep using only RSVG. Others are there if someone wants to use something else they can do it without any issue ;)

@varlesh
Copy link
Collaborator

varlesh commented Sep 21, 2017

@bil-elmoussaoui But this superfluous work for you - support more coversion tools. I think RSVG enough

@andia89
Copy link
Collaborator

andia89 commented Sep 22, 2017

@bil-elmoussaoui Any reason for the git dependence? Seems to be weird for this kind of program...

@varlesh
Copy link
Collaborator

varlesh commented Sep 22, 2017

It's last option --update-git now discontinued.

@andia89
Copy link
Collaborator

andia89 commented Sep 22, 2017

Ok I remove that dependency as well then

@varlesh
Copy link
Collaborator

varlesh commented Oct 19, 2017

@wa4557 please add librsvg2-bin package to Depends on debian/control
RSVGConvert contained on librsvg2-bin package

@andia89
Copy link
Collaborator

andia89 commented Oct 22, 2017

@varlesh Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants