public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/percolator] main: Release 4.00.1
@ 2026-12-01 21:55 Antonio Trande
  0 siblings, 0 replies; only message in thread
From: Antonio Trande @ 2026-12-01 21:55 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/percolator
Branch : main
Commit : 6936116753d5e096efe811d21227f7b37516cc0d
Author : Antonio Trande <sagitter@fedoraproject.org>
Date   : 2026-12-01T22:55:06+01:00
Stats  : +15/-186 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/percolator/c/6936116753d5e096efe811d21227f7b37516cc0d?branch=main

Log:
Release 4.00.1

---
diff --git a/.gitignore b/.gitignore
index 03c6506..a9b7eae 100644
--- a/.gitignore
+++ b/.gitignore
@@ -15,3 +15,4 @@
 /percolator-rel-3-06-03.tar.gz
 /percolator-rel-3-06-04.tar.gz
 /percolator-rel-3-08.tar.gz
+/percolator-rel-4-00-01.tar.gz

diff --git a/percolator-unbundle_eigen_gtest.patch b/percolator-unbundle_eigen_gtest.patch
deleted file mode 100644
index 79dfded..0000000
--- a/percolator-unbundle_eigen_gtest.patch
+++ /dev/null
@@ -1,91 +0,0 @@
---- a/src/CMakeLists.orig.txt	2025-05-27 16:52:33.000000000 +0200
-+++ b/src/CMakeLists.txt	2025-07-23 22:14:09.028592110 +0200
-@@ -77,43 +77,7 @@
- # PULL Eigen
- ###############################################################################
- 
--include(FetchContent)
--
--# Avoid Eigen's conflicting 'blas' target
--set(EIGEN_BUILD_BLAS OFF CACHE BOOL "" FORCE)
--set(EIGEN_BUILD_TESTING OFF CACHE BOOL "" FORCE)
--set(BUILD_TESTING OFF CACHE BOOL "" FORCE)
--set(EIGEN_BUILD_DOC OFF CACHE BOOL "" FORCE)
--set(EIGEN_BUILD_PKGCONFIG OFF CACHE BOOL "" FORCE)
--
--# Avoid adding Eigen's blas directory (explicitly ignore it)
--set(EIGEN_DISABLE_BLAS ON CACHE BOOL "Disable Eigen's BLAS build" FORCE)
--
--FetchContent_Declare(
--  eigen
--  GIT_REPOSITORY https://gitlab.com/libeigen/eigen.git
--  GIT_TAG 3.4.0
--)
--
--FetchContent_MakeAvailable(eigen)
--include_directories(${eigen_SOURCE_DIR})
--
--### Patch for avoiding _finite
--
--set(EIGEN_MATHFUNCTIONS_FILE "${eigen_SOURCE_DIR}/Eigen/src/Core/MathFunctions.h")
--
--# Do the patch if not already patched
--file(READ "${EIGEN_MATHFUNCTIONS_FILE}" MATHFUNCS_CONTENT)
--
--string(REGEX REPLACE
--  "#elif EIGEN_USE_STD_FPCLASSIFY[ \r\n]+[^\r\n]*using std::isfinite;[ \r\n]+[^\r\n]*return isfinite[^\r\n]*;"
--  "#elif EIGEN_USE_STD_FPCLASSIFY\n    return !std::isnan(x) && !std::isinf(x); // PATCHED to avoid std::isfinite on MSVC"
--  MATHFUNCS_CONTENT_PATCHED
--  "${MATHFUNCS_CONTENT}"
--)
--
--file(WRITE "${EIGEN_MATHFUNCTIONS_FILE}" "${MATHFUNCS_CONTENT_PATCHED}")
--### End patch
-+find_package(Eigen3 REQUIRED)
- 
- ###############################################################################
- # RUN CODESYNTHESIS
---- a/tests/unit_tests/percolator/CMakeLists.orig.txt	2025-05-27 16:52:33.000000000 +0200
-+++ b/tests/unit_tests/percolator/CMakeLists.txt	2025-07-23 22:28:00.032357032 +0200
-@@ -11,24 +11,8 @@
- # =============================
- # Fetch or find GoogleTest
- # =============================
--message(STATUS "Fetching GoogleTest...")
--set(BUILD_GTEST ON)
--set(INSTALL_GTEST OFF)
--set(BUILD_GMOCK OFF)
--
--FetchContent_Declare(
--  googletest
--  GIT_REPOSITORY https://github.com/google/googletest.git
--  GIT_TAG v1.16.0
--)
--FetchContent_Populate(googletest)
--
--# This is the correct way to build the actual library
--add_subdirectory(${googletest_SOURCE_DIR} ${googletest_BINARY_DIR})
--
--# Optional: apply RTTI to gtest explicitly (not usually needed if add_compile_options is set globally)
--# target_compile_options(gtest PRIVATE -frtti)
--# target_compile_options(gtest_main PRIVATE -frtti)
-+message(STATUS "Finding GoogleTest...")
-+find_package(GTest REQUIRED)
- 
- enable_testing()
- include(GoogleTest)
-@@ -38,13 +22,7 @@
- # =============================
- find_package(Eigen3 QUIET)
- if(NOT Eigen3_FOUND)
--    message(STATUS "Eigen3 not found, downloading it...")
--    FetchContent_Declare(
--      eigen
--      GIT_REPOSITORY https://gitlab.com/libeigen/eigen.git
--      GIT_TAG 3.4.0
--    )
--    FetchContent_MakeAvailable(eigen)
-+    message(STATUS "Eigen3 not found...")
- endif()
- 
- # =============================

