Skip to main content

Thread: Basic deb creation/uploading to Launchpad help


okay here dilemma. firstly, not using source code, binaries/custom debs , repacking them correct format able upload them ppa. after several attempts, following procedure seem work, have 2 issues: 1. versioning needs fixing (posted thread on here though) 2. size if finished deb shown on ppa no near should be

once again, upload, isn't issue. getting of juicy bits transfer deb:

code:
    1. ensure have generated, published, imported, , verified ppa openpgp key     2. create package directory named: ${packagename}-${version}~${youruniqueversionname}     3. create subdirectory in package directory, named: ${packagename}     4. create subdirectories/files in subdirect of package direct. (if want /usr/bin/footool, "mkdir usr", "mkdir usr/bin" , "cp footool usr/bin").        if using current deb file, copy subdirectories ${packagename}, excluding debian subdirectory (leave later)     5. compress package directory tar.gz file, rename it: ${packagename}_${version}~${youruniqueversionname}.orig.tar.gz     6. cd /path/to/package directory     7. dh_make -n -s -e your@emailaddress.com # create debian subdirectory new deb being made     8. dpkg-depcheck -d ./configure    # find dependencies, , once found, add section in subdirectory debian/control in package directory     9. edit changelog, copyright, control, rules, manpage (if want adhere policy, ensure name & email = what's on record gpp key)        sure change 'unstable' correct '${ubuntuversion}'        if using current deb file, ensure original debian subdirectory contents put new 'debian' subdirectory        if using current deb file/making own, create debian/${packagename}.install file, make executable, , add following:         #!/usr/bin/make -f         # add more lines below when necessary         <put_whatever_dirctory(s)_here>/ /     10. debuild (is wrapper approx. equals: dpkg-buildpackage + lintian or linda + debsign) (choose one: 'debuild -s' launchpad-friendly)         debuild # requires sig, builds tar.gz & deb, creates .changes & build files (rejected on launchpad: must source work)         debuild -s    # requires sig, builds tar.gz, creates .changes & .build files (accepted on launchpad: not perfect)         debuild -b # requires sig, builds deb, creates .changes & .build files (rejected on launchpad: missing tar.gz)         debuild -i -us -uc -s # no sig required, builds tar.gz, creates .changes & .build files (rejected on launchpad due missing sig)         debuild -i -us -uc -b # no sig required, builds deb, creates .changes & .build files (rejected on launchpad: missing tar.gz/sig.)         dpkg-buildpackage -rfakeroot # requires sig, builds tar.gz & deb, creates .changes, no .build (rejected on launchpad)         dpkg-buildpackage -rfakeroot -us -uc # no sig required, builds tar.gz & deb, creates .changes, no .build (rejected on launchpad)         dpkg-buildpackage -rfakeroot -s # requires sign, builds tar.gz, creates .changes, no .build (rejected on launchpad)         dpkg-buildpackage -rfakeroot -us -uc -s # no sig required, builds tar.gz, creates .changes, no .build (rejected on launchpad)         dpkg-buildpackage -rfakeroot -b # requires sig, builds deb, creates .changes, no .build (rejected on launchpad)         dpkg-buildpackage -rfakeroot -us -uc -b # no sig required, builds deb, creates .changes, no .build (rejected on launchpad)         fakeroot debian/rules clean && fakeroot debian/rules binary # builds deb         lintian -ivi ../yourpackage.changes # optional, check new deb package     11. dput ppa:<yourppausername>/<yourppaname> <package.changes>    # optional, upload launchpad ppa
i step number 9 giving me issues, using might called workaround hack transfer stuff old deb new one. reason not working.

debuild -s must ignore "override_dh_autio_install:" section of debian/rules file.

anybody?


update: 14 june 2011 - updated above steps use. works part, i'm having trouble '.orig.tar.gz' files '.so' library files.

update: 18 june 2011 - part, i've figured things out. @ last posting of mine show how fixed few issues having. although, not fixed; more, finding workaround. enough now.

bump.


Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Packaging and Compiling Programs [SOLVED] Basic deb creation/uploading to Launchpad help


Ubuntu

Comments