Skip to content

Instantly share code, notes, and snippets.

View Sakura286's full-sized avatar
🌠
Bullshiting

Sakura286 Sakura286

🌠
Bullshiting
View GitHub Profile
#!/bin/bash
set -xe
sudo mkdir -p /etc/apt/keyrings
sudo mkdir -p /etc/apt/sources.list.d
curl -fsSL https://gist.githubusercontent.com/Sakura286/0592673ec3248241c80e0ed515c2cead/raw/a61918098b13c890ddd738650c1956cd27bfde04/public.key | sudo gpg --dearmor -o /etc/apt/keyrings/yahboom-car-revyos.gpg
cat << EOF | sudo tee /etc/apt/sources.list.d/10-yahboom-repo.sources > /dev/null
@Sakura286
Sakura286 / public.key
Created May 27, 2024 16:22
public key for yahboom-car-repo
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQGNBGZUTlYBDADOPNg0QcvyP+o4wzxfhfX6YxW74kQvt+bZe1h56b0nR1ouf6bt
z+Dhhh8LFetYwZDRFWP973XZliQ4vS2rY7Rk2qPcH6OxiZNYPqouG7oS3MlsrnuU
HY5HacPQpQLhpt3RzalHttmYEOwvPapX5Q/t96P0saGkFSWLizz3RhlRPwWosuFv
KhOLTTvckE4SY/SbHKtP14ujCB9TdQ/bq66GXnwBR0OkJJdrw3hbQpZnhzGfmwRk
8bU2BGNNDGzvAJ00OrnMbtF/fVne5KdOWnxyFhOQtW/eF/ODKGOLeysSL8AW/9cF
Pp0d5g66HUj4/6P/AlryslDQgnq2ls8p1j38sMazIVJ1Wojbwr0DVYoIU1tH3iuW
DOTa+x3KP7mbH7bC1MJf4vIF5q331P6a93vjjwa7micOE1Z5yp+dWWLQzIJGdK3L
yHVM/ZsQ13NnMAHMssa1MJD0/sBYB/YoN9reuseOU3xcCfE5opaQ06GfH3BCNYae

构建 LibreOffice

官方源码构建

参考如何编译LibreOffice

# 安装依赖
sudo apt install -y  \
    build-essential zip ccache junit4 libkrb5-dev nasm graphviz python3 python3-dev \
diff -Nru libreoffice-24.2.3/debian/changelog libreoffice-24.2.3/debian/changelog
--- libreoffice-24.2.3/debian/changelog 2024-04-30 03:36:22.000000000 +0800
+++ libreoffice-24.2.3/debian/changelog 2024-05-21 11:33:51.000000000 +0800
@@ -1,3 +1,9 @@
+libreoffice (4:24.2.3-1.1) UNRELEASED; urgency=medium
+
+ * Remove nan payload test
+
+ -- CHEN Xuan <chenxuan@iscas.ac.cn> Tue, 21 May 2024 11:33:51 +0800
+
ls
debian src
debian@debian-pioneer:~/Sakura286/MicroROS/yahboom/micro-ros-main-0.1.0$ sbuild --arch=riscv64 -d sid -c sid-riscv64-revyos-sbuild --no-run-lintian
dpkg-source: info: using options from micro-ros-main-0.1.0/debian/source/options: --tar-ignore =
dpkg-source: warning: --tar-ignore = is not a valid option for Dpkg::Source::Package::V3::Quilt
dh clean
debian/rules override_dh_clean
make[1]: Entering directory '/home/debian/Sakura286/MicroROS/yahboom/micro-ros-main-0.1.0'
echo "I will never do what you want!"
debian@debian-pioneer:~/Sakura286/MicroROS/yahboom/micro-ros-main-0.1.0$ sbuild --arch=riscv64 -d sid -c sid-riscv64-revyos-sbuild --no-run-lintian
dh clean
dh_clean
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building micro-ros-main using existing ./micro-ros-main_0.1.0.orig.tar.xz
dpkg-source: warning: ignoring deletion of file run_map.sh, use --include-removal to override
dpkg-source: warning: ignoring deletion of file start_agent.sh, use --include-removal to override
dpkg-source: warning: ignoring deletion of file run_handle.sh, use --include-removal to override
dpkg-source: warning: ignoring deletion of directory uros_ws_src
dpkg-source: warning: ignoring deletion of file uros_ws_src/ros2.repos, use --include-removal to override
diff -Nru ros-rosdep-0.22.1/debian/10-debian.list ros-rosdep-0.22.1/debian/10-debian.list
--- ros-rosdep-0.22.1/debian/10-debian.list 2022-02-18 06:20:51.000000000 +0800
+++ ros-rosdep-0.22.1/debian/10-debian.list 1970-01-01 08:00:00.000000000 +0800
@@ -1 +0,0 @@
-yaml file:///usr/share/python3-rosdep2/debian.yaml debian
diff -Nru ros-rosdep-0.22.1/debian/20-default.list ros-rosdep-0.22.1/debian/20-default.list
--- ros-rosdep-0.22.1/debian/20-default.list 2020-11-20 18:45:25.000000000 +0800
+++ ros-rosdep-0.22.1/debian/20-default.list 2024-05-15 14:05:21.000000000 +0800
@@ -1,10 +1,4 @@
-# os-specific listings first
gazebo11: gazebo11-common
gazebo11-dbg
gazebo11-doc
gazebo11-plugin-base
gazebo11
libgazebo11-dev
libgazebo11
ignition-cmake2: ignition-cmake2
libgz-cmake2-dev
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQGNBGYNDHkBDACcu6wc9wokRPDkkI5/mM6ukB8cU55CqH2il0IvWLZwl44gvXlS
ylqbP8GxKK/NVBnakNnNjXLwA8OGvu78n8fc18FqdDzQL+lG3/wr59hIbwDMKcHh
xp/Pjohms6CLeMD53MVPg+aVix01yFS6ihfgiwPkqJnjwL4cy7TVUBJAKTUn3xr/
HOvL+mVa/bTnU7Wx+rUma+DwzTd8OvpQljJ/hTTt8/fe+PyLaCrom4VKqmsO1zil
i2H3M9BktjuSRmncdwop17FIgl7TN09EEkTsTsYiHBfQRhVvowsTVzUoo5jKbMG8
A7iwsBH1xyM0xa/fPdh0z6QSYLa276AginWva+ETaUuNI1nw5TVquPpsQj+/aPeh
4pAUs/lvBa4RXEGEYstQtFFwDBdCC7DWiMhOw8J4Z1NoaNBpZZnEbejzR0U5w8MC
rTbwL8OwgiYpZ8+auRoPUtZVbQ8RUwO47jaHwknwnZ1tZYK0KRaBRmKWXM47spav