Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 663232 - sci-mathematics/cgal-4.12 version bump
Summary: sci-mathematics/cgal-4.12 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 2 votes (vote)
Assignee: Gentoo Science Mathematics related packages
URL: https://www.cgal.org/2018/04/25/cgal412/
Whiteboard:
Keywords: PullRequest
: 750233 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-08-09 14:14 UTC by Diogo Pereira
Modified: 2020-11-20 09:53 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild for version bump (cgal-5.0.2.ebuild,1.79 KB, text/plain)
2020-04-04 10:33 UTC, smellyfis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Diogo Pereira 2018-08-09 14:14:00 UTC
I managed to install it after this small modification:

--- cgal-4.11.1.ebuild	2018-03-06 01:03:41.029252519 +0000
+++ cgal-4.12.ebuild	2018-08-09 15:05:59.194241971 +0100
@@ -49,7 +49,7 @@
 src_prepare() {
 	cmake-utils_src_prepare
 	# modules provided by dev-util/cmake and dev-cpp/eigen
-	rm cmake/modules/Find{Eigen3,GLEW,OpenGL}.cmake || die
+	rm cmake/modules/Find{Eigen3,GLEW}.cmake || die
 	sed -e '/install(FILES AUTHORS/d' \
 		-i CMakeLists.txt || die
 }


The direct dependency on OpenGL seems to have been replaced by one on QtOpenGL [1], so I guess RDEPEND will also need to be updated.

[1] https://github.com/CGAL/cgal/commit/6ec4c12031d61656740fe5384b8c3b806595b816
Comment 1 bug2017 2020-01-20 10:45:52 UTC
Version can be bumped to 5.0 if the line 
rm cmake/modules/Find{Eigen3,GLEW,OpenGL}.cmake || die
is removed. Unfortunately it breaks media-gfx/openscad because it uses still -std=c++11 as compiler flag.
Comment 2 Cory Lytle 2020-02-13 18:20:45 UTC
Version 5.0.1 has been released.  Voting for a version bump to that version. Needed to build the current prussia slic3r.
Cory
Comment 3 Sergey 'L29Ah' Alirzaev 2020-02-28 13:05:36 UTC
Tried to bump to 5.0.2, but got this:
>>> Compiling source in /var/tmp/portage/sci-mathematics/cgal-5.0.2/work/CGAL-5.0.2 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/sci-mathematics/cgal-5.0.2/work/cgal-5.0.2_build"
make -j9 VERBOSE=1 
/usr/bin/cmake -S/var/tmp/portage/sci-mathematics/cgal-5.0.2/work/CGAL-5.0.2 -B/var/tmp/portage/sci-mathematics/cgal-5.0.2/work/cgal-5.0.2_build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /var/tmp/portage/sci-mathematics/cgal-5.0.2/work/cgal-5.0.2_build/CMakeFiles /var/tmp/portage/sci-mathematics/cgal-5.0.2/work/cgal-5.0.2_build/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory '/var/tmp/portage/sci-mathematics/cgal-5.0.2/work/cgal-5.0.2_build'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/var/tmp/portage/sci-mathematics/cgal-5.0.2/work/cgal-5.0.2_build'
/usr/bin/cmake -E cmake_progress_start /var/tmp/portage/sci-mathematics/cgal-5.0.2/work/cgal-5.0.2_build/CMakeFiles 0
>>> Source compiled.
Comment 4 smellyfis 2020-04-04 10:33:46 UTC
Created attachment 629822 [details]
ebuild for version bump

attaching the full ebuild file for cgal-5.0.2
did not api bump
Comment 5 David Seifert gentoo-dev 2020-11-19 23:05:56 UTC
*** Bug 750233 has been marked as a duplicate of this bug. ***
Comment 6 Larry the Git Cow gentoo-dev 2020-11-20 09:53:20 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66483bfa09b4bb6e68d54eea4917bd474d590195

commit 66483bfa09b4bb6e68d54eea4917bd474d590195
Author:     Aisha Tammy <gentoo@aisha.cc>
AuthorDate: 2020-11-20 09:52:59 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-11-20 09:52:59 +0000

    sci-mathematics/cgal: version bump to 5.1
    
    * also build shared libraries
    
    Closes: https://bugs.gentoo.org/734662
    Closes: https://bugs.gentoo.org/663232
    Package-Manager: Portage-3.0.8, Repoman-3.0.1
    Signed-off-by: Aisha Tammy <gentoo@aisha.cc>
    Signed-off-by: David Seifert <soap@gentoo.org>

 sci-mathematics/cgal/Manifest        |  2 +
 sci-mathematics/cgal/cgal-5.1.ebuild | 79 ++++++++++++++++++++++++++++++++++++
 2 files changed, 81 insertions(+)