From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id aIryKbiqumMHUgAAbAwnHQ (envelope-from ) for ; Sun, 08 Jan 2023 12:36:24 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id KDsAKbiqumPBSQEAG6o9tA (envelope-from ) for ; Sun, 08 Jan 2023 12:36:24 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5DF5E3B113 for ; Sun, 8 Jan 2023 12:36:24 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pETy4-00050h-FA; Sun, 08 Jan 2023 06:36:00 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pETy2-00050L-Gf for help-guix@gnu.org; Sun, 08 Jan 2023 06:35:58 -0500 Received: from knopi.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pETy0-0001r5-4O for help-guix@gnu.org; Sun, 08 Jan 2023 06:35:58 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 05B80409EE; Sun, 8 Jan 2023 12:35:54 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sqjYZTwUEucr; Sun, 8 Jan 2023 12:35:52 +0100 (CET) Content-Type: multipart/signed; boundary=471cb254a22f665417ad574f2ca5dc490d75252ef40c5a2ab33df8893976; micalg=pgp-sha512; protocol="application/pgp-signature" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1673177752; bh=Anp7F+p9T+Qznc0WHm/NF6rUa5x8ymqcu/LsLnT3FBw=; h=Date:Subject:From:To:References:In-Reply-To; b=C9tJnCj4t3Jzp/dZ23GaHUfe1aCisFv+GFk1HpcKvRMWNo/vLQXR3uug3kFZH4t/W 2S6uh1OFc8nUYOUjSWLdfKXYpwUgqsUJ3mfYMynD9B2ak9TA1dSpteCRWoi0S1ZDJH Np3HM5Ine5dyw9BKCxUEGf0jGnMp1CRWJdc9WuOZTxRm9l1Kf+D+oa4F9jv/8hUICP HIWr15ioh4tLbE2uQ9K6FkvA6TpQmgls6tDFPSDzPfeSkAmsNt0itBRmhtFuMT6SqS KiCjdOjKg0G2DLWk62TyUsjQnOTi5Pu4adkIps2z8wa06kGSkckiXW/rXBQ+Oeto1x 0+1rg3YJLtTMA== Date: Sun, 08 Jan 2023 11:35:51 +0000 Message-Id: Subject: Re: new version of paps (printing package for emacs) From: "(" To: "Gottfried" , References: <7755f459-cecb-aefc-83e4-262bd85a1b81@posteo.de> <74e0c548-da17-1d78-3905-ca7c72e2778c@posteo.de> In-Reply-To: <74e0c548-da17-1d78-3905-ca7c72e2778c@posteo.de> Received-SPF: pass client-ip=178.21.23.139; envelope-from=paren@disroot.org; helo=knopi.disroot.org X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MIME_HEADER_CTYPE_ONLY=0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673177784; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:content-type:content-type: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Bwcm+MGAMl6tJrv6ais25E1cR+j+G//M1M3kUgUV1Qw=; b=rSAp/QTuT7sFfKGjziQsxoGnjqYvpdZBn1H9nKIOn+xuu0wE+X3c5LXgvlJAXovH8P/UKw nEelbr3a60nOvVevNfytpnJa847tEf/noHsyyQ78IJuV5DuPfLrlwDZvVZmup9+SpkByoK mPo3rj6dxr8juezkpn0QWteHWOQPP1ei30hJj2tGCnMtYa9nSF5kDrIXMMKWv6kxXbCSeT X5NYLylE9PBJkjtenSGbdkSqeM4wQa8Pddzp3PBs2dF1VLK5rg2TDIjDBW0ink+WtoOQKV ZhHJ+454FnGOWCp3m/o743I/KKNd50plrKLIhp4qVSuHJMOgvPrB/dGNwHQEYw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=C9tJnCj4; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=reject) header.from=disroot.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1673177784; a=rsa-sha256; cv=none; b=nge+w7xC3PqIFi/CCXGMIFtUsRlXcfs6HF/J9hkewq9SLfTZKZEofOtfWXbO2YqITKpeK/ FF6x74IjH2D8O/ffrDoVl+VCNrH3SbOTmhSKFJX+FMRXYiayo9ffY23rBEas/OFC1UlHGN ygz8HW8WixlltEdzHaffS6+P8BjZeMKK1di2Dl0c0OI72qOfZug96tPisiVU35rxnlDSsU sHBDbu7owRScfpqOOXVh209A29cKCRqTawLJKEIKylOqzoFbQGOYRS5yDz93mGmM6e+Vwe JbltRX/JR9j5PF/WlgcYDgM99GyD4XhwIx5twxAJVs/X+pcWczgr0lYbDy+bpw== X-Spam-Score: -5.80 X-Migadu-Queue-Id: 5DF5E3B113 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=C9tJnCj4; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=reject) header.from=disroot.org X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -5.80 X-TUID: 3bhP8bTXeEK6 --471cb254a22f665417ad574f2ca5dc490d75252ef40c5a2ab33df8893976 Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 On Sun Jan 8, 2023 at 11:02 AM GMT, Gottfried wrote: > How can I update it myself? Clone the source code: git clone https://git.sv.gnu.org/git/guix.git cd guix Create a new branch to make your changes in: git branch wip-update-paps Now you can either use a git "worktree" (a new directory for your branch) o= r the current directory to edit the branch: git checkout wip-update-paps # to use the current directory git worktree add wip-update-paps # i prefer to use a new directory If you choose to use a worktree, make sure to cd there: cd wip-update-paps Build the source code, to make sure everything's working alright: ./bootstrap ./configure --localstatedir=3D/var make -j$(nproc) # using multiple jobs makes the build process *much* fast= er Now figure out where the package is: guix show paps # ---8<--- # location: gnu/packages/pdf.scm:1459:2 # ---8<--- Open up that file: (define-public paps (package (name "paps") (version "0.7.1") (source (origin (method url-fetch) (uri (string-append "https://github.com/dov/paps/releases/download= /v" version "/paps-" version ".tar.gz")) (sha256 (base32 "1z1w1fg2bvb8p92n1jlpqp3n9mq42szb2mqhh4xqmmnmfcdkpi9s")))= ) (build-system gnu-build-system) (inputs (list pango)) (native-inputs (list intltool pkg-config)) (home-page "https://github.com/dov/paps") (synopsis "Pango to PostScript converter") (description "Paps reads a UTF-8 encoded file and generates a PostScript language rendering of the file through the Pango Cairo back end.") (license license:lgpl2.0+))) Change the ``version'' number to the latest version: (version "(***VERSION***)") Now, Guix verifies downloaded code using a hash to check whether it's been corrupted or tampered with, so we need to change that too. To get the new hash, use ``guix download'': guix download https://github.com/dov/paps/releases/download/v(***VERSION*= **)/paps-(***VERSION***).tar.gz This will print out a string that looks a bit like what's currently in the (sha256 (base32 "...")). Replace that string with the one from ``guix down= load'' to update the hash. Now, rebuild: make -j$(nproc) We can use ``./pre-inst-env'' to test out our changes: ./pre-inst-env guix build paps It'll probably fail with the error you got before, so try adding the needed autotools dependencies to native-inputs: (native-inputs (list autoconf automake intltool libtool m4 pkg-config)) If that doesn't work, try adding gnu-gettext, too: (native-inputs (list autoconf automake gnu-gettext intltool libtool m4 pkg-config)) Now build and test again: make -j$(nproc) ./pre-inst-env guix build paps If it works, you can send it as a patch to the Guix mailing list. Follow t= he instructions on 's first two pages to set up Git= 's email features, but *don't do anything else from there*. Now you need to commit your change: git commit Your commit message should look something like this: gnu: paps: Update to (***VERSION***). * gnu/packages/pdf.scm (paps): Update to (***VERSION***). This is the typical GNU commit message format, called ChangeLog. Now use ``git send-email'' to send the patch to guix-patches (see for more information): git send-email -1 --base=3Dmaster --to=3Dguix-patches@gnu.org A patch email should appear on the Guix mailing list, ready to be applied by the maintainers :) -- ( --471cb254a22f665417ad574f2ca5dc490d75252ef40c5a2ab33df8893976 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEE6Vh10NblKE5doNlW7ImHg/nqI20FAmO6qpgACgkQ7ImHg/nq I22vPwv9EZzYZnMF3uvxYeSzDadMVp/owh2c9SQLWOIXLc6O5L7L0AjBJa3XbdoL KW2VL+sT5w1eI87toc8rDax80zeA2GtMQBF554WLLK2cUf3NgfqLz3/0+N6eA5QH zwvOqIuShmC9ChW5NDckO1Ly1aTQxWSoZe7+ONTIkOIHSt83ikdSeIYC5tuyshSR r9VMlQQFTdXqPFgf8Blcj773HsblvrWZ2BPOa9ao1GKW+v3JNsS2q+W8+TqbHbDW SyhOo+Ag9OZ/G1OW2Cc2XIOi0i3zrqG5wZsxjdvoehIg8y357fhbh3428lNLbcsT +l1JztEaN0a6Vuqko2NKrMnJS6CpbwXUShrWGb2rl1qRR0AIrIE5IMZyD18GqQSE RKvl3QWrjNt14zHnL5gFPzMDdf5L3wBIA8IxdL7YVRfbgxh7VNUcyVnCkdWzUMgh LU7zrpN9rmbI6oT26hxI8s4u4b8GdXeKjSsMGo7No1crIqWd+RyFJl8ReUiYNVHj Xl8yJ+AI =RkRx -----END PGP SIGNATURE----- --471cb254a22f665417ad574f2ca5dc490d75252ef40c5a2ab33df8893976--