Skip to content

Document pkg-config - #205

Merged
adamdickmeiss merged 3 commits into
masterfrom
document-pkg-config
Sep 12, 2026
Merged

adamdickmeiss merged 3 commits into
masterfrom
document-pkg-config

Conversation

@adamdickmeiss

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

A moderate documentation issue and a path correction remain unresolved.

Pull request overview

Documents YAZ’s pkg-config metadata, installation paths, and usage while retaining legacy yaz-config guidance.

Changes:

  • Documents generated .pc files and install locations.
  • Adds pkg-config usage examples and dependency guidance.
  • Clarifies legacy yaz-config usage.
File summaries
File Summary
doc/book.xml Adds pkg-config documentation and installation details. Findings: 1 moderate issue and 1 nit.
Review details

Suppressed comments (2)

doc/book.xml:762

  • The generated-artifacts list still identifies the legacy script as util/yaz-config, but Autotools generates and installs src/yaz-config (src/Makefile.am:6-8, configure.ac:417-427). With this new pkg-config documentation, the page remains internally inconsistent and points readers to a nonexistent path; update that adjacent entry to src/yaz-config.
      <varlistentry>
       <term><filename>yaz.pc</filename>,
        <filename>yaz-icu.pc</filename>,
        <filename>yaz-server.pc</filename></term>

doc/book.xml:963

  • This recommendation is not valid for a --without-xml2 build: yaz.pc unconditionally declares Requires: libexslt, even though XML/EXSLT support is optional (configure.ac:355-370, doc/book.xml:643-654). On a system without libexslt.pc, both example commands fail before returning YAZ's flags. Make the .pc dependency conditional on the configured features, or qualify this guidance for XML-enabled builds.
     Use <command>pkg-config</command> to obtain the compiler and linker
     flags for applications using &yaz;. The installed packages are
     <literal>yaz</literal> for the main library,
     <literal>yaz-icu</literal> for the ICU wrapper library, and
     <literal>yaz-server</literal> for the Generic Frontend server library.
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No unresolved review issues were identified.

Review details
  • Files reviewed: 5/5 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

@adamdickmeiss
adamdickmeiss merged commit 2e15b03 into master Sep 12, 2026
5 checks passed
@adamdickmeiss
adamdickmeiss deleted the document-pkg-config branch September 12, 2026 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants