pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Package request: iterated-dynamics



In article <aj0ss-xOLaNYd97y%exadelic.gatalith.at@localhost>,
    Thomas Klausner <wiz%gatalith.at@localhost> writes:

> Hi Richard!
>
> On Thu, Jun 25, 2026 at 06:20:12AM +0100, Richard wrote:
> > > - the workflow command from the documentation just gave me an error,
> > >   so I switched to the default pkgsrc method for cmake packages
> > 
> > What was the error?  Were you using vckpg in the source tree submodule?
>
> Executing workflow step 1 of 3: configure preset "default"
>
> CMake Error at /usr/pkg/share/cmake-4.3/Modules/CMakeDetermineSystem.cmake:15
9 (message):
>   Could not find toolchain file:
>
>    "/tmp/wip/iterated-dynamics/work/iterated-dynamics-1.4.1/vcpkg/scripts/bui
ldsystems/vcpkg.cmake"
> Call Stack (most recent call first):
>   CMakeLists.txt:36 (project)

Yes, this is going to be a problem for the dependencies, they're not
being managed by vcpkg.

Are you just grabbing the sources as a ZIP and not cloning from git?

GitHub doesn't include git submodules in ZIP source packages.  If I
enhanced my release process to add ZIP source packages with the
submodules included, would that work better for your workflow?

> No, I didn' checkout the vcpkg repository. pkgsrc is a distribution,
> so we'd like to provide the dependencies ourselves and not depend on
> another distribution to provide them. (Also, I doubt vcpkg works on
> NetBSD.)

vcpkg will work on BSD, it will build itself from source first.  I'm
adding a FreeBSD and OpenBSD CI jobs on github.  I'll look into adding
a NetBSD job as well.

> > > - It doesn't like giflib 6.1.3 from pkgsrc:
> > 
> > I had this problem on macOS too and I worked around it by forcing
> > it to use giflib from vcpkg.  The giflib library should be coming frmo
> > vcpkg and not from the system.
>
> Well, when packaging for pkgsrc we'd like to use the pkgsrc one.

I'll be switching some dependencies to static linking, I think.

> > I will be adding CI jobs for FreeBSD and OpenBSD soon, so I should be
> > able to reproduce the problems.
>
> CI for NetBSD is also available on github.
> Here is a very simple example:
>
> https://github.com/nih-at/libzip/blob/main/.github/workflows/bsd.yml

Good to know, thanks.

-- Richard

-- 
"The Direct3D Graphics Pipeline" free book <http://tinyurl.com/d3d-pipeline>
            The Terminals Wiki <http://terminals-wiki.org>
     The Computer Graphics Museum <http://ComputerGraphicsMuseum.org>
  Legalize Adulthood! (my blog) <http://LegalizeAdulthood.wordpress.com>


Home | Main Index | Thread Index | Old Index