Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 9181 - moonlight3d-0.5.5 (New Package)
Summary: moonlight3d-0.5.5 (New Package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Linux bug wranglers
URL: http://files.garandnet.net/packages/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-15 21:04 UTC by Richard Garand
Modified: 2003-04-04 04:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
The moonlight3d ebuild files (moonlight3d.ebuild.tar.gz,883 bytes, application/x-tgz)
2002-10-15 21:04 UTC, Richard Garand
Details
A patch to fix installation problems (patch,292 bytes, patch)
2002-12-19 13:53 UTC, Richard Garand
Details | Diff
Makefile diif file (moonlight.0.5.5.diff,1.26 KB, patch)
2002-12-20 00:42 UTC, Henti Smith
Details | Diff
New ebuild files (moonlight3d.ebuild.tar.gz,1.46 KB, application/x-tgz)
2002-12-23 20:00 UTC, Richard Garand
Details
tarball containing current portage moonlight directory with new ebuild and new patches (moonlight-0.5.5.ebuild.tar.gz,2.08 KB, application/gzip)
2003-04-04 04:08 UTC, Henti Smith
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Garand 2002-10-15 21:04:09 UTC
These are the ebuild files for moonlight3d 0.5.5.        
        
Moonlight3d is a 3D modelling program for Linux.       
       
These should probably go in media-gfx. It requires OpenGL, X, libtiff, libgltt.
Comment 1 Richard Garand 2002-10-15 21:04:44 UTC
Created attachment 4743 [details]
The moonlight3d ebuild files
Comment 2 Henti Smith 2002-12-19 05:46:18 UTC
I can't believe I missed this .... 
I've been working on an ebuild for a few hours now .. 
hehe .. anyway ... did you fix the Makefile stuff ? 

Henti 
Comment 3 Henti Smith 2002-12-19 05:58:25 UTC
>>> Install moonlight3d-0.5.5 into /var/tmp/portage/moonlight3d-0.5.5/image/
category media-gfx
/bin/sh: -c: line 1: syntax error near unexpected token `8470(D'
/bin/sh: -c: line 1: `mkdir -p 8470(DESTDIR)/usr/local/lib/moonlight'
make: *** [/usr/local/lib/moonlight] Error 2

!!! ERROR: media-gfx/moonlight3d-0.5.5 failed.
!!! Function src_install, Line 1, Exitcode 2
!!! make install failed

Didn't think so ... .this is the output of your ebuild install 
I have a working Makefile is you want it .. also .. 
the makefile for install is "make installdata" not "make install" 

Henti Smith 
Comment 4 Richard Garand 2002-12-19 13:53:41 UTC
Created attachment 6611 [details, diff]
A patch to fix installation problems
Comment 5 Richard Garand 2002-12-19 13:54:33 UTC
I found the same problem, but it was fixed by using make installdata - thanks for 
pointing this out. I added a patch for the ebuild. 
Comment 6 Henti Smith 2002-12-20 00:41:52 UTC
hi there :) 

got the patch :) applying it now. It will solve the make working as per normal
.. but the Makefile is still 
broken and doens't install everything as it should.

At current Make file with the current config installs to /usr/local/ which is
not what we want. 

here is a diff of the Makefile I used to install where I wanted it to be : 

P.S. I'm veryly new to patching and diffs .. how do I create a .patch file ? 
and how do I apply it to a source tree ? 

Henti 
Comment 7 Henti Smith 2002-12-20 00:42:41 UTC
Created attachment 6617 [details, diff]
Makefile diif file

Diff for Makefile to fix missing installation and varios other things
Comment 8 Richard Garand 2002-12-23 19:58:39 UTC
make install is the correct way to install it; I added a patch that fixes this to the 
ebuild and I'll notify the authors about the problem 
 
I changed the configure command in the ebuild to make it install to /usr 
 
The moonlightrc has to go in /usr/etc; it could be moved to /etc, but that would 
require modifying the source (src/kernel/MLKernelConfig.C:68,125) 
 
I modified configure to use CXXFLAGS instead of hardcoding -O2 into the Makefile 
 
I'll attach the new ebuild files. 
 
Patches are created with diff -u and applied with patch - check the manpages for 
options. 
Comment 9 Richard Garand 2002-12-23 20:00:18 UTC
Created attachment 6715 [details]
New ebuild files

This obsoletes all previous attachments.
Comment 10 John Davis (zhen) (RETIRED) gentoo-dev 2003-04-04 01:21:50 UTC
db fix
Comment 11 John Davis (zhen) (RETIRED) gentoo-dev 2003-04-04 01:26:42 UTC
db fix
Comment 12 Henti Smith 2003-04-04 04:04:52 UTC
Hi all

New ebuild with new patch additions.

moonlight3d-0.5.5.Makefile.in.patch fixes Makefile.in to install moonlightrc into /etc/moonlight3d instead of /usr/etc/

moonlight3d-0.5.5.MLKernelConfig.C.patch fixes MLKernelConfig.C to check for moonlightrc in /etc/moonlight3d instead of /usr/etc 

everything compiles my side and when executing moonlight I don't get the error usually generated by MLKernelConfig.C when chekcing for moonlightrc which I hope means it's looking in the right place and finding it.
 
I cannot test the acuall application tho since my brother nicked my gfx card and I don't have OpenGL working on this machine.

please test if you can will test as soon as I get a chance.

Henti 
Comment 13 Henti Smith 2003-04-04 04:08:52 UTC
Created attachment 10185 [details]
tarball containing current portage moonlight directory with new ebuild and new patches

This is the latest update from me with lots of work from Richard incorporated.

this new ebuild will install moonlight correctly on gentoo with /usr as
$DESTDIR and configs in /etc/moonlight3d 

please test and report

Henti Smith