[tor-bugs] #6311 [Core Tor/Tor]: Migrate TOR_SEARCH_LIBRARY to use pkg-config

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Aug 8 15:32:55 UTC 2018


#6311: Migrate TOR_SEARCH_LIBRARY to use pkg-config
-------------------------------------------------+-------------------------
 Reporter:  nickm                                |          Owner:  (none)
     Type:  enhancement                          |         Status:  new
 Priority:  High                                 |      Milestone:  Tor:
                                                 |  unspecified
Component:  Core Tor/Tor                         |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  tor-relay, build autotools           |  Actual Points:
  pkgconfig autoconf                             |
Parent ID:                                       |         Points:  5
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by Hello71):

 So it's been many years since pkg-config was the de facto standard, but
 nobody has been willing to say "let's just break backwards compat".
 Therefore, I propose this plan: switch to pkg-config everywhere, with a
 fallback to the old logic with a warning. Two releases later, require an
 explicit flag to switch to the old logic. Two releases after that, delete
 the old logic. It looks like "just break it" more or less means "just wait
 another two years" anyways; this plan takes about as long but results in
 eventual task completion.

 I think it would help to write a short document on how to migrate from the
 old logic to pkg-config, including what to do if you refuse to install
 pkg-config (i.e. export everything_CFLAGS/LIBS).

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6311#comment:24>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list