Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 203320 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]
patch for 0.6k to support $HOME based configuration paths
kmttg-settings.patch (text/plain), 1.75 KB, created by
John Ratliff
on 2009-09-06 21:02:36 UTC
(
hide
)
Description:
patch for 0.6k to support $HOME based configuration paths
Filename:
MIME Type:
Creator:
John Ratliff
Created:
2009-09-06 21:02:36 UTC
Size:
1.75 KB
patch
obsolete
>diff -ur kmttg-0.6k-original/src/com/tivo/kmttg/main/config.java kmttg-0.6k/src/com/tivo/kmttg/main/config.java >--- kmttg-0.6k-original/src/com/tivo/kmttg/main/config.java 2009-09-04 02:32:36.000000000 -0400 >+++ kmttg-0.6k/src/com/tivo/kmttg/main/config.java 2009-09-06 01:22:33.005185340 -0400 >@@ -299,23 +299,30 @@ > } > } > >+ // multi-user settings patch for SVN r497 >+ String settingsDir = System.getProperty("user.home") + s + ".kmttg"; >+ (new File(settingsDir)).mkdir(); >+ > // Try and get MAK from ~/.tivodecode_mak > String result = getMakFromFile(); > if (result != null) MAK = result; > > // These files all should reside along side jar file >- configIni = programDir + s + "config.ini"; >- autoIni = programDir + s + "auto.ini"; >- autoLog = programDir + s + "auto.log"; >- autoHistory = programDir + s + "auto.history"; >- encProfDir = programDir + s + "encode"; >+ configIni = settingsDir + s + "config.ini"; >+ autoIni = settingsDir + s + "auto.ini"; >+ autoLog = settingsDir + s + "auto.log"; >+ autoHistory = settingsDir + s + "auto.history"; >+ encProfDir = "/usr/share/kmttg/encode"; // gentoo ebuild hack!! > > // File to store/restore GUI settings >+ /* > gui_settings = programDir + s + ".kmttg_settings"; > if (file.isDir(System.getProperty("user.home"))) { > // Centralize this non-critical file instead of localizing it > gui_settings = System.getProperty("user.home") + s + ".kmttg_settings"; > } >+ */ >+ gui_settings = settingsDir + s + "kmttg_settings"; > > // Non-executable defaults > tivoFileNameFormat = "[title] ([monthNum]_[mday]_[year])";
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