Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 98507 - gtranscode source needs patching before it will work in a normal gentoo environment
Summary: gtranscode source needs patching before it will work in a normal gentoo envir...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-09 15:09 UTC by rob shelton
Modified: 2005-12-08 07:12 UTC (History)
0 users

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


Attachments
Modifies gtranscode-0.3 ebuild to fix the problem (gtranscode-0.3.ebuild,762 bytes, text/plain)
2005-11-18 12:46 UTC, Greg Turner
Details
Goes in files/ (gtranscode-0.3-not-in-local.patch,973 bytes, patch)
2005-11-18 12:46 UTC, Greg Turner
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description rob shelton 2005-07-09 15:09:56 UTC
When you run gtranscode after emerge gtranscode, the import and export filter
boxes are empty. This is because gtranscode looks in the wrong location for the
improt and export filters (on AMD64).

The source code in interface.c of gtranscode looks in /usr/local/lib/transcode
for the import and export modules. On a normal gentoo install via portage,
transcode puts its modules in /usr/lib/transcode.

The source code at line 290 of interface.c needs changing from:

	glob("/usr/local/lib/transcode/import*.so",0,NULL,&globbuf);

to

	glob("/usr/lib/transcode/import*.so",0,NULL,&globbuf);


The source code at line 417 of interface.c needs changing from:

	glob("/usr/local/lib/transcode/export*.so",0,NULL,&globbuf);

to

	glob("/usr/lib/transcode/export*.so",0,NULL,&globbuf);


Reproducible: Always
Steps to Reproduce:
1.emerge gtranscode
2.gtranscode
3.

Actual Results:  
You are left with empty import and export filter selector boxes.

Expected Results:  
The import and export filter boxes should contain the import and export filters
from /usr/lib/transcode

Posted as requested, output from emerge.info

Portage 2.0.51.22-r1 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.5-r0,
2.6.12-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.12-gentoo-r4 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Gentoo Base System version 1.6.12
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.9
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=k8 -O2 -fweb -mmmx -m3dnow -msse -msse2 -msse3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-mtune=k8 -O2 -ffast-math -fweb -mmmx -m3dnow -msse -msse2 -msse3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -s"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X Xaw3d a52 aac aalib accessibility acl acpi alsa arts audiofile avi
berkdb bitmap-fonts bonobo bzip2 cddb cdparanoia cdr clanJavaScript clanVoice
crypt cups curl directfb dlloader doc dts dv dvd dvdr dvdread eds emacs encode
esd exif fame fbcon ffmpeg fftw flac flash font-server foomaticdb fortran gcj
gcl gd gdbm ggi gif ginac gphoto2 gpm graphviz gstreamer gtk gtk2 gtkhtml guile
hal ide ieee1394 imagemagick imlib ipv6 java javascript jbig joystick jp2 jpeg
jpeg2k junit justify kcal kde kdeenablefinal kdegraphics lesstif libwww lirc
lm_sensors lzo lzw lzw-tiff mad matroska md5sum memlimit mikmod mjpeg mng motif
mozilla mp3 mpeg mpi mysql mythtv ncurses net network nls nntp nptl nptlonly
nvidia objc odbc ogg oggvorbis openal opengl oss pam pda pdflib perl plotutils
png povray ppds python qhull qt quicktime readline rtc ruby samba scanner sdl
slang sndfile speex spell sqlite ssl svg tcltk tcpd tetex tga theora threads
tiff toolbar transcode truetype truetype-fonts type1-fonts unicode usb
userlocales v4l v4l2 vcd vidix visualization vorbis wmf xanim xemacs xine xml
xml2 xmms xpm xprint xrandr xv xvid xvmc yv12 zeroconf zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS
Comment 1 Greg Turner 2005-11-18 12:46:28 UTC
Created attachment 73145 [details]
Modifies gtranscode-0.3 ebuild to fix the problem

Here you go :)
Comment 2 Greg Turner 2005-11-18 12:46:56 UTC
Created attachment 73146 [details, diff]
Goes in files/
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-12-08 07:12:26 UTC
Well gtranscode is going to follow the way of the dodo...