NetBSD Problem Report #58407

From mccd@bsd.lt  Sun Jul  7 16:32:25 2024
Return-Path: <mccd@bsd.lt>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
	 client-signature RSA-PSS (2048 bits) client-digest SHA256)
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 189001A9238
	for <gnats-bugs@gnats.NetBSD.org>; Sun,  7 Jul 2024 16:32:25 +0000 (UTC)
Message-Id: <20240705185019.A1623B200A9@bsd.lt>
Date: Fri,  5 Jul 2024 13:50:19 -0500 (-05)
From: marc@mccd.space
Reply-To: marc@mccd.space
To: gnats-bugs@NetBSD.org
Subject: Adwaita icon theme is not installed correctly
X-Send-Pr-Version: 3.95

>Number:         58407
>Category:       pkg
>Synopsis:       Xcursor theme is not
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 07 16:35:00 +0000 2024
>Last-Modified:  Wed Mar 25 22:00:02 +0000 2026
>Originator:     marc@mccd.space
>Release:        NetBSD 10.0
>Organization:
>Environment:
System: NetBSD bsd.lt 10.0 NetBSD 10.0 (GENERIC) #0: Thu Mar 28 08:33:33 UTC 2024 mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
	After installing adwaita-icon-theme, I had issues setting it up,
	even though I added Adwaita to my .Xresources.

	In most distros I've used, that should be sufficient.
>How-To-Repeat:
	Install netbsd, adwaita-icon-theme, add Xcursor*theme: Adwaita
	to .Xresources. On CWM, the cursor theme is not applied.

	Similarly adding Adwaita to Xresources for xdm does not apply 
	it.

>Fix:
	The reason I think it occurs is because XCURSOR_PATH does not include

	/usr/pkg/share/icons

	by default.

	Therefore, updating the environment variable to include the path
	should fix it.

	Another way to solve it is by symlinking Adwaita cursor theme folder to
	/usr/share/icons, but that seems like a less good solution.

	I am happy to supply my first patch as I want to contribute.  However
	before that, I'd love to get feedback on where it is most appropriate
	to make the changes.  My thinking is:

	- Change default Xsession for xdm to include the environment variable 
	XCURSOR_PATH set to include /usr/pkg/share/icons

	- Change default .profile to include the environment variable 
	XCURSOR_PATH set to include /usr/pkg/share/icons

	Would that be appropriate?

>Audit-Trail:
From: "matthew green" <mrg@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/58407 CVS commit: src/external/mit/xorg/lib/libXcursor
Date: Wed, 25 Mar 2026 21:55:09 +0000

 Module Name:	src
 Committed By:	mrg
 Date:		Wed Mar 25 21:55:08 UTC 2026

 Modified Files:
 	src/external/mit/xorg/lib/libXcursor: Makefile

 Log Message:
 libXcursor: use a valid setting for XCURSORPATH

 also fix the man page build to have the same list (from Petre Rodan).

 should fix PR#58407, and partially fix PR#59782.

 XXX: pullup-11, maybe others


 To generate a diff of this commit:
 cvs rdiff -u -r1.8 -r1.9 src/external/mit/xorg/lib/libXcursor/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.49 2026/05/14 01:52:41 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.