Snakefire: Campfire Desktop client for Linux

LICENSE

Snakefire is released under the [MIT License] license.

TEAM

INSTALLATION

Some operative systems have a quick install method available. If your system / distribution is not listed here, check the MANUAL INSTALLATION section below.

Arch Linux

Snakefire is in an [AUR repository] arch-aur-snakefire. If you have packer packer, you can install it with (if you don't have packer, you should really [get it] packer)

    $ packer -S snakefire

MANUAL INSTALLATION

Requirements

Python Setup Tools

For Ubuntu/Debian based systems, Python setup tools is in the official repositories, and can be installed the following way:

 $ sudo apt-get install python-setuptools

For Fedora, Python setup tools is in the official repositories and can be installed the following way:

 $ yum install python-setuptools

For Arch Linux, Python setup tools is in the extra repository, and can be installed with:

 $ pacman -S python2-distribute

Other OS should refer to the [Python setup tools page] python-setuptools

Pyfire

Pyfire pyfire is required.

For Ubuntu/Debian based systems, Pyfire is in [Zakaria Zajac's PPA] zakaria_zajac_ppa repository, which must be added to install:

    $ sudo add-apt-repository ppa:zak-d/python-pyfire && sudo apt-get update
    $ sudo apt-get install python-pyfire

For Arch Linux, Pyfire is in an [AUR repository] arch-aur-pyfire. If you have packer packer, you can install it with (if you don't have packer, you should really [get it] packer)

 $ packer -S python-pyfire

For Fedora, install Pyfire using Pip, which is in the official repositories

    $ yum install python-pip
    $ pip-python install pyfire

Other OS may install it through Python's PIP pip:

    $ pip install pyfire

Or also using [Easy Install] easy_install:

    $ easy_install pyfire

PyQT4

The python library for QT is required.

For Ubuntu/Debian based systems, PyQT4 is in the official repositories, and can be installed the following way:

 $ sudo apt-get install python-qt4

For Fedora, PyQT4 is in the official repositories, and can be installed with:

    $ yum install PyQt

For Arch Linux, PyQT4 is in the extra repository, and can be installed with:

 $ pacman -S python2-pyqt

Other OS should refer to the [PyQT4 download page] pyqt-download

Keyring

For Ubuntu/Debian based systems, Keyring is in the official repositories, and can be installed the following way:

For Ubuntu (GNOME) or Kubuntu (KDE):

 $ sudo apt-get install python-keyring

For Fedora, Keyring is in the official repositories, and can be installed with:

    $ yum install python-keyring

For Arch Linux, Keyring is in an AUR repository. Install it with packer:

 $ packer -S python-keyring

Other OS should read [Python Keyring installation docs] keyring-install.

If you are on GNOME you also need to install python-gnomekeyring:

For Ubuntu/Debian based systems:

    $ sudo apt-get install python-gnomekeyring

For Fedora systems:

    $ yum install gnome-python2-gnomekeyring

For Arch Linux systems:

    $ pacman -S python-gnomekeyring

All XFCE users should install GNOME keyring.

Notifications

For Ubuntu/Debian based systems, python-notify is in the official repositores, and can be installed the following way:

    $ sudo apt-get install python-notify

For Fedora, python's libnotify is in the official repositories, and can be installed with:

    $ yum install notify-python

For Arch Linux, python-notify is in the extra repository, and can be installed with:

    $ pacman -S python-notify

Spell checking

For Ubuntu/Debian based systems, PyEnchant is in the official repositores, and can be installed the following way:

    $ sudo apt-get install python-enchant

For Fedora, PyEnchant is in the official repositories, and can be installed with:

    $ yum install python-enchant

For Arch Linux, PyEnchant is in the community repository, and can be installed with:

    $ pacman -S python2-pyenchant

You now need to install a relevant dictionary.

For Ubuntu/debian based systems, look for the appropriate aspell dictionary. For example, to install the english dictionary:

    $ sudo apt-get install aspell-en

For Fedora, search for an aspell dictionary. For example, to install the english dictionary:

    $ yum install aspell-en

For Arch Linux, search for an aspell dictionary. For example, to install the english dictionary:

    $ pacman -S aspell-en

Other OS (such as Mac OSX) should look into [installing PyEnchant and appropriate dictionaries] pyenchant

Installing Snakefire

From the path where you have downloaded Snakefire, as root user, do (if you run Arch Linux, change the python to python2):

    $ python setup.py install

For Ubuntu, better with sudo:

    $ sudo python setup.py install

Running the developer version

If you wish to run the latest version of Snakefire, without having to explicitly install it, follow these instructions (make sure to previously install the requirements):

  1. Get the latest development version by cloning from its GIT repository:

     $ git clone git://github.com/mariano/snakefire
     $ cd snakefire
    
  2. If you are on KDE, install the notify configuration to your home directory by running the following commands from the directory where you installed Snakefire:

     $ export KDE_LOCAL_PREFIX=`kde4-config --localprefix`
     $ mkdir -p $KDE_LOCAL_PREFIX/share/apps/Snakefire
     $ cp packaging/linux/*.notifyrc $KDE_LOCAL_PREFIX/share/apps/Snakefire
     $ killall knotify4
    
  3. You are now ready to run Snakefire. Enter the directory where you installed Snakefire, and do:

     $ PYTHONPATH=".:snakefire/" bin/snakefire
    

You can keep up with the latest updates by accessing the directory where you installed Snakefire, and running:

 $ git pull --rebase


Snakefire: Campfire Desktop client for Linux

许可

Snakefire根据[MIT许可证] 许可证发布。

TEAM

INSTALLATION

某些操作系统具有快速安装方法。如果你的系统/分发 未列在此处,请查看下面的手动安装部分。

Arch Linux

Snakefire位于[AUR资源库] arch-aur-snakefire 。如果您有打包者 封隔器, 你可以安装它(如果你没有打包者,你应该真的得到它)打包者

    $ packer -S snakefire

手册安装

要求

Python安装工具

对于基于Ubuntu / Debian的系统,Python设置工具位于官方存储库中, 并可以通过以下方式安装:

 $ sudo apt-get install python-setuptools

对于Fedora ,Python安装工具位于官方存储库中,可以安装 以下方式:

 $ yum install python-setuptools

对于Arch Linux ,Python安装工具位于额外的存储库中,可以安装 与:

 $ pacman -S python2-distribute

其他操作系统应参考[Python安装工具页] python-setuptools

Pyfire

Pyfire pyfire 是需要。

对于基于Ubuntu / Debian的系统,Pyfire在[Zakaria Zajac的PPA] zakaria_zajac_ppa 存储库,必须添加到安装中:

    $ sudo add-apt-repository ppa:zak-d/python-pyfire && sudo apt-get update
    $ sudo apt-get install python-pyfire

对于Arch Linux ,Pyfire位于[AUR资源库] arch-aur- pyfire 。如果您有打包者 封隔器, 你可以安装它(如果你没有打包者,你应该真的得到它)打包者

 $ packer -S python-pyfire

对于Fedora ,请使用位于官方存储库中的Pip安装Pyfire

    $ yum install python-pip
    $ pip-python install pyfire

其他操作系统可以通过Python的 PIP 安装它 pip

    $ pip install pyfire

或使用[简易安装] easy_install

    $ easy_install pyfire

PyQT4

需要用于QT的python库。

对于基于Ubuntu / Debian的系统,PyQT4在官方的存储库中,可以是 安装方式如下:

 $ sudo apt-get install python-qt4

对于Fedora ,PyQT4位于官方存储库中,可以安装:

    $ yum install PyQt

对于Arch Linux ,PyQT4位于额外的存储库中,可以安装:

 $ pacman -S python2-pyqt

其他操作系统应参考[PyQT4下载页面] pyqt-download

Keyring

对于基于Ubuntu / Debian的系统,Keyring位于官方存储库中,可以是 安装方式如下:

对于Ubuntu(GNOME)或Kubuntu(KDE):

 $ sudo apt-get install python-keyring

对于Fedora ,Keyring位于官方存储库中,可以安装:

    $ yum install python-keyring

对于Arch Linux ,Keyring位于AUR存储库中。用packer安装:

 $ packer -S python-keyring

其他操作系统应该读取[Python Keyring安装文档] 密钥环安装

如果您使用的是GNOME ,那么您还需要安装python-gnomekeyring:

对于基于Ubuntu / Debian的系统:

    $ sudo apt-get install python-gnomekeyring

对于Fedora 系统:

    $ yum install gnome-python2-gnomekeyring

对于 Arch Linux 系统:

    $ pacman -S python-gnomekeyring

所有 XFCE 用户应该安装GNOME密钥环。

Notifications

对于基于Ubuntu / Debian的系统,python-notify在官方的存储库中,可以是 安装方式如下:

    $ sudo apt-get install python-notify

对于Fedora ,python的libnotify在官方的存储库中,可以安装:

    $ yum install notify-python

对于Arch Linux ,python-notify位于额外的存储库中,可以安装:

    $ pacman -S python-notify

Spell checking

对于基于Ubuntu / Debian的系统,PyEnchant在官方的存储库中,可以是 安装方式如下:

    $ sudo apt-get install python-enchant

对于Fedora ,PyEnchant位于官方存储库中,可以安装:

    $ yum install python-enchant

对于Arch Linux ,PyEnchant位于社区存储库中,可以安装:

    $ pacman -S python2-pyenchant

您现在需要安装相关的字典。

对于基于Ubuntu / debian的系统,寻找适合的aspell字典。例如, 安装英文字典:

    $ sudo apt-get install aspell-en

对于Fedora ,搜索一个aspell字典。例如,要安装英文字典:

    $ yum install aspell-en

对于 Arch Linux ,搜索一个aspell字典。例如,安装英文 字典:

    $ pacman -S aspell-en

其他操作系统(如Mac OSX)应查看[安装PyEnchant和适用的字典] pyenchant

安装Snakefire

在您以root用户身份下载Snakefire的路径下,执行(如果您运行 Arch Linux ,请更改 python到python2):

    $ python setup.py install

对于Ubuntu ,使用sudo更好:

    $ sudo python setup.py install

Running the developer version

如果您希望运行最新版本的Snakefire,无需 明确安装它,按照这些说明(确保以前 安装要求):

  1. Get the latest development version by cloning from its GIT repository:

     $ git clone git://github.com/mariano/snakefire
     $ cd snakefire
    
  2. If you are on KDE, install the notify configuration to your home directory by running the following commands from the directory where you installed Snakefire:

     $ export KDE_LOCAL_PREFIX=kde4-config --localprefix
     $ mkdir -p $KDE_LOCAL_PREFIX/share/apps/Snakefire
     $ cp packaging/linux/*.notifyrc $KDE_LOCAL_PREFIX/share/apps/Snakefire
     $ killall knotify4
    
  3. You are now ready to run Snakefire. Enter the directory where you installed Snakefire, and do:

     $ PYTHONPATH=".:snakefire/" bin/snakefire
    
您可以通过访问目录来跟上最新的更新 您安装了Snakefire,并运行:

 $ git pull –rebase




相关问题推荐