SHA256
1
0
forked from pool/openscad
Files
openscad/openscad.spec

113 lines
3.5 KiB
RPMSpec
Raw Normal View History

#
# spec file for package openscad
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: openscad
Accepting request 886985 from home:Smar:branches:graphics - Update to 2021.1 release + Language Features * New Add function literals Add exponent function (e.g. 2^3) Add convexity parameter to resize() Add support for generic tail recursion Add $vpf for viewport field of view Add warnings for ranges with begin < end Add warnings for matrix structure problems * Changed Allow random seeds to stick between rands() calls Make comparison operators on mixed types return undef Track reason for values turning undef * Fixed Fix Range precision Fix empty geometry handling Fix search order for imported modules Improve internal handling of data values Improve performance of array concatenation Improve float accuracy of mirror matrix calculation Improve polygon and polyhedron warnings/errors + Program Features * GUI Add jump to source code from 3D preview Add Error-Log window for tracking errors and warnings Add window menu to allow keyboard access to all docked windows Enable default binary stl output, and ascii option Show message in console when caches are flushed Disable HTML rendering in console Enable color scheme for CGAL 2D render Simplified OpenCSG edge shader, with added smoothing New and updated translations: Chinese, Armenian, French, Russian, Polish, German * Editor Edit multiple files in tabs Switch tabs via Ctrl+Tab / Ctrl+Shift+Tab Modify numbers via mouse scroll (when holding ALT) Add auto-complete & call-tips for built-ins Add configurable code snippets Add (line) bookmarks Add jump to error Add support for line/block copy and move Add convenience context menu to tab header Open include<>/use<> files via inline link Fix search highlight for utf8 text Fix display of matches in search field Add Find/Find Next/Find Previous to editor context menu * Command line Support reading scripts from STDIN Support export to STDOUT Add multi-export on command line Add --animate command line option Add --export-format command line option Allow view-port variables in command-line mode Allow export to .ast, .csg, .echo and .term in preview mode Print statistics in cmdline mode as in GUI * General Add PDF export (single page only) Add support for line-cap and line-join in SVG import Add support stroke-linejoin in SVG import Change CGAL Union to join least complex geometries first Install start shortcut for all users on Windows Install icons with defined sizes (e.g. required by flathub) Switch to C++14 and allow usage of header-only CGAL Add support for lib3MF v2.0 API Update AppStream release info - Ran spec through spec-cleaner OBS-URL: https://build.opensuse.org/request/show/886985 OBS-URL: https://build.opensuse.org/package/show/graphics/openscad?expand=0&rev=36
2021-04-24 09:07:24 +00:00
Version: 2021.01
Release: 0
Summary: Programmers Solid 3D CAD Modeller
License: GPL-3.0-or-later
Group: Productivity/Graphics/CAD
URL: https://www.openscad.org/
Accepting request 711743 from home:StefanBruens:branches:graphics - Update to 2019.05 release + Language Features: * New modules assert() - stop script evaluation on failed constraints let() - scoped assignment * New functions ord() - convert from character to Unicode code point echo() assert() - stop script evaluation on failed constraints Type testing functions: is_undef(), is_list(), is_num(), is_bool(), is_string() * New special variable: $preview variable which is set to true in preview mode * List comprehension updates Added if/else condition Added each keyword Added C-style for loop Now allows looping over characters of a string * rotate_extrude(): Added angle parameter to * import() now supports SVG, 3MF and AMF * color() now supports hex color codes * Removed glide() and subdiv() which were never implemented + Program Features: * Customizer: Allow parametrizing design parameters with GUI customization * Support for using 3D-Mouse / Joystick / Gamepad input devices for controlling the 3D view * 3D Printing support: Purchase from a print service partner or print to Octoprint * New export file formats: SVG, 3MF, AMF * Quick-edit and preview of values using Alt-Arrows (Shift-Alt-Arrows on macOS) * Added --view cmd-line parameter * Play sound notification on render complete * Line numbers and filenames are now shown for many errors and warnings * Hardwarning preference: Stop on first warning * Hardwarning and assert now shows a stack trace * New warnings Module call parameterns don't match module declaration Argument value of of range Duplicate passed argument Children passed to module not accepting children Reference to inknown $special_variables Duplicate assigment * New translations: Ukrainian, Polish - Updated BuildRequires: - Drop glew-devel and some boost headers - Add libspnav for 3D mouse, Qt5Multimedia for notifications - Cleanup spec file, remove conditionals for Fedora (still targeting EOLed Qt4) - Drop upstream patches: openscad-git4fa5f0340a.patch openscad-git_c68684f9520d.patch OBS-URL: https://build.opensuse.org/request/show/711743 OBS-URL: https://build.opensuse.org/package/show/graphics/openscad?expand=0&rev=26
2019-07-02 12:03:54 +00:00
Source: https://files.openscad.org/%{name}-%{version}.src.tar.gz
Patch0: fix_build_with_cgal-5.3.patch
Patch1: CVE-2022-0496.patch
Patch2: CVE-2022-0497.patch
Patch3: fix_build_with_cgal-5.4.patch
Patch4: fix_build_issue_with_overloaded_join.patch
Patch5: fix_fs_error.patch
Accepting request 711743 from home:StefanBruens:branches:graphics - Update to 2019.05 release + Language Features: * New modules assert() - stop script evaluation on failed constraints let() - scoped assignment * New functions ord() - convert from character to Unicode code point echo() assert() - stop script evaluation on failed constraints Type testing functions: is_undef(), is_list(), is_num(), is_bool(), is_string() * New special variable: $preview variable which is set to true in preview mode * List comprehension updates Added if/else condition Added each keyword Added C-style for loop Now allows looping over characters of a string * rotate_extrude(): Added angle parameter to * import() now supports SVG, 3MF and AMF * color() now supports hex color codes * Removed glide() and subdiv() which were never implemented + Program Features: * Customizer: Allow parametrizing design parameters with GUI customization * Support for using 3D-Mouse / Joystick / Gamepad input devices for controlling the 3D view * 3D Printing support: Purchase from a print service partner or print to Octoprint * New export file formats: SVG, 3MF, AMF * Quick-edit and preview of values using Alt-Arrows (Shift-Alt-Arrows on macOS) * Added --view cmd-line parameter * Play sound notification on render complete * Line numbers and filenames are now shown for many errors and warnings * Hardwarning preference: Stop on first warning * Hardwarning and assert now shows a stack trace * New warnings Module call parameterns don't match module declaration Argument value of of range Duplicate passed argument Children passed to module not accepting children Reference to inknown $special_variables Duplicate assigment * New translations: Ukrainian, Polish - Updated BuildRequires: - Drop glew-devel and some boost headers - Add libspnav for 3D mouse, Qt5Multimedia for notifications - Cleanup spec file, remove conditionals for Fedora (still targeting EOLed Qt4) - Drop upstream patches: openscad-git4fa5f0340a.patch openscad-git_c68684f9520d.patch OBS-URL: https://build.opensuse.org/request/show/711743 OBS-URL: https://build.opensuse.org/package/show/graphics/openscad?expand=0&rev=26
2019-07-02 12:03:54 +00:00
BuildRequires: bison
BuildRequires: double-conversion-devel
BuildRequires: flex
BuildRequires: gcc-c++
BuildRequires: libboost_filesystem-devel
BuildRequires: libboost_program_options-devel
BuildRequires: libboost_regex-devel
BuildRequires: libboost_thread-devel
# Upstream has dropped pre-cgal-5.0 support and with that, reworked
# CGAL integration fully.
# Backporting relevant patches does not make sense.
BuildRequires: libcgal-devel > 5.0
BuildRequires: libqscintilla-qt5-devel
Accepting request 711743 from home:StefanBruens:branches:graphics - Update to 2019.05 release + Language Features: * New modules assert() - stop script evaluation on failed constraints let() - scoped assignment * New functions ord() - convert from character to Unicode code point echo() assert() - stop script evaluation on failed constraints Type testing functions: is_undef(), is_list(), is_num(), is_bool(), is_string() * New special variable: $preview variable which is set to true in preview mode * List comprehension updates Added if/else condition Added each keyword Added C-style for loop Now allows looping over characters of a string * rotate_extrude(): Added angle parameter to * import() now supports SVG, 3MF and AMF * color() now supports hex color codes * Removed glide() and subdiv() which were never implemented + Program Features: * Customizer: Allow parametrizing design parameters with GUI customization * Support for using 3D-Mouse / Joystick / Gamepad input devices for controlling the 3D view * 3D Printing support: Purchase from a print service partner or print to Octoprint * New export file formats: SVG, 3MF, AMF * Quick-edit and preview of values using Alt-Arrows (Shift-Alt-Arrows on macOS) * Added --view cmd-line parameter * Play sound notification on render complete * Line numbers and filenames are now shown for many errors and warnings * Hardwarning preference: Stop on first warning * Hardwarning and assert now shows a stack trace * New warnings Module call parameterns don't match module declaration Argument value of of range Duplicate passed argument Children passed to module not accepting children Reference to inknown $special_variables Duplicate assigment * New translations: Ukrainian, Polish - Updated BuildRequires: - Drop glew-devel and some boost headers - Add libspnav for 3D mouse, Qt5Multimedia for notifications - Cleanup spec file, remove conditionals for Fedora (still targeting EOLed Qt4) - Drop upstream patches: openscad-git4fa5f0340a.patch openscad-git_c68684f9520d.patch OBS-URL: https://build.opensuse.org/request/show/711743 OBS-URL: https://build.opensuse.org/package/show/graphics/openscad?expand=0&rev=26
2019-07-02 12:03:54 +00:00
BuildRequires: libspnav-devel
BuildRequires: memory-constraints
Accepting request 711743 from home:StefanBruens:branches:graphics - Update to 2019.05 release + Language Features: * New modules assert() - stop script evaluation on failed constraints let() - scoped assignment * New functions ord() - convert from character to Unicode code point echo() assert() - stop script evaluation on failed constraints Type testing functions: is_undef(), is_list(), is_num(), is_bool(), is_string() * New special variable: $preview variable which is set to true in preview mode * List comprehension updates Added if/else condition Added each keyword Added C-style for loop Now allows looping over characters of a string * rotate_extrude(): Added angle parameter to * import() now supports SVG, 3MF and AMF * color() now supports hex color codes * Removed glide() and subdiv() which were never implemented + Program Features: * Customizer: Allow parametrizing design parameters with GUI customization * Support for using 3D-Mouse / Joystick / Gamepad input devices for controlling the 3D view * 3D Printing support: Purchase from a print service partner or print to Octoprint * New export file formats: SVG, 3MF, AMF * Quick-edit and preview of values using Alt-Arrows (Shift-Alt-Arrows on macOS) * Added --view cmd-line parameter * Play sound notification on render complete * Line numbers and filenames are now shown for many errors and warnings * Hardwarning preference: Stop on first warning * Hardwarning and assert now shows a stack trace * New warnings Module call parameterns don't match module declaration Argument value of of range Duplicate passed argument Children passed to module not accepting children Reference to inknown $special_variables Duplicate assigment * New translations: Ukrainian, Polish - Updated BuildRequires: - Drop glew-devel and some boost headers - Add libspnav for 3D mouse, Qt5Multimedia for notifications - Cleanup spec file, remove conditionals for Fedora (still targeting EOLed Qt4) - Drop upstream patches: openscad-git4fa5f0340a.patch openscad-git_c68684f9520d.patch OBS-URL: https://build.opensuse.org/request/show/711743 OBS-URL: https://build.opensuse.org/package/show/graphics/openscad?expand=0&rev=26
2019-07-02 12:03:54 +00:00
BuildRequires: opencsg-devel
Accepting request 886985 from home:Smar:branches:graphics - Update to 2021.1 release + Language Features * New Add function literals Add exponent function (e.g. 2^3) Add convexity parameter to resize() Add support for generic tail recursion Add $vpf for viewport field of view Add warnings for ranges with begin < end Add warnings for matrix structure problems * Changed Allow random seeds to stick between rands() calls Make comparison operators on mixed types return undef Track reason for values turning undef * Fixed Fix Range precision Fix empty geometry handling Fix search order for imported modules Improve internal handling of data values Improve performance of array concatenation Improve float accuracy of mirror matrix calculation Improve polygon and polyhedron warnings/errors + Program Features * GUI Add jump to source code from 3D preview Add Error-Log window for tracking errors and warnings Add window menu to allow keyboard access to all docked windows Enable default binary stl output, and ascii option Show message in console when caches are flushed Disable HTML rendering in console Enable color scheme for CGAL 2D render Simplified OpenCSG edge shader, with added smoothing New and updated translations: Chinese, Armenian, French, Russian, Polish, German * Editor Edit multiple files in tabs Switch tabs via Ctrl+Tab / Ctrl+Shift+Tab Modify numbers via mouse scroll (when holding ALT) Add auto-complete & call-tips for built-ins Add configurable code snippets Add (line) bookmarks Add jump to error Add support for line/block copy and move Add convenience context menu to tab header Open include<>/use<> files via inline link Fix search highlight for utf8 text Fix display of matches in search field Add Find/Find Next/Find Previous to editor context menu * Command line Support reading scripts from STDIN Support export to STDOUT Add multi-export on command line Add --animate command line option Add --export-format command line option Allow view-port variables in command-line mode Allow export to .ast, .csg, .echo and .term in preview mode Print statistics in cmdline mode as in GUI * General Add PDF export (single page only) Add support for line-cap and line-join in SVG import Add support stroke-linejoin in SVG import Change CGAL Union to join least complex geometries first Install start shortcut for all users on Windows Install icons with defined sizes (e.g. required by flathub) Switch to C++14 and allow usage of header-only CGAL Add support for lib3MF v2.0 API Update AppStream release info - Ran spec through spec-cleaner OBS-URL: https://build.opensuse.org/request/show/886985 OBS-URL: https://build.opensuse.org/package/show/graphics/openscad?expand=0&rev=36
2021-04-24 09:07:24 +00:00
BuildRequires: pkgconfig
BuildRequires: pkgconfig(Qt5Concurrent)
BuildRequires: pkgconfig(Qt5Core)
Accepting request 711743 from home:StefanBruens:branches:graphics - Update to 2019.05 release + Language Features: * New modules assert() - stop script evaluation on failed constraints let() - scoped assignment * New functions ord() - convert from character to Unicode code point echo() assert() - stop script evaluation on failed constraints Type testing functions: is_undef(), is_list(), is_num(), is_bool(), is_string() * New special variable: $preview variable which is set to true in preview mode * List comprehension updates Added if/else condition Added each keyword Added C-style for loop Now allows looping over characters of a string * rotate_extrude(): Added angle parameter to * import() now supports SVG, 3MF and AMF * color() now supports hex color codes * Removed glide() and subdiv() which were never implemented + Program Features: * Customizer: Allow parametrizing design parameters with GUI customization * Support for using 3D-Mouse / Joystick / Gamepad input devices for controlling the 3D view * 3D Printing support: Purchase from a print service partner or print to Octoprint * New export file formats: SVG, 3MF, AMF * Quick-edit and preview of values using Alt-Arrows (Shift-Alt-Arrows on macOS) * Added --view cmd-line parameter * Play sound notification on render complete * Line numbers and filenames are now shown for many errors and warnings * Hardwarning preference: Stop on first warning * Hardwarning and assert now shows a stack trace * New warnings Module call parameterns don't match module declaration Argument value of of range Duplicate passed argument Children passed to module not accepting children Reference to inknown $special_variables Duplicate assigment * New translations: Ukrainian, Polish - Updated BuildRequires: - Drop glew-devel and some boost headers - Add libspnav for 3D mouse, Qt5Multimedia for notifications - Cleanup spec file, remove conditionals for Fedora (still targeting EOLed Qt4) - Drop upstream patches: openscad-git4fa5f0340a.patch openscad-git_c68684f9520d.patch OBS-URL: https://build.opensuse.org/request/show/711743 OBS-URL: https://build.opensuse.org/package/show/graphics/openscad?expand=0&rev=26
2019-07-02 12:03:54 +00:00
BuildRequires: pkgconfig(Qt5DBus)
BuildRequires: pkgconfig(Qt5Gamepad)
BuildRequires: pkgconfig(Qt5Gui)
Accepting request 711743 from home:StefanBruens:branches:graphics - Update to 2019.05 release + Language Features: * New modules assert() - stop script evaluation on failed constraints let() - scoped assignment * New functions ord() - convert from character to Unicode code point echo() assert() - stop script evaluation on failed constraints Type testing functions: is_undef(), is_list(), is_num(), is_bool(), is_string() * New special variable: $preview variable which is set to true in preview mode * List comprehension updates Added if/else condition Added each keyword Added C-style for loop Now allows looping over characters of a string * rotate_extrude(): Added angle parameter to * import() now supports SVG, 3MF and AMF * color() now supports hex color codes * Removed glide() and subdiv() which were never implemented + Program Features: * Customizer: Allow parametrizing design parameters with GUI customization * Support for using 3D-Mouse / Joystick / Gamepad input devices for controlling the 3D view * 3D Printing support: Purchase from a print service partner or print to Octoprint * New export file formats: SVG, 3MF, AMF * Quick-edit and preview of values using Alt-Arrows (Shift-Alt-Arrows on macOS) * Added --view cmd-line parameter * Play sound notification on render complete * Line numbers and filenames are now shown for many errors and warnings * Hardwarning preference: Stop on first warning * Hardwarning and assert now shows a stack trace * New warnings Module call parameterns don't match module declaration Argument value of of range Duplicate passed argument Children passed to module not accepting children Reference to inknown $special_variables Duplicate assigment * New translations: Ukrainian, Polish - Updated BuildRequires: - Drop glew-devel and some boost headers - Add libspnav for 3D mouse, Qt5Multimedia for notifications - Cleanup spec file, remove conditionals for Fedora (still targeting EOLed Qt4) - Drop upstream patches: openscad-git4fa5f0340a.patch openscad-git_c68684f9520d.patch OBS-URL: https://build.opensuse.org/request/show/711743 OBS-URL: https://build.opensuse.org/package/show/graphics/openscad?expand=0&rev=26
2019-07-02 12:03:54 +00:00
BuildRequires: pkgconfig(Qt5Multimedia)
BuildRequires: pkgconfig(Qt5Network)
BuildRequires: pkgconfig(Qt5OpenGL)
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(cairo) > 1.14
BuildRequires: pkgconfig(eigen3)
BuildRequires: pkgconfig(fontconfig)
BuildRequires: pkgconfig(freetype2)
BuildRequires: pkgconfig(harfbuzz)
Accepting request 711743 from home:StefanBruens:branches:graphics - Update to 2019.05 release + Language Features: * New modules assert() - stop script evaluation on failed constraints let() - scoped assignment * New functions ord() - convert from character to Unicode code point echo() assert() - stop script evaluation on failed constraints Type testing functions: is_undef(), is_list(), is_num(), is_bool(), is_string() * New special variable: $preview variable which is set to true in preview mode * List comprehension updates Added if/else condition Added each keyword Added C-style for loop Now allows looping over characters of a string * rotate_extrude(): Added angle parameter to * import() now supports SVG, 3MF and AMF * color() now supports hex color codes * Removed glide() and subdiv() which were never implemented + Program Features: * Customizer: Allow parametrizing design parameters with GUI customization * Support for using 3D-Mouse / Joystick / Gamepad input devices for controlling the 3D view * 3D Printing support: Purchase from a print service partner or print to Octoprint * New export file formats: SVG, 3MF, AMF * Quick-edit and preview of values using Alt-Arrows (Shift-Alt-Arrows on macOS) * Added --view cmd-line parameter * Play sound notification on render complete * Line numbers and filenames are now shown for many errors and warnings * Hardwarning preference: Stop on first warning * Hardwarning and assert now shows a stack trace * New warnings Module call parameterns don't match module declaration Argument value of of range Duplicate passed argument Children passed to module not accepting children Reference to inknown $special_variables Duplicate assigment * New translations: Ukrainian, Polish - Updated BuildRequires: - Drop glew-devel and some boost headers - Add libspnav for 3D mouse, Qt5Multimedia for notifications - Cleanup spec file, remove conditionals for Fedora (still targeting EOLed Qt4) - Drop upstream patches: openscad-git4fa5f0340a.patch openscad-git_c68684f9520d.patch OBS-URL: https://build.opensuse.org/request/show/711743 OBS-URL: https://build.opensuse.org/package/show/graphics/openscad?expand=0&rev=26
2019-07-02 12:03:54 +00:00
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(libzip)
# With v2019.05, openGL is required but Arm uses openGL ES
Accepting request 886985 from home:Smar:branches:graphics - Update to 2021.1 release + Language Features * New Add function literals Add exponent function (e.g. 2^3) Add convexity parameter to resize() Add support for generic tail recursion Add $vpf for viewport field of view Add warnings for ranges with begin < end Add warnings for matrix structure problems * Changed Allow random seeds to stick between rands() calls Make comparison operators on mixed types return undef Track reason for values turning undef * Fixed Fix Range precision Fix empty geometry handling Fix search order for imported modules Improve internal handling of data values Improve performance of array concatenation Improve float accuracy of mirror matrix calculation Improve polygon and polyhedron warnings/errors + Program Features * GUI Add jump to source code from 3D preview Add Error-Log window for tracking errors and warnings Add window menu to allow keyboard access to all docked windows Enable default binary stl output, and ascii option Show message in console when caches are flushed Disable HTML rendering in console Enable color scheme for CGAL 2D render Simplified OpenCSG edge shader, with added smoothing New and updated translations: Chinese, Armenian, French, Russian, Polish, German * Editor Edit multiple files in tabs Switch tabs via Ctrl+Tab / Ctrl+Shift+Tab Modify numbers via mouse scroll (when holding ALT) Add auto-complete & call-tips for built-ins Add configurable code snippets Add (line) bookmarks Add jump to error Add support for line/block copy and move Add convenience context menu to tab header Open include<>/use<> files via inline link Fix search highlight for utf8 text Fix display of matches in search field Add Find/Find Next/Find Previous to editor context menu * Command line Support reading scripts from STDIN Support export to STDOUT Add multi-export on command line Add --animate command line option Add --export-format command line option Allow view-port variables in command-line mode Allow export to .ast, .csg, .echo and .term in preview mode Print statistics in cmdline mode as in GUI * General Add PDF export (single page only) Add support for line-cap and line-join in SVG import Add support stroke-linejoin in SVG import Change CGAL Union to join least complex geometries first Install start shortcut for all users on Windows Install icons with defined sizes (e.g. required by flathub) Switch to C++14 and allow usage of header-only CGAL Add support for lib3MF v2.0 API Update AppStream release info - Ran spec through spec-cleaner OBS-URL: https://build.opensuse.org/request/show/886985 OBS-URL: https://build.opensuse.org/package/show/graphics/openscad?expand=0&rev=36
2021-04-24 09:07:24 +00:00
ExcludeArch: %{arm} aarch64
%description
OpenSCAD is a software for creating solid 3D CAD objects. It does not
focus on the artistic aspects of 3D modelling and does not target the
creation of, say, computer-animated movies, but instead on the CAD
aspects, e.g. modelling of machine parts.
%prep
%autosetup -p1
%build
%qmake5 PREFIX=%{_prefix} CONFIG+=qopenglwidget
# As of 08.05.2021, memoryperjob constraint is not working correctly,
# so limit memory per job here.
%limit_build -m 2500
Accepting request 886985 from home:Smar:branches:graphics - Update to 2021.1 release + Language Features * New Add function literals Add exponent function (e.g. 2^3) Add convexity parameter to resize() Add support for generic tail recursion Add $vpf for viewport field of view Add warnings for ranges with begin < end Add warnings for matrix structure problems * Changed Allow random seeds to stick between rands() calls Make comparison operators on mixed types return undef Track reason for values turning undef * Fixed Fix Range precision Fix empty geometry handling Fix search order for imported modules Improve internal handling of data values Improve performance of array concatenation Improve float accuracy of mirror matrix calculation Improve polygon and polyhedron warnings/errors + Program Features * GUI Add jump to source code from 3D preview Add Error-Log window for tracking errors and warnings Add window menu to allow keyboard access to all docked windows Enable default binary stl output, and ascii option Show message in console when caches are flushed Disable HTML rendering in console Enable color scheme for CGAL 2D render Simplified OpenCSG edge shader, with added smoothing New and updated translations: Chinese, Armenian, French, Russian, Polish, German * Editor Edit multiple files in tabs Switch tabs via Ctrl+Tab / Ctrl+Shift+Tab Modify numbers via mouse scroll (when holding ALT) Add auto-complete & call-tips for built-ins Add configurable code snippets Add (line) bookmarks Add jump to error Add support for line/block copy and move Add convenience context menu to tab header Open include<>/use<> files via inline link Fix search highlight for utf8 text Fix display of matches in search field Add Find/Find Next/Find Previous to editor context menu * Command line Support reading scripts from STDIN Support export to STDOUT Add multi-export on command line Add --animate command line option Add --export-format command line option Allow view-port variables in command-line mode Allow export to .ast, .csg, .echo and .term in preview mode Print statistics in cmdline mode as in GUI * General Add PDF export (single page only) Add support for line-cap and line-join in SVG import Add support stroke-linejoin in SVG import Change CGAL Union to join least complex geometries first Install start shortcut for all users on Windows Install icons with defined sizes (e.g. required by flathub) Switch to C++14 and allow usage of header-only CGAL Add support for lib3MF v2.0 API Update AppStream release info - Ran spec through spec-cleaner OBS-URL: https://build.opensuse.org/request/show/886985 OBS-URL: https://build.opensuse.org/package/show/graphics/openscad?expand=0&rev=36
2021-04-24 09:07:24 +00:00
%make_build
%install
%qmake5_install
install -D -m 0644 doc/openscad.1 %{buildroot}%{_mandir}/man1/openscad.1
Accepting request 711743 from home:StefanBruens:branches:graphics - Update to 2019.05 release + Language Features: * New modules assert() - stop script evaluation on failed constraints let() - scoped assignment * New functions ord() - convert from character to Unicode code point echo() assert() - stop script evaluation on failed constraints Type testing functions: is_undef(), is_list(), is_num(), is_bool(), is_string() * New special variable: $preview variable which is set to true in preview mode * List comprehension updates Added if/else condition Added each keyword Added C-style for loop Now allows looping over characters of a string * rotate_extrude(): Added angle parameter to * import() now supports SVG, 3MF and AMF * color() now supports hex color codes * Removed glide() and subdiv() which were never implemented + Program Features: * Customizer: Allow parametrizing design parameters with GUI customization * Support for using 3D-Mouse / Joystick / Gamepad input devices for controlling the 3D view * 3D Printing support: Purchase from a print service partner or print to Octoprint * New export file formats: SVG, 3MF, AMF * Quick-edit and preview of values using Alt-Arrows (Shift-Alt-Arrows on macOS) * Added --view cmd-line parameter * Play sound notification on render complete * Line numbers and filenames are now shown for many errors and warnings * Hardwarning preference: Stop on first warning * Hardwarning and assert now shows a stack trace * New warnings Module call parameterns don't match module declaration Argument value of of range Duplicate passed argument Children passed to module not accepting children Reference to inknown $special_variables Duplicate assigment * New translations: Ukrainian, Polish - Updated BuildRequires: - Drop glew-devel and some boost headers - Add libspnav for 3D mouse, Qt5Multimedia for notifications - Cleanup spec file, remove conditionals for Fedora (still targeting EOLed Qt4) - Drop upstream patches: openscad-git4fa5f0340a.patch openscad-git_c68684f9520d.patch OBS-URL: https://build.opensuse.org/request/show/711743 OBS-URL: https://build.opensuse.org/package/show/graphics/openscad?expand=0&rev=26
2019-07-02 12:03:54 +00:00
# remove bundled liberation fonts
rm -r %{buildroot}%{_datadir}/openscad/fonts
%find_lang %{name}
Accepting request 886985 from home:Smar:branches:graphics - Update to 2021.1 release + Language Features * New Add function literals Add exponent function (e.g. 2^3) Add convexity parameter to resize() Add support for generic tail recursion Add $vpf for viewport field of view Add warnings for ranges with begin < end Add warnings for matrix structure problems * Changed Allow random seeds to stick between rands() calls Make comparison operators on mixed types return undef Track reason for values turning undef * Fixed Fix Range precision Fix empty geometry handling Fix search order for imported modules Improve internal handling of data values Improve performance of array concatenation Improve float accuracy of mirror matrix calculation Improve polygon and polyhedron warnings/errors + Program Features * GUI Add jump to source code from 3D preview Add Error-Log window for tracking errors and warnings Add window menu to allow keyboard access to all docked windows Enable default binary stl output, and ascii option Show message in console when caches are flushed Disable HTML rendering in console Enable color scheme for CGAL 2D render Simplified OpenCSG edge shader, with added smoothing New and updated translations: Chinese, Armenian, French, Russian, Polish, German * Editor Edit multiple files in tabs Switch tabs via Ctrl+Tab / Ctrl+Shift+Tab Modify numbers via mouse scroll (when holding ALT) Add auto-complete & call-tips for built-ins Add configurable code snippets Add (line) bookmarks Add jump to error Add support for line/block copy and move Add convenience context menu to tab header Open include<>/use<> files via inline link Fix search highlight for utf8 text Fix display of matches in search field Add Find/Find Next/Find Previous to editor context menu * Command line Support reading scripts from STDIN Support export to STDOUT Add multi-export on command line Add --animate command line option Add --export-format command line option Allow view-port variables in command-line mode Allow export to .ast, .csg, .echo and .term in preview mode Print statistics in cmdline mode as in GUI * General Add PDF export (single page only) Add support for line-cap and line-join in SVG import Add support stroke-linejoin in SVG import Change CGAL Union to join least complex geometries first Install start shortcut for all users on Windows Install icons with defined sizes (e.g. required by flathub) Switch to C++14 and allow usage of header-only CGAL Add support for lib3MF v2.0 API Update AppStream release info - Ran spec through spec-cleaner OBS-URL: https://build.opensuse.org/request/show/886985 OBS-URL: https://build.opensuse.org/package/show/graphics/openscad?expand=0&rev=36
2021-04-24 09:07:24 +00:00
rm %{buildroot}%{_datadir}/openscad/libraries/MCAD/.gitignore
%files -f %{name}.lang
Accepting request 886985 from home:Smar:branches:graphics - Update to 2021.1 release + Language Features * New Add function literals Add exponent function (e.g. 2^3) Add convexity parameter to resize() Add support for generic tail recursion Add $vpf for viewport field of view Add warnings for ranges with begin < end Add warnings for matrix structure problems * Changed Allow random seeds to stick between rands() calls Make comparison operators on mixed types return undef Track reason for values turning undef * Fixed Fix Range precision Fix empty geometry handling Fix search order for imported modules Improve internal handling of data values Improve performance of array concatenation Improve float accuracy of mirror matrix calculation Improve polygon and polyhedron warnings/errors + Program Features * GUI Add jump to source code from 3D preview Add Error-Log window for tracking errors and warnings Add window menu to allow keyboard access to all docked windows Enable default binary stl output, and ascii option Show message in console when caches are flushed Disable HTML rendering in console Enable color scheme for CGAL 2D render Simplified OpenCSG edge shader, with added smoothing New and updated translations: Chinese, Armenian, French, Russian, Polish, German * Editor Edit multiple files in tabs Switch tabs via Ctrl+Tab / Ctrl+Shift+Tab Modify numbers via mouse scroll (when holding ALT) Add auto-complete & call-tips for built-ins Add configurable code snippets Add (line) bookmarks Add jump to error Add support for line/block copy and move Add convenience context menu to tab header Open include<>/use<> files via inline link Fix search highlight for utf8 text Fix display of matches in search field Add Find/Find Next/Find Previous to editor context menu * Command line Support reading scripts from STDIN Support export to STDOUT Add multi-export on command line Add --animate command line option Add --export-format command line option Allow view-port variables in command-line mode Allow export to .ast, .csg, .echo and .term in preview mode Print statistics in cmdline mode as in GUI * General Add PDF export (single page only) Add support for line-cap and line-join in SVG import Add support stroke-linejoin in SVG import Change CGAL Union to join least complex geometries first Install start shortcut for all users on Windows Install icons with defined sizes (e.g. required by flathub) Switch to C++14 and allow usage of header-only CGAL Add support for lib3MF v2.0 API Update AppStream release info - Ran spec through spec-cleaner OBS-URL: https://build.opensuse.org/request/show/886985 OBS-URL: https://build.opensuse.org/package/show/graphics/openscad?expand=0&rev=36
2021-04-24 09:07:24 +00:00
%dir %{_datadir}/metainfo
Accepting request 711743 from home:StefanBruens:branches:graphics - Update to 2019.05 release + Language Features: * New modules assert() - stop script evaluation on failed constraints let() - scoped assignment * New functions ord() - convert from character to Unicode code point echo() assert() - stop script evaluation on failed constraints Type testing functions: is_undef(), is_list(), is_num(), is_bool(), is_string() * New special variable: $preview variable which is set to true in preview mode * List comprehension updates Added if/else condition Added each keyword Added C-style for loop Now allows looping over characters of a string * rotate_extrude(): Added angle parameter to * import() now supports SVG, 3MF and AMF * color() now supports hex color codes * Removed glide() and subdiv() which were never implemented + Program Features: * Customizer: Allow parametrizing design parameters with GUI customization * Support for using 3D-Mouse / Joystick / Gamepad input devices for controlling the 3D view * 3D Printing support: Purchase from a print service partner or print to Octoprint * New export file formats: SVG, 3MF, AMF * Quick-edit and preview of values using Alt-Arrows (Shift-Alt-Arrows on macOS) * Added --view cmd-line parameter * Play sound notification on render complete * Line numbers and filenames are now shown for many errors and warnings * Hardwarning preference: Stop on first warning * Hardwarning and assert now shows a stack trace * New warnings Module call parameterns don't match module declaration Argument value of of range Duplicate passed argument Children passed to module not accepting children Reference to inknown $special_variables Duplicate assigment * New translations: Ukrainian, Polish - Updated BuildRequires: - Drop glew-devel and some boost headers - Add libspnav for 3D mouse, Qt5Multimedia for notifications - Cleanup spec file, remove conditionals for Fedora (still targeting EOLed Qt4) - Drop upstream patches: openscad-git4fa5f0340a.patch openscad-git_c68684f9520d.patch OBS-URL: https://build.opensuse.org/request/show/711743 OBS-URL: https://build.opensuse.org/package/show/graphics/openscad?expand=0&rev=26
2019-07-02 12:03:54 +00:00
%doc README.md doc/*.pdf
%license COPYING
Accepting request 886985 from home:Smar:branches:graphics - Update to 2021.1 release + Language Features * New Add function literals Add exponent function (e.g. 2^3) Add convexity parameter to resize() Add support for generic tail recursion Add $vpf for viewport field of view Add warnings for ranges with begin < end Add warnings for matrix structure problems * Changed Allow random seeds to stick between rands() calls Make comparison operators on mixed types return undef Track reason for values turning undef * Fixed Fix Range precision Fix empty geometry handling Fix search order for imported modules Improve internal handling of data values Improve performance of array concatenation Improve float accuracy of mirror matrix calculation Improve polygon and polyhedron warnings/errors + Program Features * GUI Add jump to source code from 3D preview Add Error-Log window for tracking errors and warnings Add window menu to allow keyboard access to all docked windows Enable default binary stl output, and ascii option Show message in console when caches are flushed Disable HTML rendering in console Enable color scheme for CGAL 2D render Simplified OpenCSG edge shader, with added smoothing New and updated translations: Chinese, Armenian, French, Russian, Polish, German * Editor Edit multiple files in tabs Switch tabs via Ctrl+Tab / Ctrl+Shift+Tab Modify numbers via mouse scroll (when holding ALT) Add auto-complete & call-tips for built-ins Add configurable code snippets Add (line) bookmarks Add jump to error Add support for line/block copy and move Add convenience context menu to tab header Open include<>/use<> files via inline link Fix search highlight for utf8 text Fix display of matches in search field Add Find/Find Next/Find Previous to editor context menu * Command line Support reading scripts from STDIN Support export to STDOUT Add multi-export on command line Add --animate command line option Add --export-format command line option Allow view-port variables in command-line mode Allow export to .ast, .csg, .echo and .term in preview mode Print statistics in cmdline mode as in GUI * General Add PDF export (single page only) Add support for line-cap and line-join in SVG import Add support stroke-linejoin in SVG import Change CGAL Union to join least complex geometries first Install start shortcut for all users on Windows Install icons with defined sizes (e.g. required by flathub) Switch to C++14 and allow usage of header-only CGAL Add support for lib3MF v2.0 API Update AppStream release info - Ran spec through spec-cleaner OBS-URL: https://build.opensuse.org/request/show/886985 OBS-URL: https://build.opensuse.org/package/show/graphics/openscad?expand=0&rev=36
2021-04-24 09:07:24 +00:00
%{_bindir}/openscad
%{_datadir}/applications/openscad.desktop
Accepting request 886985 from home:Smar:branches:graphics - Update to 2021.1 release + Language Features * New Add function literals Add exponent function (e.g. 2^3) Add convexity parameter to resize() Add support for generic tail recursion Add $vpf for viewport field of view Add warnings for ranges with begin < end Add warnings for matrix structure problems * Changed Allow random seeds to stick between rands() calls Make comparison operators on mixed types return undef Track reason for values turning undef * Fixed Fix Range precision Fix empty geometry handling Fix search order for imported modules Improve internal handling of data values Improve performance of array concatenation Improve float accuracy of mirror matrix calculation Improve polygon and polyhedron warnings/errors + Program Features * GUI Add jump to source code from 3D preview Add Error-Log window for tracking errors and warnings Add window menu to allow keyboard access to all docked windows Enable default binary stl output, and ascii option Show message in console when caches are flushed Disable HTML rendering in console Enable color scheme for CGAL 2D render Simplified OpenCSG edge shader, with added smoothing New and updated translations: Chinese, Armenian, French, Russian, Polish, German * Editor Edit multiple files in tabs Switch tabs via Ctrl+Tab / Ctrl+Shift+Tab Modify numbers via mouse scroll (when holding ALT) Add auto-complete & call-tips for built-ins Add configurable code snippets Add (line) bookmarks Add jump to error Add support for line/block copy and move Add convenience context menu to tab header Open include<>/use<> files via inline link Fix search highlight for utf8 text Fix display of matches in search field Add Find/Find Next/Find Previous to editor context menu * Command line Support reading scripts from STDIN Support export to STDOUT Add multi-export on command line Add --animate command line option Add --export-format command line option Allow view-port variables in command-line mode Allow export to .ast, .csg, .echo and .term in preview mode Print statistics in cmdline mode as in GUI * General Add PDF export (single page only) Add support for line-cap and line-join in SVG import Add support stroke-linejoin in SVG import Change CGAL Union to join least complex geometries first Install start shortcut for all users on Windows Install icons with defined sizes (e.g. required by flathub) Switch to C++14 and allow usage of header-only CGAL Add support for lib3MF v2.0 API Update AppStream release info - Ran spec through spec-cleaner OBS-URL: https://build.opensuse.org/request/show/886985 OBS-URL: https://build.opensuse.org/package/show/graphics/openscad?expand=0&rev=36
2021-04-24 09:07:24 +00:00
%{_datadir}/icons/hicolor/
Accepting request 711743 from home:StefanBruens:branches:graphics - Update to 2019.05 release + Language Features: * New modules assert() - stop script evaluation on failed constraints let() - scoped assignment * New functions ord() - convert from character to Unicode code point echo() assert() - stop script evaluation on failed constraints Type testing functions: is_undef(), is_list(), is_num(), is_bool(), is_string() * New special variable: $preview variable which is set to true in preview mode * List comprehension updates Added if/else condition Added each keyword Added C-style for loop Now allows looping over characters of a string * rotate_extrude(): Added angle parameter to * import() now supports SVG, 3MF and AMF * color() now supports hex color codes * Removed glide() and subdiv() which were never implemented + Program Features: * Customizer: Allow parametrizing design parameters with GUI customization * Support for using 3D-Mouse / Joystick / Gamepad input devices for controlling the 3D view * 3D Printing support: Purchase from a print service partner or print to Octoprint * New export file formats: SVG, 3MF, AMF * Quick-edit and preview of values using Alt-Arrows (Shift-Alt-Arrows on macOS) * Added --view cmd-line parameter * Play sound notification on render complete * Line numbers and filenames are now shown for many errors and warnings * Hardwarning preference: Stop on first warning * Hardwarning and assert now shows a stack trace * New warnings Module call parameterns don't match module declaration Argument value of of range Duplicate passed argument Children passed to module not accepting children Reference to inknown $special_variables Duplicate assigment * New translations: Ukrainian, Polish - Updated BuildRequires: - Drop glew-devel and some boost headers - Add libspnav for 3D mouse, Qt5Multimedia for notifications - Cleanup spec file, remove conditionals for Fedora (still targeting EOLed Qt4) - Drop upstream patches: openscad-git4fa5f0340a.patch openscad-git_c68684f9520d.patch OBS-URL: https://build.opensuse.org/request/show/711743 OBS-URL: https://build.opensuse.org/package/show/graphics/openscad?expand=0&rev=26
2019-07-02 12:03:54 +00:00
%{_datadir}/metainfo/org.openscad.OpenSCAD.appdata.xml
%{_datadir}/mime/packages/openscad.xml
Accepting request 886985 from home:Smar:branches:graphics - Update to 2021.1 release + Language Features * New Add function literals Add exponent function (e.g. 2^3) Add convexity parameter to resize() Add support for generic tail recursion Add $vpf for viewport field of view Add warnings for ranges with begin < end Add warnings for matrix structure problems * Changed Allow random seeds to stick between rands() calls Make comparison operators on mixed types return undef Track reason for values turning undef * Fixed Fix Range precision Fix empty geometry handling Fix search order for imported modules Improve internal handling of data values Improve performance of array concatenation Improve float accuracy of mirror matrix calculation Improve polygon and polyhedron warnings/errors + Program Features * GUI Add jump to source code from 3D preview Add Error-Log window for tracking errors and warnings Add window menu to allow keyboard access to all docked windows Enable default binary stl output, and ascii option Show message in console when caches are flushed Disable HTML rendering in console Enable color scheme for CGAL 2D render Simplified OpenCSG edge shader, with added smoothing New and updated translations: Chinese, Armenian, French, Russian, Polish, German * Editor Edit multiple files in tabs Switch tabs via Ctrl+Tab / Ctrl+Shift+Tab Modify numbers via mouse scroll (when holding ALT) Add auto-complete & call-tips for built-ins Add configurable code snippets Add (line) bookmarks Add jump to error Add support for line/block copy and move Add convenience context menu to tab header Open include<>/use<> files via inline link Fix search highlight for utf8 text Fix display of matches in search field Add Find/Find Next/Find Previous to editor context menu * Command line Support reading scripts from STDIN Support export to STDOUT Add multi-export on command line Add --animate command line option Add --export-format command line option Allow view-port variables in command-line mode Allow export to .ast, .csg, .echo and .term in preview mode Print statistics in cmdline mode as in GUI * General Add PDF export (single page only) Add support for line-cap and line-join in SVG import Add support stroke-linejoin in SVG import Change CGAL Union to join least complex geometries first Install start shortcut for all users on Windows Install icons with defined sizes (e.g. required by flathub) Switch to C++14 and allow usage of header-only CGAL Add support for lib3MF v2.0 API Update AppStream release info - Ran spec through spec-cleaner OBS-URL: https://build.opensuse.org/request/show/886985 OBS-URL: https://build.opensuse.org/package/show/graphics/openscad?expand=0&rev=36
2021-04-24 09:07:24 +00:00
%{_datadir}/openscad/
%{_mandir}/man1/*
%changelog