Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:rhabacker:branches:windows:mingw:win32
mingw32-texlive
mingw32-texlive.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mingw32-texlive.spec of Package mingw32-texlive
# # spec file for package mingw32-texlive # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: mingw32-texlive Version: 20230311 Release: 0 Summary: MinGW Windows TeXLive License: GPL-2.0+ and LPPL-1.3c Group: Development/Libraries Url: http://www.tug.org/texlive Source: ftp://tug.org/texlive/historic/2011/texlive-%{version}-source.tar.xz Patch0: texlive-20230311-gcc13-compile-fix.patch BuildRequires: autoconf >= 2.68 #BuildRequires: mingw32-libicu-devel BuildRequires: gcc-c++ # for libs/luajit/native %ifarch x86_64 BuildRequires: gcc-c++-32bit %endif #!BuildIgnore: post-build-checks BuildRequires: mingw32-cross-gcc-c++ BuildRequires: mingw32-cross-pkg-config BuildRequires: mingw32-fontconfig-devel BuildRequires: mingw32-freetype-devel BuildRequires: mingw32-libgs-devel BuildRequires: mingw32-libpng-devel BuildRequires: mingw32-libpoppler-devel BuildRequires: mingw32-zlib-devel BuildRequires: texlive-devel BuildRequires: texlive-omegaware-bin BuildRequires: time BuildRequires: wine-binfmt-standalone BuildRequires: xz %_mingw32_package_header_debug BuildArch: noarch %if 0%{?suse_version} >= 1230 BuildRequires: texlive-tie-bin %endif %description TeX Live is an easy way to get up and running with the TeX document production system. It provides a comprehensive TeX system with binaries for most flavors of Unix, including GNU/Linux, and also Windows. It includes all the major TeX-related programs, macro packages, and fonts that are free software, including support for many languages around the world. %package devel Summary: The headers and library of the Kpathsea tools Group: Development/Libraries %description devel This package provides include files and libraries to compile and link applications against libkpathsea and libtexenc. This package is not required for the use of TeX or LaTeX. # debug package %_mingw32_debug_package %prep %autosetup -p1 -n texlive-%{version}-source %build autoconf -f -i cd texk/web2c && autoconf -f -i && cd ../.. build_options="" # Cross compile options build_options+=" --host=%{_mingw32_host}" build_options+=" --build=%{_build}" # This seems to be the right thing to do according to README.config build_options+=" --disable-native-texlive-build" # We always do this in the windows:mingw project build_options+=" --disable-static" build_options+=" --enable-shared" # We do not have (mingw32-)ncurses yet, which is required to build dialog build_options+=" --disable-dialog" # Use system libraries #build_options+=" --with-system-libgs" #build_options+=" --with-system-freetype2" #build_options+=" --with-system-poppler" #build_options+=" --with-system-libpng" #build_options+=" --with-system-zlib" ##build_options+=" --with-system-icu" # TODO: Use more system libraries # e.g. #build_options+=" --with-system-teckit" #build_options+=" --with-system-graphite" #build_options+=" --with-system-zziplib" #build_options+=" --with-system-xpdf" #build_options+=" --with-system-gd" #build_options+=" --with-system-freetype" #build_options+=" --with-system-t1lib" TL_TARGET="all" \ TL_INSTALL_DEST="%{_mingw32_prefix}" \ TL_BUILD_ENV="CFLAGS='%{_mingw32_cflags} -Wno-return-type' LDFLAGS='%{_mingw32_ldflags}' CXXFLAGS='%{_mingw32_cflags}'" \ ./Build $build_options %install cd Work && make DESTDIR=%{buildroot} install # fix warning using invalid shebang find %{buildroot}%{_mingw32_datadir}/texmf-dist/scripts -type f -exec chmod a-x {} \; %files %defattr(-,root,root) %{_mingw32_prefix} %exclude %{_mingw32_libdir}/libkpathsea.dll.a %exclude %{_mingw32_includedir}/kpathsea %exclude %{_mingw32_libdir}/libptexenc.dll.a %exclude %{_mingw32_includedir}/ptexenc %files devel %defattr(-,root,root) %{_mingw32_libdir}/libkpathsea.dll.a %{_mingw32_includedir}/kpathsea %{_mingw32_libdir}/libptexenc.dll.a %{_mingw32_includedir}/ptexenc %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor