Page 4 of 15

Re: printing-3.2 for porteus 3.2

Posted: 15 Oct 2016, 09:53
by francois
Brokenman said that you need to build over xfce. I was working from kde5 but now use xfce.

Re: printing-3.2 for porteus 3.2

Posted: 15 Oct 2016, 10:02
by Blaze
francois, need to test my module from xfce.

Re: printing-3.2 for porteus 3.2

Posted: 15 Oct 2016, 10:22
by francois
@brokenman
1)
You can remove the following:
GConf-3.2.6-x86_64-3
gtk+3-3.18.9-x86_64-1

These packages are in all desktops by default.

2)
libxfce4ui-4.12.1-x86_64-2
libxfce4util-4.12.1-x86_64-2
qt3-3.3.8b-x86_64-5_slonly (seems very old)
Why are these packages present?
1.0 I have removed 1), these were on ahau's 3.1 version and 2) libx*, you are right they are not necessary.
But qt3-3.3.8b-x86_64-5_slonly is the package provided by usm and available in in pkgs.org for slackware 13.2.

Once removed and without my genuine gimp-solibs from gimp only libraries the module goes down to 90,3 MB.

2.0 I am lookig for the procedure to strip the package to get it even less heavier. I found some threads on the question. It is the first time I really get into the strip business:
rava's method (mainly removing language stuff and removing licence, for personal stuff)
viewtopic.php?f=53&t=2373
fanthom method for lxqt (good ideas in there)
Creating my own Porteus !
tomas method for creating a module
http://old.slax.org/documentation_creat ... _rules.php

I realize that I have always built my personal modules the lazy way. :oops:

Re: printing-3.2 for porteus 3.2

Posted: 16 Oct 2016, 13:07
by francois
@blaze:

Your module works for my brother printer. However, simple-scan will not locate my printer scanner. and will not scan.

Code: Select all

root@porteus:/opt/brother/scanner/brscan4# brsaneconfig4 -q | grep scanner
  0 scanner             "MFC-7860DW"        I:10.0.0.7
Comparison of missing packages in our modules.

In mine 07-printing-3.2 compared to yours there is additional packages :
dbus-python-1.2.4-x86_64-1
gd-2.2.1-x86_64-1
libgphoto2-2.5.10-x86_64-1
libieee1284-0.2.11-x86_64-3

pycairo-1.10.0-x86_64-1
pygtk-2.24.0-x86_64-2
python-2.7.11-x86_64-2

qt3-3.3.8b-x86_64-5_slonly (this seems to be unecessary in my module, is it because of pyqt?)


In yours 07-printing-x86_64 compared to mine there is additional packages :
exo-0.10.7-x86_64-1
ghostscript-fonts-std-8.11-noarch-1 (I am not sure this is really needed for upgraded cups, we will have to search)
qpdf-6.0.0-x86_64-1 (quite sure it is not needed with cups 2.1.4, which works completely with pdf,*** has to be checked out)

sane-1.0.25-x86_64-2 (*** this might be why scanner does not work, I will have to verify)


You have more recent packages than mine (so it seems better to pick up from pkgs.org than usm):
foomatic-filters-4.0.17-x86_64-1
hplip-3.16.8-x86_64-1dj
PyQt5-5.7-x86_64-1alien
simple-scan-3.20.0-x86_64-1jsc

Re: printing-3.2 for porteus 3.2

Posted: 16 Oct 2016, 16:04
by Blaze
I think that need standard list packages of printing module.

My module

Code: Select all

guest@porteus:~$ ls /tmp/07-printing-x86_64/var/log/packages
PyQt5-5.7-x86_64-1alien
brscan-0.2.4-0.amd64
brscan-skey-0.2.4-1.amd64
brscan2-0.2.5-1.amd64
brscan3-0.2.11-5.amd64
brscan4-0.4.2-1.amd64
cups-bjnp-1.2-x86_64-1_slonly
cups-filters-1.9.0-x86_64-2
exo-0.10.7-x86_64-1
foomatic-filters-4.0.17-x86_64-1
ghostscript-9.19-x86_64-2
ghostscript-fonts-std-8.11-noarch-1
gutenprint-5.2.11-x86_64-2
hplip-3.16.8-x86_64-1dj
libnl-1.1.4-x86_64-1
libsane-dsseries-1.0.5-1.x86_64
net-snmp-5.7.3-x86_64-3
notify-python-0.1.1-x86_64-5
pycups-1.9.73-x86_64-1
pycurl-7.43.0-x86_64-1
pygobject-2.28.6-x86_64-2
qpdf-6.0.0-x86_64-1
scangearmp2_3.20-1_amd64
simple-scan-3.20.0-x86_64-1jsc
sip-4.18-x86_64-1
system-config-printer-1.3.13-x86_64-2
v4l-utils-1.10.0-x86_64-1
xsane-0.999-x86_64-1
guest@porteus:~$ 
Your module

