Skip to content

Commit

Permalink
Update README and PAPPL dependency to 1.2 or higher.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelrsweet committed Dec 8, 2023
1 parent 8aaf506 commit 2746a17
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ LPrint depends on:

- A POSIX-compliant "make" program (both GNU and BSD make are known to work),
- A C99 compiler (both Clang and GCC are known to work),
- [PAPPL](https://www.msweet.org/pappl) 1.1 or later.
- [PAPPL](https://www.msweet.org/pappl) 1.2 or later.
- [CUPS](https://openprinting.github.io/cups) 2.2 or later (for libcups).


Expand All @@ -43,6 +43,8 @@ Supported Printers
The following printers are currently supported:

- DYMO LabelWriter printers
- Seiko Instruments SLP printers
- TSPL printers
- Zebra/Eltron EPL2 printers
- Zebra ZPL printers

Expand Down
4 changes: 2 additions & 2 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -3739,15 +3739,15 @@ fi
if $PKGCONFIG --exists pappl --atleast-version=1.1
if $PKGCONFIG --exists pappl --atleast-version=1.2
then :
CFLAGS="$CFLAGS $($PKGCONFIG --cflags pappl)"
LIBS="$LIBS $($PKGCONFIG --libs pappl)"
else $as_nop
as_fn_error $? "PAPPL 1.1 or later is required for LPrint." "$LINENO" 5
as_fn_error $? "PAPPL 1.2 or later is required for LPrint." "$LINENO" 5
fi
Expand Down
4 changes: 2 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,11 @@ AC_PATH_TOOL([PKGCONFIG], [pkg-config])


dnl PAPPL library...
AS_IF([$PKGCONFIG --exists pappl --atleast-version=1.1], [
AS_IF([$PKGCONFIG --exists pappl --atleast-version=1.2], [
CFLAGS="$CFLAGS $($PKGCONFIG --cflags pappl)"
LIBS="$LIBS $($PKGCONFIG --libs pappl)"
], [
AC_MSG_ERROR([PAPPL 1.1 or later is required for LPrint.])
AC_MSG_ERROR([PAPPL 1.2 or later is required for LPrint.])
])

dnl CUPS library...
Expand Down

0 comments on commit 2746a17

Please sign in to comment.