pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
libpaper2: new major version of libpaper
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <wiz%gatalith.at@localhost>
Pushed By: wiz
Date: Wed Apr 12 14:41:25 2023 +0200
Changeset: e555693c13f659a653b41a8c9137fcaad805e469
Modified Files:
Makefile
Added Files:
libpaper2/DESCR
libpaper2/Makefile
libpaper2/PLIST
libpaper2/buildlink3.mk
libpaper2/distinfo
Log Message:
libpaper2: new major version of libpaper
Breaks libreoffice since it doesn't provide paperconf(1):
https://github.com/rrthomas/libpaper/issues/40
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=e555693c13f659a653b41a8c9137fcaad805e469
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 2 ++
libpaper2/DESCR | 3 +++
libpaper2/Makefile | 36 ++++++++++++++++++++++++++++++++++++
libpaper2/PLIST | 10 ++++++++++
libpaper2/buildlink3.mk | 13 +++++++++++++
libpaper2/distinfo | 5 +++++
6 files changed, 69 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 5becf35196..fbb121611b 100644
--- a/Makefile
+++ b/Makefile
@@ -2131,6 +2131,7 @@ SUBDIR+= libostree
SUBDIR+= libowl-av
SUBDIR+= libpafe
SUBDIR+= libpano12
+SUBDIR+= libpaper2
SUBDIR+= libpar2
SUBDIR+= libpare
SUBDIR+= libparsifal
@@ -2181,6 +2182,7 @@ SUBDIR+= libucl
SUBDIR+= libudev
SUBDIR+= libuna
SUBDIR+= libunwind-git
+SUBDIR+= liburing
SUBDIR+= libusbmuxd
SUBDIR+= libvalhalla
SUBDIR+= libvc
diff --git a/libpaper2/DESCR b/libpaper2/DESCR
new file mode 100644
index 0000000000..34e1087230
--- /dev/null
+++ b/libpaper2/DESCR
@@ -0,0 +1,3 @@
+The paper library and accompanying files are intended to provide a simple
+way for applications to take actions based on a system- or user-specified
+paper size.
diff --git a/libpaper2/Makefile b/libpaper2/Makefile
new file mode 100644
index 0000000000..1e9e43bef2
--- /dev/null
+++ b/libpaper2/Makefile
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.12 2023/03/19 06:58:40 wiz Exp $
+
+DISTNAME= libpaper-2.0.10
+CATEGORIES= print
+MASTER_SITES= ${MASTER_SITE_GITHUB:=rrthomas/}
+GITHUB_RELEASE= v${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/rrthomas/libpaper
+COMMENT= Paper size handling library
+LICENSE= gnu-gpl-v3 AND gnu-lgpl-v2.1
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
+CONFIGURE_ARGS+= --enable-relocatable
+USE_LIBTOOL= yes
+USE_TOOLS+= gmake
+
+TEST_TARGET= check
+
+EGDIR= ${PREFIX}/share/examples/libpaper
+CONF_FILES+= ${EGDIR}/papersize ${PKG_SYSCONFDIR}/papersize
+CONF_FILES+= ${EGDIR}/paperspecs ${PKG_SYSCONFDIR}/paperspecs
+INSTALLATION_DIRS= ${EGDIR}
+
+BUILD_DEFS= PAPERSIZE
+
+post-build:
+ ${ECHO} ${PAPERSIZE} > ${WRKDIR}/papersize
+
+post-install:
+ ${MV} ${DESTDIR}${PKG_SYSCONFDIR}/paperspecs ${DESTDIR}${EGDIR}
+ ${INSTALL_DATA} ${WRKDIR}/papersize ${DESTDIR}${EGDIR}/papersize
+
+.include "../../devel/libgetopt/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/libpaper2/PLIST b/libpaper2/PLIST
new file mode 100644
index 0000000000..c49360aa1a
--- /dev/null
+++ b/libpaper2/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD$
+bin/paper
+bin/paper.bin
+include/paper.h
+lib/libpaper.la
+man/man1/paper.1
+man/man5/paperspecs.5
+share/doc/libpaper/README
+share/examples/libpaper/papersize
+share/examples/libpaper/paperspecs
diff --git a/libpaper2/buildlink3.mk b/libpaper2/buildlink3.mk
new file mode 100644
index 0000000000..f04568e4f6
--- /dev/null
+++ b/libpaper2/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD$
+
+BUILDLINK_TREE+= libpaper
+
+.if !defined(LIBPAPER_BUILDLINK3_MK)
+LIBPAPER_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libpaper+= libpaper>=2.0.10
+BUILDLINK_PKGSRCDIR.libpaper?= ../../wip/libpaper2
+
+.endif # LIBPAPER_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libpaper
diff --git a/libpaper2/distinfo b/libpaper2/distinfo
new file mode 100644
index 0000000000..8a69f27473
--- /dev/null
+++ b/libpaper2/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.12 2023/03/19 06:58:40 wiz Exp $
+
+BLAKE2s (libpaper-2.0.10.tar.gz) = 2bafc7a63d4f99dca35a40a00168b419e9557502b10757673d517b60c117424c
+SHA512 (libpaper-2.0.10.tar.gz) = 629d357b4946aca324ca95024dbfd5d49a9e7110b6163eac72482c010c4cb84b50a50b5b119399090a49eaef58329bf3c497d3d871b7c9e46ae5c8e71364c2ce
+Size (libpaper-2.0.10.tar.gz) = 1304460 bytes
Home |
Main Index |
Thread Index |
Old Index