From Fedora Project Wiki

 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
== Geany and Geany plugins in EPEL ==
 
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. --[[User:Stardust85|Stardust85]] ([[User talk:Stardust85|talk]]) 14:54, 25 April 2014 (UTC)
 
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. --[[User:Stardust85|Stardust85]] ([[User talk: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. --[[User:Stardust85|Stardust85]] ([[User talk:Stardust85|talk]]) 15:28, 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. --[[User:Stardust85|Stardust85]] ([[User talk:Stardust85|talk]]) 15:28, 25 April 2014 (UTC)
Line 13: Line 14:
 
     $ 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:
Line 26: Line 27:
  
 
Is this the correct way to build and test it? I probably don't have koji access yet.
 
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
 +
:: --[[User:Dmaphy|Dmaphy]] ([[User talk:Dmaphy|talk]]) 20:04, 28 April 2014 (UTC)
 +
 +
 +
::: The link you are pointing to is wrong. However, I ran 'fedpkg scratch-build' on el6 branch and it built successfully http://koji.fedoraproject.org/koji/taskinfo?taskID=6794733 (probably caused by your buildroot hack). So we can push it to EPEL updates? --[[User:Stardust85|Stardust85]] ([[User talk:Stardust85|talk]]) 08:31, 30 April 2014 (UTC)
 +
 +
:::: Yes, i think we can proceed then. Not sure why it didn't built before when I tried… --[[User:Dmaphy|Dmaphy]] ([[User talk:Dmaphy|talk]]) 16:51, 3 May 2014 (UTC)

Latest revision as of 16:51, 3 May 2014

Geany and Geany plugins in EPEL

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)


The link you are pointing to is wrong. However, I ran 'fedpkg scratch-build' on el6 branch and it built successfully http://koji.fedoraproject.org/koji/taskinfo?taskID=6794733 (probably caused by your buildroot hack). So we can push it to EPEL updates? --Stardust85 (talk) 08:31, 30 April 2014 (UTC)
Yes, i think we can proceed then. Not sure why it didn't built before when I tried… --Dmaphy (talk) 16:51, 3 May 2014 (UTC)