Code: Select all

guest@porteus:~$ ls /tmp/07-printing-3.2/var/log/packages
GConf-3.2.6-x86_64-3
PyQt-4.11.4-x86_64-1
bjfilter-common-2.50-3.i386
bjfilter-pixmaip1500-2.50-10.4.i586
bjfilter-pixmaip1500-lprng-2.50-10.4.i586
brscan-0.2.4-0.amd64
brscan-skey-0.2.4-1.amd64
brscan2-0.2.5-1.amd64
brscan3-0.2.11-5.amd64
brscan4-0.4.2-1.amd64
colord-1.2.12-x86_64-1gv
cups-2.1.4-x86_64-1
cups-2.1.4-x86_64-1.7z
cups-bjnp-1.2-x86_64-1_slonly
cups-filters-1.9.0-x86_64-2
dbus-python-1.2.4-x86_64-1
dconf-0.24.0-x86_64-1
exo-0.10.7-x86_64-1
foomatic-filters-4.0.12-x86_64-1
garcon-0.4.0-x86_64-2
gd-2.2.1-x86_64-1
ghostscript-9.19-x86_64-2
ghostscript-fonts-std-8.11-noarch-1
gimp-solibs-2.8.16-x86_64-1-1fl
glade3-3.8.5-x86_64-2
gtk+3-3.18.9-x86_64-1
gutenprint-5.2.11-x86_64-2
hplip-3.16.5-x86_64-3
libgphoto2-2.5.10-x86_64-1
libgusb-0.2.8-x86_64-1gv
libieee1284-0.2.11-x86_64-3
libnl-1.1.4-x86_64-1
libsane-dsseries-1.0.5-1.x86_64
libxfce4ui-4.12.1-x86_64-2
libxfce4util-4.12.1-x86_64-2
net-snmp-5.7.3-x86_64-3
notify-python-0.1.1-x86_64-5
poppler-0.45.0-x86_64-1
pycairo-1.10.0-x86_64-1
pycups-1.9.73-x86_64-1
pycurl-7.43.0-x86_64-1
pygobject-2.28.6-x86_64-2
pygtk-2.24.0-x86_64-2
python-2.7.11-x86_64-2
qpdf-6.0.0-x86_64-1
qt3-3.3.8b-x86_64-5_slonly
sane-1.0.25-x86_64-2
scangearmp2_3.20-1_amd64
simple-scan-2.32.0.2-x86_64-2gv
sip-4.18-x86_64-1
system-config-printer-1.3.13-x86_64-2
v4l-utils-1.10.0-x86_64-1
xsane-0.999-x86_64-1
guest@porteus:~$
It's requires expert opinion

Re: printing-3.2 for porteus 3.2

Posted: 16 Oct 2016, 20:02
by francois
This is what I did in the previous post. I used the two lists that you gave and then compared the them (your package and mine) and gave the result of the differences.

What I will do is use your module set of packages and then add and remove my extra packages until I get to scan with my brother printer. And provide the result. We will keep what will be left and testers will tell us if anything is missing. I will do that tonite.

Cheers! :beer:

Re: printing-3.2 for porteus 3.2

Posted: 17 Oct 2016, 19:43
by Blaze
Missing library libgimp-2

Code: Select all

