Re: multiarch pulling in i386 packages

2012-02-02 Thread Paul Sladen
On Thu, 2 Feb 2012, Colin Watson wrote:
> On Thu, Feb 02, 2012 at 02:03:03PM +0530, Ritesh Raj Sarraf wrote:
> > It has a depends on ia32-libs. In Ubuntu ia32-libs
> ia32-libs-multiarch is a transitional hack
> Ideally, you'd just install crossover-pro:i386 and apt would follow

I followed up with Colin to clarify; my understanding is that the
following needs to happen (on the Crossover end) to make use of
multiarch as intended:

  (1) Nuke the 'ia32-crossover-pro' package altogether; this will make
all the references to legacy/compatibility 'ia32-*' (hacks) disappear
  (2) There should only be a single 'crossover-pro' package (built
just for 'Architecture: i386')
  (4) Let 'dpkg-shlibdeps' generate the *real* dependencies on i386 at
package build time (probably already the case)
  (5) When a user installs on i386, nothing much extra should get
pulled in
  (6) When a user installs on amd64, the various :i386 libraries will
get pulled in automatically (and only as required, rather than
everything)
  (7) It may be necessary to tweak the listed Pythong/Perl scripting
language dependencies, depending on whether they are being used as an
interpreter or in extension mode (ie, does crossover-pro link/use
Python _extensions_, or mere deliver pythong _scripts_)

(Colin also noted that the 'python-gtk2'/'python-glade2' packages
may need refining. And that Steve Langasek could provide input)


-Paul



-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: multiarch pulling in i386 packages

2012-02-02 Thread Colin Watson
On Thu, Feb 02, 2012 at 02:03:03PM +0530, Ritesh Raj Sarraf wrote:
> It has a depends on ia32-libs. In Ubuntu ia32-libs now depends on
> ia32-libs-multiarch, which if I install, will pull in a lot of i386
> arch of the packages.
[...]
> 1 upgraded, 190 newly installed, 0 to remove and 19 not upgraded.
> Need to get 35.9 MB/60.7 MB of archives.
> After this operation, 176 MB of additional disk space will be used.
> Do you want to continue [Y/n]?
> 
> Is this really needed ?

It's not exactly much bigger than the monolithic ia32-libs in oneiric!
ia32-libs-multiarch is a transitional hack intended to install multiarch
equivalents of everything ia32-libs used to install so that packages
that depend on ia32-libs still work; it's never going to end up being
particularly small.

Ideally, you'd just install crossover-pro:i386 and apt would follow only
the :i386 dependencies it needs.  This should just naturally work, and
there should in principle be no need to force dependencies as another
respondent suggests; this model is much more representative of the
promise of multiarch than ia32-libs-multiarch is.  It's possible that
some work on dependency details is needed before this will work
correctly with precise, but it would be better to aim for this.

-- 
Colin Watson   [cjwat...@ubuntu.com]

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: multiarch pulling in i386 packages

2012-02-02 Thread Evan Huus
Historically, ia32-libs provided *all* of those libraries in one
package. Ubuntu and Debian have now transitioned to a better method
where the libraries are broken up into individual multi-arch packages
so that other packages only have to pull in the ones they need.

Until all other packages use the new method however, there will be
still some that depend on ia32-libs and expect that to provide
everything they need. So the transitional version of that package
depends on *all* the new multi arch packages.

This is expected behavior until crossover is updated to use the new
multi arch system, at which point it will depend directly in the libs
it needs and ia32-libs can be removed completely.

Evan

Sent from my iPod

