-   Slackware (
-   -   how can my slackware packages add themselves to kde and gnome's menus? (

riddlebox80 01-20-2004 10:30 PM

how can my slackware packages add themselves to kde and gnome's menus?
I have been making my own slackware packages which are working great but the one problem I am having is that I have manually add my packages to my kde menu, how could I have that happen automatically when I install it with installpkg?

itsjustme 01-20-2004 11:31 PM

Looks like you'll need to write a script to take care of that sort of thing, eh?
build my own package

[start script]
write to kde menu
[end script]

or somesuch...

Sorry, I'm not a scripting guy yet.

nesware 01-21-2004 07:57 AM

GNOME: somewhere in the /usr/share dir there's a whole bunch a files with .desktop as extension
try this
# locate \.desktop | grep gnome
check those files... they keep the info for the menu... like what program to run and the icon file...
make one.. add it to you slackware package..

KDE: something similar... look in /opt dir... like /opt/kde/share/applnk/System/Terminal/procinfo.desktop

riddlebox80 01-21-2004 04:06 PM

do you just add it into the .tgz when done? I dont quite understand what you mean by add it to your package?

Tinkster 01-21-2004 04:16 PM

As for KDE it's a piece of pie :)

Once you have it installed, and added it
to the appropriate submenu, just add the
to your tgz :}


nesware 01-22-2004 11:50 AM

yeah.. you just add it to the tgz file...
you know how to make a slackware package?
if you do, in the package root dir create

and run makepkg...

riddlebox80 01-24-2004 06:51 PM

I was reading in the howto on, about dealing with dependencies, and it says you can build the dependencies into the package, but it doesnt tell you how to include them do you know? Or does anyone?

nesware 01-24-2004 07:55 PM

in your install directory you need a file named slack-required
from these commands on a random package file

nes@nes [/usr/local/src> tar tzf gtkmm-2.2.8-i686-1.tgz
nes@nes [/usr/local/src> tar xzf gtkmm-2.2.8-i686-1.tgz install/slack-required
nes@nes [/usr/local/src> cat install/slack-required
nes@nes [/usr/local/src>

but you need to read quite some docs for this... or maybe ask the writer of this tgz file (got it from .. cos i don't know more than this about it...

nesware 01-24-2004 07:56 PM

i mean

dirstyGuy 01-25-2004 12:13 AM

Wut about do a (many many) simulation of installation b4 u really install the package ?
I think installpkg have an option for it, then just link it to a file, for checking it will do. It could have total different approach than supposed.

And the real installation is installpkg pkg.tgz, well script edition is 10% of the work, but the teory of validation through simulation is the core. Especially if u aren't sure which special dependencies is they key for which all ur scripting work will adjust to.

For the fist test it will be nice to try to create a package that can handelt static dependency. The dynamic dependencies is the next step of the validation work. I wish u can imaging wut it is all about, as I don't makeredudance of wut I posted.

Quote in the middle of tunnel: sampling.., extract dep, apply ago.., are possibly avaiable on, tell me if u can resolve *.sky am not expert on DNS :D, no/null redudance questions plz, plz. N dun pretend to know n fool me u have scripted practiceOfStoryFromSky with c++..

All times are GMT -5. The time now is 02:54 PM.