Bug 295702 - graphics/fractgen: Update to new release 3.0.11
Summary: graphics/fractgen: Update to new release 3.0.11
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Yusuf Yaman
URL: https://www.nntb.no/~dreibh/fractalge...
Keywords:
Depends on:
Blocks:
 
Reported: 2026-05-29 17:34 UTC by Thomas Dreibholz
Modified: 2026-06-06 23:15 UTC (History)
2 users (show)

See Also:


Attachments
The diff file (26.81 KB, patch)
2026-05-29 17:34 UTC, Thomas Dreibholz
thomas.dreibholz: maintainer-approval+
Details | Diff
0001-graphics-fractgen-Improve-port.patch (4.07 KB, patch)
2026-06-06 16:13 UTC, Yusuf Yaman
nxjoseph: maintainer-approval? (vvd)
Details | Diff
v1 (29.62 KB, patch)
2026-06-06 23:12 UTC, Vladimir Druzenko
no flags Details | Diff
v2 (29.62 KB, patch)
2026-06-06 23:15 UTC, Vladimir Druzenko
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Dreibholz 2026-05-29 17:34:33 UTC
Created attachment 271327 [details]
The diff file

The latest upstream version of fractgen is 3.0.11.
Therefore, the port graphics/fractgen needs an update.

This version provides build options enhancements, allowing flexible components configuration for the FreeBSD port. Particularly, it also allows to build the KDE version now (off by default).

Fix: The updated diff file fractgen-3.0.11.diff is attached.
Comment 1 commit-hook freebsd_committer freebsd_triage 2026-06-06 11:25:34 UTC
A commit in branch main references this bug:

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

commit d2afd1be751b318e357ece962685bab1aaf0f97c
Author:     Thomas Dreibholz <thomas.dreibholz@gmail.com>
AuthorDate: 2026-06-04 19:29:13 +0000
Commit:     Yusuf Yaman <nxjoseph@FreeBSD.org>
CommitDate: 2026-06-06 11:24:48 +0000

    graphics/fractgen: Update 3.0.8 => 3.0.11

    Changelog:
    https://github.com/dreibh/fractgen/blob/fractgen-3.0.11/ChangeLog
    Commit log:
    https://github.com/dreibh/fractgen/compare/fractgen-3.0.8...fractgen-3.0.11

    Port changes:
    - Revise USES.
    - Populate OPTIONS and add KDE option off by default.
    - Update pkg-descr.

    PR:             295702
    Reported by:    Thomas Dreibholz (maintainer)
    Approved by:    osa, vvd (Mentors, implicit)

 graphics/fractgen/Makefile  |  36 ++-
 graphics/fractgen/distinfo  |   6 +-
 graphics/fractgen/pkg-descr |  13 +-
 graphics/fractgen/pkg-plist | 607 ++++++++++++++++++++++----------------------
 4 files changed, 349 insertions(+), 313 deletions(-)
Comment 2 Yusuf Yaman freebsd_committer freebsd_triage 2026-06-06 11:27:01 UTC
Hi,

Thank you for your submission.

I have tested build in Poudriere on 14.4-RELEASE-amd64-main-eb44fd6267a8 and it seems OK (Tested KDE option too).

Committed, thanks.
Comment 3 Vladimir Druzenko freebsd_committer freebsd_triage 2026-06-06 11:53:57 UTC
+FRACTGEN_KDE_LIB_DEPENDS=	libKF6ConfigWidgets.so:x11-toolkits/kf6-kconfigwidgets \
FRACTGEN_KDE_USE=		KDE=configwidgets

+				libKF6ColorScheme.so:x11-themes/kf6-kcolorscheme \
FRACTGEN_KDE_USE=		KDE=colorscheme

+				libKF6ConfigGui.so:devel/kf6-kconfig \
+				libKF6ConfigCore.so:devel/kf6-kconfig \
FRACTGEN_KDE_USE=		KDE=config

