From unknown Wed Jun 18 00:07:08 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#41883 <41883@debbugs.gnu.org> To: bug#41883 <41883@debbugs.gnu.org> Subject: Status: [PATCH] gnu: Add phockup. Reply-To: bug#41883 <41883@debbugs.gnu.org> Date: Wed, 18 Jun 2025 07:07:08 +0000 retitle 41883 [PATCH] gnu: Add phockup. reassign 41883 guix-patches submitter 41883 Arun Isaac severity 41883 normal tag 41883 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 15 17:22:37 2020 Received: (at submit) by debbugs.gnu.org; 15 Jun 2020 21:22:37 +0000 Received: from localhost ([127.0.0.1]:47607 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jkwYm-0001wt-1I for submit@debbugs.gnu.org; Mon, 15 Jun 2020 17:22:37 -0400 Received: from lists.gnu.org ([209.51.188.17]:38946) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jkwYj-0001wm-Ll for submit@debbugs.gnu.org; Mon, 15 Jun 2020 17:22:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40162) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jkwYi-0004mg-58 for guix-patches@gnu.org; Mon, 15 Jun 2020 17:22:25 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:34998) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jkwYd-0006y7-Gi for guix-patches@gnu.org; Mon, 15 Jun 2020 17:22:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=uoopRYNsItHSemfMj7ZvA2Kc25KusWWjPlviU/sQZB0=; b=p9jhyHnS4DncFz1dYoZTu8695p 5FFOwAaTtzB/UBBhL9YnCwTmV0ELCGdKGiodtNt/RYiRPwYm1J1GLx9d1odzmlwvk9xS23XP/SodU i3PIYHX/Rog7UK9C3vVReNmNQmOk10F33Ub2BEouTPcbsOwRs4PuXKLh8ImriLClVoTU=; Received: from [192.168.2.1] (helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1jkwYX-001ROX-1x; Tue, 16 Jun 2020 02:52:13 +0530 From: Arun Isaac To: guix-patches@gnu.org Subject: [PATCH] gnu: Add phockup. Date: Tue, 16 Jun 2020 02:52:10 +0530 Message-Id: <20200615212211.11806-1-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=139.59.75.54; envelope-from=arunisaac@systemreboot.net; helo=mugam.systemreboot.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/15 14:40:32 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: Arun Isaac X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) * gnu/packages/image.scm (phockup): New variable. --- gnu/packages/image.scm | 55 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 54 insertions(+), 1 deletion(-) diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm index 393ee7e08b..b22eeedb30 100644 --- a/gnu/packages/image.scm +++ b/gnu/packages/image.scm @@ -11,7 +11,7 @@ ;;; Copyright © 2016, 2017, 2018, 2019, 2020 Efraim Flashner ;;; Copyright © 2016, 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice ;;; Copyright © 2016 Eric Bavier -;;; Copyright © 2016, 2017 Arun Isaac +;;; Copyright © 2016, 2017, 2020 Arun Isaac ;;; Copyright © 2016, 2017 Kei Kebreau ;;; Copyright © 2017 Nikita ;;; Copyright © 2017,2019,2020 Hartmut Goebel @@ -87,6 +87,7 @@ #:use-module (guix utils) #:use-module (guix build-system gnu) #:use-module (guix build-system cmake) + #:use-module (guix build-system copy) #:use-module (guix build-system meson) #:use-module (guix build-system python) #:use-module (guix build-system scons) @@ -2120,3 +2121,55 @@ It can create and edit indexed palette or 24bit RGB images, offers basic painting and palette manipulation tools. It also handles JPEG, JPEG2000, GIF, TIFF, WEBP, BMP, PNG, XPM formats.") (license license:gpl3+))) + +(define-public phockup + (package + (name "phockup") + (version "1.5.9") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ivandokov/phockup") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "13ajj0xch7yfqaaxbw0awxs0fz17n1rxir4gqh2wcgxjysqk1j2y")))) + (build-system copy-build-system) + (arguments + `(#:install-plan '(("src" "share/phockup/") + ("phockup.py" "share/phockup/")) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'configure + (lambda* (#:key inputs #:allow-other-keys) + (substitute* (list "src/dependency.py" "src/exif.py") + (("exiftool") + (string-append (assoc-ref inputs "perl-image-exiftool") + "/bin/exiftool"))) + #t)) + (add-before 'install 'check + (lambda _ + (invoke "pytest"))) + (add-after 'install 'install-bin + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (mkdir (string-append out "/bin")) + (symlink (string-append out "/share/phockup/phockup.py") + (string-append out "/bin/phockup"))) + #t))))) + (inputs + `(("perl-image-exiftool" ,perl-image-exiftool) + ("python" ,python))) + (native-inputs + `(("python-pytest" ,python-pytest) + ("python-pytest-mock" ,python-pytest-mock))) + (home-page "https://github.com/ivandokov/phockup") + (synopsis "Organize photos and videos in folders") + (description "Phockup is a media sorting tool that uses creation date and +time information in photos and videos to organize them into folders by year, +month and day. All files which are not images or videos or those which do not +have creation date information will be placed in a folder called +@file{unknown}.") + (license license:expat))) -- 2.26.2 From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 03 17:49:40 2020 Received: (at 41883) by debbugs.gnu.org; 3 Jul 2020 21:49:40 +0000 Received: from localhost ([127.0.0.1]:57789 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jrTYx-00011z-TT for submit@debbugs.gnu.org; Fri, 03 Jul 2020 17:49:40 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40536) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jrTYv-00011l-LU for 41883@debbugs.gnu.org; Fri, 03 Jul 2020 17:49:38 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:51342) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jrTYp-0004KA-Hp; Fri, 03 Jul 2020 17:49:31 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=53182 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jrTYo-00024z-Vy; Fri, 03 Jul 2020 17:49:31 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Arun Isaac Subject: Re: [bug#41883] [PATCH] gnu: Add phockup. References: <20200615212211.11806-1-arunisaac@systemreboot.net> Date: Fri, 03 Jul 2020 23:49:29 +0200 In-Reply-To: <20200615212211.11806-1-arunisaac@systemreboot.net> (Arun Isaac's message of "Tue, 16 Jun 2020 02:52:10 +0530") Message-ID: <87blkwmfpy.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41883 Cc: 41883@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Arun, Arun Isaac skribis: > * gnu/packages/image.scm (phockup): New variable. LGTM, thanks! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 04 11:37:47 2020 Received: (at 41883-done) by debbugs.gnu.org; 4 Jul 2020 15:37:47 +0000 Received: from localhost ([127.0.0.1]:59396 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jrkEd-0006Wn-LI for submit@debbugs.gnu.org; Sat, 04 Jul 2020 11:37:47 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:35724) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jrkEa-0006Wc-Rs for 41883-done@debbugs.gnu.org; Sat, 04 Jul 2020 11:37:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: 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=hM9Q490XBTXSRP+E5ydzTyNJNLsud+9khiW/jMCezWo=; b=DaXTYUA8t7QyGdmeiR6jEicpH 1+3I6YgWAx/5uQ9l8LsmHzvC3HaZWLhO4+1CM8d4F2rrRqlDaJJddajb9FbgRSlWdNWMrV3SIc5+m fPveToPo8gig20SgTCXOIe+8cw0pbi3MPtw6HoLuDf/ssR2xlGmPyqs5iUq2Ywxa0Ichc=; Received: from [192.168.2.1] (helo=steel) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1jrkEX-0023jB-IL; Sat, 04 Jul 2020 21:07:41 +0530 From: Arun Isaac To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [bug#41883] [PATCH] gnu: Add phockup. In-Reply-To: <87blkwmfpy.fsf@gnu.org> References: <20200615212211.11806-1-arunisaac@systemreboot.net> <87blkwmfpy.fsf@gnu.org> Date: Sat, 04 Jul 2020 21:07:35 +0530 Message-ID: <87eepruw8w.fsf@systemreboot.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41883-done Cc: 41883-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain >> * gnu/packages/image.scm (phockup): New variable. > > LGTM, thanks! Pushed to master, thanks! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEf3MDQ/Lwnzx3v3nTLiXui2GAK7MFAl8Aoj8ACgkQLiXui2GA K7NBBwf8C02Hs35CHeeHb3nzLlsTgS2qAp/s8Fl4F5fk/7rXCREHuHuqEGrmyUnP ieB5SuKUEvqoaHgpSsolOwLpxFljT0unOhtdKIdB0762ONJqp3ScWbELrClcuzrT R/AmFr9zLG3AExSiWbTvBGvOPEUWs4qSO9ECEPD0KV4GtUUDfjWl05H1j2YgjYSH QiQvG3i7JJEk4P/9WVokbGgAxG9p5YSR3f9io6i5cOxLDNSOvzr0n3q10glpo2CW kHpr1L0scnpE5WT538/WCQPBFfaB2+QBekrY5APNShcNH6u81RxjrbRUIXCXXoxw OpoLXe8peLAa+6XfKoU2YPqKhEMc7A== =JPLu -----END PGP SIGNATURE----- --=-=-=-- From unknown Wed Jun 18 00:07:08 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 02 Aug 2020 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator