--- parcellite-0.9.orig/debian/compat +++ parcellite-0.9/debian/compat @@ -0,0 +1 @@ +6 --- parcellite-0.9.orig/debian/watch +++ parcellite-0.9/debian/watch @@ -0,0 +1,4 @@ +# Compulsory line, this is a version 3 file +version=3 + +http://sf.net/parcellite/parcellite-(.*)\.tar\.gz --- parcellite-0.9.orig/debian/docs +++ parcellite-0.9/debian/docs @@ -0,0 +1 @@ +README --- parcellite-0.9.orig/debian/rules +++ parcellite-0.9/debian/rules @@ -0,0 +1,80 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/quilt/quilt.make + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + + +config.status: configure + dh_testdir + # Add here commands to configure the package. +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess config.guess +endif + ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" + + +build: build-stamp + +build-stamp: config.status + dh_testdir + + # Add here commands to compile the package. + $(MAKE) -f /usr/share/quilt/quilt.make patch + #docbook-to-man debian/parcellite.sgml > parcellite.1 + + touch $@ + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + [ ! -f Makefile ] || $(MAKE) distclean + rm -f config.sub config.guess + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/parcellite. + $(MAKE) DESTDIR=$(CURDIR)/debian/parcellite install + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installman + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- parcellite-0.9.orig/debian/copyright +++ parcellite-0.9/debian/copyright @@ -0,0 +1,76 @@ +Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat +Debianized-By: Andrew Starr-Bochicchio +Debianized-Date: Mon, 21 Apr 2008 12:19:36 -0400 +Original-Source: http://parcellite.sourceforge.net/ + +Upstream Author: Xyhthyx + +Files: * +Copyright: Copyright (C) 2007-2008 by Xyhthyx +License: GPL-3+ + This package 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 3 of the License, or + (at your option) any later version. + + This package 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 complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL'. + +Files: src/eggaccelerators.c +Copyright: Copyright (C) 2002 Red Hat, Inc. + Copyright (C) 1998, 2001 Tim Janik +License: LGPL-2+ + +Files: src/eggaccelerators.h +Copyright: Copyright (C) 2002 Red Hat, Inc. +License: LGPL-2+ + 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 St, Fifth Floor, Boston, MA 02110-1301 USA + + On Debian systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL' + +Files: src/keybinder.{c,h} +Copyright: Alex Graveley +License: LGPL-2.1+ + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + On Debian systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/LGPL-2.1'. + +Files: debian/* +Copyright: Copyright 2008, Andrew Starr-Bochicchio +License: GPL + See `/usr/share/common-licenses/GPL'. --- parcellite-0.9.orig/debian/changelog +++ parcellite-0.9/debian/changelog @@ -0,0 +1,58 @@ +parcellite (0.9-1ubuntu1) jaunty; urgency=low + + * Added debian/patches/03_ctrl_click.patch + - Patch provided by email from upstream author. + + Click brings up the actions context menu, and this + does not work with the current package for certain keyboards. + The attached patch will resolves this issue. May be dropped + with next upstream release. + + -- Andrew Starr-Bochicchio Fri, 27 Feb 2009 15:08:16 -0500 + +parcellite (0.9-1) unstable; urgency=low + + * New upstream release: + - New: + + Confirm clear option. + + Parcellite menu hotkey. + + Translated .desktop files. + + Support for managing x-selection (primary). + + Hungarian and turkish translation (disabled until tr.po + is updated). + + Prevent empty clipboard. Clipboard/Primary contents are + backed up and recovered if they ever become NULL. + - Changes: + + Fixed/updated daemon mode. + + Changed preferences dialog. + + Changed actions preferences to use GtkTreeView's built + in editing mode. + + Fixed bug with icon showing up in --no-icon mode when + you execute an action. + + Fixed parcellite-startup.desktop to include + "Type=Application" to prevent desktop-file-validate + from failing. + * debian/patches/* + - Tweak in order to apply cleanly. + + -- Andrew Starr-Bochicchio Mon, 24 Nov 2008 20:10:59 -0500 + +parcellite (0.8-1) unstable; urgency=low + + * New upstream release. (Closes: #494847) + * debian/control + - Bumped Standards-Version to 3.8.0 + - New upstream homepage. + - Build-Depend on intltool. + * debian/copyright + - Use new upstream homepage in the Original-Source field. + * debian/watch + - Use new upstream download location. + + -- Andrew Starr-Bochicchio Tue, 12 Aug 2008 11:46:36 -0400 + +parcellite (0.7-1) unstable; urgency=low + + * Initial release. (Closes: #478770) + + -- Andrew Starr-Bochicchio (andrewsomething) Mon, 21 Apr 2008 12:19:36 -0400 + --- parcellite-0.9.orig/debian/control +++ parcellite-0.9/debian/control @@ -0,0 +1,15 @@ +Source: parcellite +Section: misc +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Andrew Starr-Bochicchio +Build-Depends: debhelper (>= 6), libgtk2.0-dev, quilt (>= 0.40), intltool +Standards-Version: 3.8.0 +Homepage: http://parcellite.sourceforge.net/ + +Package: parcellite +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: A lightweight GTK+ clipboard manager + Parcellite is a stripped down, basic-features-only clipboard manager + with a small memory footprint for those who like simplicity. --- parcellite-0.9.orig/debian/patches/02_remove_desktopfile_encoding.patch +++ parcellite-0.9/debian/patches/02_remove_desktopfile_encoding.patch @@ -0,0 +1,20 @@ +Index: parcellite-0.9/data/parcellite-startup.desktop.in +=================================================================== +--- parcellite-0.9.orig/data/parcellite-startup.desktop.in 2008-11-24 21:29:44.000000000 -0500 ++++ parcellite-0.9/data/parcellite-startup.desktop.in 2008-11-24 21:30:00.000000000 -0500 +@@ -1,5 +1,4 @@ + [Desktop Entry] +-Encoding=UTF-8 + _Name=Parcellite + _Comment=Clipboard Manager + Icon=gtk-paste +Index: parcellite-0.9/data/parcellite.desktop.in +=================================================================== +--- parcellite-0.9.orig/data/parcellite.desktop.in 2008-11-24 21:29:17.000000000 -0500 ++++ parcellite-0.9/data/parcellite.desktop.in 2008-11-24 21:29:34.000000000 -0500 +@@ -1,5 +1,4 @@ + [Desktop Entry] +-Encoding=UTF-8 + _Name=Parcellite + _Comment=Clipboard Manager + Icon=gtk-paste --- parcellite-0.9.orig/debian/patches/01_fix_man_page.patch +++ parcellite-0.9/debian/patches/01_fix_man_page.patch @@ -0,0 +1,22 @@ +Index: parcellite-0.9/doc/parcellite.1 +=================================================================== +--- parcellite-0.9.orig/doc/parcellite.1 2008-11-24 20:50:45.000000000 -0500 ++++ parcellite-0.9/doc/parcellite.1 2008-11-24 20:50:54.000000000 -0500 +@@ -6,7 +6,7 @@ + [\fIOPTION\fR] + .SH DESCRIPTION + \fBParcellite\fR is a lightweight GTK+ clipboard manager. This is a stripped down, +-basic-features-only clipboard manager with a small memory footprint for those ++basic\(hy-features\(hy-only clipboard manager with a small memory footprint for those + who like simplicity. + + \fBParcellite\fR features a clipboard CLI. Unrecognized options and the contents +@@ -29,7 +29,7 @@ + .SH CLI EXAMPLES + echo "copied to clipboard" | parcellite + parcellite "copied to clipboard" +- echo "copied to clipboard" | parcellite -o ++ echo "copied to clipboard" | parcellite \-o + .SH ACTIONS + \fBParcellite's\fR actions perform commands using the contents of your clipboard. "\fB%s\fR" in the command + is replaced with the clipboard contents. --- parcellite-0.9.orig/debian/patches/series +++ parcellite-0.9/debian/patches/series @@ -0,0 +1,3 @@ +01_fix_man_page.patch +02_remove_desktopfile_encoding.patch +03_ctrl_click.patch --- parcellite-0.9.orig/debian/patches/03_ctrl_click.patch +++ parcellite-0.9/debian/patches/03_ctrl_click.patch @@ -0,0 +1,38 @@ +## +## LP: https://bugs.edge.launchpad.net/ubuntu/+source/parcellite/+bug/335583 +## Description: Patch provided by email from upstream author. +## + Click brings up the actions context menu, and this +## does not work with the current package for certain keyboards. +## The attached patch will resolves this issue. +## May be dropped with next upstream release. +Index: parcellite-0.9/src/main.c +=================================================================== +--- parcellite-0.9.orig/src/main.c 2009-02-27 14:58:30.000000000 -0500 ++++ parcellite-0.9/src/main.c 2009-02-27 15:01:35.000000000 -0500 +@@ -694,18 +694,21 @@ + status_icon_clicked(GtkStatusIcon *status_icon, gpointer user_data) + { + /* Check what type of click was recieved */ +- GdkEvent* current_event = gtk_get_current_event(); ++ GdkModifierType state; ++ gtk_get_current_event_state(&state); + /* Control click */ +- if (current_event->button.state == (GDK_MOD2_MASK | GDK_CONTROL_MASK)) ++ if (state == GDK_MOD2_MASK+GDK_CONTROL_MASK || state == GDK_CONTROL_MASK) + { +- if (!actions_lock) ++ if (actions_lock == FALSE) ++ { + g_timeout_add(POPUP_DELAY, show_actions_menu, NULL); ++ } + } + /* Normal click */ + else ++ { + g_timeout_add(POPUP_DELAY, show_history_menu, NULL); +- /* Free the event */ +- gdk_event_free(current_event); ++ } + } + + /* Called when history global hotkey is pressed */