Bug#534281: nosql: uninstallable on ia64, alpha, GNU/kFreeBSD

2009-06-23 Thread Petr Salinger

Package: nosql
Severity: serious
Version: 4.0.14-4
User: glibc-bsd-de...@lists.alioth.debian.org
Usertags: kfreebsd

Hi,

current version have hardcoded dependency on libc
as Depends: libc6 (>= 2.2.3-1).
This cannot be satisfied on some architectures.
It have been introduced in

 nosql  (4.0.14-2) unstable; urgency=low
   * add dependency to libc (warning from lintian)

Please at least drop this dependency or generate
correct one during build using i.e. dh_shlibdeps.

Petr




--
To UNSUBSCRIBE, email to debian-qa-packages-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#537883: wvstreams : FTBFS on GNU/kFreeBSD

2009-07-21 Thread Petr Salinger

Package: wvstreams
Severity: important
Version: 4.4.1-1.1
Tags: patch
User: glibc-bsd-de...@lists.alioth.debian.org
Usertags: kfreebsd

Hi,

the current version fails to build on GNU/kFreeBSD.

There are some parts of code, which are marked only for linux.
Without them, the whole wvstreams FTBFS. On the other hand,
when they are enabled, the whole wvstreams builds fine.
Please apply patch bellow.

It would also be nice if you can inform upstream
about this issue.

Thanks in advance

Petr

diff -u wvstreams-4.4.1/utils/wvcrash.cc wvstreams-4.4.1/utils/wvcrash.cc
--- wvstreams-4.4.1/utils/wvcrash.cc
+++ wvstreams-4.4.1/utils/wvcrash.cc
@@ -26,7 +26,7 @@
 #endif

 // FIXME: this file mostly only works in Linux
-#ifdef __linux
+#if 1

 # include 
 #include 
only in patch2:
unchanged:
--- wvstreams-4.4.1.orig/utils/wvcrashbase.cc
+++ wvstreams-4.4.1/utils/wvcrashbase.cc
@@ -16,7 +16,7 @@
 enum WvCrashInfo::InStreamState WvCrashInfo::in_stream_state = UNUSED;

 // FIXME: this file mostly only works in Linux
-#ifdef __linux
+#if 1

 #ifdef __USE_GNU
 static const char *argv0 = program_invocation_short_name;






--
To UNSUBSCRIBE, email to debian-qa-packages-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#542592: libvncserver: FTBFS on GNU/kFreeBSD ( "-s" have to passed to debhelper)

2009-08-20 Thread Petr Salinger

Package: libvncserver
Version: 0.9.7-1
Severity: important
Tags: patch
User: debian-...@lists.debian.org
Usertags: kfreebsd

Hi,

the current version fails to build on GNU/kFreeBSD.

The linuxvnc package is linux only, it is correctly marked
in debian/control, but there have to be corresponding change
in debian/rules. Please just add "-s" as argument to dh,
as shown bellow.

Thanks in advance

Petr


%:
dh -s --with quilt --dbg-package=libvncserver0-dbg $@




--
To UNSUBSCRIBE, email to debian-qa-packages-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



QA uploadable packages for GNU/kFreeBSD

2009-08-28 Thread Petr Salinger

Hello,

there are QA uploadable packages for "ReleaseGoals/kFreeBSD".

- already QA uploaded:

#379778 fte: FTBFS on GNU/kFreeBSD (due to unsatisfied Build-Depends on 
libgpmg1-dev)
#542592 libvncserver: FTBFS on GNU/kFreeBSD ( "-s" have to passed to debhelper)
#322207 audiooss: FTBFS on GNU/kFreeBSD

- orphaned:

#448736 avifile: FTBFS on GNU/kFreeBSD and GNU/Hurd
#416258 pdp: FTBFS on GNU/kFreeBSD: missing OS detection
#542748 sg3-utils: FTBFS on GNU/kFreeBSD

May you consider them, please.

Thanks in advance

Petr


--
To UNSUBSCRIBE, email to debian-qa-packages-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#542592: libvncserver: FTBFS on GNU/kFreeBSD - patch update

2009-08-28 Thread Petr Salinger

Hi,

it have been pointed out by Cyril Brulebois that the 
patch does not work.


There is a related discussion in debhelper #540794.

In mean time, please use patch bellow.

Petr

--- libvncserver-0.9.7/debian/rules
+++ libvncserver-0.9.7/debian/rules
@@ -1,7 +1,13 @@
 #!/usr/bin/make -f

+DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
+
+ifneq ($(DEB_HOST_ARCH_OS), linux)
+  EXTRA_DH_ARG=-Nlinuxvnc
+endif
+
 %:
-   dh --with quilt --dbg-package=libvncserver0-dbg $@
+   dh $(EXTRA_DH_ARG) --with quilt --dbg-package=libvncserver0-dbg $@

 override_dh_auto_configure:
aclocal




