Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
106 changes: 0 additions & 106 deletions howdy-beta/0001-fix-polkit.patch

This file was deleted.

16 changes: 7 additions & 9 deletions howdy-beta/howdy.spec
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
%global forgeurl https://github.com/boltgolt/%{name}
%global commit aef35b526e4fef082f4bbfd6ffb5cbbc520ff629
%global commit d3ab99382f88f043d15f15c1450ab69433892a1c

%forgemeta

Name: howdy
Version: 3.0.0
Release: 5%{?dist}
Release: 6%{?dist}
Summary: Windows Hello™ style authentication for Linux

# The entire source code is GPL-3.0-or-later except:
Expand All @@ -19,8 +19,6 @@ Source10: https://github.com/davisking/dlib-models/raw/master/dlib_face_re
Source11: https://github.com/davisking/dlib-models/raw/master/mmod_human_face_detector.dat.bz2
Source12: https://github.com/davisking/dlib-models/raw/master/shape_predictor_5_face_landmarks.dat.bz2

Patch0: 0001-fix-polkit.patch

BuildRequires: gcc-c++
BuildRequires: meson
BuildRequires: bzip2
Expand Down Expand Up @@ -73,10 +71,6 @@ bzip2 -dc %{S:10} > howdy/src/dlib-data/%(f=%{basename:%{S:10}}; echo ${f%.*})
bzip2 -dc %{S:11} > howdy/src/dlib-data/%(f=%{basename:%{S:11}}; echo ${f%.*})
bzip2 -dc %{S:12} > howdy/src/dlib-data/%(f=%{basename:%{S:12}}; echo ${f%.*})

# Fix python path
sed -i 's#env python3#%{python3}#' howdy/src/bin/howdy.in
sed -i 's#env python3#%{python3}#' howdy-gtk/bin/howdy-gtk.in

# Fix perms
chmod 0755 howdy/src/compare.py

Expand All @@ -88,7 +82,8 @@ sed -i "/install_data('dlib-data\/install.sh',.*/d" howdy/src/meson.build
-Ddlib_data_dir=%{_datadir}/%{name}/dlib-data/ \
-Dinstall_in_site_packages=true \
-D python.bytecompile=-1 \
-D with_polkit=true
-D with_polkit=true \
-D python_path=%{python3}
%meson_build

%install
Expand Down Expand Up @@ -142,6 +137,9 @@ install -Dm 0644 howdy/src/dlib-data/*.dat -t %{buildroot}%{_datadir}/%{name}/dl
%{_datadir}/%{name}/dlib-data/*.dat

%changelog
* Tue Jun 24 2025 Alex Shek <hms.starryfish@gmail.com> - 3.0.0-6
- Rebase to d3ab99382f88f043d15f15c1450ab69433892a1c

* Thu Feb 20 2025 Alex Shek <hms.starryfish@gmail.com> - 3.0.0-5
- Rebase to aef35b526e4fef082f4bbfd6ffb5cbbc520ff629

Expand Down