SliTaz SliTaz Forum

You are not logged in.

#1 2015-05-28 11:20:17

Avukatum
Member
Registered: 2011-03-31
Posts: 14

cook new package (wok)

Good evening! Slightly changing the recipe, cook using build package firefox-official-ru-38.0.1, everything works, but there was a small problem - there is no shortcut on the menu, actually a question: where to put the file in a wok usr/share/applications/firefox-official-ru.desktop that he would not fray when rebuilding package?

thanks in advance))

Sorry for my English)))

Offline

#2 2015-05-28 13:27:42

mojo
Administrator
Registered: 2011-03-29
Posts: 2,173

Re: cook new package (wok)

[c]mkdir -p /<PATH-TO-WOK>/wok/firefox-official-ru/stuff[/c]

[c]cp firefox-official-ru.desktop /<PATH-TO-WOK>/wok/firefox-official-ru/stuff[/c]

Offline

#3 2015-05-28 14:18:20

Avukatum
Member
Registered: 2011-03-31
Posts: 14

Re: cook new package (wok)

Thank you!

I tried to create files "/home/slitaz/wok/firefox-official-ru/stuff/usr/share/applications/firefox-official-ru.desktop" and "/home/slitaz/wok/firefox-official-ru/stuff/fs/usr/share/applications/firefox-official-ru.desktop", in both cases, when I compiled, these files have been deleted ..

I will try again )))

Offline

#4 2015-05-28 14:28:25

mojo
Administrator
Registered: 2011-03-29
Posts: 2,173

Re: cook new package (wok)

This is correct:

"/home/slitaz/wok/firefox-official-ru/stuff/firefox-official-ru.desktop"

cook makes $fs/usr/share/applications and copy's $PACKAGE.desktop into it if $stuff/$PACKAGE.desktop exists.

http://hg.slitaz.org/cookutils/file/46ba9289aa46/cook#l462

if [ -f "$stuff/$PACKAGE.desktop" ]; then

        mkdir -p $fs/usr/share/applications

        cp -a $stuff/$PACKAGE.desktop $fs/usr/share/applications

fi

Offline

#5 2015-05-28 16:03:29

Avukatum
Member
Registered: 2011-03-31
Posts: 14

Re: cook new package (wok)

Thank you so much !!! )))

Offline

#6 2015-05-28 20:24:36

Avukatum
Member
Registered: 2011-03-31
Posts: 14

Re: cook new package (wok)

Now all good !!!

Could you suggest how to download this package to the repository Slitaz ?

Offline

#7 2015-05-29 17:09:20

Avukatum
Member
Registered: 2011-03-31
Posts: 14

Re: cook new package (wok)

Sorry ...

Do not "download", I had in mind "upload" to the repository ..

There are wishing to tell me )))) ?

Offline

#8 2015-08-31 20:08:02

Avukatum
Member
Registered: 2011-03-31
Posts: 14

Re: cook new package (wok)

Friends ! Help me ! I so want to help the project ..

Offline

#9 2015-09-08 22:35:04

hackdorte
Member
Registered: 2014-06-05
Posts: 83

Re: cook new package (wok)

Hi Avukatum

Read Doc's

- http://doc.slitaz.org/ru:cookbook:wok

- http://doc.slitaz.org/en:cookbook:advancedhg

- http://doc.slitaz.org/fr:cookbook:devcorner

Welcome wink

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 8 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]