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

docs: fix building with meson 0.61.1

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open mikhailnov requested to merge mikhailnov/polkit:fix-meson-0.61 into master Jan 25, 2022
  • Overview 5
  • Commits 1
  • Pipelines 1
  • Changes 2

I got the following errors when trying to build with meson 0.61.1: [1] docs/polkit/meson.build:18:6: ERROR: gnome.gtkdoc keyword argument 'gobject_typesfile' was of type array[File] but should have been array[str] [2] docs/polkit/meson.build:18:6: ERROR: gnome.gtkdoc keyword argument 'html_assets' was of type array[File] but should have been array[str]

Writing polkit-1.types explicitly because there is only one such file. Moved html_images into another file because this variable is used only there.

I had to prefix image paths with "../" because otherwise I got: [3] No such file or directory: '/tmp/abf/rpmbuild/BUILD/polkit-0.119/docs/polkit/polkit-architecture.png'

It is a quick fix that I had to make just to build polkit with a fix of CVE-2021-4034 applied, please fix meson in a better way if needed.

Signed-off-by: Mikhail Novosyolov m.novosyolov@rosalinux.ru

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: fix-meson-0.61