Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73532 - version bump ebuild for nvu 0.6
Summary: version bump ebuild for nvu 0.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-06 01:03 UTC by basic
Modified: 2004-12-08 21:20 UTC (History)
1 user (show)

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


Attachments
nvu-0.60.ebuild (nvu-0.60.ebuild,1.32 KB, text/plain)
2004-12-06 03:23 UTC, basic
Details
nvu-0.60.ebuild (nvu-0.60.ebuild,1.32 KB, text/plain)
2004-12-06 07:56 UTC, basic
Details
diff (nvu.diff,1.19 KB, patch)
2004-12-06 08:01 UTC, basic
Details | Diff
diff v2 (nvu.patch,2.43 KB, patch)
2004-12-07 19:59 UTC, basic
Details | Diff
mozconfig.patch (mozconfig.patch,491 bytes, patch)
2004-12-07 20:00 UTC, basic
Details | Diff
patch v3 (nvu-2.patch,2.42 KB, patch)
2004-12-08 00:52 UTC, basic
Details | Diff
patch v3-r1 (nvu-3.patch,2.42 KB, patch)
2004-12-08 00:58 UTC, basic
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description basic 2004-12-06 01:03:35 UTC
version bump ebuild for nvu 0.6

Reproducible: Always
Steps to Reproduce:
Comment 1 basic 2004-12-06 03:23:47 UTC
Created attachment 45369 [details]
nvu-0.60.ebuild
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2004-12-06 05:46:10 UTC
basic: please add a comment, if you provide an modified ebuild. also the header in invalid
-> http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=3
Comment 3 basic 2004-12-06 07:56:33 UTC
Created attachment 45385 [details]
nvu-0.60.ebuild

second try, fixed the header. Sorry, forgot to mention this:
 This is a slightly modified ebuild from the 0.50 version.
 I changed (aside from the header), the KEYWORDS definition, the 2 lines
starting with 'epatch' to use the patches for 0.50 (I checked that they apply
cleanly).
Comment 4 basic 2004-12-06 08:01:29 UTC
Created attachment 45386 [details, diff]
diff

oops, uploaded the wrong file! Here's a diff. with the header fixed (finally).
Comment 5 basic 2004-12-07 19:59:01 UTC
Created attachment 45488 [details, diff]
diff v2

with the previous ebuild, it seems to default to for --enable-optimize=-O .
That causes nvu to crash on startup on my system (gcc 3.3.4-r1 x86). In this
diff, I moved the patching and mozconfig stuff to src_unpack. Additionally, I
copied the logic for --enable-optimize from mozilla.eclass .
Comment 6 basic 2004-12-07 20:00:19 UTC
Created attachment 45489 [details, diff]
mozconfig.patch

Here's a patch to remove --enable-strip from mozconfig and let portage handle
stripping for easier debugging
Comment 7 basic 2004-12-08 00:52:12 UTC
Created attachment 45500 [details, diff]
patch  v3

forgot that src_unpack does not default to the source dir (got part of it right
and part of it wrong :P). This adds a cd ${S} at the top.
Comment 8 basic 2004-12-08 00:58:16 UTC
Created attachment 45501 [details, diff]
patch v3-r1

oops uploaded the wrong file. This one should work (famous last words...)
Comment 9 Chris White (RETIRED) gentoo-dev 2004-12-08 21:20:37 UTC
Everything looked pretty much ok.  Only comment I have to make is that when bumping ebuilds, if the previous ebuild (0.50 say) had:

~foo ~bar ~foobar

0.60 keeps the same ~arch keywords.  However, if it had:

foo bar ~foobar

Stable would get downgraded to unstable in the next version, so:

~foo ~bar ~foobar

and unstable would stay unstable.  The only time that keyword dropping really occurs is:

a) The next version uses some special library that some arches haven't marked
b) The next version is INSANELY rebuilt
c) It's a new ebuild, and someone submits it with a huge number of arches that they haven't tested

These are really the only reasons we'd ever drop keywords.  Otherwise, the basic policy applies.