[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gNewSense-users] [Patch] kPovModeler useless in gNewSense

From: Matthew Flaschen
Subject: Re: [gNewSense-users] [Patch] kPovModeler useless in gNewSense
Date: Sun, 25 Mar 2007 23:53:33 -0400
User-agent: Thunderbird (X11/20070306)

Kevin M. Dean wrote:
> I've edited the kdegraphics .deb package in the repos as of about 5 AM
> GMT and used that to produce the .diff.gz and dsc file that should
> replace the ones currently there.

I think this has to be done through a Builder script.  I made one (very
similar to your modifications of .diff.gz) that simply removes all
mention of kpovmodeler from debian/control, makes a changelog entry, and
uses the correct distribution name.  This is probably not the perfect
method, as kpovmodeler is still built.  The script is attached as an svn
diff.  I would appreciate if someone looked at it.

Matthew Flaschen
Index: gen-kdegraphics
--- gen-kdegraphics     (revision 0)
+++ gen-kdegraphics     (revision 0)
@@ -0,0 +1,38 @@
+#    Copyright (C) 2006  Brian Brazil, 2007 Matthew Flaschen
+#    This program is free software; you can redistribute it and/or modify
+#    it under the terms of the GNU General Public License as published by
+#    the Free Software Foundation; either version 2 of the License, or
+#    (at your option) any later version.
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    GNU General Public License for more details.
+#    You should have received a copy of the GNU General Public License
+#    along with this program; if not, write to the Free Software
+#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+set -ex
+. config
+mkdir -p $WORKINGDIR
+$APTGET source kdegraphics$VERSION
+cd kdegraphics-*
+sed -i -e "s/, kpovmodeler [^,]*,/,/;
+           /Package: kpovmodeler/,/^$/ d" debian/control
+dch -D $RELEASE -v $(sed  -n 
debian/changelog)  "Removed all references to kpovmodler in debian/control and 
changed package to show a ${DISTRONAME} revision"
+dpkg-buildpackage -rfakeroot -us -uc
+cd ..
+reprepro -Vb $REPODST include $RELEASE ${DISTRONAME_L}-kde-docs*.changes

Property changes on: gen-kdegraphics
Name: svn:executable
   + *

reply via email to

[Prev in Thread] Current Thread [Next in Thread]