Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • gtk gtk
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 1.6k
    • Issues 1.6k
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 240
    • Merge requests 240
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • gtkgtk
  • Merge requests
  • !3265

Fix post-install.py on Windows without pkg-config

  • Review changes

  • Download
  • Patches
  • Plain diff
Closed Aleksandr Mezin requested to merge amezin/gtk:fix-postinstall-no-pkgconfig into master Mar 06, 2021
  • Overview 7
  • Commits 2
  • Pipelines 4
  • Changes 1
  1. Prepend gtk_bindir to PATH. If GLib is built as a subproject, this will allow running glib-compile-schemas and gio-querymodules without full path.

  2. Don't fail when pkg-config is not available. Just try to run everything without full paths (as if pkg-config variables were unavailable).

Also use argparse to parse command line arguments.

Fixes #3723 (closed)

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fix-postinstall-no-pkgconfig