[Slackbuilds-users] MEGAsync required deps?

Fernando Lopez fernando.lopezjr at gmail.com
Sat Mar 10 23:18:09 UTC 2018


yeah I get your point, Jeremy and Watson... but in this case FreeImage is
not being used
at all by the program... not even with the switch "--with-freeimage"

I don't think "--with-freeimage" is a valid switch or needed dependency for
this program.

I compiled all requirements: "libuv", "FreeImage", "cryptopp",
"c-ares", "libsodium"
then I
compiled megasync from sbo.

MEGAsync is not using FreeImage at all. It is not needed.

I used a virtual machine with clean slackware 14.2

this is the ldd of megasync:
linux-vdso.so.1 (0x00007ffe49767000) libuv.so.1 => /usr/lib64/libuv.so.1
(0x00007f0835f4d000) libsqlite3.so.0 => /usr/lib64/libsqlite3.so.0
(0x00007f0835c7b000) librt.so.1 => /lib64/librt.so.1 (0x00007f0835a73000)
libcurl.so.4 => /usr/lib64/libcurl.so.4 (0x00007f0835803000) libz.so.1 =>
/lib64/libz.so.1 (0x00007f08355ed000) libcryptopp.so.5.6 =>
/usr/lib64/libcryptopp.so.5.6 (0x00007f0835029000) libcares.so.2 =>
/usr/lib64/libcares.so.2 (0x00007f0834e17000) libsodium.so.23 =>
/usr/lib64/libsodium.so.23 (0x00007f0834bc0000) libssl.so.1 =>
/lib64/libssl.so.1 (0x00007f083494e000) libcrypto.so.1 =>
/lib64/libcrypto.so.1 (0x00007f08344fe000) libdl.so.2 => /lib64/libdl.so.2
(0x00007f08342f9000) libQtDBus.so.4 => /usr/lib64/qt/lib/libQtDBus.so.4
(0x00007f0834073000) libQtXml.so.4 => /usr/lib64/qt/lib/libQtXml.so.4
(0x00007f0833e2e000) libQtSvg.so.4 => /usr/lib64/qt/lib/libQtSvg.so.4
(0x00007f0833bd4000) libQtGui.so.4 => /usr/lib64/qt/lib/libQtGui.so.4
(0x00007f0832ed8000) libQtNetwork.so.4 =>
/usr/lib64/qt/lib/libQtNetwork.so.4 (0x00007f0832b83000) libQtCore.so.4 =>
/usr/lib64/qt/lib/libQtCore.so.4 (0x00007f0832688000) libpthread.so.0 =>
/lib64/libpthread.so.0 (0x00007f083246b000) libstdc++.so.6 =>
/usr/lib64/libstdc++.so.6 (0x00007f08320f1000) libm.so.6 =>
/lib64/libm.so.6 (0x00007f0831de7000) libgcc_s.so.1 =>
/usr/lib64/libgcc_s.so.1 (0x00007f0831bd0000) libc.so.6 => /lib64/libc.so.6
(0x00007f0831807000) libnsl.so.1 => /lib64/libnsl.so.1 (0x00007f08315ec000)
libicui18n.so.56 => /usr/lib64/libicui18n.so.56 (0x00007f083115b000)
libicuuc.so.56 => /usr/lib64/libicuuc.so.56 (0x00007f0830dc3000)
libicudata.so.56 => /usr/lib64/libicudata.so.56 (0x00007f082f3df000)
libidn.so.11 => /usr/lib64/libidn.so.11 (0x00007f082f1ac000) libssh2.so.1
=> /usr/lib64/libssh2.so.1 (0x00007f082ef7f000) liblber-2.4.so.2 =>
/usr/lib64/liblber-2.4.so.2 (0x00007f082ed70000) libldap-2.4.so.2 =>
/usr/lib64/libldap-2.4.so.2 (0x00007f082eb27000)
/lib64/ld-linux-x86-64.so.2 (0x000055c5ae190000) libgthread-2.0.so.0 =>
/usr/lib64/libgthread-2.0.so.0 (0x00007f082e925000) libglib-2.0.so.0 =>
/usr/lib64/libglib-2.0.so.0 (0x00007f082e5ef000) libpng16.so.16 =>
/usr/lib64/libpng16.so.16 (0x00007f082e3bd000) libfreetype.so.6 =>
/usr/lib64/libfreetype.so.6 (0x00007f082e120000) libgobject-2.0.so.0 =>
/usr/lib64/libgobject-2.0.so.0 (0x00007f082decf000) libSM.so.6 =>
/usr/lib64/libSM.so.6 (0x00007f082dcc8000) libICE.so.6 =>
/usr/lib64/libICE.so.6 (0x00007f082daac000) libXrender.so.1 =>
/usr/lib64/libXrender.so.1 (0x00007f082d8a3000) libfontconfig.so.1 =>
/usr/lib64/libfontconfig.so.1 (0x00007f082d667000) libXext.so.6 =>
/usr/lib64/libXext.so.6 (0x00007f082d454000) libX11.so.6 =>
/usr/lib64/libX11.so.6 (0x00007f082d117000) libresolv.so.2 =>
/lib64/libresolv.so.2 (0x00007f082cefb000) libsasl2.so.3 =>
/usr/lib64/libsasl2.so.3 (0x00007f082ccdf000) libharfbuzz.so.0 =>
/usr/lib64/libharfbuzz.so.0 (0x00007f082ca61000) libbz2.so.1 =>
/lib64/libbz2.so.1 (0x00007f082c850000) libffi.so.6 =>
/usr/lib64/../lib64/libffi.so.6 (0x00007f082c648000) libuuid.so.1 =>
/lib64/libuuid.so.1 (0x00007f082c443000) libxcb.so.1 =>
/usr/lib64/libxcb.so.1 (0x00007f082c224000) libXau.so.6 =>
/usr/lib64/libXau.so.6 (0x00007f082c021000) libXdmcp.so.6 =>
/usr/lib64/libXdmcp.so.6 (0x00007f082be1b000) libexpat.so.1 =>
/usr/lib64/libexpat.so.1 (0x00007f082bbf2000)


