trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: May 2012

Re: [trinity-devel] Mysterious hard-coding

From: "Timothy Pearson" <kb9vqf@...>
Date: Tue, 29 May 2012 14:18:00 -0500
>> Are you building with Autotools or CMake?
>
> Both, depending on the module.

tdecore?

>> It might be a good idea to search in the /<TDE
>> prefix>/bin and /<TDE prefix>/lib directories for the text string
>> "applications/kde" to see which binary or library contains the hardcoded
>> string.
>> This will narrow the search down considerably.
>
> Yes, my master build script (and the script I wrote to create the
> individual patches) searches the entire module for that string:
>
> find $MODULE.new -type f -exec sed -i
> 's|share/applications/kde/|share/applications/tde/|g' {} \;
>
> Darrell

Actually, I meant for debugging purposes to perform a text search inside
the binary and library files themselves, not the source files.

Tim