Commit Graph

1621 Commits

Author SHA1 Message Date
nia 05b0f27ac9 Don't install header marked obsolete
pointed out by mrg
2020-12-05 21:36:21 +00:00
rin a8c74629f6 Support aarch64eb in */config.guess.
Cherry-picked from upstream:
https://git.savannah.gnu.org/gitweb/?p=config.git;a=commit;h=1c4398015583eb77bc043234f5734be055e64bea

Everything except external/apache2/llvm/dist/llvm/cmake/config.guess
is patched, which is under vendor tag and cannot be modified. I expect
that this file is not actually used as we use hand-crafted version of
configure script instead of cmake for building LLVM.

Note that external/apache2/llvm/autoconf/autoconf/config.guess has
already been committed on Oct. 20, but commit message disappeared as
cvs aborted due to "permission denied" when trying to modify the file
mentioned above. Sorry for confusing you.

Also note that GMP uses its own config.guess Patch for
external/lgpl3/gmp/dist/config.guess is provided by ryo@. Thanks!
2020-11-17 10:35:10 +00:00
nia d953e5e10c system.ctwmrc: Set Cursors to avoid strange default fallbacks 2020-11-16 14:12:46 +00:00
nia ab1f3176ac libepoxy: Only require egl on ports with egl support.
Reported by martin.
2020-11-07 18:12:16 +00:00
tsutsui 73d56d5b0b Cherry-pick Xorg version independent changes from xorg-server.
Reorganize CPPFLAGS.
2020-11-05 16:06:41 +00:00
nia c9c9883d25 Also deny bitmap Lucida, Utopia from being selected through fontconfig. 2020-11-05 12:13:02 +00:00
mrg fe57d61999 ensure PLATFORM_HAS_EGL and ENABLE_EGL are set consistently. 2020-11-02 06:25:24 +00:00
mrg 4bb3cafea8 adjust for libepoxy 1.5.4. 2020-11-02 04:48:54 +00:00
mrg 335b7a1bb8 transform @xkb_base@ instead of __xkb_base__ now.
should fix build issues reported on -current.
2020-11-02 00:25:46 +00:00
mrg 3448802146 merge new xkeyboard-config 2.31 parts. 2020-11-01 12:07:09 +00:00
nia 87a23a2dff mesa: re-enable GLX TLS to help i386
mesa's assembly code for i386 only seems to be position independent
when compiled with ELF TLS, so having it disabled causes worse problems
than the edge cases ELF TLS causes.

potentially the assembly code could be fixed (it looks like it not
being safe is a bug), it could also be disabled, but i don't currently
have the means to measure the impact of that.
2020-10-31 13:28:22 +00:00
nia bf99f1741c xorg: retire XTrap library and sample clients
the DEC-XTRAP extension is deprecated since 1994, so modern X servers do
not support it

the library was removed from pkgsrc last year and is not required by
anything not-sample-client related in src

if you try to query the protocol on netbsd, you get the following:

$ xtrapproto
Display:  :0.0
Warning: Can't load DEC-XTRAP extension
xtrapproto: could not initialize extension
2020-10-28 08:10:08 +00:00
nia 4640ade553 xorg: obsolete libXevie
this is a library for an X server extension that the modern Xorg server
does not have.

it no longer has any users in src or pkgsrc.
2020-10-27 13:42:22 +00:00
nia 714022aa67 xdm(8): fix definitions of truetype fonts in the default resource file
we don't ship with a truetype helvetica.
2020-10-26 16:24:09 +00:00
nia 07022a1965 Unhook libglut (MesaGLUT) from the build.
The GL Utility Library was formerly a core part of most OpenGL
distributions.

Originally, this version of libglut was developed as part of Mesa (the
primary OpenGL implementation used in NetBSD) before it was mostly abandoned
and work moved to the freeglut fork. It provides a platform-neutral way of
creating OpenGL contexts, something that many other libraries can also do
today (e.g. SDL, glfw).

All users in pkgsrc have been switched to the freeglut fork and there are no
remaining users of this library in src. If having a GLUT implementation in
base turns out to be particularly useful outside of compatibility with
previous NetBSD versions, we can import freeglut (which, AFAIK, is also
ABI compatible with MesaGLUT).
2020-10-25 16:59:27 +00:00
maya d7187d6c73 Build fixes for freetype 2.10.4 2020-10-21 15:12:15 +00:00
nia f00cc4dd89 Hook up xcompmgr to the build 2020-10-16 08:28:17 +00:00
rin f49c44d3a6 Fix previous; do not override SCRIPTS so that ctwm_app_menu gets installed. 2020-10-13 09:10:38 +00:00
nia f476d77f98 xclock also gets AlwaysOnTop 2020-10-12 15:24:16 +00:00
nia 92a6612581 define xsetroot in the right place 2020-10-12 11:43:11 +00:00
nia ad94c89804 Automatic font scaling based on screen size in the default ctwm config.
Based on a shell script which gets the DPI from the X server, and if this
fails, attempts to guess based on resolution. Taking advantage of M4 macros
in the ctwmrc, we can also scale the workspace manager and window list.

The following sizes are supported: 6x12 (<800x600) 8x16 12x24 (4k and higher)
16x32 32x64

