From b514f561cc887c812ac77bc4a258f28854a0cbb1 Mon Sep 17 00:00:00 2001 From: "Ward Nakchbandi (Cosmic Fusion)" <83735213+CosmicFusion@users.noreply.github.com> Date: Fri, 24 Feb 2023 09:13:32 -0500 Subject: [PATCH] Test build --- .github/workflows/release.yml | 2 +- adw-gtk3-4.1/.gitignore | 5 ----- {adw-gtk3-4.1/debian => debian}/changelog | 0 {adw-gtk3-4.1/debian => debian}/control | 0 {adw-gtk3-4.1/debian => debian}/rules | 0 {adw-gtk3-4.1/debian => debian}/source/format | 0 main.sh | 15 +++++++++++++++ orig.source.txt | 2 +- release.sh | 4 ++-- 9 files changed, 19 insertions(+), 9 deletions(-) delete mode 100644 adw-gtk3-4.1/.gitignore rename {adw-gtk3-4.1/debian => debian}/changelog (100%) rename {adw-gtk3-4.1/debian => debian}/control (100%) rename {adw-gtk3-4.1/debian => debian}/rules (100%) mode change 100755 => 100644 rename {adw-gtk3-4.1/debian => debian}/source/format (100%) create mode 100644 main.sh diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8d7310c..a4a9ec2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@v3 - name: Install needed packages - run: apt update && apt install bc gpg gpg-agent bison build-essential ccache cpio fakeroot flex git kmod libelf-dev libncurses5-dev libssl-dev lz4 qtbase5-dev rsync schedtool wget zstd tar reprepro dpkg-sig -y + run: apt update && apt install bc gpg gpg-agent bison build-essential ccache cpio fakeroot flex git kmod libelf-dev libncurses5-dev libssl-dev lz4 qtbase5-dev rsync schedtool wget zstd tar reprepro dpkg-sig devscripts -y - name: Import GPG key id: import_gpg diff --git a/adw-gtk3-4.1/.gitignore b/adw-gtk3-4.1/.gitignore deleted file mode 100644 index 6be3e65..0000000 --- a/adw-gtk3-4.1/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -# Ignore Backup Copies from Text Editor -*~ - -# Ignore meson build directory -build diff --git a/adw-gtk3-4.1/debian/changelog b/debian/changelog similarity index 100% rename from adw-gtk3-4.1/debian/changelog rename to debian/changelog diff --git a/adw-gtk3-4.1/debian/control b/debian/control similarity index 100% rename from adw-gtk3-4.1/debian/control rename to debian/control diff --git a/adw-gtk3-4.1/debian/rules b/debian/rules old mode 100755 new mode 100644 similarity index 100% rename from adw-gtk3-4.1/debian/rules rename to debian/rules diff --git a/adw-gtk3-4.1/debian/source/format b/debian/source/format similarity index 100% rename from adw-gtk3-4.1/debian/source/format rename to debian/source/format diff --git a/main.sh b/main.sh new file mode 100644 index 0000000..61a3fc4 --- /dev/null +++ b/main.sh @@ -0,0 +1,15 @@ +# Add dependent repositories +wget -q -O - https://ppa.pika-os.com/key.gpg | sudo apt-key add - +sudo add-apt-repository https://ppa.pika-os.com +sudo add-apt-repository ppa:pikaos/pika +sudo add-apt-repository ppa:kubuntu-ppa/backports +# Clone Upstream +https://github.com/lassekongo83/adw-gtk3 +cp -rvf ./debian ./adw-gtk3/ +cd ./adw-gtk3 + +# Get build deps +sudo apt-get build-dep ./ + +# Build binaries +echo -ne '\n' | debuild -us -uc \ No newline at end of file diff --git a/orig.source.txt b/orig.source.txt index 95f989c..91a7172 100644 --- a/orig.source.txt +++ b/orig.source.txt @@ -1 +1 @@ -adw-gtk3_4.1.orig.tar.gz +https://github.com/lassekongo83/adw-gtk3 \ No newline at end of file diff --git a/release.sh b/release.sh index b7586a7..f0142ee 100644 --- a/release.sh +++ b/release.sh @@ -5,10 +5,10 @@ dpkg-sig --sign builder ./output/packageNameHere*.deb rsync -azP --exclude '*.deb' ferreo@pika-os.com:/srv/www/pikappa/ ./output/repo # Remove our existing package from the repo -reprepro -V --basedir ./output/repo/ removefilter kinetic 'Package (% packageNameHere*)' +reprepro -V --basedir ./output/repo/ removefilter kinetic 'Package (% adw-gtk3-theme*)' # Add the new package to the repo -reprepro -V --basedir ./output/repo/ includedeb kinetic ./output/packageNameHere*.deb +reprepro -V --basedir ./output/repo/ includedeb kinetic ./output/adw-gtk3-theme*.deb # Push the updated ppa repo to the server rsync -azP ./output/repo/ ferreo@pika-os.com:/srv/www/pikappa/ \ No newline at end of file