4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
21 # Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
24 include ..
/..
/..
/make-rules
/shared-macros.mk
26 COMPONENT_NAME
= gutenprint
27 COMPONENT_MJR_VERSION
= 5.3
28 COMPONENT_MNR_VERSION
= 4
29 COMPONENT_REVISION
= 1
30 COMPONENT_VERSION
= $(COMPONENT_MJR_VERSION
).
$(COMPONENT_MNR_VERSION
)
31 COMPONENT_SUMMARY
= Gutenprint
- Drivers for Canon
, Epson
, Lexmark
& PCL printers
32 COMPONENT_PROJECT_URL
= https
://www.gutenprint.org
/software
/gutenprint
/
33 COMPONENT_FMRI
= print/filter/gutenprint
34 COMPONENT_CLASSIFICATION
=System
/Printing
35 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
36 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
37 COMPONENT_ARCHIVE_HASH
= sha256
:db44a701d2b8e6a8931c83cec06c91226be266d23e5c189d20a39dd175f2023b
38 COMPONENT_ARCHIVE_URL
= https
://downloads.sourceforge.net
/project
/gimp-print
/gutenprint-
$(COMPONENT_MJR_VERSION
)/$(COMPONENT_VERSION
)/$(COMPONENT_ARCHIVE
)
39 COMPONENT_LICENSE
= GPLv2
, FDLv1.2
41 USE_DEFAULT_TEST_TRANSFORMS
= yes
43 include $(WS_MAKE_RULES
)/common.mk
45 CONFIGURE_OPTIONS
+= --infodir=$(CONFIGURE_INFODIR
)
46 CONFIGURE_OPTIONS
+= --enable-escputil
47 CONFIGURE_OPTIONS
+= --without-gimp2
48 CONFIGURE_OPTIONS
+= --enable-cups-1_2-enhancements
49 CONFIGURE_OPTIONS
+= --enable-shared
50 CONFIGURE_OPTIONS
+= --disable-static-genppd
51 CONFIGURE_OPTIONS
+= --enable-simplified-cups-ppds
52 CONFIGURE_OPTIONS
+= --without-readline
53 CONFIGURE_OPTIONS
+= --disable-static
55 COMPONENT_BUILD_TARGETS
= all
57 # Needed for "gmake test" to work successfully. If SHELLOPTS is exported (as
58 # it is by the Userland Makefiles), then all shell options get exported to
59 # child invocations of bash, which results in test failures due to nounset and
60 # xtrace being set unexpectedly, and errors such as "$1: unbound variable" and
61 # diffs failing due to script tracing in output files.
64 COMPONENT_TEST_TRANSFORMS
+= '-e "/ XFAIL:/p"'
66 # Auto-generated dependencies
67 REQUIRED_PACKAGES
+= library
/desktop
/gtk2
68 REQUIRED_PACKAGES
+= library
/glib2
69 REQUIRED_PACKAGES
+= library
/libusb-1
70 REQUIRED_PACKAGES
+= library
/print/cups-libs
71 REQUIRED_PACKAGES
+= library
/zlib
72 REQUIRED_PACKAGES
+= runtime
/perl
73 REQUIRED_PACKAGES
+= shell/ksh93
74 REQUIRED_PACKAGES
+= system
/library
75 REQUIRED_PACKAGES
+= system
/library
/math