Hello community, here is the log from the commit of package avogadro for openSUSE:Factory checked in at 2012-09-27 13:36:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/avogadro (Old) and /work/SRC/openSUSE:Factory/.avogadro.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "avogadro", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/avogadro/avogadro.changes 2012-04-04 16:40:46.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.avogadro.new/avogadro.changes 2012-09-27 13:36:28.000000000 +0200 @@ -1,0 +2,5 @@ +Mon Sep 24 09:52:28 UTC 2012 - schwab@linux-m68k.org + +- Use %{optflags} and don't strip binaries + +------------------------------------------------------------------- New: ---- avogadro-nostrip.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ avogadro.spec ++++++ --- /var/tmp/diff_new_pack.0kWIvh/_old 2012-09-27 13:36:31.000000000 +0200 +++ /var/tmp/diff_new_pack.0kWIvh/_new 2012-09-27 13:36:31.000000000 +0200 @@ -27,6 +27,7 @@ Source1: %{name}.png Source2: baselibs.conf Patch1: avogadro-boost148.patch +Patch2: avogadro-nostrip.patch BuildRequires: boost-devel BuildRequires: cmake BuildRequires: docbook-utils @@ -83,12 +84,16 @@ %prep %setup -q %patch1 -p1 +%patch2 %build mkdir -p build cd build export SUSE_ASNEEDED=0 cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \ + -DCMAKE_C_FLAGS="%{optflags}" \ + -DCMAKE_CXX_FLAGS="%{optflags}" \ + -DCMAKE_VERBOSE_MAKEFILE=TRUE \ -DENABLE_GLSL=ON \ %if "%{_lib}" == "lib64" -DLIB_SUFFIX=64 \ ++++++ avogadro-nostrip.patch ++++++ --- CMakeLists.txt +++ CMakeLists.txt @@ -98,7 +98,7 @@ if (CMAKE_COMPILER_IS_GNUCXX) endif (NOT APPLE) # Set up additional build flags for particular build types. These will be added to CMAKE_CXX_FLAGS, # they will not replace them. - set(CMAKE_CXX_FLAGS_RELEASE "-O2 -DNDEBUG -DQT_NO_DEBUG_OUTPUT -Wl,-s") + set(CMAKE_CXX_FLAGS_RELEASE "-O2 -DNDEBUG -DQT_NO_DEBUG_OUTPUT") set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} ${CMAKE_CXX_FLAGS_WARN}") set(CMAKE_CXX_FLAGS_DEBUG "-g3 -fno-inline ${CMAKE_CXX_FLAGS_WARN}") --- libavogadro/src/tools/zmatrixmodel.cpp +++ libavogadro/src/tools/zmatrixmodel.cpp @@ -235,6 +235,7 @@ namespace Avogadro { bool ZMatrixModel::removeRows(int position, int rows, const QModelIndex &index) { + return true; } void ZMatrixModel::addRow(int row) -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de