unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#37188] Add cvassistant
@ 2019-08-26  0:38 Jesse Gibbons
  2019-08-26  3:43 ` Raghav Gururajan
  2019-08-26  9:06 ` bug#37188: " Nicolas Goaziou
  0 siblings, 2 replies; 3+ messages in thread
From: Jesse Gibbons @ 2019-08-26  0:38 UTC (permalink / raw)
  To: 37188; +Cc: Raghav Gururajan

[-- Attachment #1: Type: text/plain, Size: 199 bytes --]

I'm not sure if it should be called cv-assistant or cvassistant.
Decided the program's executable name would be fine.

Thanks to Nicolas Goaziou for starting it. Credit given in copyright.
-- 
-Jesse

[-- Attachment #2: 0001-gnu-Add-cvassistant.patch --]
[-- Type: text/x-patch, Size: 4859 bytes --]

From 006241ed1be0832d99aff806eed2da526323fee5 Mon Sep 17 00:00:00 2001
From: Jesse Gibbons <jgibbons2357+guix@gmail.com>
Date: Sun, 25 Aug 2019 18:35:29 -0600
Subject: [PATCH] gnu: Add cvassistant.

    * gnu/package/cvassistant.scm: New file.
    * gnu/local.mk: Add it.
    * gnu/packages/cvassistant.scm (cvassistant): New variable.
---
 gnu/local.mk                 |  1 +
 gnu/packages/cvassistant.scm | 90 ++++++++++++++++++++++++++++++++++++
 2 files changed, 91 insertions(+)
 create mode 100644 gnu/packages/cvassistant.scm

diff --git a/gnu/local.mk b/gnu/local.mk
index 8b1b5ce6b4..484cb7d45c 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -128,6 +128,7 @@ GNU_SYSTEM_MODULES =				\
   %D%/packages/cryptsetup.scm			\
   %D%/packages/cups.scm				\
   %D%/packages/curl.scm				\
+  %D%/packages/cvassistant.scm			\
   %D%/packages/cyrus-sasl.scm			\
   %D%/packages/databases.scm			\
   %D%/packages/datamash.scm			\
diff --git a/gnu/packages/cvassistant.scm b/gnu/packages/cvassistant.scm
new file mode 100644
index 0000000000..f57806d734
--- /dev/null
+++ b/gnu/packages/cvassistant.scm
@@ -0,0 +1,90 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2019 Nicolas Goaziou <mail@nicolasgoaziou.fr>
+;;; Copyright © 2019 Jesse Gibbons <jgibbons2357+guix@gmail.com>
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix 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.
+;;;
+;;; GNU Guix 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 GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
+
+(define-module (gnu packages cvassistant)
+  #:use-module (guix packages)
+  #:use-module (guix download)
+  #:use-module (guix build-system gnu)
+  #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (gnu packages qt)
+  #:use-module (gnu packages compression))
+
+(define-public cvassistant
+  (package
+    (name "cvassistant")
+    (version "3.1.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://sourceforge/cvassistant/"
+                                  "cvassistant-" version "-src.tar.bz2"))
+              (sha256
+               (base32
+                "1y2680bazyiwm50gdhdd4982ckbjscrkbw2mngyk7yw708iadvr7"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'remove-donation-banner
+           ;; Remove dialog box with a donation link, as suggested by
+           ;; the INSTALL file.
+           (lambda _
+             (substitute* "controllers/mainwindow.cpp"
+               (("//(#define NO_DONATION_PROMPT)" _ line) line))
+             #t))
+         (add-after 'unpack 'fix-quazip-directory
+           (lambda _
+             (substitute* "models/resumedocument.h"
+               (("quazip(/quazipfile\\.h)" _ suffix)
+                (string-append "quazip5" suffix)))
+             #t))
+         (add-after 'fix-quazip-directory 'fix-quazip-link
+           (lambda _
+             (substitute* "CVAssistant.pro"
+               (("lquazip-qt5")
+                "lquazip5"))
+             #t))
+         (add-after 'fix-quazip-directory 'fix-install-root
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let ((out (assoc-ref outputs "out")))
+               (substitute* "CVAssistant.pro"
+                 (("/usr/(bin|share/)" _ suffix)
+                  (string-append out "/" suffix)))
+               #t)))
+         (replace 'configure
+           (lambda _ (invoke "qmake"))))))
+    (inputs
+     `(("qtbase" ,qtbase)
+       ("quazip" ,quazip)
+       ("zlib" ,zlib)))
+    (home-page "https://cvassistant.sourceforge.io/")
+    (synopsis "Job application organizer")
+    (description "Whether you're looking for a job or trying to help
+  a friend to find one, CVAssistant is a tool for you.  It helps you by
+  preparing resumes and cover letters and organizing your job
+  application process.  It:
+  @itemize
+  @item Stores all your skills and experiences.
+  @item Creates resumes tailored for each job you apply.
+  @item Creates cover letters summarized to match each job
+  advertisement.
+  @item Keeps a history of job applications so you are ready when you
+  receive a phone call.
+  @item Writes resumes in your language.  All languages are supported!
+  @end itemize")
+    (license license:gpl3+)))
-- 
2.23.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#37188] Add cvassistant
  2019-08-26  0:38 [bug#37188] Add cvassistant Jesse Gibbons
@ 2019-08-26  3:43 ` Raghav Gururajan
  2019-08-26  9:06 ` bug#37188: " Nicolas Goaziou
  1 sibling, 0 replies; 3+ messages in thread
From: Raghav Gururajan @ 2019-08-26  3:43 UTC (permalink / raw)
  To: jgibbons2357, 37188

[-- Attachment #1: Type: text/plain, Size: 334 bytes --]


> I'm not sure if it should be called cv-assistant or cvassistant.
> Decided the program's executable name would be fine.
> 
> Thanks to Nicolas Goaziou for starting it. Credit given in copyright.

I think it should be "cvassistant"; as that is what used in upstream (h
ttps://cvassistant.sourceforge.io/). :)

Regards,
RG.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#37188: Add cvassistant
  2019-08-26  0:38 [bug#37188] Add cvassistant Jesse Gibbons
  2019-08-26  3:43 ` Raghav Gururajan
@ 2019-08-26  9:06 ` Nicolas Goaziou
  1 sibling, 0 replies; 3+ messages in thread
From: Nicolas Goaziou @ 2019-08-26  9:06 UTC (permalink / raw)
  To: Jesse Gibbons; +Cc: Raghav Gururajan, 37188-done

Hello,

Jesse Gibbons <jgibbons2357@gmail.com> writes:

> I'm not sure if it should be called cv-assistant or cvassistant.
> Decided the program's executable name would be fine.

Applied. Thank you!

Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-08-26  9:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-26  0:38 [bug#37188] Add cvassistant Jesse Gibbons
2019-08-26  3:43 ` Raghav Gururajan
2019-08-26  9:06 ` bug#37188: " Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).