public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
To: cygwin@cygwin.com
Subject: Re: cygport: CYGCMAKE_SOURCE seems to have no effect.
Date: Thu, 16 Sep 2021 11:48:10 -0600	[thread overview]
Message-ID: <486d92a2-6d5c-3fda-f163-c710939b7e23@SystematicSw.ab.ca> (raw)
In-Reply-To: <CADt9577MRdgv+FtGj_2py=Y+fVw+UOJCaux7P=7gHmHReAKcmQ@mail.gmail.com>

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"

  reply	other threads:[~2021-09-16 17:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-16 15:18 Carlo B.
2021-09-16 17:48 ` Brian Inglis [this message]
2021-09-17  8:18   ` Carlo B.
2021-09-17  9:37 ` Carlo B.
2021-09-17 15:41   ` Brian Inglis
2021-09-17 20:57     ` Carlo B.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=486d92a2-6d5c-3fda-f163-c710939b7e23@SystematicSw.ab.ca \
    --to=brian.inglis@systematicsw.ab.ca \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).