maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Need help creating a package for upload (https://talk.maemo.org/showthread.php?t=69175)

sethkha 2011-01-31 13:40

Need help creating a package for upload
 
the title says it. I've modified some source. How can I create a new package from this?

colin.stephane 2011-01-31 13:43

Re: Need help creating a package for upload
 
Quote:

Originally Posted by sethkha (Post 932546)
the title says it. I've modified some source. How can I create a new package from this?

Source of what ?

From original package ?

A++

sethkha 2011-01-31 13:47

Re: Need help creating a package for upload
 
hi
source of yellow-notes widget. I downloaded the tar.gz . Modified the source under src and compiled with make. I have no experience with sdk. Alway compiled only with gcc -bla. Now I don't know what I have to replace (info about maintainer, version, name.) Also how to ad icons to be installed.

tswindell 2011-01-31 13:58

Re: Need help creating a package for upload
 
Quote:

Originally Posted by sethkha (Post 932554)
hi
source of yellow-notes widget. I downloaded the tar.gz . Modified the source under src and compiled with make. I have no experience with sdk. Alway compiled only with gcc -bla. Now I don't know what I have to replace (info about maintainer, version, name.) Also how to ad icons to be installed.

Has the maintainer dropped support for this package? Maybe it's better you ask him to update and give him your patches. Otherwise search for "debian packaging" in google and there's some basic information on the maemo.org community wiki.

sethkha 2011-01-31 14:05

Re: Need help creating a package for upload
 
i tried to contact him, but there's no answer, also he didn't answer in the thread anymore, so I'm quite sure there wont come anything from him.
I know I can find information at google. I just hoped somebody could help me doing this. I see no use in searching days for information, some other could reveal in maybe half an hour. That would be some kind of effective collaboration.

colin.stephane 2011-01-31 14:06

Re: Need help creating a package for upload
 
Quote:

Originally Posted by sethkha (Post 932554)
hi
source of yellow-notes widget. I downloaded the tar.gz . Modified the source under src and compiled with make. I have no experience with sdk. Alway compiled only with gcc -bla. Now I don't know what I have to replace (info about maintainer, version, name.) Also how to ad icons to be installed.

Well, to do that, you need scratchbox installed and configured properly : http://wiki.maemo.org/Scratchbox_repositories

After that it's easy as any debian package modifications :

Quote:

[sbox-FREMANTLE_ARMEL: ~] > mkdir -p tmp/Building/yellownotes-applet/
[sbox-FREMANTLE_ARMEL: ~] > cd tmp/Building/yellownotes-applet/
[sbox-FREMANTLE_ARMEL: ~/tmp/Building/yellownotes-applet] > apt-get source yellownotes-applet
Reading package lists... Done
Building dependency tree... Done
Need to get 253kB of source archives.
Get:1 http://repository.maemo.org fremantle/free yellownotes-applet 0.5.3 (dsc) [814B]
Get:2 http://repository.maemo.org fremantle/free yellownotes-applet 0.5.3 (tar) [253kB]
Fetched 253kB in 0s (393kB/s)
gpg: Signature made Tue May 18 07:33:39 2010 CEST using DSA key ID B11FFF2F
gpg: Can't check signature: public key not found
dpkg-source: extracting yellownotes-applet in yellownotes-applet-0.5.3
dpkg-source: unpacking yellownotes-applet_0.5.3.tar.gz
[sbox-FREMANTLE_ARMEL: ~/tmp/Building/yellownotes-applet] > cd yellownotes-applet-0.5.3/
[sbox-FREMANTLE_ARMEL: ~/tmp/Building/yellownotes-applet/yellownotes-applet-0.5.3] >
[sbox-FREMANTLE_ARMEL: ~/tmp/Building/yellownotes-applet/yellownotes-applet-0.5.3] > dpkg-checkbuilddeps
: Using Scratchbox tools to satisfy builddeps
[sbox-FREMANTLE_ARMEL: ~/tmp/Building/yellownotes-applet/yellownotes-applet-0.5.3] >
NOW YOU CAN APPLY YOUR FIXES
- You need to edit debian/changelog and add a new one in head.
- And build new package with 'dpkg-buildpackage -rfakeroot'
A++

tswindell 2011-01-31 14:12

Re: Need help creating a package for upload
 
Quote:

Originally Posted by sethkha (Post 932570)
i tried to contact him, but there's no answer, also he didn't answer in the thread anymore, so I'm quite sure there wont come anything from him.
I know I can find information at google. I just hoped somebody could help me doing this. I see no use in searching days for information, some other could reveal in maybe half an hour. That would be some kind of effective collaboration.

Possibly you should learn to google better there's a lot of good information ranked very highly on searches, and it wouldn't take you a minute to find the maemo packaging information for icons etc on the wiki. Anyway, who is the maintainer?

sethkha 2011-01-31 14:21

Re: Need help creating a package for upload
 
@colin.stephane
The point with: NOW YOU CAN APPLY YOUR FIXES is the problem (name of the project...)

@tswindell: "Possibly you should learn to google better" this is absolutely unnecessary. Sure it could be I am totally dumb, but in a minute I only found information about the app icon. Not about the other icons or files. I have to read this stuff, understand it, find out what is relevant and so on.

"Anyway, who is the maintainer? " "Possibly you should learn to google better" "and it wouldn't take you a minute to find " "who is the maintainer"

tswindell 2011-01-31 14:28

Re: Need help creating a package for upload
 
Okay then, I guess you don't require any help.

sethkha 2011-01-31 14:36

Re: Need help creating a package for upload
 
yes, maybe it's not me, but others who don't have the patch and could use it (a saw a lot complaining about to small icons in yellownotes). I have what I want. I gain nothing from uploading .

I asked for help, but you offered none. You just pointed me to where to find information. On Google you can find information for 10 million ways to heal cancer, building atom bombs and whatever not. I am asking for active help and no standard answer like rtfm or google is your friend.


All times are GMT. The time now is 20:22.

vBulletin® Version 3.8.8