Files
gtkwave/gtkwave.spec
Wojciech Kazubski dfa2904f4f - Update to 3.3.126
* Added -H --noheader command line option for GTK3.
  * Fix for rendering multiline string constants in dumps.
  * Added headerbar rc variable to disable GTK3 headerbars.
  * Add warning message for missing XPM loader.
  * Updated libghw to current version.
  * Changed behavior of X search in pattern search so it is
  matched by a single X bit.
- Changes in 3.3.125
  * Added json2stems to distribution to support newer versions
  of Verilator.
  * VCD parser fix for colon in VCD variable name (Jasper).
  * Parameter size 0 fix for Vivado: backs out very old fix
  (for MTI) that converts 0 size signals to reals.
  * Update vcd2fst so it handles MTI 0 size conversion.
- Update to gtkwave v3.3.124 with gtk3
- Updates paths with -gtk3
- Use libtirpc for RPC
- Drop use of %suse_update_desktop_file as it is deprecated
     https://en.opensuse.org/openSUSE:Update-desktop-files_deprecation
- Remove handling of /usr/share/gtkwave/examples/des* as it doesn't exist anymore
- Update documentation files
- Update schemas 
- update to 3.3.114:
  * Buffer overflow fixes in FST reader.
- update to 3.3.113:
  * fix scope/var buffer overflows in FST reader
  * wayland header fixes
  * CPU usage fix for wayland
- Update to 3.3.104: 
  * Remove redundant TREE_VHDL_ST_PACKAGE from SST exclude.
  * Added addCommentTracesFromList tcl command from user patch.
  * Harden savefile loader for missing group start on vectors.
  * Preliminary VHDL support for wlf2vcd.
  * Add missing return value checks on mmap() in FST writer.
  * Fix MAP_FAILED missing for MinGW.
  * Fix to make the coloration red on 'u' traces.  (Bug from
  * Dinotrace-like rendering in 3.3.96.)
  * Typo fix on missing group start on vectors.
  * Added support for loading .vf files
  * Added support for dumping variable types in vcd saveer,
    not just using "wire" for non-reals/strings.
  * Fix for uninitialized values at time 0 for FST, FSDB loaders.
- Update to version 3.3.101
  * Bugfixes and minor changes, see included ChangeLog file
- Update to version 3.3.79
  * Bugfixes and minor changes, see included ChangeLog file
- Update to version 3.3.78
  * Bugfixes and minor changes, see included ChangeLog file
- Uptdate to version 3.3.76
  * Bugfixes and minor changes, see included ChangeLog file
- Update to version 3.3.75
  * bugfix release, see included ChangeLog file for details
- Update to version 3.3.73
  * bugfix release, see included ChangeLog file for details
- Update to version 3.3.72
  * bugfix release, see included ChangeLog file for details
- Update to version 3.3.70
  * bugfix release, see included ChangeLog file for details
- Update to version 3.3.68
  * bugfix release, see included ChangeLog file for details
- Update to version 3.3.67
  * bugfix release, see included ChangeLog file for details
- Update to version 3.3.66
  * minor changes and bugfixes, see included ChangeLog file for details
- Update to version 3.3.65
  * minor changes, see included ChangeLog file for details
- Update to version 3.3.64
  * bugfix release, see included ChangeLog file for details
- Update to version 3.3.63
  * bugfix release, see included ChangeLog file for details
- Update to version 3.3.62
  * bugfix release, see included ChangeLog file for details
- Move documentation and examples to separate packages
- Delete gtkwave-rpmlintrc
- Update to version 3.3.61
  * Parameterized number of named markers
  * Updated LZ4 for version r118.
- Update to version 3.3.60
  * Harden fsdb reader against xtags that move backward in time.
- Update to version 3.3.59
  * Use Duff's Device for 8 byte -> 1 byte binary value compression 
    algorithm in FST writer.
  * Updated man page for gtkwave.1 indicating that XID is in hex.
  * Allow decimal conversions on popcnt filtered vectors that are
    greater than 64 bits (they will never overflow).
- Update to version 3.3.58
  * Added /Data Format/Popcnt function for ones counting.
  * Warnings fixes from new Clang 3.4 scan-build.
  * Updated VCD ID generation in various helpers to use a faster,
    equivalent algorithm.
  * Change [1] at end of struct to C99 [] notation with appropriate
    allocation size modification.
