Hello,
This patch removes thinkfan from the repos since it has fallen bit-rot
after zcfan effectively replaced it.

-- 
Kind Regards,
Wael Karram.
From df9097b876e09c0446d40e7fe1dc07f01e866ba1 Mon Sep 17 00:00:00 2001
From: wael <[email protected]>
Date: Mon, 18 Aug 2025 15:56:04 +0300
Subject: [PATCH] Removed thinkfan for lack of use and alternatives being
 easier to mantain (zcfan).

---
 pcr/thinkfan/PKGBUILD           | 55 ---------------------------------
 pcr/thinkfan/thinkfan.install   | 40 ------------------------
 pcr/thinkfan/thinkfan.service   | 15 ---------
 pcr/thinkfan/thinkpad_acpi.conf |  1 -
 4 files changed, 111 deletions(-)
 delete mode 100644 pcr/thinkfan/PKGBUILD
 delete mode 100644 pcr/thinkfan/thinkfan.install
 delete mode 100644 pcr/thinkfan/thinkfan.service
 delete mode 100644 pcr/thinkfan/thinkpad_acpi.conf

diff --git a/pcr/thinkfan/PKGBUILD b/pcr/thinkfan/PKGBUILD
deleted file mode 100644
index ee6346f39..000000000
--- a/pcr/thinkfan/PKGBUILD
+++ /dev/null
@@ -1,55 +0,0 @@
-# Maintainer (aur): Barry Smith <brrtsm at gmail.com>
-# Contributor: nblock <nblock [/at\] archlinux DOT us>
-# Contributor: Frederik Alkærsig (FALKER) <havnelisten AT gmail.com>
-# Maintainer: Omar Vega Ramos <ovruni.gnu.org.pe>
-# Contributor: Wael Karram <[email protected]>
-# Contributor: bill-auger <[email protected]>
-
-
-# parabola changes and rationale:
-# - add sodep on 'yaml-cpp'
-
-
-pkgname=thinkfan
-pkgver=1.3.1
-pkgrel=2
-pkgdesc="A minimalist fan control program. Supports the sysfs hwmon interface and thinkpad_acpi"
-url="https://github.com/vmatare/thinkfan";
-arch=('i686' 'x86_64')
-arch+=('armv7h')
-makedepends=('cmake')
-depends=('libatasmart' 'yaml-cpp')
-depends+=('libyaml-cpp.so')
-optdepends=('lm_sensors: hwmon support')
-backup=('etc/systemd/system/thinkfan.service.d/override.conf')
-license=('GPL')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/vmatare/$pkgname/archive/$pkgver.tar.gz";
-        'thinkfan.service'
-        'thinkpad_acpi.conf')
-sha256sums=('9466c8c82b7c4333b280fa66445ab26185ffbb4aada6bcb4a164eed742f8d78c'
-            '625730e33fae251f3a1cc8259b222089fb45ada08e9cf5c816ea1cde6560e989'
-            '28874576641b3cc1aa486e1bc9ed40eadfe8b13d6d3014016e31fedc5dc5195f')
-install=thinkfan.install
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  cmake . -DCMAKE_INSTALL_PREFIX=/usr -DUSE_ATASMART:BOOL=ON
-  make
-}
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  install -d -m755 "$pkgdir"/usr/{bin,lib/{modprobe.d,systemd/system},share/{doc/"$pkgname"/{,examples},man/man{1,5}}}
-  install -d -m755 "$pkgdir"/etc/systemd/system/thinkfan.service.d
-  install -D -m755 "$pkgname" "$pkgdir"/usr/bin
-  install -D -m644 examples/* "$pkgdir"/usr/share/doc/"$pkgname"/examples
-  install -D -m644 "$pkgname".1 "$pkgdir"/usr/share/man/man1
-  install -D -m644 "$pkgname".conf.5 "$pkgdir"/usr/share/man/man5
-  install -D -m644 "$srcdir/$pkgname".service rcscripts/systemd/thinkfan-{sleep,wakeup}.service "$pkgdir"/usr/lib/systemd/system
-  install -D -m644 rcscripts/systemd/override.conf "$pkgdir"/etc/systemd/system/thinkfan.service.d
-  install -D -m644 "$srcdir"/thinkpad_acpi.conf "$pkgdir"/usr/lib/modprobe.d
-}
-
-# vim:set ts=2 sw=2 noet:
diff --git a/pcr/thinkfan/thinkfan.install b/pcr/thinkfan/thinkfan.install
deleted file mode 100644
index ecf947a7d..000000000
--- a/pcr/thinkfan/thinkfan.install
+++ /dev/null
@@ -1,40 +0,0 @@
-# This is an install file for thinkfan package.
-
-_update() {
-    echo "Please configure thinkfan in: /etc/thinkfan.conf"
-    echo "Have a look at the examples in: /usr/share/doc/thinkfan/examples for details."
-}
-
-## arg 1:  the new package version
-pre_install() {
-  :
-}
-
-# arg 1:  the new package version
-post_install() {
-  _update
-}
-
-# arg 1:  the new package version
-# arg 2:  the old package version
-pre_upgrade() {
-  :
-}
-
-# arg 1:  the new package version
-# arg 2:  the old package version
-post_upgrade() {
-  _update
-}
-
-# arg 1:  the old package version
-pre_remove() {
-  :
-}
-
-# arg 1:  the old package version
-post_remove() {
-  :
-}
-
-# vim:set ts=2 sw=2 noet:
diff --git a/pcr/thinkfan/thinkfan.service b/pcr/thinkfan/thinkfan.service
deleted file mode 100644
index d23218aad..000000000
--- a/pcr/thinkfan/thinkfan.service
+++ /dev/null
@@ -1,15 +0,0 @@
-[Unit]
-Description=simple and lightweight fan control program
-Wants=lm_sensors.service
-After=lm_sensors.service
-
-[Service]
-Type=forking
-ExecStart=/usr/bin/thinkfan $THINKFAN_ARGS
-PIDFile=/run/thinkfan.pid
-ExecReload=/bin/kill -HUP $MAINPID
-
-[Install]
-WantedBy=multi-user.target
-Also=thinkfan-sleep.service
-Also=thinkfan-wakeup.service
\ No newline at end of file
diff --git a/pcr/thinkfan/thinkpad_acpi.conf b/pcr/thinkfan/thinkpad_acpi.conf
deleted file mode 100644
index 00e1014b8..000000000
--- a/pcr/thinkfan/thinkpad_acpi.conf
+++ /dev/null
@@ -1 +0,0 @@
-options thinkpad_acpi fan_control=1
-- 
2.50.1

Attachment: pgpyzkz_DXtUI.pgp
Description: OpenPGP digital signature

_______________________________________________
Dev mailing list
[email protected]
https://lists.parabola.nu/mailman/listinfo/dev

Reply via email to