LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-16-2008, 12:15 AM   #1
Mr.J
Member
 
Registered: Jun 2008
Posts: 82

Rep: Reputation: 15
need to create patch/package for gnome-panel


I've modifed code for gnome-panel(ubuntu 7.1) and build it and tested it. It is working as per my requirements. Now I need to give this change as patch or new deb package for gnome-panel. From development machine how can I create patch/package for the same.
Plz advise.
 
Old 07-16-2008, 04:00 AM   #2
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
Does it contain a directory
debian/patches
?
 
Old 07-18-2008, 01:44 AM   #3
Mr.J
Member
 
Registered: Jun 2008
Posts: 82

Original Poster
Rep: Reputation: 15
I just downloaded source package using apt-get and unzipped the package in /home/test/gnome-panel-2.20.1. I then modified code in /home/test/gnome-panel-2.20.1/gnome-panel/ folder and build the code and installed the code. Now I need to create binary patch or binary package for gnome-panel so that I can install this on other machines.

Plz advise.
 
Old 07-18-2008, 08:46 AM   #4
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
Hum I thought you wanted a source patch. And that's why I asked if the original already contained a debian/patches, you would just have to
-generate your .patch file (diff -Nru between orig and yours)
-use dpatch and put it in the patches directory and register it in 00list
-build source package / binary

In your case, you can build a new binary package, taking care that you increase the version number.

- change changelog manually or better use dch -nmu
- build package using debuild or pbuilder


More info:
https://help.ubuntu.com/6.10/ubuntu/packagingguide/
http://www.debian.org/doc/maint-guid...html#s-debuild
http://www.debian.org/doc/maint-guid...tml#s-pbuilder
http://www.debian.org/doc/maint-guid....html#contents

Actually I do it the old manual way, but you shouldn't do this, from what the tutorials said. I have something like 40 or 50 packages of my own.
- modify changelog manually
- build using debian/rules

You could also look at debdiff but I've never used it and I don't see the point of having a deb diff rather than a full binary package.. unless you have huge bandwidth limitations.

This is the general idea, from memory. Tell us if it fails / succeeds eventually

Last edited by nx5000; 07-18-2008 at 08:51 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
update removes gnome-panel & gnome-core adamruss Debian 9 09-23-2007 11:11 PM
How do you submit a patch for a Gnome package? TruckStuff Linux - General 1 04-10-2005 02:11 PM
Gnome-panel, nautilus and gnome settings daemon Fail on Startup hitman_et Linux - General 0 04-01-2005 09:06 PM
howto create a popup-menu on gnome-panel ? leukozyt Linux - General 1 11-16-2003 02:35 AM
gnome-panel crashes. Which file is responsible for the position of the panel? Satriani Linux - General 1 06-20-2003 06:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration