From 0f9ad0d0b810def89705d4c7fbbff962b16ba4c4 Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Tue, 24 Sep 2024 19:57:24 -0400 Subject: dpkg build recipe and assets --- debian/patches/devuanize.patch | 57 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 debian/patches/devuanize.patch (limited to 'debian/patches/devuanize.patch') diff --git a/debian/patches/devuanize.patch b/debian/patches/devuanize.patch new file mode 100644 index 0000000..e38a57e --- /dev/null +++ b/debian/patches/devuanize.patch @@ -0,0 +1,57 @@ +Message: set path for library +Version: 0.0.1 +--- a/aux/fprintd_tk.1 ++++ b/aux/fprintd_tk.1 +@@ -1,11 +1,11 @@ + .\" Text automatically generated by txt2man-wrapper, and stored in repository so the build process does not depend on my wrapper script. +-.TH fprintd_tk 1 "September 2024" "fprintd-tk" "General Commands Manual" ++.TH fprintd-tk 1 "September 2024" "fprintd-tk" "General Commands Manual" + .SH NAME +-\fBfprintd_tk \fP- gui for fprintd ++\fBfprintd-tk \fP- gui for fprintd + .SH SYNOPSIS + .nf + .fam C +-\fBfprintd_tk\fP ++\fBfprintd-tk\fP + .fam T + .fi + .fam T +@@ -15,7 +15,7 @@ No options. Configuration is in gui. + .SH ENVIRONMENT + None. + .SH DESCRIPTION +-\fBfprintd_tk\fP has a simple graphical representation of the 10 fingers and makes it easy to enroll fingers, and verify them. Users in group `\fBadmins\fP` can also control other users' enrolled fingerprints. ++\fBfprintd-tk\fP has a simple graphical representation of the 10 fingers and makes it easy to enroll fingers, and verify them. Users in group `\fBadmins\fP` can also control other users' enrolled fingerprints. + This project is not directly related to fprintd at all. This is just a separate wrapper program to make life easier for users of window managers. + .SH AUTHOR + +--- a/fprintd_tk ++++ b/fprintd_tk +@@ -21,6 +21,7 @@ + + import tkinter as tk, os, tkinter.simpledialog, sys, threading, time + import tkstackrpms as stk ++sys.path.append("/usr/libexec/fprintd-tk") + import fprintd_tk_lib as lib + from PIL import Image, ImageTk + +@@ -48,6 +49,7 @@ class App(tk.Frame): + + # configurable by admin or installation + img_path = os.path.join(os.path.dirname(os.path.realpath(__file__)),"images") ++ img_path = "/usr/share/fprintd-tk" + + self.master.title("Gui for fprintd") + imgicon = stk.get_scaled_icon("fingerprint-gui",24,"default", "","apps") +--- a/aux/fprintd-tk.desktop ++++ b/aux/fprintd-tk.desktop +@@ -1,7 +1,7 @@ + [Desktop Entry] + Name=Gui for fprintd + Comment=Control enrolled fingerprints +-Exec=/usr/bin/fprintd_tk ++Exec=/usr/bin/fprintd-tk + Icon=fingerprint-gui + Terminal=false + Type=Application -- cgit