+ Reply
Results 1 to 6 of 6

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: .deb packaging on Windows?

is a discussion within the

Chit Chat

forums, a part of the

ModMyi

section;
Hi, Is there a way for me to package DEBs for my repo on Windows? Thanks.
...
  1. #1
    What's Jailbreak?
    Join Date
    Jan 2010
    Posts
    5
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default .deb packaging on Windows?
    Hi,

    Is there a way for me to package DEBs for my repo on Windows?

    Thanks.

  2. #2
    MMi's "X" Member awesomeSlayer's Avatar
    Join Date
    May 2008
    Location
    Dragonspiral Tower in 3DS
    Posts
    4,524
    Thanks
    114
    Thanked 347 Times in 259 Posts

    What is this? Cracked apps?
    Asking for help is different from being stupid. Fanboys can rot in @#$%!

  3. #3
    CHUCK-TASTIC battlecrushr's Avatar
    Join Date
    Jun 2009
    Location
    Houston follow @al_da_beast
    Posts
    7,940
    Thanks
    273
    Thanked 1,034 Times in 956 Posts

    dont worry^ it isnt
    i think there is. give me a sec to find a guide




    Please know we are praying Kyle (poetic_folly) and Robyn Matthews for your little one.
    You too blkcadi
    Thank You.

  4. #4
    MMi's "X" Member awesomeSlayer's Avatar
    Join Date
    May 2008
    Location
    Dragonspiral Tower in 3DS
    Posts
    4,524
    Thanks
    114
    Thanked 347 Times in 259 Posts

    You can use iFile to extract the files from .deb file.
    I'm not sure of creating DEBs.
    Asking for help is different from being stupid. Fanboys can rot in @#$%!

  5. #5
    CHUCK-TASTIC battlecrushr's Avatar
    Join Date
    Jun 2009
    Location
    Houston follow @al_da_beast
    Posts
    7,940
    Thanks
    273
    Thanked 1,034 Times in 956 Posts

    here

    Tools:
    iPhone or iPod touch
    SSH (OpenSSH installed on device)
    WinSCP (4.2.5 or higher)


    1. Setup
    First of all you would want to make a folder on your desktop. For this tutorial "X" is being used as a folder.

    2. Control File
    You will need a control file so you are able to package the DEB and for it to be viewable in Cydia/Rock.

    To do this make a folder called "DEBIAN" (ALL CAPS) inside the folder "X".
    Inside of the folder DEBIAN, make a file called "control" all lowercase and without an extension.

    Here is a brief description of the fields in a control file
    You need to add the below inside your control file except with your information. Make sure you add an extra space at the bottom of the control file

    Code:
    Package: com.yourcompany.yourapp
    Name: YourAppNameHere
    Version: Number
    Architecture: iphoneos-arm
    Description: Small Desc. about your app.
    Homepage: Your Website
    Maintainer: YourName <YourEmail>
    Author: YourName
    Sponsor: YourWebSiteName <Website URL>
    Section: System
    Here is one of my own control file I use in Advanced Preferences

    Code:
    Package: com.csdev.advpreferences2
    Name: Advanced Preferences 2
    Version: B3-2
    Architecture: iphoneos-arm
    Description: This hack will give you more settings and tweaks.
    Homepage: CS Dev - Home
    Maintainer: CS Dev <[email protected]>
    Author: CS Dev
    Sponsor: CS Dev <http://www.csdev.2x.nu>
    Section: System

    3. File Structure
    Inside your "X" folder, it's going to be like the iPhone File System. Like if you want to add a file to the root partition, just put the file in "X".

    A. Application Structure
    To install apps with DEBs, inside of "X", make a folder called "Applications". Then inside of Applications, make your app folder (EX: Cydia.app)

    B. Theme Structure
    To install themes wth DEBs, inside of "X", make a folder called "Library". Then inside of Libary, make another folder called "Themes" . After that inside of themes make your theme folder (EX: Cydia.theme)

    Add your files using the structure above

    4. WinSCP and SSH.

    Open up WinSCP and connect to your Device. Navigate on your Device to
    Code:
    /var/root
    Copy the X Folder to your device. File Structure should be below
    Code:
    /var/root/X
    Inside the X Folder change the permissions of the DEBIAN folder and its files to 755
    Navigate to var/root/ and open up the terminal im WinSCP. Do this by clicking the black box in one of the toolbars.

    5. Terminal

    Inside of Terminal type the following command in the "Enter Command" Box.
    Code:
    dpkg -b X.deb

    It will pop-up some error and this is okay.

    The DEB file will be located in var/root/
    Code:
    var/root/X.deb




    Please know we are praying Kyle (poetic_folly) and Robyn Matthews for your little one.
    You too blkcadi
    Thank You.

  6. The Following User Says Thank You to battlecrushr For This Useful Post:

    ltamake (03-02-2010)

  7. #6
    MMi's "X" Member awesomeSlayer's Avatar
    Join Date
    May 2008
    Location
    Dragonspiral Tower in 3DS
    Posts
    4,524
    Thanks
    114
    Thanked 347 Times in 259 Posts

    Another alternative of WinSCP is iFunbox, iPhone Explorer, and Diskaid. So you save your time without needing SSH or WinSCP. Plus, it is much faster.
    Asking for help is different from being stupid. Fanboys can rot in @#$%!

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