mirror of OpenBSD xenocara tree github.com/openbsd/xenocara
openbsd

Update to libXcursor 1.2.0. ok tb@

matthieu d2d55c68 73fcd8c4

+338 -156
+49
lib/libXcursor/ChangeLog
··· 1 + commit b84b5d100f193fda0630c4d6fa889cd3e05ca033 2 + Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3 + Date: Sun Mar 10 17:36:26 2019 -0700 4 + 5 + libXcursor 1.2.0 6 + 7 + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8 + 9 + commit 8ff9605921a6ea3e05b5c72aa1b2a7f78b624699 10 + Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11 + Date: Fri Dec 7 19:41:07 2018 -0800 12 + 13 + Update configure.ac bug URL for gitlab migration 14 + 15 + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 16 + 17 + commit 534456082ed051d6427a77e4bda19473ea8b621c 18 + Author: Alan Coopersmith <alan.coopersmith@oracle.com> 19 + Date: Mon Nov 19 21:47:26 2018 -0800 20 + 21 + Update README for gitlab migration 22 + 23 + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 24 + 25 + commit 2263c196cb0dcb8547b378df7b35f83b8b99c01e 26 + Author: Cosimo Cecchi <cosimoc@gnome.org> 27 + Date: Fri Nov 9 20:06:41 2018 -0800 28 + 29 + Support XDG user data dir location 30 + 31 + Nowadays ~/.icons is not used anymore as the preferred location for 32 + custom user icon themes; XDG_DATA_HOME/icons (aka ~/.local/share/icons) 33 + is what toolkits like GTK prefer. 34 + 35 + Prepend that location to the default xcursor path, so that cursor 36 + themes installed there can be used by apps and toolkits that use 37 + libXcursor. 38 + 39 + commit f64a8cc1a65dcad4294e2988b402a34175019663 40 + Author: Philipp Ludwig <git-devel@philippludwig.net> 41 + Date: Sun Jan 22 14:21:54 2017 +0100 42 + 43 + Fix crash when encountering cursor themes with circular dependencies. 44 + 45 + https://bugs.freedesktop.org/show_bug.cgi?id=3603 46 + 47 + Signed-off-by: Philipp Ludwig <git-devel@philippludwig.net> 48 + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 49 + 1 50 commit 4828abe494df8fb4aa00dcaa22a03446ba418d01 2 51 Author: Matthieu Herrb <matthieu@herrb.eu> 3 52 Date: Sat Nov 25 11:59:31 2017 +0100
+2
lib/libXcursor/Makefile.am
··· 43 43 $(CHANGELOG_CMD) 44 44 45 45 dist-hook: ChangeLog INSTALL 46 + 47 + EXTRA_DIST = README.md
+2 -1
lib/libXcursor/Makefile.in
··· 72 72 build_triplet = @build@ 73 73 host_triplet = @host@ 74 74 subdir = . 75 - DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ 75 + DIST_COMMON = $(am__configure_deps) $(srcdir)/Makefile.am \ 76 76 $(srcdir)/Makefile.in $(srcdir)/config.h.in \ 77 77 $(srcdir)/xcursor.pc.in $(top_srcdir)/configure \ 78 78 $(top_srcdir)/include/X11/Xcursor/Xcursor.h.in AUTHORS COPYING \ ··· 342 342 pkgconfigdir = $(libdir)/pkgconfig 343 343 pkgconfig_DATA = xcursor.pc 344 344 MAINTAINERCLEANFILES = ChangeLog INSTALL 345 + EXTRA_DIST = README.md 345 346 all: config.h 346 347 $(MAKE) $(AM_MAKEFLAGS) all-recursive 347 348
-25
lib/libXcursor/README
··· 1 - libXcursor - X Window System Cursor management library 2 - 3 - All questions regarding this software should be directed at the 4 - Xorg mailing list: 5 - 6 - http://lists.freedesktop.org/mailman/listinfo/xorg 7 - 8 - Please submit bug reports to the Xorg bugzilla: 9 - 10 - https://bugs.freedesktop.org/enter_bug.cgi?product=xorg 11 - 12 - The master development code repository can be found at: 13 - 14 - git://anongit.freedesktop.org/git/xorg/lib/libXcursor 15 - 16 - http://cgit.freedesktop.org/xorg/lib/libXcursor 17 - 18 - For patch submission instructions, see: 19 - 20 - http://www.x.org/wiki/Development/Documentation/SubmittingPatches 21 - 22 - For more information on the git code manager, see: 23 - 24 - http://wiki.x.org/wiki/GitPage 25 -
+18
lib/libXcursor/README.md
··· 1 + libXcursor - X Window System Cursor management library 2 + ------------------------------------------------------ 3 + 4 + All questions regarding this software should be directed at the 5 + Xorg mailing list: 6 + 7 + https://lists.x.org/mailman/listinfo/xorg 8 + 9 + The master development code repository can be found at: 10 + 11 + https://gitlab.freedesktop.org/xorg/lib/libXcursor 12 + 13 + Please submit bug reports and requests to merge patches there. 14 + 15 + For patch submission instructions, see: 16 + 17 + https://www.x.org/wiki/Development/Documentation/SubmittingPatches 18 +
+189 -89
lib/libXcursor/aclocal.m4
··· 8606 8606 m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])]) 8607 8607 m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])]) 8608 8608 8609 - # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- 8610 - # serial 1 (pkg-config-0.24) 8611 - # 8612 - # Copyright © 2004 Scott James Remnant <scott@netsplit.com>. 8613 - # 8614 - # This program is free software; you can redistribute it and/or modify 8615 - # it under the terms of the GNU General Public License as published by 8616 - # the Free Software Foundation; either version 2 of the License, or 8617 - # (at your option) any later version. 8618 - # 8619 - # This program is distributed in the hope that it will be useful, but 8620 - # WITHOUT ANY WARRANTY; without even the implied warranty of 8621 - # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 8622 - # General Public License for more details. 8623 - # 8624 - # You should have received a copy of the GNU General Public License 8625 - # along with this program; if not, write to the Free Software 8626 - # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 8627 - # 8628 - # As a special exception to the GNU General Public License, if you 8629 - # distribute this file as part of a program that contains a 8630 - # configuration script generated by Autoconf, you may include it under 8631 - # the same distribution terms that you use for the rest of that program. 8609 + dnl pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- 8610 + dnl serial 11 (pkg-config-0.29.1) 8611 + dnl 8612 + dnl Copyright © 2004 Scott James Remnant <scott@netsplit.com>. 8613 + dnl Copyright © 2012-2015 Dan Nicholson <dbn.lists@gmail.com> 8614 + dnl 8615 + dnl This program is free software; you can redistribute it and/or modify 8616 + dnl it under the terms of the GNU General Public License as published by 8617 + dnl the Free Software Foundation; either version 2 of the License, or 8618 + dnl (at your option) any later version. 8619 + dnl 8620 + dnl This program is distributed in the hope that it will be useful, but 8621 + dnl WITHOUT ANY WARRANTY; without even the implied warranty of 8622 + dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 8623 + dnl General Public License for more details. 8624 + dnl 8625 + dnl You should have received a copy of the GNU General Public License 8626 + dnl along with this program; if not, write to the Free Software 8627 + dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 8628 + dnl 02111-1307, USA. 8629 + dnl 8630 + dnl As a special exception to the GNU General Public License, if you 8631 + dnl distribute this file as part of a program that contains a 8632 + dnl configuration script generated by Autoconf, you may include it under 8633 + dnl the same distribution terms that you use for the rest of that 8634 + dnl program. 8635 + 8636 + dnl PKG_PREREQ(MIN-VERSION) 8637 + dnl ----------------------- 8638 + dnl Since: 0.29 8639 + dnl 8640 + dnl Verify that the version of the pkg-config macros are at least 8641 + dnl MIN-VERSION. Unlike PKG_PROG_PKG_CONFIG, which checks the user's 8642 + dnl installed version of pkg-config, this checks the developer's version 8643 + dnl of pkg.m4 when generating configure. 8644 + dnl 8645 + dnl To ensure that this macro is defined, also add: 8646 + dnl m4_ifndef([PKG_PREREQ], 8647 + dnl [m4_fatal([must install pkg-config 0.29 or later before running autoconf/autogen])]) 8648 + dnl 8649 + dnl See the "Since" comment for each macro you use to see what version 8650 + dnl of the macros you require. 8651 + m4_defun([PKG_PREREQ], 8652 + [m4_define([PKG_MACROS_VERSION], [0.29.1]) 8653 + m4_if(m4_version_compare(PKG_MACROS_VERSION, [$1]), -1, 8654 + [m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])]) 8655 + ])dnl PKG_PREREQ 8632 8656 8633 - # PKG_PROG_PKG_CONFIG([MIN-VERSION]) 8634 - # ---------------------------------- 8657 + dnl PKG_PROG_PKG_CONFIG([MIN-VERSION]) 8658 + dnl ---------------------------------- 8659 + dnl Since: 0.16 8660 + dnl 8661 + dnl Search for the pkg-config tool and set the PKG_CONFIG variable to 8662 + dnl first found in the path. Checks that the version of pkg-config found 8663 + dnl is at least MIN-VERSION. If MIN-VERSION is not specified, 0.9.0 is 8664 + dnl used since that's the first version where most current features of 8665 + dnl pkg-config existed. 8635 8666 AC_DEFUN([PKG_PROG_PKG_CONFIG], 8636 8667 [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) 8637 8668 m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$]) ··· 8653 8684 PKG_CONFIG="" 8654 8685 fi 8655 8686 fi[]dnl 8656 - ])# PKG_PROG_PKG_CONFIG 8687 + ])dnl PKG_PROG_PKG_CONFIG 8657 8688 8658 - # PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) 8659 - # 8660 - # Check to see whether a particular set of modules exists. Similar 8661 - # to PKG_CHECK_MODULES(), but does not set variables or print errors. 8662 - # 8663 - # Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) 8664 - # only at the first occurence in configure.ac, so if the first place 8665 - # it's called might be skipped (such as if it is within an "if", you 8666 - # have to call PKG_CHECK_EXISTS manually 8667 - # -------------------------------------------------------------- 8689 + dnl PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) 8690 + dnl ------------------------------------------------------------------- 8691 + dnl Since: 0.18 8692 + dnl 8693 + dnl Check to see whether a particular set of modules exists. Similar to 8694 + dnl PKG_CHECK_MODULES(), but does not set variables or print errors. 8695 + dnl 8696 + dnl Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) 8697 + dnl only at the first occurence in configure.ac, so if the first place 8698 + dnl it's called might be skipped (such as if it is within an "if", you 8699 + dnl have to call PKG_CHECK_EXISTS manually 8668 8700 AC_DEFUN([PKG_CHECK_EXISTS], 8669 8701 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl 8670 8702 if test -n "$PKG_CONFIG" && \ ··· 8674 8706 $3])dnl 8675 8707 fi]) 8676 8708 8677 - # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) 8678 - # --------------------------------------------- 8709 + dnl _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) 8710 + dnl --------------------------------------------- 8711 + dnl Internal wrapper calling pkg-config via PKG_CONFIG and setting 8712 + dnl pkg_failed based on the result. 8679 8713 m4_define([_PKG_CONFIG], 8680 8714 [if test -n "$$1"; then 8681 8715 pkg_cv_[]$1="$$1" ··· 8687 8721 else 8688 8722 pkg_failed=untried 8689 8723 fi[]dnl 8690 - ])# _PKG_CONFIG 8724 + ])dnl _PKG_CONFIG 8691 8725 8692 - # _PKG_SHORT_ERRORS_SUPPORTED 8693 - # ----------------------------- 8726 + dnl _PKG_SHORT_ERRORS_SUPPORTED 8727 + dnl --------------------------- 8728 + dnl Internal check to see if pkg-config supports short errors. 8694 8729 AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], 8695 8730 [AC_REQUIRE([PKG_PROG_PKG_CONFIG]) 8696 8731 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then ··· 8698 8733 else 8699 8734 _pkg_short_errors_supported=no 8700 8735 fi[]dnl 8701 - ])# _PKG_SHORT_ERRORS_SUPPORTED 8736 + ])dnl _PKG_SHORT_ERRORS_SUPPORTED 8702 8737 8703 8738 8704 - # PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], 8705 - # [ACTION-IF-NOT-FOUND]) 8706 - # 8707 - # 8708 - # Note that if there is a possibility the first call to 8709 - # PKG_CHECK_MODULES might not happen, you should be sure to include an 8710 - # explicit call to PKG_PROG_PKG_CONFIG in your configure.ac 8711 - # 8712 - # 8713 - # -------------------------------------------------------------- 8739 + dnl PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], 8740 + dnl [ACTION-IF-NOT-FOUND]) 8741 + dnl -------------------------------------------------------------- 8742 + dnl Since: 0.4.0 8743 + dnl 8744 + dnl Note that if there is a possibility the first call to 8745 + dnl PKG_CHECK_MODULES might not happen, you should be sure to include an 8746 + dnl explicit call to PKG_PROG_PKG_CONFIG in your configure.ac 8714 8747 AC_DEFUN([PKG_CHECK_MODULES], 8715 8748 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl 8716 8749 AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl ··· 8764 8797 AC_MSG_RESULT([yes]) 8765 8798 $3 8766 8799 fi[]dnl 8767 - ])# PKG_CHECK_MODULES 8800 + ])dnl PKG_CHECK_MODULES 8768 8801 8769 8802 8770 - # PKG_INSTALLDIR(DIRECTORY) 8771 - # ------------------------- 8772 - # Substitutes the variable pkgconfigdir as the location where a module 8773 - # should install pkg-config .pc files. By default the directory is 8774 - # $libdir/pkgconfig, but the default can be changed by passing 8775 - # DIRECTORY. The user can override through the --with-pkgconfigdir 8776 - # parameter. 8803 + dnl PKG_CHECK_MODULES_STATIC(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], 8804 + dnl [ACTION-IF-NOT-FOUND]) 8805 + dnl --------------------------------------------------------------------- 8806 + dnl Since: 0.29 8807 + dnl 8808 + dnl Checks for existence of MODULES and gathers its build flags with 8809 + dnl static libraries enabled. Sets VARIABLE-PREFIX_CFLAGS from --cflags 8810 + dnl and VARIABLE-PREFIX_LIBS from --libs. 8811 + dnl 8812 + dnl Note that if there is a possibility the first call to 8813 + dnl PKG_CHECK_MODULES_STATIC might not happen, you should be sure to 8814 + dnl include an explicit call to PKG_PROG_PKG_CONFIG in your 8815 + dnl configure.ac. 8816 + AC_DEFUN([PKG_CHECK_MODULES_STATIC], 8817 + [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl 8818 + _save_PKG_CONFIG=$PKG_CONFIG 8819 + PKG_CONFIG="$PKG_CONFIG --static" 8820 + PKG_CHECK_MODULES($@) 8821 + PKG_CONFIG=$_save_PKG_CONFIG[]dnl 8822 + ])dnl PKG_CHECK_MODULES_STATIC 8823 + 8824 + 8825 + dnl PKG_INSTALLDIR([DIRECTORY]) 8826 + dnl ------------------------- 8827 + dnl Since: 0.27 8828 + dnl 8829 + dnl Substitutes the variable pkgconfigdir as the location where a module 8830 + dnl should install pkg-config .pc files. By default the directory is 8831 + dnl $libdir/pkgconfig, but the default can be changed by passing 8832 + dnl DIRECTORY. The user can override through the --with-pkgconfigdir 8833 + dnl parameter. 8777 8834 AC_DEFUN([PKG_INSTALLDIR], 8778 8835 [m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])]) 8779 8836 m4_pushdef([pkg_description], ··· 8784 8841 AC_SUBST([pkgconfigdir], [$with_pkgconfigdir]) 8785 8842 m4_popdef([pkg_default]) 8786 8843 m4_popdef([pkg_description]) 8787 - ]) dnl PKG_INSTALLDIR 8844 + ])dnl PKG_INSTALLDIR 8788 8845 8789 8846 8790 - # PKG_NOARCH_INSTALLDIR(DIRECTORY) 8791 - # ------------------------- 8792 - # Substitutes the variable noarch_pkgconfigdir as the location where a 8793 - # module should install arch-independent pkg-config .pc files. By 8794 - # default the directory is $datadir/pkgconfig, but the default can be 8795 - # changed by passing DIRECTORY. The user can override through the 8796 - # --with-noarch-pkgconfigdir parameter. 8847 + dnl PKG_NOARCH_INSTALLDIR([DIRECTORY]) 8848 + dnl -------------------------------- 8849 + dnl Since: 0.27 8850 + dnl 8851 + dnl Substitutes the variable noarch_pkgconfigdir as the location where a 8852 + dnl module should install arch-independent pkg-config .pc files. By 8853 + dnl default the directory is $datadir/pkgconfig, but the default can be 8854 + dnl changed by passing DIRECTORY. The user can override through the 8855 + dnl --with-noarch-pkgconfigdir parameter. 8797 8856 AC_DEFUN([PKG_NOARCH_INSTALLDIR], 8798 8857 [m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])]) 8799 8858 m4_pushdef([pkg_description], ··· 8804 8863 AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir]) 8805 8864 m4_popdef([pkg_default]) 8806 8865 m4_popdef([pkg_description]) 8807 - ]) dnl PKG_NOARCH_INSTALLDIR 8866 + ])dnl PKG_NOARCH_INSTALLDIR 8867 + 8868 + 8869 + dnl PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE, 8870 + dnl [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) 8871 + dnl ------------------------------------------- 8872 + dnl Since: 0.28 8873 + dnl 8874 + dnl Retrieves the value of the pkg-config variable for the given module. 8875 + AC_DEFUN([PKG_CHECK_VAR], 8876 + [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl 8877 + AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl 8878 + 8879 + _PKG_CONFIG([$1], [variable="][$3]["], [$2]) 8880 + AS_VAR_COPY([$1], [pkg_cv_][$1]) 8881 + 8882 + AS_VAR_IF([$1], [""], [$5], [$4])dnl 8883 + ])dnl PKG_CHECK_VAR 8808 8884 8809 8885 # Copyright (C) 2002-2012 Free Software Foundation, Inc. 8810 8886 # ··· 9829 9905 9830 9906 dnl xorg-macros.m4. Generated from xorg-macros.m4.in xorgversion.m4 by configure. 9831 9907 dnl 9832 - dnl Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved. 9908 + dnl Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved. 9833 9909 dnl 9834 9910 dnl Permission is hereby granted, free of charge, to any person obtaining a 9835 9911 dnl copy of this software and associated documentation files (the "Software"), ··· 9866 9942 # See the "minimum version" comment for each macro you use to see what 9867 9943 # version you require. 9868 9944 m4_defun([XORG_MACROS_VERSION],[ 9869 - m4_define([vers_have], [1.19.0]) 9945 + m4_define([vers_have], [1.19.2]) 9870 9946 m4_define([maj_have], m4_substr(vers_have, 0, m4_index(vers_have, [.]))) 9871 9947 m4_define([maj_needed], m4_substr([$1], 0, m4_index([$1], [.]))) 9872 9948 m4_if(m4_cmp(maj_have, maj_needed), 0,, ··· 9943 10019 AC_DEFUN([XORG_MANPAGE_SECTIONS],[ 9944 10020 AC_REQUIRE([AC_CANONICAL_HOST]) 9945 10021 AC_REQUIRE([AC_PROG_SED]) 10022 + 10023 + case $host_os in 10024 + solaris*) 10025 + # Solaris 2.0 - 11.3 use SysV man page section numbers, so we 10026 + # check for a man page file found in later versions that use 10027 + # traditional section numbers instead 10028 + AC_CHECK_FILE([/usr/share/man/man7/attributes.7], 10029 + [SYSV_MAN_SECTIONS=false], [SYSV_MAN_SECTIONS=true]) 10030 + ;; 10031 + *) SYSV_MAN_SECTIONS=false ;; 10032 + esac 9946 10033 9947 10034 if test x$APP_MAN_SUFFIX = x ; then 9948 10035 APP_MAN_SUFFIX=1 ··· 9959 10046 fi 9960 10047 9961 10048 if test x$FILE_MAN_SUFFIX = x ; then 9962 - case $host_os in 9963 - solaris*) FILE_MAN_SUFFIX=4 ;; 9964 - *) FILE_MAN_SUFFIX=5 ;; 10049 + case $SYSV_MAN_SECTIONS in 10050 + true) FILE_MAN_SUFFIX=4 ;; 10051 + *) FILE_MAN_SUFFIX=5 ;; 9965 10052 esac 9966 10053 fi 9967 10054 if test x$FILE_MAN_DIR = x ; then ··· 9969 10056 fi 9970 10057 9971 10058 if test x$MISC_MAN_SUFFIX = x ; then 9972 - case $host_os in 9973 - solaris*) MISC_MAN_SUFFIX=5 ;; 9974 - *) MISC_MAN_SUFFIX=7 ;; 10059 + case $SYSV_MAN_SECTIONS in 10060 + true) MISC_MAN_SUFFIX=5 ;; 10061 + *) MISC_MAN_SUFFIX=7 ;; 9975 10062 esac 9976 10063 fi 9977 10064 if test x$MISC_MAN_DIR = x ; then ··· 9979 10066 fi 9980 10067 9981 10068 if test x$DRIVER_MAN_SUFFIX = x ; then 9982 - case $host_os in 9983 - solaris*) DRIVER_MAN_SUFFIX=7 ;; 9984 - *) DRIVER_MAN_SUFFIX=4 ;; 10069 + case $SYSV_MAN_SECTIONS in 10070 + true) DRIVER_MAN_SUFFIX=7 ;; 10071 + *) DRIVER_MAN_SUFFIX=4 ;; 9985 10072 esac 9986 10073 fi 9987 10074 if test x$DRIVER_MAN_DIR = x ; then ··· 9989 10076 fi 9990 10077 9991 10078 if test x$ADMIN_MAN_SUFFIX = x ; then 9992 - case $host_os in 9993 - solaris*) ADMIN_MAN_SUFFIX=1m ;; 9994 - *) ADMIN_MAN_SUFFIX=8 ;; 10079 + case $SYSV_MAN_SECTIONS in 10080 + true) ADMIN_MAN_SUFFIX=1m ;; 10081 + *) ADMIN_MAN_SUFFIX=8 ;; 9995 10082 esac 9996 10083 fi 9997 10084 if test x$ADMIN_MAN_DIR = x ; then ··· 10252 10339 fi]) 10253 10340 10254 10341 # Test for the ability of xmlto to generate a text target 10342 + # 10343 + # NOTE: xmlto 0.0.27 or higher return a non-zero return code in the 10344 + # following test for empty XML docbook files. 10345 + # For compatibility reasons use the following empty XML docbook file and if 10346 + # it fails try it again with a non-empty XML file. 10255 10347 have_xmlto_text=no 10256 10348 cat > conftest.xml << "EOF" 10257 10349 EOF 10258 10350 AS_IF([test "$have_xmlto" = yes], 10259 10351 [AS_IF([$XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1], 10260 10352 [have_xmlto_text=yes], 10261 - [AC_MSG_WARN([xmlto cannot generate text format, this format skipped])])]) 10353 + [# Try it again with a non-empty XML file. 10354 + cat > conftest.xml << "EOF" 10355 + <x></x> 10356 + EOF 10357 + AS_IF([$XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1], 10358 + [have_xmlto_text=yes], 10359 + [AC_MSG_WARN([xmlto cannot generate text format, this format skipped])])])]) 10262 10360 rm -f conftest.xml 10263 10361 AM_CONDITIONAL([HAVE_XMLTO_TEXT], [test $have_xmlto_text = yes]) 10264 10362 AM_CONDITIONAL([HAVE_XMLTO], [test "$have_xmlto" = yes]) ··· 11654 11752 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros` 11655 11753 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \ 11656 11754 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \ 11657 - || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \ 11658 - echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)" 11755 + || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \ 11756 + touch \$(top_srcdir)/INSTALL; \ 11757 + echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))" 11659 11758 AC_SUBST([INSTALL_CMD]) 11660 11759 ]) # XORG_INSTALL 11661 11760 dnl Copyright 2005 Red Hat, Inc ··· 11716 11815 # 11717 11816 # 11718 11817 AC_DEFUN([XORG_CHANGELOG], [ 11719 - CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \ 11818 + CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \ 11720 11819 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \ 11721 - || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \ 11722 - echo 'git directory not found: installing possibly empty changelog.' >&2)" 11820 + || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \ 11821 + touch \$(top_srcdir)/ChangeLog; \ 11822 + echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))" 11723 11823 AC_SUBST([CHANGELOG_CMD]) 11724 11824 ]) # XORG_CHANGELOG 11725 11825
+68 -36
lib/libXcursor/configure
··· 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 - # Generated by GNU Autoconf 2.69 for libXcursor 1.1.15. 3 + # Generated by GNU Autoconf 2.69 for libXcursor 1.2.0. 4 4 # 5 - # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 5 + # Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libXcursor/issues>. 6 6 # 7 7 # 8 8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. ··· 275 275 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 276 276 else 277 277 $as_echo "$0: Please tell bug-autoconf@gnu.org and 278 - $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg 278 + $0: https://gitlab.freedesktop.org/xorg/lib/libXcursor/issues 279 279 $0: about your system, including any error possibly output 280 280 $0: before this message. Then install a modern shell, or 281 281 $0: manually run the script under such a shell if you do ··· 591 591 # Identity of this package. 592 592 PACKAGE_NAME='libXcursor' 593 593 PACKAGE_TARNAME='libXcursor' 594 - PACKAGE_VERSION='1.1.15' 595 - PACKAGE_STRING='libXcursor 1.1.15' 596 - PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 594 + PACKAGE_VERSION='1.2.0' 595 + PACKAGE_STRING='libXcursor 1.2.0' 596 + PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/lib/libXcursor/issues' 597 597 PACKAGE_URL='' 598 598 599 599 ac_unique_file="Makefile.am" ··· 1357 1357 # Omit some internal or obsolete options to make the list less imposing. 1358 1358 # This message is too long to be a string in the A/UX 3.1 sh. 1359 1359 cat <<_ACEOF 1360 - \`configure' configures libXcursor 1.1.15 to adapt to many kinds of systems. 1360 + \`configure' configures libXcursor 1.2.0 to adapt to many kinds of systems. 1361 1361 1362 1362 Usage: $0 [OPTION]... [VAR=VALUE]... 1363 1363 ··· 1427 1427 1428 1428 if test -n "$ac_init_help"; then 1429 1429 case $ac_init_help in 1430 - short | recursive ) echo "Configuration of libXcursor 1.1.15:";; 1430 + short | recursive ) echo "Configuration of libXcursor 1.2.0:";; 1431 1431 esac 1432 1432 cat <<\_ACEOF 1433 1433 ··· 1495 1495 Use these variables to override the choices made by `configure' or to help 1496 1496 it to find libraries and programs with nonstandard names/locations. 1497 1497 1498 - Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 1498 + Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libXcursor/issues>. 1499 1499 _ACEOF 1500 1500 ac_status=$? 1501 1501 fi ··· 1558 1558 test -n "$ac_init_help" && exit $ac_status 1559 1559 if $ac_init_version; then 1560 1560 cat <<\_ACEOF 1561 - libXcursor configure 1.1.15 1561 + libXcursor configure 1.2.0 1562 1562 generated by GNU Autoconf 2.69 1563 1563 1564 1564 Copyright (C) 2012 Free Software Foundation, Inc. ··· 1717 1717 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1718 1718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1719 1719 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1720 - ( $as_echo "## ---------------------------------------------------------------------- ## 1721 - ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ## 1722 - ## ---------------------------------------------------------------------- ##" 1720 + ( $as_echo "## ------------------------------------------------------------------------ ## 1721 + ## Report this to https://gitlab.freedesktop.org/xorg/lib/libXcursor/issues ## 1722 + ## ------------------------------------------------------------------------ ##" 1723 1723 ) | sed "s/^/$as_me: WARNING: /" >&2 1724 1724 ;; 1725 1725 esac ··· 1973 1973 This file contains any messages produced by compilers while 1974 1974 running configure, to aid debugging if configure makes a mistake. 1975 1975 1976 - It was created by libXcursor $as_me 1.1.15, which was 1976 + It was created by libXcursor $as_me 1.2.0, which was 1977 1977 generated by GNU Autoconf 2.69. Invocation command line was 1978 1978 1979 1979 $ $0 $@ ··· 4116 4116 4117 4117 # Define the identity of the package. 4118 4118 PACKAGE='libXcursor' 4119 - VERSION='1.1.15' 4119 + VERSION='1.2.0' 4120 4120 4121 4121 4122 4122 cat >>confdefs.h <<_ACEOF ··· 17552 17552 17553 17553 17554 17554 17555 - CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \ 17555 + CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \ 17556 17556 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \ 17557 - || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \ 17558 - echo 'git directory not found: installing possibly empty changelog.' >&2)" 17557 + || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \ 17558 + touch \$(top_srcdir)/ChangeLog; \ 17559 + echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))" 17559 17560 17560 17561 17561 17562 ··· 17563 17564 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros` 17564 17565 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \ 17565 17566 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \ 17566 - || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \ 17567 - echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)" 17567 + || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \ 17568 + touch \$(top_srcdir)/INSTALL; \ 17569 + echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))" 17568 17570 17569 17571 17570 17572 17571 17573 17572 17574 17573 17575 17576 + case $host_os in 17577 + solaris*) 17578 + # Solaris 2.0 - 11.3 use SysV man page section numbers, so we 17579 + # check for a man page file found in later versions that use 17580 + # traditional section numbers instead 17581 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5 17582 + $as_echo_n "checking for /usr/share/man/man7/attributes.7... " >&6; } 17583 + if ${ac_cv_file__usr_share_man_man7_attributes_7+:} false; then : 17584 + $as_echo_n "(cached) " >&6 17585 + else 17586 + test "$cross_compiling" = yes && 17587 + as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 17588 + if test -r "/usr/share/man/man7/attributes.7"; then 17589 + ac_cv_file__usr_share_man_man7_attributes_7=yes 17590 + else 17591 + ac_cv_file__usr_share_man_man7_attributes_7=no 17592 + fi 17593 + fi 17594 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5 17595 + $as_echo "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; } 17596 + if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes; then : 17597 + SYSV_MAN_SECTIONS=false 17598 + else 17599 + SYSV_MAN_SECTIONS=true 17600 + fi 17601 + 17602 + ;; 17603 + *) SYSV_MAN_SECTIONS=false ;; 17604 + esac 17605 + 17574 17606 if test x$APP_MAN_SUFFIX = x ; then 17575 17607 APP_MAN_SUFFIX=1 17576 17608 fi ··· 17586 17618 fi 17587 17619 17588 17620 if test x$FILE_MAN_SUFFIX = x ; then 17589 - case $host_os in 17590 - solaris*) FILE_MAN_SUFFIX=4 ;; 17591 - *) FILE_MAN_SUFFIX=5 ;; 17621 + case $SYSV_MAN_SECTIONS in 17622 + true) FILE_MAN_SUFFIX=4 ;; 17623 + *) FILE_MAN_SUFFIX=5 ;; 17592 17624 esac 17593 17625 fi 17594 17626 if test x$FILE_MAN_DIR = x ; then ··· 17596 17628 fi 17597 17629 17598 17630 if test x$MISC_MAN_SUFFIX = x ; then 17599 - case $host_os in 17600 - solaris*) MISC_MAN_SUFFIX=5 ;; 17601 - *) MISC_MAN_SUFFIX=7 ;; 17631 + case $SYSV_MAN_SECTIONS in 17632 + true) MISC_MAN_SUFFIX=5 ;; 17633 + *) MISC_MAN_SUFFIX=7 ;; 17602 17634 esac 17603 17635 fi 17604 17636 if test x$MISC_MAN_DIR = x ; then ··· 17606 17638 fi 17607 17639 17608 17640 if test x$DRIVER_MAN_SUFFIX = x ; then 17609 - case $host_os in 17610 - solaris*) DRIVER_MAN_SUFFIX=7 ;; 17611 - *) DRIVER_MAN_SUFFIX=4 ;; 17641 + case $SYSV_MAN_SECTIONS in 17642 + true) DRIVER_MAN_SUFFIX=7 ;; 17643 + *) DRIVER_MAN_SUFFIX=4 ;; 17612 17644 esac 17613 17645 fi 17614 17646 if test x$DRIVER_MAN_DIR = x ; then ··· 17616 17648 fi 17617 17649 17618 17650 if test x$ADMIN_MAN_SUFFIX = x ; then 17619 - case $host_os in 17620 - solaris*) ADMIN_MAN_SUFFIX=1m ;; 17621 - *) ADMIN_MAN_SUFFIX=8 ;; 17651 + case $SYSV_MAN_SECTIONS in 17652 + true) ADMIN_MAN_SUFFIX=1m ;; 17653 + *) ADMIN_MAN_SUFFIX=8 ;; 17622 17654 esac 17623 17655 fi 17624 17656 if test x$ADMIN_MAN_DIR = x ; then ··· 17727 17759 17728 17760 17729 17761 17730 - DEF_CURSORPATH="~/.icons:${datadir}/icons:${datadir}/pixmaps" 17762 + DEF_CURSORPATH="~/.local/share/icons:~/.icons:${datadir}/icons:${datadir}/pixmaps" 17731 17763 if test "x${ICONDIR}" != "x${datadir}/icons"; then 17732 17764 DEF_CURSORPATH="${DEF_CURSORPATH}:${ICONDIR}" 17733 17765 fi ··· 18480 18512 # report actual input values of CONFIG_FILES etc. instead of their 18481 18513 # values after options handling. 18482 18514 ac_log=" 18483 - This file was extended by libXcursor $as_me 1.1.15, which was 18515 + This file was extended by libXcursor $as_me 1.2.0, which was 18484 18516 generated by GNU Autoconf 2.69. Invocation command line was 18485 18517 18486 18518 CONFIG_FILES = $CONFIG_FILES ··· 18540 18572 Configuration commands: 18541 18573 $config_commands 18542 18574 18543 - Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>." 18575 + Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libXcursor/issues>." 18544 18576 18545 18577 _ACEOF 18546 18578 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18547 18579 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 18548 18580 ac_cs_version="\\ 18549 - libXcursor config.status 1.1.15 18581 + libXcursor config.status 1.2.0 18550 18582 configured by $0, generated by GNU Autoconf 2.69, 18551 18583 with options \\"\$ac_cs_config\\" 18552 18584
+3 -3
lib/libXcursor/configure.ac
··· 26 26 # This is the package version number, not the shared library 27 27 # version. This version number will be substituted into Xcursor.h 28 28 # 29 - AC_INIT([libXcursor], [1.1.15], 30 - [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],[libXcursor]) 29 + AC_INIT([libXcursor], [1.2.0], 30 + [https://gitlab.freedesktop.org/xorg/lib/libXcursor/issues],[libXcursor]) 31 31 AC_CONFIG_SRCDIR([Makefile.am]) 32 32 AC_CONFIG_HEADERS([config.h include/X11/Xcursor/Xcursor.h]) 33 33 # Set common system defines for POSIX extensions, such as _GNU_SOURCE ··· 67 67 [ICONDIR=${datadir}/icons]) 68 68 AC_SUBST([ICONDIR]) 69 69 70 - DEF_CURSORPATH="~/.icons:${datadir}/icons:${datadir}/pixmaps" 70 + DEF_CURSORPATH="~/.local/share/icons:~/.icons:${datadir}/icons:${datadir}/pixmaps" 71 71 if test "x${ICONDIR}" != "x${datadir}/icons"; then 72 72 DEF_CURSORPATH="${DEF_CURSORPATH}:${ICONDIR}" 73 73 fi
+7 -2
lib/libXcursor/src/library.c
··· 29 29 #endif 30 30 31 31 #ifndef XCURSORPATH 32 - #define XCURSORPATH "~/.icons:/usr/share/icons:/usr/share/pixmaps:"ICONDIR 32 + #define XCURSORPATH "~/.local/share/icons:~/.icons:/usr/share/icons:/usr/share/pixmaps:"ICONDIR 33 33 #endif 34 34 35 35 const char * ··· 260 260 * Recurse to scan inherited themes 261 261 */ 262 262 for (i = inherits; i && f == NULL; i = _XcursorNextPath (i)) 263 - f = XcursorScanTheme (i, name); 263 + { 264 + if (strcmp(i, theme) != 0) 265 + f = XcursorScanTheme (i, name); 266 + else 267 + printf("Not calling XcursorScanTheme because of circular dependency: %s. %s", i, name); 268 + } 264 269 if (inherits != NULL) 265 270 free (inherits); 266 271 return f;