From Fedora Project Wiki

No edit summary
mNo edit summary
Line 13: Line 13:
     $ sudo yum-builddep -y geany-plugins/geany-plugins.spec # again, no complaints :)
     $ 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
     $ 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 lots of plugin rpms :)
     $ 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:
Then I tried to install all/some plugins. When installing all plugins, there was missing dependencies:

Revision as of 17:03, 25 April 2014

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.