Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
fltk based applications
03-08-2013, 09:43 PM
Post: #11
RE: fltk based applications
the hex stuff uses a custom widget that has few compilation errors ... I'll try to get back to it later ...
Visit this user's website Find all posts by this user
Quote this message in a reply
03-11-2013, 09:28 PM (This post was last modified: 03-11-2013 09:29 PM by lmemsm.)
Post: #12
RE: fltk based applications
(03-07-2013 08:48 PM)Tom Wrote:  How about a hexeditor?
http://www.fltk.org/links.php?LC+P23+Q mentions edanator and Mickey Hex Editor beta.

My personal preference is for this hex editor:
http://www.rogoyski.com/adam/programs/hexedit/
(Guess it reminds of kzap which I really liked.) It uses curses instead of FLTK though. If anyone wants to attempt to build it, I have some patches from Debian and various places that take care of some memory bugs.
(03-08-2013 12:55 AM)tavvva Wrote:  The main & devel splitting allowed us to introduce two concurrent versions of FLTK 1.x and the result seems to work well. The FLDev IDE is in the repo :]

Awesome. That's exciting.
Find all posts by this user
Quote this message in a reply
03-14-2013, 09:22 PM
Post: #13
RE: fltk based applications
(03-11-2013 09:28 PM)lmemsm Wrote:  My personal preference is for this hex editor:
http://www.rogoyski.com/adam/programs/hexedit/
(Guess it reminds of kzap which I really liked.) It uses curses instead of FLTK though. If anyone wants to attempt to build it, I have some patches from Debian and various places that take care of some memory bugs.

For small terminals the layout is Ok, but if I maximize the terminal it is not nice. I compiled it without a problem.
Maybe there are other hexeditors, I didn't search for it.


Attached File(s) Thumbnail(s)
       
Find all posts by this user
Quote this message in a reply
03-14-2013, 10:30 PM
Post: #14
RE: fltk based applications
Midnight Commander has it's own HEX editor and can be scaled :]
Visit this user's website Find all posts by this user
Quote this message in a reply
03-15-2013, 11:46 AM
Post: #15
RE: fltk based applications
(03-14-2013 10:30 PM)tavvva Wrote:  Midnight Commander has it's own HEX editor and can be scaled :]

Yes, mcview works for me.
Find all posts by this user
Quote this message in a reply
05-03-2013, 01:04 PM
Post: #16
RE: fltk based applications
Found another FLTK application. I wanted a lightweight replacement for keepassx, a password manager. There is a console based password manager, pwsafe ( http://sourceforge.net/projects/pwsafe/ ) which uses ncurses. I wanted something with an interface more like keepassx. Just recently ran across fpwdman ( http://fpwdman.sourceforge.net/html/future.php ).

The source doesn't look like it's been updated in a while. There's reference to a 2.0.1 version, but didn't find it anywhere. I pulled the latest code I could find from http://fpwdman.cvs.sourceforge.net/viewv...sortby=log It does build with fltk 1.3. There are references to etags (seems to be a helper application for emacs) in the Makefile. Since I don't use emacs and don't have etags on my system, I removed the references. It requires the tinyxml library as a dependency to build. I read that the mingw project forked tinyxml to get their patches in. Since the tinyxml web page itself refers users to tinyxml2 and mentions efforts are going toward that instead of tinyxml, I decided to try tinyxml2 instead of tinyxml. You'll find tinyxml-2 library at http://www.grinninglizard.com/tinyxml2/index.html Would be interested if anyone else is using tinyxml or tinyxml2 as to which version is used and what patches you apply to it. fpwdman appears to build fine with tinyxml2 instead of tinyxml. One needs to change the references to include tinyxml.h to tinyxml2.h instead (in globals.h and sitebase.cpp. I also removed #include <tinystr.h> in globals.h. (The library name will need to be changed in the Makefile.) Had to add #include <string.h> to sbc/desbc.cc, sbc/ensbc.cc, sbc/sbcref.cc, sbc/sbcutils.cc. With those changes, was able to get it to build.

If anyone tries it out, would be interested to hear comments on how it stacks up to other password managers. Would also be interested to hear if anyone's found other lightweight password managers they like or if anyone runs across the 2.0.1 source code mentioned.
Find all posts by this user
Quote this message in a reply
05-05-2013, 11:00 PM
Post: #17
RE: fltk based applications
Hi ... pwsafe is already in the repository Wink

Maybe you would like to create a pkgbuild of the fpwdman? :]
Visit this user's website Find all posts by this user
Quote this message in a reply
05-07-2013, 01:14 PM
Post: #18
RE: fltk based applications
(05-05-2013 11:00 PM)tavvva Wrote:  Maybe you would like to create a pkgbuild of the fpwdman? :]

I'm using a different package management/build tool than the pkgbuild/Arch style package management. What I'm using is portable and works on all the operating systems I use, not just Linux. I can get you the build information in that format, but not sure how useful it would be for you.
Find all posts by this user
Quote this message in a reply
05-08-2013, 11:27 PM
Post: #19
RE: fltk based applications
You know ... It's up to you how much you want to contribute. Sharing a PKGBUILD ready and tested for releasing is always the most helping form of contribution. But if you decide to share a well understandable build script in a different format, it can help too.
Visit this user's website Find all posts by this user
Quote this message in a reply
05-13-2013, 01:21 PM
Post: #20
RE: fltk based applications
If another automated script format works okay for you, I've temporarily uploaded a copy of the build script and patches to:
https://sites.google.com/site/lmemsm/lmb...ects=0&d=1

The build script is auto-generated. The usual method is to set what tools you have available on your system and other specific information and then let it autogenerate something that should work on that specific system. I deleted any of the package specific information out of the script (like dealing with linked files, creating manifests). Much of it wouldn't be useful unless you're working with the same tools as I am.

I have a feeling you're going to need tinyxml2 to be able to try this out. If you want a similar script for that, let me know. (Other dependencies are zlib and fltk 1.3 which I'm guessing you already have pkgbuilds for.) You may want to give the script a try and see if it'll even look like it'll run on your system first though. If nothing else, at least you have the patches and can look at the build instructions (such as make).

Forgot to mention, the script assumes the following directory structure:

programname - opsysname - bld

For example:
fpwdman -> delicate -> bld

Place the script and patches in the bld directory and run ./bld.sh (or bash ./bld.sh) from there. If the source tarball isn't in the fpwdman directory, it'll attempt to download it. It will create a tmp directory under delicate to work in and final binary tarball (with Slackware-like tarball name) will be placed in the delicate directory if all goes well.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | DeLi(cate) Linux | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication