Subject: Re: patch for multimedia/gnome2-media for lrint(3)
To: Jeremy C. Reed <reed@reedmedia.net>
From: Gilles Gravier <Gilles@Gravier.org>
List: tech-pkg
Date: 07/22/2005 09:46:20
This is a multi-part message in MIME format.
--------------050701000702050909060009
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
On my 400 MHz machine, it takes 4 days to recompile gnome... and the
machine is currently compiling OpenOffice... expect at least a week
before I can come up with a result...
But... in the interim, I had manually edited the files and replaced
lring with ring and compilation did work...
Gilles.
Jeremy C. Reed wrote:
> Gilles and Robert,
>
> Please try the following to fix your gnome2-media build. I didn't test
> much though. And hopefully I have this written correctly. Maybe it
> should check for 2.99 or other versions too?
>
> Please report back.
>
> cvs diff: Diffing multimedia/gnome2-media
> Index: multimedia/gnome2-media/Makefile
> ===================================================================
> RCS file: /cvsroot/pkgsrc/multimedia/gnome2-media/Makefile,v
> retrieving revision 1.17
> diff -b -u -r1.17 Makefile
> --- multimedia/gnome2-media/Makefile 16 Jul 2005 01:19:15 -0000
> 1.17
> +++ multimedia/gnome2-media/Makefile 21 Jul 2005 18:01:44 -0000
> @@ -30,6 +30,17 @@
> CONFIGURE_ENV+= CDROM_HOST="bsd"
> .endif
>
> +# NetBSD before 3 and FreeBSD before 5.4 do not have lrint(3)
> +.if (${OPSYS} == "NetBSD" && (!empty(${OS_VERSION:M1.[0-5]*}) || \
> + !empty(OS_VERSION:M2.0*))) || \
> + (${OPSYS} == "FreeBSD" && (!empty(OS_VERSION:M4.*) && \
> + !empty(OS_VERSION:M5.[0-3]*)))
> +SUBST_CLASSES+= rint
> +SUBST_STAGE.rint= pre-configure
> +SUBST_FILES.rint= gnome-cd/gst-cdparanoia-cdrom.c
> gst-mixer/src/volume.c
> +SUBST_SED.rint= -e "s,lrint,rint,g"
> +.endif
> +
> GCONF2_SCHEMAS= CDDB-Slave2.schemas
> GCONF2_SCHEMAS+= gnome-audio-profiles.schemas
> GCONF2_SCHEMAS+= gnome-cd.schemas
>
>
> Jeremy C. Reed
>
> BSD News, BSD tutorials, BSD links
> http://www.bsdnewsletter.com/
--
/*Gilles Gravier*/ *=* *Gilles@Gravier.org* <mailto:Gilles@Gravier.org>
*=* *http://www.gravier.org/*
ICQ : *77488526*
<http://www.icq.com/whitepages/about_me.php?Uin=77488526> * || *MSN
Messenger : Gilles@Gravier.org
<http://members.msn.com/?mpp=4263%7E5AAAZAAAACcw%210A83PFlYeq0R%21ZPO39GW63sr8Zaat9nB6dTdi0id9FQ$$%7E5AAAaAAAAEDTTl7j2*1w8Gd7%21LdWZmJumAmJe3E2lA97s$>*
*Skype : ggravier <callto://ggravier>* || *Y! : ggravier
<http://profiles.yahoo.com/ggravier> || AOL : gillesgravier
<aim:goim?screenname=gillesgravier>
PGP Key ID : *0x8DE6D026*
<http://pgp.mit.edu:11371/pks/lookup?search=0x8DE6D026&op=index>
"Chastity is its own punishment." (/Solomon Short/) [/David Gerrold/]
"De toutes les aberrations sexuelles, la chasteté est la plus
aberrante." [Anatole France]
--------------050701000702050909060009
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#336666">
On my 400 MHz machine, it takes 4 days to recompile gnome... and the
machine is currently compiling OpenOffice... expect at least a week
before I can come up with a result...<br>
<br>
But... in the interim, I had manually edited the files and replaced
lring with ring and compilation did work...<br>
<br>
Gilles.<br>
<br>
<br>
Jeremy C. Reed wrote:
<blockquote
cite="midPine.NEB.4.62.0507211103590.24388@pilchuck.reedmedia.net"
type="cite">Gilles and Robert,
<br>
<br>
Please try the following to fix your gnome2-media build. I didn't test
much though. And hopefully I have this written correctly. Maybe it
should check for 2.99 or other versions too?
<br>
<br>
Please report back.
<br>
<br>
cvs diff: Diffing multimedia/gnome2-media
<br>
Index: multimedia/gnome2-media/Makefile
<br>
===================================================================
<br>
RCS file: /cvsroot/pkgsrc/multimedia/gnome2-media/Makefile,v
<br>
retrieving revision 1.17
<br>
diff -b -u -r1.17 Makefile
<br>
--- multimedia/gnome2-media/Makefile 16 Jul 2005 01:19:15 -0000
1.17
<br>
+++ multimedia/gnome2-media/Makefile 21 Jul 2005 18:01:44 -0000
<br>
@@ -30,6 +30,17 @@
<br>
CONFIGURE_ENV+= CDROM_HOST="bsd"
<br>
.endif
<br>
<br>
+# NetBSD before 3 and FreeBSD before 5.4 do not have lrint(3)
<br>
+.if (${OPSYS} == "NetBSD" && (!empty(${OS_VERSION:M1.[0-5]*})
|| \
<br>
+ !empty(OS_VERSION:M2.0*))) || \
<br>
+ (${OPSYS} == "FreeBSD" && (!empty(OS_VERSION:M4.*)
&& \
<br>
+ !empty(OS_VERSION:M5.[0-3]*)))
<br>
+SUBST_CLASSES+= rint
<br>
+SUBST_STAGE.rint= pre-configure
<br>
+SUBST_FILES.rint= gnome-cd/gst-cdparanoia-cdrom.c
gst-mixer/src/volume.c
<br>
+SUBST_SED.rint= -e "s,lrint,rint,g"
<br>
+.endif
<br>
+
<br>
GCONF2_SCHEMAS= CDDB-Slave2.schemas
<br>
GCONF2_SCHEMAS+= gnome-audio-profiles.schemas
<br>
GCONF2_SCHEMAS+= gnome-cd.schemas
<br>
<br>
<br>
Jeremy C. Reed
<br>
<br>
BSD News, BSD tutorials, BSD links
<br>
<a class="moz-txt-link-freetext" href="http://www.bsdnewsletter.com/">http://www.bsdnewsletter.com/</a>
<br>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<title>Signature Perso Chastity</title>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<div style="text-align: left;">
<table
style="text-align: left; background-color: rgb(102, 102, 102); width: 500px; height: 73px;"
border="1" cellpadding="3" cellspacing="3">
<tbody>
<tr>
<td
style="text-align: center; vertical-align: middle; background-color: rgb(204, 204, 204); white-space: nowrap;">
<div
style="text-align: center; background-color: rgb(204, 204, 204);"><tt><font
color="#7d6eaf"><i><b>Gilles Gravier</b></i> <b>=</b> </font><a
href="mailto:Gilles@Gravier.org"><font color="#000000"><b>Gilles@Gravier.org</b></font></a><font
color="#7d6eaf"> <b>=</b> </font><a href="http://www.gravier.org/"><font
color="#000000"><b>http://www.gravier.org/</b></font></a></tt><br>
</div>
<div
style="text-align: center; background-color: rgb(204, 204, 204);"><tt><font
color="#009900"><span
style="font-family: monospace; color: rgb(0, 0, 0); font-weight: bold;"></span></font><font
color="#000099">ICQ :</font> <a
href="http://www.icq.com/whitepages/about_me.php?Uin=77488526"><font
color="#009900"><b>77488526</b></font></a></tt> <tt><font
color="#009900"><b><span
style="font-family: monospace; color: rgb(0, 0, 0);"> || </span></b></font></tt><tt><font
color="#000099">MSN Messenger : <a
href="http://members.msn.com/?mpp=4263%7E5AAAZAAAACcw%210A83PFlYeq0R%21ZPO39GW63sr8Zaat9nB6dTdi0id9FQ$$%7E5AAAaAAAAEDTTl7j2*1w8Gd7%21LdWZmJumAmJe3E2lA97s$"><span
style="color: rgb(0, 153, 0); font-weight: bold;">Gilles@Gravier.org</span></a></font></tt><tt><font
color="#009900"><b><span
style="font-family: monospace; color: rgb(0, 0, 0);"><br>
</span></b></font></tt><span
style="font-family: monospace; color: rgb(0, 0, 153);">Skype</span><tt><font
color="#000099"><span style="color: rgb(0, 0, 153);"> : </span><a
href="callto://ggravier"><span
style="font-weight: bold; color: rgb(0, 153, 0);">ggravier</span></a></font></tt><tt><font
color="#009900"><b><span
style="font-family: monospace; color: rgb(0, 0, 0);"> || </span></b></font></tt><tt><font
color="#000099"><span style="color: rgb(0, 153, 0);"></span><span
style="font-weight: bold;"></span>Y! : <a
href="http://profiles.yahoo.com/ggravier"><span
style="color: rgb(0, 153, 0); font-weight: bold;">ggravier</span></a></font></tt><tt
style="font-weight: bold;"><font color="#009900"><span
style="font-family: monospace; color: rgb(0, 0, 0);"> || </span></font></tt><tt><font
color="#000099">AOL : <a href="aim:goim?screenname=gillesgravier"><span
style="color: rgb(0, 153, 0); font-weight: bold;">gillesgravier</span></a><br>
</font></tt><tt><font color="#000099">PGP Key ID :</font> <a
href="http://pgp.mit.edu:11371/pks/lookup?search=0x8DE6D026&op=index"><font
color="#009900"><b>0x8DE6D026</b></font></a></tt><br>
</div>
<div
style="text-align: center; background-color: rgb(204, 204, 204);"><tt>"Chastity
is its own punishment." (<font color="#999999"><i>Solomon Short</i></font>)
[<font color="#666666"><i>David Gerrold</i></font>]<br>
</tt><span style="font-family: monospace;">"De toutes les
aberrations sexuelles, la chasteté est la plus aberrante." [<span
style="font-style: italic;"><font color="#666666">Anatole France</font></span>]</span><br>
</div>
</td>
</tr>
</tbody>
</table>
<pre wrap="">
</pre>
</div>
<br>
</div>
</body>
</html>
--------------050701000702050909060009--