author | John Beck <John.Beck@Oracle.COM> |
Thu, 08 Sep 2016 09:45:54 -0700 | |
changeset 6864 | 45128c94429d |
parent 6582 | 4fb5be1315a8 |
permissions | -rw-r--r-- |
5330
c36e3195e3e9
22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff
changeset
|
1 |
# |
c36e3195e3e9
22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
c36e3195e3e9
22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff
changeset
|
3 |
# |
c36e3195e3e9
22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
c36e3195e3e9
22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
c36e3195e3e9
22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
c36e3195e3e9
22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff
changeset
|
7 |
# |
c36e3195e3e9
22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
c36e3195e3e9
22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
c36e3195e3e9
22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
c36e3195e3e9
22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
c36e3195e3e9
22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff
changeset
|
12 |
# |
c36e3195e3e9
22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
c36e3195e3e9
22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
c36e3195e3e9
22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
c36e3195e3e9
22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
c36e3195e3e9
22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
c36e3195e3e9
22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff
changeset
|
18 |
# |
c36e3195e3e9
22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
c36e3195e3e9
22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff
changeset
|
20 |
# |
c36e3195e3e9
22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff
changeset
|
21 |
|
c36e3195e3e9
22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff
changeset
|
22 |
# |
c36e3195e3e9
22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff
changeset
|
23 |
# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. |
c36e3195e3e9
22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff
changeset
|
24 |
# |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5673
diff
changeset
|
25 |
BUILD_ARCH= i386 |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5673
diff
changeset
|
26 |
BUILD_BITS= 32 |
6582
4fb5be1315a8
24400201 gparted needs to be updated to work with an updated libsigc++
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
5797
diff
changeset
|
27 |
COMPILER= gcc |
5330
c36e3195e3e9
22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff
changeset
|
28 |
include ../../make-rules/shared-macros.mk |
c36e3195e3e9
22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff
changeset
|
29 |
|
c36e3195e3e9
22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff
changeset
|
30 |
COMPONENT_NAME= gparted |
5673
03a73b3209f6
20411943 Update GParted to a newer version 0.25.0
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
5390
diff
changeset
|
31 |
COMPONENT_VERSION= 0.25.0 |
03a73b3209f6
20411943 Update GParted to a newer version 0.25.0
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
5390
diff
changeset
|
32 |
COMPONENT_PROJECT_URL= http://gparted.org/ |
5330
c36e3195e3e9
22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff
changeset
|
33 |
COMPONENT_ARCHIVE_HASH= \ |
5673
03a73b3209f6
20411943 Update GParted to a newer version 0.25.0
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
5390
diff
changeset
|
34 |
sha256:2d996d5f4921d49eae850a1824acb8ab1299b1ea9bbb9c607248cd6c8cdc94ae |
5330
c36e3195e3e9
22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff
changeset
|
35 |
COMPONENT_ARCHIVE_URL= http://prdownloads.sourceforge.net/gparted/$(COMPONENT_ARCHIVE) |
c36e3195e3e9
22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff
changeset
|
36 |
|
5673
03a73b3209f6
20411943 Update GParted to a newer version 0.25.0
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
5390
diff
changeset
|
37 |
TPNO= 27500 |
5330
c36e3195e3e9
22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff
changeset
|
38 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5673
diff
changeset
|
39 |
TEST_TARGET= $(NO_TESTS) |
6582
4fb5be1315a8
24400201 gparted needs to be updated to work with an updated libsigc++
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
5797
diff
changeset
|
40 |
|
4fb5be1315a8
24400201 gparted needs to be updated to work with an updated libsigc++
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
5797
diff
changeset
|
41 |
# Needs updated sigcpp, not available on S11. |
4fb5be1315a8
24400201 gparted needs to be updated to work with an updated libsigc++
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
5797
diff
changeset
|
42 |
ifeq ($(BUILD_TYPE), evaluation) |
4fb5be1315a8
24400201 gparted needs to be updated to work with an updated libsigc++
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
5797
diff
changeset
|
43 |
BUILD_32= |
4fb5be1315a8
24400201 gparted needs to be updated to work with an updated libsigc++
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
5797
diff
changeset
|
44 |
INSTALL_32= |
4fb5be1315a8
24400201 gparted needs to be updated to work with an updated libsigc++
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
5797
diff
changeset
|
45 |
PUBLISH_STAMP= |
4fb5be1315a8
24400201 gparted needs to be updated to work with an updated libsigc++
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
5797
diff
changeset
|
46 |
endif |
4fb5be1315a8
24400201 gparted needs to be updated to work with an updated libsigc++
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
5797
diff
changeset
|
47 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5673
diff
changeset
|
48 |
include $(WS_MAKE_RULES)/common.mk |
5330
c36e3195e3e9
22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff
changeset
|
49 |
|
c36e3195e3e9
22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff
changeset
|
50 |
COMPONENT_PREP_ACTION += (cd $(@D); autoreconf -fiv) |
c36e3195e3e9
22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff
changeset
|
51 |
|
6582
4fb5be1315a8
24400201 gparted needs to be updated to work with an updated libsigc++
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
5797
diff
changeset
|
52 |
CXXFLAGS += -std=c++11 |
4fb5be1315a8
24400201 gparted needs to be updated to work with an updated libsigc++
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
5797
diff
changeset
|
53 |
|
5330
c36e3195e3e9
22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff
changeset
|
54 |
# needed to find xgettext |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5673
diff
changeset
|
55 |
PATH=$(GNUBIN):$(USRBINDIR) |
5330
c36e3195e3e9
22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff
changeset
|
56 |
|
5390
a8538443770a
22650022 gparted/Makefile missing doc utils requirement
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
5332
diff
changeset
|
57 |
REQUIRED_PACKAGES += developer/gnome/gnome-doc-utils |
5330
c36e3195e3e9
22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff
changeset
|
58 |
REQUIRED_PACKAGES += library/c++/glibmm |
c36e3195e3e9
22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff
changeset
|
59 |
REQUIRED_PACKAGES += library/c++/sigcpp |
6582
4fb5be1315a8
24400201 gparted needs to be updated to work with an updated libsigc++
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
5797
diff
changeset
|
60 |
REQUIRED_PACKAGES += library/desktop/c++/atkmm |
5330
c36e3195e3e9
22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff
changeset
|
61 |
REQUIRED_PACKAGES += library/desktop/c++/cairomm |
c36e3195e3e9
22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff
changeset
|
62 |
REQUIRED_PACKAGES += library/desktop/c++/gtkmm |
c36e3195e3e9
22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff
changeset
|
63 |
REQUIRED_PACKAGES += library/desktop/c++/pangomm |
c36e3195e3e9
22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff
changeset
|
64 |
REQUIRED_PACKAGES += library/desktop/gtk2 |
c36e3195e3e9
22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff
changeset
|
65 |
REQUIRED_PACKAGES += library/glib2 |
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
|
66 |
REQUIRED_PACKAGES += library/perl-5/xml-parser |
5330
c36e3195e3e9
22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff
changeset
|
67 |
REQUIRED_PACKAGES += shell/ksh93 |
c36e3195e3e9
22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff
changeset
|
68 |
REQUIRED_PACKAGES += system/library/c++-runtime |
6582
4fb5be1315a8
24400201 gparted needs to be updated to work with an updated libsigc++
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
5797
diff
changeset
|
69 |
REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime |
4fb5be1315a8
24400201 gparted needs to be updated to work with an updated libsigc++
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
5797
diff
changeset
|
70 |
REQUIRED_PACKAGES += system/library/gcc/gcc-c++-runtime |
5673
03a73b3209f6
20411943 Update GParted to a newer version 0.25.0
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
5390
diff
changeset
|
71 |
REQUIRED_PACKAGES += system/library/math |
5332
1e1d90972404
22514272 Move GParted from desktop to userland (fix sparc)
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
5330
diff
changeset
|
72 |
ifneq ($(MACH), sparc) |
5330
c36e3195e3e9
22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff
changeset
|
73 |
REQUIRED_PACKAGES += system/storage/parted |
5332
1e1d90972404
22514272 Move GParted from desktop to userland (fix sparc)
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
5330
diff
changeset
|
74 |
endif |