tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Fix for x11-links to build wm/libAppleWM on macOS



			Hi tech-pkg@,

in order for wm/libAppleWM to find applewmproto.pc on macOS and build as expected, I had to modify pkgtools/x11-links as per the patch attached. I have Xquartz installed locally in /opt/X11, and X11_TYPE is set to "native" as per the default on macOS.

I am not familiar with this infrastructure in pkgsrc and would appreciate feedback on this change.

Background story: I was curious about building x11/modular-xorg-xquartz and once I got wm/libAppleWM to build, it still choke on x11/xterm (couldn't find -lXaw7 when testing for -lregex iirc).

Cheers & HTH,
--
khorben
diff --git a/pkgtools/x11-links/files/xorg.xorgproto b/pkgtools/x11-links/files/xorg.xorgproto
index e9adff7db7db..4afb3cd1c25b 100644
--- a/pkgtools/x11-links/files/xorg.xorgproto
+++ b/pkgtools/x11-links/files/xorg.xorgproto
@@ -65,6 +65,9 @@ include/X11/extensions/Xvproto.h
 include/X11/extensions/Xxf86dga.h
 include/X11/extensions/ag.h
 include/X11/extensions/agproto.h
+include/X11/extensions/applewm.h
+include/X11/extensions/applewmconst.h
+include/X11/extensions/applewmproto.h
 include/X11/extensions/bigreqsproto.h
 include/X11/extensions/bigreqstr.h
 include/X11/extensions/composite.h
@@ -147,6 +150,8 @@ include/X11/fonts/fontproto.h
 include/X11/fonts/fontstruct.h
 include/X11/keysym.h
 include/X11/keysymdef.h
+lib/pkgconfig/applewm.pc
+lib/pkgconfig/applewmproto.pc
 lib/pkgconfig/bigreqsproto.pc
 lib/pkgconfig/compositeext.pc
 lib/pkgconfig/compositeproto.pc


Home | Main Index | Thread Index | Old Index