Re: [gentoo-user] printing pdfs
On Thu, May 28, 2020 at 04:11:46PM -0400, james wrote: > Pdfs are becoming a challenge to print. I'm sure I'll be printing pdf files > for decades to come. > > So what application/strategy gets me past errors like this: > > "Cannot mix incompatible Qt library (version 0x50e01) with this library > (version 0x50e02)" How is your printer connected ? If it's using The Common Unix Print System (C.U.P.S.) as many do, try the lpr command (from `net-print/cups`). The server on which C.U.P.S.\ is running is specified with the `-H ` argument, and various options can be specified with `-o `. To take the example from the man page of lpr: Print a double-sided legal document to a printer called "foo": $ lpr -P foo -o media=legal -o sides=two-sided-long-edge filename If your printer is remote, as mine is (on a server called `genserv`), you can do the following: $ lpr -H genserv -o sides=two-sided-long-edge paper.pdf This is not a suggestion that you abandon the issue of mismatched Qt library versions, but rather a simple workaround to use while the various Qt programs get up-to-date with the latest versions of the libraries. Providing C.U.P.S.\ is configured correctly with all the appropriate `ppd` files for your particular printer model, lpr should work out-of-the-box. -- Ashley Dixon suugaku.co.uk 2A9A 4117 DA96 D18A 8A7B B0D2 A30E BF25 F290 A8AA signature.asc Description: PGP signature
[gentoo-user] OT: looking for info on USB3 to Mini-pcie WiFi module
Hi all, I am looking for info on usb3 to mini-pcie wifi modules - some kind of adaptor? There are a lot of mini-pcie to M.2 on ebay but reading up on mini-pcie it seems they may not be compatible. Does anybody have an idea of one that would work - they are cheap enough to buy and test/throw back on shelf if they dont work but the current two month delivery times are a killer :) My existing wifi AP is getting too old to properly upgrade (Its an old Buffalo G300N running openwrt) so I am building my own - I currently have a gentoo based userland on a raspberry-pi3B using the inbuilt wifi and a realtek usb WiFi 1200ac dongle which is the proof of concept but before I go and purchase more powerful hardware for the controller (looking at an odroid C4 at the moment) I want to ascertain if I can use some of the mini-pcie wifi cards I have via USB3 (one is a 3x3 mimo atheros ac module, others atheros or intel N.) At the end of the day, I am looking for WiFi6 compatibility and a performance boost over the old buffalo (multiple family members are working from home, mostly via wifi which is holding up pretty well so far but I want better :) Yes I could by a bespoke unit but whats the fun in that :) BillK pEpkey.asc Description: application/pgp-keys
[gentoo-user] printing pdfs
comrades, Pdfs are becoming a challenge to print. I'm sure I'll be printing pdf files for decades to come. So what application/strategy gets me past errors like this: "Cannot mix incompatible Qt library (version 0x50e01) with this library (version 0x50e02)" Not being able to print pdf files is simply a no-go for me. I have no intention of converting 10K+ pdf files to another format... Suggestions are most welcome, as what I have google-read, it's a mess and I'm no closer to a gentoo centric solution. James
Re: [gentoo-user] printing pdfs
james wrote: > On 5/28/20 4:30 PM, Francesco Turco wrote: >> On Thu, May 28, 2020, at 22:11, james wrote: >>> So what application/strategy gets me past errors like this: >>> >>> "Cannot mix incompatible Qt library (version 0x50e01) with this library >>> (version 0x50e02)" >> >> Which application are you printing from? >> I guess it's a Qt application. In that case, please verify that all >> packages in the dev-qt category on your system have the same version >> number. >> >> You can use eix, for example: >> >> $ eix --category dev-qt --installed --compact >> > > 35 matches. Yes I run lxde and many qt codes. > > Perhaps better these are currenly blocked (will not update) qt: > > U ~] dev-qt/qtcore-5.15.0 [5.14.2] > U ~] dev-qt/qtxml-5.15.0 [5.14.2] > U dev-qt/qtnetwork-5.15.0 [5.14.2] USE="-libressl%" > U ~] dev-qt/qttest-5.15.0 [5.14.2] > U ~] dev-qt/qtdbus-5.15.0 [5.14.2] > > U ~] dev-qt/qtgui-5.15.0 [5.14.2] > U ~] dev-qt/qtx11extras-5.15.0 [5.14.2] > U ~] dev-qt/qtwidgets-5.15.0 [5.14.2] > U ~] dev-qt/qtdeclarative-5.15.0 [5.14.2] > U ~] dev-qt/qtopengl-5.15.0 [5.14.2] > U ~] dev-qt/linguist-tools-5.15.0 [5.14.2] > U ~] dev-qt/qtmultimedia-5.15.0 [5.14.2] > U ~] dev-qt/qtpositioning-5.15.0 [5.14.2] > U ~] dev-qt/qtwayland-5.15.0 [5.14.2] > U ~] dev-python/qtawesome-0.7.2 [0.7.1] > > > > Not staying up with the very latest qt packages, causes even more > problems. I usually have to wait, up to 7 days, as the others trickle > in and the all the qt packages will install. Sometime I have to remove > them all, then do the upgrade. > > This is the first time it has affected pdf files. > > Palemoon will not even load pdfs, at least this version:: > > NewMoon: 28.9.3 (the unofficial build of PaleMoon.) > > I'll guess I just wait a few days and see what trickles in on qqt > upgrades: > > > (dev-qt/qtcore-5.15.0:5/5.15.0::gentoo, ebuild scheduled for merge) > USE="icu -debug -old-kernel (-systemd) -test" ABI_X86="(64)" conflicts > with > ~dev-qt/qtcore-5.14.2:5/5.14.2= required by > (dev-qt/qtnetwork-5.14.2:5/5.14::gentoo, installed) USE="ssl -bindist > -connman -debug -gssapi -libproxy -networkmanager -sctp -test" > ABI_X86="(64)" > ^ ^^ > ~dev-qt/qtcore-5.14.2 required by > (dev-qt/qtgraphicaleffects-5.14.2:5/5.14::gentoo, installed) > USE="-debug -test" ABI_X86="(64)" > ^ ^^ > ~dev-qt/qtcore-5.14.2:5= required by > (dev-qt/qtxml-5.14.2:5/5.14::gentoo, installed) USE="-debug -test" > ABI_X86="(64)" > ^ ^^ > ~dev-qt/qtcore-5.14.2:5/5.14.2= required by > (dev-qt/qtdiag-5.14.2:5/5.14::gentoo, installed) USE="network widgets > -debug -test" ABI_X86="(64)" > > > I to have quite a few qt packages. I sync once a week so maybe this makes some difference. However, when I see one upgrade, they all upgrade at the same time. I have around 30 packages installed here and they tend to all update together. Do you have some setting somewhere that is blocking some of the updates? USE flag maybe? One thing I've noticed, if you add one to use unstable packages, you have to do them all. It's either all of them or none. I don't think I've ever seen a time where one can be out of sync with the others. It may help if you would post the errors you are getting and the commands you are running to get them. It's pretty much impossible to help when we don't know what is failing and why. Error messages help to figure out what is failing. Dale :-) :-)
Re: [gentoo-user] printing pdfs
On 2020.05.28 19:04, james wrote: On 5/28/20 4:30 PM, Francesco Turco wrote: On Thu, May 28, 2020, at 22:11, james wrote: So what application/strategy gets me past errors like this: "Cannot mix incompatible Qt library (version 0x50e01) with this library (version 0x50e02)" Which application are you printing from? I guess it's a Qt application. In that case, please verify that all packages in the dev-qt category on your system have the same version number. You can use eix, for example: $ eix --category dev-qt --installed --compact 35 matches. Yes I run lxde and many qt codes. Perhaps better these are currenly blocked (will not update) qt: U ~] dev-qt/qtcore-5.15.0 [5.14.2] U ~] dev-qt/qtxml-5.15.0 [5.14.2] U dev-qt/qtnetwork-5.15.0 [5.14.2] USE="-libressl%" U ~] dev-qt/qttest-5.15.0 [5.14.2] U ~] dev-qt/qtdbus-5.15.0 [5.14.2] U ~] dev-qt/qtgui-5.15.0 [5.14.2] U ~] dev-qt/qtx11extras-5.15.0 [5.14.2] U ~] dev-qt/qtwidgets-5.15.0 [5.14.2] U ~] dev-qt/qtdeclarative-5.15.0 [5.14.2] U ~] dev-qt/qtopengl-5.15.0 [5.14.2] U ~] dev-qt/linguist-tools-5.15.0 [5.14.2] U ~] dev-qt/qtmultimedia-5.15.0 [5.14.2] U ~] dev-qt/qtpositioning-5.15.0 [5.14.2] U ~] dev-qt/qtwayland-5.15.0 [5.14.2] U ~] dev-python/qtawesome-0.7.2 [0.7.1] That's not output from the above command (dev-python wouldn't be there.) Please show the output of the above eix command, or perhaps try "eix-installed -a | grep dev-qt" for another look to be sure all are at the same version. Not staying up with the very latest qt packages, causes even more problems. I usually have to wait, up to 7 days, as the others trickle in and the all the qt packages will install. Sometime I have to remove them all, then do the upgrade. This is the first time it has affected pdf files. Palemoon will not even load pdfs, at least this version:: NewMoon: 28.9.3 (the unofficial build of PaleMoon.) I'll guess I just wait a few days and see what trickles in on qqt upgrades: (dev-qt/qtcore-5.15.0:5/5.15.0::gentoo, ebuild scheduled for merge) USE="icu -debug -old-kernel (-systemd) -test" ABI_X86="(64)" conflicts with ~dev-qt/qtcore-5.14.2:5/5.14.2= required by (dev-qt/qtnetwork-5.14.2:5/5.14::gentoo, installed) USE="ssl -bindist -connman -debug -gssapi -libproxy -networkmanager -sctp -test" ABI_X86="(64)" ^^^ ~dev-qt/qtcore-5.14.2 required by (dev-qt/qtgraphicaleffects-5.14.2:5/5.14::gentoo, installed) USE="-debug -test" ABI_X86="(64)" ^ ^^ ~dev-qt/qtcore-5.14.2:5= required by (dev-qt/qtxml-5.14.2:5/5.14::gentoo, installed) USE="-debug -test" ABI_X86="(64)" ^ ^^ ~dev-qt/qtcore-5.14.2:5/5.14.2= required by (dev-qt/qtdiag-5.14.2:5/5.14::gentoo, installed) USE="network widgets -debug -test" ABI_X86="(64)" What is trying to pull in qtcore-5.15.0? You started this with a problem of pdf viewers all complaining about mismatched qt versions, but this looks like a portage issue. If you are manually marking dev-qt packages as ~, you have to be sure you have gotten them all. All dev-qt packages (some, such as qt-creator are on a different number scheme) must have the same version. They are generally released all at the same time, so incomplete upgrades are likely due to a problem in package.accepted_keywords.
Re: [gentoo-user] printing pdfs
On 5/28/20 4:30 PM, Francesco Turco wrote: On Thu, May 28, 2020, at 22:11, james wrote: So what application/strategy gets me past errors like this: "Cannot mix incompatible Qt library (version 0x50e01) with this library (version 0x50e02)" Which application are you printing from? I guess it's a Qt application. In that case, please verify that all packages in the dev-qt category on your system have the same version number. You can use eix, for example: $ eix --category dev-qt --installed --compact 35 matches. Yes I run lxde and many qt codes. Perhaps better these are currenly blocked (will not update) qt: U ~] dev-qt/qtcore-5.15.0 [5.14.2] U ~] dev-qt/qtxml-5.15.0 [5.14.2] U dev-qt/qtnetwork-5.15.0 [5.14.2] USE="-libressl%" U ~] dev-qt/qttest-5.15.0 [5.14.2] U ~] dev-qt/qtdbus-5.15.0 [5.14.2] U ~] dev-qt/qtgui-5.15.0 [5.14.2] U ~] dev-qt/qtx11extras-5.15.0 [5.14.2] U ~] dev-qt/qtwidgets-5.15.0 [5.14.2] U ~] dev-qt/qtdeclarative-5.15.0 [5.14.2] U ~] dev-qt/qtopengl-5.15.0 [5.14.2] U ~] dev-qt/linguist-tools-5.15.0 [5.14.2] U ~] dev-qt/qtmultimedia-5.15.0 [5.14.2] U ~] dev-qt/qtpositioning-5.15.0 [5.14.2] U ~] dev-qt/qtwayland-5.15.0 [5.14.2] U ~] dev-python/qtawesome-0.7.2 [0.7.1] Not staying up with the very latest qt packages, causes even more problems. I usually have to wait, up to 7 days, as the others trickle in and the all the qt packages will install. Sometime I have to remove them all, then do the upgrade. This is the first time it has affected pdf files. Palemoon will not even load pdfs, at least this version:: NewMoon: 28.9.3 (the unofficial build of PaleMoon.) I'll guess I just wait a few days and see what trickles in on qqt upgrades: (dev-qt/qtcore-5.15.0:5/5.15.0::gentoo, ebuild scheduled for merge) USE="icu -debug -old-kernel (-systemd) -test" ABI_X86="(64)" conflicts with ~dev-qt/qtcore-5.14.2:5/5.14.2= required by (dev-qt/qtnetwork-5.14.2:5/5.14::gentoo, installed) USE="ssl -bindist -connman -debug -gssapi -libproxy -networkmanager -sctp -test" ABI_X86="(64)" ^^^ ~dev-qt/qtcore-5.14.2 required by (dev-qt/qtgraphicaleffects-5.14.2:5/5.14::gentoo, installed) USE="-debug -test" ABI_X86="(64)" ^ ^^ ~dev-qt/qtcore-5.14.2:5= required by (dev-qt/qtxml-5.14.2:5/5.14::gentoo, installed) USE="-debug -test" ABI_X86="(64)" ^ ^^ ~dev-qt/qtcore-5.14.2:5/5.14.2= required by (dev-qt/qtdiag-5.14.2:5/5.14::gentoo, installed) USE="network widgets -debug -test" ABI_X86="(64)"
Re: [gentoo-user] printing pdfs
You simply started something compiled with an older Qt lib. After some updates wether restart your desktop or pc if this dies not help... Am 28. Mai 2020 22:11:46 MESZ schrieb james : >comrades, > >Pdfs are becoming a challenge to print. I'm sure I'll be printing pdf >files for decades to come. > >So what application/strategy gets me past errors like this: > >"Cannot mix incompatible Qt library (version 0x50e01) with this library > >(version 0x50e02)" > > >Not being able to print pdf files is simply a no-go for me. I have no >intention of converting 10K+ pdf files to another format... > >Suggestions are most welcome, as what I have google-read, it's a mess >and I'm no closer to a gentoo centric solution. > > >James -- Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.
Re: [gentoo-user] printing pdfs
james wrote: > comrades, > > Pdfs are becoming a challenge to print. I'm sure I'll be printing pdf > files for decades to come. > > So what application/strategy gets me past errors like this: > > "Cannot mix incompatible Qt library (version 0x50e01) with this > library (version 0x50e02)" > > > Not being able to print pdf files is simply a no-go for me. I have no > intention of converting 10K+ pdf files to another format... > > Suggestions are most welcome, as what I have google-read, it's a mess > and I'm no closer to a gentoo centric solution. > > > James > > I use Okular myself. I don't recall it ever giving me a error. It opens fine as long as the file isn't corrupt or something. Unless you have it installed already, you may not want LOo installed. It is a bit large for opening and printing a pdf file. Overkill would be putting it lightly. LOL If you have it installed already tho, I think it opens and prints pdf files. To the point someone else mentioned. If you have a program that uses qt and all qt packages aren't at the right version, usually the same numbering, you will get errors. I've ran into that in the past with several programs. Some qt package fails to compile during a update and some are the new version and some are the old. When I try to start a program that uses qt, it pukes a error on my keyboard about the mismatch. That's the only way I've ever seen that error tho. Once I get all the qt packages to the same version, then things work like it should. I might add, some KDE packages do that as well. I'm sure there are other packages that have to be updated together to work correctly as well. First, tell us what you are using and what generates the error. Second, make sure all the qt packages are at the same version. If needed, a screenshot of the error is better than nothing. Dale :-) :-)
Re: [gentoo-user] printing pdfs
On Thu, 28 May 2020 at 22:11, james wrote: > > comrades, > > Pdfs are becoming a challenge to print. I'm sure I'll be printing pdf > files for decades to come. > > So what application/strategy gets me past errors like this: > > "Cannot mix incompatible Qt library (version 0x50e01) with this library > (version 0x50e02)" You should probably start with letting us know what application/strategy gives you that kind of error. Regards, Arve
Re: [gentoo-user] printing pdfs
On Thu, May 28, 2020, at 22:11, james wrote: > So what application/strategy gets me past errors like this: > > "Cannot mix incompatible Qt library (version 0x50e01) with this library > (version 0x50e02)" Which application are you printing from? I guess it's a Qt application. In that case, please verify that all packages in the dev-qt category on your system have the same version number. You can use eix, for example: $ eix --category dev-qt --installed --compact -- https://fturco.net/