Re: [gentoo-user] [OT] Ebuild with scons and sandbox

2005-08-16 Thread Zac Medico
Nagatoro wrote: Hi, First off, I'm sorry if this is the wrong place to ask! I'm trying to write an ebuild for linuxdcpp (a gtk port of DC++). This nice app uses scons and not make as the build tool. When I build it manually it works just fine, but when I try to build it with emerge (or

Re: [gentoo-user] [OT] Ebuild with scons and sandbox

2005-08-16 Thread Nagatoro
Zac Medico wrote: Maybe you can configure the build so that it won't write outside of the sandbox. If you post your ebuild then we might be able to help. Here it is: # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $

Re: [gentoo-user] [OT] Ebuild with scons and sandbox

2005-08-16 Thread Zac Medico
Nagatoro wrote: src_compile() { # Waring message borrowed from the enlightenment.eclass # by [EMAIL PROTECTED] eerror This is a LIVE CVS ebuild. eerror That means there are NO promises it will work. eerror If it fails to build, FIX THE CODE YOURSELF eerror before

Re: [gentoo-user] [OT] Ebuild with scons and sandbox

2005-08-16 Thread Nagatoro
Zac Medico wrote: If you run equery depends -a scons and read some of those ebuilds you'll see something like this: scons DESTDIR=${D} See the explanation of ${D} in the ebuild(5) manpage. That helps keep you inside the sandbox. Thanks for the tip. It led me to a way off getting the paths

Re: [gentoo-user] [OT] Ebuild with scons and sandbox

2005-08-16 Thread Zac Medico
Nagatoro wrote: The problem now is that gtk-config and glib-config always returns the 1.x version and not the 2.x version I need. I'm not sure about that. Have you searched to see how it's done with other gtk/glib dependent ebuilds? For quick questions, if you don't make too much