splix: update to 2.0.1.

This commit is contained in:
Andrea Brancaleoni 2024-10-09 18:58:04 +02:00
parent b54a27a4f8
commit 36083767ec
3 changed files with 3 additions and 41 deletions

View File

@ -1,17 +0,0 @@
--- a/rules.mk 2015-04-25 03:13:58.762185962 +0200
+++ b/rules.mk 2015-04-25 03:40:23.891254518 +0200
@@ -6,12 +6,12 @@
$(rastertoqpdl_TARGET): $(rastertoqpdl_OBJ)
$(call printCmd, $(cmd_link))
- $(Q)g++ -o $@ $^ $(rastertoqpdl_CXXFLAGS) $(rastertoqpdl_LDFLAGS) \
+ $(Q)$(CXX) -o $@ $^ $(rastertoqpdl_CXXFLAGS) $(rastertoqpdl_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) \
$(pstoqpdl_LIBS)
.PHONY: install installcms

View File

@ -1,21 +0,0 @@
From: Luca Niccoli <lultimouomo@gmail.com>
Date: Sun, 12 Jun 2011 15:30:15 +0200
Subject: Fix alignment problem on armel
---
src/qpdl.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git src/qpdl.cpp src/qpdl.cpp
index 994e1c8..a95f361 100644
--- a/src/qpdl.cpp
+++ b/src/qpdl.cpp
@@ -132,7 +132,7 @@ static bool _renderBand(const Request& request, const Band* band, bool mono)
{
unsigned long version, subVersion, size, dataSize, checkSum;
bool color, headerSent=false;
- unsigned char header[0x20];
+ unsigned char header[0x20] __attribute__((aligned(4)));
const BandPlane *plane;
version = request.printer()->qpdlVersion();

View File

@ -1,14 +1,14 @@
# Template file for 'splix'
pkgname=splix
version=2.0.0+svn315
revision=3
version=2.0.1
revision=1
makedepends="cups-devel mit-krb5-devel jbigkit-devel"
short_desc="CUPS driver for SPL printers (Samsung and several Xerox printers)"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="GPL-2.0-only"
homepage="http://splix.ap2c.org"
distfiles="${DEBIAN_SITE}/main/s/$pkgname/${pkgname}_$version.orig.tar.gz"
checksum="578a81bd5b1b97756a539c3bb6339fd109d54419887a73e705941da8aa7fac52"
checksum=b672501f16f07f3c43543708248b789d15467eacfe18f25ab8f83f0209da1f8a
CXXFLAGS="-fno-strict-aliasing"
do_build() {