After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 783198 - Some problems with Windows build, try harder to find right python3 executable
Some problems with Windows build, try harder to find right python3 executable
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-build
git master
Other Windows
: Normal normal
: 1.13.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-05-29 14:14 UTC by Matej Knopp
Modified: 2017-07-07 11:30 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch for glib-mkenums (1.72 KB, patch)
2017-05-29 14:15 UTC, Matej Knopp
committed Details | Review
Patch for gst-plugins-base meson.build (853 bytes, patch)
2017-05-29 14:16 UTC, Matej Knopp
needs-work Details | Review
Patch for gst-plugins-good meson.build (814 bytes, patch)
2017-05-29 14:16 UTC, Matej Knopp
needs-work Details | Review
Patch for gst-plugins-ugly meson.build (777 bytes, patch)
2017-05-29 14:17 UTC, Matej Knopp
needs-work Details | Review
Patch for gst-plugins-bad (1) (884 bytes, patch)
2017-05-29 14:18 UTC, Matej Knopp
needs-work Details | Review
Patch for gst-plugins-bad (2) (786 bytes, patch)
2017-05-29 14:18 UTC, Matej Knopp
needs-work Details | Review

Description Matej Knopp 2017-05-29 14:14:09 UTC
glib-mkenums python script is missing --fprod argument and fails to parse multiline comments so it fails on gstpad.h

other modules expect python3.exe, but some distribution of python3 use python.exe
Comment 1 Matej Knopp 2017-05-29 14:15:54 UTC
Created attachment 352778 [details] [review]
Patch for glib-mkenums
Comment 2 Matej Knopp 2017-05-29 14:16:25 UTC
Created attachment 352779 [details] [review]
Patch for gst-plugins-base meson.build
Comment 3 Matej Knopp 2017-05-29 14:16:51 UTC
Created attachment 352780 [details] [review]
Patch for gst-plugins-good meson.build
Comment 4 Matej Knopp 2017-05-29 14:17:21 UTC
Created attachment 352781 [details] [review]
Patch for gst-plugins-ugly meson.build
Comment 5 Matej Knopp 2017-05-29 14:18:03 UTC
Created attachment 352782 [details] [review]
Patch for gst-plugins-bad (1)
Comment 6 Matej Knopp 2017-05-29 14:18:26 UTC
Created attachment 352783 [details] [review]
Patch for gst-plugins-bad (2)
Comment 7 Tim-Philipp Müller 2017-05-29 14:25:45 UTC
Thanks.

The python bits should be done differently imho, using the new python3 module: http://mesonbuild.com/Python-3-module.html

So something like this probably:

  python = import('python3').find_python()

or somesuch.
Comment 8 Tim-Philipp Müller 2017-05-29 14:29:06 UTC
Comment on attachment 352782 [details] [review]
Patch for gst-plugins-bad (1)

Can this should just re-use the python var from the top-level meson.build ?
Comment 9 Tim-Philipp Müller 2017-05-29 15:04:51 UTC
Comment on attachment 352778 [details] [review]
Patch for glib-mkenums

Pushed the patch split up into two :)

commit 2aa486b5c932a84691ca099d4c4afab7cd1e2b71
Author: Matej Knopp <matej.knopp@gmail.com>
Date:   Sun May 28 22:29:20 2017 +0200

    glib-mkenums: add back missing --fprod option
    
    ... in glib-mkenums python port.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=779332
    https://bugzilla.gnome.org/show_bug.cgi?id=783198

commit 1eaf57bb3b3f36f6912427f58a3e566fd95722ce
Author: Matej Knopp <matej.knopp@gmail.com>
Date:   Sun May 28 22:29:20 2017 +0200

    glib-mkenums: Fix parsing of multiline comments
    
    ... in glib-mkenums python port.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=779332
    https://bugzilla.gnome.org/show_bug.cgi?id=783198
Comment 10 Tim-Philipp Müller 2017-06-01 15:50:54 UTC
Matej, were you planning on updating the patches or should I just fix it ?
Comment 11 Tim-Philipp Müller 2017-07-07 11:30:04 UTC
Fixed in master, hopefully.