From Fedora Project Wiki

Revision as of 20:04, 28 April 2014 by Dmaphy (talk | contribs)

Hi Dominic, is it possible for you to build geany and geany-plugins also for EPEL? If not, can you provide me with some support to do it? I have some packaging skills. --Stardust85 (talk) 14:54, 25 April 2014 (UTC)

As discussed on jabber, I'd like to be a co-maintainter, which will maintain the EL6 (and in future maybe also EL7) branch. --Stardust85 (talk) 15:28, 25 April 2014 (UTC)

I already did this:

   $ fedpkg clone --anonymous geany # cloned the pkg
   $ fedpkg clone --anonymous geany-plugins
   $ spectool -g -R geany/geany.spec # downloaded the source tarball/patches
   $ spectool -g -R geany-plugins/geany-plugins.spec
   $ sudo yum-builddep -y geany/geany.spec # installed build dependencies (all was installable from Oracle Linux 6 official repo + EPEL)
   $ rpmbuild -bb geany/geany.spec # successfully built geany, geany-devel and geany-debuginfo
   $ sudo rpm -Uvh ~/rpmbuild/RPMS/x86_64/geany-devel-1.24.1-1.el6.x86_64.rpm ~/rpmbuild/RPMS/x86_64/geany-1.24.1-1.el6.x86_64.rpm # installed my new packages
   $ geany # tested, it works
   $ sudo yum-builddep -y geany-plugins/geany-plugins.spec # again, no complaints :)
   $ cp geany-plugins/*.patch ~/rpmbuild/SOURCES # here are some patches, which are needed to put to SOURCES
   $ rpmbuild -bb geany-plugins/geany-plugins.spec # this step took really long (some minutes) and puked tons of lines, but finally built all of the plugin rpms :)

Then I tried to install all/some plugins. When installing all plugins, there was missing dependencies:

   [nsbuild@devbox x86_64]$ sudo rpm -Uvh geany-plugins-*
   error: Failed dependencies:
       python-docutils is needed by geany-plugins-geanygendoc-1.24-1.el6.x86_64
       tex(latex) is needed by geany-plugins-geanylatex-1.24-1.el6.x86_64
       gdb >= 7.3 is needed by geany-plugins-scope-1.24-1.el6.x86_64
   [nsbuild@devbox x86_64]$ 

The most important thing for me is that the geanyvc plugin works :)

Is this the correct way to build and test it? I probably don't have koji access yet.


I've built Geany for epel7 and el6 without issues. Update for el6 will be available via updates-testing:
https://admin.fedoraproject.org/updates/geany-1.24.1-1.el6
Builds for geany-plugins for el6 are failing currently (epel7 branch not available yet, but requested):
http://koji.fedoraproject.org/koji/taskinfo?taskID=679196
--Dmaphy (talk) 20:04, 28 April 2014 (UTC)