Skip to content

build: enable building for Fedora40 and Ubuntu 24.04#1815

Merged
BareosBot merged 26 commits intobareos:masterfrom
pstorz:dev/pstorz/master/fedora40-ubuntu24
Jul 22, 2024
Merged

build: enable building for Fedora40 and Ubuntu 24.04#1815
BareosBot merged 26 commits intobareos:masterfrom
pstorz:dev/pstorz/master/fedora40-ubuntu24

Conversation

@pstorz
Copy link
Member

@pstorz pstorz commented May 14, 2024

Thank you for contributing to the Bareos Project!

Please check

  • Short description and the purpose of this PR is present above this paragraph
  • Your name is present in the AUTHORS file (optional)

If you have any questions or problems, please give a comment in the PR.

Helpful documentation and best practices

Checklist for the reviewer of the PR (will be processed by the Bareos team)

Make sure you check/merge the PR using devtools/pr-tool to have some simple automated checks run and a proper changelog record added.

General
  • Is the PR title usable as CHANGELOG entry?
  • Purpose of the PR is understood
  • Commit descriptions are understandable and well formatted
  • Required backport PRs have been created
Source code quality
  • Source code changes are understandable
  • Variable and function names are meaningful
  • Code comments are correct (logically and spelling)
  • Required documentation changes are present and part of the PR

This was linked to issues May 16, 2024
@pstorz pstorz force-pushed the dev/pstorz/master/fedora40-ubuntu24 branch from 1957240 to 6f21422 Compare May 21, 2024 09:58
@pstorz pstorz requested a review from arogge May 21, 2024 11:27
@pstorz pstorz force-pushed the dev/pstorz/master/fedora40-ubuntu24 branch from 354bf6b to 197747a Compare May 22, 2024 17:28
Copy link
Member

@arogge arogge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have a few remarks concerning the CPM integration. But overall this looks good!

Copy link
Member

@arogge arogge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move CPMAddPackage() calls into its own file and include in top-level CMakeLists.txt

@arogge arogge modified the milestones: 23.0.3, 24.0.0 Jun 25, 2024
@arogge
Copy link
Member

arogge commented Jun 25, 2024

Relates to #1850

@pstorz pstorz force-pushed the dev/pstorz/master/fedora40-ubuntu24 branch from 0c2622f to 6170046 Compare June 27, 2024 06:24
@sebsura sebsura force-pushed the dev/pstorz/master/fedora40-ubuntu24 branch from 2b85dee to 58c595e Compare July 2, 2024 13:50
@pstorz pstorz requested a review from arogge July 8, 2024 07:54
@arogge arogge assigned arogge and unassigned pstorz Jul 9, 2024
@arogge arogge force-pushed the dev/pstorz/master/fedora40-ubuntu24 branch 3 times, most recently from e181e3a to 012eb66 Compare July 19, 2024 10:22
@arogge arogge force-pushed the dev/pstorz/master/fedora40-ubuntu24 branch from 012eb66 to 356395a Compare July 19, 2024 12:46
arogge and others added 15 commits July 19, 2024 23:43
Co-authored-by: Andreas Rogge <andreas.rogge@bareos.com>
All packages handled by CPM should be moved here.

Also searches for PS as before,  but sets it as REQUIRD for the
systemtests.
as the file declares the CPM packages that Bareos is going to use, this
should make things a bit easier to find.
just to make sure everything is built with PIC enabled, we move the
flag to the very top of CMakeLists.txt
* allow disabling of CPM_USE_LOCAL_PACKAGES
* improve warning message for FETCHCONTENT_FULLY_DISCONNECTED
* silence warning if both FETCHCONTENT_FULLY_DISCONNECTED and
  CPM_LOCAL_PACKAGES_ONLY is set
This reverts commit 26b86b7.

If you want to ignore something, just add it to your per-user gitignore
file in `$XDG_CONFIG_HOME/git/ignore`.
@arogge arogge force-pushed the dev/pstorz/master/fedora40-ubuntu24 branch from cbacb4f to a68b9a6 Compare July 19, 2024 21:44
Copy link
Member

@arogge arogge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This got a lot bigger than anticipated. But I think it is finally ready to be merged.

@BareosBot BareosBot merged commit 09bb1a1 into bareos:master Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build for Ubuntu 24.04 LTS Build for Fedora 40

4 participants