The time now is Sun 19 May 2013, 15:53
All times are UTC - 4 |
|
Page 49 of 54 [800 Posts] |
Goto page: Previous 1, 2, 3, ..., 47, 48, 49, 50, 51, 52, 53, 54 Next |
| Author |
Message |
01micko

Joined: 11 Oct 2008 Posts: 7017 Location: qld
|
Posted: Mon 04 Mar 2013, 06:18 Post subject:
|
|
| simargl wrote: | I would say since Slacko is so broken, you should better use real OS .. | Really? Why didn't you report it?
I don't go around bagging your os, just the way you promote it.
-
Sorry for OT
_________________ keep the faith .. 
|
|
Back to top
|
|
 |
simargl

Joined: 11 Feb 2013 Posts: 366
|
Posted: Mon 04 Mar 2013, 08:17 Post subject:
|
|
Hello mick double zero (first as developer, second in human virtues)
I assume if new version of some software is released every two days it must be of alpha level quality
| 01micko wrote: | | Really? Why didn't you report it? |
You can't be serious?!
|
|
Back to top
|
|
 |
01micko

Joined: 11 Oct 2008 Posts: 7017 Location: qld
|
Posted: 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.
_________________ keep the faith .. 
|
|
Back to top
|
|
 |
simargl

Joined: 11 Feb 2013 Posts: 366
|
Posted: Mon 04 Mar 2013, 10:31 Post subject:
|
|
| 01micko wrote: | 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. |
You started this war http://www.murga-linux.com/puppy/viewtopic.php?p=684876#684876 and You started off topic talk in this thread, so
please don't pretend to be some nice guy, cause you not.
|
|
Back to top
|
|
 |
thunor

Joined: 14 Oct 2010 Posts: 342 Location: Minas Tirith, in the Pelennor Fields fighting the Easterlings
|
Posted: Mon 04 Mar 2013, 17:43 Post subject:
|
|
Thanks for the links guys
|
|
Back to top
|
|
 |
simargl

Joined: 11 Feb 2013 Posts: 366
|
Posted: Fri 29 Mar 2013, 13:09 Post subject:
|
|
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!
|
|
Back to top
|
|
 |
thunor

Joined: 14 Oct 2010 Posts: 342 Location: Minas Tirith, in the Pelennor Fields fighting the Easterlings
|
Posted: 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
|
|
 |
thunor

Joined: 14 Oct 2010 Posts: 342 Location: Minas Tirith, in the Pelennor Fields fighting the Easterlings
|
Posted: 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
|
|
 |
01micko

Joined: 11 Oct 2008 Posts: 7017 Location: qld
|
Posted: Sat 30 Mar 2013, 15:24 Post subject:
|
|
Works here!
Thanks!
_________________ keep the faith .. 
|
|
Back to top
|
|
 |
simargl

