Author Topic: Converting Debian packages into .info and .patch files  (Read 6149 times)

scav

  • Newbie
  • *
  • Posts: 2
Converting Debian packages into .info and .patch files
« on: March 06, 2009, 10:38:50 PM »
I've managed to install a few packages from Debian's mipsel port by unpacking them and re-packaging the contents as .info and .patch files.

It's a pain to do it manually, so I've automated it with a Python script.   Since I may be doing more of that kind of thing, I've made a google code project: http://code.google.com/p/cnm-minibook-tools/.

The script is at http://code.google.com/p/cnm-minibook-tools/source/browse/trunk/deb2patch.py.

Jay Turner

  • Full Member
  • ***
  • Posts: 239
Re: Converting Debian packages into .info and .patch files
« Reply #1 on: March 07, 2009, 07:42:37 AM »
I've managed to install a few packages from Debian's mipsel port by unpacking them and re-packaging the contents as .info and .patch files.

It's a pain to do it manually, so I've automated it with a Python script.   Since I may be doing more of that kind of thing, I've made a google code project: http://code.google.com/p/cnm-minibook-tools/.

The script is at http://code.google.com/p/cnm-minibook-tools/source/browse/trunk/deb2patch.py.

thank you, thank you, have you done the matrix one yet?
Elonex OneT + Software hacks + 4Gig SD card

duttydea

  • Full Member
  • ***
  • Posts: 136
  • You wont know untill you search, then ask!!
Re: Converting Debian packages into .info and .patch files
« Reply #2 on: March 07, 2009, 01:32:35 PM »
how do i use this script?


______________________________________________
CnM MiniBook : 3MX RC3.1 / Custom Debian (DLA)
Desktop: XP PRO & Vista
Linux Knowledge: Restricted to 3MX & Debian Etch (Basic)

scav

  • Newbie
  • *
  • Posts: 2
Re: Converting Debian packages into .info and .patch files
« Reply #3 on: March 07, 2009, 07:43:55 PM »
how do i use this script?

Instructions are on the wiki of the google code project I linked to.  If you are still in doubt after reading them, perhaps don't try it.

rodonn

  • Jr. Member
  • **
  • Posts: 73
Re: Converting Debian packages into .info and .patch files
« Reply #4 on: April 27, 2009, 07:26:16 PM »
Is python part of the default OS?

Leven2e

  • Hero Member
  • *****
  • Posts: 524
Python
« Reply #5 on: April 27, 2009, 07:48:59 PM »
I don't think so,but you can download it from here:  http://www.freeshells.ch/~wicked74/alpha400/packages/devel/   

Update { 24 February 2014}   :  The FreeShells.ch site was decommissioned on May 15, 2009.
« Last Edit: February 24, 2014, 11:36:05 AM by Leven2e »
The Hun.

rodonn

  • Jr. Member
  • **
  • Posts: 73
Re: Converting Debian packages into .info and .patch files
« Reply #6 on: April 27, 2009, 09:09:19 PM »
Extremely dumb question...
How do I dl deb2patch.py?

rodonn

  • Jr. Member
  • **
  • Posts: 73
Re: Converting Debian packages into .info and .patch files
« Reply #7 on: April 27, 2009, 09:15:53 PM »
Solved that... it's far from intuitive...



File info
Size: 2374 bytes, 72 lines
View raw file


right click the 'View raw file' and save link as (in FF)

worge

  • Newbie
  • *
  • Posts: 7
Re: Converting Debian packages into .info and .patch files
« Reply #8 on: August 15, 2009, 04:22:41 PM »
Any success story's to tell?  .info  .patch files to release ?

rodonn

  • Jr. Member
  • **
  • Posts: 73
Re: Converting Debian packages into .info and .patch files
« Reply #9 on: August 15, 2009, 06:28:13 PM »
I never got around to trying it.