LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-25-2011, 01:35 AM   #16
DarkReZus
LQ Newbie
 
Registered: Aug 2011
Location: France
Distribution: Debian, Gentoo, Centos
Posts: 6

Rep: Reputation: Disabled

cmake v2.8.5 is required to find zlib and other dependencies. Debian/Ubuntu distribution just change path "/usr/lib/" to "/usr/lib/i386-linux-gnu/". So if slackware didn't change libraries folder cmake 2.8.3 is enough ^^

Ponce, "Selected media doesn't have enough space to encode your message!" means that your image (2d01dda.jpg) doesn't have any pixel to hide your message. According to log you can use 9 embedded bits per pixel (3bits per color). Just try with a bigger image or a shorter message to hide.
 
Old 08-25-2011, 01:54 AM   #17
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
EDIT: after some initial self-caused trouble, all ok with a bigger image

spudgunner, can you try if this works for you?

Last edited by ponce; 08-25-2011 at 02:05 AM.
 
1 members found this post helpful.
Old 08-25-2011, 03:57 AM   #18
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
I was pondering about the file positioning of the resulting package
Code:
/usr/share/silenteye/silenteye
/usr/share/silenteye/version.xml
/usr/share/silenteye/modules/
/usr/share/silenteye/modules/libsecryptoaes256.so
/usr/share/silenteye/modules/libseformatwav.so
/usr/share/silenteye/modules/libseformatjpeg.so
/usr/share/silenteye/modules/libseformatbmp.so
/usr/share/silenteye/modules/libsecryptoaes.so
/usr/share/silenteye/libsef.so
following other packages organization, would be nice if we can have something like this (instead of the setup in a folder), maybe also (but not essential) with a make install DESTDIR=$PKG, for packaging
Code:
/usr/bin/silenteye
/etc/silenteye/version.xml
/usr/lib$LIB_SUFFIX/silenteye/modules/
/usr/lib$LIB_SUFFIX/silenteye/modules/libsecryptoaes256.so
/usr/lib$LIB_SUFFIX/silenteye/modules/libseformatwav.so
/usr/lib$LIB_SUFFIX/silenteye/modules/libseformatjpeg.so
/usr/lib$LIB_SUFFIX/silenteye/modules/libseformatbmp.so
/usr/lib$LIB_SUFFIX/silenteye/modules/libsecryptoaes.so
/usr/lib$LIB_SUFFIX/silenteye/libsef.so
(complete package content)

Last edited by ponce; 08-25-2011 at 10:19 AM.
 
1 members found this post helpful.
Old 08-25-2011, 08:00 AM   #19
spudgunner
Member
 
Registered: Dec 2009
Distribution: Slackware
Posts: 229

Original Poster
Rep: Reputation: 20
Wow, nice work. I didn't need it THAT badly, more curiosity than anything, but I'll take it.

Pounce, the slackbuild you've made seems to build properly, however, when I try to start silenteye from the terminal, this error comes up:

Code:
bash-4.1# silenteye
**
GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed: (connection->initialization_error == NULL)
Aborted
I'm using Slackware -current with rworkman's xfce 4.8 packages in a VM. I will try this out on a real computer tonight sometime and see if anything different happens.

EDIT: Apparently I spoke too soon. After posting this, I went to close my terminal and shut down my VM and realized I was still root in my terminal. I exited from root and tried it again and it worked. However (and I don't think this is pounce's fault, but some of the other problems people were reporting about the project being 'young'), the program doesn't encode and/or decode messages when trying to used the 'compressed data' setting and it doesn't decode 100% accurately. My test phrase was "Will this decode properly?" and I got back "Vill this decode prop".

Excellent job on the slackbuild though!

Last edited by spudgunner; 08-25-2011 at 08:18 AM. Reason: I am an idiot.
 
Old 08-25-2011, 02:10 PM   #20
DarkReZus
LQ Newbie
 
Registered: Aug 2011
Location: France
Distribution: Debian, Gentoo, Centos
Posts: 6

Rep: Reputation: Disabled
@Ponce, i will work on the packages organization (make install) next week :-) next step will be to include your slackbuild in "install/linux/slackbuild" of the poject's source.

@spudgunner, can you give me your configuration in order to track the bug :
* original image dimension (width,height)
* plugin : BMP/JPEG?
* advanced plugin options
* log file for encoding and decoding process in debug mode
(could you create a new issue at http://forge.silenteye.org/projects/stegano/issues? registration needed)

But yes, project is young and I need to make a lot of code optimization. Thanks for your help :-)
 
Old 08-25-2011, 03:35 PM   #21
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
I'll surely modify it after the addition of the make install routines, so maybe it's better to include it later
 
1 members found this post helpful.
Old 08-25-2011, 03:42 PM   #22
spudgunner
Member
 
Registered: Dec 2009
Distribution: Slackware
Posts: 229

Original Poster
Rep: Reputation: 20
I will try to get that done tonight (if not tonight, over the weekend for sure). I want to test it out on a proper computer too, altough it should work fine in the VM.
 
Old 08-28-2011, 09:14 AM   #23
spudgunner
Member
 
Registered: Dec 2009
Distribution: Slackware
Posts: 229

Original Poster
Rep: Reputation: 20
So I've signed up and submitted the bug report as request. I discovered some interesting things when I ran this on an actually computer (vs a VM).

I've been doing my small amount of testing using a jpeg image with the jpeg encoding format with default settings (one of which is to use compression). Everything works with different phrases except the phrase "Will this be decoded properly?". I tested this and a couple of other phrases using uncompressed data and it worked fine.

All related files (picture, log files, terminal output) can be found at the project website for those interested.
 
Old 08-29-2011, 01:49 PM   #24
DarkReZus
LQ Newbie
 
Registered: Aug 2011
Location: France
Distribution: Debian, Gentoo, Centos
Posts: 6

Rep: Reputation: Disabled
New implementation is available on svn branche, you can now change all application paths (see README_UNIX) :
Code:
$root> ENABLE_PACK=1 ENABLE_MODULE=1 LOGPATH_USERHOME=1 CONFPATH_USERHOME=1 ENABLE_GNOMEMENU=1 cmake .
$root> make
$root> make install
or
$root> make install DESTDIR=$PKG


Quote:
Originally Posted by spudgunner View Post
So I've signed up and submitted the bug report as request. I discovered some interesting things when I ran this on an actually computer (vs a VM).

I've been doing my small amount of testing using a jpeg image with the jpeg encoding format with default settings (one of which is to use compression). Everything works with different phrases except the phrase "Will this be decoded properly?". I tested this and a couple of other phrases using uncompressed data and it worked fine.

All related files (picture, log files, terminal output) can be found at the project website for those interested.
Thank you
Otherwise have you tried to increase "k" value ?
 
Old 08-30-2011, 11:52 AM   #25
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
tried now revision 151 and all it's pretty much ok

applied just a small patch to CMakeLists.txt or I got "make install" get between the package files also
Code:
/root/
/root/.silenteye/
/root/.silenteye/silenteye.conf
this way a default configuration file is installed in /etc (or in CONFPATH_VALUE, if specified) when selecting CONFPATH_USERHOME=1

this is the package content. As you can see the slackbuild got pretty much cleaner too

Thanks a lot DarkReZus!

http://ponce.cc/slackware/testing/silenteye/

Last edited by ponce; 08-30-2011 at 11:55 AM.
 
1 members found this post helpful.
Old 08-30-2011, 03:08 PM   #26
slackass
Member
 
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-15.0
Posts: 910

Rep: Reputation: 90
Thanks ponce!!
Your build worked perfect!!


system:
Slackware64-Current Multi-Lib
 
Old 08-30-2011, 03:32 PM   #27
DarkReZus
LQ Newbie
 
Registered: Aug 2011
Location: France
Distribution: Debian, Gentoo, Centos
Posts: 6

Rep: Reputation: Disabled
r152 committed with your small patch (a little modified).
also push "install/linux/slackware" with your contribution. I will update it for official 0.4.2 release. Keep you in touch.
good job
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Making Slackware and Slackware Derivative Linux Distros Speak Your Language LXer Syndicated Linux News 0 01-29-2009 12:30 AM
About Slackware 9.1 boot disk?? ftp://ftp.kpn.be/pub/linux/slackware/slackware-9.1-is AL3OMDAH Slackware 4 04-18-2007 09:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration