nhducit / evoluspencil

Automatically exported from code.google.com/p/evoluspencil
0 stars 0 forks source link

Support on deb for iceweasel #556

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. download the deb
2. install on debian system
3. the package not be installed because require firefox while in debian the 
name are iceweasel

Original issue reported on code.google.com by mte90sma...@gmail.com on 4 Apr 2013 at 3:56

GoogleCodeExporter commented 8 years ago
I just ran into the same issue and had a look at the package. I think this 
issue could be fixed with 2 small changes:

1. Iceweasel has to be added as alternative to required packages.

Change in DEBIAN/control:
- Depends: firefox
+ Depends: firefox|iceweasel

2. Iceweasel has to started in the start script if Firefox can not be started.

New version of start script (usr/bin/pencil):

#!/bin/sh

/usr/bin/firefox --app "/usr/share/pencil/application.ini"
if [ "$?" != "0" ]; then
    /usr/bin/iceweasel --app "/usr/share/pencil/application.ini"
fi

Original comment by marc.na...@googlemail.com on 27 Aug 2013 at 6:24

GoogleCodeExporter commented 8 years ago
What is blocking this to be fixed?

Original comment by otavio.s...@gmail.com on 16 Nov 2013 at 6:13

GoogleCodeExporter commented 8 years ago
Hi! Did anyone work on this already? Need a hand?

Original comment by gabrielf...@gmail.com on 29 Nov 2013 at 12:31

GoogleCodeExporter commented 8 years ago
540 is a duplicate of this.
No one is working on this issue? It should be an easy fix.. developers are 
reading the messages from the tracker?

Original comment by fedel...@gmail.com on 24 Dec 2013 at 10:46

GoogleCodeExporter commented 8 years ago
Here's the workaround to install the .deb package on Debian.

mkdir pencil
dpkg-deb -x evoluspencil_2.0.5_all.deb pencil/
dpkg-deb --control evoluspencil_2.0.5_all.deb pencil/DEBIAN
nano pencil/DEBIAN/control  # edit as suggested above -> Depends: 
firefox|iceweasel
dpkg -b pencil/ evoluspencil_2.0.5_debian.deb
sudo dpkg -i evoluspencil_2.0.5_debian.deb

Original comment by fedel...@gmail.com on 24 Dec 2013 at 11:13

GoogleCodeExporter commented 8 years ago
Confirming that #5 works correctly on Debian Wheezy. Thanks, and I hope the 
developers fix this trivial yet somewhat embarrassing oversight (a Debian 
package that doesn't work on...Debian?).

Original comment by jwgates...@gmail.com on 14 May 2014 at 4:05

GoogleCodeExporter commented 8 years ago
Regarding comment #1, point 2: Debian Wheezy already has a /usr/bin/firefox 
script which should start Iceweasel in the case that Firefox is not installed 
(not sure about older versions of Debian).

Original comment by jwgates...@gmail.com on 14 May 2014 at 4:08

GoogleCodeExporter commented 8 years ago
There's an old request to add the package in Debian:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=628285

Original comment by fedel...@gmail.com on 14 May 2014 at 4:21

GoogleCodeExporter commented 8 years ago
fedel...@gmail.com
Works nice following your recommended steps...
Thanks a lot.

Original comment by hpmay...@gmail.com on 4 Sep 2014 at 7:56