chore: remove debian directory
The COSMIC design demo is being migrated to another repo
This commit is contained in:
parent
3e11b46ab2
commit
5d4503918c
10 changed files with 0 additions and 123 deletions
7
.gitignore
vendored
7
.gitignore
vendored
|
|
@ -1,10 +1,3 @@
|
||||||
debian/*
|
|
||||||
!debian/changelog
|
|
||||||
!debian/control
|
|
||||||
!debian/copyright
|
|
||||||
!debian/install
|
|
||||||
!debian/rules
|
|
||||||
!debian/source
|
|
||||||
.cargo
|
.cargo
|
||||||
.idea
|
.idea
|
||||||
Cargo.lock
|
Cargo.lock
|
||||||
|
|
|
||||||
5
debian/changelog
vendored
5
debian/changelog
vendored
|
|
@ -1,5 +0,0 @@
|
||||||
libcosmic (0.1.0) jammy; urgency=medium
|
|
||||||
|
|
||||||
* Initial release.
|
|
||||||
|
|
||||||
-- Michael Aaron Murphy <michael@mmurphy.dev> Tue, 12 Sep 2023 08:53:33 +0200
|
|
||||||
25
debian/control
vendored
25
debian/control
vendored
|
|
@ -1,25 +0,0 @@
|
||||||
Source: libcosmic
|
|
||||||
Section: utils
|
|
||||||
Priority: optional
|
|
||||||
Maintainer: Michael Aaron Murphy <michael@mmurphy.dev>
|
|
||||||
Build-Depends:
|
|
||||||
cargo,
|
|
||||||
clang,
|
|
||||||
cmake,
|
|
||||||
debhelper-compat (=13),
|
|
||||||
just (>= 1.13.0),
|
|
||||||
libexpat1-dev,
|
|
||||||
libfontconfig-dev,
|
|
||||||
libfreetype-dev,
|
|
||||||
libxkbcommon-dev,
|
|
||||||
mold,
|
|
||||||
pkg-config,
|
|
||||||
rustc,
|
|
||||||
Standards-Version: 4.6.2
|
|
||||||
Homepage: https://github.com/pop-os/libcosmic
|
|
||||||
|
|
||||||
Package: cosmic-design-demo
|
|
||||||
Architecture: amd64 arm64
|
|
||||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
|
||||||
Description: libcosmic demo displaying its design elements and capabilities
|
|
||||||
libcosmic demo displaying its design elements and capabilities
|
|
||||||
7
debian/copyright
vendored
7
debian/copyright
vendored
|
|
@ -1,7 +0,0 @@
|
||||||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
|
||||||
Upstream-Name: cosmic-design-demo
|
|
||||||
Upstream-Contact: Michael Murphy <michael@mmurphy.dev>
|
|
||||||
Source: https://github.com/pop-os/libcosmic
|
|
||||||
Files: *
|
|
||||||
Copyright: System76 <info@system76.com>
|
|
||||||
License: MPL-2.0
|
|
||||||
2
debian/install
vendored
2
debian/install
vendored
|
|
@ -1,2 +0,0 @@
|
||||||
/usr/bin/cosmic-design-demo
|
|
||||||
/usr/share/applications/com.system76.CosmicDesignDemo.desktop
|
|
||||||
23
debian/rules
vendored
23
debian/rules
vendored
|
|
@ -1,23 +0,0 @@
|
||||||
#!/usr/bin/make -f
|
|
||||||
|
|
||||||
export DESTDIR = debian/tmp
|
|
||||||
export VENDOR ?= 1
|
|
||||||
|
|
||||||
%:
|
|
||||||
dh $@
|
|
||||||
|
|
||||||
override_dh_auto_clean:
|
|
||||||
if ! ischroot && test "${VENDOR}" = "1"; then \
|
|
||||||
rm -rf .cargo vendor vendor.tar; \
|
|
||||||
mkdir -p .cargo; \
|
|
||||||
cargo vendor --sync examples/design-demo/Cargo.toml | head -n -1 > .cargo/config; \
|
|
||||||
echo 'directory = "vendor"' >> .cargo/config; \
|
|
||||||
tar pcf vendor.tar vendor; \
|
|
||||||
rm -rf vendor; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
override_dh_auto_build:
|
|
||||||
just --unstable --working-directory . --justfile examples/design-demo/justfile build-vendored
|
|
||||||
|
|
||||||
override_dh_auto_install:
|
|
||||||
just --unstable --working-directory . --justfile examples/design-demo/justfile rootdir=$(DESTDIR) install
|
|
||||||
1
debian/source/format
vendored
1
debian/source/format
vendored
|
|
@ -1 +0,0 @@
|
||||||
3.0 (native)
|
|
||||||
5
debian/source/options
vendored
5
debian/source/options
vendored
|
|
@ -1,5 +0,0 @@
|
||||||
tar-ignore=.github
|
|
||||||
tar-ignore=.vscode
|
|
||||||
tar-ignore=result
|
|
||||||
tar-ignore=target
|
|
||||||
tar-ignore=vendor
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
[private]
|
|
||||||
install-cmd options src dest:
|
|
||||||
install {{options}} {{src}} {{dest}}
|
|
||||||
|
|
||||||
[private]
|
|
||||||
install-bin src dest: (install-cmd '-Dm0755' src dest)
|
|
||||||
|
|
||||||
[private]
|
|
||||||
install-file src dest: (install-cmd '-Dm0644' src dest)
|
|
||||||
|
|
@ -1,39 +0,0 @@
|
||||||
# Use mold linker if clang and mold exists.
|
|
||||||
clang-path := `which clang || true`
|
|
||||||
mold-path := `which mold || true`
|
|
||||||
|
|
||||||
linker-arg := if clang-path != '' {
|
|
||||||
if mold-path != '' {
|
|
||||||
'-C linker=' + clang-path + ' -C link-arg=--ld-path=' + mold-path + ' '
|
|
||||||
} else {
|
|
||||||
''
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
''
|
|
||||||
}
|
|
||||||
|
|
||||||
export RUSTFLAGS := linker-arg + env_var_or_default('RUSTFLAGS', '')
|
|
||||||
|
|
||||||
[private]
|
|
||||||
default: build-release
|
|
||||||
|
|
||||||
# Compile with release profile
|
|
||||||
build-release *args: (build '--release' args)
|
|
||||||
|
|
||||||
# Compile with a vendored tarball
|
|
||||||
build-vendored *args: vendor-extract (build-release '--offline --locked' args)
|
|
||||||
|
|
||||||
# Vendor Cargo dependencies locally
|
|
||||||
vendor *args:
|
|
||||||
rm -rf .cargo vendor vendor.tar
|
|
||||||
mkdir -p .cargo
|
|
||||||
cargo vendor {{args}} | head -n -1 > .cargo/config
|
|
||||||
echo 'directory = "vendor"' >> .cargo/config
|
|
||||||
tar pcf vendor.tar vendor
|
|
||||||
rm -rf vendor
|
|
||||||
|
|
||||||
# Extracts vendored dependencies
|
|
||||||
[private]
|
|
||||||
vendor-extract:
|
|
||||||
rm -rf vendor
|
|
||||||
tar pxf vendor.tar
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue