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

Submitter:  Sergio García-Cuevas González <sergio_gcg>
Submitted:  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/Makefile.am, 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/unrtf.1.in.  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 configure.ac to reflect this.

The modified files are:

  • configure.ac
  • src/Makefile.am
  • src/main.h
  • src/my_iconv.h
  • src/path.h


The new file is:

  • doc/unrtf.1.in


The code tree should be bootstrapped after aplying this patch.

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

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-12-12 medoc StatusNone Done
        Open/ClosedOpen Closed
    2009-01-27 sergio_gcg Attached File- Added unrtf-0.21.0-outputs_and_charmaps_paths.patch, #17343

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code