[Pkg-kde-extras] Bug#893515: digikam: FTBFS with kdepim 17.12.2

2018-04-12 Thread peter green

tags 893515 +patch
thanks


I am currently doing a final build with the changes, assuming it suceeds I will 
upload it to Raspbian and post a
debdiff to this bug.

debdiff can be found at 
http://debdiffs.raspbian.org/main/d/digikam/digikam_5.7.0-2+rpi1.debdiff

___
pkg-kde-extras mailing list
pkg-kde-extras@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-kde-extras


[Pkg-kde-extras] Bug#893515: digikam: FTBFS with kdepim 17.12.2

2018-04-11 Thread peter green

This was blocking stuff up in Raspbian buster so I decided to take a look.

I decided to base my work on the version currently in Debian experimental.

First of all I reduced the exiv2 dependency in both the Debian packaging and 
the upstream cmake to 0.25.

I then turned my attention to the kdepim problem. After some time messing 
around with upstreams broken git history I was able to locate the relevent 
patches, merge them together and fix-up the filepaths. They then applied 
cleanly.

I then ran into another build failure.

In file included from /usr/include/c++/7/cmath:45:0,
 from /usr/include/c++/7/math.h:36,
 from 
/digikam-5.7.0/core/libs/rawengine/libraw/internal/dcraw_common.cpp:22:
/usr/include/arm-linux-gnueabihf/bits/mathcalls.h:140:1: note: candidate: 
_Float64 powf64(_Float64, _Float64)
 __MATHCALL_VEC (pow,, (_Mdouble_ __x, _Mdouble_ __y));
 ^
/digikam-5.7.0/core/libs/rawengine/libraw/internal/dcraw_common.cpp:5752:14: 
note: candidate: float powf64(float, float)
 static float powf64(float a, float b)

it looks like there is a conflict between a function called "powf64" in the dcraw code in 
digikam and a "powf64" function in the kernel headers upstream fixed this by renaming 
powf64 to libraw_powf64, I did the same. In this case since it was a simple rename I did not bother 
going digging for the original upstream patch.

I am currently doing a final build with the changes, assuming it suceeds I will 
upload it to Raspbian and post a
debdiff to this bug.

No intent to NMU in Debian.

___
pkg-kde-extras mailing list
pkg-kde-extras@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-kde-extras


[Pkg-kde-extras] Bug#886558: audex: build-depends on cruft packages libkcddb-dev and libkcompactdisc-dev

2018-01-07 Thread peter green

Package: audex
Severity: serious
Tags: buster,sid

audex build-depends on libkcddb-dev and libkcompactdisc-dev which are no longer 
built by the libkcddb and libkcompactdisc source packages.

It seems that both of those source packages are now only building qt5 versions 
of their libraries. So if audex is going to stay around it needs to be ported 
to qt5.

___
pkg-kde-extras mailing list
pkg-kde-extras@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-kde-extras


[Pkg-kde-extras] Bug#869929: partitionmanager depends and build-depends on cruft packages.

2017-07-27 Thread peter green

Package: partitionmanager
Severity: serious
Tags: buster sid
Version: 3.0.1-1

Partitionmanager depends and build-depends on libkpmcore4 and libkpmcore4-dev 
respectively. These packages are no longer built by the kpmcore source package 
(they appear to have been replaced by libkpmcore5 and libkpmcore-dev).

___
pkg-kde-extras mailing list
pkg-kde-extras@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-kde-extras


[Pkg-kde-extras] Bug#806917: ktp-call-ui: build-depends on cruft package

2015-12-02 Thread peter green

Package: ktp-call-ui
Version: 0.9.0-2
Severity: serious

The version of your package in sid build-depends on 
libktpcommoninternalsprivate-dev which is no longer built by the 
ktp-common-internals source package in sid.


It looks like you need to upload the experimental version of this 
package to sid so that the transition can complete.


___
pkg-kde-extras mailing list
pkg-kde-extras@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-kde-extras


[Pkg-kde-extras] Bug#760231: amarok: FTBFS on kfreebsd-amd64

2014-09-13 Thread peter green

Just to inform you we have also encountered this error in raspbian.

http://buildd.raspbian.org/status/fetch.php?pkg=amarokarch=armhfver=2.8.0-2.1%2Bb1stamp=1410479588 


