Ubuntu/Debian package

Discussion in 'Rebol' started by MaxV, Aug 31, 2010.

  1. MaxV

    MaxV Member

  2. Graham

    Graham Developer Staff Member

    Nice Max. Are you able to detail the steps taken to create the package?
  3. MaxV

    MaxV Member

    Yes, sure; but first of all I say that is Rebol/View not rebol/core.
    The last version of Rebol/view for Linux is named "rebol" and not "rebview" as usual.
    I just used the binary on www.rebol.com, maybe who made the Linux version applied the wrong name....
  4. MaxV

    MaxV Member

    The steps to do a Ubuntu / Debian (it's the same) package is the following:
    1. Downolad the binary from www.rebol.com
    2. Create a folder named "rebol"
    3. Inside "rebol" folder create the directory structure where the binary will be installed. In my case I created "usr/bin" directories
    4. Put the rebol binary in the directory structure you made ("usr/bin/rebol")
    5. Inside "rebol" folder create the "DEBIAN" folder
    6. Inside the DEBIAN directory create a text file called "control"
    7. Write the control file. There are may guides in internet about that. My file is below.
    8. Go outside the rebol folder ("cd ..") and launch "dpkg-deb --build rebol "
    9. FINISHED
    My "control" file is:
    Code:
    Package: rebol
    Version: 2.7.7.4.3-1
    Architecture: i386
    Installed-Size: 1175
    Maintainer: Massimiliano Vessi <maxint@tiscali.it>
    Description: REBOL stands for relative expression based object language.
     Software systems have become too complex, 
     layers upon layers of complexity, each more brittle and 
     vulnerable to failure. In the end software becomes the 
     problem, not the solution. We rebel against such complexity, 
     fighting back with the most powerful tool available: 
     language itself.
     .
     This package contains the REBOL/View 2.7.7.4.3 binary
    
  5. Graham

    Graham Developer Staff Member

    Thanks .. interesting. And yes, Carl can be a bit inconsistent in file naming sometimes.
  6. MaxV

    MaxV Member

    I noticed that also Windows version changed from rebview (2.7.6) to rebol.exe (2.7.7)
  7. ddalley

    ddalley New Member

    Can a PPA be done for this, to help everyone keep up-to-date?
  8. Graham

    Graham Developer Staff Member

  9. MaxV

    MaxV Member

    Sorry, but I don't know the meaning of PPA... what is a PPA? :confused:
  10. MaxV

    MaxV Member

    I could do a PPA, if someone explain it to me what is a PPA. :confused: :confused: :confused:
  11. MaxV

    MaxV Member

  12. Graham

    Graham Developer Staff Member

  13. MaxV

    MaxV Member

    Uhmmm... I'm trying to use ww.lanchpad.net , but it's a real mess! I create a project named "rebol" but launchpad wants a source.changes to upload...
    ... source.changes is generated by a debian tool from a changelog file that must be formatted in a very mysterious way (I tried 2 guides about that, but I receive always errors).
    If someone is more familiar with lanchpad and can help me, I could do it.

Share This Page