On 2012-02-02, at 3:40 AM, Ritesh Raj Sarraf  wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA512
>
> On my x86_64 Ubuntu install, I have CrossOver installed. Its package
> description looks like:
>
> Package: ia32-crossover-pro
> Status: install ok installed
> Priority: optional
> Section: non-free/otherosfs
> Installed-Size: 117268
> Maintainer: CrossOver Packager 
> Architecture: amd64
> Version: 10.2.0-1
> Replaces: cxoffice, cxoffice-xandros, cxoffice2,
> ia32-crossover-demo-xandros (<= 10.2.0-1),
> ia32-crossover-pro-canonical-demo (<= 10.2.0-1),
> ia32-crossover-pro-demo (<= 10.2.0-1), ia32-crossover-pro-xandros (<=
> 10.2.0-1), ia32-crossover-standard (<= 10.2.0-1),
> ia32-crossover-standard-canonical-demo (<= 10.2.0-1),
> ia32-crossover-standard-demo (<= 10.2.0-1), ia32-crossover-xandros (<=
> 10.2.0-1), xandros-cxoffice-patch-1.3.1-3
> Provides: cxoffice5
> Depends: libc6-i386, ia32-libs | ia32-apt-get, lib32gcc1,
> lib32nss-mdns, lib32z1, perl5-base, perl-modules, python (>= 2.4),
> python-gtk2, python-glade2
> Conflicts: cxoffice (<< 3.0), cxoffice-xandros, cxoffice2, cxoffice5,
> ia32-crossover-demo-xandros (<= 10.2.0-1), ia32-crossover-pro-xandros
> (<= 10.2.0-1), ia32-crossover-xandros (<= 10.2.0-1),
> xandros-cxoffice-patch-1.3.1-3
>
>
> It has a depends on ia32-libs. In Ubuntu ia32-libs now depends on
> ia32-libs-multiarch, which if I install, will pull in a lot of i386
> arch of the packages.
>
>
> 14:00:13 rrs@champaran:~$ sudo apt-get install ia32-libs-multiarch
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following extra packages will be installed:
>  bluez-alsa:i386 glib-networking:i386 gstreamer0.10-fluendo-mp3:i386
> gstreamer0.10-plugins-base:i386
>  gstreamer0.10-plugins-good:i386 gtk2-engines:i386
> gtk2-engines-murrine:i386
>  gtk2-engines-oxygen:i386 gtk2-engines-pixbuf:i386 ibus-gtk:i386
> libaa1:i386 libaio1:i386
>  libao-common libao4:i386 libasn1-8-heimdal:i386 libasound2:i386
> libasound2-plugins:i386
>  libasyncns0:i386 libatk1.0-0:i386 libaudio2:i386 libaudiofile0:i386
> libavahi-client3:i386
>  libavahi-common-data:i386 libavahi-common3:i386 libavc1394-0:i386
> libcaca0:i386
>  libcairo-gobject2:i386 libcairo2:i386 libcanberra-gtk-module:i386
> libcanberra-gtk0:i386
>  libcanberra0:i386 libcap2:i386 libcapi20-3:i386 libcdparanoia0:i386
> libcroco3:i386 libcups2:i386
>  libcupsimage2:i386 libcurl3:i386 libdatrie1:i386 libdv4:i386
> libesd0:i386 libexif12:i386
>  libexpat1:i386 libflac8:i386 libfontconfig1:i386 libfreetype6:i386
> libgail-common:i386
>  libgail18:i386 libgd2-xpm:i386 libgdbm3:i386 libgdk-pixbuf2.0-0:i386
> libgettextpo0:i386
>  libgl1-mesa-glx:i386 libglapi-mesa:i386 libglu1-mesa:i386
> libgnutls26:i386 libgomp1:i386
>  libgphoto2-2:i386 libgphoto2-port0:i386 libgssapi-krb5-2:i386
> libgssapi3-heimdal:i386
>  libgstreamer-plugins-base0.10-0:i386 libgstreamer0.10-0:i386
> libgtk2.0-0:i386
>  libhcrypto4-heimdal:i386 libheimbase1-heimdal:i386
> libheimntlm0-heimdal:i386
>  libhx509-5-heimdal:i386 libibus-1.0-0:i386 libice6:i386
> libidn11:i386 libiec61883-0:i386
>  libieee1284-3:i386 libjack-jackd2-0:i386 libjasper1:i386
> libjpeg-turbo8:i386 libjpeg8:i386
>  libjson0:i386 libk5crypto3:i386 libkeyutils1:i386
> libkrb5-26-heimdal:i386 libkrb5-3:i386
>  libkrb5support0:i386 liblcms1:i386 libldap-2.4-2:i386 libltdl7:i386
> libmad0:i386 libmikmod2:i386
>  libmng1:i386 libmpg123-0:i386 libnspr4:i386 libnss3:i386
> libodbc1:i386 libogg0:i386 liboil0.3:i386
>  libopenal1:i386 liborc-0.4-0:i386 libp11-kit0:i386
> libpango1.0-0:i386 libpixman-1-0:i386
>  libpulse-mainloop-glib0:i386 libpulse0:i386 libpulsedsp:i386
> libqt4-dbus:i386
>  libqt4-declarative:i386 libqt4-designer:i386 libqt4-network:i386
> libqt4-opengl:i386
>  libqt4-qt3support:i386 libqt4-script:i386 libqt4-scripttools:i386
> libqt4-sql:i386 libqt4-svg:i386
>  libqt4-test:i386 libqt4-xml:i386 libqt4-xmlpatterns:i386
> libqtcore4:i386 libqtgui4:i386
>  libqtwebkit4 libqtwebkit4:i386 libraw1394-11:i386
> libroken18-heimdal:i386 librsvg2-2:i386
>  librsvg2-common:i386 librtmp0:i386 libsamplerate0:i386 libsane:i386
> libsasl2-2:i386
>  libsdl-image1.2:i386 libsdl-mixer1.2:i386 libsdl-net1.2:i386
> libsdl-ttf2.0-0:i386
>  libsdl1.2de

