From: Chris Lawrence Date: Wed, 29 Mar 2006 21:11:45 +0000 (-0500) Subject: lsb 3.1-1 Debian release. X-Git-Tag: archive/raspbian/10.2018112800+rpi1^2~249 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a18c8e68324d2428f203cc7db300e7b7d7b19daa;p=lsb.git lsb 3.1-1 Debian release. --- diff --git a/debian/README.Debian b/debian/README.Debian index c06add4..6b8d04f 100644 --- a/debian/README.Debian +++ b/debian/README.Debian @@ -23,19 +23,25 @@ The LSB implementation in Debian is currently divided into five packages: * The "lsb-core" package depends on the Debian packages that are - required to comply with the LSB-Core 2.0 specification; this is + required to comply with the LSB-Core 3.1 specification; this is roughly equivalent to the LSB 1.3 specification, except X11 libraries are not required. It also includes some subroutines that are used by LSB-compliant applications when they are being installed or removed. * The "lsb-graphics" package depends on the X11 libraries required for - the LSB-Graphics 2.0 specification. + the LSB-Graphics 3.1 specification. * The "lsb-cxx" package depends on libstdc++5, required for the - LSB-CXX (LSB-C++) 2.0 specification. + LSB-CXX (LSB-C++) 3.1 specification. -* The "lsb" package depends on the above three packages, and exists +* The "lsb-desktop" package depends on the Gtk+ and Qt libraries required + for the LSB-Desktop 3.1 specification. + +* The "lsb-qt4" depends on the Qt version 4 libraries required for the + LSB-Qt4 3.1 module. + +* The "lsb" package depends on all of the above packages, and exists for backwards compatibility purposes with LSB 1.3. * The "lsb-base" package includes a number of functions used by init.d @@ -46,7 +52,10 @@ packages: For documentation of those functions (and those added for Debian's use), please see the README.Debian file in that package. -The first three packages are architecture-specific because of +* The "lsb-release" package includes the lsb_release command, which provides + information about the installed LSB modules and the underlying distribution. + +The LSB module packages are architecture-specific because of differences in the requirements of the LSB on various binary architectures. In particular, each package provides lsb-{module}-noarch and lsb-{module}-{arch} virtual packages. @@ -86,8 +95,8 @@ DEVIATIONS FROM LSB The package and its dependencies implement all of LSB on Debian, with these exceptions: -- LSB 2.0 assumes a 2.4 kernel. Debian ships a 2.4 kernel by default - on most architectures as of sarge, although 2.2 and 2.6 are +- LSB 3.1 assumes a 2.4 or later kernel. Debian ships a 2.4 kernel by + default on most architectures as of sarge, although 2.2 and 2.6 are optional. There is no way in the Debian system to ensure a package is only installed on a specific kernel release. Running LSB applications on 2.2 kernels may result in subtle bugs or failures, @@ -96,7 +105,7 @@ these exceptions: (We do not consider this a bug in the package.) -- LSB 2.0 doesn't fully specify what the init_functions should do. I +- LSB 3.1 doesn't fully specify what the init_functions should do. I have chosen to implement them in a way that is consistent with Debian current practice, using the start-stop-daemon utility and the echo command. For sarge+1, I expect a nicer init logging facility @@ -135,7 +144,7 @@ these exceptions: - /etc/profile.d scripts aren't executed on shell startup by default on Debian systems (see Debian Policy section 9.9 for an explanation). - LSB 3.0 is ambiguous on this requirement; /bin/sh is *not* required + LSB 3.1 is ambiguous on this requirement; /bin/sh is *not* required to execute these scripts, according to its description, but the lsbinstall documentation says that it is. @@ -190,6 +199,6 @@ any reports of its success or failure. An example init script that tests some of these features is provided as /usr/share/doc/lsb/examples/init-skeleton. - -- Chris Lawrence , Fri Sep 16 19:01:50 2005 + -- Chris Lawrence , Wed, 29 Mar 2006 17:02:17 -0500 LocalWords: LSB diff --git a/debian/changelog b/debian/changelog index 4398079..b23380b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,14 @@ +lsb (3.1-1) experimental; urgency=low + + * First crack at a package for LSB 3.1. + * Add -desktop and -qt4 metapackages. + * Update README.Debian and control file for 3.1. + * Update lsb_release to recognize lsb-desktop and lsb-qt4 modules. + * Update FSF address in debian/copyright. + * Fix debian/control to allow sarge build. + + -- Chris Lawrence Wed, 29 Mar 2006 16:11:45 -0500 + lsb (3.0-16) unstable; urgency=low * Add ld-linux-x64-64.so.3 symlink on AMD64. (Closes: #355959) @@ -35,7 +46,7 @@ lsb (3.0-13) unstable; urgency=medium DEB_*_ARCH_CPU in debian/rules, which only became available in dpkg 1.13.2. Feel free to submit a patch to facilitate a sarge backport. (Closes: #344392) - * Since the lsb family of packages track an upstream specification with + * Since the lsb family of packages track an upstream specification with "non-native" version numbering, the use of a hyphenated version number for these native packages is justified. (Closes: #344384) (Note that although it does violate policy for a non-native package to @@ -116,7 +127,7 @@ lsb (3.0-6) unstable; urgency=low lsb (3.0-5) unstable; urgency=low * Use --exec in calls to start-stop-daemon in killproc(). (Closes: #322770) - + -- Chris Lawrence Fri, 12 Aug 2005 15:18:39 -0500 lsb (3.0-4) unstable; urgency=medium @@ -145,7 +156,7 @@ lsb (3.0-3) unstable; urgency=low lsb (3.0-2) experimental; urgency=low * Uploaded to experimental since glibc 2.3.5 is not in sid yet. - * Add /usr/lib/lsb/lsbinstall. + * Add /usr/lib/lsb/lsbinstall. Note: the inetd stuff isn't implemented yet. * Require glibc >> 2.3.5, since some interfaces in LSB 3.0 were introduced by glibc 2.3.5. @@ -170,7 +181,7 @@ lsb (3.0-1) unstable; urgency=low * lsb-cxx now depends on libstdc++6 as well as libstdc++5, necessitated by LSB 3.0. * Don't create /lib64 on AMD64. (Closes: #308220) - + -- Chris Lawrence Sun, 8 May 2005 19:11:45 -0500 lsb (2.0-7) unstable; urgency=high @@ -483,7 +494,7 @@ lsb (1.1.0-2) unstable; urgency=low - uid/gid for bin is documented. - treat RL 2-5 as the same, because nothing else sensible seems available. - + -- Chris Lawrence Mon, 18 Feb 2002 20:08:23 -0600 lsb (1.1.0-1) unstable; urgency=low diff --git a/debian/control b/debian/control index 4bc0054..65d5bba 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: lsb Section: misc Priority: extra Maintainer: Chris Lawrence -Build-Depends: debhelper (>= 4.1.13), po-debconf (>= 0.5.0), dpkg-dev (>= 1.13.5) +Build-Depends: debhelper (>= 4.1.13), po-debconf (>= 0.5.0), dpkg-dev (>= 1.10) Standards-Version: 3.6.2 Package: lsb-core @@ -11,12 +11,12 @@ Depends: lsb-release, ${glibc}, libz1, exim4 | mail-transport-agent, at, bc, bin Provides: lsb-core-noarch, ${provides} Conflicts: python (>> 2.5), lsb (<< 2.0-2) Replaces: lsb (<< 2.0-2) -Description: Linux Standard Base 3.0 core support package +Description: Linux Standard Base 3.1 core support package The Linux Standard Base (http://www.linuxbase.org/) is a standard core system that third-party applications written for Linux can depend upon. . - This package provides an implementation of the core of version 3.0 of + This package provides an implementation of the core of version 3.1 of the Linux Standard Base for Debian on the Intel x86, Intel ia64 (Itanium), IBM S390, and PowerPC 32-bit architectures with the Linux kernel. Future revisions of the specification and this package may @@ -33,12 +33,12 @@ Architecture: any Depends: lsb-core, xlibmesa3-gl | libgl1, xlibs, ${misc:Depends} Conflicts: libutahglx1 Provides: lsb-graphics-noarch, ${provides} -Description: Linux Standard Base 3.0 graphics support package +Description: Linux Standard Base 3.1 graphics support package The Linux Standard Base (http://www.linuxbase.org/) is a standard core system that third-party applications written for Linux can depend upon. . - This package provides an implementation of version 3.0 of the Linux + This package provides an implementation of version 3.1 of the Linux Standard Base graphics specification for Debian on the Intel x86, Intel ia64 (Itanium), IBM S390, and PowerPC 32-bit architectures with the Linux kernel. Future revisions of the specification and this @@ -54,12 +54,12 @@ Package: lsb-cxx Architecture: any Depends: lsb-core, libstdc++5, libstdc++6, ${misc:Depends} Provides: lsb-cxx-noarch, ${provides} -Description: Linux Standard Base 3.0 C++ support package +Description: Linux Standard Base 3.1 C++ support package The Linux Standard Base (http://www.linuxbase.org/) is a standard core system that third-party applications written for Linux can depend upon. . - This package provides an implementation of version 3.0 of the Linux + This package provides an implementation of version 3.1 of the Linux Standard Base C++ (CXX) specification for Debian on the Intel x86, Intel ia64 (Itanium), IBM S390, and PowerPC 32-bit architectures with the Linux kernel. Future revisions of the specification and this @@ -71,15 +71,57 @@ Description: Linux Standard Base 3.0 C++ support package with the Linux Standard Base, and should not be construed as a statement that Debian is LSB-compliant. +Package: lsb-desktop +Architecture: any +Depends: lsb-graphics, libfontconfig1 (>> 2.3.0), libpng12-0, libjpeg62, libglib2.0-0 (>> 2.6.2), libatk1.0-0 (>> 1.9.0), libpango1.0-0 (>> 1.8.0), libgtk2.0 (>> 2.6.2), libqt3-mt (>> 3.3.6), libxml2, ${misc:Depends} +Provides: lsb-desktop-noarch, ${provides} +Description: Linux Standard Base 3.1 Desktop support package + The Linux Standard Base (http://www.linuxbase.org/) is a standard + core system that third-party applications written for Linux can + depend upon. + . + This package provides an implementation of version 3.1 of the Linux + Standard Base Desktop specification for Debian on the Intel x86, + Intel ia64 (Itanium), IBM S390, and PowerPC 32-bit architectures with + the Linux kernel. Future revisions of the specification and this + package may support the LSB on additional architectures and kernels. + . + The intent of this package is to provide a best current practice way + of installing and running LSB packages on Debian GNU/Linux. Its + presence does not imply that we believe that Debian fully complies + with the Linux Standard Base, and should not be construed as a + statement that Debian is LSB-compliant. + +Package: lsb-qt4 +Architecture: any +Depends: lsb-desktop, libqt4-gui +Provides: lsb-qt4-noarch, ${provides} +Description: Linux Standard Base 3.1 Qt4 support package + The Linux Standard Base (http://www.linuxbase.org/) is a standard + core system that third-party applications written for Linux can + depend upon. + . + This package provides an implementation of version 3.1 of the Linux + Standard Base Qt4 specification for Debian on the Intel x86, Intel + ia64 (Itanium), IBM S390, and PowerPC 32-bit architectures with the + Linux kernel. Future revisions of the specification and this package + may support the LSB on additional architectures and kernels. + . + The intent of this package is to provide a best current practice way + of installing and running LSB packages on Debian GNU/Linux. Its + presence does not imply that we believe that Debian fully complies + with the Linux Standard Base, and should not be construed as a + statement that Debian is LSB-compliant. + Package: lsb Architecture: all -Depends: lsb-core, lsb-graphics, lsb-cxx -Description: Linux Standard Base 3.0 support package +Depends: lsb-core, lsb-graphics, lsb-cxx, lsb-desktop, lsb-qt4 +Description: Linux Standard Base 3.1 support package The Linux Standard Base (http://www.linuxbase.org/) is a standard core system that third-party applications written for Linux can depend upon. . - This package provides an implementation of all modules of version 3.0 + This package provides an implementation of all modules of version 3.1 of the Linux Standard Base for Debian on the Intel x86, Intel ia64 (Itanium), IBM S390, and PowerPC 32-bit architectures with the Linux kernel. Future revisions of the specification and this package may @@ -97,7 +139,7 @@ Depends: sed, ncurses-bin Replaces: lsb-core (<< 2.0-6), lsb (<< 2.0-6) Conflicts: lsb-core (<< 2.0-6), lsb (<< 2.0-6) Priority: required -Description: Linux Standard Base 3.0 init script functionality +Description: Linux Standard Base 3.1 init script functionality The Linux Standard Base (http://www.linuxbase.org/) is a standard core system that third-party applications written for Linux can depend upon. diff --git a/debian/copyright b/debian/copyright index 5843769..7c06667 100644 --- a/debian/copyright +++ b/debian/copyright @@ -16,8 +16,8 @@ Copyright: You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, + USA. On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL'. diff --git a/debian/rules b/debian/rules index d235365..1948be9 100755 --- a/debian/rules +++ b/debian/rules @@ -136,6 +136,8 @@ binary-arch: build install @echo >> debian/lsb-core.substvars "provides=lsb-core-${lsbarch}" @echo >> debian/lsb-cxx.substvars "provides=lsb-cxx-${lsbarch}" @echo >> debian/lsb-graphics.substvars "provides=lsb-graphics-${lsbarch}" + @echo >> debian/lsb-desktop.substvars "provides=lsb-desktop-${lsbarch}" + @echo >> debian/lsb-qt4.substvars "provides=lsb-qt4-${lsbarch}" @[ ${DEB_BUILD_ARCH_CPU} = 'amd64' ] && echo >> debian/lsb-core.substvars "depends=libc6-i386, lib32z1" || true dh_link -a dh_strip -a diff --git a/lsb_release b/lsb_release index 3501aed..2f1d992 100755 --- a/lsb_release +++ b/lsb_release @@ -39,7 +39,7 @@ RELEASE_CODENAME_LOOKUP = { TESTING_CODENAME = 'etch' # LSB compliance packages... may grow eventually -PACKAGES = 'lsb-core lsb-cxx lsb-graphics' +PACKAGES = 'lsb-core lsb-cxx lsb-graphics lsb-desktop lsb-qt4' modnamere = re.compile(r'lsb-(?P[a-z]+)-(?P[^ ]+)(?: \(= (?P[0-9.]+)\))?') @@ -48,6 +48,11 @@ def valid_lsb_versions(version, module): # with that here if version == '3.0': return ['2.0', '3.0'] + elif version == '3.1': + if module in ('desktop', 'qt4'): + return ['3.1'] + else: + return ['2.0', '3.0', '3.1'] return [version]