mirror of
https://codeberg.org/kiss-community/repo
synced 2024-12-22 15:20:06 -07:00
gtk+3: Patch out dbus dependency.
This commit is contained in:
parent
2be2e7b44a
commit
cd6d0ccb1c
@ -1,5 +1,24 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
# Patch out 'dbus' (taken from Sabotage Linux).
|
||||||
|
cat << EOF > gtk/gtkmountoperation.c
|
||||||
|
#define GMountOperation void
|
||||||
|
#define GtkMountOperation void
|
||||||
|
#define GtkWindow void
|
||||||
|
#define GdkScreen void
|
||||||
|
#define gboolean int
|
||||||
|
#define GType unsigned long /* size_t */
|
||||||
|
#define P __attribute__ ((visibility ("default")))
|
||||||
|
extern GType g_mount_operation_get_type();
|
||||||
|
P GType gtk_mount_operation_get_type() { return g_mount_operation_get_type(); }
|
||||||
|
P GMountOperation *gtk_mount_operation_new (GtkWindow *parent) { return 0; }
|
||||||
|
P gboolean gtk_mount_operation_is_showing (GtkMountOperation *op) { return 0; }
|
||||||
|
P void gtk_mount_operation_set_parent (GtkMountOperation *op, GtkWindow *parent) {}
|
||||||
|
P GtkWindow *gtk_mount_operation_get_parent (GtkMountOperation *op) { return 0; }
|
||||||
|
P void gtk_mount_operation_set_screen (GtkMountOperation *op, GdkScreen *screen){}
|
||||||
|
P GdkScreen *gtk_mount_operation_get_screen (GtkMountOperation *op){ return 0; }
|
||||||
|
EOF
|
||||||
|
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
|
Loading…
Reference in New Issue
Block a user