<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>74198</bug_id>
          
          <creation_ts>2004-12-12 07:33 0000</creation_ts>
          <short_desc>media-video/goggles: ebuild for new upstream version 0.7.10</short_desc>
          <delta_ts>2005-03-22 09:49:04 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <keywords>EBUILD</keywords>
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>natoka@inode.at</reporter>
          <assigned_to>media-video@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>natoka@inode.at</who>
            <bug_when>2004-12-12 07:33:20 0000</bug_when>
            <thetext>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&apos;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&apos;t include the patches of the previous bug (#61844) against goggles, but I have had a look at it and the patches don&apos;t overlap, though the patches of #61844 might be outdated. Anyway the ebuild modifications overlap.


Reproducible: Always
Steps to Reproduce:</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>natoka@inode.at</who>
            <bug_when>2004-12-12 07:35:42 0000</bug_when>
            <thetext>Created an attachment (id=45821)
patch against goggles-0.7.4.ebuild

adds an epatch statement to src_unpack()</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>natoka@inode.at</who>
            <bug_when>2004-12-12 07:36:52 0000</bug_when>
            <thetext>Created an attachment (id=45822)
patch that is used in the ebuild to fix /usr/bin/goggles

fixes the problem in the installation script</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>carlo@gentoo.org</who>
            <bug_when>2004-12-12 12:26:48 0000</bug_when>
            <thetext>Michael: would be nice if you could name the package in the subject</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>francoisdutoit@gmail.com</who>
            <bug_when>2005-01-23 02:47:07 0000</bug_when>
            <thetext>I get an error when trying to compile. It doesn&apos;t cause emerge to abort and it looks as if everything went ok when it didn&apos;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*)&apos;:
dvdpreferences.cpp:41: warning: unused variable `DVDApp*dvdapp&apos;
dvdpreferences.cpp:77: warning: unused variable `FX::FXVerticalFrame*vframe&apos;
    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&apos;
/usr/lib/opengl/nvidia/lib/libGL.so.1: undefined reference to `_nv000793gl&apos;
/usr/lib/opengl/nvidia/lib/libGL.so.1: undefined reference to `_nv000795gl&apos;
/usr/lib/opengl/nvidia/lib/libGL.so.1: undefined reference to `_nv000792gl&apos;
/usr/lib/opengl/nvidia/lib/libGL.so.1: undefined reference to `_nv000786gl&apos;
/usr/lib/opengl/nvidia/lib/libGL.so.1: undefined reference to `_nv000788gl&apos;
/usr/lib/opengl/nvidia/lib/libGL.so.1: undefined reference to `_nv000797gl&apos;
/usr/lib/opengl/nvidia/lib/libGL.so.1: undefined reference to `_nv000785gl&apos;
/usr/lib/opengl/nvidia/lib/libGL.so.1: undefined reference to `_nv000789gl&apos;
/usr/lib/opengl/nvidia/lib/libGL.so.1: undefined reference to `_nv000794gl&apos;
/usr/lib/opengl/nvidia/lib/libGL.so.1: undefined reference to `_nv000787gl&apos;
/usr/lib/opengl/nvidia/lib/libGL.so.1: undefined reference to `_nv000800gl&apos;
/usr/lib/opengl/nvidia/lib/libGL.so.1: undefined reference to `_nv000798gl&apos;
/usr/lib/opengl/nvidia/lib/libGL.so.1: undefined reference to `_nv000790gl&apos;
/usr/lib/opengl/nvidia/lib/libGL.so.1: undefined reference to `_nv000796gl&apos;
/usr/lib/opengl/nvidia/lib/libGL.so.1: undefined reference to `_nv000791gl&apos;
/usr/lib/opengl/nvidia/lib/libGL.so.1: undefined reference to `_nv000799gl&apos;
/usr/lib/opengl/nvidia/lib/libGL.so.1: undefined reference to `_nv000801gl&apos;
collect2: ld returned 1 exit status
make: *** [&quot;ogle_gui_goggles&quot;] Error 1
Done
Run ./gb install to Install Goggles
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>luckyduck@gentoo.org</who>
            <bug_when>2005-03-22 09:49:04 0000</bug_when>
            <thetext>new version commited, thanks</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>45821</attachid>
            <date>2004-12-12 07:35 0000</date>
            <desc>patch against goggles-0.7.4.ebuild</desc>
            <filename>goggles-0.7.10.ebuild.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIC91c3IvcG9ydGFnZS9tZWRpYS12aWRlby9nb2dnbGVzL2dvZ2dsZXMtMC43LjQuZWJ1aWxk
CTIwMDQtMDktMDMgMDM6MDg6MTMuMDAwMDAwMDAwICswMjAwCisrKyBnb2dnbGVzLTAuNy4xMC5l
YnVpbGQJMjAwNC0xMi0xMiAxNTo0OTozNi4zNDA0OTQyNTYgKzAxMDAKQEAgLTIwLDYgKzIxLDcg
QEAKIHNyY191bnBhY2soKSB7CiAJdW5wYWNrICR7QX0KIAljZCAke1N9CisJZXBhdGNoICR7RklM
RVNESVJ9L2dvZ2dsZXMtdXNyYmluLWZpeC5wYXRjaAogCXNlZCAtaSBcCiAJCS1lICIvXmV4cG9y
dCBDQz0vczo9Lio6PVwiJChnY2MtZ2V0Q0MpXCI6IiBcCiAJCS1lICIvXmV4cG9ydCBDWFg9L3M6
PS4qOj1cIiQoZ2NjLWdldENYWClcIjoiIFwK
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>45822</attachid>
            <date>2004-12-12 07:36 0000</date>
            <desc>patch that is used in the ebuild to fix /usr/bin/goggles</desc>
            <filename>goggles-usrbin-fix.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGdiCTIwMDQtMTItMTAgMDE6NTI6MDguMDAwMDAwMDAwICswMTAwCisrKyBnYgkyMDA0LTEy
LTEyIDE1OjIwOjEwLjczODkwNjQ5NiArMDEwMApAQCAtNjEsNyArNjEsNyBAQAogICAgIGNhc2Ug
JGFyZyBpbgogCQknaW5zdGFsbCcpCiAgICAgICAjQ3JlYXRlIHRoZSBHb2dnbGVzIFNjcmlwdAot
ICAgICAgc2VkICJzfEBwcmVmaXhAfCRQQUNLQUdFX1BSRUZJWHwiIHNjcmlwdHMvZ29nZ2xlcy5p
biA+IHNjcmlwdHMvZ29nZ2xlcworICAgICAgc2VkICJzfEBwcmVmaXhAfC91c3J8IiBzY3JpcHRz
L2dvZ2dsZXMuaW4gPiBzY3JpcHRzL2dvZ2dsZXMKIAkJCWVjaG8gIkluc3RhbGxpbmcgR29nZ2xl
cyBpbiBbJHtQQUNLQUdFX1BSRUZJWH1dIgogCQkJJHtJTlNUQUxMfSAtbSA3NTUgc3JjL29nbGVf
Z3VpX2dvZ2dsZXMgJHtQQUNLQUdFX1BSRUZJWH0vYmluCiAJCQkke0lOU1RBTEx9IC1tIDc1NSBz
Y3JpcHRzL2dvZ2dsZXMgJHtQQUNLQUdFX1BSRUZJWH0vYmluCg==
</data>        

          </attachment>
    </bug>

</bugzilla>