[arch-commits] Commit in mesa-demos/repos (4 files)

Andreas Radke andyrtr at gemini.archlinux.org
Tue Nov 23 20:55:41 UTC 2021


    Date: Tuesday, November 23, 2021 @ 20:55:41
  Author: andyrtr
Revision: 428994

archrelease: copy trunk to testing-x86_64

Added:
  mesa-demos/repos/testing-x86_64/
  mesa-demos/repos/testing-x86_64/LICENSE
    (from rev 428993, mesa-demos/trunk/LICENSE)
  mesa-demos/repos/testing-x86_64/PKGBUILD
    (from rev 428993, mesa-demos/trunk/PKGBUILD)
  mesa-demos/repos/testing-x86_64/mesa-demos.install
    (from rev 428993, mesa-demos/trunk/mesa-demos.install)

--------------------+
 LICENSE            |   82 +++++++++++++++++++++++++++++++++++++++++++++++++++
 PKGBUILD           |   55 ++++++++++++++++++++++++++++++++++
 mesa-demos.install |    6 +++
 3 files changed, 143 insertions(+)

Copied: mesa-demos/repos/testing-x86_64/LICENSE (from rev 428993, mesa-demos/trunk/LICENSE)
===================================================================
--- testing-x86_64/LICENSE	                        (rev 0)
+++ testing-x86_64/LICENSE	2021-11-23 20:55:41 UTC (rev 428994)
@@ -0,0 +1,82 @@
+Disclaimer
+
+Mesa is a 3-D graphics library with an API which is very similar to
+that of OpenGL*
+To the extent that Mesa utilizes the OpenGL command syntax or state
+machine, it is being used with authorization from Silicon Graphics,
+Inc.(SGI). However, the author does not possess an OpenGL license
+from SGI, and makes no claim that Mesa is in any way a compatible
+replacement for OpenGL or associated with SGI. Those who want a
+licensed implementation of OpenGL should contact a licensed
+vendor.
+
+Please do not refer to the library as MesaGL (for legal
+reasons). It's just Mesa or The Mesa 3-D graphics
+library
+
+* OpenGL is a trademark of Silicon Graphics Incorporated.
+
+License / Copyright Information
+
+The Mesa distribution consists of several components.  Different copyrights
+and licenses apply to different components.  For example, GLUT is copyrighted
+by Mark Kilgard, some demo programs are copyrighted by SGI, some of the Mesa
+device drivers are copyrighted by their authors.  See below for a list of
+Mesa's main components and the license for each.
+
+The core Mesa library is licensed according to the terms of the MIT license.
+This allows integration with the XFree86, Xorg and DRI projects.
+
+The default Mesa license is as follows:
+
+Copyright (C) 1999-2007  Brian Paul   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 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
+BRIAN PAUL 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.
+
+Attention, Contributors
+
+When contributing to the Mesa project you must agree to the licensing terms
+of the component to which you're contributing.
+The following section lists the primary components of the Mesa distribution
+and their respective licenses.
+
+
+Mesa Component Licenses
+
+Component         Location               Primary Author      License
+----------------------------------------------------------------------------
+Main Mesa code    src/mesa/              Brian Paul          Mesa (MIT)
+
+Device drivers    src/mesa/drivers/*     See drivers         See drivers
+
+Ext headers       include/GL/glext.h     SGI                 SGI Free B
+                  include/GL/glxext.h
+
+GLUT              src/glut/              Mark Kilgard        Mark's copyright
+
+Mesa GLU library  src/glu/mesa/          Brian Paul          GNU-LGPL
+
+SGI GLU library   src/glu/sgi/           SGI                 SGI Free B
+
+demo programs     progs/demos/           various             see source files
+
+X demos           progs/xdemos/          Brian Paul          see source files
+
+SGI demos         progs/samples/         SGI                 SGI copyright
+
+RedBook demos     progs/redbook/         SGI                 SGI copyright

Copied: mesa-demos/repos/testing-x86_64/PKGBUILD (from rev 428993, mesa-demos/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2021-11-23 20:55:41 UTC (rev 428994)
@@ -0,0 +1,55 @@
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+
+pkgbase=mesa-demos
+pkgname=('mesa-demos' 'mesa-utils')
+pkgver=8.4.0
+pkgrel=5
+arch=('x86_64')
+url="https://www.mesa3d.org/"
+license=('custom')
+makedepends=('mesa' 'freetype2' 'git'
+             'glew' 'freeglut')
+source=(https://mesa.freedesktop.org/archive/demos/mesa-demos-$pkgver.tar.bz2{,.sig}
+        'LICENSE')
+sha512sums=('b72d03cad36e0535ff18dcfb222ec4200064b9264f6da51a6e5f03b0dd912abe188bc1d600b6698de3ce6f63b28d2ce01565886ca8e7079edc4967fbf2fb0957'
+            'SKIP'
+            '25da77914dded10c1f432ebcbf29941124138824ceecaf1367b3deedafaecabc082d463abcfa3d15abff59f177491472b505bcb5ba0c4a51bb6b93b4721a23c2')
+validpgpkeys=('E390B9700582FAEA959ACAD41EEF53D38A3A9C67') # "Andreas Boll <andreas.boll.dev at gmail.com>"
+
+build() {
+  cd mesa-demos-$pkgver
+  ./configure --prefix=/usr \
+    --disable-gles1 \
+    --with-system-data-files=/usr/share/mesa-demos
+
+  make
+}
+
+package_mesa-demos() {
+
+  pkgdesc="Mesa demos"
+  install=mesa-demos.install
+  depends=('glew' 'freeglut')
+  
+  cd mesa-demos-$pkgver
+  make DESTDIR="${pkgdir}" install
+  
+  # add missing egl files
+  install -m 0755 src/egl/opengl/{eglgears_x11,eglinfo,eglkms,egltri_x11,peglgears,xeglgears,xeglthreads} "${pkgdir}/usr/bin/"
+  
+  install -m755 -d "${pkgdir}/usr/share/licenses/mesa-demos"
+  install -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/mesa-demos/"
+}
+
+package_mesa-utils() {
+
+  pkgdesc="essential Mesa utilities"
+  depends=('libgl')
+  provides=('glxinfo' 'glxgears' 'eglinfo')
+
+  install -Dm755 ../pkg/mesa-demos/usr/bin/{glxinfo,glxgears,eglinfo} -t "$pkgdir"/usr/bin
+  rm ../pkg/mesa-demos/usr/bin/{glxinfo,glxgears,eglinfo}
+  
+  install -m755 -d "${pkgdir}/usr/share/licenses/$pkgname"
+  install -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/$pkgname/"
+}

Copied: mesa-demos/repos/testing-x86_64/mesa-demos.install (from rev 428993, mesa-demos/trunk/mesa-demos.install)
===================================================================
--- testing-x86_64/mesa-demos.install	                        (rev 0)
+++ testing-x86_64/mesa-demos.install	2021-11-23 20:55:41 UTC (rev 428994)
@@ -0,0 +1,6 @@
+post_upgrade() {
+  if [ "`vercmp $2 8.4.0-5`" -lt 0 ]; then
+    echo ">>> glxinfo, eglinfo and glxgears are now part of"
+    echo ">>> the new \"mesa-utils\" package."
+  fi
+}



More information about the arch-commits mailing list