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

For discussions about programming and projects not necessarily associated with Porteus.
Post Reply
Jack
Contributor
Contributor
Posts: 1266
Joined: 09 Aug 2013, 14:25
Distribution: Porteus 3.2.rc5 Mate 64 bit
Location: Marysville, OHIO USA

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

Post#1 by Jack » 25 Sep 2016, 18:51

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?
Last edited by Jack on 26 Sep 2016, 23:20, edited 2 times in total.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

Jack
Contributor
Contributor
Posts: 1266
Joined: 09 Aug 2013, 14:25
Distribution: Porteus 3.2.rc5 Mate 64 bit
Location: Marysville, OHIO USA

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

Post#2 by Jack » 26 Sep 2016, 23:16

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.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

User avatar
brokenman
Site Admin
Site Admin
Posts: 5659
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

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

Post#3 by brokenman » 27 Sep 2016, 01:55

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
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
francois
Contributor
Contributor
Posts: 5136
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus artix
Location: C'est l'hiver: la neige soudainement est là à Montréal.

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

Post#4 by francois » 27 Sep 2016, 02:29

Also, do you have the complete list of dependencies?
https://forum.porteus.org/viewtopic.php?f=61&t=1994
Carpe diem.

Jack
Contributor
Contributor
Posts: 1266
Joined: 09 Aug 2013, 14:25
Distribution: Porteus 3.2.rc5 Mate 64 bit
Location: Marysville, OHIO USA

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

Post#5 by Jack » 27 Sep 2016, 02:38

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
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

User avatar
francois
Contributor
Contributor
Posts: 5136
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus artix
Location: C'est l'hiver: la neige soudainement est là à Montréal.

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

Post#6 by francois » 13 Oct 2016, 21:27

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?
Carpe diem.

Jack
Contributor
Contributor
Posts: 1266
Joined: 09 Aug 2013, 14:25
Distribution: Porteus 3.2.rc5 Mate 64 bit
Location: Marysville, OHIO USA

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

Post#7 by Jack » 13 Oct 2016, 23:56

@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.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

User avatar
francois
Contributor
Contributor
Posts: 5136
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus artix
Location: C'est l'hiver: la neige soudainement est là à Montréal.

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

Post#8 by francois » 14 Oct 2016, 06:38

Great!

What is your scanner model?
Carpe diem.

Jack
Contributor
Contributor
Posts: 1266
Joined: 09 Aug 2013, 14:25
Distribution: Porteus 3.2.rc5 Mate 64 bit
Location: Marysville, OHIO USA

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

Post#9 by Jack » 14 Oct 2016, 10:11

The model is Epson Perfection 1660 Photo.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

User avatar
francois
Contributor
Contributor
Posts: 5136
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus artix
Location: C'est l'hiver: la neige soudainement est là à Montréal.

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

Post#10 by francois » 14 Oct 2016, 13:20

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.
Carpe diem.

Jack
Contributor
Contributor
Posts: 1266
Joined: 09 Aug 2013, 14:25
Distribution: Porteus 3.2.rc5 Mate 64 bit
Location: Marysville, OHIO USA

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

Post#11 by Jack » 14 Oct 2016, 13:56

Where is the link at? I can try I don't have a printer.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

User avatar
francois
Contributor
Contributor
Posts: 5136
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus artix
Location: C'est l'hiver: la neige soudainement est là à Montréal.

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

Post#12 by francois » 14 Oct 2016, 17:48

Scanning should work:
https://www.dropbox.com/s/cwk3jk7iin888 ... 2.xzm?dl=0

The first post of this thread:
https://forum.porteus.org/viewtopic.php ... 932#p48932

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

Jack
Contributor
Contributor
Posts: 1266
Joined: 09 Aug 2013, 14:25
Distribution: Porteus 3.2.rc5 Mate 64 bit
Location: Marysville, OHIO USA

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

Post#13 by Jack » 14 Oct 2016, 18:25

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.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

User avatar
francois
Contributor
Contributor
Posts: 5136
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus artix
Location: C'est l'hiver: la neige soudainement est là à Montréal.

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

Post#14 by francois » 15 Oct 2016, 09:46

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.
Carpe diem.

Post Reply