WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: midori  (Read 15720 times)

Offline kalu

  • Newbie
  • *
  • Posts: 41
Re: midori
« Reply #15 on: December 12, 2014, 11:52:50 AM »
Hi again, turns out that dependencies might require other dependencies, which in turn... I'm learning a lot here... But I'm having trouble figuring this one out:
Quote
checking for GLIB... yes
checking for GIO_UNIX... yes
checking for DBUS... yes
checking for xsltproc... no
configure: error: xsltproc (from the libxslt source package) is required
tc@box:~/telepathy-glib-0.19.10$ tce-load -wil libxslt
libxslt is already downloaded.
tc@box:~/telepathy-glib-0.19.10$

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: midori
« Reply #16 on: December 12, 2014, 12:18:01 PM »
tce-load handles nested dependencies.

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: midori
« Reply #17 on: December 12, 2014, 12:29:33 PM »
Apps -> click on the button that reads 'Search' and change it to 'Provides' -> enter  xsltproc  into the search field -> press ENTER.
Download a copy and keep it handy: Core book ;)

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11704
Re: midori
« Reply #18 on: December 12, 2014, 01:18:01 PM »
Hi kalu
If you enter:
Quote
which xsltproc
what does it say?

Offline kalu

  • Newbie
  • *
  • Posts: 41
Re: midori
« Reply #19 on: December 12, 2014, 01:49:52 PM »
Thank you all. I entered "tce-load -i  xsltproc" (without any reasoning behind it) just to try and see what happens (instead of -wil) and tce-load loaded xsltproc. I'm not really sure what the difference is, but it worked. And now it's compiling, but I'm sure I will run into other problems! :)

Offline kalu

  • Newbie
  • *
  • Posts: 41
Re: midori
« Reply #20 on: December 13, 2014, 07:12:46 AM »
Code: [Select]
/usr/local/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 ../config.vapi ./glib-extra.vapi -C  --pkg telepathy-glib \
        data-provider.vala desktop-launch-listener.vala downloads-directory-provider.vala kde-recent-document-provider.vala recent-manager-provider.vala utils.vala zeitgeist-datahub.vala telepathy-observer.vala
