Mastodon customisations for queer.party
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

generate-patch.sh 972B

1234567891011121314151617181920
  1. #!/bin/sh
  2. MASTODON_VERSION="2.7.4"
  3. git clone https://git.maff.scot/mirrors/mastodon untainted
  4. cd untainted
  5. git fetch --all --tags
  6. git checkout tags/v$MASTODON_VERSION
  7. cd ..
  8. cp -pr untainted tainted
  9. mkdir modifications
  10. git clone https://github.com/meemudotorg/theemu modifications/theemu
  11. rsync -av --files-from modifications/theemu/meemu-theme.txt modifications/theemu tainted
  12. cp -pr untainted/app/javascript/mastodon/locales/en.json tainted/app/javascript/mastodon/locales/en.json
  13. cp -pr untainted/config/locales/en.yml tainted/config/locales/en.yml
  14. cp -pr assets/themes.yml tainted/config/themes.yml
  15. cp -pr assets/source.rb tainted/config/initializers/source.rb
  16. mv tainted/app/javascript/fonts/pressstart2p deploy/
  17. diff -ruN untainted tainted > deploy/queer.party.patch
  18. rm -rf untainted tainted modifications
  19. docker build --build-arg MASTODON_VERSION=$MASTODON_VERSION -t queerparty/mastodon:v$MASTODON_VERSION deploy/
  20. rm -rf deploy/queer.party.patch deploy/pressstart2p