unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Package not found in Vala API or GObject-Introspection GIR directories
@ 2015-03-16 12:28 Andreas Enge
  0 siblings, 0 replies; only message in thread
From: Andreas Enge @ 2015-03-16 12:28 UTC (permalink / raw)
  To: guix-devel

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

Hello,

the attached package fails to build with the following error message:
Making all in datahub
make[2]: Entering directory '/tmp/nix-build-zeitgeist-0.9.14.drv-0/build/datahub'
/gnu/store/lrqwgyq5m29pgjrzs6g3wjicm2v4pwii-vala-0.26.1/bin/valac \
        --target-glib=2.26 --pkg gio-2.0 --pkg gio-unix-2.0 --pkg gtk+-3.0 --pkg json-glib-1.0 ../libzeitgeist/zeitgeist-datamodel-2.0.vapi ../libzeitgeist/zeitgeist-2.0.vapi ../../zeitgeist-0.9.14/config.vapi ../../zeitgeist-0.9.14/datahub/glib-extra.vapi -C  --pkg telepathy-glib \
        ../../zeitgeist-0.9.14/datahub/data-provider.vala ../../zeitgeist-0.9.14/datahub/desktop-launch-listener.vala ../../zeitgeist-0.9.14/datahub/downloads-directory-provider.vala ../../zeitgeist-0.9.14/datahub/kde-recent-document-provider.vala ../../zeitgeist-0.9.14/datahub/recent-manager-provider.vala ../../zeitgeist-0.9.14/datahub/utils.vala ../../zeitgeist-0.9.14/datahub/zeitgeist-datahub.vala ../../zeitgeist-0.9.14/datahub/telepathy-observer.vala
error: Package `telepathy-glib' not found in specified Vala API directories or GObject-Introspection GIR directories

A search revealed that this might have to do with XDG_DATA_DIRS, so I added
glib as an input to obtain the XDG_DATA_DIRS environment variable.
The variable contains
   /gnu/store/hmkj0ynb9qc7fypd4ivkiqqmmzdxhycl-telepathy-glib-0.24.1/share
with a subdirectory gir-1.0 containing a file TelepathyGLib-0.12.gir.

Does anyone more knowledgeable in this matter have an idea on what goes wrong?

Andreas


[-- Attachment #2: zeitgeist.scm --]
[-- Type: text/plain, Size: 2729 bytes --]

;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
;;;
;;; 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 zeitgeist)
  #:use-module ((guix licenses) #:select (gpl2+))
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix utils)
  #:use-module (guix build-system glib-or-gtk)
  #:use-module (gnu packages databases)
  #:use-module (gnu packages glib)
  #:use-module (gnu packages gtk)
  #:use-module (gnu packages gnome)
  #:use-module (gnu packages pkg-config)
  #:use-module (gnu packages python)
  #:use-module (gnu packages rdf))

(define-public zeitgeist
  (package
    (name "zeitgeist")
    (version "0.9.14")
    (source
     (origin
      (method url-fetch)
      (uri (string-append "https://launchpad.net/zeitgeist/"
                          (version-major+minor version)
                          "/" version "/+download/"
                          name "-" version ".tar.xz"))
      (sha256
      (base32
       "0qgh2mgkmnf3nhsldfwjhxndhp1c8shka7gs9r0k5xkywszmm6vn"))))
    (build-system glib-or-gtk-build-system)
    (native-inputs
     `(("gobject-introspection" ,gobject-introspection)
       ("intltool" ,intltool)
       ("pkg-config" ,pkg-config)))
    (inputs
     `(("dbus" ,dbus)
       ("dbus-glib" ,dbus-glib)
       ("glib" ,glib)
       ("gtk+" ,gtk+)
       ("json-glib" ,json-glib)
       ("python" ,python-wrapper)
       ("python-rdflib" ,python-rdflib)
       ("raptor2" ,raptor2)
       ("sqlite" ,sqlite)
       ("telepathy-glib" ,telepathy-glib)
       ("vala" ,vala)))
    (home-page "http://zeitgeist-project.com/")
    (synopsis "Logging service for desktop environments")
    (description "Zeitgeist is a service which logs the users' activities
and events (files opened, websites visites, conversations held with other
people, etc.) and makes relevant information available to other
applications.  It is able to establish relationships between items based
on similarity and usage patterns.")
    (license gpl2+))) ; most files are lgpl2.1+

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-03-16 12:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-16 12:28 Package not found in Vala API or GObject-Introspection GIR directories Andreas Enge

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).