net-print/foo2zjs upstream changes tarball contents without changing names, see bug #87351, bug #135556, bug #157411, bug #182090, bug #196992, bug #201396, bug #213018, bug #213110, bug #226737, bug #262801, bug #321967, bug #323087, bug #340215, bug #353302 A live ebuild is not a solution, but at least provides something that works. Otherwise it makes little sense to keep in the tree at all, if it's not installable. I'll attach an ebuild tested locally in a little while.
Created attachment 264043 [details] proposed ebuild Here it is. My plan is to add it to the repository in case of no response. It has empty KEYWORDS like a live ebuild should have, so it should be quite safe. And the ebuilds present in the tree are not installable anyway.
Created attachment 264969 [details] proposed ebuild Added RESTRICT="bindist", because of downloaded code.
Committed.
In these cases, after testing a specific version that works, usually gentoo developer should rename the file (eq, add date suffix) and put it in dist mirror. Life is never the solution, as it me break anything in specific date. Unfortunately, since 20081129 nobody took a snapshot. Also where all drivers where gone.
I had to add this line (before emake) to src_install before this ebuild installed any *.ppd-files: mkdir -p "${D}/usr/share/ppd" The Makefile checks for folder existence before installing ppd-files.
(In reply to comment #5) > I had to add this line (before emake) to src_install before this ebuild > installed any *.ppd-files: > > mkdir -p "${D}/usr/share/ppd" > > The Makefile checks for folder existence before installing ppd-files. Great catch, fixed. Thanks!
Ebuild merged OK, but printing does not work. Printer is HP LaserJet P1005. As I used this printer unser CentOS and instaled foo2zjs from source, the only difference I can see is that there is no "firmware loaded" message in log when printer is connected. Should this message be in logs? Is make-hotplug done during install? My system is pure UDEV and I don't see any udev rules file that loads firmware upon printer connection... Everything else works perfectly.
Created attachment 279175 [details] emerge --info emerge --info
(In reply to comment #7) > Ebuild merged OK, but printing does not work. Please file a new bug. This one is closed and about a different issue. I'm going to add a few replies here but please move further resolution steps to a separate bug. > Printer is HP LaserJet P1005. > > As I used this printer unser CentOS and instaled foo2zjs from source, the only > difference I can see is that there is no "firmware loaded" message in log when > printer is connected. Should this message be in logs? No idea. > Is make-hotplug done during install? No idea (it might be a dependency of some other target). I remember removing some target from the make list because it was violating the sandbox protection.
Hi there! net-print/foo2zjs-99999999.ebuild is not building for me, so if you have the same problem with "install-hotplug-test" tray to change ebuild as I attached. localhost foo2zjs # diff -Nru foo2zjs-99999999.ebuild.orig foo2zjs-99999999.ebuild --- foo2zjs-99999999.ebuild.orig 2011-07-26 11:18:06.993964016 +0200 +++ foo2zjs-99999999.ebuild 2011-07-26 11:19:17.408083716 +0200 @@ -61,5 +61,5 @@ # for them. mkdir -p "${D}/usr/share/ppd" - emake DESTDIR="${D}" -j1 install install-hotplug + emake DESTDIR="${D}" -j1 install install-hotplug-prog } localhost foo2zjs # Regards!
(In reply to comment #10) > - emake DESTDIR="${D}" -j1 install install-hotplug > + emake DESTDIR="${D}" -j1 install install-hotplug-prog I have no idea what problem this is solving, and I'm not going to make very speculative changes. Could you please open a *new* bug and describe the build problem you've encountered? Generally commenting on closed bugs with _unrelated_ issues is not very effective. Please rather file new bugs.