I have made the following changes intended for : nemo:devel:hw:ti:omap4:pandaboard / pvr-omap4 nemo:devel:hw:ti:omap4:pandaboard / libdri2
Please review and accept or decline. BOSS has already run some checks on this request. See the "Messages from BOSS" section below. https://build.merproject.org//request/show/98 Thank You, Simonas L. [This message was auto-generated] --- Request # 98: Messages from BOSS: State: review at 2013-03-26T11:49:41 by cibot Reviews: accepted by cibot : Prechecks succeeded. new for nemo:devel:hw:ti:omap4:pandaboard : Please replace this text with a review and approve/reject the review (not the SR). BOSS will take care of the rest Changes: submit: home:sledge:branches:nemo:devel:hw:ti:omap4:pandaboard / pvr-omap4 -> nemo:devel:hw:ti:omap4:pandaboard / pvr-omap4 changes files: -------------- ++++++ new changes file: --- pvr-omap4.changes +++ pvr-omap4.changes @@ -0,0 +1,35 @@ +* Thu Mar 21 2013 Simonas Leleiva <[email protected]> - 1.9.0.7.1.5 +- split away the kernel package (and its -dkms tarball) + +* Wed Mar 20 2013 Simonas Leleiva <[email protected]> - 1.9.0.7.1.5 +- extract main component of kernel version from the package (versioning havoc) +- clean-up .yaml and .spec to match with a result of re-runing specify + +* Fri Mar 15 2013 Simonas Leleiva <[email protected]> - 1.9.0.7.1.5 +- adjust kernel version macro, to match TI kernel versioning havoc + +* Wed Mar 13 2013 Simonas Leleiva <[email protected]> - 1.9.0.7.1.5 +- clean-up packaging +- add .service file +- remove odd whitespace in .yaml + +* Fri Jan 11 2013 Simonas Leleiva <[email protected]> - 1.9.0.7.1.5 +- Update to 1.9.0.7.1.5 +- It fixes SGX crash on OpenGL apps + +* Tue Aug 21 2012 Marko Saukko <[email protected]> - 1.9.0.5.1.1 +- Update to 1.9.0.5.1.1 tag d6ad281 + +* Wed Mar 21 2012 Marko Saukko <[email protected]> - 1.7.10.0.1.21 +- Updated to version 1.7.10.0.1.21 +- Changed from armv7l to armv7hl only. + +* Thu Jan 19 2012 Marko Saukko <[email protected]> - 1.7.10.0.1.8 +- Updated to version 1.7.10.0.1.8 + +* Thu Dec 01 2011 Marko Saukko <[email protected]> - 1.7.10.0.1.3 +- Updated to version 1.7.10.0.1.3 +- Added pvr-omap4-kernel requirement. + +* Thu Nov 03 2011 Marko Saukko <[email protected]> - 1.7.9.0.1.5 +- Initial packaging based on linaro packages. new: ---- 0000-disable-hwcursor.patch pvr-omap4.changes pvr-omap4.service pvr-omap4.spec pvr-omap4.yaml pvr-omap4_1.9.0.7.1.5.orig.tar.gz spec files: ----------- ++++++ new spec file: --- pvr-omap4.spec +++ pvr-omap4.spec @@ -0,0 +1,293 @@ +# +# Do NOT Edit the Auto-generated Part! +# Generated by: spectacle version 0.25 +# + +Name: pvr-omap4 + +# >> macros +%define debug_package %{nil} +# << macros + +Summary: PowerVR SGX540 libraries for OMAP4 +Version: 1.9.0.7.1.5 +Release: 1 +Group: Graphics/Display and Graphics Adaptation +License: TI Proprietary +ExclusiveArch: armv7hl armv8el +URL: https://launchpad.net/~tiomap-dev/+archive/release/+packages +Source0: pvr-omap4_%{version}.orig.tar.gz +Source1: pvr-omap4.service +Source100: pvr-omap4.yaml +Patch0: 0000-disable-hwcursor.patch +Requires: xorg-x11-drv-omap +Requires: systemd +Requires(preun): systemd +Requires(post): /sbin/ldconfig +Requires(post): systemd +Requires(postun): /sbin/ldconfig +Requires(postun): systemd + +%description +PowerVR SGX540 Linux libraries for OMAP4. +This package contains the remaining binaries and common libraries. + +%package debuginfo +Summary: debuginfo collection +Group: Development/Libraries + +%description debuginfo +This package.. + +%package libEGL +Summary: EGL for SGX +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig +Provides: libEGL = %{version}-%{release} +Provides: libEGL.so.1 + +%description libEGL +This package.. + + +%package libEGL-devel +Summary: EGL development headers for SGX +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: %{name}-libEGL = %{version}-%{release} +Requires: %{name}-devel = %{version}-%{release} +Provides: libEGL-devel + +%description libEGL-devel +This package.. + + +%package libGLESv1 +Summary: GLESv1 for SGX +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig +Provides: libGLESv1 = %{version}-%{release} +Provides: libGLES_CM.so.1 +Provides: libGLES_CM.so + +%description libGLESv1 +This package.. + + +%package libGLESv1-devel +Summary: GLESv1 development headers for SGX +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: %{name}-libGLESv1 = %{version}-%{release} +Requires: %{name}-devel = %{version}-%{release} +Provides: libGLESv1-devel + +%description libGLESv1-devel +This package.. + + +%package libGLESv2 +Summary: GLESv2 for SGX +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig +Provides: libGLESv2 = %{version}-%{release} +Provides: libGLESv2.so.2 + +%description libGLESv2 +This package.. + + +%package libGLESv2-devel +Summary: GLESv2 development headers for SGX +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: %{name}-libGLESv2 = %{version}-%{release} +Requires: %{name}-devel = %{version}-%{release} +Provides: libGLESv2-devel + +%description libGLESv2-devel +This package.. + + +%package libwayland +Summary: Wayland development headers for SGX +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig +Provides: libwayland = %{version}-%{release} +Provides: libwayland-egl.so + +%description libwayland +This package.. + + + +%prep +%setup -q -c + +# 0000-disable-hwcursor.patch +%patch0 -p1 +# >> setup +# << setup + +%build +# >> build pre +# << build pre + + + +# >> build post +# << build post + +%install +rm -rf %{buildroot} +# >> install pre +install -d %{buildroot}/ +cp -arv usr/ %{buildroot}/ +chmod 755 %{buildroot}/%{_libdir}/*.so.1.* + +# Work-a-round to get the pvr demos running +ln -s libGLESv1_CM.so.1 %{buildroot}/%{_libdir}/libGLES_CM.so.1 +ln -s libGLESv1_CM.so %{buildroot}/%{_libdir}/libGLES_CM.so + +mkdir -p %{buildroot}/%{_lib}/systemd/system/basic.target.wants/ +cp %{SOURCE1} %{buildroot}/%{_lib}/systemd/system/ +ln -s ../$(basename %{SOURCE1}) \ +%{buildroot}/%{_lib}/systemd/system/basic.target.wants/$(basename %{SOURCE1}) +# << install pre + +# >> install post +# << install post + + +%preun +if [ "$1" -eq 0 ]; then +systemctl stop %{name}.service +fi + +%post +/sbin/ldconfig +systemctl daemon-reload +systemctl reload-or-try-restart %{name}.service + +%postun +/sbin/ldconfig +systemctl daemon-reload + +%post libEGL -p /sbin/ldconfig + +%postun libEGL -p /sbin/ldconfig + +%post libGLESv1 -p /sbin/ldconfig + +%postun libGLESv1 -p /sbin/ldconfig + +%post libGLESv2 -p /sbin/ldconfig + +%postun libGLESv2 -p /sbin/ldconfig + +%post libwayland -p /sbin/ldconfig + +%postun libwayland -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +# >> files +%doc usr/share/doc/sgx-lib/copyright +%{_libdir}/libIMGegl.so* +%{_libdir}/libglslcompiler.so* +%{_libdir}/libpvr2d.so* +%{_libdir}/libsrv_um.so* +%{_libdir}/libPVRScopeServices.so* +%{_libdir}/libsrv_init.so* +%{_libdir}/libusc.so* +%{_libdir}/gbm/gbm_pvr.so* + +# Xorg stuff +%{_libdir}/xorg/modules/drivers/omap_pvr_drv.so +%{_datadir}/X11/xorg.conf.d/99-omap.conf +%{_datadir}/sgx-lib +%{_datadir}/doc/* +%attr(755,root,root) %{_bindir}/pvrsrvinit +/%{_lib}/systemd/system/%{name}.service +/%{_lib}/systemd/system/basic.target.wants/%{name}.service +%{_bindir}/sgx_init_test +%{_libdir}/libpvrws_OMAPDRI2.so* +# << files + +%files debuginfo +%defattr(-,root,root,-) +# >> debuginfo +%doc usr/share/doc/sgx-lib/copyright +%{_libdir}/debug/%{_libdir}/* +%{_libdir}/debug/%{_bindir}/* +# << files debuginfo + +%files libEGL +%defattr(-,root,root,-) +# >> files libEGL +%doc usr/share/doc/sgx-lib/copyright +%{_bindir}/xeglinfo +%{_bindir}/xmultiegltest +%{_libdir}/libEGL.so* +%{_libdir}/libIMGegl.so* +# << files libEGL + +%files libEGL-devel +%defattr(-,root,root,-) +# >> files libEGL-devel +%doc usr/share/doc/sgx-lib/copyright +%{_includedir}/KHR/*.h +%{_includedir}/EGL/*.h +%{_libdir}/pkgconfig/egl.pc +# << files libEGL-devel + +%files libGLESv1 +%defattr(-,root,root,-) +# >> files libGLESv1 +%doc usr/share/doc/sgx-lib/copyright +%{_bindir}/xgles1test1 +%{_libdir}/libGLES*_CM.so* +# << files libGLESv1 + +%files libGLESv1-devel +%defattr(-,root,root,-) +# >> files libGLESv1-devel +%doc usr/share/doc/sgx-lib/copyright +%{_includedir}/GLES/*.h +%{_libdir}/pkgconfig/glesv1_cm.pc +# << files libGLESv1-devel + +%files libGLESv2 +%defattr(-,root,root,-) +# >> files libGLESv2 +%doc usr/share/doc/sgx-lib/copyright +%{_bindir}/xgles2test1 +%{_libdir}/libGLESv2.so* +# << files libGLESv2 + +%files libGLESv2-devel +%defattr(-,root,root,-) +# >> files libGLESv2-devel +%doc usr/share/doc/sgx-lib/copyright +%{_includedir}/GLES2/*.h +%{_libdir}/pkgconfig/glesv2.pc +# << files libGLESv2-devel + +%files libwayland +%defattr(-,root,root,-) +# >> files libwayland +%doc usr/share/doc/sgx-lib/copyright +%{_libdir}/libpvr_wlegl.so* +%{_libdir}/libpvrws_KMS.so* +%{_libdir}/libpvrws_WAYLAND.so* +%{_libdir}/libwayland-egl.so* +%{_libdir}/pkgconfig/wayland-egl.pc +# << files libwayland other changes: -------------- ++++++ 0000-disable-hwcursor.patch (new) --- 0000-disable-hwcursor.patch +++ 0000-disable-hwcursor.patch @@ -0,0 +1,12 @@ +diff --git a/usr/share/X11/xorg.conf.d/99-omap.conf b/usr/share/X11/xorg.conf.d/99-omap.conf +index 5838cbe..e19b9cf 100644 +--- a/usr/share/X11/xorg.conf.d/99-omap.conf ++++ b/usr/share/X11/xorg.conf.d/99-omap.conf +@@ -4,6 +4,7 @@ Section "Device" + Identifier "Video Device" + Driver "omap" + Option "Debug" "false" ++ Option "HWCursor" "false" + EndSection + + Section "Screen" ++++++ pvr-omap4.service (new) --- pvr-omap4.service +++ pvr-omap4.service @@ -0,0 +1,11 @@ +[Unit] +Description=TI OMAP4 SGX driver +After=local-fs.target + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStart=/usr/bin/pvrsrvinit + +[Install] +WantedBy=basic.target ++++++ pvr-omap4.yaml (new) --- pvr-omap4.yaml +++ pvr-omap4.yaml @@ -0,0 +1,95 @@ +Name: pvr-omap4 +Summary: PowerVR SGX540 libraries for OMAP4 +Version: 1.9.0.7.1.5 +Release: 1 +Group: Graphics/Display and Graphics Adaptation +License: TI Proprietary +URL: https://launchpad.net/~tiomap-dev/+archive/release/+packages +Sources: + - pvr-omap4_%{version}.orig.tar.gz + - pvr-omap4.service +Patches: + - 0000-disable-hwcursor.patch + +Description: | + PowerVR SGX540 Linux libraries for OMAP4. + This package contains the remaining binaries and common libraries. + +SetupOptions: "-q -n pvr-omap4_%{version}.orig" + +Configure: none +Builder: none +ExclusiveArch: "armv7hl armv8el" +Requires: + - xorg-x11-drv-omap + +SubPackages: + - Name: libEGL + Summary: EGL for SGX + Group: Development/Libraries + Description: | + This package.. + Provides: + - libEGL = %{version}-%{release} + - libEGL.so.1 + + - Name: libEGL-devel + Summary: EGL development headers for SGX + Group: Development/Libraries + Description: | + This package.. + Requires: + - "%{name}-libEGL = %{version}-%{release}" + - "%{name}-devel = %{version}-%{release}" + Provides: + - libEGL-devel + + - Name: libGLESv1 + Summary: GLESv1 for SGX + Group: Development/Libraries + Description: | + This package.. + Provides: + - libGLESv1 = %{version}-%{release} + - libGLES_CM.so.1 + - libGLES_CM.so + + - Name: libGLESv1-devel + Summary: GLESv1 development headers for SGX + Group: Development/Libraries + Description: | + This package.. + Requires: + - "%{name}-libGLESv1 = %{version}-%{release}" + - "%{name}-devel = %{version}-%{release}" + Provides: + - libGLESv1-devel + + - Name: libGLESv2 + Summary: GLESv2 for SGX + Group: Development/Libraries + Description: | + This package.. + Provides: + - libGLESv2 = %{version}-%{release} + - libGLESv2.so.2 + + - Name: libGLESv2-devel + Summary: GLESv2 development headers for SGX + Group: Development/Libraries + Description: | + This package.. + Requires: + - "%{name}-libGLESv2 = %{version}-%{release}" + - "%{name}-devel = %{version}-%{release}" + Provides: + - libGLESv2-devel + + - Name: libwayland + Summary: Wayland development headers for SGX + Group: Development/Libraries + Description: | + This package.. + Provides: + - libwayland = %{version}-%{release} + - libwayland-egl.so ++++++ pvr-omap4_1.9.0.7.1.5.orig.tar.gz (new) submit: home:sledge:branches:nemo:devel:hw:ti:omap4:pandaboard / libdri2 -> nemo:devel:hw:ti:omap4:pandaboard / libdri2 changes files: -------------- ++++++ new changes file: --- libdri2.changes +++ libdri2.changes @@ -0,0 +1,3 @@ +* Wed Aug 29 2012 Marko Saukko <[email protected]> - 1.0.3 +- Initial packaging. + new: ---- libdri2.changes libdri2.spec libdri2.yaml ubuntu-omap-libdri2-debian_1.0.3-0ubuntu1.tar.gz spec files: ----------- ++++++ new spec file: --- libdri2.spec +++ libdri2.spec @@ -0,0 +1,73 @@ +# +# Do NOT Edit the Auto-generated Part! +# Generated by: spectacle version 0.25 +# + +Name: libdri2 + +# >> macros +# << macros + +Summary: Dri2 library +Version: 1.0.3 +Release: 1 +Group: Libaries +License: XYZ +Source0: ubuntu-omap-libdri2-debian_1.0.3-0ubuntu1.tar.gz +Source100: libdri2.yaml +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig +BuildRequires: pkgconfig(xorg-macros) >= 1.8 +BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(xext) +BuildRequires: pkgconfig(xextproto) +BuildRequires: pkgconfig(libdrm) +BuildRequires: pkgconfig(dri2proto) +BuildRequires: pkgconfig(fixesproto) +BuildRequires: pkgconfig(xfixes) +BuildRequires: pkgconfig(libdrm_omap) + +%description +%{summary} + + + +%prep +%setup -q -n ubuntu-omap-%{name} + +# >> setup +# << setup + +%build +# >> build pre +# << build pre + +%reconfigure --disable-static +make %{?jobs:-j%jobs} + +# >> build post +# << build post + +%install +rm -rf %{buildroot} +# >> install pre +# << install pre +%make_install + +# >> install post +# << install post + + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +/usr/include/X11/extensions/dri2.h +/usr/lib/libdri2.so +/usr/lib/libdri2.so.1 +/usr/lib/libdri2.so.1.0.0 +/usr/lib/pkgconfig/dri2.pc +# >> files +# << files other changes: -------------- ++++++ libdri2.yaml (new) --- libdri2.yaml +++ libdri2.yaml @@ -0,0 +1,30 @@ +Name: libdri2 +Summary: Dri2 library +Description: | + %{summary} +Version: 1.0.3 +Group: Libaries +License: XYZ +Sources: + - ubuntu-omap-libdri2-debian_1.0.3-0ubuntu1.tar.gz +PkgConfigBR: + - xorg-macros >= 1.8 + - x11 + - xext + - xextproto + - libdrm + - dri2proto + - fixesproto + - xfixes + - libdrm_omap + +Configure: reconfigure + +Files: + - "/usr/include/X11/extensions/dri2.h" + - "/usr/lib/libdri2.so" + - "/usr/lib/libdri2.so.1" + - "/usr/lib/libdri2.so.1.0.0" + - "/usr/lib/pkgconfig/dri2.pc" + + ++++++ ubuntu-omap-libdri2-debian_1.0.3-0ubuntu1.tar.gz (new)
