pkgsrc/x11/modular-xorg-server/Makefile.common
wiz 28516fcab4 modular-xorg-server: update to 1.20.1.
This bugfix release fixes several issues in RANDR, Xwayland, glamor,
the modesetting driver, and elsewhere. Everyone is encouraged to
upgrade. Thanks to all who contributed to this release!

Adam Jackson (1):
      xserver 1.20.1

Alexander Volkov (1):
      Xext/shm: Refuse to work for remote clients

Bas Nieuwenhuizen (1):
      DRI2: Sync radeonsi_pci_ids.h from Mesa

Damien Leone (1):
      os: Recompute whether any clients are ready after check_timers()

Dave Airlie (1):
      xwayland: fix typo in non-modifier fallback path

John Lumby (1):
      Change the DPMS initialization to be conditional on not set from config

Jon Turney (4):
      meson: install xwinclip and Xwinrc man pages
      meson: don't install xorg wrapper manpages if suid-wrapper isn't being used
      meson: don't put literal 'PACKAGE_STRING' and 'XORG_MAN_PAGE' in man pages
      meson: use absolute paths in manpage substitutions

Keith Packard (6):
      modesetting: Allow a DRM fd to be passed on command line with -masterfd [v2]
      xfree86: Reset randr_crtc and randr_output early in xf86CrtcCloseScreen
      xfree86: Wrap RRCrtcIsLeased and RROutputIsLeased to check for DIX structures
      xf86-video-modesetting: Don't enable UNIVERSAL_PLANES separately
      xf86-video-modesetting: Lease planes as well if using atomic
      During reset/shutdown, clean up leases in DIX instead of each driver

Laurent Carlier (1):
      meson: Add configuration of listening on tcp, unix and local

Lukas F. Hartmann (1):
      glamor_init: clamp GLSL to 120 if platform doesn't have instanced arrays

Lyude Paul (5):
      modesetting: Also disable CRTC in drmmode_output_disable()
      glamor: Unbreak glamor_fd_from_pixmap()
      randr: Scream when creating a shared pixmap fails
      modesetting: Fix uninitialized memory usage in drmmode_crtc_get_fb_id()
      meson: ensure the libc has RPC functions when secure-rpc is enabled

Matt Turner (1):
      xfree86: Inline xf86{Read,Write}Mmio{8,16,32} on alpha

Michał Górny (1):
      xfree86: Makefile shouldn't rely on superuser being named 'root'

Michel Dänzer (6):
      xfree86: Fix O_CLOEXEC usage in lnx_platform
      modesetting: Pass O_CLOEXEC when opening a DRM device
      glamor: Always return 0 from glamor_fds_from_pixmap on error
      glamor: Propagate glamor_fds_from_pixmap error in glamor_fd_from_pixmap
      exa: Use PictureMatchFormat for source-only picture format description
      present/wnmd: Preserve window pixmap's screen_x/y on flip

Olivier Fourdan (20):
      xwayland: use pixmap size on present flip
      xwayland: allow "-eglstream" option
      xwayland: "EGL_EXT_device_base" required for EGLStream
      xwayland: process Wayland events after adding screen
      xwayland: do not disable glamor if EGLStream failed
      xwayland: make xwl_output_get_xdg_output() static
      xwayland: move glamor specific routines
      xwayland: swap "name" and "id" in init_wl_registry()
      xwayland: GBM should fail w/out "GL_OES_EGL_image"
      xwayland: skip drm authentication with render node
      xwayland: move egl_backend to its own struct
      xwayland: Add Wayland interfaces check
      xwayland: move EGL backend init to glamor
      xwayland: refactor EGL backends for wayland registry
      xwayland: check for EGLStream backend explicitly
      xwayland: EGL_IMG_context_priority required by EGLStream
      xwayland: simplify xwl_glamor_pixmap_get_wl_buffer()
      xwayland: mandatory EGL backend API
      modesetting: use drmmode_bo_import() for rotate_fb
      xwayland: Enable DRI3 for glamor

