diff -Nru diodon-1.7.0/data/diodon.pc.in diodon-1.8.0~ubuntu18.04.1/data/diodon.pc.in --- diodon-1.7.0/data/diodon.pc.in 2017-06-05 12:36:00.000000000 +0000 +++ diodon-1.8.0~ubuntu18.04.1/data/diodon.pc.in 2018-03-11 19:32:22.000000000 +0000 @@ -8,7 +8,7 @@ Name: diodon Description: Diodon GTK+ Clipboard Manager Version: @VERSION@ -Requires: gtk+-3.0 gee-0.8 +Requires: gtk+-3.0 Libs: -L${libdir} -ldiodon Cflags: -I${includedir}/diodon diff -Nru diodon-1.7.0/debian/changelog diodon-1.8.0~ubuntu18.04.1/debian/changelog --- diodon-1.7.0/debian/changelog 2017-12-16 18:39:18.000000000 +0000 +++ diodon-1.8.0~ubuntu18.04.1/debian/changelog 2018-03-11 19:32:23.000000000 +0000 @@ -1,54 +1,237 @@ -diodon (1.7.0-1) unstable; urgency=medium +diodon (1.8.0~ubuntu18.04.1) bionic; urgency=low + + * Auto build. + + -- Oliver Sauder Sun, 11 Mar 2018 19:32:23 +0000 + +diodon (1.8.0) unstable; urgency=medium + + * Remove gee dependency (LP: #1745877) + * Add support for valac 0.40 (LP: #1753561) + * Set Section of libdiodon to libs + * Set Section of diodon-dev to libdevel + + -- Oliver Sauder Sun, 11 Mar 2018 20:20:22 +0100 + +diodon (1.7.0) unstable; urgency=medium - * New upstream release. * Add initial Wayland support (LP: #1727042) * Workaround for hotkey not working on various DEs (LP: #1630375) * Support instante paste on XFCE4 Terminal (LP: #1707041) - * Move from cdbs to dh calls - * Bump Standard Version to 4.1.2 - * Use compat version 10 - - -- Oliver Sauder Sat, 16 Dec 2017 19:39:18 +0100 - -diodon (1.6.0-1) unstable; urgency=medium - - * New upstream release 1.6.0 (Closes: #824965) - * Remove usage of dbus-launch (Closes: #823055, #836087) - * Remove dependency libunique3 (Closes: #827235) - * Added DEB_BUILD_OPTIONS support - * Fixed dep5-copyright-license-name-not-unique - - -- Oliver Sauder Sat, 19 Aug 2017 17:03:59 +0200 - -diodon (1.3.0-1) unstable; urgency=medium - - * New upstream release. - * Removed obsolete libunique and libxml dependency - * Updated to libgee-0.8 dependency (Closes: #753859) - * Allows autostart on all DEs except KDE (Closes: #777670) - * diodon needs specific version of libdiodon0 - * Added deps dbus-x11, at-spi2-core, python-dbus, - zeitgeist-core and xvfb to run tests - * out-of-date-standards-version, updated to 3.9.5 + + -- Oliver Sauder Sat, 16 Dec 2017 18:44:25 +0100 + +diodon (1.6.0) unstable; urgency=medium + + * Show warning when privacy option is enabled (LP: #1650966) + * Fixed issue Diodon not automatically starting on XFCE (LP: #1586720) + * Correctly recognize KeePassX (LP: #1613404) + * Use monochrome icon on Xubuntu (LP: #1630380) + * Added vi-like scrolling to clipboard menu (LP: #1665892) + * Allow plugins to register command line arguments (LP: #1544386) + + -- Oliver Sauder Sun, 16 Jul 2017 11:16:14 +0200 + +diodon (1.5.0) unstable; urgency=medium + + * Added hint how to register hotkey (LP: #1525071) + * Status bar not cropped anymore in gnome-flashback session (LP: #1525071) + * Fixed desktop file validation errors (LP: #1562563) + * Expose ZeitgeistClipboardStorage.get_item_by_checksum + in plugin API (LP: #1541071) + + -- Oliver Sauder Sat, 23 Apr 2016 21:02:56 +0200 + +diodon (1.4.0) unstable; urgency=medium + + * Updated translations + * Fixed issue Diodon blocking logout (LP: #1391330) + * Removed internal history keybinding + (LP: #1232894, #1377490, #1435032, #1439804, #871376, #1101185) + * Fixed issue that clipboard menu did not always get updated (LP: #1383013) + * Do not run integration tests during build (LP: #1471438) + * Added customaizable filter pattern (LP: #1421916) + * Added customizable app paste keybindings (LP: #1388083) + + -- Oliver Sauder Tue, 13 Oct 2015 11:22:43 +0200 + +diodon (1.3.0) unstable; urgency=medium + + * Updated translations + * Removing obsolete dependency libxml * Fixed debian-watch-may-check-gpg-signature - * Removed obsolete package diodon-plugins - * Fixing wrong-section-according-to-package-name gir1.2-diodon-1.0 - * make sure that dh_icons gets called + * add zeitgeist-core dependency (LP: #1361780) + * Implemented ShellKeyGrabber (LP: #1174342) + * Add images options was not persistent (LP: #1366327) + * Fixing some Diodon crashes (LP: #1374103, #1362303) + * Fixed invalid libgee reference in diodon.pc (LP: #1360857) + * diodon-dev needs to depend on libgee-0.8-dev (LP: #1131073) * Make gir1.2- package Multi-Arch: same - -- Oliver Sauder Sat, 21 Feb 2015 21:11:07 +0300 + -- Oliver Sauder Sat, 21 Feb 2015 19:56:15 +0300 + +diodon (1.2.0) unstable; urgency=low -diodon (1.0.3-1) unstable; urgency=low + * Updated translations + * Removed obsolete libunique dependency (LP: #1310360) + * Updated to libgee-0.8 dependency (LP: #1348994) + * diodon needs specific version of libdiodon0 (LP: #1347181) + * Simplified plugin API (LP: #1324309, #1309893, #1323947) + * Diodon was not always added as startup application (LP: #1348989) - * New upstream release. - * Added missing libgee-dev binding dependency + -- Oliver Sauder Sun, 03 Aug 2014 14:02:26 +0300 + +diodon (1.1.0) unstable; urgency=low + + * Implemented Zeitgeist storage integration + * Exclude apps from adding content to clipboard history + * Added new package for unity-scope-diodon + * Removed diodon-plugins package + * Fixing wrong-section-according-to-package-name gir1.2-diodon-1.0 + * Override gsettings to show clipboard.scope icon in dash + * Disabled primary selection per default (LP: #1289751) + * Added option to disable adding images to clipboard history + (LP: #1292537) + + -- Oliver Sauder Mon, 14 Apr 2014 17:28:26 +0300 + +diodon (1.0.3) unstable; urgency=low + + * Updated translations + * Improving plugin API + * Aded missing libgee-dev dependency to diodon-dev (LP: #1131073) + * Fixed regression key combination not working with locked keys (LP: #1154247) + * .intlcache not included in dist anymore (LP: #1154548) * Using valac dependency instead of valac-0.16 - -- Oliver Sauder Sat, 13 Jul 2013 17:45:52 +0300 + -- Oliver Sauder Sat, 13 Jul 2013 16:42:44 +0300 + +diodon (1.0.2) unstable; urgency=low + + * run dh_icons for ubuntu themes for mono icons (LP: #1102708) + + -- Oliver Sauder Sat, 26 Jan 2013 16:10:54 +0200 + +diodon (1.0.1) unstable; urgency=low + + * Create an apport hook (LP: #1096662) + * Including waf source code instead of waf blob + * Updated translations + + -- Oliver Sauder Wed, 16 Jan 2013 22:27:32 +0200 + +diodon (1.0.0) unstable; urgency=low + + * Updated translaitons + * Added Diodon specific icons (LP: #693173) + * Last copied item is not at the top of the menu (LP: #1075199) + * Added XFCE support (LP: #1094853) + + -- Oliver Sauder Tue, 01 Jan 2013 19:57:54 +0200 + +diodon (0.9.0) unstable; urgency=low + + * Updated to valac-0.16 to be compatbile with Quantal (LP: #1069866) + * Hotkey Ctrl+Alt+V not working (LP: #1002475) + * Ability to show debug messages again (LP: #973196) + * Added unit test framework (LP: #634393) + * Implemented zeitgeist plugin (LP: #1005651) + + -- Oliver Sauder Mon, 22 Oct 2012 21:21:14 +0200 + +diodon (0.8.0) unstable; urgency=low + + * Updated translations + * Added missing dependency gir1.2-gee-1.0 (LP: #926921) + * Stop timer when primary selection option is disabled (LP: #930752) + + -- Oliver Sauder Thu, 26 Apr 2012 20:41:03 +0200 + +diodon (0.7.0) unstable; urgency=low + + * Updated translations + * Does not work with Java applications (LP: #884375) + * New key combination to select item (LP: #792812) + + -- Oliver Sauder Wed, 04 Jan 2012 18:42:56 +0100 + +diodon (0.6.0) unstable; urgency=low + + * Implement plugin system using libpeas (LP: #826422) + * Unity Lens now runs on Oneiric (LP: #830001) + * Using libunique so only one instance can be started (LP: #870774) + * Update to gtk+-3.0 (LP: #794637) + * Fixed issues with gtk+-3.0 applications (LP: #879256, #875708) + * switching to GSettings/dconf (LP: #689462) + + -- Oliver Sauder Wed, 12 Oct 2011 17:25:10 +0200 + +diodon (0.5.0) unstable; urgency=low + + * Errors with none utf-8 strings (Closes: #799923) + * Add a instant paste feature (Closes: #792082) + * Added new command line option --version + * Updated translations + + -- Oliver Sauder Sat, 02 Jul 2011 13:34:24 +0200 + +diodon (0.4.0) unstable; urgency=low + + * Updated translations + * Added power user option to disable + indicator (Closes: #769608) + * Implemented a Unity Lens (Closes: #769418) + * Prevented multiple running instances + * Indicator now shows mime type icon for better + identification of a file in the history. + + -- Oliver Sauder Wed, 08 Jun 2011 11:43:26 +0200 + +diodon (0.3.1) unstable; urgency=low + + * Updated translations + * Lower build dependency requirements (Closes: #769141) + + -- Oliver Sauder Sat, 23 Apr 2011 10:42:51 +0200 + +diodon (0.3.0) unstable; urgency=low + + * Updated translations + * Fixed memory leak (Closes: #734672) + * Added copy file support (Closes: #710555) + * Added copy image support (Closes: #710557) + + -- Oliver Sauder Wed, 30 Mar 2011 16:36:38 +0200 + +diodon (0.2.2) unstable; urgency=low + + * Updated translations + * New --debug option for debug output (Closes: #706319) + * Fixed confusing description of copy to + clipboard feature (Closes: #717131) + + -- Oliver Sauder Sat, 26 Feb 2011 18:23:24 +0100 + +diodon (0.2.1) unstable; urgency=low + + * Add tooltips to preferences dialog (#697598) + * Shortcut to display diodon-menu is not working (#711703) + + -- Oliver Sauder Mon, 07 Feb 2011 21:40:14 +0100 + +diodon (0.2.0) unstable; urgency=low + + * storage.xml stored at correct location (Closes: #697658) + * One selection added several items to history (Closes: #697607) + * Added man page (Closes: #697607) + * Added shortcuts to indicator and preferences dialog (Closes: #697593) + * Using spin button of clipboard size did not work (Closes: #705093) + * Added keep clipboard content support (Closes: #697589) -diodon (1.0.1-1) experimental; urgency=low + -- Oliver Sauder Sat, 22 Jan 2011 17:29:40 +0100 - * Initial release (Closes: #698282) +diodon (0.1.0) unstable; urgency=low - -- Oliver Sauder Wed, 16 Jan 2013 10:59:10 +0200 + * Initial release (Closes: #686701) + -- Oliver Sauder Sat, 01 Jan 2011 22:48:48 +0100 diff -Nru diodon-1.7.0/debian/compat diodon-1.8.0~ubuntu18.04.1/debian/compat --- diodon-1.7.0/debian/compat 2017-12-16 18:39:18.000000000 +0000 +++ diodon-1.8.0~ubuntu18.04.1/debian/compat 2018-03-11 19:32:23.000000000 +0000 @@ -1 +1 @@ -10 +9 diff -Nru diodon-1.7.0/debian/control diodon-1.8.0~ubuntu18.04.1/debian/control --- diodon-1.7.0/debian/control 2017-12-16 18:39:18.000000000 +0000 +++ diodon-1.8.0~ubuntu18.04.1/debian/control 2018-03-11 19:32:23.000000000 +0000 @@ -2,22 +2,23 @@ Section: utils Priority: optional Maintainer: Oliver Sauder -Build-Depends: debhelper (>= 10), +Build-Depends: debhelper (>= 9), gobject-introspection, intltool, libappindicator3-dev (>= 0.3.0), - libgee-0.8-dev (>= 0.10.5), libglib2.0-dev (>=2.32), libgtk-3-dev (>=3.0.8), libpeas-dev (>=1.1.1), + libunity-dev (>= 5.8.0), libxtst-dev (>= 1.2.0), libzeitgeist-2.0-dev (>= 0.9.14), python, - valac (>=0.26.0), + valac (>=0.30.0), xvfb Standards-Version: 4.1.2 Homepage: https://launchpad.net/diodon -Vcs-Bzr: https://code.launchpad.net/~diodon-team/diodon/debian-packaging +Vcs-Bzr: lp:diodon +Vcs-Browser: https://code.launchpad.net/~diodon-team/diodon/trunk Package: diodon Architecture: any @@ -25,6 +26,7 @@ zeitgeist-core (>= 0.9.14), ${misc:Depends}, ${shlibs:Depends} +Suggests: unity-scope-diodon (= ${binary:Version}) Description: GTK+ Clipboard manager Diodon is a lightweight clipboard manager for Linux written in Vala which "aims to be the best integrated clipboard manager for the Gnome/Unity desktop". @@ -36,6 +38,7 @@ Package: libdiodon0 Architecture: any Multi-Arch: same +Section: libs Pre-Depends: ${misc:Pre-Depends} Depends: ${misc:Depends}, ${shlibs:Depends} Description: GTK+ Clipboard manager (main library) @@ -76,10 +79,9 @@ Package: diodon-dev Architecture: any -Section: devel +Section: libdevel Depends: gir1.2-diodon-1.0 (= ${binary:Version}), libdiodon0 (= ${binary:Version}), - libgee-0.8-dev (>= 0.10.5), libpeas-dev (>=1.1.1), ${misc:Depends} Description: GTK+ Clipboard manager (development files) @@ -94,3 +96,15 @@ . This package is required to build plugins for Diodon. +Package: unity-scope-diodon +Architecture: any +Depends: diodon (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} +Description: GTK+ Clipboard manager (Unity Scope) + Diodon is a lightweight clipboard manager for Linux written in Vala which + "aims to be the best integrated clipboard manager for the Gnome/Unity desktop". + . + Diodon features include Ubuntu indicator, clipboard sync (primary selection + and Ctrl+C / Ctrl+V clipboard) and a zeitgeist integration for an infinite + clipboard history. + . + This package contains an Unity Scope to access the clipboard history diff -Nru diodon-1.7.0/debian/git-build-recipe.manifest diodon-1.8.0~ubuntu18.04.1/debian/git-build-recipe.manifest --- diodon-1.7.0/debian/git-build-recipe.manifest 1970-01-01 00:00:00.000000000 +0000 +++ diodon-1.8.0~ubuntu18.04.1/debian/git-build-recipe.manifest 2018-03-11 19:32:23.000000000 +0000 @@ -0,0 +1,3 @@ +# git-build-recipe format 0.4 deb-version {debupstream} +lp:diodon git-commit:ab91ff95badf39f6c424c5f39ac032367943cb10 +nest-part packaging lp:~diodon-team/+git/ppa-packaging debian debian git-commit:81c6e54c86d46eaab4210bb9615d679e2180e9b6 diff -Nru diodon-1.7.0/debian/rules diodon-1.8.0~ubuntu18.04.1/debian/rules --- diodon-1.7.0/debian/rules 2017-12-16 18:39:18.000000000 +0000 +++ diodon-1.8.0~ubuntu18.04.1/debian/rules 2018-03-11 19:32:23.000000000 +0000 @@ -17,7 +17,7 @@ find -name '*.pyc' -delete override_dh_auto_configure: - $(WAF) configure $(WAFFLAGS) --sysconfdir /etc --libdir /usr/lib/$(DEB_HOST_MULTIARCH) + $(WAF) configure $(WAFFLAGS) --sysconfdir /etc --enable-unityscope --libdir /usr/lib/$(DEB_HOST_MULTIARCH) override_dh_auto_build: $(WAF) build $(WAFFLAGS) diff -Nru diodon-1.7.0/debian/source/format diodon-1.8.0~ubuntu18.04.1/debian/source/format --- diodon-1.7.0/debian/source/format 2013-10-05 14:09:50.000000000 +0000 +++ diodon-1.8.0~ubuntu18.04.1/debian/source/format 2018-03-11 19:32:23.000000000 +0000 @@ -1 +1 @@ -3.0 (quilt) +3.0 (native) diff -Nru diodon-1.7.0/debian/unity-scope-diodon.install diodon-1.8.0~ubuntu18.04.1/debian/unity-scope-diodon.install --- diodon-1.7.0/debian/unity-scope-diodon.install 1970-01-01 00:00:00.000000000 +0000 +++ diodon-1.8.0~ubuntu18.04.1/debian/unity-scope-diodon.install 2018-03-11 19:32:23.000000000 +0000 @@ -0,0 +1,4 @@ +usr/lib/*/diodon/unity-scope-diodon +usr/share/dbus-1/services/unity-scope-diodon.service +usr/share/glib-2.0/schemas/unity-scope-diodon.gschema.override +usr/share/unity diff -Nru diodon-1.7.0/diodon/main.vala diodon-1.8.0~ubuntu18.04.1/diodon/main.vala --- diodon-1.7.0/diodon/main.vala 2017-11-18 16:13:20.000000000 +0000 +++ diodon-1.8.0~ubuntu18.04.1/diodon/main.vala 2018-03-11 19:32:22.000000000 +0000 @@ -51,7 +51,7 @@ /** * list of available command line options */ - private static const OptionEntry[] options = { + private const OptionEntry[] options = { { OPTION_REMAINING, '\0', 0, OptionArg.STRING_ARRAY, ref remaining_options, null, " | [CHECKSUM]" }, { "help", 'h', 0, OptionArg.NONE, ref show_help, "Show help options", null }, { "version", 'v', 0, OptionArg.NONE, ref show_version, "Print version information", null }, @@ -125,11 +125,9 @@ StringBuilder summary = new StringBuilder("Actions:\n"); if (controller != null) { - Gee.Map descs = controller.get_command_descriptions (); - if(descs.size > 0) { - foreach (Gee.Map.Entry entry in descs.entries) { - summary.append_printf (" %-25s%s\n", entry.key, entry.value); - } + HashTable descs = controller.get_command_descriptions (); + if(descs.length > 0) { + descs.foreach((key, val) => summary.append_printf (" %-25s%s\n", key, val)); } else { summary.append (" None"); } diff -Nru diodon-1.7.0/doc/wscript_build diodon-1.8.0~ubuntu18.04.1/doc/wscript_build --- diodon-1.7.0/doc/wscript_build 2017-06-05 12:36:00.000000000 +0000 +++ diodon-1.8.0~ubuntu18.04.1/doc/wscript_build 2018-03-11 19:32:22.000000000 +0000 @@ -18,7 +18,7 @@ output_dir = '../doc/html', package_name = bld.env['PACKAGE_NAME'], package_version = bld.env['VERSION'], - packages = 'gtk+-3.0 gee-0.8 gdk-x11-3.0 libpeas-gtk-1.0 libpeas-1.0 config xtst gdk-3.0', + packages = 'gtk+-3.0 gdk-x11-3.0 libpeas-gtk-1.0 libpeas-1.0 config xtst gdk-3.0', vapi_dirs = '../vapi', force = True) diff -Nru diodon-1.7.0/libdiodon/clipboard-menu.vala diodon-1.8.0~ubuntu18.04.1/libdiodon/clipboard-menu.vala --- diodon-1.7.0/libdiodon/clipboard-menu.vala 2017-06-05 12:36:00.000000000 +0000 +++ diodon-1.8.0~ubuntu18.04.1/libdiodon/clipboard-menu.vala 2018-03-11 19:32:22.000000000 +0000 @@ -27,7 +27,7 @@ class ClipboardMenu : Gtk.Menu { private Controller controller; - private Gee.List static_menu_items; + private unowned List static_menu_items; /** * Create clipboard menu @@ -37,12 +37,12 @@ * @param menu_items additional menu items to be added after separator * @param privacy_mode check whether privacy mode is enabled */ - public ClipboardMenu(Controller controller, Gee.List items, Gee.List? static_menu_items, bool privace_mode) + public ClipboardMenu(Controller controller, List items, List? static_menu_items, bool privace_mode) { this.controller = controller; this.static_menu_items = static_menu_items; - if(items.size <= 0) { + if(items.length() <= 0) { Gtk.MenuItem empty_item = new Gtk.MenuItem.with_label(_("")); empty_item.set_sensitive(false); append(empty_item); @@ -113,7 +113,7 @@ remove(item); // make sure that static items do not get destroyed - if(static_menu_items == null || !static_menu_items.contains(item)) + if(static_menu_items == null || static_menu_items.find(item) == null) { item.destroy(); item.dispose(); diff -Nru diodon-1.7.0/libdiodon/clipboard-type.vala diodon-1.8.0~ubuntu18.04.1/libdiodon/clipboard-type.vala --- diodon-1.7.0/libdiodon/clipboard-type.vala 2017-06-05 12:36:00.000000000 +0000 +++ diodon-1.8.0~ubuntu18.04.1/libdiodon/clipboard-type.vala 2018-03-11 19:32:22.000000000 +0000 @@ -19,8 +19,6 @@ * Oliver Sauder */ -using Gee; - namespace Diodon { public enum ClipboardType diff -Nru diodon-1.7.0/libdiodon/controller.vala diodon-1.8.0~ubuntu18.04.1/libdiodon/controller.vala --- diodon-1.7.0/libdiodon/controller.vala 2017-06-05 12:36:00.000000000 +0000 +++ diodon-1.8.0~ubuntu18.04.1/libdiodon/controller.vala 2018-03-11 19:32:22.000000000 +0000 @@ -30,15 +30,15 @@ { private Settings settings_clipboard; private Settings settings_plugins; - private Gee.Map clipboard_managers; + private HashTable clipboard_managers; private ZeitgeistClipboardStorage storage; private ClipboardConfiguration configuration; private PreferencesView preferences_view; private Peas.ExtensionSet extension_set; private Peas.Engine peas_engine; private ClipboardMenu recent_menu = null; - private Gee.Map command_descriptions; - private Gee.List static_recent_menu_items; + private HashTable command_descriptions; + private List static_recent_menu_items; private GLib.Regex _filter_pattern = null; /** @@ -71,8 +71,8 @@ public Controller() { string diodon_dir = Utility.get_user_data_dir(); - clipboard_managers = new Gee.HashMap(); - command_descriptions = new Gee.HashMap(); + clipboard_managers = new HashTable(null, null); + command_descriptions = new HashTable(GLib.str_hash, GLib.str_equal); settings_clipboard = new Settings("net.launchpad.Diodon.clipboard"); settings_plugins = new Settings("net.launchpad.Diodon.plugins"); @@ -95,8 +95,8 @@ public Controller.with_configuration(ClipboardConfiguration configuration, bool with_zeitgeist=true) { - clipboard_managers = new Gee.HashMap(); - command_descriptions = new Gee.HashMap(); + clipboard_managers = new HashTable(null, null); + command_descriptions = new HashTable(null, null); if(with_zeitgeist) { storage = new ZeitgeistClipboardStorage(); } @@ -231,7 +231,7 @@ command_descriptions[name] = desc; } - public Gee.Map get_command_descriptions () + public HashTable get_command_descriptions () { return command_descriptions; } @@ -411,7 +411,7 @@ * @param cancellable optional cancellable handler * @return list of recent clipboard items */ - public async Gee.List get_recent_items(ClipboardCategory[]? cats = null, + public async List get_recent_items(ClipboardCategory[]? cats = null, ClipboardTimerange date_copied = ClipboardTimerange.ALL, Cancellable? cancellable = null) { return yield storage.get_recent_items(configuration.recent_items_size, cats, date_copied, cancellable); @@ -426,7 +426,7 @@ * @param cancellable optional cancellable handler * @return clipboard items matching given search query */ - public async Gee.List get_items_by_search_query(string search_query, + public async List get_items_by_search_query(string search_query, ClipboardCategory[]? cats = null, ClipboardTimerange date_copied = ClipboardTimerange.ALL, Cancellable? cancellable = null) { @@ -471,7 +471,7 @@ // only text clipboard item can be synced if(item is TextClipboardItem) { ClipboardType type = item.get_clipboard_type(); - foreach(ClipboardManager clipboard_manager in clipboard_managers.values) { + foreach(ClipboardManager clipboard_manager in clipboard_managers.get_values()) { if(type != clipboard_manager.clipboard_type) { // check if item is already active in clipboard // which will be synced to @@ -521,7 +521,7 @@ */ public async void rebuild_recent_menu() { - Gee.List items = yield get_recent_items(); + List items = yield get_recent_items(); if(recent_menu != null) { recent_menu.destroy_menu(); @@ -541,10 +541,10 @@ public async void add_static_recent_menu_item(Gtk.MenuItem menu_item) { if(static_recent_menu_items == null) { - static_recent_menu_items = new Gee.ArrayList(); + static_recent_menu_items = new List(); } - static_recent_menu_items.add(menu_item); + static_recent_menu_items.append(menu_item); yield rebuild_recent_menu(); } @@ -620,7 +620,7 @@ */ private void enable_keep_clipboard_content(bool enable) { - foreach(ClipboardManager clipboard_manager in clipboard_managers.values) { + foreach(ClipboardManager clipboard_manager in clipboard_managers.get_values()) { if(enable) { clipboard_manager.on_empty.connect(clipboard_empty); } diff -Nru diodon-1.7.0/libdiodon/utility.vala diodon-1.8.0~ubuntu18.04.1/libdiodon/utility.vala --- diodon-1.7.0/libdiodon/utility.vala 2017-06-05 12:36:00.000000000 +0000 +++ diodon-1.8.0~ubuntu18.04.1/libdiodon/utility.vala 2018-03-11 19:32:22.000000000 +0000 @@ -98,7 +98,7 @@ } } catch(GLib.Error e) { - debug("Error occured while reading %s: %s", + debug("Error occurred while reading %s: %s", file.get_path(), e.message); } } diff -Nru diodon-1.7.0/libdiodon/wscript_build diodon-1.8.0~ubuntu18.04.1/libdiodon/wscript_build --- diodon-1.7.0/libdiodon/wscript_build 2017-06-05 12:36:00.000000000 +0000 +++ diodon-1.8.0~ubuntu18.04.1/libdiodon/wscript_build 2018-03-11 19:32:22.000000000 +0000 @@ -10,11 +10,11 @@ name = 'libdiodon', vnum = '0.0.0', vapi_dirs = '../vapi', - uselib = 'GTK GEE X11 GDKX PEAS PEASGTK XTST GDK ZEITGEIST', + uselib = 'GTK X11 GDKX PEAS PEASGTK XTST GDK ZEITGEIST', cflags = ['-include', 'config.h'], header_path = '${INCLUDEDIR}/diodon', gir = 'Diodon-1.0', - packages = 'gtk+-3.0 gee-0.8', + packages = 'gtk+-3.0', packages_private = 'zeitgeist-2.0 gdk-x11-3.0 libpeas-gtk-1.0 libpeas-1.0 config xtst gdk-3.0', source = bld.path.ant_glob (incl='**/*.vala')) diff -Nru diodon-1.7.0/libdiodon/zeitgeist-clipboard-storage.vala diodon-1.8.0~ubuntu18.04.1/libdiodon/zeitgeist-clipboard-storage.vala --- diodon-1.7.0/libdiodon/zeitgeist-clipboard-storage.vala 2017-06-05 12:36:00.000000000 +0000 +++ diodon-1.8.0~ubuntu18.04.1/libdiodon/zeitgeist-clipboard-storage.vala 2018-03-11 19:32:22.000000000 +0000 @@ -51,7 +51,7 @@ private Monitor monitor; private BlacklistInterface blacklist; - private Gee.HashMap current_items; + private HashTable current_items; private HashTable cat_templates; /** @@ -95,7 +95,7 @@ this.index = new Index(); - this.current_items = new Gee.HashMap(); + this.current_items = new HashTable(null, null); } /** @@ -240,7 +240,7 @@ * @param cancellable optional cancellable handler * @return clipboard items matching given search query */ - public async Gee.List get_items_by_search_query(string search_query, ClipboardCategory[]? cats = null, + public async List get_items_by_search_query(string search_query, ClipboardCategory[]? cats = null, ClipboardTimerange date_copied = ClipboardTimerange.ALL, Cancellable? cancellable = null) { TimeRange time_range = create_timerange(date_copied); @@ -273,7 +273,7 @@ return yield get_recent_items(100, cats, date_copied, cancellable); } - return new Gee.ArrayList();; + return new List(); } /** @@ -287,7 +287,7 @@ * @param cancellable optional cancellable handler * @return list of recent clipboard items */ - public async Gee.List get_recent_items(uint32 num_items, ClipboardCategory[]? cats = null, + public async List get_recent_items(uint32 num_items, ClipboardCategory[]? cats = null, ClipboardTimerange date_copied = ClipboardTimerange.ALL, Cancellable? cancellable = null) { debug("Get recent %u items", num_items); @@ -314,7 +314,7 @@ e.message); } - return new Gee.ArrayList();; + return new List(); } /** @@ -438,7 +438,7 @@ warning("Failed to clear items: %s", e.message); } - current_items.clear(); + current_items.remove_all(); } private static void prepare_category_templates(HashTable templates) @@ -568,16 +568,16 @@ return interpretation; } - private static Gee.List create_clipboard_items(ResultSet events) + private static List create_clipboard_items(ResultSet events) { - Gee.List items = new Gee.ArrayList(); + List items = new List(); foreach(Event event in events) { if (event.num_subjects() > 0) { Subject subject = event.get_subject(0); IClipboardItem item = create_clipboard_item(event, subject); if(item != null) { - items.add(item); + items.append(item); } } else { warning ("Unexpected event without subject"); @@ -585,7 +585,7 @@ } } - debug("Created %d clipboard items", items.size); + debug("Created %d clipboard items", (int) items.length()); return items; } diff -Nru diodon-1.7.0/po/es.po diodon-1.8.0~ubuntu18.04.1/po/es.po --- diodon-1.7.0/po/es.po 2017-08-19 14:37:49.000000000 +0000 +++ diodon-1.8.0~ubuntu18.04.1/po/es.po 2018-03-11 19:32:22.000000000 +0000 @@ -8,14 +8,14 @@ "Project-Id-Version: diodon\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-06-05 14:18+0200\n" -"PO-Revision-Date: 2015-02-17 05:20+0000\n" -"Last-Translator: Adolfo Jayme \n" +"PO-Revision-Date: 2018-03-01 12:55+0000\n" +"Last-Translator: Marcos \n" "Language-Team: Spanish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2017-06-06 05:56+0000\n" -"X-Generator: Launchpad (build 18399)\n" +"X-Launchpad-Export-Date: 2018-03-02 05:31+0000\n" +"X-Generator: Launchpad (build 18561)\n" "Language: es\n" #: ../data/diodon.desktop.in.h:1 @@ -51,10 +51,13 @@ "continually checks what is selected. This might discharge your battery " "quicker." msgstr "" +"Agrega lo seleccionado con el ratón al historial del portapapeles. Habilitar " +"comenzará un proceso que continuamente observa lo que selecciona. Esto " +"podría descargar su batería más rápido." #: ../data/net.launchpad.Diodon.gschema.xml.in.in.h:5 msgid "Add images to clipboard history" -msgstr "" +msgstr "Añadir imágenes al historial del portapapeles" #: ../data/net.launchpad.Diodon.gschema.xml.in.in.h:6 #: ../data/preferences.ui.h:7 @@ -64,6 +67,10 @@ "option will increase memory consumption. Images already added to clipboard " "history will remain even when disabled." msgstr "" +"Añadir imágenes al historial del portapapeles, (p.e. cuando haces click " +"derecho sobre una imagen en tu navegador y seleccionas copiar imagen). Esta " +"opción aumenta el consumo de memoria. Las imágenes ya agregadas al historial " +"del portapapeles permanecerán incluso cuando estén deshabilitadas." #: ../data/net.launchpad.Diodon.gschema.xml.in.in.h:7 msgid "Synchronize clipboards" @@ -110,11 +117,13 @@ #: ../data/net.launchpad.Diodon.gschema.xml.in.in.h:13 msgid "Number of recent clipboard items" -msgstr "" +msgstr "Número de elementos recientes del portapapeles" #: ../data/net.launchpad.Diodon.gschema.xml.in.in.h:14 msgid "Number of recent clipboard items shown in clipboard menu." msgstr "" +"Número de elementos recientes del portapapeles que se muestran en el menú " +"del portapapeles." #: ../data/net.launchpad.Diodon.gschema.xml.in.in.h:15 msgid "Clipboard content filter pattern" @@ -158,7 +167,7 @@ #: ../data/preferences.ui.h:6 msgid "Add _images to clipboard history" -msgstr "" +msgstr "Agregar _imágenes al historial del portapapeles" #: ../data/preferences.ui.h:8 msgid "_Keep clipboard content" @@ -175,6 +184,8 @@ #: ../data/preferences.ui.h:14 msgid "Number of recent clipboard items to be shown in clipboard menu." msgstr "" +"Número de elementos recientes del portapapeles que se mostrarán en el menú " +"del portapapeles." #: ../data/preferences.ui.h:15 msgid "Number of recent items" @@ -190,14 +201,17 @@ "your desktop environment.\n" "Use /usr/bin/diodon as command." msgstr "" +"Registre un atajo personalizado con\n" +"los atajos de teclado.\n" +"Use / usr/bin/diodon como comando para reconocer diodon." #: ../data/preferences.ui.h:20 msgid "More information" -msgstr "" +msgstr "Más información" #: ../data/preferences.ui.h:21 msgid "Hotkeys" -msgstr "" +msgstr "Atajos de teclado" #: ../data/preferences.ui.h:22 msgid "Plugins" @@ -210,6 +224,8 @@ #: ../libdiodon/clipboard-menu.vala:53 msgid "Privacy mode is enabled. No new items will be added to history!" msgstr "" +"El modo de privacidad está habilitado. ¡No se agregarán nuevos elementos al " +"portapapeles!" #: ../plugins/indicator/indicator.plugin.in.h:1 msgid "Application Indicator" @@ -278,7 +294,7 @@ #: ../unity-scope-diodon/unity-scope-diodon.vala:110 #: ../unity-scope-diodon/unity-scope-diodon.vala:231 msgid "Date copied" -msgstr "" +msgstr "Fecha de copia" #: ../unity-scope-diodon/unity-scope-diodon.vala:112 msgid "Last 24 hours" diff -Nru diodon-1.7.0/README.md diodon-1.8.0~ubuntu18.04.1/README.md --- diodon-1.7.0/README.md 1970-01-01 00:00:00.000000000 +0000 +++ diodon-1.8.0~ubuntu18.04.1/README.md 2018-03-11 19:32:22.000000000 +0000 @@ -0,0 +1,41 @@ +# Diodon +Aiming to be the best integrated clipboard manager for the Unity desktop. + +## Installing + +For Ubuntu based distributes there is an official [stable PPA](https://launchpad.net/~diodon-team/+archive/stable). + + sudo add-apt-repository ppa:diodon-team/stable + sudo apt-get update + sudo apt-get install -y diodon + + +To install Diodon on other systems download a release tarball from [launchpad](https://launchpad.net/diodon/+download). + +## Building + +Diodon uses the [waf](https://waf.io) build system. + + git clone https://github.com/diodon-dev/diodon.git + cd diodon + ./waf configure + ./waf build + sudo ./waf install + +## Plugins + +If you would like to write your own Diodon plugin please refer to [the original blog post](http://esite.ch/2011/10/19/writing-a-plugin-for-diodon/). Feel free to add your own plugins to the list below. + +| Plugin | Description | +| -------------------------------------------------------- | -------------------------------------------------- | +| [Features](https://github.com/RedHatter/diodon-plugins) | Additional features for the diodon menu. | +| [Numbers](https://github.com/RedHatter/diodon-plugins) | Number clipboard menu items. | +| [Pop Item](https://github.com/RedHatter/diodon-plugins) | Pastes and then removes the active clipboard item. | +| [Paste All](https://github.com/RedHatter/diodon-plugins) | Paste all recent items at once | +| [Edit](https://github.com/RedHatter/diodon-plugins) | Prompts to edit the active item. | + +## Support + +Take part in the discussion or report a bug on the [launchpad](https://bugs.launchpad.net/diodon) page. + +Join us in #diodon on irc.freenode.net if you want to get involved or need any help. diff -Nru diodon-1.7.0/tests/fsotest/testcase.vala diodon-1.8.0~ubuntu18.04.1/tests/fsotest/testcase.vala --- diodon-1.7.0/tests/fsotest/testcase.vala 2017-06-05 12:36:00.000000000 +0000 +++ diodon-1.8.0~ubuntu18.04.1/tests/fsotest/testcase.vala 2018-03-11 19:32:22.000000000 +0000 @@ -34,9 +34,9 @@ this._suite = new GLib.TestSuite (name); } - public void add_test (string name, TestMethod test) + public void add_test (string name, owned TestMethod test) { - var adaptor = new Adaptor (name, test, this); + var adaptor = new Adaptor (name, (owned)test, this); this._adaptors += adaptor; this._suite.add (new GLib.TestCase (adaptor.name, adaptor.set_up, adaptor.run, adaptor.tear_down, sizeof(Adaptor))); diff -Nru diodon-1.7.0/tests/test-controller.vala diodon-1.8.0~ubuntu18.04.1/tests/test-controller.vala --- diodon-1.7.0/tests/test-controller.vala 2017-06-05 12:36:00.000000000 +0000 +++ diodon-1.8.0~ubuntu18.04.1/tests/test-controller.vala 2018-03-11 19:32:22.000000000 +0000 @@ -41,7 +41,7 @@ this.controller = new Controller.with_configuration(cfg, false); } - public void test_filter_item_whitespace() + public void test_filter_item_whitespace() throws GLib.Error { assert(controller.filter_item(create_text_item(" "))); assert(controller.filter_item(create_text_item(" "))); @@ -49,7 +49,7 @@ assert(controller.filter_item(create_text_item("\t"))); } - public void test_filter_item_none_whitespace() + public void test_filter_item_none_whitespace() throws GLib.Error { assert(!controller.filter_item(create_text_item("This is a item\n "))); assert(!controller.filter_item(create_text_item(" \nThis is a item"))); diff -Nru diodon-1.7.0/tests/test-zeitgeist-clipboard-storage.vala diodon-1.8.0~ubuntu18.04.1/tests/test-zeitgeist-clipboard-storage.vala --- diodon-1.7.0/tests/test-zeitgeist-clipboard-storage.vala 2017-06-05 12:36:00.000000000 +0000 +++ diodon-1.8.0~ubuntu18.04.1/tests/test-zeitgeist-clipboard-storage.vala 2018-03-11 19:32:22.000000000 +0000 @@ -115,8 +115,8 @@ yield this.storage.add_item(new TextClipboardItem(ClipboardType.CLIPBOARD, ITEMS.to_string(), "/path/to/app", new DateTime.now_utc())); - Gee.List items = yield this.storage.get_recent_items(RECENT_ITEMS); - FsoFramework.Test.Assert.are_equal(items.size, RECENT_ITEMS, + List items = yield this.storage.get_recent_items(RECENT_ITEMS); + FsoFramework.Test.Assert.are_equal(items.length(), RECENT_ITEMS, "Invalid number of recent items"); // recent items should be in reverse order @@ -131,7 +131,7 @@ // only number of available items should be returned even when asked for more items = yield this.storage.get_recent_items(ITEMS + 1); - FsoFramework.Test.Assert.are_equal(items.size, ITEMS, + FsoFramework.Test.Assert.are_equal(items.length(), ITEMS, "Invalid number of recent items"); } @@ -145,9 +145,9 @@ yield this.storage.add_item(new ImageClipboardItem.with_image(ClipboardType.CLIPBOARD, pixbuf, "/path/to/app", new DateTime.now_utc())); - Gee.List items = yield this.storage.get_recent_items(3, new ClipboardCategory[]{ClipboardCategory.IMAGES}); - FsoFramework.Test.Assert.are_equal(items.size, 1, "Invalid number of recent items"); - IClipboardItem item = items.get(0); + List items = yield this.storage.get_recent_items(3, new ClipboardCategory[]{ClipboardCategory.IMAGES}); + FsoFramework.Test.Assert.are_equal(items.length(), 1, "Invalid number of recent items"); + IClipboardItem item = items.nth_data(0); FsoFramework.Test.Assert.are_equal_string(item.get_label(), "[64x64]", "Invalid image label"); } @@ -158,9 +158,9 @@ yield this.storage.add_item(new ImageClipboardItem.with_image(ClipboardType.CLIPBOARD, pixbuf, "/path/to/app", new DateTime.now_utc())); - Gee.List items = yield this.storage.get_recent_items(100); - FsoFramework.Test.Assert.are_equal(items.size, 1, "Invalid number of recent items"); - IClipboardItem item = items.get(0); + List items = yield this.storage.get_recent_items(100); + FsoFramework.Test.Assert.are_equal(items.length(), 1, "Invalid number of recent items"); + IClipboardItem item = items.nth_data(0); FsoFramework.Test.Assert.are_equal_string(item.get_label(), "[64x64]", "Invalid image label"); } @@ -192,8 +192,8 @@ yield this.storage.clear(); - Gee.List items = yield this.storage.get_recent_items(3); - FsoFramework.Test.Assert.are_equal(0, items.size, "Items found"); + List items = yield this.storage.get_recent_items(3); + FsoFramework.Test.Assert.are_equal(0, (int) items.length(), "Items found"); } // TODO: get this up and running @@ -204,10 +204,10 @@ yield this.storage.add_item(new TextClipboardItem(ClipboardType.CLIPBOARD, "SampleName", "/path/to/app")); Gee.List items = yield this.storage.get_items_by_search_query("name"); - FsoFramework.Test.Assert.are_equal(2, items.size, "Invalid number of items found"); + FsoFramework.Test.Assert.are_equal(2, items.length(), "Invalid number of items found"); items = yield this.storage.get_items_by_search_query("sample"); - FsoFramework.Test.Assert.are_equal(1, items.size, "Invalid number of items found"); + FsoFramework.Test.Assert.are_equal(1, items.length(), "Invalid number of items found"); }*/ public override void tear_down() diff -Nru diodon-1.7.0/unity-scope-diodon/unity-scope-diodon.vala diodon-1.8.0~ubuntu18.04.1/unity-scope-diodon/unity-scope-diodon.vala --- diodon-1.7.0/unity-scope-diodon/unity-scope-diodon.vala 2017-06-05 12:36:00.000000000 +0000 +++ diodon-1.8.0~ubuntu18.04.1/unity-scope-diodon/unity-scope-diodon.vala 2018-03-11 19:32:22.000000000 +0000 @@ -129,7 +129,7 @@ Cancellable? cancellable = search.search_context.cancellable.get_gcancellable(); ClipboardCategory[]? cats = get_filter_categories(search.search_context.filter_state); ClipboardTimerange date_copied = get_filter_datecopied(search.search_context.filter_state); - Gee.List items = yield storage.get_items_by_search_query( + List items = yield storage.get_items_by_search_query( search.search_context.search_query, cats, date_copied, cancellable); if(!search.search_context.cancellable.is_cancelled()) { diff -Nru diodon-1.7.0/unity-scope-diodon/wscript_build diodon-1.8.0~ubuntu18.04.1/unity-scope-diodon/wscript_build --- diodon-1.7.0/unity-scope-diodon/wscript_build 2017-06-05 12:36:00.000000000 +0000 +++ diodon-1.8.0~ubuntu18.04.1/unity-scope-diodon/wscript_build 2018-03-11 19:32:22.000000000 +0000 @@ -8,10 +8,10 @@ features = 'c cprogram', target = 'unity-scope-diodon', vapi_dirs = '../vapi ../libdiodon', - uselib = 'GTK UNITY GEE', + uselib = 'GTK UNITY', use = 'libdiodon', cflags = ['-include', 'config.h'], - packages = 'gtk+-3.0 unity config gee-0.8', + packages = 'gtk+-3.0 unity config', source = 'unity-scope-diodon.vala') prog.install_path = bld.env['LIBDIR_DIODON'] diff -Nru diodon-1.7.0/vapi/libpeas-gtk-1.0.vapi diodon-1.8.0~ubuntu18.04.1/vapi/libpeas-gtk-1.0.vapi --- diodon-1.7.0/vapi/libpeas-gtk-1.0.vapi 2017-06-05 12:36:00.000000000 +0000 +++ diodon-1.8.0~ubuntu18.04.1/vapi/libpeas-gtk-1.0.vapi 1970-01-01 00:00:00.000000000 +0000 @@ -1,34 +0,0 @@ -/* libpeas-gtk-1.0.vapi generated by vapigen, do not modify. */ - -[CCode (cprefix = "PeasGtk", gir_namespace = "PeasGtk", gir_version = "1.0", lower_case_cprefix = "peas_gtk_")] -namespace PeasGtk { - [CCode (cheader_filename = "libpeas-gtk/peas-gtk.h", type_id = "peas_gtk_plugin_manager_get_type ()")] - public class PluginManager : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable { - [CCode (has_construct_function = false, type = "GtkWidget*")] - public PluginManager (Peas.Engine? engine); - public unowned Gtk.Widget get_view (); - [NoAccessorMethod] - public Peas.Engine engine { owned get; construct; } - public PeasGtk.PluginManagerView view { get; construct; } - } - [CCode (cheader_filename = "libpeas-gtk/peas-gtk.h", type_id = "peas_gtk_plugin_manager_view_get_type ()")] - public class PluginManagerView : Gtk.TreeView, Atk.Implementor, Gtk.Buildable, Gtk.Scrollable { - [CCode (has_construct_function = false, type = "GtkWidget*")] - public PluginManagerView (Peas.Engine? engine); - public Peas.PluginInfo get_selected_plugin (); - [Deprecated (since = "1.2")] - public bool get_show_builtin (); - public void set_selected_plugin (Peas.PluginInfo info); - [Deprecated (since = "1.2")] - public void set_show_builtin (bool show_builtin); - [NoAccessorMethod] - public Peas.Engine engine { owned get; construct; } - [Deprecated (since = "1.2")] - public bool show_builtin { get; set; } - public virtual signal void populate_popup (Gtk.Menu menu); - } - [CCode (cheader_filename = "libpeas-gtk/peas-gtk.h", type_cname = "PeasGtkConfigurableInterface", type_id = "peas_gtk_configurable_get_type ()")] - public interface Configurable : GLib.Object { - public abstract Gtk.Widget create_configure_widget (); - } -} diff -Nru diodon-1.7.0/wscript diodon-1.8.0~ubuntu18.04.1/wscript --- diodon-1.7.0/wscript 2017-12-16 17:43:17.000000000 +0000 +++ diodon-1.8.0~ubuntu18.04.1/wscript 2018-03-11 19:32:22.000000000 +0000 @@ -17,10 +17,10 @@ from waflib.Tools import waf_unit_test NAME = 'Diodon' -VERSION = '1.7.0' +VERSION = '1.8.0' APPNAME = 'diodon' WEBSITE = 'https://launchpad.net/diodon' -COPYRIGHT = 'Copyright \xc2\xa9 2010-2014 Diodon Team' +COPYRIGHT = 'Copyright \xc2\xa9 2010-2018 Diodon Team' BUSNAME = 'net.launchpad.Diodon' BUSOBJECTPATH = '/net/launchpad/diodon' @@ -56,11 +56,10 @@ conf.load('valadoc') conf.load('vala', funs='') - conf.check_vala(min_version=(0, 26, 0)) + conf.check_vala(min_version=(0, 30, 0)) conf.check_cfg(package='gdk-3.0', uselib_store='GDK', atleast_version='3.0.8', mandatory=1, args='--cflags --libs') conf.check_cfg(package='gdk-x11-3.0', uselib_store='GDKX', atleast_version='3.0.8', mandatory=1, args='--cflags --libs') - conf.check_cfg(package='gee-0.8', uselib_store='GEE', atleast_version='0.10.5', mandatory=1, args='--cflags --libs') conf.check_cfg(package='libpeas-1.0', uselib_store='PEAS', atleast_version='1.1.0', mandatory=1, args='--cflags --libs') conf.check_cfg(package='libpeas-gtk-1.0', uselib_store='PEASGTK', atleast_version='1.1.0', mandatory=1, args='--cflags --libs') conf.check_cfg(package='gio-2.0', uselib_store='GIO', atleast_version='2.32.0', mandatory=1, args='--cflags --libs')