forked from pool/pulseview
Accepting request 236314 from home:Heinervdm:sigrok
sigrok GUI OBS-URL: https://build.opensuse.org/request/show/236314 OBS-URL: https://build.opensuse.org/package/show/electronics/pulseview?expand=0&rev=1
This commit is contained in:
commit
a31453cf0d
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
pulseview-0.2.0.tar.gz
Normal file
3
pulseview-0.2.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:feb5d33a0a91c989bfc39fa758195755e78e87c3cf445bb135a8c8d4f86bc1dd
|
||||
size 148799
|
29
pulseview.changes
Normal file
29
pulseview.changes
Normal file
@ -0,0 +1,29 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 2 18:56:20 UTC 2014 - bugs@vdm-design.de
|
||||
|
||||
- Sync .spec with the one from rmax
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 30 10:47:19 UTC 2014 - bugs@vdm-design.de
|
||||
|
||||
- Update to version 0.2.0
|
||||
* Support for protocol decoding (via libsigrokdecode) has been added, including support for annotation rows, multiple decoders in the same GUI window, support for stacking protocol decoders (e.g. I²C -> RTC8564, UART -> MIDI, or SPI -> SDcard) and lots more.
|
||||
* Support for loading and saving sigrok session (*.sr) files has been added.
|
||||
* Initial support for analog data sources (specifically oscilloscopes, e.g. the Rigol DS1052E) has been added.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 29 13:37:36 UTC 2013 - max@suse.com
|
||||
|
||||
- Upstream adopted pulseview-pthread.patch
|
||||
- Disable -Werror to fix build.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 17 12:15:26 UTC 2013 - max@suse.com
|
||||
|
||||
- Explicitly link against libpthread (pulseview-pthread.patch).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 16 17:20:39 UTC 2013 - max@suse.com
|
||||
|
||||
- Initial build from git snapshot.
|
||||
|
86
pulseview.spec
Normal file
86
pulseview.spec
Normal file
@ -0,0 +1,86 @@
|
||||
#
|
||||
# spec file for package libsigrok
|
||||
#
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# 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 http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Summary: Qt-based GUI for sigrok
|
||||
Name: pulseview
|
||||
Version: 0.2.0
|
||||
Release: 1
|
||||
License: GPL-3.0+
|
||||
Group: Productivity/Scientific/Electronics
|
||||
Url: http://sigrok.org
|
||||
BuildRequires: glib2-devel
|
||||
BuildRequires: libsigrok-devel >= 0.3.0
|
||||
BuildRequires: libsigrokdecode-devel >= 0.3.0
|
||||
BuildRequires: qt-devel
|
||||
BuildRequires: boost-devel
|
||||
BuildRequires: cmake
|
||||
Source0: http://sigrok.org/download/source/pulseview/%{name}-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
The sigrok project aims at creating a portable, cross-platform,
|
||||
Free/Libre/Open-Source logic analyzer software that supports various
|
||||
logic analyzer hardware products.
|
||||
|
||||
PulseView is a Qt-based GUI for sigrok.
|
||||
|
||||
#
|
||||
# Macros for cmake
|
||||
# taken from macros.cmake in Intel:Moblin/cmake
|
||||
#
|
||||
%define _cmake_lib_suffix64 -DLIB_SUFFIX=64
|
||||
%define _cmake_skip_rpath -DCMAKE_SKIP_RPATH:BOOL=ON
|
||||
%define __cmake %{_bindir}/cmake
|
||||
|
||||
%define cmake \
|
||||
CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \
|
||||
CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
|
||||
FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ; \
|
||||
%__cmake \\\
|
||||
-DCMAKE_VERBOSE_MAKEFILE=ON \\\
|
||||
-DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \\\
|
||||
-DCMAKE_INSTALL_LIBDIR:PATH=%{_libdir} \\\
|
||||
-DINCLUDE_INSTALL_DIR:PATH=%{_includedir} \\\
|
||||
-DLIB_INSTALL_DIR:PATH=%{_libdir} \\\
|
||||
-DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \\\
|
||||
-DSHARE_INSTALL_PREFIX:PATH=%{_datadir} \\\
|
||||
%if "%{?_lib}" == "lib64" \
|
||||
%{?_cmake_lib_suffix64} \\\
|
||||
%endif \
|
||||
%{?_cmake_skip_rpath} \\\
|
||||
-DBUILD_SHARED_LIBS:BOOL=ON -DENABLE_DECODE=ON
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
export CXXFLAGS="%optflags -fpermissive"
|
||||
%cmake -DDISABLE_WERROR=TRUE .
|
||||
make %{?smp_mflags}
|
||||
|
||||
%install
|
||||
make DESTDIR=%buildroot install
|
||||
rm -f %buildroot/%_libdir/*.la
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING README HACKING
|
||||
%_bindir/*
|
||||
%_mandir/man1/pulseview.*
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user