| author | Stephen Paul Weber
<singpolyma@singpolyma.net> 2026-05-11 16:05:02 UTC |
| committer | Stephen Paul Weber
<singpolyma@singpolyma.net> 2026-05-11 17:54:19 UTC |
| parent | b51bc38949a3a442a487b01bb9bfe8b3158747de |
| Makefile | +2 | -2 |
| build-misc/Containerfile.image | +4 | -0 |
| build-misc/apt-pref | +7 | -0 |
diff --git a/Makefile b/Makefile index 6bc1ae0..85a2db8 100644 --- a/Makefile +++ b/Makefile @@ -62,10 +62,10 @@ npm: npm/borogove-browser.js npm/borogove.js borogove/persistence/IDB.js borogov cd npm && npx tsc --esModuleInterop --lib esnext,dom --target esnext --preserveConstEnums --allowJs --checkJs -d persistence-browser.ts playwright/.cache/borogove.js: npm - esbuild npm/index.js --bundle --format=esm "--alias:node:dns=@xmpp/resolve" "--footer:js=export { borogove_JID as JID, borogove_Stanza as Stanza, borogove_ReactionUpdate as ReactionUpdate }" --outfile=$@ + cd npm && esbuild index.js --bundle --format=esm "--alias:node:dns=@xmpp/resolve" "--footer:js=export { borogove_JID as JID, borogove_Stanza as Stanza, borogove_ReactionUpdate as ReactionUpdate }" --outfile=../$@ playwright/.cache/sqlite-wasm.js: npm - esbuild npm/sqlite-wasm.js --bundle --format=esm "--alias:node:dns=@xmpp/resolve" --outfile=$@ + cd npm && esbuild sqlite-wasm.js --bundle --format=esm "--alias:node:dns=@xmpp/resolve" --outfile=../$@ sed -i 's/new URL("sqlite-worker1.mjs", import.meta.url)/window.sqliteWorker1Url/g' $@ playwright/.cache/sqlite-worker1.js: npm diff --git a/build-misc/Containerfile.image b/build-misc/Containerfile.image index 8c5df52..166ec19 100644 --- a/build-misc/Containerfile.image +++ b/build-misc/Containerfile.image @@ -17,6 +17,7 @@ RUN wget https://www.deb-multimedia.org/pool/main/d/deb-multimedia-keyring/deb-m && dpkg -i deb-multimedia-keyring_2024.9.1_all.deb COPY build-misc/dmo.sources /etc/apt/sources.list.d/dmo.sources +COPY build-misc/apt-pref /etc/apt/preferences.d/apt-pref RUN apt-get update \ && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ @@ -62,6 +63,9 @@ RUN printf '#!/bin/bash\nexec /usr/bin/node --tls-max-v1.2 "$@"' > /usr/local/bi && chmod a+x /usr/local/bin/node \ && npm install typescript @sqlite.org/sqlite-wasm @playwright/test +RUN rm /etc/apt/sources.list.d/dmo.sources +RUN npx playwright install --with-deps + COPY Makefile *.hxml /usr/src/sdk/ COPY . /usr/src/sdk/ diff --git a/build-misc/apt-pref b/build-misc/apt-pref new file mode 100644 index 0000000..64e06a7 --- /dev/null +++ b/build-misc/apt-pref @@ -0,0 +1,7 @@ +Package: * +Pin: release o=Debian +Pin-Priority: 900 + +Package: * +Pin: release o=Unofficial Multimedia Packages +Pin-Priority: 1