Fine tuning asymptote
OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlive?expand=0&rev=492
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 18 14:55:23 UTC 2025 - Dr. Werner Fink <werner@suse.de>
|
||||
|
||||
- Fine tuning asymptote
|
||||
* Really use OSMesa
|
||||
* Use libcurl
|
||||
* Use boost filesystem and boost thread
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 17 09:39:37 UTC 2025 - Dr. Werner Fink <werner@suse.de>
|
||||
|
||||
|
17
texlive.spec
17
texlive.spec
@@ -135,6 +135,8 @@ BuildRequires: jpeg
|
||||
BuildRequires: libicu-devel >= 72.1
|
||||
%endif
|
||||
BuildRequires: Mesa-dri-devel
|
||||
BuildRequires: libboost_filesystem-devel
|
||||
BuildRequires: libboost_thread-devel
|
||||
BuildRequires: libjpeg-devel
|
||||
BuildRequires: libopenssl-devel
|
||||
BuildRequires: libpaper-devel
|
||||
@@ -154,10 +156,13 @@ BuildRequires: pwdutils
|
||||
BuildRequires: readline-devel
|
||||
BuildRequires: pkgconfig(gl)
|
||||
BuildRequires: pkgconfig(glew)
|
||||
BuildRequires: pkgconfig(libcurl)
|
||||
BuildRequires: pkgconfig(osmesa)
|
||||
#BuildRequires: pkgconfig(glm)
|
||||
BuildRequires: glm-devel
|
||||
BuildRequires: pkgconfig(glu)
|
||||
BuildRequires: pkgconfig(gsl)
|
||||
BuildRequires: pkgconfig(libtirpc)
|
||||
BuildConflicts: texinfo
|
||||
BuildRequires: unzip
|
||||
BuildRequires: xaw3d-devel
|
||||
@@ -4613,12 +4618,18 @@ popd
|
||||
popd
|
||||
|
||||
pushd utils/asymptote
|
||||
autoreconf
|
||||
version=$(autoreconf --version | head -n 1 | sed -r 's/.* ([0-9.]+)$/\1/')
|
||||
if test ${version%%.*} -ge 2 -a ${version#*.} -ge 71
|
||||
then
|
||||
autoreconf
|
||||
fi
|
||||
if pkg-config --atleast-version 25 dri
|
||||
then
|
||||
(cat>libOSMesa.so)<<-'EOF'
|
||||
gallium=$(ls %{_libdir}/libgallium*.so)
|
||||
gallium=-l${gallium##/*lib}
|
||||
(cat>libOSMesa.so)<<-EOF
|
||||
/* GNU ld script */
|
||||
INPUT(%{_libdir}/libOSMesa.so AS_NEEDED(-lgallium))
|
||||
INPUT(%{_libdir}/libOSMesa.so AS_NEEDED(${gallium%%.so}))
|
||||
EOF
|
||||
else
|
||||
(cat>libOSMesa.so)<<-'EOF'
|
||||
|
Reference in New Issue
Block a user