maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   Chromium 5.0.369.2 N900 (https://talk.maemo.org/showthread.php?t=93962)

pichlo 2014-10-05 13:32

Re: Chromium 5.0.369.2 N900
 
Quote:

Originally Posted by abdel_95 (Post 1441915)
okay i've downloaded files in the first link what next should i do?

If you need to ask, then simply delete them.

This is NOT some kind of smart-***, sarcastic quib. It is a well meant advice. Things from random sources other than the standard repositories are only for those who know what they are doing.

sulu 2014-10-05 15:14

Re: Chromium 5.0.369.2 N900
 
I did some research in the Raspbian sources [1] and I believe the error message comes from here:

third_party/libjingle/source/talk/media/devices/linuxdevicemanager.cc
Code:

bool LinuxDeviceWatcher::Start() {
  // We deliberately return true in the failure paths here because libudev is
  // not a critical component of a Linux system so it may not be present/usable,
  // and we don't want to halt LinuxDeviceManager initialization in such a case.
  if (!libudev_.Load()) {
    LOG(LS_WARNING) << "libudev not present/usable; LinuxDeviceWatcher disabled";
    return true;
  }
  udev_ = libudev_.udev_new()();
  if (!udev_) {
    LOG_ERR(LS_ERROR) << "udev_new()";
    return true;
  }
  // The second argument here is the event source. It can be either "kernel" or
  // "udev", but "udev" is the only correct choice. Apps listen on udev and the
  // udev daemon in turn listens on the kernel.
  udev_monitor_ = libudev_.udev_monitor_new_from_netlink()(udev_, "udev");
  if (!udev_monitor_) {
    LOG_ERR(LS_ERROR) << "udev_monitor_new_from_netlink()";
    return true;
  }
  // We only listen for changes in the video devices. Audio devices are more or
  // less unimportant because receiving device change notifications really only
  // matters for broadcasting updated send/recv capabilities based on whether
  // there is at least one device available, and almost all computers have at
  // least one audio device. Also, PulseAudio device notifications don't come
  // from the udev daemon, they come from the PulseAudio daemon, so we'd only
  // want to listen for audio device changes from udev if using ALSA. For
  // simplicity, we don't bother with any audio stuff at all.
  if (libudev_.udev_monitor_filter_add_match_subsystem_devtype()(
          udev_monitor_, "video4linux", NULL) < 0) {
    LOG_ERR(LS_ERROR) << "udev_monitor_filter_add_match_subsystem_devtype()";
    return true;
  }
  if (libudev_.udev_monitor_enable_receiving()(udev_monitor_) < 0) {
    LOG_ERR(LS_ERROR) << "udev_monitor_enable_receiving()";
    return true;
  }
  static_cast<talk_base::PhysicalSocketServer*>(
      talk_base::Thread::Current()->socketserver())->Add(this);
  registered_ = true;
  return true;
}

specifically:
Code:

if (libudev_.udev_monitor_enable_receiving()(udev_monitor_) < 0) {
    LOG_ERR(LS_ERROR) << "udev_monitor_enable_receiving()";
    return true;
  }

Shortly before there is this check:
Code:

if (!libudev_.Load()) {
    LOG(LS_WARNING) << "libudev not present/usable; LinuxDeviceWatcher disabled";
    return true;
  }

Maybe if we return true at this point unconditionally chromium will start. I tried renaming /lib/arm-linux-gnueabihf/libudev.so.0.13.0 but some other chromium component insists on wanting libudev.
Another approach might be to disable this libjingle stuff (whatever it is). I couldn't find a way to do this via a command line switch [2], so I guess recompiling chromium with either patching libjingle out or disabling the libudev check is the only way.

Any volunteers? I'm too lazy to do it atm.



[1] http://archive.raspbian.org/raspbian...sg.orig.tar.xz (~50MB)
[2] http://peter.sh/experiments/chromium...line-switches/

abdel_95 2015-01-28 15:14

Re: Chromium 5.0.369.2 N900
 
is there no way to have the download link for chromium?

nieldk 2015-01-28 17:54

Re: Chromium 5.0.369.2 N900
 
Quote:

Originally Posted by abdel_95 (Post 1458526)
is there no way to have the download link for chromium?

Search, search ...... 'robot working' .... interresting repository identified .... index found ... listing index ....

http://qole.org/repository/pool/fremantle/

abdel_95 2015-01-28 22:06

Re: Chromium 5.0.369.2 N900
 
thank you so much i've downloaded it but it fails to install and i get this; BusyBox v1.23.0 (Debian 1.23.0power1+thumb0) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/home/user # dpkg -i /home/user/MyDocs/chromium_armel.deb
(Reading database ... 38223 files and directories currently installed.)
Unpacking chromium (from .../user/MyDocs/chromium_armel.deb) ...
dpkg-deb (subprocess): short read in buffer_copy (failed to write to pipe in copy)
dpkg-deb: subprocess paste returned error exit status 2
dpkg: error processing /home/user/MyDocs/chromium_armel.deb (--install):
short read in buffer_copy (backend dpkg-deb during `./opt/chromium/chrome')
Errors were encountered while processing:
/home/user/MyDocs/chromium_armel.deb

abdel_95 2015-01-29 07:56

Re: Chromium 5.0.369.2 N900
 
Quote:

Originally Posted by nieldk (Post 1458550)
Search, search ...... 'robot working' .... interresting repository identified .... index found ... listing index ....

http://qole.org/repository/pool/fremantle/

plz help me install it :D

reinob 2015-01-29 08:37

Re: Chromium 5.0.369.2 N900
 
Quote:

Originally Posted by abdel_95 (Post 1458574)
thank you so much i've downloaded it but it fails to install and i get this; BusyBox v1.23.0 (Debian 1.23.0power1+thumb0) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/home/user # dpkg -i /home/user/MyDocs/chromium_armel.deb
(Reading database ... 38223 files and directories currently installed.)
Unpacking chromium (from .../user/MyDocs/chromium_armel.deb) ...
dpkg-deb (subprocess): short read in buffer_copy (failed to write to pipe in copy)
dpkg-deb: subprocess paste returned error exit status 2
dpkg: error processing /home/user/MyDocs/chromium_armel.deb (--install):
short read in buffer_copy (backend dpkg-deb during `./opt/chromium/chrome')
Errors were encountered while processing:
/home/user/MyDocs/chromium_armel.deb

Download it again. Check the size of the .deb file (should be 18MB). Check that you actually have enough free space in your rootfs/optfs (type "df -h" and post the output here if in doubt).

But the error, being a "short read", means your download is corrupt.

abdel_95 2015-01-29 08:57

Re: Chromium 5.0.369.2 N900
 
here is what i get /home/user # df -h
Filesystem Size Used Available Use% Mounted on
rootfs 227.5M 154.6M 68.7M 69% /
ubi0:rootfs 227.5M 154.6M 68.7M 69% /
tmpfs 1.0M 88.0K 936.0K 9% /tmp
tmpfs 256.0K 88.0K 168.0K 34% /var/run
none 10.0M 68.0K 9.9M 1% /dev
tmpfs 64.0M 4.0K 64.0M 0% /dev/shm
/dev/mmcblk0p2 2.0G 743.4M 1.1G 39% /home
/home/opt 2.0G 743.4M 1.1G 39% /opt
/opt/pymaemo/usr/lib/python2.5
2.0G 743.4M 1.1G 39% /usr/lib/python2.5
/opt/pymaemo/usr/share/pyshared
2.0G 743.4M 1.1G 39% /usr/share/pyshared
/opt/pymaemo/usr/lib/pyshared
2.0G 743.4M 1.1G 39% /usr/lib/pyshared
/opt/pymaemo/usr/share/python-support
2.0G 743.4M 1.1G 39% /usr/share/python-support
/opt/pymaemo/usr/lib/python-support
2.0G 743.4M 1.1G 39% /usr/lib/python-support
/dev/mmcblk0p1 27.0G 12.9G 14.1G 48% /home/user/MyDocs
/home/user #
chromium that i downloaded from the above site is 3M

sulu 2015-01-29 10:20

Re: Chromium 5.0.369.2 N900
 
for reference:
Code:

$ wget http://qole.org/repository/pool/fremantle/chromium_5.0.369.2-maemo3_armel.deb
--2015-01-29 11:19:04--  http://qole.org/repository/pool/fremantle/chromium_5.0.369.2-maemo3_armel.deb
Resolving qole.org (qole.org)... 173.236.183.204
Connecting to qole.org (qole.org)|173.236.183.204|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 18757168 (18M) [application/x-debian-package]
Saving to: ‘chromium_5.0.369.2-maemo3_armel.deb’

chromium_5.0.369.2- 100%[=====================>]  17.89M  4.31MB/s  in 6.7s 

2015-01-29 11:19:11 (2.66 MB/s) - ‘chromium_5.0.369.2-maemo3_armel.deb’ saved [18757168/18757168]

$ md5sum chromium_5.0.369.2-maemo3_armel.deb
b26cbfb9d01160e6ef01f6a89abd4fb0  chromium_5.0.369.2-maemo3_armel.deb


abdel_95 2015-01-29 11:36

Re: Chromium 5.0.369.2 N900
 
i get this:
~ $ wget http://qole.org/repository/pool/fremantle/chromium_5
.0.369.2-maemo3_armel.deb
Connecting to qole.org (173.236.183.204:80)
wget: can't open 'chromium_5.0.369.2-maemo3_armel.deb': File exists


All times are GMT. The time now is 17:35.

vBulletin® Version 3.8.8