Bug 648964

Summary: build shared library for qd
Product: [Fedora] Fedora Reporter: Jens Petersen <petersen>
Component: qdAssignee: Susi Lehtola <susi.lehtola>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: susi.lehtola
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qd-2.3.11-2.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-12-12 20:00:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
qd-shared-lib.patch none

Description Jens Petersen 2010-11-02 15:57:12 UTC
Description of problem:
I see Debian (and hear Ubuntu) have libqd.so built with now.
http://packages.debian.org/sid/libqd0
Any reason we can't have it now for Fedora too? :)

Steps to Reproduce:
1. yum list qd
  
Actual results:
no package

Expected results:
qd package with shared object library.

Additional info:
Yes I see from the original review that it was
not possible then, but seems it is now possible.

Comment 1 Susi Lehtola 2010-11-02 16:40:54 UTC
Well, I see a few problems.

1. The tarball of 2.3.11 doesn't contain any declaration of a license whatever.

2. There is a license at http://crd.lbl.gov/~dhbailey/mpdist/ which is a BSD variant, however the web page also states that
"If you wish to use the software for commercial purposes please contact the LBNL Technology Transfer Department at TTD or call 510-286-6457."

3. Automake support was present in 2.3.7, but is no longer present in 2.3.11.

The main thing is that upstream doesn't support building shared libraries. I don't want to invent sonames for packages that I really am not familiar with.

Comment 2 Susi Lehtola 2010-11-02 17:44:51 UTC
Whoops, I actually had pulled an eon old tarball, so issues 1 and 3 are non-valid.

Still, the main issue is still there. I really wouldn't want to build shared libraries manually, as the build system doesn't support it. Assigning sonames is to me a non-trivial issue.

Also, the authors seem to disagree on the license: "The .doc file does not provide for free usage for research purposes, but in fact requires a license agreement for commercial purposes."

Comment 3 Jens Petersen 2010-11-03 04:08:46 UTC
Created attachment 457353 [details]
qd-shared-lib.patch

Here is a git patch to the pkg which works for me:
enabling libtool build of libqd.so.

* Wed Nov  3 2010 Jens Petersen <petersen> - 2.3.11-2
- build shared library: qd-2.3.11-libtool.patch ported from debian

Comment 4 Fedora Update System 2010-12-04 11:52:57 UTC
qd-2.3.11-2.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/qd-2.3.11-2.fc13

Comment 5 Fedora Update System 2010-12-04 11:53:06 UTC
qd-2.3.11-2.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/qd-2.3.11-2.fc14

Comment 6 Fedora Update System 2010-12-05 00:35:30 UTC
qd-2.3.11-2.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update qd'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/qd-2.3.11-2.fc14

Comment 7 Fedora Update System 2010-12-12 20:00:00 UTC
qd-2.3.11-2.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2010-12-12 20:02:56 UTC
qd-2.3.11-2.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.