From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Raghav Gururajan <raghavgururajan@disroot.org>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: CV Assistant
Date: Fri, 16 Aug 2019 17:52:36 +0200 [thread overview]
Message-ID: <87wofdds57.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <6b32a02c340e05d8b4ffdc3b915b86e062eeb67e.camel@disroot.org> (Raghav Gururajan's message of "Thu, 15 Aug 2019 22:59:03 -0400")
Hello,
Raghav Gururajan <raghavgururajan@disroot.org> writes:
> I sat to do it several times but could not start it due to the
> situation I am in. I am curious to learn packaging in guix and I am
> confident that I will be doing it someday. It just not the right time
> (hectic situation).
In order to get you, or someone else, started, here is a draft for the
package:
(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
;; Without it, build process fails with "fatal error:
;; quazip/quazipfile.h: No such file or directory".
;;
;; FIXME: insufficient! It fails later with "ld: cannot
;; find -lquazip-qt5".
(lambda _
(substitute* "models/resumedocument.h"
(("quazip(/quazipfile\\.h)" _ suffix)
(string-append "quazip5" 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+)))
Unfortunately, it fails to build with "ld: cannot find -lquazip-qt5".
This is probably related to this part of the definition:
(add-after 'unpack 'fix-quazip-directory
;; Without it, build process fails with "fatal error:
;; quazip/quazipfile.h: No such file or directory".
;;
;; FIXME: insufficient! It fails later with "ld: cannot
;; find -lquazip-qt5".
(lambda _
(substitute* "models/resumedocument.h"
(("quazip(/quazipfile\\.h)" _ suffix)
(string-append "quazip5" suffix)))
#t))
I'm quite certain this is not too hard to solve. You may want to
investigate a bit further, or ask for help through IRC, etc.
HTH,
Regards,
--
Nicolas Goaziou
next prev parent reply other threads:[~2019-08-16 15:52 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-15 11:13 CV Assistant Raghav Gururajan
2019-08-15 17:24 ` John Soo
2019-08-16 2:59 ` Raghav Gururajan
2019-08-16 15:52 ` Nicolas Goaziou [this message]
2019-08-25 3:00 ` Jesse Gibbons
2019-08-25 5:25 ` Jesse Gibbons
2019-08-25 8:57 ` Nicolas Goaziou
2019-08-25 18:18 ` Raghav Gururajan
2019-08-25 22:26 ` Jesse Gibbons
2019-08-26 3:40 ` Raghav Gururajan
2019-08-25 18:16 ` Raghav Gururajan
2019-08-25 18:15 ` Raghav Gururajan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wofdds57.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=help-guix@gnu.org \
--cc=raghavgururajan@disroot.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).