This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
packages:psi [2008-08-03 12:09] grizz |
packages:psi [2008-09-20 16:10] grizz patches updated |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | |||
- | |||
- | ====== Psi ====== | ||
- | |||
- | |||
- | ===== Links ===== | ||
- | |||
- | * [[http://psi-im.org/|project homepage]] | ||
- | * [[http://flyspray.psi-im.org/|Flyspray bug tracker]] | ||
- | |||
- | |||
- | ===== General info ===== | ||
- | The Psi package is avaliable in various versions: | ||
- | |||
- | <gloss><label>stable</label><item></item> official stable version | ||
- | CVS tag: HEAD | ||
- | in the main distribution line | ||
- | <label>testing</label><item></item> CVS snapshots | ||
- | CVS tag: DEVEL | ||
- | newest version can always be built from repo | ||
- | </gloss>Moreover if the version contains the string //patched// (eg. psi-0.9.3-0.20050102.4patched) than this package has a moderate amount of patches applied, which were not accepted (sometimes it's just a matter of time) by Psi developers. | ||
- | |||
- | |||
- | |||
- | ===== Patches ===== | ||
- | Here is the list of patches applied to the //patched// versions: | ||
- | |||
- | |||
- | * status indicator (small "i" layered over the contacts' roster icon) showing if a contact set a status text | ||
- | * the "Online" default status text is removed | ||
- | * [[#status_history|status history]] | ||
- | * nicechats (allows setting arbitrary colors for the chat dialog) | ||
- | * [[#rich_roster|rich roster]] | ||
- | * [[#custom_os|custom os patch]] | ||
- | * [[http://www.cs.kuleuven.ac.be/~remko/psi/rc/|ad-hoc commands]] | ||
- | * [[http://article.gmane.org/gmane.linux.pld.user.polish/531|embedding LaTeX formulas in chat windows]] | ||
- | * [[http://machekku.uaznia.net/jabber/psi/patches/#psi-machekku-contact_icons_at_top-for_psi-psz.diff|emoticons advanced toggle]] (temporarily disabled from build) | ||
- | * [[http://machekku.uaznia.net/jabber/psi/patches/#psi-machekku-emoticons_advanced_toggle.diff|contact icons at top]] | ||
- | * [[http://machekku.uaznia.net/jabber/psi/patches/#psi-machekku-enable_thread_in_messages.diff|enable <thread/> in messages]] | ||
- | * [[http://www.cs.kuleuven.ac.be/~remko/psi/|JEP-0093 (Roster Items Exchange)]] | ||
- | * [[http://home.unclassified.de/psi.php|Custom (per contact) setting for message sounds, availability popups and visibility on the roster (on, off, default)]] (custom-sound-popup(on-psz).diff) | ||
- | /* UndefinedMacro: Anchor(status_history) */ | ||
- | |||
- | ==== Status history ==== | ||
- | Taken from the patch announcement on the psi-devel mailing list: | ||
- | |||
- | <file>with this patch: | ||
- | - statusdlg - alt+up/down recent status history | ||
- | - config.xml - option to set history length and flag 'store presets' | ||
- | (should preset statuses be stored in 'recent' list) | ||
- | :o) | ||
- | J/S. | ||
- | </file> | ||
- | /* UndefinedMacro: Anchor(rich_roster) */ | ||
- | |||
- | ==== Rich roster ==== | ||
- | Also taken from the patch announcement on the psi-devel mailing list: | ||
- | |||
- | <file>Subject: [Psi-devel] [patch] roster item custom display | ||
- | From: Jacek Tomasiak <groups@skazi.prv.pl> | ||
- | To: psi-devel <psi-devel@lists.sourceforge.net> | ||
- | Date: Thu, 18 Mar 2004 13:44:58 +0100 | ||
- | |||
- | patch for flyspray task #157 | ||
- | http://psi.affinix.com/flyspray/index.php?do=details&id=157 | ||
- | |||
- | 1. class RichListViewItem - general RichText("html") support for list | ||
- | views. It is optimized for non-flicker display, but it's obvious | ||
- | that rendering RichText is more time consuming that normal | ||
- | DrawText. Multiline items are handled in "natural way" by <br> | ||
- | tags, it seems to be the most flexible solution. Text is "auto | ||
- | wrapped" to roster width by default. To avoid this use | ||
- | <nobr></nobr> tags (doesn't add "..." for long strings :o( ) | ||
- | |||
- | 2. changes in contactview: | ||
- | * custom "templates" are attached to contacts like custom iconsets, | ||
- | with regex matched against jid | ||
- | * at this moment available features are: | ||
- | - html formatting (you can change font, color, size... of selected | ||
- | contacts) | ||
- | - additional tags ("!" versions start newline if result of tag not | ||
- | empty, this way you won't have empty lines in roster, to force line | ||
- | break use simple <br> tag): | ||
- | -- <text>, <!text> - name of contact (default) | ||
- | -- <jid>, <!jid> - bare jid | ||
- | -- <status_msg>, <!status_msg> - text status message (if present) | ||
- | (need to add some trimming maybe) | ||
- | -- more to come... suggestions please (priority, resource, status | ||
- | as text ("online", "away", etc.), client version, auth state) | ||
- | * template interpretation can be extended easily by reimplementing | ||
- | expandTemplate() virtual function (done in contactview) | ||
- | * emoticons are supported, just like in tooltip | ||
- | |||
- | 3. configuration is done in config.xml at this point. Template strings | ||
- | have to be escaped (xml!) (I don't want to mess with current | ||
- | optionsdlg layout, waiting for decisions from the core-team :oD) | ||
- | EXAMPLE: | ||
- | ... | ||
- | <templates> | ||
- | <!-- agents/transports/servers -> "NAME (service)", service is in green --> | ||
- | <item regExp="^[^@]*$" template="<nobr><TEXT> (<font color="green">service</font>)</nobr>" /> | ||
- | <!-- selected contacts -> "NAME[<br>STATUS MESSAGE]", second line in -1 white font --> | ||
- | <item regExp="justin|mblsha|skazi" template="<nobr><TEXT></nobr><font size="-1" color="white"><!STATUS_MSG></font>" /> | ||
- | </templates> | ||
- | ... | ||
- | |||
- | some screenshots can be found at: http://skazi.jogger.pl | ||
- | any comments are welcome | ||
- | enjoy | ||
- | +SkaZi | ||
- | -- | ||
- | | PZDR Jacek aka SkaZi \\ | ||
- | | mail: skazi@skazi.prv.pl "Oset nie ma zadnego /O `----. | ||
- | | jabber: skazi@chrome.pl pozytku z tego, ze * (_.-. )\ | ||
- | | GG# 1699141 ICQ# 111926958 sie na nim siedzi..." *|* rs //--// X | ||
- | </file> | ||
- | |||
- | |||
- | <file>Subject: Re: [Psi-devel] [patch] roster item custom display | ||
- | From: Jacek Tomasiak <groups@skazi.prv.pl> | ||
- | To: Jacek Tomasiak <psi-devel@lists.sourceforge.net> | ||
- | Date: Fri, 19 Mar 2004 20:48:22 +0100 | ||
- | |||
- | update, some fixes, | ||
- | new fields: | ||
- | * subscription status | ||
- | * resource name | ||
- | * priority | ||
- | * client version (todo: trimming) | ||
- | (for max priority resource) | ||
- | J/S | ||
- | -- | ||
- | | PZDR Jacek aka SkaZi \\ | ||
- | | mail: skazi@skazi.prv.pl "Oset nie ma zadnego /O `----. | ||
- | | jabber: skazi@chrome.pl pozytku z tego, ze * (_.-. )\ | ||
- | | GG# 1699141 ICQ# 111926958 sie na nim siedzi..." *|* rs //--// X | ||
- | </file> | ||
- | /* UndefinedMacro: Anchor(custom_os) */ | ||
- | |||
- | ==== Custom OS ==== | ||
- | This patch allows you to set your own operating system string without recompiling Psi or modifying system files. | ||
- | |||
- | To change the OS string reported to other users create a file called ''~/.psi/custom-os'' with the desired string in the first (and only) line. For example: | ||
- | |||
- | <file>PLD Linux 2.6.10-0.37 w/ reiser4 fs | ||
- | </file> | ||
- | |||
- | |||
- | ==== TODO ==== | ||
- | |||
- | * make the instructions more user friendly | ||
- | |||
- | |||
- | |||
- | [[:CategoryUpdateNeeded|CategoryUpdateNeeded]] | ||
- | |||