xsane: error while loading shared libraries: libgimpui-2.0.so.0: cannot open shared object file: No such file or directory
Re: Epson Perfection 1270 scanner:scanning porteus 3.2 (Post by Blaze #49779)

Re: printing-3.2 for porteus 3.2

Posted: 18 Oct 2016, 07:10
by francois
This should be in the gimp-solibs of ahau. I will have to check that.

It might take until this thursday. At work there is a very busy schedule.

Re: printing-3.2 for porteus 3.2

Posted: 18 Oct 2016, 16:10
by Blaze
francois wrote:At work there is a very busy schedule.
the same story at me.

A new version 07-printing-x86_64-18.10.2016.xzm

Changelog:
libgimp-2.8.18-alt1.x86_64.rpm
https://pkgs.org/search/libgimp
https://pkgs.org/altlinux-sisyphus/clas ... 4.rpm.html

***

http://download.ebz.epson.net/dsc/searc ... archModule (search 1660 = Perfection 1660… + DS-1660W)

iscan-bundle-1.0.2.x64.rpm.tar.gz (iscan-2.30.2-2.x86_64.rpm, iscan-data-1.37.0-3.noarch.rpm, iscan-network-nt-1.1.1-1.x86_64.rpm)
http://download.ebz.epson.net/dsc/du/02 ... 6d0059e387
http://support.epson.net/linux/en/iscan ... sion=1.0.2


imagescan-bundle-fedora-24-1.1.12.x64.rpm.tar.gz (imagescan-3.22.0-1epson4fedora24.x86_64.rpm, imagescan-plugin-networkscan-1.1.0-1epson4fedora24.x86_64.rpm, imagescan-plugin-ocr-engine-1.0.0-1epson4fedora24.x86_64.rpm)
http://download.ebz.epson.net/dsc/du/02 ... 2d384955db
http://support.epson.net/linux/en/image ... ion=1.1.12

***

Re: printing-3.2 for porteus 3.2

Posted: 19 Oct 2016, 01:22
by francois
Printing from cups browser interface works ok.

Print settings or system-config-printer error. Output:

Code: Select all

guest@porteus:~$ system-config-printer
Traceback (most recent call last):
  File "/usr/share/system-config-printer/system-config-printer.py", line 29, in <module>
    import dbus
ImportError: No module named dbus
guest@porteus:~$

Re: printing-3.2 for porteus 3.2

Posted: 19 Oct 2016, 16:17
by Blaze
francois, for me - all ok
Image

Re: printing-3.2 for porteus 3.2

Posted: 19 Oct 2016, 18:38
by Ed_P
3.2rc5 Cinnamon 64-bit
07-printing-x86_64-18.10.2016.xzm

The GUI works for me also.

Not sure about the terminal msgs.

Code: Select all

guest@porteus:~$ system-config-printer
Unknown value for media-col: (unknown IPP value tag 0x34)
Choices: [u'media-bottom-margin', u'media-left-margin', u'media-right-margin', u'media-size', u'media-source', u'media-top-margin', u'media-type']
Selecting from choices: media-bottom-margin
/usr/share/system-config-printer/monitor.py:191: Warning: Source ID 598 was not found when attempting to remove it
  gobject.source_remove (timer)
guest@porteus:~$ 

Re: printing-3.2 for porteus 3.2

Posted: 21 Oct 2016, 16:10
by Blaze
Today I tested Canon i-SENSYS MF3228 and HP Photo Scanner ScanJet G2710 with 07-printing-x86_64-18.10.2016.xzm

Both devices does not have drivers for Linux.

Image Image

Image
  • Canon i-SENSYS MF3228 - printer don't work (no driver)
  • Canon i-SENSYS MF3228 - scanning works perfect
  • HP Photo Scanner ScanJet G2710 - very slowly scans, plus did this incorrectly - example here
BTW, Internet via proxy server on the last version of Porteus works fine.

Re: printing-3.2 for porteus 3.2

Posted: 25 Oct 2016, 21:04
by francois
@blaze:

1.0 Your printer package works fine. I finally retested it on a fresh xfce install. Really do not know what was wrong. :(

2.0 Canon I-SENSYS MF3228: Canon states that there will be no linux driver for that printer.
https://forums.linuxmint.com/viewtopic.php?t=181203
http://www.canon-europe.com/support/con ... 20(64-bit)

2.0 HP Photo Scanner ScanJet G2710: not supported for linux.
http://h20564.www2.hp.com/hpsc/swd/publ ... id=3423845

Re: printing-3.2 for porteus 3.2

Posted: 26 Oct 2016, 15:58
by Blaze
Better to throw these devices into trash and buy a new printers and scanners with support Linux.