YOLO
All checks were successful
PikaOS Package Build & Release (amd64-v3) / build (push) Successful in 43s

This commit is contained in:
Ward from fusion-voyager-3 2024-08-31 12:21:33 +03:00
parent 388f48c8d3
commit 0691a652c9
15 changed files with 176 additions and 88 deletions

View File

@ -1 +1 @@
1 2

12
debian/NEWS vendored Normal file
View File

@ -0,0 +1,12 @@
xdg-utils (1.0.2+cvs20100307-3) unstable; urgency=low
xdg-email now honors the $MAILER variable when deciding which mail
user agent to use. Remember to wrap it in a terminal window if you're
using a text-based mailer. For example:
MAILER="xterm -e mutt"
You can also list multiple mailers separated by colons, in which case
xdg-email will try each one in order until one of them succeeds.
-- Per Olofsson <pelle@debian.org> Mon, 25 Oct 2010 10:23:18 +0200

6
debian/changelog vendored
View File

@ -1,5 +1,5 @@
upstream-name (1.0-101pika1) pika; urgency=medium xdg-utils (1.2.1-101pika1) pika; urgency=medium
* Initial release. (Closes: #nnnn) <nnnn is the bug number of your ITP> * New upstream version
-- ferreo <harderthanfire@gmail.com> Wed, 18 Jan 2023 21:48:14 +0000 -- Cosmo <cosmo@pika-os.com> Sat, 06 Jul 2024 18:19:07 +0300

55
debian/control vendored
View File

@ -1,19 +1,42 @@
Source: upstream-name Source: xdg-utils
Section: admin Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
XSBC-Original-Maintainer: Debian freedesktop.org maintainers <pkg-freedesktop-maintainers@lists.alioth.debian.org>
Uploaders:
Per Olofsson <pelle@debian.org>,
Nicholas Guriev <guriev-ns@ya.ru>,
Section: utils
Priority: optional Priority: optional
Maintainer: name <email> Standards-Version: 4.5.1
Standards-Version: 4.6.1
Build-Depends: debhelper-compat (= 13)
Rules-Requires-Root: no Rules-Requires-Root: no
Build-Depends: debhelper-compat (= 12)
Build-Depends-Indep: mawk | awk, w3m | links | lynx, xmlto
Vcs-Git: https://salsa.debian.org/freedesktop-team/xdg-utils.git
Vcs-Browser: https://salsa.debian.org/freedesktop-team/xdg-utils
Homepage: https://www.freedesktop.org/wiki/Software/xdg-utils/
Package: pkgname1 Package: xdg-utils
Architecture: linux-any Architecture: all
# Delete any of these lines if un-used Multi-Arch: foreign
Depends: ${misc:Depends}, depends Depends: ${misc:Depends}
Recommends: high priority optdepends Recommends:
Conflicts: conflicts libfile-mimeinfo-perl,
Suggests: low priority optdepends libnet-dbus-perl,
Breaks: also conflicts!? libx11-protocol-perl,
Provides: provides x11-utils,
# x11-xserver-utils,
Description: pkgdesc Description: desktop integration utilities from freedesktop.org
xdg-utils contains utilities for integrating applications with the
desktop environment, regardless of which desktop environment is used.
.
The following utilities are included:
.
* xdg-desktop-menu - Install desktop menu items
* xdg-desktop-icon - Install icons on the user's desktop
* xdg-email - Compose a new email in the user's preferred email client,
potentially with subject and other info filled in
* xdg-icon-resource - Install icon resources
* xdg-mime - Query and install MIME types and associations
* xdg-open - Open a URI in the user's preferred application that
handles the respective URI or file type
* xdg-screensaver - Enable, disable, or suspend the screensaver
* xdg-settings - Get or set the default web browser and URI handlers

46
debian/copyright vendored
View File

@ -0,0 +1,46 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Source: https://gitlab.freedesktop.org/xdg/xdg-utils
Upstream-Name: xdg-utils
Files: *
Copyright: 2006, Jeremy White <jwhite@codeweavers.com>
2006, Kevin Krammer <kevin.krammer@gmx.at>
2009-2010, Fathi Boudra <fabo@freedesktop.org>
2009-2010, Rex Dieter <rdieter@fedoraproject.org>
License: Expat
Files: debian/*
Copyright: 2006-2015, Per Olofsson <pelle@debian.org>
2017-2021, Nicholas Guriev <guriev-ns@ya.ru>
License: Expat
Files: scripts/generate-help-script.awk
Copyright: 2006, Benedikt Meurer <benny@xfce.org>
License: Expat
Files: scripts/xdg-screensaver.in
Copyright: 2006, Bryce Harrington <bryce@osdl.org>
License: Expat
Files: scripts/xdg-settings.in
Copyright: 2009, Google Inc.
License: Expat
License: Expat
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:
.
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.

4
debian/docs vendored Normal file
View File

@ -0,0 +1,4 @@
README.md
RELEASE_NOTES
ChangeLog
TODO

93
debian/rules vendored
View File

@ -1,67 +1,36 @@
#!/usr/bin/make -f #!/usr/bin/make -f
## See debhelper(7) (uncomment to enable). BUILT_FILES := scripts/xdg-*.in scripts/man/*.1 scripts/README
## 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 $@ dh $@
override_dh_auto_build:
set -e; for i in $(BUILT_FILES); do \
f=$${i%.in}; \
if [ -e $$f ] && ! [ -e $$f.build-orig ]; then \
mv $$f $$f.build-orig; \
fi; \
done
cd scripts && LC_ALL=C.UTF-8 make scripts man
override_dh_auto_clean:
dh_auto_clean
set -e; for i in $(BUILT_FILES); do \
f=$${i%.in}; \
if [ -e $$f.build-orig ]; then \
mv $$f.build-orig $$f; \
fi; \
done
rm -f scripts/html/index.html
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
# Use automated tests that do not require a user action.
make autotest
endif
# Install the upstream release notes and rename the file.
override_dh_installdocs:
dh_installdocs
install -p RELEASE_NOTES debian/xdg-utils/usr/share/doc/xdg-utils/NEWS

0
debian/source/options vendored Normal file
View File

13
debian/source/patch-header vendored Normal file
View File

@ -0,0 +1,13 @@
Description: Collected Debian patches for xdg-utils
Author: Nicholas Guriev <guriev-ns@ya.ru>
The xdg-utils package is maintained in Git rather than maintaining
patches as separate files, and separating the patches doesn't seem to
be worth the effort. They are therefore all included in this single
Debian patch.
For full commit history and separated commits, see the packaging Git
repository.
---

3
debian/watch vendored Normal file
View File

@ -0,0 +1,3 @@
version=4
opts="searchmode=plain" \
https://gitlab.freedesktop.org/xdg/@PACKAGE@/tags?sort=updated_desc -/archive/v?\d[\d.]+/@PACKAGE@-@ANY_VERSION@\.tar\.gz

6
debian/xdg-utils.alternatives vendored Normal file
View File

@ -0,0 +1,6 @@
Name: open
Link: /usr/bin/open
Alternative: /usr/bin/xdg-open
Dependents:
/usr/share/man/man1/open.1.gz open.1.gz /usr/share/man/man1/xdg-open.1.gz
Priority: 50

8
debian/xdg-utils.bug-presubj vendored Normal file
View File

@ -0,0 +1,8 @@
Thank you for reporting a bug against xdg-utils. For us to be able to
debug your problem, it would be most helpful if you could run the
affected command using "sh -x" and include the output in your bug
report. For example:
sh -x /usr/bin/xdg-open somefile.txt
Note that you need to give the full path to the command.

3
debian/xdg-utils.bug-script vendored Normal file
View File

@ -0,0 +1,3 @@
#!/bin/sh
set -e
echo "Desktop environment: XDG_CURRENT_DESKTOP=$XDG_CURRENT_DESKTOP" >&3

1
debian/xdg-utils.links vendored Normal file
View File

@ -0,0 +1 @@
/usr/bin/xdg-open /usr/bin/browse

10
main.sh
View File

@ -6,15 +6,15 @@ set -e
echo "$PIKA_BUILD_ARCH" > pika-build-arch echo "$PIKA_BUILD_ARCH" > pika-build-arch
VERSION="1.0" VERSION="1.2.1"
# Clone Upstream # Clone Upstream
mkdir -p ./src-pkg-name git clone --depth=1 https://gitlab.freedesktop.org/xdg/xdg-utils -b v"$VERSION"
cp -rvf ./debian ./src-pkg-name/ cp -rvf ./debian ./xdg-utils
cd ./src-pkg-name/ cd ./xdg-utils
# Get build deps # 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 -p xdg-utils_"$VERSION" || echo "dh-make: Ignoring Last Error"
apt-get build-dep ./ -y apt-get build-dep ./ -y
# Build package # Build package