diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
commit | 1be510f9529cb082f802408b472a77d074b394c0 (patch) | |
tree | b175f9d5fcb107576dabc768e7bd04d4a3e491a0 /zarb-ml/mageia-dev/attachments/20120410/da488c0d/attachment-0015.obj | |
parent | fa5098cf210b23ab4f419913e28af7b1b07dafb2 (diff) | |
download | archives-master.tar archives-master.tar.gz archives-master.tar.bz2 archives-master.tar.xz archives-master.zip |
Diffstat (limited to 'zarb-ml/mageia-dev/attachments/20120410/da488c0d/attachment-0015.obj')
-rw-r--r-- | zarb-ml/mageia-dev/attachments/20120410/da488c0d/attachment-0015.obj | 116 |
1 files changed, 116 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/attachments/20120410/da488c0d/attachment-0015.obj b/zarb-ml/mageia-dev/attachments/20120410/da488c0d/attachment-0015.obj new file mode 100644 index 000000000..aad15f258 --- /dev/null +++ b/zarb-ml/mageia-dev/attachments/20120410/da488c0d/attachment-0015.obj @@ -0,0 +1,116 @@ +%define oname VirtualGL +%define libname %mklibname %{name} + +Name: virtualgl +Summary: A toolkit for displaying OpenGL applications to thin clients +Group: Networking/Other +Version: 2.3 +Release: %mkrel 1 +URL: http://www.virtualgl.org +License: wxWindows Library License v3.1 +Source0: http://prdownloads.sourceforge.net/virtualgl/%{oname}-%{version}.tar.gz +Patch0: vgl_2.3_patch0 +BuildRequires: X11-devel +BuildRequires: jpeg-devel +BuildRequires: cmake + + +%description +VirtualGL is a library which allows most Linux OpenGL applications to be +remotely displayed to a thin client without the need to alter the +applications in any way. VGL inserts itself into an application at run time +and intercepts a handful of GLX calls, which it reroutes to the server's +display (which presumably has a 3D accelerator attached.) This causes all +3D rendering to occur on the server's display. As each frame is rendered +by the server, VirtualGL reads back the pixels from the server's framebuffer +and sends them to the client for re-compositing into the appropriate X +Window. VirtualGL can be used to give hardware-accelerated 3D capabilities to +VNC or other remote display environments that lack GLX support. In a LAN +environment, it can also be used with its built-in motion-JPEG video delivery +system to remotely display full-screen 3D applications at 20+ frames/second. + +VirtualGL is based upon ideas presented in various academic papers on +this topic, including "A Generic Solution for Hardware-Accelerated Remote +Visualization" (Stegmaier, Magallon, Ertl 2002) and "A Framework for +Interactive Hardware Accelerated Remote 3D-Visualization" (Engel, Sommer, +Ertl 2000.) + +%files +%{_bindir}/* +%{_defaultdocdir}/%{name}/ + +#-------------------------------------------------------------------- +%package -n %libname +Summary: Libraries injected by VirtualGL into applications that are ran through it +Group: System/Libraries + +%description -n %libname +Libraries injected by VirtualGL into applications that are ran throught it. +Lib package allow installing 32 and 64 bits libraries at the same time. + +%files -n %libname +%dir %{_libdir}/fakelib/ +%{_libdir}/fakelib/libGL.so +%{_libdir}/librrfaker.so +%{_libdir}/libdlfaker.so +%{_libdir}/libgefaker.so + +#-------------------------------------------------------------------- +%package devel +Summary: A toolkit for displaying OpenGL applications to thin clients +Group: Networking/Other +Requires: %{libname} >= %{version} + +%description devel +VirtualGL is a library which allows most Linux OpenGL applications to be +remotely displayed to a thin client without the need to alter the +applications in any way. VGL inserts itself into an application at run +time and intercepts a handful of GLX calls, which it reroutes to the +server's display (which presumably has a 3D accelerator attached). This +causes all 3D rendering to occur on the server's display. As each frame +is rendered by the server, VirtualGL reads back the pixels from the +server's framebuffer and sends them to the client for re-compositing into +the appropriate X Window. VirtualGL can be used to give hardware- +-accelerated 3D capabilities to VNC or other remote display environments +that lack GLX support. In a LAN environment, it can also be used with +its built-in motion-JPEG video delivery system to remotely display +full-screen 3D applications at 20+ frames/second. +VirtualGL is based upon ideas presented in various academic papers on +this topic, including "A Generic Solution for Hardware-Accelerated Remote +Visualization" (Stegmaier, Magallon, Ertl 2002) and "A Framework for +Interactive Hardware Accelerated Remote 3D-Visualization" (Engel, Sommer, +Ertl 2000.) + +%files devel +%{_includedir}/rrtransport.h +%{_includedir}/rr.h + +#-------------------------------------------------------------------- +%prep +%setup -qn %{oname}-%{version} +%patch0 -p1 + +%build +cmake -G "Unix Makefiles" \ + -DCMAKE_INSTALL_LIBDIR:PATH=%{_libdir} \ + -DCMAKE_INSTALL_PREFIX=%{_prefix} \ + -DVGL_DOCDIR=%{_defaultdocdir}/%{name} \ + -DVGL_LIBDIR=%{_libdir} \ + -DTJPEG_INCLUDE_DIR=%{_includedir} \ + -DTJPEG_LIBRARY=%{_libdir}/libturbojpeg.so + +%make + +%install +rm -rf %{buildroot} +%makeinstall_std + +rm -rf %{buildroot}%{_prefix}/fakelib +mkdir -p %{buildroot}%{_libdir}/fakelib +ln -sf ../librrfaker.so %{buildroot}%{_libdir}/fakelib/libGL.so +mv -f %{buildroot}%{_bindir}/glxinfo %{buildroot}%{_bindir}/glxinfo2 + + +%changelog +* Mon Mar 19 2012 Simple <simplew8@gmail.com> 2.3-1 +- first package
\ No newline at end of file |