Bug 2242754 - Enable SpaceNav support on OpenSCAD
Summary: Enable SpaceNav support on OpenSCAD
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: openscad
Version: 37
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Miro Hrončok
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-10-08 18:45 UTC by Giampiero Gabbiani
Modified: 2023-11-03 18:33 UTC (History)
1 user (show)

Fixed In Version: openscad-2021.01-18.fc40 openscad-2021.01-18.fc37 openscad-2021.01-18.fc38 openscad-2021.01-18.fc39
Clone Of:
Environment:
Last Closed: 2023-10-18 01:28:33 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Giampiero Gabbiani 2023-10-08 18:45:42 UTC
Hi,

OpenSCAD supports the SpaceNav open source driver for 3Dconnexion devices. Fedora supports and provide packages for both spacenavd (the daemon driver) and spnavcfg (configuration tool). Unfortunately the OpenSCAD package provided is compiled without support for the above driver (option ENABLE_SPNAV in the CMakeLists.txt source file), as such 3Dconnexion devices are not unusable unless recompiling OpenSCAD from sources with ENABLE_SPNAV set to "ON".

Reproducible: Always

Steps to Reproduce:
1.install and start spacenavd (free 3Dconnexion driver daemon), install spnavcfg package (configuration program)
2.attach a 3Dconnexion device to the PC (this is an optional step, the result can be checked just with the daemon installed and running)
3.start OpenSCAD and follow Edit --> Preferences --> Axes

Actual Results:  
The SpaceNav radio button in the OpenSCAD preferences cannot be enabled, nor the eventual 3d mouse used with OpenSCAD. The baloon says that OpenSCAD has been compiled without support for SpaceNav.

Expected Results:  
The SpaceNav radio button should be editable and the eventual 3Dconnexion mouse devise usable

In the OpenSCAD sources, edit the CMakeLists.txt file and enable the ENABLE_SPNAV option after having installed in the build host the libspnav-devel package. Then rebuild the package.

Comment 2 Fedora Update System 2023-10-09 10:30:35 UTC
FEDORA-2023-29d2a6bd7a has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2023-29d2a6bd7a

Comment 3 Fedora Update System 2023-10-09 10:31:10 UTC
FEDORA-2023-29d2a6bd7a has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 4 Fedora Update System 2023-10-09 12:42:51 UTC
FEDORA-2023-d86f5283a3 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-d86f5283a3

Comment 5 Fedora Update System 2023-10-09 12:42:52 UTC
FEDORA-2023-26ec7226ad has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-26ec7226ad

Comment 6 Fedora Update System 2023-10-09 12:42:53 UTC
FEDORA-2023-38dffae6bb has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-38dffae6bb

Comment 7 Giampiero Gabbiani 2023-10-09 13:59:04 UTC
(In reply to Fedora Update System from comment #4)
> FEDORA-2023-d86f5283a3 has been submitted as an update to Fedora 37.
> https://bodhi.fedoraproject.org/updates/FEDORA-2023-d86f5283a3

Hi Miro, 

many thanks for the update, it works correctly!

Just one thing: in order to update openscad I had to manually remove openscad-MCAD since it requires openscad to be exactly == 2021.01-11.fc37. 
IMHO openscad-MCAD should either change the dependency to something weaker or be rebuilt accordingly exactly the new openscad version.

Below the output of the filed update attempt:

    athena packages # dnf update ./openscad-2021.01-18.fc37.x86_64.rpm 
    Ultima verifica della scadenza dei metadati: 1:13:37 fa il lun 9 ott 2023, 14:29:15.
    Dipendenze risolte.

     Problema: problem with installed package openscad-MCAD-2021.01-11.fc37.noarch
      - package openscad-MCAD-2021.01-11.fc37.noarch from @System requires openscad = 2021.01-11.fc37, but none of the providers can be installed
      - package openscad-MCAD-2021.01-11.fc37.noarch from fedora requires openscad = 2021.01-11.fc37, but none of the providers can be installed
      - cannot install both openscad-2021.01-18.fc37.x86_64 from @commandline and openscad-2021.01-11.fc37.x86_64 from @System
      - cannot install both openscad-2021.01-18.fc37.x86_64 from @commandline and openscad-2021.01-11.fc37.x86_64 from fedora
      - cannot install the best update candidate for package openscad-2021.01-11.fc37.x86_64
    ==============================================================================================================================
     Package                    Architecture             Version                             Repository                      Size
    ==============================================================================================================================
    Esclusione dei pacchetti con conflitti:
    (aggiungere '--best --allowerasing' alla linea di comando per forzarne l'aggiornamento):
     openscad                   x86_64                   2021.01-18.fc37                     @commandline                   2.9 M

    Riepilogo della transazione
    ==============================================================================================================================
    Ignorati  1 pacchetto

    Nessuna operazione da compiere.
    Fatto!

Best regards
Giampiero

Comment 8 Miro Hrončok 2023-10-09 16:24:08 UTC
openscad-MCAD is built from the same source and openscad-MCAD-2021.01-18.fc37.noarch is part of the same Bodhi upgrade. Perhaps it is a bit wasteful, but it works when the update is in the repository. If you downloaded it and are trying to install it from an RRPM file, you need to download and install both:

$ sudo dnf update https://kojipkgs.fedoraproject.org/packages/openscad/2021.01/18.fc37/x86_64/openscad-2021.01-18.fc37.x86_64.rpm https://kojipkgs.fedoraproject.org/packages/openscad/2021.01/18.fc37/noarch/openscad-MCAD-2021.01-18.fc37.noarch.rpm

Comment 9 Giampiero Gabbiani 2023-10-09 22:23:32 UTC
Hi Miro,

just tested and everything is fine.

Many thanks!
Giampiero

Comment 10 Miro Hrončok 2023-10-09 23:32:41 UTC
Awesome. You can also go to https://bodhi.fedoraproject.org/updates/FEDORA-2023-d86f5283a3 and provide karma (i.e. positive feedback, requires a Fedora Account), to possibly expedite the upgrade for other users as well (this is of course optional).

Comment 11 Fedora Update System 2023-10-10 01:48:54 UTC
FEDORA-2023-26ec7226ad has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-26ec7226ad`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-26ec7226ad

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2023-10-10 02:37:12 UTC
FEDORA-2023-d86f5283a3 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-d86f5283a3`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-d86f5283a3

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 13 Fedora Update System 2023-10-10 02:37:47 UTC
FEDORA-2023-38dffae6bb has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-38dffae6bb`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-38dffae6bb

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 14 Fedora Update System 2023-10-18 01:28:33 UTC
FEDORA-2023-d86f5283a3 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 15 Fedora Update System 2023-10-18 01:46:18 UTC
FEDORA-2023-38dffae6bb has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 16 Fedora Update System 2023-11-03 18:33:32 UTC
FEDORA-2023-26ec7226ad has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.