Re: [gtk-osx-users] Installation root path.
- From: Pascal <p p14 orange fr>
- To: John Ralls <jralls ceridwen us>, gtk-osx-users-list gnome org
- Subject: Re: [gtk-osx-users] Installation root path.
- Date: Sun, 17 Aug 2014 22:11:35 +0200
Thanks John, I did the following changes with success:
$ diff -u .jhbuildrc-custom.0 .jhbuildrc-custom
--- .jhbuildrc-custom.0 2014-08-17 09:56:39.000000000 +0200
+++ .jhbuildrc-custom 2014-08-17 10:27:00.000000000 +0200
@@ -28,6 +28,10 @@
# checkoutroot = os.path.expanduser("~/Source/gtk-fw")
# prefix = "/opt/gtk-fw"
pass
+_root = os.path.expanduser("/usr/local")
+checkoutroot = os.path.join(_root, "src-gtk-osx")
+prefix = os.path.join(_root, "xnadalib-2014")
+
# Do note, though, that jhbuildrc-gtk-osx also uses $JHB to find
# another customization file that is loaded after this one. You can,
# of course, define your own environment variables for passing in
@@ -54,7 +58,7 @@
# and using python as part of jhbuild. If not set, the script will use
# the system python when building on 10.5 or newer only.
#
-# _gtk_osx_use_jhbuild_python = True
+_gtk_osx_use_jhbuild_python = True
# In addition, you can override _exec_prefix (used to set $M4 and
@@ -168,6 +172,9 @@
# Set an environment variable:
#
# os.environ["CC"] = "/usr/bin/gcc-4.0"
-
+environ_prepend('CFLAGS', "-g -O0 -ggdb3")
+environ_prepend('CXXFLAGS', "-g -O0 -ggdb3")
+environ_prepend('OBJCFLAGS', "-g -O0 -ggdb3")
+environ_append('LDFLAGS', "-Wl,-no_pie")
# And more...
BTW, the "_gtk_osx_use_jhbuild_python = True” won’t have built Python automatically, I had to do ”jhbuild
build python”.
Regards, Pascal.
http://blady.pagesperso-orange.fr
Le 16 août 2014 à 17:40, John Ralls <jralls ceridwen us> a écrit :
On Aug 16, 2014, at 1:17 AM, Pascal <p p14 orange fr> wrote:
Hello,
is there a way to get installation of gtk-osx via jhbuild in an other directory than ~/gtk?
Fisrt, I want to build it in /usr/local and after I want to add other libs and put all in an archive to
make it available on the net.
Yes, as explained in the jhbuild documentation:
https://developer.gnome.org/jhbuild/unstable/config-reference.html.en, see "prefix". Set it in
.jhbuldrc-custom before calling setup-sdk().
Regards,
John Ralls
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]