The ModMyTM Family of Sites:
ModMyMotoModMyiModMyGphone




 
 
Register or Connect with Facebook

Discuss AppStore Apps | Browse / Search Cydia | MMi Cydia Stats




  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > 3rd Party Apps For iPhone | iPod Touch > Native iPhone / iPod Touch App Discussion > Cydia Support
Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 11-06-2008, 10:39 PM
itouchr's Avatar
What's Jailbreak?
 
Join Date: Apr 2008
Posts: 27
Thanks: 0
Thanked 11 Times in 5 Posts
How To Make A Cydia Repository

Hey everyone! I know that a lot of people want to make their own Cydia repo and don't understand Saurik's instructions. That's why I'm telling you how to do this. When I say something, you should understand it. Let's get started!

What You Need:

-Mac or Virtual Machine with Debian installed
-Fink (If your on a Mac) Get it here
-Internet
-Text Editor

OK here we go!

If the images are too small, click on them to make them big.

1. Make a folder on the desktop called "MyProgram" without quotes.
Click the image to open in full size.

2. Make 2 folders inside MyProgram called "Applications" and "DEBIAN" without quotes. If you have an app, you make an "Applications" folder. If you have a wallpaper, you would instead of an "Applications" folder, you'd put the directory of where the wallpaper would go.

EX: For wallpaper: MyProgram > Library > Wallpapers > Wallpaper goes here

For app: MyProgram > Applications > App goes here
Click the image to open in full size.

3. Put your .app file into the "Applications" folder. Remember, if your something like a wallpaper, put it in MyProgram > Library >Wallpapers > Wallpaper goes here
Click the image to open in full size.

4. Now go into Spotlight, the magnifying glass in the top right corner of the screen and search "textedit" without quotes.
Click the image to open in full size.

5. Now copy and paste the code below into TextEdit.

Website: http://www.yoursite.com/home.html
Maintainer: You
Name: Name of package
Package: Bundle identifier
Section: Section it could be found in
Version: version of package
Architecture: iphoneos-arm
Description: Description of package
Sponsor: You

6. After you edit, it should look somewhat like this:
Click the image to open in full size.

7. Hit "Save As..." and save it as "control" without quotes and uncheck "If no extension is provided, use .txt"
Click the image to open in full size.

8. Now put the control file in MyProgram > DEBIAN
Click the image to open in full size.

9. Now Launch Terminal by going to Spotlight and search Terminal. When you open it, it should look like this:
Click the image to open in full size.

10. In Terminal, type "cd /Users/your username/Desktop and hit enter shown here:
Click the image to open in full size.

11. OK, copy and paste this code into Terminal: dpkg-deb -b MyProgram and hit enter.
Click the image to open in full size.

As you can see, it says there are warnings. That's OK! When you typed that command, it made a new file called MyProgram.deb It's that easy to make a DEB file!
Click the image to open in full size.

12. Now let's make our repo's info. Copy and paste the code below.

Origin: Name of your repo
Label: Header when the user taps your repo
Suite: stable
Version: 1.0
Codename: stable
Architectures: darwin-arm
Components: main
Description: Description of your repo

13. When you're done editing it, it should look like this:
Click the image to open in full size.

It does say control at the top because I just deleted the text from the control file. DON'T DO THAT!

14. Click File > Save As... and save it as "Release" without quotes. And make sure there is not extension!
Click the image to open in full size.

15. Make a new folder on the Desktop and name it "cydiarepo" without quotes.
Click the image to open in full size.

16. Inside "cydiarepo" make a folder called "debs" without quotes.
Click the image to open in full size.

17. Now go back into Terminal and type this command: dpkg-scanpackages -m . /dev/null -->Packages

Then hit enter.
Click the image to open in full size.

Notice it created a "Packages" file on your Desktop.
Click the image to open in full size.

18. Now go back to Terminal and type this command: gzip -f Packages

Then hit enter.
Click the image to open in full size.

Notice that it gzipped the Packages file and made a new file called Packages.gz
Click the image to open in full size.

19. Double click Packages.gz and it will extract the Packages file. When it's done, dragthe Release file, Packages, and Packages.gz into the cydiarepo folder.
Click the image to open in full size.

