From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta002.cacentral1.a.cloudfilter.net (omta002.cacentral1.a.cloudfilter.net [3.97.99.33]) by sourceware.org (Postfix) with ESMTPS id D5EB73858D3C for ; Thu, 16 Sep 2021 17:48:11 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org D5EB73858D3C Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=SystematicSw.ab.ca Authentication-Results: sourceware.org; spf=none smtp.mailfrom=systematicsw.ab.ca Received: from shw-obgw-4003a.ext.cloudfilter.net ([10.228.9.183]) by cmsmtp with ESMTP id Qs0om3103ps7PQvUZmQg4J; Thu, 16 Sep 2021 17:48:11 +0000 Received: from [192.168.1.105] ([68.147.0.90]) by cmsmtp with ESMTP id QvUYmxh90cHSBQvUYm0Ldc; Thu, 16 Sep 2021 17:48:11 +0000 X-Authority-Analysis: v=2.4 cv=I4EG+Psg c=1 sm=1 tr=0 ts=6143835b a=T+ovY1NZ+FAi/xYICV7Bgg==:117 a=T+ovY1NZ+FAi/xYICV7Bgg==:17 a=IkcTkHD0fZMA:10 a=xNf9USuDAAAA:8 a=z_t233q-AAAA:20 a=vKebfVIyAAAA:8 a=FP58Ms26AAAA:8 a=TImcKGuyeGIbufSLrCcA:9 a=QEXdDO2ut3YA:10 a=QrC7uEyoK2QA:10 a=SEwjQc04WA-l_NiBhQ7s:22 a=n2eEs4sum_sr8PAT1Mgn:22 Reply-To: cygwin@cygwin.com To: cygwin@cygwin.com References: From: Brian Inglis Organization: Systematic Software Subject: Re: cygport: CYGCMAKE_SOURCE seems to have no effect. Message-ID: <486d92a2-6d5c-3fda-f163-c710939b7e23@SystematicSw.ab.ca> Date: Thu, 16 Sep 2021 11:48:10 -0600 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-CA Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfKDH2TivrQNgOaN26BLB9zYCEFhpFcsJgRPq0wT3JXN2iO54lV0Kuf8ZaLNW5GbTCF5kwnMMr6ZwclcTMw7rEGTSuZAyuSlFT6esVRCc2ru+IyOf7wx3 V0NIzYOiqfh5F4TiFtU3dWPnjnJoNXU19yjqMLWlhXAKy42vq3H7XU+6F1YFHzkBvMXtMIBbTgi9sNws1wYIgHPvqABqzWZSEg4= X-Spam-Status: No, score=-1161.6 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=no 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 17:48:13 -0000 On 2021-09-16 09:18, Carlo B. via Cygwin wrote: > 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. Worked just fine for a recent update of fortune-mod. See online or under your Cygwin directory: https://cygwin.github.io/cygport/cmake_cygclass.html#robo765 cygstart /usr/share/doc/cygport/html/manual/cmake_cygclass.html Try directory specification rather than path - cygport often just DTRT: CYGCMAKE_SOURCE=cmake -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. [Data in binary units and prefixes, physical quantities in SI.] > =======> 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"