Commit Graph

67 Commits

Author SHA1 Message Date
FilippoR
d92c8fbfa3 Use packit to build rpm and add it as check on pull request (#21063)
* Update spec file

use custom macro to package the source file

reformat freecad.spec

add script for build from source archive

use bcond macro

use standard builddir and don't delete it to fast local rebuild

configure cmake correctly to avoid moving file later

add tests

remove python bytecompile is default

build in RelWithDebInfo to generate correctly the debuginfo package (debug info will be stripped from standard package and a debuginfo package will be generated

export dev package for ondselsolver

export libondselsolver

use new macro for filtering requires provides

simplify regexp.
remove delete unused source
enable gui tests
other fix

Disabile gui test to avoid timeout

add timeout to tests

remove rpkg macro for archive extraction

refactor prepare for packit

small fix

Update package/fedora/freecad.spec

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>

small fix

change packit configuration

fix format

fix packit

/packit build

authomatic build on commit

remove libkdtree++-devel missing in rawhide

* add packit configuration

escape changelog for spec file

add new build on release

simplify configuration to use only packit
remove script used to have only a spec file and build with 3 system
rpkg
custom bash script
packit

* add tests in test-farm

add test that read build time tests result

use default build type for pr build and always print buiild time tests result

fix and disable option without bundled_gtest

Update package/fedora/freecad.spec

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>

Update package/fedora/freecad.spec

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>

* add github action

Update fedora-daily.yml

Potential fix for code scanning alert no. 203: Workflow does not contain permissions

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

* Update spec file

use custom macro to package the source file

reformat freecad.spec

add script for build from source archive

use bcond macro

use standard builddir and don't delete it to fast local rebuild

configure cmake correctly to avoid moving file later

add tests

remove python bytecompile is default

build in RelWithDebInfo to generate correctly the debuginfo package (debug info will be stripped from standard package and a debuginfo package will be generated

export dev package for ondselsolver

export libondselsolver

use new macro for filtering requires provides

simplify regexp.
remove delete unused source
enable gui tests
other fix

Disabile gui test to avoid timeout

add timeout to tests

remove rpkg macro for archive extraction

refactor prepare for packit

small fix

Update package/fedora/freecad.spec

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>

small fix

change packit configuration

fix format

fix packit

/packit build

authomatic build on commit

remove libkdtree++-devel missing in rawhide

* add packit configuration

escape changelog for spec file

add new build on release

simplify configuration to use only packit
remove script used to have only a spec file and build with 3 system
rpkg
custom bash script
packit

* add tests in test-farm

add test that read build time tests result

use default build type for pr build and always print buiild time tests result

fix and disable option without bundled_gtest

Update package/fedora/freecad.spec

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>

Update package/fedora/freecad.spec

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>

* add github action

Update fedora-daily.yml

Potential fix for code scanning alert no. 203: Workflow does not contain permissions

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

* tentative fix test

* add verbose failed tests

* fix ctest

* Remove error file if 2 time is successful

* Update plan.fmf add IfcOpenShell-python3

* Update .packit.yaml

Update freecad.spec

Update plan.fmf

Update .packit.yaml

Update plan.fmf

* Update freecad.spec

* restore version

* add rpm cmake preset

* update tests

* add qt6-assistant deps

* use xvfb-run for QuantitySpinBox test

* fix ctest command

* clean

* restore Addon Manager: Add defusedxml dependency

---------

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-10-27 12:06:38 -05:00
Chris Hennes
5e2fd1c496 Addon Manager: Add defusedxml dependency 2025-09-30 19:59:12 -03:00
FilippoR
670eeca2a9 fedora rpm packaging: use standard macro to package sources with submodules (#20953) 2025-05-13 22:03:28 -03:00
ljo
b170b8e27c Fix RPM packaging and add support for building with Qt6 and PySide6 for Fedora 40+ (#19565) 2025-03-19 03:31:21 +00:00
Joao Matos
aace8f7bee CMake: Modernize build files using outdated Python variables. 2025-02-16 10:21:26 -06:00
Chris Hennes
bd96ddef8a Web: Remove GUI
Web no longer provides a user-visible browser, but only a simple server for remote interaction with FreeCAD. Dependency on QtWebWengine has been removed.
2024-04-21 22:27:50 -05:00
Priit Laes
8522dad346 fedora: Drop Fedora 34 support
Fedora 34 upstream support stopped 07.06.2022, so no point of having
support for it in our build scripts either.
2024-03-20 15:31:17 +02:00
Priit Laes
948cd7d9de fedora: Remove unneeded dos2unix dependency
Now that the source of the issue is fixed (previous commit), remove
the workaround.
2024-03-20 15:29:39 +02:00
Alexander Neumann
c144160331 Remove code related to qtxmlpatterns (#11755) 2024-01-08 13:49:38 -03:00
luzpaz
a146977198 Update Fedora COPR freecad.spec from master to main branch
Issue #11619
2023-12-24 10:37:05 -03:00
DeflateAwning
1e3179e9bc Find and replace http://freecad.org to https://freecad.org
Find and replace:
http:\/\/(.{0,10})freecad
https://$1freecad
Done in all remaining files (after doing it in SVGs in the last commit)
2023-10-29 22:39:22 -06:00
Przemo Firszt
6080bf2451 COPR - add MatGui Material plugins 2023-10-02 11:17:14 +02:00
Przemo Firszt
03c094c215 COPR - add yaml-cpp-devel 2023-10-02 11:17:14 +02:00
Alexander Wilms
974a75be04 Use new metainfo file name in RPM .spec 2023-09-15 13:17:51 -04:00
Przemo Firszt
8f9937e5e3 COPR - fix nightlies 2023-09-10 18:20:36 +02:00
Przemo Firszt
75e2f02afb i[COPR] bump version of nightlies to pre 0.22
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2023-08-31 22:48:02 +02:00
Chris Mayo
708eb477de Finish renaming desktop filename to org.freecad.FreeCAD
The QGuiApplication::setDesktopFileName() call was changed in [1] but
the desktop file and other files that reference it were not.

As shown by Looking Glass [2] on X11 updating these files is still
not enough for GNOME to associate the process with the desktop file,
a StartupWMClass entry is added to the desktop file to fix this.

[1]
87b0935dff ("Migrate domain name from freecadweb to freecad (#9352)", 2023-04-24)

[2]
https://blogs.gnome.org/mclasen/2016/11/15/help-my-app-icon-is-missing/
2023-08-08 19:25:14 +01:00
Adrián Insaurralde Avalos
1afcd64ebf Rename cmake flag for unit tests to ENABLE_DEVELOPER_TESTS
To differentiate from the previously existing BUILD_TEST that controls building the Test WB
2023-08-02 00:49:29 +00:00
Przemo Firszt
04a463e564 [COPR] Add flatmesh to plugins 2023-07-14 22:24:07 +02:00
Przemo Firszt
896938e21f [COPR] Add BuildRequires: qqc2-desktop-style
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2023-05-24 22:44:37 +02:00
Przemo Firszt
215465ff2e [COPR] Remove Raytracing
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2023-05-04 21:43:05 +01:00
Przemo Firszt
6b5eef712e [COPR] Restore dynamic release numbering
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2023-05-03 19:16:27 +02:00
luzpaz
38a01939e0 Migrate domain name from freecadweb to freecad (#9352)
* Migrate domain name from freecadweb to freecad
* Migrate src/Mod/Material files
* Migrate Stylesheet related files
* Migrate *.svg files
* Migrate miscellaneous files
* Migrate some build files
* Migrate recently added TD AR_IRAM template files

Closes #6415
2023-04-24 15:19:20 -05:00
Przemo Firszt
001656a132 [COPR] Fix broken builds
Fixes by mr-milky, edited by PrzemoF
2023-04-19 17:38:14 +02:00
Przemo Firszt
823b1f1b0f [COPR] Fix COPR build
As advised by mr-milky

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2023-03-07 10:40:08 +01:00
luzpaz
5d3f56989d Fix various indentation issues (tabs->spaces) 2023-01-23 16:59:28 +01:00
luzpaz
79e150a81b Fix trailing whitespace, typos, headers
Fix trailing whitespace, typos, and header uniformity.
2023-01-23 00:34:37 +01:00
Przemo Firszt
0e981461c3 [COPR] fedora: force built-in zipios, disable test 2022-12-08 10:17:52 +01:00
Przemo Firszt
1e2b7e5a2b Update fedora spec to v0.21
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2022-07-14 17:17:50 +02:00
Przemo Firszt
b4979fb480 [COPR] Remove CONTRIBUTORS file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2022-05-01 11:25:54 +01:00
Przemo Firszt
8df2f885e1 [COPR] remove q files
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2022-04-22 14:37:24 +01:00
Przemo Firszt
00319582e3 [packaging] Fix COPR building system
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2022-01-31 16:48:41 +01:00
Przemo Firszt
f946f9b1da [packaging] Add libE57Format to fedora spec file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2022-01-31 16:48:41 +01:00
Przemo Firszt
b6e432ade1 [COPR] Bump version in spec file to 0.20pre
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2021-09-01 17:10:57 +01:00
Przemo Firszt
02769019bc [COPR] Restore dist in Release
This is to fix:
WARNING: No disttag found in prebuilt packages
INFO: Use --define DISTTAG to set proper dist. e. g. --define DISTTAG fc21.
ERROR: 'No disttag in package and no DISTTAG flag. Use --define DISTTAG to set proper dist e. g., --define DISTTAG=fc21.' (logs in /var/lib/copr-rpmbuild/workspace/workdir-wgba9jrq/.cache/fedora-review.log)

Also adding option to git_commint_no suppressing new line prevents
breaking line in Release tag.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2021-08-28 12:53:18 +01:00
Przemo Firszt
63ae900a22 [COPR] Exclude Inventor-devel for fedora above 34
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2021-08-25 20:32:30 +01:00
Przemo Firszt
0524539a03 [COPR] Fix FreeCAD spec as dist in no longer required
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2021-08-25 20:08:59 +01:00
Przemo Firszt
ee68b0df43 Add %{?dist} to Releace
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2021-06-26 13:28:55 +01:00
Przemo Firszt
241be51afa Add missing files to fedora.spec
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2021-03-25 18:20:10 +01:00
Przemo Firszt
9d67962458 Fix fedora COPR builds
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2020-12-11 13:20:34 +01:00
Przemo Firszt
2dbe62afe6 Fix COPR rawhide builds
Signed-off-by: Elliot Lee <elliot.c.lee@gmail.com>
Tested-by: Przemo Firszt <przemo@firszt.eu>
2020-08-06 11:27:13 +02:00
Przemo Firszt
0bb0946d05 [fedora.spec] Move to stage 3 of python bytecompilation
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2020-07-03 18:52:54 +02:00
Johan Heikkila
e67053df5f Coin3D version 4 is needed (same version as for python3-pivy). Fixes broken nightly builds on Fedora. 2020-06-17 12:06:52 +02:00
Przemo Firszt
b087f4f7d3 [fedora.spec] Add openmpi-devel to BuildRequires
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2020-05-28 22:06:05 +02:00
Przemo Firszt
3ccd7c56a0 [fedora.spec] Replace qt5-devel metapackage with direct package names
Metapackages are not supported on rawhide, so it ws breaking COPR
builds.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2020-04-27 11:30:13 +02:00
Przemo Firszt
a68f3a9f8a Remove conditionals for older fedora versions from freecad.spec
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2020-04-15 13:43:01 +02:00
Przemo Firszt
c0a73cf7f4 Switch freecad.spec from OCE to opencascade (OCCT)
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2020-04-15 13:43:01 +02:00
luz.paz
c8cb520887 [skip ci] fix follow-up typos 2020-03-06 14:50:35 +01:00
Przemo Firszt
b2e9bef612 Modify Version and Release in fedora spec
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2019-10-05 16:39:18 +02:00
Przemo Firszt
c01eca9b12 Exclude some packages from fedora 29 builds
Those packages don't exist in fedora 29:
pyside2-tools, python3-pyside2-devel, python3-shiboken2-devel

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2019-09-25 15:35:10 +02:00