Compare commits
112 Commits
@ -1,6 +0,0 @@
|
||||
[submodule "admin"]
|
||||
path = admin
|
||||
url = http://system@scm.trinitydesktop.org/scm/git/tde-common-admin
|
||||
[submodule "cmake"]
|
||||
path = cmake
|
||||
url = http://system@scm.trinitydesktop.org/scm/git/tde-common-cmake
|
@ -0,0 +1,22 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2018 Slávek Banko
|
||||
# slavek.banko (AT) axis.cz
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
cmake_minimum_required( VERSION 3.1 )
|
||||
|
||||
|
||||
##### include our cmake modules #################
|
||||
|
||||
include( TDEL10n )
|
||||
|
||||
|
||||
##### create translation templates ##############
|
||||
|
||||
tde_l10n_auto_add_subdirectories( )
|
@ -0,0 +1,88 @@
|
||||
############################################
|
||||
# #
|
||||
# Improvements and feedbacks are welcome #
|
||||
# #
|
||||
# This file is released under GPL >= 3 #
|
||||
# #
|
||||
############################################
|
||||
|
||||
|
||||
cmake_minimum_required( VERSION 3.1 )
|
||||
|
||||
|
||||
#### general package setup
|
||||
|
||||
project( kkbswitch )
|
||||
|
||||
|
||||
#### include essential cmake modules
|
||||
|
||||
include( FindPkgConfig )
|
||||
include( CheckFunctionExists )
|
||||
include( CheckSymbolExists )
|
||||
include( CheckIncludeFile )
|
||||
include( CheckLibraryExists )
|
||||
include( CheckCSourceCompiles )
|
||||
include( CheckCXXSourceCompiles )
|
||||
|
||||
|
||||
#### include our cmake modules
|
||||
|
||||
include( TDEMacros )
|
||||
|
||||
|
||||
##### set version number ########################
|
||||
|
||||
tde_set_project_version( )
|
||||
|
||||
|
||||
##### setup install paths
|
||||
|
||||
include( TDESetupPaths )
|
||||
tde_setup_paths( )
|
||||
|
||||
|
||||
##### optional stuff
|
||||
|
||||
option( WITH_ALL_OPTIONS "Enable all optional support" OFF )
|
||||
option( WITH_GCC_VISIBILITY "Enable fvisibility and fvisibility-inlines-hidden" ${WITH_ALL_OPTIONS} )
|
||||
option( WITH_RU_UA_LAYOUT "Add Russian and Ukrainian keyboard" ${WITH_ALL_OPTIONS} )
|
||||
|
||||
|
||||
##### user requested modules
|
||||
|
||||
option( BUILD_ALL "Build all" OFF )
|
||||
option( BUILD_DOC "Build documentation" ${BUILD_ALL} )
|
||||
option( BUILD_TRANSLATIONS "Build translations" ${BUILD_ALL} )
|
||||
|
||||
|
||||
##### configure checks
|
||||
|
||||
include( ConfigureChecks.cmake )
|
||||
|
||||
|
||||
###### global compiler settings
|
||||
|
||||
add_definitions( -DHAVE_CONFIG_H )
|
||||
|
||||
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TQT_CXX_FLAGS}" )
|
||||
set( CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined" )
|
||||
set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined" )
|
||||
|
||||
|
||||
##### directories
|
||||
|
||||
add_subdirectory( icons )
|
||||
add_subdirectory( ${PROJECT_NAME} )
|
||||
add_subdirectory( ${PROJECT_NAME}.upd )
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
tde_conditional_add_project_docs( BUILD_DOC )
|
||||
tde_conditional_add_project_translations( BUILD_TRANSLATIONS )
|
||||
|
||||
|
||||
##### write configure files
|
||||
|
||||
configure_file( config.h.cmake config.h @ONLY )
|
@ -0,0 +1,37 @@
|
||||
###########################################
|
||||
# #
|
||||
# Improvements and feedback are welcome #
|
||||
# #
|
||||
# This file is released under GPL >= 3 #
|
||||
# #
|
||||
###########################################
|
||||
|
||||
|
||||
# required stuff
|
||||
find_package( TQt )
|
||||
find_package( TDE )
|
||||
|
||||
tde_setup_architecture_flags( )
|
||||
|
||||
include(TestBigEndian)
|
||||
test_big_endian(WORDS_BIGENDIAN)
|
||||
|
||||
tde_setup_largefiles( )
|
||||
|
||||
|
||||
##### check for gcc visibility support #########
|
||||
|
||||
if( WITH_GCC_VISIBILITY )
|
||||
tde_setup_gcc_visibility( )
|
||||
endif( )
|
||||
|
||||
|
||||
#### check for libxkbfile
|
||||
|
||||
pkg_search_module( XKBFILE xkbfile )
|
||||
if( NOT XKBFILE_FOUND )
|
||||
tde_message_fatal( "xkbfile is required , but was not found on your system" )
|
||||
else ( )
|
||||
set( HAVE_X11_EXTENSIONS_XKBRULES_H 1 )
|
||||
set( HAVE_LIBXKBFILE 1 )
|
||||
endif()
|
@ -1,46 +0,0 @@
|
||||
SUBDIRS = $(TOPSUBDIRS)
|
||||
|
||||
$(top_srcdir)/configure.in: configure.in.in $(top_srcdir)/subdirs
|
||||
cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common configure.in ;
|
||||
|
||||
$(top_srcdir)/subdirs:
|
||||
cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common subdirs
|
||||
|
||||
$(top_srcdir)/acinclude.m4: $(top_srcdir)/admin/acinclude.m4.in $(top_srcdir)/admin/libtool.m4.in
|
||||
@cd $(top_srcdir) && cat admin/acinclude.m4.in admin/libtool.m4.in > acinclude.m4
|
||||
|
||||
MAINTAINERCLEANFILES = subdirs configure.in acinclude.m4 configure.files
|
||||
|
||||
package-messages:
|
||||
cd $(top_srcdir) && $(MAKE) includedir=$(kde_includes) -f admin/Makefile.common package-messages
|
||||
$(MAKE) -C po merge
|
||||
|
||||
EXTRA_DIST = admin COPYING configure.in.in Makefile.cvs kkbswitch.1\
|
||||
configure.files Doxyfile kkbswitch.tdevelop kkbswitch.lsm \
|
||||
kkbswitch.spec kkbswitch.xpm subdirs kkbswitch.sgml
|
||||
|
||||
man_MANS = kkbswitch.1
|
||||
DISTCHECK_CONFIGURE_FLAGS = --disable-ru-ua-layout
|
||||
KDE_OPTIONS = noautodist
|
||||
|
||||
dist-hook:
|
||||
cd $(top_distdir) && perl admin/am_edit -padmin
|
||||
cd $(top_distdir) && $(MAKE) -f admin/Makefile.common subdirs
|
||||
# rm -f $(distdir)/kkbswitch.tdevelop.pcs
|
||||
# rm -f $(distdir)/$(PACKAGE)-*.tar.gz
|
||||
|
||||
|
||||
rpmdir = _rpm
|
||||
specfile = $(PACKAGE).spec
|
||||
rpm: $(specfile)
|
||||
rm -rf $(rpmdir)
|
||||
mkdir $(rpmdir)
|
||||
mkdir -p rpms
|
||||
cd $(rpmdir) && \
|
||||
mkdir RPMS SRPMS SOURCES SPECS BUILD RPMS/i386 RPMS/noarch && \
|
||||
cp ../$(specfile) SPECS && \
|
||||
cp ../$(distdir).tar.gz SOURCES && \
|
||||
rpmbuild --define "_topdir "`pwd` -ba SPECS/$(specfile) && \
|
||||
cp SRPMS/* RPMS/*/* ../rpms && cd .. && rm -rf $(rpmdir)
|
||||
|
||||
KDE_ICON = kkbswitch
|
@ -1,10 +0,0 @@
|
||||
all:
|
||||
@echo "This Makefile is only for the CVS repository"
|
||||
@echo "This will be deleted before making the distribution"
|
||||
@echo ""
|
||||
$(MAKE) -f admin/Makefile.common cvs
|
||||
|
||||
dist:
|
||||
$(MAKE) -f admin/Makefile.common dist
|
||||
|
||||
.SILENT:
|
@ -1,81 +0,0 @@
|
||||
NOTE: As of version 1.0 KKBSwitch has online documentation, so refer to it for
|
||||
more information. This README file will no longer be maintained, but the
|
||||
documentation will instead.
|
||||
|
||||
|
||||
KKBSwitch
|
||||
by Leonid Zeitlin <lz@europe.com>
|
||||
Version 1.0
|
||||
|
||||
KKBSwitch is a keyboard layout indicator for KDE 2. It is useful when you have
|
||||
configured the XKeyboard extension of your X Server to have more than one
|
||||
keyboard group, for example US/ASCII and Russian. KKBSwitch displays an icon
|
||||
in the system tray that indicates which layout is currently active. Note that
|
||||
KKBSwitch does not help you configure XKeyboard, it merely serves as the
|
||||
indicator of the current group. You still have to configure XKeyboard by
|
||||
editing XF86Config file.
|
||||
|
||||
KKBSwitch features:
|
||||
- displays an icon in the KDE's system tray indicating the active keyboard group
|
||||
- you can switch keyboard groups by clicking the icon or selecting the
|
||||
desired group from the icon's menu
|
||||
- icons corresponding to different groups are configurable (chosen from country
|
||||
flag pixmaps that ship with KDE)
|
||||
- "Toggle mode" (see below for more).
|
||||
|
||||
Using KKBSwicth.
|
||||
|
||||
The most basic usage is simply to let it sit in the system tray and show you
|
||||
which keyboard group is currently active. You can also click the KKBSwicth
|
||||
system tray icon to switch keyboard layouts. When right-clicked, the system
|
||||
tray icon displays a menu with the following entries:
|
||||
|
||||
- one or more entries corresponding to the configured keyboard groups (XKeyboard
|
||||
can have up to 4 groups configured). The currently active group will be checked.
|
||||
Selecting a menu entry corresponding to a group will make that group active.
|
||||
- "Configure Keyboard Switch..." entry lets you configure KKBSwitch
|
||||
- "About Keyboard Switch" displays a standard "About" dialog
|
||||
- "Quit" quits KKBSwitch.
|
||||
|
||||
Configuring KKBSwicth.
|
||||
|
||||
In the KKBSwitch configuration dialog you can do the following:
|
||||
- set the icons corresponding to the available keyboard groups. Note that
|
||||
KKBSwitch will try hard to guess the correct icon based on the name of the
|
||||
keyboard group (the names are configured in XKeyboard). For example, it will
|
||||
display the US flag for US/ASCII group, German flag for German group, Russian
|
||||
flag for Russian group, etc. If it cannot guess an icon, it will display the
|
||||
"default" icon, which simply shows the group's number. Use the configuration
|
||||
dialog to customize the icons: select a group in the "Available keyboard groups"
|
||||
listbox, and click "Change icon..." button. You will be able to select from the
|
||||
list of country flag pixmaps that is shipped with KDE.
|
||||
- turn the "Toggle mode" on and off. "Toggle mode" is a convient feature of
|
||||
KKBSwitch, which is useful if you have more than 2 groups. When "Toggle mode"
|
||||
is on, pressing the XKeyboard's group switch key or clicking KKBSwitch's tray
|
||||
icon will toggle between the two most recently used groups. To activate the
|
||||
third or the fourth (if available) group you'll need to right-click KKBSwitch's
|
||||
tray icon and select the desired group from the menu. For example, I have
|
||||
US/ASCII, Russian and Ukrainian layouts configured. Most of the time I use
|
||||
either US/ASCII or Russian layout and switch back and forth between them without
|
||||
activating the rarely needed Ukrainian layout. But sometimes I need to write
|
||||
something in Ukrainian, so I select this layout from the tray icon's menu. When
|
||||
"Toggle mode" is on, the two most recently used groups will be marked with an
|
||||
asterisk in the KKBSwitch tray icon's menu.
|
||||
|
||||
|
||||
DCOP Bindings
|
||||
|
||||
As of version 0.2, KKBSwitch can be manipulated programmatically with DCOP.
|
||||
It exports an interface named KBSwitchIntf. The interfaces offers the following
|
||||
methods:
|
||||
- int getNumKbdGroups() - returns the number of configured keyboard groups
|
||||
(layouts)
|
||||
- ASYNC selectNextGroup() - does the same thing as clicking on the KKBSwitch's
|
||||
tray icon, i.e. makes the next keyboard group active. If in "toggle mode", toggles
|
||||
between the two recently used ones, just like clicking on the tray icon does.
|
||||
- ASYNC selectGroup(int groupno) - makes the group whose number is groupno active
|
||||
(like selecting a group from the tray icon popup menu)
|
||||
- QStringList getGroupNames() - returns the list of the keyboard group names,
|
||||
as configured in XKeyboard.
|
||||
|
||||
|
@ -0,0 +1,123 @@
|
||||
KKBSwitch - a keyboard layout indicator for TDE.
|
||||
|
||||
|
||||
KKBSwitch displays an icon in the system tray that indicates which
|
||||
layout is currently active and enables you to switch layouts by clicking
|
||||
the icon or by selecting from the menu.
|
||||
|
||||
|
||||
It is useful when you have configured the XKeyboard extension of your
|
||||
Xorg Server to have more than one keyboard group, for example US/ASCII
|
||||
and Russian. It displays an icon in the system tray that indicates which
|
||||
layout is currently active. Note that KKBSwitch does not help you
|
||||
configure XKeyboard, it merely serves as the indicator of the current
|
||||
group.
|
||||
|
||||
|
||||
Features include:
|
||||
-----------------
|
||||
|
||||
- displays an icon in the system tray indicating the active keyboard
|
||||
group.
|
||||
- Configurable icons for the keyboard layouts (chosen from country flag
|
||||
pixmaps that ship with TDE).
|
||||
- The "toggle mode" to toggle between the two most recently-used
|
||||
keyboard layouts.
|
||||
- Choose to use a global layout, a per-application layout or
|
||||
a per-window layout.
|
||||
- Configurable keyboard shortcuts.
|
||||
|
||||
|
||||
NB: You still have to configure XKeyboard with the usual xorg options
|
||||
(XkbModel, XkbLayout, XkbVariant and XkbOptions).
|
||||
|
||||
|
||||
Using KKBSwitch
|
||||
-----------------
|
||||
|
||||
The most basic usage is simply to let it sit in the system tray and show
|
||||
you which keyboard group is currently active. You can also click the
|
||||
KKBSwitch system tray icon to switch keyboard layouts.
|
||||
When right-clicked, the system tray icon displays a menu with the
|
||||
following entries:
|
||||
|
||||
- one or more entries corresponding to the configured keyboard groups
|
||||
(XKeyboard can have up to 4 groups configured). The currently active
|
||||
group will be checked.
|
||||
Selecting a menu entry corresponding to a group will make that group
|
||||
active.
|
||||
- "Configure Keyboard Switch..." entry lets you configure KKBSwitch
|
||||
- "About Keyboard Switch" displays a standard "About" dialog
|
||||
- "Quit" quits KKBSwitch.
|
||||
|
||||
|
||||
Configuring KKBSwitch
|
||||
-----------------------
|
||||
|
||||
In the KKBSwitch configuration dialog you can do the following:
|
||||
- set the icons corresponding to the available keyboard groups. Note
|
||||
that KKBSwitch will try hard to guess the correct icon based on the name
|
||||
of the keyboard group (the names are configured in XKeyboard).
|
||||
For example, it will display the US flag for US/ASCII group, German flag
|
||||
for German group, Russian flag for Russian group, etc. If it cannot
|
||||
guess an icon, it will display the "default" icon, which simply shows
|
||||
the group's number. Use the configuration dialog to customize the icons:
|
||||
- select a group in the "Available keyboard groups" listbox, and click
|
||||
"Change icon..." button. You will be able to select from the list of
|
||||
country flag pixmaps that is shipped with TDE.
|
||||
- turn the "Toggle mode" on and off. "Toggle mode" is a convient feature
|
||||
of KKBSwitch, which is useful if you have more than 2 groups.
|
||||
When "Toggle mode" is on, pressing the XKeyboard's group switch key or
|
||||
clicking KKBSwitch's tray icon will toggle between the two most recently
|
||||
used groups. To activate the third or the fourth (if available) group
|
||||
you'll need to right-click KKBSwitch's tray icon and select the desired
|
||||
group from the menu. For example, I have US/ASCII, Russian and Ukrainian
|
||||
layouts configured. Most of the time I use either US/ASCII or Russian
|
||||
layout and switch back and forth between them without activating the
|
||||
rarely needed Ukrainian layout. But sometimes I need to write something
|
||||
in Ukrainian, so I select this layout from the tray icon's menu. When
|
||||
"Toggle mode" is on, the two most recently used groups will be marked
|
||||
with an asterisk in the KKBSwitch tray icon's menu.
|
||||
|
||||
|
||||
DCOP Bindings
|
||||
---------------
|
||||
|
||||
As of version 0.2, KKBSwitch can be manipulated programmatically with
|
||||
DCOP. It exports an interface named KBSwitchIntf.
|
||||
The interfaces offers the following methods:
|
||||
- int getNumKbdGroups() returns the number of configured keyboard
|
||||
groups (layouts)
|
||||
- ASYNC selectNextGroup() does the same thing as clicking on the
|
||||
KKBSwitch's tray icon, i.e. makes the next keyboard group active.
|
||||
If in "toggle mode", toggles between the two recently used ones, just
|
||||
like clicking on the tray icon does.
|
||||
- ASYNC selectGroup(int groupno) makes the group whose number is
|
||||
groupno active (like selecting a group from the tray icon popup menu)
|
||||
- TQStringList getGroupNames() returns the list of the keyboard group
|
||||
names as configured in XKeyboard.
|
||||
|
||||
.
|
||||
|
||||
Contributing
|
||||
--------------
|
||||
|
||||
If you wish to contribute to kkbswitch, you might do so:
|
||||
|
||||
- TDE Gitea Workspace (TGW) collaboration tool.
|
||||
https://mirror.git.trinitydesktop.org/gitea
|
||||
|
||||
- TDE Weblate Translation Workspace (TWTW) collaboration tool.
|
||||
https://mirror.git.trinitydesktop.org/weblate
|
||||
|
||||
|
||||
Translations status
|
||||
---------------------
|
||||
|
||||
### messages
|
||||
[![Translations status](https://mirror.git.trinitydesktop.org/weblate/widgets/applications/-/kkbswitch/multi-auto.svg
|
||||
"Engage in translating")](https://mirror.git.trinitydesktop.org/weblate/projects/applications/kkbswitch/)
|
||||
|
||||
### desktop files
|
||||
[![Translations status](https://mirror.git.trinitydesktop.org/weblate/widgets/applications/-/kkbswitch-kkbswitchdesktop/multi-auto.svg
|
||||
"Engage in translating")](https://mirror.git.trinitydesktop.org/weblate/projects/applications/kkbswitch-kkbswitchdesktop/)
|
@ -1 +0,0 @@
|
||||
Subproject commit 04db460623e1f235e7239f08fdcc2d0ef72636af
|
@ -1 +0,0 @@
|
||||
Subproject commit 1994b808819fd74446cb8f1a0491b3e10244f463
|
@ -0,0 +1,16 @@
|
||||
#define VERSION "@VERSION@"
|
||||
|
||||
// Defined if you have fvisibility and fvisibility-inlines-hidden support.
|
||||
#cmakedefine __KDE_HAVE_GCC_VISIBILITY 1
|
||||
|
||||
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
|
||||
significant byte first (like Motorola and SPARC, unlike Intel). */
|
||||
#cmakedefine WORDS_BIGENDIAN @WORDS_BIGENDIAN@
|
||||
|
||||
|
||||
// Defined to 1 if we have libxkbfile library
|
||||
#cmakedefine HAVE_LIBXKBFILE 1
|
||||
|
||||
|
||||
// Defined to 1 if we have libxkbfile headers
|
||||
#cmakedefine HAVE_X11_EXTENSIONS_XKBRULES_H 1
|
@ -1,225 +0,0 @@
|
||||
/* config.h.in. Generated from configure.in by autoheader. */
|
||||
|
||||
/* Define if you have the CoreAudio API */
|
||||
#undef HAVE_COREAUDIO
|
||||
|
||||
/* Define to 1 if you have the <crt_externs.h> header file. */
|
||||
#undef HAVE_CRT_EXTERNS_H
|
||||
|
||||
/* Defines if your system has the crypt function */
|
||||
#undef HAVE_CRYPT
|
||||
|
||||
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||
#undef HAVE_DLFCN_H
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#undef HAVE_INTTYPES_H
|
||||
|
||||
/* Define if you have libjpeg */
|
||||
#undef HAVE_LIBJPEG
|
||||
|
||||
/* Define if you have libpng */
|
||||
#undef HAVE_LIBPNG
|
||||
|
||||
/* Define if you have a working libpthread (will enable threaded code) */
|
||||
#undef HAVE_LIBPTHREAD
|
||||
|
||||
/* Define to 1 if you have the `xkbfile' library (-lxkbfile). */
|
||||
#undef HAVE_LIBXKBFILE
|
||||
|
||||
/* Define if you have libz */
|
||||
#undef HAVE_LIBZ
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#undef HAVE_MEMORY_H
|
||||
|
||||
/* Define if your system needs _NSGetEnviron to set up the environment */
|
||||
#undef HAVE_NSGETENVIRON
|
||||
|
||||
/* Define if you have the res_init function */
|
||||
#undef HAVE_RES_INIT
|
||||
|
||||
/* Define if you have a STL implementation by SGI */
|
||||
#undef HAVE_SGI_STL
|
||||
|
||||
/* Define to 1 if you have the `snprintf' function. */
|
||||
#undef HAVE_SNPRINTF
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#undef HAVE_STDINT_H
|
||||
|
||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
#undef HAVE_STDLIB_H
|
||||
|
||||
/* Define to 1 if you have the <strings.h> header file. */
|
||||
#undef HAVE_STRINGS_H
|
||||
|
||||
/* Define to 1 if you have the <string.h> header file. */
|
||||
#undef HAVE_STRING_H
|
||||
|
||||
/* Define if you have strlcat */
|
||||
#undef HAVE_STRLCAT
|
||||
|
||||
/* Define if you have the strlcat prototype */
|
||||
#undef HAVE_STRLCAT_PROTO
|
||||
|
||||
/* Define if you have strlcpy */
|
||||
#undef HAVE_STRLCPY
|
||||
|
||||
/* Define if you have the strlcpy prototype */
|
||||
#undef HAVE_STRLCPY_PROTO
|
||||
|
||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#undef HAVE_SYS_STAT_H
|
||||
|
||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
#undef HAVE_SYS_TYPES_H
|
||||
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
#undef HAVE_UNISTD_H
|
||||
|
||||
/* Define to 1 if you have the `vsnprintf' function. */
|
||||
#undef HAVE_VSNPRINTF
|
||||
|
||||
/* Define to 1 if you have the <X11/extensions/XKBrules.h> header file. */
|
||||
#undef HAVE_X11_EXTENSIONS_XKBRULES_H
|
||||
|
||||
/* Suffix for lib directories */
|
||||
#undef KDELIBSUFF
|
||||
|
||||
/* Define a safe value for MAXPATHLEN */
|
||||
#undef KDEMAXPATHLEN
|
||||
|
||||
/* Name of package */
|
||||
#undef PACKAGE
|
||||
|
||||
/* Define to the address where bug reports for this package should be sent. */
|
||||
#undef PACKAGE_BUGREPORT
|
||||
|
||||
/* Define to the full name of this package. */
|
||||
#undef PACKAGE_NAME
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#undef PACKAGE_STRING
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#undef PACKAGE_TARNAME
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#undef PACKAGE_VERSION
|
||||
|
||||
/* The size of a `char *', as computed by sizeof. */
|
||||
#undef SIZEOF_CHAR_P
|
||||
|
||||
/* The size of a `int', as computed by sizeof. */
|
||||
#undef SIZEOF_INT
|
||||
|
||||
/* The size of a `long', as computed by sizeof. */
|
||||
#undef SIZEOF_LONG
|
||||
|
||||
/* The size of a `short', as computed by sizeof. */
|
||||
#undef SIZEOF_SHORT
|
||||
|
||||
/* The size of a `size_t', as computed by sizeof. */
|
||||
#undef SIZEOF_SIZE_T
|
||||
|
||||
/* The size of a `unsigned long', as computed by sizeof. */
|
||||
#undef SIZEOF_UNSIGNED_LONG
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#undef STDC_HEADERS
|
||||
|
||||
/* Version number of package */
|
||||
#undef VERSION
|
||||
|
||||
/* Define to 1 if your processor stores words with the most significant byte
|
||||
first (like Motorola and SPARC, unlike Intel and VAX). */
|
||||
#undef WORDS_BIGENDIAN
|
||||
|
||||
/*
|
||||
* jpeg.h needs HAVE_BOOLEAN, when the system uses boolean in system
|
||||
* headers and I'm too lazy to write a configure test as long as only
|
||||
* unixware is related
|
||||
*/
|
||||
#ifdef _UNIXWARE
|
||||
#define HAVE_BOOLEAN
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* AIX defines FD_SET in terms of bzero, but fails to include <strings.h>
|
||||
* that defines bzero.
|
||||
*/
|
||||
|
||||
#if defined(_AIX)
|
||||
#include <strings.h>
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#if defined(HAVE_NSGETENVIRON) && defined(HAVE_CRT_EXTERNS_H)
|
||||
# include <sys/time.h>
|
||||
# include <crt_externs.h>
|
||||
# define environ (*_NSGetEnviron())
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#if !defined(HAVE_STRLCAT_PROTO)
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
unsigned long strlcat(char*, const char*, unsigned long);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#if !defined(HAVE_STRLCPY_PROTO)
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
unsigned long strlcpy(char*, const char*, unsigned long);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* On HP-UX, the declaration of vsnprintf() is needed every time !
|
||||
*/
|
||||
|
||||
#if !defined(HAVE_VSNPRINTF) || defined(hpux)
|
||||
#if __STDC__
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
#else
|
||||
#include <varargs.h>
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
#endif
|
||||
int vsnprintf(char *str, size_t n, char const *fmt, va_list ap);
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
#endif
|
||||
int snprintf(char *str, size_t n, char const *fmt, ...);
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#if defined(__SVR4) && !defined(__svr4__)
|
||||
#define __svr4__ 1
|
||||
#endif
|
||||
|
||||
|
||||
/* Compatibility define */
|
||||
#undef ksize_t
|
||||
|
||||
/* Define the real type of socklen_t */
|
||||
#undef socklen_t
|
@ -1,2 +0,0 @@
|
||||
./admin/configure.in.min
|
||||
configure.in.in
|
@ -1,104 +0,0 @@
|
||||
dnl This file is part of the KDE libraries/packages
|
||||
dnl Copyright (C) 2001 Stephan Kulow (coolo@kde.org)
|
||||
|
||||
dnl This file is free software; you can redistribute it and/or
|
||||
dnl modify it under the terms of the GNU Library General Public
|
||||
dnl License as published by the Free Software Foundation; either
|
||||
dnl version 2 of the License, or (at your option) any later version.
|
||||
|
||||
dnl This library is distributed in the hope that it will be useful,
|
||||
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
dnl Library General Public License for more details.
|
||||
|
||||
dnl You should have received a copy of the GNU Library General Public License
|
||||
dnl along with this library; see the file COPYING.LIB. If not, write to
|
||||
dnl the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
dnl Boston, MA 02111-1307, USA.
|
||||
|
||||
# Original Author was Kalle@kde.org
|
||||
# I lifted it in some mater. (Stephan Kulow)
|
||||
# I used much code from Janos Farkas
|
||||
|
||||
dnl Process this file with autoconf to produce a configure script.
|
||||
|
||||
AC_INIT(acinclude.m4) dnl a source file from your sub dir
|
||||
|
||||
dnl This is so we can use kde-common
|
||||
AC_CONFIG_AUX_DIR(admin)
|
||||
|
||||
dnl This ksh/zsh feature conflicts with `cd blah ; pwd`
|
||||
unset CDPATH
|
||||
|
||||
dnl Checking host/target/build systems, for make, install etc.
|
||||
AC_CANONICAL_SYSTEM
|
||||
dnl Perform program name transformation
|
||||
AC_ARG_PROGRAM
|
||||
|
||||
dnl Automake doc recommends to do this only here. (Janos)
|
||||
AM_INIT_AUTOMAKE(kkbswitch, 1.4.3) dnl searches for some needed programs
|
||||
|
||||
KDE_SET_PREFIX
|
||||
|
||||
dnl generate the config header
|
||||
AM_CONFIG_HEADER(config.h) dnl at the distribution this done
|
||||
|
||||
dnl Checks for programs.
|
||||
AC_CHECK_COMPILERS
|
||||
AC_ENABLE_SHARED(yes)
|
||||
AC_ENABLE_STATIC(no)
|
||||
KDE_PROG_LIBTOOL
|
||||
|
||||
dnl for NLS support. Call them in this order!
|
||||
dnl WITH_NLS is for the po files
|
||||
AM_KDE_WITH_NLS
|
||||
|
||||
KDE_USE_QT(3.0.0)
|
||||
AC_PATH_KDE
|
||||
#MIN_CONFIG(3.0.0)
|
||||
|
||||
dnl PACKAGE set before
|
||||
AC_C_BIGENDIAN
|
||||
AC_CHECK_KDEMAXPATHLEN
|
||||
|
||||
AC_CHECK_HEADERS([X11/extensions/XKBrules.h], [], [], [
|
||||
#include <stdio.h>
|
||||
#include <X11/XKBlib.h>])
|
||||
|
||||
save_LDFLAGS="$LDFLAGS"
|
||||
LDFLAGS="$LDFLAGS $all_libraries"
|
||||
AC_CHECK_LIB(xkbfile, XkbRF_GetNamesProp)
|
||||
LDFLAGS="$save_LDFLAGS"
|
||||
|
||||
AC_ARG_ENABLE(ru-ua-layout,
|
||||
[ --enable-ru-ua-layout Install Russian/Ukrainian layout file
|
||||
(default: don't install)],
|
||||
enable_ru_ua_layout="$enableval",
|
||||
enable_ru_ua_layout="no")
|
||||
|
||||
AM_CONDITIONAL(ENABLE_RU_UA_LAYOUT, test "x$enable_ru_ua_layout" = "xyes")
|
||||
|
||||
dnl set prefix according to installed KDE. Strange that KDE build scripts
|
||||
dnl don't do it by default
|
||||
AC_PREFIX_DEFAULT(`tde-config --prefix`)
|
||||
|
||||
KDE_CREATE_SUBDIRSLIST
|
||||
AC_CONFIG_FILES([ Makefile ])
|
||||
AC_CONFIG_FILES([ doc/Makefile ])
|
||||
AC_CONFIG_FILES([ doc/en/Makefile ])
|
||||
AC_CONFIG_FILES([ kkbswitch/Makefile ])
|
||||
AC_CONFIG_FILES([ kkbswitch.upd/Makefile ])
|
||||
AC_CONFIG_FILES([ po/Makefile ])
|
||||
AC_OUTPUT
|
||||
if test "$all_tests" = "bad"; then
|
||||
if test ! "$cache_file" = "/dev/null"; then
|
||||
echo ""
|
||||
echo "Please remove the file $cache_file after changing your setup"
|
||||
echo "so that configure will find the changes next time."
|
||||
echo ""
|
||||
fi
|
||||
else
|
||||
echo ""
|
||||
echo "Good - your configure finished. Start make now"
|
||||
echo ""
|
||||
fi
|
@ -1,27 +0,0 @@
|
||||
#MIN_CONFIG(3.0.0)
|
||||
|
||||
AM_INIT_AUTOMAKE(kkbswitch, 1.4.3)
|
||||
AC_C_BIGENDIAN
|
||||
AC_CHECK_KDEMAXPATHLEN
|
||||
|
||||
AC_CHECK_HEADERS([X11/extensions/XKBrules.h], [], [], [
|
||||
#include <stdio.h>
|
||||
#include <X11/XKBlib.h>])
|
||||
|
||||
save_LDFLAGS="$LDFLAGS"
|
||||
LDFLAGS="$LDFLAGS $all_libraries"
|
||||
AC_CHECK_LIB(xkbfile, XkbRF_GetNamesProp)
|
||||
LDFLAGS="$save_LDFLAGS"
|
||||
|
||||
AC_ARG_ENABLE(ru-ua-layout,
|
||||
[ --enable-ru-ua-layout Install Russian/Ukrainian layout file
|
||||
(default: don't install)],
|
||||
enable_ru_ua_layout="$enableval",
|
||||
enable_ru_ua_layout="no")
|
||||
|
||||
AM_CONDITIONAL(ENABLE_RU_UA_LAYOUT, test "x$enable_ru_ua_layout" = "xyes")
|
||||
|
||||
dnl set prefix according to installed KDE. Strange that KDE build scripts
|
||||
dnl don't do it by default
|
||||
AC_PREFIX_DEFAULT(`tde-config --prefix`)
|
||||
|
@ -1,6 +0,0 @@
|
||||
# the SUBDIRS is filled automatically by am_edit. If files are
|
||||
# in this directory they are installed into the english dir
|
||||
|
||||
KDE_LANG = en
|
||||
KDE_DOCS = kkbswitch
|
||||
SUBDIRS = $(AUTODIRS)
|
@ -1,13 +0,0 @@
|
||||
KDE_DOCS = kkbswitch
|
||||
KDE_LANG = en
|
||||
|
||||
.PHONY: html
|
||||
|
||||
html: HTML/index.html
|
||||
|
||||
HTML/index.html: $(srcdir)/index.docbook
|
||||
rm -fr HTML
|
||||
mkdir HTML
|
||||
(cd HTML && meinproc --check --stylesheet $(KDE_XSL_STYLESHEET) ../$(srcdir)/index.docbook && ln -s /usr/share/doc/HTML/en/common; \
|
||||
for name in ../$(srcdir)/*.png; do ln -s $$name; done)
|
||||
|
Before Width: | Height: | Size: 844 B After Width: | Height: | Size: 619 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 881 B |
Before Width: | Height: | Size: 807 B After Width: | Height: | Size: 568 B |
Before Width: | Height: | Size: 798 B |
Before Width: | Height: | Size: 2.3 KiB |
@ -0,0 +1,3 @@
|
||||
##### icons
|
||||
|
||||
tde_install_icons( ${PROJECT_NAME} )
|
After Width: | Height: | Size: 772 B |
After Width: | Height: | Size: 2.2 KiB |
@ -1,16 +0,0 @@
|
||||
Begin3
|
||||
Title: Kkbswitch
|
||||
Version: R14.0.0
|
||||
Entered-date: 2014-01-06
|
||||
Description: KKBSwitch is a keyboard layout indicator for TDE.
|
||||
Keywords: keyboard layout indicator TDE XKeyboard
|
||||
Author: Leonid Zeitlin <lz@europe.com>
|
||||
Maintained-by: Leonid Zeitlin <lz@europe.com>
|
||||
Primary-site: ftp.kde.org /pub/kde/unstable/apps/utils
|
||||
kkbswitch-1.1.tar.gz
|
||||
kkbswitch-1.1-1.src.rpm
|
||||
Home-page:
|
||||
Original-site:
|
||||
Platforms: Linux and other Unices
|
||||
Copying-policy: GNU Public License
|
||||
End
|
@ -1,104 +0,0 @@
|
||||
# This spec file was generated using Kpp
|
||||
# If you find any problems with this spec file please report
|
||||
# the error to ian geiser <geiseri@msoe.edu>
|
||||
|
||||
# build with --without ru_ua_layout to disable installation
|
||||
# of ru_ua XKB layout file
|
||||
|
||||
Summary: Keyboard layout indicator for KDE
|
||||
Name: kkbswitch
|
||||
Version: 1.4.3
|
||||
Release: 1
|
||||
License: GPL
|
||||
Vendor: Leonid Zeitlin <lz@europe.com>
|
||||
Url: http://kkbswitch.sourceforge.net
|
||||
Packager: Leonid Zeitlin <lz@europe.com>
|
||||
Group: User Interface/Desktops
|
||||
Source: kkbswitch-%{version}.tar.gz
|
||||
BuildRequires: tdelibs-devel
|
||||
BuildRoot: %{_tmppath}/kkbswitch-root
|
||||
|
||||
%description
|
||||
KKBSwitch is a keyboard layout indicator for KDE. It is useful when
|
||||
you have configured the XKeyboard extension of your X Server to have more
|
||||
than one keyboard group (layout), for example US/ASCII and Russian.
|
||||
KKBSwitch displays an icon in the system tray that indicates which layout
|
||||
is currently active. Note that KKBSwitch does not help you configure
|
||||
XKeyboard, it merely serves as the indicator of the current layout. You
|
||||
still have to configure XKeyboard by editing the XF86Config file.
|
||||
|
||||
%prep
|
||||
%setup
|
||||
|
||||
%build
|
||||
export TDEDIR=%{_prefix}
|
||||
# Workaround for legacy auto* tools
|
||||
#[ -x /usr/bin/autoconf-2.5? ] && ln -s /usr/bin/autoconf-2.5? autoconf
|
||||
#[ -x /usr/bin/autoheader-2.5? ] && ln -s /usr/bin/autoheader-2.5?
|
||||
#autoheader
|
||||
#[ -x /usr/bin/aclocal-1.5 ] && ln -s /usr/bin/aclocal-1.5 aclocal
|
||||
#[ -x /usr/bin/automake-1.5 ] && ln -s /usr/bin/automake-1.5 automake
|
||||
#export PATH=`pwd`:$PATH
|
||||
# End workaround
|
||||
|
||||
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" ./configure \
|
||||
--prefix=%{_prefix} --mandir=%{_mandir} $LOCALFLAGS \
|
||||
%{?_with_ru_ua_layout:--enable-ru-ua-layout}
|
||||
|
||||
# Setup for parallel builds
|
||||
numprocs=`egrep -c ^cpu[0-9]+ /proc/stat || :`
|
||||
if [ "$numprocs" = "0" ]; then
|
||||
numprocs=1
|
||||
fi
|
||||
|
||||
make -j$numprocs
|
||||
|
||||
%install
|
||||
make install-strip DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files
|
||||
%doc %{_docdir}/HTML/*/kkbswitch/*
|
||||
%{_bindir}/kkbswitch
|
||||
%{_datadir}/applnk/Utilities/kkbswitch.desktop
|
||||
%{_datadir}/apps/kkbswitch/*
|
||||
%{_datadir}/apps/tdeconf_update/kkbswitch.upd
|
||||
%{_datadir}/apps/tdeconf_update/kkbswitch_update_14_icons
|
||||
%{_datadir}/apps/tdeconf_update/kkbswitch_update_14_options
|
||||
%{_datadir}/locale/*/LC_MESSAGES/kkbswitch.mo
|
||||
%{_datadir}/autostart/kkbswitch.desktop
|
||||
%{_mandir}/man1/kkbswitch.1*
|
||||
%if 0%{?_with_ru_ua_layout:1}
|
||||
/usr/X11R6/lib/X11/xkb/symbols/ru_ua
|
||||
%endif
|
||||
%changelog
|
||||
* Sat Jan 15 2005 Leonid Zeitlin <lz@europe.com> 1.4.2
|
||||
- Version 1.4.3
|
||||
|
||||
* Sat Nov 13 2004 Leonid Zeitlin <lz@europe.com> 1.4.2-2
|
||||
- Added explicit BuildRequires: tdelibs-devel
|
||||
- Don't use %configure, it causes binary to be named something like
|
||||
i686-redhat-linux-gnu-kkbswitch on older (RH 7.3) systems
|
||||
|
||||
* Sat Nov 6 2004 Leonid Zeitlin <lz@europe.com>
|
||||
- Version 1.4.2
|
||||
|
||||
* Tue Jun 15 2004 Leonid Zeitlin <lz@europe.com>
|
||||
- Version 1.4.1
|
||||
|
||||
* Sat May 8 2004 Leonid Zeitlin <lz@europe.com>
|
||||
- Version 1.4
|
||||
- provide files list explicitly
|
||||
- --without ru_ua_layout support
|
||||
|
||||
* Thu Jan 8 2004 Leonid Zeitlin <lz@europe.com>
|
||||
- Version 1.3.2
|
||||
|
||||
* Sun Nov 2 2003 Leonid Zeitlin <lz@europe.com>
|
||||
- Version 1.3.1
|
||||
|
||||
* Tue Oct 21 2003 Leonid Zeitlin <lz@europe.com>
|
||||
- Version 1.3
|
@ -0,0 +1,14 @@
|
||||
install(
|
||||
FILES
|
||||
${PROJECT_NAME}.upd
|
||||
|
||||
DESTINATION ${DATA_INSTALL_DIR}/tdeconf_update
|
||||
)
|
||||
|
||||
install(
|
||||
PROGRAMS
|
||||
kkbswitch_update_14_icons
|
||||
kkbswitch_update_14_options
|
||||
|
||||
DESTINATION ${DATA_INSTALL_DIR}/tdeconf_update
|
||||
)
|
@ -1,4 +0,0 @@
|
||||
|
||||
updatedir = $(kde_datadir)/tdeconf_update
|
||||
update_SCRIPTS = kkbswitch_update_14_icons kkbswitch_update_14_options
|
||||
update_DATA = kkbswitch.upd
|
@ -0,0 +1,8 @@
|
||||
##### create translation templates ##############
|
||||
|
||||
tde_l10n_create_template( "messages/kkbswitch" )
|
||||
|
||||
tde_l10n_create_template(
|
||||
CATALOG "desktop_files/kkbswitch.desktop/"
|
||||
SOURCES kkbswitch.desktop
|
||||
)
|
@ -0,0 +1,68 @@
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
${TDE_LIB_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### kkbswitch (executable)
|
||||
|
||||
tde_add_executable( ${PROJECT_NAME} AUTOMOC
|
||||
|
||||
SOURCES
|
||||
boldlistboxitem.cpp
|
||||
boldmenuitem.cpp
|
||||
kbconfig.cpp
|
||||
kbconfigdlg.cpp
|
||||
kbgroup.cpp
|
||||
kbpickicondlg.cpp
|
||||
kbswitchapp.cpp
|
||||
kbswitchintf.cpp
|
||||
kbswitchtrayicon.cpp
|
||||
main.cpp
|
||||
pathlistboxitem.cpp
|
||||
xkeyboard.cpp
|
||||
windowwatcher.cpp
|
||||
singlewindowwatcher.cpp
|
||||
windowclasswatcher.cpp
|
||||
kbswitchintf.skel
|
||||
LINK
|
||||
tdeio-shared
|
||||
tdeui-shared
|
||||
tdecore-shared
|
||||
${XKBFILE_LIBRARIES}
|
||||
|
||||
DESTINATION ${BIN_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### other data
|
||||
|
||||
tde_create_translated_desktop( ${PROJECT_NAME}.desktop )
|
||||
|
||||
install(
|
||||
FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.desktop
|
||||
DESTINATION ${AUTOSTART_INSTALL_DIR}
|
||||
)
|
||||
|
||||
install(
|
||||
FILES group_names
|
||||
DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}
|
||||
)
|
||||
|
||||
|
||||
##### Russian - Ukrainian Layout
|
||||
|
||||
if( WITH_RU_UA_LAYOUT )
|
||||
install(
|
||||
FILES ru_ua
|
||||
DESTINATION ${SHARE_INSTALL_PREFIX}/X11/xkb/symbols
|
||||
)
|
||||
endif( WITH_RU_UA_LAYOUT )
|
@ -1,29 +0,0 @@
|
||||
|
||||
METASOURCES = AUTO
|
||||
|
||||
bin_PROGRAMS = kkbswitch
|
||||
kkbswitch_LDFLAGS = $(KDE_RPATH) $(all_libraries)
|
||||
kkbswitch_SOURCES = boldlistboxitem.cpp boldmenuitem.cpp kbconfig.cpp kbconfigdlg.cpp kbgroup.cpp kbpickicondlg.cpp kbswitchapp.cpp kbswitchintf.cpp kbswitchtrayicon.cpp main.cpp pathlistboxitem.cpp xkeyboard.cpp kbswitchintf.skel boldlistboxitem.h boldmenuitem.h kbconfigdlg.h kbconfig.h kbgroup.h kbpickicondlg.h kbswitchapp.h kbswitchintf.h kbswitchtrayicon.h pathlistboxitem.h xkeyboard.h windowwatcher.cpp singlewindowwatcher.cpp windowclasswatcher.cpp
|
||||
|
||||
INCLUDES = $(all_includes)
|
||||
|
||||
kkbswitch_LDADD = $(LIB_TDEIO) $(LIB_TDEUI) $(LIB_TDECORE) $(LIB_QT) -lDCOP
|
||||
|
||||
messages:
|
||||
$(XGETTEXT) *.cpp -o $(podir)/kkbswitch.pot
|
||||
|
||||
noinst_HEADERS = windowwatcher.h singlewindowwatcher.h windowclasswatcher.h
|
||||
|
||||
kkbswitchdatadir = $(kde_datadir)/kkbswitch
|
||||
kkbswitchdata_DATA = group_names
|
||||
|
||||
applnkUtilities_DATA = kkbswitch.desktop
|
||||
applnkUtilitiesdir = $(kde_appsdir)/Utilities
|
||||
|
||||
if ENABLE_RU_UA_LAYOUT
|
||||
xkbsymbolsdir = $(x_libraries)/X11/xkb/symbols
|
||||
xkbsymbols_DATA = ru_ua
|
||||
endif
|
||||
|
||||
autostartdir = $(prefix)/share/autostart
|
||||
autostart_DATA = kkbswitch.desktop
|
@ -1 +0,0 @@
|
||||
POFILES = AUTO
|
@ -0,0 +1,28 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# This file is put in the public domain.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2020-04-06 16:53+0200\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"Language: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#. Name
|
||||
#: kkbswitch.desktop:3
|
||||
msgid "KKBSwitch"
|
||||
msgstr ""
|
||||
|
||||
#. GenericName
|
||||
#. Comment
|
||||
#: kkbswitch.desktop:4 kkbswitch.desktop:9
|
||||
msgid "Keyboard Layout Indicator"
|
||||
msgstr ""
|
@ -0,0 +1,29 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# This file is put in the public domain.
|
||||
# Heimen Stoffels <vistausss@outlook.com>, 2020.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2020-04-06 16:53+0200\n"
|
||||
"PO-Revision-Date: 2020-10-07 19:02+0000\n"
|
||||
"Last-Translator: Heimen Stoffels <vistausss@outlook.com>\n"
|
||||
"Language-Team: Dutch <https://mirror.git.trinitydesktop.org/weblate/projects/"
|
||||
"applications/kkbswitch-kkbswitchdesktop/nl/>\n"
|
||||
"Language: nl\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||
"X-Generator: Weblate 4.2.2\n"
|
||||
|
||||
#. Name
|
||||
#: kkbswitch.desktop:3
|
||||
msgid "KKBSwitch"
|
||||
msgstr "KKBSwitch"
|
||||
|
||||
#. GenericName
|
||||
#. Comment
|
||||
#: kkbswitch.desktop:4 kkbswitch.desktop:9
|
||||
msgid "Keyboard Layout Indicator"
|
||||
msgstr "Toetsenbordindelingsindicator"
|
@ -0,0 +1,28 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# This file is put in the public domain.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2020-04-06 16:53+0200\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"Language: ru\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#. Name
|
||||
#: kkbswitch.desktop:3
|
||||
msgid "KKBSwitch"
|
||||
msgstr ""
|
||||
|
||||
#. GenericName
|
||||
#. Comment
|
||||
#: kkbswitch.desktop:4 kkbswitch.desktop:9
|
||||
msgid "Keyboard Layout Indicator"
|
||||
msgstr "Индикатор раскладки клавиатуры"
|
@ -0,0 +1,30 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# This file is put in the public domain.
|
||||
# Roman Savochenko <roman@oscada.org>, 2021.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2020-04-06 16:53+0200\n"
|
||||
"PO-Revision-Date: 2021-10-07 08:30+0000\n"
|
||||
"Last-Translator: Roman Savochenko <roman@oscada.org>\n"
|
||||
"Language-Team: Ukrainian <https://mirror.git.trinitydesktop.org/weblate/"
|
||||
"projects/applications/kkbswitch-kkbswitchdesktop/uk/>\n"
|
||||
"Language: uk\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
|
||||
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
|
||||
"X-Generator: Weblate 4.8.1\n"
|
||||
|
||||
#. Name
|
||||
#: kkbswitch.desktop:3
|
||||
msgid "KKBSwitch"
|
||||
msgstr "KKBSwitch"
|
||||
|
||||
#. GenericName
|
||||
#. Comment
|
||||
#: kkbswitch.desktop:4 kkbswitch.desktop:9
|
||||
msgid "Keyboard Layout Indicator"
|
||||
msgstr "Індикатор розкладки клавіатури"
|
@ -0,0 +1,304 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Lian Begett <weblate-tde@bunbun.de>, 2022.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"POT-Creation-Date: 2020-05-11 04:20+0200\n"
|
||||
"PO-Revision-Date: 2022-06-19 17:55+0000\n"
|
||||
"Last-Translator: Lian Begett <weblate-tde@bunbun.de>\n"
|
||||
"Language-Team: German <https://mirror.git.trinitydesktop.org/weblate/"
|
||||
"projects/applications/kkbswitch/de/>\n"
|
||||
"Language: de\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||
"X-Generator: Weblate 4.12.2\n"
|
||||
|
||||
#. Instead of a literal translation, add your name to the end of the list (separated by a comma).
|
||||
msgid ""
|
||||
"_: NAME OF TRANSLATORS\n"
|
||||
"Your names"
|
||||
msgstr "Lian Begett"
|
||||
|
||||
#. Instead of a literal translation, add your email to the end of the list (separated by a comma).
|
||||
msgid ""
|
||||
"_: EMAIL OF TRANSLATORS\n"
|
||||
"Your emails"
|
||||
msgstr "tdetranslation@bunbun.de"
|
||||
|
||||
#: kbconfig.cpp:92
|
||||
msgid "<Unnamed>"
|
||||
msgstr "<Unbenannt>"
|
||||
|
||||
#: kbconfig.cpp:108
|
||||
msgid "Activate %1 keyboard layout"
|
||||
msgstr "Tastaturlayout %1 aktivieren"
|
||||
|
||||
#: kbconfigdlg.cpp:116
|
||||
msgid "&General"
|
||||
msgstr "&Allgemein"
|
||||
|
||||
#: kbconfigdlg.cpp:120
|
||||
msgid "Available &keyboard layouts:"
|
||||
msgstr "Verfügbare &Tastaturlayouts:"
|
||||
|
||||
#: kbconfigdlg.cpp:132
|
||||
msgid ""
|
||||
"This list box shows keyboard layouts available in your system.\n"
|
||||
"Select a layout and click \"Change Icon...\" button to change the icon for a "
|
||||
"layout.\n"
|
||||
"If you have configured a non-default icon, you can reset the icon to default "
|
||||
"with \"Use Default Icon\" button.\n"
|
||||
"The layout shown is bold is the default layout. Use \"Set as default\" "
|
||||
"button to set the default layout."
|
||||
msgstr ""
|
||||
"Diese Liste zeigt Tastaturlayouts, die auf Deinem System verfügbar sind.\n"
|
||||
"Wähle ein Layout aus und drücke \"Symbol ändern...\", um das Symbol für ein "
|
||||
"Layout zu ändern.\n"
|
||||
"Wenn Du ein eigenes Symbol eingestellt hast, kannst Du es mit dem Knopf "
|
||||
"\"Standardsymbol verwenden\" auf das ursprüngliche Symbol zurücksetzen.\n"
|
||||
"Das in Fettschrift angezeigte Layout ist das Standardlayout. Mit dem Knopf "
|
||||
"\"Als Standard setzen\" kann ein anderes Layout als Standard gesetzt werden."
|
||||
|
||||
#: kbconfigdlg.cpp:141
|
||||
msgid "Cha&nge Icon..."
|
||||
msgstr "S&ymbol ändern..."
|
||||
|
||||
#: kbconfigdlg.cpp:144
|
||||
msgid ""
|
||||
"Click this button to change the icon for the layout selected in the list box "
|
||||
"to the left."
|
||||
msgstr ""
|
||||
"Drücke diesen Knopf, um das Symbol für das links ausgewählte Layout zu "
|
||||
"ändern."
|
||||
|
||||
#: kbconfigdlg.cpp:147
|
||||
msgid "Use &Default Icon"
|
||||
msgstr "&Standardsymbol verwenden"
|
||||
|
||||
#: kbconfigdlg.cpp:150
|
||||
msgid ""
|
||||
"Click this button to use default icon for the layout selected in the list "
|
||||
"box to the left."
|
||||
msgstr ""
|
||||
"Drücke diesen Knopf, um das Standardsymbol für das links ausgewählte Layout "
|
||||
"zu verwenden."
|
||||
|
||||
#: kbconfigdlg.cpp:153
|
||||
msgid "&Set as Default"
|
||||
msgstr "Als S&tandard verwenden"
|
||||
|
||||
#: kbconfigdlg.cpp:156
|
||||
msgid ""
|
||||
"Click this button to set the layout selected in the list box to the left as "
|
||||
"the default"
|
||||
msgstr ""
|
||||
"Drücke diesen Knopf, um das links ausgewählte Layout zum Standardlayout zu "
|
||||
"machen"
|
||||
|
||||
#: kbconfigdlg.cpp:162
|
||||
msgid "Layout &icon style:"
|
||||
msgstr "Lay&out-Symbolstil:"
|
||||
|
||||
#: kbconfigdlg.cpp:167
|
||||
msgid "Country flag"
|
||||
msgstr "Landesflagge"
|
||||
|
||||
#: kbconfigdlg.cpp:168
|
||||
msgid "Language code"
|
||||
msgstr "Sprachkürzel"
|
||||
|
||||
#: kbconfigdlg.cpp:169
|
||||
msgid "Flag and code"
|
||||
msgstr "Flagge und Kürzel"
|
||||
|
||||
#: kbconfigdlg.cpp:173
|
||||
msgid ""
|
||||
"<p>Select the style of icons representing the current keyboard layout.\n"
|
||||
"You can choose from the following styles:<ul><li><b>Country flag</b> - "
|
||||
"displays the corresponding country flag<li><b>Language code</b> - displays "
|
||||
"the language ISO 2-letter code<li><b>Flag and code</b> - displays the "
|
||||
"language code superimposed over the country flag.</ul></p>"
|
||||
msgstr ""
|
||||
"<p>Wähle den Symbolstil aus, der das aktuelle Tastaturlayout repräsentiert.\n"
|
||||
"Du kannst zwischen den folgenden Stilen wählen:<ul><li><b>Landesflagge</b> - "
|
||||
"zeigt die jeweilige Landesflagge<li><b>Sprachkürzel</b> - zeigt das ISO 2-"
|
||||
"Buchstabenkürzel der Sprache an<li><b>Flagge und Kürzel</b> - zeigt das "
|
||||
"Kürzel über die Flagge gelegt an.</ul></p>"
|
||||
|
||||
#: kbconfigdlg.cpp:181
|
||||
msgid "&Layout applies to:"
|
||||
msgstr ""
|
||||
|
||||
#: kbconfigdlg.cpp:186
|
||||
msgid "All windows"
|
||||
msgstr ""
|
||||
|
||||
#: kbconfigdlg.cpp:187
|
||||
msgid "Windows of one application"
|
||||
msgstr ""
|
||||
|
||||
#: kbconfigdlg.cpp:188
|
||||
msgid "One window"
|
||||
msgstr ""
|
||||
|
||||
#: kbconfigdlg.cpp:191
|
||||
msgid ""
|
||||
"<p>Select what windows the currently selected keyboard layout applies to:\n"
|
||||
"<ul><li><b>All windows</b> - one layout applies to all windows on your "
|
||||
"desktop\n"
|
||||
"<li><b>Windows of one application</b> - layout applies to one application; "
|
||||
"each application can have its own layout. When you switch between "
|
||||
"applications, layout follows the active application\n"
|
||||
"<li><b>One window</b> - layout applies to one window only; each window can "
|
||||
"have its own layout. When you switch between windows, layout follows the "
|
||||
"active window.</ul></p>"
|
||||
msgstr ""
|
||||
|
||||
#: kbconfigdlg.cpp:199
|
||||
msgid "Use \"&Toggle Mode\""
|
||||
msgstr ""
|
||||
|
||||
#: kbconfigdlg.cpp:201
|
||||
msgid ""
|
||||
"Toggle mode is useful when you have more than two keyboard layouts defined. "
|
||||
"When toggle mode is on your normal layout switch key toggles between two "
|
||||
"most frequently used layouts. To activate other layouts use KKBSwitch's tray "
|
||||
"popup menu"
|
||||
msgstr ""
|
||||
|
||||
#: kbconfigdlg.cpp:211
|
||||
msgid "A&utostart"
|
||||
msgstr ""
|
||||
|
||||
#: kbconfigdlg.cpp:213
|
||||
msgid ""
|
||||
"When this checkbox is checked, KKBSwitch will start automatically when you "
|
||||
"log in"
|
||||
msgstr ""
|
||||
|
||||
#: kbconfigdlg.cpp:219
|
||||
msgid "Sho&rtcuts"
|
||||
msgstr ""
|
||||
|
||||
#: kbconfigdlg.cpp:220
|
||||
msgid "Use shortcuts to &activate keyboard layouts"
|
||||
msgstr ""
|
||||
|
||||
#: kbconfigdlg.cpp:222
|
||||
msgid ""
|
||||
"Check this checkbox to be able to quickly activate any keyboard layout with "
|
||||
"keyboard shorcuts. Once this checkbox is checked, you can adjust the "
|
||||
"shortcuts at the key chooser pane below. Especially useful if you have three "
|
||||
"or four keyboard layouts configured"
|
||||
msgstr ""
|
||||
|
||||
#: kbpickicondlg.cpp:42
|
||||
msgid "Pick an icon"
|
||||
msgstr ""
|
||||
|
||||
#: kbpickicondlg.cpp:50
|
||||
msgid "Select one of the icons"
|
||||
msgstr ""
|
||||
|
||||
#: kbpickicondlg.cpp:52
|
||||
msgid "&Browse..."
|
||||
msgstr ""
|
||||
|
||||
#: kbpickicondlg.cpp:54
|
||||
msgid "Browse for an image file to use as an icon"
|
||||
msgstr ""
|
||||
|
||||
#: kbpickicondlg.cpp:90
|
||||
msgid ""
|
||||
"*.png *.jpg *.gif *.xpm|Icon files (*.png, *.jpg, *.gif, *.xpm)\n"
|
||||
"*.*|All files (*.*)"
|
||||
msgstr ""
|
||||
|
||||
#: kbpickicondlg.cpp:101
|
||||
msgid ""
|
||||
"The size of this image (%1 by %2) is not good.\n"
|
||||
"Preferred size for the layout icons is %3 by %4.\n"
|
||||
msgstr ""
|
||||
|
||||
#: kbpickicondlg.cpp:106
|
||||
msgid " and also too wide"
|
||||
msgstr ""
|
||||
|
||||
#: kbpickicondlg.cpp:107
|
||||
msgid " and also too narrow"
|
||||
msgstr ""
|
||||
|
||||
#: kbpickicondlg.cpp:108
|
||||
#, c-format
|
||||
msgid "This image is too big%1."
|
||||
msgstr ""
|
||||
|
||||
#: kbpickicondlg.cpp:110
|
||||
msgid "This image is too wide."
|
||||
msgstr ""
|
||||
|
||||
#: kbpickicondlg.cpp:111
|
||||
msgid "This image is too narrow."
|
||||
msgstr ""
|
||||
|
||||
#: kbpickicondlg.cpp:113
|
||||
msgid ""
|
||||
"KKBSwitch will scale it to appropriate size, but the result may not look "
|
||||
"very good.\n"
|
||||
"Are you sure you want to use this image?"
|
||||
msgstr ""
|
||||
|
||||
#: kbpickicondlg.cpp:126
|
||||
msgid ""
|
||||
"Cannot read icon from file %1. Either it is not an image file or it is "
|
||||
"corrupt."
|
||||
msgstr ""
|
||||
|
||||
#: kbswitchtrayicon.cpp:91 main.cpp:27 main.cpp:41
|
||||
msgid "Keyboard Switch"
|
||||
msgstr ""
|
||||
|
||||
#: main.cpp:44
|
||||
msgid "Creator and maintainer"
|
||||
msgstr ""
|
||||
|
||||
#: main.cpp:45
|
||||
msgid "Default group config and per-window groups"
|
||||
msgstr ""
|
||||
|
||||
#: main.cpp:47
|
||||
msgid "FreeBSD port, feature suggestions"
|
||||
msgstr ""
|
||||
|
||||
#: main.cpp:48
|
||||
msgid "Feature suggestions, Ukrainian translation"
|
||||
msgstr ""
|
||||
|
||||
#: main.cpp:50
|
||||
msgid "Autostart patch"
|
||||
msgstr ""
|
||||
|
||||
#: main.cpp:51
|
||||
msgid "Greek translation"
|
||||
msgstr ""
|
||||
|
||||
#: main.cpp:52
|
||||
msgid "Slovak translation"
|
||||
msgstr ""
|
||||
|
||||
#: xkeyboard.cpp:42
|
||||
msgid ""
|
||||
"This program was built against XKB extension library\n"
|
||||
"version %1.%2, but is run with the library version %3.%4.\n"
|
||||
"This may cause various problems and even result in a complete\n"
|
||||
"failure to function\n"
|
||||
msgstr ""
|
||||
|
||||
#: xkeyboard.cpp:51
|
||||
msgid ""
|
||||
"The X Server does not support a compatible XKB extension.\n"
|
||||
"Either the server is not XKB-capable or the extension was disabled.\n"
|
||||
"This program would not work with this server, so it will exit now\n"
|
||||
msgstr ""
|