nGhost Media Center

Ukoliko imate problema sa instalacijom ili korišćenjem nekog programa, ovo je pravo mesto za vaše pitanje.

Moderators: Slackmuz, Urednik

Post Reply

offline
User avatar

Posts: 4
Joined: 19 Jul 2015, 21:31
Location: Varna, Bulgaria
Contact:

Post Napisano: 19 Jul 2015, 21:54


Ја не знам да пишем ком језику? Српски Не знам, ја на руском, енглеском или бугарски ... .....
Прво ћемо питати питања о енглеском, то је врло кратко ...
Овај текст је превео уттулг, па извините ако постоје многе грешке

Да ли је неко у стању (можете) да инсталирате nGhost Media Center?
Покушавајући да Slackware 14.0 (мој дом рачунар) и 13.37 (на HP T5540 Он ће се користити за CARPC)

Anyone able (can it) to install nGhost Media Center?
Trying to install it on Slackware 14.0 (my home computer) and 13.37 (HP T5540 which will be used as Car PC).
I need front end badly .... :(
может лучше на русский писать ? :))



Administrator
Administrator
offline
User avatar

Posts: 4105
Joined: 04 Feb 2011, 20:32
Location: Beograd
Contact:

Post Napisano: 20 Jul 2015, 12:02


Sorry, I don't recall any discussion on nGhost on these forums. And I can't currently spare time to investigate it either.

Try writing in Bulgarian in the future. But expect to get answers in Serbian. There are similarities between two languages. Let's hope they are enough to have at least a basic communication.

Also, you can use Wikipedia as a reference on the differences betweeen Serbian and Bulgarian Cyrillic alphabet: Сръбска азбука @ bg.wikipedia.org.

A lot of people write in latin script, but most of them will default to our cyrillic alphabet when talking to Bulgarians or Russians in hope at least something will be understood.



offline
User avatar

Posts: 4
Joined: 19 Jul 2015, 21:31
Location: Varna, Bulgaria
Contact:

Post Napisano: 21 Jul 2015, 09:58


получи се, успях да компилирам nGhost
има 2 части:
1) libnghost (libnghost-2.0.2)
липсва в някой файлове
#include <cstdio>
или
#include <unistd.h>
или и 2-та реда

2) nghost2-2.0.2
за да го компилирам се наложи да премахна "-Werror" от Makefile .... на Слак 14.1 , 32 бита

dependency
sbopkg -ki "libsigc++ glibmm libxml++ SDL_gfx"



Administrator
Administrator
offline
User avatar

Posts: 4105
Joined: 04 Feb 2011, 20:32
Location: Beograd
Contact:

Post Napisano: 28 Jul 2015, 23:19


libnghost се фино комапјлира са малим изменама:

Code: Select all

diff -aur libnghost-2.0.2.orig/src/gui2/desktop.cpp libnghost-2.0.2/src/gui2/desktop.cpp
--- libnghost-2.0.2.orig/src/gui2/desktop.cpp	2008-07-24 07:28:12.000000000 +0200
+++ libnghost-2.0.2/src/gui2/desktop.cpp	2015-07-28 23:17:54.701508778 +0200
@@ -27,6 +27,7 @@
 
 #include <fstream>
 #include <assert.h>
+#include <unistd.h>
 
 using namespace std;
 
diff -aur libnghost-2.0.2.orig/src/gui2/text.cpp libnghost-2.0.2/src/gui2/text.cpp
--- libnghost-2.0.2.orig/src/gui2/text.cpp	2008-09-17 04:59:26.000000000 +0200
+++ libnghost-2.0.2/src/gui2/text.cpp	2015-07-28 23:20:32.909599904 +0200
@@ -21,6 +21,7 @@
 #include "ndebug.h"
 #include "settings.h"
 #include <sstream>
+#include <unistd.h>
 
 using namespace std;
 #ifdef OPENGL
