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

[pull] master from phuang:master #1

Open
wants to merge 410 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
410 commits
Select commit Hold shift + click to select a range
ca4909c
Fix a gcc warning seen in Chromium OS build.
yusukes Jan 12, 2011
ee6abd7
Set correct g-flags to proxy objects.
yusukes Jan 16, 2011
990ff39
Fix typo in the default configuration of the trigger hotkeys.
yusukes Jan 16, 2011
6a5c766
Set nonzero serial number for RegistryChanged / EngineChanged signals.
ueno Jan 17, 2011
469bfe3
On ChromeOS, we don't have to (and don't want to) set default preload…
yusukes Jan 18, 2011
6b48742
Handle GlobalEngineChanged signals from ibus-daemon.
yusukes Jan 18, 2011
302c851
Fix possible SEGV in ibus_bus_get_global_engine.
yusukes Jan 18, 2011
e194133
Do not allow clients to destroy the server-side config service for sa…
yusukes Jan 19, 2011
b538254
Fix race condition between ibus_bus_set_global_engine() and ibus_bus_…
yusukes Jan 19, 2011
683e301
Emit the connected signal after setting up the connection.
yusukes Jan 21, 2011
e1e72a2
Fix some race conditions during create engine, also fix dpkg build er…
phuang Jan 21, 2011
d26f418
Add <signal name='ValueChanged'> to introspection_xml in src/ibusconf…
yusukes Jan 24, 2011
f28d3e3
Set GdkEventKey time for gdk_event_put with IBUS_FORWARD_MASK.
fujiwarat Jan 24, 2011
73135d0
Add signals in IBusPanelService for non-C classes.
fujiwarat Jan 26, 2011
cc1d776
Set QT_IM_MODULE=xim in case of no ibus-qt.
fujiwarat Jan 26, 2011
ea39176
Fix introspection definitions.
fujiwarat Jan 26, 2011
8f3bd1b
Fix problem in introspection of Engine.
phuang Jan 27, 2011
af0c9bc
Export async version ibus_input_context_process_key_event.
phuang Jan 27, 2011
0e6fa20
Fix build debian package error.
phuang Jan 27, 2011
03c9e59
Overwrite Gtk+'s default compose table to fix crosbug.com/11421.
yusukes Feb 3, 2011
31d1e1c
Fix typo.
fujiwarat Feb 8, 2011
8199abc
Add GTK3 definitions.
fujiwarat Feb 8, 2011
0501756
Add pkgdatadir in ibus-1.0.pc.in
fujiwarat Feb 8, 2011
377c065
Fix ibus-daemon deadlock in engineproxy.c.
phuang Feb 9, 2011
e3140b7
Support enable/disable hotkeys that enable or disable ibus unconditio…
yusukes Feb 11, 2011
b66b337
Reimplement ibus_bus_watch_dbus_signal for GDBus and export it.
yusukes Feb 11, 2011
7538358
Ran 'make update-po' in po/.
yusukes Feb 12, 2011
b2c7173
Fix compiler warnings in util/IMdkit/.
Feb 12, 2011
c394fea
Always call g_simple_async_result_complete in ibus_input_context_proc…
yusukes Feb 15, 2011
5743b6d
Never use ibus's US keymap in bus_input_context_filter_key, and use t…
yusukes Feb 15, 2011
661f1e8
Use LC_MESSAGES instead of LC_ALL in bus_ibus_impl_set_default_preloa…
yusukes Feb 15, 2011
07877cf
Add engine_name parameter to the global-engine-changed signal.
yusukes Feb 15, 2011
d9f8ed3
Implement async version of ibus_config_set_value.
yusukes Feb 16, 2011
d0755b0
Add async version of set_global_engine.
yusukes Feb 16, 2011
9edd399
Do not create GSimpleAsyncResult in ibus_input_context_process_key_event
phuang Feb 16, 2011
5bd623d
s/LC_MESSAGES/LC_CTYPE/ in set_default_preload_engines.
fujiwarat Feb 17, 2011
ff5db2e
Destroy IBusInputContext correctly in ibus-x11
phuang Feb 18, 2011
d68f26b
Fix crash when turn off "use global engine" option
phuang Feb 18, 2011
0b02c81
Add enable_conditional and disable_conditional in gconf schemas file
phuang Feb 18, 2011
fb153c2
Fix make dpkg errors.
phuang Feb 18, 2011
8ebad5f
Call gtk_key_snooper_remove when GTK IM client is switched.
fujiwarat Feb 18, 2011
31b3b6a
Fix a race problem in SetGlobalEngine and add set_global_engine in py…
phuang Feb 28, 2011
690be23
Unify async and sync function names.
phuang Feb 28, 2011
279ee5d
Optimize focus_in to avoid call some UI blocking functions.
phuang Mar 1, 2011
fbdd157
Move gtk_key_snooper_remove from function object_fini to class_fini.
phuang Mar 7, 2011
3980dd9
Add asynchronous APIs to ibusbus.h
yusukes Mar 7, 2011
f4eae68
Remove -Wall warnings.
yusukes Mar 8, 2011
2fbbf43
If the current engine is removed, then switch to another engine autom…
suzhe May 27, 2010
32367ad
Fix issues of the "previous_engine" hotkey.
yusukes Sep 15, 2010
57eee84
Update symbols file.
yusukes Mar 9, 2011
5617ef1
Fix make check error
phuang Mar 11, 2011
2608482
Fix preedit_string = NULL in ibus-x11 _free_ic()
fujiwarat Mar 11, 2011
71bcf46
This can cause crashes on cleanup when multiple components are implem…
Mar 14, 2011
596680b
Update gtk-doc
phuang Mar 15, 2011
14b7d1a
Add git.mk from gtk+ project, Use it to update .gitignore
phuang Mar 16, 2011
b9b2c42
Fix issue of InputContext.SetEngine.
phuang Mar 16, 2011
13697b0
Do not block UI in IBusIMContext anymore.
phuang Mar 17, 2011
1861184
Refine document and coding style in ibusbus.[ch] and trim some privat…
phuang Mar 17, 2011
8306617
Create a separate test case for ibus_bus_create_input_context_async().
phuang Mar 18, 2011
0929e30
Add asynchronous InputContext.IsEnabled and InputContext.GetEngine APIs.
yusukes Mar 22, 2011
597820e
Link appropriate libraries to ibus-scan.
yusukes Mar 22, 2011
0514dc8
Use $(SED) to replace sed
phuang Mar 23, 2011
cff009d
Fix typos in IBusInputContext document
phuang Mar 23, 2011
7903a53
Fix make debian package errors.
phuang Mar 23, 2011
ee54659
Verify global engine after changing preload_engines
phuang Mar 25, 2011
6379474
Add "in" keymap which maps Alt_R to AltGr.
Mar 25, 2011
5ef2960
Set WM_CLASS name instead of main.py
fujiwarat Mar 25, 2011
ef2be04
Use gtk_status_icon_set_name() only if it is available.
Mar 29, 2011
ed4775b
Change default values of some config.
suzhe May 12, 2010
1428a36
Use ibus panel icon from the desktop theme instead of ibus-keyboard.
fujiwarat Mar 31, 2011
15e29ac
Update translations.
fujiwarat Apr 4, 2011
6a39a86
Fix a crash during creating IBusProxy asynchronously
phuang Apr 5, 2011
06e6abe
Support surrounding-text retrieval.
Apr 5, 2011
65c5465
Fix make dpkg errors.
phuang Apr 5, 2011
ac30990
Export surrounding-text API to Python.
ueno Apr 8, 2011
37e6e58
Implement APIs for another non-Python panel.
fujiwarat Apr 8, 2011
782566b
Fix focus issue when reconnect to ibus-daemon
phuang Apr 8, 2011
2f35854
Refine RequestName code and fix make dpkg errors.
phuang Apr 8, 2011
0f08033
Fix problem in creating IBusPoxy in synchronous mode.
phuang Apr 8, 2011
0838133
Revert "Change default values of some config."
phuang Apr 9, 2011
e395754
Use g_initable_new to create BusFactoryProxy.
phuang Apr 18, 2011
5cb14a2
Export input context surrounding-text API to Python.
Apr 18, 2011
c2c8a02
Add org.freedesktop.IBus.InputContext.ProcessHandWritingEvent and Can…
yusukes Apr 22, 2011
9af7672
Fix SEGV in im-ibus.so on Chromium OS
yusukes Apr 22, 2011
80e5bd0
Fix the zombie process of ibus-gconf when ibus-daemon restarts.
fujiwarat Apr 27, 2011
2371d4f
Fix make dpkg errors, and add gtk3 support for debian
phuang May 3, 2011
fe11868
Added British English translation.
Apr 30, 2011
27a66ea
Update name
julroy67 Apr 7, 2011
75db3e1
Fix build warnings with gcc 4.6
phuang May 11, 2011
d059132
fix wrong forward key event signature
May 17, 2011
5aea31b
Update translations.
fujiwarat May 16, 2011
d3e750e
Send the new capabilities to ibus-daemon in ibus_im_context_set_use_p…
yusukes Jun 1, 2011
4d15995
Fix build warnings with gcc 4.6
phuang Jun 2, 2011
52425da
Fix Python input context binding.
phuang Jun 6, 2011
cdcf5c7
Merge pull request #2 from ryoqun/master
phuang Jun 8, 2011
7dd0436
Add functions for creating IBusConfig asynchronously.
phuang Jun 9, 2011
59ce675
Fix some race condition between idle and timeout events. Also fix a m…
phuang Jun 13, 2011
fc9dede
Add IBUS_ERROR domain and reply IBUS_ERROR_NO_ENGINE in org.freedeskt…
phuang Jun 15, 2011
45ed668
Check IBUS_CONFIG_HOME environment variable when reading/writing the …
yusukes Jun 16, 2011
e73de02
Fix make dpkg errors.
phuang Jun 16, 2011
1da68ec
Fix some fuction signatures to make ibus g-i firendly.
phuang Jun 16, 2011
92b30f0
Restore cursor location when a new IBusInputContext is created.
phuang Jun 18, 2011
aec97ac
Simplify surrounding-text initialization.
Jun 18, 2011
508f6a1
Store capabilities when ibuscontext is not ready yet.
Jun 18, 2011
8677fac
Add icon_symbol property in IBusEngineDesc.
phuang Jul 3, 2011
83d4b3a
Fix BusEngineProxy instance leak.
phuang Jul 3, 2011
0e315c1
Fix make dpkg errors.
phuang Jul 4, 2011
b9cfc5e
Add org.freedesktop.IBus.Config.GetValues to get all values in one RPC.
phuang Jul 5, 2011
ed2a895
Fix SEGV in ibus_keymap_lookup_keysym
phuang Jul 5, 2011
624c445
Fix several GVariant related issues. And remove a wrong unref.
phuang Jul 7, 2011
55a5652
Remove the callback on destroy.
yusukes Jul 11, 2011
290a37e
Use g_variant_dup_string for consistency.
yusukes Jul 12, 2011
48cc200
Fixed an error in IBus.Bus.register_component
fujiwarat Jul 12, 2011
88a4475
Fix GObject ref/unref issues.
ueno Jul 15, 2011
51fe804
Add ibus-dconf.
ueno Jul 18, 2011
0cb912c
Always enable the new focused BusInputContext
phuang Jul 23, 2011
4980dab
Fix make rpm errors
phuang Aug 11, 2011
6ec33ea
Add missing config.h in gdk-private.c
phuang Aug 12, 2011
2ed0adc
Support selection text retrival.
nona-google Aug 12, 2011
02a4f3e
Port keyval and unicode converting functions from gtk.
phuang Aug 12, 2011
97afd48
Add create-engine signal in IBusFactory for non-C applications.
fujiwarat Aug 13, 2011
9614076
Fix for ibus_serializable_{get,set}_attachment.
horo-t Aug 18, 2011
ac9dfac
Use GVariant as attachment for IBusSerializable.
phuang Aug 19, 2011
adcf71e
Check if BusInputContext has an enabled engine in global input method.
fujiwarat Aug 24, 2011
894ecc8
Add Disable signal when bus_ibus_impl_set_context_engine_from_desc is…
fujiwarat Aug 25, 2011
19a504a
Do not send surrounding text to ibus-daemon if engine does not need s…
phuang Sep 9, 2011
02604ac
Fix make dist error if dsettings does not exist.
phuang Sep 9, 2011
4438c04
Implement org.freedesktop.DBus.StartServiceByName.
ueno Sep 16, 2011
6c47459
Add get methods for the members in IBusAttribute for non-C language.
fujiwarat Sep 16, 2011
235ef3a
Refine configure.ac and fix make distcheck errors.
phuang Sep 18, 2011
e42dda5
Add some warning message in ibustext.c
phuang Sep 18, 2011
55cb3cd
Fix dconf profile installation.
ueno Sep 21, 2011
a5aadb6
Fix make distcheck error
phuang Sep 23, 2011
600fd9a
Release 1.4.0
phuang Sep 23, 2011
cb519c8
Fix hiding button items in GTK panel.
ueno Sep 29, 2011
d19018b
Always consume a hotkey press
yusukes Oct 9, 2011
ee966e3
Add ibusutil.h in ibus.h
fujiwarat Oct 25, 2011
910f8a6
Fix previous_engine without global engine.
fujiwarat Oct 25, 2011
cca4fd8
Don't set focus on GTK password entry.
ueno Oct 28, 2011
0289369
Rerotate next/previous engines without global engine.
fujiwarat Nov 2, 2011
613e015
Fixed fallback icons.
fujiwarat Nov 8, 2011
23abee8
Use ibus_input_context_process_key_event_async in ibus-x11
fujiwarat Nov 21, 2011
5d2ac19
Disable surrounding-text when retrieve-surrounding signal is not hand…
ueno Nov 30, 2011
5236e21
Add the engine preference button on ibus-setup
fujiwarat Nov 30, 2011
028e2dc
Update translations.
fujiwarat Dec 14, 2011
fd07a5a
Fix a SEGV if ibusimcontext->ibuscontext is null.
fujiwarat Dec 20, 2011
ee9c4fb
Make all fields of IBusProperty as gobject property.
phuang Dec 22, 2011
df10a24
Add ibus_text_set_attributes for scipt language bindings.
phuang Dec 22, 2011
4d1f383
Fix a typo in docs/references/ibus/Makefile
phuang Dec 22, 2011
f25acc2
Fix g-ir-scanner errors in ibusproperty.h and ibustext.h.
fujiwarat Dec 31, 2011
64c5f3d
Add G_GNUC_PRINTF for function ibus_text_new_from_printf(), so compil…
phuang Jan 6, 2012
5049182
Rename ibus_engine_new_type with ibus_engine_new_with_type.
fujiwarat Jan 24, 2012
90e971b
Add a dconf option to inhibit dconf name conversion.
ueno Jan 26, 2012
d361030
Fix the return value in IBusEngine.process_key_event with signal.
fujiwarat Jan 26, 2012
d380b11
Fix the GIR annotation of ibus_bus_get_global_engine.
fujiwarat Jan 27, 2012
3e363af
Fix the GIR annotation of ibus_bus_get_global_engine #2.
fujiwarat Jan 29, 2012
eb1dbdc
dconf: preserve names under /desktop/ibus/engine/bopomofo.
ueno Jan 30, 2012
deaa090
Minor fixes when generating GIR.
ueno Jan 31, 2012
cbdd673
Generate vapi from gir instead of gi.
ueno Feb 1, 2012
6c777b2
Minor fixes related to git.mk.
ueno Feb 1, 2012
185dd51
Fix typoes and remove Encoding from desktop files.
phuang Feb 2, 2012
91dd672
Release 1.4.1.
phuang Feb 5, 2012
3862735
Don't look for ibus-1.0.pc when generating GIR.
ueno Feb 13, 2012
a5b51c9
Fix typo.
fujiwarat Feb 13, 2012
3b8d6ee
Fix typoes in gtk-doc comments.
ueno Feb 14, 2012
60587bf
Fix gir annotations.
fujiwarat Feb 16, 2012
53d33ec
Remove enable status of input context and hotkey logic in ibus-daemon
phuang Aug 16, 2011
7446203
Rename ibus keysyms.
phuang Nov 24, 2011
89dfb1f
Fix src/Makefile.am to install ibuskeysym-compat.h
phuang Nov 24, 2011
bcac074
wip
phuang Nov 24, 2011
b935e9c
Use XI2 in keybindingmanager.
phuang Nov 25, 2011
c9700e5
wip
phuang Nov 25, 2011
dece8eb
WIP implement engine switcher popup ui
phuang Nov 27, 2011
b97ab9f
WIP make engine switch hotkey work
phuang Nov 28, 2011
2af1fcd
Remove switchertest.vala
phuang Nov 28, 2011
32cff28
Fix a valac warning
phuang Nov 28, 2011
9d5f0ac
WIP implement register_properties and set_property
phuang Nov 28, 2011
abf2bbe
wip
phuang Nov 28, 2011
76c804e
Integrate IBusEngineSimple from ibus-xkb project.
phuang Nov 30, 2011
1983e58
Port gtk_im_context_simple_add_table to libibus.
phuang Nov 30, 2011
436516f
Use g_list_free_full to simplified some code.
phuang Nov 30, 2011
29312ba
Create simple engine
phuang Dec 5, 2011
229d543
Add xkb layouts switch support and add three demo xkb layouts.
phuang Dec 5, 2011
dd4e001
wip
phuang Dec 5, 2011
65d88f8
Fix radio menu group and keybinding problems.
phuang Dec 12, 2011
78fab6a
Handle preload_engines config changes.
phuang Dec 12, 2011
a13c4b9
Save and load engines order.
phuang Dec 13, 2011
53d83b3
Do not release remote InputContext.
phuang Dec 14, 2011
ca0d5c2
Bump the version and fix rpmbuild script
phuang Dec 14, 2011
0fb7788
Rename ui/gtk to ui/gtk2
phuang Dec 14, 2011
3e114c4
WIP add a shell tool.
phuang Dec 14, 2011
ba7496e
WIP ibus list-engine command
phuang Dec 15, 2011
a91abfb
WIP add ibus switch-engine command
phuang Dec 15, 2011
72dcb20
WIP app ibus bash completion script and fix rpmbuild
phuang Dec 15, 2011
aae1c57
Fix bash completion issue
phuang Dec 15, 2011
1ddca02
set xkblayout in 'ibus engine' command
phuang Dec 15, 2011
205dfcb
Use xkb:layout:us as default engine.
phuang Dec 15, 2011
51ee0ae
Refine ibus.bash
phuang Dec 16, 2011
ba24671
Comment out all debug log in ibusenginesimple.c
phuang Dec 16, 2011
dcf309a
Remove some unused module in py file
phuang Dec 16, 2011
ee6d619
WIP port engineabout.py to gtk3
phuang Dec 16, 2011
c2f197c
WIP port enginecombobox.py icon.py to gtk3
phuang Dec 16, 2011
9983fbf
WIP port setup ui to gtk3
phuang Dec 16, 2011
e1d9ff1
WIP fix some issues with gtk3 and gi
phuang Dec 17, 2011
07c3d35
WIP fix gtk3 setup issues
phuang Dec 17, 2011
303308e
WIP move all conf components into conf dir
phuang Dec 17, 2011
ad17864
Delay showing switch popup window to avoid annonying.
phuang Dec 19, 2011
96201f1
Change IME icon on systray.
phuang Dec 19, 2011
55492f4
Make registered IME visible to panel.
phuang Dec 22, 2011
3b96fd0
Add restart and exit commands in ibus tools
phuang Jan 4, 2012
3bb7514
WIP IME and sys menus.
phuang Jan 4, 2012
7520633
WIP add --enable-python-library
phuang Jan 4, 2012
a773bc6
WIP Disable gtk2 ui in rpm spec file.
phuang Jan 4, 2012
64f8274
WIP add gtkpanel.xml for gtk3 ui
phuang Jan 4, 2012
1cf24fb
Deprecated ibus python library.
phuang Jan 4, 2012
9a8ce1b
Generate simple.xml.in.in from xkb layouts
phuang Jan 5, 2012
369a790
Escape some desc
phuang Jan 5, 2012
866efc4
WIP
phuang Jan 5, 2012
2872ba0
Execute ibus-setup in panel correctly
phuang Jan 5, 2012
fc72d2f
refine code for reviewing
phuang Jan 5, 2012
661bb47
Remove some useless xkb layout
phuang Jan 6, 2012
c5421af
Fix a build error
phuang Jan 6, 2012
48276af
Fix a bug in ibus_get_language_name and add a unit test
phuang Jan 6, 2012
f80d56d
Move current language to the first place in the IME combobox
phuang Jan 6, 2012
25a884b
Fix a bug in simple.xml.in.in
phuang Jan 6, 2012
d7dbac1
Create __languages_dict with g_hash_table_new_full
phuang Jan 6, 2012
fccbddc
Remove some unused code and fix a focus issue
phuang Jan 6, 2012
0bbb10e
Refine ibus_get_language_name() test case
phuang Jan 6, 2012
6d6f938
Ignore some unused bits in modifiers
phuang Jan 11, 2012
985dadc
Fix match rule parsing bug.
phuang Jan 11, 2012
3981f1e
Reenable test casues for ibus-daemon
phuang Jan 11, 2012
05af2cf
Do not create IBusInputContext in focus_in virtual function
phuang Jan 11, 2012
ab6b68c
ibus-daemon: Move global variables into separated files.
phuang Jan 12, 2012
1537971
Rename xinput-ibus.in to xinput-ibus
phuang Jan 12, 2012
a14ff9e
ibus-ui-gtk3: Fix a crash when config module is not ready.
phuang Jan 12, 2012
3df2d9f
ibus-ui-gtk3: Hide the candidate window during starting up.
phuang Jan 12, 2012
55a9300
ibus-ui-gtk3: Fix hotkey issue when xkb -option ctrl:swapcap is using.
phuang Jan 12, 2012
389ad09
ibus-daemon: Fix a matchrule parse issue.
phuang Jan 13, 2012
f70cd8e
ibus-ui-gtk3: Disable panel when Panel name owership is lost.
phuang Jan 13, 2012
9c6018b
Fix review issues.
phuang Jan 23, 2012
39422b6
ibus-ui-gtk2: Do not release gtk2 ui in tarball but keep them in repo.
phuang Jan 23, 2012
006f386
libibus: Fix annotation of ibus_bus_get_engines_by_names.
phuang Jan 23, 2012
c5721c6
libibus: add test case for ibus_bus_get_engines_by_names.
phuang Jan 23, 2012
07f48dd
libibus: Fix some reference issues.
phuang Jan 24, 2012
ff9556c
ibus-ui-gtk3: Use longname in IME switch UI.
phuang Jan 24, 2012
30d217a
ibus-ui-gtk3: Add quit item in menu.
phuang Jan 27, 2012
daf63a8
vala: Fix vala binding
phuang Jan 27, 2012
7975fa0
ibus-engine-simple: Use icon ibus-keyboard for xkb layouts.
phuang Jan 31, 2012
1b5b406
Add ibus_unset_log_handler to remove the handler in ibus_set_log_handler
fujiwarat Feb 23, 2012
99e4d9d
Merge remote-tracking branch 'origin/devel'
phuang Feb 26, 2012
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
48 changes: 0 additions & 48 deletions .gitignore

