LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-13-2015, 10:13 PM   #1
Xsane
Member
 
Registered: Jan 2014
Posts: 186

Rep: Reputation: 134Reputation: 134
[RFC] glibc packages structure


I think this has been discussed on LQ before, but I cannot
find it. My google fu must be weak today.

So, why are all of the glibc sub packages (sans profile)
included in the glibc base package?

Specifically, why the zoneinfo package? I am working on a
proposal for some changes to it, and having it in the
base package does cause some issues (which I will
discuss with the proposed patch).

Thanks in advance for your replies.
 
Old 12-14-2015, 02:25 AM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,061

Rep: Reputation: Disabled
I do not know why, but this has an inconvenience for the Slint project: in the next release I plan to ship timeconfig in an internationalized glibc-zoneinfo package (instead as in a big slint package installed after all other packages as we do now).

But as glibc is installed after glibc-zoneinfo I had to edit the "setup" script to reinstall glic-zoneinfo just after the INSTALL step of the installation to get back the internationalized timeconfig that has just been overridden if glibc has been installed. No big issue though, as it is highly improbable that glibc be upgraded during the life of a stable version.

EDIT: I should have checked before writing... Actually glibc _and_ all glic-* packages have been, not upgraded, but _rebuilt_ for Slackware 14.1. So far, so good, but it is true that not shipping twice the locale definitions would save some MB on the distribution media. But that's up to Pat anyway.

In a related topic I plan to try your patch that we _could_ apply if all goes well, regardless of Pat's decision about it. I have noticed long ago that the proposed check-list was a bit too long but been too lazy to investigate further, so thanks

Last edited by Didier Spaier; 12-14-2015 at 05:09 AM.
 
Old 12-14-2015, 07:19 AM   #3
Xsane
Member
 
Registered: Jan 2014
Posts: 186

Original Poster
Rep: Reputation: 134Reputation: 134
Quote:
Originally Posted by Didier Spaier View Post
I do not know why, but this has an inconvenience for the Slint project:
in the next release I plan to ship timeconfig in an internationalized
glibc-zoneinfo package (instead as in a big slint package installed
after all other packages as we do now).

But as glibc is installed after glibc-zoneinfo I had to edit the "setup"
script to reinstall glic-zoneinfo just after the INSTALL step of the
installation to get back the internationalized timeconfig that has just
been overridden if glibc has been installed. No big issue though, as it
is highly improbable that glibc be upgraded during the life of a stable
version.
If it turns out that zoneinfo must be included in the base
package, I have a solution in mind that will be simpler for you. Also,
your case adds a new line item to my justification list for making a
change to the zoneinfo package.

Quote:
Originally Posted by Didier Spaier View Post
EDIT: I should have checked before writing... Actually glibc _and_ all
glic-* packages have been, not upgraded, but _rebuilt_ for Slackware
14.1. So far, so good, but it is true that not shipping twice the
locale definitions would save some MB on the distribution media. But
that's up to Pat anyway.
True, except zoneinfo was upgraded; causing the base package to be
out of sync with the zoneinfo package in the stable branch. That is
one of the problems involved with having zoneinfo in the base package.
Right now, if a sysadmin has to reinstall the base package it will
clobber zoneinfo, they may not be aware of that.

The glibc project has no build, nor runtime, dependencies on zoneinfo. I
cannot think of a reason that it must be included in the base package,
which is why I posted this RFC. Perhaps I'm missing something? I am
hoping Pat, or a core member will weigh in on the subject.

Quote:
Originally Posted by Didier Spaier View Post
In a related topic I plan to try your patch that we _could_ apply if all goes
well, regardless of Pat's decision about it. I have noticed long ago
that the proposed check-list was a bit too long but been too lazy to
investigate further, so thanks
You're sure welcome. I was hoping that you might test it, because you
work with the installer a lot and I haven't tested all of the
possibilities in that environment.

I thought of your project while working on the patch, as I assume that
someone already internationalizes the zone1970.tab file. That may save
you, and you project's translators, some effort?

On my todo list is adding a tzselect type interface to timeconfig, along
with some other needed (IMHO) changes. But not this cycle, perhaps the
next one.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] building slackware packages: optimum file structure textillis Slackware 24 05-20-2013 11:08 AM
Is Kernel SCTP (based on RFC 4960) backward compatible with RFC 2960 implementation sajalmalhotra Linux - Networking 0 07-22-2011 12:06 AM
[SOLVED] glibc and glibc-i18n packages contain redundant files H_TeXMeX_H Slackware 7 06-25-2011 01:58 PM
Moving packages - linux command structure bookie Linux - Newbie 7 07-09-2007 03:47 PM
updating packages samba and glibc unforgivn Linux - Newbie 1 06-18-2004 01:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration