Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change the binary file names #103

Merged
merged 1 commit into from
May 25, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion data/openbangla-keyboard.desktop.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[Desktop Entry]
Name=OpenBangla Keyboard
Comment=An OpenSource, Unicode compliant Bengali Input Method.
Exec=@PROJECT_DATADIR@/OpenBangla-Keyboard %f
Exec=@PROJECT_DATADIR@/openbangla-gui %f
Icon=openbangla-keyboard
Type=Application
Categories=Utility;Application;
2 changes: 1 addition & 1 deletion data/openbangla.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<component>
<name>org.freedesktop.IBus.OpenBangla</name>
<description>OpenBangla Keyboard</description>
<exec>@PROJECT_DATADIR@/OpenBangla-Engine --ibus</exec>
<exec>@PROJECT_DATADIR@/ibus-openbangla --ibus</exec>
<version>@PROJECT_VERSION@</version>
<author>See About Dialog</author>
<license>GPL 3</license>
Expand Down
6 changes: 3 additions & 3 deletions src/engine/ibus/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ link_directories(${CMAKE_CURRENT_BINARY_DIR}/libengine)
set(iBus ibus_engine.cpp
ibus_keycode.h)

add_executable(OpenBangla-Engine ${iBus})
target_link_libraries(OpenBangla-Engine libEngine Qt5::Core ${IBUS_LIBRARIES})
add_executable(ibus-openbangla ${iBus})
target_link_libraries(ibus-openbangla libEngine Qt5::Core ${IBUS_LIBRARIES})

## Configure the files
configure_file(${CMAKE_SOURCE_DIR}/data/openbangla.xml.in ${CMAKE_BINARY_DIR}/data/openbangla.xml)
Expand Down Expand Up @@ -83,5 +83,5 @@ install(FILES ${CMAKE_BINARY_DIR}/data/openbangla-keyboard.desktop
install(FILES ${CMAKE_SOURCE_DIR}/data/io.github.openbangla.keyboard.metainfo.xml
DESTINATION ${DATADIR}/metainfo)

install(TARGETS OpenBangla-Engine
install(TARGETS ibus-openbangla
RUNTIME DESTINATION ${PROJECT_DATADIR})
2 changes: 1 addition & 1 deletion src/engine/ibus/ibus_engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ void ibus_start_setup(bool ibus) {
"GPL 3",
"See AboutBox",
"http://openbangla.github.io/",
PROJECT_DATADIR "/OpenBangla-Engine --ibus",
PROJECT_DATADIR "/ibus-openbangla --ibus",
"openbangla-keyboard"
);

Expand Down
6 changes: 3 additions & 3 deletions src/frontend/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ set(SRC_MAIN main.cpp
LayoutConverter.h
SingleInstance.cpp)

add_executable(OpenBangla-Keyboard ${SRC_MAIN} ${SRC_GUI})
target_link_libraries(OpenBangla-Keyboard libEngine libShared 3rdParty Qt5::Widgets Qt5::Network)
add_executable(openbangla-gui ${SRC_MAIN} ${SRC_GUI})
target_link_libraries(openbangla-gui libEngine libShared 3rdParty Qt5::Widgets Qt5::Network)

install(TARGETS OpenBangla-Keyboard
install(TARGETS openbangla-gui
RUNTIME DESTINATION ${PROJECT_DATADIR})