Compare commits

..

4 commits

Author SHA1 Message Date
Jerry James
233580606c Actually upload the new sources. 2020-11-26 12:40:14 -07:00
Jerry James
93af7b5ac1 Version 8.2.3.
Add swipl-8.2.3-qt-deprecated.patch to silence Qt deprecation warnings.
2020-11-26 12:40:10 -07:00
Jerry James
be60c9ef26 Version 8.2.2.
- Remove upstreamed -bad-bibtex-entry patch.
- Add -underscore patch to work around LaTeX errors.
2020-10-27 14:56:03 -06:00
Jerry James
08eaaec9f0 Change URL to use https instead of http. 2020-10-27 14:30:20 -06:00
15 changed files with 1075 additions and 2683 deletions

153
JavaConfig.java Normal file
View file

@ -0,0 +1,153 @@
/* JavaConfig - tool for getting paths for current java environment.
* © 2011, 2012, 2014, 2017 Petr Písař <ppisar@redhat.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
class JavaConfig {
private static String output = "";
/*
* Append text to output with proper padding or terminates if text is null.
* @param text String to append.
*/
private static void concatenate(String text) {
if (text == null) {
System.exit(2);
}
output = (output.equals("") ? "" : output + " " ) + text;
}
/*
* Show usage message and terminates program with given @exit_code.
* @param exit_code code to return
* */
private static void usage(int exitCode) {
System.out.print(
"JavaConfig [OPTIONS]\n" +
" --home Output path to Java home\n" +
" --libs-only-L Output -L linker flags\n" +
" --version Output Java version on first separate line\n"
);
System.exit(exitCode);
}
/*
* @Return path to Java home or null in case of error.
*/
public static String home() {
return System.getProperty("java.home");
}
/*
* @Return formated libary search path as -L compiler flag,
* null if error occured.
* */
public static String libsOnlyL() {
String value;
String architecture = System.getProperty("os.arch");
String home = home();
String filesep = System.getProperty("file.separator");
String paths[];
/* The java.library.path works up to JDK 1.6. */
if (null == (value = System.getProperty("java.library.path"))) {
return null;
}
/* The java.library.path does not work since JDK 1.7. See
* <https://bugzilla.redhat.com/show_bug.cgi?id=740762>.
* The "client" subdirectory is need on AArch64 since JDK 1.8. See
* <https://bugzilla.redhat.com/show_bug.cgi?id=1112012>. */
if (null == architecture || null == home || null == filesep) {
return null;
}
/* Experimental 32-bit ARM openjdk variant uses lib/aarch32. See
* <https://bugzilla.redhat.com/show_bug.cgi?id=1412953>. */
if (architecture.contentEquals("arm") && home.contains("aarch32")) {
architecture = "aarch32";
}
value = value + ":" +
home + filesep + "lib" + filesep + architecture + ":" +
home + filesep + "lib" + filesep + architecture + filesep + "server" +
":" +
home + filesep + "lib" + filesep + architecture + filesep + "client";
/* Convert the colon-delimited paths to LDFLAGS format */
paths = value.split(":");
for (int i = 0; i < paths.length; i++) {
if (paths[i].equals("")) {
continue;
}
if (i == 0) {
value = "-L" + paths[i];
} else {
value = value + " -L" + paths[i];
}
}
value = value + " -Wl,-rpath," + home + filesep + "lib" + architecture +
filesep + "server";
return value;
}
/*
* @Return version of Java home or null in case of error.
*/
public static String version() {
return System.getProperty("java.version");
}
/*
* Entry point to this class.
*/
public static void main(String argv[]) {
if (argv.length < 1) {
usage(1);
}
for (int i = 0; i < argv.length; i++) {
if (argv[i].equals("--home")) {
concatenate(home());
} else if (argv[i].equals("--libs-only-L")) {
concatenate(libsOnlyL());
} else if (argv[i].equals("--version")) {
/* pkg-config prints version on first line */
String version = version();
if (null == version) {
System.exit(2);
}
System.out.println(version);
} else {
usage(1);
}
}
if (!output.equals("")) {
System.out.println(output);
}
System.exit(0);
}
}

View file

