Bug 270184 - graphics/gstreamer1-plugins-gl: fetches source from git
Summary: graphics/gstreamer1-plugins-gl: fetches source from git
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-multimedia (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-13 18:54 UTC by Dmitry Marakasov
Modified: 2023-03-13 18:54 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (multimedia)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Marakasov freebsd_committer freebsd_triage 2023-03-13 18:54:49 UTC
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

```