#201 Application Specific guidelines and D guidelines
Closed: Invalid None Opened 11 years ago by jwboyer.

From bioinfornatics:

Dear,

I do not see ​Packaging D on this page ​Application Specific Guidelines

In more i would update D policy as removing chapter about static lib. Because since D v 2.056 it support shared lib.

kinds regards


EASYFIX, doing this now.

Whoops. I missed the part about dropping the static library section.

Do all current Fedora versions of ldc (F16+) support shared libs now?

Any updates on this in response to spot's question? If you need more time, that's ok, but if not we'll close this out in 1 week.

ops sorry missed the question.

yes since F16 D support shared lib

We discussed this today. Had a few questions.

  • To implement removal of static libraries in the Guidelines, it looks like we would remove most of the Libraries section. Do you have something new to put there or is it just like other packages at that point?
  • This section looks like it will remain -- we'll just remove the reference to "static". Correct?

"""
If your D package contains static libraries, you must disable debuginfo generation, by adding this line to the top of your spec file:

%global debug_package %{nil}
Otherwise, it would generate an empty debuginfo package.
"""

  • The template should have the following changes:
    {{{
    Remove: "Provides: %{name}-static = %{version}-%{release}"

Replace: %{_libdir}/.a
Replacement: %{_libdir}/
.so

Add:
%files
%{_libdir}/.so.
}}}

Is that correct? Especially putting the *.so into the -devel subpackage and the other .so files into the main package?

Please update this ticket regarding its continued relevance, providing any information requested. If this is not done within the next two weeks, this ticket may be closed due to inactivity. Thank you!

This ticket is being closed due to inactivity. If the issue referenced has
not been resolved, please reopen the ticket and provide the information
requested. Thank you!

Metadata Update from @limb:
- Issue assigned to spot

7 years ago

Login to comment on this ticket.

Metadata