debian/0000775000000000000000000000000012170663254007176 5ustar debian/gir1.2-diodon-1.0.install0000664000000000000000000000004412170663254013334 0ustar usr/lib/*/girepository-1.0 usr/lib/ debian/compat0000664000000000000000000000000212170663254010374 0ustar 9 debian/watch0000664000000000000000000000011512170663254010224 0ustar version=3 http://launchpad.net/diodon/+download .*/diodon-([0-9.]+)\.tar\.gz debian/libdiodon0.install0000664000000000000000000000003112170663254012603 0ustar usr/lib/*/libdiodon.so.* debian/control0000664000000000000000000000776212170663254010615 0ustar Source: diodon Section: utils Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Oliver Sauder Build-Depends: cdbs (>= 0.4.90), debhelper (>= 9), gobject-introspection, intltool, libappindicator3-dev (>= 0.3.0), libdee-dev (>= 0.5.18), libgee-dev (>= 0.5.0), libglib2.0-dev (>=2.32), libgtk-3-dev (>=3.0.8), libpeas-dev (>=1.1.1), libunique-3.0-dev (>=3.0.0), libx11-dev (>= 1.3.2), libxml2-dev (>= 2.7.6), libxtst-dev (>= 1.2.0), libzeitgeist-2.0-dev (>= 0.9.14), python, valac (>=0.16.0) Standards-Version: 3.9.4 Homepage: https://launchpad.net/diodon Package: diodon Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Suggests: diodon-plugins (= ${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". . Diodon features include Ubuntu indicator, clipboard sync (primary selection and Ctrl+C / Ctrl+V clipboard) and an option to set the clipboard size. Package: libdiodon0 Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${misc:Depends}, ${shlibs:Depends} Description: GTK+ Clipboard manager (main library) 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 an option to set the clipboard size. . This package contains the main library used by the Diodon. It is used both by the clipboard manager itself and by the plugins. . This library is only useful within Diodon. You should not have to manually install this package. Package: gir1.2-diodon-1.0 Architecture: any Depends: gir1.2-gee-1.0 (>= 0.5.0), gir1.2-glib-2.0, ${gir:Depends}, ${misc:Depends}, ${shlibs:Depends} Description: GTK+ Clipboard manager (GObject introspection data) 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 an option to set the clipboard size. . This package contains introspection data for Diodon. . It can be used by packages using the GIRepository format to generate dynamic bindings. Package: diodon-dev Architecture: any Section: devel Depends: gir1.2-diodon-1.0 (= ${binary:Version}), libdiodon0 (= ${binary:Version}), libpeas-dev (>=1.1.1), ${misc:Depends} Description: GTK+ Clipboard manager (development files) 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 an option to set the clipboard size. . Diodon is also extensible through its plugin system. . This package is required to build plugins for Diodon. Package: diodon-plugins Architecture: any Depends: diodon (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Description: GTK+ Clipboard manager (additional plugins) 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 an option to set the clipboard size. . Diodon is also extensible through its plugin system. . This package contains following additional plugins: Zeitgeist Data-Source debian/source/0000775000000000000000000000000012170663254010476 5ustar debian/source/format0000664000000000000000000000001412170663254011704 0ustar 3.0 (quilt) debian/diodon-plugins.install0000664000000000000000000000004312170663254013516 0ustar usr/lib/*/diodon/plugins/zeitgeist debian/patches/0000775000000000000000000000000012170663254010625 5ustar debian/patches/01_port-to-zeitgeist-2.0.patch0000664000000000000000000001062512170663254016060 0ustar Index: new_ext_api_plugins/wscript =================================================================== --- new_ext_api_plugins.orig/wscript 2013-07-06 22:50:14.616516000 +0300 +++ new_ext_api_plugins/wscript 2013-07-06 22:52:34.836653606 +0300 @@ -74,7 +74,7 @@ conf.env['ZEITGEIST'] = Options.options.enable_zeitgeist if Options.options.enable_zeitgeist: - conf.check_cfg(package='zeitgeist-1.0', uselib_store='ZEITGEIST', atleast_version='0.3.12', mandatory=1, args='--cflags --libs') + conf.check_cfg(package='zeitgeist-2.0', uselib_store='ZEITGEIST', atleast_version='0.9.14', mandatory=1, args='--cflags --libs') # FIXME: conf.env and conf.define should not both be needed? conf.define('PACKAGE_NAME', APPNAME) Index: new_ext_api_plugins/plugins/zeitgeist/wscript_build =================================================================== --- new_ext_api_plugins.orig/plugins/zeitgeist/wscript_build 2013-07-06 22:50:14.616516000 +0300 +++ new_ext_api_plugins/plugins/zeitgeist/wscript_build 2013-07-07 00:19:52.708792613 +0300 @@ -12,7 +12,7 @@ use = 'libdiodon', cflags = ['-include', 'config.h'], install_binding = False, - packages = 'zeitgeist-1.0 libpeas-1.0 x11 gdk-x11-3.0', + packages = 'zeitgeist-2.0 libpeas-1.0 x11 gdk-x11-3.0', source = bld.path.ant_glob (incl='**/*.vala')) lib.install_path = os.path.join(bld.env['PLUGINS_DIR'], lib.target) Index: new_ext_api_plugins/plugins/zeitgeist/zeitgeist-plugin.vala =================================================================== --- new_ext_api_plugins.orig/plugins/zeitgeist/zeitgeist-plugin.vala 2013-07-06 23:53:02.556749881 +0300 +++ new_ext_api_plugins/plugins/zeitgeist/zeitgeist-plugin.vala 2013-07-07 00:20:14.784793199 +0300 @@ -57,33 +57,33 @@ private void add_clipboard_item(IClipboardItem item) { - string interpretation = Zeitgeist.NFO_PLAIN_TEXT_DOCUMENT; + string interpretation = Zeitgeist.NFO.PLAIN_TEXT_DOCUMENT; if(item is FileClipboardItem) { - interpretation = Zeitgeist.NFO_FILE_DATA_OBJECT; + interpretation = Zeitgeist.NFO.FILE_DATA_OBJECT; } else if (item is ImageClipboardItem) { - interpretation = Zeitgeist.NFO_IMAGE; + interpretation = Zeitgeist.NFO.IMAGE; } string? origin = get_path_of_active_application(); Zeitgeist.Subject subject = new Zeitgeist.Subject(); - subject.set_uri("clipboard://" + item.get_checksum()); - subject.set_interpretation(interpretation); - subject.set_manifestation(Zeitgeist.NFO_DATA_CONTAINER); - subject.set_mimetype(item.get_mime_type()); + subject.uri = "clipboard://" + item.get_checksum(); + subject.interpretation = interpretation; + subject.manifestation = Zeitgeist.NFO.DATA_CONTAINER; + subject.mimetype = item.get_mime_type(); if(origin != null) { - subject.set_origin(origin); + subject.origin = origin; } - subject.set_text(item.get_label()); + subject.text = item.get_label(); //subject.set_storage(""); Zeitgeist.Event event = new Zeitgeist.Event(); //event.set_id( - event.set_interpretation(Zeitgeist.ZG_CREATE_EVENT); - event.set_manifestation(Zeitgeist.ZG_USER_ACTIVITY); - event.set_actor("application://diodon.desktop"); + event.interpretation = Zeitgeist.ZG.CREATE_EVENT; + event.manifestation = Zeitgeist.ZG.USER_ACTIVITY; + event.actor = "application://diodon.desktop"; event.add_subject(subject); // content should be added, however ignored as currently // data is not being read @@ -91,9 +91,12 @@ TimeVal cur_time = TimeVal(); int64 timestamp = Zeitgeist.Timestamp.from_timeval(cur_time); - event.set_timestamp(timestamp); + event.timestamp = timestamp; - log.insert_events_no_reply(event, null); + GenericArray events = new GenericArray(); + events.add(event); + + log.insert_events_no_reply(events); } private string? get_path_of_active_application() debian/patches/series0000664000000000000000000000003712170663254012042 0ustar 01_port-to-zeitgeist-2.0.patch debian/rules0000775000000000000000000000112512170663254010255 0ustar #!/usr/bin/make -f # -*- makefile -*- include /usr/share/cdbs/1/rules/buildvars.mk include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/waf.mk DEB_WAF_CONFIGURE_OPTIONS_ALL = --sysconfdir /etc --enable-zeitgeist-plugin --libdir /usr/lib/$(DEB_HOST_MULTIARCH) # remove pyc files created by waf while building clean:: find -name '*.pyc' -delete # debhelper.mk targets, so silently ignored if debhelper.mk not included $(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%: $(if $(wildcard /usr/bin/dh_icons),dh_icons -p$(cdbs_curpkg) $(DEB_DH_ICONS_ARGS)) debian/changelog0000664000000000000000000000121112170663254011043 0ustar diodon (1.0.2-0ubuntu2) saucy; urgency=low * Deactivate unitylens-plugin (LP: #1189154) * debian/patches/01_port-to-zeitgeist-2.0.patch - Port to zeitgeist-2.0 (LP: #1197569) * Using valac dependency instead of valac-0.16 -- Oliver Sauder Sun, 14 Jul 2013 23:58:19 +0300 diodon (1.0.2-0ubuntu1) raring; urgency=low * New upstream release. * run dh_icons for ubuntu themes for mono icons (LP: #1102708) -- Oliver Sauder Tue, 19 Feb 2013 22:41:39 +0200 diodon (1.0.1-0ubuntu1) raring; urgency=low * Initial release (LP: #808464) -- Oliver Sauder Fri, 04 Jan 2013 23:54:44 +0200 debian/copyright0000664000000000000000000000671612170663254011143 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Diodon Upstream-Contact: Oliver Sauder Source: https://code.launchpad.net/~diodon-team/diodon/trunk Files: * Copyright: 2010, Diodon Team License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. Files: waflib/* waf Copyright: Copyright (C) 2010-2011 Thomas Nagy License: BSD-3-clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . 3. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: tests/test-case.vala Copyright: Copyright (C) 2009 Julien Peeters License: LGPL-2.1+ This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. . You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA . On Debian systems, the complete text of the GNU Library General Public License can be found in `/usr/share/common-licenses/LGPL-2.1'. debian/diodon.install0000664000000000000000000000026112170663254012041 0ustar etc usr/bin/diodon usr/lib/*/diodon/plugins/indicator usr/share/applications usr/share/apport usr/share/diodon usr/share/glib-2.0 usr/share/icons usr/share/locale usr/share/man debian/diodon-dev.install0000664000000000000000000000022012170663254012610 0ustar usr/include/diodon usr/lib/*/libdiodon.so usr/lib/*/pkgconfig usr/share/gir-1.0 usr/share/vala/vapi/diodon.deps usr/share/vala/vapi/diodon.vapi