Compare commits

..

No commits in common. "v1.10.12-sc.0.test.1" and "v1.9.7-sc.1" have entirely different histories.

21 changed files with 32 additions and 74 deletions

View file

@ -1,4 +1,4 @@
.PHONY: all setup regenerate-i18n web desktop-common linux debian rpm pacman local-pkgbuild local-pkgbuild-install windows windows-portable .PHONY: all setup regenerate-i18n reskindex web desktop-common linux debian rpm pacman local-pkgbuild local-pkgbuild-install windows windows-portable
.PHONY: web-release debian-release rpm-release pacman-release windows-setup-release windows-unpacked-release windows-portable-release windows-release .PHONY: web-release debian-release rpm-release pacman-release windows-setup-release windows-unpacked-release windows-portable-release windows-release
.PHONY: macos-common macos macos-mas macos-release macos-mas-release icns .PHONY: macos-common macos macos-mas macos-release macos-mas-release icns
.PHONY: clean .PHONY: clean
@ -43,7 +43,7 @@ CSC_NAME ?=
-include release.mk -include release.mk
setup: setup:
./setup.sh if [ ! -L "element-desktop/webapp" ]; then ./setup.sh; fi
element-desktop/build/SchildiChat.xcassets/SchildiChat.iconset: $(wildcard element-desktop/build/SchildiChat.xcassets/SchildiChat.iconset/*) element-desktop/build/SchildiChat.xcassets/SchildiChat.iconset: $(wildcard element-desktop/build/SchildiChat.xcassets/SchildiChat.iconset/*)
@ -60,8 +60,12 @@ icns: element-desktop/build/icon.icns element-desktop/build/dmg.icns
regenerate-i18n: setup regenerate-i18n: setup
./regenerate_i18n.sh ./regenerate_i18n.sh
reskindex: setup
$(YARN) --cwd matrix-react-sdk reskindex
$(YARN) --cwd element-web reskindex
web: export DIST_VERSION=$(WEB_OUT_DIST_VERSION) web: export DIST_VERSION=$(WEB_OUT_DIST_VERSION)
web: setup web: setup reskindex
cp $(CFGDIR)/config.json element-web/ cp $(CFGDIR)/config.json element-web/
$(YARN) --cwd element-web dist $(YARN) --cwd element-web dist
echo "$(VERSION)" > element-web/webapp/version echo "$(VERSION)" > element-web/webapp/version

View file

@ -15,18 +15,6 @@ Feel free to [join the discussion on matrix](https://matrix.to/#/#schildichat-we
<img src="https://raw.githubusercontent.com/SchildiChat/schildichat-desktop/sc/screenshots/1.png"/> <img src="https://raw.githubusercontent.com/SchildiChat/schildichat-desktop/sc/screenshots/1.png"/>
<details>
<summary>Public key used to sign the Debian packages</summary>
```
pub rsa4096 2020-12-08 [SC]
560BB70DA86A6633A39CEC6023358905FE294D01
uid Super apt repo key <apt@supercable.onl>
sub rsa4096 2020-12-08 [E]
```
</details>
## Building SchildiChat Web/Desktop ## Building SchildiChat Web/Desktop

View file

@ -17,13 +17,4 @@ forall_repos check_clean_git
bump_release_version bump_release_version
# Get version string
get_current_versions
get_versions_string
# Add everything
git add -A
git commit --allow-empty -m "New release v$versions_string"
git tag -s "v$versions_string" -m "New release v$versions_string"
popd > /dev/null popd > /dev/null

View file

@ -17,13 +17,4 @@ forall_repos check_clean_git
bump_test_version bump_test_version
# Get version string
get_current_versions
get_versions_string
# Add everything
git add -A
git commit --allow-empty -m "New test release v$versions_string"
git tag -s "v$versions_string" -m "New test release v$versions_string"
popd > /dev/null popd > /dev/null

View file

@ -27,5 +27,11 @@
"text": "Privacy Policy" "text": "Privacy Policy"
} }
], ],
"map_style_url": "https://api.maptiler.com/maps/streets/style.json?key=fU3vlMsMn4Jb6dnEIFsx" "sc_update_announcement_room": {
"room_id_or_alias": "!JwTYjASnrfLEJQGQvt:matrix.org",
"via_servers": [
"supercable.onl",
"spiritcroc.de"
]
}
} }

View file

@ -21,7 +21,6 @@ git fetch
git reset --hard origin/master git reset --hard origin/master
sed -i "s|^_pkgver=.*$|_pkgver=$version|" PKGBUILD sed -i "s|^_pkgver=.*$|_pkgver=$version|" PKGBUILD
sed -i "s|^pkgrel=.*$|pkgrel=1|" PKGBUILD
sed -i "s|^sha256sums=('.*'$|sha256sums=('$sha256sum'|" PKGBUILD sed -i "s|^sha256sums=('.*'$|sha256sums=('$sha256sum'|" PKGBUILD
makepkg --printsrcinfo > .SRCINFO makepkg --printsrcinfo > .SRCINFO

@ -1 +1 @@
Subproject commit 6ca4d9024f8b761f850415f92fb3b5f2302c3c50 Subproject commit a074ede0c13c09dca96a9be2c60d3c4e5c03a234

@ -1 +1 @@
Subproject commit 10daba321703efac427421ee1331cea42aed2b70 Subproject commit 94895dee0a29a517919b8ba7461982baf11139cc

View file

@ -1,3 +1 @@
{ {}
"Show": "نشان دادن"
}

View file

@ -40,8 +40,5 @@
"Hide advanced theme settings": "Skrýt pokročilá nastavení motivu", "Hide advanced theme settings": "Skrýt pokročilá nastavení motivu",
"Mark rooms as unread": "Povolit označování chatů jako nepřečtených", "Mark rooms as unread": "Povolit označování chatů jako nepřečtených",
"Mark as unread": "Označit jako nepřečtené", "Mark as unread": "Označit jako nepřečtené",
"Mark as read": "Označit jako přečtené", "Mark as read": "Označit jako přečtené"
"Enable YouTube embed player": "Povolí vložený přehrávač YouTube",
"Collapse additional buttons": "Sbalit další tlačítka",
"Home is useful for getting an overview of everything. Keep in mind that disabling it could leave you unable to see certain rooms.": "Úvod je užitečný pro získání přehledu o všem. Mějte na paměti, že její vypnutí může způsobit, že nebudete moci zobrazit některé místnosti."
} }

View file

@ -141,7 +141,5 @@
"Show advanced theme settings": "Erweiterte Designeinstellungen anzeigen", "Show advanced theme settings": "Erweiterte Designeinstellungen anzeigen",
"Mark rooms as unread": "Erlaube Chats als ungelesen zu markieren", "Mark rooms as unread": "Erlaube Chats als ungelesen zu markieren",
"Mark as read": "Als gelesen markieren", "Mark as read": "Als gelesen markieren",
"Mark as unread": "Als ungelesen markieren", "Mark as unread": "Als ungelesen markieren"
"Enable YouTube embed player": "Eingebetteten YouTube-Player aktivieren",
"Collapse additional buttons": "Zusätzliche Buttons einklappen"
} }

View file

@ -39,8 +39,5 @@
"Font size and typeface": "Font size and typeface", "Font size and typeface": "Font size and typeface",
"Mark rooms as unread": "Allow marking chats as unread", "Mark rooms as unread": "Allow marking chats as unread",
"Mark as unread": "Mark as unread", "Mark as unread": "Mark as unread",
"Mark as read": "Mark as read", "Mark as read": "Mark as read"
"Enable YouTube embed player": "Enable YouTube embed player",
"Collapse additional buttons": "Collapse additional buttons",
"Home is useful for getting an overview of everything. Keep in mind that disabling it could leave you unable to see certain rooms.": "Home is useful for getting an overview of everything. Keep in mind that disabling it could leave you unable to see certain rooms."
} }

View file

@ -39,8 +39,5 @@
"Intermediate: medium sized avatar with single-line preview": "Sedang: avatar sedang dengan tampilan satu baris", "Intermediate: medium sized avatar with single-line preview": "Sedang: avatar sedang dengan tampilan satu baris",
"Mark rooms as unread": "Perbolehkan menandai obrolan sebagai dibaca", "Mark rooms as unread": "Perbolehkan menandai obrolan sebagai dibaca",
"Mark as unread": "Tandai sebagai belum dibaca", "Mark as unread": "Tandai sebagai belum dibaca",
"Mark as read": "Tandai sebagai dibaca", "Mark as read": "Tandai sebagai dibaca"
"Enable YouTube embed player": "Aktifkan pemain YouTube tersemat",
"Collapse additional buttons": "Sembunyikan tombol tambahan",
"Home is useful for getting an overview of everything. Keep in mind that disabling it could leave you unable to see certain rooms.": "Beranda berguna untuk mendapatkan ikhtisar segalanya. Menonaktifkan Beranda mungkin dapat membuat Anda tidak dapat melihat beberapa ruangan."
} }

View file

@ -37,8 +37,5 @@
"Compact: tiny avatar together with name and preview in one line": "Compacto: avatar minúsculo junto com o nome e visualização em uma linha", "Compact: tiny avatar together with name and preview in one line": "Compacto: avatar minúsculo junto com o nome e visualização em uma linha",
"Intermediate: medium sized avatar with single-line preview": "Intermédio: avatar de tamanho médio com visualização de uma linha", "Intermediate: medium sized avatar with single-line preview": "Intermédio: avatar de tamanho médio com visualização de uma linha",
"Roomy: big avatar with two-line preview": "Amplo: grande avatar com visualização em duas linhas", "Roomy: big avatar with two-line preview": "Amplo: grande avatar com visualização em duas linhas",
"Room list style": "Estilo da lista de salas", "Room list style": "Estilo da lista de salas"
"Mark rooms as unread": "Permitir markar conversas como não lidos",
"Mark as unread": "Markar como não lido",
"Mark as read": "Markar como lido"
} }

View file

@ -39,8 +39,5 @@
"Room list style": "Rumslista stil", "Room list style": "Rumslista stil",
"Mark as unread": "markera som oläst", "Mark as unread": "markera som oläst",
"Mark as read": "markera som läst", "Mark as read": "markera som läst",
"Mark rooms as unread": "Tillåt att chattar markeras som olästa", "Mark rooms as unread": "Tillåt att chattar markeras som olästa"
"Enable YouTube embed player": "Aktivera inbäddad YouTube-spelare",
"Collapse additional buttons": "Dölj ytterligare knappar",
"Home is useful for getting an overview of everything. Keep in mind that disabling it could leave you unable to see certain rooms.": "Home är användbart för att få en överblick över allt. Tänk på att om du inaktiverar den kan du inte se vissa rum."
} }

View file

@ -39,8 +39,5 @@
"Do you want to join a room notifying you about new releases? This is especially useful if your platform doesn't support automatic updates for SchildiChat (e.g. Windows and macOS).": "您想加入一个用来通知版本更新的房间吗?如果您的平台不支持自动更新 SchildiChat例如 Windows 和 macOS这将非常有用。", "Do you want to join a room notifying you about new releases? This is especially useful if your platform doesn't support automatic updates for SchildiChat (e.g. Windows and macOS).": "您想加入一个用来通知版本更新的房间吗?如果您的平台不支持自动更新 SchildiChat例如 Windows 和 macOS这将非常有用。",
"Mark as read": "标记为已读", "Mark as read": "标记为已读",
"Mark rooms as unread": "允许将聊天记录标记为未读", "Mark rooms as unread": "允许将聊天记录标记为未读",
"Mark as unread": "标记为未读", "Mark as unread": "标记为未读"
"Home is useful for getting an overview of everything. Keep in mind that disabling it could leave you unable to see certain rooms.": "主页对于概览所有消息来说非常有用。请注意:禁用主页可能会让您无法看到某些房间。",
"Enable YouTube embed player": "启用 YouTube 嵌入式播放器",
"Collapse additional buttons": "折叠额外的按钮"
} }

View file

@ -10,7 +10,7 @@ pkgdesc="SchildiChat is a Matrix client based on Element with a more traditional
arch=('x86_64') arch=('x86_64')
url="https://schildi.chat" url="https://schildi.chat"
license=('Apache') license=('Apache')
depends=() depends=('sqlcipher')
provides=('---appName---') provides=('---appName---')
conflicts=('---appName---') conflicts=('---appName---')
source=("---debName---" source=("---debName---"
@ -22,5 +22,4 @@ package() {
msg2 "Extracting the data.tar.xz..." msg2 "Extracting the data.tar.xz..."
bsdtar -xf data.tar.xz -C "$pkgdir/" bsdtar -xf data.tar.xz -C "$pkgdir/"
install -Dm755 "${srcdir}"/---appName---.sh "${pkgdir}"/usr/bin/---appName--- install -Dm755 "${srcdir}"/---appName---.sh "${pkgdir}"/usr/bin/---appName---
sed -i 's|^Exec=.*|Exec=/usr/bin/---appName--- %u|' "${pkgdir}"/usr/share/applications/---appName---.desktop
} }

@ -1 +1 @@
Subproject commit a7e612697579ac57a3a80ab9809d891919f652b8 Subproject commit 09fc7b8ff4035e92821d264e807441f9d4e9da85

@ -1 +1 @@
Subproject commit 93096bdad64c9136bacfd6dae5b93939cb05afc4 Subproject commit 2fd5a9616e11a138d859e0a30e81e5d9d185f77f

View file

@ -162,8 +162,7 @@ get_current_versions() {
get_versions_string() { get_versions_string() {
versions_string="${versions[0]}-sc.${versions[1]}" versions_string="${versions[0]}-sc.${versions[1]}"
# both zero means the initial version after a merge if [[ ${versions[2]} -gt 0 ]]; then
if [[ ${versions[1]} -eq 0 || ${versions[2]} -gt 0 ]]; then
versions_string+=".test.${versions[2]}" versions_string+=".test.${versions[2]}"
fi fi
} }
@ -240,6 +239,9 @@ automatic_packagejson_adjustment() {
local versions local versions
get_current_versions get_current_versions
# every build after a merge is a new test build
versions[2]=$((versions[2] + 1))
forelement_repos apply_packagejson_overlay "package.json" "overlay-package.json" forelement_repos apply_packagejson_overlay "package.json" "overlay-package.json"
forelement_repos write_version "package.json" forelement_repos write_version "package.json"
} }

View file

@ -46,7 +46,7 @@ automatic_packagejson_adjustment
# Automatic theme update # Automatic theme update
pushd "matrix-react-sdk" > /dev/null pushd "matrix-react-sdk" > /dev/null
./theme.sh y ./theme.sh
popd > /dev/null popd > /dev/null
popd > /dev/null popd > /dev/null