diff --git a/percolator.spec b/percolator.spec
index 2c2011f..2ce7f3e 100644
--- a/percolator.spec
+++ b/percolator.spec
@@ -1,32 +1,22 @@
 Name:      percolator
 Summary:   Software for postprocessing of shotgun proteomics data
-Version:   3.08
+Version:   4.00.1
 Release:   %autorelease
 
 ## Code under src/ (except RAMP) is licensed under a ASL 2.0 license.
 ## Code under src/converters/MSToolkit/RAMP is licensed under a LGPLv2+ license.
 License:   Apache-2.0 AND LGPL-2.0-or-later
 URL:       https://github.com/percolator/percolator
-Source0:   https://github.com/percolator/percolator/archive/rel-3-08/percolator-rel-3-08.tar.gz
+Source0:   https://github.com/percolator/percolator/archive/rel-4-00-01/percolator-rel-4-00-01.tar.gz
 
 BuildRequires: make
-BuildRequires: gcc, gcc-c++
+BuildRequires: gcc
+BuildRequires: gcc-c++
 BuildRequires: cmake
-
-# Needed for testing
 BuildRequires: gtest-devel
-BuildRequires: eigen3-devel
 BuildRequires: python3-devel
-BuildRequires: boost-static, boost-devel
-BuildRequires: pkgconfig(tokyocabinet)
-BuildRequires: pkgconfig(xerces-c)
-BuildRequires: pkgconfig(sqlite3)
-BuildRequires: pkgconfig(libtirpc)
-BuildRequires: xsd, zlib-devel, bzip2-devel
-
-Patch0: percolator-unbundle_eigen_gtest.patch
 
-Requires: %{name}-data = %{version}-%{release}
+Obsoletes: %{name}-data < 0:4.00.1-1
 Obsoletes: fido-pi = 0:0
 
 %description
@@ -36,31 +26,18 @@ using database search engines such as Sequest and Mascot,
 a process that renders list of peptide-spectrum matches.
 However, it is not trivial to assess the accuracy
 of these identifications.
-
 Percolator uses a semi-supervised machine learning to 
 discriminate correct from incorrect peptide-spectrum matches,
 and calculates accurate statistics such as q-value (FDR)
 and posterior error probabilities.
 
-%package data
-Summary: percolator data files
-BuildArch: noarch
-Requires: xml-common
-
-%description data
-This package contains XSD data files of %{name} and
-models of elude tool.
-
 %package static
 Summary: percolator static libraries
-
 %description static
 This package contains static libraries of %{name}.
 
 %prep
-%autosetup -n percolator-rel-3-08 -N
-
-%patch -P 0 -p1 -b .backup
+%autosetup -n percolator-rel-4-00-01
 
 ## Remove spurious executable permissions
 find . -type f -name "*.cpp" -exec chmod 0644 '{}' \;
