mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-12-22 18:02:20 +00:00
ea996ce2d0
Compatibility with Wayland requires that we use the gdk_seat_grab() API for grabbing mouse/keyboard, however these API don't exist in Gtk+2. This branches gnome-ssk-askpass2.c => gnome-ssk-askpass3.c and makes the changes to use the gdk_seat_grab() instead of grabbing mouse/focus separately via GDK. In the future, we can also use the branched file to avoid some API that has been soft-deprecated in GTK+3, e.g. gtk_widget_modify_fg
23 lines
715 B
Makefile
23 lines
715 B
Makefile
PKG_CONFIG = pkg-config
|
|
|
|
all:
|
|
@echo "Valid targets: gnome-ssh-askpass1 gnome-ssh-askpass2 gnome-ssk-askpass3"
|
|
|
|
gnome-ssh-askpass1: gnome-ssh-askpass1.c
|
|
$(CC) $(CFLAGS) `gnome-config --cflags gnome gnomeui` \
|
|
gnome-ssh-askpass1.c -o gnome-ssh-askpass1 \
|
|
`gnome-config --libs gnome gnomeui`
|
|
|
|
gnome-ssh-askpass2: gnome-ssh-askpass2.c
|
|
$(CC) $(CFLAGS) `$(PKG_CONFIG) --cflags gtk+-2.0` \
|
|
gnome-ssh-askpass2.c -o gnome-ssh-askpass2 \
|
|
`$(PKG_CONFIG) --libs gtk+-2.0 x11`
|
|
|
|
gnome-ssh-askpass3: gnome-ssh-askpass3.c
|
|
$(CC) $(CFLAGS) `$(PKG_CONFIG) --cflags gtk+-3.0` \
|
|
gnome-ssh-askpass3.c -o gnome-ssh-askpass3 \
|
|
`$(PKG_CONFIG) --libs gtk+-3.0 x11`
|
|
|
|
clean:
|
|
rm -f *.o gnome-ssh-askpass gnome-ssh-askpass[123]
|