Skip to content
This repository was archived by the owner on Dec 21, 2023. It is now read-only.

Commit 298491a

Browse files
authored
Remove protobuf dependencies (mastodon#17539)
1 parent d39df35 commit 298491a

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ commands:
3232
name: Install system dependencies
3333
command: |
3434
sudo apt-get update
35-
sudo apt-get install -y libicu-dev libidn11-dev libprotobuf-dev protobuf-compiler
35+
sudo apt-get install -y libicu-dev libidn11-dev
3636
install-ruby-dependencies:
3737
parameters:
3838
ruby-version:

.github/workflows/build-image.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
- "main"
77
tags:
88
- "*"
9+
pull_request:
10+
paths:
11+
- .github/workflows/build-image.yml
12+
- Dockerfile
913
jobs:
1014
build-image:
1115
runs-on: ubuntu-latest
@@ -30,7 +34,7 @@ jobs:
3034
with:
3135
context: .
3236
platforms: linux/amd64,linux/arm64
33-
push: true
37+
push: ${{ github.event_name != 'pull_request' }}
3438
tags: ${{ steps.meta.outputs.tags }}
3539
cache-from: type=registry,ref=tootsuite/mastodon:latest
3640
cache-to: type=inline

.github/workflows/check-i18n.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Install system dependencies
1919
run: |
2020
sudo apt-get update
21-
sudo apt-get install -y libicu-dev libidn11-dev libprotobuf-dev protobuf-compiler
21+
sudo apt-get install -y libicu-dev libidn11-dev
2222
- name: Set up Ruby
2323
uses: ruby/setup-ruby@v1
2424
with:

Aptfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,8 @@ libicu-dev
44
libidn11
55
libidn11-dev
66
libpq-dev
7-
libprotobuf-dev
87
libxdamage1
98
libxfixes3
10-
protobuf-compiler
119
zlib1g-dev
1210
libcairo2
1311
libcroco3

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ RUN npm install -g npm@latest && \
5151
gem install bundler && \
5252
apt-get update && \
5353
apt-get install -y --no-install-recommends git libicu-dev libidn11-dev \
54-
libpq-dev libprotobuf-dev protobuf-compiler shared-mime-info
54+
libpq-dev shared-mime-info
5555

5656
COPY Gemfile* package.json yarn.lock /opt/mastodon/
5757

@@ -88,7 +88,7 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
8888
RUN apt-get update && \
8989
apt-get -y --no-install-recommends install \
9090
libssl1.1 libpq5 imagemagick ffmpeg libjemalloc2 \
91-
libicu66 libprotobuf17 libidn11 libyaml-0-2 \
91+
libicu66 libidn11 libyaml-0-2 \
9292
file ca-certificates tzdata libreadline8 gcc tini apt-utils && \
9393
ln -s /opt/mastodon /mastodon && \
9494
gem install bundler && \

Vagrantfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,9 @@ sudo apt-get install \
3333
redis-tools \
3434
postgresql \
3535
postgresql-contrib \
36-
protobuf-compiler \
3736
yarn \
3837
libicu-dev \
3938
libidn11-dev \
40-
libprotobuf-dev \
4139
libreadline-dev \
4240
libpam0g-dev \
4341
-y

0 commit comments

Comments
 (0)