Page 1 of 1

Building a bundle simple-scan & system-config-printer

Posted: 25 Sep 2016, 18:51
by Jack
I'm trying to build my version of Simple-scan. I'm building it for Mate.

Code: Select all

root@porteus:/home/guest/Downloads/printer-scanner/simple-scan-2.32.0.2# txz2dir *.txz temp

gegl-0.2.0-x86_64-3: GEGL Generic Graphics Library ..................... [2.8M]
ghostscript-9.19-x86_64-2: Postscript and PDF interpreter .............. [59M] 
gimp-2.8.18-x86_64-1_slack14.2: The GNU Image Manipulation Program ..... [69M] 
libieee1284-0.2.11-x86_64-3: parallel port library ..................... [340K]
libwmf-0.2.8.4-x86_64-6: WMF graphics format library ................... [1.6M]
net-snmp-5.7.3-x86_64-3: Simple Network Management Protocol tools ...... [7.0M]
sane-1.0.25-x86_64-2: Scanner Access Now Easy .......................... [16M] 
simple-scan-2.32.0.2-x86_64-1_slonly: simple scanning utility .......... [1.1M]
chroot: failed to run command 'gconftool-2': No such file or directory
root@porteus:/home/guest/Downloads/printer-scanner/simple-scan-2.32.0.2# 
Here is what I got when building chroot: failed to run command 'gconftool-2': No such file or directory What cause this ERROR?

Re: Building a bundle simple-scan & system-config-printer

Posted: 26 Sep 2016, 23:16
by Jack
When I built system-config-printer as a bundle here is the output. I'm building it for Mate.
Image
Now all I need is a printer to test it. It is called system-config-printer-1.3.13-x86_64-2-bundle.xzm.

Re: Building a bundle simple-scan & system-config-printer

Posted: 27 Sep 2016, 01:55
by brokenman
root@porteus:/home/guest# grep gconftool-2 /var/log/packages/*
/var/log/packages/GConf-3.2.6-x86_64-3:usr/bin/gconftool-2
/var/log/packages/GConf-3.2.6-x86_64-3:usr/man/man1/gconftool-2.1.gz

This shows that the missing commands come from the package GConf. Make sure you have it. The GUI image you showed says that the printing service is not started. This means you will need to manually start cups.

Code: Select all

chmod +x /etc/rc.d.rc.cups
/etc/rc.d/rc.cups start

Re: Building a bundle simple-scan & system-config-printer

Posted: 27 Sep 2016, 02:29
by francois
Also, do you have the complete list of dependencies?
viewtopic.php?f=61&t=1994

Re: Building a bundle simple-scan & system-config-printer

Posted: 27 Sep 2016, 02:38
by Jack
brokenman wrote:root@porteus:/home/guest# grep gconftool-2 /var/log/packages/*
/var/log/packages/GConf-3.2.6-x86_64-3:usr/bin/gconftool-2
/var/log/packages/GConf-3.2.6-x86_64-3:usr/man/man1/gconftool-2.1.gz
Here is my output.

Code: Select all

root@porteus:/home/guest# grep gconftool-2 /var/log/packages/*
/var/log/packages/GConf-3.2.6-x86_64-3:usr/bin/gconftool-2
/var/log/packages/GConf-3.2.6-x86_64-3:usr/man/man1/gconftool-2.1.gz
This shows that the missing commands come from the package GConf. Make sure you have it.
And GConf-3.2.6-x86_64-3 was there.
I haven't try the below yet I have no printer yet.
The GUI image you showed says that the printing service is not started. This means you will need to manually start cups.

Code: Select all

chmod +x /etc/rc.d.rc.cups
/etc/rc.d/rc.cups start

Re: Building a bundle simple-scan & system-config-printer

Posted: 13 Oct 2016, 21:27
by francois
How are you doing with your package?

