Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2163 - [UPDATE] improve description for more search hits em8300-modules-0.12.0 ebuild
Summary: [UPDATE] improve description for more search hits em8300-modules-0.12.0 ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 All
: High enhancement (vote)
Assignee: Arcady Genkin (RETIRED)
URL: http://www.lostlogicx.com/ebuilds/em8...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-27 15:44 UTC by Brandon Low (RETIRED)
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

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


Attachments
updated slightly (compile fix) (em8300-modules-0.12.0.tar.gz,1.70 KB, application/gzip)
2002-05-03 02:58 UTC, Brandon Low (RETIRED)
Details
Patch, just a thought (em8300-modules-0.12.0-r1.patch,1.21 KB, patch)
2002-05-03 11:06 UTC, Brandon Low (RETIRED)
Details | Diff
revised patch, less mangling ;-) (em8300-modules-0.12.0.ebuild.patch,1.40 KB, patch)
2002-05-03 17:35 UTC, Brandon Low (RETIRED)
Details | Diff
libraries thought no functional change (em8300-libraries-0.12.0-r1.ebuild.patch,445 bytes, patch)
2002-05-03 18:03 UTC, Brandon Low (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brandon Low (RETIRED) gentoo-dev 2002-04-27 15:44:13 UTC
Summary says it, this is obviously needed due to the existance of bug #1768
Comment 1 Brandon Low (RETIRED) gentoo-dev 2002-04-27 15:46:14 UTC
Oh, I also just improved the einfo statement to make mention of the necessity 
of having i2c kernel options turned to at least M for this to work.
Comment 2 Arcady Genkin (RETIRED) gentoo-dev 2002-04-28 22:06:49 UTC
I'll take this one
Comment 3 Arcady Genkin (RETIRED) gentoo-dev 2002-04-28 23:23:38 UTC
Okay, committed.  I chose not to increment the ebuild to -r1 b/c the changes are
so minor and won't change anything for people to reinstall.

Thanks.
Comment 4 Arcady Genkin (RETIRED) gentoo-dev 2002-05-03 02:14:18 UTC
I've cleaned the -modules ebuild up some more.  Please have a look.

The main thing is that the Makefile hacking should happen in src_unpack(), and
not in src_compile().

HTH,
-- 
Arcady Genkin
Comment 5 Brandon Low (RETIRED) gentoo-dev 2002-05-03 02:58:24 UTC
Created attachment 791 [details]
updated slightly (compile fix)

When you moved the hacking to unpack, you forgot to change directories in
compile as well, we could eliminate the whole higher portion of the source
tree, for that matter I think we should, what do you think?  But the attached
fixes that, as well as eliminating the redundant call to depmod -a in the
pkg_postinst
Comment 6 Arcady Genkin (RETIRED) gentoo-dev 2002-05-03 03:13:49 UTC
Thanks for catching this.  I applied your changes.

To answer your question, we could set

   S="${WORKDIR}/${P}/modules"

and that would be preffered, if not for the em8300.h header file, which doesn't
live in the modules/ directory.  Or did you have something else in mind?
Comment 7 Brandon Low (RETIRED) gentoo-dev 2002-05-03 11:06:08 UTC
Created attachment 801 [details, diff]
Patch, just a thought

This patch both complexifies and simplifies the ebuild, personally I think it
is better this way, we don't have to deal with doing everything in ${S}/modules


let me know what you think
Comment 8 Arcady Genkin (RETIRED) gentoo-dev 2002-05-03 17:00:35 UTC
I am not sure whether I like this.  I, for one, would prefer simply setting:
  S="${WORKDIR}/${P}/modules"
This way the rest of the sources are still there in case anything else is needed
in the future, but the default directory is the correct one in src_compile and
src_install.  Personally, I really buy into the principle of the least mangling. ;^)

I'll leave the final call to you, as the maintainer.  Consider my advice, and
then let me know what you want to do.
Comment 9 Brandon Low (RETIRED) gentoo-dev 2002-05-03 17:35:28 UTC
Created attachment 809 [details, diff]
revised patch, less mangling ;-)

(here is a surprise) I took your advice and, this patch sets the ${S} as you
mentioned, also increased the verbosity of comments in the ebuild.
Comment 10 Brandon Low (RETIRED) gentoo-dev 2002-05-03 18:03:37 UTC
Created attachment 811 [details, diff]
libraries thought no functional change

this is another thought I had (boring day at work) simply prevents the
installation by the libraries package of a tar.gz of the modules package
not important, just nicer this way.
Comment 11 Arcady Genkin (RETIRED) gentoo-dev 2002-05-07 15:35:07 UTC
I keep forgetting about the new patches.  Reopenning the bug.  I'll look at them
in the next day or so.
Comment 12 Arcady Genkin (RETIRED) gentoo-dev 2002-05-11 12:16:00 UTC
Committed both patches.  Thanks.