Sunday, October 31, 2010

XBPS 0.6.2 released!

A new version of the X Binary Package System, also known as XBPS has been released with the following changes:

  • libxbps: xbps_repository_unregister(): in remote repositories, also remove the pkg index file and its directory.
  • libxbps: xbps_get_pkg_index_plist(): fixed a memleak.
  • xbps-bin(8): modify the 'list' target to accept an optional argument to list packages in the specified state, so that you can list packages that need to be purged, configured and broken (will be used in the future).
  • xbps-bin(8): added a new target 'find-files' to find which installed package(s) own a file. Exact matches "/bin/mount" or patterns "/usr/lib/libb[ao]b\*" can be specified.
  • When updating a package and removing obsolete files, don't forget to remove those directories if they were empty.
Please report any bug, problem, wanted feature, suggestion or whatever to the XBPS users group at http://groups.google.com/group/xbps .

Wednesday, October 27, 2010

XBPS templates month news: October 2010

A lot of updates including Linux kernel to 2.6.36, GNOME 2.32, xorg 1.9.1, etc. Here's the full changelog for this month, it can be easily taken from Mercurlal repository with the following command:

$ hg log --template "{desc|firstline}\n\n" --date "2010-10-01 to 2010-10-31"

Summary:

  • sylpheed: update to 3.0.3.
  • squashfs-tools: update to 4.1.
  • sed: use --without-included-regex.
  • groff: fix issues with some UTF-8 manpages (from Arch), added -doc subpkg.
  • texinfo: ship compressed info files, bumprev.
  • fuse: remove static dev nodes, bumprev.
  • sysvinit: update to 2.88.
  • ConsoleKit: update to 0.4.2.
  • glibc: update to 2.12.1.
  • module-init-tools: update to 3.12.
  • psmisc: update to 22.13.
  • qemu: update to 0.13.0.
  • libarchive: bumprev for xz -> liblzma update.
  • Removed xz-devel symlink.
  • xz: update to 5.0.0, provide liblzma{,-devel} subpkgs. Bump abi_depends.
  • pam: update to 1.1.2.
  • libsoup: move gobject-introspection stuff into a new subpkg, bumprev.
  • udev: update to 164.
  • avahi: update to 0.6.28.
  • dconf: needs gio-modules trigger, move dconf bin into main pkg.
  • Added dconf-0.5.1 build template.
  • xbps-triggers: update to 0.4, improve gsettings-schemas trigger.
  • gnome-bluetooth: needs gsettings-schemas trigger, bumprev.
  • xbps-triggers: update to 0.3, added a gsettings-schemas trigger.
  • pygtk: update to 2.22.0.
  • pygobject: update to 2.26.0.
  • ntfs-3g: update to 2010.10.2.
  • fuse: update to 2.8.5.
  • network-manager-applet: update to 0.8.1.999.
  • NetworkManager: update to 0.8.1.999.
  • gnome: update to 2.32.0, finally!
  • gnome-bluetooth: update to 2.32.0, bump abi_depends.
  • asciidoc: update to 8.6.2.
  • kernel: modify kernel config one more time, bumprev.
  • xrandr: update to 1.3.3.
  • libXi: update to 1.3.2.
  • xcb-util: needs libxcb-devel at build time.
  • libX11: update to 1.3.99.902 (1.4.0 RC2).
  • xf86-video-intel: update to 2.13.0.
  • xf86-video-ati-git-snapshot: needs libudev.
  • xorg-util-macros: update to 1.10.1.
  • llvm: update to 2.8.
  • xkeyboard-config: update to 2.0.
  • libxml2: add a patch to fix segfaults with yelp and others, from Arch.
  • NetworkManager: update to 0.8.1.
  • gnome-panel: update to 2.30.0.2.
  • gdm: update to 2.32.0.
  • gedit: update to 2.30.4.
  • eog: update to 2.32.0.
  • gnome-netstatus: update to 2.28.2.
  • gnome-system-monitor: update to 2.28.2.
  • cairomm: require latest cairo that doesn't depend on glitz, bumprev.
  • gnome-utils: update to 2.32.0.
  • gnome-power-manager: update to 2.32.0.
  • gnome-terminal: update to 2.32.0.
  • vte: update to 0.26.0.
  • epiphany: update to 2.30.6.
  • webkit-gtk: update to 1.2.5.
  • gnome-user-docs: update to 2.32.0.
  • nautilus: update to 2.32.0.
  • yelp: update to 2.30.2.
  • gnome-themes: update to 2.32.0.
  • gnome-media: update to 2.32.0.
  • gnome-icon-theme: update to 2.31.0.
  • gnome-control-center: update to 2.32.0.
  • metacity: update to 2.30.3.
  • zenity: update to 2.32.0.
  • gnome-settings-daemon: update to 2.32.0.
  • nss-devel: fix Cflags in nss.pc file, bumprev.
  • libgnomekbd: update to 2.32.0.
  • gnome-backgrounds: update to 2.32.0.
  • gnome-applets: update to 2.32.0.
  • gst-plugins-base: update to 0.10.30.
  • libgtop: update to 2.28.2.
  • gstreamer: update to 0.10.30.
  • gucharmap: update to 2.32.0.
  • gnome-panel: update to 2.32.0.
  • GConf: added gir-gconf subpkg, bumprev to -devel subpkg.
  • gtk+: added gir-gtk+ subpkg, bumprev to -devel subpkg.
  • atk: update to 1.32.0.
  • pango: update to 1.28.3.
  • gnome-disk-utility: add patch missed in previous update.
  • gdk-pixbuf: add gir-gdk-pixbuf subpkg, bumprev to -devel subpkg.
  • libgnomecanvas: update to 2.30.2.
  • libgnome: update to 2.32.0.
  • gvfs: update to 1.6.4.
  • gnome-disk-utility: update to 2.32.0.
  • gnome-vfs: update to 2.24.4.
  • libbonobo: update to 2.32.0.
  • evolution-data-server: update to 2.32.0, bump abi_depends.
  • mapping_shlib: added libgdata.
  • Added libgdata-0.6.5 build template.
  • libgweather: update to 2.30.3.
  • libsoup: update to 2.32.0.
  • libgnome-keyring: update to 2.32.0.
  • gnome-desktop: update to 2.32.0.
  • gobject-introspection: update to 0.9.10.
  • gnome-menus: update to 2.30.4.
  • libwnck: update to 2.30.5.
  • librsvg: update to 2.32.0.
  • adobe-flash-plugin: update to 10.1 preview 2.
  • firefox: finish update to 3.6.11.
  • xulrunner: finish update to 1.9.2.11.
  • sqlite: update to 3.7.3.
  • eject: added a patch to handle mountpoints with spaces, from Gentoo. bumprev.
  • kernel-libc-headers: remove .install/..install.cmd files, install scsi/scsi.h. Bumprev.
  • ifenslave: sync code with 2.6.36, bumprev.
  • tzdata: update to 2010m.
  • libarchive: update to 2.8.4.
  • gnome-session: update to 2.32.0.
  • GConf: update to 2.32.0.
  • xorg-server: update to 1.9.1.
  • glib: move some bins from -devel to main pkg, bumprev.
  • polkit-gnome: bump api_depends.
  • polkit-gnome: update to 0.99.
  • polkit: update to 0.99, bump abi_depends.
  • xbps: update to 0.6.1.
  • gtk+: update to 2.22.0.
  • xbps-triggers: update to 0.2.
  • Added gdk-pixbuf-2.22.0 build template.
  • dbus: update to 1.4.0.
  • upower: update to 0.9.6.
  • polkit: update to 0.98.
  • lvm2: update to 2.02.74.
  • openssh: update to 5.6p1.
  • cronie: update to 1.4.6.
  • logrotate: update to 3.7.9.
  • sudo: update to 1.7.4p4.
  • util-linux-ng: update to 2.18, added libmount{,-devel} subpkgs.
  • man-pages: update to 3.29.
  • grep: update to 2.7.
  • rsyslog: update to 5.6.0.
  • kernel: improve x86_64 options, remove kernel-manpages subpkg.
  • Split kernel-manpages from the 'kernel' pkg, to speed up the process.
  • dhcpcd: update to 5.2.8.
  • coreutils: update to 8.6.
  • busybox-initramfs: update to 1.17.3.
  • make: add two patches from archlinux, bumprev.
  • nss: update to 3.12.8.
  • nspr: update to 4.8.6.
  • Added talloc-2.0.1 build template.
  • xf86-input-evdev: update to 2.5.0.
  • xf86-video-ati: update to 6.13.2.
  • xorg-server: update to 1.9.0, bump abi_depends.
  • libpciaccess: update to 0.12.0.
  • libdrm: update to 2.4.22.
  • libXfont: update to 1.4.2.
  • xproto: update to 7.0.18.
  • libICE: update to 1.0.7.
  • libfontenc: update to 1.1.0.
  • freetype: update to 2.4.3.
  • cairo: update to 1.10.0.
  • pixman: update to 0.18.4.
  • kernel-libc-headers: install drm headers, bumprev.
  • kernel-libc-headers: update to 2.6.36.
  • glib: update to 2.26.0.
  • bzip2: update to 1.0.6.
  • mercurial: update to 1.6.4.
  • xbps-base-system: update to 0.32, do not depend on radeon-firmware.
  • kernel: update to 2.6.36.
  • wifi-firmware: update to 1.1: some deps now come from linux-firmware pkg.
  • Added linux-firmware replacing some firmware packages.
  • gcc: update to 4.5.1.
  • mpc: bump revision due to mpfr ABI change.
  • Backed out changeset a850a857fb8a. Human error...
  • mpc: bump revision due to mpfr ABI change.
  • mpfr: update to 3.0.0. Bump abi_depends.
  • udev: update to 163.
  • xbps-src: do not overwrite PATH, just append it to the new one.
  • make: update to 3.82.

