Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 101761 - dev-libs/redland-bindings should be able to build mono bindings if mono is installed
Summary: dev-libs/redland-bindings should be able to build mono bindings if mono is in...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-08 09:31 UTC by Ugo Riboni
Modified: 2005-08-12 16:11 UTC (History)
0 users

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


Attachments
Patch for the ebuild (redland-bindings-1.0.0.2.ebuild.diff,1.42 KB, patch)
2005-08-11 15:39 UTC, Ugo Riboni
Details | Diff
Patch to the configure script (for mono bindings) (configure-mono.diff,287 bytes, patch)
2005-08-11 15:40 UTC, Ugo Riboni
Details | Diff
Patch to the Makefile (for mono bindings) (Makefile-installmono.diff,421 bytes, patch)
2005-08-11 15:41 UTC, Ugo Riboni
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ugo Riboni 2005-08-08 09:31:45 UTC
The dev-libs/redland-bindings (at least ver. 1.0.0.2 but probably also earlier
versions) contains the source also for the bindings for mono. 
See http://librdf.org/docs/csharp.html for more information about them and how
to enable them during the build process.

Currently the ebuild doesn't support the USE flag "mono", and thus the mono
bindings cannot be built as part of the normal emerge process.





Reproducible: Always
Steps to Reproduce:
1. emerge -pvt redland-bindings
2.
3.

Actual Results:  
[ebuild  N    ] dev-libs/redland-bindings-1.0.0.2  +java +perl -php +python
-ruby -tcltk 0 kB

Expected Results:  
[ebuild  N    ] dev-libs/redland-bindings-1.0.0.2  +java +perl -php +python
-ruby -tcltk +mono 0 kB

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r0, 2.6.11-gentoo-r3 i686)
=================================================================
System uname: 2.6.11-gentoo-r3 i686 AMD Athlon(tm) XP 1700+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts bonobo browserplugin cdr crypt
cups curl eds emboss encode esd fam flac foomaticdb fortran gdbm gif gnome gpm
gstreamer gtk gtk2 hal imlib ipv6 java jpeg kde ldap libg++ libwww mad mikmod
mono motif mozilla mp3 mpeg mysql ncurses nls ogg oggvorbis opengl oss pam
pdflib perl png python qt quicktime readline sdl spell ssl tcpd tiff truetype
truetype-fonts type1-fonts vorbis xml xml2 xmms xv zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 SpanKY gentoo-dev 2005-08-08 10:24:26 UTC
post a patch to the ebuild, i dont use mono
Comment 2 Ugo Riboni 2005-08-11 15:39:42 UTC
Created attachment 65701 [details, diff]
Patch for the ebuild

As requested, the patch for the ebuild (i will attach also 2 support patches
for configure script and makefile)
Comment 3 Ugo Riboni 2005-08-11 15:40:38 UTC
Created attachment 65702 [details, diff]
Patch to the configure script (for mono bindings)
Comment 4 Ugo Riboni 2005-08-11 15:41:10 UTC
Created attachment 65703 [details, diff]
Patch to the Makefile (for mono bindings)
Comment 5 SpanKY gentoo-dev 2005-08-11 19:03:32 UTC
thanks, now in portage
Comment 6 Ugo Riboni 2005-08-12 07:40:13 UTC
I tested the new ebuild in portage, but it doesn't work.

It seems that the inheritance of the "mono" eclass was not applied togheter with
the rest of the .ebuild patch.
That eclass is needed or otherwise the mono chsarp compiler will try to write
data outside the sandbox during build.
Comment 7 SpanKY gentoo-dev 2005-08-12 16:11:48 UTC
oops, sorry about that, fixed in cvs now