Git Product home page Git Product logo

hasciicam's Introduction

Denis "Jaromil" Roio

Founder and CTO of Dyne.org

Portfolio Badge Gmail Badge Linkedin Badge Twitter Badge

Github stats Top Langs Trophies

jaromil

hasciicam's People

Contributors

dirkhoffmann avatar filippog avatar jaromil avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

hasciicam's Issues

Could not install on Arch. (see arch wiki). With solution.

Arch wiki hasciicam issue
ERROR

make[1]: Entering directory '/build/hasciicam/src/hasciicam_1.3/src'
  CC       hasciicam.o
hasciicam.c:183:3: error: initialization of ‘const char * const*’ from incompatible pointer type ‘char **’ [-Wincompatible-pointer-types]
  183 |   html_escapes
      |   ^~~~~~~~~~~~
hasciicam.c:183:3: note: (near initialization for ‘hascii_format.conversions’)

I am not an coder, but with some help i used this code for hasciicam.c /scr

How to use file

remove .txt to replace hasciicam.c in /src

hasciicam.c.txt


The changes in the hasciicam.c

Ensure html_escapes is defined correctly:

const char * const html_escapes[] = {
    "string1",
    "string2",
    //... other strings
};

Include the necessary header for setgroups:

#include <unistd.h> // Add this line at the top

make && sudo make install

Use on your own risk.

Application segfaults under linux mint 17.1

Utilizing a 64 bit machine running Linux Mint 17.1 (64-bit), and a USB Logitech camera, I am unable to run the application without segfaulting. I have turned on core dumps and have one available from this particular issue, if you are in need of one. Please let me know if there is any more information that I can provide to you that can help with this issue; I would really like to see this working on Linux Mint with this hardware; I have a BBS that I'd very much like to add hasciicam functionality to.

More than happy to provide that core dump or anything else you can point me at. Feel free to contact me here; I try to check my notifications at least every other day.

configure missing, autoconf not mentioned

Hi! :) The instructions only mention ./configure ; make ; make install but the configure and Makefile files are missing. I understand I need autoconf and ... automake? What's the right way of using them? Thanks!

RPM package

Hello.
FYI
I successfully built an RPM package of hasciicam.
I will try to propose to include it in Fedora.

BadName

X Error of failed request: BadName (named color or font does not exist)
Major opcode of failed request: 45 (X_OpenFont)
Serial number of failed request: 7
Current serial number in output stream: 8

Incorrect FSF address in the license file

This has nothing to do with the code.
Againg rpmlint 😅

hasciicam.x86_64: E: incorrect-fsf-address /usr/share/licenses/hasciicam/COPYING
The Free Software Foundation address in this file seems to be outdated or
misspelled.  Ask upstream to update the address, or if this is a license file,
possibly the entire file with a new copy available from the FSF.

Indeed, the GPL license from the GNU web site states:

Copyright (C) 1989, 1991 Free Software Foundation, Inc.  
51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA

While in the mentioned COPYING file:

Copyright (C) 1989, 1991 Free Software Foundation, Inc.
59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

Only using sudo

I'm able to compile it, and it works without any issue, only if I use sudo.
Otherwise I get

hasciicam 1.3 - (h)ascii 4 the masses! - http://ascii.dyne.org
(c)2000-2014 by Jaromil @ RASTASOFT

Device detected is /dev/video0
Card name: Integrated_Webcam_HD: Integrate
Current input is Camera 1
Current capture is 640 x 480
format YUYV, 1280 bytes-per-line
Grey buffer is 38400 bytes
Ascii size is 160x60
using LIVE mode

X Error of failed request:  BadName (named color or font does not exist)
  Major opcode of failed request:  45 (X_OpenFont)
  Serial number of failed request:  7
  Current serial number in output stream:  8

Why?

Is this code actively maintained?

Ever since I first heard of HasciiCam, I though it was a genius idea. It continues to blow my mind that none of the free code video chat or video conferencing tools have made use of it to provide a light alternative for people on older computers or slower net connections.

I'm just wondering if this code is being actively maintained. Does the repo here provide a complete, usable application, or just a set of libraries that need to be combined with other software to build one? If it is a usable application, do you know if it's possible to use it on Trisquel, and where I could find installation instructions for that? Thanks heaps.

Issue with the Arch User Repository package.

Hello, I recently installed the software off of the aur and could not find a way to get it to work. I have tried to run it with root privilege and specifying the camera input. Here is the output of the command "sudo hasciicam" / "hasciicam" (There is no difference.)

hasciicamNoWorky

POS36-C

I'm not a developer/programmer. But this is the power of free software, meh.
So, running rpmlint versus the RPM package I created, it complaints about: POS36-C

hasciicam.x86_64: E: missing-call-to-setgroups-before-setuid /usr/bin/hasciicam
This executable is calling setuid and setgid without setgroups or initgroups.
There is a high probability this means it didn't relinquish all groups, and
this would be a potential security issue to be fixed. Seek POS36-C on the web
for details about the problem.

As said I'm not a C programmer or so, but using these lines:

637   setgroups(0, NULL);
638   setgid(gid);
649   setuid(uid);

instead of

637   setuid (uid);
638   setgid (gid);

hasciicam still works 😅 and rpmlint is happy.

'./README' not found issue + soln

Hello Folks,

I had this issue :
Makefile.am: error: required file './README' not found

And solved it with this:

In configure.ac change line:
AM_INIT_AUTOMAKE([dist-bzip2 subdir-objects -Wno-portability])

to:
AM_INIT_AUTOMAKE([dist-bzip2 subdir-objects -Wno-portability foreign])

Cheers!...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.