Hello community, here is the log from the commit of package libdrm for openSUSE:Factory checked in at 2019-02-24 17:00:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libdrm (Old) and /work/SRC/openSUSE:Factory/.libdrm.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libdrm" Sun Feb 24 17:00:39 2019 rev:143 rq:673473 version:2.4.97 Changes: -------- --- /work/SRC/openSUSE:Factory/libdrm/libdrm.changes 2019-01-26 22:18:33.163043458 +0100 +++ /work/SRC/openSUSE:Factory/.libdrm.new.28833/libdrm.changes 2019-02-24 17:00:51.928752662 +0100 @@ -1,0 +2,20 @@ +Mon Feb 11 21:04:37 UTC 2019 - sndir...@suse.com + +- back to subpackage name libdrm-tools as requested by + jeng...@inai.de + +------------------------------------------------------------------- +Thu Jan 24 18:58:02 UTC 2019 - bjorn....@gmail.com + +- Switch to meson buildsystem: + * Update Git-clone/web to new gitlab home. + * Add meson BuildRequires and macros. + * Add fdupes BuildRequires and macros, remove duplicate files. + * Rename libdrm-tools to drm-tools, follow openSUSE packaging + guidelines and silence a rpmlint warning. Add Obsoletes and + Provides to ensure smooth upgrades. + * Tweak descriptions for several sub-packages. + * Drop custom test install and run, run plain meson_test provided + by upstream. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libdrm.spec ++++++ --- /var/tmp/diff_new_pack.TIKIkG/_old 2019-02-24 17:00:55.124751141 +0100 +++ /var/tmp/diff_new_pack.TIKIkG/_new 2019-02-24 17:00:55.152751128 +0100 @@ -23,29 +23,32 @@ License: MIT Group: Development/Libraries/X11 Url: http://dri.freedesktop.org/ -#Git-Clone: git://anongit.freedesktop.org/git/mesa/drm -#Git-Web: http://cgit.freedesktop.org/mesa/drm/ -# Source URL: http://dri.freedesktop.org/libdrm/ -Source: http://dri.freedesktop.org/libdrm/%{name}-%{version}.tar.bz2 +# Git-Clone: https://gitlab.freedesktop.org/mesa/drm.git +# Git-Web: https://gitlab.freedesktop.org/mesa/drm +# Source URL: https://dri.freedesktop.org/libdrm/ +Source: https://dri.freedesktop.org/libdrm/%{name}-%{version}.tar.bz2 Source2: baselibs.conf -BuildRequires: pkgconfig -BuildRequires: pkgconfig(pciaccess) >= 0.10 + # Required for building manpages BuildRequires: docbook-xsl-stylesheets +BuildRequires: fdupes +BuildRequires: meson >= 0.43 +BuildRequires: pkgconfig BuildRequires: xsltproc +BuildRequires: pkgconfig(pciaccess) >= 0.10 +%if 0%{?with_valgrind_support:1} +%ifarch %{ix86} x86_64 ppc ppc64 ppc64le s390x %{arm} +BuildRequires: pkgconfig(valgrind) +%endif +%endif + Provides: libdrm23 = %{version} Obsoletes: libdrm23 < %{version} -BuildRoot: %{_tmppath}/%{name}-%{version}-build # bug437293 %ifarch ppc64 Obsoletes: libdrm-64bit < %{version} Provides: libdrm-64bit = %{version} %endif -%if 0%{?with_valgrind_support:1} -%ifarch %{ix86} x86_64 ppc ppc64 ppc64le s390x %{arm} -BuildRequires: pkgconfig(valgrind) -%endif -%endif %description The package contains the userspace interface to the kernel DRM @@ -58,7 +61,14 @@ Provides: libdrm = %{version}-%{release} %description tools -(Upstream has not provided a description) +libdrm is a library for accessing the Direct Rendering Manager on +Linux, BSD and other operating systems that support the ioctl +interface, and for chipsets with DRM memory manager, support for +tracking relocations and buffers. libdrm is a low-level library, +typically used by graphics drivers such as the Mesa DRI and X +drivers. + +This package contains diagnostic utilities for DRI and DRM. %package devel Summary: Libraries, includes and more to develop libdrm applications @@ -113,28 +123,44 @@ Group: System/Libraries %description -n libdrm_intel1 -(Upstream has not provided a description) +libdrm is a library for accessing the Direct Rendering Manager on +Linux, BSD and other operating systems. + +This package provides userspace interface for Kernel DRM services +for Intel chips. %package -n libdrm_nouveau2 Summary: Userspace interface for Kernel DRM services for NVIDIA chips Group: System/Libraries %description -n libdrm_nouveau2 -(Upstream has not provided a description) +libdrm is a library for accessing the Direct Rendering Manager on +Linux, BSD and other operating systems. + +This package provides userspace interface for Kernel DRM services +for NVIDIA chips. %package -n libdrm_radeon1 Summary: Userspace interface for Kernel DRM services for AMD Radeon chips Group: System/Libraries %description -n libdrm_radeon1 -(Upstream has not provided a description) +libdrm is a library for accessing the Direct Rendering Manager on +Linux, BSD and other operating systems. + +This package provides userspace interface for Kernel DRM services +for AMD Radeon chips. %package -n libdrm_amdgpu1 Summary: Userspace interface for Kernel DRM services for AMD Radeon chips Group: System/Libraries %description -n libdrm_amdgpu1 -(Upstream has not provided a description) +libdrm is a library for accessing the Direct Rendering Manager on +Linux, BSD and other operating systems. + +This package provides userspace interface for Kernel DRM services +for AMD Radeon chips. %package -n libkms-devel Summary: Development files for the KMS MM abstraction library @@ -151,85 +177,100 @@ %description -n libkms1 The KMS Memory Management abstraction library. +This package provides the userspace interface to kernel DRM buffer management %package -n libdrm_omap1 Summary: Userspace interface to kernel DRM services for omap chips Group: System/Libraries %description -n libdrm_omap1 -(Upstream has not provided a description) +libdrm is a library for accessing the Direct Rendering Manager on +Linux, BSD and other operating systems. + +This package provides userspace interface to kernel DRM services +for omap chips. %package -n libdrm_etnaviv1 Summary: Userspace interface to kernel DRM services for Vivante chips Group: System/Libraries %description -n libdrm_etnaviv1 -(Upstream has not provided a description) +libdrm is a library for accessing the Direct Rendering Manager on +Linux, BSD and other operating systems. + +This package provides userspace interface to kernel DRM services +for Vivante chips. %package -n libdrm_exynos1 Summary: Userspace interface to kernel DRM services for Samsung Exynos chips Group: System/Libraries %description -n libdrm_exynos1 -(Upstream has not provided a description) +libdrm is a library for accessing the Direct Rendering Manager on +Linux, BSD and other operating systems. + +This package provides userspace interface to kernel DRM services +for Samsung Exynos chips. %package -n libdrm_freedreno1 Summary: Userspace interface to kernel DRM services for Qualcomm Adreno chips Group: System/Libraries %description -n libdrm_freedreno1 -(Upstream has not provided a description) +libdrm is a library for accessing the Direct Rendering Manager on +Linux, BSD and other operating systems. + +This package provides userspace interface to kernel DRM services +for Qualcomm Adreno chips. %package -n libdrm_tegra0 Summary: Userspace interface to kernel DRM services for Nvidia Tegra chips Group: System/Libraries %description -n libdrm_tegra0 -(Upstream has not provided a description) +libdrm is a library for accessing the Direct Rendering Manager on +Linux, BSD and other operating systems. + +This package provides userspace interface to kernel DRM services +for Nvidia Tegra chips. %prep -%setup -q +%autosetup -p1 %build export CFLAGS="%{optflags} -fno-strict-aliasing" -%configure \ +%meson \ + --default-library=shared \ + -Dinstall-test-programs=true \ + -Dudev=true \ +%ifarch %{arm} + -Domap=true \ +%endif +%ifarch %{arm} aarch64 + -Detnaviv=true \ + -Dexynos=true \ + -Dfreedreno=true \ + -Dtegra=true \ +%endif %ifnarch %{ix86} x86_64 ppc ppc64 ppc64le s390x %{arm} - --disable-valgrind \ + -Dvalgrind=false \ %else %if 0%{!?with_valgrind_support:1} - --disable-valgrind \ -%endif + -Dvalgrind=false \ %endif -%ifarch %{arm} - --enable-omap-experimental-api \ %endif -%ifarch %{arm} aarch64 - --enable-etnaviv-experimental-api \ - --enable-exynos-experimental-api \ - --enable-freedreno \ - --enable-tegra-experimental-api \ -%endif - --enable-manpages \ - --enable-udev - -make %{?_smp_mflags} V=1 -make %{?_smp_mflags} -C tests + %{nil} +%meson_build %check -make %{?_smp_mflags} -C tests check-am +### FIXME ### Tests fail on arm, so lets not run them there for now. +%ifnarch %{arm} +%meson_test +%endif %install -make %{?_smp_mflags} DESTDIR=%{buildroot} install -make -C tests/modeprint install DESTDIR=%{buildroot} -make -C tests/modetest install DESTDIR=%{buildroot} -find %{buildroot} -type f -name "*.la" -delete -print -mkdir -p %{buildroot}%{_prefix}/bin -install \ - tests/modeprint/.libs/modeprint \ - tests/modetest/.libs/modetest %{buildroot}%{_prefix}/bin -%ifarch %arm aarch64 -install tests/exynos/.libs/exynos_fimg2d_test %{buildroot}%{_prefix}/bin -%endif +%meson_install +%fdupes %{buildroot}/%{_prefix} %post -n libdrm2 -p /sbin/ldconfig %postun -n libdrm2 -p /sbin/ldconfig @@ -262,16 +303,23 @@ %files tools %ifarch %arm aarch64 +%{_bindir}/etnaviv_2d_test +%{_bindir}/etnaviv_bo_cache_test +%{_bindir}/etnaviv_cmd_stream_test %{_bindir}/exynos_fimg2d_test +%{_bindir}/exynos_fimg2d_event +%{_bindir}/exynos_fimg2d_perf %endif +%{_bindir}/kms-steal-crtc +%{_bindir}/kms-universal-planes +%{_bindir}/kmstest %{_bindir}/modeprint %{_bindir}/modetest +%{_bindir}/proptest +%{_bindir}/vbltest %files devel -%dir %{_mandir}/man3 -%dir %{_mandir}/man7 -%{_mandir}/man3/* -%{_mandir}/man7/* +%{_mandir}/man?/drm*?%{ext_man} %{_includedir}/libdrm %ifarch %{arm} %{_includedir}/omap