GithubHelp home page GithubHelp logo

debreate / debreate Goto Github PK

View Code? Open in Web Editor NEW
115.0 7.0 19.0 7.14 MB

A utility for creating Debian packages (.deb)

Home Page: https://debreate.github.io/

License: MIT License

Makefile 0.66% Python 98.71% Shell 0.02% Roff 0.61%
deb debian ubuntu package packaging software-distribution debian-packages developer-tools development development-tools

debreate's Introduction

Debreate - Debian Package Builder

Debreate is a utility to aid in creating Debian (.deb) packages. Currently it only supports binary packaging (note that the term "binary package" is used loosely, as such packages can contain scripts & non-code items such as media images, audio, & more) for personal distribution. Plans for using backends such as dh_make & debuild 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 is available.

Debreate & libdbr are licensed under MIT.

The definition of "Debian source package" may be a little confusing, as it was for me, for those that are new to the Debian format, or perhaps new to 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), et al.

To build Debian binary packages (.deb) from source, it must first be "debianized". A source package can be debianized using one of two methods:

  1. internal/native:

    Instructions for the build utilities are included within the source package in a directory labelled "debian".

  2. external:

    Instructions are contained within a separate package distributed alongside the original source.

The debian directory, or package, contains files with instructions & meta data on how the source is to be patched, compiled, & built into a binary format.

Source packaging is a must for inclusion of software in official repositories or PPAs. The debianized package is uploaded to repo/PPA host server where it is built into a binary package & published for release in .deb format. This differs from systems such as Arch's ABS & FreeBSD's Ports build systems where only the instructions files are stored on the host server. Downloading of source packages from the upstream maintainer is done as part of the build process.

Debreate requires the following software:

These packages are recommended to enable some features:

The software comes bundled with a build.py script to facilitate the build process & other tasks. Note that Debreate is written in a scripting language, so building does not include any compiling of source code. The build script is used for staging the necessary files into a directory structure for packaging & installation.

The build script is invoked as python3 build.py [args] or ./build.py [args].

Arguments:
  • -h|--help
    • Show help information.
  • -v|--version
    • Show Debreate version.
  • -V|--verbose
    • Include detailed task information when printing to stdout.
  • -l|--log-level <level>
    • Logging output verbosity.
    • Levels are 0 (silent), 1 (error), 2 (warn), 3 (info), & 4 (debug).
  • -t|--task <task>
  • -p|--prefix <directory>
    • Path prefix to directory where files are to be installed.
  • -d|--dir <directory>
    • Target directory (defaults to system root). This is useful for directing the script to place files in a temporary directory rather than the intended installation path. It is equivalent to the "DESTDIR" environment variable used by GNU make.
Build Tasks:
  • stage
    • Prepare files for installation or distribution.
  • install
    • Install files to directory specified by --prefix argument.
  • uninstall
    • Uninstall files from directory specified by by --prefix argument.
  • dist-source
    • Build a source distribution package.
  • dist-bin
    • Build a portable binary .zip distribution package.
  • dist-deb
    • Build a binary Debian distribution package.
  • clean
    • Remove all temporary build files.
  • clean-stage
    • Remove temporary build files from 'build/stage' directory.
  • clean-deb
    • Remove temporary build files from 'debian' directory.
  • clean-dist
    • Remove built packages from 'build/dist' directory.
  • update-version
    • Update relevant files with version information from 'build.conf'.
  • test
    • Run configured unit tests from 'tests' directory.
  • check-code
  • changes
    • Print most recent changes from 'doc/changelog' to stdout.

A generic Makefile is included for building with a GNU compliant make command. It is simply a wrapper for the targets executed by the build.py script. Open a terminal in the directory where the source code is located & execute make install with superuser privileges. To uninstall, execute make uninstall. Use the environment variables prefix & DESTDIR to control the installation target directory.

If you have devscripts installed, you can execute python3 build.py dist-deb to build the debian package (.deb). The package will be located in the 'build/dist' directory. To install execute dpkg --install build/dist/debreate_\<version\>_all.deb with superuser privileges. Or open the package with a GUI installer such as gdebi or QAPT.

