[gnome-control-center/wip/jimmac/nightly-app-icon: 10/13] flatpak: Fix the build of samba



commit 3f3384c42cb6a6f836fae2304de1d285171a8122
Author: Felipe Borges <felipeborges gnome org>
Date:   Tue Oct 8 18:08:22 2019 +0200

    flatpak: Fix the build of samba
    
    Since 4.10, Samba supports python3. Therefore we updated "Samba"
    here. That required us to bundle lmdb since it is a samba build
    dependency. See
    https://wiki.samba.org/index.php/Samba_4.10_Features_added/changed
    
    We also disable pam and json to speedup the build and require
    less bundled dependencies.

 build-aux/flatpak/org.gnome.Settings.json | 23 +++++++++++++++++++++--
 1 file changed, 21 insertions(+), 2 deletions(-)
---
diff --git a/build-aux/flatpak/org.gnome.Settings.json b/build-aux/flatpak/org.gnome.Settings.json
index a6ab6f0e6..dd9176580 100644
--- a/build-aux/flatpak/org.gnome.Settings.json
+++ b/build-aux/flatpak/org.gnome.Settings.json
@@ -492,14 +492,33 @@
                 }
             ]
         },
+        {
+            "name" : "lmdb",
+            "buildsystem" : "simple",
+            "build-commands" : [
+                "cd libraries/liblmdb/ && make prefix=/app install"
+            ],
+            "sources" : [
+                {
+                    "type" : "archive",
+                    "url" : "https://github.com/LMDB/lmdb/archive/LMDB_0.9.23.tar.gz";,
+                    "sha256" : "abf42e91f046787ed642d9eb21812a5c473f3ba5854124484d16eadbe0aa9c81"
+                }
+            ]
+        },
         {
             "name" : "samba",
             "buildsystem" : "autotools",
+            "config-opts" : [
+                "--without-json",
+                "--without-ad-dc",
+                "--without-pam"
+            ],
             "sources" : [
                 {
                     "type" : "archive",
-                    "url" : "https://download.samba.org/pub/samba/stable/samba-4.8.1.tar.gz";,
-                    "sha256" : "8ef7367507f16b7a5e2f6aed5bcdbd1143feca79aa2a07c9b21292b17d7f789d"
+                    "url" : "https://download.samba.org/pub/samba/stable/samba-4.11.0.tar.gz";,
+                    "sha256" : "6adf1c74afff1f3f7e14060cc5a36111a6721d644ea51ed1b22da46051e48e9c"
                 }
             ]
         },


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