According to my work here are the minimum set of packages to get simple-scan and system-config going on:
simple scan
colord-1.2.12-x86_64-1gv.txz
dconf-0.24.0-x86_64-1.txz
gtk+3-3.18.9-x86_64-1.txz
libgusb-0.2.8-x86_64-1gv.txz
sane-1.0.25-x86_64-2.txz
simple-scan-2.32.0.2-x86_64-2gv.txz

system-config-printer
system-config-printer-1.3.13-x86_64-2.txz
-bus-python = dbus-python-1.1.0-x86_64-1.txz
-foomatic-filters = foomatic-filters-4.0.12-x86_64-1.txz
-ghostscript = ghostscript-9.05-x86_64-3.txz
-notify-python = notify-python-0.1.1-x86_64-3.txz
-pycairo = pycairo-1.8.10-x86_64-2.txz
-pycups in pycairo= pycups-1.9.61-x86_64-1.txz
-pycurl = pycurl-7.19.0-x86_64-2.txz
-pygobject in pycairo= pygobject-2.28.6-x86_64-2.txz
-pygtk in pycairo = pygtk-2.24.0-x86_64-1.txz
-python in pycairo = python-2.7.3-x86_64-2.txz
-gutenprint = gutenprint-5.2.9-x86_64-1.txz

What is your scanner model?

Re: Building a bundle simple-scan & system-config-printer

Posted: 13 Oct 2016, 23:56
by Jack
@francois,

I got simple scan to work but system-config-printer I never got to try. I have no printer. Simple-scan work great I have a stand alone Scanner.

Re: Building a bundle simple-scan & system-config-printer

Posted: 14 Oct 2016, 06:38
by francois
Great!

What is your scanner model?

Re: Building a bundle simple-scan & system-config-printer

Posted: 14 Oct 2016, 10:11
by Jack
The model is Epson Perfection 1660 Photo.

Re: Building a bundle simple-scan & system-config-printer

Posted: 14 Oct 2016, 13:20
by francois
Would you please test my printing module. This way we could see if I miss some package of library. This might be helpful to blaze.

Thanks.

Re: Building a bundle simple-scan & system-config-printer

Posted: 14 Oct 2016, 13:56
by Jack
Where is the link at? I can try I don't have a printer.

Re: Building a bundle simple-scan & system-config-printer

Posted: 14 Oct 2016, 17:48
by francois
Scanning should work:
https://www.dropbox.com/s/cwk3jk7iin888 ... 2.xzm?dl=0

The first post of this thread:
viewtopic.php?f=53&t=6232&p=48932#p48932

Where can we get your bundle? Blaze might have a try for his scanner HP Officejet Pro 8600:
http://forum.porteus.org/viewtopic.php?f=53&t=6301

Re: Building a bundle simple-scan & system-config-printer

Posted: 14 Oct 2016, 18:25
by Jack
Here is my 2 bundles. I tested in Mate simple-scan but didn't test system-config-printer have no printer. If system-config-printer don't work maybe someone can fix it. I use USM to build them so there is no EXTRA files. I did the best I could do on this idea.

simple-scan-x86_64-bundle
http://www.mediafire.com/file/5tmgt77x3 ... bundle.xzm
e8882baa587ff6ab3231d8e1fe258f48 simple-scan-x86_64-bundle.xzm

system-config-printer-x86_64-bundle
http://www.mediafire.com/file/kac387mo1 ... bundle.xzm
ac650dcd81289c5a2d1e401150e76f54 system-config-printer-x86_64-bundle.xzm
EDIT:
I have another problem I just check my scanner and now Simple-scan don't work. A few months back I added a Webcam. Now when I run Simple-scan it is using the Webcam as a scanner it takes a picture from the Webcam and the Scanner dose not work it is like it is dead.

For me I guest I will live with out a printer and scanner or hope someone can get it to work.

Re: Building a bundle simple-scan & system-config-printer

Posted: 15 Oct 2016, 09:46
by francois
This is not a problem. In simple scan in the menu there is an option to select the right device. If not, this might mean that your scanner is off.