diff -aur libnghost-2.0.2.orig/src/log/ndebug.cpp libnghost-2.0.2/src/log/ndebug.cpp
--- libnghost-2.0.2.orig/src/log/ndebug.cpp	2008-09-24 03:00:02.000000000 +0200
+++ libnghost-2.0.2/src/log/ndebug.cpp	2015-07-28 23:16:00.329611203 +0200
@@ -21,6 +21,7 @@
 #include "ndebug.h"
 #include "debugtransport.h"
 #include <cstdarg>
+#include <cstdio>
 #include <ctime>
 
 nghost::ndebug::LEVEL
diff -aur libnghost-2.0.2.orig/src/net/nsocket.cpp libnghost-2.0.2/src/net/nsocket.cpp
--- libnghost-2.0.2.orig/src/net/nsocket.cpp	2008-09-17 03:07:02.000000000 +0200
+++ libnghost-2.0.2/src/net/nsocket.cpp	2015-07-28 23:16:49.521706985 +0200
@@ -28,6 +28,7 @@
 #include <sys/socket.h>
 #include <arpa/inet.h>
 #include <errno.h>
+#include <unistd.h>
 #include "string.h"
 
 #include "ndebug.h"
Only in libnghost-2.0.2/src/plugins/download/curl: .download.cpp.swp
diff -aur libnghost-2.0.2.orig/src/plugins/download/curl/download.cpp libnghost-2.0.2/src/plugins/download/curl/download.cpp
--- libnghost-2.0.2.orig/src/plugins/download/curl/download.cpp	2008-09-24 22:26:54.000000000 +0200
+++ libnghost-2.0.2/src/plugins/download/curl/download.cpp	2015-07-28 23:24:42.183004051 +0200
@@ -3,6 +3,7 @@
 #include <sys/types.h>
 #include <curl/curl.h>
 #include <curl/easy.h>
+#include <unistd.h>
 #include "download.h"
 #include <ndebug.h>
 #include "string.h"
diff -aur libnghost-2.0.2.orig/src/plugins/interface/plugin_database.cpp libnghost-2.0.2/src/plugins/interface/plugin_database.cpp
--- libnghost-2.0.2.orig/src/plugins/interface/plugin_database.cpp	2008-09-24 22:26:54.000000000 +0200
+++ libnghost-2.0.2/src/plugins/interface/plugin_database.cpp	2015-07-28 23:22:01.404972481 +0200
@@ -2,6 +2,7 @@
 #include "plugin_query.h"
 #include "plugin_ierror.h"
 #include <cstdarg>
+#include <cstdio>
 
 nghost::plugin_database::plugin_database() : nplugin(), m_errhandler(NULL), m_mutex(m_mutex), m_embedded(true), m_b_use_mutex(false)
 {
diff -aur libnghost-2.0.2.orig/src/plugins/interface/plugin_stderrlog.cpp libnghost-2.0.2/src/plugins/interface/plugin_stderrlog.cpp
--- libnghost-2.0.2.orig/src/plugins/interface/plugin_stderrlog.cpp	2008-07-24 07:28:04.000000000 +0200
+++ libnghost-2.0.2/src/plugins/interface/plugin_stderrlog.cpp	2015-07-28 23:22:38.482290567 +0200
@@ -2,6 +2,7 @@
 #include "plugin_database.h"
 #include "plugin_query.h"
 #include <ctime>
+#include <cstdio>
 
 void
 nghost::plugin_stderrlog::error(nghost::plugin_database & d, nghost::plugin_query & q, const std::string & s)
diff -aur libnghost-2.0.2.orig/src/plugins/media/video/ipc/videoipc.cpp libnghost-2.0.2/src/plugins/media/video/ipc/videoipc.cpp
--- libnghost-2.0.2.orig/src/plugins/media/video/ipc/videoipc.cpp	2008-09-27 07:22:16.000000000 +0200
+++ libnghost-2.0.2/src/plugins/media/video/ipc/videoipc.cpp	2015-07-28 23:23:39.751159264 +0200
@@ -8,6 +8,7 @@
 #include <string>
 #include <settings.h>
 #include <ndebug.h>
+#include <unistd.h>
 #include "string.h"
 
 void findPositions(std::string & format, int & frame, int & second, int & minute);
Кад је nghost2 y питању, ово решава проблем:

Code: Select all

./configure --prefix=/usr
find -name Makefile -exec sed -i 's/-Werror//g' {} \;
Али то све није довољно, јер nghost приказује грешке:

Code: Select all

$ nghost      
                                                                                                
07/29/2015 00:07:38 CEST:ERROR - npluginloader.cpp:load(42) - lt_dlopenext("") - file not found
07/29/2015 00:07:38 CEST:WARNING - populate.cpp:SearchDir(52) - Failed to create the download plugin
07/29/2015 00:07:38 CEST:ERROR - npluginloader.cpp:load(42) - lt_dlopenext("") - file not found
07/29/2015 00:07:38 CEST:WARNING - populate.cpp:SearchDir(52) - Failed to create the download plugin
07/29/2015 00:07:38 CEST:ERROR - npluginloader.cpp:load(42) - lt_dlopenext("") - file not found
07/29/2015 00:07:38 CEST:ERROR - basedb.hpp:init(68) - Failed to load the database plugin
Немам време да даље тестирам. У SVN репозиторијуму се налази нешто новија верзија (из 2010. године). Можда је њу лакше средити.



offline
User avatar

Posts: 4
Joined: 19 Jul 2015, 21:31
Location: Varna, Bulgaria
Contact:

Post Napisano: 03 Aug 2015, 03:20


ls -l /usr/lib/nghost

??



Administrator
Administrator
offline
User avatar

Posts: 4105
Joined: 04 Feb 2011, 20:32
Location: Beograd
Contact:

Post Napisano: 04 Aug 2015, 00:35


English it is, than.
help40 wrote:ls -l /usr/lib/nghost

??
No /usr/lib(64)/nghost as I've deleted it soon afetwards. I didn't really have time to test it more. Kinda felt you can do that yourself.

And, it seems nghost is pretty much unmaintained with the last official version from 2008 and the last push in VCS repository in 2010. I'm not really fond of waisting too much time on getting it to work.

I see that most alternatives are for Android, but... Did you try Kodi (fromer XBMC)? There might be a skin for car PCs or small resolution screens.



offline
User avatar

Posts: 4
Joined: 19 Jul 2015, 21:31
Location: Varna, Bulgaria
Contact:

Post Napisano: 04 Aug 2015, 01:23


Oh , you did not understand my post from "Napisano: 21 Jul 2015, 09:58 "
I compiled it successfully , on slack 14.1 -32 bit (my home surveillance server ) and on slack 13.37 -32(my test "carpc" comp which is HP T5540)
and it is working .... , and I also write what I made for compiling ...

as you notice the test computer is too slow processor, but it is only for test for now ....
or we can call it something like ... 56 euro CarPC ... , from which 35 are for display with touchscreen (from aliexpress) + 11 euro for VK-172 GMOUSE USB GPS + old thin client HP t5540 (1000 Mhz , 1 GB ram , got it for 10 euro) + old 2.5" laptop hard drive (free , after changing old HDD on my old notebook)

I wanted to be on Linux, but if I can not find appropriate programs, will try a version with windows... , I do not like android

Anyway , thank you for testing it.

Also if you know other CarPC front-ends .... do not hesitate to suggest.

Till now I have success only with nGhost , dashpc (it is very old ... but need very little resource) , MythTV
as for GPS software : gpsdrive , navit and Seven Ways (which is also called Navikey)
did not test the last one , which is only binary (not open source, but some ppl are very pleased by it)

Thank you.



Administrator
Administrator
offline
User avatar

Posts: 4105
Joined: 04 Feb 2011, 20:32
Location: Beograd
Contact:

Post Napisano: 04 Aug 2015, 11:21


Oh, ok. Sorry. :)

I mentioned Kodi. Can it serve the purpose? It's not car pc per se, but it could serve the purpose. Same as MythTV.


Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests