components/gutenprint/Makefile
author Swaroop M S <swaroop.sadare@oracle.com>
Sat, 15 Oct 2016 10:57:06 +0530
changeset 7122 630f5a510c0a
parent 5797 432ac76de3b0
child 7687 1093e2a9adbd
permissions -rw-r--r--
24824548 ghostscript package breakup breaks graphviz/libspectre
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
#
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5066
diff changeset
    21
140
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    22
#
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5066
diff changeset
    23
# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5066
diff changeset
    24
#
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5066
diff changeset
    25
BUILD_BITS= 32
140
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    26
include ../../make-rules/shared-macros.mk
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    27
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    28
COMPONENT_NAME=		gutenprint
693
15d71a1e47d6 6948608 Update Gutenprint to version 5.2.7
Petr Cvachoucek <petr.cvachoucek@oracle.com>
parents: 609
diff changeset
    29
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
    30
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
    31
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
    32
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
    33
    sha256:114c899227e3ebb0753c1db503e6a5c1afaa4b1f1235fdfe02fb6bbd533beed1
693
15d71a1e47d6 6948608 Update Gutenprint to version 5.2.7
Petr Cvachoucek <petr.cvachoucek@oracle.com>
parents: 609
diff changeset
    34
COMPONENT_ARCHIVE_URL=	http://voxel.dl.sourceforge.net/project/gimp-print/gutenprint-5.2/5.2.7/$(COMPONENT_ARCHIVE)
140
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    35
1948
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1058
diff changeset
    36
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
    37
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5066
diff changeset
    38
include $(WS_MAKE_RULES)/common.mk
140
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    39
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    40
CONFIGURE_OPTIONS +=	 --infodir=$(CONFIGURE_INFODIR)
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    41
CONFIGURE_OPTIONS +=    --enable-escputil
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    42
CONFIGURE_OPTIONS +=    --without-gimp2
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    43
CONFIGURE_OPTIONS +=    --enable-cups-1_2-enhancements
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    44
CONFIGURE_OPTIONS +=    --enable-shared
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    45
CONFIGURE_OPTIONS +=    --disable-static-genppd
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    46
CONFIGURE_OPTIONS +=    --enable-simplified-cups-ppds
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    47
CONFIGURE_OPTIONS +=    --without-foomatic
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    48
CONFIGURE_OPTIONS +=    --without-foomatic3
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    49
CONFIGURE_OPTIONS +=    --without-readline
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    50
CONFIGURE_OPTIONS +=    --disable-static
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    51
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    52
COMPONENT_BUILD_TARGETS = all
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    53
3701
2c4a1656e035 20191770 allow exclusion of components for "gmake test" at the top level
April Chin <april.chin@oracle.com>
parents: 2225
diff changeset
    54
$(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
    55
140
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    56
# the tests mostly pass, but it can't find several drivers for ppd files
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    57
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3701
diff changeset
    58
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
    59
REQUIRED_PACKAGES += library/glib2
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3701
diff changeset
    60
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
    61
REQUIRED_PACKAGES += library/zlib
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3701
diff changeset
    62
REQUIRED_PACKAGES += print/cups
5797
432ac76de3b0 23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents: 5682
diff changeset
    63
REQUIRED_PACKAGES += $(PERL_PKG)
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3701
diff changeset
    64
REQUIRED_PACKAGES += shell/ksh93
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3701
diff changeset
    65
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
    66
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
    67
REQUIRED_PACKAGES += x11/library/libxcursor