Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    [Announce] DEB packages creator for N9/50 - v0.2.0

    Reply
    Page 1 of 11 | 1   2     3   | Next | Last
    Schturman | # 1 | 2013-08-17, 01:40 | Report

    DEB packages creatore for N9/50



    This is a small command-line tool that can create a small packages, for example for your mods, directly on your phone..
    On your first start it will aak you which PDF instruction you want and after applying, you will find PDF file in your Documents folder. PLEASE read it to understand how to create packages.
    Created package can be installed via dpkg -i or double click on the file from filebox/case.

    Use created .deb files on your own risk ! I'm not responsible for any damage if it will cause to your phone

    Package for example: Iconchanger.deb (created via DEB packager on my N9).
    This package will replace icon of "empty folder" to new one and add app icon to desktop that you can check how work script as root from desktop icon.
    Uninstallation will restore orig. icon.
    Reboot not needed
    Also you can download this iconchanger.tgz and put it to: /home/user/MyDocs
    Open terminal as ROOT and write:
    Code:
    tar xvpfz /home/user/MyDocs/iconchanger.tgz -C /home/user/MyDocs/.DEBCREATOR
    It will extract all files of Icon changer package and it ready to packaging. Just look into the file how I did it..

    Also, you can add my repo for updates by running this 3 commands as ROOT:
    Code:
    echo 'deb http://harmattan.openrepos.net/Schturman personal main' > /etc/apt/sources.list.d/openrepos-Schturman.list
    Code:
    wget -O - http://harmattan.openrepos.net/openrepos.key | apt-key add -
    Code:
    apt-get update
    And you will get system updates when update will be ready


    PDF instruction (EN)
    PDF instruction (RU)

    Download DEB packager v0.2.0
    Download DEB packager v0.1.9


    Changelog:

    v0.2.0
    * now on option one, if executable or binary files not exist, the Creator will NOT add automatically all other files to digsigsums. Because of this fixed "hash" problem during installation of your package (thanks to Coderus for help).

    v0.1.9
    * Support UTF-8, now you can write description in your own language in the control file.

    v0.1.8
    * Now creating icon in control file work also for users that not have busybox-power.
    * Fixed letter M (return to menu).

    v0.1.7
    * Small notification fix.

    v0.1.6
    * Automatically will add new size to control file (if exist) every time you will repackage (update) your app.

    v0.1.5
    * Possibility to change only version number and icon in existed control file, for example if you update your app.
    * Some commands changed.

    v0.1.4
    * Automatically save your created control file to source folder.

    v0.1.3
    * Added option to insert Depends when it create "control" file.

    v0.1.2
    * PDF instruction - updated
    * Fixed small issue with digsigsums option. Also added some new options for digsigsums.

    v0.1.1
    * PDF instruction - updated.
    * Automated process of creating the control file. If you don't have control file before packaging, just start app (read PDF instruction).

    v0.1.0
    * PDF instruction - updated.
    * Automated process of adding icon and aegis-matifest line to control file. That mean you can use basic control file (ex. in pdf). Read PDF instruction !
    * Package have dependencies (2 packages). They installed automatically if you install package by clicking on the file. If you install via terminal, run this command at the end:
    Code:
    apt-get install -f -y
    v0.0.9
    * PDF instruction updated.
    * Added option for "rules" file (see PDF instruction)

    v0.0.8
    * Changed one command, now work also in standard BusyBox, not only busybox power

    v0.0.7
    * PDF instruction updated (added russian pdf)
    * After installation it will ask which pdf instruction you want.

    v0.0.6
    * Disabled auto-exit when you get errors.

    v0.0.5
    * PDF instruction updated
    * Added option to which files you want to add digsigsums (binary & executable only or all files).
    * Added option to add Aegis-Manifest (see PDF instruction).
    * Example package (Iconchanger.deb) and source (iconchanger.tgz) updated.

    v0.0.4
    * Added md5sums and digsigsums to packaging process.

    v0.0.3
    * PDF instruction updated
    * Script completely changed. Now it can package 5 packages (see PDF instruction)
    * Auto-exit disabled, now for exit you need press Enter...
    * Working folder now is hidden folder (/home/user/MyDocs/.DEBCREATOR)

    v0.0.2
    * Creating packages moved from /home/user to /opt

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by Schturman; 2013-12-05 at 10:30.
    The Following 17 Users Say Thank You to Schturman For This Useful Post:
    ajalkane, AJMAL P.M, berrybear, chenliangchen, F2thaK, guillermorojaz, hrbani, HtheB, imaginaryenemy, jcharpak, Jordi, Leinad, MartinK, MK99, rcolistete, wook_sf, zaidk9

     
    F2thaK | # 2 | 2013-08-17, 01:57 | Report

    Nice one!............

    Edit | Forward | Quote | Quick Reply | Thanks

     
    chenliangchen | # 3 | 2013-08-17, 03:39 | Report

    This is great! That icon thread then will have easier options for more people!

    Edit | Forward | Quote | Quick Reply | Thanks

     
    MK99 | # 4 | 2013-08-17, 06:39 | Report

    Here is some permission issue
    Is this because off me or app?
    I made manually /home/user/DEBCREATOR folder, but same result.

    http://imageshack.us/photo/my-images/268/j3nr.png/

    Edit | Forward | Quote | Quick Reply | Thanks

     
    coderus | # 5 | 2013-08-17, 07:29 | Report

    @MK99 no such file or directory is not a permission issue. it means no such file or directory

    Edit | Forward | Quote | Quick Reply | Thanks

     
    MK99 | # 6 | 2013-08-17, 07:33 | Report

    But it not create /home/user/DEBCREATOR folder.

    I made it manually and cmod 0777, now it works and my first .deb is created.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    pleasurebd | # 7 | 2013-08-17, 07:37 | Report

    How to create a Control file?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    coderus | # 8 | 2013-08-17, 07:41 | Report

    aha, i see now.
    v0.0.1 just poor version, i think it need some updates from Schturman

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Schturman | # 9 | 2013-08-17, 10:21 | Report

    MK99 it should be in: /home/user/MyDocs/DEBCREATOR
    the first command from the creator is:
    Code:
    cp -rf /home/user/MyDocs/DEBCREATOR /home/user
    Why it not have permission for you I don't know... For me it worked something like 6-7 or more times (tests)...

    Coderus, I know that it poor But it do his job... for me at least. Packaging simple mod directly on the phone...

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by Schturman; 2013-08-17 at 10:27.

     
    coderus | # 10 | 2013-08-17, 11:01 | Report

    you starting script as root. how you think it should copy something in user directory with root privileges, a?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 1 of 11 | 1   2     3   | Next | Last
vBulletin® Version 3.8.8
Normal Logout