Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 23 Oct 2014, 07:55
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
Gtkdialog Development
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 49 of 55 [821 Posts]   Goto page: Previous 1, 2, 3, ..., 47, 48, 49, 50, 51, 52, 53, 54, 55 Next
Author Message
01micko


Joined: 11 Oct 2008
Posts: 7835
Location: qld

PostPosted: Mon 04 Mar 2013, 06:18    Post subject:  

simargl wrote:
I would say since Slacko is so broken, you should better use real OS Laughing ..
Really? Why didn't you report it?

I don't go around bagging your os, just the way you promote it.

-

Sorry for OT

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
simargl

Joined: 11 Feb 2013
Posts: 572

PostPosted: Mon 04 Mar 2013, 08:17    Post subject:  

.
Last edited by simargl on Sun 01 Sep 2013, 10:35; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
01micko


Joined: 11 Oct 2008
Posts: 7835
Location: qld

PostPosted: Mon 04 Mar 2013, 08:30    Post subject:  

This thread is for gtkdialog.

If you have a problem with Slacko, post there, NOT here. If you have a problem with me tell some one who cares.

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
simargl

Joined: 11 Feb 2013
Posts: 572

PostPosted: Mon 04 Mar 2013, 10:31    Post subject:  

.
Last edited by simargl on Sun 01 Sep 2013, 10:35; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
thunor


Joined: 14 Oct 2010
Posts: 350
Location: Minas Tirith, in the Pelennor Fields fighting the Easterlings

PostPosted: Mon 04 Mar 2013, 17:43    Post subject:  

Thanks for the links guys Smile
Back to top
View user's profile Send private message Visit poster's website 
simargl

Joined: 11 Feb 2013
Posts: 572

PostPosted: Fri 29 Mar 2013, 13:09    Post subject:  

.
Last edited by simargl on Sun 01 Sep 2013, 10:59; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
thunor


Joined: 14 Oct 2010
Posts: 350
Location: Minas Tirith, in the Pelennor Fields fighting the Easterlings

PostPosted: Fri 29 Mar 2013, 18:55    Post subject:  

simargl wrote:
There is still no gtk3 version http://code.google.com/p/gtkdialog/source/list latest commit was in Jan 6, 2013
After some progress in porting and if there's need for testing in latest Gtk version 3.8.0 you can count on me.
Cheers!

I didn't really want to do any more with gtkdialog but I do realise that gtk3 will kill it off so it requires looking into. When I first got this laptop I managed to steal 5GB from the Microshaft Fista partition but I kept filling it up and backing up data to SD cards, so getting another full blown distro on here was not going to be easy especially since the crappy DVD writer would be better off disconnected internally. Anyway, after doing all the necessary things to Fista to allow me to reduce sda1 using its disk management tools, it still wouldn't let me so I forced it with gparted. To cut a long story short, Fista still works (I use it occasionally for my GBA flash cart cable driver), I backed up everything I could from Linux, resized and moved my Linux partition leftwards successfully with gparted retaining the data (very cool), set-up Slacko 5.5 with the gtk3 audacious sfs, installed packages to get all of my open source and paid-for games working and I've got a test version of gtkdialog operational using gtk3 so I could see what's involved and if I need to branch the code or not. To be honest there's plenty to fix and remove and it's not as much fun as playing Leisure Suit Larry 1 remake in ScummVM 1.5.0 or Tony Hawk's Pro Skater 4 on my GameCube.

I'm in a good place: I've wrestled my hard disk away from Fista, I've got the excellent Slacko 5.5 completely set-up for my needs, my data is backed-up, I've realised I need to buy a USB flash/pen drive, I've researched gtkdialog + gtk3 and this is what I've discovered:

  • The table, combobox and list widgets are dead.
  • The comboboxtext and comboboxentry widgets need replacing with gtk3 equivalents, maybe easy, maybe not.
  • Widgets in scrollable windows aren't working completely (anything that uses scrollbars), maybe easy, maybe not.
  • Some calls to old functions need to be updated to use the new ones.
  • The glade code has to be removed.
  • I'd prefer not to branch the code but it'll be messy working this into the gtk2 code, so it's effectively another project.
  • If it's another project then it would be the right time to jettison the bad parts of gtkdialog, but I'd rather create a new project not called gtkdialog, something that benefits from my gtkdialog knowledge but I'm not motivated to do so, I've got better ideas for other projects.
  • So, this is where I'm at, wondering what to do.
  • Once I've made up my mind, I'll need to reorganise the SVN repository, and the docs, and the examples, and the configure script, and the Makefiles which then makes me think that maybe I shouldn't branch it, but mess the code up with macros instead.
  • Maybe it could simply be a patch that you apply to the existing code, but that's a bit naff.
  • I have other things to do that either I must be doing or are more rewarding.

I need to think some more.
Back to top
View user's profile Send private message Visit poster's website 
thunor


Joined: 14 Oct 2010
Posts: 350
Location: Minas Tirith, in the Pelennor Fields fighting the Easterlings

PostPosted: Sat 30 Mar 2013, 13:14    Post subject:  

Ok, I've chosen to simply add macros to the existing code which has left me not that much to do codewise although I'll have to identify gtk2/gtk3 specific examples and the reference/wiki I need to think about.

I've just committed r504 which supports gtk3 and initially you'll do it like this:
Code:
svn checkout http://gtkdialog.googlecode.com/svn/trunk/ gtkdialog
cd gtkdialog
./autogen.sh --enable-gtk3=yes
make

but you could equally do:
Code:
svn checkout http://gtkdialog.googlecode.com/svn/trunk/ gtkdialog
cd gtkdialog
./autogen.sh
./configure --enable-gtk3=yes
make

Widgets removed: combobox, list, table.
Widgets requiring rewriting: comboboxtext, comboboxentry, file selection dialog filename retrieval.
Library support removed: libglade.

If you want to compile-in support for libvte then you'll need at least vte-0.29.0.

Test it with:
Code:
echo '<button label="Hello GTK+ 3 World"></button>' | ./src/gtkdialog -s

If you're interested in the documented macros I inserted to get it to work then execute:
Code:
grep -nR --exclude-dir=".svn" "GTK_CHECK_VERSION(3,0,0)" .

Slacko 5.5 plus devx_slacko_5.5.sfs plus audacious-3.3.1-i486.sfs will enable you to compile GTK+ 3 projects if you want an easy way to try this yourself.

I'll have to add the gtk version to the supported libraries list on "gtkdialog -v" so that you can identify which version of gtk it was built with. If you're going to use both versions at the same time then it might make sense to rename it to gtk3dialog.

Here's a screenshot of a complex gtkdialog application that works with gtk3 although the gtkrc isn't working (apparently it's been replaced):


Regards,
Thunor
Back to top
View user's profile Send private message Visit poster's website 
01micko


Joined: 11 Oct 2008
Posts: 7835
Location: qld

PostPosted: Sat 30 Mar 2013, 15:24    Post subject:  

Works here!



Thanks!

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
simargl

Joined: 11 Feb 2013
Posts: 572

PostPosted: Sat 30 Mar 2013, 16:09    Post subject:  

.
Last edited by simargl on Sun 01 Sep 2013, 10:59; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
thunor


Joined: 14 Oct 2010
Posts: 350
Location: Minas Tirith, in the Pelennor Fields fighting the Easterlings

PostPosted: Sat 30 Mar 2013, 17:54    Post subject:  

@simargl: Try the following:

Change AM_CONFIG_HEADER to AC_CONFIG_HEADER in configure.in.
Code:
mv configure.in configure.ac
aclocal
autoconf
automake
./configure --enable-gtk3=yes

Works for me with automake 1.11 and if it works for you I'll look at updating the build scripts (I've not done much with them since I started updating this a couple of years ago).
Back to top
View user's profile Send private message Visit poster's website 
simargl

Joined: 11 Feb 2013
Posts: 572

PostPosted: Sat 30 Mar 2013, 18:36    Post subject:  

.
Last edited by simargl on Sun 01 Sep 2013, 10:58; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
thunor


Joined: 14 Oct 2010
Posts: 350
Location: Minas Tirith, in the Pelennor Fields fighting the Easterlings

PostPosted: Sat 30 Mar 2013, 19:28    Post subject:  

simargl wrote:
I've changed line 5 in configure.in to AM_CONFIG_HEADERS([config.h])

Ok, now change it to AC_CONFIG_HEADERS([config.h]).

In configure.ac at line 22 change AM_PROG_CC_STDC to AC_PROG_CC.

aclocal
autoconf
automake
./configure --enable-gtk3=yes

Good luck Smile
Thunor
Back to top
View user's profile Send private message Visit poster's website 
zigbert


Joined: 29 Mar 2006
Posts: 5753
Location: Valåmoen, Norway

PostPosted: Sun 31 Mar 2013, 03:05    Post subject:  

Thunor

It seems that all gtkdialog-coding wasn't a waste of time.
Puppy apps will make it into the future.


Thank you !!!
Sigmund

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
simargl

Joined: 11 Feb 2013
Posts: 572

PostPosted: Sun 31 Mar 2013, 03:49    Post subject:  

.
Last edited by simargl on Sun 01 Sep 2013, 10:58; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 49 of 55 [821 Posts]   Goto page: Previous 1, 2, 3, ..., 47, 48, 49, 50, 51, 52, 53, 54, 55 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1003s ][ Queries: 13 (0.0222s) ][ GZIP on ]