+				libKF6GuiAddons.so:x11-toolkits/kf6-kguiaddons
FRACTGEN_KDE_USE=		KDE=guiaddons
Comment 4 Vladimir Druzenko freebsd_committer freebsd_triage 2026-06-06 11:55:41 UTC
2. Why names so long:
+OPTIONS_DEFINE=			FRACTGEN_CLI \
+				FRACTGEN_KDE \
+				FRACTGEN_QT \
Why not just: CLI, KDE, QT?
Comment 5 Vladimir Druzenko freebsd_committer freebsd_triage 2026-06-06 11:58:22 UTC
3.
OPTIONS_DEFAULT=		${OPTIONS_DEFINE:NFRACTGEN_KDE}
You have just 4 options, one of them is default (EXAMPLES) - use:
OPTIONS_DEFAULT=		CLI QT
Look much simpler.
Comment 6 Vladimir Druzenko freebsd_committer freebsd_triage 2026-06-06 12:00:37 UTC
4. Wrong order:
+%%EXAMPLES%%%%DATADIR%%/examples/zeta12.fsf
+%%FRACTGEN_CLI%%bin/clifractgen

DATADIR=share/fractgen

After substitution correct order is:
bin/clifractgen
share/fractgen/examples/zeta12.fsf
Comment 7 Yusuf Yaman freebsd_committer freebsd_triage 2026-06-06 16:13:09 UTC
Created attachment 271556 [details]
0001-graphics-fractgen-Improve-port.patch

Hi Vladimir,

Thank you for the improvements! Indeed, the Makefile seems to be simpler now.

Can you confirm that the adjustments I did are right?
Comment 8 Vladimir Druzenko freebsd_committer freebsd_triage 2026-06-06 20:16:33 UTC
5. Default value of "EXAMPLES_DESC=Build and/or install examples" - why redefine it?
Comment 9 Vladimir Druzenko freebsd_committer freebsd_triage 2026-06-06 20:44:28 UTC
6. Correct order:
%%EXAMPLES%%%%DATADIR%%/examples/zeta11.fsf
%%EXAMPLES%%%%DATADIR%%/examples/zeta12.fsf
%%DATADIR%%/fractgen_de.qm
%%DATADIR%%/fractgen_nb.qm
Comment 10 Yusuf Yaman freebsd_committer freebsd_triage 2026-06-06 22:44:38 UTC
(In reply to Vladimir Druzenko from comment #8)
You're right, it means the same.

diff --git a/graphics/fractgen/Makefile b/graphics/fractgen/Makefile
index a73a27f31e14..435af7334eaa 100644
--- a/graphics/fractgen/Makefile
+++ b/graphics/fractgen/Makefile
@@ -20,7 +20,6 @@ OPTIONS_DEFAULT=      CLI QT
 OPTIONS_SUB=           yes

 CLI_DESC=              Build the command-line version
-EXAMPLES_DESC=         Include example files
 KDE_DESC=              Build the KDE version
 QT_DESC=               Build the Qt version

diff --git a/graphics/fractgen/pkg-plist b/graphics/fractgen/pkg-plist
index 4e9a436b2b5b..07ba115afb50 100644
--- a/graphics/fractgen/pkg-plist
+++ b/graphics/fractgen/pkg-plist
@@ -6,8 +6,6 @@
 %%CLI%%share/bash-completion/completions/clifractgen
 %%QT%%share/bash-completion/completions/fractgen
 %%KDE%%share/bash-completion/completions/kfractgen
-%%DATADIR%%/fractgen_de.qm
-%%DATADIR%%/fractgen_nb.qm
 %%EXAMPLES%%%%DATADIR%%/examples/alpha01.fsf
 %%EXAMPLES%%%%DATADIR%%/examples/alpha02.fsf
 %%EXAMPLES%%%%DATADIR%%/examples/alpha03.fsf
@@ -300,6 +298,8 @@
 %%EXAMPLES%%%%DATADIR%%/examples/zeta10.fsf
 %%EXAMPLES%%%%DATADIR%%/examples/zeta11.fsf
 %%EXAMPLES%%%%DATADIR%%/examples/zeta12.fsf
+%%DATADIR%%/fractgen_de.qm
+%%DATADIR%%/fractgen_nb.qm
 share/icons/hicolor/512x512/apps/fractgen.png
 %%CLI%%share/man/man1/clifractgen.1.gz
 %%QT%%share/man/man1/fractgen.1.gz

How is it now?
Comment 11 Vladimir Druzenko freebsd_committer freebsd_triage 2026-06-06 23:12:37 UTC
Created attachment 271566 [details]
v1

Check this patch.
Comment 12 Vladimir Druzenko freebsd_committer freebsd_triage 2026-06-06 23:15:26 UTC
Created attachment 271567 [details]
v2