remove debian packaging

This commit is contained in:
Rudra Saraswat 2023-01-20 11:37:31 +05:30
parent e509574472
commit 89452160ea
10 changed files with 75 additions and 96 deletions

4
blend
View file

@ -384,9 +384,9 @@ def update_blends():
def system_update():
if args.noconfirm == True:
exit(subprocess.call(['sudo', '/usr/bin/pacman', '--noconfirm', '-Syu']))
exit(subprocess.call(['sudo', 'almost', 'run', '/usr/bin/pacman', '--noconfirm', '-Syu']))
else:
exit(subprocess.call(['sudo', '/usr/bin/pacman', '-Syu']))
exit(subprocess.call(['sudo', 'almost', 'run', '/usr/bin/pacman', '-Syu']))
def enter_container():
if not distrobox_check_container(args.container_name):

View file

@ -1,9 +0,0 @@
# shellcheck shell=sh
# Expand $PATH to include the directory where blend's package manager shortcuts
# are located.
blend_pkgmanager_bin_path="/blend/pkgmanagers"
if [ -n "${PATH##*${blend_pkgmanager_bin_path}}" ] && [ -n "${PATH##*${blend_pkgmanager_bin_path}:*}" ]; then
export PATH="${blend_pkgmanager_bin_path}:${PATH}"
fi

73
blend-profiled.sh Normal file
View file

@ -0,0 +1,73 @@
# shellcheck shell=sh
# Expand $PATH to include the directory where blend's package manager shortcuts
# are located.
blend_pkgmanager_bin_path="/blend/pkgmanagers"
if [ -n "${PATH##*${blend_pkgmanager_bin_path}}" ] && [ -n "${PATH##*${blend_pkgmanager_bin_path}:*}" ]; then
export PATH="${blend_pkgmanager_bin_path}:${PATH}"
fi
# Start all the containers
blend start-containers &>/dev/null || :
if [[ ! -f "${HOME}/.disable_blend_msg" ]]; then
shell_bold='\033[01m'
shell_color_purple='\033[35m'
shell_reset='\033[0m'
echo -e "${shell_bold}Welcome to the ${shell_color_purple}blendOS${shell_reset}${shell_bold} shell!"
echo -e "${shell_reset}note: if you don't want to see this message, you can create a file in your"
echo -e "home directory named .disable_blend_msg${shell_bold}"
echo
echo -e 'Here are some useful commands:'
echo -e "${shell_reset}To install a package (from the Arch repos and the AUR) in an Arch container:${shell_bold}"
echo -e " blend install <PKG>"
echo -e "${shell_reset}To remove a package (from the Arch repos and the AUR) in an Arch container:${shell_bold}"
echo -e " blend remove <PKG>"
echo -e "${shell_reset}To install a package (from the Arch repos and the AUR) in a Fecora container:${shell_bold}"
echo -e " blend install <PKG> -d fedora-rawhide"
echo -e "${shell_reset}To enter a Fedora container:${shell_bold}"
echo -e " blend enter -cn fedora-rawhide"
echo -e "${shell_reset}To update all the system packages:${shell_bold}"
echo -e " blend system-update${shell_reset} (do not use 'pacman -Syu', as it will only update the"
echo -e " packages in the Arch container)"
echo -e "${shell_reset}To list all the containers:${shell_bold}"
echo -e " blend list-containers"
echo -e "Keep in mind that none of these commands should be run as root."
echo
echo -e "${shell_reset}Most apps installed through blend will automatically appear in the applications"
echo -e "list. However, if they don't, you can always manually export them by running:"
echo -e " ${shell_bold}blend export [DESKTOP FILE WITHOUT EXTENSION]${shell_reset}"
echo
echo -e "You can always specify a distribution (default is arch) by appending ${shell_bold}"
echo -e "--distro=[DISTRO]${shell_reset} to the end of a blend command."
echo -e "(for example: ${shell_bold}blend install hello --distro=ubuntu-22.10)${shell_reset}"
echo
echo -e "Here are the supported distributions:"
echo -e "${shell_bold}1.${shell_reset} arch (default)"
echo -e "${shell_bold}2.${shell_reset} fedora-rawhide"
echo -e "${shell_bold}3.${shell_reset} ubuntu-22.04"
echo -e "${shell_bold}4.${shell_reset} ubuntu-22.10"
echo -e "You can also specify a custom container name (default is the distro's name) by"
echo -e "appending ${shell_bold}--container-name=[CONTAINER]${shell_reset} to the end of a blend command."
echo
echo -e "You can also use these packages managers directly:"
echo -e "${shell_bold}1.${shell_reset} pacman/yay (distro: arch)"
echo -e "${shell_bold}2.${shell_reset} apt/apt-get (distro: ubuntu-22.10)"
echo -e "${shell_bold}3.${shell_reset} dnf/yum (distro: fedora-rawhide)"
echo -e "However, you'll need to manually export the desktop files"
echo -e "for packages installed this way, by running:"
echo -e " ${shell_bold}blend export [DESKTOP FILE WITHOUT EXTENSION] --distro=[DISTRO]${shell_reset}"
echo
echo -e "For more information about ${shell_color_purple}blend${shell_reset}${shell_bold}, run:"
echo -e " blend help"
echo -e "${shell_reset}"
fi

