Gentoo Archives: gentoo-dev

From: "Claes Ström" <gentoodevlist@××××××.com>
To: gentoo-dev@g.o
Subject: [gentoo-dev] Some thougts about portage/emerge/ebuilds...
Date: Thu, 29 May 2003 21:23:32
Message-Id: 007801c32628$8de665e0$3a0a640a@DOMLINA
1 Hi devs!
2
3 Here is some thoughts I have about portage/emerge/ebuilds
4
5
6 1.
7 manpage don't tell me that -D = --deep (need to read pythonsource or read
8 response from "emerge --help" to figure out )
9
10
11 2.
12 When new things coming up like "fixpackages" and emerge responds that you
13 should change "FEATURES" or run "fixpackages". When this script is outside
14 of normal path, it would be nice if it was some hint where it's located.
15 (/usr/lib/portage/bin/fixpackages)
16
17
18 3.
19 When you do a deep pretended update world (emerge -vpuD world) and finds
20 some updates like: [ebuild U ] dev-libs/glib-2.2.1-r1 [2.2.1] -doc
21 Then when you read Changes for this package and get a diff like this of the
22 ebuilds:
23
24 --- glib-2.2.1.ebuild 2003-03-30 23:27:33.000000000 +0200
25 +++ glib-2.2.1-r1.ebuild 2003-05-29 09:39:53.000000000 +0200
26 @@ -1,6 +1,6 @@
27 # Copyright 1999-2003 Gentoo Technologies, Inc.
28 # Distributed under the terms of the GNU General Public License v2
29 -# $Header: /home/cvsroot/gentoo-x86/dev-libs/glib/glib-2.2.1.ebuild,v 1.9
30 2003/03/30 21:27:33 joker Exp $
31 +# $Header: /home/cvsroot/gentoo-x86/dev-libs/glib/glib-2.2.1-r1.ebuild,v
32 1.1 2003/05/29 07:39:53 utx Exp $
33
34 inherit libtool
35
36 @@ -42,6 +42,18 @@
37
38 src_install() {
39 einstall || die
40 +
41 + # Consider invalid UTF-8 filenames as locale-specific.
42 + dodir /etc/env.d
43 + echo "G_BROKEN_FILENAMES=1" >${D}/etc/env.d/50glib2
44
45 dodoc AUTHORS ChangeLog COPYING README* INSTALL NEWS NEWS.pre-1-3
46 }
47 +
48 +pkg_postinst() {
49 + env-update
50 +}
51 +
52 +pkg_postrm() {
53 + env-update
54 +}
55
56 Why should I need to rebuild the whole glib2 to get one line appended to
57 /etc/env.d/50glib2 ?
58 Wouldn't it be nice if portage could handle small file updates instead of
59 rebuilding from scratch!
60
61 4.
62 I've seen many "etc-updates" with only "cvs-header-updates"!
63 It would be *nice* if "ebuild-devs" check this before releases...
64
65
66 BTW it looks like forums.gentoo.org is down!
67
68
69 My 2 USE-flags
70 Claes Ström
71
72
73 PS
74 I'm also think that the homepage should have more news/information collected
75 from the Forum, IRC, Bugzilla and mailing-lists. It could be done by some
76 "junior wannabes" who have time to "hang out" around the clock and trawl all
77 sources mentioned above and do some editorial work (daily).
78 Things like framebuffer- and icon-"toys" should have an own track
79 (for all the newbies who loves that stuff).
80
81
82 --
83 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] Some thougts about portage/emerge/ebuilds... Michael Kohl <citizen428@××××××.org>