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


You are not allowed to post comments on this tracker with your current authentification 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: NonePriority: 5 - Normal
Status: DonePrivacy: Public
Assigned to: NoneOpen/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>



Depends on the following items: None found

Items that depend on this one: None found


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

    Do you think this task is very important?
    If so, you can click here to 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 UTCmedocStatusNone=>Done
    Tue 27 Jan 2009 09:34:55 PM UTCsergio_gcgAttached File-=>Added unrtf-0.21.0-outputs_and_charmaps_paths.patch, #17343

    Back to the top

    Powered by Savane 3.1-cleanup