apt-get a secondlife - debs for Debian/Ubuntu
|
Michelle2 Zenovka
Registered User
Join date: 6 Jan 2008
Posts: 63
|
02-15-2008 12:45
Hi everyone, Now i've got a higher bandwidth server though i would mention the apt-get a secondlife project to get secondlife into Debian. I know people here have already found it as i have quite a few users of the debs already. I'm hosting .debs of the viewer via an apt repository, details can be found at http://www.byteme.org.uk/secondlife/apt-get-a-secondlife.htmlBasically add "deb http://apt.byteme.org.uk unstable main" to /etc/apt/sources.list then do "apt-get update" "apt-get install slviewer" or use your favorite graphical package manager. The viewer contains a number of bug fix patches but is otherwise feature compatible with the linden viewer. It is also 100% open source code. Audio is via OpenAL, NO FMOD, streaming music and video via gstreamer. There is no voice included with the debs. The debs are 100% complete no patching or downloading of the linden viewer first required. For anyone who's interested, the data and artwork is installed in /usr/share/secondlife and the executable lives at /usr/bin/slviewer. It adds an entry to the Applications-.Debian->Games->Simulation menu but sometimes the debian menu seems to be hidden by defaut. The debs seem to work for some ubuntu users. The problem is with a conflict with firefox due to mozlib and the way ubuntu built a version of firefox. Currently we are at version 1.19.0.0-1 but i have built 1.19.0.2 and may deploy this weekend. Anyway have fun Michelle
|
Boroondas Gupte
Registered User
Join date: 16 Sep 2005
Posts: 186
|
02-17-2008 08:36
From: Michelle2 Zenovka Basically add "deb http://apt.byteme.org.uk unstable main" to /etc/apt/sources.list then do "apt-get update" "apt-get install slviewer" or use your favorite graphical package manager. and, as always, omit the tags when copy-pasting, they're automatically introduced by the forum software whenever a post contains URLs 
|
Syclya Noel
Registered User
Join date: 21 Feb 2007
Posts: 3
|
02-26-2008 11:45
Works great with Ubuntu 7.10 64bit. OPENAL sound is very clean & crisp. Use apt to install & don't forget to (DOH) select Agni in the drop down list box to the right of connect button when logging in.
|
Bluesman Wycliffe
Registered User
Join date: 19 Feb 2008
Posts: 74
|
02-27-2008 07:56
Excuse the confusion, but why the .debs, SL works perfectly well, and is simple to execute by unpacking the archive and running the secondlife.sh in a terminal. Or am I missing something here. Anyone who runs Linux knows how to unpack an archive and execute a shell script. I'm sure I'm missing the point here though, so sorry in advance If I am.
|
Michelle2 Zenovka
Registered User
Join date: 6 Jan 2008
Posts: 63
|
02-28-2008 06:09
Hi Bluesman,
Well its not just a pure version of the linden code in a .deb :-
1. It has bug fixes, many from Nizholaz and others out of JIRA that help stability etc. The bug fixes are included as a complete package, so there is no need to download the linden tarball first then patch that with updated files.
2. It only uses free/open source components. OpenAL for sound, OpenJPEG for jpeg2000, gstreamer for streaming audio and video, this is important to some people.
3. There are i386 and amd64 versions available, there is a powerpc version building now.
4. It auto updates as i run an apt repository, so users if they wish can track the repository which then updates automatically as per normal apt-get upgrade stuff. If they don't they can just download the .debs themselves. 5. This is part of an effort to get the viewer into Debian so that ALL Debain users can just install the viewer from default Debian repositories. Many Debian and Ubuntu users prefer to install things from packages rather than tarballs.
Users are free to download the tarballs and unpack if they wish, but quite a lot of people are using the debs, its a personal choice.
This started for me for 2 main reasons. FMOD just would not work for me and would crash all the time so i had no sound, 2 i waned a 64 bit version of the viewer (AND libraries), which you can't just download a tarball. Once i've made the deb its trivial to build i386 or other arches so i do.
Michelle
|
Bluesman Wycliffe
Registered User
Join date: 19 Feb 2008
Posts: 74
|
02-28-2008 11:35
Cool..Told you I was probably missing the point. I've only tried the LL tarballs so far, So will most certainly try your debs then see if they resolve a couple of issues i'm having, one of which is video playback..
Sounds like these could improve my SL experience.. Thanks
|
Kornscope Komachi
Transitional human
Join date: 30 Aug 2006
Posts: 1,041
|
02-28-2008 16:01
Hi Michelle, nicely done. Downloading now. Didn't see anything regrading g-streamer as a dependency that would be pulled in. Maybe I have all of g-streamer anyway, don't know. It don't work atm.
Can the package bring in the g-streamer/video support and others as well? I would guess it's not ideal.
Thanks.
|
Michelle2 Zenovka
Registered User
Join date: 6 Jan 2008
Posts: 63
|
02-29-2008 01:32
Hi Kornscope,
GStreamer is not a hard dependency, the viewer will at run time see if it is available, so will happily run without it being on your system, but of cause with no streaming.
GStreamer is a build dependency of the package but because the Debian package scripts automatically determine the required packages and non of gstreamers symbols are used directly (they are called indirectly) its not being added to the dependency list.
What i will do is add gstreamer as a recommends to the package for the next build.
BTW 1.19.0.4 has just hit the repository this morning
Thanks,
M2
|
Asriazh Frye
Smart Cookie
Join date: 30 Sep 2006
Posts: 173
|
02-29-2008 03:24
Sorry for hijacking your thread, Michelle2 ^^; but i just tried to compile the 1.19.1 client from source and found that LL moved on to a libllmozlib2.a now. Do you have an idea where i could obtain this? Compiling the llmozlib2 from source wouldn't be a problem either ^^; Thank you ^_^
-Asriazh
|
Michelle2 Zenovka
Registered User
Join date: 6 Jan 2008
Posts: 63
|
Mozlib2
02-29-2008 04:05
Oh no its finally happened  I have not looked into this yet, is libmozlib2 at this point any different to libmozlib? there may be no actual ABI/API changes and you might be able to use the old libmozlib. Certainly the lindens have not updated the mozlib svn but it might just mean it has not been released yet. I knew this was going to happen from various discussions I have had over the past few months with various lindens, i had really hoped for a heads up, but yes this will become a priority for me very soon now.
|
Asriazh Frye
Smart Cookie
Join date: 30 Sep 2006
Posts: 173
|
02-29-2008 04:32
All they included so far is an "llmozlib2.h" which indicates there are changes. You can get the file from here: http://secondlife.com/developers/opensource/downloads/2008/02/slviewer-src-release-r80874.tar.gz Leaving llmozlib2.h inside /linden/libraries/include and using the old llmozlib.a file, renaming it to llmozlib2.a gives me a few errors at the end of the compile process, indicating that llmozlib2.a and the old version aren't compatible. But i suspect deleting the llmozlib2.h file would let me compile the client with llmozlib2=yes. http://secondlife.com/developers/opensource/downloads/2008/02/slviewer-linux-libs-release-r80874.tar.gz doesn't contain this file either. So i guess we have to wait until LL either make the source publically available or give us the precompiled libs. I hope this information helped you a little ^_^
-Asriazh
|
Michelle2 Zenovka
Registered User
Join date: 6 Jan 2008
Posts: 63
|
02-29-2008 06:51
It was a *long shot* anyway. I don't want to use a precompiled mozlib as i build it in a totally different way to the lindens official version so will have to wait for a release and hope that it can still be built against xulrunner.
Just looked at the diff between the header files of llmozlib.h and llmozlib2.h and there are a considerable number of new functions and many existing functions have additional parameters.
|
Michelle2 Zenovka
Registered User
Join date: 6 Jan 2008
Posts: 63
|
03-01-2008 07:46
Hey Asriazh, llmozlib2 is available from svn.secondlife.com now so its up to date again. I will start my xulrunner build process again next week for llmozlib2
Also back on topic for this thread, the apt repository is upto 1.19.0.4, and will be synced up to the (minor) update 1.19.0.5 soon too, if any of the changes are worthwhile, i will have diff and see why another update was needed so soon.
PowerPC users there are debs for the viewer available now, on the repository, so thats i686,amd64 and powerpc covered now, yay!, hope they work, i can't test ppc myself only build them (and it takes 24 hours)
Regards M2
|
Bluesman Wycliffe
Registered User
Join date: 19 Feb 2008
Posts: 74
|
03-01-2008 10:17
the reason for the 05 build Update from 1.19.0(4) to 1.19.0(5) viewer required (earlier still allowed) Friday, February 29th, 2008 by: Joshua Linden
A security issue was discovered in the Second Life 1.19.0(4) viewer released yesterday. Although we have no information indicating that it is being exploited, residents who downloaded the optional 1.19.0(4) viewer should update to 1.19.0(5). Earlier supported versions - 1.18.5(3), 1.18.4(3), 1.18.3(5) and 1.18.2(1) are unaffected and may still be used.
|
Asriazh Frye
Smart Cookie
Join date: 30 Sep 2006
Posts: 173
|
03-01-2008 11:12
Thank you, Michell2 ^_^ I just checked the SVN out and am compiling llmozlib2 now. For others who want to give it a whirl as well, here's the SVN command to do just that: svn co http://svn.secondlife.com/svn/llmozlib/trunk/llmozlib2 Have fun ^^ -Asriazh
P.S.: So the first attempt compiling llmozlib2 didn't work. I guess its most likely because the Linden patch never got applied to the Mozilla 2.0.0.11 source."linux-checkout_patch_build.sh" was pointing to a "linden.patch" which doesn't exist; only "linden_updates.patch" does. Let's see if compiling the mozilla source works now ^_^
|
Asriazh Frye
Smart Cookie
Join date: 30 Sep 2006
Posts: 173
|
03-01-2008 14:29
Ok, i finally got the mozilla part of llmozlib2 to compile. I tried a lot of things, encountering errors that pointed towards a "freetype2" "xft" thing. I believe what did the trick in the end was to edit the "mozconfig"file a little.. like this: ac_add_options --enable-pango #ac_add_options --enable-freetype2 ac_add_options --disable-gnomevfs ac_add_options --disable-gnomeui ac_add_options --disable-xinerama ac_add_options --disable-system-cairo #ac_add_options --disable-xft ac_add_options --enable-xft I hope this will work for you too (if you got any errors while compiling, that is ^^; -Asriazh
P.S.: "llembeddedbrowser.*" and "llembeddedbrowserwindow.*" seem to be a mess right now :/ . Did anyone here have any luck compiling the llmozlib2.a file?
|
Asriazh Frye
Smart Cookie
Join date: 30 Sep 2006
Posts: 173
|
03-06-2008 13:25
One of the SLDev mailing list guys pointed out to Tofu that the llmozlib2 source was seriously messed up and they released a cleaned up version 3 hours ago. I just thought I'd let you know in case you didn't already ^^;
-Asriazh
|
Michelle2 Zenovka
Registered User
Join date: 6 Jan 2008
Posts: 63
|
Windlight test builds
03-11-2008 07:15
Right now that mozlib2 stuff is all sorted i have some 1.19.1.0 RC releases on the apt repository. I am keeping 1.19.0.5 in one repository and 1.19.1.0 (RC's) in another now so if you don't want RC's you don't have to, especially as there are *issues* with 1.19.1.0. So if you want to try the 1.19.1.0 release early just head over to the apt repository instructions at :- http://www.byteme.org.uk/secondlife-amd64/apt-get-a-secondlife.htmlAs always there are still a good number of patches already applied to this release so with any luck it will at least be better than the lindens official RC out of the box  . Certainly the locale bug is not in my viewer, i am not 100% sure about the attachment bug, didn't notice it when i have been playing, but if its still there i will issue a sub release. As always have Fun M2
|
Stephen Zenith
Registered User
Join date: 15 May 2006
Posts: 1,029
|
03-11-2008 07:24
From: Michelle2 Zenovka Right now that mozlib2 stuff is all sorted i have some 1.19.1.0 RC releases on the apt repository. I am keeping 1.19.0.5 in one repository and 1.19.1.0 (RC's) in another now so if you don't want RC's you don't have to, especially as there are *issues* with 1.19.1.0. So if you want to try the 1.19.1.0 release early just head over to the apt repository instructions at :- http://www.byteme.org.uk/secondlife-amd64/apt-get-a-secondlife.htmlAs always there are still a good number of patches already applied to this release so with any luck it will at least be better than the lindens official RC out of the box  . Certainly the locale bug is not in my viewer, i am not 100% sure about the attachment bug, didn't notice it when i have been playing, but if its still there i will issue a sub release. As always have Fun M2 Excellent, I'll definitely be giving the RC a go when I get home.
|
Stephen Zenith
Registered User
Join date: 15 May 2006
Posts: 1,029
|
03-12-2008 12:53
It dies while logging in for me, every time.
Running it in gdb shows it to be happening somewhere in LLAudioEngine_OpenAL::getInternetStreamURL ()
I'm running Kubuntu Gutsy, btw.
|
Michelle2 Zenovka
Registered User
Join date: 6 Jan 2008
Posts: 63
|
03-13-2008 05:01
There is a possible gstreamer error in the RC, glad its an experimental repository. Its being looked at now. Due to the lindens re writing much of llmedia there seems to be a limitation in the gstreamer streaming audio implementation. Strangely it does not crash either of my (debian) systems amd64 or i386 which is why i let it out the door.
Thanks for the report though.
|
Stephen Zenith
Registered User
Join date: 15 May 2006
Posts: 1,029
|
03-13-2008 06:26
From: Michelle2 Zenovka There is a possible gstreamer error in the RC, glad its an experimental repository. Its being looked at now. Due to the lindens re writing much of llmedia there seems to be a limitation in the gstreamer streaming audio implementation. Strangely it does not crash either of my (debian) systems amd64 or i386 which is why i let it out the door.
Thanks for the report though. I've got some time off next week, so I'll try compiling from source, I should be able to narrow it down a bit more then.
|
Michelle2 Zenovka
Registered User
Join date: 6 Jan 2008
Posts: 63
|
03-16-2008 12:47
Hi, i've updated the gstreamer streaming audio patch. Details are living on http://jira.secondlife.com/browse/VWR-5659 which is now a sub task of the original openal patch. Will try to roll some debs with it all updated ASAP.
|
Kristopher Tenk
Registered User
Join date: 11 Apr 2007
Posts: 153
|
03-17-2008 08:15
I just tried this on Ubuntu 7.10 (gnome) and i found the sound to be very crackly...duno why plus a little slower for me. But nice idea 
|
Stephen Zenith
Registered User
Join date: 15 May 2006
Posts: 1,029
|
03-18-2008 11:03
Just tried your latest build, runs very nicely. A few glitches in the map tiles, which I'm assuming are OpenJpeg-related issues. And a prim that insists on going invisible a few seconds after rezzing, when several identical ones in the same floor don't.
Apart from that, the only other thing is the font - I'm assuming the ones that come with SL are non-free, but the replacement is bigger - taking up more room in the UI, and causing a few layout issues in floaters. It runs beautifully though, seems much smoother than the regular viewer.
|