https://bugs.kde.org/show_bug.cgi?id=472917

            Bug ID: 472917
           Summary: Add ability to ignore individual module outside of
                    module-set in config
    Classification: Developer tools
           Product: kdesrc-build
           Version: Git
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: project metadata
          Assignee: mp...@kde.org
          Reporter: ash...@linuxcomp.ru
  Target Milestone: ---

The gpgme module fails to build currently. I can skip it with command line
option `--ignore-modules gpgme`. But I want to set this choice to the config,
so I do not need to write it each time.

There is `ignore-modules` option in
[documentation](https://docs.kde.org/trunk5/en/kdesrc-build/kdesrc-build/conf-options-table.html#ignore-modules).
But it can only be used in `module-set` sections.

And the `gpgme` module is not in any module set.
It is defined in `~/kde/src/kdesrc-build/custom-qt6-libs-build-include`:
```
# qgpgme is part of gpgme...
module gpgme
    repository https://dev.gnupg.org/source/gpgme.git
    branch master
    # NOTE: you need to run ./autogen.sh before kdesrc-build runs configure.
    # Maybe we can ask kdesrc-build do to that?
    configure-flags --enable-maintainer-mode --enable-languages=cpp,qt6
end module
```

As a workaround, I can comment these lines.

But it would be normal to be able to configure your `kdesrc-buildrc` without
needing to edit the `custom-qt6-libs-build-include`.

Probably something like this:
```kdesrc-buildrc
global
...
end global
...
options global
    ignore-modules gpgme
end options
```

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to