This commit is contained in:
Ward from fusion-voyager-3 2024-07-24 00:14:47 +03:00
parent 9f7b3ab11b
commit 90444eb49f
14 changed files with 38 additions and 20 deletions

View File

@ -30,5 +30,8 @@ jobs:
known_hosts: ${{ secrets.KNOWN_HOSTS }} known_hosts: ${{ secrets.KNOWN_HOSTS }}
if_key_exists: replace if_key_exists: replace
- name: Update APT Cache
run: apt-get update -y
- name: Build Package - name: Build Package
run: ./maini386.sh run: ./maini386.sh

View File

@ -30,5 +30,8 @@ jobs:
known_hosts: ${{ secrets.KNOWN_HOSTS }} known_hosts: ${{ secrets.KNOWN_HOSTS }}
if_key_exists: replace if_key_exists: replace
- name: Update APT Cache
run: apt-get update -y
- name: Build Package - name: Build Package
run: ./mainv3.sh run: ./mainv3.sh

View File

@ -30,5 +30,8 @@ jobs:
known_hosts: ${{ secrets.KNOWN_HOSTS }} known_hosts: ${{ secrets.KNOWN_HOSTS }}
if_key_exists: replace if_key_exists: replace
- name: Update APT Cache
run: apt-get update -y
- name: Build Package - name: Build Package
run: ./maini386.sh run: ./maini386.sh

View File

@ -30,5 +30,8 @@ jobs:
known_hosts: ${{ secrets.KNOWN_HOSTS }} known_hosts: ${{ secrets.KNOWN_HOSTS }}
if_key_exists: replace if_key_exists: replace
- name: Update APT Cache
run: apt-get update -y
- name: Build Package - name: Build Package
run: ./mainv3.sh run: ./mainv3.sh

View File

@ -30,6 +30,9 @@ jobs:
known_hosts: ${{ secrets.KNOWN_HOSTS }} known_hosts: ${{ secrets.KNOWN_HOSTS }}
if_key_exists: replace if_key_exists: replace
- name: Update APT Cache
run: apt-get update -y
- name: Build Package - name: Build Package
run: ./maini386.sh run: ./maini386.sh

View File

@ -30,6 +30,9 @@ jobs:
known_hosts: ${{ secrets.KNOWN_HOSTS }} known_hosts: ${{ secrets.KNOWN_HOSTS }}
if_key_exists: replace if_key_exists: replace
- name: Update APT Cache
run: apt-get update -y
- name: Build Package - name: Build Package
run: ./mainv3.sh run: ./mainv3.sh

View File

@ -30,6 +30,9 @@ jobs:
known_hosts: ${{ secrets.KNOWN_HOSTS }} known_hosts: ${{ secrets.KNOWN_HOSTS }}
if_key_exists: replace if_key_exists: replace
- name: Update APT Cache
run: apt-get update -y
- name: Build Package - name: Build Package
run: ./maini386.sh run: ./maini386.sh

View File

@ -30,6 +30,9 @@ jobs:
known_hosts: ${{ secrets.KNOWN_HOSTS }} known_hosts: ${{ secrets.KNOWN_HOSTS }}
if_key_exists: replace if_key_exists: replace
- name: Update APT Cache
run: apt-get update -y
- name: Build Package - name: Build Package
run: ./mainv3.sh run: ./mainv3.sh

2
debian/changelog vendored
View File

@ -1,4 +1,4 @@
upstream-name (pkgver-pkgrel) distro_codename; urgency=medium upstream-name (1.0-101pika1) pika; urgency=medium
* Initial release. (Closes: #nnnn) <nnnn is the bug number of your ITP> * Initial release. (Closes: #nnnn) <nnnn is the bug number of your ITP>

18
debian/rules vendored
View File

@ -4,20 +4,6 @@
## Output every command that modifies files on the build system. ## Output every command that modifies files on the build system.
export DH_VERBOSE = 1 export DH_VERBOSE = 1
## === Set paths env vars ===
## Source directory, called upon by $(srcdir)
srcdir = $(shell debian/scripts/get_pwd.sh)
## The Root of package number one, called upon by $(pkgdir1)
pkgdir1 = $(srcdir)/debian/pkgdir1
## The Root of package number two, you can add as many of these as you like
pkgdir2 = $(srcdir)/debian/pkgdir2
## If building a singular package you can remove the number, and as you guessed you call upon it with $(pkgdir)
# pkgdir = $(srcdir)/debian/pkgdir
## === End end of region ===
## === the chain of command === ## === the chain of command ===
## debuild runs a chain of dh functions in the following order: ## debuild runs a chain of dh functions in the following order:
## dh_testdir ## dh_testdir
@ -70,8 +56,8 @@ pkgdir2 = $(srcdir)/debian/pkgdir2
## overriding dh_install to install files to a package: ## overriding dh_install to install files to a package:
#override_dh_auto_configure: #override_dh_auto_configure:
# mkdir -p $(pkgdir1)/usr/bin # mkdir -p debian/pikman/usr/bin
# cp $(srcdir)/pikman $(pkgdir1)/usr/bin/ # cp pikman debian/pikman/usr/bin/
## === End end of region === ## === End end of region ===

View File

@ -1,2 +0,0 @@
#! /bin/sh
env | grep -w "PWD" | cut -c5-

View File

@ -1 +1 @@
3.0 (native) 3.0 (quilt)

View File

@ -1,5 +1,9 @@
#! /bin/bash #! /bin/bash
set -e
VERSION="1.0"
export DEBIAN_FRONTEND="noninteractive" export DEBIAN_FRONTEND="noninteractive"
export DEB_BUILD_OPTIONS="nocheck notest terse" export DEB_BUILD_OPTIONS="nocheck notest terse"
export DPKG_GENSYMBOLS_CHECK_LEVEL=0 export DPKG_GENSYMBOLS_CHECK_LEVEL=0
@ -10,6 +14,7 @@ cp -rvf ./debian ./src-pkg-name/
cd ./src-pkg-name/ cd ./src-pkg-name/
# Get build deps # Get build deps
LOGNAME=root dh_make --createorig -y -l -p src-pkg-name_"$VERSION" || echo "dh-make: Ignoring Last Error"
apt-get build-dep ./ -y apt-get build-dep ./ -y
# Build package # Build package

View File

@ -1,5 +1,9 @@
#! /bin/bash #! /bin/bash
set -e
VERSION="1.0"
export DEBIAN_FRONTEND="noninteractive" export DEBIAN_FRONTEND="noninteractive"
export DEB_BUILD_MAINT_OPTIONS="optimize=+lto -march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32" export DEB_BUILD_MAINT_OPTIONS="optimize=+lto -march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32"
export DEB_CFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32" export DEB_CFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32"
@ -15,6 +19,7 @@ cp -rvf ./debian ./src-pkg-name/
cd ./src-pkg-name/ cd ./src-pkg-name/
# Get build deps # Get build deps
LOGNAME=root dh_make --createorig -y -l -p src-pkg-name_"$VERSION" || echo "dh-make: Ignoring Last Error"
apt-get build-dep ./ -y apt-get build-dep ./ -y
# Build package # Build package