Bug 164587 - [maintainer update] textproc/ibus: update gtk.immodules when installed from package
Summary: [maintainer update] textproc/ibus: update gtk.immodules when installed from p...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Ryan Steinmetz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-28 19:50 UTC by Henry Hu
Modified: 2012-02-05 02:40 UTC (History)
0 users

See Also:


Attachments
file.diff (1.00 KB, patch)
2012-01-28 19:50 UTC, Henry Hu
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Henry Hu 2012-01-28 19:50:07 UTC
Thanks to Yuri(yuri at rawbw) for reporting the problem:

When installing with "make install", the /usr/local/etc/gtk-2.0/gtk.immodules file is correctly updated. However, when installed from the package, it is not updated.

The reason is that the update command is only written in post-install section of Makefile and is not present in pkg-plist.

Fix: Patch attached.

Patch attached with submission follows:
How-To-Repeat: 1. Install ibus from the package.
2. Try to use it in "gnome-terminal" or other GTK programs.
3. You cannot switch on ibus.
Comment 1 Ryan Steinmetz freebsd_committer freebsd_triage 2012-02-05 01:05:25 UTC
Responsible Changed
From-To: freebsd-ports-bugs->zi

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2012-02-05 02:30:59 UTC
zi          2012-02-05 02:30:50 UTC

  FreeBSD ports repository

  Modified files:
    textproc/ibus        Makefile pkg-plist 
  Log:
  - Resolve issue with gtk.immodules when using package [1]
  - Add LICENSE
  
  PR:             ports/164587
  Submitted by:   Henry Hu <henry.hu.sh@gmail.com> (maintainer) [1]
  
  Revision  Changes    Path
  1.22      +4 -1      ports/textproc/ibus/Makefile
  1.11      +2 -0      ports/textproc/ibus/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Ryan Steinmetz freebsd_committer freebsd_triage 2012-02-05 02:31:17 UTC
State Changed
From-To: open->closed

Committed. Thanks!