To run without installation simply execute the file named "init.py" (from a terminal ./init.py or python3 init.py).

Sorry, not up-to-date usage information yet. But you can have a look at this old PDF document if you like.

debreate's People

Contributors

antumdeluge avatar farhi avatar kianmeng avatar pdalet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

debreate's Issues

Where can I find the install list?

Hello, thanks for your software, it definitely makes life easier. It's just that after a deb file has been created and I extract it to view the content, I cannot find the install file containing the manifest of the app.

Basically, it's a list similar to:

app /usr/bin/
app-s /usr/bin/
app.py /usr/bin/
app.desktop /usr/share/applications/
share/icons/app.png /usr/share/icons/hicolor/48x48/actions/

Missing LF at end of md4sums

I created a .deb package and lintian reports an error in the md5sum of the last file. I checked and it seems to be missing an LF at the end of the last line. Adding it the error message no longer appears.

v0.7.12 has stopped working: AttributeError: type object 'type' has no attribute 'lower'

Debreate 0.7.12 has stopped working on my system as it can't display file open or file save dialogs. Output:

INFO: [debreate] Python version: 2.7.17
INFO: [debreate] wx.Python version: 3.0.2
INFO: [debreate] Debreate version: 0.7.12
Traceback (most recent call last):
  File "/usr/share/debreate/main.py", line 522, in OnOpenProject
    dia = OpenFile(self, GT(u'Open Debreate Project'))
  File "/usr/share/debreate/dbr/custom.py", line 357, in __init__
    self.SetType(u'FilE', u'oPeN')
  File "/usr/share/debreate/dbr/custom.py", line 123, in SetType
    if type.lower() == u'file':
AttributeError: type object 'type' has no attribute 'lower'

So, 0.7.12 doesn't work anymore, 0.7.13 has md5sums problem and v0.7.next17-1 doesn't set executable flags. Are there a patch to solve at least md5sums issue?

Website

Hi !
I think the project website could be even better. It could be more modern, more comprehensive and more attractive. I have started to work on a prototype to show you what you can expect. We can discuss here about the way to lead this proposition. (create a new repo?, use Github Pages to host it?).
Here a screenshot of my prototype.

Current features:

  • FAQ
  • Downloads section
  • Contributors list (with Github API)
    Website is designed with HTML5/CSS3 & jQuery.

Of course, it's only a proposition, nothing is urgent, we must take the time to discuss it. If you are interested by, please make me feedback on what's missing and what's can be improving.

Fix `missing-dependency-on-libc` (dpkg-shlibdeps support)

When I build package lintian show missing-dependency-on-libc error.

Can you add this functional, please? As I know, you should:

  1. Add ${shlibs:Depends} to Depends.
  2. Run dpkg-shlibdeps with all binaries as arguments (it will replace ${shlibs:Depends} in debian/control)

Unable to exit from pre-install script

Hi,

Whenever I try to install my deb I notice that pre-install script doesn't exit. How can I make it exit correctly to continue installation process?

mbnoimivm@ubuntu:~$ sudo dpkg -i sync-accounts-manager_0.17_amd64.deb
.
.
.
Fetched 368 kB in 1min 32s (3,973 B/s)
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
dpkg: error processing archive sync-accounts-manager_0.17_amd64.deb (--install):
 subprocess new pre-installation script returned error exit status 100
Errors were encountered while processing:
 sync-accounts-manager_0.17_amd64.deb
mbnoimivm@ubuntu:~$

I use the following script in pre-install section:

#! /bin/bash
add-apt-repository -y ppa:ubuntu-toolchain-r/test
apt-get update
exit

Please see the full project in this gist

Install files into user's folder?

Thank you for great software!

How to install files into current user's folder? When I'm trying "~/" in the files section it's failed.

Uploading *.deb from debreate to launchpad ppa

Thanks for creating such a handy tool, really helpful in understanding how deb packaging works! I was wondering if there was any recommended way of uploading the deb file created from debreate to Launchpad ppa? I was not able to find any metadata created during deb creation from debreate inside my deb file.

why not availabe on arch