--
To UNSUBSCRIBE, email to debian-qa-packages-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#521473: getcontext missing on some architectures, what to do with wvstreams and wvdial?

2009-11-09 Thread Petr Salinger

wvstreams and wvdial because they rely on getcontext and
setcontext, not available in armel and kfreebsd* implementations of
eglibc (and this feature won't probably be implemented soon).


Why do you think getcontext/setcontext is not available on GNU/kFreeBSD ?
It is available for a very long time already, see i.e.

http://svn.debian.org/wsvn/glibc-bsd/trunk/glibc-ports/kfreebsd/i386/getcontext.S

Petr




--
To UNSUBSCRIBE, email to debian-qa-packages-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#557556: #557556 trousers: FTBFS on kfreebsd-i386

2009-11-23 Thread Petr Salinger

Hi,


The OFF_T_PRINTF #defines at the top of tools/ps_inspect.c seem very
buggy too me, I guess you should be checking this kind of things from
configure.



The easier way is to use patch bellow. The "long long" type
is mandatory in ISO C99 and supported for a very long time by gcc.

Petr

--- tools/ps_inspect.c
+++ tools/ps_inspect.c
@@ -339,7 +339,7 @@

file_size = stat_buf.st_size;

-   PRINT("filename: %s (%" OFF_T_PRINTF " bytes)\n", argv[1], file_size);
+   PRINT("filename: %s (%lld bytes)\n", argv[1], (long long) file_size);

rc = inspect(f, file_size);





--
To UNSUBSCRIBE, email to debian-qa-packages-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#575003: tix: FTBFS on kfreebsd-* (Can't figure out how to do dynamic loading or shared libraries)

2010-04-09 Thread Petr Salinger

tags 575003 +patch
--

Hi.

Please just apply patch bellow and regenerated configure by

  autoconf


Petr

--- tclconfig/tcl.m4
+++ tclconfig/tcl.m4
@@ -1440,7 +1440,7 @@
fi
fi
;;
-   Linux*)
+   Linux*|GNU*)
SHLIB_CFLAGS="-fPIC"
SHLIB_LD_LIBS='${LIBS}'
SHLIB_SUFFIX=".so"




--
To UNSUBSCRIBE, email to debian-qa-packages-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/pine.lnx.4.62.1004091201070.2...@sci.felk.cvut.cz



Bug#578731: rudiments: FTBFS on GNU/kFreeBSD

2010-04-22 Thread Petr Salinger

Package: rudiments
Version: 0.32-1
Severity: important
Tags: patch
User: debian-...@lists.debian.org
Usertags: kfreebsd


Hi,

the current version fails to build on GNU/kFreeBSD.

Please find patch bellow with tweaks.

It would also be nice if you can ask upstream
to include this changes.

Thanks in advance


--- include/rudiments/serialportprofile.h
+++ include/rudiments/serialportprofile.h
@@ -130,8 +130,13 @@
#ifdef TABDLY
enumtabdelay_t {
td_none=TAB0,
+   #if defined(TAB1) && defined(TAB2)
td_depends=TAB1,
td_100=TAB2
+   #else
+   td_depends=TAB0,
+   td_100=TAB3
+   #endif
};
#endif




--
To UNSUBSCRIBE, email to debian-qa-packages-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/pine.lnx.4.62.1004221324570.4...@sci.felk.cvut.cz



Bug#337021: dctc: FTBFS on GNU/kFreeBSD

2005-11-02 Thread Petr Salinger
Package:  dctc
Severity: important
Tags: patch

Hi,

the current version of dctc fails to build on GNU/kFreeBSD.

In src/gdl.c on line 751 it returns ENODATA, this error code 
is not defined on GNU/kFreeBSD. Please replace with ENOBUFS,
or better, cope with partially sucessfull reads.

It would be nice if it could be fixed in the next upload.

Thanks in advance,

Petr





-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#465945: directfb: FTBFS on GNU/kFreeBSD (due to unsatisfied Build-Depends on libts-dev)

2008-02-15 Thread Petr Salinger

Package: directfb
Severity: important
Version: 1.0.1-7
Tags: patch
User: [EMAIL PROTECTED]
Usertags: kfreebsd

Hi,

the current version has unsatisfied Build-Depends on 
libts-dev under non-linux ports.


Please, could you exclude linux specific package in Build-Depends
by using "libts-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386]".

Thanks for your cooperation.

Petr


--- debian/control~ 2008-02-15 17:53:54.0 +0100
+++ debian/control  2008-02-15 17:53:54.0 +0100
@@ -6,8 +6,9 @@
 Vcs-Svn: svn://svn.debian.org/pkg-directfb/directfb/trunk/
 Homepage: http://www.directfb.org/
 Build-Depends: debhelper (>= 5.0.22), quilt (>= 0.40), autoconf, automake,
