Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Debianizing rmlint #32

Merged
merged 1 commit into from

2 participants

@esseks

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.

@esseks

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

Owner

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.

@esseks

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

Owner

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

( https://github.com/esseks/rmlint/tags )

@esseks

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)

@sahib
Owner

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

Thanks.

@sahib sahib merged commit c2a7291 into sahib:master
@sahib
Owner

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 (https://github.com/sahib/rmlint/tree/develop),
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.

Regards,
Chris

@esseks

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.

@sahib
Owner

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

@sahib
Owner

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

https://github.com/sahib/rmlint/releases/tag/v2.0.0-alpha

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.
View
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 <sahib@online.de> Sun, 24 Mar 2013 22:12:04 +0100
View
1  debian/compat
@@ -0,0 +1 @@
+8
View
15 debian/control
@@ -0,0 +1,15 @@
+Source: rmlint
+Section: utils
+Priority: extra
+Maintainer: Christopher Pahl <sahib@online.de>
+Build-Depends: debhelper (>= 8.0.0)
+Standards-Version: 3.9.3
+Homepage: https://github.com/sahib/rmlint
+Vcs-Git: git://github.com/sahib/rmlint.git
+Vcs-Browser: https://github.com/sahib/rmlint
+
+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.).
View
25 debian/copyright
@@ -0,0 +1,25 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: rmlint
+Source: <https://github.com/sahib/rmlint>
+
+Files: *
+Copyright: 2013 Christopher Pahl <sahib@online.de>
+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
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ 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 <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
+
View
3  debian/docs
@@ -0,0 +1,3 @@
+README.textile
+AUTHORS
+CHANGELOG
View
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/rmlint.ps.gz
+
+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
View
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 $@
View
1  debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
View
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
+version=3
+
+# Uncomment to examine a Webpage
+# <Webpage URL> <string match>
+#http://www.example.com/downloads.php rmlint-(.*)\.tar\.gz
+
+# Uncomment to examine a Webserver directory
+https://github.com/sahib/rmlint/archive/master.zip
+
+# Uncommment to examine a FTP server
+#ftp://ftp.example.com/pub/rmlint-(.*)\.tar\.gz debian uupdate
+
+# Uncomment to find new files on sourceforge, for devscripts >= 2.9
+# http://sf.net/rmlint/rmlint-(.*)\.tar\.gz
+
+# Uncomment to find new files on GooglePages
+# http://example.googlepages.com/foo.html rmlint-(.*)\.tar\.gz
Something went wrong with that request. Please try again.