components/gutenprint/Makefile
author Bill Rushmore <bill.rushmore@oracle.com>
Fri, 07 Aug 2015 13:43:38 -0700
changeset 4746 8e237ffd0a48
parent 4339 6501cf9c29f9
child 5066 7e7b4d607ab6
permissions -rw-r--r--
20995635 Perl TK needs to be upgraded to work with Perl 5.20 20994112 Perl XML::Parser needs to work with Perl 5.20 20989929 Perl net-ssleay needs to be fixed so it builds with Perl 5.20 20989909 Perl libxml needs to be fixed so it builds with Perl 5.20 20989894 Perl DBI - needs to be fixed so it builds with Perl 5.20 20989877 AUTHEN-PAM needs to be fixed so it builds with Perl 5.20 21195142 OpenSCAP's Makefile needs to be updated to work with Perl 5.20 21216887 Dependencies and references to Perl 5.16 need to be replaced with Perl 5.20
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
140
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
     1
#
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
     2
# CDDL HEADER START
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
     3
#
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
     7
#
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    11
# and limitations under the License.
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    12
#
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    18
#
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    19
# CDDL HEADER END
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    20
#
3701
2c4a1656e035 20191770 allow exclusion of components for "gmake test" at the top level
April Chin <april.chin@oracle.com>
parents: 2225
diff changeset
    21
# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
140
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    22
#
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    23
include ../../make-rules/shared-macros.mk
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    24
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    25
COMPONENT_NAME=		gutenprint
693
15d71a1e47d6 6948608 Update Gutenprint to version 5.2.7
Petr Cvachoucek <petr.cvachoucek@oracle.com>
parents: 609
diff changeset
    26
COMPONENT_VERSION=	5.2.7
609
775168282b2f 7037821 Userland migration of data from Makefile to manifest may have been a little overzealous
Rich Burridge <rich.burridge@oracle.com>
parents: 181
diff changeset
    27
COMPONENT_PROJECT_URL=	http://www.gutenprint.org/software/gutenprint/
140
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    28
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    29
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.bz2
800
2ad056ed89ec 7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 693
diff changeset
    30
COMPONENT_ARCHIVE_HASH=	\
2ad056ed89ec 7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 693
diff changeset
    31
    sha256:114c899227e3ebb0753c1db503e6a5c1afaa4b1f1235fdfe02fb6bbd533beed1
693
15d71a1e47d6 6948608 Update Gutenprint to version 5.2.7
Petr Cvachoucek <petr.cvachoucek@oracle.com>
parents: 609
diff changeset
    32
COMPONENT_ARCHIVE_URL=	http://voxel.dl.sourceforge.net/project/gimp-print/gutenprint-5.2/5.2.7/$(COMPONENT_ARCHIVE)
1058
34d7aaa03423 15886624 Auto-generation of Userland gate list - Phase 3
Rich Burridge <rich.burridge@oracle.com>
parents: 800
diff changeset
    33
COMPONENT_BUGDB=	utility/gutenprint
140
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    34
1948
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1058
diff changeset
    35
TPNO=			8943
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1058
diff changeset
    36
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3701
diff changeset
    37
include $(WS_MAKE_RULES)/prep.mk
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3701
diff changeset
    38
include $(WS_MAKE_RULES)/configure.mk
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3701
diff changeset
    39
include $(WS_MAKE_RULES)/ips.mk
140
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    40
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    41
CONFIGURE_ENV += CFLAGS="$(CFLAGS)"
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    42
CONFIGURE_OPTIONS +=	 --infodir=$(CONFIGURE_INFODIR)
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    43
CONFIGURE_OPTIONS +=    --enable-escputil
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    44
CONFIGURE_OPTIONS +=    --without-gimp2
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    45
CONFIGURE_OPTIONS +=    --enable-cups-1_2-enhancements
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    46
CONFIGURE_OPTIONS +=    --enable-shared
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    47
CONFIGURE_OPTIONS +=    --disable-static-genppd
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    48
CONFIGURE_OPTIONS +=    --enable-simplified-cups-ppds
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    49
CONFIGURE_OPTIONS +=    --without-foomatic
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    50
CONFIGURE_OPTIONS +=    --without-foomatic3
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    51
CONFIGURE_OPTIONS +=    --without-readline
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    52
CONFIGURE_OPTIONS +=    --disable-static
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    53
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    54
COMPONENT_BUILD_TARGETS = all
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    55
3701
2c4a1656e035 20191770 allow exclusion of components for "gmake test" at the top level
April Chin <april.chin@oracle.com>
parents: 2225
diff changeset
    56
$(SKIP_TEST_AT_TOP_LEVEL)
2c4a1656e035 20191770 allow exclusion of components for "gmake test" at the top level
April Chin <april.chin@oracle.com>
parents: 2225
diff changeset
    57
2225
f064d3d3190d 20078677 Userland Makefiles should support a configure: target
John Beck <John.Beck@Oracle.COM>
parents: 1948
diff changeset
    58
configure:	$(CONFIGURE_32)
f064d3d3190d 20078677 Userland Makefiles should support a configure: target
John Beck <John.Beck@Oracle.COM>
parents: 1948
diff changeset
    59
140
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    60
build:		$(BUILD_32)
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    61
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    62
install:	$(INSTALL_32)
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    63
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    64
# the tests mostly pass, but it can't find several drivers for ppd files
181
87e11e685b1f 7003927 userland should postprocess packaged files
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 140
diff changeset
    65
test:		$(TEST_32)
140
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    66
4339
6501cf9c29f9 21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents: 3817
diff changeset
    67
system-test:    $(SYSTEM_TESTS_NOT_IMPLEMENTED)
6501cf9c29f9 21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents: 3817
diff changeset
    68
140
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    69
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    70
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3701
diff changeset
    71
REQUIRED_PACKAGES += library/desktop/gtk2
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3701
diff changeset
    72
REQUIRED_PACKAGES += library/glib2
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3701
diff changeset
    73
REQUIRED_PACKAGES += library/print/cups-libs
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3701
diff changeset
    74
REQUIRED_PACKAGES += library/zlib
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3701
diff changeset
    75
REQUIRED_PACKAGES += print/cups
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3701
diff changeset
    76
REQUIRED_PACKAGES += runtime/perl-512
4746
8e237ffd0a48 20995635 Perl TK needs to be upgraded to work with Perl 5.20
Bill Rushmore <bill.rushmore@oracle.com>
parents: 4339
diff changeset
    77
REQUIRED_PACKAGES += runtime/perl-520
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3701
diff changeset
    78
REQUIRED_PACKAGES += shell/ksh93
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3701
diff changeset
    79
REQUIRED_PACKAGES += system/library
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3701
diff changeset
    80
REQUIRED_PACKAGES += system/library/math
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3701
diff changeset
    81
REQUIRED_PACKAGES += system/linker
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3701
diff changeset
    82
REQUIRED_PACKAGES += x11/library/libx11
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3701
diff changeset
    83
REQUIRED_PACKAGES += x11/library/libxcursor