Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 939899 - [guru] sci-misc/boinc-wrapper should not have a hard dependency on media-libs/freeglut
Summary: [guru] sci-misc/boinc-wrapper should not have a hard dependency on media-libs...
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: GURU project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-20 13:35 UTC by Benn Snyder
Modified: 2024-10-07 10:03 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Benn Snyder 2024-09-20 13:35:07 UTC
The graphical features are not a hard requirement of boinc-wrapper.  If freeglut is missing at configure time, the build script gracefully skips it with the following message.

checking for GLUT library... no
configure: WARNING:
================================================================================
WARNING: Development libraries and headers ("-dev") of {openGL, GLU, glut} needed!

The GL, GLU and glut libraries are required in order to build the graphical parts
of the BOINC application API library.

==> only building non-graphical parts of the BOINC API Library for now.

HINT: on MacOS X/Darwin you might consider running configure with the option
      './configure --with-apple-opengl-framework'
      in order to use the Mac-native openGL framework

================================================================================

----

Workaround - add to /etc/portage/profile/package.provided the following.

# ignore optional dependency of sci-misc/boinc-wrapper
media-libs/freeglut-3.4.0

----

Proposed solution - implement a USE flag to make this dependency optional.
Comment 1 Larry the Git Cow gentoo-dev 2024-10-07 10:03:10 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=42e0a8a1ee13b7b1fae200eed02165c1329f3a27

commit 42e0a8a1ee13b7b1fae200eed02165c1329f3a27
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
AuthorDate: 2024-10-07 00:17:04 +0000
Commit:     Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
CommitDate: 2024-10-07 00:17:04 +0000

    sci-misc/boinc-wrapper: fix deps & task suspending
    
    1. Apply a patch to revert upstream switch to SIGTSTP signal for task
       suspending, which never works.
    
    2. Skip OpenGL check, so libboinc_graphics is never built.
    
    Closes: https://bugs.gentoo.org/939899
    Closes: https://bugs.gentoo.org/939902
    Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>

 .../boinc-wrapper/boinc-wrapper-26018-r2.ebuild    | 54 ++++++++++++++++++++++
 .../files/boinc-wrapper-26018-sigstop.patch        | 28 +++++++++++
 2 files changed, 82 insertions(+)