Re: RFS: cdarch

2008-11-03 Thread Jann Horn
Am Sonntag, den 02.11.2008, 23:45 +0200 schrieb George Danchev:
> On Sunday 02 November 2008 13:27:45 Jann Horn wrote:
> > Dear mentors,
> >
> > I am looking for a sponsor for my package "cdarch".
> 
> Hello,
> 
> How is that better than mounting image loopback and then engage the whole old 
> unix tool armament in searching files ? 
What's armament?


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Re: RFS: cdarch

2008-11-02 Thread Jann Horn
So, I've corrected the following things:

Am Sonntag, den 02.11.2008, 14:37 +0100 schrieb Julian Andres Klode:
> - Don't use /var/medias/, use e.g. /var/lib/medias/
>   (or /var/lib/cdarch)
> - Use Standards-Version 3.8.0
> - Don't set CFLAGS if you only copy files
> - There is no manpage
> - You're copying a script to /etc/init.d/ instead of
>   using dh_installinit.
> - Cleanup your rules file by removing unneeded stuff
> - Don't patch upstream files in the diff.gz
> - You can remove the whole Depends: line it seems
> - You could write the copyright files using the 
>   machine-interpretable format [1] 


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Re: RFS: cdarch

2008-11-02 Thread Jann Horn
Am Montag, den 03.11.2008, 00:07 +1100 schrieb Ben Finney:
> “images” is rather broad and could cover just about any type of
> data. In the context of this particular package it seems you mean
> “CD-ROM filesystem images”.
> 
> A package synopsis should be a noun phrase (saying what the package
> *is*), not a verb phrase.
> 
> Suggested improved synopsis:
> 
> tool to create and inspect CD-ROM filesystem images

OK, I changed that (under the same version number).

Jann Horn


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


RFS: cdarch

2008-11-02 Thread Jann Horn
Dear mentors,

I am looking for a sponsor for my package "cdarch".

  Package name: cdarch
  Version : 1.0.0-1
  Upstream Author : me
  License : LGPL
  Section : unknown

It builds these binary packages:
cdarch - lets you make images, mount them and find files

The package appears to be lintian clean.

The package can be found on mentors.debian.net:
- URL: http://mentors.debian.net/debian/pool/main/c/cdarch
- Source repository: deb-src http://mentors.debian.net/debian unstable main 
contrib non-free
- dget http://mentors.debian.net/debian/pool/main/c/cdarch/cdarch_1.0.0-1.dsc

I would be glad if someone uploaded this package for me.

Kind regards
 Jann Gerrit Horn


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Re: 'cdarch' has a dash version

2008-10-04 Thread Jann Horn
Oups... now I understood and runned "dh_make --createorig".
Now there are no Lintian warnings/errors anymore! Thanks!

Jann Horn

Am Sonntag, den 05.10.2008, 01:25 +1000 schrieb Matthew Palmer:
> On Sat, Oct 04, 2008 at 10:43:00PM +0200, Jann Horn wrote:
> > Er... I haven't got a file named "*.orig.tar.gz". I think it's because I
> > myself made the program I want to put in a package.
> > So my question is: How can I remove this dash?
> 
> You don't want to remove the dash, you want to fix your package so that it's
> a proper non-native package.  For that, the upstream tarball should match
> _.orig.tar.gz.
> 
> - Matt
> 
> 


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Re: 'cdarch' has a dash version

2008-10-04 Thread Jann Horn
Er... I haven't got a file named "*.orig.tar.gz". I think it's because I
myself made the program I want to put in a package.
So my question is: How can I remove this dash?

Jann Horn

Am Freitag, den 03.10.2008, 22:44 +0800 schrieb Paul Wise:
> On Sat, Oct 4, 2008 at 4:28 AM, Jann Horn <[EMAIL PROTECTED]> wrote:
> 
> > I uploaded a package, but it causes the following message:
> ...
> >N:   dpkg-source searches for this in
> >N:   ../package_upstream-version.orig.tar.gz.
> >N:
> 
> As the warning suggests, the tarball needs to be named correctly.
> 
> Please note that it is foo_1.2.3.orig.tar.gz _not_ foo-1.2.3.orig.tar.gz
> 
> -- 
> bye,
> pabs
> 
> http://wiki.debian.org/PaulWise
> 
> 


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Re: 'cdarch' has a dash version

2008-10-04 Thread Jann Horn
In this case, "they" means me. :-)

Jann Horn

