From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS6130 216.105.38.0/24 X-Spam-Status: No, score=-3.6 required=3.0 tests=BAYES_00,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE, SPF_HELO_PASS,SPF_PASS,T_DKIM_INVALID shortcircuit=no autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id E36661F424 for ; Fri, 27 Apr 2018 13:17:06 +0000 (UTC) Received: from [127.0.0.1] (helo=sfs-ml-2.v29.lw.sourceforge.com) by sfs-ml-2.v29.lw.sourceforge.com with esmtp (Exim 4.90_1) (envelope-from ) id 1fC3FF-000219-52; Fri, 27 Apr 2018 13:17:01 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-2.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1fC3FD-000210-PI for sox-devel@lists.sourceforge.net; Fri, 27 Apr 2018 13:16:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=References:In-Reply-To:Message-Id:Date:Subject:Cc: To:From:Sender:Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=fN9HkDv6MJiFa4m8mmbzH2HUFFyt/vVai6VckoUu1GM=; b=MO1Iukz4DuN1k31D4ua27I+ZU8 hHw+0uXb81UxECSB7N9eirhXroFCCyLiJpJ/7qk+oWNR9RWC/PKAfcV4+y0mlr5PCzaHkx0ZDK9tI OQExuYZQOHBDe+2VpAyIKKatkSrMb5Tb9TTSpG4pTgUJQZGXl+lulyTbyXRQCCVK05xw=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To :MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=fN9HkDv6MJiFa4m8mmbzH2HUFFyt/vVai6VckoUu1GM=; b=E3BMgif0C3y9QUa8juDjMF+34E eUBrw1ywtt/TP62HxalXsI0Fxn/wnY5FoOJnv+Nhh0Pozf8h9/+SFIXRpT3C2OJedbh9z7cGKEWfK 1BLR5sElu5/RdchA2LKRv6zT2oc5BThwa8zQF2EBTfC1WNHFnc5/b4AuBDhf0foLpNMc=; Received: from unicorn.mansr.com ([81.2.72.234]) by sfi-mx-3.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) id 1fC3FB-00E5Ho-P7 for sox-devel@lists.sourceforge.net; Fri, 27 Apr 2018 13:16:59 +0000 Received: by unicorn.mansr.com (Postfix, from userid 51770) id DB46516403; Fri, 27 Apr 2018 14:16:49 +0100 (BST) From: Mans Rullgard To: sox-devel@lists.sourceforge.net Date: Fri, 27 Apr 2018 14:16:45 +0100 Message-Id: <20180427131645.26367-2-mans@mansr.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180427131645.26367-1-mans@mansr.com> References: <20180427131645.26367-1-mans@mansr.com> X-Headers-End: 1fC3FB-00E5Ho-P7 Subject: [PATCH 2/2] Fix Bug #261: absurd docs bug - PDF is doubled X-BeenThere: sox-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: sox-devel@lists.sourceforge.net Cc: Kevin Conder MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: sox-devel-bounces@lists.sourceforge.net From: Kevin Conder The problem is when any PDF is created, the result is two duplicate documents concatenated together. Solution: Add the "--no-toc-relocation" parameter to pdfroff as a work-around. [ew: format + edit commit message, add references: https://bugs.debian.org/538326 http://lists.gnu.org/archive/html/groff/2009-08/msg00028.html ] Reviewed-by: Eric Wong --- Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index fefa1869a632..35d06abdc6e7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -39,11 +39,11 @@ txt: $(DOCTXT) # Rule for making PDF man pages .1.pdf: - pdfroff -t -man -Tps $< > $@ + pdfroff -t -man --no-toc-relocation -Tps $< > $@ .3.pdf: - pdfroff -t -man -Tps $< > $@ + pdfroff -t -man --no-toc-relocation -Tps $< > $@ .7.pdf: - pdfroff -t -man -Tps $< > $@ + pdfroff -t -man --no-toc-relocation -Tps $< > $@ DOCPDF = sox.pdf soxi.pdf soxformat.pdf libsox.pdf pdf: $(DOCPDF) -- 2.17.0 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ SoX-devel mailing list SoX-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sox-devel