unrtf - 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 |
Attached Files
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
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 | Status | None | Done | |
Open/Closed | Open | Closed | |||
2009-01-27 | sergio_gcg | Attached File | - | Added unrtf-0.21.0-outputs_and_charmaps_paths.patch, #17343 |
Powered by Savane 3.13-02a9.
Corresponding source code
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:
The new file is:
The code tree should be bootstrapped after aplying this patch.