This file was deleted.

4 changes: 4 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ da.po:
Kris Thomsen <[email protected]>
de.po:
Fabian Affolter <[email protected]>
en_GB.po:
Steven Panek <[email protected]>
es.po:
Domingo Becker <[email protected]>
fr.po:
Expand Down Expand Up @@ -43,6 +45,8 @@ pa.po:
Amanpreet Singh <[email protected]>
pl.po:
Piotr Drąg <[email protected]>
pt_BR.po:
Glaucia Freitas <[email protected]>
ru.po:
koterpillar
sr.po [email protected]:
Expand Down
83 changes: 67 additions & 16 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -20,44 +20,54 @@
# Free Software Foundation, Inc., 59 Temple Place, Suite 330,
# Boston, MA 02111-1307 USA

if ENABLE_PYTHON
PYTHON_DIRS = \
ibus \
setup \
$(NULL)
NULL =

UI_DIR = ui

if ENABLE_SETUP
SETUP_DIR = setup
endif

if ENABLE_GCONF
GCONF_DIRS = \
gconf \
if ENABLE_PYTHON_LIBRARY
PYTHON_LIB_DIRS = ibus
endif

if ENABLE_DAEMON
DAEMON_DIR = \
bus \
$(NULL)
endif

SUBDIRS = \
src \
bus \
util \
conf \
client \
engine \
tools \
data \
m4 \
po \
docs \
ui \
bindings \
$(PYTHON_DIRS) \
$(GCONF_DIRS) \
$(UI_DIR) \
$(DAEMON_DIR) \
$(PYTHON_LIB_DIRS) \
$(SETUP_DIR) \
$(NULL)