Re: multiarch pulling in i386 packages

2012-02-02 Thread Jordon Bedwell
On Thu, Feb 2, 2012 at 2:33 AM, Ritesh Raj Sarraf  wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA512
>
> On my x86_64 Ubuntu install, I have CrossOver installed. Its package
> description looks like:
>
> Package: ia32-crossover-pro
> Status: install ok installed
> Priority: optional
> Section: non-free/otherosfs
> Installed-Size: 117268
> Maintainer: CrossOver Packager 
> Architecture: amd64
> Version: 10.2.0-1
> Replaces: cxoffice, cxoffice-xandros, cxoffice2,
> ia32-crossover-demo-xandros (<= 10.2.0-1),
> ia32-crossover-pro-canonical-demo (<= 10.2.0-1),
> ia32-crossover-pro-demo (<= 10.2.0-1), ia32-crossover-pro-xandros (<=
> 10.2.0-1), ia32-crossover-standard (<= 10.2.0-1),
> ia32-crossover-standard-canonical-demo (<= 10.2.0-1),
> ia32-crossover-standard-demo (<= 10.2.0-1), ia32-crossover-xandros (<=
> 10.2.0-1), xandros-cxoffice-patch-1.3.1-3
> Provides: cxoffice5
> Depends: libc6-i386, ia32-libs | ia32-apt-get, lib32gcc1,
> lib32nss-mdns, lib32z1, perl5-base, perl-modules, python (>= 2.4),
> python-gtk2, python-glade2
> Conflicts: cxoffice (<< 3.0), cxoffice-xandros, cxoffice2, cxoffice5,
> ia32-crossover-demo-xandros (<= 10.2.0-1), ia32-crossover-pro-xandros
> (<= 10.2.0-1), ia32-crossover-xandros (<= 10.2.0-1),
> xandros-cxoffice-patch-1.3.1-3
>
>
> It has a depends on ia32-libs. In Ubuntu ia32-libs now depends on
> ia32-libs-multiarch, which if I install, will pull in a lot of i386
> arch of the packages.
>
>
> 14:00:13 rrs@champaran:~$ sudo apt-get install ia32-libs-multiarch
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following extra packages will be installed:
>  bluez-alsa:i386 glib-networking:i386 gstreamer0.10-fluendo-mp3:i386
> gstreamer0.10-plugins-base:i386
>  gstreamer0.10-plugins-good:i386 gtk2-engines:i386
> gtk2-engines-murrine:i386
>  gtk2-engines-oxygen:i386 gtk2-engines-pixbuf:i386 ibus-gtk:i386
> libaa1:i386 libaio1:i386
>  libao-common libao4:i386 libasn1-8-heimdal:i386 libasound2:i386
> libasound2-plugins:i386
>  libasyncns0:i386 libatk1.0-0:i386 libaudio2:i386 libaudiofile0:i386
> libavahi-client3:i386
>  libavahi-common-data:i386 libavahi-common3:i386 libavc1394-0:i386
> libcaca0:i386
>  libcairo-gobject2:i386 libcairo2:i386 libcanberra-gtk-module:i386
> libcanberra-gtk0:i386
>  libcanberra0:i386 libcap2:i386 libcapi20-3:i386 libcdparanoia0:i386
> libcroco3:i386 libcups2:i386
>  libcupsimage2:i386 libcurl3:i386 libdatrie1:i386 libdv4:i386
> libesd0:i386 libexif12:i386
>  libexpat1:i386 libflac8:i386 libfontconfig1:i386 libfreetype6:i386
> libgail-common:i386
>  libgail18:i386 libgd2-xpm:i386 libgdbm3:i386 libgdk-pixbuf2.0-0:i386
> libgettextpo0:i386
>  libgl1-mesa-glx:i386 libglapi-mesa:i386 libglu1-mesa:i386
> libgnutls26:i386 libgomp1:i386
>  libgphoto2-2:i386 libgphoto2-port0:i386 libgssapi-krb5-2:i386
> libgssapi3-heimdal:i386
>  libgstreamer-plugins-base0.10-0:i386 libgstreamer0.10-0:i386
> libgtk2.0-0:i386
>  libhcrypto4-heimdal:i386 libheimbase1-heimdal:i386
> libheimntlm0-heimdal:i386
>  libhx509-5-heimdal:i386 libibus-1.0-0:i386 libice6:i386
> libidn11:i386 libiec61883-0:i386
>  libieee1284-3:i386 libjack-jackd2-0:i386 libjasper1:i386
> libjpeg-turbo8:i386 libjpeg8:i386
>  libjson0:i386 libk5crypto3:i386 libkeyutils1:i386
> libkrb5-26-heimdal:i386 libkrb5-3:i386
>  libkrb5support0:i386 liblcms1:i386 libldap-2.4-2:i386 libltdl7:i386
> libmad0:i386 libmikmod2:i386
>  libmng1:i386 libmpg123-0:i386 libnspr4:i386 libnss3:i386
> libodbc1:i386 libogg0:i386 liboil0.3:i386
>  libopenal1:i386 liborc-0.4-0:i386 libp11-kit0:i386
> libpango1.0-0:i386 libpixman-1-0:i386
>  libpulse-mainloop-glib0:i386 libpulse0:i386 libpulsedsp:i386
> libqt4-dbus:i386
>  libqt4-declarative:i386 libqt4-designer:i386 libqt4-network:i386
> libqt4-opengl:i386
>  libqt4-qt3support:i386 libqt4-script:i386 libqt4-scripttools:i386
> libqt4-sql:i386 libqt4-svg:i386
>  libqt4-test:i386 libqt4-xml:i386 libqt4-xmlpatterns:i386
> libqtcore4:i386 libqtgui4:i386
>  libqtwebkit4 libqtwebkit4:i386 libraw1394-11:i386
> libroken18-heimdal:i386 librsvg2-2:i386
>  librsvg2-common:i386 librtmp0:i386 libsamplerate0:i386 libsane:i386
> libsasl2-2:i386
>  libsdl-image1.2:i386 libsdl-mixer1.2:i386 libsdl-net1.2:i386
> libsdl-ttf2.0-0:i386
>  libsdl1.2debian:i386 libshout3:i386 libsm6:i386 libsndfile1:i386
> libsoup-gnome2.4-1:i386
>  libsoup2.4-1:i386 libspeex1:i386 libspeexdsp1:i386 libsqlite3-0:i386
> libssl0.9.8:i386
>  libstdc++5:i386 libstdc++6:i386 libtag1-vanilla:i386 libtag1c2a:i386
> libtasn1-3:i386 libtdb1:i386
>  libthai0:i386 libtheora0:i386 libtiff4:i386 libunistring0:i386
> libusb-0.1-4:i386 libv4l-0:i386
>  libv4lconvert0:i386 libvisual-0.4-0:i386 libvorbis0a:i386
> libvorbisenc2:i386 libvorbisfile3:i386
>  libwavpack1:i386 libwind0-heimdal:i386 libwrap0:i386 libx11-6:i386
> libxau6:i386 libxaw7:i386
>  libxcb-render0:i386 libxcb-shm0:i386 libxcb1:i386
> libxcomposite1:i386 libxcursor1:i386
>  libxdamage1:i386 libxdmcp6:i386 libxext6:i386 libxfi