forked from pool/kscreen6
Plasma 6.1.5. sddm-kcm6 needed a patch change.
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks/kscreen6?expand=0&rev=25
This commit is contained in:
commit
3b8da9bc1b
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
kscreen-6.1.3.tar.xz
Normal file
3
kscreen-6.1.3.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:300919305a79f1d425141e8d368de3b0e35e8b4ff4c5fa40e4df07017ae6056b
|
||||
size 209672
|
16
kscreen-6.1.3.tar.xz.sig
Normal file
16
kscreen-6.1.3.tar.xz.sig
Normal file
@ -0,0 +1,16 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmaWVKoACgkQ11dEg7tX
|
||||
sY3VzhAAjiK2a/zVz68P2KFCEi4y41ONeCp3QNa1e2QdTHK7A4hK73eIQwKcNjBt
|
||||
CYW9HZIF+zdQeTqFVnt6XhXCm79QYwnjYOasOU2rpTktCoddA+M1UyviUKphbpf/
|
||||
oEW/ejui8bMf3iWdHCwxhNwD2YYLF5jzbSpVvAXczFfB/7BdHYHNhw3jkjtpkTsM
|
||||
0mhtM10SXbVGV7sE5kfTB+aC+lQz+BcZH84GKrGzAQV+cCDihWPmTwLD1kx91TsR
|
||||
fIxobaeWp36eaTKvqnbqbM86LEanae1gsgipSm2irIRoqT5+XFJ1OQMcikTiPRYr
|
||||
GCbUixOEhYdTBFKdpZ24wNDM4EV2fajIh9uqzg3frrLikhLs6rAI3R2h3Sfkp4K4
|
||||
ulPJhmbOak6iHPHjfb9r6Bdp4cxLVVbrqMGpDTJAoBUg3K0OKS4QU6ILD9bjTS1i
|
||||
1pEdPfUqzdFxB7ZbDunwLy1a6DD2WgXK/3fwsEzUisi1+/+8IkWatWLGocdGxoR8
|
||||
6k+1ARA9yKW4S7YHpujz4WyZxL+93GqLHqLskIPYFf66lKj5Abfx7sjWdsww2buX
|
||||
YUhyweku6OsBOK0iggVhKGf23PcDIs2o+unebLhn40f1gCogaNhA1XTC2krON2Ca
|
||||
LtNsGRj8GDSMQgRrtRr88jXonRAf7bBGFroIYHr4n2n+37LnCb4=
|
||||
=up86
|
||||
-----END PGP SIGNATURE-----
|
3
kscreen-6.1.4.tar.xz
Normal file
3
kscreen-6.1.4.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:99fe64edb097fc8285ec2bd3222d02fcb5c9560d29fcbe41f7f4b898b1e331af
|
||||
size 209784
|
16
kscreen-6.1.4.tar.xz.sig
Normal file
16
kscreen-6.1.4.tar.xz.sig
Normal file
@ -0,0 +1,16 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmayGCkACgkQ11dEg7tX
|
||||
sY2URBAAmmUFzAU2dyoHZdCPwm7Sn9udzCfrp+aof3aRLPJi8E9WsxTdYfHVfzEW
|
||||
8b+9yHeTWJh9Ow+4hmHcWdknw014JcTsiInnzxukk+5bGK+a5g64zpV+9DdIft0g
|
||||
ub7JHQKhpcnCsbflk21pHNGjm7RERmnhnc092a0Xow4sBktLINihlahrn63dSLi6
|
||||
0IfAZO8PTFJngA7sELmryH5HKdgx+E0Bsx2D81rub6ksc+JQmLsoquMjHJYddiY6
|
||||
NKMJQTwzgC1o1ici0VQNmUJwhr3mOayv+Z9LJhXD5rmJcoCJNxfmM+egdUmQajSr
|
||||
lJnRD0bJ1oADI90T5VbXguAf3g9lhJv04jo67o/AWra8yge3R4fB/VnscrSz+f3W
|
||||
wRqGD8RYReppfwb2tpOa/7vXwp0NzgCa4t/8A+Y+PIhzC1EY4lh21E1H9+lPQn81
|
||||
NNZmYv8h2hWHHyoyvsNGnJgseJScRxdX0Tb3KHDCEMwYE5BZJZz2Bfhjf9TR25iz
|
||||
c2D32pAIZkNMsu4bULufbSDLKtpP9xC2AwpQngGHnQuobfOgIHsFgcDlnZmKPXE3
|
||||
pJgRAez/fp9UlROdK8q5b9Tz96rZ3NlSau/TGFRbGJYNwZVgMaJaBx3VH8dQ/L0F
|
||||
omiT46/8OgBzcJcfVom+0lZV7or4tBJsTSLLeGGknrcMEMEGSFo=
|
||||
=qg8X
|
||||
-----END PGP SIGNATURE-----
|
3
kscreen-6.1.5.tar.xz
Normal file
3
kscreen-6.1.5.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4166a9f6d588eefdc19ed9d9a9e0f8265ab4999be248ba11b48ee353ecbc511f
|
||||
size 210432
|
16
kscreen-6.1.5.tar.xz.sig
Normal file
16
kscreen-6.1.5.tar.xz.sig
Normal file
@ -0,0 +1,16 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmbgCFsACgkQ11dEg7tX
|
||||
sY1QQg//VSGSVLtmj1ElKSEaGawKmIdLqlfvGyz9aKKVw3FnGkLk/FxSlD8n+dwq
|
||||
AIPrbSIOH+AJjkAlloidBWJBLVAL9PMrnmmivg7Te1b68ma85Hgs9F6nUrSpIyBg
|
||||
MqxxDphSZ9pW0uVsOpiZWZpGaasho4+faIJ4yAWZU16geXomQccM0M9bfpt3h0yQ
|
||||
LTK+Oeo0iKkllE8amIuvsyCicixgWnblLOuQMNJA1oZRBp8+YfXhFPF1G3+ThyVK
|
||||
gywVRyXEBWdx295YMt7POuxvyrqbRgC1EQHTN4sjOdxuF1AJlvYbXbGvfFz644vu
|
||||
IgGhsmByGNBsk1R2mT8uv8vDA4Si6UqzbhheBsRgOqUPFiKWwJsWUXiG+yUkSye+
|
||||
JbSm4PEqycr17QBgoyRW4MyrCagoWJNHR0QSxIEcxuhfXIFvk3ICPgHdrrTftejq
|
||||
p9Uuz4yh8csf/H7wzsnBEdq8T7QuNljAoVmqY5I7/Eu/BXZdZOhoQX+vaHfyF0NB
|
||||
80Ygt6reQe2fTXNDjx5CZZSLCDmwxJOqZmBy2tEP/OIOWRgRMN2N98guujoY3utP
|
||||
0dZ1paqMHN78vsu2NtGnz3GrnpvQix/6DdPoWQTTiu1nNsoP9kdNNdhHo0XQ3XMg
|
||||
NBDh1wqXdeoQsVcVlJClI3v6etIKtBz8SD2IwdOYfoO8BKQe5Mg=
|
||||
=WCpq
|
||||
-----END PGP SIGNATURE-----
|
166
kscreen6.changes
Normal file
166
kscreen6.changes
Normal file
@ -0,0 +1,166 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 10 14:53:52 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||
|
||||
- Update to 6.1.5:
|
||||
* New bugfix release
|
||||
* For more details see https://kde.org/announcements/plasma/6/6.1.5
|
||||
- Changes since 6.1.4:
|
||||
* update version for new release
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 6 13:26:53 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||
|
||||
- Update to 6.1.4:
|
||||
* New bugfix release
|
||||
* For more details see https://kde.org/announcements/plasma/6/6.1.4
|
||||
- Changes since 6.1.3:
|
||||
* update version for new release
|
||||
* Emit OrientationSensor::availableChanged() when needed (kde#488764)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 16 13:23:46 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||
|
||||
- Update to 6.1.3:
|
||||
* New bugfix release
|
||||
* For more details see https://kde.org/announcements/plasma/6/6.1.3
|
||||
- Changes since 6.1.2:
|
||||
* update version for new release
|
||||
* kcm: use ContextualHelpButton from Kirigami
|
||||
* update version for new release
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 2 17:34:05 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||
|
||||
- Update to 6.1.2:
|
||||
* New bugfix release
|
||||
* For more details see https://kde.org/announcements/plasma/6/6.1.2
|
||||
- Changes since 6.1.1:
|
||||
* update version for new release
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 25 17:13:14 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||
|
||||
- Update to 6.1.1:
|
||||
* New bugfix release
|
||||
* For more details see https://kde.org/announcements/plasma/6/6.1.1
|
||||
- Changes since 6.1.0:
|
||||
* update version for new release
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 13 10:58:30 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||
|
||||
- Update to 6.1.0:
|
||||
* New bugfix release
|
||||
* For more details see https://kde.org/announcements/plasma/6/6.1.0
|
||||
- Changes since 6.0.90:
|
||||
* update version for new release
|
||||
* PresentationModeItem.qml: fix logic bug that would not allow turning Presentation Mode off (kde#487706)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat May 25 11:18:14 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||
|
||||
- Update to 6.0.90:
|
||||
* New feature release
|
||||
* For more details see https://kde.org/announcements/plasma/6/6.0.90
|
||||
- Too many changes to list here
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 22 07:43:04 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||
|
||||
- Update to 6.0.5:
|
||||
* New bugfix release
|
||||
* For more details see https://kde.org/announcements/plasma/6/6.0.5
|
||||
- Changes since 6.0.4:
|
||||
* update version for new release
|
||||
* Output: Use dedicated Rectangle for panel orientation indicator
|
||||
* osd: Make dbus-send wait for a reply
|
||||
* osd: fix actions not being applied in OSD (kde#482642)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 17 08:12:33 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||
|
||||
- Update to 6.0.4:
|
||||
* New bugfix release
|
||||
* For more details see https://kde.org/announcements/plasma/6/6.0.4
|
||||
- Changes since 6.0.3:
|
||||
* update version for new release
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 26 18:05:37 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||
|
||||
- Update to 6.0.3:
|
||||
* New bugfix release
|
||||
* For more details see https://kde.org/announcements/plasma/6/6.0.3
|
||||
- Changes since 6.0.2:
|
||||
* update version for new release
|
||||
* plasmoid: adapt to changed inhibition request handling (kde#477355)
|
||||
* OsdAction: fix finding best mode
|
||||
* OsdAction: fix applying mode on X11 (kde#482642)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 13 09:09:43 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||
|
||||
- Update to 6.0.2:
|
||||
* New bugfix release
|
||||
* For more details see https://kde.org/announcements/plasma/6/6.0.2
|
||||
- Changes since 6.0.1:
|
||||
* update version for new release
|
||||
* KCM: Make sure HDR UI elements aren't shown when HDR isn't available (kde#482748)
|
||||
* update version for new release
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 6 08:40:27 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||
|
||||
- Update to 6.0.1:
|
||||
* New bugfix release
|
||||
* For more details see https://kde.org/announcements/plasma/6/6.0.1
|
||||
- Changes since 6.0.0:
|
||||
* update version for new release
|
||||
* Properly restore "Device" combobox when the output model resets
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 5 08:43:30 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||
|
||||
- Merge kscreen6-plasmoid into kscreen6
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 21 18:36:13 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||
|
||||
- Update to 6.0.0:
|
||||
* New bugfix release
|
||||
* Release announcement not available yet
|
||||
- Changes since 5.93.0:
|
||||
* update version for new release
|
||||
* kcm: Change template literal strings to normal ones so they're translatable
|
||||
* kcm: port remaining kcm.outputModel.rowCount() (kde#481072)
|
||||
* Sort enabled outputs first
|
||||
* kcm/output_model: basic mode matching in mirroring
|
||||
* common/osdaction: correct extend left/right being swapped around (kde#480993)
|
||||
* common: make OrientationSensor::available work
|
||||
* kcm: hide "only in tablet mode" checkbox when tablet mode isn't available
|
||||
* update version for new release
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 31 17:37:06 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||
|
||||
- Update to 5.93.0 (6.0 RC 2):
|
||||
* New bugfix release
|
||||
* See https://kde.org/announcements/megarelease/6/rc2/ for details
|
||||
- Changes since 5.92.0:
|
||||
* RC 1 version dep
|
||||
* add a version for dependencies so it does not break CI
|
||||
* Fix X-KDE-Shortcuts declaration
|
||||
* kded: Drop Daemon::displayButton()
|
||||
* Define display switcher shortcut via desktop file instead of at runtime (kde#479647)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 15 21:08:51 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||
|
||||
- Update to 5.92.0 (6.0 RC 1)
|
||||
* For more details please see:
|
||||
https://kde.org/announcements/megarelease/6/rc1/
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 30 19:45:19 UTC 2023 - Christophe Marin <christophe@krop.fr>
|
||||
|
||||
- Init kscreen6
|
115
kscreen6.spec
Normal file
115
kscreen6.spec
Normal file
@ -0,0 +1,115 @@
|
||||
#
|
||||
# spec file for package kscreen6
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%global __requires_exclude qt6qmlimport\\(org\\.kde\\.private\\.kscreen.*
|
||||
|
||||
%global kf6_version 6.0.0
|
||||
%define qt6_version 6.6.0
|
||||
|
||||
%define rname kscreen
|
||||
%bcond_without released
|
||||
Name: kscreen6
|
||||
Version: 6.1.5
|
||||
Release: 0
|
||||
# Full Plasma 6 version (e.g. 6.0.0)
|
||||
%{!?_plasma6_bugfix: %define _plasma6_bugfix %{version}}
|
||||
# Latest ABI-stable Plasma (e.g. 6.0 in KF6, but 6.0.80 in KUF)
|
||||
%{!?_plasma6_version: %define _plasma6_version %(echo %{_plasma6_bugfix} | awk -F. '{print $1"."$2}')}
|
||||
Summary: Screen management software by KDE
|
||||
License: GPL-2.0-or-later
|
||||
URL: https://www.kde.org
|
||||
Source: https://download.kde.org/stable/plasma/%{version}/%{rname}-%{version}.tar.xz
|
||||
%if %{with released}
|
||||
Source1: https://download.kde.org/stable/plasma/%{version}/%{rname}-%{version}.tar.xz.sig
|
||||
Source2: plasma.keyring
|
||||
%endif
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: kf6-extra-cmake-modules >= %{kf6_version}
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: qt6-gui-private-devel >= %{qt6_version}
|
||||
BuildRequires: cmake(KF6Config) >= %{kf6_version}
|
||||
BuildRequires: cmake(KF6DBusAddons) >= %{kf6_version}
|
||||
BuildRequires: cmake(KF6GlobalAccel) >= %{kf6_version}
|
||||
BuildRequires: cmake(KF6I18n) >= %{kf6_version}
|
||||
BuildRequires: cmake(KF6IconThemes) >= %{kf6_version}
|
||||
BuildRequires: cmake(KF6KCMUtils) >= %{kf6_version}
|
||||
BuildRequires: cmake(KF6Screen) >= %{_plasma6_bugfix}
|
||||
BuildRequires: cmake(KF6Svg) >= %{kf6_version}
|
||||
BuildRequires: cmake(KF6XmlGui) >= %{kf6_version}
|
||||
BuildRequires: cmake(LayerShellQt) >= %{_plasma6_bugfix}
|
||||
BuildRequires: cmake(Plasma) >= %{_plasma6_bugfix}
|
||||
BuildRequires: cmake(PlasmaQuick) >= %{_plasma6_bugfix}
|
||||
BuildRequires: cmake(Qt6Sensors) >= %{qt6_version}
|
||||
BuildRequires: cmake(Qt6Test) >= %{qt6_version}
|
||||
BuildRequires: pkgconfig(xcb-atom)
|
||||
BuildRequires: pkgconfig(xi)
|
||||
Requires: kf6-kded
|
||||
Requires: libkscreen6-plugin >= %{_plasma6_bugfix}
|
||||
Requires: xrdb
|
||||
Supplements: (libkscreen6-plugin and plasma6-workspace)
|
||||
Obsoletes: kscreen5 < %{version}
|
||||
Obsoletes: kscreen5-lang < %{version}
|
||||
Obsoletes: kscreen5-plasmoid < %{version}
|
||||
Provides: kscreen6-plasmoid < %{version}
|
||||
Obsoletes: kscreen6-plasmoid < %{version}
|
||||
|
||||
%description
|
||||
KScreen handles screen management for both X11 and Wayland sessions, including rotation, size, refresh rate, and scaling.
|
||||
|
||||
%lang_package
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n %{rname}-%{version}
|
||||
|
||||
%build
|
||||
%cmake_kf6
|
||||
|
||||
%kf6_build
|
||||
|
||||
%install
|
||||
%kf6_install
|
||||
|
||||
%find_lang %{name} --all-name
|
||||
|
||||
%post
|
||||
%{systemd_user_post plasma-kscreen-osd.service}
|
||||
|
||||
%preun
|
||||
%{systemd_user_preun plasma-kscreen-osd.service}
|
||||
|
||||
%postun
|
||||
%{systemd_user_postun plasma-kscreen-osd.service}
|
||||
|
||||
%files
|
||||
%license LICENSES/*
|
||||
%{_kf6_applicationsdir}/kcm_kscreen.desktop
|
||||
%{_kf6_appstreamdir}/org.kde.kscreen.appdata.xml
|
||||
%{_kf6_bindir}/kscreen-console
|
||||
%{_kf6_debugdir}/kscreen.categories
|
||||
%{_kf6_plasmadir}/plasmoids/org.kde.kscreen/
|
||||
%{_kf6_plugindir}/kf6/kded/kscreen.so
|
||||
%{_kf6_plugindir}/plasma/applets/org.kde.kscreen.so
|
||||
%{_kf6_plugindir}/plasma/kcms/systemsettings/kcm_kscreen.so
|
||||
%{_kf6_sharedir}/dbus-1/services/org.kde.kscreen.osdService.service
|
||||
%{_kf6_sharedir}/kglobalaccel/org.kde.kscreen.desktop
|
||||
%{_libexecdir}/kscreen_osd_service
|
||||
%{_userunitdir}/plasma-kscreen-osd.service
|
||||
|
||||
%files lang -f kscreen6.lang
|
||||
|
||||
%changelog
|
BIN
plasma.keyring
Normal file
BIN
plasma.keyring
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user