iBus, like SCIM(textproc/scim), is a platform for input methods. It is still under development, but is very stable and usable already. There are also several input method modules for it, including ibus-pinyin, I'm planning to port them later. WWW: http://code.google.com/p/ibus Since WITH_* must be after bsd.port.pre.mk, and USE_QT_VER must be before bsd.port.pre.mk,and one of the OPTIONS determines if USE_QT_VER is necessary. So I set QT_COMPONENTS first and clear it later if it is not needed. Maybe there's a better way to specify this. Fix: Patch attached with submission follows:
Responsible Changed From-To: freebsd-ports-bugs->miwi I'll take it.
State Changed From-To: open->closed Feedback timeout. If you want to fix this port, please feel free to follow-up this PR so that we can re-open it.
Feedback timeout?
State Changed From-To: closed->open reopen by submitter request.
Responsible Changed From-To: miwi->freebsd-ports-bugs back to pool.
Responsible Changed From-To: freebsd-ports-bugs->pgollucci I'll take it.
State Changed From-To: open->feedback wrong depends
# depends on dbus, py-dbus BUILD_DEPENDS+= py25-dbus>=0.83.0:${PORTSDIR}/devel/py-dbus DEPENDS+= py25-dbus>=0.83.0:${PORTSDIR}/devel/py-dbus (see PYTHON_SITELIBDIR) At least the above are wrong, please have a look at these too: USE_GETTEXT USE_LDCONFIG pkg-plist needs work too see at minimum %%PYTHON_SITELIBDIR%% macro -- ------------------------------------------------------------------------ 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Philip M. Gollucci (pgollucci@p6m7g8.com) c: 703.336.9354 Consultant - P6M7G8 Inc. http://p6m7g8.net Senior Sys Admin - RideCharge, Inc. http://ridecharge.com Contractor - PositiveEnergyUSA http://positiveenergyusa.com ASF Member - Apache Software Foundation http://apache.org FreeBSD Committer - FreeBSD Foundation http://freebsd.org Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching.
If I use py25-dbus-0.82.4, ibus cannot start: Starting ibus-daemon OK Traceback (most recent call last): File "/usr/local/share/ibus/daemon/ibusdaemon.py", line 27, in <module> import dbus.server ImportError: No module named server So it needs at least py-dbus 0.83.0. I cannot depend on ${PYTHON_SITELIBDIR}/dbus/__init__.py only, since it may be installed by an older version. Shall I use RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}dbus>=0.83.0:${PORTSDIR}/devel/py-dbus Since it does not need it to build, I use RUN_DEPENDS I've added USE_GETTEXT=yes USE_LDCONFIG=yes I changed pkg-plist to use %%PYTHON_SITELIBDIR%%. There're still error messages when running, but I can use ibus. On Tue, Jan 27, 2009 at 4:17 PM, Philip M. Gollucci <pgollucci@p6m7g8.com> wrote: > # depends on dbus, py-dbus > BUILD_DEPENDS+= py25-dbus>=0.83.0:${PORTSDIR}/devel/py-dbus > DEPENDS+= py25-dbus>=0.83.0:${PORTSDIR}/devel/py-dbus > (see PYTHON_SITELIBDIR) > > At least the above are wrong, please have a look at these too: > USE_GETTEXT > USE_LDCONFIG > > pkg-plist needs work too see at minimum %%PYTHON_SITELIBDIR%% macro > > -- > ------------------------------------------------------------------------ > 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C > Philip M. Gollucci (pgollucci@p6m7g8.com) c: 703.336.9354 > Consultant - P6M7G8 Inc. http://p6m7g8.net > Senior Sys Admin - RideCharge, Inc. http://ridecharge.com > Contractor - PositiveEnergyUSA > http://positiveenergyusa.com > ASF Member - Apache Software Foundation http://apache.org > FreeBSD Committer - FreeBSD Foundation http://freebsd.org > > Work like you don't need the money, > love like you'll never get hurt, > and dance like nobody's watching. >
State Changed From-To: feedback->open Feedback received
Responsible Changed From-To: pgollucci->pav Take over
State Changed From-To: open->feedback Hi! Can you update the port to recent versions? I see google code page already have 1.1.0.something. The way you suggested py-dbus dependency in last mail is correct. I promise to look at the updated ports ASAP.
I've changed the port for the new version, and it's in the attachment. I used pkg_genplist, and fixed pkg-plist it generated, maybe there are still some errors. On Wed, Mar 25, 2009 at 11:46 PM, <pav@freebsd.org> wrote: > Synopsis: New port: textproc/ibus Intelligent Input Bus for Linux / Unix OS > > State-Changed-From-To: feedback->open > State-Changed-By: pav > State-Changed-When: Wed Mar 25 15:45:11 UTC 2009 > State-Changed-Why: > Feedback received > > > Responsible-Changed-From-To: pgollucci->pav > Responsible-Changed-By: pav > Responsible-Changed-When: Wed Mar 25 15:45:11 UTC 2009 > Responsible-Changed-Why: > Take over > > http://www.freebsd.org/cgi/query-pr.cgi?pr=128371 >
In the attachment, is the chinese/ibus-pinyin port. This is rather a simple port I think, but its configure does not check for some dependencies which must be found by looking at the python source... On Thu, Mar 26, 2009 at 3:49 PM, Henry Hu <henry.hu.sh@gmail.com> wrote: > I've changed the port for the new version, and it's in the attachment. > I used pkg_genplist, and fixed pkg-plist it generated, maybe there are > still some errors. > > On Wed, Mar 25, 2009 at 11:46 PM, <pav@freebsd.org> wrote: >> Synopsis: New port: textproc/ibus Intelligent Input Bus for Linux / Unix OS >> >> State-Changed-From-To: feedback->open >> State-Changed-By: pav >> State-Changed-When: Wed Mar 25 15:45:11 UTC 2009 >> State-Changed-Why: >> Feedback received >> >> >> Responsible-Changed-From-To: pgollucci->pav >> Responsible-Changed-By: pav >> Responsible-Changed-When: Wed Mar 25 15:45:11 UTC 2009 >> Responsible-Changed-Why: >> Take over >> >> http://www.freebsd.org/cgi/query-pr.cgi?pr=128371 >> >
pav 2009-03-26 09:24:35 UTC FreeBSD ports repository Modified files: textproc Makefile Added files: textproc/ibus Makefile distinfo pkg-descr pkg-message pkg-plist Log: Intelligent Input Bus for Linux / Unix OS, iBus, is the next generation input framework, developed by the developer of scim-python, includes all its function, and much more. This is the base port, you need input methods such as pinyin to input text. WWW: http://code.google.com/p/ibus PR: ports/128371 Submitted by: Henry Hu <henry.hu.sh@gmail.com> Revision Changes Path 1.1321 +1 -0 ports/textproc/Makefile 1.1 +90 -0 ports/textproc/ibus/Makefile (new) 1.1 +3 -0 ports/textproc/ibus/distinfo (new) 1.1 +7 -0 ports/textproc/ibus/pkg-descr (new) 1.1 +35 -0 ports/textproc/ibus/pkg-message (new) 1.1 +267 -0 ports/textproc/ibus/pkg-plist (new) _______________________________________________ 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"
Ok, port added after several changes and fixes. You might wish to compare the committed version to your version, so you know what I fixed. > I've changed the port for the new version, and it's in the attachment. > I used pkg_genplist, and fixed pkg-plist it generated, maybe there are > still some errors. > > On Wed, Mar 25, 2009 at 11:46 PM, <pav@freebsd.org> wrote: > > Synopsis: New port: textproc/ibus Intelligent Input Bus for Linux / Unix OS > > > > State-Changed-From-To: feedback->open > > State-Changed-By: pav > > State-Changed-When: Wed Mar 25 15:45:11 UTC 2009 > > State-Changed-Why: > > Feedback received > > > > > > Responsible-Changed-From-To: pgollucci->pav > > Responsible-Changed-By: pav > > Responsible-Changed-When: Wed Mar 25 15:45:11 UTC 2009 > > Responsible-Changed-Why: > > Take over > > > > http://www.freebsd.org/cgi/query-pr.cgi?pr=128371 > > -- Pav Lucistnik <pav@oook.cz> <pav@FreeBSD.org> I cannot be responsible for future messages as apparently my cats have learned to type.
State Changed From-To: feedback->closed New ports added
pav 2009-03-26 09:36:38 UTC FreeBSD ports repository Modified files: chinese Makefile Added files: chinese/ibus-pinyin Makefile distinfo pkg-descr pkg-plist Log: PinYin engine for IBus. WWW: http://code.google.com/p/ibus PR: ports/128371 Submitted by: Henry Hu <henry.hu.sh@gmail.com> Revision Changes Path 1.274 +1 -0 ports/chinese/Makefile 1.1 +43 -0 ports/chinese/ibus-pinyin/Makefile (new) 1.1 +6 -0 ports/chinese/ibus-pinyin/distinfo (new) 1.1 +3 -0 ports/chinese/ibus-pinyin/pkg-descr (new) 1.1 +53 -0 ports/chinese/ibus-pinyin/pkg-plist (new) _______________________________________________ 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"
Added, too! Henry Hu pí¹e v èt 26. 03. 2009 v 17:00 +0800: > In the attachment, is the chinese/ibus-pinyin port. > This is rather a simple port I think, but its configure does not check > for some dependencies which must be found by looking at the python > source... > > On Thu, Mar 26, 2009 at 3:49 PM, Henry Hu <henry.hu.sh@gmail.com> wrote: > > I've changed the port for the new version, and it's in the attachment. > > I used pkg_genplist, and fixed pkg-plist it generated, maybe there are > > still some errors. > > > > On Wed, Mar 25, 2009 at 11:46 PM, <pav@freebsd.org> wrote: > >> Synopsis: New port: textproc/ibus Intelligent Input Bus for Linux / Unix OS > >> > >> State-Changed-From-To: feedback->open > >> State-Changed-By: pav > >> State-Changed-When: Wed Mar 25 15:45:11 UTC 2009 > >> State-Changed-Why: > >> Feedback received > >> > >> > >> Responsible-Changed-From-To: pgollucci->pav > >> Responsible-Changed-By: pav > >> Responsible-Changed-When: Wed Mar 25 15:45:11 UTC 2009 > >> Responsible-Changed-Why: > >> Take over > >> > >> http://www.freebsd.org/cgi/query-pr.cgi?pr=128371 > >> > > -- Pav Lucistnik <pav@oook.cz> <pav@FreeBSD.org> On second thought, let's not go to Camelot. It is a silly place.