aboutsummaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2024-09-24 19:57:24 -0400
committerB. Stack <bgstack15@gmail.com>2024-09-24 19:57:24 -0400
commit0f9ad0d0b810def89705d4c7fbbff962b16ba4c4 (patch)
tree3061220ed78cfe4f4c137e5973c451dd307f1bca /debian/patches
parentadd image to readme (diff)
downloadfprintd-tk-master.tar.gz
fprintd-tk-master.tar.bz2
fprintd-tk-master.zip
dpkg build recipe and assetsHEADmaster
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/devuanize.patch57
-rw-r--r--debian/patches/series2
2 files changed, 59 insertions, 0 deletions
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
+ <bgstack15@gmail.com>
+--- 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
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..e52bee1
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+# You must remove unused comment lines for the released package.
+devuanize.patch
bgstack15