Giter Site home page Giter Site logo

gpaste's Introduction

Coverity Scan Build Status

GPaste is a clipboard management system. See https://www.imagination-land.org/posts/2012-12-01-gpaste-released.html for more information about what clipboard managers are.

Translators can use weblate to contribute.

A library is available for development purposes:

  • libgpaste contains all the basic objects used by GPaste and allows you to manage preferences and the GPaste daemon.

A default daemon named gpaste-daemon is provided, with seven keybindings:

  • show history
  • pop the item from the history
  • sync primary selection with clipboard
  • sync clipboard with primary selection
  • mark the active item as being a password
  • upload the active item to a pastebin service (using wgetpaste)
  • launch the graphical tool

A simple CLI interface is provided: gpaste-client, with a subcommands: gpaste-client ui which makes the graphical tool pop.

A native gnome-shell extension is provided.

/!\ Don't forget to run gpaste-client dr aka gpaste-client daemon-reexec after upgrading GPaste to activate new functionalities ;)

You can then run gpaste-client daemon-version to check the correct daemon is now running.

Steps to install it after cloning:

mkdir builddir
cd builddir
meson ..
ninja
sudo ninja install
sudo glib-compile-schemas /usr/share/glib-2.0/schemas/

You can see everything I'll post about GPaste there.

Latest release for GNOME 45 or 46 is: GPaste 45.1.

Direct link to download: https://www.imagination-land.org/files/gpaste/GPaste-45.1.tar.xz

gpaste's People

Contributors

afn avatar amr-ibra avatar bobi32 avatar buxit avatar comradekingu avatar doppelhelix avatar elder avatar emojigit avatar eson57 avatar gankov avatar garyvdm avatar heftig avatar huulivoide avatar iyagicom avatar jtojnar avatar judu avatar kapouer avatar keruspe avatar kovansky avatar larryw3i avatar lzap avatar marv avatar oersen avatar rffontenelle avatar serkan-maker avatar starise avatar tuberry avatar viktoron avatar wiselynx avatar xosecalvo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gpaste's Issues

gpaste-settings errors with schema no key save-history

When I try run /usr/libexec/gpaste/gpaste-settings, I get this error:

GLib-GIO-ERROR **: Settings schema 'org.gnome.GPaste' does not contain a key named 'save-history'
Trace/breakpoint trap

My configuration:

I had a previous version of GPaste installed so I did :

sudo rm /usr/share/glib-2.0/schemas/org.gnome.GPaste.gschema.xml
sudo make install 

but it did not help.

grep save-history /usr/share/glib-2.0/schemas/org.gnome.GPaste.gschema.xml 

returns:

    <key type="b" name="save-history">

I also tried manually running

sudo /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas 

but that did not help either.

Super modifier cannot be bound (GNOME Shell interferes?)

It is not possible to use V or H as keybindings. Could this be because the GNOME Shell interferes? If so, maybe the binding should be done in the extension code. This could also make compatibility with Wayland easier, especially should the compositor prove the only one able to catch global keybindings.

configure: error: *** Introspection support is required to run the gnome-shell extension

Hello, can not configure Gpaste before compile it;

