4 Commits

Author SHA256 Message Date
26e96b7fe9 Accepting request 1279976 from graphics
OBS-URL: https://build.opensuse.org/request/show/1279976
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/opencsg?expand=0&rev=8
2025-05-26 16:38:41 +00:00
f9ddacfc61 - Remove unneeded build dependencies
OBS-URL: https://build.opensuse.org/package/show/graphics/opencsg?expand=0&rev=19
2025-05-26 06:28:09 +00:00
1c4b839406 Accepting request 1269794 from graphics
OBS-URL: https://build.opensuse.org/request/show/1269794
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/opencsg?expand=0&rev=7
2025-04-16 18:41:40 +00:00
3c1bae60e2 * Update to version 1.8.1.
* Use cmake for build.
* Drop dependency on freeglut: used only for example, which we do not build.
* Purge specfile of lingering glew references.
* Add BuildRequires: pkgconfig(gl) for ARM archs.

OBS-URL: https://build.opensuse.org/package/show/graphics/opencsg?expand=0&rev=17
2025-04-16 08:09:53 +00:00
4 changed files with 32 additions and 23 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bf8fb80e3e0ce11d87dd78dd15a0de872dbb8972d87f5f89cffc461efad47be8
size 302547

3
OpenCSG-1.8.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:afcc004a89ed3bc478a9e4ba39b20f3d589b24e23e275b7383f91a590d4d57c5
size 305467

View File

@@ -1,3 +1,24 @@
-------------------------------------------------------------------
Fri May 23 12:00:00 UTC 2025 - Christophe Marin <christophe@krop.fr>
- Remove unneeded build dependencies
-------------------------------------------------------------------
Tue Apr 15 13:47:24 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 1.8.1:
* Make the recently added GLSL vertex shader call also work with
OpenGL versions 2.0 and 2.1.
* Revert a change that solved some z-artifacts with Nouveau on
Linux, but that triggered a different kind of rendering error
on MacOS X.
* Resolve an error in the CMake configuration.
- Use cmake for build.
- Drop dependency on freeglut: used only for example, which we do
not build.
- Purge specfile of lingering glew references.
- Add BuildRequires: pkgconfig(gl) for ARM archs.
-------------------------------------------------------------------
Mon Oct 9 05:42:04 UTC 2023 - Paolo Stivanin <info@paolostivanin.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package opencsg
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,18 +17,17 @@
Name: opencsg
Version: 1.6.0
Version: 1.8.1
Release: 0
Summary: Constructive Solid Geometry rendering library
License: GPL-2.0-or-later
Group: Development/Libraries/C and C++
URL: https://www.opencsg.org/
Source: https://www.opencsg.org/OpenCSG-%{version}.tar.gz
BuildRequires: freeglut-devel
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: libXmu-devel
BuildRequires: libqt5-qtbase-common-devel
BuildRequires: libqt5-qtbase-devel
BuildRequires: pkgconfig(gl)
%description
OpenCSG is a library that does image-based Constructive Solid
@@ -55,8 +54,6 @@ This package contains the documentation for opencsg.
%package devel
Summary: Development files for opencsg, a CSG rendering library
Group: Development/Libraries/C and C++
Requires: freeglut-devel
Requires: glew-devel
Requires: libopencsg1 = %{version}
%description devel
@@ -68,24 +65,15 @@ applications that want to make use of opencsg.
%prep
%setup -q -n OpenCSG-%{version}
# use system glew
rm -rf glew
%build
# do not build glew and examples
cd src
# rpath is evil
sed -i 's@-Wl,-rpath,\.\./lib@@' Makefile
%qmake5
%make_build
%cmake -DBUILD_EXAMPLE:BOOL=OFF
%cmake_build
%install
mkdir -p %{buildroot}%{_prefix}
mv include %{buildroot}%{_includedir}
mv lib %{buildroot}%{_libdir}
%cmake_install
%post -n libopencsg1 -p /sbin/ldconfig
%postun -n libopencsg1 -p /sbin/ldconfig
%ldconfig_scriptlets -n libopencsg1
%files -n libopencsg1
%license copying.txt doc/license/gpl-3.0.txt doc/license/gpl-2.0.txt