AUR Cleanup Day/2010

From ArchWiki
< AUR Cleanup Day
Revision as of 14:47, 10 February 2009 by Dolby (talk | contribs) (Package List)
Jump to: navigation, search

NOTE: TU's are currently working through the list. You can still add packages but please check the whole page first.

The AUR has a large number of obsolete packages which could use cleaning up. Examples of packages that may be cleaned up are:

  • packages that have been renamed or replaced
  • old and unmaintained developmental (cvs/svn/etc) packages

Post suggestions of packages on this pages. Trusted Users will get together and go though the list in a couple of weeks and confirm which packages should be removed. Please DO NOT REMOVE suggestions from the wiki page but add a comment on why it should be kept instead. Please list packages in alphabetical order! TUs will not delete any useful package.

Package List

Add new packages here - check for the package in the sorted lists below before adding

TU Working Area

For editing by TUs only! The wiki has a history so do not think you can get away with ignoring this... --Allan

Packages to Remove

  • 32bit-wine - duplicate of bin32-wine (already gone)
  • abcm2ps-devel - no devel version available. theres already abcm2ps-- True, deleted, also deleted abcm2ps-latest (StefanHusmann)
  • aethyra-svn - moved to git, theres already aethyra-git. see comments -- already gone (StefanHusmann)
  • al-mime al-mime - doesnt work, not supported anymore -- maybe something for a wiki-page?
  • al-mime-data - doesnt work, not supported anymore -- maybe something for a wiki-page?
  • aldrin-svn - replaced by aldrin-hg see comments - True, deleted (StefanHusmann)
  • apcalc - the same package as calc in community, renamed -- true, removed (StefanHusmann)
  • bit32-wine - orphaned with comment from author that it should be removed and it's duplicate of bin32-wine -- already gone
  • css-mode - Included in emacs 22.2. (stefanhusmann, d eleted)
  • emacs-unicode-2 - We have emacs-cvs and emacs-otf, which are similar. In fact emacs-otf was derived from emacs-unicode-2 (stefanhusmann, deleted)
  • fvwm-trans last updated over 2 years ago and replaced with
  • fvwm-patched in AUR --pressh (I think one feature that is patched is in fvwm by default now, the other is in fvwm-patched too. If user does not want all the patched they can disable the ones they don't want from fvwm-patched)
  • gnuplot-mode - included in gnuplot (stefanhusmann, deleted)
  • jacman - Jacman doesn't work correctly with pacman3. --Partition
  • madman-devel - problem with Faad, use git now (stefanhusmann: last entry on comment page is from 2005, deleted)
  • yatesparse - no additional comments from me. The PKGBUILD speaks for it self -- True, deleted. The author did not respond to all helpful comments since 2006, so he obviously is not maintaining any longer. Deleted (StefanHusmann)

In community:

Packages to Keep

  • aur-install - does this one still work and do we need it anyway? -- Seems to be actively maintained, no reason to delete.
  • amsn-plugins-texim - no longer exists -- it's here: [2] (StefanHusmann)
  • gnuserv - Deprecated in emacs-22+ - Please do not delete : see [3] The package never belonged to GNU emacs.(stefanhusmann)
  • mplayer-w32codecs - not duplicate package as has more codecs than the "codecs" package.
    • Should rename to "codecs-extra" and not provide same files as codecs package --Allan

Remove from Filesystem

There are files on the AUR filesystem that have been created when poorly formed packages were uploaded. This is a secondary consideration.

There are also directories in /packages/ for which the package no longer exists. These probably need to be removed as well. Examples are 4c, 1394commander and 8kingdoms. Also, all the packages that moved to community ALSO still exist there.

List here files that are in directories of existing packages.

This script will take care of packages that no longer exist.

# Run this script by providing it with the top path of AUR.
# In that path you should see a file lib/
# This will remove files which belong to deleted packages.
# ex: php cleanup dev/aur/web
$dir = $argv[1];

if (empty($dir)) {
        echo "Please specify AUR directory.\n";

set_include_path(get_include_path() . PATH_SEPARATOR . "$dir/lib");

exec('ls ' . INCOMING_DIR, $files);

$count = 0;

foreach ($files as $pkgname) {
        if (!package_exists($pkgname)) {
                echo 'Removing ' . INCOMING_DIR . "$pkgname\n";
                system('rm -r ' . INCOMING_DIR . $pkgname);

echo "\nRemoved $count directories.\n";