Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Oct 2020 23:59:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 250036] x11/xterm: fixup pixmap directory path
Message-ID:  <bug-250036-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250036

            Bug ID: 250036
           Summary: x11/xterm: fixup pixmap directory path
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ehaupt@FreeBSD.org
          Reporter: sigsys@gmail.com
             Flags: maintainer-feedback?(ehaupt@FreeBSD.org)
          Assignee: ehaupt@FreeBSD.org

The path for pixmap files in misc.c doesn't match where they end up being
installed:

#ifndef PIXMAP_ROOTDIR=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20
#define PIXMAP_ROOTDIR "/usr/share/pixmaps/"=20=20=20=20=20=20=20
#endif

This makes the "iconHint" resource not work (when attempting to set it
explicitly).  It always fallsback to default because it can't find the file.


Index: x11/xterm/Makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- x11/xterm/Makefile  (revision 550760)
+++ x11/xterm/Makefile  (working copy)
@@ -89,6 +89,10 @@
                ${WRKDIR}/bsd-xterm-icons-1/*.xpm \
                        ${WRKSRC}/icons/

+post-patch:
+       @${REINPLACE_CMD} -e
"s|\"/usr/share/pixmaps/\"|\"${LOCALBASE}/share/pixmaps/\"|g" \
+               "${WRKSRC}/misc.c"
+
 post-install:
 .for f in koi8rxterm resize uxterm xterm
        @${CHMOD} ${BINMODE} ${STAGEDIR}${PREFIX}/bin/${f}

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-250036-7788>