Matthias Urlichs a écrit :
Paul Alfille:
I'll try to make windows and debian packages in the next few days.

I'll send you another Debian patch ASAP.

Here is mine.
I tried to package owfs on my Etch system; here are a few workarounds :
* there are error while linking owphp (missing symbol)
* the owperl files are stored in /usr/local/{lib,share}/ instead of /usr/{lib,share}/
* added a few build dependencies

I do not agree with your "1wire" naming of the packages. The upstream package may be wrongly names owfs, but that's still its name... With your proposed naming, I can't find the correct package to install, when I know about "owfs"...


@Paul : it's nice to see that, after 4 years using an ancient owfs version, I can upgrade to a new system with the new owfs release, and have a single change to make in my code to use it !

The change is related to the line20.ALL property of the LCD device (FF id) : the lines are garbled on the LCD, even if I provide proper 20 chars lines separated by "," (sent line 4 comes on physical line 3, shifted 2 or 3 chars, the last physical line being nearly random).
Simply using line20.X works.

--
NH
--- 1wire-2.6p6+cvs20070908.orig/debian/control
+++ 1wire-2.6p6+cvs20070908/debian/control
@@ -2,7 +2,7 @@
 Section: misc
 Priority: extra
 Maintainer: Matthias Urlichs <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 5), autotools-dev, python-dev (>= 2.5), tcl8.4-dev, perl (>= 5.8), php5-dev, autotools-dev, automake1.9, autoconf
+Build-Depends: debhelper (>= 5), autotools-dev, libfuse-dev, libusb-dev, swig, python-dev, tcl8.4-dev, perl (>= 5.8), php5-dev, autotools-dev, automake1.9, autoconf
 Build-Conflicts: autoconf2.13
 Standards-Version: 3.7.2
 XS-Python-Version: >= 2.5
--- 1wire-2.6p6+cvs20070908.orig/debian/rules
+++ 1wire-2.6p6+cvs20070908/debian/rules
@@ -23,10 +23,12 @@
 endif
 
 config.status: configure
-       dh_testdir
-       sh ./bootstrap
-       # Add here commands to configure the package.
-       ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
+
+configure:
+	dh_testdir
+	sh ./bootstrap
+	# Add here commands to configure the package.
+	./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" --disable-owphp
 
 
 #Architecture
@@ -34,64 +36,59 @@
 
 build-arch: build-arch-stamp
 build-arch-stamp:  config.status
-
-       # Add here commands to compile the arch part of the package.
-       #$(MAKE)
-       touch $@
+	# Add here commands to compile the arch part of the package.
+	#$(MAKE)
+	touch $@
 
 build-indep: build-indep-stamp
 build-indep-stamp:  config.status
-
-       # Add here commands to compile the indep part of the package.
-       #$(MAKE) doc
-       touch $@
+	# Add here commands to compile the indep part of the package.
+	#$(MAKE) doc
+	touch $@
 
 clean:
-       dh_testdir
-       dh_testroot
-       rm -f build-arch-stamp build-indep-stamp config.status
-
-       # Add here commands to clean up after the build process.
-       -$(MAKE) distclean
+	dh_testdir
+	dh_testroot
+	rm -f build-arch-stamp build-indep-stamp config.status
+	# Add here commands to clean up after the build process.
+	-$(MAKE) distclean
 ifneq "$(wildcard /usr/share/misc/config.sub)" ""
-       cp -f /usr/share/misc/config.sub config.sub
+	cp -f /usr/share/misc/config.sub config.sub
 endif
 ifneq "$(wildcard /usr/share/misc/config.guess)" ""
-       cp -f /usr/share/misc/config.guess config.guess
+	cp -f /usr/share/misc/config.guess config.guess
 endif
-       dh_clean
+	dh_clean
 
 install: install-indep install-arch
 install-indep:
-       # nothing to do
+	# nothing to do
 
 install-arch:
-       dh_testdir
-       dh_testroot
-       dh_clean -k
-       dh_installdirs
-
-       $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
-
-       dh_movefiles
-
-       dh_installchangelogs ChangeLog
-       dh_installdocs
-       dh_installexamples
-       dh_pycentral -ppython-1wire
-       dh_perl
-       dh_installinit
-       dh_installman
-       dh_link
-       dh_strip --dbg-package=1wire-dbg
-       dh_compress
-       dh_fixperms
-       dh_makeshlibs
-       dh_installdeb
-       dh_shlibdeps
-       dh_gencontrol
-       dh_md5sums
-       dh_builddeb
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+	$(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
+	dh_movefiles
+	dh_installchangelogs ChangeLog
+	dh_installdocs
+	dh_installexamples
+	dh_pycentral -ppython-1wire
+	dh_perl
+	dh_installinit
+	dh_installman
+	dh_link
+	dh_strip --dbg-package=1wire-dbg
+	dh_compress
+	dh_fixperms
+	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
 # Build architecture independant packages using the common target.
 binary-indep: build-indep install-indep
 
--- 1wire-2.6p6+cvs20070908.orig/debian/changelog
+++ 1wire-2.6p6+cvs20070908/debian/changelog
@@ -1,3 +1,9 @@
+1wire (2.6p6+cvs20070908-1) unstable; urgency=low
+
+  * personnal packaging on Debian etch
+
+ -- Nicolas Huillard <[EMAIL PROTECTED]>  Sat, 08 Sep 2007 15:25:49 +0200
+
 1wire (2.6p4+cvs20070515-1) unstable; urgency=low
 
   * Initial release (Closes: #325159)
--- 1wire-2.6p6+cvs20070908.orig/debian/lib1wire-perl.files
+++ 1wire-2.6p6+cvs20070908/debian/lib1wire-perl.files
@@ -1,4 +1,3 @@
-/usr/lib/perl
-/usr/share/perl
+/usr/local/lib/perl
+/usr/local/share/perl
 #/usr/share/man/man3/OWNet.3pm
-
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to