63 Commits

Author SHA256 Message Date
1baf85d396 Accepting request 1278407 from science
OBS-URL: https://build.opensuse.org/request/show/1278407
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ginac?expand=0&rev=16
2025-05-20 07:39:01 +00:00
f323c30a3c Update to version 1.8.9.
OBS-URL: https://build.opensuse.org/package/show/science/ginac?expand=0&rev=64
2025-05-19 13:44:57 +00:00
1b9b80480a Accepting request 1135586 from science
OBS-URL: https://build.opensuse.org/request/show/1135586
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ginac?expand=0&rev=15
2024-01-03 11:23:48 +00:00
321fa43a0e Accepting request 1135585 from home:jgwang:branches:science
- Update to version 1.8.7
  * Fix series expansion of polynomial(x)^n for small and large n.
  * Fix bugs in internal parser from strings.
  * Make ginsh evaluate line-by-line in non-interactive mode.
  * Several build fixes. 
  * remove obsolete patch ginac-doc-latex-symbol-error.patch
    becuase it has applied into source code
  * update patch ginac-fix-makeindex.patch because one line
    changed

OBS-URL: https://build.opensuse.org/request/show/1135585
OBS-URL: https://build.opensuse.org/package/show/science/ginac?expand=0&rev=62
2023-12-29 08:19:23 +00:00
fe698bdf4d Accepting request 1093314 from science
OBS-URL: https://build.opensuse.org/request/show/1093314
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ginac?expand=0&rev=14
2023-06-16 14:54:37 +00:00
0f6a2a808d Accepting request 1092426 from home:badshah400:branches:science
- Update to version 1.8.6.
- Add ginac-doc-latex-symbol-error.

OBS-URL: https://build.opensuse.org/request/show/1092426
OBS-URL: https://build.opensuse.org/package/show/science/ginac?expand=0&rev=60
2023-06-15 13:20:25 +00:00
7b07fcfc90 Accepting request 1070958 from science
OBS-URL: https://build.opensuse.org/request/show/1070958
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ginac?expand=0&rev=13
2023-03-12 15:24:51 +00:00
c9a32aef84 Accepting request 1070586 from home:StefanBruens:branches:science
- Make documentation build reproducible:
  * Use SVGs for HTML API reference documentation
  * Use dot to generate PDFs, instead of relying on ghostscript
    to convert EPS to PDF
- Disable PDF API reference on Leap/SLE 15.x, fails to build.

OBS-URL: https://build.opensuse.org/request/show/1070586
OBS-URL: https://build.opensuse.org/package/show/science/ginac?expand=0&rev=58
2023-03-12 04:02:00 +00:00
f4a008f057 Accepting request 1055969 from science
OBS-URL: https://build.opensuse.org/request/show/1055969
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ginac?expand=0&rev=12
2023-01-04 19:18:37 +00:00
7c53f840b0 Accepting request 1055960 from home:StefanBruens:branches:science
- Update to version 1.8.5:
  * Speed up multivariate polynomial factorization
  * fix it in some rare corner cases where it didn't previously
    terminate. 
- Move graphviz build dependency to doc flavor package

OBS-URL: https://build.opensuse.org/request/show/1055960
OBS-URL: https://build.opensuse.org/package/show/science/ginac?expand=0&rev=56
2023-01-04 17:22:30 +00:00
95bdddb8b4 Accepting request 1006697 from science
OBS-URL: https://build.opensuse.org/request/show/1006697
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ginac?expand=0&rev=11
2022-09-29 16:12:59 +00:00
3ee93377b9 Accepting request 1005860 from home:badshah400:branches:science
+ Update to version 1.8.4

OBS-URL: https://build.opensuse.org/request/show/1005860
OBS-URL: https://build.opensuse.org/package/show/science/ginac?expand=0&rev=54
2022-09-28 14:03:04 +00:00
4a437a9439 Accepting request 964687 from science
OBS-URL: https://build.opensuse.org/request/show/964687
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ginac?expand=0&rev=10
2022-03-24 21:58:41 +00:00
ae4fc2659b Accepting request 964634 from home:badshah400:branches:science
Update to version 1.8.3

OBS-URL: https://build.opensuse.org/request/show/964634
OBS-URL: https://build.opensuse.org/package/show/science/ginac?expand=0&rev=52
2022-03-24 14:17:38 +00:00
6169922e17 Accepting request 944101 from science
OBS-URL: https://build.opensuse.org/request/show/944101
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ginac?expand=0&rev=9
2022-01-06 14:51:10 +00:00
de16f9bb5f Accepting request 943434 from home:badshah400:branches:science
Update to version 1.8.2

OBS-URL: https://build.opensuse.org/request/show/943434
OBS-URL: https://build.opensuse.org/package/show/science/ginac?expand=0&rev=51
2022-01-05 18:04:34 +00:00
0f7e19f3e1 Accepting request 941834 from science
OBS-URL: https://build.opensuse.org/request/show/941834
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ginac?expand=0&rev=8
2021-12-21 17:40:48 +00:00
385e319de7 Accepting request 941805 from home:dimstar:Factory
- Explicitly BuildRequire tex(enumitem.sty) and tex(alphalph.sty)
  for doc flavor.

  * Several portability improvements and compiler warning fixes.

OBS-URL: https://build.opensuse.org/request/show/941805
OBS-URL: https://build.opensuse.org/package/show/science/ginac?expand=0&rev=50
2021-12-21 11:43:31 +00:00
Richard Brown
3ad08d3ede Accepting request 911822 from science
OBS-URL: https://build.opensuse.org/request/show/911822
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ginac?expand=0&rev=7
2021-08-16 08:11:11 +00:00
Matthias Mailänder
955d082677 Accepting request 911100 from home:badshah400:branches:science
Update to version 1.8.1