Also makes Spleen the default font in ctwm
2020-10-12 11:07:23 +00:00
nia 369baf1326 Generate oldschool Latin-1 variants of Spleen fonts.
Needed so ctwm can load them. ctwm uses XCreateFontSet which for some
reason seems adverse to returning UTF-8 fonts...
2020-10-11 17:49:07 +00:00
nia adf31424df slightly lower workspace manager size
this works nicely on a 12.5" FHD screen
2020-10-11 10:12:53 +00:00
nia d201bbfa3c allow xsetroot to be used in default xinitrc 2020-10-11 10:08:26 +00:00
nia 0a5b11edd2 allow the root window to be freely painted with e.g. xsetroot
it came up during initial review that it may be confusing that xsetroot
doesn't work by default
2020-10-11 10:02:51 +00:00
nia d8abfc1173 mute binding is annoying when there's hardware mute 2020-10-11 07:08:29 +00:00
nia f46a751696 xeyes should be AlwaysOnTop - requested by a user 2020-10-10 10:36:16 +00:00
nia bf28d37d16 Bump up the dark contrast a bit 2020-10-10 10:33:37 +00:00
nia 6c12084399 Make it easier to identify the current active window (red border highlight) 2020-10-10 10:28:08 +00:00
nia 922a346a2e Switch to the same hack in pkgsrc for avoiding bitmap fonts on the web
Just for consistency's sake, and making it easier to disable this if
someone wants to do that.
2020-10-10 09:17:33 +00:00
nia 4f713b22cd hook up X11 "Spleen" fonts to the build 2020-10-10 08:33:29 +00:00
nia 0d3c2dfaf5 Add Makefile for X11 Spleen fonts. Not integrated yet. 2020-10-10 07:28:04 +00:00
macallan 252d2a5c18 build ppc_video.c etc. on hppa 2020-10-09 17:01:29 +00:00
macallan 06b5bd8add build some potentially useful drivers on hppa 2020-10-09 04:28:38 +00:00
nia 7014504d2e fix indentation 2020-10-05 09:16:53 +00:00
nia 81cc2aabb6 Adjust the default fontconfig fonts.conf to avoid selecting bitmap
fonts included as part of X11 that are also included as scalable fonts
as part of macOS.

Many websites will attempt to select these fonts, which results in
very strange, poor quality rendering.

This should keep legacy X11 applications that want the old "Helvetica"
and "Times" fonts working, but prevent them from being selected by
applications that want scalable fonts.

It should not prevent "Helvetica" or "Times" from being selected
if the user installs a scalable version.
2020-10-05 09:16:26 +00:00
nia aa47858fae xterm: Enable SIXEL graphics support.
could also enable REGIS, it will require -lm and i suppose isn't
a default upstream yet(?)

test with "-ti vt340".
2020-10-02 13:08:07 +00:00
nia 618a5a1ff2 xeyes: Enable anti-aliasing with XRENDER
If you prefer the "classic" look, "xeyes +render"
2020-10-01 21:22:47 +00:00
nia 9c6c6fa2f4 unbreak. bsd.files.mk needs to have an includes target, see also
share/wscons/fonts/Makefile
2020-09-28 06:04:08 +00:00
nia 499b49590d revert; use system.ctwmrc from xsrc until I understand why the build fails 2020-09-24 06:52:48 +00:00
nia 9bc66ce6c3 move the new ctwmrc here so it doesn't conflict with the upstream one 2020-09-24 05:43:29 +00:00
nia 499e9f4300 add a script for dynamically generating a menu in the ctwm desktop
this parses the files in /usr/pkg/share/applications and provides a
submenu for launching applications.

TODO: make /usr/pkg configurable somehow?
2020-09-23 15:30:36 +00:00
nia edc3c85277 also allow uxterm to be used in the default xinitrc 2020-09-21 13:51:55 +00:00
nia be7cf8f824 Define CTWM when building xinit
This will allow ctwm to eventually be used in the default xinitrc.
2020-09-21 08:20:04 +00:00
nia 23e44aaebe disable use of ELF TLS in Mesa/libGL
this is an optimization that primarily benefits linux/glibc -
most other systems have this disabled. in netbsd we've tried to
patch around it to make things work, but there still appears to be
some edge cases where libGL mysteriously crashes.

discussed on tech-x11 some time ago. already in place in pkgsrc.
2020-09-16 18:19:23 +00:00
nia a9881f8037 someone pointed out it makes sense to load the exact libXcursor version 2020-09-16 10:02:22 +00:00
nia 557ebd95e6 libx11: Dynamically load unversioned libxcursor shared object
the version number is wrong for NetBSD, should be libXcursor.so.2
2020-09-15 23:34:16 +00:00
mrg 785df279ef avoid ICE on sh3. 2020-09-15 05:14:19 +00:00
mrg 7fcbece421 remove additional -DHAVE_DIX_CONFIG_H.
add ${X11FLAGS.DIX} ${X11INCS.DIX} to record.  fixes build on riscv64.
2020-09-13 23:01:02 +00:00
mrg 6f8b0adf3a use GCC_NO_ADDR_OF_PACKED_MEMBER. 2020-09-07 00:24:37 +00:00