[PR #1861] [MERGED] build(autoconf): Add GPAC library detection to configure #2629

Open
opened 2026-01-29 17:23:10 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/CCExtractor/ccextractor/pull/1861
Author: @cfsmp3
Created: 12/20/2025
Status: Merged
Merged: 12/20/2025
Merged by: @cfsmp3

Base: masterHead: fix/issue-1584-gpac-configure-check


📝 Commits (1)

  • 08d59ec build(autoconf): Add GPAC library detection to configure

📊 Changes

1 file changed (+5 additions, -0 deletions)

View changed files

📝 linux/configure.ac (+5 -0)

📄 Description

Summary

  • Add GPAC library detection to configure script using pkg-config
  • Fail early with a helpful error message if GPAC is not installed

Problem

Previously, ./configure would succeed even without GPAC installed, leading to a confusing compile-time error:

../src/lib_ccx/mp4.c:5:10: fatal error: gpac/isomedia.h: No such file or directory

Solution

Now configure checks for GPAC via pkg-config and fails early with a clear error message:

configure: error: GPAC library not found. Install gpac-devel (Fedora/RHEL), libgpac-dev (Debian/Ubuntu), or gpac (Arch) before proceeding.

Test plan

  • Verified ./configure detects GPAC when installed (checking for gpac... yes)
  • Verified build completes successfully with the change
  • Verified ./ccextractor --version works

Fixes #1584

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/CCExtractor/ccextractor/pull/1861 **Author:** [@cfsmp3](https://github.com/cfsmp3) **Created:** 12/20/2025 **Status:** ✅ Merged **Merged:** 12/20/2025 **Merged by:** [@cfsmp3](https://github.com/cfsmp3) **Base:** `master` ← **Head:** `fix/issue-1584-gpac-configure-check` --- ### 📝 Commits (1) - [`08d59ec`](https://github.com/CCExtractor/ccextractor/commit/08d59ecb5fae53c56e312393fa9d8144bb424c90) build(autoconf): Add GPAC library detection to configure ### 📊 Changes **1 file changed** (+5 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `linux/configure.ac` (+5 -0) </details> ### 📄 Description ## Summary - Add GPAC library detection to configure script using pkg-config - Fail early with a helpful error message if GPAC is not installed ## Problem Previously, `./configure` would succeed even without GPAC installed, leading to a confusing compile-time error: ``` ../src/lib_ccx/mp4.c:5:10: fatal error: gpac/isomedia.h: No such file or directory ``` ## Solution Now configure checks for GPAC via pkg-config and fails early with a clear error message: ``` configure: error: GPAC library not found. Install gpac-devel (Fedora/RHEL), libgpac-dev (Debian/Ubuntu), or gpac (Arch) before proceeding. ``` ## Test plan - [x] Verified `./configure` detects GPAC when installed (`checking for gpac... yes`) - [x] Verified build completes successfully with the change - [x] Verified `./ccextractor --version` works Fixes #1584 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 17:23:10 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ccextractor#2629