[Mono-list] Re: Apache ASP.NET module for Fedora Core 3

Pete Chown 1@234.cx
Sun, 30 Jan 2005 11:56:21 +0000


This is a multi-part message in MIME format.
--------------060505090505040009080403
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Neil Zanella wrote:

> I would like to know how come the mono ASP.NET apache mod_mono is
> module is not available for Fedora Core 3.

As far as I know, just lack of time.  I don't think there is any 
fundamental reason why it can't be built for FC3.  Most of the FC2 
packages work with FC3, but not gtk# and mod_mono.

You should probably try to rebuild it from the spec file.  Unfortunately 
you have to do quite a lot of setting up on your machine to get the 
Novell spec files to work.  I did, however, manage to come up with an 
srpm for gtk# that can be rebuilt just with "rpmbuild --rebuild" on a 
normal FC3 box.  You might be able to use the same trick for mod_mono.

To get the gtk# rpm and srpm:

1.  Download the FC2 spec file from http://www.go-mono.com/packagers/

2.  Install all the build-time requirements from the FC2 RPMs.

3.  Apply the attached patch to the spec file.

4.  Install the gtk# source in your SOURCES directory.

5.  Install find-provides (attached) in your SOURCES directory.

6.  rpmbuild -ba

I imagine the same trick will work with mod_mono, let me know how you 
get on.

Pete

--------------060505090505040009080403
Content-Type: text/x-patch;
 name="gtk-sharp.spec.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="gtk-sharp.spec.diff"

--- /home/pc/gtk-sharp.spec	2005-01-30 11:13:11.807209224 +0000
+++ SPECS/gtk-sharp.spec	2005-01-19 18:11:08.000000000 +0000
@@ -8,6 +8,9 @@
 %define licensedir	%{_datadir}/licenses/%{nam}-%{ver}
 %define ximrev	1
 
+%define __find_provides %{_sourcedir}/find-provides
+%define _use_internal_dependency_generator 0
+
 Name:     	gtk-sharp
 Version: 	1.0.4
 Release:	1.ximian.8.1
@@ -19,6 +22,7 @@
 
 URL:		http://gtk-sharp.sf.net
 Source0:	gtk-sharp-1.0.4.tar.gz
+Source1:	find-provides
 BuildRequires:	librsvg2-devel
 BuildRequires:	gtkhtml3-devel
 BuildRequires:	libcroco-devel
@@ -35,7 +39,7 @@
 BuildRequires:	vte-devel
 Summary:	.Net language bindings for Gtk+ and GNOME
 Group:		Development/Libraries
-Requires:	libgtkhtml-3.0.so.4
+Requires:	libgtkhtml-3.1.so.11
 Requires:	librsvg2
 Requires:	libcroco
 Provides:	ximian-gtk-sharp = %{?epoch:%{epoch}:}%{version}-%{?ximrev:%{ximrev}}%{!?ximrev:%{release}}

--------------060505090505040009080403
Content-Type: text/plain;
 name="find-provides"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="find-provides"

#!/bin/bash

filelist=`sed "s/['\"]/\\\&/g"`

echo $filelist | tr [:blank:] \\n | /usr/bin/mono-find-provides
echo $filelist | tr [:blank:] \\n | `rpm --eval '%{__find_provides}'`

--------------060505090505040009080403--