View file

@ -1,4 +0,0 @@
blend /usr/bin/
pkgmanagers /blend/
blend-pkgmngr-path.sh /etc/profile.d/
completions/blend /usr/share/bash-completion/completions/

29
debian/changelog vendored
View file

@ -1,29 +0,0 @@
blend (1.0.4) lunar; urgency=emergency
* Sync with blend 1.0.4, which fixes a major bug relating to package removal
-- Rudra Bali <rs2009@ubuntu.com> Thu, 19 Jan 2023 14:54:09 +0530
blend (1.0.3) lunar; urgency=emergency
* Sync with blend 1.0.3, which updates the completions
-- Rudra Bali <rs2009@ubuntu.com> Thu, 19 Jan 2023 14:27:17 +0530
blend (1.0.2) lunar; urgency=emergency
* Sync with blend 1.0.2, which fixes many critical bugs
-- Rudra Bali <rs2009@ubuntu.com> Thu, 19 Jan 2023 00:00:01 +0530
blend (1.0.1) lunar; urgency=medium
* Sync with blend 1.0.1
-- Rudra Bali <rs2009@ubuntu.com> Wed, 18 Jan 2023 23:14:32 +0530
blend (1.0.0) lunar; urgency=medium
* First Release
-- Rudra Saraswat <rs2009@ubuntu.com> Wed, 18 Jan 2023 21:58:53 +0200

1
debian/compat vendored
View file

@ -1 +0,0 @@
11

22
debian/control vendored
View file

@ -1,22 +0,0 @@
Source: blend
Section: devel
Priority: optional
Maintainer: Rudra Saraswat <rs2009@ubuntu.com>
Build-Depends: debhelper (>= 9),
Standards-Version: 3.9.6
Homepage: https://github.com/blend-os/blend
Vcs-Browser: https://github.com/blend-os/blend
Vcs-Git: git://github.com/blend-os/blend.git
Package: blend
Architecture: all
Depends: ${shlibs:Depends},
${misc:Depends},
distrobox,
podman,
python3
Breaks: mrtrix3
Built-Using: ${misc:Built-Using}
Description: Package manager for blendOS.
This package contains the package manger for
blendOS.

24
debian/copyright vendored
View file

@ -1,24 +0,0 @@
Format: http://dep.debian.net/deps/dep5
Upstream-Name: Blend OS First Setup
Source: https://github.com/blend-os/
Files: *
Copyright: 2023 blendOS contributors
2022 Vanilla-OS contributors
License: GPL-3.0
License: GPL-3.0
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 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 <http://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".

4
debian/rules vendored
View file

@ -1,4 +0,0 @@
#!/usr/bin/make -f
%:
dh $@

View file

@ -1 +0,0 @@
3.0 (native)