Bug 115008 - multimedia/devede 3.01 install fails to install "silence.wav" causing menu gen to fail
Summary: multimedia/devede 3.01 install fails to install "silence.wav" causing menu ge...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Lars Engels
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-29 10:30 UTC by User1001
Modified: 2007-07-29 22:42 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description User1001 2007-07-29 10:30:01 UTC

DeVeDe menu generation requires a "/usr/local/share/devede/silence.wav" file which does not exist, causing the menu generation process to abend/abort. The source file DOES exist, but for some reason it is in source "pixmaps" directory. The install process does not include this particular file, hence the missing "silence.wav" file.

kdump output spotted this problem:
.
.
.
Lanzo ['mencoder', '-srate', '48000', '-af', 'lavcresample=48000', '-oac'\
, 'lavc', '-ovc', 'lavc', '-of', 'mpeg', '-mpegopts', 'format=dvd:tsaf', \
'-ofps', '30000/1001', '-vf', 'scale=720:480,harddup', '-lavcopts', 'vcod\
ec=mpeg2video:trell:mbd=2:vstrict=0:vrc_maxrate=7501:vrc_buf_size=1835:vb\
itrate=5001:keyint=18:acodec=mp2:abitrate=224:aspect=4/3', '-o', '/tmp/mo\
vie1_menu.mpg', '-audiofile', '/usr/local/share/devede/silence.wav', '-mf\
', 'type=png:fps=1', 'mf:///tmp/movie1_menu_bg.png']
Launching program:
program:  ['mencoder', '-srate', '48000', '-af', 'lavcresample=48000', '-\
oac', 'lavc', '-ovc', 'lavc', '-of', 'mpeg', '-mpegopts', 'format=dvd:tsa\
f', '-ofps', '30000/1001', '-vf', 'scale=720:480,harddup', '-lavcopts', '\
vcodec=mpeg2video:trell:mbd=2:vstrict=0:vrc_maxrate=7501:vrc_buf_size=183\
5:vbitrate=5001:keyint=18:acodec=mp2:abitrate=224:aspect=4/3', '-o', '/tm\
p/movie1_menu.mpg', '-audiofile', '/usr/local/share/devede/silence.wav', \
'-mf', 'type=png:fps=1', 'mf:///tmp/movie1_menu_bg.png']
Current working Directory:  /home/user
elemento:  /usr/bin
In:  /home/user
MEncoder 1.0rc1-3.4.6 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 3.20GHz (Family: 15, Model: 2, Stepping: 9\
)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
success: format: 16  data: 0x0 - 0x0

Exiting...
   
File not found: '/usr/local/share/devede/silence.wav'
Failed to open /usr/local/
        
Deleting /tmp/movie1_menu.mpg due to error or aborting.
/tmp/movie1_menu.mpg didn't exists
.
.
.

Fix: 

Add following line (or something like it) to "do-install" block in the devede port Makefile:

${INSTALL_DATA} ${WRKSRC}/pixmaps/silence.wav ${DATADIR}
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-07-29 10:44:06 UTC
Responsible Changed
From-To: freebsd-ports-bugs->lme

Over to maintainer
Comment 2 dfilter service freebsd_committer freebsd_triage 2007-07-29 22:35:37 UTC
lme         2007-07-29 21:35:31 UTC

  FreeBSD ports repository

  Modified files:
    multimedia/devede    Makefile pkg-plist 
  Log:
  Install two additional files which now allow to create a DVD menu.
  
  PR:             ports/115008
  Submitted by:   supraexpress (AT) globaleyes.net
  Approved by:    miwi (mentor)
  
  Revision  Changes    Path
  1.4       +4 -1      ports/multimedia/devede/Makefile
  1.3       +24 -22    ports/multimedia/devede/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Lars Engels freebsd_committer freebsd_triage 2007-07-29 22:42:00 UTC
State Changed
From-To: open->closed

Committed. Thanks!