From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by sourceware.org (Postfix) with ESMTPS id 703F73858413 for ; Thu, 16 Sep 2021 15:19:07 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 703F73858413 Received: by mail-ed1-x529.google.com with SMTP id n10so17674003eda.10 for ; Thu, 16 Sep 2021 08:19:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=dJgi2RKV8XDPeeqi1we1uz2DXVtP6tGiHQJTKA+tgAk=; b=Nx5fKdAedEifx/Zq8G50/rKPsRfuQiXtbF8SoBpiBEs4b9dYQwwTMQKGRmomO9Eixv uaCXE5eAVQyVfU6MHk5hQNJ5+7QiP1r2/BaJWuYfXyFkdLLp/E4uVMjTpuL4RtX1iGG3 AbsOnSi+REu+coY5gTXsgwz2wesVwxtuktSCHqWxSErEPVWmmag2ufwCo+sILkWZGTOV zNNtbTpujyFbSHHYUa7C74nxdArIY12iiJaTypTQpcixicDu6ej9ttZx5oGjZ90lOpwN kHcLxUWUhMTRoluXwvmtOOrOAmIQEEN4USfU50ROw9eQWZThDyxWAAY7/PquhqYkY8fV hjpw== X-Gm-Message-State: AOAM533cYE8CaiVgFDiAgelILHeKPJgimbntD5ElCXPrMaCObEXPNh6R LDKu4GnM9PN2RVtq/u+GPg82HCRZw5GXITeRiPmTsi07p5A= X-Google-Smtp-Source: ABdhPJwYcqq2lmoNIEzU5FPs2cpdYm1bdJIHGnlShe2vERXszQ84KVQn4i2DrRdusGDts8sIJeJ4QGi4T2vmcMM//50= X-Received: by 2002:a50:8161:: with SMTP id 88mr6984166edc.54.1631805542902; Thu, 16 Sep 2021 08:19:02 -0700 (PDT) MIME-Version: 1.0 From: "Carlo B." Date: Thu, 16 Sep 2021 17:18:52 +0200 Message-ID: Subject: cygport: CYGCMAKE_SOURCE seems to have no effect. To: cygwin@cygwin.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Sep 2021 15:19:09 -0000 Hello, I'm trying to make a package for CYGWIN to provide liblo, but I'm having some difficulties. This library is available to the most used linux distributions (but not limited to), here there is the link to the one into a Debian as example: https://packages.debian.org/buster/liblo-dev I implemented a script for cygport but this is the output on the console when I execute it: $ cygport liblo.cygport all >>> Preparing liblo-0.31-1.x86_64 >>> Unpacking source liblo-0.31.tar.gz >>> Preparing working source directory >>> Compiling liblo-0.31-1.x86_64 *** ERROR: cygcmake: cmake directory not found The unique aspect of this library is that the CMakeLists.txt file is not into the root of the source tree, but it is located into a subfolder, see here: https://github.com/radarsat1/liblo/tree/master/cmake So, in my script, I configured ${CYGCMAKE_SOURCE} to point there, but it still cannot make it working. Since it seems that I'm not able to make it working in any way, I'm wondering if the behaviour of this variable has been ever tested, so I'm writing here with the hope to receive a suggestion. Thank you very much for your support. =======> And this is the content of my liblo.cygport file: inherit cmake NAME="liblo" VERSION=0.31 RELEASE=1 CATEGORY="Audio" SUMMARY="Open Sound Control protocol for POSIX systems" DESCRIPTION="Open Sound Control (OSC) is a protocol for communication among computers, sound synthesizers, and other multimedia devices that is optimized for modern networking technology." HOMEPAGE="http://liblo.sourceforge.net/" SRC_URI="http://downloads.sourceforge.net/liblo/liblo-${VERSION}.tar.gz" PKG_NAMES="liblo1 liblo-devel" PKG_IGNORE=" usr/share/doc/liblo/AUTHORS usr/share/doc/liblo/COPYING usr/share/doc/liblo/ChangeLog usr/share/doc/liblo/NEWS usr/share/doc/liblo/README usr/share/doc/liblo/TODO " liblo1_CATEGORY="Libs" liblo1_SUMMARY="${SUMMARY}" liblo1_CONTENTS=" usr/bin/cyglo-7.dll usr/bin/oscdump.exe usr/bin/oscsend.exe " liblo_devel_CATEGORY="Libs" liblo_devel_SUMMARY="${SUMMARY}" liblo_devel_CONTENTS=" usr/include/lo/* usr/lib/liblo.dll.a usr/lib/pkgconfig/liblo.pc usr/lib/cmake/liblo/libloConfig.cmake " CYGCMAKE_SOURCE="${S}/cmake"