mirror of https://github.com/kiwix/kiwix-tools.git
This script download and compile all depedencies and subproject for kiwix-tools. Ideally it should be as simple as run the script with the install dir as argument. This script compile a dynamic or a static build of kiwix-tools (kiwix-serve) This as been tested on Fedora.pull/9/head
parent
8871e6c2e3
commit
ab70e1375e
@ -0,0 +1,6 @@
|
|||||||
|
34a35,39
|
||||||
|
> #ifdef _WIN32
|
||||||
|
> #include <Windows.h>
|
||||||
|
> #else
|
||||||
|
> #include <unistd.h>
|
||||||
|
> #endif
|
||||||
@ -0,0 +1,53 @@
|
|||||||
|
Seulement dans ctpp2-2.8.3.patched/: BitIndexTest
|
||||||
|
Seulement dans ctpp2-2.8.3.patched/: CDT2JSONBenchmark
|
||||||
|
Seulement dans ctpp2-2.8.3.patched/: CDTPerfTest
|
||||||
|
Seulement dans ctpp2-2.8.3.patched/: CDTTest
|
||||||
|
Seulement dans ctpp2-2.8.3.patched/: CMakeCache.txt
|
||||||
|
Seulement dans ctpp2-2.8.3.patched/: CMakeFiles
|
||||||
|
Seulement dans ctpp2-2.8.3.patched/: cmake_install.cmake
|
||||||
|
Seulement dans ctpp2-2.8.3.patched/: cmd_compile_ctpp2.log
|
||||||
|
Seulement dans ctpp2-2.8.3.patched/: cmd_configure_ctpp2.log
|
||||||
|
Seulement dans ctpp2-2.8.3.patched/: cmd_install_ctpp2.log
|
||||||
|
Seulement dans ctpp2-2.8.3.patched/: cmd_patch_ctpp2.log
|
||||||
|
Seulement dans ctpp2-2.8.3.patched/: .compile_ok
|
||||||
|
Seulement dans ctpp2-2.8.3.patched/: .configure_ok
|
||||||
|
Seulement dans ctpp2-2.8.3.patched/: CTestTestfile.cmake
|
||||||
|
Seulement dans ctpp2-2.8.3.patched/: ctpp2c
|
||||||
|
Seulement dans ctpp2-2.8.3.patched/: ctpp2-config
|
||||||
|
Seulement dans ctpp2-2.8.3.patched/: CTPP2DTOATest
|
||||||
|
Seulement dans ctpp2-2.8.3.patched/: ctpp2i
|
||||||
|
Seulement dans ctpp2-2.8.3.patched/: ctpp2json
|
||||||
|
Seulement dans ctpp2-2.8.3.patched/: ctpp2vm
|
||||||
|
Seulement dans ctpp2-2.8.3.patched/: CTPP2VMTest
|
||||||
|
Seulement dans ctpp2-2.8.3.patched/: .extract_ok
|
||||||
|
Seulement dans ctpp2-2.8.3.patched/: HashTest
|
||||||
|
diff -ru ctpp2-2.8.3/include/CTPP2SourceLoader.hpp ctpp2-2.8.3.patched/include/CTPP2SourceLoader.hpp
|
||||||
|
--- ctpp2-2.8.3/include/CTPP2SourceLoader.hpp 2012-08-02 09:22:44.000000000 +0200
|
||||||
|
+++ ctpp2-2.8.3.patched/include/CTPP2SourceLoader.hpp 2016-12-09 14:26:49.965635367 +0100
|
||||||
|
@@ -32,6 +32,11 @@
|
||||||
|
#ifndef _CTPP2_SOURCE_LOADER_HPP__
|
||||||
|
#define _CTPP2_SOURCE_LOADER_HPP__ 1
|
||||||
|
|
||||||
|
+#ifdef _WIN32
|
||||||
|
+#include <Windows.h>
|
||||||
|
+#else
|
||||||
|
+ #include <unistd.h>
|
||||||
|
+#endif
|
||||||
|
#include "CTPP2Types.h"
|
||||||
|
|
||||||
|
/**
|
||||||
|
Seulement dans ctpp2-2.8.3.patched/include: CTPP2SysHeaders.h
|
||||||
|
Seulement dans ctpp2-2.8.3.patched/: install_manifest.txt
|
||||||
|
Seulement dans ctpp2-2.8.3.patched/: .install_ok
|
||||||
|
Seulement dans ctpp2-2.8.3.patched/: libctpp2.so
|
||||||
|
Seulement dans ctpp2-2.8.3.patched/: libctpp2.so.2
|
||||||
|
Seulement dans ctpp2-2.8.3.patched/: libctpp2.so.2.8.3
|
||||||
|
Seulement dans ctpp2-2.8.3.patched/: libctpp2-st.a
|
||||||
|
Seulement dans ctpp2-2.8.3.patched/: Makefile
|
||||||
|
Seulement dans ctpp2-2.8.3.patched/: .patch_ok
|
||||||
|
Seulement dans ctpp2-2.8.3.patched/: simple-compiler
|
||||||
|
Seulement dans ctpp2-2.8.3.patched/: simple-vm
|
||||||
|
Seulement dans ctpp2-2.8.3.patched/: StaticTextTest
|
||||||
|
Seulement dans ctpp2-2.8.3.patched/: template_language.html
|
||||||
|
Seulement dans ctpp2-2.8.3.patched/: VMArgStackTest
|
||||||
|
Seulement dans ctpp2-2.8.3.patched/: VMCodeStackTest
|
||||||
@ -0,0 +1,22 @@
|
|||||||
|
Les sous-répertoires pugixml-1.2.orig/contrib et pugixml-1.2/contrib sont identiques
|
||||||
|
Les sous-répertoires pugixml-1.2.orig/docs et pugixml-1.2/docs sont identiques
|
||||||
|
diff -Nu pugixml-1.2.orig/meson.build pugixml-1.2/meson.build
|
||||||
|
--- pugixml-1.2.orig/meson.build 1970-01-01 01:00:00.000000000 +0100
|
||||||
|
+++ pugixml-1.2/meson.build 2016-12-09 16:40:24.749898766 +0100
|
||||||
|
@@ -0,0 +1,13 @@
|
||||||
|
+project('pugixml', 'cpp')
|
||||||
|
+
|
||||||
|
+install_headers('src/pugixml.hpp')
|
||||||
|
+pugixml = library('pugixml',
|
||||||
|
+ ['src/pugixml.cpp'],
|
||||||
|
+ install:true)
|
||||||
|
+
|
||||||
|
+pkg_mod = import('pkgconfig')
|
||||||
|
+pkg_mod.generate(libraries : pugixml,
|
||||||
|
+ version : '1.2',
|
||||||
|
+ name : 'libpugixml',
|
||||||
|
+ description : 'pugixml',
|
||||||
|
+ filebase : 'pugixml')
|
||||||
|
\ Pas de fin de ligne à la fin du fichier
|
||||||
|
Les sous-répertoires pugixml-1.2.orig/scripts et pugixml-1.2/scripts sont identiques
|
||||||
|
Les sous-répertoires pugixml-1.2.orig/src et pugixml-1.2/src sont identiques
|
||||||
@ -0,0 +1,10 @@
|
|||||||
|
diff -ru xapian-core-1.4.0/pkgconfig/xapian-core.pc.in xapian-core-1.4.0_patched/pkgconfig/xapian-core.pc.in
|
||||||
|
--- xapian-core-1.4.0/pkgconfig/xapian-core.pc.in 2016-06-25 17:36:49.000000000 +0200
|
||||||
|
+++ xapian-core-1.4.0_patched/pkgconfig/xapian-core.pc.in 2016-12-19 20:45:25.716329832 +0100
|
||||||
|
@@ -11,4 +11,5 @@
|
||||||
|
URL: https://xapian.org/
|
||||||
|
Version: @VERSION@
|
||||||
|
Cflags: -I${includedir} @abi_affecting_cxxflags@
|
||||||
|
-Libs: @ldflags@ -L${libdir} -lxapian@LIBRARY_VERSION_SUFFIX@
|
||||||
|
+Libs: @ldflags@ -L${libdir} -lxapian@LIBRARY_VERSION_SUFFIX@ -lrt
|
||||||
|
+Requires: uuid
|
||||||
Loading…
Reference in new issue