StretchDog

A home for all kinds of Puppy related projects
Message
Author
User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#331 Post by fredx181 »

@backi, yes, not working on Bionicdog, I'll try to make it soon, will post about it then in Bionicdog thread.

@gabtech, ah OK, fine.

Fred

backi
Posts: 1922
Joined: Sun 27 Feb 2011, 22:00
Location: GERMANY

#332 Post by backi »

Alright !

gabtech
Posts: 107
Joined: Sun 14 Apr 2013, 11:42

How to turn android phone into webcam

#333 Post by gabtech »

Hello debians,

I want to use my android phone as webcam. I've installed ipwebcam from play store and using the phone as ip camera works fine. For the webcam part, I downloaded the script which downloads the drivers to turn phone into webcam - the problem is my stretchdog machine is not recognizing my phone as webcam, pls help?

gabtech
Posts: 107
Joined: Sun 14 Apr 2013, 11:42

Compilling Setup

#334 Post by gabtech »

Hi fred,

I would like to try a hand at compilling my own apps. What tools do I need to install in my stretchdog32.

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#335 Post by fredx181 »

Hi gabtech, it would be a good start installing these packages

Code: Select all

apt install build-essential automake autoconf libtool pkg-config libcurl4-openssl-dev intltool libxml2-dev libgtk2.0-dev libnotify-dev libglib2.0-dev libevent-dev checkinstall upx-ucl cmake python3 libc6-dev yasm
But depending on what you compile, you may need more *-dev packages.

Or load the DEVX (it has more or less the same).
https://github.com/fredx181/StretchDog/ ... 6.squashfs

Fred

gabtech
Posts: 107
Joined: Sun 14 Apr 2013, 11:42

#336 Post by gabtech »

Thank you fred.
Can you take me through the steps for compiling droidcam 32bit - source >> https://github.com/aramg/droidcam/tree/master/linux

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#337 Post by fredx181 »

gabtech wrote:Thank you fred.
Can you take me through the steps for compiling droidcam 32bit - source >> https://github.com/aramg/droidcam/tree/master/linux
Mmm.. not the easiest one, it will also build a kernel module (will take a whole lot of space as you need linux-headers and dkms installed), I did not test the final result, but did test the compiling, here goes:

Download to some partition 61-DEVX-Stretch-20180113-k4.9.0-5-pae_i386.squashfs and activate it either from right-click in filemanager or from terminal:

Code: Select all

loadmodule -a 61-DEVX-Stretch-20180113-k4.9.0-5-pae_i386.squashfs
Download libjpeg-turbo-official (as in intructions on github) .deb and install

Code: Select all

dpkg -i libjpeg-turbo-official_2.0.4_i386.deb
apt -f install    # may be required
Install dependencies (gtk+-2.0 is already in the DEVX)

Code: Select all

apt install libavutil-dev libswscale-dev linux-headers-$(uname -r) dkms
Download droidcam from github and extract

Code: Select all

cd /root
wget --no-check-certificate https://github.com/aramg/droidcam/archive/master.zip
unzip master.zip
Then:

Code: Select all

cd droidcam-master/linux
make
./install-dkms
modprobe v4l2loopback-dc  # probably required
Installs to /usr/bin/droidcam and /usr/bin/droidcam-cli

Fred

gabtech
Posts: 107
Joined: Sun 14 Apr 2013, 11:42

Compiling Droidcam in stretchdog

#338 Post by gabtech »

Hi fred,

Thanks buddy for the instructions.

gabtech
Posts: 107
Joined: Sun 14 Apr 2013, 11:42

64amd linux headers

#339 Post by gabtech »

Hi fred,

Where can I download "linux-headers-4.9.0-3-amd64".

dancytron
Posts: 1519
Joined: Wed 18 Jul 2012, 19:20

Re: 64amd linux headers

#340 Post by dancytron »

gabtech wrote:Hi fred,

Where can I download "linux-headers-4.9.0-3-amd64".
If you look about 1/2 way down the page at this link, https://unix.stackexchange.com/question ... h-debian-9 they say it is obsolete and in snapshot.debian.org. There are instructions to change your sources.lst file.

edit: or download it directly from
https://snapshot.debian.org/archive/deb ... n/l/linux/

Probably this one??
https://snapshot.debian.org/archive/deb ... _amd64.deb

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#341 Post by fredx181 »

gabtech wrote:Hi fred,

Where can I download "linux-headers-4.9.0-3-amd64".
I think you need these two:
https://snapshot.debian.org/archive/deb ... _amd64.deb
https://snapshot.debian.org/archive/deb ... -1_all.deb
dancytron wrote:Probably this one??
https://snapshot.debian.org/archive/deb ... _amd64.deb
Maybe also, but that's a "metapackage" which means it should provide the above packages (if inside active repository (Stretch), but in this case it's not anymore, so need to download and install manually)

Fred

gabtech
Posts: 107
Joined: Sun 14 Apr 2013, 11:42

#342 Post by gabtech »

Thanks dancytron and fred for the download links.

gabtech
Posts: 107
Joined: Sun 14 Apr 2013, 11:42

saveforlder

#343 Post by gabtech »

How do I change savefile to savefolder in stretchdog32.

backi
Posts: 1922
Joined: Sun 27 Feb 2011, 22:00
Location: GERMANY

#344 Post by backi »

Hi gabtech!

How looks your menu.lst ?

Possibly a bit experimental---Never did this before myself......

This has to be done outside your Debian Stretch OS.---Not while running Stretch Dog.
But first make a Backup of your "changes.dat" and your "menu.lst"......

Possibly then extract your "changes.dat" .....and copy the extracted Content to a new created(empty) Folder named "changes".... ----- (all inside your "live" Folder from StretchDog)....
Copy extracted Content from "changes.dat" to>(new)changes(Folder) -
After copying replace "changes.dat" with "changes"
.

Then you have to modify your Grub4dos menu.lst.

Probably just modify appropriate Line "changes.dat" to >"changes" in "menu.lst" ---(in case you are using Grub4dos).
Your old (backed-up) "changes.dat " must be removed from "live" Folder in StretchDog .
"changes" is now used instead of "changes.dat" (if my my Assumptions are correct).

Please correct me someone if i am wrong .

Post Reply