head 1.2; access; symbols pkgsrc-2019Q3:1.1.0.2 pkgsrc-2019Q3-base:1.1; locks; strict; comment @# @; 1.2 date 2019.12.15.14.05.47; author nia; state dead; branches; next 1.1; commitid BuPULX4LRBzudOOB; 1.1 date 2019.09.17.11.43.29; author tnn; state Exp; branches; next ; commitid 1EL6x814HsaYhmDB; desc @@ 1.2 log @x11: Add picom. Replaces compton. A lightweight compositor for X11 (previously a compton fork) @ text @$NetBSD: patch-meson.build,v 1.1 2019/09/17 11:43:29 tnn Exp $ Use libc popcountl if present. --- meson.build.orig 2019-08-18 21:40:33.000000000 +0000 +++ meson.build @@@@ -53,6 +53,10 @@@@ if cc.has_header('stdc-predef.h') add_global_arguments('-DHAS_STDC_PREDEF_H', language: 'c') endif +if cc.has_function('popcountl', prefix : '#include ') + add_global_arguments('-DHAS_POPCOUNTL', language: 'c') +endif + warns = [ 'all', 'extra', 'no-unused-parameter', 'nonnull', 'shadow', 'no-type-limits', 'implicit-fallthrough', 'no-unknown-warning-option', 'no-missing-braces', 'conversion' ] foreach w : warns @ 1.1 log @compton: update to 7.3 v7: compton now requires uthash to build. xcb-xinerama is now mandatory. Improved build experience on FreeBSD. compton now detects what driver it is using. glFinish is used automatically when not using NVIDIA driver. This should reduce input lag. Window shadow parameter is tweaked so it won't get cut off at the edges. The experimental glx backend now uses OpenGL 3.3 core profile. New blur configuration syntax v6: Experimental new backends are integrated into compton vsync is now a boolean value, indicates whether vsync should be enabled. #130 xcb-xinerama is mandatory now. Build option xinerama is removed. New glx backend is feature complete. New xrender backend is feature complete. Better handling of X visuals and GLX FBConfigs #104 cf9125c Failure to parse config file is now a hard error. Fading, window state tracking is refactored. Deprecations --sw-opti is deprecated. Users who want to limit the paint rate should always just use --vsync. --glx-use-gpushader4 is deprecated --vsync-aggressive is deprecated Support for Composite < 0.2 dropped New glx backend won't support OpenGL < 3.0 --glx-swap-method is deprecated in favor of the easier to understand option --use-damage #131 --glx-copy-from-front and --glx-use-copysubbuffermesa are removed since they are deprecated 3 major releases ago. @ text @d1 1 a1 1 $NetBSD$ @