pkgsrc-Changes archive

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

CVS commit: pkgsrc/math/QXlsx



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Aug 12 14:03:25 UTC 2024

Modified Files:
        pkgsrc/math/QXlsx: Makefile distinfo
Added Files:
        pkgsrc/math/QXlsx/patches: patch-QXlsx_source_xlsxworkbook.cpp

Log Message:
QXlsx: updated to 1.4.9

1.4.9
Unknown changes


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/math/QXlsx/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/math/QXlsx/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/math/QXlsx/patches/patch-QXlsx_source_xlsxworkbook.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/math/QXlsx/Makefile
diff -u pkgsrc/math/QXlsx/Makefile:1.2 pkgsrc/math/QXlsx/Makefile:1.3
--- pkgsrc/math/QXlsx/Makefile:1.2      Wed May 29 16:33:25 2024
+++ pkgsrc/math/QXlsx/Makefile  Mon Aug 12 14:03:25 2024
@@ -1,18 +1,18 @@
-# $NetBSD: Makefile,v 1.2 2024/05/29 16:33:25 adam Exp $
+# $NetBSD: Makefile,v 1.3 2024/08/12 14:03:25 adam Exp $
 
-DISTNAME=      QXlsx-1.4.7
-PKGREVISION=   1
+DISTNAME=      QXlsx-1.4.9
 CATEGORIES=    math
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=QtExcel/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      https://github.com/QtExcel/QXlsx/
+HOMEPAGE=      https://github.com/QtExcel/QXlsx
 COMMENT=       Excel file reader/writer library using Qt
 LICENSE=       mit
 
-USE_LANGUAGES= c c++
-WRKSRC=                ${WRKDIR}/${DISTNAME}/QXlsx
+USE_CXX_FEATURES=      c++17
+USE_LANGUAGES=         c c++
+CONFIGURE_DIR=         QXlsx
 
 .include "../../devel/cmake/build.mk"
 .include "../../devel/qt6-qttools/buildlink3.mk"

Index: pkgsrc/math/QXlsx/distinfo
diff -u pkgsrc/math/QXlsx/distinfo:1.1 pkgsrc/math/QXlsx/distinfo:1.2
--- pkgsrc/math/QXlsx/distinfo:1.1      Fri May  3 10:09:48 2024
+++ pkgsrc/math/QXlsx/distinfo  Mon Aug 12 14:03:25 2024
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1 2024/05/03 10:09:48 wiz Exp $
+$NetBSD: distinfo,v 1.2 2024/08/12 14:03:25 adam Exp $
 
-BLAKE2s (QXlsx-1.4.7.tar.gz) = 03865afba8f564c82cd3231f201676b349e7593b12b3bf425c5cea0dd5182287
-SHA512 (QXlsx-1.4.7.tar.gz) = 5ca8841413d5bddf1cec2c6eb4434ae18c533231adf32a8157790ba81c0b305c7f02a70475492a45ce11d1d6cf6e483bd30cafe8629aa564a46cb749e1b43f43
-Size (QXlsx-1.4.7.tar.gz) = 4705261 bytes
+BLAKE2s (QXlsx-1.4.9.tar.gz) = 1b25db3de71eedd2465d836bc640c4bc61be1d77236f7862f611dba9d5441246
+SHA512 (QXlsx-1.4.9.tar.gz) = c7b06728001b1fd8aaa5f2c881379e02717b5a63c94f491f51ba7057eace30e3a3034c0445daff25ec8a926fbaa4b0b21c833c48fe56520b0ed849308733f46f
+Size (QXlsx-1.4.9.tar.gz) = 4705247 bytes
+SHA1 (patch-QXlsx_source_xlsxworkbook.cpp) = 3f9da4ae7fe2312b2e4aed452b7730c6e8be8a55

Added files:

Index: pkgsrc/math/QXlsx/patches/patch-QXlsx_source_xlsxworkbook.cpp
diff -u /dev/null pkgsrc/math/QXlsx/patches/patch-QXlsx_source_xlsxworkbook.cpp:1.1
--- /dev/null   Mon Aug 12 14:03:25 2024
+++ pkgsrc/math/QXlsx/patches/patch-QXlsx_source_xlsxworkbook.cpp       Mon Aug 12 14:03:25 2024
@@ -0,0 +1,15 @@
+$NetBSD: patch-QXlsx_source_xlsxworkbook.cpp,v 1.1 2024/08/12 14:03:25 adam Exp $
+
+Fix error: calling a private constructor of class 'QString'.
+
+--- QXlsx/source/xlsxworkbook.cpp.orig 2024-08-11 08:21:48.310667167 +0000
++++ QXlsx/source/xlsxworkbook.cpp
+@@ -607,7 +607,7 @@ bool Workbook::loadFromXmlFile(QIODevice
+ 
+                 AbstractSheet *sheet = addSheet(name, sheetId, type);
+                 sheet->setSheetState(state);
+-                if (relationship.target.startsWith("/")) {
++                if (relationship.target.startsWith(QStringLiteral("/"))) {
+                     QString fullPath = QDir::cleanPath(relationship.target.mid(1));
+ 
+                     sheet->setFilePath(fullPath);



Home | Main Index | Thread Index | Old Index