commit libdxfrw for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libdxfrw for openSUSE:Factory checked in at 2023-06-30 19:59:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libdxfrw (Old) and /work/SRC/openSUSE:Factory/.libdxfrw.new.13546 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "libdxfrw" Fri Jun 30 19:59:49 2023 rev:15 rq:1096077 version:2.2.0+git.20221210 Changes: -------- --- /work/SRC/openSUSE:Factory/libdxfrw/libdxfrw.changes 2022-09-26 18:48:23.876076261 +0200 +++ /work/SRC/openSUSE:Factory/.libdxfrw.new.13546/libdxfrw.changes 2023-06-30 20:00:09.618103140 +0200 @@ -1,0 +2,12 @@ +Fri Jun 23 06:08:55 UTC 2023 - jslaby@suse.cz + +- Update to version 2.2.0+git.20221210: + * fix: DWG reading failed always after 1st error + * Do not treat warnings as errors on MSVC + * fixed #64, DRW_Solid::fourthCorner() returns wrong coord + * fixed #71, erroneous upper/lower string comparison + * README.md : Improve formatting + * CMake building of doc and dwg2dxf optional + * add FUNDING.yml for sponsors [ci skip] + +------------------------------------------------------------------- Old: ---- libdxfrw-1.1.0~rc1+git.20220905.obscpio New: ---- libdxfrw-2.2.0+git.20221210.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libdxfrw.spec ++++++ --- /var/tmp/diff_new_pack.uxfLve/_old 2023-06-30 20:00:10.830110349 +0200 +++ /var/tmp/diff_new_pack.uxfLve/_new 2023-06-30 20:00:10.834110373 +0200 @@ -1,7 +1,7 @@ # # spec file for package libdxfrw # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # Copyright (c) 2015 Asterios Dramis <asterios.dramis@gmail.com>. # # All modifications and additions to the file contributed by third parties @@ -20,7 +20,7 @@ %define so_ver 1 Name: libdxfrw -Version: 1.1.0~rc1+git.20220905 +Version: 2.2.0+git.20221210 Release: 0 Summary: Library to read and write DXF files License: GPL-2.0-or-later ++++++ _service ++++++ --- /var/tmp/diff_new_pack.uxfLve/_old 2023-06-30 20:00:10.870110587 +0200 +++ /var/tmp/diff_new_pack.uxfLve/_new 2023-06-30 20:00:10.874110610 +0200 @@ -4,9 +4,10 @@ <param name="scm">git</param> <param name="changesgenerate">enable</param> <param name="filename">libdxfrw</param> + <param name="revision">LibreCAD_2</param> <param name="versionformat">@PARENT_TAG@+git.%cd</param> - <param name="versionrewrite-pattern">-</param> - <param name="versionrewrite-replacement">~</param> + <param name="versionrewrite-pattern">LC</param> + <param name="versionrewrite-replacement"></param> </service> <service mode="disabled" name="set_version"/> <service name="tar" mode="buildtime"/> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.uxfLve/_old 2023-06-30 20:00:10.898110753 +0200 +++ /var/tmp/diff_new_pack.uxfLve/_new 2023-06-30 20:00:10.902110777 +0200 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/LibreCAD/libdxfrw/</param> - <param name="changesrevision">e0dad4ceff7f56e530b753a376f7dfe272a9cc63</param></service></servicedata> + <param name="changesrevision">d73a25c61fa6b7f41000b38b4b4c8b32ed4e2fd1</param></service></servicedata> (No newline at EOF) ++++++ libdxfrw-1.1.0~rc1+git.20220905.obscpio -> libdxfrw-2.2.0+git.20221210.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libdxfrw-1.1.0~rc1+git.20220905/.github/FUNDING.yml new/libdxfrw-2.2.0+git.20221210/.github/FUNDING.yml --- old/libdxfrw-1.1.0~rc1+git.20220905/.github/FUNDING.yml 1970-01-01 01:00:00.000000000 +0100 +++ new/libdxfrw-2.2.0+git.20221210/.github/FUNDING.yml 2022-12-10 00:15:21.000000000 +0100 @@ -0,0 +1,2 @@ +github: LibreCAD +open_collective: librecad diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libdxfrw-1.1.0~rc1+git.20220905/CMakeLists.txt new/libdxfrw-2.2.0+git.20221210/CMakeLists.txt --- old/libdxfrw-1.1.0~rc1+git.20220905/CMakeLists.txt 2022-09-05 19:54:26.000000000 +0200 +++ new/libdxfrw-2.2.0+git.20221210/CMakeLists.txt 2022-12-10 00:15:21.000000000 +0100 @@ -3,9 +3,14 @@ cmake_policy(SET CMP0048 NEW) project(DXFRW VERSION 1.0.1) +# set preferred cache variables +set(LIBDXFRW_BUILD_DOC TRUE CACHE BOOL "Build the documentation") +set(LIBDXFRW_BUILD_DWG2DXF TRUE CACHE BOOL "Build the dwg2dxf application") + + # set compiler warnings if (MSVC) - add_compile_options(/W4 /WX) + add_compile_options(/W3) else() add_compile_options(-Wall -Wextra -pedantic -Werror) endif() @@ -90,15 +95,19 @@ $<INSTALL_INTERFACE:${LIBDXFRW_INSTALL_INCLUDEDIR}> ) -add_custom_command(OUTPUT doc/html/index.html - COMMAND doxygen ARGS ${CMAKE_CURRENT_SOURCE_DIR}/libdxfrw.dox - MAIN_DEPENDENCY ${CMAKE_CURRENT_SOURCE_DIR}/libdxfrw.dox - VERBATIM) +if(LIBDXFRW_BUILD_DOC) + add_custom_command(OUTPUT doc/html/index.html + COMMAND doxygen ARGS ${CMAKE_CURRENT_SOURCE_DIR}/libdxfrw.dox + MAIN_DEPENDENCY ${CMAKE_CURRENT_SOURCE_DIR}/libdxfrw.dox + VERBATIM) -add_custom_target(doc - DEPENDS doc/html/index.html) + add_custom_target(doc + DEPENDS doc/html/index.html) +endif() -add_subdirectory(dwg2dxf) +if(LIBDXFRW_BUILD_DWG2DXF) + add_subdirectory(dwg2dxf) +endif() # INSTALLATION set(INSTALL_CONFIGDIR ${CMAKE_INSTALL_LIBDIR}/cmake/libdxfrw) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libdxfrw-1.1.0~rc1+git.20220905/README.md new/libdxfrw-2.2.0+git.20221210/README.md --- old/libdxfrw-1.1.0~rc1+git.20220905/README.md 2022-09-05 19:54:26.000000000 +0200 +++ new/libdxfrw-2.2.0+git.20221210/README.md 2022-12-10 00:15:21.000000000 +0100 @@ -15,11 +15,15 @@ Please note: -========== +---------- When you clone or download this project to build [LibreCAD_3](https://github.com/LibreCAD/LibreCAD_3) use the branch **LibreCAD_3**. The master or other branches may have incompatible interface definitions which are not yet implemented in LibreCAD_3! Building and installing the library ========== + +Debug version +---------- + ``` mkdir build cd build @@ -28,8 +32,8 @@ sudo make install ``` -For non-debug version: -========== +Non-debug version +---------- ``` mkdir release @@ -39,7 +43,8 @@ sudo make install ``` -== UBUNTU/Mint Folks == +Ubuntu/Mint Folks +---------- ``` mkdir release @@ -50,6 +55,7 @@ ``` -== Example usage of the library == +Example usage of the library +========== See how we use it in LibreCAD V3 : https://github.com/LibreCAD/LibreCAD_3/tree/master/persistence/libdxfrw diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libdxfrw-1.1.0~rc1+git.20220905/src/drw_entities.h new/libdxfrw-2.2.0+git.20221210/src/drw_entities.h --- old/libdxfrw-1.1.0~rc1+git.20220905/src/drw_entities.h 2022-09-05 19:54:26.000000000 +0200 +++ new/libdxfrw-2.2.0+git.20221210/src/drw_entities.h 2022-12-10 00:15:21.000000000 +0100 @@ -401,7 +401,7 @@ //! third corner (2D) const DRW_Coord & thirdCorner() { return thirdPoint; } //! fourth corner (2D) - const DRW_Coord & fourthCorner() { return thirdPoint; } + const DRW_Coord & fourthCorner() { return fourPoint; } //! thickness double thick() { return thickness; } //! elevation diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libdxfrw-1.1.0~rc1+git.20220905/src/intern/drw_textcodec.cpp new/libdxfrw-2.2.0+git.20221210/src/intern/drw_textcodec.cpp --- old/libdxfrw-1.1.0~rc1+git.20220905/src/intern/drw_textcodec.cpp 2022-09-05 19:54:26.000000000 +0200 +++ new/libdxfrw-2.2.0+git.20221210/src/intern/drw_textcodec.cpp 2022-12-10 00:15:21.000000000 +0100 @@ -511,13 +511,13 @@ cp=="ISO8859-1" || cp=="ISO8859-15" || cp=="ISO-IR-100" || cp=="L1" || cp=="IBM 850") { return "ANSI_1252"; //Greek - } else if (cp=="ANSI_1253" || cp=="CP1253" || cp=="iso8859-7") { + } else if (cp=="ANSI_1253" || cp=="CP1253" || cp=="ISO8859-7") { return "ANSI_1253"; //Turkish - } else if (cp=="ANSI_1254" || cp=="CP1254" || cp=="iso8859-9" || cp=="iso8859-3") { + } else if (cp=="ANSI_1254" || cp=="CP1254" || cp=="ISO8859-9" || cp=="ISO8859-3") { return "ANSI_1254"; //Hebrew - } else if (cp=="ANSI_1255" || cp=="CP1255" || cp=="iso8859-8") { + } else if (cp=="ANSI_1255" || cp=="CP1255" || cp=="ISO8859-8") { return "ANSI_1255"; //Arabic } else if (cp=="ANSI_1256" || cp=="CP1256" || cp=="ISO8859-6") { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libdxfrw-1.1.0~rc1+git.20220905/src/intern/dwgutil.cpp new/libdxfrw-2.2.0+git.20221210/src/intern/dwgutil.cpp --- old/libdxfrw-1.1.0~rc1+git.20220905/src/intern/dwgutil.cpp 2022-09-05 19:54:26.000000000 +0200 +++ new/libdxfrw-2.2.0+git.20221210/src/intern/dwgutil.cpp 2022-12-10 00:15:21.000000000 +0100 @@ -153,6 +153,8 @@ decompSize = dsize; compressedPos = 0; decompPos = 0; + compressedGood = true; + decompGood = true; DRW_DBG("dwgCompressor::decompress, last 2 bytes: "); DRW_DBGH(compressedBuffer[compressedSize - 2]);DRW_DBG(" ");DRW_DBGH(compressedBuffer[compressedSize - 1]);DRW_DBG("\n"); ++++++ libdxfrw.obsinfo ++++++ --- /var/tmp/diff_new_pack.uxfLve/_old 2023-06-30 20:00:11.202112561 +0200 +++ /var/tmp/diff_new_pack.uxfLve/_new 2023-06-30 20:00:11.210112609 +0200 @@ -1,5 +1,5 @@ name: libdxfrw -version: 1.1.0~rc1+git.20220905 -mtime: 1662400466 -commit: e0dad4ceff7f56e530b753a376f7dfe272a9cc63 +version: 2.2.0+git.20221210 +mtime: 1670627721 +commit: d73a25c61fa6b7f41000b38b4b4c8b32ed4e2fd1
participants (1)
-
Source-Sync