patchunrtf - Patches: patch #6734, Make some hardcoded paths reflect...


You are not allowed to post comments on this tracker with your current authentication level.

patch #6734: Make some hardcoded paths reflect their installation values

Submitted by:  Sergio García-Cuevas González <sergio_gcg>
Submitted on:  Tue 27 Jan 2009 09:34:54 PM UTC  
Category:  None Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  None Open/Closed:  Closed

Tue 27 Jan 2009 09:34:54 PM UTC, original submission:

The paths for the run time output configuration files (DEFAULT_UNRTF_SEARCH_PATH and CONFIG_DIR) and the charmaps (CHARMAP_DIR) were hardcoded to /usr/local/lib/outputs/ and /usr/local/lib/charmaps/. The first part of these paths, /usr/local/lib/, should be ${libdir}. This patch modifies src/, src/main.h, src/my_iconv.h and src/path.h so that DEFAULT_UNRTF_SEARCH_PATH, CONFIG_DIR and CHARMAP_DIR honour ${libdir}.

The manual page doc/unrtf.1 also presents this problem. A new file is added, doc/ It is processed by configure to generate the manual page doc/unrtf.1 with the real value of ${libdir}, be it /usr/local/lib or any other value the user chooses. A new line is added to to reflect this.

The modified files are:

  • src/
  • src/main.h
  • src/my_iconv.h
  • src/path.h

The new file is:

  • doc/

The code tree should be bootstrapped after aplying this patch.

Sergio García-Cuevas González <sergio_gcg>


Attached Files


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by medoc (Updated the item)
  • -email is unavailable- added by sergio_gcg (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    Fri 12 Dec 2014 11:05:57 AM UTC medoc StatusNone => Done
        Open/ClosedOpen => Closed
    Tue 27 Jan 2009 09:34:55 PM UTC sergio_gcg Attached File- => Added unrtf-0.21.0-outputs_and_charmaps_paths.patch, #17343

    Back to the top

    Powered by Savane 3.3