Hi, Please find attached the first ebuild for ibus-cangjie-2.1-r0.ebuild. This is an IBus engine for users of the Cangjie and Quick input methods. It is primarily intended to Hong Kong people who want to input Traditional Chinese, as they are (by far) the majority of Cangjie and Quick users. However, it should work for others as well (e.g to input Simplified Chinese). Note that the actual input logic is handled by libcangjie. I am suggesting "app-i18n/ibus-cangjie" This ebuild depends on the following : * dependency graph for app-i18n/ibus-cangjie-2.1-r0 `-- app-i18n/ibus-cangjie-2.1-r0 unknown `-- app-i18n/libcangjie-1.1-r0 (app-i18n/libcangjie) unknown `-- app-i18n/ibus-1.5.5 (app-i18n/ibus) amd64 `-- dev-python/cangjie-1.1-r0 (dev-python/cangjie) unknown I will submit additional ebuilds for : * app-i18n/libcangjie * dev-python/cangjie Thanks Brendan
Created attachment 374216 [details] ibus-cangjie-2.1-r0.ebuild
This ebuild depends on : * dependency graph for app-i18n/ibus-cangjie-2.1-r0 `-- app-i18n/ibus-cangjie-2.1-r0 unknown `-- app-i18n/libcangjie-1.1-r0 (app-i18n/libcangjie) unknown `-- app-i18n/ibus-1.5.5 (app-i18n/ibus) amd64 `-- dev-python/cangjie-1.1-r0 (dev-python/cangjie) unknown
This input method is different from "app-i18n/ibus-table-chinese". ibus-cangjie is aimed mostly at users in Hong Kong where as "app-i18n/ibus-table-chinese" aims to cover a large range of Chinese inputs.
Created attachment 374228 [details] ibus-cangjie-2.1-r0.ebuild Updated ebuild to pass repoman.
Comment on attachment 374228 [details] ibus-cangjie-2.1-r0.ebuild These are defaults and should be removed: >src_configure() { > econf >} > >src_install() { > emake DESTDIR="${D}" install >}
Created attachment 374282 [details] ibus-cangjie-2.1.ebuild Removed default sections. added new ebuild Repoman passed
I am also able to maintain this package.
Created attachment 374364 [details] ibus-cangjie-2.1.ebuild Fixed Licence. Fixed homepage. Fixed licence. Added new ebuild.
No RDEPEND?
Created attachment 374436 [details] ibus-cangjie-2.1.ebuild Added RDEPEND to ebuild.
I have checked this via repoman, equery and a full emerge of the package. Will email proxy maintainers as well.
(In reply to Brendan Horan from comment #10) > Created attachment 374436 [details] > ibus-cangjie-2.1.ebuild > > Added RDEPEND to ebuild. 1. You specify a PYTHON variable but inherit no eclass; please inherit an eclass and migrate to the new Python eclasses, see for reference https://wiki.gentoo.org/wiki/Project:Python/Eclasses See `man 5 ebuild` for more information about inherit. 2. There are missing dependencies that can be deduced from configure.ac: dev-util/intltool in DEPEND, sys-devel/gettext in DEPEND, virtual/libintl in RDEPEND 3. There is a version range missing that can be deduced from configure.ac; ibus has to be at least 1.4.1, can be specified as >=app-i18n/ibus-1.4.1 4. If DEPEND and RDEPEND are the same, you can use DEPEND="${RDEPEND}" 5. Variables like KEYWORDS, DEPEND, RDEPEND, etc.. can be sorted for consistency. If you need help, feel free to let us know.
Created attachment 374600 [details] ibus-cangjie-2.1.ebuild In reply to comment 12 : 1) Corrected inherits. Corrected python eclasses. 2) Reexamined the configure.ac and added in dependencies. 3) Version range for ibus has been added. 4) They are not the same now. However thanks for the tip :) 5) Variables have been sorted. I have attached a new ebuild to correct all of the above issues.
Comment on attachment 374600 [details] ibus-cangjie-2.1.ebuild >DEPEND=">=app-i18n/ibus-1.4.1 > app-i18n/libcangjie > dev-python/cangjie Please take a look at PYTHON_USEDEP from python-r1.eclass > dev-util/intltool > sys-devel/gettext" This ebuild also need to be improved to support multiple python version as dev-python/cangjie do.
Created attachment 375116 [details] ibus-cangjie-2.1.ebuild In reply to comment 14 Fixed "PYTHON_USEDEP" issues. Fixed multiple python version support.
(In reply to Brendan Horan from comment #15) > Created attachment 375116 [details] > ibus-cangjie-2.1.ebuild > > In reply to comment 14 > > Fixed "PYTHON_USEDEP" issues. It seems it still lack PYTHON_USEDEP usage. PYTHON_USEDEP is used to pull dependending package with same PYTHON_TARGETS. Please check PYTHON_USEDEP usage from python-r1.eclass
Created attachment 375174 [details] ibus-cangjie-2.1.ebuild Added PYTHON_USEDEP I hope that is the correct usage of this.
(In reply to Brendan Horan from comment #17) > Created attachment 375174 [details] > ibus-cangjie-2.1.ebuild > > Added PYTHON_USEDEP > I hope that is the correct usage of this. You may also need to use gnome2_icon_{savelist,cache_update} from gnome2-utils.eclass so that /usr/share/icons/hicolor/icon-theme.cache is updated after the install.
Created attachment 375572 [details] ibus-cangjie-2.1.ebuild Added "gnome2_icon_savelist" and "gnome2_icon_cache_update". Updates the cache now : * Updating icons cache ... [ ok ] # ls -la /usr/share/icons/hicolor/icon-theme.cache -rw-r--r-- 1 root root 26911824 Apr 24 08:51 /usr/share/icons/hicolor/icon-theme.cache # date Thu Apr 24 08:52:03 HKT 2014 Attached new ebuild.
Now it get in to the tree! Thank you for the work!