Add a New Comment (Rich Markup)
Comment Type & Canned Response: None None
Here's a workaround:
For my particular case (installing gpg1 in parallel with my distro's gpg2), I appended "1" in both places: 1. Made this change to configure.ac: -AC_INIT([gnupg],[mym4_full_version], https://bugs.gnupg.org) +AC_INIT([gnupg1],[mym4_full_version], https://bugs.gnupg.org)
2. Called configure --program-suffix=1
My choice of a "1" suffix was informed by:
Note that this workaround caused some libexec files to be double-transformed, e.g.: $prefix/libexec/gnupg1/gpgkeys_curl1 ^ ^ It probably also stuck that "1" in in various bits of documentation, etc.
But I was willing to live with those wrinkles.
> Such a change first needs to be incorporated into the GNU Coding Standards.
Does it? The relevant paragraph (from the July 1, 2021 version), says:
> The definition of ‘datadir’ is the same for all packages, so you should install your data in a subdirectory thereof. Most packages install their data under $(datadir)/package-name/.
To me, "Most packages install..." reads more like a recommendation than a firm requirement -- and at that, an even weaker recommendation than the "should install" in the first sentence.
Under that reading, modifying the ${datadir} subdirectory's name would not be a violation of the standard as it's currently written.
Savannah doesn't have a good way of tagging bugs that are blocked on some external change, so I'm marking this one "postponed."
Regardless, Ross, if you want to push this forward, you should bring it up on the bug-standards mailing list <https://lists.gnu.org/mailman/listinfo/bug-standards>.
Such a change first needs to be incorporated into the GNU Coding Standards.
The main reason people will build autoconf with --program-prefix or --program-suffix is most likely that they want to support multiple versions of autoconf at the same time.
For example, binutils requires 2.69 exactly, but if 2.70 is released then people will want to use that before binutils has switched and released.
Using --program-suffix=2.69 means that the binaries are installed as /usr/bin/autoconf2.69, but pkgdatadir is still just /usr/share/autoconf. Everyone who wants parallel installable autoconf then has to fix this somehow (either overwriting pkgdatadir, or fixing the paths after installation).
I suggest overwriting pkgdatadir to respect $program_prefix and $program_suffix.
(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)
Attach Files: Comment:
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
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.
Only logged-in users can vote.
Please enter the title of George Orwell's famous dystopian book (it's a date):
Follow 2 latest changes.
Copyright © 2023 Free Software Foundation, Inc. Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved. The Levitating, Meditating, Flute-playing Gnu logo is a GNU GPL'ed image provided by the Nevrax Design Team. Source Code
Powered by Savane 3.9