Rabbitvcs on Centos6.2

Assalamualaykum,
Hai I'm back again,rabbitcvs is a great tools for svn frontend but its hard to install and find the rpm package for CentOs 6.2, here I success install rabbitvcs using fedora14 source package.
you need epel repo for this
rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-5.noarch.rpm
do a repo list in yum
[root@fazries.com ~]# yum repolist

Install the package, for rebuild rabbitvcs, the package are:
rpm-build pygtk2 subversion subversion-devel gcc gcc-c++ neon-devel python-devel pygtk2-devel python-configobj nautilus-devel meld libX11-devel pygobject2 pysvn python-dulwich gnome-vfs2-devel gnome-python2-devel make python-simplejson
[root@fazries.com ~]# yum install rpm-build pygtk2 subversion subversion-devel gcc gcc-c++ neon-devel python-devel pygtk2-devel python-configobj nautilus-devel meld libX11-devel pygobject2 pysvn python-dulwich  --nogpgcheck
[root@fazries.com ~]# yum install gnome-vfs2-devel gnome-python2-devel
[root@fazries.com ~]# yum install python-simplejson
[root@fazries.com ~]# yum install make
Download the rpm source for rabbitvcs
[root@fazries.com ~]# wget -c http://download.fedora.redhat.com/pub/fedora/linux/updates/14/SRPMS/rabbitvcs-0.14.2.1-3.fc14.src.rpm
[root@fazries.com ~]# wget -c http://download.fedora.redhat.com/pub/fedora/linux/releases/14/Everything/source/SRPMS/nautilus-python-0.7.0-2.fc14.src.rpm
Rebuild the package
[root@fazries.com ~]# rpmbuild --rebuild rabbitvcs-0.14.2.1-3.fc14.src.rpm
Wrote: /root/rpmbuild/RPMS/noarch/rabbitvcs-core-0.14.2.1-3.el6.noarch.rpm
Wrote: /root/rpmbuild/RPMS/x86_64/rabbitvcs-nautilus-0.14.2.1-3.el6.x86_64.rpm
Wrote: /root/rpmbuild/RPMS/x86_64/rabbitvcs-thunar-0.14.2.1-3.el6.x86_64.rpm
Wrote: /root/rpmbuild/RPMS/x86_64/rabbitvcs-gedit-0.14.2.1-3.el6.x86_64.rpm
Wrote: /root/rpmbuild/RPMS/noarch/rabbitvcs-cli-0.14.2.1-3.el6.noarch.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.1Y4O4p
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd rabbitvcs-0.14.2.1
+ rm -rf /root/rpmbuild/BUILDROOT/rabbitvcs-0.14.2.1-3.fc14.x86_64
+ exit 0
Executing(--clean): /bin/sh -e /var/tmp/rpm-tmp.WKTO2p
+ umask 022
+ cd /root/rpmbuild/BUILD
+ rm -rf rabbitvcs-0.14.2.1
+ exit 0
Rebuild package nautilus-python
[root@fazries.com ~]# rpmbuild --rebuild nautilus-python-0.7.0-2.fc14.src.rpm --nosignature
Wrote: /root/rpmbuild/RPMS/x86_64/nautilus-python-0.7.0-2.el6.x86_64.rpm
Wrote: /root/rpmbuild/RPMS/x86_64/nautilus-python-devel-0.7.0-2.el6.x86_64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.6hyEjj
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd nautilus-python-0.7.0
+ rm -rf /root/rpmbuild/BUILDROOT/nautilus-python-0.7.0-2.fc14.x86_64
+ exit 0
Executing(--clean): /bin/sh -e /var/tmp/rpm-tmp.rgSbin
+ umask 022
+ cd /root/rpmbuild/BUILD
+ rm -rf nautilus-python-0.7.0
+ exit 0
Install nautilus-python
[root@fazries.com ~]# yum localinstall rpmbuild/RPMS/x86_64/nautilus-python-0.7.0-2.el6.x86_64.rpm
Install rabbitvcs core and cli
[root@fazries.com ~]# yum localinstall rpmbuild/RPMS/noarch/rabbitvcs-cli-0.14.2.1-3.el6.noarch.rpm rpmbuild/RPMS/noarch/rabbitvcs-core-0.14.2.1-3.el6.noarch.rpm

[root@fazries.com ~]# yum localinstall rpmbuild/RPMS/x86_64/rabbitvcs-nautilus-0.14.2.1-3.el6.x86_64.rpm rpmbuild/RPMS/x86_64/rabbitvcs-gedit-0.14.2.1-3.el6.x86_64.rpm
We need to modify setting.py there is a bug, we cannot run rabbitvcs settings, you can refer to this page
http://code.google.com/p/rabbitvcs/issues/detail?id=591#c0
replace this line
self.get_widget("pages").get_nth_page(5).set_visible(show_git)
[root@fazries.com ~]# vi /usr/lib/python2.6/site-packages/rabbitvcs/ui/settings.py
#self.get_widget("pages").get_nth_page(5).set_visible(show_git)

 if show_git:
                self.get_widget("pages").get_nth_page(5).show()
        else:
                self.get_widget("pages").get_nth_page(5).hide()
make a symbolic link from /usr/lib/ to /usr/lib64 for rabbitvcs package
ln -s /usr/lib/python2.6/site-packages/rabbitvcs /usr/lib64/python2.6/site-packages/rabbitvcs
ln -s /usr/lib/python2.6/site-packages/rabbitvcs-0.14.2.1-py2.6.egg-info /usr/lib64/python2.6/site-packages/rabbitvcs-0.14.2.1-py2.6.egg-info
Next reboot your GDM, and setup your gedit to activate rabbitvcs plugins
check the rabbitvcs plugins
rabbitvcs on my nautilus

Comments

  1. can u please give a method to install it in CentOS 5.7 x86_64

    ReplyDelete
    Replies
    1. Hai Jhon,
      for CentOS 5.7, I never try it before but you can try :-). CentOS 6.2 package are base on using fedora 13 or 14.
      I think you can build it like my way, just need to upgrade several packages for rabbitvcs.

      Delete
  2. yes, you are right :-), me also, miss the icon at the menus. but you can make it by your own. the icon for menu list.

    note: I need google translate to understand this comments, :-).

    ReplyDelete
  3. I think the link for the repo now is rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-5.noarch.rpm.

    ReplyDelete
    Replies
    1. hai, thanks for the correction,I will update the manual.

      Delete
  4. Hi,

    Many thanks for this article. The download link has also changed:

    http://dl.fedoraproject.org/pub/fedora/linux/updates/15/SRPMS/rabbitvcs-0.14.2.1-3.fc15.src.rpm

    Thx.

    ReplyDelete
    Replies
    1. Sorry, correct links are here. Please ignore my last post:

      http://archives.fedoraproject.org/pub/archive/fedora/linux/updates/14/SRPMS/rabbitvcs-0.14.2.1-3.fc14.src.rpm


      http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/14/Everything/source/SRPMS/nautilus-python-0.7.0-2.fc14.src.rpm

      Delete

Post a Comment