- Update to version 3.3.57
  * Fix for Electric Fence crash in vlist_freeze().
  * Updated LZ4 for version r113.
- Update to version 3.3.56
  * Fix to regex search to remove duplicate signal names because of
    faulty dumpers.
  * Valgrind fix on deallocated context: old GLOBALS pointer could
    be examined in set_GLOBALS_x().
  * Minor cleanup in treesearch_gtk2.c: removed redundant show
    widget invocation.
  * Added missing compressBound() for compress2() dest mallocs.
- Update to version 3.3.48
  * Fixed infinite loop hang on various helpers executables when
    extra arguments are specified.
  * Delete changed marker name if it exists when marker is removed.
  * Added "Open Hierarchy" option that will expand the SST and
    select the hierarchy for a given signal selected in the
    Signals window.
  * Added preliminary support for FsdbReader.
  * FSDB fix for generate created hierarchies.
  * FSDB fix for new debug info output style to be parsed.
  * Added generate as scope type to VCD/FST/FSDB.
  * Preliminary add for module port direction for FSDB and FST.
  * Display signal direction column in SST if not all signals are 
    declared as FST_VD_IMPLICIT.
  * Fixed GTK warning when hide_sst is enabled and SST is opened
    then closed.
  * Added extraction of in/out/inout from FSDB into FST with
    vcd2fst helper executable.  (It also converts FSDB to FST.)
  * Added support for SV structures, unions, classes, packages,
    programs, and interfaces.
  * Updated signal parsing in FST/FSDB to handle NC declarations
    for arrays in VCD.  (i.e., bitranges are missing)  Use vcd2fst
    or the -o option to read NC VCD files with arrays properly.
  * Preliminary support for SV datatypes of bit, logic, int,
    shortint, longint, byte, enum, and shortreal in VCD and FST.
  * Added sparse array datatype to FST (currently unused by gtkwave).
  * Added support for attribute begin/end in FST.  (Currently
    unused by gtkwave.)  This allows embedding of various data
    inside the structure tree.
  * Added autoraise on entry window on keystrokes or periodically
    when it exists.
  * Added ability to store $comment in FST files via the attribute
    mechanism (FST_AT_MISC/FST_MT_COMMENT).
  * removed obsolete gtkwave-3.3.47-no-return-in-nonvoid-function.patch
- Update to version 3.3.47
  * Fix for crash in 64-bit mode with array accesses in deprecated
    loader.
  * Partial VCD loader fix for small files.
  * Added preliminary do-nothing generate support in vermin.
  * Fixed minmax_valid for partial VCD loader: affects scaling
    on floating-point traces.
- Fix gcc warning no-return-in-nonvoid-function
  * gtkwave-3.3.47-no-return-in-nonvoid-function.patch
- Update to version 3.3.46
  * Fixed as of yet undetected hdr_incomplete bug when running off
    end of FST file.
  * Fixed problem with is_gtkw_save_file getting wiped out on
    reload.
- Update to version 3.3.45
  * Fix for VCDNAM_ESCAPE character in treesearch window
- Update to version 3.3.44
  * bugfix release, see included CHANGELOG.TXT for details 
- Update to version 3.3.43
  * bugfix release, see included CHANGELOG.TXT for details
- Update to version 3.3.42
  * bugfix release, see included CHANGELOG.TXT for details
- Update to version 3.3.41
  * Fix for gtkwave::addSignalsFromList when encountering
    signals of form a.b.MyBus[7:0] and a.b.MyBus[15:8] such
    that brackets aren't stripped.
  * Added experimental highlight_wavewindow rc variable which
    allows signals also to be highlighted in the wave window
    using the value for color_grid.
  * Added use_standard_trace_select rc variable and related
    menu option.
- Remove non OSI compliant files [bnc#783166]
- Update to version 3.3.40
- new version 3.3.28
- new version 3.3.3
- removed build patch
- enabled xz compression for versions greater than 11.1
- new version 3.1.10
- Fix build on Factory.
- Strip binaries.
- new version 3.1.10
- new version 3.1.7
- new version 3.1.6
- new version 3.1.2
- new version 3.1.1
- new version 3.0.30
- new version 3.0.29 with better build scripts
- new version 3.0.28
- new version 3.0.23
- updated to version 3.0.21
- added dummyfiles src/lib{z,bz2}/Makefile.in
- first specfile, mostly copied from ftp://download.fedora.redhat.com/pub/fedora/linux/extras/3/SRPMS/gtkwave-3.0.5-1.fc3.src.rpm

OBS-URL: https://build.opensuse.org/package/show/electronics/gtkwave?expand=0&rev=43
2026-01-09 11:48:42 +00:00

123 lines
3.8 KiB
RPMSpec

#
# spec file for package gtkwave
#
# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: gtkwave
Version: 3.3.126
Release: 0
Summary: Waveform viewer for Ditital Signals
License: GPL-2.0-or-later
Group: Productivity/Scientific/Electronics
URL: https://gtkwave.sourceforge.net/
Source0: https://downloads.sourceforge.net/%{name}/%{name}-gtk3-%{version}.tar.gz
BuildRequires: fdupes
BuildRequires: flex
BuildRequires: gcc-c++
BuildRequires: gperf
BuildRequires: gtk3-devel
BuildRequires: judy-devel
BuildRequires: libtirpc-devel
BuildRequires: tcl-devel
BuildRequires: tk-devel
BuildRequires: xz-devel
BuildRequires: zlib-devel
Recommends: %{name}-doc
%description
GTKWave is a waveform viewer that can view VCD files produced by most Verilog
simulation tools, as well as LXT files produced by certain Verilog simulation
tools.
%package doc
Summary: Documentation for GTKWave
Group: Documentation/Other
Requires: %{name} = %{version}
BuildArch: noarch
%description doc
GTKWave is a waveform viewer that can view VCD files produced by most Verilog
simulation tools, as well as LXT files produced by certain Verilog simulation
tools.
This package contains documentation for GTKWave
%package examples
Summary: Examples for GTKWave
Group: Documentation/Other
Requires: %{name} = %{version}
BuildArch: noarch
%description examples
GTKWave is a waveform viewer that can view VCD files produced by most Verilog
simulation tools, as well as LXT files produced by certain Verilog simulation
tools.
This package contains examples for GTKWave
%prep
%setup -q -n %{name}-gtk3-%{version}
%build
%configure \
--disable-mime-update \
--enable-gtk3 \
--enable-judy \
--with-gsettings \
--with-tirpc
%make_build
%install
%make_install
install -D -m 644 share/icons/gnome/16x16/mimetypes/gtkwave.png %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/gtkwave.png
install -D -m 644 share/icons/gnome/32x32/mimetypes/gtkwave.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/gtkwave.png
install -D -m 644 share/icons/gnome/48x48/mimetypes/gtkwave.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/gtkwave.png
# move documentation
install -d %{buildroot}%{_docdir}/%{name}/
mv %{buildroot}%{_datadir}/%{name}-gtk3/gtkwave.odt %{buildroot}%{_docdir}/%{name}/
# move examples
mv %{buildroot}%{_datadir}/%{name}-gtk3/examples %{buildroot}%{_docdir}/%{name}/
%fdupes %{buildroot}/%{_datadir}/icons/
%files
%license COPYING LICENSE.TXT
%doc ChangeLog README.md
%exclude %{_docdir}/%{name}/gtkwave.odt
%exclude %{_docdir}/%{name}/examples/
%{_bindir}/*
%{_mandir}/man1/*
%{_mandir}/man5/*
%{_datadir}/applications/%{name}.desktop
%dir %{_datadir}/icons/gnome/
%dir %{_datadir}/icons/gnome/*x*/
%dir %{_datadir}/icons/gnome/*/mimetypes/
%{_datadir}/icons/gnome/*/mimetypes/*.png
%{_datadir}/icons/gtkwave*
%{_datadir}/icons/hicolor/*/apps/%{name}.*
%{_datadir}/glib-2.0/schemas/com.geda.gtkwave.gschema.xml
%{_datadir}/mime/packages/x-gtkwave-extension*.xml
%files doc
%doc %{_docdir}/%{name}/gtkwave.odt
%files examples
%doc %{_docdir}/%{name}/examples/
%changelog