First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 74198
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: media-video herd <media-video@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Michael Moerz <natoka@inode.at>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
goggles-0.7.10.ebuild.patch patch against goggles-0.7.4.ebuild patch Michael Moerz 2004-12-12 07:35 0000 369 bytes Details | Diff
goggles-usrbin-fix.patch patch that is used in the ebuild to fix /usr/bin/goggles patch Michael Moerz 2004-12-12 07:36 0000 493 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 74198 depends on: Show dependency tree
Bug 74198 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   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:

------- Comment #1 From Michael Moerz 2004-12-12 07:35:42 0000 -------
Created an attachment (id=45821) [edit]
patch against goggles-0.7.4.ebuild

adds an epatch statement to src_unpack()

------- Comment #2 From Michael Moerz 2004-12-12 07:36:52 0000 -------
Created an attachment (id=45822) [edit]
patch that is used in the ebuild to fix /usr/bin/goggles

fixes the problem in the installation script

------- Comment #3 From Carsten Lohrke 2004-12-12 12:26:48 0000 -------
Michael: would be nice if you could name the package in the subject

------- Comment #4 From Francois du Toit 2005-01-23 02:47:07 0000 -------
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

------- Comment #5 From Jan Brinkmann (RETIRED) 2005-03-22 09:49:04 0000 -------
new version commited, thanks

First Last Prev Next    No search results available      Search page      Enter new bug