[Bug 270184] graphics/gstreamer1-plugins-gl: fetches source from git

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 13 Mar 2023 18:54:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270184

            Bug ID: 270184
           Summary: graphics/gstreamer1-plugins-gl: fetches source from
                    git
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: multimedia@FreeBSD.org
          Reporter: amdmi3@FreeBSD.org
             Flags: maintainer-feedback?(multimedia@FreeBSD.org)
          Assignee: multimedia@FreeBSD.org

In presence of `git` utility, gstreamer-plugins-gl fetches some sources via
git. Ports are not allowed to access network during the build, so this should
be fixed.

`make configure` output diff without and with `git`:

```diff
--- log 2023-03-13 21:49:46.789128000 +0300
+++ log.1       2023-03-13 21:50:20.811180000 +0300
@@ -35,6 +35,9 @@
 ===>   gstreamer1-plugins-gl-1.22.0 depends on shared library: libxml2.so -
found (/usr/local/lib/libxml2.so)
 ===>   gstreamer1-plugins-gl-1.22.0 depends on shared library:
libgstreamer-1.0.so - found (/usr/local/lib/libgstreamer-1.0.so)
 ===>  Configuring for gstreamer1-plugins-gl-1.22.0
+Cloning into 'gl-headers'...
+Already on 'master'
+Your branch is up to date with 'origin/master'.
 The Meson build system
 Version: 1.0.1
 Source dir:
/usr/work/usr/ports/graphics/gstreamer1-plugins-gl/work/gst-plugins-base-1.22.0
@@ -138,9 +141,21 @@
 Program scripts/meson-pkg-config-file-fixup.py found: YES
(/usr/work/usr/ports/graphics/gstreamer1-plugins-gl/work/gst-plugins-base-1.22.0/scripts/meson-pkg-config-file-fixup.py)
 Program python3 found: YES (/usr/local/bin/python3.11)
 Looking for a fallback subproject for the dependency (anonymous)
-Git program not found, cannot download gl-headers.wrap via git.
-Subproject  gl-headers is buildable: NO (disabling)
-Dependency (anonymous) from subproject gl-headers found: NO (subproject failed
to configure)
+
+Executing subproject gl-headers 
+
+gl-headers| Project name: gl-headers
+gl-headers| Project version: 2019.1.0
+gl-headers| C compiler for the host machine: cc (clang 13.0.0 "FreeBSD clang
version 13.0.0 (git@github.com:llvm/llvm-project.git
llvmorg-13.0.0-0-gd7b669b3a303)")
+gl-headers| C linker for the host machine: cc ld.lld 13.0.0
+gl-headers| Program python3 found: YES (/usr/local/bin/python3.11)
+gl-headers| Has header "KHR/khrplatform.h" : YES
+gl-headers| Has header "GL/wglext.h" : NO
+gl-headers| Has header "GL/glext.h" : YES
+gl-headers| Build targets in project: 0
+gl-headers| Subproject gl-headers finished.
+
+Dependency (anonymous) from subproject subprojects/gl-headers found: YES
2019.1.0
 Run-time dependency opengl found: YES 4.5
 Run-time dependency glx found: YES 1.4
 Run-time dependency glesv2 found: YES 3.2
@@ -219,8 +234,7 @@
     Plugins           : opengl

   Subprojects
-    gl-headers        : NO
-                        Git program not found, cannot download gl-headers.wrap
via git.
+    gl-headers        : YES

   User defined options
     buildtype         : release

```

-- 
You are receiving this mail because:
You are the assignee for the bug.