Re: Update sysutils/bat

2022-01-14 Thread Laurent Cheylus
On Wed, 12 Jan 2022 10:55:18 - (UTC), Laurent Cheylus wrote:

> I have some issue to build bat v0.19.0 port on OpenBSD 7.0 / amd64 : 
> failed when build of libgit2-sys crate.

Problem fixed after build/install of libgit2 v0.19.0 port => bat v0.19 port 
build/install OK on OpenBSD 7.0/amd64.

Laurent



[new] net/telescope -- gemini/gopher browser

2022-01-14 Thread Omar Polo
Hello ports,

Please find attached a port for Telescope.  It's a client for the gemini
and gopher I've been working on for some time.  I sent a previous
version some months ago, this is another try updated to the latest
release :)

% pkg_info telescope
Information for inst:telescope-0.7

Comment:
multi-protocol browser

Description:
Telescope is a Emacs/w3m-inspired browser for the "small internet" that
supports Gemini, Gopher and Finger.

Maintainer: Omar Polo 

WWW: https://telescope.omarpolo.com


Comments/OK?



telescope.tar.gz
Description: Binary data


Re: [new] x11/zutty - a terminal using opengl es shader

2022-01-14 Thread Stuart Henderson
"COMMENT =   is an X terminal which uses OpenGL ES Compute Shaders"

I would prefer to remove "is an "



Re: pkg_add new issue

2022-01-14 Thread Mihai Popescu
On Fri, Jan 14, 2022 at 12:45 AM Marc Espie  wrote:

> On Thu, Jan 13, 2022 at 11:49:09PM +0200, Mihai Popescu wrote:
> > This time I got this message:
> >
> > # pkg_add -vV julius
> > Update candidates: quirks-4.93 -> quirks-4.93 (0/0)
> > quirks-4.93 signed on 2022-01-12T20:27:40Z
> > Ustar [
> >
> https://ftp2.eu.openbsd.org/pub/OpenBSD/snapshots/packages/amd64/libmikmod-3.3.11.1p0.tgz][lib/libmikmod.so.4.0
> ]:
> > Premature end of archive
> > Adjusting sha for /usr/local/lib/pkg.0rfqHXGd32 from
> > +w7pyixijnEQUh4wwLcf5XM7PtiYf6F0i4cxmzyiGSs= to
> > 47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=
>
> Well... your network connection to ftp2.eu.openbsd.org hung up.
> Not much pkg_add can do about that.
>
> Did you try again, at least ?...
>

I did. The output is included as text, right after your cut.
I think it's fine.


Re: [NEW] misc/jrnlc

2022-01-14 Thread Rafael Sadowski
On Thu Jan 13, 2022 at 08:23:16AM +0100, Matthias Schmidt wrote:
> Weekly bump.
> 
> * Matthias Schmidt wrote:
> > Hi Stefan,
> > 
> > * Stefan Hagen wrote:
> > > Matthias Schmidt wrote:
> > > > Hi,
> > > > 
> > > > weekly ping with a fresh tarball attached.
> > > 
> > > I remember that I used this tool long ago.
> > > 
> > > The port should go into category "productivity".
> > > We have other journaling tools there.
> > 
> > Fine with me.  Attached a new tarball with category changed as
> > requested.
> > 
> > > ok sdk@ with category change
> > > 
> > > Best Regards,
> > > Stefan
> > 
> > Cheers
> > 
> > Matthias
> 
> 

OK rsadowski



Update sysutils/kopia to 0.10.1

2022-01-14 Thread Denis Fondras
Released just after v0.10.0, v0.10.1 is a small bugfix.

Changelog : https://github.com/kopia/kopia/releases/tag/v0.10.1

OK ?

Index: Makefile
===
RCS file: /cvs/ports/sysutils/kopia/Makefile,v
retrieving revision 1.6
diff -u -p -r1.6 Makefile
--- Makefile27 Dec 2021 11:47:21 -  1.6
+++ Makefile14 Jan 2022 17:27:52 -
@@ -2,10 +2,11 @@
 
 COMMENT =  simple tool for managing encrypted backups in the cloud
 
+V =0.10.1
 MODGO_MODNAME =github.com/kopia/kopia
-MODGO_VERSION =v0.9.8
+MODGO_VERSION =v${V}
 
-MODGO_LDFLAGS += -X github.com/kopia/kopia/repo.BuildVersion=${MODGO_VERSION} \
+MODGO_LDFLAGS += -X github.com/kopia/kopia/repo.BuildVersion=${V} \
-X github.com/kopia/kopia/repo.BuildInfo="`date +%Y%m%d`" \
-X github.com/kopia/kopia/repo.BuildGitHubRepo="OpenBSD/ports"
 
