Bug 1135673 - Patch to build gambas3-gb-geom sub-package
Summary: Patch to build gambas3-gb-geom sub-package
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: gambas3
Version: 20
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Tom "spot" Callaway
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-30 07:18 UTC by Joshua Rich
Modified: 2014-09-02 22:01 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-09-02 17:57:09 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
patch to gambas3.spec to build gambas-gb-geom (1.53 KB, text/plain)
2014-08-30 07:18 UTC, Joshua Rich
no flags Details

Description Joshua Rich 2014-08-30 07:18:29 UTC
Created attachment 932875 [details]
patch to gambas3.spec to build gambas-gb-geom

The attached patch to the gambas3 spec file allows building of the gambas3-gb-geom sub-package.  This is based off the spec file in openSUSE. I'm not sure why this sub-package isn't included in Fedora, is there a distribution issue?  If all okay, is it possible to integrate this patch so that we can get gambas-gb-geom on Fedora?

Comment 1 Tom "spot" Callaway 2014-09-02 17:57:09 UTC
It's not included in Fedora because the upstream Gambas maintainer doesn't want it done that way. He has a very specific set of rules about what subpackages are created and which files go inside of them:

http://gambaswiki.org/wiki/howto/package

He specifically calls out the geom files as a "hidden component" that must go in the gambas3-runtime package:

* The gb.geom hidden component: gb.geom.info, gb.geom.list, gb.geom.so.*, gb.geom.la.

****

That's where he wants those files, so that's where we put them. And they're in the gambas3-runtime package in all versions of Fedora (I doublechecked).

[spot@localhost master]$ repoquery -ql gambas3-runtime |grep geom
/usr/lib64/gambas3/gb.geom.la
/usr/lib64/gambas3/gb.geom.so
/usr/lib64/gambas3/gb.geom.so.0
/usr/lib64/gambas3/gb.geom.so.0.0.0

If anything, this is a bug in opensuse's packaging, for not following the upstream gambas3 standard.

Comment 2 Joshua Rich 2014-09-02 22:01:53 UTC
Apologies, I did not realize the packaging standards for gambas. I was trying to package for Fedora a program I found on openSUSE that uses gambas and basing the changes off that. 

I'll look into submitting a bug to openSUSE and point them at the upstream docs and this bug. 

Thanks and regards.

(In reply to Tom "spot" Callaway from comment #1)
> It's not included in Fedora because the upstream Gambas maintainer doesn't
> want it done that way. He has a very specific set of rules about what
> subpackages are created and which files go inside of them:
> 
> http://gambaswiki.org/wiki/howto/package
> 
> He specifically calls out the geom files as a "hidden component" that must
> go in the gambas3-runtime package:
> 
> * The gb.geom hidden component: gb.geom.info, gb.geom.list, gb.geom.so.*,
> gb.geom.la.
> 
> ****
> 
> That's where he wants those files, so that's where we put them. And they're
> in the gambas3-runtime package in all versions of Fedora (I doublechecked).
> 
> [spot@localhost master]$ repoquery -ql gambas3-runtime |grep geom
> /usr/lib64/gambas3/gb.geom.la
> /usr/lib64/gambas3/gb.geom.so
> /usr/lib64/gambas3/gb.geom.so.0
> /usr/lib64/gambas3/gb.geom.so.0.0.0
> 
> If anything, this is a bug in opensuse's packaging, for not following the
> upstream gambas3 standard.


Note You need to log in before you can comment on or make changes to this bug.