LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   -current: harfbuzz broke audacious and vlc (https://www.linuxquestions.org/questions/slackware-14/current-harfbuzz-broke-audacious-and-vlc-4175610904/)

Martinus2u 07-30-2017 04:54 AM

-current: harfbuzz broke audacious and vlc
 
reverting back to harfbuzz 1.4.6 fixed the issue

willysr 07-30-2017 04:57 AM

vlc is not part of the Slackware, so you might need to rebuilt vlc

Martinus2u 07-30-2017 05:01 AM

but audacious is, and harfbuzz 1.4.7 breaks it in -current

willysr 07-30-2017 05:09 AM

It works fine here
can you try to run it on terminal and paste the output?

Alien Bob 07-30-2017 05:16 AM

My VLC package works fine on -current, perhaps you are referring to the VLC of SlackBuilds.org which you compiled yourself?

Martinus2u 07-30-2017 10:39 AM

The plot thickens. This time I compiled harfbuzz-1.4.7 locally. The self-compiled package works well. However, my "official" harfbuzz-1.4.7 package does not. The latter produces

Code:

$ audacious
ERROR plugin-load.cc:72 [plugin_load]: /usr/lib64/audacious/General/gtkui.so could not be loaded: /usr/lib64/../lib64/libharfbuzz.so.0: undefined symbol: FT_Get_Var_Blend_Coordinates
WARNING plugin-init.cc:102 [start_plugin]: GTK Interface failed to start.
ERROR plugin-load.cc:72 [plugin_load]: /usr/lib64/audacious/General/skins.so could not be loaded: /usr/lib64/../lib64/libharfbuzz.so.0: undefined symbol: FT_Get_Var_Blend_Coordinates
WARNING plugin-init.cc:102 [start_plugin]: Winamp Classic Interface failed to start.
ERROR plugin-init.cc:147 [start_required]: No interface plugin found.
(Did you forget to install audacious-plugins?)
Aborted

I obtain a copy of the "official" tree through a nightly rsync job. The remote server is rsync.osuosl.org::slackware/ . For the record, I use Eric's mirror script, but I haven't upgraded it in a while:

Code:

# $Id: mirror-slackware-current.sh,v 1.78 2010/03/25 18:41:09 root Exp root $
@Eric, also for the record, I use your VLC package. ^_^

Anyway, next I deleted the "official" harfbuzz-1.4.7 package and rsynced again. Unfortunately, the newly downloaded copy shows the same issue. So I installed my self-compiled package and now everything works fine.

willysr 07-30-2017 10:58 AM

@Martinus2u: What is your VLC package version ?

gmgf 07-30-2017 11:16 AM

vlc and audacious work perfectly here on current, are you sure that you have installed the x86_64 packages ?

Martinus2u 07-30-2017 11:29 AM

@willysr: we can leave vlc completely out of the discussion (for the record it is vlc-2.2.6-x86_64-1alien). let's focus on the standard packages:

slackware64-current/slackware64/l/harfbuzz-1.4.7-x86_64-1.txz
slackware64-current/slackware64/xap/audacious-3.8.2-x86_64-1.txz
slackware64-current/slackware64/xap/audacious-plugins-3.8.2-x86_64-3.txz

@gmgf: yes I am sure

ponce 07-30-2017 11:31 AM

Quote:

Originally Posted by Martinus2u (Post 5741747)
The plot thickens. This time I compiled harfbuzz-1.4.7 locally. The self-compiled package works well. However, my "official" harfbuzz-1.4.7 package does not. The latter produces

Code:

$ audacious
ERROR plugin-load.cc:72 [plugin_load]: /usr/lib64/audacious/General/gtkui.so could not be loaded: /usr/lib64/../lib64/libharfbuzz.so.0: undefined symbol: FT_Get_Var_Blend_Coordinates
WARNING plugin-init.cc:102 [start_plugin]: GTK Interface failed to start.


could it be you are using there a custom freetype package < 2.8.x or you have custom freetype libraries installed somewhere (like /usr/local/lib64)?
FT_Get_Var_Blend_Coordinates is a freetype 2.8.x function.

looking around a little on google your issue seems pretty common between people installing the infinality bundle that, in fact, includes a custom freetype.

Bindestreck 07-30-2017 01:06 PM

Can confirm that I also had that error because of Infinality installed. I removed Infinality and installed the Slackware official freetype package which removed the error.

Martinus2u 07-30-2017 01:09 PM

good find. indeed that is the explanation. my freetype is stuck at 2.6.3 since the infiniality bundle stopped being maintained.

And the harfbuzz configure script checks for FT_Get_Var_Blend_Coordinates. Thats why a local compiler build works.

So ultimately I will have to find another solution to get decent font rendering. Sigh. why can't anything be simple.

Alien Bob 07-30-2017 01:45 PM

On Slackware-current you can edit the file /etc/profile.d/freetype.sh and enable:
Code:

export FREETYPE_PROPERTIES="truetype:interpreter-version=38"
by removing the '#' in front of it. The infinality mode is now part of Freetype itself, and you might not need more.

Daedra 07-30-2017 02:24 PM

Infinality is more or less obsolete now because, like Alien Bob said, much of the infinality code has been merged into freetype. See this post I made a while back. Follow it and you will get fonts that are basically identical to infinality.

http://www.linuxquestions.org/questi...ml#post5703329

I talk about freetype 2.7.1 in the post but it is the same for 2.8 that is now in -current

Martinus2u 07-30-2017 03:31 PM

Thanks Eric and Daedra. I followed the advice and now I'm running on standard Slackware again. Visually I'd say that the small fonts don't look so great. I shall look into tweaking the renderer.


All times are GMT -5. The time now is 01:28 AM.