Bug 74198 - media-video/goggles: ebuild for new upstream version 0.7.10
|
Bug#:
74198
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: x86
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: enhancement
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: media-video@gentoo.org
|
Reported By: natoka@inode.at
|
|
Component: Ebuilds
|
|
|
URL:
|
|
Summary: media-video/goggles: ebuild for new upstream version 0.7.10
|
|
Keywords: EBUILD
|
|
Status Whiteboard:
|
|
Opened: 2004-12-12 07:33 0000
|
just wanted to publish my changes in case someone finds them usefull.
my ebuild is for the current goggles version.
Additionally I attached a patch that fixes the script goggles-0.7.10/gb. The bug that is removed, is gentoo install specific. The bug prevents goggles from beeing useable since the environment variable DVDP_UI in /usr/bin/goggles gets set to a wrong path (a /var/tmp/portage/goggles-${PV}/work/... one ).
This happens since ebuild specifies ${D}/usr as an install path and the script goggles-0.7.10/gb sed's goggles-0.7.10/gb/scripts/goggles.in with the install path (that is obviously wrong). I just replaced the PREFIXPATH stuff in goggles-0.7.10/gb with /usr (/bin/ogle_gui_goggles is already present in goggles.in) so that the environment variable gets set properly now and goggles works.
sidenote: i didn't include the patches of the previous bug (#61844) against goggles, but I have had a look at it and the patches don't overlap, though the patches of #61844 might be outdated. Anyway the ebuild modifications overlap.
Reproducible: Always
Steps to Reproduce:
Michael: would be nice if you could name the package in the subject
I get an error when trying to compile. It doesn't cause emerge to abort and it
looks as if everything went ok when it didn't.
This is what I get:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
OS Name: Linux
OS Release: 2.6.10-mm1-V0.7.34-01
OS Machine: i686
Build Config: build/config.linux
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Check FOX Config : Not Found
Check FOX Library : FOUND
Unable to locate fox-config. Assuming FOX 1.2 is installed.
As of FOX 1.2.11 this file is not automatically installed in your PATH.
If you run into any problems try copying fox-config from the fox-1.2
echo -e source directory to your PATH and rerun goggles build.
All latest versions of FOX 1.2 and FOX 1.3 should have fox-config
Trying to build it anyway...
Check FOX Header : FOUND
Check Ogle Library : FOUND
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FOX Prefix: /usr
Ogle Prefix: /usr
Installation Prefix: /usr
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Compiler: gcc
C++ Compiler: g++
Executable Linker: g++
Preprocessor Flags: -I../include -I/usr/include/fox-1.2 -I/usr/include
C Compiler Flags: -Wall -O2
C++ Compiler Flags: -Wall -O2
Defines: -DLINUX -DHAVE_OLD_TREEAPI
Libraries: -L/usr/lib -lFOX-1.2 -L/usr/lib/ogle -Wl,-rpath
/usr/lib/ogle -ldvdcontrol -lmsgevents
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Creating icons.h...
Creating icons.cpp...
Compiling main.cpp ...
Compiling dvdapp.cpp ...
Compiling dvdwindow.cpp ...
Compiling dvdnav.cpp ...
Compiling dvdint.cpp ...
Compiling dvdpreferences.cpp ...
dvdpreferences.cpp: In member function `long int
DVDWindow::onCmdOptions(FX::FXObject*, unsigned int, void*)':
dvdpreferences.cpp:41: warning: unused variable `DVDApp*dvdapp'
dvdpreferences.cpp:77: warning: unused variable `FX::FXVerticalFrame*vframe'
Compiling dvddxr3.cpp ...
Compiling dvdxv.cpp ...
Compiling dvddesktop.cpp ...
Compiling dvdabout.cpp ...
Compiling icons.cpp ...
Linking ogle_gui_goggles ...
/usr/lib/libGLcore.so.1: undefined reference to `_nv000784gl'
/usr/lib/opengl/nvidia/lib/libGL.so.1: undefined reference to `_nv000793gl'
/usr/lib/opengl/nvidia/lib/libGL.so.1: undefined reference to `_nv000795gl'
/usr/lib/opengl/nvidia/lib/libGL.so.1: undefined reference to `_nv000792gl'
/usr/lib/opengl/nvidia/lib/libGL.so.1: undefined reference to `_nv000786gl'
/usr/lib/opengl/nvidia/lib/libGL.so.1: undefined reference to `_nv000788gl'
/usr/lib/opengl/nvidia/lib/libGL.so.1: undefined reference to `_nv000797gl'
/usr/lib/opengl/nvidia/lib/libGL.so.1: undefined reference to `_nv000785gl'
/usr/lib/opengl/nvidia/lib/libGL.so.1: undefined reference to `_nv000789gl'
/usr/lib/opengl/nvidia/lib/libGL.so.1: undefined reference to `_nv000794gl'
/usr/lib/opengl/nvidia/lib/libGL.so.1: undefined reference to `_nv000787gl'
/usr/lib/opengl/nvidia/lib/libGL.so.1: undefined reference to `_nv000800gl'
/usr/lib/opengl/nvidia/lib/libGL.so.1: undefined reference to `_nv000798gl'
/usr/lib/opengl/nvidia/lib/libGL.so.1: undefined reference to `_nv000790gl'
/usr/lib/opengl/nvidia/lib/libGL.so.1: undefined reference to `_nv000796gl'
/usr/lib/opengl/nvidia/lib/libGL.so.1: undefined reference to `_nv000791gl'
/usr/lib/opengl/nvidia/lib/libGL.so.1: undefined reference to `_nv000799gl'
/usr/lib/opengl/nvidia/lib/libGL.so.1: undefined reference to `_nv000801gl'
collect2: ld returned 1 exit status
make: *** ["ogle_gui_goggles"] Error 1
Done
Run ./gb install to Install Goggles
new version commited, thanks