user/onlyoffice-document-server: new aport #264
2 changed files with 25 additions and 0 deletions
|
@ -55,6 +55,7 @@ source="
|
|||
server_fix-makefile.patch
|
||||
server_restore-mobile-editing.patch
|
||||
web-apps_restore-mobile-editing.patch
|
||||
build_tools-untarget-pkg.patch
|
||||
"
|
||||
builddir="$srcdir"/$pkgname-v$pkgver
|
||||
|
||||
|
@ -111,4 +112,5 @@ e4601334830932515e4ba165eeeab935059d80523fcb4888da0b88b5fe6b3a2feff1f9c60166f4db
|
|||
dce838e901720cf18ccc8035e02b9f8fea0f38a448124321663612027058467de152bfc9c257a3bd14a0ab33a00962f604e1d6c5a7040d7f1b117d260e286839 server_fix-makefile.patch
|
||||
7c70d7392040ed415da0cdce91c71926624c20a36f850ba9affaff3353368830cc172c243cebc608d72051627c7e44de232818c93453b8c7e58314f05e450b2d server_restore-mobile-editing.patch
|
||||
5d5758b59c2e8e2b6a31d99efb7e3ad42c60ab035af3641be5f3d84f02a1ea5abf51a380cfc55e403569ebdf3620a9c67c81b8bd0ba4632fc0b5f0506e9cf57e web-apps_restore-mobile-editing.patch
|
||||
37fd78d4baddd4331c9824dccbcada44a36c0abbada1b325d682b8f2b4e233a297ba8db49909833899674ecb2f2638857d9ac93ac500d35fef8f20f3a4a69e03 build_tools-untarget-pkg.patch
|
||||
"
|
||||
|
|
|
@ -0,0 +1,23 @@
|
|||
diff --git a/build_tools/scripts/build_server.py.orig b/build_tools/scripts/build_server.py
|
||||
index 15a8ff4..37e7378 100644
|
||||
--- a/build_tools/scripts/build_server.py.orig
|
||||
+++ b/build_tools/scripts/build_server.py
|
||||
@@ -51,14 +51,14 @@ def make():
|
||||
if ("windows" == base.host_platform()):
|
||||
pkg_target += "-win"
|
||||
|
||||
- base.cmd_in_dir(server_build_dir + "/DocService", "pkg", [".", "-t", pkg_target, "--options", "max_old_space_size=4096", "-o", "docservice"])
|
||||
- base.cmd_in_dir(server_build_dir + "/FileConverter", "pkg", [".", "-t", pkg_target, "-o", "converter"])
|
||||
- base.cmd_in_dir(server_build_dir + "/Metrics", "pkg", [".", "-t", pkg_target, "-o", "metrics"])
|
||||
+ base.cmd_in_dir(server_build_dir + "/DocService", "pkg", [".", "--options", "max_old_space_size=4096", "-o", "docservice"])
|
||||
+ base.cmd_in_dir(server_build_dir + "/FileConverter", "pkg", [".", "-o", "converter"])
|
||||
+ base.cmd_in_dir(server_build_dir + "/Metrics", "pkg", [".", "-o", "metrics"])
|
||||
|
||||
example_dir = base.get_script_dir() + "/../../document-server-integration/web/documentserver-example/nodejs"
|
||||
base.delete_dir(example_dir + "/node_modules")
|
||||
base.cmd_in_dir(example_dir, "npm", ["install"])
|
||||
- base.cmd_in_dir(example_dir, "pkg", [".", "-t", pkg_target, "-o", "example"])
|
||||
+ base.cmd_in_dir(example_dir, "pkg", [".", "-o", "example"])
|
||||
|
||||
def build_server_develop():
|
||||
server_dir = base.get_script_dir() + "/../../server"
|
Loading…
Reference in a new issue