Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net-print/pappl: new package, add 1.3.0
As reported by it's owner, "PAPPL is a simple C-based framework/library for developing CUPS Printer Applications, which are the recommended replacement for printer drivers. It was specifically developed to support LPrint and a future Gutenprint Printer Application but is sufficiently general purpose to support any kind of printer or driver that can be used on desktops, servers, and in embedded environments." Test works and doc is already fixed to follow our guideline. Signed-off-by: Marco Scardovi <mscardovi@icloud.com>
- Loading branch information
Showing
5 changed files
with
99 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DIST pappl-1.3.0.tar.gz 2547620 BLAKE2B 32c2a57c4650f8993ed36e9fa860784b3551df0d0a88dc9f02e9301fd4a5e39978bac983130b436349464c3defd715d37e0c2bb7c439c8d9043c0b83d1cf465d SHA512 8702f31bb76da47673cfcaac7a0a06f12d9b4c5a1b2af28046c171e9665150b47e8b3148aa0c0dd924207ec4dbd3280ca7eb354c375a52cc76186bcda9340bb9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
From 950e25320218ddb2b3ea92a5be2d16864110e9e0 Mon Sep 17 00:00:00 2001 | ||
From: Marco Scardovi <100232474+scardracs@users.noreply.github.com> | ||
Date: Sat, 3 Dec 2022 16:03:02 +0100 | ||
Subject: [PATCH] Update configure | ||
|
||
--- | ||
configure | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/configure b/configure | ||
index 7438abe..3c2e18b 100755 | ||
--- a/configure | ||
+++ b/configure | ||
@@ -803,7 +803,7 @@ localstatedir='${prefix}/var' | ||
runstatedir='${localstatedir}/run' | ||
includedir='${prefix}/include' | ||
oldincludedir='/usr/include' | ||
-docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' | ||
+docdir='${datarootdir}/doc/${P}' | ||
infodir='${datarootdir}/info' | ||
htmldir='${docdir}' | ||
dvidir='${docdir}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
From 38d20db57d943b81ecc4537750a5ccaf471d8d46 Mon Sep 17 00:00:00 2001 | ||
From: Marco Scardovi <100232474+scardracs@users.noreply.github.com> | ||
Date: Sat, 3 Dec 2022 15:55:31 +0100 | ||
Subject: [PATCH] Update Makefile | ||
|
||
--- | ||
doc/Makefile | 4 ++-- | ||
1 file changed, 2 insertions(+), 2 deletions(-) | ||
|
||
diff --git a/doc/Makefile b/doc/Makefile | ||
index c7da2a13..a25ca8b5 100644 | ||
--- a/doc/Makefile | ||
+++ b/doc/Makefile | ||
@@ -35,9 +35,9 @@ depend: | ||
# Install everything | ||
install: | ||
echo Installing documentation in $(BUILDROOT)/$(datadir)/doc/pappl... | ||
- $(INSTALL) -d -m 755 $(BUILDROOT)/$(datadir)/doc/pappl | ||
+ $(INSTALL) -d -m 755 $(BUILDROOT)/$(datadir)/doc/"${P}" | ||
for file in $(DOCFILES); do \ | ||
- $(INSTALL) -c -m 644 $$file $(BUILDROOT)/$(datadir)/doc/pappl; \ | ||
+ $(INSTALL) -c -m 644 $$file $(BUILDROOT)/$(datadir)/doc/"${P}"; \ | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> | ||
<pkgmetadata> | ||
<maintainer type="person" proxied="yes"> | ||
<email>mscardovi@icloud.com</email> | ||
<name>Marco Scardovi</name> | ||
</maintainer> | ||
<maintainer type="project" proxied="proxy"> | ||
<email>proxy-maint@gentoo.org</email> | ||
<name>Proxy Maintainers</name> | ||
</maintainer> | ||
<upstream> | ||
<remote-id type="github">michaelrsweet/pappl</remote-id> | ||
</upstream> | ||
</pkgmetadata> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Copyright 2022 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=8 | ||
|
||
DESCRIPTION="C-based framework/library for developing CUPS Printer Applications" | ||
HOMEPAGE="https://www.msweet.org/pappl/ https://github.com/michaelrsweet/pappl" | ||
SRC_URI="https://github.com/michaelrsweet/pappl/releases/download/v${PV}/${P}.tar.gz" | ||
|
||
LICENSE="Apache-2.0" | ||
SLOT="0" | ||
KEYWORDS="~amd64" | ||
IUSE="test" | ||
|
||
RESTRICT="!test? ( test )" | ||
|
||
RDEPEND=" | ||
>=media-libs/libjpeg-turbo-2.0 | ||
media-libs/libpng | ||
>=net-dns/avahi-0.8 | ||
net-libs/gnutls | ||
>=net-print/cups-2.2:= | ||
sys-libs/pam | ||
sys-libs/zlib | ||
virtual/libusb | ||
" | ||
|
||
PATCHES=( | ||
"${FILESDIR}/${PN}-fix-docdir.patch" | ||
"${FILESDIR}/${PN}-fix-configure.patch" | ||
) | ||
|
||
src_configure() { | ||
# The build system uses only DSOFLAGS and not | ||
# LDFLAGS to build some libraries. | ||
export DSOFLAGS="${LDFLAGS}" | ||
econf | ||
} |