diff -Nru xdu-3.0/debian/changelog xdu-3.0/debian/changelog --- xdu-3.0/debian/changelog 2012-04-13 20:55:43.000000000 +0000 +++ xdu-3.0/debian/changelog 2017-08-05 21:01:44.000000000 +0000 @@ -1,18 +1,30 @@ +xdu (3.0-19) unstable; urgency=medium + + * Drop use of gitpkg + * patch: Use long long for size (Closes: #868896) + * Bumped standards version to 4.0.0 (no changes) + * Using dh to build as any modern package + * Fix lot of warning by using some modern (post 80's) C standard. + + -- Rémi Vanicat Sat, 05 Aug 2017 23:01:44 +0200 + xdu (3.0-18) unstable; urgency=low - [ Jari Aalto ] + * Integrate change by Jari Aalto using gitpkg (Closes: #668360). + * Add Vcs-git for public git repository + * Use section 1 for the man page + + -- Rémi Vanicat Fri, 13 Apr 2012 22:55:29 +0200 + +xdu (3.0-17.1) unstable; urgency=low + * Non-maintainer upload. * Remove deprecated dpatch and upgrade to packaging format "3.0 quilt". - Patch 00 is new. Contains in-line changes to original files. - Patch 03 was updated with "quilt refresh" to make it apply cleanly. * Update to Standards-Version to 3.9.3.1 and debhelper to 9. * Add build-arch and build-indep targets; use dh_prep in rules file. - [ Rémi Vanicat ] - * Integrate change by Jari Aalto using gitpkg (Closes: #668360). - * Add Vcs-git for public git repository - * Use section 1 for the man page - - -- Rémi Vanicat Fri, 13 Apr 2012 22:55:29 +0200 + -- Jari Aalto Wed, 11 Apr 2012 13:00:57 +0300 xdu (3.0-17) unstable; urgency=low diff -Nru xdu-3.0/debian/control xdu-3.0/debian/control --- xdu-3.0/debian/control 2012-04-13 20:55:43.000000000 +0000 +++ xdu-3.0/debian/control 2017-08-05 18:16:16.000000000 +0000 @@ -2,7 +2,7 @@ Section: utils Priority: optional Maintainer: Rémi Vanicat -Standards-Version: 3.9.3.1 +Standards-Version: 4.0.0 Build-Depends: debhelper (>= 9), libxt-dev, xutils-dev (>= 1:1.0.2-2), libxaw7-dev Vcs-Git: git://anonscm.debian.org/collab-maint/xdu.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/xdu.git diff -Nru xdu-3.0/debian/lintian-overrides xdu-3.0/debian/lintian-overrides --- xdu-3.0/debian/lintian-overrides 1970-01-01 00:00:00.000000000 +0000 +++ xdu-3.0/debian/lintian-overrides 2017-08-05 18:16:16.000000000 +0000 @@ -0,0 +1 @@ +spelling-error-in-changelog long long (duplicate word) long diff -Nru xdu-3.0/debian/manpages xdu-3.0/debian/manpages --- xdu-3.0/debian/manpages 1970-01-01 00:00:00.000000000 +0000 +++ xdu-3.0/debian/manpages 2017-08-05 18:16:16.000000000 +0000 @@ -0,0 +1 @@ +xdu.man diff -Nru xdu-3.0/debian/patches/0001-Define-EXTRA_LDOPTIONS-in-Imakefile.patch xdu-3.0/debian/patches/0001-Define-EXTRA_LDOPTIONS-in-Imakefile.patch --- xdu-3.0/debian/patches/0001-Define-EXTRA_LDOPTIONS-in-Imakefile.patch 2012-04-13 20:56:01.000000000 +0000 +++ xdu-3.0/debian/patches/0001-Define-EXTRA_LDOPTIONS-in-Imakefile.patch 2017-08-05 18:16:18.000000000 +0000 @@ -1,10 +1,9 @@ -From 538dbad23f7c01224dbb65a8930e4bb2ddb4c6ea Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?R=C3=A9mi=20Vanicat?= +From: =?utf-8?q?R=C3=A9mi_Vanicat?= Date: Fri, 13 Apr 2012 20:16:37 +0200 -Subject: [PATCH] Define EXTRA_LDOPTIONS in Imakefile. +Subject: Define EXTRA_LDOPTIONS in Imakefile. --- - Imakefile | 2 ++ + Imakefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Imakefile b/Imakefile @@ -20,6 +19,3 @@ ComplexProgramTarget(xdu) InstallAppDefaults(XDu) --- -1.7.10 - diff -Nru xdu-3.0/debian/patches/0002-modifications-to-the-resource-files.patch xdu-3.0/debian/patches/0002-modifications-to-the-resource-files.patch --- xdu-3.0/debian/patches/0002-modifications-to-the-resource-files.patch 2012-04-13 20:56:01.000000000 +0000 +++ xdu-3.0/debian/patches/0002-modifications-to-the-resource-files.patch 2017-08-05 18:16:18.000000000 +0000 @@ -1,10 +1,9 @@ -From 36eca38c67ac40f555d75d722ebf87d30f868a0a Mon Sep 17 00:00:00 2001 From: Fredrik Hallenberg Date: Fri, 13 Apr 2012 20:17:17 +0200 -Subject: [PATCH] modifications to the resource files +Subject: modifications to the resource files --- - XDu.ad | 20 ++++++++++---------- + XDu.ad | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/XDu.ad b/XDu.ad @@ -35,6 +34,3 @@ +!*Ncol: 5 +!*ShowSize: true +!*Order: first --- -1.7.10 - diff -Nru xdu-3.0/debian/patches/0003-Use-string.h-don-t-use-strdup-when-not-needed.patch xdu-3.0/debian/patches/0003-Use-string.h-don-t-use-strdup-when-not-needed.patch --- xdu-3.0/debian/patches/0003-Use-string.h-don-t-use-strdup-when-not-needed.patch 2012-04-13 20:56:01.000000000 +0000 +++ xdu-3.0/debian/patches/0003-Use-string.h-don-t-use-strdup-when-not-needed.patch 2017-08-05 18:16:18.000000000 +0000 @@ -1,11 +1,10 @@ -From db2044403cb429769749640ea1ef5809cac8b1cc Mon Sep 17 00:00:00 2001 From: Paul Slootman Date: Fri, 13 Apr 2012 20:25:21 +0200 -Subject: [PATCH] Use string.h, don't use strdup when not needed. +Subject: Use string.h, don't use strdup when not needed. One should had the autoconf stuff to see if strdup is available --- - xdu.c | 5 +++++ + xdu.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xdu.c b/xdu.c @@ -46,6 +45,3 @@ /**************** External Entry Points ****************/ --- -1.7.10 - diff -Nru xdu-3.0/debian/patches/0004-Handle-dirname-with-space.patch xdu-3.0/debian/patches/0004-Handle-dirname-with-space.patch --- xdu-3.0/debian/patches/0004-Handle-dirname-with-space.patch 2012-04-13 20:56:01.000000000 +0000 +++ xdu-3.0/debian/patches/0004-Handle-dirname-with-space.patch 2017-08-05 18:16:18.000000000 +0000 @@ -1,11 +1,10 @@ -From 4ed2ec137058ad8be577c219d64c3fa96ae7c67b Mon Sep 17 00:00:00 2001 From: Steve Haslam Date: Fri, 13 Apr 2012 20:30:15 +0200 -Subject: [PATCH] Handle dirname with space +Subject: Handle dirname with space Closes #52595 --- - xdu.c | 13 +++++++++++-- + xdu.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/xdu.c b/xdu.c @@ -39,6 +38,3 @@ /*printf("%d %s\n", size, name);*/ parse_entry(name,size); } --- -1.7.10 - diff -Nru xdu-3.0/debian/patches/0005-Remove-the-trailing-new-line-in-title.patch xdu-3.0/debian/patches/0005-Remove-the-trailing-new-line-in-title.patch --- xdu-3.0/debian/patches/0005-Remove-the-trailing-new-line-in-title.patch 2012-04-13 20:56:01.000000000 +0000 +++ xdu-3.0/debian/patches/0005-Remove-the-trailing-new-line-in-title.patch 2017-08-05 18:16:19.000000000 +0000 @@ -1,12 +1,11 @@ -From 8e9d0715baf91f610618ce8904dcfcf2a21c00eb Mon Sep 17 00:00:00 2001 From: Flavio Stanchina Date: Fri, 13 Apr 2012 20:35:23 +0200 -Subject: [PATCH] Remove the trailing new line in title. +Subject: Remove the trailing new line in title. It make the title text appears incorrectly with some windows manager. Closes #125867 --- - xwin.c | 2 +- + xwin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xwin.c b/xwin.c @@ -22,6 +21,3 @@ toplevel = XtAppInitialize(&app_con, "XDu", options, XtNumber(options), argcp, argv, --- -1.7.10 - diff -Nru xdu-3.0/debian/patches/0006-Make-q-quit-the-help-window.patch xdu-3.0/debian/patches/0006-Make-q-quit-the-help-window.patch --- xdu-3.0/debian/patches/0006-Make-q-quit-the-help-window.patch 2012-04-13 20:56:01.000000000 +0000 +++ xdu-3.0/debian/patches/0006-Make-q-quit-the-help-window.patch 2017-08-05 18:16:19.000000000 +0000 @@ -1,11 +1,10 @@ -From 210dd923749a342ae53f3baffafc2b95b4448b29 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?R=C3=A9mi=20Vanicat?= +From: =?utf-8?q?R=C3=A9mi_Vanicat?= Date: Fri, 13 Apr 2012 20:42:08 +0200 -Subject: [PATCH] Make q quit the help window. +Subject: Make q quit the help window. Overriding the text translation close #206606 --- - xwin.c | 1 + + xwin.c | 1 + 1 file changed, 1 insertion(+) diff --git a/xwin.c b/xwin.c @@ -20,6 +19,3 @@ /* Set up ICCCM delete window */ wm_delete_window = XInternAtom(XtDisplay(popup), "WM_DELETE_WINDOW", False); --- -1.7.10 - diff -Nru xdu-3.0/debian/patches/0007-Do-not-forward-declare-malloc-etc.patch xdu-3.0/debian/patches/0007-Do-not-forward-declare-malloc-etc.patch --- xdu-3.0/debian/patches/0007-Do-not-forward-declare-malloc-etc.patch 2012-04-13 20:56:01.000000000 +0000 +++ xdu-3.0/debian/patches/0007-Do-not-forward-declare-malloc-etc.patch 2017-08-05 18:16:19.000000000 +0000 @@ -1,10 +1,9 @@ -From 10cb7bbbd0afb3401803f3b8d3ea457cc145193a Mon Sep 17 00:00:00 2001 From: Andreas Jochens Date: Fri, 13 Apr 2012 20:46:00 +0200 -Subject: [PATCH] Do not forward declare malloc() etc. +Subject: Do not forward declare malloc() etc. --- - xdu.c | 2 +- + xdu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xdu.c b/xdu.c @@ -20,6 +19,3 @@ #define MAXDEPTH 80 /* max elements in a path */ #define MAXNAME 1024 /* max pathname element length */ --- -1.7.10 - diff -Nru xdu-3.0/debian/patches/0008-Use-long-long-for-size.patch xdu-3.0/debian/patches/0008-Use-long-long-for-size.patch --- xdu-3.0/debian/patches/0008-Use-long-long-for-size.patch 1970-01-01 00:00:00.000000000 +0000 +++ xdu-3.0/debian/patches/0008-Use-long-long-for-size.patch 2017-08-05 18:16:19.000000000 +0000 @@ -0,0 +1,178 @@ +From: =?utf-8?q?R=C3=A9mi_Vanicat?= +Date: Fri, 4 Aug 2017 20:09:59 +0200 +Subject: Use long long for size + +modern disk can be huge, so there could be overflow +--- + xdu.c | 54 +++++++++++++++++++++++++++--------------------------- + xwin.c | 4 ++-- + 2 files changed, 29 insertions(+), 29 deletions(-) + +diff --git a/xdu.c b/xdu.c +index b14d842..d8f86be 100644 +--- a/xdu.c ++++ b/xdu.c +@@ -76,13 +76,13 @@ struct rect { + * Each node in the path tree is linked in with one of these. + */ + struct node { +- char *name; +- long size; /* from here down in the tree */ +- long num; /* entry number - for resorting */ +- struct rect rect; /* last drawn screen rectangle */ +- struct node *peer; /* siblings */ +- struct node *child; /* list of children if !NULL */ +- struct node *parent; /* backpointer to parent */ ++ char *name; ++ long long size; /* from here down in the tree */ ++ long num; /* entry number - for resorting */ ++ struct rect rect; /* last drawn screen rectangle */ ++ struct node *peer; /* siblings */ ++ struct node *child; /* list of children if !NULL */ ++ struct node *parent; /* backpointer to parent */ + } top; + struct node *topp = ⊤ + #define NODE_NULL ((struct node *)0) +@@ -94,7 +94,7 @@ long nnodes = 0; + struct node * + makenode(name,size) + char *name; +-int size; ++long long size; + { + struct node *np; + +@@ -160,7 +160,7 @@ struct node *nodep; + * had their sizes initialized. [DPT911113] + * * * * This function is recursive * * * + */ +-long ++long long + fix_tree(top) + struct node *top; + { +@@ -234,10 +234,10 @@ void + parse_file(filename) + char *filename; + { +- char buf[4096]; +- char *name; +- int size; +- FILE *fp; ++ char buf[4096]; ++ char *name; ++ long long size; ++ FILE *fp; + + if (strcmp(filename, "-") == 0) { + fp = stdin; +@@ -256,7 +256,7 @@ char *filename; + buf[pos++] = '\0'; + while (buf[pos] == '\t' || buf[pos] == ' ') + pos++; +- size = atoi(buf); ++ size = atoll(buf); + name = buf + pos; + /*printf("%d %s\n", size, name);*/ + parse_entry(name,size); +@@ -268,7 +268,7 @@ char *filename; + void + parse_entry(name,size) + char *name; +-int size; ++long long size; + { + char *path[MAXDEPTH]; /* break up path into this list */ + char buf[MAXNAME]; /* temp space for path element name */ +@@ -315,12 +315,12 @@ int size; + * 0 if it is a toss up. + * 1 if it should go after. + */ +-int ++long long + compare(n1,n2,order) + struct node *n1, *n2; + int order; + { +- int ret; ++ long long ret; + + switch (order) { + case ORD_SIZE: +@@ -405,7 +405,7 @@ void + addtree(top, path, size) + struct node *top; + char *path[]; +-int size; ++long long size; + { + struct node *np; + +@@ -451,7 +451,7 @@ int level; + for (i = 0; i < level; i++) + printf(" "); + +- printf("%s %d\n", np->name, np->size); ++ printf("%s %lli\n", np->name, np->size); + for (subnp = np->child; subnp != NULL; subnp = subnp->peer) { + dumptree(subnp,level+1); + } +@@ -530,12 +530,12 @@ drawchildren(nodep, rect) + struct node *nodep; /* node whose children we should draw */ + struct rect rect; /* rectangle to draw all children in */ + { +- int totalsize; +- int totalheight; +- struct node *np; +- double fractsize; +- int height; +- int top; ++ long long totalsize; ++ int totalheight; ++ struct node *np; ++ double fractsize; ++ int height; ++ int top; + + /*printf("Drawing children of \"%s\", %d\n", nodep->name, nodep->size);*/ + /*printf("In [%d,%d,%d,%d]\n", rect.left,rect.top,rect.width,rect.height);*/ +@@ -630,7 +630,7 @@ pwd() + if (num != 0) + strcat(path,"/"); + } +- printf("%s %d (%.2f%%)\n", path, topp->size, ++ printf("%s %lli (%.2f%%)\n", path, topp->size, + 100.0*topp->size/rootp->size); + } + +@@ -762,7 +762,7 @@ nodeinfo() + + /* display each child of this node */ + for (np = topp->child; np != NULL; np = np->peer) { +- printf("%-8d %s\n", np->size, np->name); ++ printf("%-8lli %s\n", np->size, np->name); + } + } + +diff --git a/xwin.c b/xwin.c +index 1f03090..f7d04f1 100644 +--- a/xwin.c ++++ b/xwin.c +@@ -379,7 +379,7 @@ xrepaint_noclear() + + xdrawrect(name, size, x, y, width, height) + char *name; +-int size; ++long long size; + int x, y, width, height; + { + int textx, texty; +@@ -392,7 +392,7 @@ int x, y, width, height; + XDrawRectangle(dpy, win, gc, x, y, width, height); + + if (res.showsize) { +- sprintf(label,"%s (%d)", name, size); ++ sprintf(label,"%s (%lli)", name, size); + name = label; + } + diff -Nru xdu-3.0/debian/patches/0009-Use-standard-include-for-standard-functions.patch xdu-3.0/debian/patches/0009-Use-standard-include-for-standard-functions.patch --- xdu-3.0/debian/patches/0009-Use-standard-include-for-standard-functions.patch 1970-01-01 00:00:00.000000000 +0000 +++ xdu-3.0/debian/patches/0009-Use-standard-include-for-standard-functions.patch 2017-08-05 18:16:19.000000000 +0000 @@ -0,0 +1,22 @@ +From: =?utf-8?q?R=C3=A9mi_Vanicat?= +Date: Sat, 5 Aug 2017 14:12:25 -0400 +Subject: Use standard include for standard functions + +--- + xdu.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/xdu.c b/xdu.c +index d8f86be..8498b56 100644 +--- a/xdu.c ++++ b/xdu.c +@@ -20,7 +20,9 @@ + * the party supplying this software to the X Consortium. + */ + #include ++#include + #include ++#include + #include "version.h" + + // extern char *malloc(), *calloc(); diff -Nru xdu-3.0/debian/patches/0010-Fix-functions-declaration.patch xdu-3.0/debian/patches/0010-Fix-functions-declaration.patch --- xdu-3.0/debian/patches/0010-Fix-functions-declaration.patch 1970-01-01 00:00:00.000000000 +0000 +++ xdu-3.0/debian/patches/0010-Fix-functions-declaration.patch 2017-08-05 18:16:19.000000000 +0000 @@ -0,0 +1,142 @@ +From: =?utf-8?q?R=C3=A9mi_Vanicat?= +Date: Sat, 5 Aug 2017 14:14:04 -0400 +Subject: Fix functions declaration + +void for function that return nothing and explicit int for others +--- + xdu.c | 16 ++++++++++++---- + xwin.c | 13 +++++++++---- + 2 files changed, 21 insertions(+), 8 deletions(-) + +diff --git a/xdu.c b/xdu.c +index 8498b56..34bd563 100644 +--- a/xdu.c ++++ b/xdu.c +@@ -33,11 +33,12 @@ + #define NCOLS 5 /* default number of columns in display */ + + /* What we IMPORT from xwin.c */ +-extern int xsetup(), xmainloop(), xdrawrect(), xrepaint(); ++extern int xsetup(), xmainloop(), xdrawrect(); ++extern void xrepaint(); + + /* What we EXPORT to xwin.c */ + extern int press(), reset(), repaint(), setorder(), reorder(); +-extern nodeinfo(), helpinfo(); ++extern void nodeinfo(), helpinfo(); + int ncols = NCOLS; + + /* internal routines */ +@@ -196,6 +197,7 @@ Graphically displays the output of du in an X window\n\ + Toolkit options: -fg, -bg, -rv, -display, -geometry, etc.\n\ + "; + ++int + main(argc,argv) + int argc; + char **argv; +@@ -495,10 +497,14 @@ int order; + } + } + ++/* Forward declaration */ ++void drawchildren(); ++ + /* + * Draws a node in the given rectangle, and all of its children + * to the "right" of the given rectangle. + */ ++int + drawnode(nodep, rect) + struct node *nodep; /* node whose children we should draw */ + struct rect rect; /* rectangle to draw all children in */ +@@ -528,6 +534,7 @@ struct rect rect; /* rectangle to draw all children in */ + * Draws all children of a node within the given rectangle. + * Recurses on children. + */ ++void + drawchildren(nodep, rect) + struct node *nodep; /* node whose children we should draw */ + struct rect rect; /* rectangle to draw all children in */ +@@ -606,6 +613,7 @@ struct node *nodep; + } + } + ++void + pwd() + { + struct node *np; +@@ -754,7 +762,7 @@ char *op; /* order name */ + xrepaint(); + } + +-int ++void + nodeinfo() + { + struct node *np; +@@ -768,7 +776,7 @@ nodeinfo() + } + } + +-int ++void + helpinfo() + { + fprintf(stdout, "\n\ +diff --git a/xwin.c b/xwin.c +index f7d04f1..1f63299 100644 +--- a/xwin.c ++++ b/xwin.c +@@ -47,10 +47,10 @@ extern int ncols; + /* EXPORTS: routines that this module exports outside */ + extern int xsetup(); + extern int xmainloop(); +-extern int xclear(); +-extern int xrepaint(); +-extern int xrepaint_noclear(); +-extern int xdrawrect(); ++extern void xclear(); ++extern void xrepaint(); ++extern void xrepaint_noclear(); ++extern void xdrawrect(); + + /* internal routines */ + static void help_popup(); +@@ -349,17 +349,20 @@ char **argv; + ncols = res.ncol; + } + ++int + xmainloop() + { + XtAppMainLoop(app_con); + return(0); + } + ++void + xclear() + { + XClearWindow(dpy, win); + } + ++void + xrepaint() + { + XWindowAttributes xwa; +@@ -369,6 +372,7 @@ xrepaint() + repaint(xwa.width, xwa.height); + } + ++void + xrepaint_noclear() + { + XWindowAttributes xwa; +@@ -377,6 +381,7 @@ xrepaint_noclear() + repaint(xwa.width, xwa.height); + } + ++void + xdrawrect(name, size, x, y, width, height) + char *name; + long long size; diff -Nru xdu-3.0/debian/patches/0011-compare-char-to-char.patch xdu-3.0/debian/patches/0011-compare-char-to-char.patch --- xdu-3.0/debian/patches/0011-compare-char-to-char.patch 1970-01-01 00:00:00.000000000 +0000 +++ xdu-3.0/debian/patches/0011-compare-char-to-char.patch 2017-08-05 18:16:19.000000000 +0000 @@ -0,0 +1,21 @@ +From: =?utf-8?q?R=C3=A9mi_Vanicat?= +Date: Sat, 5 Aug 2017 14:15:02 -0400 +Subject: compare char to char + +--- + xdu.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/xdu.c b/xdu.c +index 34bd563..e49f73a 100644 +--- a/xdu.c ++++ b/xdu.c +@@ -291,7 +291,7 @@ long long size; + arg = 0; indx = 0; + bzero(path,sizeof(path)); + bzero(buf,sizeof(buf)); +- while (*name != NULL) { ++ while (*name != '\0') { + if (*name == '/') { + buf[indx] = 0; + path[arg++] = strdup(buf); diff -Nru xdu-3.0/debian/patches/series xdu-3.0/debian/patches/series --- xdu-3.0/debian/patches/series 2012-04-13 20:56:01.000000000 +0000 +++ xdu-3.0/debian/patches/series 2017-08-05 18:16:19.000000000 +0000 @@ -1,4 +1,3 @@ -# debian/source/git-patches exported from git by quilt-patches-deb-export-hook 0001-Define-EXTRA_LDOPTIONS-in-Imakefile.patch 0002-modifications-to-the-resource-files.patch 0003-Use-string.h-don-t-use-strdup-when-not-needed.patch @@ -6,3 +5,7 @@ 0005-Remove-the-trailing-new-line-in-title.patch 0006-Make-q-quit-the-help-window.patch 0007-Do-not-forward-declare-malloc-etc.patch +0008-Use-long-long-for-size.patch +0009-Use-standard-include-for-standard-functions.patch +0010-Fix-functions-declaration.patch +0011-compare-char-to-char.patch diff -Nru xdu-3.0/debian/README.source xdu-3.0/debian/README.source --- xdu-3.0/debian/README.source 2012-04-13 20:55:43.000000000 +0000 +++ xdu-3.0/debian/README.source 1970-01-01 00:00:00.000000000 +0000 @@ -1,7 +0,0 @@ -If you are using the source from git you need to generate the patches -using gitpgk: - -$ git config gitpkg.deb-export-hook /usr/share/gitpkg/hooks/quilt-patches-deb-export-hook -$ gitpkg master - - -- Rémi Vanicat , Fri, 13 Apr 2012 22:27:52 +0200 diff -Nru xdu-3.0/debian/rules xdu-3.0/debian/rules --- xdu-3.0/debian/rules 2012-04-13 20:55:43.000000000 +0000 +++ xdu-3.0/debian/rules 2017-08-05 18:16:17.000000000 +0000 @@ -5,56 +5,9 @@ PACKAGE = xdu +# main packaging script based on dh7 syntax +%: + dh $@ -build-arch: build -build-indep: build - -build: build-stamp -build-stamp: - dh_testdir - +override_dh_auto_configure: xmkmf - $(MAKE) - - touch build-stamp - -clean: - dh_testdir - dh_testroot - rm -f build-stamp - - -test -f Makefile && $(MAKE) clean && rm Makefile - - dh_clean - -# Build architecture-independent files here. -binary-indep: build -# We have nothing to do by default. - -# Build architecture-dependent files here. -binary-arch: build - dh_testdir - dh_testroot - dh_prep - dh_installdirs - - install -m755 xdu debian/xdu/usr/bin - install -m644 xdu.man debian/xdu/usr/share/man/man1/xdu.1 - install -m644 XDu.ad debian/xdu/etc/X11/app-defaults/XDu - - dh_installdocs README - dh_installchangelogs - dh_strip - dh_compress - dh_fixperms - dh_installdeb - dh_shlibdeps - dh_gencontrol - dh_md5sums - dh_builddeb - -source diff: - @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary diff -Nru xdu-3.0/debian/source/git-patches xdu-3.0/debian/source/git-patches --- xdu-3.0/debian/source/git-patches 2012-04-13 20:55:43.000000000 +0000 +++ xdu-3.0/debian/source/git-patches 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -upstream/$UPSTREAM_VERSION..patches/$DEB_VERSION