Peter Hutterer (1):
      Xext: dynamically allocate the PanoramiXDepths[j].vids array

Roman Kapl (2):
      Xi: fix byte-swapping of button labels
      Xi: add forgotten byte-swaps for Valuator fields

Stefan Agner (1):
      modesetting: Fix 16 bit depth/bpp mode

Takashi Iwai (1):
      modesetting: Fix cirrus 24bpp breakage

Thomas Hellstrom (1):
      glamor: Work around GEM usage v2

Vladimir Panteleev (1):
      glx/vndcmds: Fix vendor hash table key size

emersion (1):
      xwayland: rotate logical size for RRMode
2018-08-14 09:35:36 +00:00

149 lines
4.6 KiB
Text

# $NetBSD: Makefile.common,v 1.24 2018/08/14 09:35:36 wiz Exp $
# used by x11/modular-xorg-server/Makefile
# used by x11/modular-xorg-xephyr/Makefile
XORG_VERSION= 1.20.1
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_XORG:=xserver/}
EXTRACT_SUFX= .tar.bz2
HOMEPAGE= http://xorg.freedesktop.org/
LICENSE= mit AND modified-bsd AND x11 # with no-advertising clause
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= gmake pkg-config
USE_LANGUAGES+= c99
PKGCONFIG_OVERRIDE+= xorg-server.pc.in
SHLIBTOOL_OVERRIDE= # empty
BUILD_DEFS+= VARBASE
BUILD_DEFS_EFFECTS+= XKB_OUTPUT_DIR
OWN_DIRS+= ${VARBASE}/log
OWN_DIRS+= ${XKB_OUTPUT_DIR}
XKB_OUTPUT_DIR?= ${VARBASE}/db/xkb # XXX sync with xkeyboard-config
CONFIGURE_ARGS+= --localstatedir=${VARBASE:Q}
CONFIGURE_ARGS+= --with-xkb-output=${XKB_OUTPUT_DIR:Q}
.if !empty(USE_TOOLS:Mauto*)
TOOLS_DEPENDS+= xorg-util-macros>=1.1.5:../../devel/xorg-util-macros
.endif
DEPENDS+= xkbcomp-[0-9]*:../../x11/xkbcomp
DEPENDS+= xkeyboard-config-[0-9]*:../../x11/xkeyboard-config
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD"
CPPFLAGS+= -D_OPENBSD_SOURCE # for reallocarray(3)
CONFIGURE_ARGS+= --with-builder-addr="tech-x11@NetBSD.org"
CONFIGURE_ARGS+= --with-os-vendor="The NetBSD Foundation"
# TLS is not supported by NetBSD<6
. if !empty(OS_VERSION:M[0-5].*)
CONFIGURE_ENV+= ac_cv_tls=no
CONFIGURE_ARGS+= --disable-glx-tls
. endif
.endif
CONFIGURE_ARGS+= --with-os-name=${MACHINE_PLATFORM:Q}
CONFIGURE_ARGS+= --with-fontrootdir=${PREFIX}/share/fonts/X11
LEGACY_FONT_PATHS=
DEFAULT_FONT_PATHS=
.for f in misc TTF OTF Type1 100dpi 75dpi cyrillic
DEFAULT_FONT_PATHS+= ${PREFIX}/share/fonts/X11/${f}
LEGACY_FONT_PATHS+= ${PREFIX}/lib/X11/fonts/${f}
.endfor
FONT_PATHS= ${DEFAULT_FONT_PATHS} ${LEGACY_FONT_PATHS}
CONFIGURE_ARGS+= --with-default-font-path=${FONT_PATHS:ts,:Q}
CONFIGURE_ARGS+= --disable-config-hal
CONFIGURE_ARGS+= --disable-dmx
CONFIGURE_ARGS+= --disable-xwin
CONFIGURE_ARGS+= --disable-xephyr
CONFIGURE_ARGS+= --disable-kdrive
#CONFIGURE_ARGS+= --disable-kdrive-vesa
CONFIGURE_ARGS+= --enable-xtrans-send-fds
CONFIGURE_ARGS+= --with-int10=x86emu
CONFIGURE_ENV+= APP_MAN_SUFFIX=1 FILE_MAN_SUFFIX=5
CONFIGURE_ENV+= DRIVER_MAN_SUFFIX=4
PLIST_VARS+= sunos
PLIST_SUBST+= SUNOS_ARCH=${SUNOS_ARCH}
.if ${OPSYS} == "SunOS"
PLIST.sunos= yes
. if ${MACHINE_ARCH} == "i386"
SUNOS_ARCH= ia32
. elif ${MACHINE_ARCH} == "x86_64"
SUNOS_ARCH= amd64
. elif ${MACHINE_ARCH} == "sparc" || ${MACHINE_ARCH} == "sparc64"
SUNOS_ARCH= sparcv8plus
. endif
.endif
PLIST_VARS+= sparc
.if !empty(MACHINE_ARCH:Msparc*)
PLIST.sparc= yes
.endif
# Workaround for PR#41556.
# Avoid to use bsd_kqueue_apm, force to use bsd_apm instead.
CONFIGURE_ENV.NetBSD+= ac_cv_header_sys_event_h=no
# Avoid picking up epoll on illumos
CONFIGURE_ENV.SunOS+= ac_cv_func_epoll_create1=no
# Only available in newer releases
CONFIGURE_ENV.SunOS+= ac_cv_func_mkostemp=no
INSTALLATION_DIRS+= lib/xorg/modules/drivers lib/xorg/modules/input
BUILDLINK_API_DEPENDS.MesaLib+= MesaLib>=7.8.0
BUILDLINK_API_DEPENDS.xtrans+= xtrans>=1.2.2
BUILDLINK_API_DEPENDS.dri+= dri>=7.8
BUILDLINK_API_DEPENDS.xfont+= xfont>=1.4.2
BUILDLINK_API_DEPENDS.pixman+= pixman>=0.21.8
BUILD_DEPENDS+= tradcpp-[0-9]*:../../devel/tradcpp
CONFIGURE_ENV+= ac_cv_path_RAWCPP="${PREFIX}/bin/tradcpp -Uunix"
.if ${OPSYS} == "NetBSD" || ${OPSYS} == "OpenBSD" || ${OPSYS} == "Bitrig" || ${OPSYS} == "MirBSD"
CONFIGURE_ARGS+= --with-sha1=libc
.else
.include "../../security/nettle/buildlink3.mk"
CONFIGURE_ARGS+= --with-sha1=libnettle
.endif
.include "../../devel/ncurses/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../fonts/libfontenc/buildlink3.mk"
BUILDLINK_API_DEPENDS.libpciaccess+= libpciaccess>=0.11.0
BUILDLINK_DEPMETHOD.libpciaccess= full
.include "../../sysutils/libpciaccess/buildlink3.mk"
BUILDLINK_API_DEPENDS.xorgproto+= xorgproto>=2018.3
.include "../../x11/xorgproto/buildlink3.mk"
.include "../../x11/evieext/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXau/buildlink3.mk"
.include "../../x11/libXaw/buildlink3.mk"
BUILDLINK_API_DEPENDS.libXext+= libXext>=1.1.1
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXfixes/buildlink3.mk"
.include "../../x11/libXfont2/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../x11/libXxf86misc/buildlink3.mk"
.include "../../x11/libXxf86vm/buildlink3.mk"
.include "../../x11/libXinerama/buildlink3.mk"
.include "../../x11/libxkbfile/buildlink3.mk"
.include "../../x11/libxkbui/buildlink3.mk"
.include "../../x11/pixman/buildlink3.mk"
.include "../../x11/xcb-util-keysyms/buildlink3.mk"
.include "../../x11/xtrans/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"