Tree [78390a] master unstable /
 History

HTTPS access


File Date Author Commit
 bitmaps 2017-02-18 AntumDeluge AntumDeluge [1e2c40] Rework clear button image
 data 2017-02-18 AntumDeluge AntumDeluge [1e2c40] Rework clear button image
 dbr 2017-03-10 AntumDeluge AntumDeluge [649a94] Remove globals.moduleaccess module
 debian 2017-01-29 AntumDeluge AntumDeluge [2c03b1] debian/control: Add 'x11-server-utils' as recom...
 docs 2017-03-10 AntumDeluge AntumDeluge [78390a] Remove fixed BUGS:
 f_export 2017-02-09 AntumDeluge AntumDeluge [e7ccd0] Doxygen: Fix package names:
 fields 2017-02-17 AntumDeluge AntumDeluge [0ea40e] Move 'input.ifield' to 'fields.ifield'
 globals 2017-03-10 AntumDeluge AntumDeluge [16a706] globals.ident.PageId: Add method 'GetIdLabel':
 input 2017-02-25 AntumDeluge AntumDeluge [7ee5e5] input.filelist.FileList: Changes to 'AddFile' m...
 locale 2017-01-13 AntumDeluge AntumDeluge [f3a020] Replace (C) with © in locale files
 man 2017-01-26 AntumDeluge AntumDeluge [69c4e7] Rename log level 'warning' to 'warn':
 scripts 2017-02-11 AntumDeluge AntumDeluge [8e1302] Fix permissions of 'replace-characters' helper ...
 startup 2017-02-09 AntumDeluge AntumDeluge [ec0077] Doxygen: Add package descriptions
 system 2017-01-29 AntumDeluge AntumDeluge [6336b8] system.display: Use alternate method to find re...
 templates 2016-12-11 AntumDeluge AntumDeluge [d25525] Merge license templates from unstable branch
 ui 2017-03-10 AntumDeluge AntumDeluge [a0391b] ui.notebook: Rename 'win_id' arg to 'winId'
 wiz 2017-03-10 AntumDeluge AntumDeluge [97e351] wiz.wizard.WizardPage: GetLabel method changes:
 wizbin 2017-03-10 AntumDeluge AntumDeluge [ce5882] wizbin.build: Call 'GetLaunchersCount' instead ...
 wizsrc 2017-02-09 AntumDeluge AntumDeluge [7d42c4] Add Doxygen notes to constructors in wizbin & w...
 .gitignore 2016-12-03 AntumDeluge AntumDeluge [b0723c] Git: Ignore Netbeans project folder
 CMakeLists.txt 2017-02-02 AntumDeluge AntumDeluge [9edaf7] CMakeLists: Add package 'fields' to installation
 INFO 2017-01-20 AntumDeluge AntumDeluge [53ecc8] Set development version to 15
 Makefile.in 2017-02-09 AntumDeluge AntumDeluge [e48585] Makefile.in: Merge some changes from 'Makefile'...
 README.md 2017-01-29 AntumDeluge AntumDeluge [d58035] README: Change location of logo:
 command_line.py 2017-01-26 AntumDeluge AntumDeluge [05da9e] command_line: Allow 'warning' as alias for 'war...
 init.py 2017-02-09 AntumDeluge AntumDeluge [83399f] dbr.language: Create setter & getter functions ...
 main.py 2017-03-10 AntumDeluge AntumDeluge [649a94] Remove globals.moduleaccess module
 setup.py unknown

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.

Dependencies

Debreate needs these packages installed to run:
python (version 2.7 is supported)
* The goal is to eventually port to Python 3.
* Currently, wxPython only supports up to version 2.7.
python-wxgtk3 or python-wxgtk2.8 (wxPython)
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:
* lintian

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. The plan is to eventually switch to the CMake build system, unless a better alternative is decided upon.

Generating the Makefile

A 'setup.py' script is used to generate the Makefile (this is not the same type of 'setup.py' that is used with distutils). A python interpreter must be installed to run the script. From a terminal execute ./setup.py from the source root dirctory then follow the prompts. If you want to bypass prompting & use the default settings execute ./setup.py defaults. The Makefile will be generated in the same directory.

Using the Makefile

Open a terminal in the root directory & execute make install. To create a distribution package execute make dist. To uninstall execute make uninstall. For help & more options use make help.

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

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

Standalone Use

To run, launch the file named "init.py":
* ./init.py or python init.py (NOTE: Python 3.x is currently not supported)

Other Pages

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks