Bug 588345 - move mysql, postgresql and virtuoso plugins into subpackages to minimise dependencies
Summary: move mysql, postgresql and virtuoso plugins into subpackages to minimise depe...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: redland
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Orcan Ogetbil
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: FedoraMini
TreeView+ depends on / blocked
 
Reported: 2010-05-03 14:14 UTC by Peter Robinson
Modified: 2010-06-10 02:27 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-05-08 11:50:06 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Peter Robinson 2010-05-03 14:14:25 UTC
redland pulls in mysql-libs and postgresql-libs and associated deps. This adds extra requirements to spins that are trying to stay small while providing maximum media coverage by including gstreamer-plugins-bad-free.

Please split out the mysql and postgresql storage plugins into separate sub packages as they aren't required for using redland in its default configuration.

Comment 1 Orcan Ogetbil 2010-05-08 10:08:38 UTC
There are 

%{_libdir}/redland/librdf_storage_mysql.so
%{_libdir}/redland/librdf_storage_postgresql.so
%{_libdir}/redland/librdf_storage_sqlite.so
%{_libdir}/redland/librdf_storage_virtuoso.so

Do we need to split all, or just librdf_storage_mysql.so and librdf_storage_postgresql.so ?

Comment 2 Peter Robinson 2010-05-08 10:14:41 UTC
Just

%{_libdir}/redland/librdf_storage_mysql.so
%{_libdir}/redland/librdf_storage_postgresql.so

Into a -mysql and -pgsql subpackage.

Comment 3 Orcan Ogetbil 2010-05-08 11:50:06 UTC
I made the split in rawhide:
   http://koji.fedoraproject.org/koji/taskinfo?taskID=2173908

Closing.

Comment 4 Peter Robinson 2010-06-08 18:28:08 UTC
Having looked at other deps that this pulls in I'm not sure if its possible to also split out the iodbc and rasqal support into sub packages too.

Comment 5 Orcan Ogetbil 2010-06-08 18:56:45 UTC
iodbc can be split out as it is only needed by the virtuoso plugin. Should I split it?

rasqal, however, cannot be easily separated as it is needed internally by the redland library. What dependencies get pulled in from the rasqal side that you don't want?

Comment 6 Peter Robinson 2010-06-08 19:15:53 UTC
(In reply to comment #5)
> iodbc can be split out as it is only needed by the virtuoso plugin. Should I
> split it?

Yes please :-)

> rasqal, however, cannot be easily separated as it is needed internally by the
> redland library. What dependencies get pulled in from the rasqal side that you
> don't want?    

It its needed don't worry about it. Its about minimising the deps where possible, but not unnecessarily so it breaks things as well. Basically trying to make installs as small as possible for devices like the XO-1 as well as say a phone or tablet device :-)

Comment 7 Orcan Ogetbil 2010-06-10 02:27:29 UTC
Alright, the virtuoso plugin is split into a subpackage in rawhide (F-14).

Now there is only the sqlite plugin left in the main package.


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