Quote:
Originally Posted by kanaya
ok i got my repo up and running, but i got 2 questions, how can i add a custom icon to the repo so it wont show the question mark, and how do i manage to update a package and it shows as an available update on cydia?
|
It's actually more of a PITA than you would think. You actually have to create a deb package that the user must download from your repo that the icons are added to their Cydia folder. What I did was create a package called "repoprep" which contains all the icon files and then for all the apps that I have listed on my repo I just made the "repoprep" file a depends, that way when someone tries to download any of the apps that are on my repo, cydia will see that "repoprep" is listed as a depends and will automatically install it.
If you WinSCP into your phone and navigate to the /private/var/stash/Applications/Cydia.app folder, you will see that there are two folders called "Sections" and "Sources". This is where all the icons for all the repos are located. So you need to create a package that will install png files into these two folders. The sections folder is for your repo icons, so when people go into your section on Cydia this is the icon that will show up where all those lil question marks are.
The "Sources" folder is for your source icon when you go into Cydia and click on "Manage" and you have the list of repos, this is where the the icon that will show up on your source is located.
So essentially you would need to create a debian package that looks something like this...
MAIN FOLDER
Applications>Cydia.app>Sections>your_section_icon.png
Applications>Cydia.app>Sources>your_source_icon.png
DEBIAN>control
Then like I said, when you create packages for your repo just add your repoprep as a DEPENDS for every package that way when someone installs an apps off your repo your repoprep package will be installed automatically.
Quote:
Originally Posted by anils_das
still i have problem in this step...
when i install my application through cydia i get the error "md5sums mismatch"
anybody pls tell me the exact procedure to find the md5sums value....
|
This step is NOT required, and as a matter of fact, when I run dpkg-scanpackages it creates an MD5sum automatically for me.