___
pkg-kde-extras mailing list
pkg-kde-extras@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-kde-extras


[Pkg-kde-extras] Bug#724180: bespin: FTBFS: dpkg-source: error: can't build with source format '3.0 (native)': native package version may not have a revision

2013-11-27 Thread peter green

peter green wrote:

I just uploaded a NMU for bespin to delayed/5.

There were no changes to the source itself, the only changes were to 
use a version number ( 0.r1552+nmu1 ) which is compatible with 3.0 
(native) and to rebuild against current sid (in particular against the 
new kde-workspace).

Oops, forgot to attatch the debdiff, doing so now.
diff -Nru bespin-0.r1552/debian/changelog bespin-0.r1552+nmu1/debian/changelog
--- bespin-0.r1552/debian/changelog 2012-06-25 13:07:56.0 +0100
+++ bespin-0.r1552+nmu1/debian/changelog2013-11-27 01:33:50.0 
+
@@ -1,3 +1,11 @@
+bespin (0.r1552+nmu1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Use a version number that is compatible with 3.0 (native) (Closes: 724180)
+  * Rebuild for new kde-workspace
+
+ -- Peter Michael Green plugw...@debian.org  Wed, 27 Nov 2013 01:13:06 +
+
 bespin (0.r1552-1) unstable; urgency=low
 
   * New release SVN@1552 
___
pkg-kde-extras mailing list
pkg-kde-extras@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-kde-extras

[Pkg-kde-extras] Bug#675892: smb4k FTBFS on armel and armhf qreal VS double issues

2012-06-03 Thread peter green

Package: smb4k
Severity: important
Tags: patch

Smb4k failed to build on the armel and armhf autobuilders with the following 
error.

cd /build/buildd-smb4k_1.0.1-1-armel-kH7YB_/smb4k-1.0.1/obj-arm-linux-gnueabi/core 
 /usr/bin/c++   -DMAKE_SMB4KCORE_LIB -D_BSD_SOURCE -D_XOPEN_SOURCE=500 
-D_BSD_SOURCE -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS 
-DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=40 -g -O2 -fstack-protector --param=ssp-buffer-size=4 
-Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -Wnon-virtual-dtor -Wno-long-long 
-ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security 
-fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual 
-fno-threadsafe-statics -fvisibility=hidden -Werror=return-type 
-fvisibility-inlines-hidden -DNDEBUG -DQT_NO_DEBUG -fPIC 
-I/build/buildd-smb4k_1.0.1-1-armel-kH7YB_/smb4k-1.0.1/obj-arm-linux-gnueabi/core 
-I/build/buildd-smb4k_1.0.1-1-armel-kH7YB_/smb4k-1.0.1/core 
-I/build/buildd-smb4k_1.0.1-1-armel-kH7YB_/smb4k-1.0.1 
-I/build/buildd-smb4k_1.0.1-1-armel-kH7YB_/smb4k-1.0.1/obj-arm-linux-gnueabi 
-I/usr/include/KDE -I/usr/include/qt4/phonon -I/usr/include/qt4/QtXmlPatterns 
-I/usr/include/qt4/QtXml -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest 
-I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtScriptTools 
-I/usr/include/qt4/QtScript -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtHelp 
-I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative 
-I/usr/include/qt4/QtDBus -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui 
-I/usr/include/qt4/QtCore -I/usr/include/qt4/Qt -I/usr/share/qt4/mkspecs/default 
-I/usr/include/qt4-D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o 
CMakeFiles/smb4kcore.dir/smb4kshare.o -c 
/build/buildd-smb4k_1.0.1-1-armel-kH7YB_/smb4k-1.0.1/core/smb4kshare.cpp
/build/buildd-smb4k_1.0.1-1-armel-kH7YB_/smb4k-1.0.1/core/smb4kshare.cpp: In 
member function 'QString Smb4KShare::totalDiskSpaceString() const':
/build/buildd-smb4k_1.0.1-1-armel-kH7YB_/smb4k-1.0.1/core/smb4kshare.cpp:482:50:
 error: cannot convert 'qreal* {aka float*}' to 'double*' for argument '2' to 
'double modf(double, double*)'
/build/buildd-smb4k_1.0.1-1-armel-kH7YB_/smb4k-1.0.1/core/smb4kshare.cpp: In 
member function 'QString Smb4KShare::freeDiskSpaceString() const':
/build/buildd-smb4k_1.0.1-1-armel-kH7YB_/smb4k-1.0.1/core/smb4kshare.cpp:539:50:
 error: cannot convert 'qreal* {aka float*}' to 'double*' for argument '2' to 
'double modf(double, double*)'
/build/buildd-smb4k_1.0.1-1-armel-kH7YB_/smb4k-1.0.1/core/smb4kshare.cpp: In 
member function 'QString Smb4KShare::usedDiskSpaceString() const':
/build/buildd-smb4k_1.0.1-1-armel-kH7YB_/smb4k-1.0.1/core/smb4kshare.cpp:596:50:
 error: cannot convert 'qreal* {aka float*}' to 'double*' for argument '2' to 
'double modf(double, double*)'
make[3]: *** [core/CMakeFiles/smb4kcore.dir/smb4kshare.o] Error 1

On most architectures qreal is defined as double but on arm architectures it is
defined as float. Assignments between qreal and double are ok because 
assignments
between float and double are ok. But assignments between pointers to qreal and
pointers to double are not ok. There can also be issues with templates and 
overloaded functions.


The fix is pretty trivial, just a matter of tweaking some variable definitions.
Patch is attatched.

Description: Fix qreal vs double issues.
 The code in smb4kshare.cpp tries to pass pointers to qreal to functions
 expecting pointers to double. This breaks on arm architectures where
 qreal is defined as float.

 The patch fixes the issue by changing variable declarations.
Author: Fathi Boudra f...@debian.org
Bug-Debian: http://bugs.debian.org/638162

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: vendor|upstream|other, url of original patch
Bug: url in upstream bugtracker
Bug-Debian: http://bugs.debian.org/bugnumber
Bug-Ubuntu: https://launchpad.net/bugs/bugnumber
Forwarded: no|not-needed|url proving that it has been forwarded
Reviewed-By: name and email of someone who approved the patch
Last-Update: -MM-DD

--- smb4k-1.0.1.orig/core/smb4kshare.cpp
+++ smb4k-1.0.1/core/smb4kshare.cpp
@@ -475,7 +475,7 @@ QString Smb4KShare::totalDiskSpaceString
   QString total, total_dim = QString();
 
   int exponent = 0;
-  qreal tmp_factor = 0;
+  double tmp_factor = 0;
   qulonglong factor = 0;
 
   (void) frexp( m_total * 1024, exponent );
@@ -532,7 +532,7 @@ QString Smb4KShare::freeDiskSpaceString(
   QString free, free_dim = QString();
 
   int exponent = 0;
-  qreal tmp_factor = 0;
+  double tmp_factor = 0;
   qulonglong factor = 0;
 
   (void) frexp( m_free * 1024, exponent );
@@ -589,7 +589,7 @@ QString Smb4KShare::usedDiskSpaceString(
   QString used, used_dim = QString();
 
   int exponent 

[Pkg-kde-extras] Bug#669098: qapt FTBFS MD5Summation and debMD5 undeclared

2012-04-17 Thread peter green

Package: qapt
Version: 1.3.0-1

from the armel build log

cd /build/buildd-qapt_1.3.0-1+b1-armel-vECdlq/qapt-1.3.0/obj-arm-linux-gnueabi/src 
 /usr/bin/c++   -Dqapt_EXPORTS -g -O2 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security  
-std=c++0x -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden 
-fPIC -I/build/buildd-qapt_1.3.0-1+b1-armel-vECdlq/qapt-1.3.0 
-I/build/buildd-qapt_1.3.0-1+b1-armel-vECdlq/qapt-1.3.0/obj-arm-linux-gnueabi 
-I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtDBus 
-I/usr/include/polkit-qt-1 -I/build/buildd-qapt_1.3.0-1+b1-armel-vECdlq/qapt-1.3.0/src 
-I/build/buildd-qapt_1.3.0-1+b1-armel-vECdlq/qapt-1.3.0/obj-arm-linux-gnueabi/src-o 
CMakeFiles/qapt.dir/debfile.o -c 
/build/buildd-qapt_1.3.0-1+b1-armel-vECdlq/qapt-1.3.0/src/debfile.cpp
/build/buildd-qapt_1.3.0-1+b1-armel-vECdlq/qapt-1.3.0/src/debfile.cpp: In 
member function 'QByteArray QApt::DebFile::md5Sum() const':
/build/buildd-qapt_1.3.0-1+b1-armel-vECdlq/qapt-1.3.0/src/debfile.cpp:187:5: 
error: 'MD5Summation' was not declared in this scope
/build/buildd-qapt_1.3.0-1+b1-armel-vECdlq/qapt-1.3.0/src/debfile.cpp:187:18: 
error: expected ';' before 'debMD5'
/build/buildd-qapt_1.3.0-1+b1-armel-vECdlq/qapt-1.3.0/src/debfile.cpp:191:5: 
error: 'debMD5' was not declared in this scope
make[3]: *** [src/CMakeFiles/qapt.dir/debfile.o] Error 1

Many (perhaps all, I haven't taken a detailed look at all the paralell build 
logs) other architectures are failing in the same way.




___
pkg-kde-extras mailing list
pkg-kde-extras@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-kde-extras


[Pkg-kde-extras] Bug#667700: digikam FTBFS on armel and armhf due to not maintaining proper distinctions between double and qreal

2012-04-05 Thread peter green

package: digikam
severity: serious
tags: patch
version: 4:2.6.0~beta2-2

The latest upload of digikam failed on armel and armhf with
the following erors


cd 
/build/buildd-digikam_2.6.0~beta2-2-armhf-ef6tKS/digikam-2.6.0~beta2/obj-arm-linux-gnueabihf/extra/kipi-plugins/photolayoutseditor
  /usr/bin/c++   -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DQT_NO_STL -DQT_NO_CAST_TO_ASCII 
-D_REENTRANT -DKDE_DEPRECATED_WARNINGS -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=48 -DKDE_DEFAULT_DEBUG_AREA=51000 
-DAREA_CODE_GENERAL=51000 -DAREA_CODE_LOADING=51001 -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS 
-Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith 
-Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual 
-fno-threadsafe-statics -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -DNDEBUG 
-DQT_NO_DEBUG 
-I/build/buildd-digikam_2.6.0~beta2-2-armhf-ef6tKS/digikam-2.6.0~beta2/obj-arm-linux-gnueabihf/extra/kipi-plugins/photolayoutseditor
 -I/build/buildd-digikam_2.6.0~beta2-2-armhf-ef6tKS/digikam-2.6.0~beta2/extra/kipi-

plugins/photolayoutseditor -I/build/buildd-digikam_2.6.0~beta2-2-armhf-ef6tKS/digikam-2.6.0~beta2/extra/kipi-plugins/common/libkipiplugins 
-I/build/buildd-digikam_2.6.0~beta2-2-armhf-ef6tKS/digikam-2.6.0~beta2/obj-arm-linux-gnueabihf/extra/kipi-plugins/common/libkipiplugins 
-I/build/buildd-digikam_2.6.0~beta2-2-armhf-ef6tKS/digikam-2.6.0~beta2/extra/kipi-plugins/common/libkipiplugins/dialogs 
-I/build/buildd-digikam_2.6.0~beta2-2-armhf-ef6tKS/digikam-2.6.0~beta2/obj-arm-linux-gnueabihf/extra/kipi-plugins/common/libkipiplugins/dialogs 
-I/build/buildd-digikam_2.6.0~beta2-2-armhf-ef6tKS/digikam-2.6.0~beta2/extra/kipi-plugins/common/libkipiplugins/widgets 
-I/build/buildd-digikam_2.6.0~beta2-2-armhf-ef6tKS/digikam-2.6.0~beta2/obj-arm-linux-gnueabihf/extra/kipi-plugins/common/libkipiplugins/widgets 
-I/build/buildd-digikam_2.6.0~beta2-2-armhf-ef6tKS/digikam-2.6.0~beta2/extra/kipi-plugins/common/libkipiplugins/tools 
-I/build/buildd-digikam_2.6.0~beta2-2-armhf-ef6tKS/di
gikam-2.6.0~beta2/obj-arm-linux-gnueabihf/extra/kipi-plugins/common/libkipiplugins/tools 
-I/build/buildd-digikam_2.6.0~beta2-2-armhf-ef6tKS/digikam-2.6.0~beta2/extra/kipi-plugins/common/libkipiplugins/tools/threads 
-I/build/buildd-digikam_2.6.0~beta2-2-armhf-ef6tKS/digikam-2.6.0~beta2/obj-arm-linux-gnueabihf/extra/kipi-plugins/common/libkipiplugins/tools/threads
 -I/build/buildd-digikam_2.6.0~beta2-2-armhf-ef6tKS/digikam-2.6.0~beta2/extra/kipi-plugins/common/libkipiplugins/tools/imageio 
-I/build/buildd-digikam_2.6.0~beta2-2-armhf-ef6tKS/digikam-2.6.0~beta2/obj-arm-linux-gnueabihf/extra/kipi-plugins/common/libkipiplugins/tools/imageio
 -I/build/buildd-digikam_2.6.0~beta2-2-armhf-ef6tKS/digikam-2.6.0~beta2/extra/kipi-plugins/photolayoutseditor/borders 
-I/build/buildd-digikam_2.6.0~beta2-2-armhf-ef6tKS/digikam-2.6.0~beta2/extra/kipi-plugins/photolayoutseditor/borderplugins 
-I/build/buildd-digikam_2.6.0~beta2-2-armhf-ef6tKS/digikam-2.6.0~beta2/extra/kipi-plugins/photo
layoutseditor/borderplugins/polaroid 
-I/build/buildd-digikam_2.6.0~beta2-2-armhf-ef6tKS/digikam-2.6.0~beta2/extra/kipi-plugins/photolayoutseditor/borderplugins/solid 
-I/build/buildd-digikam_2.6.0~beta2-2-armhf-ef6tKS/digikam-2.6.0~beta2/extra/kipi-plugins/photolayoutseditor/effects 
-I/build/buildd-digikam_2.6.0~beta2-2-armhf-ef6tKS/digikam-2.6.0~beta2/extra/kipi-plugins/photolayoutseditor/effectplugins 
-I/build/buildd-digikam_2.6.0~beta2-2-armhf-ef6tKS/digikam-2.6.0~beta2/extra/kipi-plugins/photolayoutseditor/effectplugins/blur 
-I/build/buildd-digikam_2.6.0~beta2-2-armhf-ef6tKS/digikam-2.6.0~beta2/extra/kipi-plugins/photolayoutseditor/effectplugins/colorize 
-I/build/buildd-digikam_2.6.0~beta2-2-armhf-ef6tKS/digikam-2.6.0~beta2/extra/kipi-plugins/photolayoutseditor/effectplugins/grayscale 
-I/build/buildd-digikam_2.6.0~beta2-2-armhf-ef6tKS/digikam-2.6.0~beta2/extra/kipi-plugins/photolayoutseditor/effectplugins/sepia 
-I/build/buildd-digikam_2.6.0~beta2-2-armhf-ef
6tKS/digikam-2.6.0~beta2/extra/kipi-plugins/photolayoutseditor/effectplugins/negative 
-I/build/buildd-digikam_2.6.0~beta2-2-armhf-ef6tKS/digikam-2.6.0~beta2/extra/kipi-plugins/photolayoutseditor/events 
-I/build/buildd-digikam_2.6.0~beta2-2-armhf-ef6tKS/digikam-2.6.0~beta2/extra/kipi-plugins/photolayoutseditor/listeners 
-I/build/buildd-digikam_2.6.0~beta2-2-armhf-ef6tKS/digikam-2.6.0~beta2/extra/kipi-plugins/photolayoutseditor/models 
-I/build/buildd-digikam_2.6.0~beta2-2-armhf-ef6tKS/digikam-2.6.0~beta2/extra/kipi-plugins/photolayoutseditor/plugin 
-I/build/buildd-digikam_2.6.0~beta2-2-armhf-ef6tKS/digikam-2.6.0~beta2/extra/kipi-plugins/photolayoutseditor/settings 
-I/build/buildd-digikam_2.6.0~beta2-2-armhf-ef6tKS/digikam-2.6.0~beta2/extra/kipi-plugins/photolayoutseditor/threads 

[Pkg-kde-extras] Bug#654619: kipi-plugins: FTBFS on armhf, reproduced on sid amd64: /usr/bin/ld:, cannot find -lopencv_gpu

2012-01-04 Thread peter green

tags 654619 +patch
thanks


kipi-plugins FTBFS on armhf, but I was able to reproduce this on a sid
amd64, due to missing library at link time:

/usr/bin/ld: cannot find -lopencv_gpu


libopencv_gpu is provided by /libopencv-gpu-dev the package builds fine
if it is installed. Please add it to the build-depends or otherwise fix
this bug
/




___
pkg-kde-extras mailing list
pkg-kde-extras@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-kde-extras


[Pkg-kde-extras] Bug#640956: FTBFS: index.docbook:1061: element book: validity error : No, declaration for element book

2011-11-05 Thread peter green

tags 640956 +patch
thanks

Patch and series file are attatched just create debian/patches and drop 
them in (the package uses 3.0 (quilt) but doesn't currently have any 
patches).



Description: bump DTD version to fix FTBFS
 The DTD version in index.docbook doesn't match the DTD debian ships
 which seems to cause a FTBFS. This patch fixes the version in 
 index.docbook to match the DTD
 Fix inspired by the one for http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=628318
Author: Peter Green plugw...@p10link.net
Bug-Debian: http://bugs.debian.org/640956

--- komparator-0.3.orig/doc/index.docbook
+++ komparator-0.3/doc/index.docbook
@@ -1,5 +1,5 @@
 ?xml version=1.0 ?
-!DOCTYPE book PUBLIC -//KDE//DTD DocBook XML V4.1.2-Based Variant V1.1//EN dtd/kdex.dtd [
+!DOCTYPE book PUBLIC -//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN dtd/kdex.dtd [
   !ENTITY komparator4 applicationKomparator 4/application
   !ENTITY kappname komparator4;!-- Do *not* replace kappname--
   !ENTITY package kde-module!-- kdebase, kdeadmin, etc --
bump-dtd-version.diff
___
pkg-kde-extras mailing list
pkg-kde-extras@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-kde-extras

[Pkg-kde-extras] Bug#533923: kslovar: FTBFS: configure: error: cannot run /bin/sh, admin/config.sub

2009-06-22 Thread peter green

tags 533923 +sid squeeze
thanks

The package builds fine in lenny but fails in sid and squeeze.

A patch is attatched  which fixes some issues. I don't think patch will 
remove files so you will probablly have to remove debian/patches: 
03_libtool_update.diff  (which is no longer used since the new 
debian/rules updates the libtool stuff at build time) manually. 
Unfortunately the build now fails with undefined reference errors.









Only in kslovar-0.2.7.new/debian/patches: 02_autotools_update.diff.level-1.log
Only in kslovar-0.2.7/debian/patches: 03_libtool_update.diff
Only in kslovar-0.2.7.new/debian/patches: 05_fix_desktop_entry.diff.level-1.log
diff -ur kslovar-0.2.7/debian/rules kslovar-0.2.7.new/debian/rules
--- kslovar-0.2.7/debian/rules	2009-06-22 15:04:41.0 +
+++ kslovar-0.2.7.new/debian/rules	2009-06-22 16:21:28.0 +
@@ -24,3 +24,56 @@
 	@@wget  -nv -T10 -t3 -O ../tarballs/$(UPFILENAME) $(URL)
 	@@echo Converting $(UPFILENAME) to $(FILENAME)
 	@@bzcat ../tarballs/$(UPFILENAME) | gzip -9  ../tarballs/$(FILENAME)
+
+makebuilddir/kslovar::
+	#adjust some symlinks to point to files that actually exist
+	rm -f admin/config.sub
+	ln -s /usr/share/misc/config.sub admin/config.sub
+	rm -f admin/config.guess
+	ln -s /usr/share/misc/config.sub admin/config.guess
+	#regenerate the libtool stuff
+	libtoolize
+	#use the systems version of libtool.m4
+	[ -f admin/libtool.m4.in.bak ] || mv admin/libtool.m4.in admin/libtool.m4.in.bak
+	cp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+
+#for some reason theese files don't seem to get built automatically by the upstream build system when we use debians current autotools, as a workaround
+#build them manually
+configure/kslovar::
+	cd src/configuration  /usr/bin/kconfig_compiler ./kslovar.kcfg ./configuration.kcfgc
+	cd src/configuration/ui  /usr/share/qt3/bin/uic -L /usr/lib/kde3/plugins/designer -nounload ./ksappearancewdt.ui | /usr/bin/perl -pi -e s,public QWizard,public KWizard,g; s,#include qwizard.h,#include kwizard.h,g  ksappearancewdt.h ;
+	cd src/configuration/ui  /usr/share/qt3/bin/uic -L /usr/lib/kde3/plugins/designer -nounload ./ksbehaviourwdt.ui | /usr/bin/perl -pi -e s,public QWizard,public KWizard,g; s,#include qwizard.h,#include kwizard.h,g  ksbehaviourwdt.h ;
+	cd src/configuration/ui  /usr/share/qt3/bin/uic -L /usr/lib/kde3/plugins/designer -nounload ./kswizardwzt.ui | /usr/bin/perl -pi -e s,public QWizard,public KWizard,g; s,#include qwizard.h,#include kwizard.h,g  kswizardwzt.h ;
+	cd src/configuration  /usr/share/qt3/bin/moc ./ksappearance.h -o ksappearance.moc
+	cd src/configuration  /usr/share/qt3/bin/moc ./ksconfigdialog.h -o ksconfigdialog.moc
+	cd src/configuration  /usr/share/qt3/bin/moc ./kswizard.h -o kswizard.moc
+	cd src/handler  /usr/share/qt3/bin/moc ./ksxmlhandler.h -o ksxmlhandler.moc
+	cd src/misc/widget  /usr/share/qt3/bin/moc ./kslistview.h -o kslistview.moc
+	cd src/misc/widget  /usr/share/qt3/bin/moc ./kssearchline.h -o kssearchline.moc
+	cd src/misc/widget  /usr/share/qt3/bin/moc ./kslistviewsearchline.h -o kslistviewsearchline.moc
+	cd src/misc  /usr/share/qt3/bin/moc ./ksdata.h -o ksdata.moc
+	cd src/dialog/ui  /usr/share/qt3/bin/uic -L /usr/lib/kde3/plugins/designer -nounload ./ksphrasewdt.ui | /usr/bin/perl -pi -e s,public QWizard,public KWizard,g; s,#include qwizard.h,#include kwizard.h,g  ksphrasewdt.h ;
+	cd src/dialog/ui  /usr/share/qt3/bin/uic -L /usr/lib/kde3/plugins/designer -nounload ./ksdictionarywdt.ui | /usr/bin/perl -pi -e s,public QWizard,public KWizard,g; s,#include qwizard.h,#include kwizard.h,g  ksdictionarywdt.h ;
+	cd src/dialog/ui  /usr/share/qt3/bin/uic -L /usr/lib/kde3/plugins/designer -nounload ./kslanguagewdt.ui | /usr/bin/perl -pi -e s,public QWizard,public KWizard,g; s,#include qwizard.h,#include kwizard.h,g  kslanguagewdt.h ;
+	cd src/dialog/ui  /usr/share/qt3/bin/uic -L /usr/lib/kde3/plugins/designer -nounload ./ksconversionwdt.ui | /usr/bin/perl -pi -e s,public QWizard,public KWizard,g; s,#include qwizard.h,#include kwizard.h,g  ksconversionwdt.h ;	
+	cd src/dialog/ui  /usr/share/qt3/bin/uic -L /usr/lib/kde3/plugins/designer -nounload ./ksupgrademanagerwdt.ui | /usr/bin/perl -pi -e s,public QWizard,public KWizard,g; s,#include qwizard.h,#include kwizard.h,g  ksupgrademanagerwdt.h ;
+	cd src/dialog  /usr/share/qt3/bin/moc ./ksphrase.h -o ksphrase.moc
+	cd src/dialog  /usr/share/qt3/bin/moc ./ksdictionary.h -o ksdictionary.moc
+	cd src/dialog  /usr/share/qt3/bin/moc ./kslanguage.h -o kslanguage.moc
+	cd src/dialog  /usr/share/qt3/bin/moc ./ksconversion.h -o ksconversion.moc
+	cd src/dialog  /usr/share/qt3/bin/moc ./ksupgrademanager.h -o ksupgrademanager.moc
+	cd src/dialog  /usr/share/qt3/bin/moc ./kscharselect.h -o kscharselect.moc
+	cd src  /usr/share/qt3/bin/moc ./kslovar.h -o kslovar.moc
+
+#undo some changes we made above so we can build multiple times in a row
+clean::
+	rm -f admin/config.sub
+	ln -s /usr/share/libtool/config.sub admin/config.sub
+	rm -f