OBS-URL: https://build.opensuse.org/request/show/911100
OBS-URL: https://build.opensuse.org/package/show/science/ginac?expand=0&rev=49
2021-08-12 12:43:45 +00:00
12be948839 Accepting request 844947 from science
OBS-URL: https://build.opensuse.org/request/show/844947
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ginac?expand=0&rev=6
2020-10-30 10:49:28 +00:00
16fd147285 Accepting request 843655 from home:badshah400:branches:science
- Update to version 1.8.0
- Update so version in keeping with upstream.
- Use multibuild to split off documentation building from main package, whereby we build only the reference documentation and tutorial pdf for the "doc" flavour and the main libraries and binaries for the unflavoured pkg.
- Move ginac.pdf from the -devel pkg into separate -doc-tutorial package as it requires texinfo and texlive to build, and bloats the main pkg BuildRequires; add Recommends: ginac-doc-tutorial for ginac-devel.
- BuildRequires: python3-base instead of python3.
- Add patches to fix/improve builds when using cmake:
  * ginac-fix-makeindex.patch: Fix input file path when running `makeindex` which does not like absolute paths.
  * ginac-cmake-install-doc.patch: Install man and other documentation files when cmake is used for building.
- Drop ginac-check-for-python3.patch: incorporated upstream.
- Use cmake for build (Add BuildRequires: cmake and drop libtool).
- Drop Group tags from packages.

OBS-URL: https://build.opensuse.org/request/show/843655
OBS-URL: https://build.opensuse.org/package/show/science/ginac?expand=0&rev=47
2020-10-30 00:27:06 +00:00
af0b2eaf73 Accepting request 835827 from home:elvigia:branches:science
- Fail to build if there are undefined symbols in the shared library

OBS-URL: https://build.opensuse.org/request/show/835827
OBS-URL: https://build.opensuse.org/package/show/science/ginac?expand=0&rev=46
2020-09-21 23:42:42 +00:00
b7572b305c Accepting request 785658 from science
OBS-URL: https://build.opensuse.org/request/show/785658
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ginac?expand=0&rev=5
2020-03-17 12:10:02 +00:00
a0638c4e7a Accepting request 784394 from home:badshah400:branches:science
- Update to version 1.7.8
- Use python3 instead of python(2) for building.
- Add ginac-check-for-python3.patch to check for python3 during configure; requires running autoreconf before configure.
- Rename devel file to ginac-devel, instead of libginac-devel, according to recommended naming guidelines.
- Build and package API documentation and examples in html format; add BuildRequires necessary for this.
- Use Requires(post) and Requires(preun) instead of PreReq.

OBS-URL: https://build.opensuse.org/request/show/784394
OBS-URL: https://build.opensuse.org/package/show/science/ginac?expand=0&rev=44
2020-03-16 14:36:09 +00:00
e6b2a75580 Accepting request 593987 from science
OBS-URL: https://build.opensuse.org/request/show/593987
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ginac?expand=0&rev=4
2018-04-10 08:54:17 +00:00
4da690b85d Accepting request 593964 from home:dimstar:Factory
- Drop baselibs.conf completely: This was introdcued two years ago
  but in this entire time, nobody cared that the resulting -32bit
  library was not installable due to missing dependencies. So it
  is obvioulsy not used.

OBS-URL: https://build.opensuse.org/request/show/593964
OBS-URL: https://build.opensuse.org/package/show/science/ginac?expand=0&rev=42
2018-04-06 12:43:21 +00:00
36ede670d8 Accepting request 593403 from home:dimstar:Factory
- Drop ginac-devel from baselibs: baselibs was produced in 2016,
  but the deps for it where never in place, which means
  ginac-devel-32bit was never installable, and nobody cared.
  Clearly this -32bit package is not used (for -devel there is
  rarely a need for a -32bit package).

For reference: repo-checker complained 5 months ago on the devel package
about the -devel-32bit being uninstallable. And that's only because then
the check was enabled to report on the devel packages. The issue has been
there since ever

OBS-URL: https://build.opensuse.org/request/show/593403
OBS-URL: https://build.opensuse.org/package/show/science/ginac?expand=0&rev=41
2018-04-04 12:25:57 +00:00
Matthias Mailänder
634885118b Accepting request 585681 from home:badshah400:branches:science
- Update to version 1.7.4:
  * Fix ABI compatibility with 1.7.[0-2] (broken unintentionally
    in 1.7.3).

OBS-URL: https://build.opensuse.org/request/show/585681
OBS-URL: https://build.opensuse.org/package/show/science/ginac?expand=0&rev=40
2018-03-13 12:19:02 +00:00
Matthias Mailänder
a86de127cc Accepting request 572402 from home:jengelh:branches:science
- Remove --with-pic which has no effect with --disable-static.
- Fix the shlib package's RPM groups.

OBS-URL: https://build.opensuse.org/request/show/572402
OBS-URL: https://build.opensuse.org/package/show/science/ginac?expand=0&rev=39
2018-02-04 11:21:40 +00:00
8ea9c3804a Accepting request 572311 from home:avindra
- Update to 1.7.3:
  * Speed up some corner cases of polynomial factorization.
  * Speed up some corner cases of gcd computation.
  * Speed up factorization of pre-factored polynomials.
  * Make matrix::solve() work with hidden (non-normal) zeros.
  * Fix bug in evaluation of real and imaginary parts of powers.
  * Fix some LaTeX output, add new function symbol::get_TeX_name(). 
- cleanup with spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/572311
OBS-URL: https://build.opensuse.org/package/show/science/ginac?expand=0&rev=38
2018-02-03 21:01:12 +00:00
e7a3601a9e Accepting request 453478 from science
1

