diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index 6cb80ae2c68279d93d161dd48c2bf0b4905b43fc..0000000000000000000000000000000000000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,730 +0,0 @@ -#/* -# *.gitlab-ci.yml -# * -# * Copyright 2018 Raju Devidas -# * -# * This program is free software; you can redistribute it and/or modify -# * it under the terms of the GNU General Public License as published by -# * the Free Software Foundation; either version 2 of the License, or -# * (at your option) any later version. -# * -# * This program is distributed in the hope that it will be useful, -# * but WITHOUT ANY WARRANTY; without even the implied warranty of -# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# * GNU General Public License for more details. -# * -# * You should have received a copy of the GNU General Public License -# * along with this program; if not, write to the Free Software -# * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, -# * MA 02110-1301, USA. -# * -# * -# */ - -# Defines stages each corresponding to a separate hamara-package - -stages: - - build-calamares-settings-hamara-amd64 - - build-calamares-settings-hamara-i386 - - - build-grub-theme-hamara-amd64 - - build-grub-theme-hamara-i386 - - - build-hamara-keyring-2016.5-amd64 - - build-hamara-keyring-2016.5-i386 - - - build-hamara-live-amd64 - - build-hamara-live-i386 - - - build-hamara-sugam-config-amd64 - - build-hamara-sugam-config-i386 - - - build-hamara-wallpapers-amd64 - - build-hamara-wallpapers-i386 - - - build-hamara-welcome-amd64 - - build-hamara-welcome-i386 - - - build-lightdm-webkit-greeter-amd64 - - build-lightdm-webkit-greeter-i386 - - - build-lightdm-webkit-greeter-hamara-amd64 - - build-lightdm-webkit-greeter-hamara-i386 - - - build-materia-gtk-theme-amd64 - - build-materia-gtk-theme-i386 - - - build-paper-icon-theme-amd64 - - build-paper-icon-theme-i386 - - - build-plymouth-theme-hamara-amd64 - - build-plymouth-theme-hamara-i386 - - - build-source-sans-pro-amd64 - - build-source-sans-pro-i386 - -# These steps will run before each build. -# They are included here to avoid repetition of same code on later stages. -# similar to a macro - -before_script: - - export DEBIAN_FRONTEND=noninteractive - - echo "Preparing the container for builds" - - apt update - - apt-get -y upgrade - - apt-get -y dist-upgrade - - apt-get -y install apt-utils figlet dpkg-dev fakeroot git-buildpackage lintian pristine-tar - - figlet BUILD - -#---------------------------------------------------------------------------------------------------------------- -#amd64 build -build-calamares-settings-hamara-amd64: - stage: build-calamares-settings-hamara-amd64 - image: - name: rajudev/hamara-builder:amd64 - allow_failure: true - dependencies: [] - - script: - - cd packages/calamares-settings-hamara/ - - export BUILD_DEPENDS=`perl -ne 'next if /^#/; $p=(s/^Build-Depends:\s*/ / or (/^ / and $p)); s/,|\n|\([^)]+\)//mg; print if $p' < debian/control` - - apt-get install -y --no-install-recommends $BUILD_DEPENDS - - apt-get -y autoremove --purge - - apt-get clean - - rm -rf /var/lib/apt/lists/* - - dpkg-buildpackage -us -uc - - ls -al / # test the directory structure presence - #copy the contents of the package to the incoming directory - - echo "Deploying packages to repositories" - - cp ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo /incoming/ - - artifacts: - untracked: true - expire_in: 1 day - -#i386 build -build-calamares-settings-hamara-i386: - stage: build-calamares-settings-hamara-i386 - image: - name: rajudev/hamara-builder:i386 - allow_failure: true - dependencies: [] - - script: - - cd packages/calamares-settings-hamara/ - - export BUILD_DEPENDS=`perl -ne 'next if /^#/; $p=(s/^Build-Depends:\s*/ / or (/^ / and $p)); s/,|\n|\([^)]+\)//mg; print if $p' < debian/control` - - apt-get install -y --no-install-recommends $BUILD_DEPENDS - - apt-get -y autoremove --purge - - apt-get clean - - rm -rf /var/lib/apt/lists/* - - dpkg-buildpackage -us -uc - - ls -al / # test the directory structure presence - #copy the contents of the package to the incoming directory - - echo "Deploying packages to repositories" - - cp ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo /incoming/ - - artifacts: - untracked: true - expire_in: 1 day - -#---------------------------------------------------------------------------------------------------------------- -#amd64 build -build-grub-theme-hamara-amd64: - stage: build-grub-theme-hamara-amd64 - image: - name: rajudev/hamara-builder:amd64 - allow_failure: true - dependencies: [] - - script: - - cd packages/grub-theme-hamara/ - - export BUILD_DEPENDS=`perl -ne 'next if /^#/; $p=(s/^Build-Depends:\s*/ / or (/^ / and $p)); s/,|\n|\([^)]+\)//mg; print if $p' < debian/control` - - apt-get install -y --no-install-recommends $BUILD_DEPENDS - - apt-get -y autoremove --purge - - apt-get clean - - rm -rf /var/lib/apt/lists/* - - dpkg-buildpackage -us -uc - - ls -al / # test the directory structure presence - - echo "Deploying packages to repositories" - - cp ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo /incoming/ - - artifacts: - untracked: true - expire_in: 1 day - -#i386 build -build-grub-theme-hamara-i386: - stage: build-grub-theme-hamara-i386 - image: - name: rajudev/hamara-builder:i386 - allow_failure: true - dependencies: [] - - script: - - cd packages/grub-theme-hamara/ - - export BUILD_DEPENDS=`perl -ne 'next if /^#/; $p=(s/^Build-Depends:\s*/ / or (/^ / and $p)); s/,|\n|\([^)]+\)//mg; print if $p' < debian/control` - - apt-get install -y --no-install-recommends $BUILD_DEPENDS - - apt-get -y autoremove --purge - - apt-get clean - - rm -rf /var/lib/apt/lists/* - - dpkg-buildpackage -us -uc - - ls -al / # test the directory structure presence - - echo "Deploying packages to repositories" - - cp ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo /incoming/ - - artifacts: - untracked: true - expire_in: 1 day - -#---------------------------------------------------------------------------------------------------------------- -#amd64 build -build-hamara-keyring-2016.5-amd64: - stage: build-hamara-keyring-2016.5-amd64 - image: - name: rajudev/hamara-builder:amd64 - allow_failure: true - dependencies: [] - - script: - - cd packages/hamara-keyring-2016.5/ - - export BUILD_DEPENDS=`perl -ne 'next if /^#/; $p=(s/^Build-Depends:\s*/ / or (/^ / and $p)); s/,|\n|\([^)]+\)//mg; print if $p' < debian/control` - - apt-get install -y --no-install-recommends $BUILD_DEPENDS - - apt-get -y autoremove --purge - - apt-get clean - - rm -rf /var/lib/apt/lists/* - - dpkg-buildpackage -us -uc - - ls -al / # test the directory structure presence - - echo "Deploying packages to repositories" - - cp ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo /incoming/ - - artifacts: - untracked: true - expire_in: 1 day - -#i386 build -build-hamara-keyring-2016.5-i386: - stage: build-hamara-keyring-2016.5-i386 - image: - name: rajudev/hamara-builder:i386 - allow_failure: true - dependencies: [] - - script: - - cd packages/hamara-keyring-2016.5/ - - export BUILD_DEPENDS=`perl -ne 'next if /^#/; $p=(s/^Build-Depends:\s*/ / or (/^ / and $p)); s/,|\n|\([^)]+\)//mg; print if $p' < debian/control` - - apt-get install -y --no-install-recommends $BUILD_DEPENDS - - apt-get -y autoremove --purge - - apt-get clean - - rm -rf /var/lib/apt/lists/* - - dpkg-buildpackage -us -uc - - ls -al / # test the directory structure presence - - echo "Deploying packages to repositories" - - cp ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo /incoming/ - - artifacts: - untracked: true - expire_in: 1 day -#---------------------------------------------------------------------------------------------------------------- -#amd64 build -build-hamara-live-amd64: - stage: build-hamara-live-amd64 - image: - name: rajudev/hamara-builder:amd64 - allow_failure: true - dependencies: [] - - script: - - cd packages/hamara-live/ - - export BUILD_DEPENDS=`perl -ne 'next if /^#/; $p=(s/^Build-Depends:\s*/ / or (/^ / and $p)); s/,|\n|\([^)]+\)//mg; print if $p' < debian/control` - - apt-get install -y --no-install-recommends $BUILD_DEPENDS - - apt-get -y autoremove --purge - - apt-get clean - - rm -rf /var/lib/apt/lists/* - - dpkg-buildpackage -us -uc - - ls -al / # test the directory structure presence - - echo "Deploying packages to repositories" - - cp ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo /incoming/ - - artifacts: - untracked: true - expire_in: 1 day - - -#i386 build -build-hamara-live-i386: - stage: build-hamara-live-i386 - image: - name: rajudev/hamara-builder:i386 - allow_failure: true - dependencies: [] - - script: - - cd packages/hamara-live/ - - export BUILD_DEPENDS=`perl -ne 'next if /^#/; $p=(s/^Build-Depends:\s*/ / or (/^ / and $p)); s/,|\n|\([^)]+\)//mg; print if $p' < debian/control` - - apt-get install -y --no-install-recommends $BUILD_DEPENDS - - apt-get -y autoremove --purge - - apt-get clean - - rm -rf /var/lib/apt/lists/* - - dpkg-buildpackage -us -uc - - ls -al / # test the directory structure presence - - echo "Deploying packages to repositories" - - cp ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo /incoming/ - - artifacts: - untracked: true - expire_in: 1 day - -#---------------------------------------------------------------------------------------------------------------- -#amd64 build -build-hamara-sugam-config-amd64: - stage: build-hamara-sugam-config-amd64 - image: - name: rajudev/hamara-builder:amd64 - allow_failure: true - dependencies: [] - - script: - - cd packages/hamara-sugam-config/ - - export BUILD_DEPENDS=`perl -ne 'next if /^#/; $p=(s/^Build-Depends:\s*/ / or (/^ / and $p)); s/,|\n|\([^)]+\)//mg; print if $p' < debian/control` - - apt-get install -y --no-install-recommends $BUILD_DEPENDS - - apt-get -y autoremove --purge - - apt-get clean - - rm -rf /var/lib/apt/lists/* - - dpkg-buildpackage -us -uc - - ls -al / # test the directory structure presence - - echo "Deploying packages to repositories" - - cp ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo /incoming/ - - artifacts: - untracked: true - expire_in: 1 day - -#i386 build -build-hamara-sugam-config-i386: - stage: build-hamara-sugam-config-i386 - image: - name: rajudev/hamara-builder:i386 - allow_failure: true - dependencies: [] - - script: - - cd packages/hamara-sugam-config/ - - export BUILD_DEPENDS=`perl -ne 'next if /^#/; $p=(s/^Build-Depends:\s*/ / or (/^ / and $p)); s/,|\n|\([^)]+\)//mg; print if $p' < debian/control` - - apt-get install -y --no-install-recommends $BUILD_DEPENDS - - apt-get -y autoremove --purge - - apt-get clean - - rm -rf /var/lib/apt/lists/* - - dpkg-buildpackage -us -uc - - ls -al / # test the directory structure presence - - echo "Deploying packages to repositories" - - cp ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo /incoming/ - - artifacts: - untracked: true - expire_in: 1 day - - -#---------------------------------------------------------------------------------------------------------------- - -#amd64 build -build-hamara-wallpapers-amd64: - stage: build-hamara-wallpapers-amd64 - image: - name: rajudev/hamara-builder:amd64 - allow_failure: true - dependencies: [] - - script: - - cd packages/hamara-wallpapers/ - - export BUILD_DEPENDS=`perl -ne 'next if /^#/; $p=(s/^Build-Depends:\s*/ / or (/^ / and $p)); s/,|\n|\([^)]+\)//mg; print if $p' < debian/control` - - apt-get install -y --no-install-recommends $BUILD_DEPENDS - - apt-get -y autoremove --purge - - apt-get clean - - rm -rf /var/lib/apt/lists/* - - dpkg-buildpackage -us -uc - - ls -al / # test the directory structure presence - - echo "Deploying packages to repositories" - - cp ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo /incoming/ - - artifacts: - untracked: true - expire_in: 1 day - -#i386 build -build-hamara-wallpapers-i386: - stage: build-hamara-wallpapers-i386 - image: - name: rajudev/hamara-builder:i386 - allow_failure: true - dependencies: [] - - script: - - cd packages/hamara-wallpapers/ - - export BUILD_DEPENDS=`perl -ne 'next if /^#/; $p=(s/^Build-Depends:\s*/ / or (/^ / and $p)); s/,|\n|\([^)]+\)//mg; print if $p' < debian/control` - - apt-get install -y --no-install-recommends $BUILD_DEPENDS - - apt-get -y autoremove --purge - - apt-get clean - - rm -rf /var/lib/apt/lists/* - - dpkg-buildpackage -us -uc - - ls -al / # test the directory structure presence - - echo "Deploying packages to repositories" - - cp ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo /incoming/ - - artifacts: - untracked: true - expire_in: 1 day - -#---------------------------------------------------------------------------------------------------------------- -#amd64 build -build-hamara-welcome-amd64: - stage: build-hamara-welcome-amd64 - image: - name: rajudev/hamara-builder:amd64 - allow_failure: true - dependencies: [] - - script: - - cd packages/hamara-welcome/ - - export BUILD_DEPENDS=`perl -ne 'next if /^#/; $p=(s/^Build-Depends:\s*/ / or (/^ / and $p)); s/,|\n|\([^)]+\)//mg; print if $p' < debian/control` - - apt-get install -y --no-install-recommends $BUILD_DEPENDS - - apt-get -y autoremove --purge - - apt-get clean - - rm -rf /var/lib/apt/lists/* - - dpkg-buildpackage -us -uc - - ls -al / # test the directory structure presence - - echo "Deploying packages to repositories" - - cp ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo /incoming/ - - artifacts: - untracked: true - expire_in: 1 day - -#i386 build -build-hamara-welcome-i386: - stage: build-hamara-welcome-i386 - image: - name: rajudev/hamara-builder:i386 - allow_failure: true - dependencies: [] - - script: - - cd packages/hamara-welcome - - export BUILD_DEPENDS=`perl -ne 'next if /^#/; $p=(s/^Build-Depends:\s*/ / or (/^ / and $p)); s/,|\n|\([^)]+\)//mg; print if $p' < debian/control` - - apt-get install -y --no-install-recommends $BUILD_DEPENDS - - apt-get -y autoremove --purge - - apt-get clean - - rm -rf /var/lib/apt/lists/* - - dpkg-buildpackage -us -uc - - ls -al / # test the directory structure presence - - echo "Deploying packages to repositories" - - cp ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo /incoming/ - - artifacts: - untracked: true - expire_in: 1 day - - -#---------------------------------------------------------------------------------------------------------------- -#amd64 build -build-lightdm-webkit-greeter-amd64: - stage: build-lightdm-webkit-greeter-amd64 - image: - name: rajudev/hamara-builder:amd64 - allow_failure: true - dependencies: [] - - script: - - cd packages/lightdm-webkit-greeter - - export BUILD_DEPENDS=`perl -ne 'next if /^#/; $p=(s/^Build-Depends:\s*/ / or (/^ / and $p)); s/,|\n|\([^)]+\)//mg; print if $p' < debian/control` - - apt-get install -y --no-install-recommends $BUILD_DEPENDS - - apt-get -y install liblightdm-gobject-dev #additional dependency required to build lightdm-webkit-greeter - - apt-get -y autoremove --purge - - apt-get clean - - rm -rf /var/lib/apt/lists/* - - dpkg-buildpackage -us -uc - - ls -al / # test the directory structure presence - - echo "Deploying packages to repositories" - - cp ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo /incoming/ - - artifacts: - untracked: true - expire_in: 1 day - -#i386 build -build-lightdm-webkit-greeter-i386: - stage: build-lightdm-webkit-greeter-i386 - image: - name: rajudev/hamara-builder:i386 - allow_failure: true - dependencies: [] - - script: - - cd packages/lightdm-webkit-greeter - - export BUILD_DEPENDS=`perl -ne 'next if /^#/; $p=(s/^Build-Depends:\s*/ / or (/^ / and $p)); s/,|\n|\([^)]+\)//mg; print if $p' < debian/control` - - apt-get install -y --no-install-recommends $BUILD_DEPENDS - - apt-get -y install liblightdm-gobject-dev #additional dependency required to build lightdm-webkit-greeter - - apt-get -y autoremove --purge - - apt-get clean - - rm -rf /var/lib/apt/lists/* - - dpkg-buildpackage -us -uc - - ls -al / # test the directory structure presence - - echo "Deploying packages to repositories" - - cp ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo /incoming/ - - artifacts: - untracked: true - expire_in: 1 day - -#---------------------------------------------------------------------------------------------------------------- -#amd64 build -build-lightdm-webkit-greeter-hamara-amd64: - stage: build-lightdm-webkit-greeter-hamara-amd64 - image: - name: rajudev/hamara-builder:amd64 - allow_failure: true - dependencies: [] - - script: - - cd packages/lightdm-webkit-greeter-hamara - - export BUILD_DEPENDS=`perl -ne 'next if /^#/; $p=(s/^Build-Depends:\s*/ / or (/^ / and $p)); s/,|\n|\([^)]+\)//mg; print if $p' < debian/control` - - apt-get install -y --no-install-recommends $BUILD_DEPENDS - - apt-get -y autoremove --purge - - apt-get clean - - rm -rf /var/lib/apt/lists/* - - dpkg-buildpackage -us -uc - - ls -al / # test the directory structure presence - - echo "Deploying packages to repositories" - - cp ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo /incoming/ - - artifacts: - untracked: true - expire_in: 1 day - - -#i386 build -build-lightdm-webkit-greeter-hamara-i386: - stage: build-lightdm-webkit-greeter-hamara-i386 - image: - name: rajudev/hamara-builder:i386 - allow_failure: true - dependencies: [] - - script: - - cd packages/lightdm-webkit-greeter-hamara - - export BUILD_DEPENDS=`perl -ne 'next if /^#/; $p=(s/^Build-Depends:\s*/ / or (/^ / and $p)); s/,|\n|\([^)]+\)//mg; print if $p' < debian/control` - - apt-get install -y --no-install-recommends $BUILD_DEPENDS - - apt-get -y autoremove --purge - - apt-get clean - - rm -rf /var/lib/apt/lists/* - - dpkg-buildpackage -us -uc - - ls -al / # test the directory structure presence - - echo "Deploying packages to repositories" - - cp ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo /incoming/ - - artifacts: - untracked: true - expire_in: 1 day - - -#---------------------------------------------------------------------------------------------------------------- - -#amd64 build -build-materia-gtk-theme-amd64: - stage: build-materia-gtk-theme-amd64 - image: - name: rajudev/hamara-builder:amd64 - allow_failure: true - dependencies: [] - - script: - - cd packages/materia-gtk-theme - - export BUILD_DEPENDS=`perl -ne 'next if /^#/; $p=(s/^Build-Depends:\s*/ / or (/^ / and $p)); s/,|\n|\([^)]+\)//mg; print if $p' < debian/control` - - apt-get install -y --no-install-recommends $BUILD_DEPENDS - - apt-get -y autoremove --purge - - apt-get clean - - rm -rf /var/lib/apt/lists/* - - dpkg-buildpackage -us -uc - - ls -al / # test the directory structure presence - - echo "Deploying packages to repositories" - - cp ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo /incoming/ - - artifacts: - untracked: true - expire_in: 1 day - -#i386 build -build-materia-gtk-theme-i386: - stage: build-materia-gtk-theme-i386 - image: - name: rajudev/hamara-builder:i386 - allow_failure: true - dependencies: [] - - script: - - cd packages/materia-gtk-theme - - export BUILD_DEPENDS=`perl -ne 'next if /^#/; $p=(s/^Build-Depends:\s*/ / or (/^ / and $p)); s/,|\n|\([^)]+\)//mg; print if $p' < debian/control` - - apt-get install -y --no-install-recommends $BUILD_DEPENDS - - apt-get -y autoremove --purge - - apt-get clean - - rm -rf /var/lib/apt/lists/* - - dpkg-buildpackage -us -uc - - ls -al / # test the directory structure presence - - echo "Deploying packages to repositories" - - cp ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo /incoming/ - - artifacts: - untracked: true - expire_in: 1 day - -#---------------------------------------------------------------------------------------------------------------- -#amd64 build -build-paper-icon-theme-amd64: - stage: build-paper-icon-theme-amd64 - image: - name: rajudev/hamara-builder:amd64 - allow_failure: true - dependencies: [] - - script: - - cd packages/paper-icon-theme - - export BUILD_DEPENDS=`perl -ne 'next if /^#/; $p=(s/^Build-Depends:\s*/ / or (/^ / and $p)); s/,|\n|\([^)]+\)//mg; print if $p' < debian/control` - - apt-get install -y --no-install-recommends $BUILD_DEPENDS - - apt-get -y autoremove --purge - - apt-get clean - - rm -rf /var/lib/apt/lists/* - - dpkg-buildpackage -us -uc - - ls -al / # test the directory structure presence - - echo "Deploying packages to repositories" - - cp ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo /incoming/ - - mkdir paper-icon-theme-artifacts - - cp ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo paper-icon-theme-artifacts - - artifacts: - paths: - - paper-icon-theme-artifacts/* - untracked: false - expire_in: 1 day - -#i386 build -build-paper-icon-theme-i386: - stage: build-paper-icon-theme-i386 - image: - name: rajudev/hamara-builder:i386 - allow_failure: true - dependencies: [] - - script: - - cd packages/paper-icon-theme - - export BUILD_DEPENDS=`perl -ne 'next if /^#/; $p=(s/^Build-Depends:\s*/ / or (/^ / and $p)); s/,|\n|\([^)]+\)//mg; print if $p' < debian/control` - - apt-get install -y --no-install-recommends $BUILD_DEPENDS - - apt-get -y autoremove --purge - - apt-get clean - - rm -rf /var/lib/apt/lists/* - - dpkg-buildpackage -us -uc - - ls -al / # test the directory structure presence - - echo "Deploying packages to repositories" - - cp ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo /incoming/ - - mkdir paper-icon-theme-artifacts - - cp ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo paper-icon-theme-artifacts - - artifacts: - paths: - - paper-icon-theme-artifacts/* - untracked: false - expire_in: 1 day - -#---------------------------------------------------------------------------------------------------------------- -#amd64 build -build-plymouth-theme-hamara-amd64: - stage: build-plymouth-theme-hamara-amd64 - image: - name: rajudev/hamara-builder:amd64 - allow_failure: true - dependencies: [] - - script: - - cd packages/plymouth-theme-hamara - - export BUILD_DEPENDS=`perl -ne 'next if /^#/; $p=(s/^Build-Depends:\s*/ / or (/^ / and $p)); s/,|\n|\([^)]+\)//mg; print if $p' < debian/control` - - apt-get install -y --no-install-recommends $BUILD_DEPENDS - - apt-get -y autoremove --purge - - apt-get clean - - rm -rf /var/lib/apt/lists/* - - dpkg-buildpackage -us -uc - - ls -al / # test the directory structure presence - - echo "Deploying packages to repositories" - - cp ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo /incoming/ - artifacts: - untracked: true - expire_in: 1 day - -#i386 build -build-plymouth-theme-hamara-i386: - stage: build-plymouth-theme-hamara-i386 - image: - name: rajudev/hamara-builder:i386 - allow_failure: true - dependencies: [] - - script: - - cd packages/plymouth-theme-hamara - - export BUILD_DEPENDS=`perl -ne 'next if /^#/; $p=(s/^Build-Depends:\s*/ / or (/^ / and $p)); s/,|\n|\([^)]+\)//mg; print if $p' < debian/control` - - apt-get install -y --no-install-recommends $BUILD_DEPENDS - - apt-get -y autoremove --purge - - apt-get clean - - rm -rf /var/lib/apt/lists/* - - dpkg-buildpackage -us -uc - - ls -al / # test the directory structure presence - - echo "Deploying packages to repositories" - - cp ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo /incoming/ - artifacts: - untracked: true - expire_in: 1 day -#---------------------------------------------------------------------------------------------------------------- -#amd64 build -build-source-sans-pro-amd64: - stage: build-source-sans-pro-amd64 - image: - name: rajudev/hamara-builder:amd64 - allow_failure: true - dependencies: [] - - script: - - cd packages/source-sans-pro - - export BUILD_DEPENDS=`perl -ne 'next if /^#/; $p=(s/^Build-Depends:\s*/ / or (/^ / and $p)); s/,|\n|\([^)]+\)//mg; print if $p' < debian/control` - - apt-get install -y --no-install-recommends $BUILD_DEPENDS - - apt-get -y autoremove --purge - - apt-get clean - - rm -rf /var/lib/apt/lists/* - - dpkg-buildpackage -us -uc - - ls -al / # test the directory structure presence - - echo "Deploying packages to repositories" - - cp ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo /incoming/ - - artifacts: - untracked: true - expire_in: 1 day - - -#i386 build -build-source-sans-pro-i386: - stage: build-source-sans-pro-i386 - image: - name: rajudev/hamara-builder:i386 - allow_failure: true - dependencies: [] - - script: - - cd packages/source-sans-pro - - export BUILD_DEPENDS=`perl -ne 'next if /^#/; $p=(s/^Build-Depends:\s*/ / or (/^ / and $p)); s/,|\n|\([^)]+\)//mg; print if $p' < debian/control` - - apt-get install -y --no-install-recommends $BUILD_DEPENDS - - apt-get -y autoremove --purge - - apt-get clean - - rm -rf /var/lib/apt/lists/* - - dpkg-buildpackage -us -uc - - ls -al / # test the directory structure presence - - echo "Deploying packages to repositories" - - cp ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo /incoming/ - - artifacts: - untracked: true - expire_in: 1 day diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000000000000000000000000000000000000..806a2664833a8ca9c75a3725a870e992bfebd5ad --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,26 @@ +pipeline { + agent any + + stages { + stage('Prepare') { + steps { + echo 'Preparing the build system environment' + } + } + stage('Build') { + steps { + echo 'Building the package' + } + } + stage('Test') { + steps { + echo 'Testing the package' + } + } + stage('Deploy') { + steps { + echo 'Deploying to repositories..' + } + } + } +} \ No newline at end of file diff --git a/packages/calamares-settings-hamara/calamares/branding/hamara/branding.desc b/packages/calamares-settings-hamara/calamares/branding/hamara/branding.desc index dc6d0cf3b949921afa4d3c15e3aad2df72658d1d..25073d4a653e50725137af4d5ec915487d77c180 100644 --- a/packages/calamares-settings-hamara/calamares/branding/hamara/branding.desc +++ b/packages/calamares-settings-hamara/calamares/branding/hamara/branding.desc @@ -14,13 +14,13 @@ strings: releaseNotesUrl: https://www.hamaralinux.org/beta-release-of-hamara-sugam-2-0/ images: - productLogo: "hamara-logo.png" - productIcon: "hamara-logo.png" + productLogo: "emblem-hamara.svg" + productIcon: "emblem-hamara.svg" productWelcome: "welcome.png" slideshow: "show.qml" style: - sidebarBackground: "#2c3133" + sidebarBackground: "#282828" sidebarText: "#FFFFFF" - sidebarTextSelect: "#4d7079" + sidebarTextSelect: "#282828" diff --git a/packages/calamares-settings-hamara/calamares/branding/hamara/emblem-hamara.svg b/packages/calamares-settings-hamara/calamares/branding/hamara/emblem-hamara.svg new file mode 100644 index 0000000000000000000000000000000000000000..a429fb9dab902f2314d2870b86c64d10a4871732 --- /dev/null +++ b/packages/calamares-settings-hamara/calamares/branding/hamara/emblem-hamara.svg @@ -0,0 +1,92 @@ + + + + + + + image/svg+xml + + favi icon + + + + + favi icon + + + + + + + + + + + diff --git a/packages/calamares-settings-hamara/calamares/branding/hamara/hamara-logo.png b/packages/calamares-settings-hamara/calamares/branding/hamara/hamara-logo.png deleted file mode 100644 index 029b12fdde059764854083b29d531263b72deca4..0000000000000000000000000000000000000000 Binary files a/packages/calamares-settings-hamara/calamares/branding/hamara/hamara-logo.png and /dev/null differ diff --git a/packages/calamares-settings-hamara/calamares/scripts/sources-final b/packages/calamares-settings-hamara/calamares/scripts/sources-final index dcf591008b0aca3ef1d573efc976e633f44b2cb7..f651f1b0468aba69f22890056c07bcba74577282 100755 --- a/packages/calamares-settings-hamara/calamares/scripts/sources-final +++ b/packages/calamares-settings-hamara/calamares/scripts/sources-final @@ -7,6 +7,6 @@ cat < $CHROOT/etc/apt/sources.list deb http://in.devel.hamaralinux.org/hamara-sugam namaste main contrib non-free deb-src http://in.devel.hamaralinux.org/hamara-sugam namaste main contrib non-free # Debian Security Mirror -deb http://security.debian.org/debian-security stretch/updates main -deb-src http://security.debian.org/debian-security stretch/updates main +deb http://security.debian.org/debian-security buster/updates main +deb-src http://security.debian.org/debian-security buster/updates main EOF diff --git a/packages/calamares-settings-hamara/debian/changelog b/packages/calamares-settings-hamara/debian/changelog index f918e733fdf1ce9c29c8dde6cd34d5b845e5ca2b..8b069621be55bf5ffd2318c768bc19626d8c2d53 100644 --- a/packages/calamares-settings-hamara/debian/changelog +++ b/packages/calamares-settings-hamara/debian/changelog @@ -1,3 +1,9 @@ +calamares-settings-hamara (201710) namaste; urgency=medium + + * Updates to the repo URLs in package to point to buster security repos + + -- Raju Devidas Tue, 10 Apr 2018 15:44:24 +0530 + calamares-settings-hamara (201710) namaste; urgency=medium * Added slideshows to Calamares Installer diff --git a/packages/calamares-settings-hamara/debian/compat b/packages/calamares-settings-hamara/debian/compat index ec635144f60048986bc560c5576355344005e6e7..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2 100644 --- a/packages/calamares-settings-hamara/debian/compat +++ b/packages/calamares-settings-hamara/debian/compat @@ -1 +1 @@ -9 +10 diff --git a/packages/calamares-settings-hamara/debian/control b/packages/calamares-settings-hamara/debian/control index dd68426aac7771ef3c08d2a8a71a9d1565820193..3713aecfe0210b4e8df280d258d5310f34ec3cce 100644 --- a/packages/calamares-settings-hamara/debian/control +++ b/packages/calamares-settings-hamara/debian/control @@ -2,8 +2,8 @@ Source: calamares-settings-hamara Section: utils Priority: optional Maintainer: Raju Devidas -Build-Depends: debhelper (>=9) -Standards-Version: 3.9.8 +Build-Depends: debhelper (>=10) +Standards-Version: 4.1.3 Homepage: https://hamaralinux.org Package: calamares-settings-hamara @@ -17,4 +17,4 @@ Description: Configuration for Calamares installer on Hamara Linux This package is intended for use along with calamares installer on a Hamara Linux live desktop. . This is used on live CD and USB images and is not intended for - installation on normal systems. + installation on normal systems. \ No newline at end of file diff --git a/packages/calamares-settings-hamara/debian/copyright b/packages/calamares-settings-hamara/debian/copyright index 18fb18921270c83c2bb1b6037404086d9c2a2641..991fc7e24ea7dc5dcd2a5e111318784a3e905ce8 100644 --- a/packages/calamares-settings-hamara/debian/copyright +++ b/packages/calamares-settings-hamara/debian/copyright @@ -3,7 +3,7 @@ Upstream-Name: calamares-settings-hamara Source: https://git.hamaralinux.org/libregeekingkid/calamares-settings-hamara Files: * -Copyright (C) 2017 Raju Devidas +Copyright (C) 2017 Raju Devidas This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/packages/calamares-settings-hamara/install-hamara-desktop.desktop b/packages/calamares-settings-hamara/install-hamara-desktop.desktop index a66d2123a16a21bfeb748b6b0ff021bdbfeddbfd..7e6515e9955a880c80d21f0f1e1a8f4e945ef5c3 100644 --- a/packages/calamares-settings-hamara/install-hamara-desktop.desktop +++ b/packages/calamares-settings-hamara/install-hamara-desktop.desktop @@ -4,7 +4,7 @@ Version=1.0 Name=Install Hamara Sugam GenericName=System Installer Exec=sudo /usr/bin/calamares -Comment=Calamares — Hamara Sugam Desktop Installer +Comment=Calamares— Hamara Sugam Desktop Installer Icon=install-hamara-linux Terminal=false Categories=Qt; diff --git a/packages/grub-theme-hamara/debian/compat b/packages/grub-theme-hamara/debian/compat index ec635144f60048986bc560c5576355344005e6e7..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2 100644 --- a/packages/grub-theme-hamara/debian/compat +++ b/packages/grub-theme-hamara/debian/compat @@ -1 +1 @@ -9 +10 diff --git a/packages/hamara-live/debian/postinst b/packages/hamara-live/debian/postinst index 39cfa16c17e7b9f8a8f0b01155e83b752e18a78b..f40c6ea6b6891e7d80295235c7592418ff9d30eb 100644 --- a/packages/hamara-live/debian/postinst +++ b/packages/hamara-live/debian/postinst @@ -12,4 +12,5 @@ if [ -e /usr/share/applications/install-hamara-desktop.desktop ];then mkdir -p $DEST_DIR cp /usr/share/applications/install-hamara-desktop.desktop $DEST_DIR chown -R 1000:1000 $DEST_DIR + chmod +x $DEST_DIR/install-hamara-desktop.desktop fi