Am Samstag, den 04.10.2008, 07:42 +1000 schrieb Craig Small:
> On Fri, Oct 03, 2008 at 10:28:02PM +0200, Jann Horn wrote:
> > I uploaded a package, but it causes the following message:
> > 
> > Your package does not seem to be lintian clean.
> > 'lintian' is a tool to verify if source package contain obvious
> > packaging errors. These warnings/errors were found:
> > W: cdarch source: native-package-with-dash-version
> Is cdarch truly a native package?  If so, why did they use a dash in the
> version string.
> 
>   - Craig
> 
> -- 
> Craig Small  GnuPG:1C1B D893 1418 2AF4 45EE  95CB C76C E5AC 12CA DFA5
> http://www.enc.com.au/ csmall at : enc.com.au
> http://www.debian.org/  Debian GNU/Linux, software should be Free 
> 
> 


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


'cdarch' has a dash version

2008-10-03 Thread Jann Horn
Hello!

I uploaded a package, but it causes the following message:

Your package does not seem to be lintian clean.
'lintian' is a tool to verify if source package contain obvious
packaging errors. These warnings/errors were found:
W: cdarch source: native-package-with-dash-version
N:
N:   Native packaging should only be used if a piece of software
was
N:   written specifically to be turned into a Debian package. In
this case,
N:   the version number should not contain a debian revision
part.
N:   =

N:   Native source packages are sometimes created by accident.
In most
N:   cases the reason is the location of the original source
tarball.
N:   dpkg-source searches for this in
N:   ../package_upstream-version.orig.tar.gz.
N:

Has someone an idea how to remove the dash-version from the package
name? I tried renaming the package folder to "cdarch-1.0.0", but it
didn't work.

Jann Horn


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Re: Problem with dpkg-buildpackage