OBS-URL: https://build.opensuse.org/request/show/453478
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ginac?expand=0&rev=3
2017-02-01 08:52:48 +00:00
Matthias Mailänder
7c1013515b Accepting request 453389 from home:badshah400:branches:science
- Update to version 1.7.2:
- Drop ginac-replace-mktemp-with-mkstemp.patch: incorporated
  upstream.

OBS-URL: https://build.opensuse.org/request/show/453389
OBS-URL: https://build.opensuse.org/package/show/science/ginac?expand=0&rev=36
2017-01-30 17:52:31 +00:00
6ab1bbe323 Accepting request 442743 from science
new upstream release

OBS-URL: https://build.opensuse.org/request/show/442743
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ginac?expand=0&rev=2
2017-01-29 09:35:37 +00:00
Matthias Mailänder
7a978a052c Accepting request 442060 from home:badshah400:branches:science
Fix baselibs.conf

OBS-URL: https://build.opensuse.org/request/show/442060
OBS-URL: https://build.opensuse.org/package/show/science/ginac?expand=0&rev=34
2016-11-26 19:10:22 +00:00
b5b7aad6c0 Accepting request 441278 from home:badshah400:branches:science
- Add ginac-replace-mktemp-with-mkstemp.patch: Replace unsafe and
  deprecated mktemp by its safe variant mkstemp; patch taken from
  upstream git and fixes an rpmlint warning.

OBS-URL: https://build.opensuse.org/request/show/441278
OBS-URL: https://build.opensuse.org/package/show/science/ginac?expand=0&rev=33
2016-11-23 06:53:02 +00:00
Matthias Mailänder
140e82b749 Accepting request 441128 from home:badshah400:branches:science
- Update to version 1.7.1:
- Add a baselibs.conf file.
- Drop ginac-return-in-nonvoid.patch, no longer required.

OBS-URL: https://build.opensuse.org/request/show/441128
OBS-URL: https://build.opensuse.org/package/show/science/ginac?expand=0&rev=32
2016-11-21 20:03:09 +00:00
3ddd561225 Accepting request 306566 from science
OBS-URL: https://build.opensuse.org/request/show/306566
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ginac?expand=0&rev=1
2015-05-19 21:36:05 +00:00
31d6d121fb OBS-URL: https://build.opensuse.org/package/show/science/ginac?expand=0&rev=30 2015-05-12 14:42:01 +00:00
5743104487 OBS-URL: https://build.opensuse.org/package/show/science/ginac?expand=0&rev=29 2015-05-12 13:48:27 +00:00
70f5fa0cfd OBS-URL: https://build.opensuse.org/package/show/science/ginac?expand=0&rev=28 2015-05-12 13:37:06 +00:00
500ca4646f OBS-URL: https://build.opensuse.org/package/show/science/ginac?expand=0&rev=27 2015-05-12 13:30:30 +00:00
e443cb25ce OBS-URL: https://build.opensuse.org/package/show/science/ginac?expand=0&rev=26 2015-05-12 13:09:01 +00:00
073d1db5df OBS-URL: https://build.opensuse.org/package/show/science/ginac?expand=0&rev=25 2015-05-12 09:33:28 +00:00
c7706666d5 OBS-URL: https://build.opensuse.org/package/show/science/ginac?expand=0&rev=24 2015-05-12 09:17:55 +00:00
969fb363c0 OBS-URL: https://build.opensuse.org/package/show/science/ginac?expand=0&rev=23 2015-05-12 08:51:24 +00:00
92196de4e5 - added libtool into explicit build requires
OBS-URL: https://build.opensuse.org/package/show/science/ginac?expand=0&rev=22
2011-12-12 09:50:24 +00:00
Werner Hoch
0549f8d879 new version 1.6.2
OBS-URL: https://build.opensuse.org/package/show/science/ginac?expand=0&rev=21
2011-11-19 17:45:56 +00:00
Arun Persaud
5349a2b06e another try at fixing the library name conflict
OBS-URL: https://build.opensuse.org/package/show/science/ginac?expand=0&rev=20
2011-10-23 23:50:04 +00:00
Arun Persaud
3e1be5ad88 fixed %require for libginac-devel
OBS-URL: https://build.opensuse.org/package/show/science/ginac?expand=0&rev=19
2011-10-23 23:16:57 +00:00
Arun Persaud
fd0549375d fixed rpmlint error: non-existend group name
OBS-URL: https://build.opensuse.org/package/show/science/ginac?expand=0&rev=18
2011-10-23 23:15:13 +00:00
Arun Persaud
5f65058589 fixed rpmlint error: "Your package contains a single shared library but is not named after its SONAME:"
OBS-URL: https://build.opensuse.org/package/show/science/ginac?expand=0&rev=17
2011-10-23 23:13:48 +00:00
Arun Persaud
ac3fa4a3bf OBS-URL: https://build.opensuse.org/package/show/science/ginac?expand=0&rev=16 2011-10-23 22:50:07 +00:00
Arun Persaud
6e31184b44 OBS-URL: https://build.opensuse.org/package/show/science/ginac?expand=0&rev=15 2011-10-23 22:49:55 +00:00
Arun Persaud
874e9bce95 OBS-URL: https://build.opensuse.org/package/show/science/ginac?expand=0&rev=14 2011-10-23 22:49:37 +00:00
Arun Persaud
e4f351683b OBS-URL: https://build.opensuse.org/package/show/science/ginac?expand=0&rev=13 2011-10-23 22:43:11 +00:00
Arun Persaud
d945adbbe6 OBS-URL: https://build.opensuse.org/package/show/science/ginac?expand=0&rev=12 2011-10-23 22:11:51 +00:00
Arun Persaud
bf436d7d35 OBS-URL: https://build.opensuse.org/package/show/science/ginac?expand=0&rev=11 2011-10-23 22:08:19 +00:00
Arun Persaud
f38b06a12c added a patch from current git to fix some build errors
OBS-URL: https://build.opensuse.org/package/show/science/ginac?expand=0&rev=10
2011-10-23 22:06:56 +00:00
Arun Persaud
405d5225e7 OBS-URL: https://build.opensuse.org/package/show/science/ginac?expand=0&rev=9 2011-10-23 22:05:37 +00:00
Arun Persaud
47e6afb2df updated to 1.6.1
OBS-URL: https://build.opensuse.org/package/show/science/ginac?expand=0&rev=7
2011-10-10 05:34:19 +00:00
Arun Persaud
bc7b7c348a OBS-URL: https://build.opensuse.org/package/show/science/ginac?expand=0&rev=6 2011-10-10 05:33:52 +00:00
Arun Persaud
3618338923 OBS-URL: https://build.opensuse.org/package/show/science/ginac?expand=0&rev=3 2011-10-10 05:33:22 +00:00
7 changed files with 622 additions and 60 deletions

