Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add extra freetype lib only when required #3578

Closed
wants to merge 1 commit into from
Closed

Conversation

smoe
Copy link
Contributor

@smoe smoe commented Apr 7, 2020

The BOINC manager needs to deal with fonts, but nothing else, really. To always include it may have unexpected side-effects, as reported for the CLI-only build for OpenWrt: openwrt/packages#11768 (comment)

Description of the Change
BOINC_EXTRA_LIBS are grasping all libraries of a list manually aggregated in configure.ac. Since the freetype library is only dealing with fonts, and fonts are used only the GUI, these should not be linked against if only building the command-line interface.

Admittedly, I am not really liking this patch but to do more may require a bit of an extra discussion. The BOINC_EXTRA_LIBS shall possibly be divided up - one set of libs for the command line, one for the GUI, and one that the two share.

Release Notes
N/A

The BOINC manager needs to deal with fonts, but nothing else, really.  To always incude it may have unexpected side-effects, as reported for the CLI-only build for OpenWrt: openwrt/packages#11768 (comment)
@CharlieFenton
Copy link
Contributor

For platforms that have a BOINC screensaver I believe that the default BOINC screensaver boincscr also uses freetype.

@AenBleidd
Copy link
Member

On Windows these 3 projects are linking with freetype. And there is no Manager among them:
image

I believe in linux situation should be pretty much the same

1715173329 pushed a commit to immortalwrt/packages that referenced this pull request Apr 9, 2020
In reaction to a comment by @hnyman in
openwrt/packages#11768 (comment)
on BOINC embracing too many libraries it finds on its build
host, the inclusion of the freetype library is now excluded
by an embracing "if" statement.

The patch is presented to BOINC upstream at
BOINC/boinc#3578

Signed-off-by: Steffen Möller <moeller@debian.org>
@AenBleidd AenBleidd self-requested a review April 13, 2020 15:38
Copy link
Member

@AenBleidd AenBleidd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See my comment above

@smoe
Copy link
Contributor Author

smoe commented May 2, 2020

If not building the manager, the compilation works. I cannot tell what configure options trigger the building of these "slideshow" or "graphics" apps.

nmeyerhans pushed a commit to nmeyerhans/packages that referenced this pull request May 4, 2020
In reaction to a comment by @hnyman in
openwrt#11768 (comment)
on BOINC embracing too many libraries it finds on its build
host, the inclusion of the freetype library is now excluded
by an embracing "if" statement.

The patch is presented to BOINC upstream at
BOINC/boinc#3578

Signed-off-by: Steffen Möller <moeller@debian.org>
farmergreg pushed a commit to farmergreg/packages that referenced this pull request Sep 8, 2020
In reaction to a comment by @hnyman in
openwrt#11768 (comment)
on BOINC embracing too many libraries it finds on its build
host, the inclusion of the freetype library is now excluded
by an embracing "if" statement.

The patch is presented to BOINC upstream at
BOINC/boinc#3578

Signed-off-by: Steffen Möller <moeller@debian.org>
farmergreg pushed a commit to farmergreg/packages that referenced this pull request Sep 8, 2020
In reaction to a comment by @hnyman in
openwrt#11768 (comment)
on BOINC embracing too many libraries it finds on its build
host, the inclusion of the freetype library is now excluded
by an embracing "if" statement.

The patch is presented to BOINC upstream at
BOINC/boinc#3578

Signed-off-by: Steffen Möller <moeller@debian.org>
@smoe
Copy link
Contributor Author

smoe commented Dec 19, 2020

I just saw the "Waiting for Response"-flag. That is not a response from me, is it?

@AenBleidd
Copy link
Member

I just saw the "Waiting for Response"-flag. That is not a response from me, is it?

It's exactly for you. You fix is not correct in this PR

@smoe
Copy link
Contributor Author

smoe commented Jan 11, 2021

Shall we close this PR, then?

@AenBleidd AenBleidd closed this Jan 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants