From 10f1934b0e396a26ef27cb7886184023ead4b37e17ba8486e0aa4e55c9df88f7 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Thu, 14 Nov 2024 02:16:47 +0000 Subject: [PATCH] - update to release 1.20.2 * This release changes the XORG_CHECK_MALLOC_ZERO macro to stop testing if malloc(0) returns NULL and instead assumes it might, so that software still works properly if it is running with a different malloc implementation than the configure script found to test at build time. The configure option --disable-malloc0returnsnull is still available for use with configure scripts that call this macro, for use by builders who are sure about the malloc(0) handling in all available malloc implementations in their runtime environment. * This release also removes -Wdeclaration-after-statement from the default warning set used in X.Org, treating it as a code style issue to be considered at code review time instead of a portability issue that everyone building the code needs to be made aware of, now that all supported compilers support this standard feature of C99 and later versions. OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/util-macros?expand=0&rev=18 --- .gitattributes | 23 +++++++++++ .gitignore | 1 + util-macros-1.20.1.tar.xz | 3 ++ util-macros-1.20.2.tar.xz | 3 ++ util-macros.changes | 82 +++++++++++++++++++++++++++++++++++++++ util-macros.spec | 64 ++++++++++++++++++++++++++++++ 6 files changed, 176 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 util-macros-1.20.1.tar.xz create mode 100644 util-macros-1.20.2.tar.xz create mode 100644 util-macros.changes create mode 100644 util-macros.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/util-macros-1.20.1.tar.xz b/util-macros-1.20.1.tar.xz new file mode 100644 index 0000000..ee0000b --- /dev/null +++ b/util-macros-1.20.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0b308f62dce78ac0f4d9de6888234bf170f276b64ac7c96e99779bb4319bcef5 +size 83124 diff --git a/util-macros-1.20.2.tar.xz b/util-macros-1.20.2.tar.xz new file mode 100644 index 0000000..260df77 --- /dev/null +++ b/util-macros-1.20.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9ac269eba24f672d7d7b3574e4be5f333d13f04a7712303b1821b2a51ac82e8e +size 83592 diff --git a/util-macros.changes b/util-macros.changes new file mode 100644 index 0000000..f11be67 --- /dev/null +++ b/util-macros.changes @@ -0,0 +1,82 @@ +------------------------------------------------------------------- +Thu Nov 14 02:13:02 UTC 2024 - Stefan Dirsch + +- update to release 1.20.2 + * This release changes the XORG_CHECK_MALLOC_ZERO macro to stop testing if + malloc(0) returns NULL and instead assumes it might, so that software still + works properly if it is running with a different malloc implementation than + the configure script found to test at build time. The configure option + --disable-malloc0returnsnull is still available for use with configure scripts + that call this macro, for use by builders who are sure about the malloc(0) + handling in all available malloc implementations in their runtime environment. + * This release also removes -Wdeclaration-after-statement from the default + warning set used in X.Org, treating it as a code style issue to be + considered at code review time instead of a portability issue that + everyone building the code needs to be made aware of, now that all + supported compilers support this standard feature of C99 and later versions. + +------------------------------------------------------------------- +Wed Apr 17 13:16:53 UTC 2024 - Stefan Dirsch + +- update to release 1.20.1 + * Remove unnecessary escape + +------------------------------------------------------------------- +Mon Feb 13 20:59:08 UTC 2023 - Stefan Dirsch + +- update to release 1.20.0 + * This release fixes a deprecation warning when the macros are used with + autoconf 2.70 or later, and adds a new XORG_DEFAULT_NOCODE_OPTIONS + macro that can be used with packages that don't compile any code to + skip all the compiler checks done by XORG_DEFAULT_OPTIONS. (Packages + will need to be updated to use this macro - that is in progress now.) + +------------------------------------------------------------------- +Mon Jan 25 11:21:22 UTC 2021 - Stefan Dirsch + +- update to release 1.19.3 + * Update README for gitlab migration + * Update configure.ac bug URL for gitlab migration + * XORG_PROG_RAWCPP: Use AC_PATH_TOOL to find preprocessor + +------------------------------------------------------------------- +Thu Aug 8 11:01:27 UTC 2019 - Dominique Leuenberger + +- Own %{_datadir}/aclocal: when we might switch to pkgconf instead + of pkg-config, nothing in the build root is 'accidentally' owning + this directory for us. + +------------------------------------------------------------------- +Mon Mar 5 14:30:29 UTC 2018 - sndirsch@suse.com + +- update to release 1.19.2 + * Update check for manpage section numbers to not rely on Solaris version + * Rework CHANGELOG_CMD to touch/echo >&2 only as needed + * Rework INSTALL_CMD to touch/echo >&2 only as needed + +------------------------------------------------------------------- +Wed Feb 1 13:24:35 UTC 2017 - sndirsch@suse.com + +- update to release 1.19.1 + * XORG_MANPAGE_SECTIONS: limit SysV man page sections to Solaris 2.0-11 + * Fix XORG_WITH_XMLTO to work with xmlto >= 0.0.27 + * autogen.sh: use quoted string variables + * autogen: add default patch prefix + * autogen.sh: use exec instead of waiting for configure to finish + +------------------------------------------------------------------- +Tue Apr 29 13:12:41 UTC 2014 - sndirsch@suse.com + +- added COPYING to %doc + +------------------------------------------------------------------- +Tue Apr 29 12:19:03 UTC 2014 - cfarrell@suse.com + +- license update: HPND + See COPYING + +------------------------------------------------------------------- +Wed Apr 23 21:12:49 UTC 2014 - tobias.johannes.klausmann@mni.thm.de + +- Created package util-macros with initial version 1.19.0 + diff --git a/util-macros.spec b/util-macros.spec new file mode 100644 index 0000000..b428587 --- /dev/null +++ b/util-macros.spec @@ -0,0 +1,64 @@ +# +# spec file for package util-macros +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: util-macros +Version: 1.20.2 +Release: 0 +Summary: The X Protocol +#Source URL: http://xorg.freedesktop.org/releases/individual/util/ +#BuildRequires: autoconf >= 2.60 +#BuildRequires: automake +#BuildRequires: libtool +License: HPND +Group: Development/Libraries/X11 +URL: https://xorg.freedesktop.org/ +Source: %{name}-%{version}.tar.xz +BuildRequires: pkgconfig + +%description +Utility Macro Headers for X development + +%package -n %{name}-devel +Summary: The X Protocol +# Added within the 13.2 Development Cycle +Group: Development/Libraries/X11 +Provides: xorg-x11-proto-devel:/%{_libdir}/pkgconfig/xorg-macros.pc + +%description -n %{name}-devel +Utility Macro Headers for X development + +%prep +%setup -q + +%build +#autoreconf -fi +./configure CFLAGS="%{optflags} -fno-strict-aliasing" \ + --prefix=%{_prefix} --libdir=%{_libdir} +make %{?_smp_mflags} + +%install +%make_install +rm -f %{buildroot}%{_datadir}/util-macros/INSTALL + +%files -n %{name}-devel +%license COPYING +%dir %{_datadir}/aclocal +%{_datadir}/aclocal/*.m4 +%{_datadir}/pkgconfig/*.pc + +%changelog