Update version

This commit is contained in:
thomas 2022-11-21 22:52:21 +01:00
parent e7009df100
commit 7ef4baf9a9
10 changed files with 67 additions and 33 deletions

View File

@ -9,7 +9,16 @@ DEBIAN_VERSION_CODENAME=bullseye
IMAGE_SIZE=8 IMAGE_SIZE=8
PACKAGE_DEPENDENCY="pkg-config libsecret-1-dev yarn nodejs build-essential libglib2.0-dev" PACKAGE_DEPENDENCY="pkg-config libsecret-1-dev yarn nodejs build-essential libglib2.0-dev"
STEP="base_package_upgrade configure_depot_yarn configure_depot_nodejs install_package_dependency install_rust get_git_source build makedeb" main(){
base_package_upgrade
configure_depot_yarn
configure_depot_nodejs
install_package_dependency
install_rust
get_git_source
build
makedeb
}
build() { build() {
source ~/.cargo/env source ~/.cargo/env
@ -29,20 +38,20 @@ build() {
makedeb(){ makedeb(){
PATH_DEB=/tmp/src/rootfs PATH_DEB=/tmp/src/rootfs
mkdir -p ${PATH_DEB}/usr/lib/ mkdir -p ${PATH_DEB}/usr/lib/
mkdir -p ${PATH_DEB}/usr/bin/ mkdir -p ${PATH_DEB}/usr/bin/
mkdir -p ${PATH_DEB}/usr/share/doc/bitwarden/ mkdir -p ${PATH_DEB}/usr/share/doc/bitwarden/
cp -fr /tmp/${APP}/apps/desktop/dist/linux-unpacked ${PATH_DEB}/usr/lib/bitwarden-desktop cp -fr /tmp/${APP}/apps/desktop/dist/linux-unpacked ${PATH_DEB}/usr/lib/bitwarden-desktop
for tmp in /tmp/${APP}/apps/desktop/resources/icons/* for tmp in /tmp/${APP}/apps/desktop/resources/icons/*
do do
RESOLUTION=$(basename $tmp .png) RESOLUTION=$(basename $tmp .png)
mkdir -p ${PATH_DEB}/usr/share/icons/hicolor/${RESOLUTION}/apps/ mkdir -p ${PATH_DEB}/usr/share/icons/hicolor/${RESOLUTION}/apps/
cp $tmp ${PATH_DEB}/usr/share/icons/hicolor/${RESOLUTION}/apps/bitwarden.png cp $tmp ${PATH_DEB}/usr/share/icons/hicolor/${RESOLUTION}/apps/bitwarden.png
done done
ln -s /usr/lib/bitwarden-desktop/bitwarden ${PATH_DEB}/usr/bin/bitwarden ln -s /usr/lib/bitwarden-desktop/bitwarden ${PATH_DEB}/usr/bin/bitwarden
sed -i "s/%VERSION%/$DEB_VERSION/" ${PATH_DEB}/DEBIAN/control sed -i "s/%VERSION%/$DEB_VERSION/" ${PATH_DEB}/DEBIAN/control
fakeroot dpkg-deb -Z gzip --build ${PATH_DEB} /tmp/dist fakeroot dpkg-deb -Z gzip --build ${PATH_DEB} /tmp/dist
} }

View File

@ -7,13 +7,16 @@ GIT_VERSION=v${VERSION}
DEB_VERSION=${VERSION}-$(date +%Y%m%d%H%M) DEB_VERSION=${VERSION}-$(date +%Y%m%d%H%M)
DEBIAN_VERSION_CODENAME=bullseye DEBIAN_VERSION_CODENAME=bullseye
IMAGE_SIZE=5 IMAGE_SIZE=5
PACKAGE_DEPENDENCY="build-essential nodejs"
STEP="base_package_upgrade envinit default_prebuild build makedeb" main() {
base_package_upgrade
envinit() { configure_depot_nodejs 18
configure_depot_nodejs install_package_dependency
apt install -y --no-install-recommends build-essential nodejs
install_go install_go
get_git_source
build
makedeb
} }
build() { build() {

View File

@ -7,12 +7,15 @@ GIT_VERSION=${VERSION}
DEB_VERSION=${VERSION}-$(date +%Y%m%d%H%M) DEB_VERSION=${VERSION}-$(date +%Y%m%d%H%M)
DEBIAN_VERSION_CODENAME=bullseye DEBIAN_VERSION_CODENAME=bullseye
IMAGE_SIZE=4 IMAGE_SIZE=4
PACKAGE_DEPENDENCY="patch composer php-json php-xml php-curl php-gd php-intl php-ldap php-zip php-mysql gettext"
STEP="base_package_upgrade envinit get_git_source build makedeb" main() {
base_package_upgrade
envinit() {
configure_depot_nodejs configure_depot_nodejs
apt install -y --no-install-recommends patch composer php-json php-xml php-curl php-gd php-intl php-ldap php-zip php-mysql gettext install_package_dependency
get_git_source
build
makedeb
} }
build(){ build(){
@ -23,11 +26,11 @@ build(){
makedeb(){ makedeb(){
PATH_DEB=/tmp/src/rootfs PATH_DEB=/tmp/src/rootfs
PATH_DEB_INSTALL=/tmp/src/rootfs-install PATH_DEB_INSTALL=/tmp/src/rootfs-install
tar -zxvf /tmp/${APP}-${VERSION}.tgz -C ${PATH_DEB}/usr/share/ tar -zxvf /tmp/${APP}-${VERSION}.tgz -C ${PATH_DEB}/usr/share/
mv ${PATH_DEB}/usr/share/glpi/install ${PATH_DEB_INSTALL}/usr/share/glpi/ mv ${PATH_DEB}/usr/share/glpi/install ${PATH_DEB_INSTALL}/usr/share/glpi/
mv ${PATH_DEB}/usr/share/glpi/*.md ${PATH_DEB}/usr/share/doc/glpi/ mv ${PATH_DEB}/usr/share/glpi/*.md ${PATH_DEB}/usr/share/doc/glpi/
gzip ${PATH_DEB}/usr/share/doc/glpi/* gzip ${PATH_DEB}/usr/share/doc/glpi/*

View File

@ -7,17 +7,21 @@ GIT_VERSION=v$VERSION
DEB_VERSION=${VERSION}-$(date +%Y%m%d%H%M) DEB_VERSION=${VERSION}-$(date +%Y%m%d%H%M)
DEBIAN_VERSION_CODENAME=bookworm DEBIAN_VERSION_CODENAME=bookworm
IMAGE_SIZE=4 IMAGE_SIZE=4
PACKAGE_DEPENDENCY="composer php-simplexml php-gd unzip yarn nodejs"
STEP="base_package_upgrade envinit get_git_source build makedeb" main() {
base_package_upgrade
envinit() {
configure_depot_yarn configure_depot_yarn
apt-get install -y --no-install-recommends composer php-simplexml php-gd unzip yarn install_package_dependency
get_git_source
build
makedeb
} }
build() { build() {
set +x set +x
cd /tmp/grocy cd /tmp/grocy
export COMPOSER_ALLOW_SUPERUSER=1
composer install -n composer install -n
yarn install yarn install
} }

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
VERSION=2.9.16 VERSION=2.9.17
APP=joplin-desktop APP=joplin-desktop
GIT_VERSION=v${VERSION} GIT_VERSION=v${VERSION}
DEB_VERSION=$VERSION-$(date +%Y%m%d%H%M) DEB_VERSION=$VERSION-$(date +%Y%m%d%H%M)

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
VERSION=1.28.0 VERSION=1.29.0
APP=kimai2 APP=kimai2
DEPOT=https://github.com/kevinpapst/kimai2.git DEPOT=https://github.com/kevinpapst/kimai2.git
GIT_VERSION=${VERSION} GIT_VERSION=${VERSION}
@ -9,7 +9,13 @@ DEBIAN_VERSION_CODENAME=bullseye
IMAGE_SIZE=2 IMAGE_SIZE=2
PACKAGE_DEPENDENCY="composer php-zip php-gd php-intl php-xsl" PACKAGE_DEPENDENCY="composer php-zip php-gd php-intl php-xsl"
STEP="base_package_upgrade install_package_dependency default_prebuild build makedeb" main() {
base_package_upgrade
install_package_dependency
default_prebuild
build
makedeb
}
build() { build() {
cd /tmp/${APP} cd /tmp/${APP}

View File

@ -7,12 +7,15 @@ GIT_VERSION=v$VERSION-beta1
DEB_VERSION=$VERSION-$(date +%Y%m%d%H%M) DEB_VERSION=$VERSION-$(date +%Y%m%d%H%M)
DEBIAN_VERSION_CODENAME=bullseye DEBIAN_VERSION_CODENAME=bullseye
IMAGE_SIZE=2 IMAGE_SIZE=2
PACKAGE_DEPENDENCY="build-essential"
STEP="base_package_upgrade envinit base_package_upgrade build makedeb" main() {
base_package_upgrade
envinit() { install_package_dependency
apt install -y --no-install-recommends build-essential
install_go install_go
get_git_source
build
makedeb
} }
build() { build() {

View File

@ -7,11 +7,16 @@ Source : https://github.com/hay-kot/mealie
##### Install ##### Install
Require debian 12 (bookworm)
```bash ```bash
apt install -y wget ca-certificates apt install -y wget ca-certificates
wget -qO - https://deb.lgy.fr/install.sh | bash wget -qO - https://deb.lgy.fr/install.sh | bash
wget -qO - https://deb.nodesource.com/setup_16.x| bash
echo -e "Package: nodejs\\nPin: version 16.*\\nPin-Priority: 1000" > /etc/apt/preferences.d/nodejs
apt-get update apt-get update
apt-get install -y mealie
apt-get install -y mealie-frontend mealie-api
#Edit /etc/default/mealie-api and /etc/default/mealie-frontend #Edit /etc/default/mealie-api and /etc/default/mealie-frontend

View File

@ -3,5 +3,6 @@ Version: %VERSION%
Section: contrib Section: contrib
Priority: optional Priority: optional
Architecture: all Architecture: all
Depends: python-is-python3 ( >= 3.10 ), crfpp
Maintainer: Thomas Legay <thomas@lgy.fr> Maintainer: Thomas Legay <thomas@lgy.fr>
Description: mealie-api Description: mealie-api

View File

@ -19,7 +19,7 @@ build(){
makedeb(){ makedeb(){
PATH_DEB=/tmp/src/rootfs PATH_DEB=/tmp/src/rootfs
PATH_DEB_INSTALL=/tmp/src/rootfs-install PATH_DEB_INSTALL=/tmp/src/rootfs-install
mv /tmp/${APP}/phpBB/install ${PATH_DEB_INSTALL}/usr/share/phpbb mv /tmp/${APP}/phpBB/install ${PATH_DEB_INSTALL}/usr/share/phpbb
cp -fr /tmp/${APP}/phpBB ${PATH_DEB}/usr/share/phpbb cp -fr /tmp/${APP}/phpBB ${PATH_DEB}/usr/share/phpbb
@ -35,10 +35,10 @@ makedeb(){
mv ${PATH_DEB}/usr/share/phpbb/cache ${PATH_DEB}/var/lib/phpbb/cache mv ${PATH_DEB}/usr/share/phpbb/cache ${PATH_DEB}/var/lib/phpbb/cache
ln -s /var/cache/phpbb ${PATH_DEB}/usr/share/phpbb/cache ln -s /var/cache/phpbb ${PATH_DEB}/usr/share/phpbb/cache
sed -i "s/%VERSION%/$DEB_VERSION/" ${PATH_DEB}/DEBIAN/control sed -i "s/%VERSION%/$DEB_VERSION/" ${PATH_DEB}/DEBIAN/control
fakeroot dpkg-deb -Z gzip --build ${PATH_DEB} /tmp/dist fakeroot dpkg-deb -Z gzip --build ${PATH_DEB} /tmp/dist
sed -i "s/%VERSION%/$DEB_VERSION/" ${PATH_DEB_INSTALL}/DEBIAN/control sed -i "s/%VERSION%/$DEB_VERSION/" ${PATH_DEB_INSTALL}/DEBIAN/control
fakeroot dpkg-deb -Z gzip --build ${PATH_DEB_INSTALL} /tmp/dist fakeroot dpkg-deb -Z gzip --build ${PATH_DEB_INSTALL} /tmp/dist
} }