From duncan.gibson at xs4all.nl Tue Jun 1 00:38:42 2010 From: duncan.gibson at xs4all.nl (Duncan Gibson) Date: Tue, 1 Jun 2010 00:38:42 +0200 Subject: setuptools for Python modules In-Reply-To: References: Message-ID: <02ae58de7e86bdf8ed99ad59fe8c1b1d.squirrel@webmail.xs4all.nl> > But when I installed simplejson, something was clever enough > to first install the Python setup tools directly, bypassing the > setuptools module completely. So the setuptools module still > appears as a "not installed" module. > > Question: is it worthwhile to: > (a) add "depends setuptools" to the new simplejson module, > and potentially a lot of other python based modules, or > (b) just let modules auto-install it if needed outside of the > lunar package management system and hence untracked, or > (c) somehow add setuptools as a post-install to Python itself? I realized that not every Python module is written to use the setuptools auto-download, so I took the easy route with (a). D. From lazyape at gmail.com Sun Jun 6 12:22:30 2010 From: lazyape at gmail.com (lazyape) Date: Sun, 6 Jun 2010 13:22:30 +0300 Subject: Thoughts about OPTS option in BUILD script Message-ID: <20100606132230.29fd194d.lazyape@gmail.com> Hello people. I am writing this email explaining my problem and a potential solution. I was trying to update evince to the latest version and i was getting errors about kpathsea and fPIC, so i decided to compile evince with OPTS=" --disable-dvi". When i tried once again to compile evince i get the same error. After looking at the output of 'lvu compile evince' i have seen that evince was configured with > ./configure --build=x86_64-pc-linux-gnu --prefix=/usr --sysconfdir=/etc --localstatedir=/var --infodir=/usr/share/info --> mandir=/usr/share/man --disable-dvi --enable-nautilus --enable-tiff --with-print=gnome --enable-comics --enable-dvi --> > enable-impress --enable-pixbuf thus my compilation option was inserted before the ones that are selected in the BUILD script. The solution is to change the line > OPTS="$OPTS --enable-comics --enable-dvi --enable-impress --enable-pixbuf" to > OPTS="--enable-comics --enable-dvi --enable-impress --enable-pixbuf $OPTS" so --disable-dvi come after --enable-dvi. The conclusion is that although a user have the ability to change the compilation option while executing a lin command, his/her options may not affect the compilation process because they are placing before the BUILD's option. This is due to the > OPTS+="some option" line in the BUILDS My proposal is to copy OPTS="user option" to a USER_OPTION variable and while default_build the OPTS+=$USER_OPTION Sorry for this long email and my english -- lazyape From duncan.gibson at xs4all.nl Mon Jun 7 09:13:26 2010 From: duncan.gibson at xs4all.nl (Duncan Gibson) Date: Mon, 7 Jun 2010 09:13:26 +0200 Subject: Thoughts about OPTS option in BUILD script In-Reply-To: <20100606132230.29fd194d.lazyape@gmail.com> References: <20100606132230.29fd194d.lazyape@gmail.com> Message-ID: <9ee101f8fd3d4473fece04d3e8e0e864.squirrel@webmail.xs4all.nl> > The solution is to change the line [in BUILD] > OPTS="$OPTS ..." > to > OPTS="... $OPTS" > > The conclusion is that although a user have the ability to change the > compilation option while executing a lin command, his/her options may > not affect the compilation process because they are placing before the > BUILD's option. This is due to the > OPTS+="some option" > line in the BUILDS > > My proposal is to copy OPTS="user option" to a USER_OPTION variable > and while default_build the OPTS+=$USER_OPTION This problem has bitten me once or twice in the past, and I've usually worked around it using a zlocal copy and adjusting the BUILD line. Off the top of my head, I think we would probably be better to adjust all OPTS+="some_option" to be OPTS="some_option $OPTS" so that user options are added at the end, and can override "some_option", as this means we don't need to add another variable within the lsh environment. But then, I'm no expert on the internal workings of the lunar tools. Cheers Duncan / engelsman From zbiggy at o2.pl Sat Jun 12 13:06:18 2010 From: zbiggy at o2.pl (Zbigniew Luszpinski) Date: Sat, 12 Jun 2010 13:06:18 +0200 Subject: rename ktorrent4 to ktorrent in distrowatch script Message-ID: <201006121306.28635.zbiggy@o2.pl> Hello, do not know who maintains distrowatch script so write here. Rename inside it ktorrent4 to ktorrent to fix distrowatch results. have a nice day, Zbigniew Luszpinski From duncan.gibson at xs4all.nl Sun Jun 13 18:43:34 2010 From: duncan.gibson at xs4all.nl (Duncan Gibson) Date: Sun, 13 Jun 2010 18:43:34 +0200 Subject: 1.6.4 ISO installation and update In-Reply-To: <077e6ac33ead8006dfafb8e225299bac.squirrel@webmail.xs4all.nl> References: <077e6ac33ead8006dfafb8e225299bac.squirrel@webmail.xs4all.nl> Message-ID: In September 2009, on the lunar-dev mailing list, I wrote: > The current 1.6.4 ISO is a little outdated, and after all this time > it requires a little extra care and attention to install correctly. > This article should provide the extra instructions you will need > to install Lunar Linux while you wait for the next ISO release. To close the thread: These extra instructions are no longer required! Various people on the the #lunar IRC channel have reported successful 1.6.4 installations using the vanilla instructions in "man lfirsttime". It would appear that these extra instructions were only required for a few weeks while certain key modules were out of sync. Cheers Duncan / engelsman The full text of the lunar-dev mailing list post is available at: http://foo-projects.org/pipermail/lunar-dev/2009-September/006906.html From marekpasnikowski at interia.eu Tue Jun 22 11:43:43 2010 From: marekpasnikowski at interia.eu (Marek Pasnikowski) Date: Tue, 22 Jun 2010 09:43:43 +0000 Subject: Default VLC installation lacks some dependencies. Message-ID: <201006220943.44514.marekpasnikowski@interia.eu> Typical lin -r vlc with most options enabled returns errors during pre-build checks: 1. configure: error: cannot find libraw1394 headers 2. configure: error: cannot find libavc1394 headers Another problem inhibits build on my KDE system: gtk-update-icon-cache: No theme index file. ---------------------------------------------------------------------- Najlepsza wyszukiwarka tanich lotow! Sprawdz >>> http://linkint.pl/f2726 From duncan.gibson at xs4all.nl Tue Jun 22 13:20:23 2010 From: duncan.gibson at xs4all.nl (Duncan Gibson) Date: Tue, 22 Jun 2010 13:20:23 +0200 Subject: Default VLC installation lacks some dependencies. In-Reply-To: <201006220943.44514.marekpasnikowski@interia.eu> References: <201006220943.44514.marekpasnikowski@interia.eu> Message-ID: <3cfa21bf1154248b965052c73ca9888f.squirrel@webmail.xs4all.nl> > Typical lin -r vlc with most options enabled returns errors during > pre-build checks: > 1. configure: error: cannot find libraw1394 headers > 2. configure: error: cannot find libavc1394 headers I'm not in front of a Lunar box at the moment, but you could try using 'lvu search 1394' and see whether that returns the module(s) that you need to install before vlc, and once you have established that, run 'lvu edit vlc' and add 'depends thatModuleName' line(s) to /var/lib/lunar/moonbase/zlocal/vlc/DEPENDS, and re-lin. Once that works, run 'lvu submit vlc' Or, you could hang out on the #lunar irc channel and ask for help as and when these problems arise. Someone might be able to give you more immediate feedback. Cheers Duncan / engelsman From dennisveatch at bellsouth.net Tue Jun 22 13:26:32 2010 From: dennisveatch at bellsouth.net (Dennis Veatch) Date: Tue, 22 Jun 2010 07:26:32 -0400 Subject: Default VLC installation lacks some dependencies. In-Reply-To: <201006220943.44514.marekpasnikowski@interia.eu> References: <201006220943.44514.marekpasnikowski@interia.eu> Message-ID: <201006220726.32692.dennisveatch@bellsouth.net> On Tuesday, June 22, 2010 5:43:43 am Marek Pasnikowski wrote: > Typical lin -r vlc with most options enabled returns errors during > pre-build checks: > 1. configure: error: cannot find libraw1394 headers > 2. configure: error: cannot find libavc1394 headers > Another problem inhibits build on my KDE system: > gtk-update-icon-cache: No theme index file. > gtk-update-icon-cache is provided by gtk+-2. So if you are having a problem with that, then I would suggest a lin -rc gtk+-2. vlc has just been bumped to 1.1.0 in moonbase, so give that a go. -- Dennis Veatch From dennisveatch at bellsouth.net Thu Jun 24 04:24:15 2010 From: dennisveatch at bellsouth.net (Dennis Veatch) Date: Wed, 23 Jun 2010 21:24:15 -0500 Subject: [Lunar-commits] NVIDIA: updated to official 256.35 Now NVIDIA and NVIDIA-beta modules are the same In-Reply-To: <20100624001624.22A049B220@doppio.foo-projects.org> References: <20100624001624.22A049B220@doppio.foo-projects.org> Message-ID: <201006232124.16341.dennisveatch@bellsouth.net> On Wednesday, June 23, 2010 07:30:02 pm Zbigniew Luszpinski wrote: > commit 2d50625e24fdde45c14c9ac63ebb05ffd7ab3981 > Author: Zbigniew Luszpinski > Date: Thu Jun 24 02:30:02 2010 +0200 > > NVIDIA: updated to official 256.35 > Now NVIDIA and NVIDIA-beta modules are the same > --- > x11/NVIDIA/BUILD | 206 > +++++++++++++++++++++++++++---------- x11/NVIDIA/CONFLICTS | > 2 +- > x11/NVIDIA/DEPENDS | 2 + > x11/NVIDIA/DETAILS | 34 ++++-- > x11/NVIDIA/DETAILS.x86_64 | 29 ++++-- > x11/NVIDIA/POST_INSTALL | 20 ++++ > x11/NVIDIA/POST_REMOVE | 19 ++++ > x11/NVIDIA/PRE_BUILD | 6 +- > x11/NVIDIA/profile.d/nvidia_gl.rc | 11 -- > 9 files changed, 239 insertions(+), 90 deletions(-) > > diff --git a/x11/NVIDIA/BUILD b/x11/NVIDIA/BUILD > index 9273315..847a789 100644 > --- a/x11/NVIDIA/BUILD > +++ b/x11/NVIDIA/BUILD > @@ -1,73 +1,169 @@ > ( > + # This is installer less build script. If you find bugs let me know by > e-mail: zbiggy(0)o2(period)pl + > + # Remove files to avoid module conflicts and > + # make place for source compiled replacements > + rm -f .manifest libvdpau.so* libvdpau_trace.so* \ > + vdpau*.h pkg-history.txt nvidia-installer{,.*} \ > + mkprecompiled nvidia-xconfig{,.*} nvidia-settings{,.*} \ > + libnvidia-wfb* tls_test* && > + > + # Temporary paths and symlinks to make sources compilable > + LD_LIBRARY_PATH="$SOURCE_DIRECTORY:$LD_LIBRARY_PATH" && > + CFLAGS=" -I$SOURCE_DIRECTORY -L$SOURCE_DIRECTORY $CFLAGS " && > + ln -s libGL.so.$VERSION libGL.so && > + ln -s libnvidia-glcore.so.$VERSION libGLcore.so.1 && > + ln -s libnvidia-tls.so.$VERSION libnvidia-tls.so.1 && > + mkdir GL && > + cp gl*.h GL && > + > + echo libXvMCNVIDIA_dynamic.so.1 > XvMCConfig && > + > + # Builds nvidia-installer from source > + cd nvidia-installer-$VERSION && > +# rm -f *Linux* && > + > + if [[ $(arch) == x86_64 ]] ; then > + # Don't compile 32-bits on pure 64-bit Lunar > + sedit 's/COMPAT_32_SRC *= */\0#/' Makefile && > + sedit 's/COMPAT_32_SRC *= */\0#/' public.mk && > + sedit 's/-DNV_X86_64//' Makefile && > + sedit 's/-DNV_X86_64//' public.mk > + fi && > > - cd $SOURCE_DIRECTORY && > - rm -f usr/X11R6/lib/modules/libnvidia-wfb* && > - sedit '/wfb/d' .manifest && > - rm -f usr/lib/libvdpau.so* \ > - usr/lib/vdpau/libvdpau_trace* && > - rm -rf usr/include/vdpau && > - sedit '/libvdpau.so/d' .manifest && > - sedit '/libvdpau_trace/d' .manifest && > - sedit '/include\/vdpau/d' .manifest && > + sedit 's at -lGL@-I.. -L.. -lGL @' Makefile && > + make clean && > + make rebuild_tls_test && > + make rebuild_tls_test_dso && > +# make rebuild_rtld_test && > + make && > + if [[ $(arch) == x86_64 ]] ; then > + install -m 755 _out/Linux_x86_64/nvidia-installer .. > + install -m 755 _out/Linux_x86_64/mkprecompiled .. > + install -m 644 _out/Linux_x86_64/nvidia-installer.1.gz .. > + cp tls_test_`uname`-x86_64 ../tls_test > + cp tls_test_dso_`uname`-x86_64.so ../tls_test_dso.so > + else > + install -m 755 _out/Linux_x86/nvidia-installer .. > + install -m 755 _out/Linux_x86/mkprecompiled .. > + install -m 644 _out/Linux_x86/nvidia-installer.1.gz .. > + cp tls_test_`uname`-x86 ../tls_test > + cp tls_test_dso_`uname`-x86.so ../tls_test_dso.so > + fi && > > - # Clean up old install before doing new one > - ./nvidia-installer --uninstall --silent && > + # Builds nvidia-settings from source > + cd ../nvidia-settings-$VERSION && > > - # We make the kernel modules on our own > - cd $SOURCE_DIRECTORY/usr/src/nv && > - > - sedit "s:KBUILD_VERBOSE=1:KBUILD_VERBOSE=0:g" Makefile.kbuild && > + # xf86vmode.h has been removed in xf86vidmodeproto 2.3 > + if [[ ! -e /usr/include/X11/extensions/xf86vmode.h ]] ; then > + sedit "s:#include :#include > :" > src/libXNVCtrlAttributes/NvCtrlAttributes{,VidMode,Glx}.c + fi && > > - make SYSSRC=/usr/src/linux module && > + make clean && > + make -C src/libXNVCtrl && > +# X_CFLAGS=$CFLAGS GL_INCLUDE_PATH=$SOURCE_DIRECTORY > + make > + if [[ $(arch) == x86_64 ]] ; then > + install -m 755 _out/Linux_x86_64/nvidia-settings .. > + install -m 644 _out/Linux_x86_64/nvidia-settings.1.gz .. > + else > + install -m 755 _out/Linux_x86/nvidia-settings .. > + install -m 644 _out/Linux_x86/nvidia-settings.1.gz .. > + fi && > + install -m 644 doc/nvidia-settings.png .. && > + install -m 644 doc/nvidia-settings.desktop .. && > + > + # Builds nvidia-xconfig from source > + cd ../nvidia-xconfig-$VERSION && > + make clean && > + make && > + if [[ $(arch) == x86_64 ]] ; then > + install -m 755 _out/Linux_x86_64/nvidia-xconfig .. > + install -m 644 _out/Linux_x86_64/nvidia-xconfig.1.gz .. > + else > + install -m 755 _out/Linux_x86/nvidia-xconfig .. > + install -m 644 _out/Linux_x86/nvidia-xconfig.1.gz .. > + fi && > + cd .. && > + sedit "s/__GENERATED_BY__/nvidia-installer\:\ $VERSION/" libGL.la && > + sedit 's/__LIBGL_PATH__/\/usr\/lib/' libGL.la && > + sedit 's/__UTILS_PATH__/\/usr\/bin/' nvidia-settings.desktop && > + sedit 's/__PIXMAP_PATH__/\/usr\/share\/doc\/NVIDIA_GLX-1.0/' > nvidia-settings.desktop && + sedit > 's/__NVIDIA_SETTINGS_DESKTOP_CATEGORIES__/Settings;DesktopSettings;/' > nvidia-settings.desktop && > > + # We make the kernel modules on our own > + cd kernel && > + sedit "s@\$\(shell uname -r\)@`readlink /usr/src/linux | cut -d- -f2`@" > Makefile.* makefile && +# sedit "s/-O/$CFLAGS/" Makefile.nvidia && > +# NV_VERBOSE=0 EXTRA_CFLAGS=$CFLAGS ARCH= > + make SYSSRC=`readlink /usr/src/linux` module && > + rm -f $SOURCE_DIRECTORY/{libGL.so,libGLcore.so.1,libnvidia-tls.so.1} && > + > prepare_install && > > - make SYSSRC=/usr/src/linux install && > + make SYSSRC=`readlink /usr/src/linux` install && > +# NV_VERBOSE=0 EXTRA_CFLAGS=$CFLAGS ARCH= > + cd .. && > + > + mkdir -p /etc/OpenCL/vendors && > + install -m0444 nvidia.icd /etc/OpenCL/vendors && > + install -m0755 nvidia-bug-report.sh /usr/bin && > + install -m0755 nvidia-installer /usr/bin && > + install -m0755 nvidia-settings /usr/bin && > + install -m0755 nvidia-smi /usr/bin && > + ln -sf /usr/bin/nvidia-installer /usr/bin/nvidia-uninstall && > + install -m0755 nvidia-xconfig /usr/bin && > > - # And let nvidia-installer handle the rest > - cd $SOURCE_DIRECTORY && > - rm -rf old.libraries && > + mkdir -p /usr/include/CL && > + install -m0444 cl*.h /usr/include/CL && > + > + mkdir -p /usr/include/cuda && > + install -m0444 cuda*.h /usr/include/cuda && > > - mkdir -p /usr/lib/opengl/nvidia && > mkdir -p /usr/include/GL/nvidia && > - install -m644 usr/include/GL/*.h /usr/include/GL/nvidia && > - > - # We need to fool the installer a little as it checks for the > - # libraries after the installation > - export LD_LIBRARY_PATH="/usr/lib/opengl/nvidia" && > - > - ./nvidia-installer --silent \ > - --no-precompiled-interface \ > - --no-rpms \ > - --no-network \ > - --no-recursion \ > - --no-kernel-module \ > - --no-x-check \ > - --no-opengl-headers \ > - --opengl-libdir=lib/opengl/nvidia && > + install -m0444 gl*.h /usr/include/GL/nvidia && > > - # Register Nvidia XvMC library for use in any XvMC enabled media player > - rm -f /etc/X11/XvMCConfig && > - touch /etc/X11/XvMCConfig && > - echo libXvMCNVIDIA_dynamic.so.1 > /etc/X11/XvMCConfig && > - chmod 644 /etc/X11/XvMCConfig && > - > - # Get a sane default if haven't set it yet > - if [ "x$LUNAR_GL" == "x" ] ; then > - set_local_config LUNAR_GL binary > - fi && > + install -m0755 libnvidia-*.so.$VERSION /usr/lib && > + ln -sf /usr/lib/libnvidia-cfg.so.$VERSION /usr/lib/libnvidia-cfg.so.1 && > + ln -sf /usr/lib/libnvidia-cfg.so.1 /usr/lib/libnvidia-cfg.so && > + > + install -m0755 libXvMCNVIDIA.so.$VERSION /usr/lib && > + install -m0444 libXvMCNVIDIA.a /usr/lib && > + ln -sf /usr/lib/libXvMCNVIDIA.so.$VERSION > /usr/lib/libXvMCNVIDIA_dynamic.so.1 && + ln -sf > /usr/lib/libXvMCNVIDIA_dynamic.so.1 /usr/lib/libXvMCNVIDIA_dynamic.so && + > + install -m0755 libcuda.so.$VERSION /usr/lib && > + ln -sf /usr/lib/libcuda.so.$VERSION /usr/lib/libcuda.so.1 && > + ln -sf /usr/lib/libcuda.so.1 /usr/lib/libcuda.so && > + > + install -m0644 libGL.la /usr/lib && > + install -m0755 libGL.so.$VERSION /usr/lib && > + > + install -m0755 libOpenCL.so.1.0.0 /usr/lib && > + ln -sf /usr/lib/libOpenCL.so.1.0.0 /usr/lib/libOpenCL.so.1.0 && > + ln -sf /usr/lib/libOpenCL.so.1.0 /usr/lib/libOpenCL.so.1 && > + ln -sf /usr/lib/libOpenCL.so.1 /usr/lib/libOpenCL.so && > > - # This is a temp workaround for braindead dlopen calls inside the NVIDIA > - # libglx.so > + mkdir -p /usr/lib/tls && > + install -m0755 tls/libnvidia-tls.so.$VERSION /usr/lib/tls && > > - ln -sf /usr/lib/opengl/nvidia/libGLcore.so.1 \ > - /usr/lib/libGLcore.so.1 && > + install -m0755 libvdpau_nvidia.so.$VERSION /usr/lib/vdpau && > + ln -sf /usr/lib/vdpau/libvdpau_nvidia.so.$VERSION > /usr/lib/vdpau/libvdpau_nvidia.so.1 && + ln -sf > /usr/lib/vdpau/libvdpau_nvidia.so.1 /usr/lib/libvdpau_nvidia.so && > > - ln -sf /usr/lib/opengl/nvidia/tls/libnvidia-tls.so.1 \ > - /usr/lib/libnvidia-tls.so.1 && > + install -m0755 nvidia_drv.so /usr/lib/xorg/modules/drivers && > + install -m0755 libglx.so.$VERSION /usr/lib/xorg/modules/extensions && > > - if !( module_installed gtk+-2 ); then > - rm -f /usr/bin/nvidia-settings > - fi > + install -m0444 nvidia-settings.desktop /usr/share/applications && > + > + mkdir -p /usr/share/doc/NVIDIA_GLX-1.0/html && > + install -m0444 html/* /usr/share/doc/NVIDIA_GLX-1.0/html && > + > + install -m0444 README.txt nvidia-settings.png LICENSE NVIDIA_Changelog > /usr/share/doc/NVIDIA_GLX-1.0 && + install -m0444 nvidia-xconfig.1.gz > nvidia-smi.1.gz nvidia-settings.1.gz nvidia-installer.1.gz > /usr/share/man/man1 && + > + # Register Nvidia XvMC library for use in any XvMC enabled media player > + install -m644 XvMCConfig /etc/X11 > > ) > $C_FIFO 2>&1 > + > diff --git a/x11/NVIDIA/CONFLICTS b/x11/NVIDIA/CONFLICTS > index 2d61001..90ce191 100644 > --- a/x11/NVIDIA/CONFLICTS > +++ b/x11/NVIDIA/CONFLICTS > @@ -1,4 +1,4 @@ > conflicts NVIDIA-legacy > -conflicts NVIDIA-beta > +conflicts NVIDIA > conflicts NVIDIA-old > conflicts NVIDIA-fx > diff --git a/x11/NVIDIA/DEPENDS b/x11/NVIDIA/DEPENDS > index 4f1c8eb..6e26e11 100644 > --- a/x11/NVIDIA/DEPENDS > +++ b/x11/NVIDIA/DEPENDS > @@ -1,3 +1,5 @@ > depends pciutils > +depends ncurses > +depends libXxf86vm > depends libvdpau > depends gtk+-2 > diff --git a/x11/NVIDIA/DETAILS b/x11/NVIDIA/DETAILS > index f45e9f8..eae5527 100644 > --- a/x11/NVIDIA/DETAILS > +++ b/x11/NVIDIA/DETAILS > @@ -1,7 +1,10 @@ > MODULE=NVIDIA > - VERSION=195.36.31 > - SOURCE=NVIDIA-Linux-x86-$VERSION-pkg0.run > -SOURCE_DIRECTORY=$BUILD_DIRECTORY/NVIDIA-Linux-x86-$VERSION-pkg0 > + VERSION=256.35 > + SOURCE=NVIDIA-Linux-x86-$VERSION.run > + SOURCE2=nvidia-settings-$VERSION.tar.bz2 > + SOURCE3=nvidia-installer-$VERSION.tar.bz2 > + SOURCE4=nvidia-xconfig-$VERSION.tar.bz2 > +SOURCE_DIRECTORY=$BUILD_DIRECTORY/NVIDIA-Linux-x86-$VERSION > SOURCE_URL[0]=ftp://download.nvidia.com/XFree86/Linux-x86/$VERSION > SOURCE_URL[1]=http://download.nvidia.com/XFree86/Linux-x86/$VERSION > SOURCE_URL[2]=http://us.download.nvidia.com/XFree86/Linux-x86/$VERSION > @@ -20,26 +23,33 @@ > SOURCE_DIRECTORY=$BUILD_DIRECTORY/NVIDIA-Linux-x86-$VERSION-pkg0 > SOURCE_URL[15]=http://it.download.nvidia.com/XFree86/Linux-x86/$VERSION > SOURCE_URL[16]=http://br.download.nvidia.com/XFree86/Linux-x86/$VERSION > SOURCE_URL[17]=http://la.download.nvidia.com/XFree86/Linux-x86/$VERSION - > SOURCE_VFY=sha1:9c65277ea7cceec900967e15a04629daba06ef45 > - WEB_SITE=http://www.nvidia.com > + > SOURCE2_URL=http://cgit.freedesktop.org/~aplattner/nvidia-settings/snapsho > t + > SOURCE3_URL=http://cgit.freedesktop.org/~aplattner/nvidia-installer/snapsh > ot + > SOURCE4_URL=http://cgit.freedesktop.org/~aplattner/nvidia-xconfig/snapshot > + SOURCE_VFY=sha1:7a72704c0fd70bf75126aa962b560bae893b5538 > + SOURCE2_VFY=sha1:f7142501ba4a032becf5ef11305699d2419482e9 > + SOURCE3_VFY=sha1:be9e50c3b9a4e851603c26f8dadac957c45316fe > + SOURCE4_VFY=sha1:93b326ab9da385a1bf009f26f21b10691cacaf50 > + WEB_SITE=http://www.nvidia.com/ > LICENSE="proprietary" > ENTERED=20030804 > - UPDATED=20100616 > - SHORT="X11 NVIDIA binary driver for Geforce6/7/8/9/GT2xx" > - > + UPDATED=20100619 > + SHORT="X11 NVIDIA binary driver for Geforce 6/7/8/9/GT2xx" > +KEEP_SOURCE=on > cat << EOF > These are the nvidia provided binary X11 drivers for their graphics > -cards. It also has the Linux kernel module needed for all Geforce > 6/7/8/9/GT2xx -cards. Supported GPUs: (6/7/8/9/GT2xx families only) > +cards. It also has the Linux kernel module needed for Geforce > 6/7/8/9/GT2xx +cards. Supported GPUs: (6/7/8/9/GTX 2xx families only) > all Geforce 6xxx > all Geforce 7xxx > all Geforce 8xxx > all Geforce 9xxx > -all Geforce GT2xx > +GeForce GTX 260 > +GeForce GTX 280 > some models may be not supported yet. > > If you have RIVA/Vanta/TNT/Geforce1/Quadro1-2/Geforce2 (not MX) > check NVIDIA-old module. > If you have Geforce 2MX/3/4 check NVIDIA-legacy module. > -If you have Geforce FX/PCX check NVIDIA-fx module. > +If you have Geforce FX check NVIDIA-fx module. > EOF > diff --git a/x11/NVIDIA/DETAILS.x86_64 b/x11/NVIDIA/DETAILS.x86_64 > index 7731e0f..fa03801 100644 > --- a/x11/NVIDIA/DETAILS.x86_64 > +++ b/x11/NVIDIA/DETAILS.x86_64 > @@ -1,7 +1,10 @@ > MODULE=NVIDIA > - VERSION=195.36.31 > - SOURCE=NVIDIA-Linux-x86_64-$VERSION-pkg0.run > -SOURCE_DIRECTORY=$BUILD_DIRECTORY/NVIDIA-Linux-x86_64-$VERSION-pkg0 > + VERSION=256.35 > + SOURCE=NVIDIA-Linux-x86_64-$VERSION-no-compat32.run > + SOURCE2=nvidia-settings-$VERSION.tar.bz2 > + SOURCE3=nvidia-installer-$VERSION.tar.bz2 > + SOURCE4=nvidia-xconfig-$VERSION.tar.bz2 > +SOURCE_DIRECTORY=$BUILD_DIRECTORY/NVIDIA-Linux-x86_64-$VERSION-no-compat32 > SOURCE_URL[0]=ftp://download.nvidia.com/XFree86/Linux-x86_64/$VERSION > SOURCE_URL[1]=http://download.nvidia.com/XFree86/Linux-x86_64/$VERSION > > SOURCE_URL[2]=http://us.download.nvidia.com/XFree86/Linux-x86_64/$VERSION > @@ -20,27 +23,33 @@ > SOURCE_DIRECTORY=$BUILD_DIRECTORY/NVIDIA-Linux-x86_64-$VERSION-pkg0 > SOURCE_URL[15]=http://it.download.nvidia.com/XFree86/Linux-x86_64/$VERSION > SOURCE_URL[16]=http://br.download.nvidia.com/XFree86/Linux-x86_64/$VERSION > SOURCE_URL[17]=http://la.download.nvidia.com/XFree86/Linux-x86_64/$VERSION > - SOURCE_VFY=sha1:237449311584b23c5ed6deee7602d8e4c913e4ff > - WEB_SITE=http://www.nvidia.com > + > SOURCE2_URL=http://cgit.freedesktop.org/~aplattner/nvidia-settings/snapsho > t + > SOURCE3_URL=http://cgit.freedesktop.org/~aplattner/nvidia-installer/snapsh > ot + > SOURCE4_URL=http://cgit.freedesktop.org/~aplattner/nvidia-xconfig/snapshot > + SOURCE_VFY=sha1:e8652c7a52f06bc4a1358bcb8d62d48b9d61c6f3 > + SOURCE2_VFY=sha1:f7142501ba4a032becf5ef11305699d2419482e9 > + SOURCE3_VFY=sha1:be9e50c3b9a4e851603c26f8dadac957c45316fe > + SOURCE4_VFY=sha1:93b326ab9da385a1bf009f26f21b10691cacaf50 > + WEB_SITE=http://www.nvidia.com/ > LICENSE="proprietary" > ENTERED=20030804 > - UPDATED=20100616 > + UPDATED=20100619 > SHORT="X11 NVIDIA binary driver for Geforce 6/7/8/9/GT2xx" > > -PSAFE=no > cat << EOF > These are the nvidia provided binary X11 drivers for their graphics > cards. It also has the Linux kernel module needed for all Geforce > 6/7/8/9/GT2xx -cards. Supported GPUs: (6/7/8/9/GT2xx families only) > +cards. Supported GPUs: (6/7/8/9/GTX 2xx families only) > all Geforce 6xxx > all Geforce 7xxx > all Geforce 8xxx > all Geforce 9xxx > -all Geforce GT2xx > +GeForce GTX 260 > +GeForce GTX 280 > some models may be not supported yet. > > If you have RIVA/Vanta/TNT/Geforce1/Quadro1-2/Geforce2 (not MX) > check NVIDIA-old module. > If you have Geforce 2MX/3/4 check NVIDIA-legacy module. > -If you have Geforce FX/PCX check NVIDIA-fx module. > +If you have Geforce FX check NVIDIA-fx module. > EOF > diff --git a/x11/NVIDIA/POST_INSTALL b/x11/NVIDIA/POST_INSTALL > new file mode 100644 > index 0000000..88564a4 > --- /dev/null > +++ b/x11/NVIDIA/POST_INSTALL > @@ -0,0 +1,20 @@ > +# Make Nvidia OpenGL headers default: > +# This section is commented out because some applications require Mesa > headers +# Average Lunar user may not be able to handle broken > compilations so we avoid this. +#for file in `ls /usr/include/GL/nvidia`; > +#do ln -sf /usr/include/GL/nvidia/$file /usr/include/GL/$file; > +#done > + > +# Make Nvidia OpenGL libraries default: > +cd /usr/lib > +ln -sf libGL.so.$VERSION libGL.so.1 > +ln -sf libGL.so.1 libGL.so > +ln -sf libnvidia-glcore.so.$VERSION libGLcore.so.1 > +ln -sf libGLcore.so.1 libGLcore.so > + > +# Replace generic libglx from X server by Nvidia's one > +cd /usr/X11/lib/xorg/modules/extensions > +ln -sf libglx.so.$VERSION libglx.so > + > +# Clean up > +rm -rf $SOURCE_DIRECTORY > diff --git a/x11/NVIDIA/POST_REMOVE b/x11/NVIDIA/POST_REMOVE > new file mode 100644 > index 0000000..fef026d > --- /dev/null > +++ b/x11/NVIDIA/POST_REMOVE > @@ -0,0 +1,19 @@ > +# Restore Mesa OpenGL headers: > +if [[ ! -e /usr/include/GL/mesa ]] ; then > +for file in `ls /usr/include/GL/mesa`; > +do ln -sf /usr/include/GL/mesa/$file /usr/include/GL/$file; > +done > +fi > + > +# Restore Mesa OpenGL libraries: > +cd /usr/lib > +ln -sf libGL.so.1.2 libGL.so.1 > +ln -sf libGL.so.1 libGL.so > +rm -f libGLcore.so* > + > +# Restore generic libglx from X server: > +cd /usr/X11/lib/xorg/modules/extensions > +ln -sf libglx.so.xorg libglx.so > + > +# Unregister Nvidia XvMC > +rm -f /etc/X11/XvMCConfig > diff --git a/x11/NVIDIA/PRE_BUILD b/x11/NVIDIA/PRE_BUILD > index 22c3ee2..ef98bbe 100644 > --- a/x11/NVIDIA/PRE_BUILD > +++ b/x11/NVIDIA/PRE_BUILD > @@ -2,6 +2,10 @@ > > cd $BUILD_DIRECTORY && > rm -rf $SOURCE_DIRECTORY && > - sh $SOURCE_CACHE/$SOURCE -x > + sh $SOURCE_CACHE/$SOURCE -x && > + cd $SOURCE_DIRECTORY && > + unpack $SOURCE2 && > + unpack $SOURCE3 && > + unpack $SOURCE4 > > ) > diff --git a/x11/NVIDIA/profile.d/nvidia_gl.rc > b/x11/NVIDIA/profile.d/nvidia_gl.rc deleted file mode 100644 > index 60c63d2..0000000 > --- a/x11/NVIDIA/profile.d/nvidia_gl.rc > +++ /dev/null > @@ -1,11 +0,0 @@ > -#!/bin/bash > - > -source /etc/lunar/local/config > - > -if [ "$LUNAR_GL" == "binary" ] || [ "x$LUNAR_GL" == "x" ] ; then > - if ! [ "x$LD_LIBRARY_PATH" == "x" ] ; then > - export LD_LIBRARY_PATH="/usr/lib/opengl/nvidia:$LD_LIBRARY_PATH" > - else > - export LD_LIBRARY_PATH="/usr/lib/opengl/nvidia" > - fi > -fi > _______________________________________________ Its borked. First: You have nvidia conflicting with nvidia. Second: Building NVIDIA version 256.35 Creating directory NVIDIA-Linux-x86_64-256.35-no-compat32 Verifying archive integrity... OK Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 256.35............................................................................................................................ + Unpacking "/var/spool/lunar/nvidia-settings-256.35.tar.bz2" in "/usr/src/NVIDIA-Linux-x86_64-256.35-no-compat32" + Unpacking "/var/spool/lunar/nvidia-installer-256.35.tar.bz2" in "/usr/src/NVIDIA-Linux-x86_64-256.35-no-compat32" + Unpacking "/var/spool/lunar/nvidia-xconfig-256.35.tar.bz2" in "/usr/src/NVIDIA-Linux-x86_64-256.35-no-compat32" + building "NVIDIA" version "256.35" in /usr/src/NVIDIA-Linux-x86_64-256.35- no-compat32 + CC_EXT="ccache " + CXX_EXT="ccache " + CC="gcc" + CXX="g++" + CPP="cpp" + CFLAGS=" -O2 -march=native -pipe" + CXXFLAGS=" -O2 -march=native -pipe" + CPPFLAGS="" + LDFLAGS=" -s" + MAKES="8" + Enabled wrapper script usage + Editing "Makefile" + Editing "public.mk" sed: can't read public.mk: No such file or directory install: cannot stat `_out/Linux_x86_64/nvidia-settings': No such file or directory install: cannot stat `_out/Linux_x86_64/nvidia-settings.1.gz': No such file or directory Creating /var/log/lunar/compile/NVIDIA-256.35.bz2 ! Problem detected during BUILD -- Dennis Veatch