Commit 23577518 authored by Weng Xuetian's avatar Weng Xuetian
Browse files

initial commit for fcitx-table-other

parents
*~
build/*
data/pinyin.tar.gz
data/pinyin.tar.gz.md5
data/table/table.tar.gz
data/table/table.tar.gz.md5
*.kdev4
tools/pybase.mb
tools/pyphrase.mb
data/desc.po
.kdev_include_paths
.directory
*.kate-swp
*.orig
tags
astyle.sh
Xuetian Weng <wengxt AT gmail DOT com>
\ No newline at end of file
cmake_minimum_required(VERSION 2.6)
project(fcitx-table-extra NONE)
find_package(Fcitx 4.2.3 REQUIRED)
find_package(Gettext REQUIRED)
find_program(TXT2MB txt2mb REQUIRED)
# uninstall target
configure_file(
"${CMAKE_CURRENT_SOURCE_DIR}/cmake/cmake_uninstall.cmake.in"
"${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
IMMEDIATE @ONLY)
add_custom_target(uninstall
COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake)
add_subdirectory(icons)
add_subdirectory(tables)
add_subdirectory(po)
\ No newline at end of file
This diff is collapsed.
Please check out latest news on Fcitx Project Site.
Fcitx Project Site
http://code.google.com/p/fcitx
Requirements:
You need to install fcitx first.
Introduction:
fcitx-table-other provides some other tables for Fcitx, fork from ibus-table-others
\ No newline at end of file
if (NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
message(FATAL_ERROR "Cannot find install manifest: \"@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt\"")
endif(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
file(READ "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt" files)
string(REGEX REPLACE "\n" ";" files "${files}")
foreach (file ${files})
message(STATUS "Uninstalling \"$ENV{DESTDIR}${file}\"")
if (EXISTS "$ENV{DESTDIR}${file}" OR IS_SYMLINK "$ENV{DESTDIR}${file}")
execute_process(
COMMAND @CMAKE_COMMAND@ -E remove "$ENV{DESTDIR}${file}"
OUTPUT_VARIABLE rm_out
RESULT_VARIABLE rm_retval
)
if(NOT ${rm_retval} EQUAL 0)
message(FATAL_ERROR "Problem when removing \"$ENV{DESTDIR}${file}\"")
endif (NOT ${rm_retval} EQUAL 0)
else (EXISTS "$ENV{DESTDIR}${file}" OR IS_SYMLINK "$ENV{DESTDIR}${file}")
message(STATUS "File \"$ENV{DESTDIR}${file}\" does not exist.")
endif (EXISTS "$ENV{DESTDIR}${file}" OR IS_SYMLINK "$ENV{DESTDIR}${file}")
endforeach(file)
\ No newline at end of file
set(ICON32 fcitx-thai.png)
set(ICON48 fcitx-compose.png fcitx-emoji.png fcitx-ipa-x-sampa.png fcitx-latex.png fcitx-rustrad.png fcitx-translit.png fcitx-translit-ua.png fcitx-yawerty.png)
set(ICON64 fcitx-cns11643.png fcitx-viqr.png)
install(FILES
${ICON32}
DESTINATION share/icons/hicolor/32x32/apps)
install(FILES
${ICON48}
DESTINATION share/icons/hicolor/48x48/apps)
install(FILES
${ICON64}
DESTINATION share/icons/hicolor/64x64/apps)
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment