Difference between revisions of "AUR Cleanup Day/2010"

From ArchWiki
Jump to: navigation, search
(Package List)
(Package List)
Line 80: Line 80:
 
* [http://aur.archlinux.org/packages.php?ID=13589 gimp-freetype] - made for gimp 2.0, not available from official gimp website
 
* [http://aur.archlinux.org/packages.php?ID=13589 gimp-freetype] - made for gimp 2.0, not available from official gimp website
 
* [http://aur.archlinux.org/packages.php?ID=3754 gnash-cvs] - gnash use Bazaar now
 
* [http://aur.archlinux.org/packages.php?ID=3754 gnash-cvs] - gnash use Bazaar now
 +
* [http://aur.archlinux.org/packages.php?ID=2138 gnome-torrent] - DEAD
 
* [http://aur.archlinux.org/packages.php?ID=5207 gshare] - The package didn't function for me with the latest gnome. Furthermore it looks like this project is dead (website is down, source is no longer available)
 
* [http://aur.archlinux.org/packages.php?ID=5207 gshare] - The package didn't function for me with the latest gnome. Furthermore it looks like this project is dead (website is down, source is no longer available)
 
* [http://aur.archlinux.org/packages.php?ID=7942 gpsutil] - URL is not available, the link to gpsutil on the gpsbabel page is dead too.
 
* [http://aur.archlinux.org/packages.php?ID=7942 gpsutil] - URL is not available, the link to gpsutil on the gpsbabel page is dead too.

Revision as of 18:49, 12 February 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

  • 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.

#!/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";