./configure --sysconfdir=/etc --enable-systemd --prefix=/usr
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for ar... ar
checking the archiver (ar) interface... ar
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @file support... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... gawk
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking how to create a ustar tar archive... gnutar
checking dependency style of gcc... gcc3
checking whether make supports nested variables... yes
checking for a sed that does not truncate output... (cached) /bin/sed
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking for gcc option to accept ISO C99... -std=gnu99
checking whether gcc -std=gnu99 and cc understand -c and -o together... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for gcc -std=gnu99 way to treat warnings as errors... -Werror
checking if gcc -std=gnu99 supports attribute(( unused ))... yes
checking if gcc -std=gnu99 supports attribute(( visibility("default") ))... yes
checking if gcc -std=gnu99 supports -pipe flag... yes
checking if gcc -std=gnu99 supports -pedantic flag... yes
checking if gcc -std=gnu99 supports -DANOTHER_BRICK_IN_THE flag... yes
checking if gcc -std=gnu99 supports -Wall flag... yes
checking if gcc -std=gnu99 supports -W flag... yes
checking if gcc -std=gnu99 supports -Wextra flag... yes
checking if gcc -std=gnu99 supports -Wvla flag... yes
checking if gcc -std=gnu99 supports -Wundef flag... yes
checking if gcc -std=gnu99 supports -Wformat=2 flag... yes
checking if gcc -std=gnu99 supports -Wlogical-op flag... yes
checking if gcc -std=gnu99 supports -Wsign-compare flag... yes
checking if gcc -std=gnu99 supports -Wformat-security flag... yes
checking if gcc -std=gnu99 supports -Wmissing-include-dirs flag... yes
checking if gcc -std=gnu99 supports -Wformat-nonliteral flag... yes
checking if gcc -std=gnu99 supports -Wold-style-definition flag... yes
checking if gcc -std=gnu99 supports -Wpointer-arith flag... yes
checking if gcc -std=gnu99 supports -Winit-self flag... yes
checking if gcc -std=gnu99 supports -Wfloat-equal flag... yes
checking if gcc -std=gnu99 supports -Wmissing-prototypes flag... yes
checking if gcc -std=gnu99 supports -Wstrict-prototypes flag... yes
checking if gcc -std=gnu99 supports -Wredundant-decls flag... yes
checking if gcc -std=gnu99 supports -Wmissing-declarations flag... yes
checking if gcc -std=gnu99 supports -Wmissing-noreturn flag... yes
checking if gcc -std=gnu99 supports -Wshadow flag... yes
checking if gcc -std=gnu99 supports -Wendif-labels flag... yes
checking if gcc -std=gnu99 supports -Wcast-align flag... yes
checking if gcc -std=gnu99 supports -Wstrict-aliasing=2 flag... yes
checking if gcc -std=gnu99 supports -Wwrite-strings flag... yes
checking if gcc -std=gnu99 supports -Werror=overflow flag... yes
checking if gcc -std=gnu99 supports -Wp,-D_FORTIFY_SOURCE=2 flag... yes
checking if gcc -std=gnu99 supports -ffast-math flag... yes
checking if gcc -std=gnu99 supports -fno-common flag... yes
checking if gcc -std=gnu99 supports -fdiagnostics-show-option flag... yes
checking if gcc -std=gnu99 supports -fno-strict-aliasing flag... yes
checking if gcc -std=gnu99 supports -fvisibility=hidden flag... yes
checking if gcc -std=gnu99 supports -ffunction-sections flag... yes
checking if gcc -std=gnu99 supports -fdata-sections flag... yes
checking if gcc -std=gnu99 supports -Wl,--as-needed flag... yes
checking if gcc -std=gnu99 supports -Wl,--gc-sections flag... yes
checking whether NLS is requested... yes
checking for intltool >= 0.50.0... 0.50.2 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.14.2
checking for XML::Parser... ok
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.22... yes
checking for GLIB... yes
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for GTK... yes
checking for GDK_PIXBUF... yes
checking for XML... yes
checking for X11... yes
checking X11/extensions/XInput2.h usability... yes
checking X11/extensions/XInput2.h presence... yes
checking for X11/extensions/XInput2.h... yes
checking for DBUS... yes
checking for DBUS... yes
configure: error: *** Introspection support is required to run the gnome-shell extension

What does mean this last error message?

Thanks for your help.

LGDN

Installation dependency error - 'LIBTOOL' is undefined

Haven't looked into the code yet -- figure this is a quick patch but running short on time

$ ./autogen.sh 

configure.ac:47: installing 'build-aux/ar-lib'
configure.ac:60: installing 'build-aux/compile'
configure.ac:51: installing 'build-aux/install-sh'
configure.ac:51: installing 'build-aux/missing'
Makefile.am:77: error: Libtool library used but 'LIBTOOL' is undefined
Makefile.am:77:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:77:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:77:   If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:77:   its definition is in aclocal's search path.
Makefile.am: installing 'build-aux/depcomp'
autoreconf: automake failed with exit status: 1

gpasted & huge history files

Hi Marc-Antoine! I very much appreciate all the work you've put into GPaste. It's awesome.

In a recent project I was working on, I ended up copying huge amounts of data (100-300MB) to my clipboard (independent of gpaste) for testing on my Fedora system. When all was said and done, I realized that I had left gpaste on and tracking during all the experimenting, and sure enough, the daemon was no longer responding.

gpasted fails to start every time I attempt to load it--pegs the cpu for about a minute, then dies. The same happens if I try to use the client to empty history.

However, once I ran an lsof command and saw where the history file was stored and deleted it, all was well. Problem is fully-reproduce-able. Things work fine up to 50MB. Add on another 50MB and gpasted dies.

I feel kinda weird opening an issue for this, because I don't REALLY expect gpaste to be able to handle such huge clipboard sizes, but I just thought I'd give you this report in case it gives you any thoughts about how to improve your awesome app's handling of when users do stupid things. :)

Couldn't connect to GPaste daemon - daemon autostart not installed

On the latest trunk from Sat 17 Sep 2011, I see the following error in the gpaste menu:

