adapt to OS 4
Some checks failed
PikaOS Package Build & Release (amd64-v3) / build (push) Failing after 19s

This commit is contained in:
Ward from fusion-voyager-3 2024-08-27 01:39:47 +03:00
parent d8794bfa0a
commit 59b77b2cd1
8 changed files with 60 additions and 89 deletions

View File

@ -1 +1 @@
1
2

7
debian/changelog vendored
View File

@ -1,5 +1,6 @@
upstream-name (1.0-101pika1) pika; urgency=medium
papirus-colors (20220526git-101pika1) pika; urgency=medium
* Initial release. (Closes: #nnnn) <nnnn is the bug number of your ITP>
* New upstream changes 20220526
- Removes Network icons favoring symbolic
-- ferreo <harderthanfire@gmail.com> Wed, 18 Jan 2023 21:48:14 +0000
-- Evil Monkey <unknown@pika-os.com>

30
debian/control vendored
View File

@ -1,19 +1,19 @@
Source: upstream-name
Section: admin
Source: papirus-colors
Section: x11
Priority: optional
Maintainer: name <email>
Standards-Version: 4.6.1
Maintainer: Erich Eickmeyer <eeickmeyer@ubuntu.com>
Build-Depends: debhelper-compat (= 13)
Standards-Version: 4.6.0
Homepage: https://github.com/varlesh/papirus-colors
Rules-Requires-Root: no
Package: pkgname1
Architecture: linux-any
# Delete any of these lines if un-used
Depends: ${misc:Depends}, depends
Recommends: high priority optdepends
Conflicts: conflicts
Suggests: low priority optdepends
Breaks: also conflicts!?
Provides: provides
#
Description: pkgdesc
Package: papirus-colors
Architecture: all
Depends: ${shlibs:Depends}, ${misc:Depends},
papirus-icon-theme
Description: Papirus folders with KDE Color Scheme support
Papirus is a SVG-based icon theme, drawing inspiration from
Material Design and flat design.
.
This package contains the folder icons which follow
KDE Color Schemes.

28
debian/copyright vendored
View File

@ -0,0 +1,28 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: papirus-colors
Upstream-Contact: Alexey Varfolomeev
Source: https://github.com/varlesh/papirus-colors
Files: *
Copyright: 2021 Alexey Varfolomeev
License: GPL-3
Files: debian/*
Copyright: 2022 Erich Eickmeyer <eeickmeyer@ubuntu.com>
License: GPL-3
License: GPL-3
This package 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 3 of the License.
.
This package 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, see <https://www.gnu.org/licenses/>
.
On Debian systems, the complete text of the GNU General
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".

2
debian/install vendored Normal file
View File

@ -0,0 +1,2 @@
Papirus-Colors usr/share/icons
Papirus-Colors-Dark usr/share/icons

64
debian/rules vendored
View File

@ -1,67 +1,3 @@
#!/usr/bin/make -f
## See debhelper(7) (uncomment to enable).
## Output every command that modifies files on the build system.
export DH_VERBOSE = 1
export PIKA_BUILD_ARCH = $(shell cat ../pika-build-arch)
## === the chain of command ===
## debuild runs a chain of dh functions in the following order:
## dh_testdir
## dh_clean
## dh_auto_clean
## dh_update_autotools_config
## dh_autoreconf
## dh_auto_configure
## dh_prep
## dh_build
## dh_auto_build
## dh_install
## dh_auto_install
## dh_installdocs
## dh_installchangelogs
## dh_perl
## dh_link
## dh_strip_nondeterminism
## dh_compress
## dh_fixperms
## dh_missing
## dh_dwz
## dh_strip
## dh_makeshlibs
## dh_shlibdeps
## dh_installdeb
## dh_gencontrol
## but you are most likely to only need to override the following:
## dh_clean
## dh_auto_configure
## dh_build
## dh_install
## === End end of region ===
## === overriding dh functions ===
## by default all dh functions will run a specific command based on the build system selected by "dh $@"
## if you have a makefile that does everything you need this is fine,
## but most likely you have no MakeFile and you want to add your own commands
## Note : overrides must be places above %:
## So here's a few examples:
## overriding dh_clean to make it not delete rust vendor files:
#override_dh_clean:
# echo "disabled"
## overriding dh_auto_configure to add custom configs:
#override_dh_auto_configure:
# $(srcdir)/configure -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_DATADIR=/usr/share -DCMAKE_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu -DBUILD_PLUGIN=OFF
## overriding dh_install to install files to a package:
#override_dh_auto_configure:
# mkdir -p debian/pikman/usr/bin
# cp pikman debian/pikman/usr/bin/
## === End end of region ===
## This here will start the build:
%:
dh $@

4
debian/watch vendored Normal file
View File

@ -0,0 +1,4 @@
version=4
opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/papirus-colors-$1\.tar\.gz/ \
https://github.com/varlesh/papirus-colors/tags .*/v?(\d\S*)\.tar\.gz

10
main.sh
View File

@ -6,15 +6,15 @@ set -e
echo "$PIKA_BUILD_ARCH" > pika-build-arch
VERSION="1.0"
VERSION="20220526git"
# Clone Upstream
mkdir -p ./src-pkg-name
cp -rvf ./debian ./src-pkg-name/
cd ./src-pkg-name/
git clone --depth=1 https://github.com/varlesh/papirus-colors
cp -rvf ./debian ./papirus-colors/
cd ./papirus-colors/
# Get build deps
LOGNAME=root dh_make --createorig -y -l -p src-pkg-name_"$VERSION" || echo "dh-make: Ignoring Last Error"
LOGNAME=root dh_make --createorig -y -l papirus-colors_"$VERSION" || echo "dh-make: Ignoring Last Error"
apt-get build-dep ./ -y
# Build package