Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Debianizing rmlint #32

merged 1 commit into from

2 participants


Rmlint is a good tool, now it's also Debian friendly :)

I filled the data forms with the same name/email/license found in your source files, but feel free to modify at will.


Actually, this is a stub, in case you plan to support Debian-style docs (html, sgml...)


Rather not, I think of rmlint as some sort of legacy software, and hope I find some time to rewrite it one glory day.
But till this point it has to do it's deed. I think the manpage suffices.


This means it will report an update at each commit. Unfortunately GitHub removed downloads. If you have a better idea, modify this (or have a look to the other options).


Maybe using tags is an alternative? (One constant like 'recent'). Or using a dev branch and only merging to master on releases.

( )


I haven't run it through lintian, but I think that you should provide source (at least a link) for that tcmalloc blob if you want to have a full-source-compatible archive (I know it's on SF, bit some others may not figure that out)


tcmalloc is actually not needed/used anymore. Seems I forgot to delete it.


@sahib sahib merged commit c2a7291 into sahib:master

Hello @esseks,

long time.
rmlint was rewritten in the meantime and the debian package needs probably some (tough) love.

Here's a short list of the relevant changes:

The code currently lies in the develop branch currently (,
but will be merged to master eventually in the next few days/weeks. Currently there is no release tag yet, so maybe just the current source as tarball. I will tag the release with 2.0.0 as soon it is released.

Let me hear if you want to update it :)

The code builds on Ubuntu 12.04 (which is the operating system behind TravisCI), so I hope it does on Debian too.



Hi there! I'm quite busy at the moment, but I'm definitely looking into this.

rmlint should build on Debian stable without issues, being it more recent than Ubuntu 12.04. Anyway, I am going to test the build process on Ubuntu 12.04LTS, 14.04LTS, Debian 7 and Debian 8.


Hey, thanks for your fast answer.
Just take your time (as I did - almost 3 years for a rewrite... cough).


Just a FYI: I released an alpha version of rmlint today:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 24, 2013
  1. @esseks

    Debianized rmlint.

    esseks authored
This page is out of date. Refresh to see the latest.
5 debian/changelog
@@ -0,0 +1,5 @@
+rmlint (1.0.0-1) unstable; urgency=low
+ * Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP>
+ -- Christopher Pahl <> Sun, 24 Mar 2013 22:12:04 +0100
1  debian/compat
@@ -0,0 +1 @@
15 debian/control
@@ -0,0 +1,15 @@
+Source: rmlint
+Section: utils
+Priority: extra
+Maintainer: Christopher Pahl <>
+Build-Depends: debhelper (>= 8.0.0)
+Standards-Version: 3.9.3
+Vcs-Git: git://
+Package: rmlint
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Tool to remove duplicates and other lint.
+ rmlint is a commandline tool to clean your filesystem from various sort of lint (unused files, twins, etc.).
25 debian/copyright
@@ -0,0 +1,25 @@
+Upstream-Name: rmlint
+Source: <>
+Files: *
+Copyright: 2013 Christopher Pahl <>
+License: GPL-3.0+
+License: GPL-3.0+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <>.
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
3  debian/docs
@@ -0,0 +1,3 @@
20 debian/rmlint.doc-base.EX
@@ -0,0 +1,20 @@
+Document: rmlint
+Title: Debian rmlint Manual
+Author: <insert document author here>
+Abstract: This manual describes what rmlint is
+ and how it can be used to
+ manage online manuals on Debian systems.
+Section: unknown
+Format: debiandoc-sgml
+Files: /usr/share/doc/rmlint/rmlint.sgml.gz
+Format: postscript
+Files: /usr/share/doc/rmlint/
+Format: text
+Files: /usr/share/doc/rmlint/rmlint.text.gz
+Format: HTML
+Index: /usr/share/doc/rmlint/html/index.html
+Files: /usr/share/doc/rmlint/html/*.html
13 debian/rules
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+ dh $@
1  debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
23 debian/watch
@@ -0,0 +1,23 @@
+# Example watch control file for uscan
+# Rename this file to "watch" and then you can run the "uscan" command
+# to check for upstream updates and more.
+# See uscan(1) for format
+# Compulsory line, this is a version 3 file
+# Uncomment to examine a Webpage
+# <Webpage URL> <string match>
+# rmlint-(.*)\.tar\.gz
+# Uncomment to examine a Webserver directory
+# Uncommment to examine a FTP server
+#*)\.tar\.gz debian uupdate
+# Uncomment to find new files on sourceforge, for devscripts >= 2.9
+# Uncomment to find new files on GooglePages
+# rmlint-(.*)\.tar\.gz
Something went wrong with that request. Please try again.