Add CodeLite

origin/dev
Marko Semet 2018-08-26 17:56:22 +02:00
commit f90b7a41d5
3 changed files with 77 additions and 0 deletions

View File

@ -0,0 +1,32 @@
From 5333be5988c3789e7011598995f4df90d50d84d0 Mon Sep 17 00:00:00 2001
From: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
Date: Sun, 4 Jun 2017 11:54:55 +0300
Subject: config: Bugfix: Don't skip unseen opcodes
libssh fails to read the configuration from a config file due to a
wrong check in 'ssh_config_parse_line' procedure in 'config.c'; it's
effectively skipping every opcode (and therefore every option) from
the file. The change fixes that behaviour.
Signed-off-by: Artyom V. Poptsov <poptsov.artyom@gmail.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
---
src/config.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/config.c b/src/config.c
index 6478fc5f..519926e7 100644
--- a/src/config.c
+++ b/src/config.c
@@ -219,7 +219,7 @@ static int ssh_config_parse_line(ssh_session session, const char *line,
opcode = ssh_config_get_opcode(keyword);
if (*parsing == 1 && opcode != SOC_HOST) {
- if (seen[opcode] == 0) {
+ if (seen[opcode] != 0) {
return 0;
}
seen[opcode] = 1;
--
cgit v1.1

View File

@ -0,0 +1 @@
{"name": "org.codelite.CodeLite", "branches": ["12.0", "master"]}

View File

@ -0,0 +1,44 @@
id: org.codelite.CodeLite
runtime: org.gnome.Platform
runtime-version: 3.28
sdk: org.gnome.Sdk
branch: 12.0
modules:
- name: wx
sources:
- type: archive
url: https://github.com/wxWidgets/wxWidgets/archive/v3.0.4.tar.gz
sha256: e176e339d4475d7f1e24b1e479959e58fac64516189d4ba2df3f2fb9e4719c84
- name: libssh
buildsystem: cmake-ninja
builddir: true
sources:
- type: archive
url: https://www.libssh.org/files/0.7/libssh-0.7.5.tar.xz
sha256: 54e86dd5dc20e5367e58f3caab337ce37675f863f80df85b6b1614966a337095
- type: patch
path: libssh.patch
- name: codelite
buildsystem: cmake-ninja
config-opts:
- -DCMAKE_INSTALL_PREFIX=/app
- -DCL_PREFIX=/app
sources:
- type: archive
url: https://github.com/eranif/codelite/archive/12.0.tar.gz
sha256: e8912e3e0aea8890b5c65631ad94d58ddc587812c7ac6ec398e37aaa4b7005b4
- type: file
url: http://repos.codelite.org/wxCrafterLibs/wxgui.zip
sha256: 498c39ad3cc46eab8232d5fa37627c27a27f843cbe9521f05f29b19def436e12
- name: fix-libs
buildsystem: simple
build-commands:
- cp -v /usr/lib/libclang* /app/lib
command: codelite
finish-args:
- --filesystem=host
- --share=ipc
- --share=network
- --socket=x11