Bug 243880 - lang/erlang Please update WX to 3.1
Summary: lang/erlang Please update WX to 3.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Jimmy Olgeni
URL:
Keywords: buildisok
Depends on:
Blocks:
 
Reported: 2020-02-04 18:26 UTC by Sebastian Stroniewski-Wojtczak
Modified: 2021-10-04 09:25 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (erlang)


Attachments
lang_erlang_Makefile patch to use WX3.1+ instead of WX2.8+ (383 bytes, patch)
2020-02-04 18:26 UTC, Sebastian Stroniewski-Wojtczak
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Stroniewski-Wojtczak 2020-02-04 18:26:40 UTC
Created attachment 211351 [details]
lang_erlang_Makefile patch to use WX3.1+ instead of WX2.8+

Many people have issue with WX2.8 if Dark Theme is used under GUI, that prevents from seeing Processess tab in :observer.start() WxWidget App.

Instead of repairing what is broken in WX2.8, it's better to use WX3.1+ for lang/erlang build from source.

Patch attached and worked as expected. Erlang is supporting WX3.1 since several months.

***

--- lang/erlang/Makefile-orig   2020-02-03 21:31:03.000000000 +0100
+++ lang/erlang/Makefile        2020-02-04 18:43:19.441383000 +0100
@@ -99,7 +99,7 @@
 THREADS_CONFIGURE_ENABLE=      threads
 WX_CONFIGURE_WITH=     wx-config=${WX_CONFIG}
 WX_USES=               gl
-WX_VARS=               USE_WX=2.8+ WX_COMPS="wx contrib" USE_GL="gl glu"
+WX_VARS=               USE_WX=3.1+ WX_COMPS="wx" USE_GL="gl glu"
 
 .include <bsd.port.pre.mk>


***
Comment 1 Automation User 2020-02-19 00:45:30 UTC
Build info is available at https://gitlab.com/swills/freebsd-ports/pipelines/119090557
Comment 2 commit-hook freebsd_committer freebsd_triage 2021-04-10 19:26:18 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=230467c8b24252dc03744acd911eb0e5ca99ce73

commit 230467c8b24252dc03744acd911eb0e5ca99ce73
Author:     Jimmy Olgeni <olgeni@FreeBSD.org>
AuthorDate: 2021-04-08 10:36:51 +0000
Commit:     Jimmy Olgeni <olgeni@FreeBSD.org>
CommitDate: 2021-04-10 19:25:39 +0000

    lang/erlang: update to version 21.3.8.22; unbreak ODBC and PDF.

    - Update WX requirement to 3.1.

    PR:             254767 (ODBC part)
    PR:             243880 (WX part)

 lang/erlang/Makefile | 12 +++++++-----
 lang/erlang/distinfo |  6 +++---
 2 files changed, 10 insertions(+), 8 deletions(-)
Comment 3 Dave Cottlehuber freebsd_committer freebsd_triage 2021-10-04 09:25:53 UTC
thanks Sebastien!