why it is not available to install it on arch to be able to build deb packages even if you are not using debian based distro ??

[Feature Request] Suggustion

Hi,

Once again, thanks for this good software.

I think it could be a good idea to add a command (build or create) to directly build a deb package from a dbp file. It so could be use in continuous integration directly

Save incomplete

Hi,

I'm facing issue on saved files. The save function is correctly working, but not the opening function. The informations are not correctly imported, and, except required informations on control screen, no fields are filled.

Bug on reinstall task?

Hi,

I recently identified a potential "bug" (not sure it's from debreate).

All deb i create work fine. I can install my software, uninstall it, install it again, without any problems.

But if i install my software, then ask to reinstall it (i'm using GDEBI-GTK, under Linux Mint, Ubutunu/xubuntu, ...), i've an 123 error code, and reinstallation failed. At this moment, i can uninstall it, then install it again properly.

Any idea? Bug in my script, in debreate, or in reinstallation mechanism?

Perhpas, i'm in wrong, but i was thinking reinstallation was simply using removal scripts before makes a basic installation.

Thanks for your help

Error: Unsolvable dependency: python-wxgtk3.0[python-wxgtk2.8 on green linux

koljab@koljab-NEO-M114 ~ [127]> cat /etc/os-release
NAME="Green Linux"
VERSION="21.2 (Victoria)"
ID=linuxmint
ID_LIKE="ubuntu debian"
PRETTY_NAME="Green Linux 21.2 Cinnamon 64-bit"
VERSION_ID="21"
HOME_URL="https://greenlinux.ru/"
SUPPORT_URL="https://forum.linuxmint.su/"
BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/ru/latest/"
PRIVACY_POLICY_URL="https://greenlinux.ru/"
VERSION_CODENAME=victoria
UBUNTU_CODENAME=jammy
koljab@koljab-NEO-M114 ~> nala search wxgtk
libwxgtk-media3.0-gtk3-0v5 3.0.5.1+dfsg-4 [Ubuntu/jammy universe]
└── wxWidgets Cross-platform C++ GUI toolkit (GTK 3 media library runtime)

libwxgtk-media3.0-gtk3-0v5:i386 3.0.5.1+dfsg-4 [Ubuntu/jammy universe]
└── wxWidgets Cross-platform C++ GUI toolkit (GTK 3 media library runtime)

libwxgtk-media3.0-gtk3-dev 3.0.5.1+dfsg-4 [Ubuntu/jammy universe]
└── wxWidgets Cross-platform C++ GUI toolkit (GTK 3 media library development)

libwxgtk-media3.0-gtk3-dev:i386 3.0.5.1+dfsg-4 [Ubuntu/jammy universe]
└── wxWidgets Cross-platform C++ GUI toolkit (GTK 3 media library development)

libwxgtk-webview3.0-gtk3-0v5 3.0.5.1+dfsg-4 [Ubuntu/jammy universe]
└── wxWidgets Cross-platform C++ GUI toolkit (GTK 3 webview library runtime)

libwxgtk-webview3.0-gtk3-0v5:i386 3.0.5.1+dfsg-4 [Ubuntu/jammy universe]
└── wxWidgets Cross-platform C++ GUI toolkit (GTK 3 webview library runtime)

libwxgtk-webview3.0-gtk3-dev 3.0.5.1+dfsg-4 [Ubuntu/jammy universe]
└── wxWidgets Cross-platform C++ GUI toolkit (GTK 3 webview library development)

libwxgtk-webview3.0-gtk3-dev:i386 3.0.5.1+dfsg-4 [Ubuntu/jammy universe]
└── wxWidgets Cross-platform C++ GUI toolkit (GTK 3 webview library development)

libwxgtk3.0-gtk3-0v5 3.0.5.1+dfsg-4 [Ubuntu/jammy universe]
└── wxWidgets Cross-platform C++ GUI toolkit (GTK 3 runtime)

libwxgtk3.0-gtk3-0v5:i386 3.0.5.1+dfsg-4 [Ubuntu/jammy universe]
└── wxWidgets Cross-platform C++ GUI toolkit (GTK 3 runtime)

libwxgtk3.0-gtk3-dev 3.0.5.1+dfsg-4 [Ubuntu/jammy universe]
└── wxWidgets Cross-platform C++ GUI toolkit (GTK 3 development)

libwxgtk3.0-gtk3-dev:i386 3.0.5.1+dfsg-4 [Ubuntu/jammy universe]
└── wxWidgets Cross-platform C++ GUI toolkit (GTK 3 development)

python3-wxgtk-media4.0 4.0.7+dfsg-13build1 [Ubuntu/jammy universe]
└── Python 3 interface to the wxWidgets Cross-platform C++ GUI toolkit (wx.media)

python3-wxgtk-webview4.0 4.0.7+dfsg-13build1 [Ubuntu/jammy universe]
└── Python 3 interface to the wxWidgets Cross-platform C++ GUI toolkit (wx.html2)

python3-wxgtk4.0 4.0.7+dfsg-13build1 [Ubuntu/jammy universe]
└── Python 3 interface to the wxWidgets Cross-platform C++ GUI toolkit

koljab@koljab-NEO-M114 ~>

No rule to make target 'fileio', needed by 'install-packages'

I have the issue when run make install with ver 0.8 release

sudo make install
Building gettext locales ...
/home/trung/Downloads/debreate-0.8-dev1/locale/it/LC_MESSAGES
171 translated messages, 4 fuzzy translations, 341 untranslated messages.
/home/trung/Downloads/debreate-0.8-dev1/locale/fr/LC_MESSAGES
375 translated messages, 141 untranslated messages.
/home/trung/Downloads/debreate-0.8-dev1/locale/ar/LC_MESSAGES
168 translated messages, 4 fuzzy translations, 344 untranslated messages.
/home/trung/Downloads/debreate-0.8-dev1/locale/es/LC_MESSAGES
247 translated messages, 3 fuzzy translations, 266 untranslated messages.
/home/trung/Downloads/debreate-0.8-dev1/locale/ru/LC_MESSAGES
168 translated messages, 3 fuzzy translations, 345 untranslated messages.
Creating "INSTALLED" file ...
'bitmaps/16/audio-generic.png' -> '/usr/local/share/debreate/bitmaps/16/audio-generic.png'
'bitmaps/16/computer.png' -> '/usr/local/share/debreate/bitmaps/16/computer.png'
'bitmaps/16/drive-fixed.png' -> '/usr/local/share/debreate/bitmaps/16/drive-fixed.png'
'bitmaps/16/drive-floppy.png' -> '/usr/local/share/debreate/bitmaps/16/drive-floppy.png'
'bitmaps/16/drive-removable.png' -> '/usr/local/share/debreate/bitmaps/16/drive-removable.png'
'bitmaps/16/executable-binary.png' -> '/usr/local/share/debreate/bitmaps/16/executable-binary.png'
'bitmaps/16/executable-script.png' -> '/usr/local/share/debreate/bitmaps/16/executable-script.png'
'bitmaps/16/failsafe.png' -> '/usr/local/share/debreate/bitmaps/16/failsafe.png'
'bitmaps/16/file.png' -> '/usr/local/share/debreate/bitmaps/16/file.png'
'bitmaps/16/folder-home-open.png' -> '/usr/local/share/debreate/bitmaps/16/folder-home-open.png'
'bitmaps/16/folder-home.png' -> '/usr/local/share/debreate/bitmaps/16/folder-home.png'
'bitmaps/16/folder-open.png' -> '/usr/local/share/debreate/bitmaps/16/folder-open.png'
'bitmaps/16/folder.png' -> '/usr/local/share/debreate/bitmaps/16/folder.png'
'bitmaps/16/hand-drag.png' -> '/usr/local/share/debreate/bitmaps/16/hand-drag.png'
'bitmaps/16/image-generic.png' -> '/usr/local/share/debreate/bitmaps/16/image-generic.png'
'bitmaps/16/symlink.png' -> '/usr/local/share/debreate/bitmaps/16/symlink.png'
'bitmaps/16/video-generic.png' -> '/usr/local/share/debreate/bitmaps/16/video-generic.png'
'bitmaps/24/drag-file.png' -> '/usr/local/share/debreate/bitmaps/24/drag-file.png'
'bitmaps/24/drag-folder.png' -> '/usr/local/share/debreate/bitmaps/24/drag-folder.png'
'bitmaps/24/failsafe.png' -> '/usr/local/share/debreate/bitmaps/24/failsafe.png'
'bitmaps/button/32/add.png' -> '/usr/local/share/debreate/bitmaps/button/32/add.png'
'bitmaps/button/32/append.png' -> '/usr/local/share/debreate/bitmaps/button/32/append.png'
'bitmaps/button/32/browse.png' -> '/usr/local/share/debreate/bitmaps/button/32/browse.png'
'bitmaps/button/32/build.png' -> '/usr/local/share/debreate/bitmaps/button/32/build.png'
'bitmaps/button/32/cancel.png' -> '/usr/local/share/debreate/bitmaps/button/32/cancel.png'
'bitmaps/button/32/clear.png' -> '/usr/local/share/debreate/bitmaps/button/32/clear.png'
'bitmaps/button/32/confirm.png' -> '/usr/local/share/debreate/bitmaps/button/32/confirm.png'
'bitmaps/button/32/exit.png' -> '/usr/local/share/debreate/bitmaps/button/32/exit.png'
'bitmaps/button/32/full.png' -> '/usr/local/share/debreate/bitmaps/button/32/full.png'
'bitmaps/button/32/help.png' -> '/usr/local/share/debreate/bitmaps/button/32/help.png'
'bitmaps/button/32/hide.png' -> '/usr/local/share/debreate/bitmaps/button/32/hide.png'
'bitmaps/button/32/import.png' -> '/usr/local/share/debreate/bitmaps/button/32/import.png'
'bitmaps/button/32/mode.png' -> '/usr/local/share/debreate/bitmaps/button/32/mode.png'
'bitmaps/button/32/next.png' -> '/usr/local/share/debreate/bitmaps/button/32/next.png'
'bitmaps/button/32/prev.png' -> '/usr/local/share/debreate/bitmaps/button/32/prev.png'
'bitmaps/button/32/preview.png' -> '/usr/local/share/debreate/bitmaps/button/32/preview.png'
'bitmaps/button/32/refresh.png' -> '/usr/local/share/debreate/bitmaps/button/32/refresh.png'
'bitmaps/button/32/remove.png' -> '/usr/local/share/debreate/bitmaps/button/32/remove.png'
'bitmaps/button/32/rename.png' -> '/usr/local/share/debreate/bitmaps/button/32/rename.png'
'bitmaps/button/32/save.png' -> '/usr/local/share/debreate/bitmaps/button/32/save.png'
'bitmaps/button/32/short.png' -> '/usr/local/share/debreate/bitmaps/button/32/short.png'
'bitmaps/button/32/zoom.png' -> '/usr/local/share/debreate/bitmaps/button/32/zoom.png'
'bitmaps/button/64/browse.png' -> '/usr/local/share/debreate/bitmaps/button/64/browse.png'
'bitmaps/button/64/build.png' -> '/usr/local/share/debreate/bitmaps/button/64/build.png'
'bitmaps/button/64/help.png' -> '/usr/local/share/debreate/bitmaps/button/64/help.png'
'bitmaps/button/64/preview.png' -> '/usr/local/share/debreate/bitmaps/button/64/preview.png'
'bitmaps/button/64/save.png' -> '/usr/local/share/debreate/bitmaps/button/64/save.png'
'bitmaps/icon/16/clock.png' -> '/usr/local/share/debreate/bitmaps/icon/16/clock.png'
'bitmaps/icon/16/globe.png' -> '/usr/local/share/debreate/bitmaps/icon/16/globe.png'
'bitmaps/icon/16/logo.png' -> '/usr/local/share/debreate/bitmaps/icon/16/logo.png'
'bitmaps/icon/64/error.png' -> '/usr/local/share/debreate/bitmaps/icon/64/error.png'
'bitmaps/icon/64/info.png' -> '/usr/local/share/debreate/bitmaps/icon/64/info.png'
'bitmaps/icon/64/logo.png' -> '/usr/local/share/debreate/bitmaps/icon/64/logo.png'
'bitmaps/icon/64/question.png' -> '/usr/local/share/debreate/bitmaps/icon/64/question.png'
'bitmaps/icon/64/warn.png' -> '/usr/local/share/debreate/bitmaps/icon/64/warn.png'
renamed 'INSTALLED' -> '/usr/local/share/debreate/INSTALLED'

Installing documentation ...
removed '/usr/local/share/debreate/docs/changelog'
'docs/changelog' -> '/usr/local/share/debreate/docs/changelog'
removed '/usr/local/share/debreate/docs/usage.pdf'
'docs/usage.pdf' -> '/usr/local/share/debreate/docs/usage.pdf'
removed '/usr/local/share/debreate/docs/LICENSE.txt'
'docs/LICENSE.txt' -> '/usr/local/share/debreate/docs/LICENSE.txt'
removed '/usr/local/share/applications/debreate.desktop'
'data/debreate.desktop' -> '/usr/local/share/applications/debreate.desktop'
Installing locale files ...
removed '/usr/local/share/locale/it/LC_MESSAGES/debreate.mo'
'locale/it/LC_MESSAGES/debreate.mo' -> '/usr/local/share/locale/it/LC_MESSAGES/debreate.mo'
removed '/usr/local/share/locale/fr/LC_MESSAGES/debreate.mo'
'locale/fr/LC_MESSAGES/debreate.mo' -> '/usr/local/share/locale/fr/LC_MESSAGES/debreate.mo'
removed '/usr/local/share/locale/ar/LC_MESSAGES/debreate.mo'
'locale/ar/LC_MESSAGES/debreate.mo' -> '/usr/local/share/locale/ar/LC_MESSAGES/debreate.mo'
removed '/usr/local/share/locale/es/LC_MESSAGES/debreate.mo'
'locale/es/LC_MESSAGES/debreate.mo' -> '/usr/local/share/locale/es/LC_MESSAGES/debreate.mo'
removed '/usr/local/share/locale/ru/LC_MESSAGES/debreate.mo'
'locale/ru/LC_MESSAGES/debreate.mo' -> '/usr/local/share/locale/ru/LC_MESSAGES/debreate.mo'
'man/man1/debreate.1' -> '/usr/local/share/man/man1/debreate.1'
/usr/local/share/man/man1/debreate.1:	 46.9% -- replaced with /usr/local/share/man/man1/debreate.1.gz
removed '/usr/local/share/icons/gnome/scalable/mimetypes/application-x-dbp.svg'
'data/svg/application-x-dbp.svg' -> '/usr/local/share/icons/gnome/scalable/mimetypes/application-x-dbp.svg'
removed '/usr/local/share/mime/packages/debreate.xml'
'data/mime/debreate.xml' -> '/usr/local/share/mime/packages/debreate.xml'
make: *** No rule to make target 'fileio', needed by 'install-packages'.  Stop.

anyone help me?

my os: ubuntu 20.4.6 amd64 (vmware)

file "copyrigh" is created and produces lintian error

I created a package, and used the "Generate Simple Template" button. Changed the name/email and saved my project. After creating the .deb, lintian told me that:

[...]
E: eurolyser: md5sums-lists-nonexistent-file usr/share/doc/eurolyser/copyrigh
W: eurolyser: file-missing-in-md5sums usr/share/doc/eurolyser/copyright

There is the "t" missing at the end of "copyrigh" - I think there is the problem why lintian is not finding the file.
Could it be that debreate snips away the last letter? There is nothing to configure about the copyright notice file - I suppose the bug is in the code somewhere.

How can I help?
Here is my eurolyser.dbp.txt file (extension changed to .txt for uploading at Github - please remove the .txt)

Update dependency to python-wxgtk4.0 for debian packages

Debian package has a dependency to python3-wxgtk2.8 or 3.0. Current Ubuntu and other platforms no longer have this in store and have updated to 4.0. As a result, debian package no longer installs under Ubuntu (and others).

Please make portable version.

Dependencies become obsolete and/or unsupported. Developing an official appimage, flatpak, and/or Snap will come handy.

debreate : Depends: python-wxgtk2.8 but it is not installable

I tried to install debreate on my system (Ubuntu 16.04) and got the following error message

sunyata@sunyata-Aspire-ES1-131:~/PycharmProjects$ sudo apt install debreate
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 debreate : Depends: python-wxgtk2.8 but it is not installable
E: Unable to correct problems, you have held broken packages.
sunyata@sunyata-Aspire-ES1-131:~/PycharmProjects$

Doing a search (sudo apt-cache search python-wxgtk) i found that the package python-wxgtk3.0 is available in the official repo, maybe just updating to allow versions later than 2.8 will solve this issue?

Recursive file adding does not work

Python version: 2.7.12
wx.Python version: 3.0.2
Debreate version: 0.7.12
Platform: Ubuntu 14/16 LTS

In debreate 0.7.10 you could add all the files of a folder recursively to your package on the files page and the folder structure was kept. Now it adds all files to the same folder and ignores the structure.

Step to reproduce

  1. Create new project
  2. Go to "files" page
  3. Select a folder with subfolders from your computer
  4. Click the "add" button

Expected behaviour
All files are added with the original folder structure as in the selected folder

Actual behaviour
All files are added to the "Target" folder and the folder structure is ignored

[Feature Request] Suggustion

First of all geat application, I been loving it and just found Big Thanks to @LanderU
I know it has custom path options but I use script to convert & resize then put images according to their size.
Because I've to manually add each folder name with its path respectively.

  • Add folder with target path

(This adds files inside of selected folder and also adds it path to stored target path of each files separately)

Suggestions for New .dbp Implementation

The current Debreate project file (.dbp) is a simple text file in a somewhat custom format. I am not sure that I like it too well & have wanted to use a better implementation (while maintaining backward compatibility).

In the head development branch I had changed it to a compressed archive containing multiple files. With the development versions having more features, I wanted the break up the larger file into smaller ones. But, I am not sure if I like format better or not.

What I had wanted to do in the past is change to the popular XML format. But I didn't know much about how to implement or use it. Being part of the Stendhal project, I have become a bit more familiar with it.

I'm thinking that I would like to change to XML, & maybe even keep using the compressed archive method. But I would like to hear ideas & suggestions from others on what might be a good way to store the projet files.

Something I'm wondering about is if there is a format or method that would work best with a headless implementation for command line scripting.

executable permissions is missing in deb [0.7.13-dev17]

Due to md5sums bug in v7.13 I've downloaded Debreate version: 0.7.13-dev17
And now I realized that it places all executables in deb automatically removing executable permissions from them. So after installation with dpkg -i they can't be launched without chmod +x anymore.

Executable permissions in debs that I created with older versions were fine.

Dependancies problem?

I am not sure if this is a bug or not, I am using Linux Mint 18, 64 bit XFCE with Python 2.7.12. You're about box on Debreate says I have Python 2.7.12 and wxPython 3.0.2 on the Sytem information tab.

As a minimal example if I put my dependency to "python=2.7.12" and try a test install it tells me my dependency has not been met, it works on the >= 2.7 though

I cannot get it to recognize any version of wxPython even if I say any wxPython > 2.6 it just says dependency not met. I can send screen shots.

Ken

UI not translated

Hi,

First of all, thank you, your application is just great.

I write this issue because Debreate is not in French on my computer. I saw in the about dialog that french translation was avalaible so I guess that Debreate did not see my langage is french.

OS : xubuntu 18.04.3
Debreate : 0.7.13 (from ppa stable)

add MimeType in Menu Launcher part

The "debreate" to good to package some simple script applications. Many script is deal with special mimetype files. So it good to add MimeType in Menu Launcher part.

does not create deb file but directory instead

Hi, i wanted to create a package for mercury and name the deb file like mercury_14.01.1_amd64.deb instead i get a directory like mercury_14.01.1_amd64__dbp__ with what looks like could be the contents of the deb file.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.