Difference between revisions of "AUR Cleanup Day/2010"

From ArchWiki
Jump to: navigation, search
(Package List)
(Package List)
Line 103: Line 103:
 
* [http://aur.archlinux.org/packages.php?ID=7884 jfduke3d] - Is not updated by his author anymore, [http://aur.archlinux.org/packages.php?ID=15513 eduke32] was made to remplace it
 
* [http://aur.archlinux.org/packages.php?ID=7884 jfduke3d] - Is not updated by his author anymore, [http://aur.archlinux.org/packages.php?ID=15513 eduke32] was made to remplace it
 
* [http://aur.archlinux.org/packages.php?ID=7037 kanola] - probably dead project, didn't went past the 0.0.1 release since 2006
 
* [http://aur.archlinux.org/packages.php?ID=7037 kanola] - probably dead project, didn't went past the 0.0.1 release since 2006
 +
* [http://aur.archlinux.org/packages.php?ID=959 kirateradio] - doesnt exist anymore
 
* [http://aur.archlinux.org/packages.php?ID=13906 klibc-zen] - not needed anymore theres not even a kernel26zen..
 
* [http://aur.archlinux.org/packages.php?ID=13906 klibc-zen] - not needed anymore theres not even a kernel26zen..
 
* [http://aur.archlinux.org/packages.php?ID=3157 kopete-dev] - terribly outdated. no longer needed
 
* [http://aur.archlinux.org/packages.php?ID=3157 kopete-dev] - terribly outdated. no longer needed

Revision as of 09:44, 23 January 2009

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

  • css-mode - Included in emacs 22.2. (stefanhusmann, deleted)
  • 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)

In community:

  • gambas - no package depends on it and uptream development seems stopped, also exists gambas2 on community -- Ornitorrincos
  • lmctl - replaced by lomoco --Allan
  • octaveforge-cvs - octaveforge is now upstream a repo, not a single package. So this package does not make sense no longer. Same to octaveforge (stefanhusmann)
  • wildfire - Replaced by openfire. --pressh
  • xchat-systray-integration - Xchat is integrated with systray without this package -- angvp

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.
  • gnuserv - Deprecated in emacs-22+ - Please do not delete : see [1] 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.

#!/usr/bin/php
<?php
# Run this script by providing it with the top path of AUR.
# In that path you should see a file lib/aur.inc
#
# 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";
        exit;
}

set_include_path(get_include_path() . PATH_SEPARATOR . "$dir/lib");
include("config.inc");
include("aur.inc");
include("pkgfuncs.inc");

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);
                $count++;
        }
}

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