20. Now drag the MyProgram.deb file into the "debs" folder in cydiarepo.
Click the image to open in full size.

Rename the DEB file to whatever you want. EX: Snapture.deb

21. Go to back one, and highlight everything. Then, right click and click Compress 4 Items.
Click the image to open in full size.

Then click Compress 4 items...
Click the image to open in full size.

It will make a file called "Archive.zip"
Click the image to open in full size.

22. Make a folder on your site that will be the main directory of where we upload the files. Then upload the zip to that folder. I named my folder cydiademo.
Click the image to open in full size.

Then extract...
Click the image to open in full size.

23. If it makes a folder called __MACOSX, just delete that. Also delete Archive.zip.
Click the image to open in full size.

24. Open up the Packages file and copy and paste the text below:

MD5Sum: Put the MD5 hash here (to find this out, go to http://hashemall.com and select MD5)
Maintainer: Who maintains the package
Description: Description of package
Package: Bundle Identifier
Section: Section it shows up in
Author: Who made the app
Filename: directory where the deb can be found
Version: Version of Package
Architecture: iphoneos-arm
Size: Unix Size (Right click on deb and click get info, and view size on disk. input the numbers ONLY, not the commas.)
Homepage: URL for More Info
Name: Name of package

When done, it should look like this:
Click the image to open in full size.

25. Now copy and paste what you put in the Packages file into the Packages file on your desktop. Then save it.
Click the image to open in full size.

26. Each time you modify the Packages file, you have to make a new .gz file. Type the command in Terminal: gzip -f Packages
Click the image to open in full size.

27. In your repo folder on your site, delete Packages.gz and upload the new one. I'm not going to show a pic this time.

I think that's it! Oh yah! One more thing! Whenever you upload a new DEB, you have to change the Packages and Packages.gz files so they're up to date. Each time you cahne the Packages file, you skip a line, then copy the info you posted in there already.

It'll look like this:
Click the image to open in full size.

So how was this tutorial? Comment.

-Alec

My Sites:
Index of /
YouTube - RoboticShowOff's Channel
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following 7 Users Say Thank You to itouchr For This Useful Post:
exNavy (02-09-2009), pattulus (01-08-2009), PotatoHead (06-10-2009), shinniehi (02-19-2009), spazturtle (03-23-2009), tattoojack (08-25-2009), Trace11 (10-30-2009)
  #2  
Old 11-15-2008, 06:28 PM
What's Jailbreak?
 
Join Date: Nov 2008
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts

Thanks for this guide, and i know this is a stupid question, but how would i go about installing debian on a macbook running os x 10.5.5.? thanks!
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #3  
Old 11-15-2008, 07:17 PM
Trent J.'s Avatar
My iPhone is a Part of Me
 
Join Date: Sep 2007
Posts: 950
Thanks: 15
Thanked 74 Times in 67 Posts

Great tutorial.. Very easy to follow. Thanks..


check your pm's
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #4  
Old 11-15-2008, 08:45 PM
itouchr's Avatar
What's Jailbreak?
 
Join Date: Apr 2008
Posts: 27
Thanks: 0
Thanked 11 Times in 5 Posts

the actual os? download virtualbox and download the debian iso.

It's really easy to do.

Last edited by itouchr; 11-15-2008 at 08:45 PM.. Reason: Automerged Doublepost
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #5  
Old 11-19-2008, 02:26 PM
Green Apple
 
Join Date: Feb 2008
Posts: 73
Thanks: 14
Thanked 0 Times in 0 Posts

i got everything done, but still no show on cydia, it says i have to do some source.list but have no idea how to
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #6  
Old 11-19-2008, 04:52 PM
itouchr's Avatar
What's Jailbreak?
 
Join Date: Apr 2008
Posts: 27
Thanks: 0
Thanked 11 Times in 5 Posts

Quote:
Originally Posted by kanaya View Post
i got everything done, but still no show on cydia, it says i have to do some source.list but have no idea how to
Let me try something. Whats your repo URL?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #7  
Old 11-19-2008, 06:36 PM
Green Apple
 
Join Date: Feb 2008
Posts: 73
Thanks: 14
Thanked 0 Times in 0 Posts

ok this is my repo, i did everything and still nothing

http://laxtrema.com/cydiarepo/

Last edited by kanaya; 11-23-2008 at 09:00 PM..
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #8  
Old 11-23-2008, 09:00 PM
Green Apple
 
Join Date: Feb 2008
Posts: 73
Thanks: 14
Thanked 0 Times in 0 Posts

anybody?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #9  
Old 11-25-2008, 04:03 AM
What's Jailbreak?
 
Join Date: Oct 2008
Device + Firmware: iPhone 3G 16GB @3.0.1
Operating System: FreeBSD / Debian Linux
Location: Eindhoven, Netherlands
Posts: 12
Thanks: 0
Thanked 2 Times in 2 Posts

If you are on debian anyway, I can recommend apt-ftparchive, from the 'apt-utils' package, which automates some of the steps above, including the checksumming.

See the bottom of CoreDev Cydia repository
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #10  
Old 11-26-2008, 07:47 AM
What's Jailbreak?
 
Join Date: Nov 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

Hi

i have problem for create control, terminal say this error: /sw/bin/dpkg-deb: parse error, in file `MyProgram/DEBIAN/control' near line 4: duplicate value for user-defined field

help me pleases thanks

Last edited by kennopix; 11-26-2008 at 07:50 AM..
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #11  
Old 11-29-2008, 01:35 AM
itouchr's Avatar
What's Jailbreak?
 
Join Date: Apr 2008
Posts: 27
Thanks: 0
Thanked 11 Times in 5 Posts

Quote:
Originally Posted by kanaya View Post
ok this is my repo, i did everything and still nothing

Index of /cydiarepo
hmm... well why are you putting files and all in different folders?

Quote:
Originally Posted by kennopix View Post
Hi

i have problem for create control, terminal say this error: /sw/bin/dpkg-deb: parse error, in file `MyProgram/DEBIAN/control' near line 4: duplicate value for user-defined field

help me pleases thanks

same here sometimes. try uninstalling fink. then reinstall.

Last edited by itouchr; 11-29-2008 at 01:35 AM.. Reason: Automerged Doublepost
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #12  
Old 12-01-2008, 07:13 AM
What's Jailbreak?
 
Join Date: Nov 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

The repo ready!

but I get this error when I go to install package:

source error
undetermined error

Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #13  
Old 12-04-2008, 05:54 PM
What's Jailbreak?
 
Join Date: Aug 2008
Device + Firmware: iPhone 3G [S} 3.1.2 JB with BlackRa1n (Windows)
Operating System: MacBook Pro with Windows 7 RC and Mac OS X 6.1
Posts: 14
Thanks: 0
Thanked 1 Time in 1 Post
Windows

How 'bout for Windows?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #14  
Old 12-06-2008, 12:32 PM
What's Jailbreak?
 
Join Date: Nov 2008
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts

Okay, I feel pretty stupid.. but when I'm trying to save the control file, there is no "If no extension is provided, use .txt" check box. I can only save with an extension. I'm running OS X 10.5.5. How can I make this show up?

Click the image to open in full size.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #15  
Old 12-06-2008, 02:55 PM
Kyle Matthews's Avatar
Owner / Founder - ModMyi
aka poetic_folly
 
Join Date: May 2007
Device + Firmware: iPhone 3G[S] | 3.0 | Jailbroke
Operating System: OS X Leopard 10.6.2
Location: Tampa, FL. Used to be Seattle.
Posts: 8,385
Thanks: 297
Thanked 2,625 Times in 856 Posts
Send a message via AIM to Kyle Matthews

Go up to the Format menu and choose "Make Plain Text".

Click the image to open in full size.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following User Says Thank You to Kyle Matthews For This Useful Post:
xcsic (12-06-2008)
Reply

  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > 3rd Party Apps For iPhone | iPod Touch > Native iPhone / iPod Touch App Discussion > Cydia Support

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



Go to Top
ModMyI

All times are GMT -6. The time now is 03:21 PM. Powered by vBulletin® Version 3.8.4
If you need Dedicated Server Hosting, you should check out SingleHop. | Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 Copyright © 2007-09 by ModMy, LLC. All rights reserved.

iPhone News / iPhone Forums / Apple News / Apple Forums / RSS / Contact Us / / Privacy Statement / Top