From f3ec71dce6f7ad5d7e74d375f004c07a2e662483 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9C=E5=9D=82=E9=9B=85?= <23130178+ShadowRZ@users.noreply.github.com> Date: Sun, 26 Jul 2026 19:40:53 +0800 Subject: [PATCH] openbox-menu: drop --- .../op/openbox-menu/000-enable-svg.patch | 11 ---- pkgs/by-name/op/openbox-menu/package.nix | 52 ------------------- pkgs/top-level/aliases.nix | 1 + 3 files changed, 1 insertion(+), 63 deletions(-) delete mode 100644 pkgs/by-name/op/openbox-menu/000-enable-svg.patch delete mode 100644 pkgs/by-name/op/openbox-menu/package.nix diff --git a/pkgs/by-name/op/openbox-menu/000-enable-svg.patch b/pkgs/by-name/op/openbox-menu/000-enable-svg.patch deleted file mode 100644 index dd6710f5cfc9f..0000000000000 --- a/pkgs/by-name/op/openbox-menu/000-enable-svg.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/Makefile.old 2013-12-11 06:39:44.397358610 +0100 -+++ b/Makefile 2013-12-11 06:39:51.082275037 +0100 -@@ -7,7 +7,7 @@ - CFLAGS+=-DWITH_ICONS - # Uncomment this line if Openbox can display SVG icons - # Check SVG support with '$ ldd /usr/bin/openbox | grep svg', librsvg must appear.. --# CFLAGS+=-DWITH_SVG -+CFLAGS+=-DWITH_SVG - - prefix= /usr/local - DESTDIR ?= $(prefix) diff --git a/pkgs/by-name/op/openbox-menu/package.nix b/pkgs/by-name/op/openbox-menu/package.nix deleted file mode 100644 index cb2995c4146b5..0000000000000 --- a/pkgs/by-name/op/openbox-menu/package.nix +++ /dev/null @@ -1,52 +0,0 @@ -{ - lib, - gccStdenv, - fetchurl, - pkg-config, - glib, - gtk2, - menu-cache, -}: - -gccStdenv.mkDerivation (finalAttrs: { - pname = "openbox-menu"; - version = "0.8.0"; - - src = fetchurl { - url = "https://bitbucket.org/fabriceT/openbox-menu/downloads/openbox-menu-${finalAttrs.version}.tar.bz2"; - hash = "sha256-FPHghHwVES6bSBUqNeNRUA0x55pRQ0iwVMafhKtZJMI="; - }; - - nativeBuildInputs = [ pkg-config ]; - buildInputs = [ - glib - gtk2 - menu-cache - ]; - - # Enables SVG support by uncommenting the Makefile - patches = [ ./000-enable-svg.patch ]; - - # The strip options are not recognized by Darwin. - postPatch = lib.optionalString gccStdenv.hostPlatform.isDarwin '' - sed -i -e '/strip -s/d' Makefile - ''; - - makeFlags = [ "CC=${gccStdenv.cc.targetPrefix}cc" ]; - - installFlags = [ "prefix=${placeholder "out"}" ]; - - meta = { - homepage = "http://fabrice.thiroux.free.fr/openbox-menu_en.html"; - description = "Dynamic XDG menu generator for Openbox"; - longDescription = '' - Openbox-menu is a pipemenu for Openbox window manager. It provides a - dynamic menu listing installed applications. Most of the work is done by - the LXDE library menu-cache. - ''; - license = lib.licenses.gpl3Plus; - maintainers = [ lib.maintainers.romildo ]; - platforms = lib.platforms.unix; - mainProgram = "openbox-menu"; - }; -}) diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 97f23ba8426a5..398022e3a8b89 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -1751,6 +1751,7 @@ mapAliases { openalSoft = warnAlias "'openalSoft' has been renamed to 'openal-soft'" openal-soft; # Added 2026-02-09 openbabel2 = throw "openbabel2 has been removed, as it was unused and unmaintained upstream; please use openbabel"; # Added 2025-09-17 openbabel3 = openbabel; # Added 2025-09-17 + openbox-menu = throw "'openbox-menu' has been removed as it was archived upstream and depended on gtk2"; # Added 2026-07-26 openbsdCross = throw "'openbsdCross' has been renamed to/replaced by 'openbsd'"; # Converted to throw 2025-10-27 opencl-clang = throw "opencl-clang has been integrated into intel-graphics-compiler"; # Added 2025-09-10 opencollada = throw "opencollada has been removed, as it is unmaintained upstream"; # Added 2026-04-26