public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/xcircuit] f44: 3.10.45
@ 2026-08-17  6:26 Mamoru TASAKA
  0 siblings, 0 replies; only message in thread
From: Mamoru TASAKA @ 2026-08-17  6:26 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/xcircuit
Branch : f44
Commit : 07cc95340070179ae7f20196e6e9a73132388cd9
Author : Mamoru TASAKA <mtasaka@fedoraproject.org>
Date   : 2026-08-17T15:22:41+09:00
Stats  : +9/-116 in 5 file(s)
URL    : https://src.fedoraproject.org/rpms/xcircuit/c/07cc95340070179ae7f20196e6e9a73132388cd9?branch=f44

Log:
3.10.45

---
diff --git a/sources b/sources
index 5c10eb1..e2eb38b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (xcircuit-3.10.30.tgz) = 52bf65fa9b5c095092f60abe32b3c88180365cc8043a8e95652ea9ab20e01c3e790989fe41171ecd1b2c60684016f6963c4851105b17a1c8a3bac8d75db84a8e
+SHA512 (xcircuit-3.10.45.tgz) = c08eeba7d1a22c009cca33f68723cc24c5565f00f34ca29f043481b32cae2327a8bb1fd6cfb82bfdaf6c18973d3bbb6ada3668d74c48879166fe2a11da4bfa96

diff --git a/xcircuit-3.10.30-c23-math-include.patch b/xcircuit-3.10.30-c23-math-include.patch
deleted file mode 100644
index 9750bd2..0000000
--- a/xcircuit-3.10.30-c23-math-include.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff --git a/elements.c b/elements.c
-index c7705f4..ac599f8 100644
---- a/elements.c
-+++ b/elements.c
-@@ -10,6 +10,7 @@
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
-+#include <math.h>
- 
- #ifndef XC_WIN32
- #include <X11/Intrinsic.h>
-@@ -54,8 +55,6 @@ extern colorindex *colorlist;
- extern Pixmap dbuf;
- #endif
- 
--extern double atan2();
--
- /*------------------------------------------------------------------------*/
- /* Declarations of global variables                                       */
- /*------------------------------------------------------------------------*/
-diff --git a/examples/xc_remote.sh b/examples/xc_remote.sh
-old mode 100755
-new mode 100644

