]> git.pld-linux.org Git - packages/xorg-driver-video-nvidia.git/commitdiff
- add todo about Mesa-libGL
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 15 May 2008 13:02:48 +0000 (13:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- more advanced %post message for different kernel brands

Changed files:
    xorg-driver-video-nvidia.spec -> 1.149

xorg-driver-video-nvidia.spec

index 5c2c6b7b064cd992549a8a7d8e04aca1e7ecfcdb..ed78501de0f4cb7b8c7de7615f29b6d8ccfc0c08 100644 (file)
@@ -1,3 +1,7 @@
+# TODO
+# - solve this:
+#   error: xorg-driver-video-nvidia-169.12-3.i686 (cnfl Mesa-libGL) conflicts with installed Mesa-libGL-7.0.3-2.i686
+#   error: xorg-driver-video-nvidia-169.12-3.i686 (cnfl Mesa-libGL) conflicts with installed Mesa-libGL-7.0.3-2.i686
 #
 # Conditional build:
 %bcond_without dist_kernel     # without distribution kernel
 #
 # Conditional build:
 %bcond_without dist_kernel     # without distribution kernel
@@ -45,7 +49,7 @@ Requires:     xorg-xserver-server(videodrv-abi) = 2.0
 Provides:      OpenGL = 2.1
 Provides:      OpenGL-GLX = 1.4
 Provides:      xorg-xserver-libglx
 Provides:      OpenGL = 2.1
 Provides:      OpenGL-GLX = 1.4
 Provides:      xorg-xserver-libglx
-%if !%{with multigl}
+%if %{without multigl}
 Obsoletes:     Mesa
 %endif
 Obsoletes:     X11-OpenGL-core < 1:7.0.0
 Obsoletes:     Mesa
 %endif
 Obsoletes:     X11-OpenGL-core < 1:7.0.0
@@ -54,7 +58,7 @@ Obsoletes:    XFree86-OpenGL-core < 1:7.0.0
 Obsoletes:     XFree86-OpenGL-libGL < 1:7.0.0
 Obsoletes:     XFree86-driver-nvidia
 Obsoletes:     XFree86-nvidia
 Obsoletes:     XFree86-OpenGL-libGL < 1:7.0.0
 Obsoletes:     XFree86-driver-nvidia
 Obsoletes:     XFree86-nvidia
-%if !%{with multigl}
+%if %{without multigl}
 Conflicts:     Mesa-libGL
 %endif
 Conflicts:     XFree86-OpenGL-devel <= 4.2.0-3
 Conflicts:     Mesa-libGL
 %endif
 Conflicts:     XFree86-OpenGL-devel <= 4.2.0-3
@@ -209,7 +213,7 @@ for f in \
        usr/lib/libnvidia-cfg.so.%{version}             \
        usr/lib/libGL{,core}.so.%{version}              \
        usr/X11R6/lib/libXvMCNVIDIA.so.%{version}       \
        usr/lib/libnvidia-cfg.so.%{version}             \
        usr/lib/libGL{,core}.so.%{version}              \
        usr/X11R6/lib/libXvMCNVIDIA.so.%{version}       \
-%if !%{with multigl}
+%if %{without multigl}
        usr/X11R6/lib/libXvMCNVIDIA.a                   \
 ; do
        install $f $RPM_BUILD_ROOT%{_libdir}
        usr/X11R6/lib/libXvMCNVIDIA.a                   \
 ; do
        install $f $RPM_BUILD_ROOT%{_libdir}
@@ -261,10 +265,14 @@ rm -rf $RPM_BUILD_ROOT
 
 %post
 /sbin/ldconfig
 
 %post
 /sbin/ldconfig
-cat << EOF
-NOTE: You must install:
-kernel-video-nvidia-%{version}
-for this driver to work
+cat << 'EOF'
+NOTE: You must also install kernel module for this driver to work
+  kernel-video-nvidia-%{version}
+  kernel-laptop-video-nvidia-%{version}
+  kernel-desktop-video-nvidia-%{version}
+
+Depending on which kernel brand you use.
+
 EOF
 %if %{with multigl}
 if [ ! -e %{_libdir}/xorg/modules/extensions/libglx.so ]; then
 EOF
 %if %{with multigl}
 if [ ! -e %{_libdir}/xorg/modules/extensions/libglx.so ]; then
This page took 0.405684 seconds and 4 git commands to generate.