Index | Thread | Search

From:
Antoine Jacoutot <ajacoutot@bsdfrog.org>
Subject:
Re: Is print/splix 2.0.1 update on your radar?
To:
Mikolaj Kucharski <mikolaj@kucharski.name>
Cc:
ports@openbsd.org
Date:
Sun, 9 Nov 2025 13:08:13 +0100

Download raw body.

Thread
On Sun, Nov 09, 2025 at 10:39:48AM +0000, Mikolaj Kucharski wrote:
> On Sun, Nov 09, 2025 at 10:03:14AM +0100, Antoine Jacoutot wrote:
> > On Sat, Nov 08, 2025 at 10:57:50PM +0000, Mikolaj Kucharski wrote:
> > > Hi Antoine,
> > > 
> > > I have an issue configuring CUPS with Samsung M2070 laser printer, and I
> > > wanted to look into updating splix package. I barely started and wanted
> > > to ask before I move forward. Do you have maybe some in progress update
> > > already?
> > > 
> > > I did only the Makefile. Looking into the patches is next step..
> > 
> > Feel free to update it.
> > I though it was pretty much unmaintained and did not look at it.
> > 
> > Thanks.
> > 
> 
> Ok, it was easier than I expected. However, this seems like a no-op
> update, as I don't see any difference in the output of `lpinfo -m`
> before and after the update.
> 
> - updated splix version
> - updated patches, 1 patch needed adjustment
> - updated plist, no change

Thanks, I've updated it to the latest git commit.
It seems to be back in development mode and 2.0.1 was already missing
several changes.

> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/print/splix/Makefile,v
> diff -u -p -u -r1.27 Makefile
> --- Makefile	27 Sep 2023 14:32:03 -0000	1.27
> +++ Makefile	9 Nov 2025 10:32:42 -0000
> @@ -1,28 +1,27 @@
>  COMMENT=	CUPS drivers for SPL printers
>  
> -V=		2.0.1.20130902
> -DISTNAME=	splix-${V}svn
> +GH_ACCOUNT=	OpenPrinting
> +GH_PROJECT=	splix
> +GH_TAGNAME=	2.0.1
> +
> +V=		${GH_TAGNAME}.20240402
>  PKGNAME=	splix-${V}
> -EXTRACT_SUFX=	.tar.bz2
> -WRKDIST=	${WRKDIR}/splix
> -REVISION=	4
> +EXTRACT_SUFX=	.tar.xz
>  
>  CATEGORIES=	print
>  
> -HOMEPAGE=	http://splix.ap2c.org/
> +HOMEPAGE=	https://openprinting.github.io/splix/
>  
>  MAINTAINER=	Antoine Jacoutot <ajacoutot@openbsd.org>
>  
> +SITES=		https://github.com/OpenPrinting/splix/releases/download/${GH_TAGNAME}/
> +
>  # GPLv2
>  PERMIT_PACKAGE=	Yes
>  
>  WANTLIB += ${COMPILER_LIBCXX} c cups cupsimage jbig85 m
>  
>  COMPILER=	base-clang ports-gcc base-gcc
> -
> -# snapshot of SVN (Fedora tarball)
> -SITES=	http://pkgs.fedoraproject.org/repo/pkgs/splix/${DISTNAME}${EXTRACT_SUFX}/2901e9482dd1a7c44f7b730696868e09/
> -#SITES=	${SITE_SOURCEFORGE:=splix/}
>  
>  LIB_DEPENDS=	print/cups,-libs \
>  		graphics/jbigkit
> Index: distinfo
> ===================================================================
> RCS file: /cvs/ports/print/splix/distinfo,v
> diff -u -p -u -r1.3 distinfo
> --- distinfo	22 Nov 2013 08:09:16 -0000	1.3
> +++ distinfo	9 Nov 2025 10:32:42 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (splix-2.0.1.20130902svn.tar.bz2) = EU3KeX7vjwv/OhRVqyo8ABpzz97O2D51ldPEO8wgefY=
> -SIZE (splix-2.0.1.20130902svn.tar.bz2) = 128109
> +SHA256 (splix-2.0.1.tar.xz) = UzlG1XiXv2Kiz4905IgljhH6DFUCj61DraJMVobzigY=
> +SIZE (splix-2.0.1.tar.xz) = 93032
> Index: patches/patch-rules_mk
> ===================================================================
> RCS file: /cvs/ports/print/splix/patches/patch-rules_mk,v
> diff -u -p -u -r1.3 patch-rules_mk
> --- patches/patch-rules_mk	11 Mar 2022 19:51:08 -0000	1.3
> +++ patches/patch-rules_mk	9 Nov 2025 10:32:42 -0000
> @@ -5,14 +5,14 @@ Index: rules.mk
>   
>   $(rastertoqpdl_TARGET): $(rastertoqpdl_OBJ)
>   	$(call printCmd, $(cmd_link))
> --	$(Q)g++ -o $@ $^ $(rastertoqpdl_CXXFLAGS) $(rastertoqpdl_LDFLAGS) \
> -+	$(Q)${CXX} -o $@ $^ $(rastertoqpdl_CXXFLAGS) $(rastertoqpdl_LDFLAGS) $(LDFLAGS) \
> +-	$(Q)$(CXX) -o $@ $^ $(rastertoqpdl_CXXFLAGS) $(rastertoqpdl_LDFLAGS) \
> ++	$(Q)$(CXX) -o $@ $^ $(rastertoqpdl_CXXFLAGS) $(rastertoqpdl_LDFLAGS) $(LDFLAGS) \
>   		$(rastertoqpdl_LIBS)
>   
>   $(pstoqpdl_TARGET): $(pstoqpdl_OBJ)
>   	$(call printCmd, $(cmd_link))
> --	$(Q)g++ -o $@ $^ $(pstoqpdl_CXXFLAGS) $(pstoqpdl_LDFLAGS) \
> -+	$(Q)${CXX} -o $@ $^ $(pstoqpdl_CXXFLAGS) $(pstoqpdl_LDFLAGS) $(LDFLAGS) \
> +-	$(Q)$(CXX) -o $@ $^ $(pstoqpdl_CXXFLAGS) $(pstoqpdl_LDFLAGS) \
> ++	$(Q)$(CXX) -o $@ $^ $(pstoqpdl_CXXFLAGS) $(pstoqpdl_LDFLAGS) $(LDFLAGS) \
>   		$(pstoqpdl_LIBS)
>   
>   .PHONY: install installcms
> Index: pkg/README
> ===================================================================
> RCS file: /cvs/ports/print/splix/pkg/README,v
> diff -u -p -u -r1.7 README
> --- pkg/README	11 Mar 2022 19:51:08 -0000	1.7
> +++ pkg/README	9 Nov 2025 10:32:42 -0000
> @@ -29,4 +29,4 @@ To obtain the color profile files downlo
>  for your printer and look in the "cms" directory.
>  
>  Samsung color profile files are available at
> -    http://splix.ap2c.org/samsung_cms.tar.bz2
> +    https://openprinting.github.io/splix/samsung_cms.tar.bz2
> 
> 
> -- 
> Regards,
>  Mikolaj

-- 
Antoine