Index: distinfo
===
RCS file: /cvs/ports/sysutils/kopia/distinfo,v
retrieving revision 1.6
diff -u -p -r1.6 distinfo
--- distinfo27 Dec 2021 11:47:21 -  1.6
+++ distinfo14 Jan 2022 17:27:52 -
@@ -98,8 +98,8 @@ SHA256 (go_modules/github.com/alecthomas
 SHA256 
(go_modules/github.com/alecthomas/units/@v/v0.0.0-20210927113745-59d0afb8317a.zip)
 = ce8xcXS4IOOK8SCFbDMTZgL07VSkbL5fjQNTvSByUVs=
 SHA256 (go_modules/github.com/antihax/optional/@v/v1.0.0.mod) = 
0sIhN/ViECf4dLEiVGzxWHIp34YY+WFbqf5OYw4oC+s=
 SHA256 (go_modules/github.com/antihax/optional/@v/v1.0.0.zip) = 
FatNQb27cu4Kxj22Fs3vx2cceeE9D3O1g1WmqIIZyX8=
-SHA256 (go_modules/github.com/aws/aws-sdk-go/@v/v1.42.23.mod) = 
Mca6Ubo0iUzAXi19lEzdXDcfOuIxbdnwd1ZDFqkywbU=
-SHA256 (go_modules/github.com/aws/aws-sdk-go/@v/v1.42.23.zip) = 
/5qMjoR3QBrRKBzgtiNzca3DC573QnXOJfji4DrEeKY=
+SHA256 (go_modules/github.com/aws/aws-sdk-go/@v/v1.42.25.mod) = 
Mca6Ubo0iUzAXi19lEzdXDcfOuIxbdnwd1ZDFqkywbU=
+SHA256 (go_modules/github.com/aws/aws-sdk-go/@v/v1.42.25.zip) = 
cZvEFePwK8zYzpXPg/Gl/yknBzoSzbwZpWQSx6brwXY=
 SHA256 (go_modules/github.com/benbjohnson/clock/@v/v1.1.0.mod) = 
G1p4mwlRuF91r2zJmyS44pM1CaTj+T8FSDGBkgWIvjE=
 SHA256 (go_modules/github.com/benbjohnson/clock/@v/v1.1.0.zip) = 
0E5EHX9Xf3hh23IwVHgQXcdf1wMDB6D6Ml4yhQAoNEU=
 SHA256 
(go_modules/github.com/beorn7/perks/@v/v0.0.0-20180321164747-3a771d992973.mod) 
= zE0fqtdZZfpp6xMSC/lWgncZAF/z7NxwSzb7WPsf0W4=
@@ -295,8 +295,6 @@ SHA256 (go_modules/github.com/googleapis
 SHA256 (go_modules/github.com/googleapis/gax-go/v2/@v/v2.1.0.mod) = 
e/PuUTqoxg8L9YOFt13kwRuVCDegYE6/XaomSmLSs7U=
 SHA256 (go_modules/github.com/googleapis/gax-go/v2/@v/v2.1.1.mod) = 
GHSwVT4NuKjyuzVoB4tC+4yNmcDFEB26/w1HKghAzyc=
 SHA256 (go_modules/github.com/googleapis/gax-go/v2/@v/v2.1.1.zip) = 
uPeg/TjOFnVR4hoMKcm7PrtMzxeezr5sWyUEzn8brd0=
-SHA256 
(go_modules/github.com/gopherjs/gopherjs/@v/v0.0.0-20181017120253-077cb4d1.mod)
 = lE+xOLxXrk6MpSw0dTJI/dLvvgYO0eCYYsWdWfsLT+s=
-SHA256 
(go_modules/github.com/gopherjs/gopherjs/@v/v0.0.0-20181017120253-077cb4d1.zip)
 = m5zMlgbf6uL7Uz92i0NwJXl9xKpZrD+PCRtk3BS/Xbc=
 SHA256 (go_modules/github.com/gorilla/mux/@v/v1.8.0.mod) = 
R/lPOCkTbcy7qn88QRD3QNs3/5Dd555rM2xzLh/ajZw=
 SHA256 (go_modules/github.com/gorilla/mux/@v/v1.8.0.zip) = 
dkGRHgCvnJHwiYaDMwZ8nLmlhwLSyeqCHuN0lACRw4U=
 SHA256 (go_modules/github.com/grpc-ecosystem/grpc-gateway/@v/v1.16.0.mod) = 
mSpR1cTPiId0CD0jqOHIf/2bBFWFq3eFcuUe4xi6oKo=
@@ -325,8 +323,6 @@ SHA256 (go_modules/github.com/json-itera
 SHA256 
(go_modules/github.com/jstemmer/go-junit-report/@v/v0.0.0-20190106144839-af01ea7f8024.mod)
 = +E886tahBRiWNVMSLbn+L9MvIaiy7iEDfwPF0+eT7LY=
 SHA256 (go_modules/github.com/jstemmer/go-junit-report/@v/v0.9.1.mod) = 
qVsAI+NBppIF01BpfuGMtRGPloGZ0ssGr1yD7XP5e9Q=
 SHA256 (go_modules/github.com/jstemmer/go-junit-report/@v/v0.9.1.zip) = 
+9IZbkpQqI+MNS92Ml9LpyM47Ox7bLdTUxfOnjqkAoQ=
-SHA256 (go_modules/github.com/jtolds/gls/@v/v4.20.0+incompatible.mod) = 
NtWo9+iF/Eqa/IUmT0YBGGwmuiOWd31SNSRFes6fCTY=
-SHA256 (go_modules/github.com/jtolds/gls/@v/v4.20.0+incompatible.zip) = 
L1H4y2EOhG3EvZs8D79r66skuwbYZtt4BOEjphsL2ew=
 SHA256 (go_modules/github.com/julienschmidt/httprouter/@v/v1.2.0.mod) = 
kUGdftg66O11TybbFXDwW5f/amFfvJHLf+gUivVn+yU=
 SHA256 (go_modules/github.com/julienschmidt/httprouter/@v/v1.3.0.mod) = 
an1sxZcYSgyz/a/is1XYRMeHmjdRt/gd7I/wIWzHu30=
 SHA256 (go_modules/github.com/julienschmidt/httprouter/@v/v1.3.0.zip) = 
5FfczXAV80BmTjuM/UGZdHE4LaL0p0PuVb5Tmrxsofk=
@@ -335,7 +331,6 @@ SHA256 (go_modules/github.com/kisielk/go
 SHA256 (go_modules/github.com/klauspost/compress/@v/v1.13.5.mod) = 
hzMbvVb5EFUKSEj77nhRzEOqVpvKMdlECSZU8IrPby4=
 SHA256 (go_modules/github.com/klauspost/compress/@v/v1.13.6.mod) = 
hzMbvVb5EFUKSEj77nhRzEOqVpvKMdlECSZU8IrPby4=
 SHA256 (go_modules/github.com/klauspost/compress/@v/v1.13.6.zip) = 
6vb7oU+s8aBPDw2fMZiOq2OL2P93mXNWPQvAuQpXwtQ=
-SHA256 (go_modules/github.com/klauspost/cpuid/@v/v1.2.3.mod) = 
m0Q7WwY1XsqR9OdzpN99ijvwyau

Re: [UPDATE] PostgreSQL 13.5

2022-01-14 Thread Jeremy Evans
On Thu, Nov 11, 2021 at 1:35 PM  wrote:

> Hello,
>
> Small diff to update PostgreSQL to version 13.5.
> It fixes 2 CVEs:
>
> https://www.postgresql.org/about/news/postgresql-141-135-129-1114-1019-and-9624-released-2349/
>
> Tested on @amd64.
> Comments, ok ?


Looks like this was committed to -current but not -stable.  I'll take care
of the -stable update shortly.

Thanks,
Jeremy


[UPDATE] print/ghostscript/gnu 9.55.0

2022-01-14 Thread Volker Schlecht

Hi,

ok, so here's my first attempt. I did manage to use system and ports 
libraries, except for jbig2dec. Here the version in ports is too old.


I bumped the shared object version from 15.0 to 16.0 - not sure if 
that's advisable and/or necessary, but I think for a first shot it's 
pretty good ;)


Looking forward to everyone's feedback. There seem to be a bunch of 
really nasty and exploitable bugs in ghostscript versions < 9.55 so I 
hope we can somehow get a more recent version into ports.


Kili, I would be willing to take over maintainership, if you want to get 
rid of it.


cu,
Volker

On 1/12/22 22:44, Matthias Kilian wrote:

Hi,

On Wed, Jan 12, 2022 at 02:48:14PM +0100, Volker Schlecht wrote:

is there a policy decision (licensing?) for sticking with ghostscript 9.07
from 2013 in ports, or is the port just hard to maintain / is there a lack
of time and interest in it?


It's hard to maintain *and* i don't have much time.

In case anyone want's to step in: it's probably best to start over
mostly from scratch and let it build all dependencies bundled in
the source tarball instead of trying to convince the broken make
system using system libraries and libraries from other ports.

Ciao,
Kili
Index: Makefile
===
RCS file: /cvs/ports/print/ghostscript/gnu/Makefile,v
retrieving revision 1.117
diff -u -p -u -p -r1.117 Makefile
--- Makefile28 Feb 2021 12:40:28 -  1.117
+++ Makefile14 Jan 2022 18:21:56 -
@@ -1,161 +1,101 @@
-# $OpenBSD: Makefile,v 1.117 2021/02/28 12:40:28 sthen Exp $
+# $OpenBSD$
 
-COMMENT=   GNU PostScript interpreter
+DPB_PROPERTIES =   parallel
 
-VERSION=   9.07
-DISTNAME=  ghostscript-${VERSION}
-CATEGORIES=print lang
-SHARED_LIBS=   gs  15.0
-REVISION=  7
+COMMENT =  PostScript and PDF interpreter
 
-MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=ghostscript/}
+VERSION =  9.55.0
+DISTNAME = ghostscript-${VERSION}
+CATEGORIES =   lang print
 
-PORTROACH= 
site:https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/
+MASTER_SITES = 
https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${VERSION:S/.//g}/
 
-HOMEPAGE=  http://www.cs.wisc.edu/~ghost/
+PORTROACH =
site:https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/
 
-MAINTAINER=Matthias Kilian 
+HOMEPAGE = https://ghostscript.com/
 
-FLAVORS=   a4 gtk no_x11
-FLAVOR?=
+MAINTAINER =   Matthias Kilian 
 
-FLAVOR_STRING= ${FLAVOR_EXT:S/-/,/g}
-
-SUBST_VARS=VERSION FLAVOR_STRING
+FLAVORS =  a4 gtk no_x11
+FLAVOR?=   no_x11
+FLAVOR_STRING =   ${FLAVOR_EXT:S/-/,/g}
 
 # AGPLv3, except for the included CMap files from Adobe, which may
 # only be redistributed without modifications.
 PERMIT_PACKAGE=Yes
 
-WANTLIB=   c iconv ijs m jbig2dec jpeg>=62 lcms2 png>=6 pthread tiff z
-
-RUN_DEPENDS=   print/ghostscript/gnu-fonts>=8.11p3
-LIB_DEPENDS=   converters/libiconv \
-   graphics/jbig2dec   \
-   graphics/jpeg   \
-   graphics/lcms2  \
-   graphics/png\
-   graphics/tiff   \
-   print/ijs
-
-CFLAGS+=   -DSYS_TYPES_HAS_STDINT_TYPES\
-   -I${LOCALBASE}/include  \
-   -I${LOCALBASE}/include/ijs
-
-STDLIBS=   -pthread -lm -liconv
-
-# Note: all the device definitions are at the very end of this makefile.
-
-MAKE_FLAGS=BINDIR=./obj\
-   CFLAGS_STANDARD='${CFLAGS} -fPIC'   \
-   COMPILE_INITS=0 \
-   DEVICE_DEVS='${DEVICES:C/.*/\$(DD)&.dev/}'  \
-   EXTRALIBS="${EXTRALIBS}"\
-   FT_BRIDGE=${FT_BRIDGE}  \
-   GLGENDIR=./obj  \
-   GLOBJDIR=./obj  \
-   GLSRCDIR=./base \
-   ICCSRCDIR=./icclib  \
-   INSTALL='${INSTALL}'\
-   INSTALL_DATA='${INSTALL_DATA}'  \
-   INSTALL_PROGRAM='${INSTALL_PROGRAM}'\
-   LIBgs_VERSION=${LIBgs_VERSION}  \
-   PSGENDIR=./obj  \
-   PSLIBDIR=./lib  \
-   PSOBJDIR=./obj  \
-   PSSRCDIR=./psi  \
-   SHARE_FT=1  \
-   SHARE_IJS=1 \
-   SHARE_JBIG2=1   \
-   SHARE_JPEG=1\
-   SHARE_LCM

lang/libv8 broken by LLVM 13 update

2022-01-14 Thread Stuart Henderson
David, you're still listed as maintainer for a few OpenBSD ports;

lang/libv8
games/barony
audio/openal

Do you want to remain listed?

The libv8 port is broken following the update to LLVM 13 and I wondered
if you had any suggestions (this is from i386 but same on amd64).
(the newer libv8 in chromium does build ok).

  c++  -pthread -m32 -L/usr/local/lib -L/usr/X11R6/lib -o 
/pobj/libv8-3.16.14.11/v8-3.16.14.11/out/ia32.release/mksnapshot 
-Wl,--start-group 
/pobj/libv8-3.16.14.11/v8-3.16.14.11/out/ia32.release/obj.target/mksnapshot/src/mksnapshot.o
 
/pobj/libv8-3.16.14.11/v8-3.16.14.11/out/ia32.release/obj.target/tools/gyp/libv8_base.a
 
/pobj/libv8-3.16.14.11/v8-3.16.14.11/out/ia32.release/obj.target/tools/gyp/libv8_nosnapshot.a
 -Wl,--end-group -L/usr/local/lib -lexecinfo
  
LD_LIBRARY_PATH=/pobj/libv8-3.16.14.11/v8-3.16.14.11/out/ia32.release/lib.host:/pobj/libv8-3.16.14.11/v8-3.16.14.11/out/ia32.release/lib.target:$LD_LIBRARY_PATH;
 export LD_LIBRARY_PATH; cd ../tools/gyp; mkdir -p 
/pobj/libv8-3.16.14.11/v8-3.16.14.11/out/ia32.release/obj.target/v8_snapshot/geni;
 "/pobj/libv8-3.16.14.11/v8-3.16.14.11/out/ia32.release/mksnapshot" 
--log-snapshot-positions --logfile 
"/pobj/libv8-3.16.14.11/v8-3.16.14.11/out/ia32.release/obj.target/v8_snapshot/geni/snapshot.log"
 
"/pobj/libv8-3.16.14.11/v8-3.16.14.11/out/ia32.release/obj.target/v8_snapshot/geni/snapshot.cc"
Segmentation fault (core dumped) 


# egdb ./v8-3.16.14.11/out/ia32.release/mksnapshot 
./v8-3.16.14.11/tools/gyp/mksnapshot.core
GNU gdb (GDB) 9.2
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "i386-unknown-openbsd7.0".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
.
Find the GDB manual and other documentation resources online at:
.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./v8-3.16.14.11/out/ia32.release/mksnapshot...
[New process 208833]

warning: Unexpected size of section `.reg2/208833' in core file.
Core was generated by `mksnapshot'.
Program terminated with signal SIGSEGV, Segmentation fault.

warning: Unexpected size of section `.reg2/208833' in core file.
#0  0x16eed910 in v8::internal::PagedSpace::EnsureSweeperProgress(long) ()
(gdb) bt
#0  0x16eed910 in v8::internal::PagedSpace::EnsureSweeperProgress(long) ()
#1  0x16eed9bc in v8::internal::PagedSpace::SlowAllocateRaw(int) ()
#2  0x16d3b546 in v8::internal::PagedSpace::AllocateRaw(int) ()
#3  0x16d42d99 in v8::internal::Heap::CreateInitialMaps() ()
#4  0x16d4f3c7 in v8::internal::Heap::SetUp(bool) ()
#5  0x16dcaf74 in v8::internal::Isolate::Init(v8::internal::Deserializer*) ()
#6  0x16f073d3 in v8::internal::V8::Initialize(v8::internal::Deserializer*) ()
#7  0x16cac881 in v8::Context::New(v8::ExtensionConfiguration*, 
v8::Handle, v8::Handle) ()
#8  0x16c92e63 in main ()



Re: [UPDATE] print/ghostscript/gnu 9.55.0

2022-01-14 Thread Crystal Kolipe
On Fri, Jan 14, 2022 at 08:16:14PM +0100, Volker Schlecht wrote:
> ok, so here's my first attempt. I did manage to use system and ports
> libraries, except for jbig2dec. Here the version in ports is too old.
> 
> I bumped the shared object version from 15.0 to 16.0 - not sure if that's
> advisable and/or necessary, but I think for a first shot it's pretty good ;)
> 
> Looking forward to everyone's feedback. There seem to be a bunch of really
> nasty and exploitable bugs in ghostscript versions < 9.55 so I hope we can
> somehow get a more recent version into ports.

As this new version is no longer 'gnu ghostscript', shouldn't the path change
to just print/ghostscript?



Re: [UPDATE] print/ghostscript/gnu 9.55.0

2022-01-14 Thread Stuart Henderson
some quick comments (some of them apply to your lang/node update too),

reformatting the whole makefile in an update (especially for a complex
port) makes it really hard to see what's changed, making review more
difficult and take longer

also re formatting, you add quite a lot of horizontal whitespace, while
80 columns isn't an absolute rule (i.e. in some cases you need to go a
bit above it to avoid a mess) in general ports should stick to that

: +FLAVOR?=   no_x11

not sure but having this as default might well cause issues with other ports

: +LIB_DEPENDS +=  graphics/jpeg graphics/openjp2 graphics/png 
graphics/tiff 
: +LIB_DEPENDS +=  print/cups,-libs print/ijs print/libpaper
: ...
: +CONFIGURE_ARGS =--prefix=${PREFIX}
: +CONFIGURE_ARGS +=   --with-gs=gs
: +CONFIGURE_ARGS +=   --enable-contrib --enable-fontconfig 
: +CONFIGURE_ARGS +=   --enable-openjpeg --without-tesseract
: +CONFIGURE_ARGS +=   --enable-freetype

ports style has separate LIB_DEPENDS/CONFIGURE_ARGS entries
on different lines not bundled together

: -SUBST_VARS=  VERSION FLAVOR_STRING

these were there for a reason, VERSION is used to avoid PLIST churn in
updates (thus making it easier to see what changed), FLAVOR_STRING is
used to construct the @pkgpath markers in the PLIST so removing it
SUBST_VARS breaks that

: +CFLAGS +="-I/usr/X11R6/include/" 

-I${X11BASE}/include

: +MAKE_FLAGS =
LIB_VERSION_MAJOR=${LIBgs_VERSION:C/.[0-9]$//1} 
LIB_VERSION_MINOR=${LIBgs_VERSION:C/^[0-9]*.//1} 

MAKE_FLAGS =LIB_VERSION_MAJOR=${LIBgs_VERSION:R} \
LIB_VERSION_MINOR=${LIBgs_VESION:E}

: +@so lib/libgs.so
: +lib/libgs.so.16

OpenBSD doesn't use library symlinks, there should only be
the .so.${LIBgs_VERSION}



On 2022/01/14 20:16, Volker Schlecht wrote:
> Hi,
> 
> ok, so here's my first attempt. I did manage to use system and ports
> libraries, except for jbig2dec. Here the version in ports is too old.
> 
> I bumped the shared object version from 15.0 to 16.0 - not sure if that's
> advisable and/or necessary, but I think for a first shot it's pretty good ;)
> 
> Looking forward to everyone's feedback. There seem to be a bunch of really
> nasty and exploitable bugs in ghostscript versions < 9.55 so I hope we can
> somehow get a more recent version into ports.
> 
> Kili, I would be willing to take over maintainership, if you want to get rid
> of it.
> 
> cu,
> Volker
> 
> On 1/12/22 22:44, Matthias Kilian wrote:
> > Hi,
> > 
> > On Wed, Jan 12, 2022 at 02:48:14PM +0100, Volker Schlecht wrote:
> > > is there a policy decision (licensing?) for sticking with ghostscript 9.07
> > > from 2013 in ports, or is the port just hard to maintain / is there a lack
> > > of time and interest in it?
> > 
> > It's hard to maintain *and* i don't have much time.
> > 
> > In case anyone want's to step in: it's probably best to start over
> > mostly from scratch and let it build all dependencies bundled in
> > the source tarball instead of trying to convince the broken make
> > system using system libraries and libraries from other ports.
> > 
> > Ciao,
> > Kili
> > 

> Index: Makefile
> ===
> RCS file: /cvs/ports/print/ghostscript/gnu/Makefile,v
> retrieving revision 1.117
> diff -u -p -u -p -r1.117 Makefile
> --- Makefile  28 Feb 2021 12:40:28 -  1.117
> +++ Makefile  14 Jan 2022 18:21:56 -
> @@ -1,161 +1,101 @@
> -# $OpenBSD: Makefile,v 1.117 2021/02/28 12:40:28 sthen Exp $
> +# $OpenBSD$
>  
> -COMMENT= GNU PostScript interpreter
> +DPB_PROPERTIES =   parallel
>  
> -VERSION= 9.07
> -DISTNAME=ghostscript-${VERSION}
> -CATEGORIES=  print lang
> -SHARED_LIBS= gs  15.0
> -REVISION=7
> +COMMENT =  PostScript and PDF interpreter
>  
> -MASTER_SITES=${MASTER_SITE_SOURCEFORGE:=ghostscript/}
> +VERSION =  9.55.0
> +DISTNAME = ghostscript-${VERSION}
> +CATEGORIES =   lang print
>  
> -PORTROACH=   
> site:https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/
> +MASTER_SITES = 
> https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${VERSION:S/.//g}/
>  
> -HOMEPAGE=http://www.cs.wisc.edu/~ghost/
> +PORTROACH =
> site:https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/
>  
> -MAINTAINER=  Matthias Kilian 
> +HOMEPAGE = https://ghostscript.com/
>  
> -FLAVORS= a4 gtk no_x11
> -FLAVOR?=
> +MAINTAINER =   Matthias Kilian 
>  
> -FLAVOR_STRING=   ${FLAVOR_EXT:S/-/,/g}
> -
> -SUBST_VARS=  VERSION FLAVOR_STRING
> +FLAVORS =  a4 gtk no_x11
> +FLAVOR?=   no_x11
> +FLAVOR_STRING = ${FLAVOR_EXT:S/-/,/g}
>  
>  # AGPL

Re: [UPDATE] print/ghostscript/gnu 9.55.0

2022-01-14 Thread Stuart Henderson
On 2022/01/14 20:20, Stuart Henderson wrote:
> : +FLAVOR?=   no_x11
> 
> not sure but having this as default might well cause issues with other ports

scrub the "not sure"; libspectre requires a not no_x11 build
and that's depended on by various other ports, we can't have a no_x11
version installed as a dependency during ports builds.



Re: [UPDATE] print/ghostscript/gnu 9.55.0

2022-01-14 Thread Stuart Henderson
On 2022/01/14 17:05, Crystal Kolipe wrote:
> As this new version is no longer 'gnu ghostscript', shouldn't the path change
> to just print/ghostscript?

No because there is another subdirectory under print/ghostscript

Maybe it could change to something else, but should be decoupled from the
update as it will involve changing the other ports using it, and it's
already complex enough



Re: [UPDATE] print/ghostscript/gnu 9.55.0

2022-01-14 Thread Crystal Kolipe
On Fri, Jan 14, 2022 at 08:26:28PM +, Stuart Henderson wrote:
> On 2022/01/14 17:05, Crystal Kolipe wrote:
> > As this new version is no longer 'gnu ghostscript', shouldn't the path 
> > change
> > to just print/ghostscript?
> 
> No because there is another subdirectory under print/ghostscript

What, the fonts?

By the way, you do know that the homepage link in the makefile has been broken 
for ages:

http://www.cs.wisc.edu/~ghost/doc/cvs/Fonts.htm

:)



Re: Add support for PINE H64 model B

2022-01-14 Thread Klemens Nanni
On Fri, Jan 14, 2022 at 11:30:00AM +0800, Kevin Lo wrote:
> Fixed, thanks.

> Fair enough.  Compared to patch files, comments are more direct, descriptive
> and easy to understand.  Here's the revised diff:

OK with me



Re: [UPDATE] print/ghostscript/gnu 9.55.0

2022-01-14 Thread Volker Schlecht

On 1/14/22 21:20, Stuart Henderson wrote:


reformatting the whole makefile in an update (especially for a complex
port) makes it really hard to see what's changed, making review more
difficult and take longer


Yes, sorry about that. But I did follow kili@'s advice and started to 
build the Makefile from scratch (of course copying in the parts that 
continue to be needed).


Same goes for my node update ... I didn't mean them to be incremental 
updates. Nevertheless: point taken!



also re formatting, you add quite a lot of horizontal whitespace, while
80 columns isn't an absolute rule (i.e. in some cases you need to go a
bit above it to avoid a mess) in general ports should stick to that


Got it. Removed a large swath of whitespace.


: +FLAVOR?=   no_x11

not sure but having this as default might well cause issues with other ports


That was a leftover from my last test build and unintended.



: +LIB_DEPENDS +=  graphics/jpeg graphics/openjp2 graphics/png 
graphics/tiff
: +LIB_DEPENDS +=  print/cups,-libs print/ijs print/libpaper
: ...
: +CONFIGURE_ARGS =--prefix=${PREFIX}
: +CONFIGURE_ARGS +=   --with-gs=gs
: +CONFIGURE_ARGS +=   --enable-contrib --enable-fontconfig
: +CONFIGURE_ARGS +=   --enable-openjpeg --without-tesseract
: +CONFIGURE_ARGS +=   --enable-freetype

ports style has separate LIB_DEPENDS/CONFIGURE_ARGS entries
on different lines not bundled together


I am not 100% sure I understand what you mean by this, but I hope the 
attached patch fixes it.




: -SUBST_VARS=  VERSION FLAVOR_STRING

these were there for a reason, VERSION is used to avoid PLIST churn in
updates (thus making it easier to see what changed), FLAVOR_STRING is
used to construct the @pkgpath markers in the PLIST so removing it
SUBST_VARS breaks that


Thanks!


MAKE_FLAGS =LIB_VERSION_MAJOR=${LIBgs_VERSION:R} \
LIB_VERSION_MINOR=${LIBgs_VESION:E}


Fixed.


: +@so lib/libgs.so
: +lib/libgs.so.16

OpenBSD doesn't use library symlinks, there should only be
the .so.${LIBgs_VERSION}


Fixed.

By the way, the removed share/ghostscript/${VERSION}/Resource/Init/
files are now compiled in. If there's a value in having them, we can get 
them back with --disable-compile-inits. I just didn't see the point in 
using that, because we're not sharing them across ports as far as I can 
tell.
Index: Makefile
===
RCS file: /cvs/ports/print/ghostscript/gnu/Makefile,v
retrieving revision 1.117
diff -u -p -u -p -r1.117 Makefile
--- Makefile28 Feb 2021 12:40:28 -  1.117
+++ Makefile14 Jan 2022 20:52:29 -
@@ -1,161 +1,112 @@
-# $OpenBSD: Makefile,v 1.117 2021/02/28 12:40:28 sthen Exp $
+# $OpenBSD$
 
-COMMENT=   GNU PostScript interpreter
+DPB_PROPERTIES = parallel
 
-VERSION=   9.07
-DISTNAME=  ghostscript-${VERSION}
-CATEGORIES=print lang
-SHARED_LIBS=   gs  15.0
-REVISION=  7
+COMMENT =PostScript and PDF interpreter
 
-MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=ghostscript/}
+VERSION =9.55.0
+DISTNAME =   ghostscript-${VERSION}
+CATEGORIES = lang print
 
-PORTROACH= 
site:https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/
+MASTER_SITES =   
https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${VERSION:S/.//g}/
 
-HOMEPAGE=  http://www.cs.wisc.edu/~ghost/
+PORTROACH =  
site:https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/
 
-MAINTAINER=Matthias Kilian 
+HOMEPAGE =   https://ghostscript.com/
 
-FLAVORS=   a4 gtk no_x11
-FLAVOR?=
-
-FLAVOR_STRING= ${FLAVOR_EXT:S/-/,/g}
+MAINTAINER = Matthias Kilian 
 
-SUBST_VARS=VERSION FLAVOR_STRING
+FLAVORS =a4 gtk no_x11
+FLAVOR?=
+FLAVOR_STRING =${FLAVOR_EXT:S/-/,/g}
 
 # AGPLv3, except for the included CMap files from Adobe, which may
 # only be redistributed without modifications.
-PERMIT_PACKAGE=Yes
-
-WANTLIB=   c iconv ijs m jbig2dec jpeg>=62 lcms2 png>=6 pthread tiff z
+PERMIT_PACKAGE= Yes
 
-RUN_DEPENDS=   print/ghostscript/gnu-fonts>=8.11p3
-LIB_DEPENDS=   converters/libiconv \
-   graphics/jbig2dec   \
-   graphics/jpeg   \
-   graphics/lcms2  \
-   graphics/png\
-   graphics/tiff   \
-   print/ijs
-
-CFLAGS+=   -DSYS_TYPES_HAS_STDINT_TYPES\
-   -I${LOCALBASE}/include  \
-   -I${LOCALBASE}/include/ijs
-
-STDLIBS=   -pthread -lm -liconv
-
-# Note: all the device definitions are at the very end of this makefile.
-
-MAKE_FLAGS=BINDIR=./obj\
-   CFLAGS_STANDARD='${CFLAGS} -fPIC'   \
-   COMPILE_INITS=0 \
-   DEVICE_DEVS='${DEVICES:C/.*/\$(DD)&.dev/}'  

Re: NEW: libcrossguid 0.2.2

2022-01-14 Thread Stuart Henderson
I recreated my patch, not sure if it needs anything different for BE or
not, it needs testing on a BE machine and check this;

: ===>  Regression tests for libcrossguid-0.2.3.20211002
: /usr/obj/ports/libcrossguid-0.2.3.20211002/build-amd64/crossguid-test
: 7f6b1ed9-9634-41d8-92d9-a77f0514b99b
: 7d5440e0-b13b-4866-abcb-7444f42c330a
: cb699fc3-3dc2-409a-b77a-5ccd71d49322
^
that digit should be constant and always 4



libcrossguid.tgz
Description: application/tar-gz


Re: UPDATE: jbig2dec 0.19

2022-01-14 Thread Stuart Henderson
On 2022/01/14 15:30, Brad Smith wrote:
> Here is an update to jbig2dec 0.19.

checked with my jbig2 test pdfs in ghostscript+mupdf and committed.



Re: [UPDATE] print/ghostscript/gnu 9.55.0

2022-01-14 Thread Volker Schlecht

... and here's ghostscript using it.

On 1/14/22 22:35, Brad Smith wrote:

On 1/14/2022 2:16 PM, Volker Schlecht wrote:


Hi,

ok, so here's my first attempt. I did manage to use system and ports 
libraries, except for jbig2dec. Here the version in ports is too old.


jbig2dec has been updated.Index: Makefile
===
RCS file: /cvs/ports/print/ghostscript/gnu/Makefile,v
retrieving revision 1.117
diff -u -p -u -p -r1.117 Makefile
--- Makefile28 Feb 2021 12:40:28 -  1.117
+++ Makefile14 Jan 2022 21:50:59 -
@@ -1,161 +1,117 @@
-# $OpenBSD: Makefile,v 1.117 2021/02/28 12:40:28 sthen Exp $
+# $OpenBSD$
 
-COMMENT=   GNU PostScript interpreter
+DPB_PROPERTIES = parallel
 
-VERSION=   9.07
-DISTNAME=  ghostscript-${VERSION}
-CATEGORIES=print lang
-SHARED_LIBS=   gs  15.0
-REVISION=  7
+COMMENT =PostScript and PDF interpreter
 
-MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=ghostscript/}
+VERSION =9.55.0
+DISTNAME =   ghostscript-${VERSION}
+CATEGORIES = lang print
 
-PORTROACH= 
site:https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/
+MASTER_SITES =   
https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${VERSION:S/.//g}/
 
-HOMEPAGE=  http://www.cs.wisc.edu/~ghost/
+PORTROACH =  
site:https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/
 
-MAINTAINER=Matthias Kilian 
+HOMEPAGE =   https://ghostscript.com/
 
-FLAVORS=   a4 gtk no_x11
-FLAVOR?=
+MAINTAINER = Matthias Kilian 
 
-FLAVOR_STRING= ${FLAVOR_EXT:S/-/,/g}
-
-SUBST_VARS=VERSION FLAVOR_STRING
+FLAVORS =a4 gtk no_x11
+FLAVOR?= gtk
+FLAVOR_STRING =${FLAVOR_EXT:S/-/,/g}
 
 # AGPLv3, except for the included CMap files from Adobe, which may
 # only be redistributed without modifications.
-PERMIT_PACKAGE=Yes
-
-WANTLIB=   c iconv ijs m jbig2dec jpeg>=62 lcms2 png>=6 pthread tiff z
-
-RUN_DEPENDS=   print/ghostscript/gnu-fonts>=8.11p3
-LIB_DEPENDS=   converters/libiconv \
-   graphics/jbig2dec   \
-   graphics/jpeg   \
-   graphics/lcms2  \
-   graphics/png\
-   graphics/tiff   \
-   print/ijs
-
-CFLAGS+=   -DSYS_TYPES_HAS_STDINT_TYPES\
-   -I${LOCALBASE}/include  \
-   -I${LOCALBASE}/include/ijs
-
-STDLIBS=   -pthread -lm -liconv
-
-# Note: all the device definitions are at the very end of this makefile.
-
-MAKE_FLAGS=BINDIR=./obj\
-   CFLAGS_STANDARD='${CFLAGS} -fPIC'   \
-   COMPILE_INITS=0 \
-   DEVICE_DEVS='${DEVICES:C/.*/\$(DD)&.dev/}'  \
-   EXTRALIBS="${EXTRALIBS}"\
-   FT_BRIDGE=${FT_BRIDGE}  \
-   GLGENDIR=./obj  \
-   GLOBJDIR=./obj  \
-   GLSRCDIR=./base \
-   ICCSRCDIR=./icclib  \
-   INSTALL='${INSTALL}'\
-   INSTALL_DATA='${INSTALL_DATA}'  \
-   INSTALL_PROGRAM='${INSTALL_PROGRAM}'\
-   LIBgs_VERSION=${LIBgs_VERSION}  \
-   PSGENDIR=./obj  \
-   PSLIBDIR=./lib  \
-   PSOBJDIR=./obj  \
-   PSSRCDIR=./psi  \
-   SHARE_FT=1  \
-   SHARE_IJS=1 \
-   SHARE_JBIG2=1   \
-   SHARE_JPEG=1\
-   SHARE_LCMS=1\
-   SHARE_LIBPNG=1  \
-   SHARE_LIBTIFF=1 \
-   SHARE_ZLIB=1\
-   SOBINRELDIR=../obj  \
-   SOOBJRELDIR=../obj  \
-   SOC_CFLAGS="${SOC_CFLAGS}"  \
-   SOC_LIBS="${SOC_LIBS}"  \
-   STDLIBS='${STDLIBS}'\
-   SYNC=posync \
-   TRUE_PREFIX='${LOCALBASE}'  \
-   USE_GTK=${USE_GTK}  \
-   XLDFLAGS=-L${LOCALBASE}/lib \
-   prefix='${PREFIX}'
+PERMIT_PACKAGE= Yes
 
-USE_GMAKE= Yes
+COMPILER =   base-clang ports-gcc
 
-ALL_TARGET =   so all ${ALL_TARGET_CUPS}
-INSTALL_TARGET =   install install-so
+SHARED_LIBS =gs 16.0
 
-SOC_LIBS = -liconv -pthread
-
-.if ${FLAVOR:Ma4}
-CFLAGS+=   -DA4
-.endif
+CFLAGS = -DSYS_TYP

Re: [UPDATE] print/ghostscript/gnu 9.55.0

2022-01-14 Thread Volker Schlecht

And now without the gtk flavour as default ... :(

On 1/14/22 22:56, Volker Schlecht wrote:

... and here's ghostscript using it.

On 1/14/22 22:35, Brad Smith wrote:

On 1/14/2022 2:16 PM, Volker Schlecht wrote:


Hi,

ok, so here's my first attempt. I did manage to use system and ports 
libraries, except for jbig2dec. Here the version in ports is too old.


jbig2dec has been updated.Index: Makefile
===
RCS file: /cvs/ports/print/ghostscript/gnu/Makefile,v
retrieving revision 1.117
diff -u -p -u -p -r1.117 Makefile
--- Makefile28 Feb 2021 12:40:28 -  1.117
+++ Makefile14 Jan 2022 21:58:48 -
@@ -1,161 +1,117 @@
-# $OpenBSD: Makefile,v 1.117 2021/02/28 12:40:28 sthen Exp $
+# $OpenBSD$
 
-COMMENT=   GNU PostScript interpreter
+DPB_PROPERTIES = parallel
 
-VERSION=   9.07
-DISTNAME=  ghostscript-${VERSION}
-CATEGORIES=print lang
-SHARED_LIBS=   gs  15.0
-REVISION=  7
+COMMENT =PostScript and PDF interpreter
 
-MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=ghostscript/}
+VERSION =9.55.0
+DISTNAME =   ghostscript-${VERSION}
+CATEGORIES = lang print
 
-PORTROACH= 
site:https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/
+MASTER_SITES =   
https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${VERSION:S/.//g}/
 
-HOMEPAGE=  http://www.cs.wisc.edu/~ghost/
+PORTROACH =  
site:https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/
 
-MAINTAINER=Matthias Kilian 
+HOMEPAGE =   https://ghostscript.com/
 
-FLAVORS=   a4 gtk no_x11
-FLAVOR?=
+MAINTAINER = Matthias Kilian 
 
-FLAVOR_STRING= ${FLAVOR_EXT:S/-/,/g}
-
-SUBST_VARS=VERSION FLAVOR_STRING
+FLAVORS =a4 gtk no_x11
+FLAVOR?= 
+FLAVOR_STRING =${FLAVOR_EXT:S/-/,/g}
 
 # AGPLv3, except for the included CMap files from Adobe, which may
 # only be redistributed without modifications.
-PERMIT_PACKAGE=Yes
-
-WANTLIB=   c iconv ijs m jbig2dec jpeg>=62 lcms2 png>=6 pthread tiff z
-
-RUN_DEPENDS=   print/ghostscript/gnu-fonts>=8.11p3
-LIB_DEPENDS=   converters/libiconv \
-   graphics/jbig2dec   \
-   graphics/jpeg   \
-   graphics/lcms2  \
-   graphics/png\
-   graphics/tiff   \
-   print/ijs
-
-CFLAGS+=   -DSYS_TYPES_HAS_STDINT_TYPES\
-   -I${LOCALBASE}/include  \
-   -I${LOCALBASE}/include/ijs
-
-STDLIBS=   -pthread -lm -liconv
-
-# Note: all the device definitions are at the very end of this makefile.
-
-MAKE_FLAGS=BINDIR=./obj\
-   CFLAGS_STANDARD='${CFLAGS} -fPIC'   \
-   COMPILE_INITS=0 \
-   DEVICE_DEVS='${DEVICES:C/.*/\$(DD)&.dev/}'  \
-   EXTRALIBS="${EXTRALIBS}"\
-   FT_BRIDGE=${FT_BRIDGE}  \
-   GLGENDIR=./obj  \
-   GLOBJDIR=./obj  \
-   GLSRCDIR=./base \
-   ICCSRCDIR=./icclib  \
-   INSTALL='${INSTALL}'\
-   INSTALL_DATA='${INSTALL_DATA}'  \
-   INSTALL_PROGRAM='${INSTALL_PROGRAM}'\
-   LIBgs_VERSION=${LIBgs_VERSION}  \
-   PSGENDIR=./obj  \
-   PSLIBDIR=./lib  \
-   PSOBJDIR=./obj  \
-   PSSRCDIR=./psi  \
-   SHARE_FT=1  \
-   SHARE_IJS=1 \
-   SHARE_JBIG2=1   \
-   SHARE_JPEG=1\
-   SHARE_LCMS=1\
-   SHARE_LIBPNG=1  \
-   SHARE_LIBTIFF=1 \
-   SHARE_ZLIB=1\
-   SOBINRELDIR=../obj  \
-   SOOBJRELDIR=../obj  \
-   SOC_CFLAGS="${SOC_CFLAGS}"  \
-   SOC_LIBS="${SOC_LIBS}"  \
-   STDLIBS='${STDLIBS}'\
-   SYNC=posync \
-   TRUE_PREFIX='${LOCALBASE}'  \
-   USE_GTK=${USE_GTK}  \
-   XLDFLAGS=-L${LOCALBASE}/lib \
-   prefix='${PREFIX}'
+PERMIT_PACKAGE= Yes
 
-USE_GMAKE= Yes
+COMPILER =   base-clang ports-gcc
 
-ALL_TARGET =   so all ${ALL_TARGET_CUPS}
-INSTALL_TARGET =   install install-so
+SHARED_LIBS =gs 16.0
 
-SOC_LIBS = -lic

Re: [new] net/telescope -- gemini/gopher browser

2022-01-14 Thread Brian Callahan
Hi Omar --

On 1/14/2022 5:55 AM, Omar Polo wrote:
> Hello ports,
> 
> Please find attached a port for Telescope.  It's a client for the gemini
> and gopher I've been working on for some time.  I sent a previous
> version some months ago, this is another try updated to the latest
> release :)
> 
> % pkg_info telescope
> Information for inst:telescope-0.7
> 
> Comment:
> multi-protocol browser
> 
> Description:
> Telescope is a Emacs/w3m-inspired browser for the "small internet" that
> supports Gemini, Gopher and Finger.
> 
> Maintainer: Omar Polo 
> 
> WWW: https://telescope.omarpolo.com
> 
> 
> Comments/OK?
> 

Two quick comments:
1. Does it make sense to extend the comment to "multi-protocol browser
for the small internet" or "multi-protocol browser for Gemini, Gopher,
and Finger"? I know it goes on to explain it in the DESCR, but that way
a user can't possibly miss that this is definitely not a WWW browser.

2. All the about: pages with the exception of about:about tell me file
not found. Is that intentional or am I doing something wrong?

Other than that, it works fine on amd64, i386, and armv7. I'm able to
browser Geminispace and Gopherspace on all those platforms. ok for me
pending the resolutions (if any) to the 2 points above.

~Brian



graphics/cairo: fix on big endian

2022-01-14 Thread Tobias Heider
Hi,

GTK is currently broken on big endian archs.  I traced
the problem down to cairo.  It looks like the switch to
meson as build system has broken the endianness check that
was previously done by autoconf.

An upstream fix was committed with the following pull request:
https://gitlab.freedesktop.org/cairo/cairo/-/merge_requests/214

The diff below fixes the bug on my PowerBook G4.
ok?

Index: Makefile
===
RCS file: /cvs/ports/graphics/cairo/Makefile,v
retrieving revision 1.73
diff -u -p -r1.73 Makefile
--- Makefile7 Nov 2021 19:35:33 -   1.73
+++ Makefile14 Jan 2022 22:41:47 -
@@ -3,7 +3,7 @@
 COMMENT=   vector graphics library
 
 DISTNAME=  cairo-1.17.4
-REVISION=  0
+REVISION=  1
 
 CATEGORIES=graphics
 DPB_PROPERTIES=parallel
Index: patches/patch-meson_build
===
RCS file: /cvs/ports/graphics/cairo/patches/patch-meson_build,v
retrieving revision 1.1
diff -u -p -r1.1 patch-meson_build
--- patches/patch-meson_build   25 Oct 2021 07:21:40 -  1.1
+++ patches/patch-meson_build   14 Jan 2022 22:41:47 -
@@ -12,6 +12,13 @@ Subject: [PATCH] meson: fix library vers
 
 Last chunk: LD_PRELOAD is supported on OpenBSD
 
+commit e2c002c570c42cb883e41f0dfabfdb0651edbe9b
+Author: Adrian Johnson 
+Date:   Sun Jul 25 11:59:40 2021 +0930
+
+meson: add endian check
+Fixes #464
+
 Index: meson.build
 --- meson.build.orig
 +++ meson.build
@@ -52,7 +59,30 @@ Index: meson.build
  if cc.get_id() == 'msvc'
# Basic usage in the cairo type system that causes spammy and useless 
warnings
add_project_arguments('/wd4244', '/wd4146',
-@@ -312,8 +331,7 @@ if xcb_dep.found() and xcb_render_dep.found()
+@@ -116,6 +135,22 @@ extra_link_args = []
+ 
+ conf = configuration_data()
+ 
++if host_machine.endian() == 'big'
++  conf.set('WORDS_BIGENDIAN', 1)
++endif
++
++float_order = cc.get_define('__FLOAT_WORD_ORDER__')
++if float_order != ''
++  if float_order == cc.get_define('__ORDER_BIG_ENDIAN__')
++conf.set('FLOAT_WORDS_BIGENDIAN', 1)
++  endif
++else
++  # Assume same as platform endian
++  if host_machine.endian() == 'big'
++conf.set('FLOAT_WORDS_BIGENDIAN', 1)
++  endif
++endif
++
+ lzo_dep = dependency('lzo2', required: false)
+ if lzo_dep.found()
+   deps += [lzo_dep]
+@@ -312,8 +347,7 @@ if xcb_dep.found() and xcb_render_dep.found()
  endif
  
  if feature_conf.get('CAIRO_HAS_XCB_SURFACE', 0) == 1 and 
feature_conf.get('CAIRO_HAS_XLIB_SURFACE', 0) == 1
@@ -62,7 +92,7 @@ Index: meson.build
if x11xcb_dep.found()
  deps += [x11xcb_dep]
  feature_conf.set('CAIRO_HAS_XLIB_XCB_FUNCTIONS', 1)
-@@ -832,7 +850,7 @@ if not ['x86', 'x86_64'].contains(host_machine.cpu_fam
+@@ -832,7 +866,7 @@ if not ['x86', 'x86_64'].contains(host_machine.cpu_fam
conf.set('ATOMIC_OP_NEEDS_MEMORY_BARRIER', 1)
  endif
  



Re: pta(1)

2022-01-14 Thread Ed Ahlsen-Girard
On Fri, 14 Jan 2022 09:28:15 +0100
Stefan Hagen  wrote:

> Hi Ed,
> 
> Ed Ahlsen-Girard wrote:
>  [...]  
> 
> Are you sure you installed this from packages or ports? I searched on
> a mirror that contains all releases, and we never had a package
> matching "*pta*tgz".
> 
> I also checked on a 6.9 machine and couldn't find a package that is
> providing (s)bin/pta.
> 
> Best Regards,
> Stefan

Frankly, no. I had decided to try it several months ago, had not done
much, and I don't remember exactly what the process was.

Checking the project site.

-- 

Edward Ahlsen-Girard
Ft Walton Beach, FL