Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • xorgproto xorgproto
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 14
    • Issues 14
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 7
    • Merge requests 7
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • xorg
  • proto
  • xorgprotoxorgproto
  • Merge requests
  • !19

Merged
Created Aug 17, 2020 by orbea@orbeaContributor

meson: Use configure_file for pc files.

  • Overview 4
  • Commits 2
  • Changes 39

Meson's pkg.generate() is not suitable for header only libraries and using configure_file() allows for more fine tuned control. This also makes the meson and autotools builds more in sync where they both use the same .pc.in files.

Some inherent issues:

  • meson doesn't seem to support exec_prefix so this will just use prefix instead.
  • meson doesn't allow installing the includedir outside of the prefix.

Note my main goal is to make sure commit 91c1c8e1 also applies to the meson build. When asking in #mesonbuild @ freenode I was told to try using configure_file() instead.

Edited Aug 24, 2020 by orbea
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: pc