looking for Dev


Forum: Gtk2
Topic: looking for Dev
started by: Felson

Posted by Felson on Jan. 23 2007,00:49
I want to see if I can make a GAIM 1.5.? extension for DSL. Problem is, I can't seem to find the dev enviroment for GTK2 anywhere. Looking either for a GTK2-dev extension, or info on how/where to get it and set it up my self. Better yet, is there a way to set up a full DSL dev enviroment?
Posted by Felson on Jan. 24 2007,23:38
Anyone? I know someone has the devs for GTK2. I just spent most of the day fighting with apt-get to see if I can get it to work, but I can't even find the same version as what we are useing anywhere, never mind installing the devs for it. When I try and use the debs, all I get is errors.

I really want to be able to help out, and make some extensions for DSL. Can someone help me get started?

Posted by ^thehatsrule^ on Jan. 25 2007,01:45
Well you can take precompiled versions of gaim if you installing gtk2-dev + compiling is too much for you...
And then you could package it for mydsl.

If you want others to try to help you on your current errors, post exactly what you did and trying to do, and what the exact errors are.

Posted by Felson on Jan. 25 2007,17:41
It isn't gaim that is the problem. I am trying to get the devs for GTK2. There are no debs that I can find of gaim 1.5.*, so I was going to build it from source, and make a dsl extension. I figured out how to do that last from a source install (I think), I just can't find gtk2-devs for the version of gtk we have on dsl, and the GTK2.0-dev from the debs won't install from any of 4 repositories. (oldstable, stable, sarge, unstable) ya, I know unstable = really bad idea, but it didn't work anyway... :)
I am a programmer, and have worked with LINUX for a while. What I was hopeing to be able to get around, was doing a full source install of GTK and all its parts, and trying to install it the same as the package we are useing now.

Posted by ^thehatsrule^ on Jan. 26 2007,00:09
You may have to manually extract the gtk2-dev debs if you want to use those specific deb packages.

Try google if you want to find debs of gaim 1.5 (esp backports)

Posted by ben4dsl on Mar. 04 2007,13:35
Just throwing in a newbie comment. What I did to get nmap and gtk2 frontend nmapfe to compile on my dsl system was:
1 download latest source
2 load the gnu-utils .unc extension
3 load the gcc1-with-libs .unc extension
4 load the dls-dpkg .unc extension
5 edit the /etc/apt/sources.lst file to state "stable" instead of "oldstable"
6 perform apt-get update
7 download the gtp2+2.0-dev from with apt-get or synaptic
8 run "./configure and then "make" and "make install" to compile the package

It seems not possible to get the gtk2 dev in a simpler way....
I use the --prefix= in configure to get the make process to provide me with all output files in a separate tree. So it is possible to use all binaries by copying/symlinking the into the right /bin directories etc.
Now I wonder if someone could point me towards the information I need to make a .dsl and then with the exellent script I have found to a .unc extension.
And where do I upload a finished .unc to make it available to others.
I will search the wiki and here to find more answers but if anyone knows the location to this info, I would appreciate it.
Take care... :D

Posted by Juanito on Mar. 04 2007,14:11
There are two basic ways to do this:

1. From apt-get install packages:

# dpkg -L package-1 > packages.list
# dpkg -L package-2 >> packages.list
...
# dpkg -L package-n >> packages.list
[edit out all unwanted files & directories]
# tar -T packages.list --no-recursion -zcvf packages.dsl
# declobber.sh packages.dsl

2. From compiling from sources:

# ./configure
# make
# touch mymarker
# make install
# find / -not -type 'd' -cnewer mymarker | grep -v "\/proc\/" | tee files
[repeat process for each compilation and build a master files list]
[edit out all unwanted files & directories]
# tar -T files --no-recursion -zcvf compiled.dsl
# declobber.sh compiled.dsl

In either case, the "DSL way" is to remove all files of the type /usr/share/doc, /usr/share/man to minimise the size of the package. Take care to remove directory entries without a file such as /bin, /usr/bin, etc

Send finished item to extensions at damnsmalllinux dot org

Posted by roberts on Mar. 04 2007,18:35
ben4dsl,

If you have been successful with the use of the prefix option to make a self contained version then that is optimal.
I would not suggest to make a .dsl or .unc

Read mikshaw's writeup about .tar.gz in the wiki < here >

Then it is trivial to make it into a UCI see this wiki < entry >

If it is not possible to make it self contained then use Juanito's option2 and then convert to unc



Posted by ben4dsl on Mar. 04 2007,20:44
Excellent info !! Thanks.
I will try to make .uci although i am not entirely sure why this would be better than .unc. The unc format seems to be really good, I'll check through doc to learn more about the various formats.
Will send extensions as soon as I made some.
Thanks again :cool:

Posted by stupid_idiot on Mar. 17 2007,10:46
MyDSL -> UNC -> gtk2-0705.unc should have the shared/static libraries and header files you need.
BTW, whenever I compile something, I write down all the options in 'setXX.sh' and then run it. This way you can slowly get your configure options right - trial and error. :laugh:
Of course, always expect a festering load of trouble the first time you compile some big program.

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.