4
_multibuild Normal file
View File

@@ -0,0 +1,4 @@
<multibuild>
<package>doc</package>
</multibuild>

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6a482f15bfb89f1a350e06ac7d55f173976d873bcc4900bcb52a37627da066f8
size 972922

3
ginac-1.8.9.tar.bz2 Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6cfd46cf4e373690e12d16b772d7aed0f5c433da8c7ecd2477f2e736483bb439
size 1173214

View File

@@ -0,0 +1,64 @@
Index: ginac-1.7.11.git20200829/tools/CMakeLists.txt
===================================================================
--- ginac-1.7.11.git20200829.orig/tools/CMakeLists.txt
+++ ginac-1.7.11.git20200829/tools/CMakeLists.txt
@@ -2,6 +2,8 @@
add_executable(viewgar viewgar.cpp)
target_link_libraries(viewgar ginac::ginac)
install(TARGETS viewgar RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")
+configure_file(${CMAKE_CURRENT_SOURCE_DIR}/viewgar.1.in ${CMAKE_CURRENT_SOURCE_DIR}/viewgar.1)
+install(FILES viewgar.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1/)
if (CMAKE_COMPILER_IS_GNUCC)
set (CC gcc)
Index: ginac-1.7.11.git20200829/ginsh/CMakeLists.txt
===================================================================
--- ginac-1.7.11.git20200829.orig/ginsh/CMakeLists.txt
+++ ginac-1.7.11.git20200829/ginsh/CMakeLists.txt
@@ -60,3 +60,6 @@ target_link_libraries(ginsh ginac::ginac
target_include_directories(ginsh PRIVATE ${ginsh_include_directories})
target_compile_definitions(ginsh PRIVATE HAVE_CONFIG_H)
install(TARGETS ginsh RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")
+
+configure_file(${CMAKE_CURRENT_SOURCE_DIR}/ginsh.1.in ${CMAKE_CURRENT_SOURCE_DIR}/ginsh.1)
+install(FILES ginsh.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1/)
Index: ginac-1.7.11.git20200829/doc/reference/CMakeLists.txt
===================================================================
--- ginac-1.7.11.git20200829.orig/doc/reference/CMakeLists.txt
+++ ginac-1.7.11.git20200829/doc/reference/CMakeLists.txt
@@ -14,7 +14,7 @@ configure_file(${CMAKE_CURRENT_SOURCE_DI
${CMAKE_CURRENT_BINARY_DIR}/Doxyfooter
@ONLY)
-add_custom_target(html_dox
+add_custom_target(html_dox ALL
COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/DoxyfileHTML
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "DOXYGEN DoxyfileHTML")
@@ -33,8 +33,11 @@ add_custom_command(
if (LATEX_FOUND)
pdflatex_process(${CMAKE_CURRENT_BINARY_DIR}/pdflatex/reference.tex)
- add_custom_target(pdf_dox DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/pdflatex/reference.pdf)
+ add_custom_target(pdf_dox ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/pdflatex/reference.pdf)
add_dependencies(pdf pdf_dox)
endif()
-
+install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html_files/ DESTINATION ${CMAKE_INSTALL_DOCDIR}/html)
+if (LATEX_FOUND)
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/pdflatex/reference.pdf DESTINATION ${CMAKE_INSTALL_DOCDIR})
+endif()
Index: ginac-1.7.11.git20200829/doc/tutorial/CMakeLists.txt
===================================================================
--- ginac-1.7.11.git20200829.orig/doc/tutorial/CMakeLists.txt
+++ ginac-1.7.11.git20200829/doc/tutorial/CMakeLists.txt
@@ -43,7 +43,7 @@ macro(add_doc_format src fmt)
DEPENDS ${_src} ${_${src}_tutorial_figures_${fmt}}
COMMENT "TEXI2DVI ${src}.texi => ${src}.${fmt}"
VERBATIM)
- add_custom_target(${fmt}_${src}_tutorial DEPENDS ${_out})
+ add_custom_target(${fmt}_${src}_tutorial ALL DEPENDS ${_out})
add_dependencies(${fmt} ${fmt}_${src}_tutorial)
endmacro()

13
ginac-fix-makeindex.patch Normal file
View File

@@ -0,0 +1,13 @@
Index: ginac-1.7.11.git20200829/doc/CMakeLists.txt
===================================================================
--- ginac-1.7.11.git20200829.orig/doc/CMakeLists.txt
+++ ginac-1.7.11.git20200829/doc/CMakeLists.txt
@@ -32,7 +32,7 @@ endmacro()
macro(pdflatex_process texfile)
get_filename_component(_dirname "${texfile}" PATH)
get_filename_component(_basename "${texfile}" NAME_WE)
- set(_idx ${_dirname}/${_basename}.idx)
+ set(_idx ${_basename}.idx)
set(_ind ${_dirname}/${_basename}.ind)
set(_pdf ${_dirname}/${_basename}.pdf)
add_custom_command(

View File

@@ -1,3 +1,312 @@
-------------------------------------------------------------------
Fri May 16 06:24:40 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 1.8.9:
* Fix compilation with gcc 15.
- Changes from version 1.8.7:
* Fix a compilation-dependent crash in the built-in expression
parser.
* Work around weird C++ RTTI behaviour on MacOS (like on Win32).
* Symbol assignment in ginsh recurses into other assigned
symbols (again).
- Bump so version in shlib package name in line with upstream.
-------------------------------------------------------------------
Thu Dec 28 08:36:20 UTC 2023 - jun wang <junguo.wang@suse.com>
- Update to version 1.8.7
* Fix series expansion of polynomial(x)^n for small and large n.
* Fix bugs in internal parser from strings.
* Make ginsh evaluate line-by-line in non-interactive mode.
* Several build fixes.
* remove obsolete patch ginac-doc-latex-symbol-error.patch
becuase it has applied into source code
* update patch ginac-fix-makeindex.patch because one line
changed
-------------------------------------------------------------------
Mon Jun 12 04:20:35 UTC 2023 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 1.8.6:
* Fix wrong numeric info on transcendental functions.
* Fix crash of evaluation of binomial(n, k) with negative
integer n, k.
- Add ginac-doc-latex-symbol-error.patch: Change a math symbol to
get pdflatex to build reference.pdf correctly; upstream commit.
-------------------------------------------------------------------
Wed Mar 8 03:35:32 UTC 2023 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
- Make documentation build reproducible:
* Use SVGs for HTML API reference documentation
* Use dot to generate PDFs, instead of relying on ghostscript
to convert EPS to PDF
- Disable PDF API reference on Leap/SLE 15.x, fails to build.
-------------------------------------------------------------------
Wed Jan 4 14:44:55 UTC 2023 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
- Update to version 1.8.5:
* Speed up multivariate polynomial factorization
* fix it in some rare corner cases where it didn't previously
terminate.
- Move graphviz build dependency to doc flavor package
-------------------------------------------------------------------
Wed Sep 21 12:58:42 UTC 2022 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 1.8.4:
* Complete the support for sqrfree_parfrac().
* Add info methods for transcendental functions.
- Move BuildArch: noarch tag to relevant subpackages to calm
rpmlint down.
- Run fdupes for doc-html package.
-------------------------------------------------------------------
Thu Mar 24 11:04:31 UTC 2022 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 1.8.3:
* series_to_poly() can be used from ginsh.
* Fix power::to_polynomial() for posint exponents.
* Fix power::subs() in some special cases.
-------------------------------------------------------------------
Sat Jan 1 20:41:15 UTC 2022 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 1.8.2:
* Fix elusive bug in comparing relational objects.
* Ensure modular_form_kernel::series() includes an Order term.
-------------------------------------------------------------------
Tue Dec 21 09:30:26 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
- Explicitly BuildRequire tex(enumitem.sty) and tex(alphalph.sty)
for doc flavor.
-------------------------------------------------------------------
Mon Aug 9 19:47:00 UTC 2021 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 1.8.1:
* Add method relational::canonical() and improve conversion of
relational to Boolean (it now works on many simple symbolic
cases).
* Improve normalization of negative exponents.
* Fix indexing multiply referenced objects with ex::operator[].
* Make functions evalf() their arguments before doing own
evalf().
* Fix bugs in H_evalf() and in evaluation of iterated integrals.
* Several portability improvements and compiler warning fixes.
- New BuildRequires for doc flavour: tex(fancyvrb.sty).
-------------------------------------------------------------------
Thu Oct 15 21:25:16 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 1.8.0
* New routines for the numerical evaluation of iterated
integrals like elliptic multiple polylogarithms or iterated
integrals of modular forms.
* Stronger normalization methods for expressions with powers.
Where this is safe, GiNaC now tries replacing various kinds of
powers in order to find and cancel common subexpressions.
* Improved CMake build.
- Drop _service file and go back to using full URL for Source.
- Update so version in keeping with upstream.
-------------------------------------------------------------------
Sun Oct 11 15:27:09 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com>
- Use multibuild to split off documentation building from main
package, whereby we build only the reference documentation and
tutorial pdf for the "doc" flavour and the main libraries and
binaries for the unflavoured pkg.
- Move ginac.pdf from the -devel pkg into separate -doc-tutorial
package as it requires texinfo and texlive to build, and bloats
the main pkg BuildRequires; add Recommends: ginac-doc-tutorial
for ginac-devel.
- BuildRequires: python3-base instead of python3.
-------------------------------------------------------------------
Tue Sep 22 23:51:31 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com>
- Add _service file to use git version at commit 9b53600 as it
includes various build related fixes over latest tagged version
1.7.11.
- Add patches to fix/improve builds when using cmake:
* ginac-fix-makeindex.patch: Fix input file path when running
`makeindex` which does not like absolute paths.
* ginac-cmake-install-doc.patch: Install man and other
documentation files when cmake is used for building.
- Drop ginac-check-for-python3.patch: incorporated upstream.
- Use cmake for build (Add BuildRequires: cmake and drop libtool).
- Build API documentation in PDF and HTML formats and package as
part of new %{name}-doc-pdf and %{name}-doc-html packages
respectively (add appropriate BuildRequires).
- Drop Group tags from packages.
-------------------------------------------------------------------
Tue Sep 22 10:14:06 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 1.7.11:
* Fix elusive bugs in factor() and in expand().
- Changes from version 1.7.10:
* Fix collect_common_factors() for hidden zero arguments.
* Fix build on modern systems (C++20 and Python3).
- Changes from version 1.7.9:
* Fix unarchiving of overloaded functions.
* Fix MinGW64 build.
-------------------------------------------------------------------
Mon Sep 21 12:05:39 UTC 2020 - Cristian Rodríguez <crrodriguez@opensuse.org>
- Fail to build if there are undefined symbols in the shared library
-------------------------------------------------------------------
Thu Feb 6 11:01:07 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 1.7.8
* Fix pseries::evalf(), broken since 1.7.0.
* Fix a corner-case bug in H_evalf().
- Changes from version 1.7.4 to 1.7.7: See
%{_docdir}/ginac-devel/NEWS file.
- Use python3 instead of python(2) for building.
- Add ginac-check-for-python3.patch to check for python3 during
configure; requires running autoreconf before configure.
- Rename devel file to ginac-devel, instead of libginac-devel,
according to recommended naming guidelines.
- Build and package API documentation and examples in html format;
add BuildRequires necessary for this.
- Use Requires(post) and Requires(preun) instead of PreReq.
-------------------------------------------------------------------
Fri Apr 6 10:53:23 UTC 2018 - dimstar@opensuse.org
- Drop baselibs.conf completely: This was introdcued two years ago
but in this entire time, nobody cared that the resulting -32bit
library was not installable due to missing dependencies. So it
is obvioulsy not used.
-------------------------------------------------------------------
Wed Apr 4 07:53:46 UTC 2018 - dimstar@opensuse.org
- Drop ginac-devel from baselibs: baselibs was produced in 2016,
but the deps for it where never in place, which means
ginac-devel-32bit was never installable, and nobody cared.
Clearly this -32bit package is not used (for -devel there is
rarely a need for a -32bit package).
-------------------------------------------------------------------
Sun Mar 11 22:53:20 UTC 2018 - badshah400@gmail.com
- Update to version 1.7.4:
* Fix ABI compatibility with 1.7.[0-2] (broken unintentionally
in 1.7.3).
-------------------------------------------------------------------
Sun Feb 4 09:48:48 UTC 2018 - jengelh@inai.de
- Remove --with-pic which has no effect with --disable-static.
- Fix the shlib package's RPM groups.
-------------------------------------------------------------------
Sat Feb 3 16:59:16 UTC 2018 - avindra@opensuse.org
- Update to 1.7.3:
* Speed up some corner cases of polynomial factorization.
* Speed up some corner cases of gcd computation.
* Speed up factorization of pre-factored polynomials.
* Make matrix::solve() work with hidden (non-normal) zeros.
* Fix bug in evaluation of real and imaginary parts of powers.
* Fix some LaTeX output, add new function symbol::get_TeX_name().
- cleanup with spec-cleaner
-------------------------------------------------------------------
Mon Jan 30 08:01:59 UTC 2017 - badshah400@gmail.com
- Update to version 1.7.2:
* Fix memory leak in operators returning relationals, introduced
in 1.7.0.
* Make macro GINAC_DECLARE_REGISTERED_CLASS() work outside
namespace GiNaC.
* Fix some build issues.
- Drop ginac-replace-mktemp-with-mkstemp.patch: incorporated
upstream.
-------------------------------------------------------------------
Fri Nov 25 22:44:57 UTC 2016 - badshah400@gmail.com
- Fix baselibs.conf file.
-------------------------------------------------------------------
Mon Nov 21 10:09:16 UTC 2016 - badshah400@gmail.com
- Add ginac-replace-mktemp-with-mkstemp.patch: Replace unsafe and
deprecated mktemp by its safe variant mkstemp; patch taken from
upstream git and fixes an rpmlint warning.
-------------------------------------------------------------------
Mon Nov 21 01:16:20 UTC 2016 - badshah400@gmail.com
- Update to version 1.7.1:
* Fix crash in basic::subs(), visible in classes which don't
override it.
* Fix convergence failure in Li_projection.
* Fix cliffor_bar() and clifford_star().
* Improve performance of clifford_to_lst().
* Fix compilation issues, reduce compiler warnings.
- Changes from version 1.7.0:
* Make use of C++11 features:
- Use new language features 'auto', 'nullptr', 'constexpr',
range-based for loops, the contextual keyword 'override',
static 'noexcept' operator, etc.
- Add initializer list ctors for container<>, lst and nested
initializer lists ctor for class matrix.
- Add many rvalue reference overloads for ctors from std
containers. (Note that whether they really speed up things
depends on whether evaluation leaves the container unchanged
or not.)
- Rvalue reference overloads for ctors from std containers
made it possible to remove the manual 'discardable' hack and
std::auto_ptr<T> for good.
- New dynallocate<T>(args...) helper functions obsolete manual
allocation on the heap and setting the dynallocated status
flag.
- Got rid of C++98ish algorithm features (bind2nd, etc.) and
replaced them with lambdas.
* Make add::eval(), mul::eval() more careful so they return an
evaluated, canonical expression without compromise.
* Remove 'level' argument of all .eval() methods.
* Remove 'level' arguments of all .evalf() and .normal()
methods. They were modeled after the .eval() methods.
* Make relational::rhs() and lhs() nonvirtual.
* Add support for power::info(info_flags::real).
* Add fderivative::derivatives() method.
* Remove broken info_flags::algebraic.
* Remove unmaintained support for Cint.
* Remove unfinished code for hash table-based expairseq.
* Remove deprecated ex::to_rational(lst) and
ex::to_polynomial(lst).
* ginac-excompiler installs in $LIBEXECDIR now, not in $BINDIR.
* Many minor performance enhancements.
- Changes from previous versions 1.6.3 through 1.6.7: See
http://www.ginac.de/News.html.
- Add a baselibs.conf file.
- Drop ginac-return-in-nonvoid.patch, no longer required.
-------------------------------------------------------------------
Mon Dec 12 09:49:22 UTC 2011 - pgajdos@suse.com
- added libtool into explicit build requires
-------------------------------------------------------------------
Sat Nov 19 17:14:18 UTC 2011 - werner.ho@gmx.de
- new version 1.6.2
-------------------------------------------------------------------
Sun Oct 23 23:08:17 UTC 2011 - arun@gmx.de
- added patch (git commit 265e5f9537)
-------------------------------------------------------------------
Tue May 24 13:55:34 UTC 2011 - pgajdos@novell.com

View File

@@ -1,98 +1,270 @@
#norootforbuild
#
# spec file for package ginac
#
# Copyright (c) 2025 SUSE LLC
#
# 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.
Summary: C++ library for symbolic calculations
Name: ginac
Version: 1.6.0
%define library_version 2
Release: 0
License: GPL
Group: System/Libraries/C and C++
Source0: ftp://ftpthep.physik.uni-mainz.de/pub/GiNaC/%{name}-%{version}.tar.bz2
Url: http://www.ginac.de/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: cln-devel gcc-c++ readline-devel gmp-devel pkgconfig
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%global flavor @BUILD_FLAVOR@%{nil}
%global srcname ginac
%if "%{flavor}" == "doc"
%bcond_without doc
%define pkg_suffix -doc
%endif
%if "%{flavor}" == ""
%bcond_with doc
%endif
# Latex fails on Leap/SLE 15.x
%if 0%{?suse_version} < 1550
%bcond_with apiref_pdf
%else
%bcond_without apiref_pdf
%endif
%define library_version 13
Name: %{srcname}%{?pkg_suffix}
Version: 1.8.9
Release: 0
Summary: C++ library for symbolic calculations
License: GPL-2.0-only
URL: https://www.ginac.de/
Source0: https://www.ginac.de/%{srcname}-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM ginac-fix-makeindex.patch badshah400@gmail.com -- Fix input file path when running makeindex which does not like absolute paths
Patch0: ginac-fix-makeindex.patch
# PATCH-FIX-UPSTREAM ginac-cmake-install-doc.patch badshah400@gmail.com -- Install man and other documentation files when cmake is used for building
Patch1: ginac-cmake-install-doc.patch
BuildRequires: bison
BuildRequires: cln-devel
BuildRequires: cmake
BuildRequires: fdupes
BuildRequires: flex
BuildRequires: gcc-c++
BuildRequires: gmp-devel
BuildRequires: makeinfo
BuildRequires: pkgconfig
BuildRequires: python3-base
BuildRequires: readline-devel
# SECTION Requirements for building documentation
%if %{with doc}
#!BuildIgnore: texlive-tex4ht
BuildRequires: doxygen
BuildRequires: graphviz
BuildRequires: graphviz-gnome
BuildRequires: texinfo
BuildRequires: texlive-dvips
BuildRequires: texlive-latex
BuildRequires: texlive-pdftex
BuildRequires: transfig
BuildRequires: tex(float.sty)
BuildRequires: tex(newunicodechar.sty)
BuildRequires: tex(xcolor.sty)
%if %{with apiref_pdf}
BuildRequires: texlive-courier
BuildRequires: texlive-helvetic
BuildRequires: texlive-wasy
BuildRequires: tex(8r.enc)
BuildRequires: tex(adjustbox.sty)
BuildRequires: tex(alphalph.sty)
BuildRequires: tex(caption.sty)
BuildRequires: tex(changepage.sty)
BuildRequires: tex(colortbl.sty)
BuildRequires: tex(enumitem.sty)
BuildRequires: tex(etoc.sty)
BuildRequires: tex(fancyhdr.sty)
BuildRequires: tex(fancyvrb.sty)
BuildRequires: tex(hanging.sty)
BuildRequires: tex(helvet.sty)
BuildRequires: tex(multirow.sty)
BuildRequires: tex(natbib.sty)
BuildRequires: tex(sectsty.sty)
BuildRequires: tex(stackengine.sty)
BuildRequires: tex(tabu.sty)
BuildRequires: tex(tocloft.sty)
BuildRequires: tex(ulem.sty)
BuildRequires: tex(wasysym.sty)
%endif
%endif
# /SECTION
%description
GiNaC (which stands for "GiNaC is Not a CAS (Computer Algebra System)") is an
open framework for symbolic computation within the C++ programming language.
%package -n libginac-%{library_version}
Summary: C++ library for symbolic calculations
Group: Development/Libraries/C and C++
%description -n libginac-%{library_version}
%package -n libginac%{library_version}
Summary: C++ library for symbolic calculations
%description -n libginac%{library_version}
GiNaC (which stands for "GiNaC is Not a CAS (Computer Algebra System)") is an
open framework for symbolic computation within the C++ programming language.
%package -n libginac-devel
Summary: GiNaC development libraries and header files
Group: Development/Libraries/C and C++
Requires: libginac-%{library_version} = %{version} cln-devel
PreReq: %install_info_prereq
%package devel
Summary: GiNaC development libraries and header files
Requires: cln-devel
Requires: libginac%{library_version} = %{version}
Provides: lib%{name}-devel = %{version}
Obsoletes: lib%{name}-devel < %{version}
%if 0%{?suse_version} < 1550
Requires(pre): %{install_info_prereq}
Requires(preun): %{install_info_prereq}
%endif
Recommends: ginac-doc-tutorial
%description -n libginac-devel
%description devel
GiNaC (which stands for "GiNaC is Not a CAS (Computer Algebra System)") is an
open framework for symbolic computation within the C++ programming language.
This package contains the libraries, include files and other resources you
use to develop GiNaC applications.
%if "%{flavor}" == "doc"
%package pdf
Summary: API documentation for GiNaC in PDF format
BuildArch: noarch
%description pdf
GiNaC (which stands for "GiNaC is Not a CAS (Computer Algebra System)") is an
open framework for symbolic computation within the C++ programming language.
This package provides the API documentation for GiNaC in PDF format.
%package html
Summary: API documentation for GiNaC in HTML format
BuildArch: noarch
%description html
GiNaC (which stands for "GiNaC is Not a CAS (Computer Algebra System)") is an
open framework for symbolic computation within the C++ programming language.
This package provides the API documentation for GiNaC in HTML format.
%package tutorial
Summary: The GiNaC tutorial in PDF format
BuildArch: noarch
%description tutorial
GiNaC (which stands for "GiNaC is Not a CAS (Computer Algebra System)") is an
open framework for symbolic computation within the C++ programming language.
This package provides a tutorial file for GiNaC in PDF format.
%endif
%prep
%setup -q
%autosetup -p1 -n %{srcname}-%{version}
# Use dot to generate class diagrams. Otherwise, ghostscript is used
# to convert EPS to PDF, which embeds the current time
sed -i -e '/HAVE_DOT/ s/=.*NO/= YES/' doc/reference/DoxyfilePDF.in
# PNG files rendered with cairo are nonreproducible depending on
# CPU features and architecture
sed -i -e '/DOT_IMAGE_FORMAT/ s/=.*png/= svg/' doc/reference/DoxyfileHTML.in
%build
autoreconf -fiv
%configure --disable-static --with-pic --disable-rpath
export LDFLAGS="-Wl,--no-undefined"
%cmake -DCMAKE_SKIP_RPATH:BOOL=ON \
-DCMAKE_INSTALL_LIBEXECDIR:PATH=%{_libexecdir} \
-DCMAKE_INSTALL_DOCDIR:PATH=%{_docdir}/%{name}
%{__make} %{?jobs:-j%jobs}
%check
export MALLOC_CHECK_=2
%{__make} check
unset MALLOC_CHECK_
%if "%{flavor}" == "doc"
# Build just the reference doc for the "doc" flavour
pushd doc/reference
%if %{with apiref_pdf}
%cmake_build pdf_dox
%endif
%cmake_build html_dox
popd
pushd doc/tutorial
%cmake_build pdf_ginac_tutorial
popd
%else
%cmake_build
%endif
%install
%makeinstall
%if "%{flavor}" == "doc"
install -d -m 755 %{buildroot}%{_docdir}/%{name}/html
cp -R -t %{buildroot}%{_docdir}/%{name}/html/ %{__builddir}/doc/reference/html_files/*
rm -f %{buildroot}%{_libdir}/*.la
%if %{with apiref_pdf}
install -m 644 -t %{buildroot}%{_docdir}/%{name}/ %{__builddir}/doc/reference/pdflatex/reference.pdf
%endif
%else
%cmake_install
%endif
%clean
rm -rf ${RPM_BUILD_ROOT}
find %{buildroot} -type f -name "*.la" -delete -print
%post -n libginac-%{library_version} -p /sbin/ldconfig
%fdupes %{buildroot}%{_docdir}/%{name}/html/
%postun -n libginac-%{library_version} -p /sbin/ldconfig
# SECTION Unflavoured Pkg
%if "%{flavor}" == ""
%check
export LD_LIBRARY_PATH=%{buildroot}%{_libdir}
%cmake_build check
%post -n libginac-devel
%ldconfig_scriptlets -n libginac%{library_version}
%if 0%{?suse_version} < 1550
%post devel
%install_info --info-dir=%{_infodir} %{_infodir}/ginac.info.gz
%install_info --info-dir=%{_infodir} %{_infodir}/ginac-examples.info.gz
%postun -n libginac-devel
%preun devel
%install_info_delete --info-dir=%{_infodir} %{_infodir}/ginac.info.gz
%install_info_delete --info-dir=%{_infodir} %{_infodir}/ginac-examples.info.gz
%endif
%files -n libginac%{library_version}
%{_libdir}/libginac.so.%{library_version}*
%files -n libginac-%{library_version}
%defattr(-,root,root)
%{_libdir}/libginac.so.2*
%files -n libginac-devel
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS README
%files devel
%license COPYING
%doc AUTHORS ChangeLog NEWS README
%{_libdir}/*.so
%{_libdir}/pkgconfig/ginac.pc
%dir %{_includedir}/ginac
%{_includedir}/ginac/*.h
%{_infodir}/*.info*
%{_libdir}/cmake/ginac/
%{_includedir}/ginac/
%{_infodir}/*.info%{?ext_info}
%files
%defattr(-,root,root)
%{_bindir}/ginsh
%{_bindir}/viewgar
%{_bindir}/ginac-excompiler
%{_mandir}/man1/ginsh.1*
%{_mandir}/man1/viewgar.1*
%{_libexecdir}/ginac-excompiler
%{_mandir}/man1/ginsh.1%{?ext_man}
%{_mandir}/man1/viewgar.1%{?ext_man}
%endif
# /SECTION
# SECTION doc flavoured pkg
%if "%{flavor}" == "doc"
%if %{with apiref_pdf}
%files pdf
%dir %{_docdir}/%{name}
%doc %{_docdir}/%{name}/reference.pdf
%endif
%files html
%dir %{_docdir}/%{name}
%doc %{_docdir}/%{name}/html/
%files tutorial
%doc %__builddir/doc/tutorial/ginac.pdf
%endif
# /SECTION
%changelog