summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2021-08-22 14:47:10 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2021-08-22 14:47:10 (EDT)
commitde39b3424f3ce640657785bd3f4fdbfd51816992 (patch)
tree71928ff6925ea439c343e354ffd60516b21e82a0
parent2b73e36eeddb2c7d58725ebad15432b77d82a4bd (diff)
downloadclipit-de39b3424f3ce640657785bd3f4fdbfd51816992.zip
clipit-de39b3424f3ce640657785bd3f4fdbfd51816992.tar.gz
clipit-de39b3424f3ce640657785bd3f4fdbfd51816992.tar.bz2
.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 <packages@qa.debian.org> 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 <os@esite.ch> 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 <os@esite.ch> 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.
-rwxr-xr-x.fluxbox/startup.d/clipit6
1 files changed, 5 insertions, 1 deletions
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