From 5c9e9db7b42f214c1814b1e9ec3e1ac7ac4d0e52 Mon Sep 17 00:00:00 2001 From: Chibani <85620152+ochibani@users.noreply.github.com> Date: Wed, 7 Aug 2024 16:42:24 +0200 Subject: [PATCH] Delete packaging directory --- packaging/appimage/blue-recorder-appimage.sh | 141 ------------------- packaging/arch/PKGBUILD | 38 ----- packaging/debian/changelog | 6 - packaging/debian/compat | 1 - packaging/debian/control | 13 -- packaging/debian/copyright | 30 ---- packaging/debian/rules | 24 ---- packaging/debian/source/format | 1 - packaging/debian/watch | 3 - packaging/rpm/blue-recorder.spec | 61 -------- 10 files changed, 318 deletions(-) delete mode 100755 packaging/appimage/blue-recorder-appimage.sh delete mode 100755 packaging/arch/PKGBUILD delete mode 100755 packaging/debian/changelog delete mode 100755 packaging/debian/compat delete mode 100755 packaging/debian/control delete mode 100755 packaging/debian/copyright delete mode 100755 packaging/debian/rules delete mode 100755 packaging/debian/source/format delete mode 100755 packaging/debian/watch delete mode 100755 packaging/rpm/blue-recorder.spec diff --git a/packaging/appimage/blue-recorder-appimage.sh b/packaging/appimage/blue-recorder-appimage.sh deleted file mode 100755 index 736d4be..0000000 --- a/packaging/appimage/blue-recorder-appimage.sh +++ /dev/null @@ -1,141 +0,0 @@ -#!/bin/bash - -libnslversion="2.27" -debpkg="libjack-jackd2-0_1.9.12~dfsg-2_amd64.deb" -debpkg2="libc6_2.27-3ubuntu1.6_amd64.deb" - -#Download building tools. -if [[ -f /usr/bin/wget ]] -then - if [[ -f pkg2appimage--x86_64.AppImage ]] - then - echo "pkg2appimage--x86_64.AppImage found." - else - wget "https://github.com/AppImage/pkg2appimage/releases/download/continuous/pkg2appimage--x86_64.AppImage" - #Make sure pkg2appimage is available. - if [[ -f pkg2appimage--x86_64.AppImage ]] - then - echo "pkg2appimage--x86_64.AppImage found." - else - echo "failed to download pkg2appimage--x86_64.AppImage" && exit 1 - fi - fi -else - echo "please install wget." && exit 1 -fi - -if [[ -f appimagetool-x86_64.AppImage ]] -then - echo "appimagetool-x86_64.AppImage found." -else - wget "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage" - #Make sure appimagetool is available. - if [[ -f appimagetool-x86_64.AppImage ]] - then - echo "appimagetool-x86_64.AppImage found." - else - echo "failed to download appimagetool-x86_64.AppImage" && exit 1 - fi -fi - -#Make exec. -chmod +x pkg2appimage--x86_64.AppImage -chmod +x appimagetool-x86_64.AppImage - -#Create BlueRecorder.yml file. -echo "create BlueRecorder.yml" -cat > BlueRecorder.yml < blue-recorder.desktop < - -pkgname="blue-recorder-git" -pkgver=r176.1c6a9a6 -pkgrel=1 -pkgdesc="A simple desktop recorder for Linux systems. Built using Rust, GTK 4 and ffmpeg. It supports recording audio and video on almost all Linux interfaces with support for Wayland display server on GNOME session." -arch=("x86_64") -url="https://github.com/xlmnxp/blue-recorder" -license=("GPL3") -depends=("ffmpeg" "gstreamer" "gtk4" "pipewire" "xorg-xwininfo") -makedepends=("cargo" "clang" "gettext" "git" "gtk3") -provides=("blue-recorder") -conflicts=("blue-recorder") -source=("$pkgname::git+https://github.com/xlmnxp/blue-recorder.git") -sha256sums=('SKIP') - -pkgver() { - cd "$pkgname" - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" -} - -build() { - cd "$pkgname" - cargo build --release --locked --target-dir=target -} - -package() { - cd "$pkgname" - - desktop-file-install -m 644 --dir "$pkgdir/usr/share/applications/" "$srcdir/$pkgname/data/blue-recorder.desktop" - install -Dm755 "target/release/blue-recorder" "$pkgdir/opt/blue-recorder/blue-recorder" - mkdir -p "$pkgdir/usr/bin/" - ln -s "/opt/blue-recorder/blue-recorder" "$pkgdir/usr/bin/blue-recorder" - install -Dm644 "interfaces/main.ui" "$pkgdir/opt/blue-recorder/interfaces/main.ui" - cp -r "data" "$pkgdir/opt/blue-recorder/data/" - install -Dm644 "data/blue-recorder.png" "$pkgdir/usr/share/pixmaps/blue-recorder.png" - cp -r "po" "$pkgdir/opt/blue-recorder/po/" -} diff --git a/packaging/debian/changelog b/packaging/debian/changelog deleted file mode 100755 index 36aac6f..0000000 --- a/packaging/debian/changelog +++ /dev/null @@ -1,6 +0,0 @@ -blue-recorder (1.3.2) stable; urgency=low - - * initial release - - -- root Thu, 29 Apr 2021 17:14:46 +0000 - diff --git a/packaging/debian/compat b/packaging/debian/compat deleted file mode 100755 index ec63514..0000000 --- a/packaging/debian/compat +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/packaging/debian/control b/packaging/debian/control deleted file mode 100755 index 2f5c628..0000000 --- a/packaging/debian/control +++ /dev/null @@ -1,13 +0,0 @@ -Source: blue-recorder -Section: video -Priority: optional -Maintainer: Salem Yaslem -Standards-Version: 4.0.0 -Build-Depends: debhelper (>= 9.20120311), cargo, clang, gettext, build-essential, libgstreamer-plugins-bad1.0-dev, libgstreamer-plugins-base1.0-dev, libgstreamer1.0-dev -Homepage: https://github.com/xlmnxp/blue-recorder - -Package: blue-recorder -Architecture: amd64 -Depends: ffmpeg, x11-utils, gstreamer1.0-plugins-bad, gstreamer1.0-plugins-base, gstreamer1.0-plugins-good, gstreamer1.0-plugins-ugly, gstreamer1.0-libav -Replaces: blue-recorder -Description: A simple desktop recorder for Linux systems. Built using Rust, GTK 4 and ffmpeg. It supports recording audio and video on almost all Linux interfaces with support for Wayland display server on GNOME session. diff --git a/packaging/debian/copyright b/packaging/debian/copyright deleted file mode 100755 index e29f3e4..0000000 --- a/packaging/debian/copyright +++ /dev/null @@ -1,30 +0,0 @@ -# Salem Yaslem, 2021 - -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, 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, see . */ - -On Debian systems, the complete text of the GNU General Public License -can be found in `/usr/share/common-licenses/GPL'. - -Manual Copyright (C) 1992, 1993, 1996, 2002, 2005-2014 Free Software -Foundation, Inc. - -Permission is granted to copy, distribute and/or modify this -document under the terms of the GNU Free Documentation License, -Version 1.3 or any later version published by the Free Software -Foundation; with no Invariant Sections, with no Front-Cover Texts, -and with no Back-Cover Texts. A copy of the license is included -in the section entitled "GNU Free Documentation License". - -On Debian systems, the complete text of the GNU Free Documentation -License can be found in `/usr/share/common-licenses/GFDL'. diff --git a/packaging/debian/rules b/packaging/debian/rules deleted file mode 100755 index 19ac2b4..0000000 --- a/packaging/debian/rules +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/make -f -%: - dh $@ - -override_dh_auto_clean: - cargo clean - - -override_dh_auto_build: - cargo build --release - - -override_dh_auto_install: - desktop-file-edit --set-icon=blue-recorder "data/blue-recorder.desktop" - install -Dm0644 "data/blue-recorder.desktop" "debian/blue-recorder/usr/share/applications/blue-recorder.desktop" - install -Dm04755 "target/release/blue-recorder" "debian/blue-recorder/opt/blue-recorder/blue-recorder" - cp -r "data" "debian/blue-recorder/opt/blue-recorder/data/" - cp -r "po" "debian/blue-recorder/opt/blue-recorder/po/" - mkdir -p "debian/blue-recorder/usr/bin/" - ln -s "/opt/blue-recorder/blue-recorder" - mv blue-recorder "debian/blue-recorder/usr/bin" - install -Dm0644 "interfaces/main.ui" "debian/blue-recorder/opt/blue-recorder/interfaces/main.ui" - install -Dm0644 "data/blue-recorder.svg" "debian/blue-recorder/usr/share/pixmaps/blue-recorder.svg" - diff --git a/packaging/debian/source/format b/packaging/debian/source/format deleted file mode 100755 index 163aaf8..0000000 --- a/packaging/debian/source/format +++ /dev/null @@ -1 +0,0 @@ -3.0 (quilt) diff --git a/packaging/debian/watch b/packaging/debian/watch deleted file mode 100755 index 1abf6ca..0000000 --- a/packaging/debian/watch +++ /dev/null @@ -1,3 +0,0 @@ -version=4 -opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/-$1\.tar\.gz/ \ - https://github.com/xlmnxp/blue-recorder/tags .*/v?(\d\S+)\.tar\.gz diff --git a/packaging/rpm/blue-recorder.spec b/packaging/rpm/blue-recorder.spec deleted file mode 100755 index a3175f8..0000000 --- a/packaging/rpm/blue-recorder.spec +++ /dev/null @@ -1,61 +0,0 @@ -Name: blue-recorder -Version: 1.3.2 -Release: 1%{?dist} -Summary: A simple desktop recorder for Linux systems. -License: GPL-3.0-or-later -URL: https://github.com/xlmnxp/blue-recorder -VCS: https://github.com/xlmnxp/blue-recorder.git -Source: blue-recorder-%{version}.tar - - -Requires: ffmpeg -Requires: libappindicator-gtk3 -Requires: gtk3 -Requires: glib2 -Requires: xwininfo -Requires: pipewire-pulseaudio - -BuildRequires: rust -BuildRequires: cargo -BuildRequires: clang -BuildRequires: gettext -BuildRequires: libappindicator-gtk3-devel - - -%description -A simple desktop recorder for Linux systems. Built using Rust, GTK+ 3 and ffmpeg. It supports recording audio and video on almost all Linux interfaces with support for Wayland display server on GNOME session. - -%global debug_package %{nil} -%prep -%setup -q -n blue-recorder-%{version} - -%build -cargo build --release - -%install -cat > blue-recorder <