kde5 needen library and programs moved.

This commit is contained in:
Ertuğrul Erata
2015-07-28 10:10:58 +03:00
parent d7a324d292
commit 8539a93625
62 changed files with 2309 additions and 32 deletions
+3
View File
@@ -0,0 +1,3 @@
<PISI>
<Name>x11.im</Name>
</PISI>
+40
View File
@@ -0,0 +1,40 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
pisitools.dosed("configure.ac", "(SCIM_HAS_CLUTTER=)yes", "\\1no")
autotools.autoreconf("-vfi")
shelltools.system("intltoolize --force")
autotools.configure("\
--with-x \
--disable-static \
--enable-ld-version-script \
--x-includes=/usr/include/X11 \
--x-libraries=/usr/lib \
--disable-clutter-immodule \
")
#--disable-panel-gtk \
#--disable-setup-ui")
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
#Remove scim-setup related stuff
pisitools.removeDir("/usr/share/pixmaps")
pisitools.removeDir("/usr/share/applications")
pisitools.removeDir("/usr/share/control-center-2.0")
pisitools.dodoc("AUTHORS", "NEWS", "README*", "TODO", "THANKS")
@@ -0,0 +1,10 @@
--- scim-1.4.14/src/scim_hotkey.cpp.bero 2012-06-25 10:04:12.597708463 +0200
+++ scim-1.4.14/src/scim_hotkey.cpp 2012-06-25 10:04:30.092707639 +0200
@@ -26,6 +26,7 @@
#include "scim_private.h"
#include "scim.h"
#include "scim_stl_map.h"
+#include <unistd.h> // for access()
namespace scim {
@@ -0,0 +1,8 @@
--- configs/global~ 2008-11-09 07:17:11.000000000 +0100
+++ configs/global 2008-11-09 07:19:44.000000000 +0100
@@ -1,4 +1,4 @@
-/SupportedUnicodeLocales = en_US.UTF-8
+/SupportedUnicodeLocales = en_US.UTF-8,zh_CN.UTF-8,zh_HK.UTF-8,zh_TW.UTF-8,jp_JP.UTF-8,ko_KR.UTF-8
/DefaultPanelProgram = scim-panel-gtk
/DefaultConfigModule = simple
/DefaultSocketFrontEndAddress = local:/tmp/scim-socket-frontend
+33
View File
@@ -0,0 +1,33 @@
--- scim-1.4.2/src/scim-restart.in.1-restart 2005-09-02 12:05:35.000000000 +0900
+++ scim-1.4.2/src/scim-restart.in 2005-08-25 22:52:29.000000000 +0900
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+SOCKET_CMD="@SCIM_LIBEXECDIR@/scim-launcher -d -c `scim-config-agent -c global -g /DefaultConfigModule` -e all -f socket --no-stay"
+XIM_CMD="@SCIM_LIBEXECDIR@/scim-launcher -d -c socket -e socket -f x11"
+
+OPT="-u `id -u`"
+
+pkill ${OPT} -f "${SOCKET_CMD}" && ${SOCKET_CMD}
+pkill ${OPT} -f "${XIM_CMD}" && ${XIM_CMD}
+pkill ${OPT} scim-bridge
--- scim-1.4.2/src/Makefile.am.1-restart 2005-07-10 22:32:23.000000000 +0900
+++ scim-1.4.2/src/Makefile.am 2005-09-02 11:42:57.000000000 +0900
@@ -141,6 +141,7 @@
bin_PROGRAMS = scim scim-config-agent
+bin_SCRIPTS = scim-restart
scim_SOURCES = scim.cpp
scim_LDADD = libscim-1.0.la
--- scim-1.4.2/configure.ac.1-restart 2005-08-16 15:56:59.000000000 +0900
+++ scim-1.4.2/configure.ac 2005-09-02 11:42:57.000000000 +0900
@@ -516,6 +516,7 @@
intl/Makefile
po/Makefile.in
src/Makefile
+ src/scim-restart
src/scim_types.h
utils/Makefile
data/Makefile
@@ -0,0 +1,31 @@
--- scim-1.4.5/src/scim_hotkey.cpp.8-hotkey~ 2005-06-18 23:19:35.000000000 +1000
+++ scim-1.4.5/src/scim_hotkey.cpp 2007-04-17 10:15:41.000000000 +1000
@@ -362,11 +362,26 @@
if (config.null () || !config->valid ()) return;
KeyEventList keys;
+ String lang = scim_get_locale_language (scim_get_current_locale ());
+ String userconf = scim_get_user_data_dir () + String (SCIM_PATH_DELIM_STRING) + String ("config");
+ bool userconf_exist = true;
+
+ //If this is the first time to run scim on a machine.
+ if (access (userconf.c_str (), R_OK) !=0)
+ userconf_exist = false;
// Load the least important hotkeys first.
for (int i = SCIM_FRONTEND_HOTKEY_SHOW_FACTORY_MENU; i >= SCIM_FRONTEND_HOTKEY_TRIGGER; --i) {
- if (scim_string_to_key_list (keys, config->read (String (__scim_frontend_hotkey_config_paths [i]), String (__scim_frontend_hotkey_defaults [i]))))
- m_impl->m_matcher.add_hotkeys (keys, i);
+ if (userconf_exist == false ) {
+ String config_paths = String (__scim_frontend_hotkey_config_paths [i]) + "/" + lang;
+ if (scim_string_to_key_list (keys, config->read (config_paths, String (__scim_frontend_hotkey_defaults [i]))))
+ m_impl->m_matcher.add_hotkeys (keys, i);
+ config->write (String (__scim_frontend_hotkey_config_paths [i]),
+ config->read (config_paths, String (__scim_frontend_hotkey_defaults [i])));
+ } else {
+ if (scim_string_to_key_list (keys, config->read (String (__scim_frontend_hotkey_config_paths [i]), String (__scim_frontend_hotkey_defaults [i]))))
+ m_impl->m_matcher.add_hotkeys (keys, i);
+ }
}
}
+55
View File
@@ -0,0 +1,55 @@
# This file is encoded in UTF-8 encoding.
/DefaultIMEngineFactory/si_LK = IMEngine-M17N-si-wijesekera
/DefaultIMEngineFactory/ta_IN = IMEngine-M17N-ta-tamil99
# scim-python pinyin
/DefaultIMEngineFactory/zh_CN = 29ab338a-5a27-46b8-96cd-abbe86f17132
/DefaultIMEngineFactory/zh_SG = 05235cfc-43ce-490c-b1b1-c5a2185276ae
# CangJie3
/DefaultIMEngineFactory/zh_HK = 5da9d4ff-ccdd-45af-b1a5-7bd4ac0aeb5f
# chewing
/DefaultIMEngineFactory/zh_TW = fcff66b6-4d3e-4cf2-833c-01ef66ac6025
/FrontEnd/OnTheSpot = true
/FrontEnd/Socket/ConfigReadOnly = false
/FrontEnd/Socket/MaxClients = 512
/FrontEnd/X11/BrokenWchar = true
/FrontEnd/X11/Dynamic = false
/FrontEnd/X11/OnTheSpot = true
/FrontEnd/X11/ServerName = SCIM
/Hotkeys/FrontEnd/NextFactory =
/Hotkeys/FrontEnd/NextFactory/zh_CN = Control+Alt+Down,Shift+Control+KeyRelease+Shift_L,Shift+Control+KeyRelease+Shift_R
/Hotkeys/FrontEnd/NextFactory/zh_HK = Control+Alt+Down,Shift+Control+KeyRelease+Shift_L,Shift+Control+KeyRelease+Shift_R
/Hotkeys/FrontEnd/NextFactory/zh_SG = Control+Alt+Down,Shift+Control+KeyRelease+Shift_L,Shift+Control+KeyRelease+Shift_R
/Hotkeys/FrontEnd/NextFactory/zh_TW = Control+Alt+Down,Shift+Control+KeyRelease+Shift_L,Shift+Control+KeyRelease+Shift_R
/Hotkeys/FrontEnd/PreviousFactory =
/Hotkeys/FrontEnd/PreviousFactory/zh_CN = Control+Alt+Up,Shift+Control+KeyRelease+Control_L,Shift+Control+KeyRelease+Control_R
/Hotkeys/FrontEnd/PreviousFactory/zh_HK = Control+Alt+Up,Shift+Control+KeyRelease+Control_L,Shift+Control+KeyRelease+Control_R
/Hotkeys/FrontEnd/PreviousFactory/zh_SG = Control+Alt+Up,Shift+Control+KeyRelease+Control_L,Shift+Control+KeyRelease+Control_R
/Hotkeys/FrontEnd/PreviousFactory/zh_TW = Control+Alt+Up,Shift+Control+KeyRelease+Control_L,Shift+Control+KeyRelease+Control_R
/Hotkeys/FrontEnd/ShowFactoryMenu =
# disable trigger hotkey by default, except for the locale below:
/Hotkeys/FrontEnd/Trigger = Control+space
/Hotkeys/FrontEnd/Trigger/ja_JP = Zenkaku_Hankaku,Alt+grave,Control+space
/Hotkeys/FrontEnd/Trigger/ko_KR = Alt+Alt_L+KeyRelease,Shift+space,Control+space,Hangul
/Hotkeys/FrontEnd/ValidKeyMask = Shift+Control+Alt+Meta+Super+Hyper+CapsLock
/Panel/Gtk/Color/ActiveBackground = light sky blue
/Panel/Gtk/Color/ActiveText = black
/Panel/Gtk/Color/NormalBackground = #F7F3F7
/Panel/Gtk/Color/NormalText = black
/Panel/Gtk/Font = default
/Panel/Gtk/DefaultSticked = false
/Panel/Gtk/LookupTableEmbedded = true
/Panel/Gtk/LookupTableVertical = true
/Panel/Gtk/ShowStatusBox = false
/Panel/Gtk/ShowTrayIcon = true
/Panel/Gtk/ToolBar/AlwaysShow = false
/Panel/Gtk/ToolBar/AutoSnap = true
/Panel/Gtk/ToolBar/HideTimeout = 2
/Panel/Gtk/ToolBar/POS_X = -1
/Panel/Gtk/ToolBar/POS_Y = -1
/Panel/Gtk/ToolBar/ShowHelpIcon = true
/Panel/Gtk/ToolBar/ShowFactoryIcon = true
/Panel/Gtk/ToolBar/ShowFactoryName = true
/Panel/Gtk/ToolBar/ShowMenuIcon = true
/Panel/Gtk/ToolBar/ShowSetupIcon = true
/Panel/Gtk/ToolBar/ShowStickIcon = false
/IMEngine/RawCode/Locales = default
+9
View File
@@ -0,0 +1,9 @@
/SupportedUnicodeLocales = en_US.UTF-8
/DefaultPanelProgram = scim-panel-gtk
/DefaultConfigModule = simple
/DefaultSocketFrontEndAddress = local:/tmp/scim-socket-frontend
/DefaultSocketIMEngineAddress = local:/tmp/scim-socket-frontend
/DefaultSocketConfigAddress = local:/tmp/scim-socket-frontend
/DefaultPanelSocketAddress = local:/tmp/scim-panel-socket
/DefaultHelperManagerSocketAddress = local:/tmp/scim-helper-manager-socket
/DefaultSocketTimeout = 5000
+5
View File
@@ -0,0 +1,5 @@
XMODIFIERS="@im=SCIM"
export GTK_IM_MODULE="xim"
export QT_IM_MODULE="xim"
export XIM_PROGRAM="scim -d"
+3
View File
@@ -0,0 +1,3 @@
##start the servers
/usr/lib/scim-1.0/scim-launcher -d -c simple -e all -f socket -v 100 -m all -o /tmp/scim.main.log --no-stay --no-socket
/usr/lib/scim-1.0/scim-launcher -d -c socket -e all -f x11 -v 100 -m all -o /tmp/scim.x11.log
@@ -0,0 +1,15 @@
diff -u scim-1.4.5/extras/panel/scim_panel_gtk.cpp.12-workarea-xprop scim-1.4.5/extras/panel/scim_panel_gtk.cpp
--- scim-1.4.5/extras/panel/scim_panel_gtk.cpp.12-workarea-xprop 2006-11-15 11:25:48.000000000 +1000
+++ scim-1.4.5/extras/panel/scim_panel_gtk.cpp 2006-11-15 11:25:48.000000000 +1000
@@ -3658,6 +3694,11 @@
return 0;
}
+// set Emacs cc-mode style
+// Local variables:
+// c-file-style: "cc-mode"
+// End:
+
/*
vi:ts=4:nowrap:expandtab
*/
+165
View File
@@ -0,0 +1,165 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>scim</Name>
<Homepage>http://www.scim-im.org</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>LGPLv2.1</License>
<IsA>library</IsA>
<Summary>Smart Common Input Method - framework for Input Methods</Summary>
<Description>Smart Common Input Method (SCIM) is a framework for Input Methods. It is a modular and flexible approach for authoring and using Input Methods for X11 platform.</Description>
<Archive sha1sum="73391be371dd7ef9f9af8b3a211e2bedec0cf71b" type="targz">mirrors://sourceforge/scim/scim-1.4.14.tar.gz</Archive>
<AdditionalFiles>
<AdditionalFile permission="0644" target="configs/config">scim-system-config</AdditionalFile>
<AdditionalFile permission="0644" target="configs/global">scim-system-global</AdditionalFile>
</AdditionalFiles>
<BuildDependencies>
<Dependency>gtk2-devel</Dependency>
<Dependency>pango-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">scim-1.4.14-compile.patch</Patch>
<Patch level="0">scim-1.4.7-support-more-utf8-locales.patch</Patch>
<Patch level="1">scim-initial-locale-hotkey-20070922.patch</Patch>
<!-- Fedora patches -->
<Patch level="1">scim_panel_gtk-emacs-cc-style.patch</Patch>
<Patch level="1">scim-add-restart.patch</Patch>
</Patches>
</Source>
<Package>
<Name>scim-core</Name>
<Summary>Core of SCIM for users</Summary>
<RuntimeDependencies>
<Dependency>atk</Dependency>
<Dependency>gtk3</Dependency>
<Dependency>cairo</Dependency>
<Dependency>pango</Dependency>
<Dependency>gdk-pixbuf</Dependency>
<Dependency>scim-libs</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="config">/etc</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib/scim-1.0</Path>
<Path fileType="data">/usr/share/scim</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="localedata">/usr/share/locale</Path>
</Files>
<AdditionalFiles>
<AdditionalFile target="/etc/X11/Xsession.d/91-scim.sh" permission="0644" owner="root">scim.session</AdditionalFile>
<AdditionalFile target="/etc/env.d/03scim" permission="0644" owner="root">scim.env</AdditionalFile>
</AdditionalFiles>
</Package>
<Package>
<Name>scim-libs</Name>
<Summary>Libraries of SCIM</Summary>
<RuntimeDependencies>
<Dependency>atk</Dependency>
<Dependency>gtk3</Dependency>
<Dependency>cairo</Dependency>
<Dependency>pango</Dependency>
<Dependency>gdk-pixbuf</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/libscim-*</Path>
<Path fileType="library">/usr/lib/scim-1.0/*/Config</Path>
<Path fileType="library">/usr/lib/scim-1.0/*/IMEngine</Path>
</Files>
</Package>
<Package>
<Name>scim-devel</Name>
<Summary>Includes and pkgconfig for scim development</Summary>
<RuntimeDependencies>
<Dependency release="current">scim-core</Dependency>
<Dependency>gtk3-devel</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<Package>
<Name>scim-immodule-gtk2</Name>
<Summary>IM Module for GTK2 applications</Summary>
<RuntimeDependencies>
<Dependency>scim-libs</Dependency>
<Dependency>atk</Dependency>
<Dependency>gtk2</Dependency>
<Dependency>cairo</Dependency>
<Dependency>pango</Dependency>
<Dependency>fontconfig</Dependency>
<Dependency>gdk-pixbuf</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/gtk-2.0</Path>
</Files>
</Package>
<Package>
<Name>scim-immodule-gtk3</Name>
<Summary>IM Module for GTK3 applications</Summary>
<RuntimeDependencies>
<Dependency>scim-libs</Dependency>
<Dependency>atk</Dependency>
<Dependency>gtk3</Dependency>
<Dependency>cairo</Dependency>
<Dependency>pango</Dependency>
<Dependency>gdk-pixbuf</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/gtk-3.0</Path>
</Files>
</Package>
<Package>
<Name>scim-immodule-qt</Name>
<Summary>IM Module for Qt applications</Summary>
<RuntimeDependencies>
<Dependency>scim-libs</Dependency>
<Dependency>qt</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/qt4/plugins/inputmethods/im-scim.so</Path>
</Files>
</Package>
<History>
<Update release="4">
<Date>2014-05-16</Date>
<Version>1.4.14</Version>
<Comment>Release bump.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2014-02-11</Date>
<Version>1.4.14</Version>
<Comment>Rebuild Unused</Comment>
<Name>Varol Maksutoğlu</Name>
<Email>waroi@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-08-25</Date>
<Version>1.4.14</Version>
<Comment>Release bump.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-11-02</Date>
<Version>1.4.14</Version>
<Comment>First release</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
</History>
</PISI>
+29
View File
@@ -0,0 +1,29 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>scim</Name>
<Summary xml:lang="tr">Smart Common Input Method - Girdi Metodları sistemi</Summary>
<Summary xml:lang="pl">Smart Common Input Method – ogólna metoda wprowadzania</Summary>
<Description xml:lang="tr">Smart Common Input Method (SCIM), X11 platformu için Girdi Metodlarının yönetilmesi ve kullanılması için modüler ve esnek Girdi Metodları sistemi</Description>
<Description xml:lang="fr">Smart Common Input Method (SCIM - Méthode commune intelligente d'entrée) est un framework (cadre de développement) pour méthodes d'entrée. Il s'agit d'une approche modulaire et flexible pour créer ou utiliser des méthodes d'entrée pour la plateforme X11.</Description>
<Description xml:lang="pl">scim to główny pakiet projektu SCIM, udostępniający podstawowe funkcje i typy danych.</Description>
</Source>
<Package>
<Name>scim-immodule-gtk2</Name>
<Summary xml:lang="tr">GTK2 uygulamaları için IM Modülü</Summary>
<Summary xml:lang="pl">Moduł IM GTK+ 2.x oparty na SCIM</Summary>
</Package>
<Package>
<Name>scim-immodule-gtk3</Name>
<Summary xml:lang="tr">GTK3 uygulamaları için IM Modülü</Summary>
<Summary xml:lang="pl">Moduł IM GTK+ 3.x oparty na SCIM</Summary>
</Package>
<Package>
<Name>scim-immodule-qt</Name>
<Summary xml:lang="tr">Qt uygulamaları için IM Modülü</Summary>
<Summary xml:lang="pl">Moduł IM Qt oparty na SCIM</Summary>
</Package>
</PISI>