diff --git a/xcircuit-3.9.40-format-security.patch b/xcircuit-3.9.40-format-security.patch
deleted file mode 100644
index 1a7b48d..0000000
--- a/xcircuit-3.9.40-format-security.patch
+++ /dev/null
@@ -1,58 +0,0 @@
-diff -urp -x Makefile -x 'config.*' -x '*~' xcircuit-3.9.40.old/svg.c xcircuit-3.9.40.new/svg.c
---- xcircuit-3.9.40.old/svg.c	2015-10-07 00:04:49.000000000 +0900
-+++ xcircuit-3.9.40.new/svg.c	2016-06-25 00:13:28.468986578 +0900
-@@ -1108,12 +1108,12 @@ int xctcl_svg(ClientData clientData, Tcl
- 
-    if (locobjc >= 2) {
-       /* If there is a non-option argument, use it for the output filename */
--      sprintf(filename, Tcl_GetString(objv[1]));
-+      sprintf(filename, "%s", Tcl_GetString(objv[1]));
-    }
-    else if (xobjs.pagelist[areawin->page]->pageinst->thisobject->name == NULL)
--      sprintf(filename, xobjs.pagelist[areawin->page]->filename);
-+      sprintf(filename, "%s", xobjs.pagelist[areawin->page]->filename);
-    else
--      sprintf(filename, xobjs.pagelist[areawin->page]->pageinst->thisobject->name);
-+      sprintf(filename, "%s", xobjs.pagelist[areawin->page]->pageinst->thisobject->name);
- 
-    pptr = strrchr(filename, '.');
-    if (pptr != NULL)
-diff -urp -x Makefile -x 'config.*' -x '*~' xcircuit-3.9.40.old/tclxcircuit.c xcircuit-3.9.40.new/tclxcircuit.c
---- xcircuit-3.9.40.old/tclxcircuit.c	2015-11-14 02:27:30.000000000 +0900
-+++ xcircuit-3.9.40.new/tclxcircuit.c	2016-06-25 00:15:07.012510579 +0900
-@@ -3876,7 +3876,7 @@ int xctcl_object(ClientData clientData,
-       case NameIdx:
- 	 if (nidx == 1 || areawin->selects == 0) {
- 	    if (objc == 3) {
--	       sprintf(thisinst->thisobject->name, Tcl_GetString(objv[nidx + 2]));
-+	       sprintf(thisinst->thisobject->name, "%s", Tcl_GetString(objv[nidx + 2]));
- 	       checkname(thisinst->thisobject);
- 	    }
- 	    Tcl_AppendElement(interp, thisinst->thisobject->name);
-@@ -7294,7 +7294,7 @@ int xctcl_page(ClientData clientData, Tc
- 
-       case LoadIdx:
- 	 TechReplaceSave();
--	 sprintf(_STR2, Tcl_GetString(objv[2 + nidx]));
-+	 sprintf(_STR2, "%s", Tcl_GetString(objv[2 + nidx]));
- 	 for (i = 3 + nidx; i < objc; i++) {
- 	    argv = Tcl_GetString(objv[i]);
- 	    if ((*argv == '-') && !strncmp(argv, "-repl", 5)) {
-@@ -7380,7 +7380,7 @@ int xctcl_page(ClientData clientData, Tc
- 
- 	 switch (importtype) {
- 	    case XCircuitIdx:
--	       sprintf(_STR2, Tcl_GetString(objv[3 + nidx]));
-+	       sprintf(_STR2, "%s", Tcl_GetString(objv[3 + nidx]));
- 	       for (i = 4; i < objc; i++) {
- 		  strcat(_STR2, ",");
- 		  strcat(_STR2, Tcl_GetString(objv[i + nidx]));
-@@ -7397,7 +7397,7 @@ int xctcl_page(ClientData clientData, Tc
- 		  Tcl_SetObjResult(interp, objPtr);
- 		  return XcTagCallback(interp, objc, objv);
- 	       }
--	       sprintf(_STR2, Tcl_GetString(objv[3 + nidx]));
-+	       sprintf(_STR2, "%s", Tcl_GetString(objv[3 + nidx]));
- 	       if (savepage != pageno) newpage(pageno);
- 	       loadbackground();
- 	       if (savepage != pageno) newpage(savepage);

diff --git a/xcircuit-c99.patch b/xcircuit-c99.patch
deleted file mode 100644
index 8a4b6c3..0000000
--- a/xcircuit-c99.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-Declare UDrawXAt in prototypes.h.  This avoids an implicit function
-declaration in functions.c for HAVE_CAIRO.  Future compilers will not
-accept such implicit function declarations by default, leading to a
-build failure.
-
-Submitted upstream: <https://github.com/RTimothyEdwards/XCircuit/pull/18>
-
-diff --git a/prototypes.h b/prototypes.h
-index d577c854c48eddf1..5ec4b272722fd658 100644
---- a/prototypes.h
-+++ b/prototypes.h
-@@ -431,6 +431,7 @@ extern void UDrawSimpleLine(XPoint *, XPoint *);
- extern void UDrawLine(XPoint *, XPoint *);
- extern void UDrawCircle(XPoint *, u_char);
- extern void UDrawX(labelptr);
-+extern void UDrawXAt(XPoint *);
- extern void UDrawXDown(labelptr);
- extern int  toplevelwidth(objinstptr, short *);
- extern int  toplevelheight(objinstptr, short *);

diff --git a/xcircuit.spec b/xcircuit.spec
index ea956eb..eaf7417 100644
--- a/xcircuit.spec
+++ b/xcircuit.spec
@@ -4,8 +4,8 @@
 %undefine   __brp_mangle_shebangs
 
 Name:			xcircuit
-Version:		%{short_version}.30
-Release:		17%{?dist}
+Version:		%{short_version}.45
+Release:		1%{?dist}
 Summary:		Electronic circuit schematic drawing program
 
 # Xw/		HPND unused
@@ -24,11 +24,6 @@ Source1:		%{name}.desktop
 # http://opencircuitdesign.com/xcircuit/archive/xcircuit.xpm as 64x64
 Source2:		%{name}.png
 
-Patch0:		xcircuit-3.9.40-format-security.patch
-Patch1:		xcircuit-c99.patch
-# C23 fix, include math.h instead of declare atan2 internally
-Patch2:		xcircuit-3.10.30-c23-math-include.patch
-
 BuildRequires:	make
 BuildRequires:	pkgconfig(cairo)
 BuildRequires:	pkgconfig(fontconfig)
@@ -48,7 +43,7 @@ BuildRequires:	libtool
 # Need check
 Requires:		coreutils
 Requires:		gtk2
-Requires:		tk
+Requires:		tk8
 
 # Special FEL Gnome/KDE menu structure
 Requires:		electronics-menu
@@ -59,13 +54,8 @@ CAD program for circuit schematic drawing and schematic capture.
 
 %prep
 %setup -q
-%patch -P0 -p1 -b .format
-%patch -P1 -p1 -b .c99
-%patch -P2 -p1 -b .c23
 
 #439604: TCL 8.5.1
-sed -i lib/tcl/tkcon.tcl \
-	-e "s|package require -exact|package require|" 
 sed -i Makefile.am \
 	-e 's|/lib/|/%{_lib}/|'
 
@@ -76,7 +66,7 @@ sed -i examples/xc_remote.sh -e 's|/usr/local/bin|%{_bindir}|'
 chmod ugo-x lib/tcl/console.tcl
 
 %build
-export WISH=/usr/bin/wish
+export WISH=/usr/bin/wish8
 
 #01/08/09 Without --enable-asg \ because it's broken
 %configure \
@@ -121,6 +111,10 @@ desktop-file-install \
 %{_mandir}/man1/%{name}.1.*
 
 %changelog
+* Mon Aug 17 2026 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.10.45-1
+- 3.10.45
+- Still use Tcl/Tk 8: Not ready for Tk 9
+
 * Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 3.10.30-17
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-17  6:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-17  6:26 [rpms/xcircuit] f44: 3.10.45 Mamoru TASAKA

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox