+
+(define-public confclerk
+ (package
+ (name "confclerk")
+ (version "0.6.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://www.toastfreeware.priv.at/tarballs/"
+ "confclerk/confclerk-" version ".tar.gz"))
+ (sha256
+ (base32
+ "10rhg44px4nvbkd3p341cmp2ds43jn8r4rvgladda9v8zmsgr2b3"))))
+ (build-system gnu-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (replace 'configure
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ ;; Install directory is currently hard-coded.
+ (substitute* "src/app/app.pro"
+ (("PREFIX = /usr/bin")
+ (string-append "PREFIX =" out "/bin")))
+ (invoke "qmake"))))
+ (add-after 'install 'install-docs
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (share (string-append out "/share")))
+ (install-file "data/confclerk.1"
+ (string-append share "/man/man1"))
+ (install-file "data/confclerk.desktop"
+ (string-append share "/applications"))
+ (install-file "data/confclerk.svg"
+ (string-append share "/icons/hicolor/scalable/apps"))
+ #t))))
+ #:tests? #f)) ; no tests
+ (native-inputs
+ `(("perl" ,perl))) ; pod2man
+ (inputs
+ `(("qtbase" ,qtbase)))
+ (home-page "https://www.toastfreeware.priv.at/confclerk")
+ (synopsis "Offline conference schedule application")
+ (description
+ "ConfClerk is an application written in Qt, which makes conference schedules
+available offline. It displays the conference schedule from various views,
+support searches on various items (speaker, speech topic, location, etc.) and
+enables you to select favorite events and create your own schedule.
+
+At the moment ConfClerk is able to import schedules in XML format created by
+the PentaBarf conference management system (or frab) used by e.g. FOSDEM,
+DebConf, FrOSCon, Grazer LinuxTage, and the CCC congresses.
+
+ConfClerk is targeted at mobile devices but works on any system running Qt.")
+ (license (list license:gpl2+
+ license:lgpl3)))) ; or cc-by3.0 for src/icons/*
+
+(define-public ccal
+ (package
+ (name "ccal")
+ (version "2.5.3")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "http://ccal.chinesebay.com/ccal/ccal-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "15nza1d1lvk3dp0wcl53wsd32yhbgyzznha092mh5kh5z74vsk1x"))))
+ (build-system gnu-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (replace 'configure
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (substitute* "Makefile"
+ (("/usr/local/bin")
+ (string-append out "/bin"))
+ (("/usr/local/man")
+ (string-append out "/share/man"))))
+ #t))
+ (add-after 'install 'install-manuals
+ (lambda _
+ (invoke "make" "install-man"))))
+ ;; no tests
+ #:tests? #f))
+ (home-page "http://ccal.chinesebay.com/ccal/ccal.htm")
+ (synopsis "Command line program for Chinese calendar")
+ (description "@command{ccal} is a command line program which writes a
+Gregorian calendar together with Chinese calendar to standard output. Its
+usage is similar to the @command{cal} program. In addition to console output,
+it can also generate Encapsulated Postscript and HTML table outputs for use in
+do-it-yourself calendars and web pages. It supports both simplified and
+traditional Chinese characters.")
+ ;; Both licenses are in use in various source files. Note that
+ ;; COPYING.LESSER specifies LGPL 3.0, but all source files say
+ ;; 'Lesser GPL version 2 or later'.
+ (license (list license:gpl2+ license:lgpl2.1+))))