SHA256
10
0
forked from pool/nlopt

25 Commits

Author SHA256 Message Date
8fa74938bd * Add nlopt-dont-force-cxx-standard.patch: Don't force c++11 std for builds to allow building octave bindings against octave 10+ [gh#stevengj/nlopt#616]; patch taken from upstream commit [gh#stevengj/nlopt#597] and rebased for current version.
* For default flavour, build non-python bindings only for default python3 version. This reduces build times.
* Do not force -D_FORTIFY_SOURCE=2 any more (fixed since version 2.9.1, see gh#stevengj/nlopt#563).

OBS-URL: https://build.opensuse.org/package/show/science/nlopt?expand=0&rev=42
2025-05-26 12:20:59 +00:00
a0107db1fa Accepting request 1244447 from home:bmwiedemann:branches:science
Use strip-nondeterminism to normalize jar mtimes for reproducible builds

OBS-URL: https://build.opensuse.org/request/show/1244447
OBS-URL: https://build.opensuse.org/package/show/science/nlopt?expand=0&rev=40
2025-02-09 08:05:07 +00:00
f9413bdea0 Accepting request 1243624 from home:badshah400:branches:science
* Update to version 2.10.0
* Build and install java bindings as part of a newly split nlopt-java package.
* Bump shlib name in keeping with upstream so version update.

OBS-URL: https://build.opensuse.org/request/show/1243624
OBS-URL: https://build.opensuse.org/package/show/science/nlopt?expand=0&rev=39
2025-02-08 20:58:30 +00:00
47a58a0557 Accepting request 1232811 from home:badshah400:branches:science
Update to version 2.9.1

OBS-URL: https://build.opensuse.org/request/show/1232811
OBS-URL: https://build.opensuse.org/package/show/science/nlopt?expand=0&rev=37
2024-12-20 20:18:08 +00:00
ff0b5642a9 Accepting request 1224700 from home:badshah400:branches:science
- Fix %requires_eq usage for "pkgconfig(octave)".

OBS-URL: https://build.opensuse.org/request/show/1224700
OBS-URL: https://build.opensuse.org/package/show/science/nlopt?expand=0&rev=35
2024-11-18 01:20:17 +00:00
b1bf5a508c Accepting request 1224310 from home:badshah400:branches:science
* Update to version 2.9.0.
* Update License to LGPL-2.1-or-later in keeping with upstream.

OBS-URL: https://build.opensuse.org/request/show/1224310
OBS-URL: https://build.opensuse.org/package/show/science/nlopt?expand=0&rev=34
2024-11-15 09:41:50 +00:00
91fbb12a54 Accepting request 1193188 from home:badshah400:branches:science
- Update to version 2.8.0.
- Build with -D_FORTIFY_SOURCE=2 (not 3) to avoid test crashes (gh#stevengj/nlopt#563).

OBS-URL: https://build.opensuse.org/request/show/1193188
OBS-URL: https://build.opensuse.org/package/show/science/nlopt?expand=0&rev=32
2024-08-18 04:12:23 +00:00
5966ddc74a Accepting request 954742 from home:badshah400:branches:science
- Build for all supported python flavours.
- Edit flavor names so that auto-generated python packages are called pythonXY-nlopt and not pythonXY-nlopt-bindings; no-name flavor now builds the bindings, while "main" flavor builds the main C/C++ library and devel package.

OBS-URL: https://build.opensuse.org/request/show/954742
OBS-URL: https://build.opensuse.org/package/show/science/nlopt?expand=0&rev=31
2022-03-01 10:21:16 +00:00
f6e3e3b65d Accepting request 953010 from home:StefanBruens:branches:science
- Split bindings into separate build, to avoid the octave (and
  thus Java, Qt5, ...) dependency. Also allows to build the
  library on SLE 15.x.
- Adjust Python3 package name (python-nlopt -> python3-nlopt)

OBS-URL: https://build.opensuse.org/request/show/953010
OBS-URL: https://build.opensuse.org/package/show/science/nlopt?expand=0&rev=30
2022-02-09 16:34:43 +00:00
fcc27413c2 Accepting request 936382 from home:badshah400:branches:science
Update to version 2.7.1:

OBS-URL: https://build.opensuse.org/request/show/936382
OBS-URL: https://build.opensuse.org/package/show/science/nlopt?expand=0&rev=29
2021-12-11 20:13:02 +00:00
7d8924001a Accepting request 851687 from home:badshah400:branches:science
* Update to version 2.7.0.
* Run tests using ctest as part of %check section.
* Handle erroneous RPATH in openSUSE:Leap:15.2's %cmake macro by explicitly setting CMAKE_SKIP_RPATH to OFF and CMAKE_SKIP_INSTALL_RPATH to ON; while only required for 15.2, setting these for all versions doesn't hurt.

OBS-URL: https://build.opensuse.org/request/show/851687
OBS-URL: https://build.opensuse.org/package/show/science/nlopt?expand=0&rev=27
2020-12-02 08:43:16 +00:00
99f9204aa7 Accepting request 798056 from home:badshah400:branches:science
- Update to verion 2.6.2:
- Rename source tarball into %{name}-%{version} format.

OBS-URL: https://build.opensuse.org/request/show/798056
OBS-URL: https://build.opensuse.org/package/show/science/nlopt?expand=0&rev=25
2020-04-28 11:47:08 +00:00
acdb00568b Accepting request 694580 from home:badshah400:branches:science
- Update to version 2.6.1:
  * Fix nlopt_version return value for 2.6.x and update soname and
    docs.
- Changes from version 2.6.0:
  * New set_upper_bound and set_lower_bound functions in the
    low-level C API to set one bound at a time
    (gh#stevengi/nlopt#257).
  * There is no longer a separate libnlopt_cxx library — C++
    algorithms (stogo) are compiled and included by default
    (gh#stevengi/nlopt#198).
  * Bug fixes:
    * gh#stevengi/nlopt#197
    * gh#stevengi/nlopt#216
    * gh#stevengi/nlopt#245
    * gh#stevengi/nlopt#250
    * gh#stevengi/nlopt#230
    * gh#stevengi/nlopt#261
    * gh#stevengi/nlopt#242
    * gh#stevengi/nlopt#258.
- Drop patches incorporated upstream:
  * nlopt-octave-5.0.patch
  * nlopt-cmake-3.13.patch.

OBS-URL: https://build.opensuse.org/request/show/694580
OBS-URL: https://build.opensuse.org/package/show/science/nlopt?expand=0&rev=23
2019-04-15 16:54:32 +00:00
925218cd99 Accepting request 690065 from home:badshah400:branches:science
- Update to version 2.5.0:
- Drop patches already incorporated upstream or otherwise fixed:
  * nlopt-2.3-pkgconfig.patch
  * pythondir.patch
  * nlopt-octave-4.0.patch
  * nlopt-octave4.4-prefixdir.patch
  * nlopt-octave4.4-do_multi_index_op.patch
- New patches:
  * nlopt-octave-5.0.patch: Fix compilation and running against octave >= 5.0; patch taken from upstream git commit.
  * nlopt-cmake-3.13.patch: Fix building python module when using cmake 3.13+; patch taken from upstream git commit and rebased to apply cleanly.
- Switch to building python3 modules instead of python2.
- Switch to cmake build system in keeping with upstream; introduce BuildRequires: cmake and drop libtool.
- New BuildRequires: swig needed to build python module.
- Use %%autosetup to setup build directory and apply patches.

OBS-URL: https://build.opensuse.org/request/show/690065
OBS-URL: https://build.opensuse.org/package/show/science/nlopt?expand=0&rev=21
2019-04-03 07:32:44 +00:00
ffc28d24de Accepting request 613664 from home:badshah400:branches:science
- Add patches to fix compilation against octave 4.4:
  * nlopt-octave4.4-prefixdir.patch: Fix how to find octave's
    prefix dir in configure.ac: octave-config no longer supports
    the keyword PREFIX and uses OCTAVE_HOME in its stead; patch
    being sent upstream. Add BuildRequires: libtool and regenerate
    build files (autoreconf -fvi) before configuring build.
  * nlopt-octave4.4-do_multi_index_op.patch: Replace
    do_multi_index_op by feval; the former is dropped from octave
    4.4; patch being sent upstream.
- Package python modules installed to sitelib as well.

OBS-URL: https://build.opensuse.org/request/show/613664
OBS-URL: https://build.opensuse.org/package/show/science/nlopt?expand=0&rev=19
2018-06-03 11:23:54 +00:00
Ismail Dönmez
92466db858 Accepting request 415837 from home:badshah400:branches:science
Get nlopt to rebuild on octave version upgrades, by setting a version dependent requires

OBS-URL: https://build.opensuse.org/request/show/415837
OBS-URL: https://build.opensuse.org/package/show/science/nlopt?expand=0&rev=17
2016-07-29 13:15:50 +00:00
12ed4b3450 Accepting request 344936 from home:Dmitry_R:branches:science
- Fix compatibility with Octave 4.0
  * nlopt-octave-4.0.patch

OBS-URL: https://build.opensuse.org/request/show/344936
OBS-URL: https://build.opensuse.org/package/show/science/nlopt?expand=0&rev=16
2015-11-17 17:21:35 +00:00
Matthias Mailänder
a06badd5de Accepting request 309504 from home:Dmitry_R:branches:science
- Disable Octave module due to incompatibility with Octave 4.0

OBS-URL: https://build.opensuse.org/request/show/309504
OBS-URL: https://build.opensuse.org/package/show/science/nlopt?expand=0&rev=13
2015-05-31 20:53:37 +00:00
87bfb21bb0 Accepting request 261359 from home:Dmitry_R:branches:science
- Update to version 2.4.2
  * Bugfix release, see included NEWS file for details.
- Update package descriptionts.

OBS-URL: https://build.opensuse.org/request/show/261359
OBS-URL: https://build.opensuse.org/package/show/science/nlopt?expand=0&rev=11
2014-11-13 09:45:14 +00:00
Matthias Mailänder
cd57e91fab Accepting request 221732 from home:badshah400:branches:science
Update to version 2.4.1.

OBS-URL: https://build.opensuse.org/request/show/221732
OBS-URL: https://build.opensuse.org/package/show/science/nlopt?expand=0&rev=9
2014-02-11 05:56:57 +00:00
675bd52a85 Accepting request 198397 from home:k0da:ppc
- install python parts to sitearch (pythondir.patch)

OBS-URL: https://build.opensuse.org/request/show/198397
OBS-URL: https://build.opensuse.org/package/show/science/nlopt?expand=0&rev=7
2013-09-11 06:44:13 +00:00
300d7a8222 fix changes file
OBS-URL: https://build.opensuse.org/package/show/science/nlopt?expand=0&rev=5
2013-07-16 16:16:26 +00:00
d502f7dd98 Accepting request 178614 from home:scarabeus_iv
- Add fix for .pc file so we can use this library even
  with other projects.

OBS-URL: https://build.opensuse.org/request/show/178614
OBS-URL: https://build.opensuse.org/package/show/science/nlopt?expand=0&rev=3
2013-06-12 09:46:20 +00:00
Corot Sebastien
377397129a Accepting request 156255 from home:scorot:branches:science
- remove %%clean section
- add minimal single-line comment in spec file for patch0
- add files on %%doc section
- spec file cleanup
- add python(abi) requirements recent recent products
- update source url

OBS-URL: https://build.opensuse.org/request/show/156255
OBS-URL: https://build.opensuse.org/package/show/science/nlopt?expand=0&rev=2
2013-02-24 14:09:13 +00:00
Corot Sebastien
c3ccbebfef Accepting request 131177 from home:scorot:branches:science
A library for nonlinear optimization

OBS-URL: https://build.opensuse.org/request/show/131177
OBS-URL: https://build.opensuse.org/package/show/science/nlopt?expand=0&rev=1
2012-08-19 20:46:26 +00:00