The package rpms/bear.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s): https://src.fedoraproject.org/cgit/rpms/bear.git/commit/?id=63de6ffedccf9ca7....
Change: -ExcludeArch: ppc64le
Thanks.
Full change: ============
commit 63de6ffedccf9ca75b95ac7530521d5214ec63be Author: Martin Gansser mgansser@online.de Date: Wed Oct 17 21:18:11 2018 +0200
renaming bear to bear-factory
diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 7fa8691..0000000 --- a/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/bear-ac6be8b.tar.gz -/bear-781ec80.tar.gz diff --git a/bear.spec b/bear.spec deleted file mode 100644 index ebe7b09..0000000 --- a/bear.spec +++ /dev/null @@ -1,243 +0,0 @@ -# https://github.com/j-jorge/bear/commit/781ec8022b652b6ba2b76e4385d08c1ef320f... -%global commit0 781ec8022b652b6ba2b76e4385d08c1ef320fcc5 -%global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) - -Name: bear -Version: 0.7.0 -Release: 0.22.20161230git%{shortcommit0}%{?dist} -Summary: Game engine and editors dedicated to creating great 2D games -License: GPLv3+ and CC-BY-SA -URL: https://github.com/j-jorge/bear -Source0: https://github.com/j-jorge/bear/archive/%%7Bcommit0%7D/%%7Bname%7D-%%7Bcommi... -Patch0: wxwidgets-3.0.patch - -# Build is broken on ppc64le -%if 0%{?fedora} >= 26 -ExcludeArch: ppc64le -%endif - -BuildRequires: gcc-c++ -BuildRequires: boost-devel -BuildRequires: cmake -BuildRequires: desktop-file-utils -BuildRequires: docbook-utils -BuildRequires: gettext -%if 0%{?fedora} >= 26 -BuildRequires: libclaw-devel >= 1.7.4-17 -%else -BuildRequires: libclaw-devel >= 1.7.4-16 -%endif -BuildRequires: libjpeg-turbo-devel -BuildRequires: pkgconfig(freetype2) -BuildRequires: pkgconfig(sdl2) -BuildRequires: pkgconfig(SDL2_mixer) -BuildRequires: wxGTK3-devel -Requires: hicolor-icon-theme - - -%description -The Bear engine is a set of C++ libraries and tools dedicated to creating -great 2D games. It has been used to create Plee the Bear (plee-the-bear), -Andy's Super Great Park (asgp) and Tunnel (tunnel). - -The engine comes with a set of tools, namely the Bear Factory, intended to -help creating resources for the game. These tools include a level editor, -a character/model editor and an animation editor. - - -%package engine -Summary: Run-time libraries for games based on the Bear engine - -%description engine -The Bear engine is a set of C++ libraries and tools dedicated to creating -great 2D games. It has been used to create Plee the Bear (plee-the-bear), -Andy's Super Great Park (asgp) and Tunnel (tunnel). - -This package contains the run-time libraries used by the games based on -the Bear engine. - - -%package factory -Summary: Level, animation and model editors for the Bear engine -Requires: %{name}-engine%{?_isa} = %{version}-%{release} - -%description factory -This package includes the level editor, animation editor and model editor -of the Bear Engine for Plee the Bear & Andy's Super Great Park. - - -%package devel -Summary: Development files for %{name} -Requires: %{name}-engine%{?_isa} = %{version}-%{release} - -%description devel -Development files for %{name} - -%prep -%autosetup -n %{name}-%{commit0} -p 1 - -# change docbook_to_man to docbook2man -sed -i -e 's|docbook-to-man|docbook2man|g' cmake-helper/docbook-to-man.cmake - -# delete glew code because it picks up BSD license -rm -rf bear-engine/core/src/visual/glew/ - -%build -%cmake -DBEAR_ENGINE_INSTALL_LIBRARY_DIR=%{_lib} \ - -DBEAR_FACTORY_INSTALL_LIBRARY_DIR=%{_lib} \ - -DCMAKE_SKIP_RPATH:BOOL=ON \ - -DBEAR_USES_FREEDESKTOP=ON \ - -DRUNNING_BEAR_ENABLED=ON \ - -DBEAR_EDITORS_ENABLED=ON -%make_build - -%install -%make_install - -%find_lang %{name}-engine -%find_lang %{name}-factory - -# copy devel files for subpkg bear-devel -install -dm 755 %{buildroot}%{_includedir}/%{name}/cmake-helper/ -install -D cmake-helper/{*.cmake,*.cmake.in} %{buildroot}%{_includedir}/%{name}/cmake-helper/ -for file in $(find bear-engine/{core,lib}/src -name *.hpp -o -name *.tpp); -do - install -Dm 0644 $file %{buildroot}%{_includedir}/%{name}/$file -done -# fixes E: script-without-shebang -chmod a-x %{buildroot}%{_includedir}/%{name}/cmake-helper/*.cmake* - -rm -rf %{buildroot}%{_datadir}/pixmaps -rm -rf %{buildroot}%{_datadir}/applications/desc2img.desktop - -%check -desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop - -%post engine -p /sbin/ldconfig -%postun engine -p /sbin/ldconfig - -%post factory -p /sbin/ldconfig -%postun factory -p /sbin/ldconfig - -%files engine -f %{name}-engine.lang -%doc README.md -%license LICENSE license/CCPL license/GPL -%{_bindir}/running-%{name} -%{_libdir}/lib%{name}_*.so -%exclude %{_libdir}/lib%{name}-editor.so -%{_mandir}/man6/running-%{name}.6* - -%files factory -f %{name}-factory.lang -%doc README.md -%license LICENSE license/CCPL license/GPL -%{_bindir}/bend-image -%{_bindir}/image-cutter -%{_bindir}/bf*editor -%{_libdir}/lib%{name}-editor.so -%{_datadir}/%{name}-factory -%{_datadir}/applications/bf*editor.desktop -%{_datadir}/icons/hicolor/*/apps/%{name}-factory.png -%{_mandir}/man1/bf*editor.1* - -%files devel -%doc README.md -%{_includedir}/%{name} -%{_datadir}/cmake/%{name}-engine - - -%changelog -* Fri Jul 20 2018 Scott Talbert swt@techie.net - 0.7.0-0.22.20161230git781ec80 -- Fix building with wxWidgets 3.0 - -* Thu Jul 12 2018 Fedora Release Engineering releng@fedoraproject.org - 0.7.0-0.21.20161230git781ec80 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Wed Feb 07 2018 Fedora Release Engineering releng@fedoraproject.org - 0.7.0-0.20.20161230git781ec80 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Tue Jan 23 2018 Jonathan Wakely jwakely@redhat.com - 0.7.0-0.19.20161230git781ec80 -- Rebuilt for Boost 1.66 - -* Sun Jan 07 2018 Igor Gnatenko ignatenkobrain@fedoraproject.org - 0.7.0-0.18.20161230git781ec80 -- Remove obsolete scriptlets - -* Wed Aug 02 2017 Fedora Release Engineering releng@fedoraproject.org - 0.7.0-0.17.20161230git781ec80 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Wed Jul 26 2017 Fedora Release Engineering releng@fedoraproject.org - 0.7.0-0.16.20161230git781ec80 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Wed Jul 19 2017 Jonathan Wakely jwakely@redhat.com - 0.7.0-0.15.20161230git781ec80 -- Rebuilt for s390x binutils bug - -* Tue Jul 18 2017 Jonathan Wakely jwakely@redhat.com - 0.7.0-0.14.20161230git781ec80 -- Rebuilt for Boost 1.64 - -* Wed Feb 01 2017 Martin Gansser martinkg@fedoraproject.org - 0.7.0-0.13.20161230git -- rebuild for rawhide, with libclaw-devel >= 1.7.4-17 - -* Sat Jan 14 2017 Martin Gansser martinkg@fedoraproject.org - 0.7.0-0.12.20161230git -- remove %%{name}-engine-%%{_arch}.conf %%{name}-factory-%%{_arch}.conf -- add missing /sbin/ldconfig calls in %%post and %%postun -- add CMAKE option -DRUNNING_BEAR_ENABLED=ON for missing running-bear file -- add %%{_bindir}/running-%%{name} to engine file section -- install engine libraries into -DBEAR_ENGINE_INSTALL_LIBRARY_DIR=%%{_lib} -- install factory libraries into -DBEAR_FACTORY_INSTALL_LIBRARY_DIR=%%{_lib} - -* Mon Jan 9 2017 Michael Schwendt mschwendt@fedoraproject.org - 0.7.0-0.11.20161230git -- fix Release tag to include snapshot checkout date -- prepare rebuild against libclaw >= 1.7.4-16 for fix ABI compatibility - -* Mon Jan 02 2017 Martin Gansser martinkg@fedoraproject.org - 0.7.0-0.10git781ec80 -- add RR hicolor-icon-theme - -* Fri Dec 30 2016 Martin Gansser martinkg@fedoraproject.org - 0.7.0-0.9git781ec80 -- update to 0.7.0-0.9git781ec80 - -* Tue Dec 27 2016 Martin Gansser martinkg@fedoraproject.org - 0.7.0-0.8gitac6be8b -- add if condition due ppc64le build problem - -* Fri Dec 23 2016 Martin Gansser martinkg@fedoraproject.org - 0.7.0-0.7gitac6be8b -- change to -DCMAKE_SKIP_RPATH:BOOL=ON -- obsolete chrpath command -- convert docbook2man filename taken from .sgml file to lowercase -- remove BR chrpath - -* Tue Dec 13 2016 Martin Gansser martinkg@fedoraproject.org - 0.7.0-0.6gitac6be8b -- use wildcard to copy all cmake and cmake.in files for subpkg bear-devel -- copy also *.tpp files for subpkg bear-devel -- fix spurious-executable-perm -- fixes E: script-without-shebang -- specfile cleanup - -* Tue Dec 13 2016 Martin Gansser martinkg@fedoraproject.org - 0.7.0-0.5gitac6be8b -- Dropped subpkg engine/factory-devel because unversioned files needed at runtime -- Add subpkg %%{name}-devel - -* Mon Dec 12 2016 Martin Gansser martinkg@fedoraproject.org - 0.7.0-0.4gitac6be8b -- Add Requires: %%{name}-engine%%{?_isa} = %%{version}-%%{release} to bear-factory -- Delete glew code because it picks up BSD license -- run-time is the correct spelling, not runtime -- Add gtk-update-icon-cache in %%postun and %%posttrans section for bear-factory -- Add update-desktop-database in %%post and %%postun section for bear-factory -- Take ownership of %%dir %%{_datadir}/%%{name}-factory/images/ - %%dir %%{_datadir}/%%{name}-factory/item-description/ - %%dir %%{_datadir}/%%{name}-factory//item-description/generic in file section -- Add subpkg engine/factory-devel for unversioned files - -* Mon Nov 28 2016 Martin Gansser martinkg@fedoraproject.org - 0.7.0-0.3gitac6be8b -- Add BR chrpath -- Add BR libjpeg-turbo-devel -- Add BuildConflicts wxGTK3-devel - -* Sun Nov 27 2016 Martin Gansser martinkg@fedoraproject.org - 0.7.0-0.2gitac6be8b -- Remove Conflicts: wxGTK3-devel" -- Compressed sed command -- replace (non packaged) with (tunnel) from the descriptions -- replace (andy-super-great-park) with (asgp) from the descriptions -- run-time is the correct spelling, not runtime -- Add %%config to fix the non-conffile-in-etc warnings -- Remove desc2img.desktop due desc2img binary missing - -* Sun Nov 27 2016 Martin Gansser martinkg@fedoraproject.org - 0.7.0-0.1gitac6be8b -- imported package bear diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..dd676dc --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +renaming bear to bear-factory diff --git a/sources b/sources deleted file mode 100644 index 8e9b3ff..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (bear-781ec80.tar.gz) = f2ba799c2919e39091894d4f8f6b1169fc24406d3238cb675fd7d847a8f54193e858759ba416fcbb4f899da9493515720328eb281efb591346766be43bd85044 diff --git a/wxwidgets-3.0.patch b/wxwidgets-3.0.patch deleted file mode 100644 index 551be29..0000000 --- a/wxwidgets-3.0.patch +++ /dev/null @@ -1,61 +0,0 @@ -From b8f212a2e6cc4b4d169f0e916f6ee2fd18973cf8 Mon Sep 17 00:00:00 2001 -From: Scott Talbert swt@techie.net -Date: Thu, 28 Jun 2018 17:37:25 -0400 -Subject: [PATCH] Fix compilation with wxWidgets 3.0 - ---- - bear-factory/CMakeLists.txt | 2 ++ - bear-factory/bear-editor/src/bf/code/accelerator_table.cpp | 2 +- - .../bear-editor/src/bf/code/base_editor_application.cpp | 7 +++++-- - 3 files changed, 8 insertions(+), 3 deletions(-) - -diff --git a/bear-factory/CMakeLists.txt b/bear-factory/CMakeLists.txt -index 6c01034..fb40cde 100644 ---- a/bear-factory/CMakeLists.txt -+++ b/bear-factory/CMakeLists.txt -@@ -99,6 +99,8 @@ if( NOT wxWidgets_FOUND ) - message( "wxWidgets not found" ) - endif( NOT wxWidgets_FOUND ) - -+add_definitions( "-DNDEBUG" ) -+ - #------------------------------------------------------------------------------- - # path to the images used in the interface - if( NOT BF_IMAGES_PATH ) -diff --git a/bear-factory/bear-editor/src/bf/code/accelerator_table.cpp b/bear-factory/bear-editor/src/bf/code/accelerator_table.cpp -index d9420eb..4a33140 100644 ---- a/bear-factory/bear-editor/src/bf/code/accelerator_table.cpp -+++ b/bear-factory/bear-editor/src/bf/code/accelerator_table.cpp -@@ -99,6 +99,6 @@ void bf::accelerator_table::on_key_pressed( wxKeyEvent& event ) - if ( it != m_accelerators.end() ) - { - wxCommandEvent command( wxEVT_COMMAND_MENU_SELECTED, it->second ); -- m_event_handler.ProcessEvent( command ); -+ m_event_handler.GetEventHandler()->ProcessEvent( command ); - } - } // accelerator_table::on_key_pressed() -diff --git a/bear-factory/bear-editor/src/bf/code/base_editor_application.cpp b/bear-factory/bear-editor/src/bf/code/base_editor_application.cpp -index e49f15f..074f14e 100644 ---- a/bear-factory/bear-editor/src/bf/code/base_editor_application.cpp -+++ b/bear-factory/bear-editor/src/bf/code/base_editor_application.cpp -@@ -347,12 +347,15 @@ int bf::base_editor_application::find_option_index - */ - void bf::base_editor_application::remove_options_at( int index, int count ) - { -+ // In wx 3.0, argv is a wxCmdLineArgsArray, so need to fetch a mutable copy -+ wxChar** argv_copy = argv; - for ( int i=index; (i+count <= argc); ++i ) -- argv[i] = argv[i + count]; -+ argv_copy[i] = argv_copy[i + count]; - - for ( int i=0; i != count; ++i ) - { - --argc; -- argv[argc] = NULL; -+ argv_copy[argc] = NULL; - } -+ argv = argv_copy; - } // base_editor_application::remove_options_at() --- -2.17.1 -