@@ -68,50 +45,23 @@ find . -type f -name "*.h" -exec chmod 0644 '{}' \;
 find . -type f -name "*.xx" -exec chmod 0644 '{}' \;
 find . -type f -name "*.txt" -exec chmod 0644 '{}' \;
 
-# Remove bundled files
-rm -rf percolator/_deps/*
-
-## Rename additional readme files
-chmod a-x src/converters/MSToolkit/RAMP/README
-mv src/converters/MSToolkit/RAMP/README src/converters/MSToolkit/RAMP/RAMP-README
-mv src/converters/MSToolkit/RAMP/Readme.Mike.txt src/converters/MSToolkit/RAMP/RAMP-Readme.Mike.txt
-
-## Set 'qvality' destination directory
-sed -e 's|./bin|bin|g' -i src/qvality/CMakeLists.txt
-
 %build
-export CXXFLAGS="-std=c++14 $RPM_OPT_FLAGS"
 mkdir -p percolator
-%cmake -Wno-dev -B percolator -S ./ \
+%cmake -B percolator -S ./ \
  -DCMAKE_COLOR_MAKEFILE:BOOL=ON \
  -DCMAKE_VERBOSE_MAKEFILE=TRUE -DXML_SUPPORT:BOOL=ON \
- -DCMAKE_CXX_FLAGS_RELEASE:STRING="%{optflags} -Isrc -I%{_includedir}/xsd/cxx/tree -I%{_includedir}/tirpc -I%{_includedir}/eigen3" \
- -DCMAKE_EXE_LINKER_FLAGS_RELEASE:STRING="%{__global_ldflags} -ltirpc" \
  -DCMAKE_BUILD_TYPE:STRING=Release -DBUILD_TESTING:BOOL=ON \
  -DCMAKE_SKIP_INSTALL_RPATH:BOOL=YES -DCMAKE_SKIP_RPATH:BOOL=YES \
  -DTARGET_ARCH=%{_arch}
 
-### XSD files ran maually
-### In Fedora 'xsd' executable is 'xsdcxx'
-xsdcxx cxx-tree --generate-insertion XDR --generate-extraction XDR --root-element-all \
- --namespace-map http://per-colator.com/percolator_in/13=percolatorInNs src/xml/percolator_in.xsd
-
-xsdcxx cxx-tree --generate-serialization --generate-insertion XDR --generate-extraction XDR --root-element-all \
- --namespace-map http://per-colator.com/percolator_out/15=percolatorOutNs src/xml/percolator_out.xsd
-###
-
 %define _vpath_builddir percolator
 %cmake_build
 
 mkdir -p src/fido
-%cmake -Wno-dev -B src/fido \
+%cmake -B src/fido \
  -DCMAKE_COLOR_MAKEFILE:BOOL=ON \
  -DCMAKE_VERBOSE_MAKEFILE=TRUE \
  -DCMAKE_BUILD_TYPE:STRING=Release \
- -DTokyoCabinet_INCLUDE_DIR=%{_includedir} \
- -DTokyoCabinet_LIBRARY=%{_libdir}/libtokyocabinet.so \
- -DCMAKE_CXX_FLAGS_RELEASE:STRING="%{optflags} -Isrc -I%{_includedir}/xsd/cxx/tree -I%{_includedir}/tirpc -I%{_includedir}/eigen3" \
- -DCMAKE_EXE_LINKER_FLAGS_RELEASE:STRING="%{__global_ldflags} -ltirpc" \
  -DCMAKE_SKIP_INSTALL_RPATH:BOOL=YES -DCMAKE_SKIP_RPATH:BOOL=YES \
  -DTARGET_ARCH=%{_arch} -DBUILD_TESTING:BOOL=ON
  
@@ -119,38 +69,14 @@ mkdir -p src/fido
 %cmake_build
 
 mkdir -p src/converters
-%cmake -Wno-dev -B src/converters \
+%cmake -B src/converters \
  -DCMAKE_COLOR_MAKEFILE:BOOL=ON \
  -DCMAKE_VERBOSE_MAKEFILE=TRUE \
- -DCMAKE_CXX_FLAGS_RELEASE:STRING="%{optflags} -Isrc -I%{_includedir}/xsd/cxx/tree -I%{_includedir}/tirpc -I%{_includedir}/eigen3" \
- -DCMAKE_EXE_LINKER_FLAGS_RELEASE:STRING="%{__global_ldflags} -ltirpc" \
  -DCMAKE_BUILD_TYPE:STRING=Release \
  -DPERCOLATOR-CONVERTERS_BINARY_DIR:STATIC=converters \
  -DCMAKE_SKIP_INSTALL_RPATH:BOOL=YES -DCMAKE_SKIP_RPATH:BOOL=YES \
- -DTokyoCabinet_INCLUDE_DIR=%{_includedir} \
- -DTokyoCabinet_LIBRARY=%{_libdir}/libtokyocabinet.so \
- -DSERIALIZE="TokyoCabinet" \
  -DTARGET_ARCH=%{_arch} -DBUILD_TESTING:BOOL=ON
 
-### XSD files ran maually
-### In Fedora 'xsd' executable is 'xsdcxx'
-xsdcxx cxx-tree --generate-serialization --generate-insertion XDR --generate-extraction XDR --root-element-all \
- --namespace-map http://per-colator.com/percolator_in/13=percolatorInNs src/xml/percolator_in.xsd
-
-xsdcxx cxx-tree --generate-serialization --generate-insertion XDR --generate-extraction XDR --root-element-all \
- --namespace-map http://per-colator.com/percolator_out/15=percolatorOutNs src/xml/percolator_out.xsd
-##
-xsdcxx cxx-tree --generate-serialization --generate-insertion XDR --generate-extraction XDR --root-element-all \
- --namespace-map http://psidev.info/psi/pi/mzIdentML/1.1=mzIdentML_ns src/xml/mzIdentML1.1.0.xsd
-
-xsdcxx cxx-tree --generate-serialization --generate-insertion XDR --generate-extraction XDR --root-element-all \
- --namespace-map http://www.bioml.com/gaml/=gaml_tandem_ns src/xml/gaml_tandem1.0.xsd
-
-xsdcxx cxx-tree --generate-serialization --generate-insertion XDR --generate-extraction XDR --root-element-all \
- --namespace-map http://www.thegpm.org/TANDEM/2011.12.01.1=tandem_ns --namespace-map =tandem_ns \
- --namespace-map http://www.bioml.com/gaml/=gaml_tandem_ns src/xml/tandem2011.12.01.1.xsd
-###
-
 %define _vpath_builddir src/converters
 %cmake_build
 
@@ -167,30 +93,23 @@ for i in `find . -type f \( -name "*.a" \)`; do
  install -pm 755 $i %{buildroot}%{_libdir}/percolator
 done
 
-rm -f %{buildroot}%{_bindir}/gtest_unit
-
 %check
 %define _vpath_builddir percolator
 # https://github.com/percolator/percolator/issues/354
 %ifarch %{ix86}
 # nothing
 %else
-%ctest -VV
+%ctest
 %endif
 
 %files
+%doc ReadMe.txt src/ChangeLog
+%license license.txt
 %{_bindir}/percolator
 %{_bindir}/qvality
 
-%files data
-%doc ReadMe.txt
-%doc src/converters/MSToolkit/RAMP/RAMP-*
-%license license.txt
-%{_datadir}/xml/percolator/
-
 %files static
-%doc ReadMe.txt
-%doc src/converters/MSToolkit/RAMP/RAMP-*
+%doc ReadMe.txt src/ChangeLog
 %license license.txt
 %{_libdir}/percolator/
 

diff --git a/sources b/sources
index a6c45b4..28d573a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (percolator-rel-3-08.tar.gz) = b3e6334f68bd580cfa6af2ef59c6a6d4d3b3ad2f62dd90945d528620443aea6a163eabeec2208b0ff140821bf307ea689d61207d7ec51d38427e5b7635b312b0
+SHA512 (percolator-rel-4-00-01.tar.gz) = ac822fb0b5f4842d4e97dd2ba9f0d2f7b823468c4a0a03cb3c95352b94fbe084388d37756ee2b6e7d571bb372777f17b8b1c612fd82038f67696ced05f7f75ff

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-12-01 21:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-12-01 21:55 [rpms/percolator] main: Release 4.00.1 Antonio Trande

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox