Bug 1109

Summary: imprudence, a viewer for OpenSim and Second Life
Product: Mageia Reporter: Kristoffer Grundström <lovaren>
Component: New RPM package requestAssignee: All Packagers <pkg-bugs>
Status: RESOLVED OLD QA Contact:
Severity: enhancement    
Priority: Normal CC: josh, marja11, odahlum
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
URL: http://wiki.kokuaviewer.org/wiki/Imprudence:About
Whiteboard:
Source RPM: imprudence CVE:
Status comment:
Attachments: This file contains a text-document with patch-instructions
Here's the replacement file

Description Kristoffer Grundström 2011-05-03 00:13:15 CEST
Imprudence is a viewer for OpenSim and Second Life, with an emphasis on usability, community involvement, and transparency.

Here's the source: http://imprudence.googlecode.com/files/Imprudence-source-1.3.1.zip

Here's how to compile it:
http://wiki.kokuaviewer.org/wiki/Imprudence:Compiling#Linux_2
Comment 1 Kristoffer Grundström 2011-05-03 00:17:11 CEST
Latest stable version is http://imprudence.googlecode.com/files/Imprudence-1.3.1-Linux-x86_64.tar.bz2 for x86_64 & http://imprudence.googlecode.com/files/Imprudence-1.3.1-Linux-x86.tar.bz2 thou the x86-version is deprecated.
Comment 3 Kristoffer Grundström 2011-05-03 00:19:53 CEST
Here's the git-hub for the latest source-code:

https://github.com/imprudence/imprudence/network/members
Comment 4 Kristoffer Grundström 2011-05-03 00:21:06 CEST
License of Imprudence is GNU GPL v.2
Comment 5 Olav Dahlum 2011-05-03 00:30:02 CEST
Note that Imprudence are multilicensed.

CC: (none) => odahlum

Marja Van Waes 2011-10-12 19:28:23 CEST

URL: (none) => http://wiki.kokuaviewer.org/wiki/Imprudence:About
CC: (none) => marja11
Summary: Compile & create RPM's for Imprudence viewer => Imprudence, a viewer for OpenSim and Second Life
Severity: normal => enhancement

Comment 6 Kristoffer Grundström 2011-10-13 00:03:57 CEST
To get passed the python-celementtree issue you edit fastest_elementtree.py in /linden/indra/lib/python/indra/util/ & uncommenting line 42 to 48.

From row 49 to 59 you delete spaces so it looks like this instead:

try:
        if not use_celementree:
            raise ImportError()
        # Python 2.5 and above.
        from xml.etree.cElementTree import *
        ElementTreeError = SyntaxError
except ImportError:
        # Pure Python code.
        try:
            # Python 2.3 and 2.4.
            from elementtree.ElementTree import *

Now save the changes made & re-run python develop.py & the issue shall disappear. Perhaps a python-error to look at?
Marja Van Waes 2011-11-10 12:49:33 CET

Source RPM: (none) => imprudence

Comment 7 Kristoffer Grundström 2011-11-14 04:40:04 CET
I can't get passed my own instructions now that I've tried doing the same thing. I wonder why it worked before.

I even changed the value to False when it comes to using Celementtree & still it doesn't work.
Comment 8 Kristoffer Grundström 2011-11-14 05:43:44 CET
Trying this instruction & seems to compile with make any way:

Do git clone git://github.com/imprudence/imprudence.git in terminal as normal user.

cd to /imprudence/linden/indra & type python develop.py

Let it download & do it's stuff.

You'll get a small error about libGLU.so in the end, but that's no biggie.

Then cd to viewer-linux-<press Tab to get full dir-name>

Now type make
Comment 9 Kristoffer Grundström 2011-11-14 05:46:54 CET
IF I'm not misstaken you'll get to 43% to.

A person from Imprudence-channel in IRC said this about the issue:

"Looks like there's a need to add -lz into the script that links linux-crash-logger or remove viewer-bundled zlib & use system-bundled one."
Comment 10 Kristoffer Grundström 2011-11-14 05:52:30 CET
Theese errors are written here to show you how to solve them in case you run in to them with theese versions as well.
Comment 12 Kristoffer Grundström 2011-11-16 00:03:23 CET
Created attachment 1064 [details]
This file contains a text-document with patch-instructions
Comment 13 Kristoffer Grundström 2011-11-16 03:21:38 CET
(In reply to comment #12)
> Created attachment 1064 [details]
> This file contains a text-document with patch-instructions

Thou this doesn't work good enough to fix the compilation.

Redownload the code from the github & replace the current fastest_celementtree.py in /linden/indra/lib/python/indra/util/ with the slightly fixed version of it from above post.
Comment 14 Kristoffer Grundström 2011-11-16 03:22:26 CET
Created attachment 1065 [details]
Here's the replacement file
Comment 15 Kristoffer Grundström 2011-11-16 03:36:37 CET
Now redo the things from comment 8# & in the end of the compilation when you get the liGLU.so-error, depending on your arch go to either /imprudence/linden/libraries/i586-linux/lib_release_client or /imprudence/linden/libraries/x86_64-linux/lib_release_client/ & delete all libGLU and zlib-related so-files & then go to /imprudence/linden/indra/viewer-linux-<press Tab to complete the dir-name> and run make.

If a fix hasn't been added you'll get to 90%.

If you know the fix for this error, please do add instructions on how to solve it.

Thanks.
Comment 16 Kristoffer Grundström 2011-11-16 20:19:53 CET
The last thing to accomplish is that you have to pass -fpermissive to compiler-flags to make warnings non-fatal.
Dan Joita 2012-02-25 21:47:29 CET

Summary: Imprudence, a viewer for OpenSim and Second Life => imprudence, a viewer for OpenSim and Second Life

Comment 17 Kristoffer Grundström 2012-03-06 22:25:49 CET
I've successfully compiled a tar.bz2 for Mageia using Mageia 1, but I'm somewhat confused on how to create a good spec-file for it. I downloaded the template spec-file,but I don't know how to form it.

I would be glad if I could get some help.
Josh S 2015-06-27 09:40:04 CEST

CC: (none) => josh

Comment 18 Marja Van Waes 2016-10-09 22:47:32 CEST
Assigning this package request to all packagers collectively. On a voluntary basis, one of them might want to integrate it to the distribution and maintain it for bug and security fixes.

 You might also want to join the packager team to maintain this piece of software: see https://wiki.mageia.org/en/Becoming_a_Mageia_Packager

Assignee: bugsquad => pkg-bugs

Comment 19 Kristoffer Grundström 2017-06-25 05:11:19 CEST
Since this viewer is no more existing I'll close this as OLD.

Resolution: (none) => OLD
Status: NEW => RESOLVED