Add TOML configuration files for various packages

- Introduced build configurations for graphene, gst-plugins-bad, gst-plugins-base, gstreamer, gtk4, iso-codes, jbig2dec, libepoxy, libsoup3, libtheora, libxpm, lynx, md4c, openjpeg2, poppler-data, python-attrs, python-automat, python-constantly, python-hyperlink, python-incremental, python-twisted, python-versioneer, python-zope-interface, qpdf, sdl12-compat, tinysparql, unixodbc, vmaf, xcb-util-cursor, xcb-util-image, xcb-util-renderutil, xcb-util-wm, xcb-util, xdg-utils.
- Each package includes build type, dependencies, runtime requirements, and source URLs.
- Added necessary post-install scripts and configurations where applicable.
This commit is contained in:
2026-03-29 02:51:06 -05:00
parent 45bcdeddaf
commit 2bb4d5187c
69 changed files with 2774 additions and 54 deletions
+55
View File
@@ -0,0 +1,55 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
Date: Thu, 8 Jun 2023 21:05:22 +0200
Subject: [PATCH] HACK: Install fixes
- Move example services to docs, see
https://bugs.archlinux.org/task/47822
- Don't mkdir rundir
- Install header symlink for compat with mdnsresponder
---
avahi-compat-libdns_sd/Makefile.am | 3 +++
avahi-daemon/Makefile.am | 5 +++--
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/avahi-compat-libdns_sd/Makefile.am b/avahi-compat-libdns_sd/Makefile.am
index ecca1e97a6e4..a53bc4202cd0 100644
--- a/avahi-compat-libdns_sd/Makefile.am
+++ b/avahi-compat-libdns_sd/Makefile.am
@@ -27,6 +27,9 @@ avahi_compat_libdns_sddir=$(includedir)/avahi-compat-libdns_sd
avahi_compat_libdns_sd_HEADERS = dns_sd.h
+install-data-local:
+ $(LN_S) avahi-compat-libdns_sd/dns_sd.h "$(DESTDIR)$(includedir)/dns_sd.h"
+
lib_LTLIBRARIES = libdns_sd.la
if ENABLE_TESTS
diff --git a/avahi-daemon/Makefile.am b/avahi-daemon/Makefile.am
index d352d5e52e5d..1f8b6d80ddb9 100644
--- a/avahi-daemon/Makefile.am
+++ b/avahi-daemon/Makefile.am
@@ -27,6 +27,7 @@ pkgsysconfdir=$(sysconfdir)/avahi
servicedir=$(pkgsysconfdir)/services
introspectiondir=$(datadir)/dbus-1/interfaces
dbussystemservicesdir=$(datadir)/dbus-1/system-services
+pkgdocdir=$(datadir)/doc/avahi
AM_CFLAGS+= \
-DAVAHI_DAEMON_RUNTIME_DIR=\"$(runstatedir)/avahi-daemon/\" \
@@ -68,7 +69,7 @@ pkgsysconf_DATA = \
avahi-daemon.conf \
hosts
-dist_service_DATA = \
+dist_pkgdoc_DATA = \
ssh.service \
sftp-ssh.service
@@ -168,4 +169,4 @@ xmllint:
done
install-data-local:
- test -z "$(runstatedir)" || $(MKDIR_P) "$(DESTDIR)$(runstatedir)"
+ $(MKDIR_P) "$(DESTDIR)$(servicedir)"
@@ -0,0 +1,74 @@
Patch-Source: https://salsa.debian.org/utopia-team/avahi/-/blob/b1a3a539ac0b6d79a7a0b87dccbb99028e10ec63/debian/patches/Fetch-build-db-from-upstream-git.patch
this is needed when building python
--
From: Andreas Henriksson <andreas@fatal.se>
Date: Sat, 26 Oct 2019 15:49:35 +0200
Subject: Fetch build-db from upstream git
Fetch the build-db file from:
https://raw.githubusercontent.com/lathiat/avahi/master/service-type-database/build-db
This file is missing dist tarball, likely caused by changes in:
https://github.com/lathiat/avahi/pull/134
Carry it as a patch for now.
---
service-type-database/build-db | 49 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
create mode 100755 service-type-database/build-db
diff --git a/service-type-database/build-db b/service-type-database/build-db
new file mode 100755
index 0000000..78ee892
--- /dev/null
+++ b/service-type-database/build-db
@@ -0,0 +1,49 @@
+#!/usr/bin/env python
+# -*-python-*-
+# This file is part of avahi.
+#
+# avahi is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as
+# published by the Free Software Foundation; either version 2 of the
+# License, or (at your option) any later version.
+#
+# avahi is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
+# License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with avahi; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+# USA.
+
+try:
+ import anydbm as dbm
+except ImportError:
+ import dbm
+
+import sys
+
+if len(sys.argv) > 1:
+ infn = sys.argv[1]
+else:
+ infn = "service-types"
+
+if len(sys.argv) > 2:
+ outfn = sys.argv[2]
+else:
+ outfn = infn + ".db"
+
+db = dbm.open(outfn, "n")
+
+for ln in open(infn, "r"):
+ ln = ln.strip(" \r\n\t")
+
+ if ln == "" or ln.startswith("#"):
+ continue
+
+ t, n = ln.split(":", 1)
+
+ db[t.strip()] = n.strip()
+
+db.close()
+62
View File
@@ -0,0 +1,62 @@
[build]
type = "autotools"
[build.flags]
configure = [
"--with-dbus-sys=/usr/share/dbus-1/system.d",
'--with-distro=gentoo',
"--disable-python",
"--disable-qt5",
"--enable-compat-libdns_sd",
"--with-autoipd-group=avahi",
"--with-autoipd-user=avahi",
"--with-avahi-priv-access-group=network",
"--disable-mono",
"--disable-gtk3"
]
keep = [ "etc/avahi/**", "usr/lib/avahi/service-types.db" ]
[dependencies]
build = [
"doxygen",
"gobject-introspection",
"graphviz",
"libevent",
"python-dbus",
"python-gobject",
"xmltoman",
]
optional = [
"libevent",
"python-dbus",
"python-gobject",
"python-twisted",
]
runtime = [
"sh",
"dbus",
"expat",
"gdbm",
"glib2",
"glibc",
"libcap",
"libdaemon",
]
[package]
description = "multicast/unicast DNS-SD framework"
homepage = "https://www.avahi.org/"
license = "LGPL-2.1-or-later"
name = "avahi"
version = "0.8"
[[source]]
extract_dir = "$name-$version"
sha256 = "060309d7a333d38d951bc27598c677af1796934dbd98e1024e7ad8de798fedda"
url = "https://github.com/avahi/avahi/releases/download/v$version/avahi-$version.tar.gz"
# alpine and arch patches
patches = [ "Fetch-build-db-from-upstream-git.patch", "0001-HACK-Install-fixes.patch" ]
post_extract = [ "autoreconf -fiv" ]
[[manual_sources]]
files = [ "preinstall.sh", "Fetch-build-db-from-upstream-git.patch", "0001-HACK-Install-fixes.patch" ]
+13
View File
@@ -0,0 +1,13 @@
#!/bin/sh
# thanks alpine
groupadd -r -g 86 avahi 2>/dev/null || :
useradd -r -u 86 \
-d /dev/null \
-s /usr/bin/nologin \
-g avahi \
-c "Avahi System User" \
-M \
avahi 2>/dev/null || :
exit 0