diff options
author | Anas Nashif <anas.nashif@intel.com> | 2012-11-13 07:03:45 -0800 |
---|---|---|
committer | Seung-Woo Kim <sw0312.kim@samsung.com> | 2018-02-26 10:18:44 +0900 |
commit | 47b8d16224bb9132aeaeba0b35d81f4100790d32 (patch) | |
tree | d2ebc7daa161b746bf97d876c634a16146ebd4e4 | |
parent | fa474effc1059e84c401dd97aea09b3f0cce1ae2 (diff) | |
download | libdrm-47b8d16224bb9132aeaeba0b35d81f4100790d32.tar.gz libdrm-47b8d16224bb9132aeaeba0b35d81f4100790d32.tar.bz2 libdrm-47b8d16224bb9132aeaeba0b35d81f4100790d32.zip |
add packaging
do not install libdrm_intel on ARM
added baselibs for multi lib supporta for intel drm
Fixed package groups
Fixed groups, dependencies and rpmlint warnings
resetting manifest requested domain to floor
Remove dependency on xorg-macros
libdrm didn't use any macros from xorg-macros, so remove it.
Change-Id: I37cda1f7bc48a2d0f98c9a319c78f8dca6b0f90c
Signed-off-by: Alex Wu <zhiwen.wu@linux.intel.com>
packaging: build using upstream tags
Change-Id: I1587634bfdd59172b7032cd968d0005261f1ad77
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
fixed arch check for libdrm-intel requires.
Currently we have invalid requires for libdrm-intel for non-arm and non-intel arches.
Change-Id: I19c90a272da284f63c6d862a2e67e94f110a2807
Signed-off-by: Andriy Prystupa <andriy.prystupa@globallogic.com>
packaging: add libdrm-tools
This patch adds libdrm-tools package which includes test utilities such
as modetest/modeprint.
Change-Id: Icc10b1c56625af7954823664156cfec8b7b57c3e
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
clean spec file
- allow build for yocto
- improve rpmlint score
Change-Id: I1d563567b30914925e67fd3aebf3a6cc5e65026a
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
packaging: depend on the same release
Change-Id: I02c7ff42eb688c6a6b03532966f2a16daad8910f
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
packaging: add tools-exynos for testing exynos_drm
This patch adds tools-exynos package to test exynos.
Change-Id: I8dbd821f056ac3f7e2a043a97d0c39bec7f75b40
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
remove manifest for security domain policy
Change-Id: I556117f4dca6c11e3477b3404244f5a8c17b1ede
Signed-off-by: Mun, Gwan-gyeong <kk.moon@samsung.com>
Add manifest for security domain policy
Change-Id: I18f14262475041b2f1e919923907f998a8f12d87
packaging: Clean up kmstest
There is no reason to remove kmstest from package.
Change-Id: I772c21ca005f7edb23bb832a2ae3f8b3259d7a08
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Update to 2.4.75
Change-Id: I54ef37f9be4c03a7502b2e0cc8b93e46efe87a8a
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
packaging: notice license of libdrm package
This patch copies license file to /usr/share/licenses/libdrm/.
The licenses of all packages should be noticed when released.
Change-Id: I0224046d19ff73b44ec825c2b2327836e55b44c2
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Update to 2.4.90
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
-rw-r--r-- | .gbs.conf | 4 | ||||
-rw-r--r-- | configure.ac | 7 | ||||
-rw-r--r-- | packaging/baselibs.conf | 2 | ||||
-rw-r--r-- | packaging/libdrm.changes | 15 | ||||
-rw-r--r-- | packaging/libdrm.manifest | 5 | ||||
-rw-r--r-- | packaging/libdrm.spec | 140 |
6 files changed, 166 insertions, 7 deletions
diff --git a/.gbs.conf b/.gbs.conf new file mode 100644 index 00000000..9d880b56 --- /dev/null +++ b/.gbs.conf @@ -0,0 +1,4 @@ +[general] +upstream_branch = upstream +upstream_tag = libdrm-${upstreamversion} +squash_patches_until = HEAD~10 diff --git a/configure.ac b/configure.ac index c9c4754c..fe048a2d 100644 --- a/configure.ac +++ b/configure.ac @@ -30,13 +30,6 @@ AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_AUX_DIR([build-aux]) PKG_PROG_PKG_CONFIG -# Require xorg-macros minimum of 1.12 for XORG_WITH_XSLTPROC -m4_ifndef([XORG_MACROS_VERSION], - [m4_fatal([must install xorg-macros 1.12 or later before running autoconf/autogen])]) -XORG_MACROS_VERSION(1.12) -XORG_WITH_XSLTPROC -XORG_MANPAGE_SECTIONS - AM_INIT_AUTOMAKE([1.10 foreign dist-bzip2]) # Enable quiet compiles on automake 1.11. diff --git a/packaging/baselibs.conf b/packaging/baselibs.conf new file mode 100644 index 00000000..e55015a8 --- /dev/null +++ b/packaging/baselibs.conf @@ -0,0 +1,2 @@ +libdrm +libdrm-intel diff --git a/packaging/libdrm.changes b/packaging/libdrm.changes new file mode 100644 index 00000000..724d2a98 --- /dev/null +++ b/packaging/libdrm.changes @@ -0,0 +1,15 @@ +* Wed Jun 26 2013 Anas Nashif <anas.nashif@intel.com> submit/tizen/20130509.181023@2f4c082 +- Fixed groups, dependencies and rpmlint warnings + +* Sun Mar 24 2013 Anas Nashif <anas.nashif@intel.com> libdrm-2.4.42@d72da55 +- Do not build slp module + +* Mon Mar 18 2013 Anas Nashif <anas.nashif@intel.com> submit/trunk/20130211.161736@3627b63 +- Fixed package groups + +* Mon Feb 11 2013 Anas Nashif <anas.nashif@intel.com> submit/trunk/20130211.160627@4aa3f86 +- readd baselibs.conf + +* Mon Feb 11 2013 Anas Nashif <anas.nashif@intel.com> libdrm-2.4.42@ade64c1 +- Update to 2.4.42 + diff --git a/packaging/libdrm.manifest b/packaging/libdrm.manifest new file mode 100644 index 00000000..017d22d3 --- /dev/null +++ b/packaging/libdrm.manifest @@ -0,0 +1,5 @@ +<manifest> + <request> + <domain name="_"/> + </request> +</manifest> diff --git a/packaging/libdrm.spec b/packaging/libdrm.spec new file mode 100644 index 00000000..758540a4 --- /dev/null +++ b/packaging/libdrm.spec @@ -0,0 +1,140 @@ +Name: libdrm +Version: 2.4.90 +Release: 0 +License: MIT +Url: http://cgit.freedesktop.org/mesa/drm +Summary: Userspace interface to kernel DRM services +Group: Graphics & UI Framework/Libraries +Source0: %{name}-%{version}.tar.bz2 +Source1001: %name.manifest + +BuildRequires: kernel-headers +BuildRequires: pkgconfig(pciaccess) + +%description +Direct Rendering Manager headers and kernel modules. + +%package tools +Summary: Diagnostic utilities for DRI and DRM +Group: Graphics & UI Framework/Utilities +Obsoletes: libdrm < %version-%release +Provides: libdrm = %version-%release + +%description tools +Diagnoistic tools to run a test for DRI and DRM + +%package tools-exynos +Summary: Diagnostic utilities for exynos +Group: Graphics & UI Framework/Utilities + +%description tools-exynos +Diagnoistic tools to run a test for exynos + +%package devel +Summary: Userspace interface to kernel DRM services +Requires: kernel-headers +Requires: libdrm = %{version}-%{release} +%ifarch i586 i686 %ix86 x86_64 +Requires: libdrm-intel = %{version}-%{release} +%endif +Requires: libkms = %{version}-%{release} + +%description devel +Direct Rendering Manager headers and kernel modules. + +Development related files. + +%package -n libkms +Summary: Userspace interface to kernel DRM buffer management + +%description -n libkms +Userspace interface to kernel DRM buffer management files + +%package intel +Summary: Userspace interface to intel graphics kernel DRM buffer management + +%description intel +Userspace interface to intel graphics kernel DRM buffer management files + +%prep +%setup -q +cp %{SOURCE1001} . + +%build +%reconfigure \ + --enable-static=yes \ + --enable-udev \ + --enable-libkms \ + --disable-radeon \ + --disable-amdgpu \ + --disable-nouveau \ + --disable-freedreno \ + --enable-exynos-experimental-api \ + --enable-install-test-programs \ + --disable-cairo-tests + +%__make %{?_smp_mflags} CFLAGS+="-fPIE" LDFLAGS+="-pie" + +%install +%make_install + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%post -n libkms -p /sbin/ldconfig + +%postun -n libkms -p /sbin/ldconfig + +%post intel -p /sbin/ldconfig + +%postun intel -p /sbin/ldconfig + +%files +%manifest %{name}.manifest +%license COPYING +%{_libdir}/libdrm.so.* +%{_libdir}/libdrm_exynos.so.* + +%files tools +%manifest %{name}.manifest +%{_bindir}/kms-steal-crtc +%{_bindir}/kms-universal-planes +%{_bindir}/kmstest +%{_bindir}/modeprint +%{_bindir}/modetest +%{_bindir}/proptest +%{_bindir}/vbltest + +%files tools-exynos +%manifest %{name}.manifest +%{_bindir}/exynos_fimg2d_event +%{_bindir}/exynos_fimg2d_perf +%{_bindir}/exynos_fimg2d_test + +%files devel +%manifest %{name}.manifest +%dir %{_includedir}/libdrm +%{_includedir}/libdrm/*.h +%dir %{_includedir}/libkms +%{_includedir}/libkms/*.h +%dir %{_includedir}/exynos +%{_includedir}/exynos/*.h +%{_includedir}/*.h +%{_libdir}/libdrm.so +%ifarch i586 i686 %ix86 x86_64 +%{_libdir}/libdrm_intel.so +%endif +%{_libdir}/libkms.so +%{_libdir}/libdrm_exynos.so +%{_libdir}/pkgconfig/* + +%files -n libkms +%manifest %{name}.manifest +%{_libdir}/libkms.so.* + +%ifarch i586 i686 %ix86 x86_64 +%files intel +%manifest %{name}.manifest +%{_libdir}/libdrm_intel.so.* +%endif |