forked from pool/purpose
This commit is contained in:
commit
5abd5622ae
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
baselibs.conf
Normal file
3
baselibs.conf
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
purpose
|
||||||
|
purpose-devel
|
||||||
|
requires "purpose-<targettype> = <version>"
|
26
build.patch
Normal file
26
build.patch
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
diff --git a/src/plugins/reviewboard/quick/rbrepositoriesmodel.h b/src/plugins/reviewboard/quick/rbrepositoriesmodel.h
|
||||||
|
index 9a1a568..cd27015 100644
|
||||||
|
--- a/src/plugins/reviewboard/quick/rbrepositoriesmodel.h
|
||||||
|
+++ b/src/plugins/reviewboard/quick/rbrepositoriesmodel.h
|
||||||
|
@@ -54,7 +54,7 @@ private:
|
||||||
|
struct Value {
|
||||||
|
QVariant name;
|
||||||
|
QVariant path;
|
||||||
|
- bool operator<(const Value &v1) {
|
||||||
|
+ bool operator<(const Value &v1) const {
|
||||||
|
return name.toString() < v1.name.toString();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
diff --git a/src/widgets/menu.cpp b/src/widgets/menu.cpp
|
||||||
|
index 8e6309f..6dc9974 100644
|
||||||
|
--- a/src/widgets/menu.cpp
|
||||||
|
+++ b/src/widgets/menu.cpp
|
||||||
|
@@ -62,7 +62,7 @@ Menu::Menu(QWidget* parent)
|
||||||
|
: QMenu(parent)
|
||||||
|
, d_ptr(new MenuPrivate(this))
|
||||||
|
{
|
||||||
|
- connect(d_ptr->m_model, &AlternativesModel::inputDataChanged, this, &Menu::reload);
|
||||||
|
+ connect(d_ptr->m_model.data(), &AlternativesModel::inputDataChanged, this, &Menu::reload);
|
||||||
|
connect(this, &QMenu::triggered, this, [this](QAction* action) {
|
||||||
|
Q_D(Menu);
|
||||||
|
d->trigger(action->property("row").toInt());
|
3
purpose-1.0rc1.tar.xz
Normal file
3
purpose-1.0rc1.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e932bc00d42c10f5f61b764bb9c61412483bf7f544a8ee6fcde28035cbd4d824
|
||||||
|
size 61248
|
5
purpose.changes
Normal file
5
purpose.changes
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Aug 9 08:50:02 UTC 2015 - hrvoje.senjan@gmail.com
|
||||||
|
|
||||||
|
- Activate purpose package
|
||||||
|
|
101
purpose.spec
Normal file
101
purpose.spec
Normal file
@ -0,0 +1,101 @@
|
|||||||
|
#
|
||||||
|
# spec file for package purpose
|
||||||
|
#
|
||||||
|
# Copyright (c) 2015 SUSE LINUX 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/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: purpose
|
||||||
|
Version: 1.0~rc1
|
||||||
|
Release: 0
|
||||||
|
%define kf5_version 5.7.0
|
||||||
|
%define rversion 1.0rc1
|
||||||
|
BuildRequires: cmake >= 2.8.12
|
||||||
|
BuildRequires: extra-cmake-modules >= 1.7.0
|
||||||
|
BuildRequires: intltool
|
||||||
|
BuildRequires: kaccounts-integration-devel
|
||||||
|
BuildRequires: kconfig-devel >= %{kf5_version}
|
||||||
|
BuildRequires: kcoreaddons-devel >= %{kf5_version}
|
||||||
|
BuildRequires: kdeclarative-devel >= %{kf5_version}
|
||||||
|
BuildRequires: kf5-filesystem
|
||||||
|
BuildRequires: ki18n-devel >= %{kf5_version}
|
||||||
|
BuildRequires: kio-devel >= %{kf5_version}
|
||||||
|
BuildRequires: libaccounts-glib-devel
|
||||||
|
BuildRequires: libaccounts-qt5-devel
|
||||||
|
BuildRequires: libsignon-qt5-devel
|
||||||
|
BuildRequires: pkgconfig(Qt5Core) >= 5.2.0
|
||||||
|
BuildRequires: pkgconfig(Qt5Gui) >= 5.2.0
|
||||||
|
BuildRequires: pkgconfig(Qt5Qml) >= 5.2.0
|
||||||
|
BuildRequires: pkgconfig(Qt5Test) >= 5.2.0
|
||||||
|
Summary: Provides abstractions to get the developer's purposes fulfilled
|
||||||
|
License: LGPL-2.1+
|
||||||
|
Group: System/GUI/KDE
|
||||||
|
Url: http://www.kde.org
|
||||||
|
Source: %{name}-%{rversion}.tar.xz
|
||||||
|
Source1: baselibs.conf
|
||||||
|
Patch0: build.patch
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
|
%description
|
||||||
|
Framework for providing abstractions to get the developer's purposes fulfilled.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Provides abstractions to get the developer's purposes fulfilled: Build Environment
|
||||||
|
Group: Development/Libraries/KDE
|
||||||
|
Requires: %{name} = %{version}
|
||||||
|
Requires: extra-cmake-modules
|
||||||
|
Requires: kcoreaddons-devel >= %{kf5_version}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
Framework for providing abstractions to get the developer's purposes fulfilled.
|
||||||
|
Development files.
|
||||||
|
|
||||||
|
%lang_package
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{name}-%{rversion}
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
%cmake_kf5 -d build
|
||||||
|
%make_jobs
|
||||||
|
|
||||||
|
%install
|
||||||
|
%kf5_makeinstall -C build
|
||||||
|
|
||||||
|
%post
|
||||||
|
/sbin/ldconfig
|
||||||
|
|
||||||
|
%postun
|
||||||
|
/sbin/ldconfig
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_kf5_libdir}/libKF5Purpose.so.*
|
||||||
|
%{_kf5_libdir}/libKF5PurposeWidgets.so.*
|
||||||
|
%{_kf5_libdir}/libReviewboardHelpers.so
|
||||||
|
%{_kf5_sharedir}/purpose/
|
||||||
|
%{_kf5_plugindir}/
|
||||||
|
%{_kf5_qmldir}/
|
||||||
|
%{_kf5_iconsdir}/hicolor/*/actions/kipiplugin_youtube.*
|
||||||
|
%{_kf5_iconsdir}/hicolor/*/apps/reviewboard.*
|
||||||
|
%{_kf5_sharedir}/accounts/
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_kf5_libdir}/libKF5Purpose.so
|
||||||
|
%{_kf5_libdir}/libKF5PurposeWidgets.so
|
||||||
|
%{_kf5_libdir}/cmake/KDEExperimentalPurpose/
|
||||||
|
%{_kf5_includedir}/
|
||||||
|
|
||||||
|
%changelog
|
Loading…
x
Reference in New Issue
Block a user