[yoshimi] Re: Something Odd

  • From: Rob Couto <dbtx11@xxxxxxxxx>
  • To: yoshimi@xxxxxxxxxxxxx
  • Date: Sat, 9 Dec 2017 10:14:01 -0500

On 12/9/17, Will Godfrey <willgodfrey@xxxxxxxxxxxxxxx> wrote:

On Sat, 9 Dec 2017 19:22:43 +0500
"Nikita Zlobin" <dmarc-noreply@xxxxxxxxxxxxx> (Redacted sender
"cook60020tmp"
for DMARC) wrote:

At Sat, 9 Dec 2017 12:21:35 +0000
Will Godfrey <willgodfrey@xxxxxxxxxxxxxxx> wrote:

I just had a look at our dependency list and in particular two items
that have always puzzled me:

libjpeg-dev
libxinerama-dev

Nothing in Yoshimi needs these yet I know in the past it wouldn't
compile without them. My best guess was that in some obscure way they
were needed by one of our genuine dependencies.

Still, I decided to remove them, and Yoshimi compiles quite happily.
To be sure, I completely cleared out Yoshimi's build, checked I could
see no evidence of these .dev files then rebooted.

Yoshimi still compiled and ran without problems.

I have no idea what could possibly have needed these, so in the next
commit to play safe they will stay in the list, but marked as "may
not be needed"


Xinerama!

# fltk-config --cflags --ldflags
-I/usr/include/fltk -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_THREAD_SAFE -D_REENTRANT -L/usr/lib64/fltk
-Wl,-rpath,/usr/lib64/fltk -lfltk -lXcursor -lXfixes -lXext -lXft
-lfontconfig -lXinerama -lpthread -ldl -lm -lX11

All very interesting.

We use FLTKs image package for the splash screen but that's png, not jpeg.
I still don't understand why FLTK wants to pull in Xinerama - Yoshimi has
no
multi-screen interest.

Because all of that gets chosen at compile-time-- the external
library's compile-time. Whoever maintains the package for the distro
gets to decide which dependencies will get dragged in for *everyone*,
in case *anyone* needs them-- unless you're into compiling literally
everything as with LFS or Gentoo or Funtoo. </shameless plug>

-- 
Rob
Yoshimi source code is available from either: 
https://sourceforge.net/projects/yoshimi
Or: https://github.com/Yoshimi/yoshimi
Our list archive is at: https://www.freelists.org/archive/yoshimi
To post, email to yoshimi@xxxxxxxxxxxxx

Other related posts: