Hi, I attached a diff to svn wicd tree to build a package, that I believe fit to be uploaded in debian except for the wicd-client.1 man page I attached that should probably be added in upstream source tree.
I added a Makefile that should help to build a package with pbuilder from any part of the tree you prefer (currently from trunk) If you don't have any sponsor, I can upload the package Cheers Christian
Index: branches/debian-packaging/control =================================================================== --- branches/debian-packaging/control (révision 470) +++ branches/debian-packaging/control (copie de travail) @@ -2,8 +2,9 @@ Section: net Priority: extra Maintainer: Adam Blackburn <[EMAIL PROTECTED]> -Build-Depends: debhelper (>= 5), python -Standards-Version: 3.7.2 +Uploaders: Christian Bayle <[EMAIL PROTECTED]> +Build-Depends: debhelper (>= 5.0.51), python +Standards-Version: 3.8.0 Package: wicd Architecture: all Index: branches/debian-packaging/rules =================================================================== --- branches/debian-packaging/rules (révision 470) +++ branches/debian-packaging/rules (copie de travail) @@ -72,6 +72,8 @@ # $(MAKE) DESTDIR=$(CURDIR)/debian/wicd install python setup.py install --root $(CURDIR)/debian/wicd --no-compile + rm -f $(CURDIR)/debian/wicd/usr/share/doc/wicd/INSTALL \ + $(CURDIR)/debian/wicd/usr/share/doc/wicd/LICENSE # Build architecture-independent files here. @@ -79,7 +81,7 @@ # We have nothing to do by default. # Build architecture-dependent files here. -binary-arch: build install +#binary-arch: build install dh_testdir dh_testroot dh_installchangelogs Index: branches/debian-packaging/Makefile =================================================================== --- branches/debian-packaging/Makefile (révision 0) +++ branches/debian-packaging/Makefile (révision 0) @@ -0,0 +1,56 @@ +DISTRIB=lenny +DISTRIB=unstable +DEBUG=--debug +DEBUG= +MIRROR=--mirror http://athlonfreesos.bayle.eu/debian +FULLUPLOAD= +FULLUPLOAD=--debbuildopts "-sa" +LOCALREPO=/var/www/debian-eeepc +SRCDIR=../../trunk +WICDVERS=$(shell grep 'version =' $(SRCDIR)/wicd/wicd-daemon.py | cut -d\' -f2) +WICDVERS=1.5.2 +DEBMINOR=1$(DISTRIB)0 +DEBMINOR=1 + +wicdbuild: + make PACKAGE=wicd PKGVERS=$(WICDVERS) DEBVERS=$(WICDVERS)-$(DEBMINOR) DISTRIB=$(DISTRIB) pkgbuild + +lintian: + make PACKAGE=wicd PKGVERS=$(WICDVERS) DEBVERS=$(WICDVERS)-$(DEBMINOR) DISTRIB=$(DISTRIB) _lintian_ + +deploy: + make PACKAGE=wicd PKGVERS=$(WICDVERS) DEBVERS=$(WICDVERS)-$(DEBMINOR) DISTRIB=$(DISTRIB) _deploy_ + +pkgbuild: ../pbuilder/base-$(DISTRIB).tgz ../build-result $(PACKAGE)-$(PKGVERS) + cd $(PACKAGE)-$(PKGVERS) ; cp debian/changelog debian/changelog.sov + cd $(PACKAGE)-$(PKGVERS) ; dch -v $(DEBVERS) -D UNRELEASED "Debian $(DISTRIB) build" + perl -pi -e "s/UNRELEASED/$(DISTRIB)/" $(PACKAGE)-$(PKGVERS)/debian/changelog + cd $(PACKAGE)-$(PKGVERS) ; pdebuild --buildresult $(CURDIR) $(FULLUPLOAD) -- $(DEBUG) --distribution $(DISTRIB) $(MIRROR) --basetgz $(CURDIR)/../pbuilder/base-$(DISTRIB).tgz + mv $(PACKAGE)-$(PKGVERS)/debian/changelog.sov $(PACKAGE)-$(PKGVERS)/debian/changelog + +_lintian_: + lintian $(PACKAGE)_$(DEBVERS)_i386.changes + +_deploy_: + debsign -m$$DEBEMAIL $(PACKAGE)_$(DEBVERS)_i386.changes + reprepro -Vb $(LOCALREPO) include $(DISTRIB) $(PACKAGE)_$(DEBVERS)_i386.changes + +../pbuilder/base-$(DISTRIB).tgz: ../pbuilder + sudo /usr/sbin/pbuilder create $(DEBUG) --distribution $(DISTRIB) $(MIRROR) --basetgz $(CURDIR)/../pbuilder/base-$(DISTRIB).tgz + @echo "Ready for $(DISTRIB)" + +../build-result: + mkdir ../build-result + +../pbuilder: + mkdir ../pbuilder + +$(PACKAGE)-$(PKGVERS): + cp -r $(SRCDIR) $(PACKAGE)-$(PKGVERS) + find $(PACKAGE)-$(PKGVERS) -type d -name ".svn" | xargs rm -rf + tar cvzf $(PACKAGE)_$(PKGVERS).orig.tar.gz $(PACKAGE)-$(PKGVERS) + mkdir $(PACKAGE)-$(PKGVERS)/debian + cp changelog clean_out.py compat control copyright Makefile postinst postrm rules $(PACKAGE)-$(PKGVERS)/debian + +clean: + rm -f *.build *.deb *.upload
.TH WICD-CLIENT "1" "September 2008" "wicd-client " "User Commands" .SH NAME wicd-client \- manual page for wicd-client .SH DESCRIPTION wireless (and wired) connection daemon front\-end. .SS "Arguments:" .TP \fB\-n\fR \fB\-\-no\-tray\fR Run wicd without the tray icon. .TP \fB\-h\fR \fB\-\-help\fR Print this help information. .TP \fB\-a\fR \fB\-\-no\-animate\fR Run the tray without network traffic tray animations.