[gnome-control-center/alatiera/flatpak-build: 1/4] flatpak: update samba




commit 23493396ab1aae49d6da3c4b9dc324555d49cba2
Author: Jordan Petridis <jordan centricular com>
Date:   Tue Jul 20 07:49:36 2021 +0300

    flatpak: update samba
    
    Samba 4.12 complains loudly about a perl yapp driver. The driver
    itsef builds fine, but then samba still fails to find it during
    configure. Building our own perl was the only way I found out to
    get rid of that, I guess the system perl doesn't look on /app
    for yapp where the one we bundle does by defaul given its prefix.

 build-aux/flatpak/org.gnome.Settings.json | 43 +++++++++++++++++++++++++++++--
 1 file changed, 41 insertions(+), 2 deletions(-)
---
diff --git a/build-aux/flatpak/org.gnome.Settings.json b/build-aux/flatpak/org.gnome.Settings.json
index 2aaef99b1..ed702420c 100644
--- a/build-aux/flatpak/org.gnome.Settings.json
+++ b/build-aux/flatpak/org.gnome.Settings.json
@@ -536,6 +536,45 @@
                 }
             ]
         },
+        {
+            "name": "perl",
+            "no-autogen": true,
+            "config-opts": [
+                "-des"
+            ],
+           "post-install": [
+               "find $FLATPAK_DEST/lib/perl5/5.32.1/x86_64-linux/auto/ -name \\*.so -exec chmod u+w {} +"
+           ],
+            "sources": [
+                {
+                    "type": "archive",
+                    "url": "https://www.cpan.org/src/5.0/perl-5.32.1.tar.gz";,
+                    "sha256": "03b693901cd8ae807231b1787798cf1f2e0b8a56218d07b7da44f784a7caeb2c"
+                },
+               {
+                   "type": "script",
+                   "dest-filename": "configure",
+                   "commands": [
+                       "exec ./configure.gnu $@"
+                   ]
+               }
+            ]
+        },
+        {
+            "name": "yapp-driver",
+            "buildsystem": "simple",
+            "build-commands": [
+                "perl Makefile.PL PREFIX=/app",
+                "make install -j1"
+            ],
+            "sources": [
+                {
+                    "type": "archive",
+                    "url": "https://cpan.metacpan.org/authors/id/W/WB/WBRASWELL/Parse-Yapp-1.21.tar.gz";,
+                    "sha256": "3810e998308fba2e0f4f26043035032b027ce51ce5c8a52a8b8e340ca65f13e5"
+                }
+            ]
+        },
         {
             "name" : "samba",
             "buildsystem" : "autotools",
@@ -547,8 +586,8 @@
             "sources" : [
                 {
                     "type" : "archive",
-                    "url" : "https://download.samba.org/pub/samba/stable/samba-4.11.0.tar.gz";,
-                    "sha256" : "6adf1c74afff1f3f7e14060cc5a36111a6721d644ea51ed1b22da46051e48e9c"
+                    "url" : "https://download.samba.org/pub/samba/stable/samba-4.14.5.tar.gz";,
+                    "sha256" : "bb6ef5d2f16b85288d823578abc453d9a80514c42e5a2ea2c4e3c60dc42335c3"
                 }
             ]
         },


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