XBPS: upcoming features for 0.6.2

I've been working in some missing features for the next XBPS version, and here they are:

  1. xbps-bin(8): modify the 'list' target to accept an optional argument to list packages in the specified state, so that you can list packages that need to be purged, configured and broken (will be used in the future).
  2. xbps-bin(8): added a new target 'find-files' to find which installed package(s) own a file. Exact matches "/bin/mount" or patterns "/usr/lib/libb[ao]b\*" can be specified.
  3. When updating a package and removing obsolete files, don't forget to remove those directories if they were empty.
The first item adds code to list any package registered on the system, regardless of its state; even it it's broken (well, broken means that some files were removed and/or modified, or that there are missing runtime dependencies, missing metadata files, etc). You can see the commig log here:

http://groups.google.com/group/xbps-commits/browse_thread/thread/cf450a3c6da4c09c

The second item adds code to find files owned by a package, it's well explained
here:

http://groups.google.com/group/xbps/browse_thread/thread/db5923dff1f42dac

Last item helps to remove obsolete and empty directories that aren't used anymore by any installed package.

Development won't stop and I'm looking for more ideas and features to be implemented for the next upcoming XBPS version, 0.6.2.

XBPS 0.6.1 released

A new version has just been released with the following changes:

XBPS 0.6.1
- Released October 23, 2010.
  • When replacing a package that is going to be updated in the transaction do not remove it, just overwrite its files and continue. The updated package will find that old files didn't match the SHA256 hash and will skip them. This solves the issue of new package updates requiring new dependencies with files that were previously stored in the old version. For example gtk+-2.20 containing gdk-pixbuf, and gtk+-2.22 requiring gdk-pixbuf externally.
The Release Notes for all released versions can be found here.