diff --git a/README.md b/README.md index 15ed7dfa..3a0ec84b 100644 --- a/README.md +++ b/README.md @@ -604,6 +604,8 @@ register_repo("conda-forge", "cdt-builds", config=cfg) | [`mesa-libglapi-cos7-aarch64`](https://anaconda.org/conda-forge/mesa-libglapi-cos7-aarch64) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/mesa-libglapi-cos7-aarch64.svg)](https://anaconda.org/conda-forge/mesa-libglapi-cos7-aarch64) | | [`mesa-libglapi-cos7-ppc64le`](https://anaconda.org/conda-forge/mesa-libglapi-cos7-ppc64le) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/mesa-libglapi-cos7-ppc64le.svg)](https://anaconda.org/conda-forge/mesa-libglapi-cos7-ppc64le) | | [`mesa-libglapi-cos7-x86_64`](https://anaconda.org/conda-forge/mesa-libglapi-cos7-x86_64) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/mesa-libglapi-cos7-x86_64.svg)](https://anaconda.org/conda-forge/mesa-libglapi-cos7-x86_64) | +| [`mesa-libglu-cos6-x86_64`](https://anaconda.org/conda-forge/mesa-libglu-cos6-x86_64) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/mesa-libglu-cos6-x86_64.svg)](https://anaconda.org/conda-forge/mesa-libglu-cos6-x86_64) | +| [`mesa-libglu-devel-cos6-x86_64`](https://anaconda.org/conda-forge/mesa-libglu-devel-cos6-x86_64) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/mesa-libglu-devel-cos6-x86_64.svg)](https://anaconda.org/conda-forge/mesa-libglu-devel-cos6-x86_64) | | [`nspr-cos6-x86_64`](https://anaconda.org/conda-forge/nspr-cos6-x86_64) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/nspr-cos6-x86_64.svg)](https://anaconda.org/conda-forge/nspr-cos6-x86_64) | | [`nspr-cos7-aarch64`](https://anaconda.org/conda-forge/nspr-cos7-aarch64) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/nspr-cos7-aarch64.svg)](https://anaconda.org/conda-forge/nspr-cos7-aarch64) | | [`nspr-cos7-ppc64le`](https://anaconda.org/conda-forge/nspr-cos7-ppc64le) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/nspr-cos7-ppc64le.svg)](https://anaconda.org/conda-forge/nspr-cos7-ppc64le) | diff --git a/cdt_slugs.yaml b/cdt_slugs.yaml index 2f2aecdd..b2d1964c 100644 --- a/cdt_slugs.yaml +++ b/cdt_slugs.yaml @@ -591,6 +591,18 @@ mesa-libGL: mesa-libGL-devel: custom: false license_file: licenses/mesa-license +mesa-libGLU: + custom: true + license_file: licenses/mesa-license + build_append: + cos7-x86_64: | + pushd ${SYSROOT_DIR}/usr/lib64 > /dev/null 2>&1 + rm libGLX_system.so.0 + ln -s libGLX_mesa.so.0 libGLX_system.so.0 + popd > /dev/null 2>&1 +mesa-libGLU-devel: + custom: true + license_file: licenses/mesa-license mesa-libglapi: custom: false skipped_cdts: diff --git a/custom_cdts/mesa-libglu-cos6-x86_64/build.sh b/custom_cdts/mesa-libglu-cos6-x86_64/build.sh new file mode 100755 index 00000000..44dc3055 --- /dev/null +++ b/custom_cdts/mesa-libglu-cos6-x86_64/build.sh @@ -0,0 +1,59 @@ +#!/bin/bash + +set -o errexit -o pipefail + +SYSROOT_DIR="${PREFIX}"/x86_64-conda-linux-gnu/sysroot + +mkdir -p "${SYSROOT_DIR}" +if [[ -d usr/lib ]]; then + if [[ ! -d lib ]]; then + ln -s usr/lib lib + fi +fi +if [[ -d usr/lib64 ]]; then + if [[ ! -d lib64 ]]; then + ln -s usr/lib64 lib64 + fi +fi +pushd ${SRC_DIR}/binary > /dev/null 2>&1 +rsync -K -a . "${SYSROOT_DIR}" +popd > /dev/null 2>&1 + +# START OF INSERTED BUILD APPENDS + +# END OF INSERTED BUILD APPENDS + +# this code makes sure that any symlinks are relative and their targets exist +# the CDT would fail at test time, but doing it here produces useful error +# messages for fixing things +error_code=0 +for blnk in $(find ./binary -type l); do + # loop is over symlinks in the RPM, so get the path in the sysroot + lnk=${SYSROOT_DIR}${blnk#"./binary"} + + # if it is not a link in the sysroot, move on + if [[ ! -L ${lnk} ]]; then + continue + fi + + # get the link dir and the destination of the link + lnk_dir=$(dirname ${lnk}) + lnk_dst_nm=$(readlink ${lnk}) + if [[ ${lnk_dst_nm:0:1} == "/" ]]; then + lnk_dst=${lnk_dst_nm} + else + lnk_dst="${lnk_dir}/${lnk_dst_nm}" + fi + + # now test if it is absolute and relative to the system and not the PREFIX + # also test if the dest file exists + if [[ ${lnk_dst_nm:0:1} == "/" ]] && [[ ! ${lnk_dst_nm} == ${SYSROOT_DIR}* ]]; then + echo "***WARNING ABSOLUTE SYMLINK***: ${lnk} -> ${lnk_dst}" + error_code=1 + elif [[ ! -e "${lnk_dst}" ]]; then + echo "***WARNING SYMLINK W/O DESTINATION: ${lnk} -> ${lnk_dst}" + error_code=1 + fi +done + +exit ${error_code} diff --git a/custom_cdts/mesa-libglu-cos6-x86_64/mesa-license b/custom_cdts/mesa-libglu-cos6-x86_64/mesa-license new file mode 100644 index 00000000..d583db45 --- /dev/null +++ b/custom_cdts/mesa-libglu-cos6-x86_64/mesa-license @@ -0,0 +1,19 @@ +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 +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/custom_cdts/mesa-libglu-cos6-x86_64/meta.yaml b/custom_cdts/mesa-libglu-cos6-x86_64/meta.yaml new file mode 100644 index 00000000..9c50b134 --- /dev/null +++ b/custom_cdts/mesa-libglu-cos6-x86_64/meta.yaml @@ -0,0 +1,40 @@ +package: + name: mesa-libglu-cos6-x86_64 + version: 11.0.7 + +source: + - url: https://vault.centos.org/6.10/os/x86_64/Packages/mesa-libGLU-11.0.7-4.el6.x86_64.rpm + sha256: b56e0217bf287fa0211ce209a2180305b74d93d867c6dee91e55a46b5da78508 + no_hoist: true + folder: binary + +build: + number: {{ cdt_build_number|int + 1000 }} + noarch: generic + binary_relocation: false + detect_binary_files_with_prefix: false + missing_dso_whitelist: + - '*' + +requirements: + host: + - sysroot_linux-64 2.12.* + run: + - sysroot_linux-64 2.12.* + +test: + commands: + - echo "it installs!" + +about: + home: http://www.mesa3d.org + license: MIT + license_family: MIT + license_file: mesa-license + summary: (CDT) Mesa libGL development package + description: | + Mesa libGL development package + +extra: + recipe-maintainers: + - conda-forge/help-cdts diff --git a/custom_cdts/mesa-libglu-cos7-x86_64/build.sh b/custom_cdts/mesa-libglu-cos7-x86_64/build.sh new file mode 100755 index 00000000..3551d114 --- /dev/null +++ b/custom_cdts/mesa-libglu-cos7-x86_64/build.sh @@ -0,0 +1,55 @@ +#!/bin/bash + +set -o errexit -o pipefail + +SYSROOT_DIR="${PREFIX}"/x86_64-conda-linux-gnu/sysroot + +mkdir -p "${SYSROOT_DIR}" +if [[ -d usr/lib ]]; then + if [[ ! -d lib ]]; then + ln -s usr/lib lib + fi +fi +if [[ -d usr/lib64 ]]; then + if [[ ! -d lib64 ]]; then + ln -s usr/lib64 lib64 + fi +fi +pushd ${SRC_DIR}/binary > /dev/null 2>&1 +rsync -K -a . "${SYSROOT_DIR}" +popd > /dev/null 2>&1 + +# this code makes sure that any symlinks are relative and their targets exist +# the CDT would fail at test time, but doing it here produces useful error +# messages for fixing things +error_code=0 +for blnk in $(find ./binary -type l); do + # loop is over symlinks in the RPM, so get the path in the sysroot + lnk=${SYSROOT_DIR}${blnk#"./binary"} + + # if it is not a link in the sysroot, move on + if [[ ! -L ${lnk} ]]; then + continue + fi + + # get the link dir and the destination of the link + lnk_dir=$(dirname ${lnk}) + lnk_dst_nm=$(readlink ${lnk}) + if [[ ${lnk_dst_nm:0:1} == "/" ]]; then + lnk_dst=${lnk_dst_nm} + else + lnk_dst="${lnk_dir}/${lnk_dst_nm}" + fi + + # now test if it is absolute and relative to the system and not the PREFIX + # also test if the dest file exists + if [[ ${lnk_dst_nm:0:1} == "/" ]] && [[ ! ${lnk_dst_nm} == ${SYSROOT_DIR}* ]]; then + echo "***WARNING ABSOLUTE SYMLINK***: ${lnk} -> ${lnk_dst}" + error_code=1 + elif [[ ! -e "${lnk_dst}" ]]; then + echo "***WARNING SYMLINK W/O DESTINATION: ${lnk} -> ${lnk_dst}" + error_code=1 + fi +done + +exit ${error_code} diff --git a/custom_cdts/mesa-libglu-cos7-x86_64/mesa-license b/custom_cdts/mesa-libglu-cos7-x86_64/mesa-license new file mode 100644 index 00000000..d583db45 --- /dev/null +++ b/custom_cdts/mesa-libglu-cos7-x86_64/mesa-license @@ -0,0 +1,19 @@ +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 +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/custom_cdts/mesa-libglu-cos7-x86_64/meta.yaml b/custom_cdts/mesa-libglu-cos7-x86_64/meta.yaml new file mode 100644 index 00000000..f57358b0 --- /dev/null +++ b/custom_cdts/mesa-libglu-cos7-x86_64/meta.yaml @@ -0,0 +1,50 @@ +package: + name: mesa-libglu-cos7-x86_64 + version: 9.0.0 + +source: + - url: http://mirror.centos.org/centos/7/os/x86_64/Packages/mesa-libGLU-9.0.0-4.el7.x86_64.rpm + sha256: b21eb09f310635c5f6c426f2013e9cab95c95f1446522a575c16a58099ee465b + no_hoist: true + folder: binary + +build: + number: {{ cdt_build_number|int + 1000 }} + noarch: generic + binary_relocation: false + detect_binary_files_with_prefix: false + missing_dso_whitelist: + - '*' + +requirements: + build: + - libdrm-cos7-x86_64 >=2.4.83 *_{{ cdt_build_number|int + 1000 }} + - libglvnd-glx-cos7-x86_64 >=1.0.1 *_{{ cdt_build_number|int + 1000 }} + - mesa-libglapi-cos7-x86_64 ==18.3.4 *_{{ cdt_build_number|int + 1000 }} + host: + - libdrm-cos7-x86_64 >=2.4.83 *_{{ cdt_build_number|int + 1000 }} + - libglvnd-glx-cos7-x86_64 >=1.0.1 *_{{ cdt_build_number|int + 1000 }} + - mesa-libglapi-cos7-x86_64 ==18.3.4 *_{{ cdt_build_number|int + 1000 }} + - sysroot_linux-64 2.17.* + run: + - libdrm-cos7-x86_64 >=2.4.83 *_{{ cdt_build_number|int + 1000 }} + - libglvnd-glx-cos7-x86_64 >=1.0.1 *_{{ cdt_build_number|int + 1000 }} + - mesa-libglapi-cos7-x86_64 ==18.3.4 *_{{ cdt_build_number|int + 1000 }} + - sysroot_linux-64 2.17.* + +test: + commands: + - echo "it installs!" + +about: + home: http://www.mesa3d.org + license: MIT + license_family: MIT + license_file: mesa-license + summary: (CDT) Mesa libGLU runtime libraries + description: | + Mesa libGLU runtime library. + +extra: + recipe-maintainers: + - conda-forge/help-cdts diff --git a/custom_cdts/mesa-libglu-devel-cos6-x86_64/build.sh b/custom_cdts/mesa-libglu-devel-cos6-x86_64/build.sh new file mode 100755 index 00000000..44dc3055 --- /dev/null +++ b/custom_cdts/mesa-libglu-devel-cos6-x86_64/build.sh @@ -0,0 +1,59 @@ +#!/bin/bash + +set -o errexit -o pipefail + +SYSROOT_DIR="${PREFIX}"/x86_64-conda-linux-gnu/sysroot + +mkdir -p "${SYSROOT_DIR}" +if [[ -d usr/lib ]]; then + if [[ ! -d lib ]]; then + ln -s usr/lib lib + fi +fi +if [[ -d usr/lib64 ]]; then + if [[ ! -d lib64 ]]; then + ln -s usr/lib64 lib64 + fi +fi +pushd ${SRC_DIR}/binary > /dev/null 2>&1 +rsync -K -a . "${SYSROOT_DIR}" +popd > /dev/null 2>&1 + +# START OF INSERTED BUILD APPENDS + +# END OF INSERTED BUILD APPENDS + +# this code makes sure that any symlinks are relative and their targets exist +# the CDT would fail at test time, but doing it here produces useful error +# messages for fixing things +error_code=0 +for blnk in $(find ./binary -type l); do + # loop is over symlinks in the RPM, so get the path in the sysroot + lnk=${SYSROOT_DIR}${blnk#"./binary"} + + # if it is not a link in the sysroot, move on + if [[ ! -L ${lnk} ]]; then + continue + fi + + # get the link dir and the destination of the link + lnk_dir=$(dirname ${lnk}) + lnk_dst_nm=$(readlink ${lnk}) + if [[ ${lnk_dst_nm:0:1} == "/" ]]; then + lnk_dst=${lnk_dst_nm} + else + lnk_dst="${lnk_dir}/${lnk_dst_nm}" + fi + + # now test if it is absolute and relative to the system and not the PREFIX + # also test if the dest file exists + if [[ ${lnk_dst_nm:0:1} == "/" ]] && [[ ! ${lnk_dst_nm} == ${SYSROOT_DIR}* ]]; then + echo "***WARNING ABSOLUTE SYMLINK***: ${lnk} -> ${lnk_dst}" + error_code=1 + elif [[ ! -e "${lnk_dst}" ]]; then + echo "***WARNING SYMLINK W/O DESTINATION: ${lnk} -> ${lnk_dst}" + error_code=1 + fi +done + +exit ${error_code} diff --git a/custom_cdts/mesa-libglu-devel-cos6-x86_64/mesa-license b/custom_cdts/mesa-libglu-devel-cos6-x86_64/mesa-license new file mode 100644 index 00000000..d583db45 --- /dev/null +++ b/custom_cdts/mesa-libglu-devel-cos6-x86_64/mesa-license @@ -0,0 +1,19 @@ +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 +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/custom_cdts/mesa-libglu-devel-cos6-x86_64/meta.yaml b/custom_cdts/mesa-libglu-devel-cos6-x86_64/meta.yaml new file mode 100644 index 00000000..0443edab --- /dev/null +++ b/custom_cdts/mesa-libglu-devel-cos6-x86_64/meta.yaml @@ -0,0 +1,44 @@ +package: + name: mesa-libglu-devel-cos6-x86_64 + version: 11.0.7 + +source: + - url: https://vault.centos.org/6.10/os/x86_64/Packages/mesa-libGLU-devel-11.0.7-4.el6.x86_64.rpm + sha256: b9ddb0d38fed0050b9145b6bb69b2fc6ee014df9bf3004316d222cf5bd8f167b + no_hoist: true + folder: binary + +build: + number: {{ cdt_build_number|int + 1000 }} + noarch: generic + binary_relocation: false + detect_binary_files_with_prefix: false + missing_dso_whitelist: + - '*' + +requirements: + build: + - mesa-libglu-cos6-x86_64 ==11.0.7 *_{{ cdt_build_number|int + 1000 }} + host: + - mesa-libglu-cos6-x86_64 ==11.0.7 *_{{ cdt_build_number|int + 1000 }} + - sysroot_linux-64 2.12.* + run: + - mesa-libglu-cos6-x86_64 ==11.0.7 *_{{ cdt_build_number|int + 1000 }} + - sysroot_linux-64 2.12.* + +test: + commands: + - echo "it installs!" + +about: + home: http://www.mesa3d.org + license: MIT + license_family: MIT + license_file: mesa-license + summary: (CDT) Mesa libGL development package + description: | + Mesa libGL development package + +extra: + recipe-maintainers: + - conda-forge/help-cdts diff --git a/custom_cdts/mesa-libglu-devel-cos7-x86_64/build.sh b/custom_cdts/mesa-libglu-devel-cos7-x86_64/build.sh new file mode 100755 index 00000000..44dc3055 --- /dev/null +++ b/custom_cdts/mesa-libglu-devel-cos7-x86_64/build.sh @@ -0,0 +1,59 @@ +#!/bin/bash + +set -o errexit -o pipefail + +SYSROOT_DIR="${PREFIX}"/x86_64-conda-linux-gnu/sysroot + +mkdir -p "${SYSROOT_DIR}" +if [[ -d usr/lib ]]; then + if [[ ! -d lib ]]; then + ln -s usr/lib lib + fi +fi +if [[ -d usr/lib64 ]]; then + if [[ ! -d lib64 ]]; then + ln -s usr/lib64 lib64 + fi +fi +pushd ${SRC_DIR}/binary > /dev/null 2>&1 +rsync -K -a . "${SYSROOT_DIR}" +popd > /dev/null 2>&1 + +# START OF INSERTED BUILD APPENDS + +# END OF INSERTED BUILD APPENDS + +# this code makes sure that any symlinks are relative and their targets exist +# the CDT would fail at test time, but doing it here produces useful error +# messages for fixing things +error_code=0 +for blnk in $(find ./binary -type l); do + # loop is over symlinks in the RPM, so get the path in the sysroot + lnk=${SYSROOT_DIR}${blnk#"./binary"} + + # if it is not a link in the sysroot, move on + if [[ ! -L ${lnk} ]]; then + continue + fi + + # get the link dir and the destination of the link + lnk_dir=$(dirname ${lnk}) + lnk_dst_nm=$(readlink ${lnk}) + if [[ ${lnk_dst_nm:0:1} == "/" ]]; then + lnk_dst=${lnk_dst_nm} + else + lnk_dst="${lnk_dir}/${lnk_dst_nm}" + fi + + # now test if it is absolute and relative to the system and not the PREFIX + # also test if the dest file exists + if [[ ${lnk_dst_nm:0:1} == "/" ]] && [[ ! ${lnk_dst_nm} == ${SYSROOT_DIR}* ]]; then + echo "***WARNING ABSOLUTE SYMLINK***: ${lnk} -> ${lnk_dst}" + error_code=1 + elif [[ ! -e "${lnk_dst}" ]]; then + echo "***WARNING SYMLINK W/O DESTINATION: ${lnk} -> ${lnk_dst}" + error_code=1 + fi +done + +exit ${error_code} diff --git a/custom_cdts/mesa-libglu-devel-cos7-x86_64/mesa-license b/custom_cdts/mesa-libglu-devel-cos7-x86_64/mesa-license new file mode 100644 index 00000000..d583db45 --- /dev/null +++ b/custom_cdts/mesa-libglu-devel-cos7-x86_64/mesa-license @@ -0,0 +1,19 @@ +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 +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/custom_cdts/mesa-libglu-devel-cos7-x86_64/meta.yaml b/custom_cdts/mesa-libglu-devel-cos7-x86_64/meta.yaml new file mode 100644 index 00000000..e625bb13 --- /dev/null +++ b/custom_cdts/mesa-libglu-devel-cos7-x86_64/meta.yaml @@ -0,0 +1,47 @@ +package: + name: mesa-libglu-devel-cos7-x86_64 + version: 9.0.0 + +source: + - url: http://mirror.centos.org/centos/7/os/x86_64/Packages/mesa-libGLU-devel-9.0.0-4.el7.x86_64.rpm + sha256: 16a6d263808c9fdce8fd2a8485bcf6573ff6c32921528dd2eb0d57d4351bae29 + no_hoist: true + folder: binary + +build: + number: {{ cdt_build_number|int + 1000 }} + noarch: generic + binary_relocation: false + detect_binary_files_with_prefix: false + missing_dso_whitelist: + - '*' + +requirements: + build: + - mesa-khr-devel-cos7-x86_64 ==18.3.4 *_{{ cdt_build_number|int + 1000 }} + - mesa-libglu-cos7-x86_64 ==9.0.0 *_{{ cdt_build_number|int + 1000 }} + host: + - mesa-khr-devel-cos7-x86_64 ==18.3.4 *_{{ cdt_build_number|int + 1000 }} + - mesa-libglu-cos7-x86_64 ==9.0.0 *_{{ cdt_build_number|int + 1000 }} + - sysroot_linux-64 2.17.* + run: + - mesa-khr-devel-cos7-x86_64 ==18.3.4 *_{{ cdt_build_number|int + 1000 }} + - mesa-libglu-cos7-x86_64 ==9.0.0 *_{{ cdt_build_number|int + 1000 }} + - sysroot_linux-64 2.17.* + +test: + commands: + - echo "it installs!" + +about: + home: http://www.mesa3d.org + license: MIT + license_family: MIT + license_file: mesa-license + summary: (CDT) Mesa libGLU development package + description: | + Mesa libGLU development package + +extra: + recipe-maintainers: + - conda-forge/help-cdts diff --git a/print_all_files b/print_all_files new file mode 100755 index 00000000..86c2690d --- /dev/null +++ b/print_all_files @@ -0,0 +1,24 @@ +#!/usr/bin/env sh + +# Print all files provided by CDT packages. +# +# Original author: David Banas +# Original date: March 23, 2023 +# +# Copyright (c) 2023 David Banas; all rights reserved World wide. + +# License is hereby granted to all to do anything and everything with this code, +# as long as the above copyright notice and licensing granted herein are +# included and maintained in any distributed copies and/or derivative works. + +rm -rf rpms/ 2>/dev/null +mkdir rpms +for url in $(grep 'url:' cdts/*/meta.yaml | cut -f 2- -w | grep '^-' | cut -f 3 -w); + do curl --output "rpms/${url##*/}" $url; + done +for rpm in $(ls rpms/); + do echo "\n${rpm}"; + echo "=========="; + tar tf "rpms/${rpm}" | sort; + done +