2008-10-03 Thread Jann Horn
Am Freitag, den 03.10.2008, 23:45 +1000 schrieb Ben Finney:
> Jann Horn <[EMAIL PROTECTED]> writes:
> 
> > I changed the rules, you're right. I did so because of this report:
> > Your package does not seem to be lintian clean.
> > 'lintian' is a tool to verify if source package contain obvious
> > packaging errors. These warnings/errors were found:
> > W: cdarch source: binary-arch-rules-but-pkg-is-arch-indep
> > N:
> > N:   It looks like you try to run code in the binary-arch target
> > of
> > N:   debian/rules, even though your package is architecture-
> > independent.
> > How can I avoid this without crashing the rules?
> 
> You should always have both ‘binary-arch’ and ‘binary-indep’ targets
> in your ‘debian/rules’ file.
> 
> If your package produces architecture-independent packages, put
> appropriate actions in the ‘binary-indep’ target. Otherwise, leave
> that target empty.
> 
> If your package produces architecture-dependent packages, put
> appropriate actions in the ‘binary-arch’ target. Otherwise, leave that
> target empty.
> 
> -- 
>  \ “Simplicity and elegance are unpopular because they require |
>   `\   hard work and discipline to achieve and education to be |
> _o__)appreciated.” —Edsger W. Dijkstra |
> Ben Finney
> 
> 

Thanks, now it works!

Jann Horn


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Re: Problem with dpkg-buildpackage

2008-10-03 Thread Jann Horn
Am Freitag, den 03.10.2008, 20:02 +0800 schrieb Paul Wise:
> On Sat, Oct 4, 2008 at 1:35 AM, Jann Horn <[EMAIL PROTECTED]> wrote:
> 
> >dpkg-genchanges: failure: cannot read files list file: No such
> >file or directory
> 
> H.
> 
> Can you paste the binary-indep/binary-arch targets of your debian/rules file?
> 
> -- 
> bye,
> pabs
> 
> http://wiki.debian.org/PaulWise
> 
> 

I changed the rules, you're right. I did so because of this report:
Your package does not seem to be lintian clean.
'lintian' is a tool to verify if source package contain obvious
packaging errors. These warnings/errors were found:
W: cdarch source: binary-arch-rules-but-pkg-is-arch-indep
N:
N:   It looks like you try to run code in the binary-arch target
of
N:   debian/rules, even though your package is architecture-
    independent.
How can I avoid this without crashing the rules?

Jann Horn
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1




CFLAGS = -Wall -g

ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
	CFLAGS += -O0
else
	CFLAGS += -O2
endif

configure: configure-stamp
configure-stamp:
	dh_testdir
	# Add here commands to configure the package.

	touch configure-stamp


build: build-stamp

build-stamp: configure-stamp 
	dh_testdir

	# Add here commands to compile the package.
	#docbook-to-man debian/cdarch.sgml > cdarch.1

	touch $@

clean:
	dh_testdir
	dh_testroot
	rm -f build-stamp configure-stamp

	# Add here commands to clean up after the build process.

	dh_clean 

install: build
	dh_testdir
	dh_testroot
	dh_clean -k 
	dh_installdirs

	# Add here commands to install the package into debian/cdarch.
	# edited begin
	# $(MAKE) DESTDIR=$(CURDIR)/debian/screenless-firewall install
	DESTDIR=$(CURDIR)/debian/cdarch
	#echo "DESTDIR ALT ##"$(CURDIR)/debian/cdarch
	#echo "CURDIR"$(CURDIR)
	#$(CURDIR)/debian/cdarch=$(CURDIR)/debian/cdarch
	#echo "DESTDIR NEU ##"$(CURDIR)/debian/cdarch
	mkdir -p $(CURDIR)/debian/cdarch/usr/bin
	mkdir -p $(CURDIR)/debian/cdarch/etc/init.d
	mkdir -p $(CURDIR)/debian/cdarch/etc/rc2.d
	cp findimage $(CURDIR)/debian/cdarch/usr/bin/
	cp addimage $(CURDIR)/debian/cdarch/usr/bin/
	cp importimage $(CURDIR)/debian/cdarch/usr/bin/
	cp mountimage $(CURDIR)/debian/cdarch/usr/bin/
	cp umountimage $(CURDIR)/debian/cdarch/usr/bin/
	cp exclude-for-filelist $(CURDIR)/debian/cdarch/etc/
	cp imagefstabedit $(CURDIR)/debian/cdarch/etc/
	cp imagefstabundo $(CURDIR)/debian/cdarch/etc/
	cp remountimage $(CURDIR)/debian/cdarch/etc/init.d/
	ln -s $(CURDIR)/debian/cdarch/etc/init.d/remountimage $(CURDIR)/debian/cdarch/etc/rc2.d/S90remountimage
	# edited end


# Build architecture-independent files here.
binary-indep: build install
# We have nothing to do by default.

binary: binary-indep
.PHONY: build clean binary-indep binary-arch binary install configure
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1




CFLAGS = -Wall -g

ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
	CFLAGS += -O0
else
	CFLAGS += -O2
endif

configure: configure-stamp
configure-stamp:
	dh_testdir
	# Add here commands to configure the package.

	touch configure-stamp


build: build-stamp

build-stamp: configure-stamp 
	dh_testdir

	# Add here commands to compile the package.
	#docbook-to-man debian/cdarch.sgml > cdarch.1

	touch $@

clean:
	dh_testdir
	dh_testroot
	rm -f build-stamp configure-stamp

	# Add here commands to clean up after the build process.

	dh_clean 

install: build
	dh_testdir
	dh_testroot
	dh_clean -k 
	dh_installdirs

	# Add here commands to install the package into debian/cdarch.
	# edited begin
	# $(MAKE) DESTDIR=$(CURDIR)/debian/screenless-firewall install
	DESTDIR=$(CURDIR)/debian/cdarch
	#echo "DESTDIR ALT ##"$(CURDIR)/debian/cdarch
	#echo "CURDIR"$(CURDIR)
	#$(CURDIR)/debian/cdarch=$(CURDIR)/debian/cdarch
	#echo "DESTDIR NEU ##"$(CURDIR)/debian/cdarch
	mkdir -p $(CURDIR)/debian/cdarch/usr/bin
	mkdir -p $(CURDIR)/debian/cdarch/etc/init.d
	mkdir -p $(CURDIR)/debian/cdarch/etc/r

Re: Problem with dpkg-buildpackage

2008-10-03 Thread Jann Horn
Am Freitag, den 03.10.2008, 19:35 +0800 schrieb Paul Wise:
> On Sat, Oct 4, 2008 at 1:16 AM, Jann Horn <[EMAIL PROTECTED]> wrote:
> 
> > i've got a problem with dpkg-buildpackage and get the following error
> > when I start it (sorry, it's German):
> 
> Please run this:
> 
> export LANG=C
> 
> Then rerun the command and paste the english output.

OK, here's the english output of the command:
dpkg-genchanges  >../cdarch_1.0.0-1_i386.changes
dpkg-genchanges: failure: cannot read files list file: No such
file or directory
dpkg-buildpackage: failure: dpkg-genchanges gave error exit
status 2

Jann Horn


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Problem with dpkg-buildpackage

2008-10-03 Thread Jann Horn
Hello,

i've got a problem with dpkg-buildpackage and get the following error
when I start it (sorry, it's German):
kann Dateienliste-Datei nicht lesen: Datei oder Verzeichnis
nicht gefunden
Is someone here who can help me? Or is this the wrong list?

Jann Horn


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil