Bug#511680: soprano: Please package version 2.1.64

2009-01-13 Thread Olivier Berger
Package: soprano
Severity: wishlist

Hi.

Version 2.1.64 seems is packaged for Ubuntu.

Please port that packaging to Debian.

Thanks in advance.

-- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



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



Bug#511680: soprano: Please package version 2.1.64

2009-01-13 Thread Olivier Berger
tags 511680 + patch
thanks

On Tue, Jan 13, 2009 at 01:23:23PM +0100, Olivier Berger wrote:
 
 Version 2.1.64 seems is packaged for Ubuntu.
 
 Please port that packaging to Debian.
 

I made some quick and dirty changes to make it build on my Lenny system (with a 
mix of unstable packages).

Here's the resulting interdiff -z soprano_2.1.64+dfsg.1-0ubuntu1.diff.gz 
soprano_2.1.64+dfsg.1-1.diff.gz

Hope this helps,

diff -u soprano-2.1.64+dfsg.1/debian/rules soprano-2.1.64+dfsg.1/debian/rules
--- soprano-2.1.64+dfsg.1/debian/rules
+++ soprano-2.1.64+dfsg.1/debian/rules
@@ -2,10 +2,12 @@
 
 DEB_DH_MAKESHLIBS_ARGS_libsoprano4 = -V'libsoprano4 (= 2.1.64)'
 
-include /usr/share/cdbs/1/class/kde4.mk
+#include /usr/share/cdbs/1/class/kde4.mk
+include debian/cdbs/kde.mk
 
 build/libsoprano-doc::
-   cp /usr/share/qt4/doc/html/qt.tags $(DEB_BUILDDIR)/qt.tags
+   #cp /usr/share/qt4/doc/html/qt.tags $(DEB_BUILDDIR)/qt.tags
+   cp qt4.tag $(DEB_BUILDDIR)/qt4.tag
cd $(DEB_BUILDDIR)  $(MAKE) apidox
 
 install/libsoprano-doc::
diff -u soprano-2.1.64+dfsg.1/debian/changelog 
soprano-2.1.64+dfsg.1/debian/changelog
--- soprano-2.1.64+dfsg.1/debian/changelog
+++ soprano-2.1.64+dfsg.1/debian/changelog
@@ -1,3 +1,9 @@
+soprano (2.1.64+dfsg.1-1) UNRELEASED; urgency=low
+
+  * Debian version
+
+ -- Olivier Berger olivier.ber...@it-sudparis.eu  Tue, 13 Jan 2009 13:02:25 
+0100
+
 soprano (2.1.64+dfsg.1-0ubuntu1) jaunty; urgency=low
 
   * New upstream release
diff -u soprano-2.1.64+dfsg.1/debian/control 
soprano-2.1.64+dfsg.1/debian/control
--- soprano-2.1.64+dfsg.1/debian/control
+++ soprano-2.1.64+dfsg.1/debian/control
@@ -5,7 +5,7 @@
 XSBC-Original-Maintainer: Debian Qt/KDE Maintainers 
debian-qt-...@lists.debian.org
 Uploaders: Sune Vuorela deb...@pusling.com, Ana Beatriz Guerrero Lopez 
a...@debian.org, Armin Berres trigger+deb...@space-based.de, Fathi Boudra 
f...@debian.org, Matthew Rosewarne mrosewa...@inoutbox.com
 Build-Depends: cdbs (= 0.4.52), debhelper (= 5), cmake (=2.6.0~), quilt,
- libclucene-dev, libqt4-dev (= 4.4.3-1ubuntu4), librdf0-dev, doxygen,
+ libclucene-dev, libqt4-dev (= 4.4.3), librdf0-dev, doxygen,
  graphviz, kdesdk-scripts
 Standards-Version: 3.8.0
 Homepage: http://soprano.sourceforge.net
only in patch2:
unchanged:
--- soprano-2.1.64+dfsg.1.orig/debian/cdbs/kde.mk
+++ soprano-2.1.64+dfsg.1/debian/cdbs/kde.mk
@@ -0,0 +1,73 @@
+include /usr/share/cdbs/1/class/cmake.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+include /usr/share/cdbs/1/rules/utils.mk
+
+# Include default KDE 4 cmake configuration variables
+include debian/cdbs/variables.mk
+# Pass standard KDE 4 flags to cmake via appropriate CDBS variable
+# (DEB_CMAKE_EXTRA_FLAGS)
+DEB_CMAKE_EXTRA_FLAGS += $(DEB_CMAKE_KDE4_FLAGS) $(DEB_CMAKE_CUSTOM_FLAGS)
+
+DEB_COMPRESS_EXCLUDE = .dcl .docbook -license .tag .sty .el
+
+#DEB_CMAKE_PREFIX = /usr/lib/kde4
+DEB_DH_INSTALL_SOURCEDIR = debian/tmp
+#DEB_DH_SHLIBDEPS_ARGS = -l/usr/lib/kde4/lib/
+DEB_KDE_ENABLE_FINAL ?=
+#DEB_MAKE_ENVVARS += XDG_CONFIG_DIRS=/etc/xdg XDG_DATA_DIRS=/usr/share
+#DEB_STRIP_EXCLUDE = so
+
+common-build-arch:: debian/stamp-man-pages
+debian/stamp-man-pages:
+   if ! test -d debian/man/out; then mkdir -p debian/man/out; fi
+   for f in $$(find debian/man -name '*.sgml'); do \
+   docbook-to-man $$f  debian/man/out/`basename $$f .sgml`.1; \
+   done
+   for f in $$(find debian/man -name '*.man'); do \
+   soelim -I debian/man $$f \
+debian/man/out/`basename $$f .man`.`head -n1 $$f | awk 
'{print $$NF}'`; \
+   done
+   touch debian/stamp-man-pages
+
+clean::
+ifndef THIS_SHOULD_GO_TO_UNSTABLE
+   #guard against experimental uploads to unstable
+   dpkg-parsechangelog | grep ^Distribution | grep -q 
'experimental\|UNRELEASED'
+endif
+   rm -rf debian/man/out
+   -rmdir debian/man
+   rm -f debian/stamp-man-pages
+   rm -f CMakeCache.txt
+
+
+$(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%:
+   if test -x /usr/bin/dh_desktop; then dh_desktop -p$(cdbs_curpkg) 
$(DEB_DH_DESKTOP_ARGS); fi
+   if test -e debian/$(cdbs_curpkg).lintian; then \
+   install -p -D -m644 debian/$(cdbs_curpkg).lintian \
+   
debian/$(cdbs_curpkg)/usr/share/lintian/overrides/$(cdbs_curpkg); \
+   fi
+   if test -e debian/$(cdbs_curpkg).presubj; then \
+   install -p -D -m644 debian/$(cdbs_curpkg).presubj \
+   
debian/$(cdbs_curpkg)/usr/share/bug/$(cdbs_curpkg)/presubj; \
+   fi
+
+binary-install/$(DEB_SOURCE_PACKAGE)-doc-html::
+   set -e; \
+   for doc in `cd $(DEB_DESTDIR)/usr/share/doc/kde/HTML/en; find . -name 
index.docbook`; do \
+   pkg=$${doc%/index.docbook}; pkg=$${pkg#./}; \
+   echo Building $$pkg HTML docs...; \
+   mkdir -p 

Bug#511680: soprano: Please package version 2.1.64

2009-01-13 Thread Olivier Berger
On Tue, Jan 13, 2009 at 01:47:16PM +0100, Olivier Berger wrote:
 tags 511680 + patch
 thanks
 
 On Tue, Jan 13, 2009 at 01:23:23PM +0100, Olivier Berger wrote:
  
  Version 2.1.64 seems is packaged for Ubuntu.
  
  Please port that packaging to Debian.
  
 
 I made some quick and dirty changes to make it build on my Lenny system (with 
 a mix of unstable packages).
 
 Here's the resulting interdiff -z soprano_2.1.64+dfsg.1-0ubuntu1.diff.gz 
 soprano_2.1.64+dfsg.1-1.diff.gz
 
 Hope this helps,
 

Actually, it appears I didn't notice that there was already a version packaged 
in http://kde42.debian.net/ :/

Maybe this would be better in experimental so that various debian.org tools get 
knowledge of it ?

Regards,



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