Skip to content

Commit 0dd4b3e

Browse files
committed
Purge Cap'n Proto dependency
1 parent 05485e6 commit 0dd4b3e

File tree

15 files changed

+2
-421
lines changed

15 files changed

+2
-421
lines changed

CMakeLists.txt

+1-2
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,6 @@ endforeach(platform)
282282
find_package(EGL REQUIRED)
283283
find_package(GLESv2 REQUIRED)
284284
find_package(GLM REQUIRED)
285-
find_package(CapnProto REQUIRED)
286285
find_package(GLog REQUIRED)
287286
find_package(GFlags REQUIRED)
288287

@@ -365,7 +364,7 @@ if (MIR_ENABLE_TESTS)
365364

366365
# There's no nice way to format this. Thanks CMake.
367366
mir_add_test(NAME LGPL-required
368-
COMMAND /bin/sh -c "! grep -rl --exclude-dir=protocol --exclude=org_kde* 'GNU General' ${PROJECT_SOURCE_DIR}/src/client ${PROJECT_SOURCE_DIR}/include/client ${PROJECT_SOURCE_DIR}/src/core ${PROJECT_SOURCE_DIR}/include/core ${PROJECT_SOURCE_DIR}/src/common ${PROJECT_SOURCE_DIR}/include/common ${PROJECT_SOURCE_DIR}/src/include/common ${PROJECT_SOURCE_DIR}/src/platform ${PROJECT_SOURCE_DIR}/include/platform ${PROJECT_SOURCE_DIR}/src/include/platform ${PROJECT_SOURCE_DIR}/src/platforms ${PROJECT_SOURCE_DIR}/include/platforms ${PROJECT_SOURCE_DIR}/src/include/platforms ${PROJECT_SOURCE_DIR}/src/renderers ${PROJECT_SOURCE_DIR}/include/renderers ${PROJECT_SOURCE_DIR}/src/include/renderers ${PROJECT_SOURCE_DIR}/src/capnproto"
367+
COMMAND /bin/sh -c "! grep -rl --exclude-dir=protocol --exclude=org_kde* 'GNU General' ${PROJECT_SOURCE_DIR}/src/client ${PROJECT_SOURCE_DIR}/include/client ${PROJECT_SOURCE_DIR}/src/core ${PROJECT_SOURCE_DIR}/include/core ${PROJECT_SOURCE_DIR}/src/common ${PROJECT_SOURCE_DIR}/include/common ${PROJECT_SOURCE_DIR}/src/include/common ${PROJECT_SOURCE_DIR}/src/platform ${PROJECT_SOURCE_DIR}/include/platform ${PROJECT_SOURCE_DIR}/src/include/platform ${PROJECT_SOURCE_DIR}/src/platforms ${PROJECT_SOURCE_DIR}/include/platforms ${PROJECT_SOURCE_DIR}/src/include/platforms ${PROJECT_SOURCE_DIR}/src/renderers ${PROJECT_SOURCE_DIR}/include/renderers ${PROJECT_SOURCE_DIR}/src/include/renderers"
369368
)
370369
mir_add_test(NAME GPL-required
371370
COMMAND /bin/sh -c "! grep -rl --exclude-dir=protocol --exclude=org_kde* 'GNU Lesser' ${PROJECT_SOURCE_DIR}/src/server ${PROJECT_SOURCE_DIR}/include/server ${PROJECT_SOURCE_DIR}/src/include/server ${PROJECT_SOURCE_DIR}/tests ${PROJECT_SOURCE_DIR}/examples"

debian/control

-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ Build-Depends: cmake,
4444
dh-python,
4545
nettle-dev,
4646
libcapnp-dev,
47-
capnproto:native | capnproto,
4847
libepoxy-dev,
4948
python3-pil:native,
5049
linux-libc-dev,

doc/getting_involved_in_mir.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ With these installed you can checkout Mir and get the remaining dependencies:
3030
You’ll need some development tools and packages installed:
3131

3232
sudo dnf install git cmake make gcc-c++ boost-devel mesa-libEGL-devel \
33-
mesa-libGLES-devel glm-devel \
34-
capnproto-devel capnproto glog-devel gflags-devel systemd-devel \
33+
mesa-libGLES-devel glm-devel glog-devel gflags-devel systemd-devel \
3534
glib2-devel wayland-devel mesa-libgbm-devel libepoxy-devel nettle-devel \
3635
libinput-devel libxml++-devel libuuid-devel libxkbcommon-devel \
3736
freetype-devel lttng-ust-devel libatomic qterminal qt5-qtwayland \

snap/snapcraft.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ parts:
2020
- -DMIR_PLATFORM='gbm-kms;eglstream-kms;x11;wayland'
2121
build-packages:
2222
- build-essential
23-
- capnproto
2423
- eglexternalplatform-dev
2524
- git
2625
- libboost-date-time-dev

spread/build/alpine/task.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ variants: [amd64]
55
execute: |
66
apk add \
77
boost-dev \
8-
capnproto-dev \
98
cmake \
109
coreutils \
1110
elogind \

spread/build/fedora/task.yaml

-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ execute: |
1111
mesa-libEGL-devel \
1212
mesa-libGLES-devel \
1313
glm-devel \
14-
capnproto-devel \
15-
capnproto \
1614
glog-devel \
1715
gflags-devel \
1816
systemd-devel \

spread/build/ubuntu/task.yaml

-3
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,6 @@ execute: |
7676
# Install the Pi userland
7777
snap install --edge rpi-userland
7878
79-
# Install the right capnproto binary
80-
apt-get --yes install capnproto:amd64
81-
8279
# Prepend the normal pkgconfig so that we pick up as much as possible from the standard environment
8380
export PKG_CONFIG_PATH=/usr/share/pkgconfig:/usr/lib/pkgconfig:/usr/lib/${DEB_HOST_MULTIARCH}/pkgconfig:/snap/rpi-userland/current/opt/vc/lib/pkgconfig
8481

src/CMakeLists.txt

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ add_subdirectory(platforms/)
1616
# the src/include/... directories should be private to the implementation
1717
include_directories(${PROJECT_SOURCE_DIR}/src/include/common)
1818
set(MIR_GENERATED_INCLUDE_DIRECTORIES)
19-
add_subdirectory(capnproto/)
2019
add_subdirectory(common/)
2120
include_directories(${MIR_GENERATED_INCLUDE_DIRECTORIES})
2221

src/capnproto/CMakeLists.txt

-35
This file was deleted.

src/capnproto/mir_event.capnp

-271
This file was deleted.

0 commit comments

Comments
 (0)