Compare commits

..

No commits in common. "factory" and "factory" have entirely different histories.

5 changed files with 8 additions and 40 deletions

View File

@ -1,14 +1,3 @@
-------------------------------------------------------------------
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>

View File

@ -1,7 +1,7 @@
#
# spec file for package sqlitebrowser
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,16 +17,14 @@
Name: sqlitebrowser
Version: 3.13.1
Version: 3.12.2
Release: 0
Summary: Spreadsheet-like interface to SQLite databases
License: GPL-3.0-or-later AND MPL-2.0
Group: Productivity/Office/Organizers
URL: https://sqlitebrowser.org
URL: http://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
@ -41,8 +39,6 @@ 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
@ -69,15 +65,12 @@ 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_STABLE_VERSION=ON \
-DFORCE_INTERNAL_QCUSTOMPLOT=OFF \
-DFORCE_INTERNAL_QHEXEDIT=OFF \
-DBUILD_SHARED_LIBS=OFF \
%if 0%{?suse_version} && 0%{?suse_version} <= 1500
-DFORCE_INTERNAL_QSCINTILLA=ON \
%endif
@ -107,13 +100,12 @@ 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

View File

@ -1,13 +0,0 @@
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;
}
}

3
v3.12.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:645f98d38e5d128a449e93cebf03c8070f9eacd2d16b10e433a781d54a9d478a
size 3990817

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1044ba67d649cabc459eb887c016f70d6a404ad651390ab33bf7859dc7f1b67b
size 4923092