debian: update to make GTK+ plugin package too.
authorAndriy Grytsenko <andrej@rep.kiev.ua>
Wed, 26 Oct 2016 11:39:52 +0000 (14:39 +0300)
committerAndriy Grytsenko <andrej@rep.kiev.ua>
Wed, 26 Oct 2016 11:49:43 +0000 (14:49 +0300)
debian/control
debian/lxhotkey-gtk.install [new file with mode: 0644]
debian/rules
plugins/gtk/gtk.c

index d38a897..940d4d4 100644 (file)
@@ -6,7 +6,7 @@ Uploaders: Andriy Grytsenko <andrej@rep.kiev.ua>
 Build-Depends:
  debhelper (>= 9), dh-autoreconf, intltool,
  libfm-dev (>= 1.2.0), libunistring-dev, libx11-dev,
- libglib2.0-dev
+ libglib2.0-dev, libgtk2.0-dev
 Standards-Version: 3.9.7
 Homepage: http://www.lxde.org/
 Vcs-Browser: http://git.lxde.org/gitweb/?p=debian/lxhotkey.git
@@ -48,3 +48,14 @@ Description: LXHotkey keyboard shortcuts configurator (development files)
  .
  This package contains header file and dependencies required to create a
  plugin for LXHotkey.
+
+Package: lxhotkey-gtk
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}, lxhotkey-core
+Provides: lxhotkey-gui
+Description: LXHotkey keyboard shortcuts configurator (GTK+ GUI plugin)
+ LXHotkey is an universal application for the Lightweight X11 Desktop
+ Environment (LXDE) which allows view and change global keyboard shortcuts
+ for Window Manager actions, including ones to start applications.
+ .
+ This package contains a GTK+ 2.0 GUI plugin.
diff --git a/debian/lxhotkey-gtk.install b/debian/lxhotkey-gtk.install
new file mode 100644 (file)
index 0000000..2be082f
--- /dev/null
@@ -0,0 +1,2 @@
+usr/lib/*/lxhotkey/gtk.so
+usr/share/applications/lxhotkey-gtk.desktop
index f076e60..9f3afed 100755 (executable)
@@ -5,5 +5,8 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 %:
        dh ${@} --parallel --with autoreconf
 
+override_dh_auto_configure:
+       dh_auto_configure -- --with-gtk=2.0
+
 override_dh_autoreconf:
        dh_autoreconf ./autogen.sh --
index dd8602c..91f9111 100644 (file)
@@ -41,7 +41,6 @@ typedef struct {
     GtkAction *del_action;
     GtkAction *edit_action;
     GtkTreeView *current_page;
-    gboolean changed;
 } PluginData;
 
 static const char menu_xml[] =