and this is the contents of FreeImage-3.17.0-x86_64-1_SBo.tgz sbo package:
drwxr-xr-x root/root 0 2018-03-10 16:00 ./ drwxr-xr-x root/root 0
2018-03-10 16:00 install/ -rw-r--r-- root/root 450 2018-03-10 16:00
install/doinst.sh -rw-r--r-- root/root 974 2018-03-10 16:00
install/slack-desc drwxr-xr-x root/root 0 2018-03-10 16:00 usr/ drwxr-xr-x
root/root 0 2018-03-10 16:00 usr/include/ -rw-r--r-- root/root 57727
2018-03-10 16:00 usr/include/FreeImage.h -rw-r--r-- root/root 54371
2018-03-10 16:00 usr/include/FreeImagePlus.h drwxr-xr-x root/root 0
2018-03-10 16:00 usr/doc/ drwxr-xr-x root/root 0 2018-03-10 16:00
usr/doc/FreeImage-3.17.0/ -rw-r--r-- root/root 17878 2012-02-25 04:16
usr/doc/FreeImage-3.17.0/license-gplv2.txt -rw-r--r-- root/root 77077
2015-03-15 16:16 usr/doc/FreeImage-3.17.0/Whatsnew.txt -rw-r--r-- root/root
2425 2018-03-10 16:00 usr/doc/FreeImage-3.17.0/FreeImage.SlackBuild
drwxr-xr-x root/root 0 2015-03-15 16:18 usr/doc/FreeImage-3.17.0/Examples/
drwxr-xr-x root/root 0 2015-03-15 16:18
usr/doc/FreeImage-3.17.0/Examples/Plugin/ -rw-r--r-- root/root 9455
2004-07-20 09:48 usr/doc/FreeImage-3.17.0/Examples/Plugin/PluginCradle.cpp
-rw-r--r-- root/root 1501 2015-03-02 01:50
usr/doc/FreeImage-3.17.0/Examples/Plugin/PluginCradle.h drwxr-xr-x
root/root 0 2015-03-15 16:18 usr/doc/FreeImage-3.17.0/Examples/OpenGL/
drwxr-xr-x root/root 0 2015-03-15 16:18
usr/doc/FreeImage-3.17.0/Examples/OpenGL/TextureManager/ -rw-r--r--
root/root 3933 2008-01-29 14:13
usr/doc/FreeImage-3.17.0/Examples/OpenGL/TextureManager/TextureManager.cpp
-rw-r--r-- root/root 1426 2015-03-02 01:50
usr/doc/FreeImage-3.17.0/Examples/OpenGL/TextureManager/TextureManager.h
-rw-r--r-- root/root 1124 2008-01-29 14:11
usr/doc/FreeImage-3.17.0/Examples/OpenGL/TextureManager/readme.txt
drwxr-xr-x root/root 0 2015-03-15 16:18
usr/doc/FreeImage-3.17.0/Examples/Linux/ -rw-r--r-- root/root 2181
2010-06-30 16:56 usr/doc/FreeImage-3.17.0/Examples/Linux/linux-gtk.c
-rw-r--r-- root/root 1599 2005-10-23 07:59
usr/doc/FreeImage-3.17.0/Examples/Linux/linux-svgalib.c -rw-r--r--
root/root 568 2010-06-30 16:56
usr/doc/FreeImage-3.17.0/Examples/Linux/Makefile drwxr-xr-x root/root 0
2015-03-15 16:18 usr/doc/FreeImage-3.17.0/Examples/Generic/ -rw-r--r--
root/root 3832 2004-07-20 09:48
usr/doc/FreeImage-3.17.0/Examples/Generic/FIIO_Mem.cpp -rw-r--r-- root/root
10081 2007-01-22 14:25
usr/doc/FreeImage-3.17.0/Examples/Generic/ShowMetadata.cpp -rw-r--r--
root/root 5016 2004-09-04 08:56
usr/doc/FreeImage-3.17.0/Examples/Generic/FIFImportExport.cpp -rw-r--r--
root/root 4265 2007-01-22 14:30
usr/doc/FreeImage-3.17.0/Examples/Generic/LoadFromHandle.cpp -rw-r--r--
root/root 2760 2004-03-29 16:45
usr/doc/FreeImage-3.17.0/Examples/Generic/LoadFromMemory.cpp -rw-r--r--
root/root 3413 2004-09-04 08:56
usr/doc/FreeImage-3.17.0/Examples/Generic/CloneMultiPage.cpp -rw-r--r--
root/root 2555 2015-03-02 01:50
usr/doc/FreeImage-3.17.0/Examples/Generic/FIIO_Mem.h -rw-r--r-- root/root
5650 2007-01-22 14:30
usr/doc/FreeImage-3.17.0/Examples/Generic/CreateAlpha.cpp -rw-r--r--
root/root 2966 2004-03-29 16:45
usr/doc/FreeImage-3.17.0/Examples/Generic/LoadFromMemory-classified.cpp
-rw-r--r-- root/root 6507 2007-01-22 14:30
usr/doc/FreeImage-3.17.0/Examples/Generic/BatchLoad.cpp -rw-r--r--
root/root 2072 2007-09-06 01:08 usr/doc/FreeImage-3.17.0/README.linux
-rw-r--r-- root/root 34801 2012-02-25 04:17
usr/doc/FreeImage-3.17.0/license-gplv3.txt drwxr-xr-x root/root 0
2015-03-15 16:18 usr/doc/FreeImage-3.17.0/TestAPI/ -rw-r--r-- root/root
14124 2014-10-13 17:23 usr/doc/FreeImage-3.17.0/TestAPI/Test.2013.vcxproj
-rw-r--r-- root/root 4672 2015-02-25 11:04
usr/doc/FreeImage-3.17.0/TestAPI/testMemIO.cpp -rw-r--r-- root/root 4047
2014-04-08 06:36 usr/doc/FreeImage-3.17.0/TestAPI/testThumbnail.cpp
-rw-r--r-- root/root 1227 2014-10-12 04:02
usr/doc/FreeImage-3.17.0/TestAPI/Test.2008.sln -rw-r--r-- root/root 9766
2014-03-19 09:03 usr/doc/FreeImage-3.17.0/TestAPI/testJPEG.cpp -rw-r--r--
root/root 3110 2015-03-02 01:50
usr/doc/FreeImage-3.17.0/TestAPI/TestSuite.h -rw-r--r-- root/root 8403
2010-04-26 15:46 usr/doc/FreeImage-3.17.0/TestAPI/testMPageMemory.cpp
-rw-r--r-- root/root 10186 2014-10-01 21:42
usr/doc/FreeImage-3.17.0/TestAPI/Test.2008.vcproj -rw-r--r-- root/root 3970
2014-04-08 07:51 usr/doc/FreeImage-3.17.0/TestAPI/testWrappedBuffer.cpp
-rw-r--r-- root/root 872 2010-02-09 21:46
usr/doc/FreeImage-3.17.0/TestAPI/Test.2005.sln -rw-r--r-- root/root 1610
2004-03-29 16:45 usr/doc/FreeImage-3.17.0/TestAPI/testPlugins.cpp
-rw-r--r-- root/root 6438 2010-04-26 13:19
usr/doc/FreeImage-3.17.0/TestAPI/testMPageStream.cpp -rw-r--r-- root/root
5448 2010-07-11 15:43 usr/doc/FreeImage-3.17.0/TestAPI/Test.2005.vcproj
-rw-r--r-- root/root 3232 2015-02-25 09:08
usr/doc/FreeImage-3.17.0/TestAPI/MainTestSuite.cpp -rw-r--r-- root/root
261497 2015-02-25 09:04 usr/doc/FreeImage-3.17.0/TestAPI/exif.jxr
-rw-r--r-- root/root 123 2004-07-20 09:48
usr/doc/FreeImage-3.17.0/TestAPI/Makefile -rw-r--r-- root/root 7158
2010-07-15 17:22 usr/doc/FreeImage-3.17.0/TestAPI/testHeaderOnly.cpp
-rw-r--r-- root/root 2686 2010-04-24 19:35
usr/doc/FreeImage-3.17.0/TestAPI/testTools.cpp -rw-r--r-- root/root 5933
2010-04-24 18:05 usr/doc/FreeImage-3.17.0/TestAPI/testMPage.cpp -rw-r--r--
root/root 3902 2010-04-24 19:38
usr/doc/FreeImage-3.17.0/TestAPI/testChannels.cpp -rw-r--r-- root/root
44606 2005-01-04 15:34 usr/doc/FreeImage-3.17.0/TestAPI/exif.jpg -rw-r--r--
root/root 14579 2010-08-17 06:10
usr/doc/FreeImage-3.17.0/TestAPI/testImageType.cpp -rw-r--r-- root/root
42913 2004-12-09 13:09 usr/doc/FreeImage-3.17.0/TestAPI/sample.png
-rw-r--r-- root/root 1335 2014-10-12 03:59
usr/doc/FreeImage-3.17.0/TestAPI/Test.2013.sln -rw-r--r-- root/root 17577
2004-03-29 16:45 usr/doc/FreeImage-3.17.0/license-fi.txt drwxr-xr-x
root/root 0 2018-03-10 16:00 usr/lib64/ -rw-r--r-- root/root 11079976
2018-03-10 16:00 usr/lib64/libfreeimage.a -rwxr-xr-x root/root 6306904
2018-03-10 16:00 usr/lib64/libfreeimageplus-3.17.0.so -rwxr-xr-x root/root
6277752 2018-03-10 16:00 usr/lib64/libfreeimage-3.17.0.so -rw-r--r--
root/root 11146412 2018-03-10 16:00 usr/lib64/libfreeimageplus.a





On Sat, Mar 10, 2018 at 3:50 PM, B Watson <yalhcru at gmail.com> wrote:

> On 3/10/18, Jeremy Hansen <jebrhansen+SBo at gmail.com> wrote:
> > Just so you know, a "required" dependency on SBo is something the
> > maintainer decided was required, not necessarily something that is
> actually
> > required for compilation/running. It may provide a feature that the
> > maintainer feels is a big enough deal to make it required on his package.
>
> Thanks for putting that into words. I wish it were part of the SBo
> documentation.
>
> There's a guy on IRC who insists that e.g. my espeak build shouldn't
> have portaudio listed as a dependency, because espeak can be compiled &
> run without it... but if you want it to actually *speak* in realtime
> (instead of rendering to a .wav file), portaudio is required.
>
> Another example: gzdoom can be built & run without OpenAL, but in that
> case it will make NO sound at all, which is definitely not what people
> expect when they play a game of Doom.
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
>
>


-- 

------------
Regards,
    Fernando Lopez Jr.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20180310/feb8c683/attachment-0001.html>


More information about the SlackBuilds-users mailing list