From 5f49a6260c2ef5445ff725019a0e978a8b3e7f27 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Aur=C3=A9lien=20Larcher?= Date: Mon, 30 Jan 2017 04:05:20 +0100 Subject: [PATCH] Add libXfont2 2.0.1 --- components/x11/libXfont2/Makefile | 60 ++++++++++++++++++++++ components/x11/libXfont2/libxfont2.p5m | 35 +++++++++++++ .../x11/libXfont2/manifests/sample-manifest.p5m | 35 +++++++++++++ 3 files changed, 130 insertions(+) create mode 100644 components/x11/libXfont2/Makefile create mode 100644 components/x11/libXfont2/libxfont2.p5m create mode 100644 components/x11/libXfont2/manifests/sample-manifest.p5m diff --git a/components/x11/libXfont2/Makefile b/components/x11/libXfont2/Makefile new file mode 100644 index 000000000..1ca93b742 --- /dev/null +++ b/components/x11/libXfont2/Makefile @@ -0,0 +1,60 @@ +# +# This file and its contents are supplied under the terms of the +# Common Development and Distribution License ("CDDL"), version 1.0. +# You may only use this file in accordance with the terms of version +# 1.0 of the CDDL. +# +# A full copy of the text of the CDDL should have accompanied this +# source. A copy of the CDDL is also available via the Internet at +# http://www.illumos.org/license/CDDL. +# + +# +# Copyright 2017 Aurelien Larcher +# + +include ../../../make-rules/shared-macros.mk + +COMPONENT_NAME= libXfont2 +COMPONENT_VERSION= 2.0.1 +COMPONENT_SUMMARY= libXfont2 - library for X servers and utilities to access font files +COMPONENT_PROJECT_URL = http://xorg.freedesktop.org +COMPONENT_CLASSIFICATION = System/X11 +COMPONENT_FMRI= x11/library/libxfont2 +COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) +COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2 +COMPONENT_ARCHIVE_URL= \ + http://xorg.freedesktop.org/archive/individual/lib/$(COMPONENT_ARCHIVE) +COMPONENT_ARCHIVE_HASH= \ + sha256:e9fbbb475ddd171b3a6a54b989cbade1f6f874fc35d505ebc5be426bc6e4db7e +COMPONENT_LICENSE = MIT +COMPONENT_LICENSE_FILE = COPYING + +include $(WS_TOP)/make-rules/prep.mk +include $(WS_TOP)/make-rules/configure.mk +include $(WS_TOP)/make-rules/ips.mk + +COMPONENT_PREP_ACTION = (cd $(@D) && autoreconf -f -i) + +#LD_OPTIONS += -M $(COMPONENT_DIR)/mapfile-vers + +CONFIGURE_LIBDIR.32 = /usr/lib/xorg +CONFIGURE_LIBDIR.64 = /usr/lib/xorg/$(MACH64) + +CONFIGURE_OPTIONS += --enable-freetype +CONFIGURE_OPTIONS += --enable-fc +CONFIGURE_OPTIONS += --enable-builtins +CONFIGURE_OPTIONS += --with-bzip2 + +CONFIGURE_ENV += LIB_MAN_SUFFIX=3xfont2 + +build: $(BUILD_32_and_64) + +install: $(INSTALL_32_and_64) + +REQUIRED_PACKAGES += compress/bzip2 +REQUIRED_PACKAGES += library/zlib +REQUIRED_PACKAGES += system/library +REQUIRED_PACKAGES += system/library/freetype-2 +REQUIRED_PACKAGES += system/library/math +REQUIRED_PACKAGES += x11/library/libfontenc diff --git a/components/x11/libXfont2/libxfont2.p5m b/components/x11/libXfont2/libxfont2.p5m new file mode 100644 index 000000000..a2c8df6ac --- /dev/null +++ b/components/x11/libXfont2/libxfont2.p5m @@ -0,0 +1,35 @@ +# +# This file and its contents are supplied under the terms of the +# Common Development and Distribution License ("CDDL"), version 1.0. +# You may only use this file in accordance with the terms of version +# 1.0 of the CDDL. +# +# A full copy of the text of the CDDL should have accompanied this +# source. A copy of the CDDL is also available via the Internet at +# http://www.illumos.org/license/CDDL. +# + +# +# Copyright 2017 Aurelien Larcher +# + +set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) +set name=pkg.summary value="$(COMPONENT_SUMMARY)" +set name=info.classification value="$(COMPONENT_CLASSIFICATION)" +set name=info.upstream-url value=$(COMPONENT_PROJECT_URL) +set name=info.source-url value=$(COMPONENT_ARCHIVE_URL) +set name=org.opensolaris.consolidation value=$(CONSOLIDATION) + +license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)' + + set action.hash usr/lib/xorg%<\1>/pkgconfig/%<\2>.pc > + +file path=usr/include/X11/fonts/libxfont2.h +link path=usr/lib/xorg/$(MACH64)/libXfont2.so target=libXfont2.so.2.0.0 +link path=usr/lib/xorg/$(MACH64)/libXfont2.so.2 target=libXfont2.so.2.0.0 +file path=usr/lib/xorg/$(MACH64)/libXfont2.so.2.0.0 +file path=usr/lib/$(MACH64)/pkgconfig/xfont2.pc +link path=usr/lib/xorg/libXfont2.so target=libXfont2.so.2.0.0 +link path=usr/lib/xorg/libXfont2.so.2 target=libXfont2.so.2.0.0 +file path=usr/lib/xorg/libXfont2.so.2.0.0 +file path=usr/lib/pkgconfig/xfont2.pc diff --git a/components/x11/libXfont2/manifests/sample-manifest.p5m b/components/x11/libXfont2/manifests/sample-manifest.p5m new file mode 100644 index 000000000..c4edb0c16 --- /dev/null +++ b/components/x11/libXfont2/manifests/sample-manifest.p5m @@ -0,0 +1,35 @@ +# +# This file and its contents are supplied under the terms of the +# Common Development and Distribution License ("CDDL"), version 1.0. +# You may only use this file in accordance with the terms of version +# 1.0 of the CDDL. +# +# A full copy of the text of the CDDL should have accompanied this +# source. A copy of the CDDL is also available via the Internet at +# http://www.illumos.org/license/CDDL. +# + +# +# Copyright 2017 +# + +set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) +set name=pkg.summary value="$(COMPONENT_SUMMARY)" +set name=info.classification value="$(COMPONENT_CLASSIFICATION)" +set name=info.upstream-url value=$(COMPONENT_PROJECT_URL) +set name=info.source-url value=$(COMPONENT_ARCHIVE_URL) +set name=org.opensolaris.consolidation value=$(CONSOLIDATION) + +license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)' + +file path=usr/include/X11/fonts/libxfont2.h +file path=usr/lib/xorg/$(MACH64)/libXfont2.a +link path=usr/lib/xorg/$(MACH64)/libXfont2.so target=libXfont2.so.2.0.0 +link path=usr/lib/xorg/$(MACH64)/libXfont2.so.2 target=libXfont2.so.2.0.0 +file path=usr/lib/xorg/$(MACH64)/libXfont2.so.2.0.0 +file path=usr/lib/xorg/$(MACH64)/pkgconfig/xfont2.pc +file path=usr/lib/xorg/libXfont2.a +link path=usr/lib/xorg/libXfont2.so target=libXfont2.so.2.0.0 +link path=usr/lib/xorg/libXfont2.so.2 target=libXfont2.so.2.0.0 +file path=usr/lib/xorg/libXfont2.so.2.0.0 +file path=usr/lib/xorg/pkgconfig/xfont2.pc -- 2.11.4.GIT