From d1726979b64c319168e6da7658bc2035bbe4bcc5 Mon Sep 17 00:00:00 2001 From: Aurelien Larcher Date: Sun, 7 Feb 2016 13:09:13 +0100 Subject: [PATCH] Add libXpresent 1.0.0 from x-S12 --- components/x11/libXpresent/Makefile | 50 ++++++++++++++++++++++++++ components/x11/libXpresent/libXpresent.license | 41 +++++++++++++++++++++ components/x11/libXpresent/libXpresent.p5m | 39 ++++++++++++++++++++ 3 files changed, 130 insertions(+) create mode 100644 components/x11/libXpresent/Makefile create mode 100644 components/x11/libXpresent/libXpresent.license create mode 100644 components/x11/libXpresent/libXpresent.p5m diff --git a/components/x11/libXpresent/Makefile b/components/x11/libXpresent/Makefile new file mode 100644 index 000000000..c4c5adeb8 --- /dev/null +++ b/components/x11/libXpresent/Makefile @@ -0,0 +1,50 @@ +# +# 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 2015 Aurelien Larcher +# + +include ../../../make-rules/shared-macros.mk + +COMPONENT_NAME= libXpresent +COMPONENT_VERSION= 1.0.0 +COMPONENT_FMRI= x11/library/libxpresent +COMPONENT_CLASSIFICATION= System/X11 +COMPONENT_SUMMARY= libXpresent - Xlib-compatible API for the Present extension +COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) +COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2 +COMPONENT_ARCHIVE_HASH= \ + sha256:c11ae015141a9afbe10f4f2b8ee00b11adca6373dc1b9808d7c6c138b2da7b8a +COMPONENT_ARCHIVE_URL= \ + http://www.x.org/releases/individual/lib/$(COMPONENT_ARCHIVE) +COMPONENT_PROJECT_URL = http://www.x.org/ +COMPONENT_LICENSE= MIT License +COMPONENT_LICENSE_FILE= libXpresent.license + +include $(WS_TOP)/make-rules/prep.mk +include $(WS_TOP)/make-rules/configure.mk +include $(WS_TOP)/make-rules/ips.mk + +PATH=/usr/gnu/bin:/usr/bin + +CONFIGURE_OPTIONS+= --disable-static +CONFIGURE_OPTIONS+= --enable-shared + +build: $(BUILD_32_and_64) + +install: $(INSTALL_32_and_64) + +test: $(NO_TESTS) + + +REQUIRED_PACKAGES += system/library +REQUIRED_PACKAGES += x11/library/libx11 diff --git a/components/x11/libXpresent/libXpresent.license b/components/x11/libXpresent/libXpresent.license new file mode 100644 index 000000000..66012a93a --- /dev/null +++ b/components/x11/libXpresent/libXpresent.license @@ -0,0 +1,41 @@ + +Copyright © 2001,2003 Keith Packard + +Permission to use, copy, modify, distribute, and sell this software and its +documentation for any purpose is hereby granted without fee, provided that +the above copyright notice appear in all copies and that both that +copyright notice and this permission notice appear in supporting +documentation, and that the name of Keith Packard not be used in +advertising or publicity pertaining to distribution of the software without +specific, written prior permission. Keith Packard makes no +representations about the suitability of this software for any purpose. It +is provided "as is" without express or implied warranty. + +KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, +INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO +EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR +CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, +DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. + +Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the "Software"), +to deal in the Software without restriction, including without limitation +the rights to use, copy, modify, merge, publish, distribute, sublicense, +and/or sell copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice (including the next +paragraph) shall be included in all copies or substantial portions of the +Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. diff --git a/components/x11/libXpresent/libXpresent.p5m b/components/x11/libXpresent/libXpresent.p5m new file mode 100644 index 000000000..3e9b4f63a --- /dev/null +++ b/components/x11/libXpresent/libXpresent.p5m @@ -0,0 +1,39 @@ +# +# 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 2016 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/share/man/man3/%<\1> > + +file path=usr/include/X11/extensions/Xpresent.h +link path=usr/lib/$(MACH64)/libXpresent.so \ + target=libXpresent.so.$(COMPONENT_VERSION) +file path=usr/lib/$(MACH64)/libXpresent.so.$(COMPONENT_VERSION) +link path=usr/lib/$(MACH64)/libXpresent.so.1 \ + target=libXpresent.so.$(COMPONENT_VERSION) +file path=usr/lib/$(MACH64)/pkgconfig/xpresent.pc +link path=usr/lib/libXpresent.so target=libXpresent.so.$(COMPONENT_VERSION) +file path=usr/lib/libXpresent.so.$(COMPONENT_VERSION) +link path=usr/lib/libXpresent.so.1 target=libXpresent.so.$(COMPONENT_VERSION) +file path=usr/lib/pkgconfig/xpresent.pc +file path=usr/share/man/man3xpresent/Xpresent.3 -- 2.11.4.GIT