Ticket #61 (closed Defect: fixed)

Opened 10 months ago

Last modified 1 month ago

Don't statically link X11 libs by default

Reported by: isak Assigned to: isak
Priority: Medium Milestone: 1.3
Component: apbuild Version: 1.2.4
Severity: Trivial Keywords:
Cc:

Description

It seems it might be time to remove the default policy of apbuild to statically link certain X11 libraries.

The old rationale was that Xfree did not compile dynamic versions of certain extensions, which meant many X based apps did not work. Since Xorg, this is no longer an issue.

The problem is that many X11 libs contain references to newer GLIBC symbols, which forces a re-compile of X using apbuild.

Mailing list discussion: http://article.gmane.org/gmane.comp.autopackage.devel/6454

Attachments

apgcc-dynamic-link-x.diff (0.6 kB) - added by taj on 12/29/07 23:40:34.
dynamically link X libs by default
apbuild-documentation.patch (1.7 kB) - added by isak on 08/31/08 12:19:39.
Updated documentation for apbuild

Change History

12/29/07 23:40:34 changed by taj

  • attachment apgcc-dynamic-link-x.diff added.

dynamically link X libs by default

12/29/07 23:42:58 changed by taj

Here's a one-liner. It introduces a new env var ($APBUILD_STATIC_X) that you can set to force static linking of X libs. The old var ($APBUILD_NO_STATIC_X) has no affect anymore.

Any objections?

01/07/08 14:59:30 changed by isak

No objections from my side. Though it might be good to output a warning/note in case $APBUILD_NO_STATIC_X is defined, telling the packager that we've changed the default policy.

08/01/08 20:02:18 changed by Jan-Nik

  • milestone changed from 1.2.6 to 1.3.

Milestone 1.2.6 deleted

08/03/08 13:08:21 changed by Jan-Nik

I applied the patch along with a warning in r2490. The documentation needs to be updated, too: http://www.autopackage.org/apbuild-apgcc.php

08/03/08 13:12:25 changed by isak

  • owner changed from taj to isak.

Ok, I will update the website when I get back from vacation.. assigning ticket to me so that I don't forget

08/03/08 13:12:40 changed by isak

  • status changed from new to assigned.

08/31/08 12:19:39 changed by isak

  • attachment apbuild-documentation.patch added.

Updated documentation for apbuild

08/31/08 12:20:22 changed by isak

  • status changed from assigned to closed.
  • resolution set to fixed.

The documentation has been updated. See attached patch.

Setting this as fixed