diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..c7ce2d4 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,52 @@ +name: Build + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + Ubuntu: + name: Ubuntu latest build + runs-on: ubuntu-latest + permissions: write-all + + steps: + - name: Checkout Source + uses: actions/checkout@v3 + + - name: Add Simple Linux DE repository + run : | + sudo mkdir -p /etc/apt/sources.list.d + sudo bash -c "echo 'deb [trusted=yes] https://gitcode.net/simple-linux-de/debserver/-/raw/master unstable main contrib non-free' > /etc/apt/sources.list.d/simplelinux.list" + + - name: Update repository + run: sudo apt update -y + + - name: Install the basic dev packages + + run: sudo apt install -y equivs curl git devscripts lintian build-essential automake autotools-dev cmake g++ cutefish-core cutefish-kwin-plugins cutefish-qt-plugins fishui libcutefish + + - name: Install build dependencies + run: sudo mk-build-deps -i -t "apt-get --yes" -r + + - name: Build Package + run: sudo dpkg-buildpackage -b -uc -us -nc -tc -j$(nproc) + + - name: Get current date + id: date + run: echo "::set-output name=today::$(date +'%Y-%m-%d-%s')" + + - name: Upload build + uses: "marvinpinto/action-automatic-releases@latest" + with: + repo_token: "${{ secrets.GITHUB_TOKEN }}" + automatic_release_tag: "autobuild" + prerelease: true + title: "Development Build ${{ steps.date.outputs.today }}" + files: | + ../**/*.deb + ../**/*.ddeb + ../**/*.buildinfo + ../**/*.changes \ No newline at end of file diff --git a/debian/changelog b/debian/changelog index 311c8af..febd2da 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +texteditor (0.8-alpha1) UNRELEASED; urgency=low + + * Move Project to Simple Linux DE + + -- The Simple Linux DE Develop Group Mon, 30 Jan 2023 00:00:00 +0800 + texteditor (0.7-1) UNRELEASED; urgency=medium * Initial Release. diff --git a/debian/control b/debian/control index 30028e8..2331cf1 100644 --- a/debian/control +++ b/debian/control @@ -1,14 +1,35 @@ Source: texteditor Section: devel Priority: optional -Maintainer: CutefishOS +Maintainer: The Simple Linux DE Develop Group Build-Depends: cmake, debhelper (>= 9), - libkf5syntaxhighlighting-dev + libkf5syntaxhighlighting-dev, + extra-cmake-modules, + qtbase5-dev, + qtdeclarative5-dev, + qtquickcontrols2-5-dev, + qttools5-dev, + qttools5-dev-tools, + fishui, + libcutefish Standards-Version: 4.5.0 -Homepage: https://github.com/cutefishos/texteditor +Homepage: https://github.com/Simple-Linux-DE/texteditor Package: texteditor Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends} +Depends: qml-module-qtquick-controls2, + qml-module-qtquick2, + qml-module-qtquick-layouts, + qml-module-qt-labs-platform, + qml-module-qt-labs-settings, + qml-module-qtqml, + qml-module-qtquick-window2, + qml-module-qtquick-shapes, + qml-module-qtquick-dialogs, + qml-module-qtgraphicaleffects, + fishui, + libcutefish, + ${shlibs:Depends}, + ${misc:Depends} Description: CutefishOS Texteditor diff --git a/debian/copyright b/debian/copyright index 1890d22..74bb87e 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,7 +1,7 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: texteditor-0.7 Upstream-Contact: -Source: +Source: https://github.com/Simple-Linux-DE Files: * Copyright: diff --git a/debian/source/format b/debian/source/format index 163aaf8..46ebe02 100644 --- a/debian/source/format +++ b/debian/source/format @@ -1 +1 @@ -3.0 (quilt) +3.0 (quilt) \ No newline at end of file