diff --git a/.ci_scripts/install_miniconda.sh b/.ci_scripts/install_miniconda.sh index 2df8c9b9..93f366df 100755 --- a/.ci_scripts/install_miniconda.sh +++ b/.ci_scripts/install_miniconda.sh @@ -13,7 +13,7 @@ conda activate base cat .ci_scripts/condarc > $HOME/.condarc -conda env update -n=base -f=./env.yml +mamba env update -n=base -f=./env.yml conda list diff --git a/README.md b/README.md index 4c0c052d..15ed7dfa 100644 --- a/README.md +++ b/README.md @@ -483,6 +483,10 @@ register_repo("conda-forge", "cdt-builds", config=cfg) | [`libxft-cos7-aarch64`](https://anaconda.org/conda-forge/libxft-cos7-aarch64) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/libxft-cos7-aarch64.svg)](https://anaconda.org/conda-forge/libxft-cos7-aarch64) | | [`libxft-cos7-ppc64le`](https://anaconda.org/conda-forge/libxft-cos7-ppc64le) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/libxft-cos7-ppc64le.svg)](https://anaconda.org/conda-forge/libxft-cos7-ppc64le) | | [`libxft-cos7-x86_64`](https://anaconda.org/conda-forge/libxft-cos7-x86_64) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/libxft-cos7-x86_64.svg)](https://anaconda.org/conda-forge/libxft-cos7-x86_64) | +| [`libxft-devel-cos6-x86_64`](https://anaconda.org/conda-forge/libxft-devel-cos6-x86_64) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/libxft-devel-cos6-x86_64.svg)](https://anaconda.org/conda-forge/libxft-devel-cos6-x86_64) | +| [`libxft-devel-cos7-aarch64`](https://anaconda.org/conda-forge/libxft-devel-cos7-aarch64) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/libxft-devel-cos7-aarch64.svg)](https://anaconda.org/conda-forge/libxft-devel-cos7-aarch64) | +| [`libxft-devel-cos7-ppc64le`](https://anaconda.org/conda-forge/libxft-devel-cos7-ppc64le) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/libxft-devel-cos7-ppc64le.svg)](https://anaconda.org/conda-forge/libxft-devel-cos7-ppc64le) | +| [`libxft-devel-cos7-x86_64`](https://anaconda.org/conda-forge/libxft-devel-cos7-x86_64) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/libxft-devel-cos7-x86_64.svg)](https://anaconda.org/conda-forge/libxft-devel-cos7-x86_64) | | [`libxi-cos6-x86_64`](https://anaconda.org/conda-forge/libxi-cos6-x86_64) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/libxi-cos6-x86_64.svg)](https://anaconda.org/conda-forge/libxi-cos6-x86_64) | | [`libxi-cos7-aarch64`](https://anaconda.org/conda-forge/libxi-cos7-aarch64) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/libxi-cos7-aarch64.svg)](https://anaconda.org/conda-forge/libxi-cos7-aarch64) | | [`libxi-cos7-ppc64le`](https://anaconda.org/conda-forge/libxi-cos7-ppc64le) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/libxi-cos7-ppc64le.svg)](https://anaconda.org/conda-forge/libxi-cos7-ppc64le) | diff --git a/cdt_slugs.yaml b/cdt_slugs.yaml index 4560b3ad..2f2aecdd 100644 --- a/cdt_slugs.yaml +++ b/cdt_slugs.yaml @@ -481,6 +481,10 @@ libXfixes-devel: license_file: licenses/libxfixes-license libXft: custom: false + license_file: licenses/libXft-license +libXft-devel: + custom: false + license_file: licenses/libXft-license libXi: custom: false libXi-devel: diff --git a/cdts/libxft-cos6-x86_64/libXft-license b/cdts/libxft-cos6-x86_64/libXft-license new file mode 100644 index 00000000..a97b6e6b --- /dev/null +++ b/cdts/libxft-cos6-x86_64/libXft-license @@ -0,0 +1,20 @@ +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. + diff --git a/cdts/libxft-cos6-x86_64/meta.yaml b/cdts/libxft-cos6-x86_64/meta.yaml index 4c71966c..7770afa6 100644 --- a/cdts/libxft-cos6-x86_64/meta.yaml +++ b/cdts/libxft-cos6-x86_64/meta.yaml @@ -14,8 +14,8 @@ source: build: number: {{ cdt_build_number|int + 1000 }} noarch: generic - binary_relocation: False - detect_binary_files_with_prefix: False + binary_relocation: false + detect_binary_files_with_prefix: false missing_dso_whitelist: - '*' @@ -37,10 +37,10 @@ about: home: http://www.x.org license: MIT license_family: MIT - license_file: {{ SRC_DIR }}/binary/usr/share/doc/libXft-2.3.2/COPYING - summary: "(CDT) X.Org X11 libXft runtime library" + license_file: libXft-license + summary: (CDT) X.Org X11 libXft runtime library description: | - X.Org X11 libXft runtime library + X.Org X11 libXft runtime library extra: recipe-maintainers: diff --git a/cdts/libxft-cos7-aarch64/libXft-license b/cdts/libxft-cos7-aarch64/libXft-license new file mode 100644 index 00000000..a97b6e6b --- /dev/null +++ b/cdts/libxft-cos7-aarch64/libXft-license @@ -0,0 +1,20 @@ +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. + diff --git a/cdts/libxft-cos7-aarch64/meta.yaml b/cdts/libxft-cos7-aarch64/meta.yaml index 62afd849..4f828d6e 100644 --- a/cdts/libxft-cos7-aarch64/meta.yaml +++ b/cdts/libxft-cos7-aarch64/meta.yaml @@ -14,8 +14,8 @@ source: build: number: {{ cdt_build_number|int + 1000 }} noarch: generic - binary_relocation: False - detect_binary_files_with_prefix: False + binary_relocation: false + detect_binary_files_with_prefix: false missing_dso_whitelist: - '*' @@ -37,10 +37,10 @@ about: home: http://www.x.org license: MIT license_family: MIT - license_file: {{ SRC_DIR }}/binary/usr/share/doc/libXft-2.3.2/COPYING - summary: "(CDT) X.Org X11 libXft runtime library" + license_file: libXft-license + summary: (CDT) X.Org X11 libXft runtime library description: | - X.Org X11 libXft runtime library + X.Org X11 libXft runtime library extra: recipe-maintainers: diff --git a/cdts/libxft-cos7-ppc64le/libXft-license b/cdts/libxft-cos7-ppc64le/libXft-license new file mode 100644 index 00000000..a97b6e6b --- /dev/null +++ b/cdts/libxft-cos7-ppc64le/libXft-license @@ -0,0 +1,20 @@ +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. + diff --git a/cdts/libxft-cos7-ppc64le/meta.yaml b/cdts/libxft-cos7-ppc64le/meta.yaml index a8bc2d4a..e6d7981b 100644 --- a/cdts/libxft-cos7-ppc64le/meta.yaml +++ b/cdts/libxft-cos7-ppc64le/meta.yaml @@ -14,8 +14,8 @@ source: build: number: {{ cdt_build_number|int + 1000 }} noarch: generic - binary_relocation: False - detect_binary_files_with_prefix: False + binary_relocation: false + detect_binary_files_with_prefix: false missing_dso_whitelist: - '*' @@ -37,10 +37,10 @@ about: home: http://www.x.org license: MIT license_family: MIT - license_file: {{ SRC_DIR }}/binary/usr/share/doc/libXft-2.3.2/COPYING - summary: "(CDT) X.Org X11 libXft runtime library" + license_file: libXft-license + summary: (CDT) X.Org X11 libXft runtime library description: | - X.Org X11 libXft runtime library + X.Org X11 libXft runtime library extra: recipe-maintainers: diff --git a/cdts/libxft-cos7-x86_64/libXft-license b/cdts/libxft-cos7-x86_64/libXft-license new file mode 100644 index 00000000..a97b6e6b --- /dev/null +++ b/cdts/libxft-cos7-x86_64/libXft-license @@ -0,0 +1,20 @@ +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. + diff --git a/cdts/libxft-cos7-x86_64/meta.yaml b/cdts/libxft-cos7-x86_64/meta.yaml index a98ca440..a84b31c6 100644 --- a/cdts/libxft-cos7-x86_64/meta.yaml +++ b/cdts/libxft-cos7-x86_64/meta.yaml @@ -14,8 +14,8 @@ source: build: number: {{ cdt_build_number|int + 1000 }} noarch: generic - binary_relocation: False - detect_binary_files_with_prefix: False + binary_relocation: false + detect_binary_files_with_prefix: false missing_dso_whitelist: - '*' @@ -37,10 +37,10 @@ about: home: http://www.x.org license: MIT license_family: MIT - license_file: {{ SRC_DIR }}/binary/usr/share/doc/libXft-2.3.2/COPYING - summary: "(CDT) X.Org X11 libXft runtime library" + license_file: libXft-license + summary: (CDT) X.Org X11 libXft runtime library description: | - X.Org X11 libXft runtime library + X.Org X11 libXft runtime library extra: recipe-maintainers: diff --git a/cdts/libxft-devel-cos6-x86_64/build.sh b/cdts/libxft-devel-cos6-x86_64/build.sh new file mode 100755 index 00000000..44dc3055 --- /dev/null +++ b/cdts/libxft-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/cdts/libxft-devel-cos6-x86_64/libXft-license b/cdts/libxft-devel-cos6-x86_64/libXft-license new file mode 100644 index 00000000..a97b6e6b --- /dev/null +++ b/cdts/libxft-devel-cos6-x86_64/libXft-license @@ -0,0 +1,20 @@ +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. + diff --git a/cdts/libxft-devel-cos6-x86_64/meta.yaml b/cdts/libxft-devel-cos6-x86_64/meta.yaml new file mode 100644 index 00000000..e7a28eb3 --- /dev/null +++ b/cdts/libxft-devel-cos6-x86_64/meta.yaml @@ -0,0 +1,47 @@ +package: + name: libxft-devel-cos6-x86_64 + version: 2.3.2 + +source: + - url: https://vault.centos.org/6.10/os/x86_64/Packages/libXft-devel-2.3.2-1.el6.x86_64.rpm + sha256: 3059b776f66acda0e2f9c0558f7d3be184b882a81243e748a85632c635bf243c + no_hoist: true + folder: binary + # - url: http://vault.centos.org/6.10/os/Source/SPackages/libXft-2.3.2-1.el6.src.rpm + # no_hoist: true + # folder: source + +build: + number: {{ cdt_build_number|int + 1000 }} + noarch: generic + binary_relocation: false + detect_binary_files_with_prefix: false + missing_dso_whitelist: + - '*' + +requirements: + build: + - libxft-cos6-x86_64 ==2.3.2 *_{{ cdt_build_number|int + 1000 }} + host: + - libxft-cos6-x86_64 ==2.3.2 *_{{ cdt_build_number|int + 1000 }} + - sysroot_linux-64 2.12.* + run: + - libxft-cos6-x86_64 ==2.3.2 *_{{ cdt_build_number|int + 1000 }} + - sysroot_linux-64 2.12.* + +test: + commands: + - echo "it installs!" + +about: + home: http://www.x.org + license: MIT + license_family: MIT + license_file: libXft-license + summary: (CDT) X.Org X11 libXft development package + description: | + X.Org X11 libXft development package + +extra: + recipe-maintainers: + - conda-forge/help-cdts diff --git a/cdts/libxft-devel-cos7-aarch64/build.sh b/cdts/libxft-devel-cos7-aarch64/build.sh new file mode 100755 index 00000000..ca6ebc1a --- /dev/null +++ b/cdts/libxft-devel-cos7-aarch64/build.sh @@ -0,0 +1,59 @@ +#!/bin/bash + +set -o errexit -o pipefail + +SYSROOT_DIR="${PREFIX}"/aarch64-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/cdts/libxft-devel-cos7-aarch64/libXft-license b/cdts/libxft-devel-cos7-aarch64/libXft-license new file mode 100644 index 00000000..a97b6e6b --- /dev/null +++ b/cdts/libxft-devel-cos7-aarch64/libXft-license @@ -0,0 +1,20 @@ +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. + diff --git a/cdts/libxft-devel-cos7-aarch64/meta.yaml b/cdts/libxft-devel-cos7-aarch64/meta.yaml new file mode 100644 index 00000000..28b3264d --- /dev/null +++ b/cdts/libxft-devel-cos7-aarch64/meta.yaml @@ -0,0 +1,47 @@ +package: + name: libxft-devel-cos7-aarch64 + version: 2.3.2 + +source: + - url: http://mirror.centos.org/altarch/7/os/aarch64/Packages/libXft-devel-2.3.2-2.el7.aarch64.rpm + sha256: 2164191fb14e7b60155f7e3d55efb799af6dc98f4b138b3c71d079bd4f7b4e65 + no_hoist: true + folder: binary + # - url: http://vault.centos.org/7.7.1908/os/Source/SPackages/libXft-2.3.2-2.el7.src.rpm + # no_hoist: true + # folder: source + +build: + number: {{ cdt_build_number|int + 1000 }} + noarch: generic + binary_relocation: false + detect_binary_files_with_prefix: false + missing_dso_whitelist: + - '*' + +requirements: + build: + - libxft-cos7-aarch64 ==2.3.2 *_{{ cdt_build_number|int + 1000 }} + host: + - libxft-cos7-aarch64 ==2.3.2 *_{{ cdt_build_number|int + 1000 }} + - sysroot_linux-aarch64 2.17.* + run: + - libxft-cos7-aarch64 ==2.3.2 *_{{ cdt_build_number|int + 1000 }} + - sysroot_linux-aarch64 2.17.* + +test: + commands: + - echo "it installs!" + +about: + home: http://www.x.org + license: MIT + license_family: MIT + license_file: libXft-license + summary: (CDT) X.Org X11 libXft development package + description: | + X.Org X11 libXft development package + +extra: + recipe-maintainers: + - conda-forge/help-cdts diff --git a/cdts/libxft-devel-cos7-ppc64le/build.sh b/cdts/libxft-devel-cos7-ppc64le/build.sh new file mode 100755 index 00000000..b4d65ea7 --- /dev/null +++ b/cdts/libxft-devel-cos7-ppc64le/build.sh @@ -0,0 +1,59 @@ +#!/bin/bash + +set -o errexit -o pipefail + +SYSROOT_DIR="${PREFIX}"/powerpc64le-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/cdts/libxft-devel-cos7-ppc64le/libXft-license b/cdts/libxft-devel-cos7-ppc64le/libXft-license new file mode 100644 index 00000000..a97b6e6b --- /dev/null +++ b/cdts/libxft-devel-cos7-ppc64le/libXft-license @@ -0,0 +1,20 @@ +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. + diff --git a/cdts/libxft-devel-cos7-ppc64le/meta.yaml b/cdts/libxft-devel-cos7-ppc64le/meta.yaml new file mode 100644 index 00000000..c63fba4f --- /dev/null +++ b/cdts/libxft-devel-cos7-ppc64le/meta.yaml @@ -0,0 +1,47 @@ +package: + name: libxft-devel-cos7-ppc64le + version: 2.3.2 + +source: + - url: http://mirror.centos.org/altarch/7/os/ppc64le/Packages/libXft-devel-2.3.2-2.el7.ppc64le.rpm + sha256: 74b1f076c4bd367ffeb93d24e12eb2aacba812e206d92346c4aa87dcd1ab1fb4 + no_hoist: true + folder: binary + # - url: http://vault.centos.org/7.7.1908/os/Source/SPackages/libXft-2.3.2-2.el7.src.rpm + # no_hoist: true + # folder: source + +build: + number: {{ cdt_build_number|int + 1000 }} + noarch: generic + binary_relocation: false + detect_binary_files_with_prefix: false + missing_dso_whitelist: + - '*' + +requirements: + build: + - libxft-cos7-ppc64le ==2.3.2 *_{{ cdt_build_number|int + 1000 }} + host: + - libxft-cos7-ppc64le ==2.3.2 *_{{ cdt_build_number|int + 1000 }} + - sysroot_linux-ppc64le 2.17.* + run: + - libxft-cos7-ppc64le ==2.3.2 *_{{ cdt_build_number|int + 1000 }} + - sysroot_linux-ppc64le 2.17.* + +test: + commands: + - echo "it installs!" + +about: + home: http://www.x.org + license: MIT + license_family: MIT + license_file: libXft-license + summary: (CDT) X.Org X11 libXft development package + description: | + X.Org X11 libXft development package + +extra: + recipe-maintainers: + - conda-forge/help-cdts diff --git a/cdts/libxft-devel-cos7-x86_64/build.sh b/cdts/libxft-devel-cos7-x86_64/build.sh new file mode 100755 index 00000000..44dc3055 --- /dev/null +++ b/cdts/libxft-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/cdts/libxft-devel-cos7-x86_64/libXft-license b/cdts/libxft-devel-cos7-x86_64/libXft-license new file mode 100644 index 00000000..a97b6e6b --- /dev/null +++ b/cdts/libxft-devel-cos7-x86_64/libXft-license @@ -0,0 +1,20 @@ +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. + diff --git a/cdts/libxft-devel-cos7-x86_64/meta.yaml b/cdts/libxft-devel-cos7-x86_64/meta.yaml new file mode 100644 index 00000000..00b3d7d8 --- /dev/null +++ b/cdts/libxft-devel-cos7-x86_64/meta.yaml @@ -0,0 +1,47 @@ +package: + name: libxft-devel-cos7-x86_64 + version: 2.3.2 + +source: + - url: http://mirror.centos.org/centos/7/os/x86_64/Packages/libXft-devel-2.3.2-2.el7.x86_64.rpm + sha256: 1a8745d90a75e3e4ba4c6ad073f96f7a4cc12bd661fc2a9b46d1d0ff2dd5677d + no_hoist: true + folder: binary + # - url: http://vault.centos.org/7.7.1908/os/Source/SPackages/libXft-2.3.2-2.el7.src.rpm + # no_hoist: true + # folder: source + +build: + number: {{ cdt_build_number|int + 1000 }} + noarch: generic + binary_relocation: false + detect_binary_files_with_prefix: false + missing_dso_whitelist: + - '*' + +requirements: + build: + - libxft-cos7-x86_64 ==2.3.2 *_{{ cdt_build_number|int + 1000 }} + host: + - libxft-cos7-x86_64 ==2.3.2 *_{{ cdt_build_number|int + 1000 }} + - sysroot_linux-64 2.17.* + run: + - libxft-cos7-x86_64 ==2.3.2 *_{{ cdt_build_number|int + 1000 }} + - sysroot_linux-64 2.17.* + +test: + commands: + - echo "it installs!" + +about: + home: http://www.x.org + license: MIT + license_family: MIT + license_file: libXft-license + summary: (CDT) X.Org X11 libXft development package + description: | + X.Org X11 libXft development package + +extra: + recipe-maintainers: + - conda-forge/help-cdts diff --git a/env.yml b/env.yml index d8bacda6..bc6b6324 100644 --- a/env.yml +++ b/env.yml @@ -5,8 +5,10 @@ dependencies: - python - anaconda-client - click - - conda - - conda-build + - conda>=23.9 + - conda-libmamba-solver>=23.9 + - mamba>=1.5.2 + - conda-build>=3.27 - conda-forge-pinning - jinja2 - rpm-tools diff --git a/legacy_cdts/libxft-cos6-x86_64/libXft-license b/legacy_cdts/libxft-cos6-x86_64/libXft-license new file mode 100644 index 00000000..a97b6e6b --- /dev/null +++ b/legacy_cdts/libxft-cos6-x86_64/libXft-license @@ -0,0 +1,20 @@ +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. + diff --git a/legacy_cdts/libxft-cos6-x86_64/meta.yaml b/legacy_cdts/libxft-cos6-x86_64/meta.yaml index d67e4c0e..af40d7fb 100644 --- a/legacy_cdts/libxft-cos6-x86_64/meta.yaml +++ b/legacy_cdts/libxft-cos6-x86_64/meta.yaml @@ -14,8 +14,8 @@ source: build: number: {{ cdt_build_number|int }} noarch: generic - binary_relocation: False - detect_binary_files_with_prefix: False + binary_relocation: false + detect_binary_files_with_prefix: false missing_dso_whitelist: - '*' @@ -37,10 +37,10 @@ about: home: http://www.x.org license: MIT license_family: MIT - license_file: {{ SRC_DIR }}/binary/usr/share/doc/libXft-2.3.2/COPYING - summary: "(CDT) X.Org X11 libXft runtime library" + license_file: libXft-license + summary: (CDT) X.Org X11 libXft runtime library description: | - X.Org X11 libXft runtime library + X.Org X11 libXft runtime library extra: recipe-maintainers: diff --git a/legacy_cdts/libxft-cos7-aarch64/libXft-license b/legacy_cdts/libxft-cos7-aarch64/libXft-license new file mode 100644 index 00000000..a97b6e6b --- /dev/null +++ b/legacy_cdts/libxft-cos7-aarch64/libXft-license @@ -0,0 +1,20 @@ +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. + diff --git a/legacy_cdts/libxft-cos7-aarch64/meta.yaml b/legacy_cdts/libxft-cos7-aarch64/meta.yaml index cc849237..cac26c43 100644 --- a/legacy_cdts/libxft-cos7-aarch64/meta.yaml +++ b/legacy_cdts/libxft-cos7-aarch64/meta.yaml @@ -14,8 +14,8 @@ source: build: number: {{ cdt_build_number|int }} noarch: generic - binary_relocation: False - detect_binary_files_with_prefix: False + binary_relocation: false + detect_binary_files_with_prefix: false missing_dso_whitelist: - '*' @@ -37,10 +37,10 @@ about: home: http://www.x.org license: MIT license_family: MIT - license_file: {{ SRC_DIR }}/binary/usr/share/doc/libXft-2.3.2/COPYING - summary: "(CDT) X.Org X11 libXft runtime library" + license_file: libXft-license + summary: (CDT) X.Org X11 libXft runtime library description: | - X.Org X11 libXft runtime library + X.Org X11 libXft runtime library extra: recipe-maintainers: diff --git a/legacy_cdts/libxft-cos7-ppc64le/libXft-license b/legacy_cdts/libxft-cos7-ppc64le/libXft-license new file mode 100644 index 00000000..a97b6e6b --- /dev/null +++ b/legacy_cdts/libxft-cos7-ppc64le/libXft-license @@ -0,0 +1,20 @@ +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. + diff --git a/legacy_cdts/libxft-cos7-ppc64le/meta.yaml b/legacy_cdts/libxft-cos7-ppc64le/meta.yaml index d96500de..e67a27d5 100644 --- a/legacy_cdts/libxft-cos7-ppc64le/meta.yaml +++ b/legacy_cdts/libxft-cos7-ppc64le/meta.yaml @@ -14,8 +14,8 @@ source: build: number: {{ cdt_build_number|int }} noarch: generic - binary_relocation: False - detect_binary_files_with_prefix: False + binary_relocation: false + detect_binary_files_with_prefix: false missing_dso_whitelist: - '*' @@ -37,10 +37,10 @@ about: home: http://www.x.org license: MIT license_family: MIT - license_file: {{ SRC_DIR }}/binary/usr/share/doc/libXft-2.3.2/COPYING - summary: "(CDT) X.Org X11 libXft runtime library" + license_file: libXft-license + summary: (CDT) X.Org X11 libXft runtime library description: | - X.Org X11 libXft runtime library + X.Org X11 libXft runtime library extra: recipe-maintainers: diff --git a/legacy_cdts/libxft-devel-cos6-x86_64/build.sh b/legacy_cdts/libxft-devel-cos6-x86_64/build.sh new file mode 100755 index 00000000..4ee7fe6a --- /dev/null +++ b/legacy_cdts/libxft-devel-cos6-x86_64/build.sh @@ -0,0 +1,59 @@ +#!/bin/bash + +set -o errexit -o pipefail + +SYSROOT_DIR="${PREFIX}"/x86_64-conda_cos6-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/legacy_cdts/libxft-devel-cos6-x86_64/libXft-license b/legacy_cdts/libxft-devel-cos6-x86_64/libXft-license new file mode 100644 index 00000000..a97b6e6b --- /dev/null +++ b/legacy_cdts/libxft-devel-cos6-x86_64/libXft-license @@ -0,0 +1,20 @@ +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. + diff --git a/legacy_cdts/libxft-devel-cos6-x86_64/meta.yaml b/legacy_cdts/libxft-devel-cos6-x86_64/meta.yaml new file mode 100644 index 00000000..0cd5a931 --- /dev/null +++ b/legacy_cdts/libxft-devel-cos6-x86_64/meta.yaml @@ -0,0 +1,47 @@ +package: + name: libxft-devel-cos6-x86_64 + version: 2.3.2 + +source: + - url: https://vault.centos.org/6.10/os/x86_64/Packages/libXft-devel-2.3.2-1.el6.x86_64.rpm + sha256: 3059b776f66acda0e2f9c0558f7d3be184b882a81243e748a85632c635bf243c + no_hoist: true + folder: binary + # - url: http://vault.centos.org/6.10/os/Source/SPackages/libXft-2.3.2-1.el6.src.rpm + # no_hoist: true + # folder: source + +build: + number: {{ cdt_build_number|int }} + noarch: generic + binary_relocation: false + detect_binary_files_with_prefix: false + missing_dso_whitelist: + - '*' + +requirements: + build: + - libxft-cos6-x86_64 ==2.3.2 *_{{ cdt_build_number|int }} + host: + - libxft-cos6-x86_64 ==2.3.2 *_{{ cdt_build_number|int }} + run: + - libxft-cos6-x86_64 ==2.3.2 *_{{ cdt_build_number|int }} + run_constrained: + - sysroot_linux-64 ==99999999999 + +test: + commands: + - echo "it installs!" + +about: + home: http://www.x.org + license: MIT + license_family: MIT + license_file: libXft-license + summary: (CDT) X.Org X11 libXft development package + description: | + X.Org X11 libXft development package + +extra: + recipe-maintainers: + - conda-forge/help-cdts diff --git a/legacy_cdts/libxft-devel-cos7-aarch64/build.sh b/legacy_cdts/libxft-devel-cos7-aarch64/build.sh new file mode 100755 index 00000000..97499cee --- /dev/null +++ b/legacy_cdts/libxft-devel-cos7-aarch64/build.sh @@ -0,0 +1,59 @@ +#!/bin/bash + +set -o errexit -o pipefail + +SYSROOT_DIR="${PREFIX}"/aarch64-conda_cos7-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/legacy_cdts/libxft-devel-cos7-aarch64/libXft-license b/legacy_cdts/libxft-devel-cos7-aarch64/libXft-license new file mode 100644 index 00000000..a97b6e6b --- /dev/null +++ b/legacy_cdts/libxft-devel-cos7-aarch64/libXft-license @@ -0,0 +1,20 @@ +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. + diff --git a/legacy_cdts/libxft-devel-cos7-aarch64/meta.yaml b/legacy_cdts/libxft-devel-cos7-aarch64/meta.yaml new file mode 100644 index 00000000..e3a6dc8b --- /dev/null +++ b/legacy_cdts/libxft-devel-cos7-aarch64/meta.yaml @@ -0,0 +1,47 @@ +package: + name: libxft-devel-cos7-aarch64 + version: 2.3.2 + +source: + - url: http://mirror.centos.org/altarch/7/os/aarch64/Packages/libXft-devel-2.3.2-2.el7.aarch64.rpm + sha256: 2164191fb14e7b60155f7e3d55efb799af6dc98f4b138b3c71d079bd4f7b4e65 + no_hoist: true + folder: binary + # - url: http://vault.centos.org/7.7.1908/os/Source/SPackages/libXft-2.3.2-2.el7.src.rpm + # no_hoist: true + # folder: source + +build: + number: {{ cdt_build_number|int }} + noarch: generic + binary_relocation: false + detect_binary_files_with_prefix: false + missing_dso_whitelist: + - '*' + +requirements: + build: + - libxft-cos7-aarch64 ==2.3.2 *_{{ cdt_build_number|int }} + host: + - libxft-cos7-aarch64 ==2.3.2 *_{{ cdt_build_number|int }} + run: + - libxft-cos7-aarch64 ==2.3.2 *_{{ cdt_build_number|int }} + run_constrained: + - sysroot_linux-aarch64 ==99999999999 + +test: + commands: + - echo "it installs!" + +about: + home: http://www.x.org + license: MIT + license_family: MIT + license_file: libXft-license + summary: (CDT) X.Org X11 libXft development package + description: | + X.Org X11 libXft development package + +extra: + recipe-maintainers: + - conda-forge/help-cdts diff --git a/legacy_cdts/libxft-devel-cos7-ppc64le/build.sh b/legacy_cdts/libxft-devel-cos7-ppc64le/build.sh new file mode 100755 index 00000000..0f6cb1aa --- /dev/null +++ b/legacy_cdts/libxft-devel-cos7-ppc64le/build.sh @@ -0,0 +1,59 @@ +#!/bin/bash + +set -o errexit -o pipefail + +SYSROOT_DIR="${PREFIX}"/powerpc64le-conda_cos7-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/legacy_cdts/libxft-devel-cos7-ppc64le/libXft-license b/legacy_cdts/libxft-devel-cos7-ppc64le/libXft-license new file mode 100644 index 00000000..a97b6e6b --- /dev/null +++ b/legacy_cdts/libxft-devel-cos7-ppc64le/libXft-license @@ -0,0 +1,20 @@ +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. + diff --git a/legacy_cdts/libxft-devel-cos7-ppc64le/meta.yaml b/legacy_cdts/libxft-devel-cos7-ppc64le/meta.yaml new file mode 100644 index 00000000..f2f12982 --- /dev/null +++ b/legacy_cdts/libxft-devel-cos7-ppc64le/meta.yaml @@ -0,0 +1,47 @@ +package: + name: libxft-devel-cos7-ppc64le + version: 2.3.2 + +source: + - url: http://mirror.centos.org/altarch/7/os/ppc64le/Packages/libXft-devel-2.3.2-2.el7.ppc64le.rpm + sha256: 74b1f076c4bd367ffeb93d24e12eb2aacba812e206d92346c4aa87dcd1ab1fb4 + no_hoist: true + folder: binary + # - url: http://vault.centos.org/7.7.1908/os/Source/SPackages/libXft-2.3.2-2.el7.src.rpm + # no_hoist: true + # folder: source + +build: + number: {{ cdt_build_number|int }} + noarch: generic + binary_relocation: false + detect_binary_files_with_prefix: false + missing_dso_whitelist: + - '*' + +requirements: + build: + - libxft-cos7-ppc64le ==2.3.2 *_{{ cdt_build_number|int }} + host: + - libxft-cos7-ppc64le ==2.3.2 *_{{ cdt_build_number|int }} + run: + - libxft-cos7-ppc64le ==2.3.2 *_{{ cdt_build_number|int }} + run_constrained: + - sysroot_linux-ppc64le ==99999999999 + +test: + commands: + - echo "it installs!" + +about: + home: http://www.x.org + license: MIT + license_family: MIT + license_file: libXft-license + summary: (CDT) X.Org X11 libXft development package + description: | + X.Org X11 libXft development package + +extra: + recipe-maintainers: + - conda-forge/help-cdts diff --git a/licenses/libXft-license b/licenses/libXft-license new file mode 100644 index 00000000..a97b6e6b --- /dev/null +++ b/licenses/libXft-license @@ -0,0 +1,20 @@ +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. +