- libtool, pkg-config, libfreetype6-dev, libjpeg62-dev, libpng12-dev, libts-dev,
+ libtool, pkg-config, libfreetype6-dev, libjpeg62-dev, libpng12-dev,
  libmpeg3-dev, zlib1g-dev, x11proto-core-dev, libx11-dev, libxext-dev,
+ libts-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386],
  libsysfs-dev [alpha amd64 arm armel hppa i386 ia64 m68k mips mipsel powerpc 
ppc64 s390]
 Standards-Version: 3.7.3





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#493149: view3ds(GNU/k*BSD): FTBFS: out of date libtool scripts

2008-07-31 Thread Petr Salinger

Package: view3ds
Severity: important
Version: 1.0.0-10
Tags: patch
User: [EMAIL PROTECTED]
Usertags: kfreebsd


Hi,

the current version fails to build on GNU/kFreeBSD,
because of ancient libtool (1.3.5).

The version of libtool used in view3ds is too old to correctly
support Debian GNU/k*BSD, libtool 1.5.2-1 or later is need.

It would be nice if you can ask upstream to update libtool
in their next release.

Please use patch bellow in mean time.

Thanks in advance

 Petr




--- ltconfig~   2008-07-31 16:57:43.0 +
+++ ltconfig2008-07-31 16:57:43.0 +
@@ -1992,7 +1992,7 @@
   ;;

 # This must be Linux ELF.
-linux-gnu*)
+linux-gnu*|kfreebsd*-gnu*)
   version_type=linux
   need_lib_prefix=no
   need_version=no




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#493702: tla(GNU/k*BSD): FTBFS: out of date libtool scripts

2008-08-04 Thread Petr Salinger

Package: tla
Severity: important
Version: 1.3.5+dfsg-12
Tags: patch
User: [EMAIL PROTECTED]
Usertags: kfreebsd

Hi,

the current version fails to build on GNU/kFreeBSD,
because of outdated libtool.

The version of libtool in src/expat is too old to correctly
support Debian GNU/k*BSD, libtool 1.5.2-1 or later is need.

Here is how to update the libtool in your package:

  cd src/expat/
  cp /usr/share/libtool/ltmain.sh conftools/
  cp /usr/share/libtool/libtool.m4 conftools/
  autoconf

Thanks in advance

 Petr



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#493702: bot fixed in tla 1.3.5+dfsg-13

2008-08-15 Thread Petr Salinger

found 493702 1.3.5+dfsg-13
thanks

Hello (Aurelien),

unfortunately #493702 is not fixed,
The 06-relibtoolize.dpatch is not included in debian/patches/00list,
therefore it is not applied during build.

