forked from conda-forge/cdt-builds
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request conda-forge#65 from capn-freako/add-gluh-to-mesa-l…
…ibgl-devel
- Loading branch information
Showing
15 changed files
with
527 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |
Oops, something went wrong.