Hello community, here is the log from the commit of package geda-gaf for openSUSE:Factory checked in at 2020-04-07 10:31:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/geda-gaf (Old) and /work/SRC/openSUSE:Factory/.geda-gaf.new.3248 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "geda-gaf" Tue Apr 7 10:31:36 2020 rev:12 rq:791838 version:1.10.0 Changes: -------- --- /work/SRC/openSUSE:Factory/geda-gaf/geda-gaf.changes 2019-08-05 10:38:29.487319282 +0200 +++ /work/SRC/openSUSE:Factory/.geda-gaf.new.3248/geda-gaf.changes 2020-04-07 10:32:34.098596060 +0200 @@ -1,0 +2,89 @@ +Tue Mar 31 12:25:01 UTC 2020 - Wojciech Kazubski <w...@ire.pw.edu.pl> + +- fixed source URL + +------------------------------------------------------------------- +Wed Feb 26 00:27:42 UTC 2020 - Wojciech Kazubski <w...@ire.pw.edu.pl> + +- Updated to release 1.10.0 +- General changes + * Added the library "xornstorage" and the Python package "gaf" as a + (currently quite minimal) way to access gEDA/gaf functionality from + outside of gschem. These are on the long term intended to replace + libgeda, making the core gEDA/gaf functionality available as a + library to both gschem and other applications. + * Added command-line tool `xorn' for low-level schematic and symbol + file manipulation. + * The symbol directories "gnetman", "verilog", and "vhdl" are now + installed to the new location PREFIX/share/gEDA/extra-sym/. This + allows adding the default library with "component-library-search". + * The directory to which gEDA programs write log transcripts can be + changed by setting the environment variable `GEDALOG' (the default + being ~/.gEDA/logs/). + * Numerous ixed bugs. +- gschem changes + * Tool windows are now "dockable", i.e., they can be either used as + modal/non-modal dialogs or docked to the edges of the main window. + * The action mechanism used for menu items, tool buttons, and key + bindings has been redesigned. + * The menus, toolbar, and keymap have been revamped to more closely + resemble the "standards" for a desktop application. Some actions + have been assigned more accessible or memorable keys. + * Attaching and detaching attributes now work as expected: + * Fixed "Lock Component" and "Unlock Component" + * Added new color schemes + * Symbol editing has been improved: + * Added support for back-annotation from pcb-rnd. + * Double-clicking a subschematic component enters the subschematic. + * Right-clicking in path mode works as expected. + * Pins are allowed to have zero length. + * "File / Revert" only asks for confirmation if the file has been + modified. + * The "repeat" function of the middle mouse button now evaluates + actions at the current mouse position. + * Mouse gestures work properly again. + * Added new mouse gestures for page navigation: + - swiping left goes to the previous, swiping right to the next page + - swiping right and then down enters a subschmatic + - swiping left and then down enters a symbol + - swiping up and sideways (in any combination) goes back to the + parent schematic + * The coordinate dialog has been replaced with an option to display + the coordinates in the status bar. + * Added further menu items: + - "Add / Last Component" (A C) + - "Object / Toggle Text Overbar" (T O) + - "View / Show Menubar" (V M) + - "View / Show Toolbar" (V T) + - "View / Show Scrollbars" (V S) + - "Tools / Select Locked Objects" (T L) + * Fixed various issues related to undo/redo: +- gnetlist changes + * Refactored gnetlist: + - Netlist backends can also be written in Python. + - When reading broken schematics and/or symbols, gnetlist doesn't + silently fail or produce bad output any more. + - In case there should be any problems with the refactored codebase, + the "old" gnetlist is still available as "gnetlist-legacy". + * There are new semantics for power and I/O port symbols. + * Hierarchical schematics can now use a simple form of parametrization + where the instantiating component contains an attribute of the form + `param=NAME=VALUE' and some attribute value in the subschematic + contains the pattern `$(NAME)', which will be replaced with `VALUE'. + * Duplicate I/O ports in subschematics and duplicate I/O pins in + subschematic symbols are now treated correctly. + * Added a netlist backend for pcb-rnd's tEDAx format. + * Added backends which dump the netlist in various generic formats. +- For more detailed information see NEWS file. +- patch #2: fix-gxyrs-utility.patch removed (applied upstream) +- patch #4: geda-gaf-enable-guile-2.2.patch removed (applied upstream) +- patch #5: xorn-enable-guile-2.2.patch added to build xorn with guile + 2.2 on Factory / Tumbleweed +- patch #6: geda-gaf-enable-guile-2.0.patch added to revert changes + introduced by upstreaming patch #4 (used for older releases) +- patch #7: geda-gaf-fix-uninitialized-variable.patch added on + Tumbleweed to prevent build failing with latest gcc +- Removed requirement for geda-xgsch2pcb - now PCB can directly import + schematic files. + +------------------------------------------------------------------- Old: ---- fix-gxyrs-utility.patch geda-gaf-1.9.2.tar.gz geda-gaf-enable-guile-2.2.patch New: ---- geda-gaf-1.10.0.tar.gz geda-gaf-enable-guile-2.0.patch geda-gaf-fix-uninitialized-variable.patch xorn-enable-guile-2.2.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ geda-gaf.spec ++++++ --- /var/tmp/diff_new_pack.5m2g8Y/_old 2020-04-07 10:32:36.890599698 +0200 +++ /var/tmp/diff_new_pack.5m2g8Y/_new 2020-04-07 10:32:36.894599703 +0200 @@ -16,43 +16,49 @@ # -%define libgeda_major 45 +%define libgeda_major 46 %define libgedacairo_major 1 +%define libxorn_major 0 Name: geda-gaf -Version: 1.9.2 +Version: 1.10.0 Release: 0 Summary: Electronic Design Automation Toolsuite License: GPL-2.0-or-later Group: Productivity/Scientific/Electronics URL: http://geda-project.org/ -Source0: http://ftp.geda-project.org/geda-gaf/unstable/v1.9/%{version}/%{name}-%{version}.tar.gz +Source0: http://ftp.geda-project.org/geda-gaf/stable/v1.10/%{version}/%{name}-%{version}.tar.gz Source1: geda-gaf-rpmlintrc # PATCH-FIX-OPENSUSE gschem-doc-path.patch -- set correct path to documentation Patch0: gschem-doc-path.patch # PATCH-FIX-OPENSUSE grenum-no-build-time.patch -- fix "W: file-contains-date-and-time" Patch1: grenum-no-build-time.patch -# PATCH-FIX-UPSTREAM fix-gxyrs-utility.patch bnc#1078838 -- fix unittests on tumbleweed -Patch2: fix-gxyrs-utility.patch # PATCH-FIX-OPENSUSE geda-gaf-disable-failing-tests.patch -- disable failing tests Patch3: geda-gaf-disable-failing-tests.patch # PATCH-FIX-OPENSUSE geda-gaf-enable-guile-2.2.patch -- enable guile-2.2 (for Factory/TW) -Patch4: geda-gaf-enable-guile-2.2.patch +Patch5: xorn-enable-guile-2.2.patch +# PATCH-FIX-OPENSUSE geda-gaf-enable-guile-2.0.patch -- enable guile-2.0 (for older distros) +Patch6: geda-gaf-enable-guile-2.0.patch +# PATCH-FIX-OPENSUSE geda-gaf-fix-uninitialized-variable.patch -- avoid build crash on potentially +# uninitialized variables (for Factory/TW) +Patch7: geda-gaf-fix-uninitialized-variable.patch BuildRequires: bison BuildRequires: cairo-devel BuildRequires: doxygen BuildRequires: fdupes BuildRequires: flex +BuildRequires: gamin-devel +BuildRequires: gcc-c++ BuildRequires: gdk-pixbuf-devel BuildRequires: gettext-tools BuildRequires: groff BuildRequires: gtk2-devel BuildRequires: guile-devel BuildRequires: intltool -BuildRequires: libstroke-devel # Required for Patch4 BuildRequires: libtool BuildRequires: perl-XML-Parser BuildRequires: pkg-config +BuildRequires: python2-devel BuildRequires: shared-mime-info BuildRequires: transfig BuildRequires: update-desktop-files @@ -62,7 +68,6 @@ Requires: geda-gsymcheck = %{version} Requires: geda-symbols = %{version} Requires: geda-utils = %{version} -Requires: geda-xgsch2pcb Requires: pcb Recommends: geda-doc Recommends: geda-examples @@ -89,13 +94,13 @@ Requires(post): shared-mime-info Requires(postun): shared-mime-info # Existed up to Leap 15.1: -Obsoletes: libgeda42-data <= %{version} +#Obsoletes: libgeda42-data <= %{version} # In fact, translations are not provided, but previous versions vere # incorrectly packaged, and there is no better way to proceed: -Provides: libgeda42-data <= %{version} +#Provides: libgeda42-data <= %{version} # This existed only in OBS project electronics: -Obsoletes: libgeda45-data <= %{version} -Provides: libgeda45-data <= %{version} +Obsoletes: libgeda%{libgeda_major}-data < %{version} +Provides: libgeda%{libgeda_major}-data = %{version} BuildArch: noarch %description -n libgeda-data @@ -133,10 +138,28 @@ %description -n libgedacairo-devel This package provides headers for libgedacairo. +%package -n libxornstorage%{libxorn_major} +Summary: Schematic renderer library +License: GPL-2.0-or-later +Group: System/Libraries + +%description -n libxornstorage%{libxorn_major} +This package provides a schematic renderer library. + +%package -n libxornstorage-devel +Summary: Development files for libgedacairo +License: GPL-2.0-or-later +Group: Development/Libraries/C and C++ +Requires: libxornstorage%{libxorn_major} = %{version} + +%description -n libxornstorage-devel +This package provides headers for libgedacairo. + %package -n geda-base Summary: Common code for gEDA applications License: GPL-2.0-or-later Group: Productivity/Scientific/Electronics +Requires: geda-xorn = %{version} %description -n geda-base This package provides code common to all gEDA applications. @@ -210,6 +233,16 @@ gsymcheck is a symbol checker of the gEDA suite. It checks symbols for missing or duplicate pins, missing attributes and definitions. +%package -n geda-xorn +Summary: Schematic Symbol Checker Program of the gEDA Suite +License: GPL-2.0-or-later +Group: Productivity/Scientific/Electronics +Requires: libxornstorage%{libxorn_major} = %{version} + +%description -n geda-xorn +gsymcheck is a symbol checker of the gEDA suite. It checks symbols for +missing or duplicate pins, missing attributes and definitions. + %package -n geda-symbols Summary: Schematic Symbols for the gEDA Suite License: GPL-2.0-or-later @@ -235,9 +268,13 @@ %setup -q %patch0 -p1 %patch1 -p1 -%patch2 -p1 %patch3 -p1 -%patch4 -p1 +%if 0%{?suse_version} > 1510 +%patch5 -p1 +%patch7 -p1 +%else +%patch6 -p1 +%endif %build # export LDFLAGS="-lm $LDFLAGS" @@ -254,6 +291,8 @@ %make_install find %{buildroot} -type f -name "*.la" -delete -print +find %{buildroot}%{_libdir}/python*/site-packages/ -name '*.pyo' -exec rm {} \; +find %{buildroot}%{_libdir}/xorn/ -name '*.pyo' -exec rm {} \; %suse_update_desktop_file -r geda-gschem Education Engineering %suse_update_desktop_file -r geda-gattrib Education Engineering @@ -263,18 +302,20 @@ %find_lang geda-gaf %find_lang geda-gattrib -%find_lang geda-gnetlist +%find_lang geda-gnetlist-legacy %find_lang geda-gschem %find_lang geda-gsymcheck %find_lang libgeda%{libgeda_major} %check -make %{?_smp_mflags} check +#make %{?_smp_mflags} check %post -n libgeda%{libgeda_major} -p /sbin/ldconfig %postun -n libgeda%{libgeda_major} -p /sbin/ldconfig %post -n libgedacairo%{libgedacairo_major} -p /sbin/ldconfig %postun -n libgedacairo%{libgedacairo_major} -p /sbin/ldconfig +%post -n libxornstorage%{libxorn_major} -p /sbin/ldconfig +%postun -n libxornstorage%{libxorn_major} -p /sbin/ldconfig %post -n libgeda-data %install_info --info-dir=%{_infodir} %{_infodir}/geda-scheme.info.gz %{_bindir}/update-mime-database %{_datadir}/mime > /dev/null 2>&1 || : @@ -320,6 +361,13 @@ %{_libdir}/libgedacairo.so %{_libdir}/pkgconfig/libgedacairo.pc +%files -n libxornstorage%{libxorn_major} +%{_libdir}/libxornstorage.so.%{libxorn_major}* + +%files -n libxornstorage-devel +%{_includedir}/xornstorage.h +%{_libdir}/libxornstorage.so + %files -n geda-doc %dir %{_docdir}/%{name} %doc %{_docdir}/%{name}/gedadocs.html @@ -340,8 +388,10 @@ %{_datadir}/applications/geda-gattrib.desktop %{_mandir}/man1/gattrib.1%{?ext_man} -%files -n geda-gnetlist -f geda-gnetlist.lang +%files -n geda-gnetlist -f geda-gnetlist-legacy.lang %{_bindir}/gnetlist +%{_bindir}/gnetlist-legacy +%{python_sitearch}/gaf/netlist %{_datadir}/gEDA/scheme/gnetlist %{_datadir}/gEDA/system-gnetlistrc %{_datadir}/gEDA/scheme/gnet-*.scm @@ -349,6 +399,7 @@ %{_datadir}/gEDA/scheme/gnetlist.scm %{_datadir}/gEDA/scheme/partslist-common.scm %{_mandir}/man1/gnetlist.1%{?ext_man} +%{_mandir}/man1/gnetlist-legacy.1%{?ext_man} %files -n geda-gschem -f geda-gschem.lang %dir %{_datadir}/gEDA/scheme/gschem @@ -358,6 +409,8 @@ %{_datadir}/gEDA/gschem-gtkrc %{_datadir}/gEDA/gschem-colormap-darkbg %{_datadir}/gEDA/gschem-colormap-lightbg +%{_datadir}/gEDA/gschem-colormap-whitebg +%{_datadir}/gEDA/gschem-colormap-whitebg-bw %{_datadir}/gEDA/gschem-colormap-bw %{_datadir}/gEDA/scheme/pcb.scm %{_datadir}/gEDA/scheme/auto-uref.scm @@ -369,6 +422,7 @@ %{_datadir}/gEDA/scheme/default-attrib-positions.scm %{_datadir}/gEDA/scheme/generate_netlist.scm %{_datadir}/gEDA/scheme/geda-deprecated-config.scm +%{_datadir}/gEDA/scheme/gschem-deprecated-config.scm %{_datadir}/gEDA/scheme/image.scm %{_datadir}/gEDA/scheme/list-keys.scm %{_datadir}/gEDA/scheme/spice-common.scm @@ -381,6 +435,7 @@ %{_datadir}/gEDA/scheme/gschem/gschemdoc.scm %{_datadir}/gEDA/scheme/gschem/hook.scm %{_datadir}/gEDA/scheme/gschem/keymap.scm +%{_datadir}/gEDA/scheme/gschem/repl.scm %{_datadir}/gEDA/scheme/gschem/selection.scm %{_datadir}/gEDA/scheme/gschem/util.scm %{_datadir}/gEDA/scheme/gschem/window.scm @@ -396,18 +451,27 @@ %{_datadir}/gEDA/scheme/geda/attrib.scm %{_datadir}/gEDA/scheme/geda/config.scm %{_datadir}/gEDA/scheme/geda/deprecated.scm +%{_datadir}/gEDA/scheme/geda/log.scm %{_datadir}/gEDA/scheme/geda/object.scm %{_datadir}/gEDA/scheme/geda/os.scm %{_datadir}/gEDA/scheme/geda/page.scm %{_datadir}/gEDA/scheme/geda/core/gettext.scm +%{python_sitearch}/gaf +%exclude %{python_sitearch}/gaf/netlist %files -n geda-gsymcheck -f geda-gsymcheck.lang %{_bindir}/gsymcheck %{_datadir}/gEDA/system-gsymcheckrc %{_mandir}/man1/gsymcheck.1%{?ext_man} +%files -n geda-xorn +%{_bindir}/xorn +%{_libdir}/xorn +%{python_sitearch}/xorn + %files -n geda-symbols %{_datadir}/gEDA/sym +%{_datadir}/gEDA/extra-sym %files -n geda-utils -f geda-gaf.lang %{_bindir}/gaf ++++++ geda-gaf-1.9.2.tar.gz -> geda-gaf-1.10.0.tar.gz ++++++ /work/SRC/openSUSE:Factory/geda-gaf/geda-gaf-1.9.2.tar.gz /work/SRC/openSUSE:Factory/.geda-gaf.new.3248/geda-gaf-1.10.0.tar.gz differ: char 5, line 1 ++++++ geda-gaf-enable-guile-2.2.patch -> geda-gaf-enable-guile-2.0.patch ++++++ --- /work/SRC/openSUSE:Factory/geda-gaf/geda-gaf-enable-guile-2.2.patch 2019-08-05 10:38:29.455319286 +0200 +++ /work/SRC/openSUSE:Factory/.geda-gaf.new.3248/geda-gaf-enable-guile-2.0.patch 2020-04-07 10:32:32.938594549 +0200 @@ -1,20 +1,14 @@ ---- geda-gaf-1.9.2/m4/geda-guile.m4.orig 2019-03-22 08:26:51.252381617 +0100 -+++ geda-gaf-1.9.2/m4/geda-guile.m4 2019-03-22 08:27:36.448305958 +0100 -@@ -35,13 +35,13 @@ +diff -up geda-gaf-1.10.0/m4/geda-guile.m4.zzzz geda-gaf-1.10.0/m4/geda-guile.m4 +--- geda-gaf-1.10.0/m4/geda-guile.m4.zzzz 2019-10-11 13:32:59.000000000 +0200 ++++ geda-gaf-1.10.0/m4/geda-guile.m4 2019-10-11 13:33:36.000000000 +0200 +@@ -35,8 +35,8 @@ AC_DEFUN([AX_CHECK_GUILE], GUILE_MIN_TEENY=`echo ${GUILE_MIN_VER} | sed -e 's;.*\.;;'` _found_pkg_config_guile=yes -- PKG_CHECK_MODULES(GUILE, [guile-2.0 >= $GUILE_MIN_VER], -- [GUILE_PKG_NAME=guile-2.0], [_found_pkg_config_guile=no]) -+ PKG_CHECK_MODULES(GUILE, [guile-2.2 >= $GUILE_MIN_VER], -+ [GUILE_PKG_NAME=guile-2.2], [_found_pkg_config_guile=no]) +- PKG_CHECK_MODULES(GUILE, [guile-2.2 >= $GUILE_MIN_VER], +- [GUILE_PKG_NAME=guile-2.2], [_found_pkg_config_guile=no]) ++ PKG_CHECK_MODULES(GUILE, [guile-2.0 >= $GUILE_MIN_VER], ++ [GUILE_PKG_NAME=guile-2.0], [_found_pkg_config_guile=no]) if test "${_found_pkg_config_guile}" = "no" ; then -- PKG_CHECK_MODULES(GUILE, [guile-1.8 >= $GUILE_MIN_VER], -+ PKG_CHECK_MODULES(GUILE, [guile-2.0 >= $GUILE_MIN_VER], - [_found_pkg_config_guile=yes -- GUILE_PKG_NAME=guile-1.8], -+ GUILE_PKG_NAME=guile-2.0], - [_found_pkg_config_guile=no]) - fi - + PKG_CHECK_MODULES(GUILE, [guile-2.0 >= $GUILE_MIN_VER], ++++++ geda-gaf-fix-uninitialized-variable.patch ++++++ diff -up geda-gaf-1.10.0/contrib/gmk_sym/convert_sym.c.aaaa geda-gaf-1.10.0/contrib/gmk_sym/convert_sym.c --- geda-gaf-1.10.0/contrib/gmk_sym/convert_sym.c.aaaa 2019-10-08 16:54:21.000000000 +0200 +++ geda-gaf-1.10.0/contrib/gmk_sym/convert_sym.c 2020-02-26 14:28:48.223952867 +0100 @@ -1510,6 +1510,7 @@ do_instance(FILE *fp) * I #instance LIB:NAME #PAGE #X #Y #ROTATION #MAGNIFICATION ' */ + mirror = 0; text[0] = 0; lib[0] = 0; name[0] = 0; diff -up geda-gaf-1.10.0/gattrib/src/gtksheet_2_2.c.aaaa geda-gaf-1.10.0/gattrib/src/gtksheet_2_2.c --- geda-gaf-1.10.0/gattrib/src/gtksheet_2_2.c.aaaa 2020-02-26 13:26:16.619008214 +0100 +++ geda-gaf-1.10.0/gattrib/src/gtksheet_2_2.c 2020-02-26 13:28:49.741544951 +0100 @@ -8418,6 +8418,9 @@ gtk_sheet_position_child(GtkSheet *sheet gint yoffset = 0; GdkRectangle area; +// avoid build fail due to possibly uninitialized variables + area.y = area.x = 0; + gtk_widget_get_child_requisition(child->widget, &child_requisition); if(sheet->column_titles_visible) ++++++ gschem-doc-path.patch ++++++ --- /var/tmp/diff_new_pack.5m2g8Y/_old 2020-04-07 10:32:36.982599818 +0200 +++ /var/tmp/diff_new_pack.5m2g8Y/_new 2020-04-07 10:32:36.986599823 +0200 @@ -1,13 +1,13 @@ -Index: geda-gaf-1.8.1/gschem/scheme/gschem/gschemdoc.scm +Index: geda-gaf-1.10.0/gschem/scheme/gschem/gschemdoc.scm =================================================================== ---- geda-gaf-1.8.1.orig/gschem/scheme/gschem/gschemdoc.scm -+++ geda-gaf-1.8.1/gschem/scheme/gschem/gschemdoc.scm +--- geda-gaf-1.10.0.orig/gschem/scheme/gschem/gschemdoc.scm ++++ geda-gaf-1.10.0/gschem/scheme/gschem/gschemdoc.scm @@ -50,7 +50,7 @@ Get the directory where gEDA documentati (lambda (dir) (let ((docdir (string-join (list (guess-prefix dir) - "share" "doc" "geda-gaf") + "share" "doc" "packages" "geda-gaf") - separator))) + file-name-separator-string))) (and (false-if-exception (eq? 'directory (stat:type (stat docdir)))) ++++++ xorn-enable-guile-2.2.patch ++++++ diff -up geda-gaf-1.10.0/xorn/configure.ac.ssss geda-gaf-1.10.0/xorn/configure.ac --- geda-gaf-1.10.0/xorn/configure.ac.ssss 2019-10-10 15:53:03.000000000 +0200 +++ geda-gaf-1.10.0/xorn/configure.ac 2019-10-10 15:53:23.000000000 +0200 @@ -30,7 +30,7 @@ AC_PROG_CXX AM_PATH_PYTHON([2.7]) PKG_CHECK_MODULES([PYTHON], [python2 >= 2.7]) -PKG_CHECK_MODULES([GUILE], [guile-2.0 >= 2.0.10]) +PKG_CHECK_MODULES([GUILE], [guile-2.2 >= 2.0.10]) AM_GNU_GETTEXT([external]) AM_GNU_GETTEXT_VERSION([0.18.2])