forked from pool/sqlitebrowser
Compare commits
2 Commits
Author | SHA256 | Date | |
---|---|---|---|
|
6518cf4349 | ||
|
7728341a30 |
@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 4 17:44:01 UTC 2024 - Mariusz Fik <fisiu@opensuse.org>
|
||||
|
||||
- Update to 3.13.1:
|
||||
* Docked data browsers
|
||||
* Better support for HiDPI and new svg icons
|
||||
* Theme updates
|
||||
* Import/Export enhancements
|
||||
* Built with qcustomplot and qhexedit
|
||||
- Add switch_case_return.patch: fix compilation.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 4 12:16:26 UTC 2022 - marec <marec@detebe.org>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package sqlitebrowser
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,14 +17,16 @@
|
||||
|
||||
|
||||
Name: sqlitebrowser
|
||||
Version: 3.12.2
|
||||
Version: 3.13.1
|
||||
Release: 0
|
||||
Summary: Spreadsheet-like interface to SQLite databases
|
||||
License: GPL-3.0-or-later AND MPL-2.0
|
||||
Group: Productivity/Office/Organizers
|
||||
URL: http://sqlitebrowser.org
|
||||
URL: https://sqlitebrowser.org
|
||||
Source0: https://github.com/%{name}/%{name}/archive/v%{version}.tar.gz
|
||||
Source1: sqlitebrowser.1
|
||||
# PATCH-FIX-UPSTREAM switch_case_return.patch -- fisiu@opensuse.org
|
||||
Patch0: switch_case_return.patch
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: hicolor-icon-theme
|
||||
BuildRequires: libqscintilla_qt5-devel
|
||||
@ -39,6 +41,8 @@ BuildRequires: pkgconfig(Qt5Test)
|
||||
BuildRequires: pkgconfig(Qt5Widgets)
|
||||
BuildRequires: pkgconfig(Qt5Xml)
|
||||
BuildRequires: pkgconfig(glib-2.0)
|
||||
BuildRequires: pkgconfig(qcustomplot)
|
||||
BuildRequires: pkgconfig(qhexedit2)
|
||||
BuildRequires: pkgconfig(sqlcipher)
|
||||
BuildRequires: pkgconfig(sqlite3)
|
||||
# not on SLE-12
|
||||
@ -65,12 +69,15 @@ Controls and guided dialogs are available for users to:
|
||||
|
||||
%prep
|
||||
%setup -qn %{name}-%{version}
|
||||
%patch -P 0 -p1
|
||||
|
||||
%build
|
||||
%cmake \
|
||||
-DQSCINTILLA_INCLUDE_DIR=%{_includedir}/qt5/Qsci \
|
||||
-DQSCINTILLA_LIBRARY=%{_libdir}/libqscintilla2_qt5.so \
|
||||
-DBUILD_SHARED_LIBS=OFF \
|
||||
-DBUILD_STABLE_VERSION=ON \
|
||||
-DFORCE_INTERNAL_QCUSTOMPLOT=OFF \
|
||||
-DFORCE_INTERNAL_QHEXEDIT=OFF \
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1500
|
||||
-DFORCE_INTERNAL_QSCINTILLA=ON \
|
||||
%endif
|
||||
@ -100,12 +107,13 @@ EOF
|
||||
%files
|
||||
%doc README.md currentrelease
|
||||
%license LICENSE
|
||||
%{_mandir}/man1/%{name}.1%{ext_man}
|
||||
%{_mandir}/man1/%{name}.1%{?ext_man}
|
||||
%{_bindir}/%{name}
|
||||
%{_datadir}/applications/*
|
||||
%dir %{_datadir}/metainfo
|
||||
%{_datadir}/metainfo/%{name}.desktop.appdata.xml
|
||||
%{_datadir}/pixmaps/*
|
||||
%{_datadir}/icons/hicolor/*/apps/sqlitebrowser.png
|
||||
%{_datadir}/icons/hicolor/scalable/apps/sqlitebrowser.svg
|
||||
|
||||
%changelog
|
||||
|
13
switch_case_return.patch
Normal file
13
switch_case_return.patch
Normal file
@ -0,0 +1,13 @@
|
||||
Index: sqlitebrowser-3.13.1/src/sql/ObjectIdentifier.cpp
|
||||
===================================================================
|
||||
--- sqlitebrowser-3.13.1.orig/src/sql/ObjectIdentifier.cpp
|
||||
+++ sqlitebrowser-3.13.1/src/sql/ObjectIdentifier.cpp
|
||||
@@ -49,6 +49,8 @@ std::string escapeIdentifier(const std::
|
||||
// default branch is removed, even though we have covered all possibilities in the
|
||||
// switch statement.
|
||||
return '"' + duplicate_char(id, '"') + '"';
|
||||
+ default:
|
||||
+ return id;
|
||||
}
|
||||
}
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:645f98d38e5d128a449e93cebf03c8070f9eacd2d16b10e433a781d54a9d478a
|
||||
size 3990817
|
3
v3.13.1.tar.gz
Normal file
3
v3.13.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1044ba67d649cabc459eb887c016f70d6a404ad651390ab33bf7859dc7f1b67b
|
||||
size 4923092
|
Loading…
x
Reference in New Issue
Block a user