Results 1 to 2 of 2

Thread: ipkBuilder for MacOSX

  1. #1

    dimfil's Avatar
    Join Date
    Jan 2011
    Location
    Αθήνα, Χαλάνδρι...
    Age
    50
    Posts
    816
    Rep Power
    1452

    ipkBuilder for MacOSX

    Αρκετοί χρήστες στο SatDreamGr (αλλά και σε άλλα forums) με ρωτούν για το πως μπορούν να δημιουργήσουν αρχεία ipk μέσα από το MacOSX για να τα χρησιμοποιήσουν στους δορυφορικούς τους δέκτες. Λοιπόν, η διαδικασία δεν είναι ιδιαίτερα δύσκολη αλλά απαιτείται η χρήση του Terminal. Αν και τα βήματα που πρέπει να ακολουθηθούν δεν είναι ιδιαίτερα πολύπλοκα, από τα σχόλια και την επικοινωνία με τους χρήστες είναι φανερό ότι κάποιες λεπτομέρειες μπορούν να δημιουργήσουν προβλήματα σε χρήστες που δεν είναι εξοικειωμένοι με το Terminal.

    Υπήρχαν δύο πράγματα που μπορούσα να κάνω για να βοηθήσω τους φίλους mac users:
    1. Να δημιουργήσω ένα κείμενο που να περιγράφει τις σχετικές εντολές του Terminal μαζί με άλλες λεπτομέρειες
    2. Να δημιουργήσω ένα απλό γραφικό περιβάλλον για να κάνω τα πράγματα ευκολότερα

    Αποφάσισα υπέρ της δεύτερης επιλογής…
    Στη δορυφορική κοινότητα υπάρχει ήδη μία εφαρμογή για windows για αυτή τη δουλειά αλλά απ' όσο ήταν δυνατόν να ψάξω δεν μπόρεσα να βρω αντίστοιχη εφαρμογή για MacOSX.

    Έτσι, δημιουργήθηκε το ipkBuilder. Απλοποιεί τη διαδικασία δημιουργίας ενός ipk επιτρέποντας στο χρήστη να εισάγει τις απαραίτητες πληροφορίες και στη συνέχεια να κάνει όλη τη δουλειά αντί γι' αυτόν: δημιουργία του αρχείου control, δημιουργία του αρχείου debian-binary, συμπίεση των επιμέρους αρχείων και , τέλος, συμπίεση όλων σε αρχείο ipk.

    Ωστόσο, υπάρχουν κάποια πράγματα που ο χρήστης πρέπει να έχει προετοιμάσει, τα οποία είναι:
    1. Προφανώς, η δομή των φακέλων και αρχείων τα οποία θα εγκατασταθούν από το πακέτο και τα οποία ασφαλώς θα ενσωματωθούν στο ipk
    2. Κάποια προαιρετικά scripts που ο χρήστης θέλει να εκτελεστούν πριν ή μετά την εγκατάσταση και πριν ή μετά τη διαγραφή του πακέτου και τα οποία επίσης θα ενσωματωθούν στο ipk

    Οποιοσδήποτε χρειάζεται να δημιουργήσει ένα αρχείο ipk γνωρίζει ήδη τι σημαίνουν τα παραπάνω. Σε κάθε περίπτωση όμως, υπάρχει άφθονη σχετική πληροφορία στο internet και λίγη έρευνα με το Google θα καλύψει τα πιθανά κενά.

    Εάν χρησιμοποιήσετε το ipkBuilder, παρακαλώ στείλτε εντυπώσεις, σχόλια και προτάσεις στο [email protected]

    Credits:
    Το εκτελέσιμο "ar" προέρχεται από τα Apple Command Line Tools. Μπορείτε να βρείτε το πλήρες πακέτο στα Apple Developer Downloads (ενδέχεται να χρειαστεί εγγραφή).
    Το εικονίδιο της εφαρμογής προέρχεται από το ελεύθερο Crystal Clear icon set από τον Everaldo Coelho.

    Εγκατάσταση:
    Κατεβάστε το dmg του ipkBuilder.
    Απλά αντιγράψτε την εφαρμογή ipkBuilder στο φάκελο Applications ή σε οποιοδήποτε άλλο σημείο του σκληρού δίσκου.
    Χρησιμοποιήστε το Ar bin installer εάν δεν έχετε ήδη εγκατεστημένη την εντολή ar.

    ©DimFil for SatDreamGr


    ******************************************************************************************

    Many users in SatDreamGr (and also in other sat forums) keep asking me how they can create ipk packages in MacOSX to use on their enigma2 satellite receivers. Well, the procedure is not difficult but someone has to use the Terminal to do it. Although the steps to follow are not too complicated, by the comments of some users is somehow clear that a few details could cause many problems to a user not so familiar with the Terminal.

    So, there where two things I could do to help fellow mac users:
    1. Create a guide document writing down the necessary terminal commands among with other details
    2. Create a simple GUI to make things easier

    I decided to go for (2)…
    In the satellite community, there is already an app for Windows that does the job but as far as I could search, I couldn't find any MacOSX application for the same purpose.

    So, here comes the first version of ipkBuilder. It just simplifies the procedure of creating an ipk package by letting the user enter all the necessary information and then do all the "dirty" job for him: create the control file, the debian-binary file, compress individual files and finally compress all together into an ipk file.

    There are some things though that the user has to have prepared from before, and these are:
    1. Obviously, the data structure of the files that have to be installed by the package and will be bundled of course in the ipk
    2. Any optional scripts that the user wants to be executed before and after installation as-well-as before and after removal, and they will be also bundled in the ipk

    Anyone in need to create an ipk package should be familiar with the above. In any case, there is plenty of information on the internet and a little of "googling" should provide any missing knowledge...

    If you use ipkBuilder, please provide feedback, comments and suggestions to [email protected]

    Credits:
    The "ar" bin is extracted from Apple Command Line Tools. You can find the complete package in Apple Developer Downloads (you may need to register first).
    The application icon is from the free Crystal Clear icon set by Everaldo Coelho.

    Installation:
    Download ipkBuilder dmg file.
    Just copy ipkBuilder application to Applications folder or wherever you like in hour hard drive.
    Use the Ar bin installer if you don't already have ar command installed.

    ©DimFil for SatDreamGr

  2. #2

    dimfil's Avatar
    Join Date
    Jan 2011
    Location
    Αθήνα, Χαλάνδρι...
    Age
    50
    Posts
    816
    Rep Power
    1452

    Απ: ipkBuilder for MacOSX

    [IMG]http://img442.**************/img442/4688/screenshot20130110at101.png[/IMG]


    [IMG]http://**************/a/img571/3737/screenshot20130110at102.png[/IMG]

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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