osc copypac from project:KDE:Distro:Factory package:gammaray revision:7

OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/gammaray?expand=0&rev=1
This commit is contained in:
Raymond Wooninck 2013-10-19 18:04:06 +00:00 committed by Git OBS Bridge
commit 5182c1e8c3
6 changed files with 192 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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
View File

@ -0,0 +1 @@
.osc

3
GammaRay-1.3.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5ad0c2480e30c9e9384cea99f67bcaf4178ae66cc4a283f5c20e77d3e12474a5
size 643381

63
gammaray.changes Normal file
View File

@ -0,0 +1,63 @@
-------------------------------------------------------------------
Mon Aug 5 17:35:43 UTC 2013 - hrvoje.senjan@gmail.com
- enable CMAKE_SKIP_INSTALL_RPATH option so RPATH is ommited from
install tree
-------------------------------------------------------------------
Sun Jul 21 19:10:32 UTC 2013 - hrvoje.senjan@gmail.com
- Update to 1.3.1:
- Changes since 1.3.0:
* Fix state machine viewer on Windows
* Fix crash in model cell viewer
* Fix crash in meta object browser caused by deleted dynamic
meta objects
* Improve performance of the mime type browser
* Improvements in the state machine viewer image export
* Compile fixes for some Qt5 configurations
- Changes since 1.2.0:
* New KJob tracker plugin (requires KDE4)
* Qt5 support
* New Meta Object Browser tool
* New QStandardPaths and QMimeTypeDatabase browsers (Qt5 only)
- Changes since 1.1.1:
* Published API for writing your own plugin
* New QStyle inspector
* New QAction inspector with shortcut conflict finder
* New QPalette editor
* QWidget paint operation introspection using QPaintBuffer
(requires private headers)
- Dropped gammaray-gcc47.patch, not needed
- Added libkde4-devel, python-devel, graphviz-devel and libxml2-devel
BuildRequires
- Added qvtk.diff, so variable is used, instead of hardcoded QVTK
- Adjust license format
-------------------------------------------------------------------
Tue Nov 20 17:23:54 UTC 2012 - nico.kruber@gmail.com
- Fix the SLES build (%make_install is not expanded on SLES)
-------------------------------------------------------------------
Tue May 15 09:31:35 UTC 2012 - idonmez@suse.com
- Fix compilation with gcc 4.7
-------------------------------------------------------------------
Mon Mar 19 12:05:14 UTC 2012 - toddrme2178@gmail.com
- Update to version 1.1.0
- Added vtk dependencies for viewing source structure
- Cleaned up spec file formatting
-------------------------------------------------------------------
Thu Nov 3 09:03:32 UTC 2011 - idonmez@suse.com
- Fix build on openSUSE 11.4 and lower
-------------------------------------------------------------------
Sun Oct 30 21:25:49 UTC 2011 - wstephenson@suse.com
- Initial version 1.0.50

91
gammaray.spec Normal file
View File

@ -0,0 +1,91 @@
#
# spec file for package gammray
#
# 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/
#
%define tarname GammaRay
Name: gammaray
Version: 1.3.1
Release: 0
License: GPL-2+
Summary: Introspection/Debugging Tool for Qt Applications
Url: http://www.kdab.com/gammaray
Group: Development/Tools/Debugger
Source: %{tarname}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM qvtk.diff -- Uses variable, instead of hardcoded QVTK
Patch0: qvtk.diff
BuildRequires: cmake
BuildRequires: fdupes
# include this so the icon folders don't need to be owned by the package
BuildRequires: graphviz-devel
BuildRequires: hicolor-icon-theme
BuildRequires: libQtWebKit-devel
BuildRequires: libxml2-devel
BuildRequires: libkde4-devel
BuildRequires: python-vtk
BuildRequires: python-devel
BuildRequires: vtk-devel
BuildRequires: vtk-java
BuildRequires: vtk-tcl
BuildRequires: vtk-qt
BuildRequires: update-desktop-files
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Gamma Ray is a comprehensive collection of high level introspection
and debugging utilities specifically tailored for the various
frameworks in Qt.
%prep
%setup -q -n %{tarname}-%{version}
%patch0 -p1
%build
%if "%{_lib}" == "lib64"
LIBSUFFIX="-DLIB_SUFFIX=64"
%else
LIBSUFFIX=""
%endif
cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DCMAKE_SKIP_INSTALL_RPATH=ON \
$LIBSUFFIX
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install
# Remove unneeded headers
rm -r %{buildroot}%{_includedir}/%{name}
install -d -m 755 %{buildroot}%{_docdir}/%{name}
mv %{buildroot}%{_datadir}/doc/%{name} %{buildroot}%{_docdir}
%suse_update_desktop_file GammaRay Development Qt Debugger
%fdupes %{buildroot}
%files
%defattr(-,root,root)
%{_bindir}/gammaray
%{_libdir}/gammaray_probe.so
%{_libdir}/libgammaray_widget_export_actions.so
%{_libdir}/qt4/plugins/gammaray/
%dir %{_libdir}/qt4/plugins/styles/
%{_docdir}/%{name}/
%{_libdir}/qt4/plugins/styles/gammaray_injector_style.so
%{_mandir}/man1/gammaray.*
%{_datadir}/applications/GammaRay.desktop
%dir %{_datadir}/icons/hicolor/512x512/
%dir %{_datadir}/icons/hicolor/512x512/apps/
%{_datadir}/icons/hicolor/*/apps/GammaRay.png
%changelog

11
qvtk.diff Normal file
View File

@ -0,0 +1,11 @@
--- GammaRay-1.3.1/plugins/objectvisualizer/CMakeLists.txt.old 2013-04-30 22:44:26.000000000 +0200
+++ GammaRay-1.3.1/plugins/objectvisualizer/CMakeLists.txt 2013-07-21 21:27:57.985414163 +0200
@@ -33,7 +33,7 @@ target_link_libraries(gammaray_objectvis
${QT_QTCORE_LIBRARIES}
${QT_QTGUI_LIBRARIES}
${VTK_LIBRARIES}
- QVTK
+ ${QVTK_LIBRARIES}
gammaray_probe
)