error: Package `telepathy-glib' not found in specified Vala API directories or GObject-Introspection GIR directories
Compilation failed: 1 error(s), 0 warning(s)                                   
make[2]: *** [zeitgeist_datahub_vala.stamp] Error 1                             
make[2]: Leaving directory `/home/tc/zeitgeist-0.9.14/datahub'                 
make[1]: *** [all-recursive] Error 1                                           
make[1]: Leaving directory `/home/tc/zeitgeist-0.9.14'                         
make: *** [all] Error 2                                                         
tc@box:~/zeitgeist-0.9.14$ tce-load -i telepathy-glib                           
telepathy-glib is already installed!                                           
tc@box:~/zeitgeist-0.9.14$ tce-load -i vala vala-dev                           
vala is already installed!                                                     
vala-dev is already installed!                                                 
tc@box:~/zeitgeist-0.9.14$ ls /usr/local/share/vala-0.24/vapi/                 
alsa.deps                         gtk+-2.0.deps                                 
alsa.vapi                         gtk+-2.0.vapi                                 
atk.vapi                          gtk+-3.0.deps                                 
atspi-2.deps                      gtk+-3.0.vapi                                 
atspi-2.vapi                      gtkmozembed.deps                             
avahi-client.vapi                 gtkmozembed.vapi                             
avahi-gobject.deps                gtksourceview-2.0.deps                       
avahi-gobject.vapi                gtksourceview-2.0.vapi                       
bzlib.vapi                        gtksourceview-3.0.deps                       
cairo-xcb.deps                    gtksourceview-3.0.vapi                       
cairo-xcb.vapi                    gudev-1.0.deps                               
cairo.vapi                        gudev-1.0.vapi                               
...
...
...
tc@box:~/zeitgeist-0.9.14$

Does anyone know the solution to this? I compiled telepathy-glib myself, but I don't know how to make it available "in the specified Vala API directories or GObject-Introspection GIR" like all the other extensions, so that make wouldn't complain about it.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: midori
« Reply #21 on: December 13, 2014, 07:48:15 AM »
I compiled telepathy-glib myself, but I don't know how to make it available "in the specified Vala API directories or GObject-Introspection GIR" like all the other extensions, so that make wouldn't complain about it.

Did you build it with gobject-introspection? If yes, there must be /usr/local/lib/girepository-1.0 directory. If not, rebuild with --gobject-introspection=yes config option. Of cource install gobject-introspection-dev.tcz before.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline kalu

  • Newbie
  • *
  • Posts: 41
Re: midori
« Reply #22 on: December 13, 2014, 09:04:21 AM »
Yes bmarkus, it does have /usr/local/lib/girepository-1.0 directory. But it's also missing the telepathy-glib file just like in the vala API directory:

Code: [Select]
tc@box:~$ ls /usr/local/lib/girepository-1.0/
DBus-1.0.typelib          GObject-2.0.typelib       xfixes-4.0.typelib
DBusGLib-1.0.typelib      Gio-2.0.typelib           xft-2.0.typelib
GIRepository-2.0.typelib  cairo-1.0.typelib         xlib-2.0.typelib
GL-1.0.typelib            fontconfig-2.0.typelib    xrandr-1.3.typelib
GLib-2.0.typelib          freetype2-2.0.typelib
GModule-2.0.typelib       libxml2-2.0.typelib
tc@box:~$

What do I do to it?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: midori
« Reply #23 on: December 13, 2014, 09:41:32 AM »
These look like the default typelib files that come with the gobject-introspection extension.

Did you recompile telepathy-glib with gobject-introspection-dev (and vala-dev) loaded?

Offline kalu

  • Newbie
  • *
  • Posts: 41
Re: midori
« Reply #24 on: December 13, 2014, 10:23:14 AM »
I think so Juanito. They're loaded right now, so they probably were when I was compiling telepathy-glib. You mean I should have unloaded them, before I compiled it?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: midori
« Reply #25 on: December 13, 2014, 10:34:11 AM »
In order to compile the gir and vala dev files you need the gobject-introspection-dev and vala-dev extensions to be loaded.

The ./configure script usually automatically checks for gobject-introspection-dev and vala-dev files, but you might need to force the issue with a ./configure switch (see ./configure --help for details).

Offline kalu

  • Newbie
  • *
  • Posts: 41
Re: midori
« Reply #26 on: December 13, 2014, 11:38:41 AM »
Alright, I'm going to try recompiling it again. Quick question, how do I gracefully remove existing 'telepathy-glib' from my system without rebooting? Before I did something like this:

Code: [Select]
tc@box:~/telepathy-glib-0.23.3$ tce-audit builddb
Building Extension Database from /etc/sysconfig/tcedir/optional
...
tc@box:~/telepathy-glib-0.23.3$ tce-audit delete telepathy-glib
/etc/sysconfig/tcedir/optional/telepathy-glib.tcz
tc@box:~/telepathy-glib-0.23.3$ rm /mnt/sda1/tce/optional/telepathy-glib.tcz
rm: remove '/mnt/sda1/tce/optional/telepathy-glib.tcz'? y
tc@box:~/telepathy-glib-0.23.3$ sudo reboot

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: midori
« Reply #27 on: December 13, 2014, 11:58:26 AM »
You don't necessarily need to remove it, you can just install over the top of it.

Offline kalu

  • Newbie
  • *
  • Posts: 41
Re: midori
« Reply #28 on: December 13, 2014, 03:15:52 PM »
Man was I happy when I saw "TelepathyGLib-0.12.typelib" in the girepository...

You don't necessarily need to remove it, you can just install over the top of it.

Wow, that's simple..., I already reboot though

Quote
--   package 'webkit-1.0>=1.8.1' not found
--   package 'javascriptcoregtk-1.0' not found

What about these? I've found plenty of these in the web but don't know which one. Thanks again to you all who are helping me!

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: midori
« Reply #29 on: December 13, 2014, 10:12:28 PM »
webkitgtk in the repo has these two files:

/usr/local/lib/pkgconfig/webkit2gtk-3.0.pc
/usr/local/lib/pkgconfig/javascriptcoregtk-3.0.pc

..so I guess you need something earlier - http://webkitgtk.org/releases/webkit-1.9.6.tar.xz - maybe?