Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:frostmyname:bumblebee3
VirtualGL
VirtualGL.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File VirtualGL.spec of Package VirtualGL
# This is a hack to prevent the RPM from depending on libGLcore.so.1 and # libnvidia-tls.so.1 if it was built on a system that has the NVidia # drivers installed. The custom find-requires script is created during # install and removed during clean %define __find_requires %{_tmppath}/%{name}-%{version}-%{release}-find-requires %define _use_internal_dependency_generator 0 Summary: A toolkit for displaying OpenGL applications to thin clients Name: VirtualGL Version: 2.3 Release: 1.2 License: wxWindows Library License v3.1 Vendor: The Bumblebee Project URL: http://www.virtualgl.org Group: Productivity/Networking/Other Source0: http://prdownloads.sourceforge.net/virtualgl/%{name}-%{version}.tar.bz2 BuildRequires: cmake gcc-c++ glibc-devel BuildRequires: libturbojpeg-devel %if 0%{?suse_version} BuildRequires:xorg-x11-libX11-devel xorg-x11-libXv-devel xorg-x11-libXext-devel BuildRequires: Mesa-devel %endif %if 0%{?rhel_version} BuildRequires: Mesa-devel mesa-libGLU-devel xorg-x11-proto-devel libXv-devel %endif %if 0%{?fedora} BuildRequires: Mesa-devel mesa-libGLU-devel xorg-x11-proto-devel libXv-devel %endif %if 0%{?centos_version} BuildRequires: Mesa-devel mesa-libGLU-devel xorg-x11-proto-devel libXv-devel %endif %if 0%{?mdkversion} %ifarch x86_64 BuildRequires: lib64xorg-x11-devel %else BuildRequires: libxorg-x11-devel %endif %endif BuildRoot: %{_tmppath}/%{name}-buildroot-%{version}-%{release} %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.) %package devel Summary: A toolkit for displaying OpenGL applications to thin clients Group: Development/Libraries/Other Requires: %{name} = %{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.) %ifarch x86_64 %if 0%{?suse_version} %if 0%{?suse_version} >= 1130 %package 32bit Summary: A toolkit for displaying OpenGL applications to thin clients Group: Development/Libraries/Other BuildRequires: gcc-c++-32bit glibc-devel-32bit BuildRequires: xorg-x11-libX11-devel-32bit xorg-x11-libXv-devel-32bit xorg-x11-libXext-devel-32bit BuildRequires: Mesa-devel-32bit libturbojpeg-devel-32bit Requires: %{name} = %{version} Requires: xorg-x11-libX11-32bit xorg-x11-libXv-32bit xorg-x11-libXext-32bit Requires: Mesa-32bit %description 32bit 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.) %endif %endif %endif %prep %setup -q -n %{name}-%{version} %build %ifarch x86_64 %if 0%{?suse_version} %if 0%{?suse_version} >= 1130 # # Make the 32bit version in x86_64 # cd .. cp -a %{name}-%{version} vgl-32bit cd vgl-32bit CFLAGS=-m32 CXXFLAGS=-m32 LDFLAGS=-m32 cmake -G"Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/usr -DVGL_USEXV=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_VERBOSE_MAKEFILE=1 -DTJPEG_INCLUDE_DIR=/usr/include -DTJPEG_LIBRARY=/usr/lib/libturbojpeg.a . make cd ../%{name}-%{version} %endif %endif %endif cmake -G"Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/usr -DVGL_USEXV=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_VERBOSE_MAKEFILE=1 -DTJPEG_INCLUDE_DIR=/usr/include -DTJPEG_LIBRARY=/usr/%_lib/libturbojpeg.a . make %install rm -rf %{buildroot} make install DESTDIR=$RPM_BUILD_ROOT # rm -rf %{buildroot}/usr/fakelib %ifarch x86_64 # # Move lib to the lib64 dir # mv -f %{buildroot}/usr/lib %{buildroot}/usr/%_lib # %if 0%{?suse_version} %if 0%{?suse_version} >= 1130 # # Create a new 32bit lib # mkdir -p %{buildroot}/usr/lib cp -f ../vgl-32bit/bin/glxspheres %{buildroot}/usr/bin/glxspheres32 cp -f ../vgl-32bit/lib/librrfaker.so %{buildroot}/usr/lib cp -f ../vgl-32bit/lib/libdlfaker.so %{buildroot}/usr/lib cp -f ../vgl-32bit/lib/libgefaker.so %{buildroot}/usr/lib rm -rf %{buildroot}/usr/lib/fakelib mkdir -p %{buildroot}/usr/lib/fakelib ln -sf ../librrfaker.so %{buildroot}/usr/lib/fakelib/libGL.so %endif %endif %endif rm -rf %{buildroot}/usr/%_lib/fakelib mkdir -p %{buildroot}/usr/%_lib/fakelib ln -sf ../librrfaker.so %{buildroot}/usr/%_lib/fakelib/libGL.so # # Docs # cp fltk/COPYING LICENSE-FLTK.txt cp putty/LICENCE LICENSE-PuTTY.txt cp x11windows/xauth.license LICENSE-xauth.txt chmod 644 LGPL.txt LICENSE.txt LICENSE-FLTK.txt LICENSE-PuTTY.txt LICENSE-xauth.txt ChangeLog.txt doc/index.html doc/*.png doc/*.gif doc/*.css rm -rf %{buildroot}/usr/doc # # Strip down # strip %{buildroot}/usr/bin/tcbench strip %{buildroot}/usr/bin/nettest strip %{buildroot}/usr/bin/cpustat strip %{buildroot}/usr/bin/glxinfo strip %{buildroot}/usr/bin/vglclient strip %{buildroot}/usr/bin/vglconfig strip %{buildroot}/usr/bin/glxspheres strip %{buildroot}/usr/%_lib/librrfaker.so strip %{buildroot}/usr/%_lib/libdlfaker.so strip %{buildroot}/usr/%_lib/libgefaker.so %ifarch x86_64 %if 0%{?suse_version} %if 0%{?suse_version} >= 1130 strip %{buildroot}/usr/bin/glxspheres strip %{buildroot}/usr/lib/librrfaker.so strip %{buildroot}/usr/lib/libdlfaker.so strip %{buildroot}/usr/lib/libgefaker.so %endif %endif %endif # # Resolve conflicts # mv -f %{buildroot}/usr/bin/glxinfo %{buildroot}/usr/bin/glxinfo2 # # Fix requires # echo '/usr/lib/rpm/find-requires|grep -v libGLcore|grep -v libnvidia-tls' >%{_tmppath}/%{name}-%{version}-%{release}-find-requires chmod 755 %{_tmppath}/%{name}-%{version}-%{release}-find-requires %clean rm -rf $RPM_BUILD_ROOT rm %{_tmppath}/%{name}-%{version}-%{release}-find-requires %post /sbin/ldconfig %postun /sbin/ldconfig %files %defattr(-,root,root) %doc LGPL.txt LICENSE.txt LICENSE-FLTK.txt LICENSE-PuTTY.txt LICENSE-xauth.txt ChangeLog.txt doc/index.html doc/*.png doc/*.gif doc/*.css %dir /usr/%_lib/fakelib /usr/bin/tcbench /usr/bin/nettest /usr/bin/cpustat /usr/bin/glxinfo2 /usr/bin/glxspheres /usr/bin/vglclient /usr/bin/vglconfig /usr/bin/vglconnect /usr/bin/vglgenkey /usr/bin/vgllogin /usr/bin/vglserver_config /usr/bin/vglrun /usr/%_lib/fakelib/libGL.so /usr/%_lib/librrfaker.so /usr/%_lib/libdlfaker.so /usr/%_lib/libgefaker.so %files devel %defattr(-,root,root) /usr/include/rrtransport.h /usr/include/rr.h %ifarch x86_64 %if 0%{?suse_version} %if 0%{?suse_version} >= 1130 %files 32bit %defattr(-,root,root) %dir /usr/lib/fakelib /usr/bin/glxspheres32 /usr/lib/fakelib/libGL.so /usr/lib/librrfaker.so /usr/lib/libdlfaker.so /usr/lib/libgefaker.so %endif %endif %endif %changelog * Fri Dec 30 2011 bumblebee-project@hotmail.com - Update to 2.3 * Mon Jul 11 2011 bumblebee-project@hotmail.com - Initial package
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor