commit kicad for openSUSE:Factory
![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package kicad for openSUSE:Factory checked in at 2016-05-10 09:27:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kicad (Old) and /work/SRC/openSUSE:Factory/.kicad.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "kicad" Changes: -------- --- /work/SRC/openSUSE:Factory/kicad/kicad.changes 2016-03-26 15:25:21.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.kicad.new/kicad.changes 2016-05-10 09:27:52.000000000 +0200 @@ -1,0 +2,7 @@ +Fri May 6 17:10:15 UTC 2016 - davejplater@gmail.com + +- Added kicad-suse-help-path.patch to enable help in kicad. +- Added post and postun macros to allow proper integration with + various gui systems. + +------------------------------------------------------------------- New: ---- kicad-suse-help-path.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kicad.spec ++++++ --- /var/tmp/diff_new_pack.Cdg95S/_old 2016-05-10 09:27:53.000000000 +0200 +++ /var/tmp/diff_new_pack.Cdg95S/_new 2016-05-10 09:27:53.000000000 +0200 @@ -31,6 +31,9 @@ Patch1: kicad-user-library.patch # PATCH-FEATURE-OPENSUSE kicad-library-repos-install.patch Patch2: kicad-library-repos-install.patch +# kicad looks in /usr/share/doc/kicad for help files and doesn't find them. +# this patch adds packges/ befor kicad. +Patch3: kicad-suse-help-path.patch %if 0%{?suse_version} > 1320 BuildRequires: boost-devel >= 1.56 %else @@ -91,6 +94,7 @@ %setup -q -n kicad-%{version} %patch1 -p1 %patch2 -p1 +%patch3 cp %{SOURCE2} . @@ -127,6 +131,16 @@ %fdupes -s %{buildroot}%{_datadir}/kicad %fdupes -s %{buildroot}%{_datadir}/icons/hicolor +%post +%desktop_database_post +%icon_theme_cache_post +%mime_database_post + +%postun +%desktop_database_postun +%icon_theme_cache_postun +%mime_database_postun + %files %defattr(-,root,root) %doc CHANGELOG.txt COPYRIGHT.txt ++++++ kicad-suse-help-path.patch ++++++ Index: common/searchhelpfilefullpath.cpp =================================================================== --- common/searchhelpfilefullpath.cpp.orig +++ common/searchhelpfilefullpath.cpp @@ -107,6 +107,7 @@ wxString SearchHelpFileFullPath( const S // Below we account for an international subdirectory. subdirs.Add( wxT( "share" ) ); subdirs.Add( wxT( "doc" ) ); + subdirs.Add( wxT( "packages" ) ); subdirs.Add( wxT( "kicad" ) ); subdirs.Add( wxT( "help" ) );
participants (1)
-
root@hilbert.suse.de