Bug 293436 - [NEW PORT] deskutils/xdpi: X11 DPI information retrieval
Summary: [NEW PORT] deskutils/xdpi: X11 DPI information retrieval
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: Dirk Meyer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-02-25 08:49 UTC by Benjamin Takacs
Modified: 2026-02-27 16:49 UTC (History)
1 user (show)

See Also:


Attachments
deskutils/xdpi: X11 DPI information retrieval (3.07 KB, patch)
2026-02-25 08:49 UTC, Benjamin Takacs
no flags Details | Diff
deskutils/xdpi: X11 DPI information retrieval (2.89 KB, patch)
2026-02-27 08:33 UTC, Benjamin Takacs
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Takacs 2026-02-25 08:49:56 UTC
Created attachment 268342 [details]
deskutils/xdpi: X11 DPI information retrieval

The attached port retrieves dpi information from X11, most important is the XRandR information, as that is per monitor and you can see if your X server probably detected your mixed-dpi setup.

QA:

  * portlint: OK (looks fine.)
  * testport: OK (poudriere: 14.3, amd64 tested)
  * runs fine
Comment 1 Dirk Meyer freebsd_committer freebsd_triage 2026-02-26 15:21:02 UTC
Your port looks fine.

https://bz-attachments.freebsd.org/attachment.cgi?id=268342&action=diff&format=raw&headers=1

But the patch does not:
Makefile" line 28: Invalid line type

Problem: all TAB in your patch have been replaced by spaces.

please upload again.
Comment 2 Benjamin Takacs 2026-02-27 08:33:39 UTC
Created attachment 268394 [details]
deskutils/xdpi: X11 DPI information retrieval

(In reply to Dirk Meyer from comment #1)
I shouldn't have tried to be lazy by using that "paste text as attachment" feature of bugzilla and should just have generated a file and attached that.
Comment 3 commit-hook freebsd_committer freebsd_triage 2026-02-27 16:45:53 UTC
A commit in branch main references this bug:

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

commit 3d04942b69d92591c2769d170c3e90b95d17d2a6
Author:     Dirk Meyer <dinoex@FreeBSD.org>
AuthorDate: 2026-02-27 16:45:27 +0000
Commit:     Dirk Meyer <dinoex@FreeBSD.org>
CommitDate: 2026-02-27 16:45:27 +0000

    deskutils/xdpi: X11 DPI information retrieval

    PR: 293436

 deskutils/Makefile | 1 +
 1 file changed, 1 insertion(+)
Comment 4 commit-hook freebsd_committer freebsd_triage 2026-02-27 16:46:54 UTC
A commit in branch main references this bug:

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

commit fda060c4bb7b05c5201e42d84e020605ede197c3
Author:     Dirk Meyer <dinoex@FreeBSD.org>
AuthorDate: 2026-02-27 16:46:10 +0000
Commit:     Dirk Meyer <dinoex@FreeBSD.org>
CommitDate: 2026-02-27 16:46:10 +0000

    deskutils/xdpi: X11 DPI information retrieval

    PR: 293436

 deskutils/xdpi/Makefile (new)             | 30 ++++++++++++++++++++++++++++++
 deskutils/xdpi/distinfo (new)             |  3 +++
 deskutils/xdpi/files/patch-Makefile (new) | 10 ++++++++++
 deskutils/xdpi/pkg-descr (new)            |  7 +++++++
 4 files changed, 50 insertions(+)
Comment 5 Dirk Meyer freebsd_committer freebsd_triage 2026-02-27 16:48:58 UTC
Committed, Thanks