@ -1,9 +0,0 @@
# pl
[This package](https://www.swi-prolog.org/) contains an ISO/Edinburgh-style
Prolog compiler including modules, auto-load, libraries, Garbage-collector,
stack-expandor, C/C++-interface, GNU-readline interface, very fast compiler.
It includes Prolog packages clib (Unix process control and sockets), cpp (C++
interface), sgml (reading XML/SGML), sgml/RDF (reading RDF into triples), and
XPCE (Graphics UI toolkit, integrated editor (Emacs-clone) and source-level
debugger).

602
changelog
View file

@ -1,602 +0,0 @@
* Sun Mar 3 2024 Jerry James <loganjerry@gmail.com> - 9.2.2-1
- Version 9.2.2
* Wed Feb 14 2024 Jerry James <loganjerry@gmail.com> - 9.2.1-1
- Version 9.2.1
* Thu Feb 1 2024 Jerry James <loganjerry@gmail.com> - 9.2.0-1
- Version 9.2.0
- Add patch to fix an LTO type mismatch
* Mon Jan 22 2024 Jerry James <loganjerry@gmail.com> - 9.0.4-4
- Add patch for zlib-ng
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 9.0.4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Tue Jan 16 2024 Jerry James <loganjerry@gmail.com> - 9.0.4-3
- Update License tags
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 9.0.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Fri Jul 14 2023 Jerry James <loganjerry@gmail.com> - 9.0.4-2
- Update deprecated %%patchN usage
- Update License tag with names recently added to Fedora
- Drop 32-bit ARM support
* Mon Feb 27 2023 Jerry James <loganjerry@gmail.com> - 9.0.4-2
- Dynamically generate python BuildRequires
* Tue Jan 31 2023 Tom Callaway <spot@fedoraproject.org> - 9.0.4-2
- enable docs on aarch64
* Fri Jan 27 2023 Jerry James <loganjerry@gmail.com> - 9.0.4-1
- Version 9.0.4
- Drop upstreamed C99 patch
- Use a Unicode locale while testing to avoid a failed test
- Disable tests on ppc64le until we can diagnose 1 failed test
- Disable docs on aarch until bz 2165146 is fixed
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 9.0.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Tue Jan 10 2023 Florian Weimer <fweimer@redhat.com> - 9.0.3-2
- Fix C99 compatibility issues in CMake checks
* Sun Dec 18 2022 Jerry James <loganjerry@gmail.com> - 9.0.3-1
- Version 9.0.3
* Thu Dec 15 2022 Jerry James <loganjerry@gmail.com> - 9.0.2-1
- Version 9.0.2
- Convert License tag to SPDX (with some licenses pending review)
- Add %%check script for 64-bit architectures
* Wed Aug 24 2022 Davide Cavalca <dcavalca@fedoraproject.org> - 8.4.3-4
- Make it buildable for EPEL
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 8.4.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Tue Jul 5 2022 Jerry James <loganjerry@gmail.com> - 8.4.3-2
- Do not build pl-jpl for i686 (rhbz#2104088)
* Tue Jun 21 2022 Jerry James <loganjerry@gmail.com> - 8.4.3-1
- Version 8.4.3
* Fri Mar 4 2022 Jerry James <loganjerry@gmail.com> - 8.4.2-2
- Remove . from %%cmake to fix FTBFS
* Mon Feb 14 2022 Jerry James <loganjerry@gmail.com> - 8.4.2-1
- Version 8.4.2
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 8.4.1-3
- Rebuilt for java-17-openjdk as system jdk
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 8.4.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Tue Nov 16 2021 Jerry James <loganjerry@gmail.com> - 8.4.1-1
- Version 8.4.1
- Drop upstreamed -pclose patch
* Sat Oct 2 2021 Jerry James <loganjerry@gmail.com> - 8.4.0-1
- Version 8.4.0
- Drop upstreamed -qt-deprecated and -openssl3 patches
- Add -pclose patch to avoid zombie processes
* Thu Sep 16 2021 Jerry James <loganjerry@gmail.com> - 8.2.4-3
- Add -openssl3 patch to fix FTBFS with OpenSSL 3.0.0
* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 8.2.4-3
- Rebuilt with OpenSSL 3.0.0
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 8.2.4-2
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Jan 27 2021 Jerry James <loganjerry@gmail.com> - 8.2.4-1
- Version 8.2.4
- Drop upstreamed swipl-8.2.2-underscore.patch
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 8.2.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Thu Nov 26 2020 Jerry James <loganjerry@gmail.com> - 8.2.3-1
- Version 8.2.3
- Add swipl-8.2.3-qt-deprecated.patch to silence Qt deprecation warnings
* Tue Oct 27 2020 Jerry James <loganjerry@gmail.com> - 8.2.2-1
- Version 8.2.2
- Remove upstreamed -bad-bibtex-entry patch
- Add -underscore patch to work around LaTeX errors
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 8.2.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Thu Jul 23 2020 Jerry James <loganjerry@gmail.com> - 8.2.1-3
- Update for cmake changes in Rawhide
* Sat Jul 11 2020 Jiri Vanek <jvanek@redhat.com> - 8.2.1-2
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
* Mon Jun 29 2020 Jerry James <loganjerry@gmail.com> - 8.2.1-1
- 8.2.1 bump
- Add -bad-bibtex-entry patch
* Tue Jun 16 2020 Jerry James <loganjerry@gmail.com> - 8.2.0-2
- Fix broken symlinks in the jpl subpackage (bz 1847510)
* Thu May 28 2020 Jerry James <loganjerry@gmail.com> - 8.2.0-1
- 8.2.0 bump
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 8.0.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 8.0.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Wed Jun 19 2019 Jerry James <loganjerry@gmail.com> - 8.0.3-1
- 8.0.3 bump (bz 1722172)
* Fri Mar 22 2019 Jerry James <loganjerry@gmail.com> - 8.0.2-1
- 8.0.2 bump (bz 1669571)
- Drop the -static subpackage
- Drop the -jpl-configure, -pc, and -Use-system-js-query patches
- Add -unbundle-libstemmer patch
- Add a check script
- Build the PDF instead of using the one provided by upstream
* Sun Feb 17 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 7.6.4-9
- Rebuild for readline 8.0
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7.6.4-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Mon Jan 14 2019 Björn Esser <besser82@fedoraproject.org> - 7.6.4-7
- Rebuilt for libcrypt.so.2 (#1666033)
* Sun Nov 18 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 7.6.4-6
- Use C.UTF-8 locale
See https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot
* Tue Aug 28 2018 Petr Pisar <ppisar@redhat.com> - 7.6.4-5
- Use latest jquery from js-jquery package
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 7.6.4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 7.6.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Sat Jan 20 2018 Björn Esser <besser82@fedoraproject.org> - 7.6.4-2
- Rebuilt for switch to libxcrypt
* Mon Jan 15 2018 Petr Pisar <ppisar@redhat.com> - 7.6.4-1
- 7.6.4 bump
* Wed Nov 08 2017 Petr Pisar <ppisar@redhat.com> - 7.6.1-1
- 7.6.1 bump
- License changed from ((BSD and (GPLv2+ with exceptions or Artistic 2.0)) and
(GPL+ or Artistic) and (BSD or GPL) and LGPLv2+ and TCL and UCD and MIT and
BSD and Public Domain) to ((BSD and (GPLv2+ with exceptions or Artistic 2.0))
and (GPL+ or Artistic) and (BSD or GPL) and TCL and UCD and MIT and BSD and
Public Domain)
* Fri Oct 20 2017 Jitka Plesnikova <jplesnik@redhat.com> - 7.6.0-1
- 7.6.0 bump
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7.4.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7.4.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Thu Apr 20 2017 Petr Pisar <ppisar@redhat.com> - 7.4.2-1
- 7.4.2 bump
* Mon Mar 06 2017 Petr Pisar <ppisar@redhat.com> - 7.4.1-1
- 7.4.1 bump
- License changed from ((GPLv2+ with exceptions or Artistic 2.0) and (GPLv2+
with exceptions) and (GPLv2 with exception) and (GPL+ or Artistic) and
LGPLv2+ and LGPLv2 and UCD and (UCD and MIT) and BSD and Public Domain and
EPL and GPLv2 and GPLv2+ and GPLv3+) to ((BSD and (GPLv2+ with exceptions or
Artistic 2.0)) and (GPL+ or Artistic) and (BSD or GPL) and LGPLv2+ and TCL
and UCD and MIT and BSD and Public Domain)
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7.2.3-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Thu Jan 12 2017 Igor Gnatenko <ignatenko@redhat.com> - 7.2.3-4
- Rebuild for readline 7.x
- Adapt Java library path to java-1.8.0-openjdk-aarch32 (bug #1412771)
* Wed Apr 13 2016 Petr Pisar <ppisar@redhat.com> - 7.2.3-3
- Correct swipl-ld tool to handle 268-byte long compiler flags (bug #1326581)
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 7.2.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Thu Aug 27 2015 Petr Pisar <ppisar@redhat.com> - 7.2.3-1
- 7.2.3 bump
* Thu Jun 25 2015 Petr Pisar <ppisar@redhat.com> - 7.2.2-1
- 7.2.2 bump
- License changed from ((GPLv2+ with exceptions or Artistic 2.0) and (GPLv2+
with exceptions) and (GPLv2 with exception) and (GPL+ or Artistic) and
LGPLv2+ and LGPLv2 and UCD and (UCD and MIT) and BSD and Public Domain and
EPL and GPLv2 and GPLv3+) to ((GPLv2+ with exceptions or Artistic 2.0) and
(GPLv2+ with exceptions) and (GPLv2 with exception) and (GPL+ or Artistic)
and LGPLv2+ and LGPLv2 and UCD and (UCD and MIT) and BSD and Public Domain
and EPL and GPLv2 and GPLv2+ and GPLv3+)
* Mon Jun 22 2015 Petr Pisar <ppisar@redhat.com> - 7.2.1-3
- Depend on javapackages-tools instead of jpackage-utils to conform to new Java
guidelines
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.2.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Mon Jun 15 2015 Petr Pisar <ppisar@redhat.com> - 7.2.1-1
- 7.2.1 bump
- Depend on gcc because glibc-headers package will be removed (bug #1230490)
- Unbundle jquery-1
* Fri Jun 05 2015 Petr Pisar <ppisar@redhat.com> - 7.2.0-1
- 7.2.0 bump
- License changed from ((GPLv2+ with exceptions or Artistic 2.0) and (GPLv2+
with exceptions) and LGPLv2+ and LGPLv2 and UCD and BSD and Public Domain
and EPL and GPLv2 and GPLv3+) to ((GPLv2+ with exceptions or Artistic 2.0)
and (GPLv2+ with exceptions) and (GPLv2 with exception) and (GPL+ or
Artistic) and LGPLv2+ and LGPLv2 and UCD and (UCD and MIT) and BSD and Public
Domain and EPL and GPLv2 and GPLv3+)
* Wed Apr 22 2015 Petr Pisar <ppisar@redhat.com> - 6.6.6-6
- Describe XPCE is in pl-xpce (bug #1204623)
* Fri Feb 27 2015 Petr Pisar <ppisar@redhat.com> - 6.6.6-5
- Build binding for libarchive (bug #1195960)
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.6.6-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Wed Jun 25 2014 Yaakov Selkowitz <yselkowi@redhat.com> - 6.6.6-3
- Fix detection of libjvm on aarch64 (#1112012)
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.6.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Mon Jun 02 2014 Petr Pisar <ppisar@redhat.com> - 6.6.6-1
- 6.6.6 bump
* Mon Apr 28 2014 Petr Pisar <ppisar@redhat.com> - 6.6.5-1
- 6.6.5 bump
* Mon Mar 24 2014 Petr Pisar <ppisar@redhat.com> - 6.6.4-1
- 6.6.4 bump
* Thu Mar 20 2014 Petr Pisar <ppisar@redhat.com> - 6.6.3-1
- 6.6.3 bump
* Wed Mar 05 2014 Petr Pisar <ppisar@redhat.com> - 6.6.2-1
- 6.6.2 bump
- License changed from ((GPLv2+ with exceptions or Artistic 2.0) and (GPLv2+
with exceptions) and LGPLv2+ and LGPLv2 and UCD and BSD and Public Domain
and GPLv2 and GPLv3+) to ((GPLv2+ with exceptions or Artistic 2.0) and (GPLv2+
with exceptions) and LGPLv2+ and LGPLv2 and UCD and BSD and Public Domain and
EPL and GPLv2 and GPLv3+)
* Tue Feb 25 2014 Petr Pisar <ppisar@redhat.com> - 6.6.1-2
- Require headless JRE only (bug #1068485)
* Mon Dec 16 2013 Petr Pisar <ppisar@redhat.com> - 6.6.1-1
- 6.6.1 bump
* Mon Dec 02 2013 Petr Pisar <ppisar@redhat.com> - 6.6.0-1
- 6.6.0 bump
- Inhibit format-security compiler warning on custom sscanf() parser
(bug #1037250)
* Tue Sep 03 2013 Petr Pisar <ppisar@redhat.com> - 6.4.1-1
- 6.4.1 bump
- License changed from ((GPLv2+ or Artistic 2.0) and LGPLv2+ and LGPLv2 and
GPLv2 and GPLv2+ and UCD and Public Domain and GPLv3+) to ((GPLv2+ with
exceptions or Artistic 2.0) and (GPLv2+ with exceptions) and LGPLv2+ and
LGPLv2 and UCD and Public Domain and GPLv3+ and CC-BY-SA)
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.2.6-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.2.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Mon Jan 21 2013 Adam Tkac <atkac redhat com> - 6.2.6-2
- rebuild due to "jpeg8-ABI" feature drop
* Mon Jan 14 2013 Petr Pisar <ppisar@redhat.com> - 6.2.6-1
- 6.2.6 bump
* Thu Jan 03 2013 Petr Pisar <ppisar@redhat.com> - 6.2.5-1
- 6.2.5 bump
* Thu Dec 13 2012 Petr Pisar <ppisar@redhat.com> - 6.2.4-1
- 6.2.4 bump
* Mon Dec 03 2012 Petr Pisar <ppisar@redhat.com> - 6.2.3-2
- Sub-package YAP compatibility headers because they are not compatible with
real YAP
* Thu Nov 22 2012 Petr Pisar <ppisar@redhat.com> - 6.2.3-1
- 6.2.3 bump
* Tue Oct 02 2012 Petr Pisar <ppisar@redhat.com> - 6.2.2-1
- 6.2.2 bump
* Mon Sep 10 2012 Petr Pisar <ppisar@redhat.com> - 6.2.1-1
- 6.2.1 bump
* Thu Aug 23 2012 Petr Pisar <ppisar@redhat.com> - 6.2.0-1
- 6.2.0 bump
* Fri Jul 27 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.0.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Thu Mar 22 2012 Petr Pisar <ppisar@redhat.com> - 6.0.2-3
- Remove JDK version constrain by hacking JDK paths (bug #740897)
* Fri Mar 09 2012 Petr Pisar <ppisar@redhat.com> - 6.0.2-2
- Own jpl.jar file by jpl sub-package only
* Mon Mar 05 2012 Petr Pisar <ppisar@redhat.com> - 6.0.2-1
- 6.0.2 bump
- Artistic licensed code dual-lincensed under GPLv2+ or Artistic 2.0 now
- Keep executables as symlinks because interpreter uses the symlink value to
locate standard library
- xpce is run as swipl now
- Move documentation into separate sub-package
- Move XPCE into separate sub-package
- Move ODBC interface into separate sub-package
- Fix JPL interface (bug #590499)
* Thu Mar 01 2012 Petr Pisar <ppisar@redhat.com> - 6.0.1-1
- 6.0.1 bump
- Clean spec file
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.10.5-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Wed Oct 26 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.10.5-6
- Rebuilt for glibc bug#747377
* Wed Oct 26 2011 Marcela Mašláňová <mmaslano@redhat.com> - 5.10.5-5
- rebuild with new gmp
* Tue Sep 27 2011 Petr Pisar <ppisar@redhat.com> - 5.10.5-4
- Unify java path search (bug #740897)
* Fri Sep 23 2011 Petr Pisar <ppisar@redhat.com> - 5.10.5-3
- Correct Java paths on ARM (thanks to David A. Marlin)
* Wed Aug 24 2011 Petr Pisar <ppisar@redhat.com> - 5.10.5-2
- Fix segfault in PutImagePixels32() while displaying malformed GIF
(bug #732952)
* Mon Aug 22 2011 Petr Pisar <ppisar@redhat.com> - 5.10.5-1
- 5.10.5 bump
- Adjust patches and remove merged ones
* Fri Aug 19 2011 Petr Pisar <ppisar@redhat.com> - 5.10.2-4
- Fix CVE-2011-2896 (David Koblas' GIF decoder LZW decoder buffer overflow)
(bug #727800)
- Fix other GIF decoder bug
(http://www.swi-prolog.org/bugzilla/show_bug.cgi?id=7#c4)
* Thu Feb 10 2011 Petr Pisar <ppisar@redhat.com> - 5.10.2-3
- Pass -export-dynamic to linker properly
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.10.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Thu Dec 16 2010 Petr Pisar <ppisar@redhat.com> - 5.10.2-1
- 5.10.2 bump
- Use DT_RUNPATH instead of pl-5.7.11-rpath.patch
- Adjust jpl-configure.patch to 5.10.2
- Adjust man-files.patch to 5.10.2
- Adjust jni.patch to 5.10.2
- Adjust pc.patch to 5.10.2
- Use make install method for installation
- Adjust license tag to 5.10.2 version (LGPLv2+ added)
- Add executable permission to some files to be properly packaged
- Re-add XPCE user guide
* Wed Dec 8 2010 Petr Pisar <ppisar@redhar.com> - 5.7.11-6
- Inhibit XPCE by macro to silent rpmlint
- Define implicit attributes for jpl files
- Expand tabs to spaces to silent rpmlint
- Remove executable bit from jpl documentation files
- Fix spelling in package descriptions
- Strip debuginfo from libpl.so by setting executable bit
- Change license to reflect reality (yes, Artistic1)
- Make java part optional
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 5.7.11-5
- rebuilt with new openssl
* Fri Aug 14 2009 Gerard Milmeister <gemi@bluewin.ch> - 5.7.11-4
- move include files to expected place
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.7.11-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Tue Jul 7 2009 Mary Ellen Foster <mefoster at gmail.com> - 5.7.11-2
- Really fix issue with compiling "maildrop" packages
* Mon Jul 6 2009 Mary Ellen Foster <mefoster at gmail.com> - 5.7.11-1
- Move binaries into /usr/bin directly to fix multilib issues
- Update to latest upstream release
- Use officially-distributed PDF documentation instead of HTML
- Unify Java patches
- Remove strndup package; they fixed it upstream
- Fix compilation of "maildrop" packages
- Give the xpce documentation directory a clearer name
- Removed the FILES section of the man page because it also caused
multilib conflicts (and was inaccurate anyway)
* Fri Jun 12 2009 Dennis Gilmore <dennis@ausil.us> 5.7.6-5
-dont use a static definition for strndup
* Mon Mar 02 2009 Dennis Gilmore <dennis@ausil.us> 5.7.6-4
- fix JAVA_HOME and JAVA_LIB for sparc arches
* Sun Mar 01 2009 Karsten Hopp <karsten@redhat.com> 5.7.6-3
- fix java LIBDIRS for mainframe, similar to alpha
* Wed Feb 25 2009 Mary Ellen Foster <mefoster at gmail.com> - 5.7.6-2
- Unify all changes:
- Fix java LIBDIRS on alpha (Oliver Falk)
* Wed Feb 25 2009 Mary Ellen Foster <mefoster at gmail.com> - 5.7.6-1
- Update to version 5.7
- Cleaned up virtual machine and compiler
- Increased performance
* Sat Jan 17 2009 Tomas Mraz <tmraz@redhat.com> - 5.6.60-3
- rebuild with new openssl
* Fri Sep 19 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 5.6.60-2
- forgot to remove ANNOUNCE from doc list
* Fri Sep 19 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 5.6.60-1
- update to 5.6.60
- use openjdk (FIXME: there may be a way to make this more generic)
* Wed Jul 2 2008 Mary Ellen Foster <mefoster at gmail.com> - 5.6.57-2
- Build using any Java
- Include patch from SWI for Turkish locale (thanks to Keri Harris)
* Wed Jun 25 2008 Mary Ellen Foster <mefoster at gmail.com> - 5.6.57-1
- Another update, after vacation
* Mon May 19 2008 Mary Ellen Foster <mefoster at gmail.com> - 5.6.55-1
- Update to 5.6.55 (wow, fast updates!)
- Un-split xpce for now
- Conditionally build jpl (on Fedora 9 with openjdk, and on
Fedora 8 non-ppc with icedtea)
* Wed May 07 2008 Mary Ellen Foster <mefoster at gmail.com> - 5.6.54-1
- Update to 5.6.54 and prepare to actually push this
- Try splitting xpce into own package
* Tue Apr 15 2008 Mary Ellen Foster <mefoster at gmail.com> - 5.6.53-1
- Update to 5.6.53 -- fixes ppc64 problems, yay!
* Wed Apr 09 2008 Mary Ellen Foster <mefoster at gmail.com> - 5.6.52-2
- Put JPL stuff where the new Java packaging guidelines say it should be
and make all of the necessary adjustments in other files
- Split out "-devel" and "-static" packages per guidelines
* Mon Mar 31 2008 Mary Ellen Foster <mefoster at gmail.com> - 5.6.52-1
- Switch jpl requirement from IcedTea to OpenJDK and enable it everywhere
- Upgrade to 5.6.52
- Patch jpl configure script to find Java libraries on ppc{64}
- NB: Still broken on ppc64, still trying to figure out why
* Mon Feb 25 2008 Mary Ellen Foster <mefoster at gmail.com> - 5.6.51-1
- Upgrade to 5.6.51
* Fri Feb 22 2008 Mary Ellen Foster <mefoster at gmail.com> - 5.6.50-1
- Update to 5.6.50
- Enable JPL (as a sub-package) -- NB: it only builds with icedtea for now,
so we disable that sub-package on ppc64 and ppc for the moment
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 5.6.47-9
- Autorebuild for GCC 4.3
* Thu Dec 6 2007 Gerard Milmeister <gemi@bluewin.ch> - 5.6.47-8
- compile with -fno-strict-aliasing
* Wed Dec 5 2007 Gerard Milmeister <gemi@bluewin.ch> - 5.6.47-5
- disable jpl for now
* Wed Dec 5 2007 Gerard Milmeister <gemi@bluewin.ch> - 5.6.47-4
- enable shared library building
* Wed Dec 5 2007 Gerard Milmeister <gemi@bluewin.ch> - 5.6.47-1
- new release 5.6.47
* Fri Jun 8 2007 Gerard Milmeister <gemi@bluewin.ch> - 5.6.35-1
- new version 5.6.35
- add requires readline-devel
* Mon Apr 23 2007 Gerard Milmeister <gemi@bluewin.ch> - 5.6.34-1
- new version 5.6.34
* Fri Feb 23 2007 Gerard Milmeister <gemi@bluewin.ch> - 5.6.28-1
- new version 5.6.28
* Fri Dec 1 2006 Gerard Milmeister <gemi@bluewin.ch> - 5.6.24-1
- new version 5.6.24
* Sun Oct 1 2006 Gerard Milmeister <gemi@bluewin.ch> - 5.6.20-1
- new version 5.6.20
* Sat Sep 2 2006 Gerard Milmeister <gemi@bluewin.ch> - 5.6.18-1
- updated to 5.6.18
* Mon Aug 28 2006 Gerard Milmeister <gemi@bluewin.ch> - 5.6.16-3
- Rebuild for FE6
* Tue Jul 11 2006 Gerard Milmeister <gemi@bluewin.ch> - 5.6.16-1
- new version 5.6.16
* Mon May 1 2006 Gerard Milmeister <gemi@bluewin.ch> - 5.6.12-3
- added buildreq for libXinerama-devel
* Mon May 1 2006 Gerard Milmeister <gemi@bluewin.ch> - 5.6.12-2
- added patch to compile with xft
* Sun Apr 30 2006 Gerard Milmeister <gemi@bluewin.ch> - 5.6.12-1
- new version 5.6.12
* Wed Mar 8 2006 Gerard Milmeister <gemi@bluewin.ch> - 5.6.7-1
- new version 5.6.7
* Sat Jan 28 2006 Gerard Milmeister <gemi@bluewin.ch> - 5.6.3-1
- new version 5.6.3
* Mon Jan 2 2006 Gerard Milmeister <gemi@bluewin.ch> - 5.6.0-1
- new version 5.6.0
* Wed Jun 22 2005 Gerard Milmeister <gemi@bluewin.ch> - 5.4.7-1
- new version 5.4.7
* Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 5.4.6-9
- rebuild on all arches
* Wed Apr 6 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
- rebuilt
* Wed Feb 23 2005 David Woodhouse <dwmw2@infradead.org> - 5.4.6-7
- Fix visibility abuse. This may well fix x86_64 too, so re-enable that.
* Mon Feb 21 2005 Gerard Milmeister <gemi@bluewin.ch> - 5.4.6-6
- Exclude x86_64 for now (bugzilla 149038)
* Sun Feb 20 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 5.4.6-5
- Added patch1 for a few multilib Makefile/configure fixes.
- Use %%makeinstall and set libdir in install section.
* Sat Feb 12 2005 Warren Togami <wtogami@redhat.com> - 5.4.6-4
- remove duplicate RPATH patch
- remove Epoch
- remove redundant unixODBC from BR
* Sat Feb 12 2005 Gerard Milmeister <gemi@bluewin.ch> - 5.4.6-2
- Added BuildRequires: unixODBC, unixODBC-devel
- Removed rpath from shared libs: pl-rpath.patch
* Sat Feb 12 2005 Gerard Milmeister <gemi@bluewin.ch> - 5.4.6-1
- New Version 5.4.6
* Thu Jan 13 2005 Gerard Milmeister <gemi@bluewin.ch> - 5.4.5-0.fdr.1
- New Version 5.4.5

View file

@ -1,221 +0,0 @@
The swipl project is released under the BSD-2-Clause license. Exceptions are
noted below. The status of each file is indicated with the following codes:
BD = in the swi-prolog-bdb package
CL = in the swi-prolog-cli package
CP = in the swi-prolog-core-packages package
CR = in the swi-prolog-core package
DC = in the swi-prolog-doc package
FL = in the swi-prolog-full package
JV = in the swi-prolog-java pacakge
MN = in the main package, swi-prolog
NP = not packaged; these files do not influence the package License field
OD = in the swi-prolog-odbc package
TS = in the swi-prolog-test package
WN = in the swi-prolog-win package
bcrypt-Solar-Designer
---------------------
CL packages/ssl/crypt_blowfish.{c,h}
Beerware
--------
CP packages/clib/md5passwd.c
Brian-Gladman-3-Clause OR GPL-1.0-or-later
------------------------------------------
CP packages/clib/sha1/brg_endian.h
CP packages/clib/sha1/brg_types.h
CP packages/clib/sha1/hmac.{c,h}
CP packages/clib/sha1/pwd2key.{c,h}
CP packages/clib/sha1/sha*
CR src/pl-termhash.{c,h}
BSD-2-Clause AND BSD-3-Clause
-----------------------------
CL packages/libedit/libedit4pl.c
BSD-2-Clause AND FBM AND HPND-Pbmplus
-------------------------------------
WN packages/xpce/src/img/gifwrite.c
BSD-2-Clause AND GPL-2.0-or-later
---------------------------------
TS src/Tests/core/test_coroutining.pl
BSD-2-Clause AND IJG
--------------------
WN packages/xpce/src/img/jdatadst.c
WN packages/xpce/src/img/jdatasrc.c
BSD-2-Clause AND LicenseRef-Fedora-Public-Domain
------------------------------------------------
CR library/aggregate.pl
WN packages/xpce/src/gra/colour.c
BSD-2-Clause AND MIT
--------------------
CP packages/http/http_stream.pl
CP packages/http/multipart.c
BSD-2-Clause AND Unicode-DFS-2016
---------------------------------
CR library/blocks.pl
BSD-2-Clause OR Artistic-2.0
----------------------------
CP library/ugraphs.pl
BSD-3-Clause
------------
CP packages/clib/bsd-crypt.c
NP packages/libedit/libedit/*
NP packages/odbc/cmake/FindODBC.cmake
NP packages/protobufs/interop/google/protobuf/unittest*
CL packages/tipc/tipcutils/tipc-config.c
NP packages/xpce/cmake/FindFontConfig.cmake
CR src/libbf/mersenne-twister.{c,h}
CC-BY-SA-3.0
------------
DC man/main.doc
WN packages/xpce/man/course/doc.doc
WN packages/xpce/man/info/titlepage.def
dtoa
----
CR src/os/dtoa.c
Free for non-commercial use
---------------------------
NP bench/unify.pl (removed from tarball)
NP bench/simple_analyzer.pl (removed from tarball)
GFDL-1.3-no-invariants-or-later
-------------------------------
CP packages/sweep/sweep.texi
GPL-1.0-or-later OR Artistic-1.0-Perl
-------------------------------------
CP packages/nlp/double_metaphone.c
GPL-2.0-or-later
----------------
NP repackage.sh (not included in the upstream tarball)
NP packages/xpce/man/info/texinfo.tex
GPL-2.0-or-later WITH Bison-exception-2.2 AND LicenseRef-Fedora-Public-Domain
-----------------------------------------------------------------------------
WN packages/xpce/src/gnu/getdate.c
GPL-2.0-or-later with SWI-exception
-----------------------------------
CP packages/clpqr/*
CP packages/http/http_server_health.pl
TS src/Tests/compile/test_autoload.pl
TS tests/library/test_pio.pl
GPL-3.0-or-later
----------------
CP packages/sweep/emacs-module.h
Knuth-CTAN
----------
DC man/name.bst
WN packages/xpce/TeX/name.bst
LGPL-2.0-only
-------------
NP cmake/TestSignalType.cmake
LGPL-2.0-or-later
-----------------
CP packages/nlp/isub.c
LGPL-2.1-or-later
-----------------
TS src/Tests/core/test_arith.pl
TS src/Tests/core/test_bips.pl
TS src/Tests/core/test_dcg.pl
TS src/Tests/core/test_sort.pl
TS src/Tests/core/test_subsumes.pl
LicenseRef-Fedora-Public-Domain
-------------------------------
NP bench/programs/derive.pl
NP bench/programs/divide10.pl
NP bench/programs/eval.pl
NP bench/programs/fib.pl
NP bench/programs/log10.pl
NP bench/programs/nreverse.pl
NP bench/programs/ops8.pl
NP bench/programs/qsort.pl
NP bench/programs/queens_clpfd.pl
NP bench/programs/query.pl
NP bench/programs/serialise.pl
NP bench/programs/sieve.pl
NP bench/programs/times10.pl
CR library/dialect/bim.pl
NP packages/clib/demo/*
NP packages/cpp/likes.cpp
NP packages/http/examples/demo_body.pl
NP packages/http/examples/demo_daemon.pl
CP packages/semweb/murmur.{c,h}
NP packages/ssl/https.pl
NP packages/stomp/examples/*
NP packages/swipy/tests/russel.pl
WN packages/xpce/man/course/bib.pl
WN packages/xpce/man/course/fam.pl
WN packages/xpce/man/course/ftp.pl
WN packages/xpce/man/course/learner.pl
WN packages/xpce/man/course/lib/prompt.pl
WN packages/xpce/man/info/dialog.pl
WN packages/xpce/man/info/which.pl
WN packages/xpce/man/info/window.pl
WN packages/xpce/man/reference/class/image.doc
WN packages/xpce/man/userguide/examples/graphedit.pl
WN packages/xpce/src/gnu/getdate-source.y
WN packages/xpce/src/gnu/y.tab
NP scripts/swipl-bt
CR src/pl-hash.{c,h}
CR src/libtai/*
NP src/tools/functions.pm
NP src/tools/update-deps
LPPL-1.3c
---------
DC man/bk9.clo
DC man/swipl.cls
MIT
---
NP bench/programs/chat_parser.pl
NP packages/http/web/js/jquery*
CP packages/mqi/python/*
NP packages/pcre/cmake/FindPCRE.cmake
NP packages/swipy/test_xsb_janus.pl
NP packages/swipy/xsb_tests/*
CR src/libbf/cutils.{c,h}
CR src/libbf/libbf.{c,h}
MIT AND Unicode-DFS-2015
------------------------
CP packages/utf8proc/*
Spencer-99 AND TCL AND PostgreSQL
---------------------------------
WN packages/xpce/src/rgx/*
W3C
---
CP packages/sgml/DTD/*
X11
---
NP packages/xpce/deps/xpm/*
Zlib
----
CP packages/clib/md5.{c,h}
CP packages/semweb/md5.{c,h}
CR src/minizip/*

1447
pl.spec

File diff suppressed because it is too large Load diff

4
repackage.sh Executable file → Normal file
View file

@ -25,8 +25,8 @@ version=$1
# files to be removed without the main pl-<version>/ prefix
declare -a REMOVE
# Bad license: <http://www.swi-prolog.org/bugzilla/show_bug.cgi?id=145>
REMOVE[${#REMOVE[*]}]="bench/programs/unify.pl"
REMOVE[${#REMOVE[*]}]="bench/programs/simple_analyzer.pl"
REMOVE[${#REMOVE[*]}]="bench/unify.pl"
REMOVE[${#REMOVE[*]}]="bench/simple_analyzer.pl"
# no changes below this line should be needed

View file

@ -1 +1,2 @@
SHA512 (swipl-10.0.0_repackaged.tar.gz) = d8f85ceed3ccfcc7b44535d3384bc8fd9ddaff1dce5405382433328e2b873a52a232bab7dfee5adc28882413b03da623565f2dfb312fede13e316545d96c31ee
SHA512 (userguide.html.tgz) = baa16d8f06a666e77ef45aaf7708e877710bfcb8fc0fb519bc70c54619c45def2d2ab4feaa0f1a1875b2a2270e8907551b63582da1b4beaa5b50f013a41d7ab9
SHA512 (swipl-8.2.3_repackaged.tar.gz) = 8e798fdd6dd151b2c593ac6ac5e0f252916ef87a8d11183ce86397a30b4907f83fb4d08e482d64f603c142a2c7566528f0c2a4d8a6952dfcc920ca3844c42aa8

View file

@ -1,13 +0,0 @@
--- swipl-10.0.0/packages/libedit/libedit/src/CMakeLists.txt.orig 2025-11-30 01:13:23.000000000 -0700
+++ swipl-10.0.0/packages/libedit/libedit/src/CMakeLists.txt 2025-12-05 15:40:03.894414328 -0700
@@ -116,7 +116,10 @@ check_symbol_exists(unvis "vis.h" HAVE_U
check_symbol_exists(endpwent "pwd.h" HAVE_ENDPWENT)
check_symbol_exists(getpwuid_r "pwd.h" HAVE_GETPW_R_POSIX)
check_symbol_exists(isascii "ctype.h" HAVE_ISASCII)
+set(OLD_CMAKE_REQUIRED_DEFINITIONS ${CMAKE_REQUIRED_DEFINITIONS})
+list(APPEND CMAKE_REQUIRED_DEFINITIONS -D_GNU_SOURCE)
check_symbol_exists(secure_getenv "stdlib.h" HAVE_SECURE_GETENV)
+set(CMAKE_REQUIRED_DEFINITIONS ${OLD_CMAKE_REQUIRED_DEFINITIONS})
check_symbol_exists(wcsdup "wchar.h" HAVE_WCSDUP)
include(CheckIncludeFile)

View file

@ -17,7 +17,7 @@ diff --git a/src/swipl.1.in b/src/swipl.1.in
index e6eeda5..81c5abb 100644
--- a/src/swipl.1.in
+++ b/src/swipl.1.in
@@ -449,38 +449,6 @@ to find the local installation directory
@@ -396,38 +396,6 @@ to find the local installation directory
.I ~/.config/swi-prolog/init.pl
Personal initialisation files consulted by SWI-Prolog on startup.
The exact location depends on the OS.
@ -56,7 +56,7 @@ index e6eeda5..81c5abb 100644
.SH SEE ALSO
.PP
The SWI-Prolog web-home at
@@ -490,9 +458,6 @@ Jan\ Wielemaker
@@ -437,9 +405,6 @@ Jan\ Wielemaker
.IR "SWI-Prolog Reference Manual" " at"
.I http://www.swi-prolog.org/pldoc/index.html
.PP

View file

@ -18,7 +18,7 @@ diff --git a/packages/jpl/jpl.pl b/packages/jpl/jpl.pl
index 024dd79..ffeccd9 100644
--- a/packages/jpl/jpl.pl
+++ b/packages/jpl/jpl.pl
@@ -3823,7 +3823,8 @@ prolog:error_message(java_exception(Ex))
@@ -3960,7 +3960,8 @@ prolog:error_message(java_exception(Ex))
:- multifile user:file_search_path/2.
:- dynamic user:file_search_path/2.
@ -28,7 +28,7 @@ index 024dd79..ffeccd9 100644
classpath(DirOrJar) :-
getenv('CLASSPATH', ClassPath),
@@ -3992,7 +3993,7 @@ add_jpl_to_classpath :-
@@ -4140,7 +4141,7 @@ add_jpl_to_classpath :-
libjpl(File) :-
( current_prolog_flag(unix, true)

View file

@ -0,0 +1,37 @@
This prevents a LaTeX error when labels contain underscores:
(./SWI-Prolog-8.2.2.aux (./intro.aux) (./overview.aux) (./ide.aux)
(./builtin.aux
! Missing \endcsname inserted.
<to be read again>
\protect
l.12 ...{Redicate indicators}{subsection.4.1.2}{}}
?
! Emergency stop.
<to be read again>
\protect
l.12 ...{Redicate indicators}{subsection.4.1.2}{}}
End of file on the terminal!
--- a/man/builtin.doc 2020-10-27 05:10:19.000000000 -0600
+++ b/man/builtin.doc 2020-10-27 12:43:43.386433966 -0600
@@ -78,7 +78,7 @@ See also \secref{metacall} for examples
\secref{metapred} for mode flags to label meta-predicate arguments in
module export declarations.
-\subsection{Redicate indicators} \label{sec:predicate_indic}
+\subsection{Redicate indicators} \label{sec:predicate:indic}
\index{predicate indicator}%
Referring to a predicate in running text is done using a
@@ -87,7 +87,7 @@ predicate indicator is a term \exam{[<mo
generally omitted if it is irrelevant (case of a built-in predicate) or if it
can be inferred from context.
-\subsubsection{Non-terminal indicatora} \label{sec:nonterminal_indic}
+\subsubsection{Non-terminal indicatora} \label{sec:nonterminal:indic}
\index{non-terminal indicator}%
Compliant to the ISO standard draft on Definite Clause Grammars (see

View file

@ -0,0 +1,25 @@
Silence some deprecation warnings.
--- swipl-8.2.3/packages/swipl-win/ParenMatching.cpp.orig 2020-11-04 06:02:43.000000000 -0700
+++ swipl-8.2.3/packages/swipl-win/ParenMatching.cpp 2020-11-23 09:44:33.888327758 -0700
@@ -84,9 +84,9 @@ QString ParenMatching::range::plainText(
e = doc->findBlock(end);
QTextStream s(&x);
if (b != e) {
- s << b.text().mid(b.position() - beg) << endl;
+ s << b.text().mid(b.position() - beg) << Qt::endl;
for (b = b.next(); b != e; b = b.next())
- s << b.text() << endl;
+ s << b.text() << Qt::endl;
s << b.text().left(end - b.position());
}
else
@@ -105,7 +105,7 @@ QString ParenMatching::range::linesText(
if (b != doc->end()) {
QTextStream s(&x);
for ( ; b != e; b = b.next())
- s << b.text() << endl;
+ s << b.text() << Qt::endl;
if (b != doc->end())
s << b.text();
}

View file

@ -1,10 +0,0 @@
--- swipl-9.2.7/packages/inclpr/CMakeLists.txt.orig 2023-12-11 03:16:08.000000000 -0700
+++ swipl-9.2.7/packages/inclpr/CMakeLists.txt 2024-09-18 09:37:46.320423903 -0600
@@ -15,6 +15,7 @@ swipl_plugin(inclpr_priv
swipl_plugin(inclpr
NOINDEX
C_SOURCES inclpr.c
+ C_LIBS m
PL_LIBS inclpr.pl)
swipl_examples(benchmarks.pl)

File diff suppressed because it is too large Load diff

View file

@ -1,11 +1,9 @@
.PHONY: run
CLASSPATH=/usr/lib/java/jpl.jar
all: run
run: java
cd java/test && javac -cp $(CLASSPATH):.. Test.java && java -cp $(CLASSPATH):.. test.Test test.pl
cd java/Test && sh run.sh
java: $(wildcard /usr/share/doc/pl-jpl*/examples/java)
cp -r $< $@