mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 05:00:33 +01:00
Compare commits
72 Commits
pixel_size
...
terminal_s
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8084fa8f29 | ||
|
|
edfb23be23 | ||
|
|
b48ba939de | ||
|
|
b1ad16d482 | ||
|
|
ceb54fbc6a | ||
|
|
9cbc3a2265 | ||
|
|
0ff099fb52 | ||
|
|
05a2e4b37b | ||
|
|
dcc5a4dd0b | ||
|
|
ba638f52e5 | ||
|
|
ffd904749e | ||
|
|
c037d3ea0a | ||
|
|
70f50ff362 | ||
|
|
a028b774bf | ||
|
|
3a53c2d53b | ||
|
|
7ba27ec9d9 | ||
|
|
d74dcdea6c | ||
|
|
9cb86a7e54 | ||
|
|
826991e6d6 | ||
|
|
53157afd12 | ||
|
|
a165a3cb28 | ||
|
|
1d20018a26 | ||
|
|
c02238cab8 | ||
|
|
35a40f1aba | ||
|
|
6e55a630b4 | ||
|
|
9a17c8f72c | ||
|
|
04c17ac5ac | ||
|
|
686bd8dff1 | ||
|
|
bd635b8e43 | ||
|
|
0bd0476cb1 | ||
|
|
d562ca8a39 | ||
|
|
a31bd6eb0d | ||
|
|
d114b097bf | ||
|
|
993eb58d46 | ||
|
|
7aa048740b | ||
|
|
306f4c7b54 | ||
|
|
4334c8ec8c | ||
|
|
7aabdd1781 | ||
|
|
bb48c4607a | ||
|
|
0600b85e8a | ||
|
|
688d9fe4c1 | ||
|
|
683095173e | ||
|
|
0d70ed53a9 | ||
|
|
7d33b48b3a | ||
|
|
d7e2ef283a | ||
|
|
782eaff4d2 | ||
|
|
9bd2ea22f3 | ||
|
|
ee4ce5db4e | ||
|
|
b90d06aa5c | ||
|
|
ba47a11282 | ||
|
|
4041073c96 | ||
|
|
8830204c0c | ||
|
|
d932f8ea01 | ||
|
|
8cfa852077 | ||
|
|
1a75eb19d0 | ||
|
|
ae9faa2192 | ||
|
|
e087270b6d | ||
|
|
b8263b03bc | ||
|
|
09694ddec9 | ||
|
|
1572fafabe | ||
|
|
5709f469fc | ||
|
|
2ea9f8a2c6 | ||
|
|
a2e5989f3b | ||
|
|
02b385e0b7 | ||
|
|
e2454faa36 | ||
|
|
57e80e7b5e | ||
|
|
6505330b5f | ||
|
|
cd914c8726 | ||
|
|
beee4a06c8 | ||
|
|
291e163ee2 | ||
|
|
6e68e6047a | ||
|
|
ce8bd7fae3 |
2
.github/workflows/publish-edge-snap.yml
vendored
2
.github/workflows/publish-edge-snap.yml
vendored
@@ -12,8 +12,6 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: snapcore/action-build@v1
|
||||
id: build
|
||||
with:
|
||||
snapcraft-args: --enable-experimental-extensions
|
||||
- uses: snapcore/action-publish@v1
|
||||
with:
|
||||
store_login: ${{ secrets.STORE_LOGIN }}
|
||||
|
||||
@@ -13,6 +13,8 @@
|
||||
"--socket=fallback-x11",
|
||||
"--device=dri",
|
||||
"--share=ipc",
|
||||
"--share=network",
|
||||
"--socket=cups",
|
||||
"--filesystem=host"
|
||||
],
|
||||
"modules": [
|
||||
|
||||
@@ -1,17 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
# check if _only_ the correct framework snap is connected
|
||||
framework_name=$(grep "name:" $SNAP/kf5/meta/snap.yaml | cut -d" " -f2)
|
||||
if [ "$framework_name" != "kde-frameworks-5-qt-5-15-3-core20" ]; then
|
||||
downloads_dir=$(xdg-user-dir DOWNLOAD)
|
||||
test ! -d "$downloads_dir" && mkdir -p "$downloads_dir"
|
||||
instructions_file="snap.qelectrotech.update-instructions.html"
|
||||
target="$downloads_dir/$instructions_file"
|
||||
cp "$SNAP/update-instructions/$instructions_file" "$target"
|
||||
xdg-open "$target"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# migrate .qet directory from SNAP_USER_DATA to SNAP_USER_COMMON
|
||||
from="$SNAP_USER_DATA/.qet"
|
||||
to="$SNAP_USER_COMMON/.qet"
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -56,12 +56,6 @@ parts:
|
||||
organize:
|
||||
'*': bin/
|
||||
|
||||
update-instructions:
|
||||
plugin: dump
|
||||
source: build-aux/snap/local/update-instructions
|
||||
organize:
|
||||
'*': update-instructions/
|
||||
|
||||
qet-tb-generator:
|
||||
plugin: python
|
||||
source: https://github.com/raulroda/qet_tb_generator-plugin.git
|
||||
@@ -82,7 +76,7 @@ parts:
|
||||
- rsync
|
||||
override-build: |
|
||||
rsync -a --ignore-existing /snap/kde-frameworks-5-qt-5-15-3-core20-sdk/current/ /
|
||||
|
||||
|
||||
dxf-to-qet:
|
||||
after: [kde-sdk-setup]
|
||||
plugin: nil
|
||||
@@ -101,16 +95,14 @@ parts:
|
||||
build-packages:
|
||||
- git
|
||||
- libsqlite3-dev
|
||||
override-pull: |
|
||||
snapcraftctl pull
|
||||
override-build: |
|
||||
displayed_version=$(grep "displayedVersion" sources/qet.h | tr -d "\";" | cut -d" " -f5)
|
||||
snap_version="${displayed_version}~$(git rev-parse --short=8 HEAD)"
|
||||
snap_version="${displayed_version}-g$(git rev-parse --short=8 HEAD)"
|
||||
modified_displayed_version="${snap_version}.snap"
|
||||
sed -i -E "s|const QString displayedVersion =.*|const QString displayedVersion =\"$modified_displayed_version\";|" sources/qet.h
|
||||
snapcraftctl set-version "$snap_version"
|
||||
override-build: |
|
||||
qmake "$SNAPCRAFT_PART_SRC/qelectrotech.pro"
|
||||
make -j$(nproc)
|
||||
make -j${SNAPCRAFT_PARALLEL_BUILD_COUNT}
|
||||
make install INSTALL_ROOT="$SNAPCRAFT_PART_INSTALL"
|
||||
override-stage: |
|
||||
snapcraftctl stage
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user