1 |
On Wednesday 26 November 2008, Donnie Berkholz wrote: |
2 |
> On 23:52 Tue 25 Nov , Peter Alfredsen (loki_val) wrote: |
3 |
> > loki_val 08/11/25 23:52:04 |
4 |
> > |
5 |
> > Added: gtk-sharp-module.eclass |
6 |
> > Log: |
7 |
> > eclass required for gnome-sharp and gnome-desktop-sharp packages |
8 |
> |
9 |
> Did I miss this on gentoo-dev? All eclasses must be sent there for |
10 |
> review before addition to the tree. |
11 |
|
12 |
*loki_val bumps his head into the wall. |
13 |
See, what happened was... |
14 |
I have been doing nothing else but testing and bumping dotnet packages |
15 |
for the last 3 days when not at work, so I kind of forgot that step. |
16 |
Fortunately all packages using this eclass are still in package.mask. |
17 |
|
18 |
Anyway, the eclass is derived from the gtk-sharp-component eclass (which |
19 |
is a real bitrot mess that has to support 3 or 4 different naming |
20 |
schemes) and is basically a simplification of that. |
21 |
|
22 |
> > if [[ " ${gtk_sharp_module_list} " == *" ${GTK_SHARP_MODULE} "* ]] |
23 |
> > ; then my_module_list="${gtk_sharp_module_list}" |
24 |
> > my_tarball="gtk-sharp" |
25 |
> > elif [[ " ${gnome_sharp_module_list} " == *" ${GTK_SHARP_MODULE} "* |
26 |
> > ]] ; then |
27 |
> |
28 |
> This seems like a really strange strategy for checking whether a |
29 |
> certain item is in a list. |
30 |
|
31 |
I disagree. |
32 |
|
33 |
> > # Make selecting components configurable. |
34 |
> > epatch ${WORKDIR}/${MY_P}-configurable.diff |
35 |
> |
36 |
> This seems like something you might want optional, depending on some |
37 |
> variable. |
38 |
|
39 |
It really isn't. That patch adds AC_ARG_ENABLEs to configure so we can |
40 |
split up the gnome-sharp and gnome-desktop-sharp tarballs into smaller |
41 |
pieces. |
42 |
|
43 |
> > # Fixes support with pkgconfig-0.17, #92503. |
44 |
> > sed -i -e 's/\<PKG_PATH\>/GTK_SHARP_PKG_PATH/g' \ |
45 |
> > -e ':^CFLAGS=:d' \ |
46 |
> > ${S}/configure.in |
47 |
> |
48 |
> It would be nice to quote all instances of $S, $D etc. |
49 |
|
50 |
CanDo. |
51 |
|
52 |
> > LANG=C emake -j1 || die "emake failed" |
53 |
> |
54 |
> Worth a comment about parallel make being broken, with a reference to |
55 |
> the upstream bug. |
56 |
|
57 |
This is inherited from the old eclass. Upstream does not care and |
58 |
there's only work enough for one make job anyway. |
59 |
|
60 |
Attached is a diff from the old eclass to the new eclass, generated |
61 |
thusly: |
62 |
diff -wU5 gtk-sharp-component.eclass gtk-sharp-module.eclass |
63 |
|
64 |
|
65 |
|
66 |
-- |
67 |
/PA |