Pagina 1 di 4

Upload nuovo programma su Launchpad

Inviato: venerdì 13 maggio 2011, 9:01
da D@nk@n81
Ragazzi c'è qualcuno di buona volontà che può spiegarmi come caricare un programma nei repository launchpad?
Sul launchpad ci sono delle pagine di progetti in cui non ci sono solo i debian, ma anche files compressi: (es https://launchpad.net/plymouth-manager- ... le/stable/)
Io riesco a caricare i file utilizzando Bazaar, ma da quanto ho capito di tratta di una cosa a parte.
Leggendo delle guide ho letto che alcuni dicono che sul launchpad si possono caricare solo le modifiche a file già presenti utilizzando il file source.changes. (https://help.launchpad.net/Packaging/PPA/Uploading)
Ma questa cosa non mi sembra possibile dato che ci sono tanti progetti nei quali vengono caricati programmi totalmente nuovi.
Ora dato che abbiamo creato un nuovo programma utilizzando buc, vorremmo caricarlo sul launchpad.
In locale utilizzo epm per creare i debian. Ma sul launchpad vanno caricare i sorgenti.
Quello che ho io è una cartella nella quale sono contenuti i vari file nelle rispettive posizioni in cui vanno installati. Ora vorrei capire come si fanno a creare tutti i vari file di cui parla il launchpad per poter uploadare correttamente il programma sul launchpad.
In questa guida (https://wiki.ubuntu.com/MOTU/Packages/REVU) dice di aggiungere la chiave GPG e loggarsi su REVU (cosa che ho già fatto).
Solo che dopo dice di eseguire "dpkg-buildpackage -S -sa -rfakeroot" nella cartella in cui si trova il programma. Ma evidentemente non basta avere i soli file del programma in /usr/..... perchè mi da errore.

Per piacere c'è un'anima pia che può darmi una mano???

Re: Upload nuovo programma su Launchpad

Inviato: venerdì 13 maggio 2011, 9:27
da vaillant
Nella directory che contiene i sorgenti del progetto, dai

Codice: Seleziona tutto

debuild -S -sa -kTUACHIAVEGPG
ti verranno creati i file sources.changes, il tar.gz e i .dsc

A quel punto puoi dare

Codice: Seleziona tutto

dput TUOPPA NOMEPROGRAMMA-VERSIONE_sources.changes

Re: Upload nuovo programma su Launchpad

Inviato: venerdì 13 maggio 2011, 9:35
da D@nk@n81
vaillant ha scritto: Nella directory che contiene i sorgenti del progetto, dai

Codice: Seleziona tutto

debuild -S -sa -kTUACHIAVEGPG
ti verranno creati i file sources.changes, il tar.gz e i .dsc

A quel punto puoi dare

Codice: Seleziona tutto

dput TUOPPA NOMEPROGRAMMA-VERSIONE_sources.changes
Tieni presente che io ho praticamente tutti i file del programma in ~/Scrivania/super-boot-manager/root/usr....
Quel comando che dici tu devo eseguirlo dentro ~/Scrivania/super-boot-manager/root/ ?
Poi come si settano le dipendenze?

Re: Upload nuovo programma su Launchpad

Inviato: venerdì 13 maggio 2011, 9:37
da vaillant
Per prima cosa postami il contenuto di

Codice: Seleziona tutto

tree ~/Scrivania/super-boot-manager/
non ricordo se tree è preinstallato; eventualmente, se non vuoi installarlo, postami

Codice: Seleziona tutto

ls ~/Scrivania/super-boot-manager/root/usr

Re: Upload nuovo programma su Launchpad

Inviato: venerdì 13 maggio 2011, 9:41
da D@nk@n81

Codice: Seleziona tutto

tree
.
├── LICENSE
├── linux-2.6-all
│   └── super-boot-manager-0.5.0.deb
├── linux-2.6-amd64
│   └── super-boot-manager-0.5.0.deb
├── README
├── root
│   └── usr
│       ├── bin
│       │   └── super-boot-manager
│       ├── local
│       │   ├── bin
│       │   │   └── buc
│       │   └── buc
│       │       ├── buc
│       │       ├── CHANGELOG
│       │       ├── icona.png
│       │       ├── icons
│       │       │   ├── attenzione.png
│       │       │   ├── contatti.png
│       │       │   ├── deb.png
│       │       │   ├── errore.svg
│       │       │   ├── esecuzione.png
│       │       │   ├── esegui.png
│       │       │   ├── help.png
│       │       │   ├── immagini.png
│       │       │   ├── info.png
│       │       │   ├── pc.png
│       │       │   ├── rar.png
│       │       │   ├── riavvio.png
│       │       │   ├── rpm.png
│       │       │   ├── tarbz2.png
│       │       │   ├── targz.png
│       │       │   ├── tar.png
│       │       │   ├── testo.png
│       │       │   └── zip.png
│       │       ├── libQtCore.so.4
│       │       ├── libQtGui.so.4
│       │       ├── LICENSE
│       │       ├── README-ita
│       │       └── welcome.mc
│       └── share
│           ├── applications
│           │   ├── buc.desktop
│           │   └── Super-boot-manager.desktop
│           ├── icons
│           │   └── hicolor
│           │       ├── 128x128
│           │       │   └── apps
│           │       │       └── super-boot-manager.png
│           │       ├── 16x16
│           │       │   └── apps
│           │       │       └── super-boot-manager.png
│           │       ├── 22x22
│           │       │   └── apps
│           │       │       └── super-boot-manager.png
│           │       ├── 24x24
│           │       │   └── apps
│           │       │       └── super-boot-manager.png
│           │       ├── 32x32
│           │       │   └── apps
│           │       │       └── super-boot-manager.png
│           │       ├── 48x48
│           │       │   └── apps
│           │       │       ├── buc.png
│           │       │       └── super-boot-manager.png
│           │       └── 64x64
│           │           └── apps
│           │               └── super-boot-manager.png
│           ├── mime
│           │   └── packages
│           │       └── buc.xml
│           └── sbm
│               ├── addmenuentry
│               ├── addmenuentry_grub
│               ├── adv-par-g.mc
│               ├── adv-par.mc
│               ├── burg-manager.mc
│               ├── burg-manager_old.mc
│               ├── cleaner
│               ├── doc
│               │   └── burg-manager
│               │       └── copyright
│               ├── en
│               ├── global
│               ├── grub_cmdline
│               ├── grub_cmdline_b
│               ├── grub_cmdlined
│               ├── grub_cmdlined_b
│               ├── grub-manager.mc
│               ├── grub-manager_old.mc
│               ├── help1.mc
│               ├── images
│               │   ├── admin.png
│               │   ├── apply.png
│               │   ├── attention.png
│               │   ├── burg-emu.png
│               │   ├── flag
│               │   │   ├── Brazil.png
│               │   │   ├── China.png
│               │   │   ├── Croatia.png
│               │   │   ├── England.png
│               │   │   ├── France.png
│               │   │   ├── Germany.png
│               │   │   ├── Hungary.png
│               │   │   ├── Indonesia.png
│               │   │   ├── Italy.png
│               │   │   ├── Netherlands.png
│               │   │   ├── Poland.png
│               │   │   ├── Portugal.png
│               │   │   ├── Romania.png
│               │   │   ├── Spain.png
│               │   │   └── Sweden.png
│               │   ├── help.png
│               │   ├── install.png
│               │   ├── ISO.png
│               │   ├── linea.png
│               │   ├── logo.png
│               │   ├── octo_1.png
│               │   ├── octo_2.png
│               │   ├── octo_3.png
│               │   ├── OK.png
│               │   ├── preview
│               │   │   ├── abstract.png
│               │   │   ├── autumn.png
│               │   │   ├── darkshine.png
│               │   │   ├── fortune.png
│               │   │   ├── gnome1.png
│               │   │   ├── gogo-noge-hot-legs.png
│               │   │   ├── goldensea.png
│               │   │   ├── homer.png
│               │   │   ├── hortensia.png
│               │   │   ├── kubuntu_brand.png
│               │   │   ├── kubuntu_EOS.png
│               │   │   ├── kubuntu_wall.png
│               │   │   ├── magic.png
│               │   │   ├── minimal_by_sir.png
│               │   │   ├── minimal.png
│               │   │   ├── mint.png
│               │   │   ├── orange.png
│               │   │   ├── picchio.png
│               │   │   ├── radiance.png
│               │   │   ├── sexybuntu.png
│               │   │   ├── sunset.png
│               │   │   ├── tux-burger.png
│               │   │   ├── ubuntu_brand.png
│               │   │   ├── ubuntu_wall.png
│               │   │   ├── vitruvio.png
│               │   │   └── wasp.png
│               │   ├── preview_plymouth
│               │   │   ├── AzenisBuntu.png
│               │   │   ├── azenis.png
│               │   │   ├── dm_ubuntu.png
│               │   │   ├── earth-sunrise.png
│               │   │   ├── edubuntu_logo.png
│               │   │   ├── elementary-logo2.png
│               │   │   ├── elementary-logo.png
│               │   │   ├── fade-in.png
│               │   │   ├── Fun_With_Linux_2.png
│               │   │   ├── Fun_With_LinuxU.png
│               │   │   ├── FWL_Gold.png
│               │   │   ├── INT-MINT.png
│               │   │   ├── Kmint.png
│               │   │   ├── kubuntu_logo.png
│               │   │   ├── kubuntu-logo-stripes.png
│               │   │   ├── linux-is-sexy.png
│               │   │   ├── LMDE.png
│               │   │   ├── Lmint.png
│               │   │   ├── lubuntu_logo.png
│               │   │   ├── MIB_Kubuntu.png
│               │   │   ├── MIBOxygen.png
│               │   │   ├── MIB_Ubuntu.png
│               │   │   ├── mintdoes7.png
│               │   │   ├── mint-logo.png
│               │   │   ├── mint-sunrise.png
│               │   │   ├── model.png
│               │   │   ├── my-ubuntu-logo.png
│               │   │   ├── Narwhals.png
│               │   │   ├── paw_arch.png
│               │   │   ├── PAW_OS_X.png
│               │   │   ├── PAW_Ubuntu.png
│               │   │   ├── sabily.png
│               │   │   ├── satanic.png
│               │   │   ├── script.png
│               │   │   ├── solar.png
│               │   │   ├── space-sunrise.png
│               │   │   ├── spinfinity-mint-01.png
│               │   │   ├── spinfinity-mint-02.png
│               │   │   ├── spinfinity.png
│               │   │   ├── spinfinity-ubuntu-women.png
│               │   │   ├── Stargate.png
│               │   │   ├── Texans.png
│               │   │   ├── Ubuntu_GREEN_2_1.png
│               │   │   ├── Ubuntu_green.png
│               │   │   ├── ubuntu_logo.png
│               │   │   ├── ubuntu-logo-women.png
│               │   │   ├── ubuntu_orange.png
│               │   │   ├── ubuntu_splash.png
│               │   │   ├── ubuntustudio.png
│               │   │   ├── ubuntu-sunrise.png
│               │   │   ├── U-p_2.png
│               │   │   ├── U-p.png
│               │   │   ├── wheat.png
│               │   │   └── xubuntu_logo.png
│               │   ├── remove.png
│               │   └── restore.png
│               ├── info.mc
│               ├── installer
│               ├── isoremover
│               ├── isoremover_grub
│               ├── it
│               ├── it_old
│               ├── killlang
│               ├── killpop
│               ├── langchooser.mc
│               ├── license.mc
│               ├── listaiso
│               ├── listaiso_grub
│               ├── listaos
│               ├── listaos_grub
│               ├── model
│               │   ├── animation.png
│               │   ├── box.png
│               │   ├── bullet.png
│               │   ├── entry.png
│               │   ├── lock.png
│               │   ├── mdv.script
│               │   ├── motif.png
│               │   ├── progress_bar.png
│               │   ├── progress_box_background.png
│               │   ├── progress_box_edge.png
│               │   ├── progress_box.png
│               │   └── suspend.png
│               ├── model.mc
│               ├── notifier
│               ├── plymouth.mc
│               ├── plymouth-resolution-fix_burg.sh
│               ├── plymouth-resolution-fix-revert-back_burg.sh
│               ├── plymouth-resolution-fix-revert-back.sh
│               ├── plymouth-resolution-fix.sh
│               ├── sbm.mc
│               ├── sceltaos
│               ├── sceltaos_grub
│               ├── set_image
│               ├── success.mc
│               ├── theme_maker
│               ├── tutorial.mc
│               ├── unsuccess.mc
│               ├── updateavaible.mc
│               ├── updatenotavaible.mc
│               ├── updater
│               ├── useful_button.mc
│               └── version
└── super-boot-manager.list

Re: Upload nuovo programma su Launchpad

Inviato: venerdì 13 maggio 2011, 9:54
da vaillant
Devi creare la directory debian con tutti i file necessari. La devi mettere a fianco della directory superiore, quindi sempre in ~/Scrivania

Se poi vuoi rendere il tutto più pulito, includi la directory super-boot-manager dentro una directory chiamata "src". Poi crea la "debian" e infine racchiudi tutto in una nuova directory "super-boot-manager". Più o meno la struttura è questa:

~/Scrivania/super-boot-manager
    -debian
    -src
          -super-boot-manager
              -sorgenti vari che hai ora

Re: Upload nuovo programma su Launchpad

Inviato: venerdì 13 maggio 2011, 9:58
da D@nk@n81
Le directory che mi hai detto le ho create. Ma dentro super-boot-manager ci sposto tutta la cartella usr che ho in root ?

Re: Upload nuovo programma su Launchpad

Inviato: venerdì 13 maggio 2011, 10:03
da vaillant
La directory "super-boot-manager" che hai ora non la toccare nei contenuti. Semplicemente spostala tutta in "src". Poi "src" e "debian" le metti dentro la nuova "super-boot-manager".

Posta un tree quando hai finito

Re: Upload nuovo programma su Launchpad

Inviato: venerdì 13 maggio 2011, 10:09
da D@nk@n81
Io avevo fatto così:

Codice: Seleziona tutto

tree
.
├── debian
└── src
    └── super-boot-manager
        ├── LICENSE
        ├── README
        ├── root
        │   └── usr
        │       ├── bin
        │       │   └── super-boot-manager
        │       ├── local
        │       │   ├── bin
        │       │   │   └── buc
        │       │   └── buc
        │       │       ├── buc
        │       │       ├── CHANGELOG
        │       │       ├── icona.png
        │       │       ├── icons
        │       │       │   ├── attenzione.png
        │       │       │   ├── contatti.png
        │       │       │   ├── deb.png
        │       │       │   ├── errore.svg
        │       │       │   ├── esecuzione.png
        │       │       │   ├── esegui.png
        │       │       │   ├── help.png
        │       │       │   ├── immagini.png
        │       │       │   ├── info.png
        │       │       │   ├── pc.png
        │       │       │   ├── rar.png
        │       │       │   ├── riavvio.png
        │       │       │   ├── rpm.png
        │       │       │   ├── tarbz2.png
        │       │       │   ├── targz.png
        │       │       │   ├── tar.png
        │       │       │   ├── testo.png
        │       │       │   └── zip.png
        │       │       ├── libQtCore.so.4
        │       │       ├── libQtGui.so.4
        │       │       ├── LICENSE
        │       │       ├── README-ita
        │       │       └── welcome.mc
        │       └── share
        │           ├── applications
        │           │   ├── buc.desktop
        │           │   └── Super-boot-manager.desktop
        │           ├── icons
        │           │   └── hicolor
        │           │       ├── 128x128
        │           │       │   └── apps
        │           │       │       └── super-boot-manager.png
        │           │       ├── 16x16
        │           │       │   └── apps
        │           │       │       └── super-boot-manager.png
        │           │       ├── 22x22
        │           │       │   └── apps
        │           │       │       └── super-boot-manager.png
        │           │       ├── 24x24
        │           │       │   └── apps
        │           │       │       └── super-boot-manager.png
        │           │       ├── 32x32
        │           │       │   └── apps
        │           │       │       └── super-boot-manager.png
        │           │       ├── 48x48
        │           │       │   └── apps
        │           │       │       ├── buc.png
        │           │       │       └── super-boot-manager.png
        │           │       └── 64x64
        │           │           └── apps
        │           │               └── super-boot-manager.png
        │           ├── mime
        │           │   └── packages
        │           │       └── buc.xml
        │           └── sbm
        │               ├── addmenuentry
        │               ├── addmenuentry_grub
        │               ├── adv-par-g.mc
        │               ├── adv-par.mc
        │               ├── burg-manager.mc
        │               ├── burg-manager_old.mc
        │               ├── cleaner
        │               ├── doc
        │               │   └── burg-manager
        │               │       └── copyright
        │               ├── en
        │               ├── global
        │               ├── grub_cmdline
        │               ├── grub_cmdline_b
        │               ├── grub_cmdlined
        │               ├── grub_cmdlined_b
        │               ├── grub-manager.mc
        │               ├── grub-manager_old.mc
        │               ├── help1.mc
        │               ├── images
        │               │   ├── admin.png
        │               │   ├── apply.png
        │               │   ├── attention.png
        │               │   ├── burg-emu.png
        │               │   ├── flag
        │               │   │   ├── Brazil.png
        │               │   │   ├── China.png
        │               │   │   ├── Croatia.png
        │               │   │   ├── England.png
        │               │   │   ├── France.png
        │               │   │   ├── Germany.png
        │               │   │   ├── Hungary.png
        │               │   │   ├── Indonesia.png
        │               │   │   ├── Italy.png
        │               │   │   ├── Netherlands.png
        │               │   │   ├── Poland.png
        │               │   │   ├── Portugal.png
        │               │   │   ├── Romania.png
        │               │   │   ├── Spain.png
        │               │   │   └── Sweden.png
        │               │   ├── help.png
        │               │   ├── install.png
        │               │   ├── ISO.png
        │               │   ├── linea.png
        │               │   ├── logo.png
        │               │   ├── octo_1.png
        │               │   ├── octo_2.png
        │               │   ├── octo_3.png
        │               │   ├── OK.png
        │               │   ├── preview
        │               │   │   ├── abstract.png
        │               │   │   ├── autumn.png
        │               │   │   ├── darkshine.png
        │               │   │   ├── fortune.png
        │               │   │   ├── gnome1.png
        │               │   │   ├── gogo-noge-hot-legs.png
        │               │   │   ├── goldensea.png
        │               │   │   ├── homer.png
        │               │   │   ├── hortensia.png
        │               │   │   ├── kubuntu_brand.png
        │               │   │   ├── kubuntu_EOS.png
        │               │   │   ├── kubuntu_wall.png
        │               │   │   ├── magic.png
        │               │   │   ├── minimal_by_sir.png
        │               │   │   ├── minimal.png
        │               │   │   ├── mint.png
        │               │   │   ├── orange.png
        │               │   │   ├── picchio.png
        │               │   │   ├── radiance.png
        │               │   │   ├── sexybuntu.png
        │               │   │   ├── sunset.png
        │               │   │   ├── tux-burger.png
        │               │   │   ├── ubuntu_brand.png
        │               │   │   ├── ubuntu_wall.png
        │               │   │   ├── vitruvio.png
        │               │   │   └── wasp.png
        │               │   ├── preview_plymouth
        │               │   │   ├── AzenisBuntu.png
        │               │   │   ├── azenis.png
        │               │   │   ├── dm_ubuntu.png
        │               │   │   ├── earth-sunrise.png
        │               │   │   ├── edubuntu_logo.png
        │               │   │   ├── elementary-logo2.png
        │               │   │   ├── elementary-logo.png
        │               │   │   ├── fade-in.png
        │               │   │   ├── Fun_With_Linux_2.png
        │               │   │   ├── Fun_With_LinuxU.png
        │               │   │   ├── FWL_Gold.png
        │               │   │   ├── INT-MINT.png
        │               │   │   ├── Kmint.png
        │               │   │   ├── kubuntu_logo.png
        │               │   │   ├── kubuntu-logo-stripes.png
        │               │   │   ├── linux-is-sexy.png
        │               │   │   ├── LMDE.png
        │               │   │   ├── Lmint.png
        │               │   │   ├── lubuntu_logo.png
        │               │   │   ├── MIB_Kubuntu.png
        │               │   │   ├── MIBOxygen.png
        │               │   │   ├── MIB_Ubuntu.png
        │               │   │   ├── mintdoes7.png
        │               │   │   ├── mint-logo.png
        │               │   │   ├── mint-sunrise.png
        │               │   │   ├── model.png
        │               │   │   ├── my-ubuntu-logo.png
        │               │   │   ├── Narwhals.png
        │               │   │   ├── paw_arch.png
        │               │   │   ├── PAW_OS_X.png
        │               │   │   ├── PAW_Ubuntu.png
        │               │   │   ├── sabily.png
        │               │   │   ├── satanic.png
        │               │   │   ├── script.png
        │               │   │   ├── solar.png
        │               │   │   ├── space-sunrise.png
        │               │   │   ├── spinfinity-mint-01.png
        │               │   │   ├── spinfinity-mint-02.png
        │               │   │   ├── spinfinity.png
        │               │   │   ├── spinfinity-ubuntu-women.png
        │               │   │   ├── Stargate.png
        │               │   │   ├── Texans.png
        │               │   │   ├── Ubuntu_GREEN_2_1.png
        │               │   │   ├── Ubuntu_green.png
        │               │   │   ├── ubuntu_logo.png
        │               │   │   ├── ubuntu-logo-women.png
        │               │   │   ├── ubuntu_orange.png
        │               │   │   ├── ubuntu_splash.png
        │               │   │   ├── ubuntustudio.png
        │               │   │   ├── ubuntu-sunrise.png
        │               │   │   ├── U-p_2.png
        │               │   │   ├── U-p.png
        │               │   │   ├── wheat.png
        │               │   │   └── xubuntu_logo.png
        │               │   ├── remove.png
        │               │   └── restore.png
        │               ├── info.mc
        │               ├── installer
        │               ├── isoremover
        │               ├── isoremover_grub
        │               ├── it
        │               ├── it_old
        │               ├── killlang
        │               ├── killpop
        │               ├── langchooser.mc
        │               ├── license.mc
        │               ├── listaiso
        │               ├── listaiso_grub
        │               ├── listaos
        │               ├── listaos_grub
        │               ├── model
        │               │   ├── animation.png
        │               │   ├── box.png
        │               │   ├── bullet.png
        │               │   ├── entry.png
        │               │   ├── lock.png
        │               │   ├── mdv.script
        │               │   ├── motif.png
        │               │   ├── progress_bar.png
        │               │   ├── progress_box_background.png
        │               │   ├── progress_box_edge.png
        │               │   ├── progress_box.png
        │               │   └── suspend.png
        │               ├── model.mc
        │               ├── notifier
        │               ├── plymouth.mc
        │               ├── plymouth-resolution-fix_burg.sh
        │               ├── plymouth-resolution-fix-revert-back_burg.sh
        │               ├── plymouth-resolution-fix-revert-back.sh
        │               ├── plymouth-resolution-fix.sh
        │               ├── sbm.mc
        │               ├── sceltaos
        │               ├── sceltaos_grub
        │               ├── set_image
        │               ├── success.mc
        │               ├── theme_maker
        │               ├── tutorial.mc
        │               ├── unsuccess.mc
        │               ├── updateavaible.mc
        │               ├── updatenotavaible.mc
        │               ├── updater
        │               ├── useful_button.mc
        │               └── version
        └── super-boot-manager.list

38 directories, 215 files
Non so se va bene. Scusa ma i sorgenti in super-boot-manager devono partire da root o da usr?
Non vorrei ancora poi nel debian che mi crea mi inserisce la cartella root che nella realtà non deve esistere, quando deve installare il debian deve installare il contenuto di usr.

Re: Upload nuovo programma su Launchpad

Inviato: venerdì 13 maggio 2011, 10:37
da vaillant
I sorgenti posso stare dove vuoi, sei tu che gli devi indicare (tramite il file "install" dentro la cartella debian) dove andranno poi a finire. La struttura va bene anche così!

Ora vanno creati i file in "debian". Entra nella directory e crea il primo file

Codice: Seleziona tutto

control
e al suo interno ci metti

Codice: Seleziona tutto

Source: super-boot-manager
Section: admin
Priority: optional
Maintainer: NOME COGNOME <EMAIL>
Standards-Version: 3.8.4
Build-Depends: debhelper (>= 7.4.15)
Homepage: http://www.tuo.sito/super-boot-manager/

Package: super-boot-manager
Architecture: ARCH
Depends: buc (>=0.5.1), libqtgui4, ${misc:Depends}
Description: DESCRIZIONE BREVE.
  DESCRIZIONE ESTESA.
Le parti in cui devi intervenire sono:

- Maintainer: qui inserisci il tuo nome, cognome ed indirizzo email; quest'ultimo tra gli
- Homepage: se esiste, indica l'homepage del sito che riguarda il progetto, altrimenti cancella totalmente la riga
- Build-Depends: qui devi solo inserire la versione di debhelper che hai installato. Puoi verificarlo con

Codice: Seleziona tutto

dpkg -s debhelper
ad esempio su Lucid c'è la versione 7.4.15ubuntu1, da cui il (>= 7.4.15)
- Architecture: l'architettura su cui funziona il programma, se è indifferente scrivici "all".
- Depends: so che buc richiede come dipendenze "buc" e "libqtgui4", se sai che il tuo programma ne richiede altre, inseriscile.
- Description: qui ci sono due campi da inserire. La descrizione breve deve stare tutta in una riga e non superare i 64 caratteri. Puoi inserire qualcosa tipo "A simple tool to BLA BLA BLA"; la descrizione estesa invece permette una più ampia descrizione, ma ogni riga deve essere rientrata di uno spazio.

Posta il file appena hai finito

Re: Upload nuovo programma su Launchpad

Inviato: venerdì 13 maggio 2011, 10:59
da D@nk@n81

Codice: Seleziona tutto

Source: super-boot-manager
Section: admin
Priority: optional
Maintainer: Pingo Pallino <pingopallino@tin.it>
Standards-Version: 3.8.4
Build-Depends: debhelper (>= 8.1.2)
Homepage: http://www.sourceslist.eu/super-boot-manager/

Package: super-boot-manager
Architecture: amd64
Depends: buc (>=0.5.2), xterm (>=256), zenity (>=2.30.0), libqtgui4 (>=4.7.0), plymouth-x11 (>=0.8.2), imagemagick (>=7:6.6.2.6), tar (>=1.25-3), ${misc:Depends}
Description: Simple gui to configure Grub2, Burg and Plymouth.
 Super-Boot-Manger is a simple gui created with buc (http://buc.intilinux.com/wiki/index.php?title=Pagina_principale).
 This interface has the main purpose to make easer and intuitive configuration of Grub, Burg (Brand-new Universal loadeR from GRUB) and Plymouth. This interface  
 also allows the installation of Burg, the installation of many graphic themes for Burg and Plymouth and it allows the creation of customized themes. 
Penso che così possa andare... Poi come proseguo?
Gli script che vengono eseguiti in postinstall e postremove dove vanno inseriti?

Re: Upload nuovo programma su Launchpad

Inviato: venerdì 13 maggio 2011, 12:24
da vaillant
Si, così va bene. Ora ci vuole il file install. Crea

Codice: Seleziona tutto

super-boot-manager.install
e al suo interno ci scrivi

Codice: Seleziona tutto

src/super-boot-manager/LICENSE /usr/share/doc/super-boot-manager/
src/super-boot-manager/README /usr/share/doc/super-boot-manager/
src/super-boot-manager/usr/ /usr/
src/super-boot-manager/super-boot-manager.list /percorso
non so cosa ci sia all'interno del file.list comunque sostituisci "/percorso" con la directory dove andrà a finire quel file.

Re: Upload nuovo programma su Launchpad

Inviato: venerdì 13 maggio 2011, 12:31
da D@nk@n81
vaillant ha scritto: Si, così va bene. Ora ci vuole il file install. Crea

Codice: Seleziona tutto

super-boot-manager.install
e al suo interno ci scrivi

Codice: Seleziona tutto

src/super-boot-manager/LICENSE /usr/share/doc/super-boot-manager/
src/super-boot-manager/README /usr/share/doc/super-boot-manager/
src/super-boot-manager/usr/ /usr/
src/super-boot-manager/super-boot-manager.list /percorso
non so cosa ci sia all'interno del file.list comunque sostituisci "/percorso" con la directory dove andrà a finire quel file.

Codice: Seleziona tutto

%product super-boot-manager 
%description super-boot-manager is a very intuitive gui which has the aim to simplify the installation and configuration of Burg, Grub and Plymouth.
%version 0.5.0
%copyright GPL
%vendor www.sourceslist.eu
%readme README
%license LICENSE
%packager Ingalex
%postinstall <<EOF
#!/bin/sh
chmod a+x /usr/bin/super-boot-manager
set -e

# Automatically added by dh_installmenu
if [ "$$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ]; then
	update-menus
fi
# End automatically added section
# Automatically added by dh_installmime
if [ "$$1" = "configure" ] && [ -x "`which update-mime 2>/dev/null`" ]; then
	update-mime
fi
# End automatically added section
# Automatically added by dh_makeshlibs
if [ "$$1" = "configure" ]; then
	ldconfig
fi
# End automatically added section
sudo rm -rf /root/.sbm ~/.sbm ~/.local/share/applications/sbm*.desktop
EOF
%postremove <<EOF
#!/bin/sh
set -e
# Automatically added by dh_makeshlibs
if [ "$$1" = "remove" ]; then
	ldconfig
fi
# End automatically added section
# Automatically added by dh_installmime
if which update-mime >/dev/null 2>&1; then update-mime; fi
# End automatically added section
# Automatically added by dh_installmenu
if [ -x "`which update-menus 2>/dev/null`" ]; then update-menus ; fi
# End automatically added section
EOF

%requires xterm >= 256
%requires zenity >= 2.30.0
%requires libqtgui4 >= 4.7.0
%requires plymouth-x11 >= 0.8.2
%requires imagemagick >= 7:6.6.2.6
%requires tar >= 1.25-3

d 755 root root /usr -
d 755 root root /usr/bin -
f 755 root root /usr/bin/super-boot-manager ./root/usr/bin/super-boot-manager
d 755 root root /usr/share -
d 755 root root /usr/share/applications -
f 644 root root /usr/share/applications/Super-boot-manager.desktop ./root/usr/share/applications/Super-boot-manager.desktop
d 755 root root /usr/share/icons -
d 755 root root /usr/share/icons/hicolor -
d 755 root root /usr/share/icons/hicolor/22x22 -
d 755 root root /usr/share/icons/hicolor/22x22/apps -
f 644 root root /usr/share/icons/hicolor/22x22/apps/super-boot-manager.png ./root/usr/share/icons/hicolor/22x22/apps/super-boot-manager.png
d 755 root root /usr/share/icons/hicolor/16x16 -
d 755 root root /usr/share/icons/hicolor/16x16/apps -
f 644 root root /usr/share/icons/hicolor/16x16/apps/super-boot-manager.png ./root/usr/share/icons/hicolor/16x16/apps/super-boot-manager.png
d 755 root root /usr/share/icons/hicolor/48x48 -
d 755 root root /usr/share/icons/hicolor/48x48/apps -
f 644 root root /usr/share/icons/hicolor/48x48/apps/super-boot-manager.png ./root/usr/share/icons/hicolor/48x48/apps/super-boot-manager.png
d 755 root root /usr/share/icons/hicolor/32x32 -
d 755 root root /usr/share/icons/hicolor/32x32/apps -
f 644 root root /usr/share/icons/hicolor/32x32/apps/super-boot-manager.png ./root/usr/share/icons/hicolor/32x32/apps/super-boot-manager.png
d 755 root root /usr/share/icons/hicolor/128x128 -
d 755 root root /usr/share/icons/hicolor/128x128/apps -
f 644 root root /usr/share/icons/hicolor/128x128/apps/super-boot-manager.png ./root/usr/share/icons/hicolor/128x128/apps/super-boot-manager.png
d 755 root root /usr/share/icons/hicolor/64x64 -
d 755 root root /usr/share/icons/hicolor/64x64/apps -
f 644 root root /usr/share/icons/hicolor/64x64/apps/super-boot-manager.png ./root/usr/share/icons/hicolor/64x64/apps/super-boot-manager.png
d 755 root root /usr/share/icons/hicolor/24x24 -
d 755 root root /usr/share/icons/hicolor/24x24/apps -
f 644 root root /usr/share/icons/hicolor/24x24/apps/super-boot-manager.png ./root/usr/share/icons/hicolor/24x24/apps/super-boot-manager.png
d 755 root root /usr/share/sbm -
f 755 root root /usr/share/sbm/addmenuentry_grub ./root/usr/share/sbm/addmenuentry_grub
f 755 root root /usr/share/sbm/isoremover ./root/usr/share/sbm/isoremover
f 644 root root /usr/share/sbm/burg-manager.mc ./root/usr/share/sbm/burg-manager.mc
f 644 root root /usr/share/sbm/.directory ./root/usr/share/sbm/.directory
f 755 root root /usr/share/sbm/sceltaos ./root/usr/share/sbm/sceltaos
f 644 root root /usr/share/sbm/grub-manager.mc ./root/usr/share/sbm/grub-manager.mc
f 644 root root /usr/share/sbm/adv-par.mc ./root/usr/share/sbm/adv-par.mc
f 644 root root /usr/share/sbm/help1.mc ./root/usr/share/sbm/help1.mc
f 644 root root /usr/share/sbm/.goutputstream-RWD3OV ./root/usr/share/sbm/.goutputstream-RWD3OV
f 644 root root /usr/share/sbm/tutorial.mc ./root/usr/share/sbm/tutorial.mc
f 755 root root /usr/share/sbm/installer ./root/usr/share/sbm/installer
f 755 root root /usr/share/sbm/grub_cmdlined_b ./root/usr/share/sbm/grub_cmdlined_b
f 755 root root /usr/share/sbm/plymouth-resolution-fix-revert-back_burg.sh ./root/usr/share/sbm/plymouth-resolution-fix-revert-back_burg.sh
f 755 root root /usr/share/sbm/grub_cmdline ./root/usr/share/sbm/grub_cmdline
f 644 root root /usr/share/sbm/version ./root/usr/share/sbm/version
f 644 root root /usr/share/sbm/useful_button.mc ./root/usr/share/sbm/useful_button.mc
f 755 root root /usr/share/sbm/cleaner ./root/usr/share/sbm/cleaner
f 755 root root /usr/share/sbm/sbm.mc ./root/usr/share/sbm/sbm.mc
f 755 root root /usr/share/sbm/theme_maker ./root/usr/share/sbm/theme_maker
f 644 root root /usr/share/sbm/langchooser.mc ./root/usr/share/sbm/langchooser.mc
d 755 root root /usr/share/sbm/model -
f 755 root root /usr/share/sbm/model/suspend.png ./root/usr/share/sbm/model/suspend.png
f 755 root root /usr/share/sbm/model/progress_box_background.png ./root/usr/share/sbm/model/progress_box_background.png
f 600 root root /usr/share/sbm/model/.directory ./root/usr/share/sbm/model/.directory
f 755 root root /usr/share/sbm/model/animation.png ./root/usr/share/sbm/model/animation.png
f 755 root root /usr/share/sbm/model/lock.png ./root/usr/share/sbm/model/lock.png
f 755 root root /usr/share/sbm/model/bullet.png ./root/usr/share/sbm/model/bullet.png
f 755 root root /usr/share/sbm/model/entry.png ./root/usr/share/sbm/model/entry.png
f 755 root root /usr/share/sbm/model/motif.png ./root/usr/share/sbm/model/motif.png
f 755 root root /usr/share/sbm/model/progress_box.png ./root/usr/share/sbm/model/progress_box.png
f 755 root root /usr/share/sbm/model/mdv.script ./root/usr/share/sbm/model/mdv.script
f 755 root root /usr/share/sbm/model/progress_bar.png ./root/usr/share/sbm/model/progress_bar.png
f 755 root root /usr/share/sbm/model/progress_box_edge.png ./root/usr/share/sbm/model/progress_box_edge.png
f 755 root root /usr/share/sbm/model/box.png ./root/usr/share/sbm/model/box.png
f 755 root root /usr/share/sbm/sceltaos_grub ./root/usr/share/sbm/sceltaos_grub
f 755 root root /usr/share/sbm/isoremover_grub ./root/usr/share/sbm/isoremover_grub
f 755 root root /usr/share/sbm/plymouth-resolution-fix-revert-back.sh ./root/usr/share/sbm/plymouth-resolution-fix-revert-back.sh
f 755 root root /usr/share/sbm/listaiso ./root/usr/share/sbm/listaiso
d 755 root root /usr/share/sbm/doc -
d 755 root root /usr/share/sbm/doc/burg-manager -
f 644 root root /usr/share/sbm/doc/burg-manager/copyright ./root/usr/share/sbm/doc/burg-manager/copyright
f 755 root root /usr/share/sbm/listaiso_grub ./root/usr/share/sbm/listaiso_grub
f 644 root root /usr/share/sbm/plymouth.mc ./root/usr/share/sbm/plymouth.mc
f 755 root root /usr/share/sbm/updater ./root/usr/share/sbm/updater
f 644 root root /usr/share/sbm/unsuccess.mc ./root/usr/share/sbm/unsuccess.mc
f 755 root root /usr/share/sbm/listaos ./root/usr/share/sbm/listaos
f 644 root root /usr/share/sbm/model.mc ./root/usr/share/sbm/model.mc
f 755 root root /usr/share/sbm/grub_cmdlined ./root/usr/share/sbm/grub_cmdlined
f 644 root root /usr/share/sbm/license.mc ./root/usr/share/sbm/license.mc
f 644 root root /usr/share/sbm/burg-manager_old.mc ./root/usr/share/sbm/burg-manager_old.mc
f 755 root root /usr/share/sbm/set_image ./root/usr/share/sbm/set_image
f 644 root root /usr/share/sbm/grub-manager_old.mc ./root/usr/share/sbm/grub-manager_old.mc
f 755 root root /usr/share/sbm/plymouth-resolution-fix_burg.sh ./root/usr/share/sbm/plymouth-resolution-fix_burg.sh
f 755 root root /usr/share/sbm/addmenuentry ./root/usr/share/sbm/addmenuentry
f 644 root root /usr/share/sbm/it_old ./root/usr/share/sbm/it_old
f 755 root root /usr/share/sbm/global ./root/usr/share/sbm/global
d 755 root root /usr/share/sbm/images -
f 644 root root /usr/share/sbm/images/install.png ./root/usr/share/sbm/images/install.png
f 644 root root /usr/share/sbm/images/octo_3.png ./root/usr/share/sbm/images/octo_3.png
f 644 root root /usr/share/sbm/images/.directory ./root/usr/share/sbm/images/.directory
d 755 root root /usr/share/sbm/images/preview -
f 644 root root /usr/share/sbm/images/preview/kubuntu_wall.png ./root/usr/share/sbm/images/preview/kubuntu_wall.png
f 644 root root /usr/share/sbm/images/preview/vitruvio.png ./root/usr/share/sbm/images/preview/vitruvio.png
f 644 root root /usr/share/sbm/images/preview/fortune.png ./root/usr/share/sbm/images/preview/fortune.png
f 644 root root /usr/share/sbm/images/preview/.directory ./root/usr/share/sbm/images/preview/.directory
f 644 root root /usr/share/sbm/images/preview/abstract.png ./root/usr/share/sbm/images/preview/abstract.png
f 644 root root /usr/share/sbm/images/preview/ubuntu_brand.png ./root/usr/share/sbm/images/preview/ubuntu_brand.png
f 644 root root /usr/share/sbm/images/preview/magic.png ./root/usr/share/sbm/images/preview/magic.png
f 644 root root /usr/share/sbm/images/preview/minimal_by_sir.png ./root/usr/share/sbm/images/preview/minimal_by_sir.png
f 644 root root /usr/share/sbm/images/preview/kubuntu_brand.png ./root/usr/share/sbm/images/preview/kubuntu_brand.png
f 644 root root /usr/share/sbm/images/preview/hortensia.png ./root/usr/share/sbm/images/preview/hortensia.png
f 644 root root /usr/share/sbm/images/preview/kubuntu_EOS.png ./root/usr/share/sbm/images/preview/kubuntu_EOS.png
f 644 root root /usr/share/sbm/images/preview/minimal.png ./root/usr/share/sbm/images/preview/minimal.png
f 644 root root /usr/share/sbm/images/preview/orange.png ./root/usr/share/sbm/images/preview/orange.png
f 644 root root /usr/share/sbm/images/preview/sunset.png ./root/usr/share/sbm/images/preview/sunset.png
f 644 root root /usr/share/sbm/images/preview/gnome1.png ./root/usr/share/sbm/images/preview/gnome1.png
f 644 root root /usr/share/sbm/images/preview/mint.png ./root/usr/share/sbm/images/preview/mint.png
f 644 root root /usr/share/sbm/images/preview/wasp.png ./root/usr/share/sbm/images/preview/wasp.png
f 644 root root /usr/share/sbm/images/preview/darkshine.png ./root/usr/share/sbm/images/preview/darkshine.png
f 644 root root /usr/share/sbm/images/preview/goldensea.png ./root/usr/share/sbm/images/preview/goldensea.png
f 644 root root /usr/share/sbm/images/preview/ubuntu_wall.png ./root/usr/share/sbm/images/preview/ubuntu_wall.png
f 644 root root /usr/share/sbm/images/preview/sexybuntu.png ./root/usr/share/sbm/images/preview/sexybuntu.png
f 644 root root /usr/share/sbm/images/preview/autumn.png ./root/usr/share/sbm/images/preview/autumn.png
f 644 root root /usr/share/sbm/images/preview/homer.png ./root/usr/share/sbm/images/preview/homer.png
f 644 root root /usr/share/sbm/images/preview/picchio.png ./root/usr/share/sbm/images/preview/picchio.png
f 644 root root /usr/share/sbm/images/preview/tux-burger.png ./root/usr/share/sbm/images/preview/tux-burger.png
f 644 root root /usr/share/sbm/images/preview/gogo-noge-hot-legs.png ./root/usr/share/sbm/images/preview/gogo-noge-hot-legs.png
f 644 root root /usr/share/sbm/images/preview/radiance.png ./root/usr/share/sbm/images/preview/radiance.png
f 644 root root /usr/share/sbm/images/restore.png ./root/usr/share/sbm/images/restore.png
f 644 root root /usr/share/sbm/images/linea.png ./root/usr/share/sbm/images/linea.png
f 644 root root /usr/share/sbm/images/ISO.png ./root/usr/share/sbm/images/ISO.png
f 644 root root /usr/share/sbm/images/attention.png ./root/usr/share/sbm/images/attention.png
f 644 root root /usr/share/sbm/images/help.png ./root/usr/share/sbm/images/help.png
f 644 root root /usr/share/sbm/images/burg-emu.png ./root/usr/share/sbm/images/burg-emu.png
f 644 root root /usr/share/sbm/images/octo_2.png ./root/usr/share/sbm/images/octo_2.png
d 755 root root /usr/share/sbm/images/preview_plymouth -
f 644 root root /usr/share/sbm/images/preview_plymouth/paw_arch.png ./root/usr/share/sbm/images/preview_plymouth/paw_arch.png
f 644 root root /usr/share/sbm/images/preview_plymouth/ubuntustudio.png ./root/usr/share/sbm/images/preview_plymouth/ubuntustudio.png
f 644 root root /usr/share/sbm/images/preview_plymouth/dm_ubuntu.png ./root/usr/share/sbm/images/preview_plymouth/dm_ubuntu.png
f 644 root root /usr/share/sbm/images/preview_plymouth/earth-sunrise.png ./root/usr/share/sbm/images/preview_plymouth/earth-sunrise.png
f 644 root root /usr/share/sbm/images/preview_plymouth/MIB_Kubuntu.png ./root/usr/share/sbm/images/preview_plymouth/MIB_Kubuntu.png
f 644 root root /usr/share/sbm/images/preview_plymouth/ubuntu-sunrise.png ./root/usr/share/sbm/images/preview_plymouth/ubuntu-sunrise.png
f 644 root root /usr/share/sbm/images/preview_plymouth/elementary-logo2.png ./root/usr/share/sbm/images/preview_plymouth/elementary-logo2.png
f 600 root root /usr/share/sbm/images/preview_plymouth/.directory ./root/usr/share/sbm/images/preview_plymouth/.directory
f 644 root root /usr/share/sbm/images/preview_plymouth/ubuntu-logo-women.png ./root/usr/share/sbm/images/preview_plymouth/ubuntu-logo-women.png
f 644 root root /usr/share/sbm/images/preview_plymouth/FWL_Gold.png ./root/usr/share/sbm/images/preview_plymouth/FWL_Gold.png
f 644 root root /usr/share/sbm/images/preview_plymouth/sabily.png ./root/usr/share/sbm/images/preview_plymouth/sabily.png
f 644 root root /usr/share/sbm/images/preview_plymouth/AzenisBuntu.png ./root/usr/share/sbm/images/preview_plymouth/AzenisBuntu.png
f 644 root root /usr/share/sbm/images/preview_plymouth/mintdoes7.png ./root/usr/share/sbm/images/preview_plymouth/mintdoes7.png
f 644 root root /usr/share/sbm/images/preview_plymouth/solar.png ./root/usr/share/sbm/images/preview_plymouth/solar.png
f 644 root root /usr/share/sbm/images/preview_plymouth/edubuntu_logo.png ./root/usr/share/sbm/images/preview_plymouth/edubuntu_logo.png
f 644 root root /usr/share/sbm/images/preview_plymouth/linux-is-sexy.png ./root/usr/share/sbm/images/preview_plymouth/linux-is-sexy.png
f 644 root root /usr/share/sbm/images/preview_plymouth/azenis.png ./root/usr/share/sbm/images/preview_plymouth/azenis.png
f 644 root root /usr/share/sbm/images/preview_plymouth/lubuntu_logo.png ./root/usr/share/sbm/images/preview_plymouth/lubuntu_logo.png
f 644 root root /usr/share/sbm/images/preview_plymouth/MIBOxygen.png ./root/usr/share/sbm/images/preview_plymouth/MIBOxygen.png
f 644 root root /usr/share/sbm/images/preview_plymouth/my-ubuntu-logo.png ./root/usr/share/sbm/images/preview_plymouth/my-ubuntu-logo.png
f 644 root root /usr/share/sbm/images/preview_plymouth/space-sunrise.png ./root/usr/share/sbm/images/preview_plymouth/space-sunrise.png
f 644 root root /usr/share/sbm/images/preview_plymouth/Kmint.png ./root/usr/share/sbm/images/preview_plymouth/Kmint.png
f 644 root root /usr/share/sbm/images/preview_plymouth/PAW_Ubuntu.png ./root/usr/share/sbm/images/preview_plymouth/PAW_Ubuntu.png
f 644 root root /usr/share/sbm/images/preview_plymouth/mint-logo.png ./root/usr/share/sbm/images/preview_plymouth/mint-logo.png
f 644 root root /usr/share/sbm/images/preview_plymouth/fade-in.png ./root/usr/share/sbm/images/preview_plymouth/fade-in.png
f 644 root root /usr/share/sbm/images/preview_plymouth/satanic.png ./root/usr/share/sbm/images/preview_plymouth/satanic.png
f 644 root root /usr/share/sbm/images/preview_plymouth/script.png ./root/usr/share/sbm/images/preview_plymouth/script.png
f 644 root root /usr/share/sbm/images/preview_plymouth/Texans.png ./root/usr/share/sbm/images/preview_plymouth/Texans.png
f 644 root root /usr/share/sbm/images/preview_plymouth/Fun_With_LinuxU.png ./root/usr/share/sbm/images/preview_plymouth/Fun_With_LinuxU.png
f 644 root root /usr/share/sbm/images/preview_plymouth/ubuntu_splash.png ./root/usr/share/sbm/images/preview_plymouth/ubuntu_splash.png
f 644 root root /usr/share/sbm/images/preview_plymouth/spinfinity-ubuntu-women.png ./root/usr/share/sbm/images/preview_plymouth/spinfinity-ubuntu-women.png
f 644 root root /usr/share/sbm/images/preview_plymouth/Stargate.png ./root/usr/share/sbm/images/preview_plymouth/Stargate.png
f 644 root root /usr/share/sbm/images/preview_plymouth/kubuntu_logo.png ./root/usr/share/sbm/images/preview_plymouth/kubuntu_logo.png
f 644 root root /usr/share/sbm/images/preview_plymouth/wheat.png ./root/usr/share/sbm/images/preview_plymouth/wheat.png
f 644 root root /usr/share/sbm/images/preview_plymouth/Lmint.png ./root/usr/share/sbm/images/preview_plymouth/Lmint.png
f 644 root root /usr/share/sbm/images/preview_plymouth/U-p.png ./root/usr/share/sbm/images/preview_plymouth/U-p.png
f 644 root root /usr/share/sbm/images/preview_plymouth/ubuntu_orange.png ./root/usr/share/sbm/images/preview_plymouth/ubuntu_orange.png
f 644 root root /usr/share/sbm/images/preview_plymouth/elementary-logo.png ./root/usr/share/sbm/images/preview_plymouth/elementary-logo.png
f 644 root root /usr/share/sbm/images/preview_plymouth/U-p_2.png ./root/usr/share/sbm/images/preview_plymouth/U-p_2.png
f 644 root root /usr/share/sbm/images/preview_plymouth/spinfinity-mint-01.png ./root/usr/share/sbm/images/preview_plymouth/spinfinity-mint-01.png
f 644 root root /usr/share/sbm/images/preview_plymouth/spinfinity-mint-02.png ./root/usr/share/sbm/images/preview_plymouth/spinfinity-mint-02.png
f 644 root root /usr/share/sbm/images/preview_plymouth/model.png ./root/usr/share/sbm/images/preview_plymouth/model.png
f 644 root root /usr/share/sbm/images/preview_plymouth/xubuntu_logo.png ./root/usr/share/sbm/images/preview_plymouth/xubuntu_logo.png
f 644 root root /usr/share/sbm/images/preview_plymouth/mint-sunrise.png ./root/usr/share/sbm/images/preview_plymouth/mint-sunrise.png
f 644 root root /usr/share/sbm/images/preview_plymouth/Ubuntu_GREEN_2_1.png ./root/usr/share/sbm/images/preview_plymouth/Ubuntu_GREEN_2_1.png
f 644 root root /usr/share/sbm/images/preview_plymouth/ubuntu_logo.png ./root/usr/share/sbm/images/preview_plymouth/ubuntu_logo.png
f 644 root root /usr/share/sbm/images/preview_plymouth/Ubuntu_green.png ./root/usr/share/sbm/images/preview_plymouth/Ubuntu_green.png
f 644 root root /usr/share/sbm/images/preview_plymouth/PAW_OS_X.png ./root/usr/share/sbm/images/preview_plymouth/PAW_OS_X.png
f 644 root root /usr/share/sbm/images/preview_plymouth/spinfinity.png ./root/usr/share/sbm/images/preview_plymouth/spinfinity.png
f 644 root root /usr/share/sbm/images/preview_plymouth/LMDE.png ./root/usr/share/sbm/images/preview_plymouth/LMDE.png
f 644 root root /usr/share/sbm/images/preview_plymouth/MIB_Ubuntu.png ./root/usr/share/sbm/images/preview_plymouth/MIB_Ubuntu.png
f 644 root root /usr/share/sbm/images/preview_plymouth/Fun_With_Linux_2.png ./root/usr/share/sbm/images/preview_plymouth/Fun_With_Linux_2.png
f 644 root root /usr/share/sbm/images/preview_plymouth/Narwhals.png ./root/usr/share/sbm/images/preview_plymouth/Narwhals.png
f 644 root root /usr/share/sbm/images/preview_plymouth/kubuntu-logo-stripes.png ./root/usr/share/sbm/images/preview_plymouth/kubuntu-logo-stripes.png
f 644 root root /usr/share/sbm/images/preview_plymouth/INT-MINT.png ./root/usr/share/sbm/images/preview_plymouth/INT-MINT.png
f 644 root root /usr/share/sbm/images/logo.png ./root/usr/share/sbm/images/logo.png
f 644 root root /usr/share/sbm/images/octo_1.png ./root/usr/share/sbm/images/octo_1.png
d 755 root root /usr/share/sbm/images/flag -
f 644 root root /usr/share/sbm/images/flag/Sweden.png ./root/usr/share/sbm/images/flag/Sweden.png
f 644 root root /usr/share/sbm/images/flag/Croatia.png ./root/usr/share/sbm/images/flag/Croatia.png
f 644 root root /usr/share/sbm/images/flag/Italy.png ./root/usr/share/sbm/images/flag/Italy.png
f 644 root root /usr/share/sbm/images/flag/China.png ./root/usr/share/sbm/images/flag/China.png
f 644 root root /usr/share/sbm/images/flag/Spain.png ./root/usr/share/sbm/images/flag/Spain.png
f 644 root root /usr/share/sbm/images/flag/Netherlands.png ./root/usr/share/sbm/images/flag/Netherlands.png
f 644 root root /usr/share/sbm/images/flag/Indonesia.png ./root/usr/share/sbm/images/flag/Indonesia.png
f 644 root root /usr/share/sbm/images/flag/Portugal.png ./root/usr/share/sbm/images/flag/Portugal.png
f 644 root root /usr/share/sbm/images/flag/Poland.png ./root/usr/share/sbm/images/flag/Poland.png
f 644 root root /usr/share/sbm/images/flag/England.png ./root/usr/share/sbm/images/flag/England.png
f 644 root root /usr/share/sbm/images/flag/Brazil.png ./root/usr/share/sbm/images/flag/Brazil.png
f 644 root root /usr/share/sbm/images/flag/Germany.png ./root/usr/share/sbm/images/flag/Germany.png
f 644 root root /usr/share/sbm/images/flag/Hungary.png ./root/usr/share/sbm/images/flag/Hungary.png
f 644 root root /usr/share/sbm/images/flag/Romania.png ./root/usr/share/sbm/images/flag/Romania.png
f 644 root root /usr/share/sbm/images/flag/France.png ./root/usr/share/sbm/images/flag/France.png
f 644 root root /usr/share/sbm/images/apply.png ./root/usr/share/sbm/images/apply.png
f 644 root root /usr/share/sbm/images/remove.png ./root/usr/share/sbm/images/remove.png
f 644 root root /usr/share/sbm/images/admin.png ./root/usr/share/sbm/images/admin.png
f 644 root root /usr/share/sbm/images/OK.png ./root/usr/share/sbm/images/OK.png
f 755 root root /usr/share/sbm/killpop ./root/usr/share/sbm/killpop
f 644 root root /usr/share/sbm/adv-par-g.mc ./root/usr/share/sbm/adv-par-g.mc
f 644 root root /usr/share/sbm/it ./root/usr/share/sbm/it
f 644 root root /usr/share/sbm/success.mc ./root/usr/share/sbm/success.mc
f 644 root root /usr/share/sbm/updateavaible.mc ./root/usr/share/sbm/updateavaible.mc
f 644 root root /usr/share/sbm/info.mc ./root/usr/share/sbm/info.mc
f 755 root root /usr/share/sbm/listaos_grub ./root/usr/share/sbm/listaos_grub
f 644 root root /usr/share/sbm/en ./root/usr/share/sbm/en
f 755 root root /usr/share/sbm/killlang ./root/usr/share/sbm/killlang
f 755 root root /usr/share/sbm/notifier ./root/usr/share/sbm/notifier
f 644 root root /usr/share/sbm/updatenotavaible.mc ./root/usr/share/sbm/updatenotavaible.mc
f 755 root root /usr/share/sbm/plymouth-resolution-fix.sh ./root/usr/share/sbm/plymouth-resolution-fix.sh
f 755 root root /usr/share/sbm/grub_cmdline_b ./root/usr/share/sbm/grub_cmdline_b
In pratica super-boot-manager.list è il file che creo che viene utilizzato da epm per creare il debian. Contiene nello stesso file descrizione, versione, nome pacchetto, maintener, dipendenze, script postinstall e postremove, e tutti i file nelle locazioni dove verranno installati però li compaiono anche i permessi. Nel file super-boot-manager.install che mi hai detto di creare non c'è nessun riferimento ai permessi dei vari file.. dove vanno specificati?
Il file super-boot-manager.install devo piazzarlo sempre nella stessa directory del control?

Re: Upload nuovo programma su Launchpad

Inviato: venerdì 13 maggio 2011, 12:34
da vaillant
Allora il file .list imho non serve a nulla, la procedura che ti sto indicando è quella più conforme alla policy debian. Tutti i file che ti sto facendo creare vanno dentro "debian"

Re: Upload nuovo programma su Launchpad

Inviato: venerdì 13 maggio 2011, 12:50
da D@nk@n81
Ma non esiste un comando per aggiungerli in automatico tutti i file nel file .install? altrimenti devo creare un script bash perchè sono 250 files non è che posso aggiungerli a mano, uno per uno.

Re: Upload nuovo programma su Launchpad

Inviato: venerdì 13 maggio 2011, 13:01
da vaillant
Generalmente i file si elencano uno per uno, ma la riga

Codice: Seleziona tutto

src/super-boot-manager/usr/ /usr/
legge tutto quello che hai dentro super-boot-manager/usr e te lo copia in /usr (del sistema). Gli altri file sono già elencati

Re: Upload nuovo programma su Launchpad

Inviato: venerdì 13 maggio 2011, 13:07
da D@nk@n81
vaillant ha scritto: Generalmente i file si elencano uno per uno, ma la riga

Codice: Seleziona tutto

src/super-boot-manager/usr/ /usr/
legge tutto quello che hai dentro super-boot-manager/usr e te lo copia in /usr (del sistema). Gli altri file sono già elencati
Ok per ora allora metto come hai detto tu

Codice: Seleziona tutto

src/super-boot-manager/LICENSE /usr/share/doc/super-boot-manager/
src/super-boot-manager/README /usr/share/doc/super-boot-manager/
src/super-boot-manager/usr/ /usr/
Poi al limite scrivo un script ad hoc per inserire i file uno ad uno. Poi che altro devo aggiungere?
Gli script da eseguire in postinstall e postremove dove vanno messi?

Re: Upload nuovo programma su Launchpad

Inviato: venerdì 13 maggio 2011, 14:26
da vaillant
Sempre in debian. Ora crea un file chiamato "compat" e al suo interno scrivici "5"; poi il file "rules" e ci scrivi

Codice: Seleziona tutto

#!/usr/bin/make -f

%:
   dh $@

clean:
   dh $@
   rm -fr build

override_dh_usrlocal:
   echo Skipping usr/local
rispetta le tabulazioni, una per ogni riga secondaria.

Quando hai finito dobbiamo creare il changelog e il file .desktop per il menu

Re: Upload nuovo programma su Launchpad

Inviato: venerdì 13 maggio 2011, 14:35
da D@nk@n81
Ho creato anche questi due file. Per quanto riguarda il file .desktop tieni presente che si trova tra i file del programma in /usr/share/applications/super-boot-manager.desktop
Come proseguo?

Re: Upload nuovo programma su Launchpad

Inviato: venerdì 13 maggio 2011, 15:14
da vaillant
Allora non è necessario crearlo, verrà copiato con il comando precedente insieme a tutti gli altri file. E' il momento di creare il changelog. Non va creato a mano ma con un'apposita procedura. Da terminale posizionati all'infuori della directory debian e digita in sequenza

Codice: Seleziona tutto

export DEBFULLNAME="Alessandro Lanave"
export DEBEMAIL="allanav@tin.it"
export EDITOR=gedit
questi comandi li dovrai dare ogni volta che farai una modifica al changelog, per cui ti suggerisco di crearti un alias nel file .bashrc per non doverli digitare ogni volta!

L'ultimo comando predispone l'utilizzo di gedit come editor, tu puoi inserire quello che preferisci. Dopo averli dati tutti e tre, digita

Codice: Seleziona tutto

dch --create
e ti verrà proposto questo

Codice: Seleziona tutto

super-boot-manager (VERSION) unstable; urgency=low

  * Initial release. (Closes: #XXXXXX)

-- Alessandro Lanave <allanav@tin.it>  Fri, 13 May 2011 15:11:17 +0200
tu dovrai cambiare il VERSION inserendo la versione del programma seguito dal numero di revisione debian, che parte sempre da 1. Ad esempio 0.0.1-1 o 0.1.4-1 ecc. Inoltre il (Closes: #XXXXXX) puoi eliminarlo, serve nel caso tu abbia un bug ITP aperto (ma presumo di no).

Una volta fatte le modifiche, salva il file e chiudilo. Nota: la prossima volta che modificherai il changelog, al posto di "dch --create" dovrai dare "dch -i" in quanto non lo stai più creando ma solo aggiornando.