tools: rename test-keyboard.c and install it as gimp-test-clipboard

Clibpard bugs are so common, it will be useful to have on users'
machines.

(cherry picked from commit bd9d85e60b)
This commit is contained in:
Michael Natterer
2018-06-04 22:35:18 +02:00
parent 838e3b09bf
commit 1b1a89978f
3 changed files with 14 additions and 17 deletions

4
tools/.gitignore vendored
View File

@ -5,8 +5,8 @@
/kernelgen /kernelgen
/gimptool-2.0 /gimptool-2.0
/gimptool-2.0.exe /gimptool-2.0.exe
/test-clipboard /gimp-test-clipboard-2.0
/test-clipboard.exe /gimp-test-clipboard-2.0.exe
/invert-svg /invert-svg
/invert-svg.exe /invert-svg.exe
/compute-svg-viewbox /compute-svg-viewbox

View File

@ -10,22 +10,18 @@ xobjective_cxx = "-xobjective-c++"
xnone = "-xnone" xnone = "-xnone"
endif endif
if OS_WIN32
bin_PROGRAMS = \ bin_PROGRAMS = \
gimptool-@GIMP_TOOL_VERSION@ \ gimptool-@GIMP_TOOL_VERSION@ \
gimp-debug-resume gimp-test-clipboard-@GIMP_TOOL_VERSION@
if OS_WIN32
bin_PROGRAMS += gimp-debug-resume
gimp_debug_resume_SOURCES = gimp-debug-resume.c gimp_debug_resume_SOURCES = gimp-debug-resume.c
else
bin_PROGRAMS = gimptool-@GIMP_TOOL_VERSION@
endif endif
noinst_PROGRAMS = test-clipboard
EXTRA_PROGRAMS = \ EXTRA_PROGRAMS = \
kernelgen kernelgen
@ -37,13 +33,14 @@ gimptool_@GIMP_TOOL_VERSION@_LDADD = \
$(GTK_LIBS) $(GTK_LIBS)
gimp_test_clipboard_@GIMP_TOOL_VERSION@_SOURCES = gimp-test-clipboard.c
gimp_test_clipboard_@GIMP_TOOL_VERSION@_LDADD = $(GTK_LIBS)
kernelgen_SOURCES = kernelgen.c kernelgen_SOURCES = kernelgen.c
test_clipboard_SOURCES = test-clipboard.c
test_clipboard_LDADD = $(GTK_LIBS)
if ENABLE_VECTOR_ICONS if ENABLE_VECTOR_ICONS
invert-svg$(BUILD_EXEEXT): invert-svg.c invert-svg$(BUILD_EXEEXT): invert-svg.c

View File

@ -1,5 +1,5 @@
/* /*
* test-clipboard.c -- do clipboard things * gimp-test-clipboard.c -- do clipboard things
* *
* Copyright (C) 2005 Michael Natterer <mitch@gimp.org> * Copyright (C) 2005 Michael Natterer <mitch@gimp.org>
* *
@ -201,7 +201,7 @@ main (gint argc,
static void static void
test_clipboard_show_version (void) test_clipboard_show_version (void)
{ {
g_print ("test-clipboard (GIMP clipboard testbed) version %s\n", g_print ("gimp-test-clipboard (GIMP clipboard testbed) version %s\n",
GIMP_VERSION); GIMP_VERSION);
exit (EXIT_SUCCESS); exit (EXIT_SUCCESS);