[go: up one dir, main page]

Menu

Tree [aa7ce4] old-unstable /
 History

HTTPS access


File Date Author Commit
 bitmaps 2015-04-12 antumdeluge antumdeluge [247189] Rename branch to "BR_0.7"
 data 2016-09-04 AntumDeluge AntumDeluge [d152be] debreate.desktop: Use menu icon from standard d...
 dbr 2016-09-29 AntumDeluge AntumDeluge [61e52e] dbr.config: Remove unused code, change config k...
 debian 2016-09-19 AntumDeluge AntumDeluge [82f10d] Move manpage template from 'debian' directory t...
 docs 2016-09-28 AntumDeluge AntumDeluge [0d4442] Moved some 'todo' tasks to 0.8.1 release.
 locale 2016-09-20 AntumDeluge AntumDeluge [67f5e7] debreate.pot: Update locale template for licens...
 man 2016-09-24 AntumDeluge AntumDeluge [962cef] Move manpage to man/man1 subdirectory.
 scripts 2016-09-28 AntumDeluge AntumDeluge [2ffc93] scripts/update-version: Match only lines that b...
 templates 2016-09-22 AntumDeluge AntumDeluge [e45c5f] Add EPL-1.0 license template.
 wiz_bin 2016-09-28 AntumDeluge AntumDeluge [7f0d14] Implement 'dbr.wizard.WizardPage' in all pages.
 wiz_src 2016-09-18 AntumDeluge AntumDeluge [c4e3f2] wiz_src: Add some Doxygen comments.
 .gitignore 2016-09-28 AntumDeluge AntumDeluge [553330] Git: Ignore "*.new" file pattern.
 INFO 2016-09-23 AntumDeluge AntumDeluge [a442b4] INFO changes.
 Makefile 2016-09-28 AntumDeluge AntumDeluge [3083f7] Create 'dbr/config.py' for managing configurati...
 README.md 2016-09-21 Jordan Irwin Jordan Irwin [bd8922] README: Fix some typos.
 init.py 2016-09-29 AntumDeluge AntumDeluge [b361a3] Rewrite initialization script to simplify.
 main.py 2016-09-29 AntumDeluge AntumDeluge [01dc96] main: Use dbr.config for saving app values to c...
 test.sh 2016-09-29 AntumDeluge AntumDeluge [fa6fee] test.sh: Print application's exit code.

Read Me

Debreate - Debian Package Builder

Table of Contents

Description

Debreate is a utility to aid in creating Debian (.deb) packages. Currently it only supports binary packaging which allows packaging of pre-compiled or scripted applications, media, artwork, etc. for personal distribution. Plans for using backends such as dh_make & debuild (available in devscripts package) for creating source packages are in the works. But source packaging can be quite different & is a must if you want to get your packages into a distribution's official repositories or a Launchpad Personal Package Archive (PPA). The latter from which Debreate has recently become available.

The definition of Debian source packages may be a little confusing (as it was for me) for those that are new to the Debian format, or perhaps packaging in general. Debian source packages are essentially no different than common tarballed source archives & they can be available in many of the popular formats such as Gzip (.tar.gz), BZip2 (.tar.bz2), XZ (tar.xz), Lzip (tar.lzip), etc. To build Debian binary packages from source code, it must first be "debianized". Debianization involves creating a directory called 'debian' within the source root folder. Files with instructions, meta data, & more are placed within to instruct Debian tools, such as 'debuild', on how the source must be compiled & packaged into the final .deb. This is the process that must be taken to host software on repositories such as Lauchpad's PPA system. The debianized source is uploaded, then built & packaged on-site automatically. The resulting binary package (.deb) is published to the target PPA.

Installation

The source uses a generic Makefile for "building" (because I don't know how to use GNU Autotools or CMake very well). The source is not actually built, but the Makefile simply installs the scripts onto the system. Just open a terminal in the root directory & type 'make install'. To create a distribution package type 'make dist'. To uninstall type 'make uninstall'.

If you have debuild installed, you can run 'make debuild' from the command line to build the debian package (.deb).

Debreate needs these packages installed to run:
* python
* Version 2.7 is supported. The goal is to port it to Python 3.
* python-wxgtk (wxPython)
* python-wxgtk2.8 is supported by Debreate. For Ubuntu systems newer than Wily (15.10), backports will need to be enabled or a Wily repository mirror will have to be added to /etc/apt/sources.list.
* python-wxgtk3 support is available in the unstable development branch.
* python-wxversion
* dpkg
* If you are running a Debian/Ubuntu based system, then this is most likely already installed.
* fakeroot
* coreutils

These packages are recommended & enable some features:
* gvfs-bin
* lintian

It is recommended to build the .deb package with 'make debuild' & install via the system's package manager.

Standalone Use

To run, launch the file named "init.py" (it should execute via mouse-click as well):
* './init.py' or 'python init.py'

Other Pages