pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/cad/kicad
Module Name: pkgsrc
Committed By: ryoon
Date: Fri Oct 4 04:25:36 UTC 2024
Modified Files:
pkgsrc/cad/kicad: Makefile distinfo
Added Files:
pkgsrc/cad/kicad/patches: patch-3d-viewer_3d__cache_3d__cache.cpp
patch-common_kiid.cpp
Log Message:
cad/kicad: Update to 8.0.5
* Fix build with Boost 1.86.0.
* Do not use obsolete USE_CMAKE.
Changelog:
8.0.5:
Changelog
General
* Fix crash on close due to curl shut down issue. #17103
* Make grid cell editors with extra button consistent with normal text cell
editors.
* Fix default cell alignment for configure paths dialog.
* Improve grid cell editors appearance.
* Fix EasyEDA/JLCEDA Pro 2.2 footprint and symbol library import. #18250
* Generate hidpi variants for medium sized application icons.
* Hide notification panel on focus loss. #17295
* Fix build issue with experimental GCC version 15. #18539
* Fix rendering issue when using dotted lines. #16757
* Update text weight when changed from properties panel. #17077 and #14875
Schematic Editor
* Resolve netclasses on vector buses embedded in buses. #16545
* Fix crash when renaming fields in symbol fields table. #18330
* Correctly track symbol instances in "unplaced units" ERC. #18445
* Fix different presentation of symbols with attribute "Do Not Populate". #
18530
* Fix missing schematic symbol instance data. #18486
* Fix incorrect sheet order and uninitialized sheet number when printing. #
18594
Spice Simulator
* Increase default measurement precision from 2 to 3 digits.
* Fix measurements not being loaded with workbook. #18326
* Prevent a tab change while editing measurement from impacting measurements
of target tab.
* Fix spice errors when rerunning a simulation with measurements.
* Fix measurement format not saved when modified.
* Prevent excessive memory usage using complex piece wise linear DC source. #
18338
* Fix crash when editing SPICE model path. #18472
Symbol Editor
* Add undo for repeat pin action. #18261
Board Editor
* Show correct via length in net inspector. #18277
* Do not delete segments in some cases when completing a route. #18409
* Show footprint changes and updates immediately. #18248
* Fix broken Cyrillic characters. #18406
* Fix crash when routing curved trace. #18391
* Performance improvements when updating tear drops.
* False DRC warning about footprint not matching library when footprint is
rotated. #18399
* Allow deleting text item out of parent footprint. #18425
* Remove extraneous fields when updating footprint from library when option
is selected. #17756
* Give padstack DRC warning violation a name. #18334
* Remember target tuning length within a session. #18109
* Fix snapping in free via placer. #9024
* Ensure constraints when changing pad hole properties. #17575
* Fix issues after removing a track ending with a teardrop.
* Update message panel when placing a via with interactive router.
* Correctly handle track clearance constraints in router.
* Use correct track width constraint when starting PNS from footprint pad.
* Report track clearance constraint from DRC rule if >= board minimum.
* Fix crash when changing pad type from SMD to NPTH. #18585
* Fix broken footprint references on Altium import. #18502
* Fix compatibility with EasyEDA/LCEDA Pro v2.2.26. #18620
Footprint Editor
* Save properties pane custom visible columns state. #18352
* Fix issue when converting an Altium footprint library to KiCad format. #
18452
3D Viewer
* Fix incorrect custom pad shape. #18495
Gerber Viewer
* Fix arc rendering issue. #18587
Worksheet Editor
* Do not require extra mouse click to start text tool. #18366
Command Line Interface
* Fix PCB drill export when output path does not end with path separator. #
14438
Windows
* Improve custom grid cell editors' margins.
* Fix GDI bitmap leak that can cause crashes in long lived kicad processes.
* General dependency version updates
Linux
* Improve grid cell editor offset.
To generate a diff of this commit:
cvs rdiff -u -r1.98 -r1.99 pkgsrc/cad/kicad/Makefile
cvs rdiff -u -r1.27 -r1.28 pkgsrc/cad/kicad/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/cad/kicad/patches/patch-3d-viewer_3d__cache_3d__cache.cpp \
pkgsrc/cad/kicad/patches/patch-common_kiid.cpp
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/cad/kicad/Makefile
diff -u pkgsrc/cad/kicad/Makefile:1.98 pkgsrc/cad/kicad/Makefile:1.99
--- pkgsrc/cad/kicad/Makefile:1.98 Fri Oct 4 03:49:15 2024
+++ pkgsrc/cad/kicad/Makefile Fri Oct 4 04:25:35 2024
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.98 2024/10/04 03:49:15 ryoon Exp $
+# $NetBSD: Makefile,v 1.99 2024/10/04 04:25:35 ryoon Exp $
#
-V= 8.0.4
+V= 8.0.5
DISTNAME= kicad-${V}
-PKGREVISION= 1
CATEGORIES= cad
MASTER_SITES= ${MASTER_SITE_GITLAB:=kicad/code/}
GITLAB_PROJECT= kicad
@@ -21,7 +20,6 @@ DEPENDS+= git-base-[0-9]*:../../devel/gi
USE_PKGLOCALEDIR= yes
USE_LANGUAGES= c c++17
USE_CXX_FEATURES+= charconv filesystem
-USE_CMAKE= yes
USE_TOOLS+= pkg-config msgfmt msgmerge xgettext
CMAKE_CONFIGURE_ARGS+= -DCMAKE_BUILD_TYPE=Release
@@ -53,7 +51,7 @@ NOT_FOR_PLATFORM+= Darwin-*-*
.include "../../cad/occt/buildlink3.mk"
.include "../../databases/unixodbc/buildlink3.mk"
.include "../../devel/boost-libs/buildlink3.mk"
-.include "../../devel/cmake/buildlink3.mk"
+.include "../../devel/cmake/build.mk"
.include "../../devel/gettext-tools/msgfmt-desktop.mk"
.include "../../devel/libgit2/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
Index: pkgsrc/cad/kicad/distinfo
diff -u pkgsrc/cad/kicad/distinfo:1.27 pkgsrc/cad/kicad/distinfo:1.28
--- pkgsrc/cad/kicad/distinfo:1.27 Tue Aug 6 00:54:16 2024
+++ pkgsrc/cad/kicad/distinfo Fri Oct 4 04:25:35 2024
@@ -1,12 +1,14 @@
-$NetBSD: distinfo,v 1.27 2024/08/06 00:54:16 tnn Exp $
+$NetBSD: distinfo,v 1.28 2024/10/04 04:25:35 ryoon Exp $
-BLAKE2s (kicad-8.0.4.tar.bz2) = 76b1522d2d1e620f632fc37e85109af643e443a9e87d089a96205125d7dfac12
-SHA512 (kicad-8.0.4.tar.bz2) = b490cd201b79388ca9ba771363043373034f036cc73e520cf1c4cf9c011dfd25a5e9c3eee8a7bfe23521193cd44f6c28aaf3e270e8444e7ba75dff62e6a74f1e
-Size (kicad-8.0.4.tar.bz2) = 72958676 bytes
+BLAKE2s (kicad-8.0.5.tar.bz2) = ca70a7b38c5e9c51dccc89185723672884ffb524513ff60d14b23e2d07094b29
+SHA512 (kicad-8.0.5.tar.bz2) = a093debe0029d18db89d341ce1767a7cc2cf0598c5e36be2781ba6d72c25a8fbd16e12d7c9f184f3628984be31c375000fd5b702ccc9851702e126aeba15dbea
+Size (kicad-8.0.5.tar.bz2) = 72957862 bytes
+SHA1 (patch-3d-viewer_3d__cache_3d__cache.cpp) = 032a917825991d53adacc30f47ff23bce4674e87
SHA1 (patch-3d-viewer_3d_cache_sg_CMakeLists.txt) = c6e55d62646e890ba02b2a56dc3481f75ffba8a0
SHA1 (patch-CMakeLists.txt) = c0d017d3b8b202004dff71386da451fd81ede969
SHA1 (patch-cmake_config.h.cmake) = 325b9c81e90477152b778e04c4fabe41548aa51d
SHA1 (patch-common_import__gfx_dxf__import__plugin.cpp) = 9ba67a398f9d9c0bd487b0cc5a8954be9cf8e274
+SHA1 (patch-common_kiid.cpp) = 9d896d7ff858f2bf2ed79522941cdd63cda10ad8
SHA1 (patch-cvpcb_CMakeLists.txt) = a839b465f73727786495dace80c1706d457b33e4
SHA1 (patch-eeschema_CMakeLists.txt) = 89d5b25822f6d5856f827823e0646be80cbbfcb4
SHA1 (patch-eeschema_sim_kibis_ibis__parser.cpp) = e173ccb32679174033540395e321abaee9eb2200
Added files:
Index: pkgsrc/cad/kicad/patches/patch-3d-viewer_3d__cache_3d__cache.cpp
diff -u /dev/null pkgsrc/cad/kicad/patches/patch-3d-viewer_3d__cache_3d__cache.cpp:1.1
--- /dev/null Fri Oct 4 04:25:36 2024
+++ pkgsrc/cad/kicad/patches/patch-3d-viewer_3d__cache_3d__cache.cpp Fri Oct 4 04:25:36 2024
@@ -0,0 +1,26 @@
+$NetBSD: patch-3d-viewer_3d__cache_3d__cache.cpp,v 1.1 2024/10/04 04:25:36 ryoon Exp $
+
+Fix build with boost-1.86.0 with a patch from upstream
+From: https://gitlab.com/kicad/code/kicad/-/commit/9779ee0fd3c8891d80b0a75edc1ce673d7a82b0a
+
+--- 3d-viewer/3d_cache/3d_cache.cpp.orig 2024-10-02 20:53:48.006013235 +0000
++++ 3d-viewer/3d_cache/3d_cache.cpp
+@@ -381,7 +381,10 @@ bool S3D_CACHE::getSHA1( const wxString&
+
+ fclose( fp );
+ unsigned int digest[5];
+- dblock.get_digest( digest );
++
++ static_assert( sizeof( digest ) == sizeof( boost::uuids::detail::sha1::digest_type& ),
++ "SHA1 digest size mismatch" );
++ dblock.get_digest( reinterpret_cast<boost::uuids::detail::sha1::digest_type&>( digest ) );
+
+ // ensure MSB order
+ for( int i = 0; i < 5; ++i )
+@@ -696,4 +699,4 @@ void S3D_CACHE::CleanCacheDir( int aNumD
+ }
+ }
+ }
+-}
+\ No newline at end of file
++}
Index: pkgsrc/cad/kicad/patches/patch-common_kiid.cpp
diff -u /dev/null pkgsrc/cad/kicad/patches/patch-common_kiid.cpp:1.1
--- /dev/null Fri Oct 4 04:25:36 2024
+++ pkgsrc/cad/kicad/patches/patch-common_kiid.cpp Fri Oct 4 04:25:36 2024
@@ -0,0 +1,36 @@
+$NetBSD: patch-common_kiid.cpp,v 1.1 2024/10/04 04:25:36 ryoon Exp $
+
+* Fix build with boost-1.86.0.
+From: https://gitlab.com/kicad/code/kicad/-/commit/9a3ebfba404e43d82b5c194e01f6afb67909bf88
+ https://gitlab.com/kicad/code/kicad/-/commit/a9e115925a5168034f60d0fe1e7b369861f84b82
+
+--- common/kiid.cpp.orig 2024-09-06 16:28:40.000000000 +0000
++++ common/kiid.cpp
+@@ -25,9 +25,9 @@
+
+ #include <kiid.h>
+
++#include <boost/random/mersenne_twister.hpp>
+ #include <boost/uuid/uuid_generators.hpp>
+ #include <boost/uuid/uuid_io.hpp>
+-#include <boost/functional/hash.hpp>
+
+ #if BOOST_VERSION >= 106700
+ #include <boost/uuid/entropy_error.hpp>
+@@ -235,15 +235,7 @@ timestamp_t KIID::AsLegacyTimestamp() co
+
+ size_t KIID::Hash() const
+ {
+- size_t hash = 0;
+-
+- // Note: this is NOT little-endian/big-endian safe, but as long as it's just used
+- // at runtime it won't matter.
+-
+- for( int i = 0; i < 4; ++i )
+- boost::hash_combine( hash, reinterpret_cast<const uint32_t*>( m_uuid.data )[i] );
+-
+- return hash;
++ return boost::uuids::hash_value( m_uuid );
+ }
+
+
Home |
Main Index |
Thread Index |
Old Index