Commit Graph

67 Commits

Author SHA1 Message Date
FilippoR
9cf380810a 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
9d232222df Addon Manager: Add defusedxml dependency 2025-09-30 19:59:12 -03:00
FilippoR
c951255a6c fedora rpm packaging: use standard macro to package sources with submodules (#20953) 2025-05-13 22:03:28 -03:00
ljo
afe23a432c 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
27ebc68a11 CMake: Modernize build files using outdated Python variables. 2025-02-16 10:21:26 -06:00
Chris Hennes
c35693fd8a 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
c2cfc2f8cc 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
16cf0e0689 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
d51d2f674f Remove code related to qtxmlpatterns (#11755) 2024-01-08 13:49:38 -03:00
luzpaz
2fe19267df Update Fedora COPR freecad.spec from master to main branch
Issue #11619
2023-12-24 10:37:05 -03:00
DeflateAwning
8de6db3e97 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
fca9830c2a COPR - add MatGui Material plugins 2023-10-02 11:17:14 +02:00
Przemo Firszt
a03de9c267 COPR - add yaml-cpp-devel 2023-10-02 11:17:14 +02:00
Alexander Wilms
b04fa5e779 Use new metainfo file name in RPM .spec 2023-09-15 13:17:51 -04:00
Przemo Firszt
efa8e02235 COPR - fix nightlies 2023-09-10 18:20:36 +02:00
Przemo Firszt
f23ceb9c2a 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
9b562a4e0a 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]
129d5882a7 ("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
3b6dbeb27e 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
e9b87b54fc [COPR] Add flatmesh to plugins 2023-07-14 22:24:07 +02:00
Przemo Firszt
5b075a9938 [COPR] Add BuildRequires: qqc2-desktop-style
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2023-05-24 22:44:37 +02:00
Przemo Firszt
8967bbcd03 [COPR] Remove Raytracing
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2023-05-04 21:43:05 +01:00
Przemo Firszt
8272355abc [COPR] Restore dynamic release numbering
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2023-05-03 19:16:27 +02:00
luzpaz
129d5882a7 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
986a0d61eb [COPR] Fix broken builds
Fixes by mr-milky, edited by PrzemoF
2023-04-19 17:38:14 +02:00
Przemo Firszt
bcaeecb6b8 [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
23af228b87 Fix various indentation issues (tabs->spaces) 2023-01-23 16:59:28 +01:00
luzpaz
729685316e Fix trailing whitespace, typos, headers
Fix trailing whitespace, typos, and header uniformity.
2023-01-23 00:34:37 +01:00
Przemo Firszt
1189be75d0 [COPR] fedora: force built-in zipios, disable test 2022-12-08 10:17:52 +01:00
Przemo Firszt
1bb9699c9a Update fedora spec to v0.21
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2022-07-14 17:17:50 +02:00
Przemo Firszt
fb60c863ba [COPR] Remove CONTRIBUTORS file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2022-05-01 11:25:54 +01:00
Przemo Firszt
cac8454bd4 [COPR] remove q files
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2022-04-22 14:37:24 +01:00
Przemo Firszt
4d395f85bb [packaging] Fix COPR building system
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2022-01-31 16:48:41 +01:00
Przemo Firszt
d69401107b [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
9369350c65 [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
9153079756 [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
8f8a0c7e35 [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
4b1c62e8c9 [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
d3dfeed9a6 Add %{?dist} to Releace
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2021-06-26 13:28:55 +01:00
Przemo Firszt
efa19683ae Add missing files to fedora.spec
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2021-03-25 18:20:10 +01:00
Przemo Firszt
528f0cbdd6 Fix fedora COPR builds
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2020-12-11 13:20:34 +01:00
Przemo Firszt
361f56dddd 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
9e619ed55e [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
0460279ce4 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
221f07be98 [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
27e01dd2fc [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
f1a2063a14 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
8fbfeffe13 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
b3e42d103d [skip ci] fix follow-up typos 2020-03-06 14:50:35 +01:00
Przemo Firszt
691085239a 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
64e7cd2d95 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