pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
yap: add update candidate for lang/yap
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <wiz%gatalith.at@localhost>
Pushed By: wiz
Date: Mon Feb 20 08:50:57 2023 +0100
Changeset: 043034a5b28521e7f1990642f8cd8c4a344d2b93
Modified Files:
Makefile
Added Files:
yap/DESCR
yap/Makefile
yap/PLIST
yap/TODO
yap/distinfo
yap/patches/patch-H_absmi.h
yap/patches/patch-ad
yap/patches/patch-ae
yap/patches/patch-af
yap/patches/patch-ah
yap/patches/patch-packages_myddas_odbc_CMakeLists.txt
Log Message:
yap: add update candidate for lang/yap
Currently failing in popcount.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=043034a5b28521e7f1990642f8cd8c4a344d2b93
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
yap/DESCR | 6 +
yap/Makefile | 43 ++
yap/PLIST | 715 +++++++++++++++++++++
yap/TODO | 17 +
yap/distinfo | 11 +
yap/patches/patch-H_absmi.h | 17 +
yap/patches/patch-ad | 16 +
yap/patches/patch-ae | 16 +
yap/patches/patch-af | 30 +
yap/patches/patch-ah | 15 +
.../patch-packages_myddas_odbc_CMakeLists.txt | 23 +
12 files changed, 910 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index a8f3f5289a..d4290b0853 100644
--- a/Makefile
+++ b/Makefile
@@ -6073,6 +6073,7 @@ SUBDIR+= yad
SUBDIR+= yafray
SUBDIR+= yaggo
SUBDIR+= yakuake
+SUBDIR+= yap
SUBDIR+= yauap
SUBDIR+= yaupspe
SUBDIR+= yder
diff --git a/yap/DESCR b/yap/DESCR
new file mode 100644
index 0000000000..23569827ac
--- /dev/null
+++ b/yap/DESCR
@@ -0,0 +1,6 @@
+YAP is a high-performance Prolog compiler developed at
+LIACC/Universidade do Porto and at COPPE Sistemas/UFRJ. Its Prolog
+engine is based in the WAM (Warren Abstract Machine), with several
+optimizations for better performance. YAP follows the Edinburgh
+tradition, and is largely compatible with the ISO-Prolog standard and
+with Quintus and SICStus Prolog.
diff --git a/yap/Makefile b/yap/Makefile
new file mode 100644
index 0000000000..b0ee848ae0
--- /dev/null
+++ b/yap/Makefile
@@ -0,0 +1,43 @@
+# $NetBSD: Makefile,v 1.27 2017/10/09 08:52:04 wiz Exp $
+
+DISTNAME= YAP-6.3.4
+PKGNAME= ${DISTNAME:tl}
+CATEGORIES= lang
+MASTER_SITES= ${MASTER_SITE_GITHUB:=vscosta/}
+GITHUB_PROJECT= yap-6.3
+GITHUB_TAG= ${DISTNAME}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/vscosta/yap-6.3
+COMMENT= ISO-compliant Prolog
+
+TOOL_DEPENDS+= doxygen-[0-9]*:../../devel/doxygen
+DEPENDS+= odbc-postgresql-[0-9]*:../../databases/odbc-postgresql
+
+USE_LANGUAGES= c c++
+USE_TOOLS+= pkg-config
+
+CONFIGURE_ENV+= INDENT=${TRUE:Q}
+
+.include "../../mk/bsd.prefs.mk"
+
+# If it doesn't probe a c++0x compiler, it doesn't build "horus",
+# which is apparently a belief propagation engine. There isn't any
+# good way to detect in pkgsrc if the current compiler supports any
+# particular dialect (at least as of this writing) and forcing a
+# non-default compiler seems like overkill, so for now at least we'll
+# approximate by OS.
+PLIST_VARS+= horus
+.if ${OPSYS} != "OpenBSD"
+PLIST.horus= yes
+.endif
+
+.include "../../devel/cmake/build.mk"
+.include "../../textproc/raptor2/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../archivers/libarchive/buildlink3.mk"
+.include "../../devel/readline/buildlink3.mk"
+.include "../../devel/gmp/buildlink3.mk"
+.include "../../mk/curses.buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/yap/PLIST b/yap/PLIST
new file mode 100644
index 0000000000..f465a30026
--- /dev/null
+++ b/yap/PLIST
@@ -0,0 +1,715 @@
+@comment $NetBSD: PLIST,v 1.12 2015/11/08 19:27:40 dholland Exp $
+${PLIST.horus}bin/hcli
+bin/yap
+include/Yap/SWI-Prolog.h
+include/Yap/SWI-Stream.h
+include/Yap/Tags_24bits.h
+include/Yap/Tags_32LowTag.h
+include/Yap/Tags_32Ops.h
+include/Yap/Tags_32bits.h
+include/Yap/Tags_64bits.h
+include/Yap/TermExt.h
+include/Yap/YapCompoundTerm.h
+include/Yap/YapInterface.h
+include/Yap/YapRegs.h
+include/Yap/YapTags.h
+include/Yap/YapTerm.h
+include/Yap/YapTermConfig.h
+include/Yap/bprolog.h
+include/Yap/c_interface.h
+include/Yap/clause_list.h
+include/Yap/dswiatoms.h
+include/Yap/dtoa.c
+include/Yap/pl-buffer.h
+include/Yap/pl-codelist.h
+include/Yap/pl-ctype.h
+include/Yap/pl-dtoa.h
+include/Yap/pl-global.h
+include/Yap/pl-incl.h
+include/Yap/pl-option.h
+include/Yap/pl-os.h
+include/Yap/pl-privitf.h
+include/Yap/pl-table.h
+include/Yap/pl-text.h
+include/Yap/pl-thread.h
+include/Yap/pl-utf8.h
+include/Yap/pl-yap.h
+include/Yap/src/Atoms.h
+include/Yap/src/Regs.h
+include/Yap/src/Yap.h
+include/Yap/src/YapHeap.h
+include/Yap/src/Yapproto.h
+include/Yap/src/Yatom.h
+include/Yap/src/absmi.h
+include/Yap/src/alloc.h
+include/Yap/src/amidefs.h
+include/Yap/src/amiops.h
+include/Yap/src/arith2.h
+include/Yap/src/arrays.h
+include/Yap/src/attvar.h
+include/Yap/src/clause.h
+include/Yap/src/compile.h
+include/Yap/src/config.h
+include/Yap/src/corout.h
+include/Yap/src/cut_c.h
+include/Yap/src/dglobals.h
+include/Yap/src/dhstruct.h
+include/Yap/src/dlmalloc.h
+include/Yap/src/dlocals.h
+include/Yap/src/eam.h
+include/Yap/src/eamamasm.h
+include/Yap/src/eval.h
+include/Yap/src/heapgc.h
+include/Yap/src/hglobals.h
+include/Yap/src/hlocals.h
+include/Yap/src/hstruct.h
+include/Yap/src/iatoms.h
+include/Yap/src/iglobals.h
+include/Yap/src/ihstruct.h
+include/Yap/src/ilocals.h
+include/Yap/src/index.h
+include/Yap/src/inline-only.h
+include/Yap/src/iopreds.h
+include/Yap/src/iswiatoms.h
+include/Yap/src/locks_alpha.h
+include/Yap/src/locks_alpha_funcs.h
+include/Yap/src/locks_mips.h
+include/Yap/src/locks_mips_funcs.h
+include/Yap/src/locks_pthread.h
+include/Yap/src/locks_sparc.h
+include/Yap/src/locks_x86.h
+include/Yap/src/myddas.h
+include/Yap/src/myddas_statistics.h
+include/Yap/src/myddas_statistics_structs.h
+include/Yap/src/myddas_structs.h
+include/Yap/src/myddas_wkb.h
+include/Yap/src/myddas_wkb2prolog.h
+include/Yap/src/opt.config.h
+include/Yap/src/opt.macros.h
+include/Yap/src/opt.proto.h
+include/Yap/src/opt.structs.h
+include/Yap/src/or.macros.h
+include/Yap/src/or.sba_amiops.h
+include/Yap/src/or.sba_unify.h
+include/Yap/src/parms.h
+include/Yap/src/qly.h
+include/Yap/src/ratoms.h
+include/Yap/src/rclause.h
+include/Yap/src/rglobals.h
+include/Yap/src/rheap.h
+include/Yap/src/rhstruct.h
+include/Yap/src/rlocals.h
+include/Yap/src/sshift.h
+include/Yap/src/swi.h
+include/Yap/src/tab.structs.h
+include/Yap/src/tatoms.h
+include/Yap/src/threads.h
+include/Yap/src/tracer.h
+include/Yap/src/trim_trail.h
+include/Yap/src/yapio.h
+include/Yap/udi.h
+include/Yap/yap_structs.h
+lib/Yap/archive4pl.so
+lib/Yap/cgi.so
+lib/Yap/files.so
+${PLIST.horus}lib/Yap/horus.so
+lib/Yap/http_stream.so
+lib/Yap/itries.so
+lib/Yap/json.so
+lib/Yap/matrix.so
+lib/Yap/memfile.so
+lib/Yap/mime.so
+lib/Yap/pl-minisat.so
+lib/Yap/prism.so
+lib/Yap/process.so
+lib/Yap/rdf_db.so
+lib/Yap/readutil.so
+lib/Yap/regexp.so
+lib/Yap/sgml2pl.so
+lib/Yap/sha4pl.so
+lib/Yap/socket.so
+lib/Yap/startup.yss
+lib/Yap/streaminfo.so
+lib/Yap/sys.so
+lib/Yap/time.so
+lib/Yap/tries.so
+lib/Yap/turtle.so
+lib/Yap/uid.so
+lib/Yap/unix.so
+lib/Yap/uri.so
+lib/Yap/yap_random.so
+lib/Yap/yap_rl.so
+lib/Yap/zlib4pl.so
+lib/libYap.a
+share/Yap/DTD/HTML4.dcl
+share/Yap/DTD/HTML4.dtd
+share/Yap/DTD/HTML4.soc
+share/Yap/DTD/HTMLlat1.ent
+share/Yap/DTD/HTMLspec.ent
+share/Yap/DTD/HTMLsym.ent
+share/Yap/INDEX.pl
+share/Yap/R.pl
+share/Yap/aggregate.pl
+share/Yap/apply.yap
+share/Yap/apply_macros.yap
+share/Yap/aproblog.yap
+share/Yap/archive.pl
+share/Yap/arg.yap
+share/Yap/assoc.yap
+share/Yap/atts.yap
+share/Yap/autoloader.yap
+share/Yap/avl.yap
+share/Yap/base64.pl
+share/Yap/bhash.yap
+share/Yap/block_diagram.yap
+share/Yap/broadcast.pl
+share/Yap/c_alarms.yap
+share/Yap/cgi.pl
+share/Yap/charsio.yap
+share/Yap/chr.pl
+share/Yap/chr/README
+share/Yap/chr/a_star.pl
+share/Yap/chr/binomialheap.pl
+share/Yap/chr/builtins.pl
+share/Yap/chr/chr_compiler_errors.pl
+share/Yap/chr/chr_compiler_options.pl
+share/Yap/chr/chr_compiler_utility.pl
+share/Yap/chr/chr_debug.pl
+share/Yap/chr/chr_hashtable_store.pl
+share/Yap/chr/chr_integertable_store.pl
+share/Yap/chr/chr_messages.pl
+share/Yap/chr/chr_op.pl
+share/Yap/chr/chr_runtime.pl
+share/Yap/chr/chr_translate.pl
+share/Yap/chr/clean_code.pl
+share/Yap/chr/find.pl
+share/Yap/chr/guard_entailment.pl
+share/Yap/chr/listmap.pl
+share/Yap/chr/pairlist.pl
+share/Yap/clp/clp_events.pl
+share/Yap/clpbn.yap
+share/Yap/clpbn/aggregates.yap
+share/Yap/clpbn/bdd.yap
+share/Yap/clpbn/bnt.yap
+share/Yap/clpbn/connected.yap
+share/Yap/clpbn/discrete_utils.yap
+share/Yap/clpbn/display.yap
+share/Yap/clpbn/dists.yap
+share/Yap/clpbn/evidence.yap
+share/Yap/clpbn/gibbs.yap
+share/Yap/clpbn/graphs.yap
+share/Yap/clpbn/graphviz.yap
+share/Yap/clpbn/ground_factors.yap
+share/Yap/clpbn/hmm.yap
+share/Yap/clpbn/horus.yap
+share/Yap/clpbn/horus_ground.yap
+share/Yap/clpbn/horus_lifted.yap
+share/Yap/clpbn/jt.yap
+share/Yap/clpbn/learning/aleph_params.yap
+share/Yap/clpbn/learning/bnt_parms.yap
+share/Yap/clpbn/learning/em.yap
+share/Yap/clpbn/learning/learn_utils.yap
+share/Yap/clpbn/learning/mle.yap
+share/Yap/clpbn/matrix_cpt_utils.yap
+share/Yap/clpbn/numbers.yap
+share/Yap/clpbn/pgrammar.yap
+share/Yap/clpbn/table.yap
+share/Yap/clpbn/topsort.yap
+share/Yap/clpbn/utils.yap
+share/Yap/clpbn/ve.yap
+share/Yap/clpbn/viterbi.yap
+share/Yap/clpbn/vmap.yap
+share/Yap/clpbn/xbif.yap
+share/Yap/clpfd.pl
+share/Yap/clpq.pl
+share/Yap/clpq/bb_q.pl
+share/Yap/clpq/bv_q.pl
+share/Yap/clpq/fourmotz_q.pl
+share/Yap/clpq/ineq_q.pl
+share/Yap/clpq/itf_q.pl
+share/Yap/clpq/nf_q.pl
+share/Yap/clpq/store_q.pl
+share/Yap/clpqr/README
+share/Yap/clpqr/class.pl
+share/Yap/clpqr/dump.pl
+share/Yap/clpqr/geler.pl
+share/Yap/clpqr/itf.pl
+share/Yap/clpqr/ordering.pl
+share/Yap/clpqr/project.pl
+share/Yap/clpqr/redund.pl
+share/Yap/clpr.pl
+share/Yap/clpr/bb_r.pl
+share/Yap/clpr/bv_r.pl
+share/Yap/clpr/fourmotz_r.pl
+share/Yap/clpr/ineq_r.pl
+share/Yap/clpr/itf_r.pl
+share/Yap/clpr/nf_r.pl
+share/Yap/clpr/store_r.pl
+share/Yap/cnf.pl
+share/Yap/coinduction.yap
+share/Yap/ctypes.pl
+share/Yap/date.pl
+share/Yap/dbqueues.yap
+share/Yap/dbusage.yap
+share/Yap/debug.pl
+share/Yap/dgraphs.yap
+share/Yap/dialect/bprolog.yap
+share/Yap/dialect/bprolog/actionrules.pl
+share/Yap/dialect/bprolog/arrays.yap
+share/Yap/dialect/bprolog/compile_foreach.pl
+share/Yap/dialect/bprolog/foreach.pl
+share/Yap/dialect/bprolog/hashtable.yap
+share/Yap/dialect/commons.yap
+share/Yap/dialect/hprolog.yap
+share/Yap/dialect/swi.yap
+share/Yap/dialect/swi/INDEX.pl
+share/Yap/dialect/swi/listing.pl
+share/Yap/dialect/swi/syspred_options.pl
+share/Yap/doc_files.pl
+share/Yap/doc_http.pl
+share/Yap/doc_latex.pl
+share/Yap/dtproblog.yap
+share/Yap/error.pl
+share/Yap/expand_macros.yap
+share/Yap/filesex.pl
+share/Yap/flags.yap
+share/Yap/gensym.yap
+share/Yap/hacks.yap
+share/Yap/heaps.yap
+share/Yap/http/README
+share/Yap/http/dcg_basics.pl
+share/Yap/http/html_head.pl
+share/Yap/http/html_write.pl
+share/Yap/http/http_authenticate.pl
+share/Yap/http/http_client.pl
+share/Yap/http/http_cookie.pl
+share/Yap/http/http_cors.pl
+share/Yap/http/http_dirindex.pl
+share/Yap/http/http_dispatch.pl
+share/Yap/http/http_error.pl
+share/Yap/http/http_exception.pl
+share/Yap/http/http_files.pl
+share/Yap/http/http_header.pl
+share/Yap/http/http_hook.pl
+share/Yap/http/http_host.pl
+share/Yap/http/http_json.pl
+share/Yap/http/http_log.pl
+share/Yap/http/http_mime_plugin.pl
+share/Yap/http/http_open.pl
+share/Yap/http/http_openid.pl
+share/Yap/http/http_parameters.pl
+share/Yap/http/http_path.pl
+share/Yap/http/http_pwp.pl
+share/Yap/http/http_server_files.pl
+share/Yap/http/http_session.pl
+share/Yap/http/http_sgml_plugin.pl
+share/Yap/http/http_stream.pl
+share/Yap/http/http_wrapper.pl
+share/Yap/http/inetd_httpd.pl
+share/Yap/http/js_write.pl
+share/Yap/http/json.pl
+share/Yap/http/json_convert.pl
+share/Yap/http/mimepack.pl
+share/Yap/http/mimetype.pl
+share/Yap/http/thread_httpd.pl
+share/Yap/http/web/css/dirindex.css
+share/Yap/http/web/css/openid.css
+share/Yap/http/web/icons/back.png
+share/Yap/http/web/icons/c.png
+share/Yap/http/web/icons/compressed.png
+share/Yap/http/web/icons/folder.png
+share/Yap/http/web/icons/generic.png
+share/Yap/http/web/icons/layout.png
+share/Yap/http/web/icons/openid-logo-square.png
+share/Yap/http/web/icons/openid-logo-tiny.png
+share/Yap/http/xpce_httpd.pl
+share/Yap/icon_address.pl
+share/Yap/iso_639.pl
+share/Yap/itries.yap
+share/Yap/lam_mpi.yap
+share/Yap/lambda.pl
+share/Yap/lineutils.yap
+share/Yap/lists.yap
+share/Yap/main.pl
+share/Yap/maplist.pl
+share/Yap/maplist.yap
+share/Yap/matlab.yap
+share/Yap/matrix.yap
+share/Yap/meld.yap
+share/Yap/meld/meldc.yap
+share/Yap/meld/meldi.yap
+share/Yap/meld/meldp.yap
+share/Yap/meld/meldtd.yap
+share/Yap/memfile.pl
+share/Yap/menu.pl
+share/Yap/mime.pl
+share/Yap/minisat.pl
+share/Yap/nb.yap
+share/Yap/nb_set.pl
+share/Yap/occurs.yap
+share/Yap/odbc.pl
+share/Yap/operators.pl
+share/Yap/option.pl
+share/Yap/ordsets.yap
+share/Yap/pairs.pl
+share/Yap/pfl.yap
+share/Yap/pillow.pl
+share/Yap/pl/arith.yap
+share/Yap/pl/arrays.yap
+share/Yap/pl/attributes.yap
+share/Yap/pl/boot.yap
+share/Yap/pl/callcount.yap
+share/Yap/pl/checker.yap
+share/Yap/pl/chtypes.yap
+share/Yap/pl/consult.yap
+share/Yap/pl/control.yap
+share/Yap/pl/corout.yap
+share/Yap/pl/dbload.yap
+share/Yap/pl/debug.yap
+share/Yap/pl/depth_bound.yap
+share/Yap/pl/dialect.yap
+share/Yap/pl/directives.yap
+share/Yap/pl/eam.yap
+share/Yap/pl/errors.yap
+share/Yap/pl/eval.yap
+share/Yap/pl/flags.yap
+share/Yap/pl/grammar.yap
+share/Yap/pl/ground.yap
+share/Yap/pl/hacks.yap
+share/Yap/pl/history.pl
+share/Yap/pl/init.yap
+share/Yap/pl/listing.yap
+share/Yap/pl/lists.yap
+share/Yap/pl/load_foreign.yap
+share/Yap/pl/messages.yap
+share/Yap/pl/modules.yap
+share/Yap/pl/preds.yap
+share/Yap/pl/profile.yap
+share/Yap/pl/protect.yap
+share/Yap/pl/qly.yap
+share/Yap/pl/save.yap
+share/Yap/pl/setof.yap
+share/Yap/pl/signals.yap
+share/Yap/pl/sort.yap
+share/Yap/pl/statistics.yap
+share/Yap/pl/strict_iso.yap
+share/Yap/pl/swi.yap
+share/Yap/pl/tabling.yap
+share/Yap/pl/threads.yap
+share/Yap/pl/udi.yap
+share/Yap/pl/utils.yap
+share/Yap/pl/yapor.yap
+share/Yap/pl/yio.yap
+share/Yap/pldoc.pl
+share/Yap/pldoc/README
+share/Yap/pldoc/doc_access.pl
+share/Yap/pldoc/doc_colour.pl
+share/Yap/pldoc/doc_html.pl
+share/Yap/pldoc/doc_htmlsrc.pl
+share/Yap/pldoc/doc_index.pl
+share/Yap/pldoc/doc_library.pl
+share/Yap/pldoc/doc_man.pl
+share/Yap/pldoc/doc_modes.pl
+share/Yap/pldoc/doc_pack.pl
+share/Yap/pldoc/doc_process.pl
+share/Yap/pldoc/doc_register.pl
+share/Yap/pldoc/doc_search.pl
+share/Yap/pldoc/doc_util.pl
+share/Yap/pldoc/doc_wiki.pl
+share/Yap/pldoc/edit.gif
+share/Yap/pldoc/favicon.ico
+share/Yap/pldoc/h1-bg.png
+share/Yap/pldoc/h2-bg.png
+share/Yap/pldoc/hooks.pl
+share/Yap/pldoc/multi-bg.png
+share/Yap/pldoc/pldoc.css
+share/Yap/pldoc/pldoc.js
+share/Yap/pldoc/pldoc.sty
+share/Yap/pldoc/pllisting.css
+share/Yap/pldoc/priv-bg.png
+share/Yap/pldoc/private.png
+share/Yap/pldoc/pub-bg.png
+share/Yap/pldoc/public.png
+share/Yap/pldoc/reload.gif
+share/Yap/pldoc/source.png
+share/Yap/pldoc/up.gif
+share/Yap/plunit.pl
+share/Yap/prandom.yap
+share/Yap/predicate_options.pl
+share/Yap/predopts.pl
+share/Yap/prism.yap
+share/Yap/prism/bp/eval.pl
+share/Yap/prism/core/error.pl
+share/Yap/prism/core/format.pl
+share/Yap/prism/core/message.pl
+share/Yap/prism/core/random.pl
+share/Yap/prism/mp/mp_learn.pl
+share/Yap/prism/mp/mp_main.pl
+share/Yap/prism/trans/bpif.pl
+share/Yap/prism/trans/dump.pl
+share/Yap/prism/trans/trans.pl
+share/Yap/prism/trans/verify.pl
+share/Yap/prism/up/batch.pl
+share/Yap/prism/up/bigarray.pl
+share/Yap/prism/up/dist.pl
+share/Yap/prism/up/dynamic.pl
+share/Yap/prism/up/expl.pl
+share/Yap/prism/up/flags.pl
+share/Yap/prism/up/hash.pl
+share/Yap/prism/up/hindsight.pl
+share/Yap/prism/up/learn.pl
+share/Yap/prism/up/list.pl
+share/Yap/prism/up/main.pl
+share/Yap/prism/up/prob.pl
+share/Yap/prism/up/sample.pl
+share/Yap/prism/up/switch.pl
+share/Yap/prism/up/util.pl
+share/Yap/prism/up/viterbi.pl
+share/Yap/problog.yap
+share/Yap/problog/ad_converter.yap
+share/Yap/problog/bdd.yap
+share/Yap/problog/completion.yap
+share/Yap/problog/discrete.yap
+share/Yap/problog/extlists.yap
+share/Yap/problog/flags.yap
+share/Yap/problog/gflags.yap
+share/Yap/problog/grounder.yap
+share/Yap/problog/hash_table.yap
+share/Yap/problog/intervals.yap
+share/Yap/problog/logger.yap
+share/Yap/problog/mc_DNF_sampling.yap
+share/Yap/problog/nestedtries.yap
+share/Yap/problog/os.yap
+share/Yap/problog/print.yap
+share/Yap/problog/print_learning.yap
+share/Yap/problog/ptree.yap
+share/Yap/problog/sampling.yap
+share/Yap/problog/tabling.yap
+share/Yap/problog/termhandling.yap
+share/Yap/problog/timer.yap
+share/Yap/problog/utils.yap
+share/Yap/problog/utils_lbdd.yap
+share/Yap/problog/utils_learning.yap
+share/Yap/problog/variable_elimination.yap
+share/Yap/problog/variables.yap
+share/Yap/problog/version_control.yap
+share/Yap/problog_lbdd.yap
+share/Yap/problog_learning.yap
+share/Yap/problog_learning_lbdd.yap
+share/Yap/problog_lfi.yap
+share/Yap/process.pl
+share/Yap/prolog_clause.pl
+share/Yap/prolog_colour.pl
+share/Yap/prolog_server.pl
+share/Yap/prolog_source.pl
+share/Yap/prolog_xref.pl
+share/Yap/pwp.pl
+share/Yap/queues.yap
+share/Yap/quintus.pl
+share/Yap/r_session.yap
+share/Yap/random.yap
+share/Yap/range.yap
+share/Yap/rbtrees.yap
+share/Yap/rdf.pl
+share/Yap/rdf_ntriples.pl
+share/Yap/rdf_parser.pl
+share/Yap/rdf_triple.pl
+share/Yap/rdf_write.pl
+share/Yap/readutil.pl
+share/Yap/record.pl
+share/Yap/regexp.yap
+share/Yap/rewrite.pl
+share/Yap/rltree.yap
+share/Yap/semweb/README
+share/Yap/semweb/dc.rdfs
+share/Yap/semweb/eor.rdfs
+share/Yap/semweb/owl.owl
+share/Yap/semweb/rdf_cache.pl
+share/Yap/semweb/rdf_compare.pl
+share/Yap/semweb/rdf_db.pl
+share/Yap/semweb/rdf_edit.pl
+share/Yap/semweb/rdf_http_plugin.pl
+share/Yap/semweb/rdf_library.pl
+share/Yap/semweb/rdf_library.ttl
+share/Yap/semweb/rdf_litindex.pl
+share/Yap/semweb/rdf_persistency.pl
+share/Yap/semweb/rdf_portray.pl
+share/Yap/semweb/rdf_turtle.pl
+share/Yap/semweb/rdf_turtle_write.pl
+share/Yap/semweb/rdf_zlib_plugin.pl
+share/Yap/semweb/rdfs.pl
+share/Yap/semweb/rdfs.rdfs
+share/Yap/semweb/sparql_client.pl
+share/Yap/semweb/turtle_base.pl
+share/Yap/settings.pl
+share/Yap/sgml.pl
+share/Yap/sgml_write.pl
+share/Yap/sha.pl
+share/Yap/shlib.pl
+share/Yap/socket.pl
+share/Yap/sockets.yap
+share/Yap/splay.yap
+share/Yap/streaminfo.pl
+share/Yap/stringutils.yap
+share/Yap/system.yap
+share/Yap/terms.yap
+share/Yap/test_cover.pl
+share/Yap/test_wizard.pl
+share/Yap/thread_pool.pl
+share/Yap/time.pl
+share/Yap/timeout.yap
+share/Yap/trees.yap
+share/Yap/tries.yap
+share/Yap/udp_broadcast.pl
+share/Yap/ugraphs.yap
+share/Yap/uid.pl
+share/Yap/undgraphs.yap
+share/Yap/unix.pl
+share/Yap/uri.pl
+share/Yap/url.pl
+share/Yap/utf8.pl
+share/Yap/varnumbers.yap
+share/Yap/wdgraphs.yap
+share/Yap/wgraphs.yap
+share/Yap/win_menu.pl
+share/Yap/wundgraphs.yap
+share/Yap/www_browser.pl
+share/Yap/xml.pl
+share/Yap/xml/xml.iso.pl
+share/Yap/xml/xml_acquisition.pl
+share/Yap/xml/xml_diagnosis.pl
+share/Yap/xml/xml_driver.pl
+share/Yap/xml/xml_generation.pl
+share/Yap/xml/xml_pp.pl
+share/Yap/xml/xml_utilities.pl
+share/Yap/xpath.pl
+share/Yap/xsdp_types.pl
+share/Yap/ypp.yap
+share/Yap/zlib.pl
+share/doc/Yap/Artistic
+share/doc/Yap/COPYING
+share/doc/Yap/README
+share/doc/Yap/packages/examples/CLPBN/HMMer/Artemia.fa
+share/doc/Yap/packages/examples/CLPBN/HMMer/fasta.yap
+share/doc/Yap/packages/examples/CLPBN/HMMer/globin.hmm
+share/doc/Yap/packages/examples/CLPBN/HMMer/globin.yap
+share/doc/Yap/packages/examples/CLPBN/HMMer/plan7.yap
+share/doc/Yap/packages/examples/CLPBN/HMMer/scan.yap
+share/doc/Yap/packages/examples/CLPBN/HMMer/score.yap
+share/doc/Yap/packages/examples/CLPBN/School/README
+share/doc/Yap/packages/examples/CLPBN/School/evidence_128.yap
+share/doc/Yap/packages/examples/CLPBN/School/parschema.pfl
+share/doc/Yap/packages/examples/CLPBN/School/school_128.yap
+share/doc/Yap/packages/examples/CLPBN/School/school_32.yap
+share/doc/Yap/packages/examples/CLPBN/School/school_64.yap
+share/doc/Yap/packages/examples/CLPBN/School/tables.yap
+share/doc/Yap/packages/examples/CLPBN/burglary-alarm.fg
+share/doc/Yap/packages/examples/CLPBN/burglary-alarm.pfl
+share/doc/Yap/packages/examples/CLPBN/burglary-alarm.uai
+share/doc/Yap/packages/examples/CLPBN/city.pfl
+share/doc/Yap/packages/examples/CLPBN/comp_workshops.pfl
+share/doc/Yap/packages/examples/CLPBN/learning/debug_school.yap
+share/doc/Yap/packages/examples/CLPBN/learning/prof_params.pfl
+share/doc/Yap/packages/examples/CLPBN/learning/school_params.yap
+share/doc/Yap/packages/examples/CLPBN/learning/sprinkler_params.yap
+share/doc/Yap/packages/examples/CLPBN/learning/train.yap
+share/doc/Yap/packages/examples/CLPBN/social_network1.pfl
+share/doc/Yap/packages/examples/CLPBN/social_network2.pfl
+share/doc/Yap/packages/examples/CLPBN/sprinkler.pfl
+share/doc/Yap/packages/examples/CLPBN/workshop_attrs.pfl
+share/doc/Yap/packages/examples/R/r_demo.pl
+share/doc/Yap/packages/examples/chr/bool.chr
+share/doc/Yap/packages/examples/chr/chrdif.chr
+share/doc/Yap/packages/examples/chr/chrfreeze.chr
+share/doc/Yap/packages/examples/chr/family.chr
+share/doc/Yap/packages/examples/chr/fib.chr
+share/doc/Yap/packages/examples/chr/fibonacci.chr
+share/doc/Yap/packages/examples/chr/gcd.chr
+share/doc/Yap/packages/examples/chr/leq.chr
+share/doc/Yap/packages/examples/chr/listdom.chr
+share/doc/Yap/packages/examples/chr/primes.chr
+share/doc/Yap/packages/examples/http/calc.pl
+share/doc/Yap/packages/examples/http/demo_body.pl
+share/doc/Yap/packages/examples/http/demo_client.pl
+share/doc/Yap/packages/examples/http/demo_files.pl
+share/doc/Yap/packages/examples/http/demo_inetd
+share/doc/Yap/packages/examples/http/demo_openid.pl
+share/doc/Yap/packages/examples/http/demo_pwp.pl
+share/doc/Yap/packages/examples/http/demo_threads.pl
+share/doc/Yap/packages/examples/http/demo_xpce.pl
+share/doc/Yap/packages/examples/http/pwp/context.pwp
+share/doc/Yap/packages/examples/http/pwp/index.pwp
+share/doc/Yap/packages/examples/http/pwp/pwp1.pwp
+share/doc/Yap/packages/examples/http/pwp/pwp2.pwp
+share/doc/Yap/packages/examples/http/pwp/pwp3.pwp
+share/doc/Yap/packages/examples/http/pwp/pwp4.pwp
+share/doc/Yap/packages/examples/http/pwp/pwp5.pwp
+share/doc/Yap/packages/examples/http/pwp/pwp6.pwp
+share/doc/Yap/packages/examples/http/pwp/pwp7.pwp
+share/doc/Yap/packages/examples/http/pwp/pwp8.pwp
+share/doc/Yap/packages/examples/http/pwp/pwpdb.pl
+share/doc/Yap/packages/examples/meld/graph0.meld
+share/doc/Yap/packages/examples/meld/graph1.meld
+share/doc/Yap/packages/examples/meld/graph2.meld
+share/doc/Yap/packages/examples/meld/graph3.meld
+share/doc/Yap/packages/examples/meld/maxtemp.meld
+share/doc/Yap/packages/examples/meld/pagerank.meld
+share/doc/Yap/packages/examples/minisat/adder.pl
+share/doc/Yap/packages/examples/minisat/pearl_examples.pl
+share/doc/Yap/packages/examples/pldoc/README
+share/doc/Yap/packages/examples/pldoc/man_server.pl
+share/doc/Yap/packages/examples/plunit/read.pl
+share/doc/Yap/packages/examples/plunit/simple.pl
+share/doc/Yap/packages/examples/prism/README
+share/doc/Yap/packages/examples/prism/alarm.psm
+share/doc/Yap/packages/examples/prism/alarm.psm.out
+share/doc/Yap/packages/examples/prism/bloodABO.psm
+share/doc/Yap/packages/examples/prism/bloodAaBb.psm
+share/doc/Yap/packages/examples/prism/bloodtype.dat
+share/doc/Yap/packages/examples/prism/dcoin.psm
+share/doc/Yap/packages/examples/prism/direction.psm
+share/doc/Yap/packages/examples/prism/hmm.psm
+share/doc/Yap/packages/examples/prism/jtree/README
+share/doc/Yap/packages/examples/prism/jtree/asia.psm
+share/doc/Yap/packages/examples/prism/jtree/jasia.psm
+share/doc/Yap/packages/examples/prism/jtree/jasia_a.psm
+share/doc/Yap/packages/examples/prism/noisy_or/README
+share/doc/Yap/packages/examples/prism/noisy_or/alarm_nor_basic.psm
+share/doc/Yap/packages/examples/prism/noisy_or/alarm_nor_generic.psm
+share/doc/Yap/packages/examples/prism/noisy_or/noisy_or.psm
+share/doc/Yap/packages/examples/prism/pdcg.psm
+share/doc/Yap/packages/examples/prism/pdcg_c.psm
+share/doc/Yap/packages/examples/prism/phmm.dat
+share/doc/Yap/packages/examples/prism/phmm.psm
+share/doc/Yap/packages/examples/prism/plc.dat
+share/doc/Yap/packages/examples/prism/plc.psm
+share/doc/Yap/packages/examples/prism/plc.psm.out
+share/doc/Yap/packages/examples/prism/sbn.psm
+share/doc/Yap/packages/examples/prism/votes.psm
+share/doc/Yap/packages/examples/problog/aProbLog_examples.pl
+share/doc/Yap/packages/examples/problog/alarm.pl
+share/doc/Yap/packages/examples/problog/graph.pl
+share/doc/Yap/packages/examples/problog/graph_tabled.pl
+share/doc/Yap/packages/examples/problog/learn_graph.pl
+share/doc/Yap/packages/examples/problog/office.pl
+share/doc/Yap/packages/examples/problog/viralmarketing.pl
+share/doc/Yap/packages/examples/problog/viralmarketing_tabled.pl
+share/doc/Yap/packages/examples/xml/bib.xml
+share/doc/Yap/packages/examples/xml/books.xml
+share/doc/Yap/packages/examples/xml/misc.pl
+share/doc/Yap/packages/examples/xml/prices.xml
+share/doc/Yap/packages/examples/xml/q1.xml
+share/doc/Yap/packages/examples/xml/q10.xml
+share/doc/Yap/packages/examples/xml/q11.xml
+share/doc/Yap/packages/examples/xml/q12.xml
+share/doc/Yap/packages/examples/xml/q2.xml
+share/doc/Yap/packages/examples/xml/q3.xml
+share/doc/Yap/packages/examples/xml/q4.xml
+share/doc/Yap/packages/examples/xml/q5.xml
+share/doc/Yap/packages/examples/xml/q6.xml
+share/doc/Yap/packages/examples/xml/q7.xml
+share/doc/Yap/packages/examples/xml/q8.xml
+share/doc/Yap/packages/examples/xml/q9.xml
+share/doc/Yap/packages/examples/xml/reviews.xml
+share/doc/Yap/packages/examples/xml/xml_example.pl
+share/doc/Yap/packages/problog/LICENSE
diff --git a/yap/TODO b/yap/TODO
new file mode 100644
index 0000000000..4a0644fc1d
--- /dev/null
+++ b/yap/TODO
@@ -0,0 +1,17 @@
+===> Building for yap-6.3.4
+[5/188] Building C object CMakeFiles/libYap.dir/C/arith1.c.o
+FAILED: CMakeFiles/libYap.dir/C/arith1.c.o
+/scratch/lang/yap/work/.cwrapper/bin/gcc -DCOROUTINING=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H=1 -DRATIONAL_TREES=1 -DTABLING=1 -DTHREADED_CODE=1 -DUSE_MYDDAS=1 -DUSE_SYSTEM_MALLOC=1 -DUTF8PROC=1 -D_YAP_NOT_INSTALLED_=1 -DlibYap_EXPORTS -I/scratch/lang/yap/work/yap-6.3-YAP-6.3.4/cmake-pkgsrc-build -I/scratch/lang/yap/work/yap-6.3-YAP-6.3.4/H -I/scratch/lang/yap/work/yap-6.3-YAP-6.3.4/include -I/scratch/lang/yap/work/yap-6.3-YAP-6.3.4/os -I/scratch/lang/yap/work/yap-6.3-YAP-6.3.4/OPTYap -I/scratch/lang/yap/work/yap-6.3-YAP-6.3.4/utf8proc -I/scratch/lang/yap/work/yap-6.3-YAP-6.3.4/JIT/HPP -I/usr/pkg/include -O2 -g -fPIC -D_FORTIFY_SOURCE=2 -fstack-clash-protection -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -fPIC -MD -MT CMakeFiles/libYap.dir/C/arith1.c.o -MF CMakeFiles/libYap.dir/C/arith1.c.o.d -o CMakeFiles/libYap.dir/C/arith1.c.o -c /scratch/lang/yap/work/yap-6.3-YAP-6.3.4/C/arith1.c
+/scratch/lang/yap/work/yap-6.3-YAP-6.3.4/C/arith1.c:384:1: error: conflicting types for 'popcount'
+ 384 | popcount(Int inp USES_REGS) /* calculate the least significant bit for an integer */
+ | ^~~~~~~~
+In file included from /usr/include/string.h:98,
+ from /scratch/lang/yap/work/yap-6.3-YAP-6.3.4/H/TermExt.h:282,
+ from /scratch/lang/yap/work/yap-6.3-YAP-6.3.4/H/YapTags.h:366,
+ from /scratch/lang/yap/work/yap-6.3-YAP-6.3.4/H/Yap.h:442,
+ from /scratch/lang/yap/work/yap-6.3-YAP-6.3.4/C/arith1.c:228:
+/usr/include/strings.h:57:14: note: previous declaration of 'popcount' was here
+ 57 | unsigned int popcount(unsigned int) __constfunc;
+ | ^~~~~~~~
+[12/188] Building C object CMakeFiles/libYap.dir/C/absmi.c.o
+ninja: build stopped: subcommand failed.
diff --git a/yap/distinfo b/yap/distinfo
new file mode 100644
index 0000000000..dfcd63a5fa
--- /dev/null
+++ b/yap/distinfo
@@ -0,0 +1,11 @@
+$NetBSD: distinfo,v 1.26 2021/12/29 03:14:35 dholland Exp $
+
+BLAKE2s (YAP-6.3.4.tar.gz) = aadddd17e6f48cfc37a20009c3458591a0256380248d2ad8ad4cbb8860ee5a13
+SHA512 (YAP-6.3.4.tar.gz) = 67884b98bbc564f23f88cbb1462127a47f3d0602ac347d1c8b0857e5d8ebd9d0ca28770229a6beb52493c6c3256b6cdf8dad25ed2963c64102093f70c4c20a3a
+Size (YAP-6.3.4.tar.gz) = 11007893 bytes
+SHA1 (patch-H_absmi.h) = f930063ca281d7ab8df80e66b89cc38d810374c0
+SHA1 (patch-ad) = e3765c0d6729b4d531cdea59dc8e442055091d10
+SHA1 (patch-ae) = 2a2cb22ddfe9f4ef05eccbf942fbd16dcefbbaec
+SHA1 (patch-af) = a042950ee63fac0f5863c3caa3f7c07227c46b4b
+SHA1 (patch-ah) = 572e29729d97d5e9942a3d2c22e121d4e756d648
+SHA1 (patch-packages_myddas_odbc_CMakeLists.txt) = 52746052cbe9423db33c42699bf0e429d6f7796d
diff --git a/yap/patches/patch-H_absmi.h b/yap/patches/patch-H_absmi.h
new file mode 100644
index 0000000000..148fab6e6e
--- /dev/null
+++ b/yap/patches/patch-H_absmi.h
@@ -0,0 +1,17 @@
+$NetBSD: patch-H_absmi.h,v 1.1 2021/12/29 03:14:35 dholland Exp $
+
+Fix (by blunt hammer) build failure on hppa, alpha, mips, and ppc.
+(Would be better to fix the offending code. Maybe sometime.)
+
+--- H/absmi.h~ 2012-12-14 09:03:05.000000000 +0000
++++ H/absmi.h
+@@ -142,6 +142,9 @@ register struct yami* P1REG asm ("bp");
+
+ #endif /* __GNUC__ */
+
++/* The USE_PREFETCH code doesn't compile. Shut it off forcibly. */
++#undef USE_PREFETCH
++
+ #include "Yap.h"
+ #include "clause.h"
+ #include "eval.h"
diff --git a/yap/patches/patch-ad b/yap/patches/patch-ad
new file mode 100644
index 0000000000..0bd35e88a2
--- /dev/null
+++ b/yap/patches/patch-ad
@@ -0,0 +1,16 @@
+$NetBSD: patch-ad,v 1.1 2010/02/11 20:43:49 asau Exp $
+
+--- C/dlmalloc.c.orig 2008-01-24 03:11:59.000000000 +0300
++++ C/dlmalloc.c 2009-02-06 22:25:05.000000000 +0300
+@@ -2508,7 +2508,11 @@
+ ------------------------------ mallinfo ------------------------------
+ */
+
++#if __STD_C
++struct mallinfo mALLINFo(void)
++#else
+ struct mallinfo mALLINFo()
++#endif
+ {
+ mstate av = get_malloc_state();
+ struct mallinfo mi;
diff --git a/yap/patches/patch-ae b/yap/patches/patch-ae
new file mode 100644
index 0000000000..acbcfd56cf
--- /dev/null
+++ b/yap/patches/patch-ae
@@ -0,0 +1,16 @@
+$NetBSD: patch-ae,v 1.3 2015/12/29 23:34:57 dholland Exp $
+
+Don't use nonstandard headers.
+
+--- C/c_interface.c.orig 2013-01-19 20:37:25.000000000 +0100
++++ C/c_interface.c 2013-03-07 12:03:41.320513600 +0100
+@@ -366,9 +366,6 @@
+ #endif /* YAPOR */
+ #include "threads.h"
+ #include "cut_c.h"
+-#if HAVE_MALLOC_H
+-#include <malloc.h>
+-#endif
+
+ typedef enum {
+ FRG_FIRST_CALL = 0, /* Initial call */
diff --git a/yap/patches/patch-af b/yap/patches/patch-af
new file mode 100644
index 0000000000..f7c5223706
--- /dev/null
+++ b/yap/patches/patch-af
@@ -0,0 +1,30 @@
+$NetBSD: patch-af,v 1.3 2011/07/09 21:15:48 asau Exp $
+
+Don't use obsolete header file, contemporary operating systems
+(e.g. of BSD family) choose to break it.
+
+--- H/dlmalloc.h.orig 2011-06-11 19:38:36.000000000 +0400
++++ H/dlmalloc.h 2011-07-10 00:22:57.000000000 +0400
+@@ -493,14 +493,6 @@
+ HAVE_USR_INCLUDE_MALLOC_H.
+ */
+
+-#if HAVE_MALLOC_H && !defined(_WIN32) && !defined(__NetBSD_Version__)
+-#define HAVE_USR_INCLUDE_MALLOC_H 1
+-#endif
+-
+-#ifdef HAVE_USR_INCLUDE_MALLOC_H
+-#include <malloc.h>
+-#else
+-
+ /* SVID2/XPG mallinfo structure */
+
+ struct mallinfo {
+@@ -523,7 +515,6 @@
+ so setting them has no effect. But this malloc also supports other
+ options in mallopt described below.
+ */
+-#endif
+
+
+ /* ---------- description of public routines ------------ */
diff --git a/yap/patches/patch-ah b/yap/patches/patch-ah
new file mode 100644
index 0000000000..0cb42b7e80
--- /dev/null
+++ b/yap/patches/patch-ah
@@ -0,0 +1,15 @@
+$NetBSD: patch-ah,v 1.1 2010/02/11 20:43:49 asau Exp $
+
+--- library/system/sys.c.orig 2008-05-23 17:16:13.000000000 +0400
++++ library/system/sys.c 2009-04-20 13:00:04.000000000 +0400
+@@ -97,6 +97,10 @@
+ #if HAVE_TIME_H
+ #include <time.h>
+ #endif
++#if !HAVE_DAYLIGHT
++time_t _daylight_() { time_t t = time(NULL); return localtime(&t)->tm_gmtoff; }
++#define daylight _daylight_()
++#endif
+ #if HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+ #endif
diff --git a/yap/patches/patch-packages_myddas_odbc_CMakeLists.txt b/yap/patches/patch-packages_myddas_odbc_CMakeLists.txt
new file mode 100644
index 0000000000..0cba986d84
--- /dev/null
+++ b/yap/patches/patch-packages_myddas_odbc_CMakeLists.txt
@@ -0,0 +1,23 @@
+$NetBSD$
+
+Do not set properties for undefined targets.
+
+--- packages/myddas/odbc/CMakeLists.txt.orig 2016-01-08 20:54:04.000000000 +0000
++++ packages/myddas/odbc/CMakeLists.txt
+@@ -21,9 +21,6 @@ add_definitions (-DMYDDAS_ODBC=1)
+ add_library (Yapodbc SHARED ${YAPODBC_SOURCES})
+ target_link_libraries(Yapodbc libYap ${ODBC_LIBRARIES})
+ include_directories (${ODBC_INCLUDE_DIRECTORIES} ..)
+-else()
+- add_definitions (-DMYDDAS_ODBC=0)
+- endif (ODBC_FOUND)
+
+ set_target_properties (Yapodbc PROPERTIES
+ POSITION_INDEPENDENT_CODE ON
+@@ -36,3 +33,6 @@ set_target_properties (Yapodbc PROPERTIE
+ LIBRARY DESTINATION ${libdir}
+ )
+
++else()
++ add_definitions (-DMYDDAS_ODBC=0)
++ endif (ODBC_FOUND)
Home |
Main Index |
Thread Index |
Old Index