[jhbuild] Add FreeBSD-specific things



commit 12a39d9e61f6b958ff1c79150321977ce53035f9
Author: Ting-Wei Lan <lantw src gnome org>
Date:   Wed Aug 27 20:49:50 2014 +0800

    Add FreeBSD-specific things
    
    https://bugzilla.gnome.org/show_bug.cgi?id=735517

 modulesets/gnome-apps-3.14.modules             |   19 ++++++++++++++++++-
 modulesets/gnome-suites-core-3.14.modules      |    9 +++++++++
 modulesets/gnome-suites-core-deps-3.14.modules |    9 +++++++++
 modulesets/gnome-sysdeps-3.14.modules          |    6 ++++++
 4 files changed, 42 insertions(+), 1 deletions(-)
---
diff --git a/modulesets/gnome-apps-3.14.modules b/modulesets/gnome-apps-3.14.modules
index ce85a79..7c8715d 100644
--- a/modulesets/gnome-apps-3.14.modules
+++ b/modulesets/gnome-apps-3.14.modules
@@ -44,6 +44,9 @@
     -->
 
   <autotools id="appstream-glib">
+    <if condition-set="freebsd">
+      <autogenargs value="LIBARCHIVE_CFLAGS=' ' LIBARCHIVE_LIBS='-larchive'"/>
+    </if>
     <branch repo="github.com" module="hughsie/appstream-glib.git" revision="0_2_X"/>
     <dependencies>
       <dep package="glib"/>
@@ -177,6 +180,9 @@
   </autotools>
 
   <autotools id="guile">
+    <if condition-set="freebsd">
+      <autogenargs value="BDW_GC_CFLAGS=' ' BDW_GC_LIBS='-lgc-threaded'"/>
+    </if>
     <pkg-config>guile-2.0.pc</pkg-config>
     <branch repo="ftp.gnu.org"
             module="guile/guile-2.0.11.tar.xz"
@@ -185,7 +191,12 @@
             size="4634060"/>
     <dependencies>
       <dep package="libunistring"/>
-      <dep package="gc"/>
+      <if condition-unset="freebsd">
+        <dep package="gc"/>
+      </if>
+      <if condition-set="freebsd">
+        <dep package="gc-threaded"/>
+      </if>
     </dependencies>
   </autotools>
 
@@ -214,6 +225,9 @@
  </autotools>
 
   <autotools id="libgda" autogenargs="--with-java=no --disable-tools">
+    <if condition-set="freebsd">
+      <autogenargs value="LIBCRYPTO_CFLAGS=' ' LIBCRYPTO_LIBS='-lcrypto' --with-bdb=/usr/local 
--with-bdb-libdir-name=lib/db5 --with-bdb-includedir-name=include/db5"/>
+    </if>
     <branch revision="LIBGDA_5.2"/>
     <dependencies>
       <dep package="glib"/>
@@ -277,6 +291,9 @@
   </autotools>
 
   <autotools id="spice-gtk" autogenargs="--disable-smartcard --enable-vala --enable-static">
+    <if condition-set="freebsd">
+      <autogenargs value="SSL_CFLAGS=' ' SSL_LIBS='-lssl'"/>
+    </if>
     <branch repo="spice"
             module="gtk/spice-gtk-0.25.tar.bz2"
             version="0.25"
diff --git a/modulesets/gnome-suites-core-3.14.modules b/modulesets/gnome-suites-core-3.14.modules
index 49da713..04bc523 100644
--- a/modulesets/gnome-suites-core-3.14.modules
+++ b/modulesets/gnome-suites-core-3.14.modules
@@ -69,6 +69,9 @@
     <!-- We uninstall the old copy before installing, because the our usage
          of DESTDIR and libtool's relinking interfere and cause camel providers
          to link against the install version of libcamel. -->
+    <if condition-set="freebsd">
+      <autogenargs value="DB_CFLAGS=-I/usr/local/include/db5 DB_LIBS=-ldb-5.3"/>
+    </if>
     <branch revision="evolution-data-server-3-12"/>
     <dependencies>
       <dep package="intltool"/>
@@ -379,6 +382,9 @@
   </autotools>
 
   <autotools id="glib-networking" autogenargs="--enable-installed-tests">
+    <if condition-set="freebsd">
+      <autogenargs value="--with-ca-certificates=/usr/local/share/certs/ca-root-nss.crt"/>
+    </if>
     <branch/>
     <dependencies>
       <dep package="glib"/>
@@ -825,6 +831,9 @@
   </autotools>
 
   <autotools id="yelp">
+    <if condition-set="freebsd">
+      <autogenargs value="YELP_LZMA_CFLAGS=' ' YELP_LZMA_LIBS='-llzma'"/>
+    </if>
     <branch/>
     <dependencies>
       <dep package="intltool"/>
diff --git a/modulesets/gnome-suites-core-deps-3.14.modules b/modulesets/gnome-suites-core-deps-3.14.modules
index eae7847..7ddc987 100644
--- a/modulesets/gnome-suites-core-deps-3.14.modules
+++ b/modulesets/gnome-suites-core-deps-3.14.modules
@@ -655,6 +655,9 @@
   </autotools>
 
   <autotools id="librest">
+    <if condition-set="freebsd">
+      <autogenargs value="--with-ca-certificates=/usr/local/share/certs/ca-root-nss.crt"/>
+    </if>
     <branch/>
     <dependencies>
       <dep package="glib"/>
@@ -1121,6 +1124,9 @@
   </autotools>
 
   <autotools id="p11-kit" supports-non-srcdir-builds="no">
+    <if condition-set="freebsd">
+      <autogenargs value="--with-trust-paths=/usr/local/share/certs/ca-root-nss.crt"/>
+    </if>
     <branch repo="p11-glue.freedesktop.org"
             module="p11-kit-0.20.3.tar.gz"
             version="0.20.3"
@@ -1129,6 +1135,9 @@
   </autotools>
 
   <autotools id="poppler" autogenargs="--enable-xpdf-headers --enable-poppler-glib" 
makeargs="POPPLER_GLIB_DISABLE_DEPRECATED=">
+    <if condition-set="freebsd">
+      <autogenargs value="CXXFLAGS=-std=c++11"/>
+    </if>
     <pkg-config>poppler-glib.pc</pkg-config>
     <branch repo="poppler.freedesktop.org"
             module="poppler-0.26.4.tar.xz"
diff --git a/modulesets/gnome-sysdeps-3.14.modules b/modulesets/gnome-sysdeps-3.14.modules
index 2c9cc44..406dd0b 100644
--- a/modulesets/gnome-sysdeps-3.14.modules
+++ b/modulesets/gnome-sysdeps-3.14.modules
@@ -175,6 +175,12 @@
     <branch repo="system"/>
   </systemmodule>
 
+  <!-- This module is only used on FreeBSD -->
+  <systemmodule id="gc-threaded">
+    <pkg-config>bdw-gc-threaded.pc</pkg-config>
+    <branch repo="system"/>
+  </systemmodule>
+
   <systemmodule id="gdb">
     <branch repo="system"/>
     <systemdependencies>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]