Debianisize: create deb-packages easily

Developed or developing a new product in PureBasic? Tell the world about it.
walker
Enthusiast
Enthusiast
Posts: 634
Joined: Wed May 05, 2004 4:04 pm
Location: Germany

Debianisize: create deb-packages easily

Post by walker »

This little proggie is in an early state.. but usable though!

a screenshot:
Image

Fill in the required fields (yellow)
To add files use the right mouse button in the filelist
The will be installed in the directory you'd specified in the combobox above (you can alter this path if you cange the cobmobox to another path and then click on the file you wish to change) all clear? if not... feel free to ask..

Download: http://home.arcor.de/x-linux/pure/deb/debianisize
may you have to make it executable after downloading
User avatar
J. Baker
Addict
Addict
Posts: 2181
Joined: Sun Apr 27, 2003 8:12 am
Location: USA
Contact:

Post by J. Baker »

Very nice walker! I'll have to try it soon. ;)
www.posemotion.com

PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef


Even the vine knows it surroundings but the man with eyes does not.
raygr
User
User
Posts: 32
Joined: Fri Mar 17, 2006 8:05 am

Post by raygr »

This looks very cool.

I'm now downloading the support files I need to get PB4 running on Xandros 4.0, then I can try Debianisize.

So, when will you release pb4_beta1.deb? :D
thamarok
Enthusiast
Enthusiast
Posts: 282
Joined: Wed Sep 06, 2006 1:37 pm

Post by thamarok »

Looks good, but I get this error when trying to install a .deb package made with Debianisize:

Code: Select all

nuconix:~# dpkg -i testdeb.deb
dpkg-deb: unexpected end of file in between members in testdeb.deb
dpkg: error processing testdeb.deb (--install):
 subprocess dpkg-deb --control returned error exit status 2
Errors were encountered while processing:
 testdeb.deb
nuconix:~#
I have the latest Debian Etch and I tried to make a test deb package containing a simple application I made with PureBasic..
The source-code is this:

Code: Select all

; Test app
If getuid_()=0
 MessageRequester("Test_APP", "User is ROOT")
Else
 MessageRequester("Test_APP", "User is _not_ ROOT")
EndIf
This is pretty odd. But when I try to make my own debian package with dpkg -b, then it works. :?
walker
Enthusiast
Enthusiast
Posts: 634
Joined: Wed May 05, 2004 4:04 pm
Location: Germany

Post by walker »

...strange... can you provide the package for download?
tested it again and it works here...

and can you provide a screenshot of your input?

here's the proggie itself in a deb-package (will install in /usr/bin)
http://home.arcor.de/x-linux/pure/deb/d ... 1-i386.deb

does it work on your machine?
thamarok
Enthusiast
Enthusiast
Posts: 282
Joined: Wed Sep 06, 2006 1:37 pm

Post by thamarok »

Here you go:
Image

I could upload the deb, but I don't know any linux-friendly file hosting.
EDIT: The deb you provided doesn't work. I get the same error. :?
walker
Enthusiast
Enthusiast
Posts: 634
Joined: Wed May 05, 2004 4:04 pm
Location: Germany

Post by walker »

very, very strange.... could you send the deb-package by mail? you'll get a pm with my mailaddress... :?

btw.. priority "important" is usually NOT used for normal porograms.. don't change this value.... and architecture all... does your pgm really run on all Achitectures? I guess not.. so leave the value on i386.... to not violate the debian terms of creating a deb-package...:wink:
see:
http://www.debian.org/doc/debian-policy/
thamarok
Enthusiast
Enthusiast
Posts: 282
Joined: Wed Sep 06, 2006 1:37 pm

Post by thamarok »

walker wrote:very, very strange.... could you send the deb-package by mail? you'll get a pm with my mailaddress... :?

btw.. priority "important" is usually NOT used for normal porograms.. don't change this value.... and architecture all... does your pgm really run on all Achitectures? I guess not.. so leave the value on i386.... to not violate the debian terms of creating a deb-package...:wink:
see:
http://www.debian.org/doc/debian-policy/
Hahahahhaaaa..... I am a Debian Developer, did you think I have not read that?

I was just messing around with your program to see it makes everything ok. And I investigated the .deb files it created, here they are missing the control file!

But it seems to be a problem with my system, tried a fresh install on another system and your program worked fine. It seems I have dpkg corrupt. I need to check that I don't have any rootkits.
walker
Enthusiast
Enthusiast
Posts: 634
Joined: Wed May 05, 2004 4:04 pm
Location: Germany

Post by walker »

thamarok wrote:
Hahahahhaaaa..... I am a Debian Developer, did you think I have not read that?
how could I miss that... :oops: it's even written in your signature...... :lol:

Ok then it's for all the other who might read this.... 8)
Post Reply