(Couldn't connect to GPaste daemon)

ps -ef | grep gpasted reveals that it deamon is not running.

If I manually run /usr/libexec/gpaste/gpasted, and restart gnome-shell, then it works.

My understanding is that gpasted is started by the dbus daemon. I dug around for dbus log files, but could not find anything.

cant compile with vala 0.16

got this output from terminal while trying to compile:
make[2]: Nada a ser feito para all'. VALAC bin_gpaste_settings_vala.stamp src/gpaste-settings/gpaste-settings.vala:301.12-301.17: error: The symbolGPaste' could not be found
public GPaste.Settings settings {
^^^^^^
src/gpaste-settings/gpaste-settings.vala:301.12-301.17: error: The symbol GPaste' could not be found public GPaste.Settings settings { ^^^^^^ src/gpaste-settings/gpaste-settings.vala:301.12-301.17: error: The symbolGPaste' could not be found
public GPaste.Settings settings {
^^^^^^
src/gpaste-settings/gpaste-settings.vala:301.12-301.17: error: The symbol `GPaste' could not be found
public GPaste.Settings settings {
^^^^^^
Compilation failed: 4 error(s), 0 warning(s)

Hotkey don't work

Hi,
I just did a fresh install of Ubuntu Gnome 14.04LTS. GPaste 3.10 works so far, unfortunately I don't get a reaction on any of the hotkeys. Changing the key setting to another combination doesn't help.

Gentoo installation

Hi,

I just updated my Gentoo to gnome3.8 and I wanted to install gpaste 3.2 but I have this error:

libgpaste/core/.libs/libgpaste-core.so: undefined reference to g_paste_clipboards_manager_get_instance_private'`

Any pointer ?

For your information, here is my ebuild:

# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=4

VALA_MIN_API_VERSION=0.16

inherit autotools bash-completion-r1 eutils gnome2

DESCRIPTION="Clipboard management system"
HOMEPAGE="https://github.com/Keruspe/GPaste"
SRC_URI="http://www.imagination-land.org/files/gpaste/${P}.tar.xz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"

IUSE="debug gnome-shell nls applet systemd zsh-completion bash-completion"
REQUIRED_USE="|| ( gnome-shell applet )"

DEPEND="<=gnome-base/gnome-3.9.5
        applet? ( >=dev-lang/vala-0.16[vapigen] )
        >=dev-util/pkgconfig-0.22
        >=dev-libs/glib-2.30
        x11-libs/gtk+:3
        nls? ( >=dev-util/intltool-0.40 )"
RDEPEND="${DEPEND}
        bash-completion? ( app-shells/bash )
        gnome-shell? ( >gnome-base/gnome-shell-3.3.2 )
        zsh-completion? ( app-shells/zsh app-shells/zsh-completion )"

WANT_AUTOMAKE="1.12"

src_configure() {
    if ! use debug; then
        myconf="--enable-silent-rules"
    else
        myconf="--disable-silent-rules"
    fi

    G2CONF="${myconf} \
            $(use_enable gnome-shell gnome-shell-extension) \
            $(use_enable nls) \
            $(use_enable applet) \
            $(use_enable systemd)"
    export G2CONF
    gnome2_src_configure
}

src_install() {
    gnome2_src_install
    dodoc AUTHORS NEWS ChangeLog ChangeLog.pre2.2.1 TODO THANKS README.md
    dobashcomp data/completions/* || die
    use bash-completion && dobashcomp data/completions/* ||die
    if use zsh-completion ; then
        insinto /usr/share/zsh/site-functions
        doins data/completions/_gpaste || die
    fi
}

can no more compile gpaste on Ubuntu 13.04

Hello, when i try to compile last Gpaste source, I obatain an error message:

$./configure --sysconfdir=/etc --prefix=/usr --enable-vala --enable-applet
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for ar... ar
checking the archiver (ar) interface... ar
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @file support... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... gawk
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking how to create a ustar tar archive... gnutar
checking dependency style of gcc... gcc3
checking whether make supports nested variables... yes
checking for a sed that does not truncate output... (cached) /bin/sed
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking for gcc option to accept ISO C99... -std=gnu99
checking whether gcc -std=gnu99 and cc understand -c and -o together... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for gcc -std=gnu99 way to treat warnings as errors... -Werror
checking if gcc -std=gnu99 supports attribute(( unused ))... yes
checking if gcc -std=gnu99 supports attribute(( visibility("default") ))... yes
checking if gcc -std=gnu99 supports -pipe flag... yes
checking if gcc -std=gnu99 supports -pedantic flag... yes
checking if gcc -std=gnu99 supports -DANOTHER_BRICK_IN_THE flag... yes
checking if gcc -std=gnu99 supports -Wall flag... yes
checking if gcc -std=gnu99 supports -W flag... yes
checking if gcc -std=gnu99 supports -Wextra flag... yes
checking if gcc -std=gnu99 supports -Wvla flag... yes
checking if gcc -std=gnu99 supports -Wundef flag... yes
checking if gcc -std=gnu99 supports -Wformat=2 flag... yes
checking if gcc -std=gnu99 supports -Wlogical-op flag... yes
checking if gcc -std=gnu99 supports -Wsign-compare flag... yes
checking if gcc -std=gnu99 supports -Wformat-security flag... yes
checking if gcc -std=gnu99 supports -Wmissing-include-dirs flag... yes
checking if gcc -std=gnu99 supports -Wformat-nonliteral flag... yes
checking if gcc -std=gnu99 supports -Wold-style-definition flag... yes
checking if gcc -std=gnu99 supports -Wpointer-arith flag... yes
checking if gcc -std=gnu99 supports -Winit-self flag... yes
checking if gcc -std=gnu99 supports -Wfloat-equal flag... yes
checking if gcc -std=gnu99 supports -Wmissing-prototypes flag... yes
checking if gcc -std=gnu99 supports -Wstrict-prototypes flag... yes
checking if gcc -std=gnu99 supports -Wredundant-decls flag... yes
checking if gcc -std=gnu99 supports -Wmissing-declarations flag... yes
checking if gcc -std=gnu99 supports -Wmissing-noreturn flag... yes
checking if gcc -std=gnu99 supports -Wshadow flag... yes
checking if gcc -std=gnu99 supports -Wendif-labels flag... yes
checking if gcc -std=gnu99 supports -Wcast-align flag... yes
checking if gcc -std=gnu99 supports -Wstrict-aliasing=2 flag... yes
checking if gcc -std=gnu99 supports -Wwrite-strings flag... yes
checking if gcc -std=gnu99 supports -Werror=overflow flag... yes
checking if gcc -std=gnu99 supports -Wp,-D_FORTIFY_SOURCE=2 flag... yes
checking if gcc -std=gnu99 supports -ffast-math flag... yes
checking if gcc -std=gnu99 supports -fno-common flag... yes
checking if gcc -std=gnu99 supports -fdiagnostics-show-option flag... yes
checking if gcc -std=gnu99 supports -fno-strict-aliasing flag... yes
checking if gcc -std=gnu99 supports -fvisibility=hidden flag... yes
checking if gcc -std=gnu99 supports -ffunction-sections flag... yes
checking if gcc -std=gnu99 supports -fdata-sections flag... yes
checking if gcc -std=gnu99 supports -Wl,--as-needed flag... yes
checking if gcc -std=gnu99 supports -Wl,--gc-sections flag... yes
checking whether NLS is requested... yes
checking for intltool >= 0.50.0... 0.50.2 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.14.2
checking for XML::Parser... ok
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.22... yes
checking for GLIB... yes
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for gobject-introspection... yes
checking for valac... no
configure: WARNING: No Vala compiler found. You will not be able to compile .vala source files.
checking for vapigen... vapigen
checking for GTK... yes
checking for GDK_PIXBUF... yes
checking for XML... yes
checking for X11... yes
checking X11/extensions/XInput2.h usability... yes
checking X11/extensions/XInput2.h presence... yes
checking for X11/extensions/XInput2.h... yes
checking for DBUS... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: executing libtool commands
config.status: executing depfiles commands
config.status: executing po/stamp-it commands

GPaste 2.99.2
========

prefix:                 /usr
exec_prefix:            ${prefix}
sysconfdir:             /etc
libdir:                 ${exec_prefix}/lib
includedir:             ${prefix}/include

compiler:               gcc -std=gnu99
cflags:                 -g -O2 -pipe -pedantic -DANOTHER_BRICK_IN_THE -Wall -W -Wextra -Wvla -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self -Wfloat-equal -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing=2 -Wwrite-strings -Werror=overflow -Wp,-D_FORTIFY_SOURCE=2 -ffast-math -fno-common -fdiagnostics-show-option -fno-strict-aliasing -fvisibility=hidden -ffunction-sections -fdata-sections
ldflags:                 -Wl,--as-needed -Wl,--gc-sections

vala compiler:          
vapi generator:         vapigen

Legacy applet:          yes
Gnome-Shell extension:  yes
systemd support:        no (/dev/null)

$make
make --no-print-directory all-recursive
Making all in po
make[2]: Rien à faire pour « all ».
CC libgpaste/settings/libgpaste_settings_libgpaste_settings_la-gpaste-settings.lo
CCLD libgpaste/settings/libgpaste-settings.la
CC libgpaste/keybinder/libgpaste_keybinder_libgpaste_keybinder_la-gpaste-keybinder.lo
CC libgpaste/keybinder/libgpaste_keybinder_libgpaste_keybinder_la-gpaste-keybinding.lo
CC libgpaste/keybinder/libgpaste_keybinder_libgpaste_keybinder_la-gpaste-paste-and-pop-keybinding.lo
CC libgpaste/keybinder/libgpaste_keybinder_libgpaste_keybinder_la-gpaste-show-history-keybinding.lo
CC libgpaste/common/libgpaste_common_libgpaste_common_la-gpaste-clipboard-common.lo
CCLD libgpaste/common/libgpaste-common.la
CCLD libgpaste/keybinder/libgpaste-keybinder.la
CC libgpaste/core/libgpaste_core_libgpaste_core_la-gpaste-clipboard.lo
CC libgpaste/core/libgpaste_core_libgpaste_core_la-gpaste-clipboards-manager.lo
CC libgpaste/core/libgpaste_core_libgpaste_core_la-gpaste-history.lo
CC libgpaste/core/libgpaste_core_libgpaste_core_la-gpaste-image-item.lo
CC libgpaste/core/libgpaste_core_libgpaste_core_la-gpaste-item.lo
CC libgpaste/core/libgpaste_core_libgpaste_core_la-gpaste-text-item.lo
CC libgpaste/core/libgpaste_core_libgpaste_core_la-gpaste-uris-item.lo
CCLD libgpaste/core/libgpaste-core.la
CC libgpaste/client/libgpaste_client_libgpaste_client_la-gpaste-client.lo
CCLD libgpaste/client/libgpaste-client.la
CC libgpaste/daemon/libgpaste_daemon_libgpaste_daemon_la-gpaste-daemon.lo
CCLD libgpaste/daemon/libgpaste-daemon.la
CC libgpaste/settings/ui/libgpaste_settings_ui_libgpaste_settings_ui_la-gpaste-settings-ui-notebook.lo
CC libgpaste/settings/ui/libgpaste_settings_ui_libgpaste_settings_ui_la-gpaste-settings-ui-panel.lo
CCLD libgpaste/settings/ui/libgpaste-settings-ui.la
CC src/gpaste/bin_gpaste-gpaste.o
CCLD bin/gpaste
/usr/bin/ld: src/gpaste/bin_gpaste-gpaste.o: undefined reference to symbol 'g_type_init'
/usr/bin/ld: note: 'g_type_init' is defined in DSO /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 so try adding it to the linker command line
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[2]: *** [bin/gpaste] Erreur 1
make[1]: *** [all-recursive] Erreur 1
make: *** [all] Erreur 2

Thank you for your help.

Couldn't connect to Gpaste daemon

Hi, I'm not being able to use your extension. Actually I'm running GS 3.1.4 (ubuntu 11.04) and did the following:

cd GPaste
./autogen.bash --enable-gnome-shell-extension
./configure --prefix=/usr
make
sudo make install

Editing metadata to include 3.1.4 release everything seems work well (that means the extension appears) but it keep dropping the message "Couldn't connect to Gpaste daemon" where it should place the paste history. What can I check?

The extension was working when I installed it for the first time on 3.1.2 GS release...

Thanks in advance, your work is very brilliant :)

Nice day

installation errors

./autogen.sh 
Can't exec "libtoolize": No such file or directory at /usr/bin/autoreconf line 196.
Use of uninitialized value in pattern match (m//) at /usr/bin/autoreconf line 196.
configure.ac:18: error: Autoconf version 2.69 or higher is required
configure.ac:18: the top level
autom4te: /usr/bin/m4 failed with exit status: 63
aclocal: /usr/bin/autom4te failed with exit status: 63
autoreconf: aclocal failed with exit status: 63

running mint 13 x64, cinnamon 1.6, kernel 3.6.0-030600-generic #201209302035

Icon is disappearing, when external drive is connected

Hi!

After a fresh install of Ubuntu 12.10 the gpaste icon in the upper right gnome-shell bar is disappearing, when an external drive is connected. When the external drive is detached and a reload of gnome-shell is done, the icon appears again.

I was not experiencing this on Ubuntu 12.04 before, even though I had nearly the same configuration.

The off. Gnome 3 repository is used (https://launchpad.net/~gnome3-team/+archive/gnome3).
Gpaste and the according extension was installed from: https://launchpad.net/~webupd8team/+archive/gnome3

Do you have any clue what could be causing this?

Best!

not able to activare gpaste legacy applet

Hi,

I'm currently using GNOME3 Fallback mode due to problems with ATI drivers, and wish to activate and use gpaste.

I compiled enabling legacy applet, but I can't add it to the panel... Is there anything else I need to activate in order to use it?

Memory Usage too big

Using the Gimp (copy/paste) or copying image files in nautilus makes gpaste use all my memory, making the system higly unusable.

If I delete the history nothing changes, I have to kill the process gpasted in order to return to a usable system.

I'm using $ apt-cache policy gpaste gpaste: Installato: 2.8.1-1~webupd8~precise Candidato: 2.8.1-1~webupd8~precise
on Ubuntu 12.04 with Gnome-Shell 3.4.1 and the extension $ apt-cache policy gnome-shell-extensions-gpaste gnome-shell-extensions-gpaste: Installato: 2.8.1-1~webupd8~precise Candidato: 2.8.1-1~webupd8~precise

Compile Error on Debian Testing, Gnome 3.8

I'd love to install Gpaste 3.2.2 on my Debian box. autogen.sh and configure work just fine, however, when trying to compile I get the following error:

libgpaste/core/.libs/libgpaste-core.so: undefined reference to `g_paste_clipboards_manager_get_instance_private'
collect2: error: ld returned 1 exit status

In issue #59 I found the same error on a Gentoo system. Any idea how to go on?

Cannot compile gpaste on Ubuntu precise

Hello,

I tried to compile the last svn version of Gpaste today but I can't because Ubuntu precise have not the right atoconf and automake versions:

Autoconf 2.68
Automake 1.11.3

I don't know if there is a solution for my problem...thanks for your help.

Gnome Shell Extension for GPaste doesn't disable gpasted when disabled

Just figured out why Inkscape was having huge issues copy-pasting on my system. Turns out that when I activated the shell extension for gpaste, it started up gpasted and added it to my Startup Programs list, which makes sense, but when I disabled the extension, it left gpasted there. Some applications and gpasted don't play nice, and I didn't realize that it was still running, since I had disabled the extension after only activating it briefly to play around with it.

If you didn't write the extension, could you please let me know who did so I can contact them? If it's possible it seems like when the extension is disabled that it should clean up after itself and remove the daemon from always running.

Thanks,
Matt

Application blacklist needed

GPaste records passwords copied to the clipboard by password safe applications, like Keepassx. GPaste needs a blacklist for application to ignore so that content copied is not recorded.

Ctrl-Alt-H does not work in Fedora 16

Hello,

as I never used this combination, today I noticed it does not work for me. I would like to investigate, but I don't know where to start.

I checked Gnome Shell keyboard binding, nothing bound there. Tried to change the setting, does not work.

autogen.sh is missing stuff, cannot build

Hi! I'm using linux mint debian edition with cinnamon and I wanted to build and install gpaste, but it failed:

kaefert@blechmobil:/Downloads/cinnamon_applets/gpaste/GPaste$ ./autogen.sh
./autogen.sh: 2: ./autogen.sh: autoreconf: not found
./autogen.sh: 3: ./autogen.sh: intltoolize: not found
kaefert@blechmobil:
/Downloads/cinnamon_applets/gpaste/GPaste$ ./configure --sysconfdir=/etc
bash: ./configure: Datei oder Verzeichnis nicht gefunden
kaefert@blechmobil:/Downloads/cinnamon_applets/gpaste/GPaste$ make
make: *** Keine Targets angegeben und keine »make«-Steuerdatei gefunden. Schluss.
kaefert@blechmobil:
/Downloads/cinnamon_applets/gpaste/GPaste$ sudo make install
make: *** Keine Regel, um »install« zu erstellen. Schluss.
kaefert@blechmobil:~/Downloads/cinnamon_applets/gpaste/GPaste$

Configure says "package dbus-1 missing"

I can't compile because of this. Im using debian testing. I installed package dbus, but no avail and there is no package dbus-1, nor dbus-dev or libdbus...

Any clues?

Suppress partial selections

I have the primary selection enabled for gpaste. Is there a way to suppress partial contents being put in the history?

What I mean is that when I click on some text and then enlarge the selection by moving with the mouse/touchpad, I'm only interested in the complete marked text after releasing the button, not in the intermediate steps I needed to come there.

Currently, in such scenarios, my history looks like:

  • foo bar baz
  • foo bar b
  • foo b
  • fo

option to detect growing history lines...

Hi,

Before using GPaste, I was using glipper which has a "grow" plugin which detect if the new copy is an extension of another one. It would be interesting to have such a feature because, in my history I have always a lot of lines like this:

this is a test of the gpaste growing feature
this is a test of the gpaste growing featur
this is a test of the gpaste growing featu
this is a test of the gpaste growing feat
this is a test of the gpaste growing fea
this is a test of the gpaste growing fe
this is a test of the gpaste growing f
this is a test of the gpaste growing 
this is a test of the gpaste growing
this is a test of the gpaste growin
...

and of course, my usefull history is then lost....

Best,
Jerome

RFE: fifo/lifo modes

just a couple of related suggestions in case they're fairly simple to do...

  1. could we add a mode where pasted items are removed from the history as they're pasted.

so i can go:
copy this, copy that, paste that, paste this
rather than:
copy this, copy that, paste that, select this, paste this

obviously, this is more helpful when you're copying lots of items.

  1. could we add a mode where copied (or removed or selected) items are added/moved to the other end of the history - so that they're the last item pasted back out again.

so then i can go:
copy this, copy that, paste this, paste that
(as long as the history was empty to start with)

  1. because of that caveat to 2, it'd be nice to be able to maintain multiple histories.

so then i can go:
new history, copy this, copy that, paste this, paste that
(no caveat!)
it might be nice to copy the gnome shell 'workspace on demand' system so that empty histories are automatically deleted.

what do you think?

very many thanks for GPaste - it's lush :-)

Indicator still displaying when screen in locked

Hi!
The indicator on the top-right is still displaying when the screen is locked, and all the information stored there is available without entering the password.
I am using Gome 3.10

Thanks!

GPaste causes wakeups even when idle

When looking at the output of powertop, gpasted causes about 30 wakeups/second, even when no user input is happening.

This seems excessive to me. What is it polling all the time? Shouldn't it just wake up on clipboard/selection changes, and when the user interacts with it?

gpaste 2.2 fails to build

Hello,

The option --no-translations is available for intltool >= 0.50.0. However, earlier versions of intltool do not support this option. So, this error occurs when the users try to build gpaste 2.2:


(...)
LC_ALL=C /usr/bin/intltool-merge -d -u -c ./po/.intltool-merge-cache ./po data/gpaste-settings.desktop.in data/gpaste-settings.desktop
Generating and caching the translation database
Merging translations into data/gpaste-settings.desktop.
GEN data/org.gnome.GPaste.service
GEN src/applets/gnome-shell/metadata.json
LC_ALL=C /usr/bin/intltool-merge -x -u --no-translations data/org.gnome.GPaste.gschema.xml.in data/org.gnome.GPaste.gschema.xml
Unknown option: no-translations
Undefined subroutine &main::error called at /usr/bin/intltool-merge line 73.
make[2]: *** [data/org.gnome.GPaste.gschema.xml] Error 255
rm data/gpaste-settings.desktop.in
make[2]: Leaving directory /home/elder/builds/PKGBUILD/gpaste/src/gpaste-2.2' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory/home/elder/builds/PKGBUILD/gpaste/src/gpaste-2.2'
make: *** [all] Error 2

(..)

My system: Archlinux.

Version of intltool: 0.41.1-2

Not able to install 3.6/3.7 (3.5 ok)

When I try to install 3.6/3.7 make won't complete. this is the output can you figure how to solve this problem? thank you
p.s: 3.5 works fine
make --no-print-directory all-recursive
Making all in po
MSGFMT es.gmo
MSGFMT fi.gmo
MSGFMT fr.gmo
MSGFMT pt_BR.gmo
CC libgpaste/settings/libgpaste_settings_libgpaste_settings_la-gpaste-settings.lo
CCLD libgpaste/settings/libgpaste-settings.la
CC libgpaste/keybinder/libgpaste_keybinder_libgpaste_keybinder_la-gpaste-keybinder.lo
CC libgpaste/keybinder/libgpaste_keybinder_libgpaste_keybinder_la-gpaste-keybinding.lo
CC libgpaste/keybinder/libgpaste_keybinder_libgpaste_keybinder_la-gpaste-paste-and-pop-keybinding.lo
CC libgpaste/keybinder/libgpaste_keybinder_libgpaste_keybinder_la-gpaste-show-history-keybinding.lo
CC libgpaste/keybinder/libgpaste_keybinder_libgpaste_keybinder_la-gpaste-sync-clipboard-to-primary-keybinding.lo
CC libgpaste/keybinder/libgpaste_keybinder_libgpaste_keybinder_la-gpaste-sync-primary-to-clipboard-keybinding.lo
CC libgpaste/common/libgpaste_common_libgpaste_common_la-gpaste-clipboard-common.lo
CCLD libgpaste/common/libgpaste-common.la
CCLD libgpaste/keybinder/libgpaste-keybinder.la
CC libgpaste/core/libgpaste_core_libgpaste_core_la-gpaste-clipboard.lo
CC libgpaste/core/libgpaste_core_libgpaste_core_la-gpaste-clipboards-manager.lo
CC libgpaste/core/libgpaste_core_libgpaste_core_la-gpaste-history.lo
CC libgpaste/core/libgpaste_core_libgpaste_core_la-gpaste-image-item.lo
CC libgpaste/core/libgpaste_core_libgpaste_core_la-gpaste-item.lo
CC libgpaste/core/libgpaste_core_libgpaste_core_la-gpaste-text-item.lo
CC libgpaste/core/libgpaste_core_libgpaste_core_la-gpaste-uris-item.lo
CCLD libgpaste/core/libgpaste-core.la
CC libgpaste/client/libgpaste_client_libgpaste_client_la-gpaste-client.lo
CCLD libgpaste/client/libgpaste-client.la
CC libgpaste/daemon/libgpaste_daemon_libgpaste_daemon_la-gpaste-daemon.lo
CCLD libgpaste/daemon/libgpaste-daemon.la
CC libgpaste/settings/ui/libgpaste_settings_ui_libgpaste_settings_ui_la-gpaste-settings-ui-panel.lo
CC libgpaste/settings/ui/libgpaste_settings_ui_libgpaste_settings_ui_la-gpaste-settings-ui-stack.lo
CC libgpaste/settings/ui/libgpaste_settings_ui_libgpaste_settings_ui_la-gpaste-settings-ui-widget.lo
CCLD libgpaste/settings/ui/libgpaste-settings-ui.la
CC src/gpaste/bin_gpaste-gpaste.o
CCLD bin/gpaste
CC src/gpasted/bin_gpasted-gpasted.o
CCLD bin/gpasted
CC src/gpaste-settings/bin_gpaste_settings-gpaste-settings.o
CCLD bin/gpaste-settings
GISCAN bindings/gi/GPaste-1.0.gir
/home/rick/Scaricati/tmp/gpaste-3.6/tmp-introspecthhPH17/.libs/GPaste-1.0: relocation error: /home/rick/Scaricati/tmp/gpaste-3.6/tmp-introspecthhPH17/.libs/GPaste-1.0: symbol g_paste_settings_ui_stack_get_type, version LIBGPASTE_SETTINGS_UI_1 not defined in file libgpaste-settings-ui.so.2 with link time reference
Command '['/home/rick/Scaricati/tmp/gpaste-3.6/tmp-introspecthhPH17/GPaste-1.0', '--introspect-dump=/home/rick/Scaricati/tmp/gpaste-3.6/tmp-introspecthhPH17/functions.txt,/home/rick/Scaricati/tmp/gpaste-3.6/tmp-introspecthhPH17/dump.xml']' returned non-zero exit status 127
make[2]: *** [bindings/gi/GPaste-1.0.gir] Errore 1
make[1]: *** [all-recursive] Errore 1
make: *** [all] Errore 2

"Paste and delete" not working

In gpaste 3.5, when issuing a "paste and delete" action using CTRL-ALT-V (other bindings were also tried), no element is actually pasted.

gpaste seems to receive the event, though, because the clipboard stack is affected by the action.

seb [ ~ ]$ echo 1|gpaste
seb [ ~ ]$ echo 2|gpaste
seb [ ~ ]$ echo 3|gpaste
seb [ ~ ]$ gpaste history
0: 3
1: 2
2: 1
[CTRL-ALT-V into some text entry box]
seb [ ~ ]$ gpaste history
0: 2
1: 3
2: 1
[Further CTRL-ALT-V will cycle the elements at 0 and 1]

At no point does any actual pasting occur, though.

(This is on mutter 3.10.0.1, in case it's relevant.)

"Paste and delete" quirky

Hi Keruspe. Thanks for your response on the previous issue regarding paste and pop. I just upgraded to 3.6, and I now observe the following behavior when "pasting and popping":

Issuing a "paste and pop" into a text field does not actually paste anything. However, the next regular CTRL-V paste will do a paste and pop. (If this is the way paste and pop is supposed to work, I suggest changing the name of the binding to "toggle next pop" or something like that.)

When there is only a single item remaining on the stack, it will not be popped when following the above procedure.

GPaste menu is poorly structured.

Hi,
I'm the developper of the 'eOS' GNOME Shell theme ( http://fav.me/d4c9ung ), I use first-child and last-child in the menus to make the first element and last element have a same roundness as the menus(screenshots below).
Everything was looking perfect on the default menus. However, a flaw appeared with your extension when the theme is applied, here are the relevent pictures:

GS: http://db.tt/Z6DaaVX6

GPaste: http://db.tt/qb8ZHz58

Look at how the item in the middle is taking the style of a last-child and compare it to the first picture when it does behave as expected.

GPaste 3.7 shows underscores in gpaste-settings

I guess they were used to show up by pressing the ALT key. In version 3.6 there where no underscores. Now gpaste-settings shows e.g. "_Track clipboard changes" instead of "Track clipboard changes"

Screenshots & search feature

In an article about the latest update to GPaste (http://la-vache-libre.org/gpaste-3-3-3-8-disponible-sur-ubuntu-13-10-14-04/) I saw a screenshot of the extension displaying a search functionality and different UI with items separated in boxes. This surprised me as even with the latest version installed (v3.8 in GS 3.10 in Archlinux) and daemon reexecuted I couldn't see those features.

Then looking through Github issues I saw #67 concerning an alternative GS extension that does seem to sport those features, according to the project page's screenshot (cf. https://github.com/awamper/gpaste-integration/raw/master/screenshots/1.jpg).

I just wanted to confirm that those features aren't present in the default extension and indeed come from the alternative one, the use of which the author of previously mentionned article failed to cite. Otherwise I'd be looking to activate the search functionality as this is something I've been looking for in the default extension.

Could you also provide screenshots (for both versions of your extensions if necessary) on the project frontpage, or links to them on anther website such as http://www.imagination-land.org, so that users know what the program is supposed to look like in advance?

Thanks for this great piece of software and good continuation!

Ubuntu dependencies

Hi,

could someone post the necessary dependencies to build this repo on ubuntu? I don't get very far and failed finding the right packages for fobject-introspection and systemd (and whatever is needed beyond that...)

gpasted increasing memory usage ad infinitum

It starts increasing memory usage with no apparently reason until it reaches a state that my laptop it not able to respond.
I'm using the package: gpaste 2.8.1-1webupd8precise with gnome-shell under ubuntu precise x86_64
Any idea?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.