ACLOCAL_AMFLAGS = -I m4

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = ibus-1.0.pc
pkgconfig_DATA = ibus-@IBUS_API_VERSION@.pc

ibus_pc_in = ibus-@[email protected]
EXTRA_DIST = \
autogen.sh \
ibus-1.0.pc.in \
$(ibus_pc_in) \
ibus.spec.in \
python-config.py \
xinput-ibus \
$(NULL)

noinst_DIST = \
Expand All @@ -73,13 +83,23 @@ install-data-hook:
DISTCHECK_CONFIGURE_FLAGS = \
--enable-gtk-doc \
--disable-schemas-install \
--disable-introspection \
$(NULL)

dist-hook:
if test -d .git ; then \
git log --name-status --date=iso > $(distdir)/ChangeLog ; \
fi

distclean-local:
if test "x$(srcdir)" = "x."; then :; else \
rm -f ChangeLog; \
fi

MAINTAINERCLEANFILES = \
$(srcdir)/ChangeLog \
$(NULL)

rpm: dist @[email protected]
rpmbuild -bb \
--define "_sourcedir `pwd`" \
Expand All @@ -102,11 +122,12 @@ srpm: dist @[email protected]
debian/changelog:
$(AM_V_GEN) \
( \
. /etc/lsb-release; \
date=`date -R`; \
version=@VERSION@; \
serie=$(serie); \
if test -z "$$serie"; then \
serie=lucid; \
serie=$$DISTRIB_CODENAME; \
fi; \
if test -z "$$release"; then \
release=1; \
Expand All @@ -127,6 +148,17 @@ ppa: dist debian/changelog
debuild -S -sa ; \
)

dpkg: dist debian/changelog
$(AM_V_GEN) \
( \
mkdir ppa; \
cd ppa; \
tar zxvf ../$(distdir).tar.gz ; \
cd $(distdir); \
cp -a ../../debian . ; \
cd debian; \
debuild -b -us -uc; \
)

clean-rpm:
$(RM) -r "`uname -i`"
Expand All @@ -137,4 +169,23 @@ git-tag:
git tag -s @PACKAGE_VERSION@

git-clean-tree:
git clean -d -f -x
git clean -d -f -x

GITIGNOREFILES = \
INSTALL \
aclocal.m4 \
compile \
config.guess \
config.h.in \
config.sub \
depcomp \
gtk-doc.make \
install-sh \
ltmain.sh \
missing \
mkinstalldirs \
py-compile \
stamp-h* \
$(NULL)

-include $(top_srcdir)/git.mk
2 changes: 1 addition & 1 deletion autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ which gnome-autogen.sh || {
touch $srcdir/ChangeLog
}

ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I m4" REQUIRED_AUTOMAKE_VERSION=1.8 . gnome-autogen.sh
ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I m4" REQUIRED_AUTOMAKE_VERSION=1.10 CFLAGS="-Wall $CFLAGS" . gnome-autogen.sh
2 changes: 2 additions & 0 deletions bindings/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,5 @@ endif
SUBDIRS = \
$(VALA_DIR) \
$(NULL)

-include $(top_srcdir)/git.mk
9 changes: 9 additions & 0 deletions bindings/vala/IBus-1.0-custom.vala
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
namespace IBus {
// For some reason, ibus_text_new_from_static_string is hidden in GIR
// https://github.com/ibus/ibus/commit/37e6e587
[CCode (type_id = "ibus_text_get_type ()", cheader_filename = "ibus.h")]
public class Text : IBus.Serializable {
[CCode (cname = "ibus_text_new_from_static_string", has_construct_function = false)]
public Text.from_static_string (string str);
}
}
1 change: 1 addition & 0 deletions bindings/vala/IBus-1.0.metadata
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
IBus cheader_filename="ibus.h"
28 changes: 25 additions & 3 deletions bindings/vala/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,30 @@

vapidir = $(datadir)/vala/vapi
dist_vapi_DATA = \
ibus-1.0.vapi \
ibus-@[email protected] \
ibus-@[email protected] \
$(NULL)

ibus-1.0.vapi:
vapigen --library ibus-1.0 ibus-1.0/ibus-1.0.gi ibus-1.0/ibus-1.0-custom.vala
# Don't rebuild vapi every time gir is updated.
vapi_deps = \
$(srcdir)/IBus-1.0.metadata \
$(srcdir)/IBus-1.0-custom.vala \
| \
$(top_srcdir)/src/IBus-@[email protected] \
$(NULL)

ibus-@[email protected]: $(vapi_deps)
$(AM_V_GEN) $(VAPIGEN) --library ibus-@IBUS_API_VERSION@ \
--pkg gio-2.0 \
--metadatadir=$(srcdir) \
$(top_srcdir)/src/IBus-@[email protected] \
$(srcdir)/IBus-1.0-custom.vala

EXTRA_DIST = \
IBus-1.0.metadata \
IBus-1.0-custom.vala \
$(NULL)

MAINTAINERCLEANFILES = ibus-@[email protected]

-include $(top_srcdir)/git.mk
1 change: 1 addition & 0 deletions bindings/vala/ibus-1.0.deps
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
gio-2.0
Loading