Petr


 tla (1.3.5+dfsg-13) unstable; urgency=low
 .
   * QA upload.
   * debian/patches/06-relibtoolize.dpatch: relibtoolize (closes: #493702).




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#404248: not fixed in apollon 1.0.2.1-3

2008-08-15 Thread Petr Salinger

found 404248 1.0.2.1-3
thanks

Hi (Aurelien),

the admin/libtool.m4.in have not been updated,
libtool still does not support GNU/kFreeBSD.

Petr



http://buildd.debian-ports.org/fetch.php?pkg=apollon&arch=kfreebsd-i386&ver=1.0.2.1-3&stamp=1218760637&file=log&as=raw

checking how to recognise dependent libraries... unknown
checking if libtool supports shared libraries... no



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#342672: eco5000(GNU/k*BSD): FTBFS: out of date libtool scripts

2005-12-09 Thread Petr Salinger
Package: eco5000
Version: 0.9.8-3
Severity: important

Hi,

the current version of eco5000 fails to build on GNU/kFreeBSD, 
because of outdated libtool.

The version of libtool used in eco5000 is too old to correctly 
support Debian GNU/k*BSD, libtool 1.5.2-1 or later is need.

Here is how to update the libtool in your package:

  libtoolize -c -f
  aclocal (-Im4 might be needed if there is an "m4" template dir)
  autoconf

Note that you should probably use the same version of aclocal (from
the packages automake*) as the one used in the package. You could
determine it by looking at the first line of Makefile.in.

It would also be nice if you can ask upstream to update libtool
in their next release.

Thanks in advance

 Petr



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#342408: Fixing enscript for GNU/kFreeBSD

2006-01-29 Thread Petr Salinger
> I'm adopting enscript and want to fix the config.* junk so GNU/kFreeBSD 
> can compile enscript.

Thanks.

> So run these commands:
> 
> sudo apt-get build-dep enscript
> apt-get source enscript
> cd enscript-1.6.4
> libtoolize -c --force
> aclocal
> fakeroot debian/rules binary
> 
> Does it build?

In general, it should work, only change
unversioned "aclocal" into versioned "aclocal-1.7".

In this case, it fails later with:
Making install in po
make[2]: Entering directory `/tmp/enscript-1.6.4/po'
/bin/sh `case ".././mkinstalldirs" in /*) echo ".././mkinstalldirs" ;; *) 
echo "../.././mkinstalldirs" ;; esac` 
/tmp/enscript-1.6.4/debian/enscript/usr/share
/bin/sh: ../.././mkinstalldirs: No such file or directory
make[2]: *** [install-data-yes] Error 127

I dont't know why, it may affect also other architectures.


For GNU/kFreeBSD is sufficient to perform following:

sudo apt-get build-dep enscript
sudo apt-get install autotools-dev
cd enscript-1.6.4
cp /usr/share/misc/config.* .
fakeroot debian/rules binary

It updates only two files - config.sub, config.guess.

Thanks

Petr




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#361614: libjpeg-mmx: FTBFS on kfreebsd-amd64: kfreebsd-amd64 not in the architecture list

2006-04-09 Thread Petr Salinger
Package: libjpeg-mmx
Version: 0.1.5-3

Hi,

the current version of libjpeg-mmx does not list kfreebsd-amd64 in Architecture 
line,
but your package belongs between packages which support both kfreebsd-i386 and 
amd64.

Please, could you also support kfreebsd-amd64 similarly
as kfreebsd-i386 by adding kfreebsd-amd64 into Architecture:
and may be adjusting debian/rules.

Thanks for your cooperation.
 Petr



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#361632: xbox-raincoat: FTBFS on kfreebsd-amd64: kfreebsd-amd64 not in the architecture list

2006-04-09 Thread Petr Salinger
Package: xbox-raincoat
Version: 0.5+20040911-5

Hi,

the current version of xbox-raincoat does not list kfreebsd-amd64 in 
Architecture line,
but your package belongs between packages which support both kfreebsd-i386 and 
amd64.

Please, could you also support kfreebsd-amd64 similarly
as kfreebsd-i386 by adding kfreebsd-amd64 into Architecture:
and may be adjusting debian/rules.

Thanks for your cooperation.
 Petr



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#361625: music123: FTBFS on kfreebsd-amd64: kfreebsd-amd64 not in the architecture list

2006-04-09 Thread Petr Salinger
Package: music123
Version: 14.2

Hi,

the current version of music123 does not list kfreebsd-amd64 in Architecture 
line,
but your package belongs between packages which support both kfreebsd-i386 and 
amd64.

Please, could you also support kfreebsd-amd64 similarly
as kfreebsd-i386 by adding kfreebsd-amd64 into Architecture:
and may be adjusting debian/rules.

Thanks for your cooperation.
 Petr



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#368970: libmusicbrainz-2.1: FTBFS on GNU/kFreeBSD

2006-05-26 Thread Petr Salinger
Package: libmusicbrainz-2.1 
Severity: important
Version: 2.1.2-4
Tags: patch

Hi,

the current version fails to build on GNU/kFreeBSD with:

Traceback (most recent call last):
  File "setup.py", line 8, in ?
import musicbrainz 
  File "/build/manual/libmusicbrainz-2.1-2.1.2/python/musicbrainz.py", line 57, 
in ?
mbdll = cdll.LoadLibrary(findLibrary())
  File "/build/manual/libmusicbrainz-2.1-2.1.2/python/musicbrainz.py", line 36, 
in findLibrary
raise MusicBrainzError, "Unknown platform: " + sys.platform 
musicbrainz.MusicBrainzError: Unknown platform: gnukfreebsd5
make: *** [install-indep] Error 1

Please, use attached patch to fix that.

It would also be nice if you can ask upstream 
to include this change.

Thanks in advance

Petr


--- python/musicbrainz.py~  2006-05-26 14:11:34.0 +0200
+++ python/musicbrainz.py   2006-05-26 14:11:34.0 +0200
@@ -30,10 +30,7 @@
 if sys.platform == "darwin":
 lib = "libmusicbrainz.4.dylib"
 else:
-if sys.platform == "linux2":
-   lib = "libmusicbrainz.so.4"
-else:
-   raise MusicBrainzError, "Unknown platform: " + sys.platform 
+lib = "libmusicbrainz.so.4"
   
 path = "/usr/lib/" + lib
 if os.access(path, os.F_OK):
@@ -47,7 +44,7 @@
 if os.access(path, os.F_OK):
return path;
 
-raise MusicBrainzError, "Cannot find MusicBrainz share library: " + lib
+raise MusicBrainzError, "Cannot find for platform " + sys.platform + " 
MusicBrainz share library: " + lib
 
 if sys.platform == "win32":
 mbdll = cdll.LoadLibrary("libmusicbrainz.dll")


Bug#378926: tilp: FTBFS on GNU/kFreeBSD (due to unsatisfied Build-Depends)

2006-07-19 Thread Petr Salinger

Package: tilp
Version: 6.80-2
Severity: important

Hi,

the current version of has unsatisfied Build-Depends
on sysutils under GNU/kFreeBSD.

Sysutils have been splitted, it is now dummy transitional package.
Please could you depend directly only on tofrodos instead.

Thanks for your cooperation.

Petr



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#380066: libggi: FTBFS on GNU/kFreeBSD

2006-07-27 Thread Petr Salinger

Package: libggi
Severity: important
Version: 1:2.2.1-2
Tags: patch


Hi,

the current version fails to build on GNU/kFreeBSD.

It needs to restrict fbdev support only for Linux archs.
Please find attached patch with that.

Thanks in advance

Petrdiff -u libggi-2.2.1/debian/control libggi-2.2.1/debian/control
--- libggi-2.2.1/debian/control
+++ libggi-2.2.1/debian/control
@@ -169,7 +169,7 @@
   Homepage: http://www.ggi-project.org/
 
 Package: libggi-target-fbdev
-Architecture: any
+Architecture: i386 ia64 alpha amd64 armeb arm hppa m32r m68k mips mipsel 
powerpc ppc64 s390 s390x sh3 sh3eb sh4 sh4eb sparc
 Section: libs
 Priority: optional
 Depends: ${shlibs:Depends}, ${misc:Depends}, makedev (>= 2.3.1-24) | devfsd
diff -u libggi-2.2.1/debian/rules libggi-2.2.1/debian/rules
--- libggi-2.2.1/debian/rules
+++ libggi-2.2.1/debian/rules
@@ -14,6 +14,7 @@
 #HOST_ARCH  := $(if $(DEB_HOST_ARCH),$(DEB_HOST_ARCH),$(shell 
dpkg-architecture -qDEB_HOST_ARCH))
 BUILD_TYPE := $(if $(DEB_BUILD_GNU_TYPE),$(DEB_BUILD_GNU_TYPE),$(shell 
dpkg-architecture -qDEB_BUILD_GNU_TYPE))
 HOST_TYPE  := $(if $(DEB_HOST_GNU_TYPE),$(DEB_HOST_GNU_TYPE),$(shell 
dpkg-architecture -qDEB_HOST_GNU_TYPE))
+DEB_HOST_ARCH_OS = $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
 
 #DFBGFX := /usr/lib/directfb-$(shell directfb-config --version)/gfxdrivers
 
@@ -99,12 +100,14 @@
 mv bin/cube3d  bin/ggi-cube3d; \
 mv bin/monitestbin/ggi-monitest;   \
 mv share/man/man1/cube3d.1 share/man/man1/ggi-cube3d.1;\
-mv share/man/man1/monitest.1   share/man/man1/ggi-monitest.1;  \
-\
+mv share/man/man1/monitest.1   share/man/man1/ggi-monitest.1;  )
+ifeq (linux,$(DEB_HOST_ARCH_OS))
+   ( set -e;
 cd $(INSTDIR)/etc/ggi/targets; \
 mv fbdev.conf fbdev.conf-unhacked; \
 sed -e '/directfb/ s/^/#/' fbdev.conf;   \
 rm fbdev.conf-unhacked;)
+endif
 
 
 # Build architecture-independent files here.
@@ -127,10 +130,12 @@
dh_movefiles-p$(tmtpkg) usr/lib/ggi/display/monotext.*
dh_movefiles-p$(ttipkg) usr/lib/ggi/display/terminfo.*
dh_movefiles-p$(tvcpkg) usr/lib/ggi/display/vcsa.*
+ifeq (linux,$(DEB_HOST_ARCH_OS))
dh_movefiles-p$(tfbpkg) usr/lib/ggi/display/fbdev.* \
usr/lib/ggi/display/linvtsw.*   \
usr/lib/ggi/default/fbdev/*/*.so\
etc/ggi/targets/fbdev.conf
+endif
dh_movefiles-p$(tgdpkg) usr/lib/ggi/display/glide.*
dh_movefiles-p$(tsvpkg) usr/lib/ggi/display/vgagl.* \
usr/lib/ggi/display/svgalib*.*
@@ -166,11 +171,15 @@
dh_link -p$(devpkg) usr/share/doc/$(libpkg) \
usr/share/doc/$(devpkg)
 #  dh_installdebconf
+ifeq (linux,$(DEB_HOST_ARCH_OS))
dh_installdocs  -N$(smppkg) -N$(emupkg) -N$(tmtpkg) -N$(tfbpkg) 
-N$(txxpkg)
+   dh_installdocs  -p$(tfbpkg) debian/tmp/README.mach64
+else
+   dh_installdocs  -N$(smppkg) -N$(emupkg) -N$(tmtpkg) -N$(txxpkg)
+endif
dh_installdocs  -p$(smppkg) debian/README.samples
dh_installdocs  -p$(emupkg) debian/tmp/README.*emu
dh_installdocs  -p$(tmtpkg) debian/tmp/README.monotext
-   dh_installdocs  -p$(tfbpkg) debian/tmp/README.mach64
dh_installdocs  -p$(txxpkg) debian/tmp/README.X
dh_installexamples -p$(smppkg)  programs/demos/*.c programs/util/*.c
dh_installmenu


Bug#372701: xawtv: updated patch for GNU/kFreeBSD

2006-08-21 Thread Petr Salinger

found 372701 3.95-1
thanks

Hi,

enclosed please find update of patch against xawtv 3.95-1.diff -u xawtv-3.95/debian/control xawtv-3.95/debian/control
--- xawtv-3.95/debian/control
+++ xawtv-3.95/debian/control
@@ -1,14 +1,14 @@
 Source: xawtv
 Section: graphics
 Priority: extra
-Build-Depends: debhelper (>= 5), dpatch, libjpeg62-dev, libncurses5-dev, 
libx11-dev, libxext-dev, libxinerama-dev, libxmu-dev, libxpm-dev, 
libxrandr-dev, libxt-dev, libxv-dev, libxxf86dga-dev, libxxf86vm-dev, x-dev, 
liblircclient-dev, xutils, xbase-clients, libaa1-dev, libasound2-dev, 
libzvbi-dev (>= 0.2.1), libquicktime-dev, libxaw7-dev, libgl1-mesa-dev, 
libxft-dev, po-debconf, libpng12-dev, libglib1.2-dev, libfs-dev
+Build-Depends: debhelper (>= 5), dpatch, libjpeg62-dev, libncurses5-dev, 
libx11-dev, libxext-dev, libxinerama-dev, libxmu-dev, libxpm-dev, 
libxrandr-dev, libxt-dev, libxv-dev, libxxf86dga-dev, libxxf86vm-dev, x-dev, 
liblircclient-dev, xutils, xbase-clients, libaa1-dev, libasound2-dev 
[!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], libzvbi-dev (>= 0.2.1), 
libquicktime-dev, libxaw7-dev, libgl1-mesa-dev, libxft-dev, po-debconf, 
libpng12-dev, libglib1.2-dev, libfs-dev
 Maintainer: Debian QA Group <[EMAIL PROTECTED]>
 Standards-Version: 3.7.2
 
 Package: xawtv
 Section: x11
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, v4l-conf, xutils, scantv, 
xawtv-plugins (=${Source-Version}), pia
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${videoconf}, xutils, scantv, 
xawtv-plugins (=${Source-Version}), pia
 Suggests: xawtv-plugin-qt (=${Source-Version}), tv-fonts
 Description: X11 TV application
  TV application for X11.  Supports video4linux
@@ -23,7 +23,7 @@
  playback movie files which are recorded from TV.
 
 Package: fbtv
-Architecture: any
+Architecture: i386 ia64 alpha amd64 armeb arm hppa m32r m68k mips mipsel 
powerpc ppc64 s390 s390x sh3 sh3eb sh4 sh4eb sparc
 Depends: ${shlibs:Depends}, v4l-conf, xawtv-plugins (=${Source-Version})
 Suggests: xawtv
 Description: linux console (fbcon) TV application
@@ -59,15 +59,16 @@
 
 Package: radio
 Section: sound
-Architecture: any
+Architecture: i386 ia64 alpha amd64 armeb arm hppa m32r m68k mips mipsel 
powerpc ppc64 s390 s390x sh3 sh3eb sh4 sh4eb sparc
 Depends: ${shlibs:Depends}
 Description: ncurses-based radio application
  This is a ncurses-based radio application.  It
  supports the video4linux API.
 
 Package: v4l-conf
-Architecture: any
+Architecture: i386 ia64 alpha amd64 armeb arm hppa m32r m68k mips mipsel 
powerpc ppc64 s390 s390x sh3 sh3eb sh4 sh4eb sparc
 Depends: ${shlibs:Depends}
+Replaces: xawtv (<= 3.95-1)
 Conflicts: suidmanager (<< 0.50)
 Description: tool to configure video4linux drivers
  This is a small tool to configure a video4linux
diff -u xawtv-3.95/debian/patches/00list xawtv-3.95/debian/patches/00list
--- xawtv-3.95/debian/patches/00list
+++ xawtv-3.95/debian/patches/00list
@@ -5,0 +6 @@
+06_kfreebsd
diff -u xawtv-3.95/debian/rules xawtv-3.95/debian/rules
--- xawtv-3.95/debian/rules
+++ xawtv-3.95/debian/rules
@@ -1,6 +1,7 @@
 #!/usr/bin/make -f
 
 #export DH_VERBOSE=1
+DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
 
 export CFLAGS = -Wall -g
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
@@ -25,7 +26,7 @@
 clean: unpatch
dh_testdir
dh_testroot
-   rm -f build-stamp
+   rm -f build-stamp debian/xawtv-plugins.install.kfreebsd*
 
[ ! -f Makefile ] || $(MAKE) distclean
 
@@ -39,7 +40,11 @@
 
$(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
 
-   dh_install
+   grep -v v4l debian/xawtv-plugins.install>  
debian/xawtv-plugins.install.kfreebsd-i386
+   echo "debian/tmp/usr/lib/xawtv/drv0-bsd.so" >> 
debian/xawtv-plugins.install.kfreebsd-i386
+   cp debian/xawtv-plugins.install.kfreebsd-i386 
debian/xawtv-plugins.install.kfreebsd-amd64
+
+   dh_install -s
 
# fix v4l-conf suid-root lintian warning
mkdir -p debian/v4l-conf/usr/share/lintian/overrides
@@ -59,11 +64,15 @@
dh_strip
dh_compress
dh_fixperms -Xv4l-conf
-   dh_installdeb
-   dh_shlibdeps
-   dh_gencontrol
-   dh_md5sums
-   dh_builddeb
+   dh_installdeb -s
+   dh_shlibdeps -s
+ifeq (linux,$(DEB_HOST_ARCH_OS))
+   dh_gencontrol -s -- -Vvideoconf="v4l-conf"
+else
+   dh_gencontrol -s
+endif
+   dh_md5sums -s
+   dh_builddeb -s
 
 binary: binary-indep binary-arch
 .PHONY: build clean binary-indep binary-arch binary install
diff -u xawtv-3.95/debian/v4l-conf.install xawtv-3.95/debian/v4l-conf.install
--- xawtv-3.95/debian/v4l-conf.install
+++ xawtv-3.95/debian/v4l-conf.install
@@ -3,0 +4,2 @@
+debian/tmp/usr/bin/v4l-info
+debian/tmp/usr/share/man/man1/v4l-info.1
diff -u xawtv-3.95/debian/xawtv.install xawtv-3.95/debian/xawtv.install
--- xawtv-3.95/debian/xawtv.install
+++ xawtv-3.95/debian/xawtv.install
@@ -4,7 +4,6 @@
 debian/tmp/usr/bin/rootv
 debian/tmp/usr/bin/ntsc-cc
 debian/tmp/usr/bin/subtitles
-debian

Bug#401351: fbdesk(GNU/k*BSD): FTBFS: out of date libtool scripts

2006-12-02 Thread Petr Salinger

Package: fbdesk
Severity: important
Version: 1.1.5-3
Tags: patch


Hi,

the current version of fbdesk fails to build on GNU/kFreeBSD,
because of outdated libtool.

The version of libtool used in fbdesk is too old to correctly
support Debian GNU/k*BSD, libtool 1.5.2-1 or later is need.

Please copy attached acinclude.m4 into top dir of your package
and perform following steps

  libtoolize -c -f
  aclocal-1.7
  autoheader
  automake-1.7
  autoconf

It would also be nice if you can ask upstream to update libtool
in their next release.

Thanks in advance

 Petr
# xft.m4
# Copyright (c) 2002 Henrik Kinnunen (fluxgen at linuxmail.org)

# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the 
# Software is furnished to do so, subject to the following conditions:

# The above copyright notice and this permission notice shall be included in 
# all copies or substantial portions of the Software. 

# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL 
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 
# DEALINGS IN THE SOFTWARE.

# AM_PATH_XFT1([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
AC_DEFUN(AM_PATH_XFT1,
[
AC_CHECK_LIB(Xft, XftFontOpen,
XFT_LIBS="-lXft"
[$1],
[$2]
)
])

# AM_PATH_XFT2([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
AC_DEFUN(AM_PATH_XFT2,
[
if test x$pkg_exec_prefix != x ; then
   xft_args="$xft_args --exec-prefix=$pkg_exec_prefix"
   if test x${PKG_CONFIG+set} != xset ; then
   PKG_CONFIG=$pkg_exec_prefix/bin/pkg-config
fi
fi

if test x$xft_prefix != x ; then
   xft_args="$xft_args --prefix=$xft_prefix"
   if test x${PKG_CONFIG+set} != xset ; then
  PKG_CONFIG=$xft_prefix/bin/pkg-config   
   fi
fi

AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
if test "x$PKG_CONFIG" = "xno" ; then
ifelse([$2], , :, [$2])
else 
XFT_CFLAGS=`$PKG_CONFIG $xftconf_args --cflags xft`
XFT_LIBS=`$PKG_CONFIG $xftconf_args --libs xft`
ifelse([$1], , :, [$1])
fi

])

# AM_PATH_XFT(default-value, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
# Test for Xft, and define XFT_CFLAGS and XFT_LIBS
AC_DEFUN(AM_PATH_XFT,
[
 AC_ARG_WITH(xft-prefix,[  --with-xft-prefix=path  Prefix where Xft is 
installed (optional)],
xft_prefix="$withval", xft_prefix="")
 AC_ARG_WITH(pkg-exec-prefix,[  --with-pkg-exec-prefix=path Exec prefix where 
pkg-config is installed (optional)],
pkg_exec_prefix="$withval", pkg_exec_prefix="")
 AC_ARG_ENABLE(xft, [  --enable-xftXft (antialias) support 
(default=$1)],
if test "x$enableval" = "xyes"; then
TRY_XFT=yes
else
TRY_XFT=no
fi
,
TRY_XFT=$1
 )

if test "x$TRY_XFT" = "xyes"; then
AC_MSG_RESULT(yes)
AM_PATH_XFT2(
[$2],
# xft2 failed: try xft1
AM_PATH_XFT1(
[$2],
[$3]
AC_MSG_RESULT([Cant find Xft libraries! Disabling Xft]))
)
else
AC_MSG_RESULT(no)
[$3]
fi

CFLAGS="$CFLAGS $XFT_CFLAGS"
CXXFLAGS="$CXXFLAGS $XFT_CFLAGS"
LIBS="$LIBS $XFT_LIBS"

])



Bug#401514: unalz: FTBFS on GNU/kFreeBSD

2006-12-03 Thread Petr Salinger

Package: unalz
Severity: important
Version: 0.55-2
Tags: patch


Hi,

the current version fails to build on GNU/kFreeBSD.

It needs small tweaks, see bellow.
The patch should fix also hurd.

It would also be nice if you can ask upstream
to include this changes.

Thanks in advance

Petr

--- UnAlz.cpp~  2006-12-04 07:29:09.0 +0100
+++ UnAlz.cpp   2006-12-04 07:29:09.0 +0100
@@ -26,7 +26,7 @@
 #  include 
 #endif

-#ifdef __linux__   // __BYTE_ORDER °ĄÁŽżŔąâ
+#if defined(__linux__) || defined(__GLIBC__) || defined(__GNU__)
 #  include// iconv.h ś§šŽżĄ ÇĘżä
 #endif
@@ -64,7 
+64,7 @@

 #endif


-#ifdef __linux__
+#if defined(__linux__) || defined(__GLIBC__) || defined(__GNU__)
 #  include 
 #  if __BYTE_ORDER == __BIG_ENDIAN
inline UINT16   unalz_le16toh(UINT16 a){return swapint16(a);}


Bug#403772: netcdf: FTBFS on GNU/kFreeBSD

2006-12-19 Thread Petr Salinger

Package: netcdf
Severity: important
Version: 3.6.1-0.1
Tags: patch


Hi,

the current version fails to build on GNU/kFreeBSD.

It needs updated config.guess, config.sub
and small tweak for aclocal.m4/configure, see bellow.

For config.guess and config.sub is needed a version
from last year, which is available in the autotools-dev
packages that are in current sarge, etch and sid.

You can simply copy them manually, but it can also be done
automatically using the method described in
/usr/share/doc/autotools-dev/README.Debian.gz

Please, update all occurences of config.sub/config.guess,
"find . -name config.sub -o -name config.guess" is your friend.

It would also be nice if you can ask upstream
to include this changes.

Thanks in advance

Petr



--- src/aclocal.m4~ 2006-12-19 19:24:13.0 +0100
+++ src/aclocal.m4  2006-12-19 19:24:13.0 +0100
@@ -945,7 +945,7 @@
 #
 WHATIS=whatis
 case `uname -sr` in
-   BSD/OS*|FreeBSD*)
+   BSD/OS*|*FreeBSD*)
# Can't generate a user-database -- only /usr/share/man/whatis.db.
MAKEWHATIS_CMD=
;;



--- src/configure~  2006-12-19 19:25:17.0 +0100
+++ src/configure   2006-12-19 19:25:17.0 +0100
@@ -11009,7 +11009,7 @@
 #
 WHATIS=whatis
 case `uname -sr` in
-   BSD/OS*|FreeBSD*)
+   BSD/OS*|*FreeBSD*)
# Can't generate a user-database -- only /usr/share/man/whatis.db.
MAKEWHATIS_CMD=
;;



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#403819: xbox-raincoat: FTBFS on GNU/kFreeBSD

2006-12-19 Thread Petr Salinger

Package: xbox-raincoat
Severity: important
Version: 0.10-3
Tags: patch


Hi,

the current version fails to build on GNU/kFreeBSD.

It needs small tweaks, see bellow.

Thanks in advance

Petr


--- xbox-raincoat-0.10.orig/src/raincoat.c
+++ xbox-raincoat-0.10/src/raincoat.c
@@ -152,7 +152,7 @@
char szFilepathProgram[256]="";
char szFilepathReadback[256]="";
int fileMem;
-#if defined(__FreeBSD__)
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
int fileIO;
 #endif
char szConfigFile[1024];
@@ -200,7 +200,7 @@
if (iopl (3))
 #elif defined(NetBSD)
if (i386_iopl (3))
-#elif defined(__FreeBSD__)
+#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
fileIO = open ("/dev/io", O_RDWR);
if (fileIO < 0)
 #else
@@ -570,7 +570,7 @@

munmap((void *)objectflash.m_pbMemoryMappedStartAddress, 0x100);
close(fileMem);
-#if defined(__FreeBSD__)
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
close(fileIO);
 #endif



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]