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

For discussions about programming and projects not necessarily associated with Porteus.

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

Postby Jack » 25 Sep 2016, 19: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 27 Sep 2016, 00: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: 1063
Joined: 09 Aug 2013, 15:25
Location: Marysville, OHIO USA
Distribution: Porteus 3.2.rc5 Mate 64 bit

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

Postby Jack » 27 Sep 2016, 00: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.
Jack
Contributor
Contributor
 
Posts: 1063
Joined: 09 Aug 2013, 15:25
Location: Marysville, OHIO USA
Distribution: Porteus 3.2.rc5 Mate 64 bit

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

Postby brokenman » 27 Sep 2016, 02: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.
brokenman
Site Admin
Site Admin
 
Posts: 5362
Joined: 27 Dec 2010, 04:50
Location: Brazil
Distribution: Porteus v3.2rcX all desktops

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

Postby francois » 27 Sep 2016, 03:29

Also, do you have the complete list of dependencies?
https://forum.porteus.org/viewtopic.php?f=61&t=1994
Voltaire: Le mieux est l'ennemi du bien.
User avatar
francois
Contributor
Contributor
 
Posts: 4717
Joined: 28 Dec 2010, 15:25
Location: C'est l'autome, en forêt les arbres d'ici nous en mettent plein la vue: les rouges, jaunes ...
Distribution: kde xfce porteus manjaro kubun

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

Postby Jack » 27 Sep 2016, 03: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.
Jack
Contributor
Contributor
 
Posts: 1063
Joined: 09 Aug 2013, 15:25
Location: Marysville, OHIO USA
Distribution: Porteus 3.2.rc5 Mate 64 bit

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

Postby francois » 13 Oct 2016, 22: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?
Voltaire: Le mieux est l'ennemi du bien.
User avatar
francois
Contributor
Contributor
 
Posts: 4717
Joined: 28 Dec 2010, 15:25
Location: C'est l'autome, en forêt les arbres d'ici nous en mettent plein la vue: les rouges, jaunes ...
Distribution: kde xfce porteus manjaro kubun

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

Postby Jack » 14 Oct 2016, 00: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.
Jack
Contributor
Contributor
 
Posts: 1063
Joined: 09 Aug 2013, 15:25
Location: Marysville, OHIO USA
Distribution: Porteus 3.2.rc5 Mate 64 bit

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

Postby francois » 14 Oct 2016, 07:38

Great!

What is your scanner model?
Voltaire: Le mieux est l'ennemi du bien.
User avatar
francois
Contributor
Contributor
 
Posts: 4717
Joined: 28 Dec 2010, 15:25
Location: C'est l'autome, en forêt les arbres d'ici nous en mettent plein la vue: les rouges, jaunes ...
Distribution: kde xfce porteus manjaro kubun

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

Postby Jack » 14 Oct 2016, 11: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.
Jack
Contributor
Contributor
 
Posts: 1063
Joined: 09 Aug 2013, 15:25
Location: Marysville, OHIO USA
Distribution: Porteus 3.2.rc5 Mate 64 bit

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

Postby francois » 14 Oct 2016, 14: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.
Voltaire: Le mieux est l'ennemi du bien.
User avatar
francois
Contributor
Contributor
 
Posts: 4717
Joined: 28 Dec 2010, 15:25
Location: C'est l'autome, en forêt les arbres d'ici nous en mettent plein la vue: les rouges, jaunes ...
Distribution: kde xfce porteus manjaro kubun

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

Postby Jack » 14 Oct 2016, 14: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.
Jack
Contributor
Contributor
 
Posts: 1063
Joined: 09 Aug 2013, 15:25
Location: Marysville, OHIO USA
Distribution: Porteus 3.2.rc5 Mate 64 bit

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

Postby francois » 14 Oct 2016, 18: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:
Epson Perfection 1270 scanner:scanning porteus 3.2
Voltaire: Le mieux est l'ennemi du bien.
User avatar
francois
Contributor
Contributor
 
Posts: 4717
Joined: 28 Dec 2010, 15:25
Location: C'est l'autome, en forêt les arbres d'ici nous en mettent plein la vue: les rouges, jaunes ...
Distribution: kde xfce porteus manjaro kubun

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

Postby Jack » 14 Oct 2016, 19: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.
Jack
Contributor
Contributor
 
Posts: 1063
Joined: 09 Aug 2013, 15:25
Location: Marysville, OHIO USA
Distribution: Porteus 3.2.rc5 Mate 64 bit

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

Postby francois » 15 Oct 2016, 10: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.
Voltaire: Le mieux est l'ennemi du bien.
User avatar
francois
Contributor
Contributor
 
Posts: 4717
Joined: 28 Dec 2010, 15:25
Location: C'est l'autome, en forêt les arbres d'ici nous en mettent plein la vue: les rouges, jaunes ...
Distribution: kde xfce porteus manjaro kubun


Return to Programming



Who is online

Users browsing this forum: No registered users and 1 guest