Joined: 11 Feb 2013 Posts: 366
|
Posted: Sat 30 Mar 2013, 16:09 Post subject:
|
|
Thanks thunor,
unfortunately I couldn't compile it, looks like automake 1.13.1 is too new or something other.. will check that later.
autogen.sh output is bellow, sorry if it's a bit too long - I thought you might be interested in those obsolete macro warnings.
Cheers!
| Quote: | [root@alphaos gtkdialog]# ./autogen.sh
**Warning**: I am going to run `configure' with no arguments.
If you wish to pass any to it, please specify them on the
`./autogen.sh' command line.
processing .
Running aclocal ...
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:5: error: 'AM_CONFIG_HEADER': this macro is obsolete.
You should use the 'AC_CONFIG_HEADERS' macro instead.
/usr/share/aclocal-1.13/obsolete-err.m4:12: AM_CONFIG_HEADER is expanded from...
configure.in:5: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: error: echo failed with exit status: 1
Running autoheader...
Running automake --gnu ...
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:4: error: version mismatch. This is Automake 1.13.1,
configure.in:4: but the definition used by this AM_INIT_AUTOMAKE
configure.in:4: comes from Automake 1.11.5. You should recreate
configure.in:4: aclocal.m4 with aclocal and run automake again.
configure.in:4: warning: The 'AM_PROG_MKDIR_P' macro is deprecated, and will soon be removed.
configure.in:4: You should use the Autoconf-provided 'AC_PROG_MKDIR_P' macro instead,
configure.in:4: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files.
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in: installing './ylwrap'
Running autoconf ...
Running ./configure --enable-maintainer-mode ...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for svnversion... /usr/bin/svnversion
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for bison... bison -y
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GTHREAD... yes
checking for GTK... yes
checking for GLADE_LIB... yes
checking for VTE... no
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for setlocale... yes
configure: creating ./config.status
config.status: error: cannot find input file: `Makefile.in'
[root@alphaos gtkdialog]# |
|
|
Back to top
|
|
 |
thunor

Joined: 14 Oct 2010 Posts: 342 Location: Minas Tirith, in the Pelennor Fields fighting the Easterlings
|
Posted: 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
|
|
 |
simargl

Joined: 11 Feb 2013 Posts: 366
|
Posted: Sat 30 Mar 2013, 18:36 Post subject:
|
|
I've changed line 5 in configure.in to AM_CONFIG_HEADERS([config.h])
| Code: | [root@alphaos gtkdialog]# mv configure.in configure.ac
[root@alphaos gtkdialog]# aclocal
configure.ac:5: warning: macro 'AM_CONFIG_HEADERS' not found in library
configure.ac:22: error: 'AM_PROG_CC_STDC': this macro is obsolete.
You should simply use the 'AC_PROG_CC' macro instead.
Also, your code should no longer depend upon 'am_cv_prog_cc_stdc',
but upon 'ac_cv_prog_cc_stdc'.
/usr/share/aclocal-1.13/obsolete-err.m4:17: AM_PROG_CC_STDC is expanded from...
configure.ac:22: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: error: echo failed with exit status: 1
[root@alphaos gtkdialog]# autoconf
configure.ac:5: error: possibly undefined macro: AM_CONFIG_HEADERS
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
[root@alphaos gtkdialog]# automake
configure.ac:4: error: version mismatch. This is Automake 1.13.1,
configure.ac:4: but the definition used by this AM_INIT_AUTOMAKE
configure.ac:4: comes from Automake 1.11.5. You should recreate
configure.ac:4: aclocal.m4 with aclocal and run automake again.
configure.ac:4: warning: The 'AM_PROG_MKDIR_P' macro is deprecated, and will soon be removed.
configure.ac:4: You should use the Autoconf-provided 'AC_PROG_MKDIR_P' macro instead,
configure.ac:4: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files.
configure.ac: error: required file './ylwrap' not found
configure.ac: 'automake --add-missing' can install 'ylwrap'
[root@alphaos gtkdialog]# |
|
|
Back to top
|
|
 |
thunor

Joined: 14 Oct 2010 Posts: 342 Location: Minas Tirith, in the Pelennor Fields fighting the Easterlings
|
Posted: 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
Thunor
|
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 5241 Location: Valåmoen, Norway
|
Posted: 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
|
|
 |
simargl

Joined: 11 Feb 2013 Posts: 366
|
Posted: Sun 31 Mar 2013, 03:49 Post subject:
|
|
Ok, thanks thunor now it works
added this in automake line
automake --add-missing
and because of makeinfo: command not found I had to remove doc subdir in Makefile
My package manager is working with this version - screenshot bellow, grub4dos also seems to work, sfs_load and pwireless2 don't
For those without program subversion installed, you can get gtk3dialog_svn504.tar.xz source here
| Description |
|
| Filesize |
71.55 KB |
| Viewed |
177 Time(s) |

|
|
|
Back to top
|
|
 |
|
|
Page 49 of 54 [800 Posts] |
Goto page: Previous 1, 2, 3, ..., 47, 48, 49, 50, 51, 52, 53, 54 Next |
|
|
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
|