Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 356695 - net-print/foo2zjs-99999999.ebuild to solve changing digest problems
Summary: net-print/foo2zjs-99999999.ebuild to solve changing digest problems
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-27 14:36 UTC by Paweł Hajdan, Jr. (RETIRED)
Modified: 2011-07-26 17:01 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
proposed ebuild (foo2zjs-99999999.ebuild,1.04 KB, text/plain)
2011-02-27 14:38 UTC, Paweł Hajdan, Jr. (RETIRED)
Details
proposed ebuild (foo2zjs-99999999.ebuild,1.06 KB, text/plain)
2011-03-06 16:37 UTC, Paweł Hajdan, Jr. (RETIRED)
Details
emerge --info (emerge_info.txt,15.56 KB, text/plain)
2011-07-05 16:51 UTC, Dimitrije Zivkovic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-02-27 14:36:35 UTC
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.
Comment 1 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-02-27 14:38:13 UTC
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.
Comment 2 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-03-06 16:37:50 UTC
Created attachment 264969 [details]
proposed ebuild

Added RESTRICT="bindist", because of downloaded code.
Comment 3 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-03-12 12:18:19 UTC
Committed.
Comment 4 Alon Bar-Lev 2011-03-18 06:07:59 UTC
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.
Comment 5 Mads 2011-06-01 11:48:56 UTC
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.
Comment 6 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-06-02 15:16:35 UTC
(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!
Comment 7 Dimitrije Zivkovic 2011-07-05 16:50:27 UTC
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.
Comment 8 Dimitrije Zivkovic 2011-07-05 16:51:53 UTC
Created attachment 279175 [details]
emerge --info

emerge --info
Comment 9 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-07-16 17:44:40 UTC
(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.
Comment 10 Damian Kołkowski 2011-07-26 09:20:17 UTC
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!
Comment 11 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-07-26 17:01:07 UTC
(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.