Hi Jerome and OpenBSD porters!

I've updated the port to solvespace commit:

        16c5fa6889202f2059b52c4a89599910541dd1a0

I've took your patches Jerome, updated them for distfile generated from
above commit. As I was testing, I've put the version of the distfile not
related to the commit date, to have a buffer for testing make update and
pkg_add -u, so I can easly bump version or revision.

Current port has:

- patch patch-src_platform_guigtk_cpp from Neon King sent back in May
- patch patch-CMakeLists_txt from Neon King sent back in May
- patch-CMakeLists_txt updated by me for HEAD version of solvespace
- update-plist

Please review, if all is good, I will regenerate tarball with more
appropriate distfile version. Is there anything which should be
addressed by upstream?

sthen@ asked in the old email thread for "convenience target" to
generate distfile, but not sure what other ports do, in such cases.

I see that ports sysutils/consul-template, sysutils/envconsul and
sysutils/terragrunt have a comment in their Makefile showing how to
generate a distfile, but I'm not aware of any port which has such make
target.

In my case I have simple shell script which generates distfile from a git
repo:

--8<--
#!/bin/sh

temp=`mktemp -d "${TMPDIR:=/tmp}/archive.XXXXXXXXXXXXXXXX"` || exit 1
trap 'rm -rf "$temp"' EXIT
trap 'exit 1' HUP INT QUIT TRAP PIPE TERM INFO USR1 USR2

VERSION=2.3.20191201

echo "Running git archive..."
git archive --format=tar --prefix="solvespace-$VERSION/" HEAD | tar -C "$temp" 
-xf -

echo "Running git archive on submodules..."
git submodule foreach "
        echo \"Running git archive on \$name...\"
        git archive --format=tar --prefix=\"solvespace-$VERSION/\$sm_path/\" 
HEAD | tar -C \"$temp\" -xf -
"

tar -C "$temp" -cf - "solvespace-$VERSION/" | gzip -9nf > 
"$temp/solvespace-$VERSION.tar.gz" && \
mv -f "$temp/solvespace-$VERSION.tar.gz" ./
-->8--


On Wed, May 22, 2019 at 05:27:14PM +0200, Neon King wrote:
> Hi everyone!
> 
> Due to various past errors i decided to improve my solvespace draft.
> 
> I made the archive removing windows/linux related external libs fetched
> with git to
> embed flatbuffers, libdxfrw and q3d, while using other libs from the port
> tree.Work was done from commit 39c348090bd83746a4d953b679a12c395bae6e4c.
> 
> I had to improve CMakeLists.txt and src/platform/guigtk.cpp to consider
> OpenBSD, gettext instead of xgettext and Non UTF-8 locales management. I
> did it through patches


-- 
Regards,
 Mikolaj

Attachment: solvespace-2.3.20191201.port.tar.gz
Description: application/tar-gz

Reply via email to