Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dev-lang/erlang-20.3.2 wxwidgets dep/use no longer optional?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
jeffk
l33t
l33t


Joined: 13 Sep 2003
Posts: 671

PostPosted: Sun Apr 22, 2018 1:47 am    Post subject: dev-lang/erlang-20.3.2 wxwidgets dep/use no longer optional? Reply with quote

dev-lang/erlang-20.3.2.ebuild has updated dependencies, and wxwidgets is no longer an optional dependency. Did upstream erlang make this change between 20.3 and 20.3.2, or is wxwidgets (and opengl) actually optional?

Code:
[ebuild  N     ] app-eselect/eselect-wxwidgets-20140423::gentoo  0 KiB
[ebuild  N     ] app-eselect/eselect-notify-send-0.1::gentoo  0 KiB
[ebuild  N     ] virtual/notification-daemon-0::gentoo  USE="-gnome -kde" 0 KiB
[ebuild  N     ] x11-libs/libnotify-0.7.7::gentoo  USE="introspection {-test}"
       ABI_X86="(64) -32 (-x32)" 279 KiB
[ebuild  N     ] x11-libs/wxGTK-3.0.3:3.0::gentoo  USE="X libnotify opengl sdl tiff
       (-aqua) -debug -doc -gstreamer" ABI_X86="(64) -32 (-x32)" 19,667 KiB
[ebuild     U  ] dev-lang/erlang-20.3.2::gentoo [20.3::gentoo] USE="odbc ssl
       -dirty-schedulers -doc -emacs -hipe -java -kpoll -libressl -sctp -smp -systemd -tk
       (-compat-ethread%) (-wxwidgets%)" 53,548 KiB

Code:
diff -u erlang-20.3.ebuild erlang-20.3.2.ebuild
(...)
-IUSE="compat-ethread dirty-schedulers doc emacs hipe java kpoll libressl odbc smp sctp ssl systemd tk wxwidgets"
+IUSE="dirty-schedulers doc emacs hipe java kpoll libressl odbc smp sctp ssl systemd tk"
(...)
 DEPEND="${RDEPEND}
-       wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X,opengl] virtual/glu )
+       dev-lang/perl
        sctp? ( net-misc/lksctp-tools )
+       sys-libs/zlib
        tk? ( dev-lang/tk )
+       x11-libs/wxGTK:${WX_GTK_VER}[X,opengl]
+       virtual/glu
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30909
Location: here

PostPosted: Sun Apr 22, 2018 6:26 am    Post subject: Reply with quote

Code:
commit 76340e6f028622381968af8a81e0b6d7bce2e963
Author: Nick Sarnie <commendsarnex@gmail.com>
Date:   Mon Apr 16 23:29:54 2018 -0400

    dev-lang/erlang: Version bump to 20.3.2
   
    This change includes a major update to the ebuild. I, with guidance from gokturk, have fixed many mistakes and
    cleaned up the ebuild. The build system is difficult to work with, and requires some special autoconf work to get the
    correct configure scripts generated. In addition, please note that the erlang.org and github releases for the same version
    are different, the biggest factor being that the erlang.org release includes precompiled binaries, while the github
    release does not.
   
    Please also note that I have dropped the "wxwidgets" USE flag, as upstream unconditionally links against it
   
    Signed-off-by: Nick Sarnie <commendsarnex@gmail.com>
   
    Package-Manager: Portage-2.3.28, Repoman-2.3.9

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
jeffk
l33t
l33t


Joined: 13 Sep 2003
Posts: 671

PostPosted: Mon Apr 23, 2018 3:44 pm    Post subject: Reply with quote

Wow. I greatly appreciate the work commendsarnex and gokturk are doing to support a challenging build process. Regarding "upstream (erlang) links unconditionally against (wxwidgets)", I wonder does that mean erlang will link unconditionally if it finds wxwidgets, or the erlang build will halt and fail if it doesn't find wxwidgets?

Are there sandbox features of Portage that can hide wxwidgets from a build process that does not have configurable linking?

Thanks for the info.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum