# cross reference with ibus.spec: ibus-1.5.5-1.fc19.src.rpm
# useful parts
### # Upstreamed patches.
### # Patch0:     %%{name}-HEAD.patch
### # https://bugzilla.redhat.com/show_bug.cgi?id=810211
### Patch1:         %{name}-810211-no-switch-by-no-trigger.patch
### # https://bugzilla.redhat.com/show_bug.cgi?id=541492
### Patch2:         %{name}-541492-xkb.patch
### # https://bugzilla.redhat.com/show_bug.cgi?id=530711
### Patch3:         %{name}-530711-preload-sys.patch
### # Hide minor input method engines on ibus-setup by locale
### Patch4:         %{name}-xx-setup-frequent-lang.patch
### 
### # Removed the target.
### # Even if fedpkg srpm's target is rhel, it can run on fedora box.
### # Keep the default triggers for the back compatiblity.
### Patch95:        %{name}-xx-ctrl-space.patch
### # Disable IME on gnome-shell password for the back compatiblity.
### Patch96:        %{name}-xx-f19-password.patch
#
### %if (0%{?fedora} < 20 && 0%{?rhel} < 8)
### %patch96 -p1 -b .passwd
#
ibus-xx-f19-password.patch
#
### %endif
### cp client/gtk2/ibusimcontext.c client/gtk3/ibusimcontext.c || 
#
# instead, add a new patch for client/gtk3/ibusimcontext.c
# sed s/gtk2/gtk3/g ibus-xx-f19-password.patch
#
ibus-xx-f19-password-gtk3.patch
#
### %patch1 -p1 -b .noswitch
#
ibus-810211-no-switch-by-no-trigger.patch
#
### %if %with_preload_xkb_engine
### %patch2 -p1 -b .preload-xkb
#
ibus-541492-xkb.patch
#
### rm -f bindings/vala/ibus-1.0.vapi
### rm -f data/dconf/00-upstream-settings
#
# debian/rules: override_dh_auto_clean
#
### %endif
### %patch3 -p1 -b .preload-sys
#
ibus-530711-preload-sys.patch
#
### %patch4 -p1 -b .setup-frequent-lang
#
ibus-xx-setup-frequent-lang.patch
#
### 
### %if (0%{?fedora} < 19 && 0%{?rhel} < 7)
### %patch95 -p1 -b .ctrl
#
ibus-xx-ctrl-space.patch
#
### %endif
#
# check manually with update-po script
#
### zcat %SOURCE3 | tar xf -
### POS=`(cd ibus-xkb-%ibus_xkb_version/po; ls *.po)`
### for PO in $POS
### do
###   cp po/$PO po/$PO.orig
###   msgcat --use-first po/$PO ibus-xkb-%ibus_xkb_version/po/$PO -o po/$PO
### done
#
### %changelog
### * Tue Jan 14 2014 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.5-1
### - Bumped to 1.5.5
### - Deleted notify-python in Requires
### 
### * Fri Oct 04 2013 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.4-2
### - Added ibus-HEAD.patch to sync upstream.
### 
### * Fri Sep 20 2013 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.4-1
### - Bumped to 1.5.4
### - Added ibus.conf.5
### - Added ibus-xkb-1.5.0.tar.gz for po files.
### - Added ibus-xx-f19-password.patch for back compatibility.
### - Added ibus-wayland in f20 or later.
### 
### * Fri Jul 26 2013 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.3-1
### - Bumped to 1.5.3
### - Deleted ibus-xx-g-s-disable-preedit.patch as EOL.
### - Deleted ibus-gjs as EOL.
### - Removed imsettings-gnome, im-chooser, libgnomekbd dependencies.
### 
999-update-po.patch
02_title_update.patch
ibus-no-notification.patch
03_dont_run_dconf_update.patch
ubuntu-disable-trigger.patch
ubuntu-forward-panel-properties.patch
