Muon Suite 1.1 RC

The release candidate of the Muon package management suite 1.1 is now available. As with beta 2, the main focus for the release candidate milestone was to iron out issues to make sure the 1.1.0 release rocks. (Expect 1.1.0 to be released in around 2 weeks) Packages are available for the development version of Kubuntu 11.04 as well as for Kubuntu 10.10 via the QApt PPA as usual. Packages of interest are the muon and muon-installer packages.

Here’s what’s changed since 1.1 beta 2:

Muon 1.0.95

Bugfixes

  • Don’t return back to the main view on the first error encountered during a commit. APT commits can continue after some errors, and we wait until it is done to show all of our errors in the first place.
  • Fixed a small memory leak in the Muon Software Center where blacklisted/invalid Application pointers were never deleted.
  • Add a timeout for the search index progress bar so that we don’t have a phantom progress bar hanging around if the apt-xapian-index updater dies or doesn’t send a finished signal.
  • A few typos have been fixed
  • Not all sizes of the application-x-deb mimetype icon in KDE 4.6+ are appropriate for an application icon. To remedy this, take the other sizes from KDE 4.5 and install them in hicolor as muon.png
  • Ensure toolbar actions are re-enabled after errors during commits.
  • Don’t quit if an InitError comes from the worker. If the timing is right a LockError can be reported as an InitError in the worker, and we don’t have to quit all of Muon over that.
  • Fix a bug in the Muon Software Center where a menu path could not be found for a lot of installed applications.
  • Fix a bug in the Muon Package Manager where the QApt backend was being reloaded twice. This speeds up reloading after installing/removing packages and fixes the busy spinner not being present during reloads.
  • Fix a bug in the Muon Software Center where the search results page would show up for search terms that were too short to be accepted as searches.

Optimizations:

  • Use the more efficient Backend::areChangesMarked() function in determining whether or not to enable toolbar buttons
  • Small optimization in HistoryView: Don’t create a KIcon and grab a pixmap from it for each historyItem. Do it once and use this saved pixmap for all items.
  • KLocale::formatDate() is somewhat expensive, so make a cache of resulting date strings so that we can call formatDate less while setting up the HistoryView.
  • Hash the past-tense states and the past-tense state strings so that we don’t have to construct a new localized string each iteration. This cuts the amount of l10n string construction in half for a nice speedup constructing the HistoryView.
  • Don’t set the HistoryView items’ icons by pixmap, but rather by QIcon. QStandardItem expects a QIcon in the first place, and setting the icon by pixmap made it invoke the QIcon constructor anyways.

QApt 1.0.95

Features

  • Use APT’s pkgCacheFile for QApt::Cache’s cache implementation. This saves around 50 lines of code, plus we get the benefits of using the officially-sanctioned APT cache implementation that we don’t have to maintain.
  • Add a Package::controlField() function to get the string data of a certain field of the package control file.  It can be used to get custom data fields from packages such as GStreamer-specific fields from the GStreamer packages.
  • Report whether or not an InitError comes from the worker. This way applications can know if they should quit or not.

Bugfixes

  • Use the new Package::controlField() function to get an accurate support length for supported packages, rather than hardcoding it at 18 months.
  • Use Q_FOREACH explicitly to avoid potential issues with other libraries using the “foreach” keyword as a macro.

14 Responses to Muon Suite 1.1 RC

  1. Emil Sedgh says:

    And still no Debian package🙂
    Are Debian guys waiting to release Squeeze and then catch up with upstream?

  2. Poldark says:

    It is a very interesting program, thank you very much!

    Could you please prepare also the debian packages? In the meantime kubuntu has different apt frontends while debian has none.

    Regards from Spain

  3. yuri says:

    Sorry, but I can’t install 1.0.95 because:
    muon depends on libqapt-runtime
    libqapt-runtime depends on libpolkit-qt-1-0

    and:

    libpolkit-qt-1-1 conflicts with libpolkit-qt-1-0 (<= 0.99.0-0ubuntu1)
    polkit-kde-1 depends on libpolkit-qt-1-1
    kdelibs5-plugins depends on libpolkit-qt-1-1

    the day before yesterday I've installed kde4.6RC1 (ubuntu 10.10 + ppa:kubuntu-ppa/beta + ppa:kubuntu-ppa/experimental), so now I can't test muon. C'est la vie.

    • Hi, I’ve uploaded a copy of libqapt 1.0.95 to the Kubuntu Beta PPA so that it can build against the proper libraries needed for KDE 4.6. It should be done building in an hour or so. Thanks for bringing this to my attention. (I run the 11.04 prerelease, so I can’t usually catch these sorts of things.)

  4. Leszek says:

    You can get Debian packages for experimental/sid from here:
    deb http://88.153.37.184/repo sid main

    They come from the Debian based ZevenOS-Neptune Devs and are tested and work fine so far.
    As the IP might change (normally it should be a static IP, but occasionally sometimes the cable modem reconnects and gets a new ip; and hell yes its a home server) here you have the forum link with always the newest info: http://www.zevenos.com/forum/showthread.php?tid=697

  5. […] Muon Suite 1.1 RC The release candidate of the Muon package management suite 1.1 is now available. As with beta 2, the main focus for the release candidate milestone was to iron out issues to make sure the 1.1.0 release rocks. (Expect 1.1.0 to be released in around 2 weeks) Packages are available for the development version of Kubuntu 11.04 as well as for Kubuntu 10.10 via the QApt PPA as usual. Packages of interest are the muon and muon-installer packages. […]

  6. Paul says:

    Kubuntu Maverick 32-bit, KDE 4.5.4

    Update notice tonight included a ‘new’ package to be installed – libmuonprivate1. During the unpackaging this is reported:

    dpkg: error processing /var/cache/apt/archives/libmuonprivate1_1.0.95-0ubuntu1~maverick1_i386.deb (–unpack):
    trying to overwrite ‘/usr/share/locale/fr/LC_MESSAGES/libmuon.mo’, which is also in package muon 1.0.90-0ubuntu1~maverick1
    dpkg-deb: subprocess paste killed by signal (Broken pipe)

    At the end of the update process, this is reported:

    Errors were encountered while processing:
    /var/cache/apt/archives/libmuonprivate1_1.0.95-0ubuntu1~maverick1_i386.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    What is the problem?

    • Leszek says:

      You need to remove the old muon packages before installing the new ones.

      • Paul says:

        Thank you. Seems odd that Jon would not have included this requirement in the packaging, and taken care of the conflict for the user. Hmm.

        Okay, removed/purged my existing muon install, and then installed muon, which installed without complaint. However, in this latest version 1.0.95 now installed, there is no application icon. An oversight??

  7. Opaflamme says:

    Hi.
    Please, for muon packages, can you add dependencie for software-properties-kde ?
    Thanks for your great app.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: