From 8d00e267acf1d86841e0389f1537f2733a4e446d Mon Sep 17 00:00:00 2001 From: Humdinger Date: Mon, 4 Jan 2016 16:37:10 +0100 Subject: [PATCH] New version of Clipdinger New in v0.5: * Added a feature to paste to the online service Sprunge.us * Bug fix: A chosen favorite will now appear at the top of the clip list, which always shows what's currently in the clipboard. * Bug fix: Using the mouse instead of the cursor keys to switch list now correctly shows the inactive list "dimmed". --- haiku-apps/clipdinger/clipdinger-0.5.recipe | 77 +++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 haiku-apps/clipdinger/clipdinger-0.5.recipe diff --git a/haiku-apps/clipdinger/clipdinger-0.5.recipe b/haiku-apps/clipdinger/clipdinger-0.5.recipe new file mode 100644 index 000000000..e8ec3d790 --- /dev/null +++ b/haiku-apps/clipdinger/clipdinger-0.5.recipe @@ -0,0 +1,77 @@ +SUMMARY="A tool to manage a history of the system clipboard" +DESCRIPTION="Clipdinger solves the problem that you often have to paste some \ +text you've just recently copied to the clipboard, but which has been \ +replaced by something you've copied more recently... It also saves the \ +history so it'll appear just as you left it on the last shutdown. + +Clipdinger provides a history of your recent clippings and lets you create \ +your own favorites. It should be started automatically on every boot-up by \ +creating a link to it at ~/config/settings/boot/launch/. + +You access the history by pressing SHIFT + ALT + V, which opens the \ +Clipdinger window where you can select an entry with the cursor keys and \ +paste it by hitting RETURN. + +After selecting a clip, you can also paste it to the online service \ +Sprunge.us by hitting ALT + P. The returned URL for the clip is put into the \ +clipboard for you to paste into your email or IRC channel etc. + +ESCAPE minimizes the window without pasting. + +Please see the ReadMe available from the Help menu for more details." +HOMEPAGE="http://humdingerb.github.io/clipdinger/" +COPYRIGHT="2015 Humdinger" +LICENSE="MIT" +REVISION="1" +SOURCE_URI="https://github.com/humdingerb/clipdinger/archive/$portVersion.tar.gz" +CHECKSUM_SHA256="142cc12f81e60219c526685ff90487b994332e3c93a7c09ddd29219d3d892695" + +ARCHITECTURES="x86_gcc2 x86 x86_64" + +PROVIDES=" + clipdinger = $portVersion + app:Clipdinger = $portVersion + add_on:ClipdingerInputDevice = $portVersion + " +REQUIRES=" + haiku + cmd:curl + " + +BUILD_REQUIRES=" + haiku_devel + " +BUILD_PREREQUIRES=" + makefile_engine + cmd:g++ + cmd:make + " + +USER_SETTINGS_FILES=" + settings/Clipdinger directory + " + +BUILD() +{ + make $jobArgs OBJ_DIR=objects + make bindcatalogs OBJ_DIR=objects + + cd input_device + make $jobArgs OBJ_DIR=objects +} + +INSTALL() +{ + clipdingerDir=$appsDir/Clipdinger + + mkdir -p $clipdingerDir + cp -af objects/Clipdinger $clipdingerDir + cp -af ReadMe.html $clipdingerDir + cp -r images $clipdingerDir + + mkdir -p $addOnsDir/input_server/devices + cp -af input_device/objects/ClipdingerInputDevice \ + $addOnsDir/input_server/devices + + addAppDeskbarSymlink $clipdingerDir/Clipdinger +}