gnome-bluetooth_1_0: Remove (#498250)
This commit is contained in:
@@ -1,100 +0,0 @@
|
||||
{
|
||||
stdenv,
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
bluez-tools,
|
||||
gnome-bluetooth_1_0,
|
||||
gobject-introspection,
|
||||
libnotify,
|
||||
pavucontrol,
|
||||
python3Packages,
|
||||
util-linux,
|
||||
wrapGAppsHook3,
|
||||
xapp,
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "blueberry";
|
||||
version = "1.4.8";
|
||||
pyproject = false;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linuxmint";
|
||||
repo = "blueberry";
|
||||
tag = version;
|
||||
sha256 = "sha256-MyIjcTyKn1aC2th6fCOw4cIqrRKatk2s4QD5R9cm83A=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
gobject-introspection
|
||||
wrapGAppsHook3
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
bluez-tools
|
||||
gnome-bluetooth_1_0
|
||||
libnotify
|
||||
util-linux
|
||||
xapp
|
||||
];
|
||||
|
||||
pythonPath = with python3Packages; [
|
||||
dbus-python
|
||||
pygobject3
|
||||
setproctitle
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out
|
||||
cp -a etc usr/* $out
|
||||
|
||||
# Fix paths
|
||||
substituteInPlace $out/bin/blueberry \
|
||||
--replace-fail /usr/lib/blueberry $out/lib/blueberry
|
||||
substituteInPlace $out/bin/blueberry-tray \
|
||||
--replace-fail /usr/lib/blueberry $out/lib/blueberry
|
||||
substituteInPlace $out/etc/xdg/autostart/blueberry-obex-agent.desktop \
|
||||
--replace-fail /usr/lib/blueberry $out/lib/blueberry
|
||||
substituteInPlace $out/etc/xdg/autostart/blueberry-tray.desktop \
|
||||
--replace-fail Exec=blueberry-tray Exec=$out/bin/blueberry-tray
|
||||
substituteInPlace $out/lib/blueberry/blueberry-obex-agent.py \
|
||||
--replace-fail /usr/share $out/share
|
||||
substituteInPlace $out/lib/blueberry/blueberry-tray.py \
|
||||
--replace-fail /usr/share $out/share
|
||||
substituteInPlace $out/lib/blueberry/blueberry.py \
|
||||
--replace-fail '"bt-adapter"' '"${bluez-tools}/bin/bt-adapter"' \
|
||||
--replace-fail /usr/bin/pavucontrol ${pavucontrol}/bin/pavucontrol \
|
||||
--replace-fail /usr/lib/blueberry $out/lib/blueberry \
|
||||
--replace-fail /usr/share $out/share
|
||||
substituteInPlace $out/lib/blueberry/rfkillMagic.py \
|
||||
--replace-fail /usr/bin/rfkill ${util-linux}/bin/rfkill \
|
||||
--replace-fail /usr/sbin/rfkill ${util-linux}/bin/rfkill \
|
||||
--replace-fail /usr/lib/blueberry $out/lib/blueberry
|
||||
substituteInPlace $out/share/applications/blueberry.desktop \
|
||||
--replace-fail Exec=blueberry Exec=$out/bin/blueberry
|
||||
|
||||
glib-compile-schemas --strict $out/share/glib-2.0/schemas
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
dontWrapGApps = true;
|
||||
|
||||
postFixup = ''
|
||||
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
|
||||
wrapPythonProgramsIn $out/lib "$out ''${pythonPath[*]}"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Bluetooth configuration tool";
|
||||
homepage = "https://github.com/linuxmint/blueberry";
|
||||
license = lib.licenses.gpl3Plus;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [
|
||||
bobby285271
|
||||
romildo
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -1,111 +0,0 @@
|
||||
{
|
||||
stdenv,
|
||||
lib,
|
||||
fetchurl,
|
||||
fetchpatch,
|
||||
gnome,
|
||||
adwaita-icon-theme,
|
||||
meson,
|
||||
mesonEmulatorHook,
|
||||
ninja,
|
||||
pkg-config,
|
||||
gtk3,
|
||||
gettext,
|
||||
glib,
|
||||
udev,
|
||||
itstool,
|
||||
libxml2,
|
||||
wrapGAppsHook3,
|
||||
libnotify,
|
||||
libcanberra-gtk3,
|
||||
gobject-introspection,
|
||||
gtk-doc,
|
||||
docbook-xsl-nons,
|
||||
docbook_xml_dtd_43,
|
||||
python3,
|
||||
gsettings-desktop-schemas,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "gnome-bluetooth";
|
||||
version = "3.34.5";
|
||||
|
||||
# TODO: split out "lib"
|
||||
outputs = [
|
||||
"out"
|
||||
"dev"
|
||||
"devdoc"
|
||||
"man"
|
||||
];
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gnome-bluetooth/${lib.versions.majorMinor finalAttrs.version}/gnome-bluetooth-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-bJSeUsi+zCBU2qzWBJAfZs5c9wml+pHEu3ysyTm1Pqk=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fix build with meson 0.61.
|
||||
# sendto/meson.build:24:5: ERROR: Function does not take positional arguments.
|
||||
(fetchpatch {
|
||||
url = "https://gitlab.gnome.org/GNOME/gnome-bluetooth/-/commit/755fd758f866d3a3f7ca482942beee749f13a91e.patch";
|
||||
hash = "sha256-N0MJ0pYO411o2CTNZHWmEoG2m5TGUjR6YW6HSXHTR/A=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
gettext
|
||||
itstool
|
||||
pkg-config
|
||||
libxml2
|
||||
wrapGAppsHook3
|
||||
gobject-introspection
|
||||
gtk-doc
|
||||
docbook-xsl-nons
|
||||
docbook_xml_dtd_43
|
||||
python3
|
||||
]
|
||||
++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
|
||||
mesonEmulatorHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
glib
|
||||
gtk3
|
||||
udev
|
||||
libnotify
|
||||
libcanberra-gtk3
|
||||
adwaita-icon-theme
|
||||
gsettings-desktop-schemas
|
||||
];
|
||||
|
||||
mesonFlags = [
|
||||
"-Dicon_update=false"
|
||||
"-Dgtk_doc=true"
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
chmod +x meson_post_install.py # patchShebangs requires executable file
|
||||
patchShebangs meson_post_install.py
|
||||
'';
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
passthru = {
|
||||
updateScript = gnome.updateScript {
|
||||
packageName = "gnome-bluetooth";
|
||||
attrPath = "gnome-bluetooth_1_0";
|
||||
freeze = true;
|
||||
};
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = "https://help.gnome.org/users/gnome-bluetooth/stable/index.html.en";
|
||||
description = "Application that let you manage Bluetooth in the GNOME destkop";
|
||||
mainProgram = "bluetooth-sendto";
|
||||
maintainers = [ ];
|
||||
license = lib.licenses.gpl2Plus;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
})
|
||||
@@ -390,6 +390,7 @@ mapAliases {
|
||||
blender-with-packages = throw "blender-with-packages is deprecated in in favor of blender.withPackages, e.g. `blender.withPackages(ps: [ ps.foobar ])`"; # Converted to throw 2025-10-26
|
||||
blockbench-electron = throw "'blockbench-electron' has been renamed to/replaced by 'blockbench'"; # Converted to throw 2025-10-27
|
||||
bloomeetunes = throw "bloomeetunes is unmaintained and has been removed"; # Added 2025-08-26
|
||||
blueberry = throw "'blueberry' has been removed as it is unmaintained upstream. Consider using blueman instead"; # Added 2026-03-09
|
||||
bmap-tools = throw "'bmap-tools' has been renamed to/replaced by 'bmaptool'"; # Converted to throw 2025-10-27
|
||||
bob = throw "'bob' has been removed as it is unmaintained upstream and has vulnerable dependencies."; # Added 2025-12-29
|
||||
botan2 = throw "botan2 has been removed as it is EOL"; # Added 2025-10-20
|
||||
@@ -838,6 +839,7 @@ mapAliases {
|
||||
gnatcoll-xref = throw "'gnatcoll-xref' has been renamed to/replaced by 'gnatPackages.gnatcoll-xref'"; # Converted to throw 2025-10-27
|
||||
gnatcoll-zlib = throw "'gnatcoll-zlib' has been renamed to/replaced by 'gnatPackages.gnatcoll-zlib'"; # Converted to throw 2025-10-27
|
||||
gnatinspect = throw "'gnatinspect' has been renamed to/replaced by 'gnatPackages.gnatinspect'"; # Converted to throw 2025-10-27
|
||||
gnome-bluetooth_1_0 = throw "'gnome-bluetooth_1_0' has been removed as it is unmaintained upstream"; # Added 2026-03-09
|
||||
gnome-firmware-updater = throw "'gnome-firmware-updater' has been renamed to/replaced by 'gnome-firmware'"; # Converted to throw 2025-10-27
|
||||
gnome-passwordsafe = throw "'gnome-passwordsafe' has been renamed to/replaced by 'gnome-secrets'"; # Converted to throw 2025-10-27
|
||||
gnome-recipes = throw "'gnome-recipes' has been removed due to lack of upstream maintenance and dependency on insecure libraries"; # Added 2025-09-06
|
||||
|
||||
Reference in New Issue
Block a user