Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 180308 Details for
Bug 256972
New ebuild for media-tv/kmttg
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
The required patch file...
kmttg-0.5g-sane-paths.patch (text/plain), 2.25 KB, created by
Douglas Mayle
on 2009-01-30 19:23:15 UTC
(
hide
)
Description:
The required patch file...
Filename:
MIME Type:
Creator:
Douglas Mayle
Created:
2009-01-30 19:23:15 UTC
Size:
2.25 KB
patch
obsolete
>--- kmttg.pl.orig 2009-01-30 14:11:16.000000000 -0500 >+++ kmttg.pl 2009-01-30 12:46:23.000000000 -0500 >@@ -1,4 +1,4 @@ >-#!/tools/perl/bin/perl -w >+#!/usr/bin/perl > # Author: Kevin Moye (moyekj@yahoo.com) > # Date: December 2008 > >@@ -120,11 +120,11 @@ > } else { > $SEPARATOR = "/"; > } >-$configIni = $programDir . $SEPARATOR . "config.ini"; >+$configIni = "$ENV{HOME}" . $SEPARATOR . ".kmttg" . $SEPARATOR . "config.ini"; > $autoIni = $programDir . $SEPARATOR . "auto.ini"; > $autoLog = $programDir . $SEPARATOR . "auto.log"; > $autoHistory = $programDir . $SEPARATOR . "auto.history"; >-$encProfDir = $programDir . $SEPARATOR . "encode"; >+$encProfDir = $SEPARATOR . "usr" . $SEPARATOR . "share" . $SEPARATOR . "kmttg" . $SEPARATOR . "encode"; > > $VARIABLE{JOB} = 0; > $VARIABLE{'RemoveTivoFile'} = 0; >@@ -4997,11 +4997,12 @@ > $comskip = "$baseDir\\comskip\\comskip.exe" if ! $comskip; > $comskipIni = "$baseDir\\comskip\\comskip.ini" if ! $comskipIni; > } else { >- $tivodecode = "$baseDir/tivodecode/bin/tivodecode" if ! $tivodecode; >- $curl = "/usr/bin/curl" if ! $curl; >- $ffmpeg = "$baseDir/ffmpeg/bin/ffmpeg" if ! $ffmpeg; >- $mencoder = "$baseDir/mencoder/bin/mencoder" if ! $mencoder; >- $comskip = "$baseDir/comskip/bin/comskip" if ! $comskip; >+ $baseDir = "/usr/bin"; >+ $tivodecode = "$baseDir/tivodecode" if ! $tivodecode; >+ $curl = "$baseDir/curl" if ! $curl; >+ $ffmpeg = "$baseDir/ffmpeg" if ! $ffmpeg; >+ $mencoder = "$baseDir/mencoder" if ! $mencoder; >+ $comskip = "$baseDir/comskip" if ! $comskip; > $comskipIni = "$baseDir/comskip/comskip.ini" if ! $comskipIni; > } > >@@ -5120,6 +5121,13 @@ > &debug("configOKCB::LowSpaceSize='$VARIABLE{'LowSpaceSize'}'"); > > # Write to config.ini file >+ my $config_dir = "$ENV{HOME}" . $SEPARATOR . ".kmttg"; >+ if (! -d $config_dir) { >+ if (! mkdir($config_dir, 0755)) { >+ &error("Failed to create config directory: $config_dir"); >+ return; >+ } >+ } > my $result = open(OFP,">$configIni"); > if ( ! $result ) { > &error("Failed to write to file: $configIni");
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 256972
:
180305
| 180308 |
203185
|
203319
|
203320