Browse Source

Remove packaging files that are in other repos

Maximilian Luz 5 years ago
parent
commit
2fdea8499d

+ 0 - 21
pkg/arch/surface-ipts-firmware/PKGBUILD

@@ -1,21 +0,0 @@
-# Maintainer: Blaž Hrastnik <blaz@mxxn.io>
-
-pkgname=surface-ipts-firmware
-pkgver=1.0.0
-pkgrel=1
-arch=(any)
-pkgdesc="Surface firmware"
-url="http://github.com/linux-surface/surface-ipts-firmware"
-license=(GPL2)
-_srcname=source
-_srcbranch='master'
-source=(
-  "$_srcname::git+https://github.com/linux-surface/surface-ipts-firmware.git#branch=$_srcbranch"
-)
-sha256sums=('SKIP')
-
-package() {
-  cd ${srcdir}/${_srcname}/
-  install -d "${pkgdir}/usr/lib/firmware/"
-  cp -r firmware/* "${pkgdir}/usr/lib/firmware/"
-}

+ 0 - 1
pkg/arch/surface-ipts-firmware/README.md

@@ -1 +0,0 @@
-Builds `surface-ipts-firmware`

+ 0 - 29
pkg/fedora/libwacom-surface/0001-update-meson.patch

@@ -1,29 +0,0 @@
-From 83e9351691f762b82d92a9939ed84798eda3086f Mon Sep 17 00:00:00 2001
-From: Dorian Stoll <dorian.stoll@tmsp.io>
-Date: Fri, 27 Sep 2019 15:34:51 +0200
-Subject: [PATCH] update meson
-
----
- meson.build | 6 ++++++
- 1 file changed, 6 insertions(+)
-
-diff --git a/meson.build b/meson.build
-index 28b46ed..9470e95 100644
---- a/meson.build
-+++ b/meson.build
-@@ -306,6 +306,12 @@ data_files = [
- 	'data/one-by-wacom-s-p.tablet',
- 	'data/one-by-wacom-s-p2.tablet',
- 	'data/serial-wacf004.tablet',
-+	'data/surface-book.tablet',
-+	'data/surface-book2-13.tablet',
-+	'data/surface-book2-15.tablet',
-+	'data/surface-pro4.tablet',
-+	'data/surface-pro5.tablet',
-+	'data/surface-pro6.tablet',
- 	'data/xp-pen-star03.tablet',
- ]
- 
--- 
-2.23.0
-

+ 0 - 350
pkg/fedora/libwacom-surface/libwacom-surface.spec

@@ -1,350 +0,0 @@
-Name:           libwacom-surface
-Version:        1.2
-Release:        1%{?dist}
-Summary:        Tablet Information Client Library
-Requires:       %{name}-data
-Provides:       libwacom
-Conflicts:      libwacom
-
-%global surface_source https://raw.githubusercontent.com/linux-surface/libwacom-surface-patches
-
-License:        MIT
-URL:            https://github.com/linuxwacom/libwacom
-Source:         https://github.com/linuxwacom/libwacom/releases/download/libwacom-%{version}/libwacom-%{version}.tar.bz2
-
-Patch0:         %{surface_source}/v%{version}/0001-Add-support-for-Intel-Management-Engine-bus.patch
-Patch1:         %{surface_source}/v%{version}/0002-data-Add-Microsoft-Surface-Book-2-13.5.patch
-Patch2:         %{surface_source}/v%{version}/0003-data-Add-Microsoft-Surface-Pro-5.patch
-Patch3:         %{surface_source}/v%{version}/0004-data-Add-Microsoft-Surface-Book-2-15.patch
-Patch4:         %{surface_source}/v%{version}/0005-data-Add-Microsoft-Surface-Pro-6.patch
-Patch5:         %{surface_source}/v%{version}/0006-data-Add-Microsoft-Surface-Pro-4.patch
-Patch6:         %{surface_source}/v%{version}/0007-data-Add-Microsoft-Surface-Book.patch
-Patch7:         0001-update-meson.patch
-
-BuildRequires:  meson gcc
-BuildRequires:  glib2-devel libgudev1-devel
-BuildRequires:  systemd systemd-devel
-BuildRequires:  git
-BuildRequires:  libxml2-devel
-
-%global debug_package %{nil}
-
-Requires: %{name}-data = %{version}-%{release}
-
-%description
-%{name} is a library that provides information about Wacom tablets and
-tools. This information can then be used by drivers or applications to tweak
-the UI or general settings to match the physical tablet.
-
-%package devel
-Summary:        Tablet Information Client Library Development Package
-Requires:       %{name} = %{version}-%{release}
-Requires:       pkgconfig
-Provides:       libwacom-devel
-Conflicts:      libwacom-devel
-
-%description devel
-Tablet information client library development package.
-
-%package data
-Summary:        Tablet Information Client Library Data Files
-BuildArch:      noarch
-Provides:       libwacom-data
-Conflicts:      libwacom-data
-
-%description data
-Tablet information client library data files.
-
-%prep
-%autosetup -S git -n libwacom-%{version}
-
-%build
-%meson -Dtests=true -Ddocumentation=disabled
-%meson_build
-
-%install
-%meson_install
-install -d ${RPM_BUILD_ROOT}/%{_udevrulesdir}
-# auto-generate the udev rule from the database entries
-%_vpath_builddir/generate-udev-rules > ${RPM_BUILD_ROOT}/%{_udevrulesdir}/65-libwacom.rules
-
-%check
-%meson_test
-
-%ldconfig_scriptlets
-
-%files
-%license COPYING
-%doc README.md
-%{_libdir}/libwacom.so.*
-%{_bindir}/libwacom-list-local-devices
-%{_mandir}/man1/libwacom-list-local-devices.1*
-
-%files devel
-%dir %{_includedir}/libwacom-1.0/
-%dir %{_includedir}/libwacom-1.0/libwacom
-%{_includedir}/libwacom-1.0/libwacom/libwacom.h
-%{_libdir}/libwacom.so
-%{_libdir}/pkgconfig/libwacom.pc
-
-%files data
-%doc COPYING
-%{_udevrulesdir}/65-libwacom.rules
-%dir %{_datadir}/libwacom
-%{_datadir}/libwacom/*.tablet
-%{_datadir}/libwacom/*.stylus
-%dir %{_datadir}/libwacom/layouts
-%{_datadir}/libwacom/layouts/*.svg
-
-%changelog
-* Mon Dec 23 2019 Peter Hutterer <peter.hutterer@redhat.com> 1.2-2
-- Disable documentation explicitly. Fedora uses --auto-features=enabled
-  during the build.
-
-* Mon Dec 23 2019 Peter Hutterer <peter.hutterer@redhat.com> 1.2-1
-- libwacom 1.2
-
-* Thu Nov 07 2019 Peter Hutterer <peter.hutterer@redhat.com> 1.1-2
-- Require a libwacom-data package of the same version
-
-* Mon Sep 16 2019 Peter Hutterer <peter.hutterer@redhat.com> 1.1-1
-- libwacom 1.1
-
-* Mon Aug 26 2019 Peter Hutterer <peter.hutterer@redhat.com> 1.0-1
-- libwacom 1.0
-
-* Thu Aug 08 2019 Peter Hutterer <peter.hutterer@redhat.com> 0.99.901-1
-- libwacom 1.0rc1
-- switch to meson
-
-* Fri Apr 12 2019 Peter Hutterer <peter.hutterer@redhat.com> 0.33-1
-- libwacom 0.33
-
-* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.32-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
-
-* Mon Nov 12 2018 Peter Hutterer <peter.hutterer@redhat.com> 0.32-2
-- Move the udev rule to the noarch libwacom-data package (#1648743)
-
-* Mon Nov 05 2018 Peter Hutterer <peter.hutterer@redhat.com> 0.32-1
-- libwacom 0.32
-
-* Thu Aug 09 2018 Peter Hutterer <peter.hutterer@redhat.com> 0.31-1
-- libwacom 0.31
-
-* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.30-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
-
-* Fri May 18 2018 Peter Hutterer <peter.hutterer@redhat.com> 0.30-1
-- libwacom 0.30
-
-* Wed Mar 07 2018 Peter Hutterer <peter.hutterer@redhat.com>
-- Switch URLs to github
-
-* Mon Mar 05 2018 Peter Hutterer <peter.hutterer@redhat.com> 0.29-1
-- libwacom 0.29
-
-* Tue Feb 13 2018 Peter Hutterer <peter.hutterer@redhat.com> 0.28-3
-- Fix PairedID entry causing a debug message in the udev rules
-
-* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.28-2
-- Escape macros in %%changelog
-
-* Thu Feb 08 2018 Peter Hutterer <peter.hutterer@redhat.com> 0.28-1
-- libwacom 0.28
-- use autosetup
-
-* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.26-4
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
-
-* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.26-3
-- Switch to %%ldconfig_scriptlets
-
-* Tue Oct 17 2017 Peter Hutterer <peter.hutterer@redhat.com> 0.26-2
-- run make check as part of the build (#1502637)
-
-*  Fri Aug 25 2017 Peter Hutterer <peter.hutterer@redhat.com> 0.26-1
-- libwacom 0.26
-
-* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.25-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
-
-* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.25-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
-
-* Thu May 11 2017 Peter Hutterer <peter.hutterer@redhat.com> 0.25-1
-- libwacom 0.25
-
-* Wed Feb 15 2017 Peter Hutterer <peter.hutterer@redhat.com> 0.24-1
-- libwacom 0.24
-
-* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.23-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
-
-* Fri Jan 20 2017 Peter Hutterer <peter.hutterer@redhat.com> 0.23-2
-- Upload the sources too...
-
-* Fri Jan 20 2017 Peter Hutterer <peter.hutterer@redhat.com> 0.23-1
-- libwacom 0.23
-
-* Fri Nov 11 2016 Peter Hutterer <peter.hutterer@redhat.com> 0.22-2
-- Add Lenovo X1 Yoga data file (#1389849)
-
-* Wed Jul 20 2016 Peter Hutterer <peter.hutterer@redhat.com> 0.22-1
-- libwacom 0.22
-
-* Fri Jun 17 2016 Peter Hutterer <peter.hutterer@redhat.com> 0.21-1
-- libwacom 0.21
-
-* Wed Jun 08 2016 Peter Hutterer <peter.hutterer@redhat.com> 0.20-1
-- libwacom 0.20
-
-* Tue Apr 26 2016 Peter Hutterer <peter.hutterer@redhat.com> 0.19-1
-- libwacom 0.19
-
-* Fri Apr 01 2016 Peter Hutterer <peter.hutterer@redhat.com> 0.18-2
-- Add a custom quirk for HUION Consumer Control devices (#1314955)
-
-* Fri Apr 01 2016 Peter Hutterer <peter.hutterer@redhat.com> 0.18-1
-- libwacom 0.18
-
-* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
-
-* Mon Dec 07 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.17-1
-- libwacom 0.17
-
-* Fri Nov 13 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.16-1
-- libwacom 0.16
-
-* Sun Jul 12 2015 Peter Robinson <pbrobinson@fedoraproject.org> 0.15-3
-- fix %%{_udevrulesdir} harder
-
-* Sat Jul 11 2015 Peter Robinson <pbrobinson@fedoraproject.org> 0.15-2
-- Use %%{_udevrulesdir} so rule.d doesn't inadvertantly end up in /
-- Use %%license
-
-* Wed Jul 08 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.15-1
-- libwacom 0.15
-
-* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
-
-* Tue Apr 21 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.13-2
-- Don't label touchscreens as touchpads (#1208685)
-
-* Mon Apr 20 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.13-1
-- libwacom 0.13
-
-* Tue Mar 10 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.12-1
-- libwacom 0.12
-
-* Thu Nov 06 2014 Peter Hutterer <peter.hutterer@redhat.com> 0.11-1
-- libwacom 0.11
-
-* Wed Aug 20 2014 Peter Hutterer <peter.hutterer@redhat.com> 0.10-1
-- libwacom 0.10
-
-* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-4
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
-
-* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
-
-* Thu Mar 20 2014 Peter Hutterer <peter.hutterer@redhat.com> 0.9-2
-- Generate the rules file from the database
-
-* Tue Mar 04 2014 Peter Hutterer <peter.hutterer@redhat.com> 0.9-1
-- libwacom 0.9
-
-* Mon Jan 20 2014 Peter Hutterer <peter.hutterer@redhat.com> - 0.8-2
-- Update rules file to current database
-
-* Mon Oct 07 2013 Peter Hutterer <peter.hutterer@redhat.com> 0.8-1
-- libwacom 0.8
-
-* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.1-4
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
-
-* Thu Jul 11 2013 Peter Hutterer <peter.hutterer@redhat.com> 0.7.1-3
-- Disable silent rules
-
-* Wed May 01 2013 Peter Hutterer <peter.hutterer@redhat.com> 0.7.1-2
-- Use stdout, not stdin for printing
-
-* Tue Apr 16 2013 Peter Hutterer <peter.hutterer@redhat.com> 0.7.1-1
-- libwacom 0.7.1
-
-* Fri Feb 22 2013 Peter Hutterer <peter.hutterer@redhat.com> 0.7-3
-- Install into correct udev rules directory (#913723)
-
-* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
-
-* Thu Dec 20 2012 Peter Hutterer <peter.hutterer@redhat.com> 0.7-1
-- libwacom 0.7
-
-* Fri Nov 09 2012 Peter Hutterer <peter.hutterer@redhat.com> 0.6.1-1
-- libwacom 0.6.1
-- update udev.rules files for new tablet descriptions
-
-* Fri Aug 17 2012 Peter Hutterer <peter.hutterer@redhat.com> 0.6-5
-- remove %%defattr, not necessary anymore
-
-* Mon Jul 30 2012 Peter Hutterer <peter.hutterer@redhat.com> 0.6-4
-- ... and install the rules in %%libdir
-
-* Mon Jul 30 2012 Peter Hutterer <peter.hutterer@redhat.com> 0.6-3
-- udev rules can go into %%libdir now
-
-* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
-
-* Tue Jul 03 2012 Peter Hutterer <peter.hutterer@redhat.com> 0.6-1
-- libwacom 0.6
-
-* Tue May 08 2012 Peter Hutterer <peter.hutterer@redhat.com> 0.5-3
-- Fix crash with WACf* serial devices (if not inputattach'd) (#819191)
-
-* Thu May 03 2012 Peter Hutterer <peter.hutterer@redhat.com> 0.5-2
-- Fix gnome-control-center crash for Bamboo Pen & Touch
-- Generic styli needs to have erasers, default to two tools.
-
-* Wed May 02 2012 Peter Hutterer <peter.hutterer@redhat.com> 0.5-1
-- Update to 0.5
-- Fix sources again - as long as Source0 points to sourceforge this is a bz2
-
-* Tue Mar 27 2012 Matthias Clasen <mclasen@redhat.com> 0.4-1
-- Update to 0.4
-
-* Thu Mar 22 2012 Peter Hutterer <peter.hutterer@redhat.com> 0.3-6
-- Fix udev rules generator patch to apply ENV{ID_INPUT_TOUCHPAD} correctly
-  (#803314)
-
-* Thu Mar 08 2012 Olivier Fourdan <ofourdan@redhat.com> 0.3-5
-- Mark data subpackage as noarch and make it a requirement for libwacom
-- Use generated udev rule file to list only known devices from libwacom
-  database
-
-* Tue Mar 06 2012 Peter Hutterer <peter.hutterer@redhat.com> 0.3-4
-- libwacom-0.3-add-list-devices.patch: add API to list devices
-- libwacom-0.3-add-udev-generator.patch: add a udev rules generater tool
-- libwacom-0.3-add-bamboo-one.patch: add Bamboo One definition
-
-* Tue Feb 21 2012 Olivier Fourdan <ofourdan@redhat.com> - 0.3-2
-- Add udev rules to identify Wacom as tablets for libwacom
-
-* Tue Feb 21 2012 Peter Hutterer <peter.hutterer@redhat.com>
-- Source file is .bz2, not .xz
-
-* Tue Feb  7 2012 Matthias Clasen <mclasen@redhat.com> - 0.3-1
-- Update to 0.3
-
-* Tue Jan 17 2012 Matthias Clasen <mclasen@redhat.com> - 0.2-1
-- Update to 0.2
-
-* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
-
-* Mon Dec 19 2011 Peter Hutterer <peter.hutterer@redhat.com> 0.1-1
-- Initial import (#768800)

+ 0 - 55
pkg/fedora/surface-control/surface-control.spec

@@ -1,55 +0,0 @@
-Name:       surface-control
-Version:    0.2.5
-Release:    1%{?dist}
-Summary:    Control various aspects of Microsoft Surface devices from the shell
-
-License:    MIT
-URL:        https://github.com/linux-surface/surface-control
-Source:     %{url}/archive/v%{version}.zip
-
-Requires:       dbus libgcc
-BuildRequires:  rust cargo
-
-%global debug_package %{nil}
-
-%description
-Control various aspects of Microsoft Surface devices on Linux from the shell.
-Aims to provide a unified front-end to the various sysfs-attributes and special
-devices.
-
-%prep
-%autosetup -n %{name}-%{version}
-
-%build
-export CARGO_TARGET_DIR="$PWD/target"
-export CARGO_INCREMENTAL=0
-
-cargo build --release --locked
-strip --strip-all "target/release/surface"
-
-%install
-rm -rf %{buildroot}
-install -D -m755 "target/release/surface" "%{buildroot}/usr/bin/surface"
-install -D -m644 "target/surface.bash" "%{buildroot}/usr/share/bash-completion/completions/surface"
-install -D -m644 "target/_surface" "%{buildroot}/usr/share/zsh/site-functions/_surface"
-install -D -m644 "target/surface.fish" "%{buildroot}/usr/share/fish/completions/surface.fish"
-
-%files
-%license LICENSE
-/usr/bin/surface
-/usr/share/bash-completion/completions/surface
-/usr/share/zsh/site-functions/_surface
-/usr/share/fish/completions/surface.fish
-
-%changelog
-* Sun Dec 01 2019 Dorian Stoll <dorian.stoll@tmsp.io>
-- Update to version 0.2.5
-
-* Fri Sep 27 2019 Dorian Stoll <dorian.stoll@tmsp.io>
-- Update packaging
-
-* Sat Sep 14 2019 Dorian Stoll <dorian.stoll@tmsp.io>
-- Update to 0.2.4
-
-* Fri May 17 2019 Dorian Stoll <dorian.stoll@tmsp.io>
-- Initial version

+ 0 - 80
pkg/fedora/surface-dtx-daemon/surface-dtx-daemon.spec

@@ -1,80 +0,0 @@
-Name:       surface-dtx-daemon
-Version:    0.1.4
-Release:    1%{?dist}
-Summary:    Surface Detachment System (DTX) Daemon
-
-License:    MIT
-URL:        https://github.com/linux-surface/surface-dtx-daemon
-Source:     %{url}/archive/v%{version}.zip
-
-Requires:       dbus libgcc
-BuildRequires:  rust cargo dbus-devel
-
-%global debug_package %{nil}
-
-%description
-Linux User-Space Detachment System (DTX) Daemon for the Surface ACPI Driver
-(and Surface Books). Currently only the Surface Book 2 is supported, due to
-lack of driver-support on the Surface Book 1. This may change in the future.
-
-%prep
-%autosetup -n %{name}-%{version}
-
-%build
-export CARGO_TARGET_DIR="$PWD/target"
-export CARGO_INCREMENTAL=0
-
-cargo build --release --locked
-strip --strip-all "target/release/surface-dtx-daemon"
-strip --strip-all "target/release/surface-dtx-userd"
-
-%install
-rm -rf %{buildroot}
-
-# binary files
-install -D -m755 "target/release/surface-dtx-daemon" "%{buildroot}/usr/bin/surface-dtx-daemon"
-install -D -m755 "target/release/surface-dtx-userd" "%{buildroot}/usr/bin/surface-dtx-userd"
-
-# application files
-install -D -m644 "etc/dtx/surface-dtx-daemon.conf" "%{buildroot}/etc/surface-dtx/surface-dtx-daemon.conf"
-install -D -m644 "etc/dtx/surface-dtx-userd.conf" "%{buildroot}/etc/surface-dtx/surface-dtx-userd.conf"
-install -D -m755 "etc/dtx/attach.sh" "%{buildroot}/etc/surface-dtx/attach.sh"
-install -D -m755 "etc/dtx/detach.sh" "%{buildroot}/etc/surface-dtx/detach.sh"
-install -D -m644 "etc/systemd/surface-dtx-daemon.service" "%{buildroot}/usr/lib/systemd/system/surface-dtx-daemon.service"
-install -D -m644 "etc/systemd/surface-dtx-userd.service" "%{buildroot}/usr/lib/systemd/user/surface-dtx-userd.service"
-install -D -m644 "etc/dbus/org.surface.dtx.conf" "%{buildroot}/etc/dbus-1/system.d/org.surface.dtx.conf"
-install -D -m644 "etc/udev/40-surface_dtx.rules" "%{buildroot}/etc/udev/rules.d/40-surface_dtx.rules"
-
-# completion files
-install -D -m644 "target/surface-dtx-daemon.bash" "%{buildroot}/usr/share/bash-completion/completions/surface-dtx-daemon"
-install -D -m644 "target/surface-dtx-userd.bash" "%{buildroot}/usr/share/bash-completion/completions/surface-dtx-userd"
-install -D -m644 "target/_surface-dtx-daemon" "%{buildroot}/usr/share/zsh/site-functions/_surface-dtx-daemon"
-install -D -m644 "target/_surface-dtx-userd" "%{buildroot}/usr/share/zsh/site-functions/_surface-dtx-userd"
-install -D -m644 "target/surface-dtx-daemon.fish" "%{buildroot}/usr/share/fish/completions/surface-dtx-daemon.fish"
-install -D -m644 "target/surface-dtx-userd.fish" "%{buildroot}/usr/share/fish/completions/surface-dtx-userd.fish"
-
-%files
-%license LICENSE
-%config /etc/dbus-1/system.d/org.surface.dtx.conf
-%config /etc/udev/rules.d/40-surface_dtx.rules
-%config(noreplace) /etc/surface-dtx/*
-/usr/bin/surface-dtx-daemon
-/usr/bin/surface-dtx-userd
-/usr/lib/systemd/system/surface-dtx-daemon.service
-/usr/lib/systemd/user/surface-dtx-userd.service
-/usr/share/bash-completion/completions/surface-dtx-daemon
-/usr/share/bash-completion/completions/surface-dtx-userd
-/usr/share/zsh/site-functions/_surface-dtx-daemon
-/usr/share/zsh/site-functions/_surface-dtx-userd
-/usr/share/fish/completions/surface-dtx-daemon.fish
-/usr/share/fish/completions/surface-dtx-userd.fish
-
-%changelog
-* Fri Sep 27 2019 Dorian Stoll <dorian.stoll@tmsp.io>
-- Update packaging
-
-* Sat Sep 14 2019 Dorian Stoll <dorian.stoll@tmsp.io>
-- Update to 0.1.4
-
-* Fri May 17 2019 Dorian Stoll <dorian.stoll@tmsp.io>
-- Initial version

+ 0 - 35
pkg/fedora/surface-firmware/surface-firmware.spec

@@ -1,35 +0,0 @@
-Name:       surface-firmware
-Version:    20191004
-Release:    1%{?dist}
-Summary:    Firmware for Microsoft Surface devices
-
-%global commit a6c6b97da238af28dfb5fea4cd71c69f61d8d24e
-
-License:    proprietary
-BuildArch:  noarch
-URL:        https://github.com/linux-surface/linux-surface
-Source:     %{url}/archive/%{commit}.zip
-
-%description
-This package provides firmware files required Microsoft Surface devices.
-
-%prep
-%autosetup -n linux-surface-%{commit}
-
-%install
-rm -rf %{buildroot}
-mkdir -p %{buildroot}/usr/lib
-cp -r firmware %{buildroot}/usr/lib
-
-%files
-/usr/lib/firmware/intel/ipts
-
-%changelog
-* Wed Oct 02 2019 Dorian Stoll <dorian.stoll@tmsp.io>
-- Actually fix the HID descriptor on Surface Laptop instead of replacing it
-
-* Wed Oct 02 2019 Dorian Stoll <dorian.stoll@tmsp.io>
-- Update firmware to fix touch input for Surface Laptop
-
-* Fri Sep 27 2019 Dorian Stoll <dorian.stoll@tmsp.io>
-- Initial version

+ 0 - 119
pkg/fedora/surface-secureboot/surface-secureboot.spec

@@ -1,119 +0,0 @@
-Name:       surface-secureboot
-Version:    20190927
-Release:    1%{?dist}
-Summary:    The secureboot certificate for linux-surface
-
-%global sb_cert surface.cer
-%global sb_password surface
-%global sb_cert_dir /usr/share/surface-secureboot
-
-License:    proprietary
-BuildArch:  noarch
-URL:        https://github.com/linux-surface/linux-surface
-Source:     %{sb_cert}
-
-Requires:   mokutil
-
-%description
-This package installs the secureboot certificate that is used to sign the
-kernel from the linux-surface kernel package. When you reboot for the first
-time, it will ask you to enroll the MOK certificate. Please check if the key
-is correct, and then confirm the import by entering "%{sb_password}".
-
-%prep
-%setup -q -c -T
-
-%install
-rm -rf %{buildroot}
-install -dm 755 %{buildroot}%{sb_cert_dir}
-install -pm 644 %{SOURCE0} %{buildroot}%{sb_cert_dir}
-
-%pre
-
-# Upgrading
-if [ "$1" = "2" ]; then
-	cp %{sb_cert_dir}/%{sb_cert} %{sb_cert_dir}/%{sb_cert}.bak
-	cmp --silent %{sb_cert_dir}/%{sb_cert} %{sb_cert_dir}/%{sb_cert}.bak
-	echo $?
-fi
-
-%post
-
-# First installation
-if [ ! -f "%{sb_cert_dir}/%{sb_cert}.bak" ]; then
-	echo ""
-	echo "The secure-boot certificate has been installed to:"
-	echo ""
-	echo "	%{sb_cert_dir}/%{sb_cert}"
-	echo ""
-	echo "It will now be automatically enrolled for you and guarded with the password:"
-	echo ""
-	echo "	%{sb_password}"
-	echo ""
-
-	HASHFILE=$(mktemp)
-	mokutil --generate-hash=%{sb_password} > $HASHFILE
-	mokutil --hash-file $HASHFILE --import %{sb_cert_dir}/%{sb_cert}
-
-	echo "To finish the enrollment process you need to reboot, where you will then be"
-	echo "asked to enroll the certificate. During the import, you will be prompted for"
-	echo "the password mentioned above. Please make sure that you are indeed adding"
-	echo "the right key and confirm by entering '%{sb_password}'."
-	echo ""
-	echo "Note that you can always manage your secure-boot keys, including the one"
-	echo "just enrolled, from inside Linux via the 'mokutil' tool."
-	echo ""
-elif ! cmp --silent %{sb_cert_dir}/%{sb_cert} %{sb_cert_dir}/%{sb_cert}.bak; then
-	echo ""
-	echo "Updating secure boot certificate. The old key will be revoked and a new key"
-	echo "will be installed. You will need to reboot your system, where you will then"
-	echo "be asked to delete the old and import the new key. In both cases, make sure"
-	echo "this is the right key and confirm with the password '%{sb_password}'."
-	echo ""
-
-	HASHFILE=$(mktemp)
-	mokutil --generate-hash=%{sb_password} > $HASHFILE
-	mokutil --hash-file $HASHFILE --import %{sb_cert_dir}/%{sb_cert}
-	mokutil --hash-file $HASHFILE --delete %{sb_cert_dir}/%{sb_cert}.bak
-	rm -f %{sb_cert_dir}/%{sb_cert}.bak
-else
-	rm -f %{sb_cert_dir}/%{sb_cert}.bak
-fi
-
-%preun
-
-# Last version is being removed
-if [ "$1" = "0" ]; then
-	echo ""
-	echo "The following secure-boot certificate will be uninstalled and revoked from:"
-	echo "your system"
-	echo ""
-	echo "	%{sb_cert_dir}/%{sb_cert}"
-	echo ""
-
-	HASHFILE=$(mktemp)
-	mokutil --generate-hash=%{sb_password} > $HASHFILE
-	mokutil --hash-file $HASHFILE --delete %{sb_cert_dir}/%{sb_cert}
-
-	echo "The key will be revoked on the next start of your system. You will then"
-	echo "again asked for the password. Enter '%{sb_password}' to confirm."
-	echo ""
-	echo "Kernels signed with the corresponding private key will still not be allowed"
-	echo "to boot after this. Note that you can always manage your secure-boot keys"
-	echo "via the 'mokutil' tool. Please refer to 'man mokutil' for more information."
-	echo ""
-fi
-
-
-%files
-%{sb_cert_dir}/%{sb_cert}
-
-%changelog
-* Fri Sep 27 2019 Dorian Stoll <dorian.stoll@tmsp.io>
-- Update to match qzed's version for Arch
-
-* Fri Sep 27 2019 Dorian Stoll <dorian.stoll@tmsp.io>
-- Update packaging
-
-* Thu Apr 25 2019 Dorian Stoll <dorian.stoll@tmsp.io>
-- Initial version