From de39b3424f3ce640657785bd3f4fdbfd51816992 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sun, 22 Aug 2021 14:47:10 -0400 Subject: .fluxbox/startup.d/clipit: Work around deprecation Debian's clipit maintainer orphaned the package and declared it deprecated due to upstream inactivity and various unfixed bugs: https://tracker.debian.org/news/1140666/accepted-clipit-144git20190202-2-source-into-unstable/ However, upstream is in fact fairly active: https://github.com/CristianHenzel/ClipIt/commits/master And someone intends to adopt the package during the Debian bookworm development cycle: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=941081 Also, compare: Package: clipit Version: 1.4.4+git20190202-2 Architecture: amd64 Maintainer: Debian QA Group Installed-Size: 318 Depends: libayatana-appindicator3-1 (>= 0.2.92), libc6 (>= 2.7), libglib2.0-0 (>= 2.30.0), libgtk-3-0 (>= 3.19.12), libpango-1.0-0 (>= 1.14.0), libx11-6, xdotool, zenity, diodon Versus: Package: diodon Version: 1.11.0-1 Architecture: amd64 Maintainer: Oliver Sauder Installed-Size: 1057 Depends: libdiodon0 (= 1.11.0-1), zeitgeist-core (>= 0.9.14), dconf-gsettings-backend | gsettings-backend, libayatana-appindicator3-1 (>= 0.5.3), libc6 (>= 2.4), libglib2.0-0 (>= 2.46), libgtk-3-0 (>= 3.22), libpeas-1.0-0 (>= 1.1.1) Package: libdiodon0 Source: diodon Version: 1.11.0-1 Architecture: amd64 Maintainer: Oliver Sauder Installed-Size: 170 Depends: libc6 (>= 2.4), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.46), libgtk-3-0 (>= 3.22), libpeas-1.0-0 (>= 1.1.1), libx11-6, libxtst6, libzeitgeist-2.0-0 (>= 0.9.9) diodon and its library alone are almost four times the size of clipit. Because of the intent to adopt, the size, and my familiarity with and existing configuration for clipit, it's worth keeping it for at least Debian bullseye. --- diff --git a/.fluxbox/startup.d/clipit b/.fluxbox/startup.d/clipit index 776df9b..bb10e01 100755 --- a/.fluxbox/startup.d/clipit +++ b/.fluxbox/startup.d/clipit @@ -2,4 +2,8 @@ set -eu -clipit & +if [ -x /usr/bin/clipit.real ]; then + /usr/bin/clipit.real & +else + /usr/bin/clipit & +fi -- cgit v0.9.1