I have created packages for 6.30 and they are working fine. I'm using the source packages used on Fedora from http://sourceforge.net/projects/clipsmm/files/clips/6.30.0.20090722svn/clips-6.30.0.20090722svn.tar.gz

I have attached patch with the differences of the debian directory. The modification have been done by:
- unpacking source linked above
- copy debian dir from previous package
- tweak until I got the 6.30 packages

Something is wrong because the headers show up in the libclips package, and not in the libclips-dev package. It's also not packaging the X shell. I don't need it and I guess you can fix this much faster than I could. I hope the patch gives you a start to invest 10 minutes to get this upgrade into Debian :-)

I have also built clipsmm packages for Debian (pretty trivially with dh_make). Can I send this your way, too, for inclusion?

        Tim

--
    Tim Niemueller <t...@niemueller.de>      www.niemueller.de
=================================================================
 Imagination is more important than knowledge. (Albert Einstein)
diff -urN clips-6.24/debian/changelog clips-6.30.0.20090722svn/debian/changelog
--- clips-6.24/debian/changelog 2011-10-05 07:15:14.000000000 -0700
+++ clips-6.30.0.20090722svn/debian/changelog   2011-10-05 07:19:57.062874305 
-0700
@@ -1,3 +1,9 @@
+clips (6.30-1) unstable; urgency=low
+
+  * Upgrade to 6.30
+
+ -- Tim Niemueller <t...@niemueller.de>  Wed, 05 Oct 2011 16:25:00 +0200
+
 clips (6.24-3) unstable; urgency=low
 
   * Change the upstream page, as it is now http://clipsrules.sourceforge.net/:
diff -urN clips-6.24/debian/clips-common.debhelper.log 
clips-6.30.0.20090722svn/debian/clips-common.debhelper.log
--- clips-6.24/debian/clips-common.debhelper.log        1969-12-31 
16:00:00.000000000 -0800
+++ clips-6.30.0.20090722svn/debian/clips-common.debhelper.log  2011-10-05 
10:35:29.553656785 -0700
@@ -0,0 +1 @@
+dh_installdebconf
diff -urN clips-6.24/debian/clips.debhelper.log 
clips-6.30.0.20090722svn/debian/clips.debhelper.log
--- clips-6.24/debian/clips.debhelper.log       1969-12-31 16:00:00.000000000 
-0800
+++ clips-6.30.0.20090722svn/debian/clips.debhelper.log 2011-10-05 
10:44:19.972864416 -0700
@@ -0,0 +1,19 @@
+dh_installdebconf
+dh_installdirs
+dh_installdirs
+dh_installdocs
+dh_installmenu
+dh_installcron
+dh_installman
+dh_installinfo
+dh_installchangelogs
+dh_link
+dh_strip
+dh_compress
+dh_fixperms
+dh_makeshlibs
+dh_installdeb
+dh_shlibdeps
+dh_gencontrol
+dh_md5sums
+dh_builddeb
diff -urN clips-6.24/debian/clips.substvars 
clips-6.30.0.20090722svn/debian/clips.substvars
--- clips-6.24/debian/clips.substvars   1969-12-31 16:00:00.000000000 -0800
+++ clips-6.30.0.20090722svn/debian/clips.substvars     2011-10-05 
10:44:17.832721785 -0700
@@ -0,0 +1 @@
+misc:Depends=
diff -urN clips-6.24/debian/control clips-6.30.0.20090722svn/debian/control
--- clips-6.24/debian/control   2011-10-05 07:15:14.000000000 -0700
+++ clips-6.30.0.20090722svn/debian/control     2011-10-05 10:38:34.962861377 
-0700
@@ -8,7 +8,7 @@
 
 Package: clips
 Architecture: any
-Depends: clips-common, ${shlibs:Depends} 
+Depends: ${shlibs:Depends} 
 Suggests: clips-doc
 Description: "C" Language Integrated Production System 
  CLIPS 6.0 is an OPS-like forward chaining production system written 
@@ -54,20 +54,20 @@
  .
  This package installs the static libraries and headers.
 
-Package: clips-common
-Architecture: all
-Recommends: clips
-Description: CLIPS common files and examples
- CLIPS 6.0 is an OPS-like forward chaining production system written 
- in ANSI C by NASA. The CLIPS inference engine includes truth maintenance, 
- dynamic rule addition, and customizable conflict resolution strategies. 
- . 
- CLIPS, including the runtime version, is easily embeddable in other
- applications.  CLIPS includes an object-oriented language called COOL
- (CLIPS Object-Oriented Language) which is directly integrated with the
- inference engine.
- .
- This package installs the common files shared by both the text and
- graphics interface, currently it includes both the help file and examples
- of CLIPS programs that can be used to learn the language and test
- the interfaces.
+#Package: clips-common
+#Architecture: all
+#Recommends: clips
+#Description: CLIPS common files and examples
+# CLIPS 6.0 is an OPS-like forward chaining production system written 
+# in ANSI C by NASA. The CLIPS inference engine includes truth maintenance, 
+# dynamic rule addition, and customizable conflict resolution strategies. 
+# . 
+# CLIPS, including the runtime version, is easily embeddable in other
+# applications.  CLIPS includes an object-oriented language called COOL
+# (CLIPS Object-Oriented Language) which is directly integrated with the
+# inference engine.
+# .
+# This package installs the common files shared by both the text and
+# graphics interface, currently it includes both the help file and examples
+# of CLIPS programs that can be used to learn the language and test
+# the interfaces.
diff -urN clips-6.24/debian/files clips-6.30.0.20090722svn/debian/files
--- clips-6.24/debian/files     1969-12-31 16:00:00.000000000 -0800
+++ clips-6.30.0.20090722svn/debian/files       2011-10-05 10:44:18.222717993 
-0700
@@ -0,0 +1,3 @@
+clips_6.30-1_amd64.deb interpreters optional
+libclips_6.30-1_amd64.deb libs optional
+libclips-dev_6.30-1_amd64.deb libdevel optional
diff -urN clips-6.24/debian/libclips.debhelper.log 
clips-6.30.0.20090722svn/debian/libclips.debhelper.log
--- clips-6.24/debian/libclips.debhelper.log    1969-12-31 16:00:00.000000000 
-0800
+++ clips-6.30.0.20090722svn/debian/libclips.debhelper.log      2011-10-05 
10:44:19.972864416 -0700
@@ -0,0 +1,19 @@
+dh_installdebconf
+dh_installdirs
+dh_installdirs
+dh_installdocs
+dh_installmenu
+dh_installcron
+dh_installman
+dh_installinfo
+dh_installchangelogs
+dh_link
+dh_strip
+dh_compress
+dh_fixperms
+dh_makeshlibs
+dh_installdeb
+dh_shlibdeps
+dh_gencontrol
+dh_md5sums
+dh_builddeb
diff -urN clips-6.24/debian/libclips-dev.debhelper.log 
clips-6.30.0.20090722svn/debian/libclips-dev.debhelper.log
--- clips-6.24/debian/libclips-dev.debhelper.log        1969-12-31 
16:00:00.000000000 -0800
+++ clips-6.30.0.20090722svn/debian/libclips-dev.debhelper.log  2011-10-05 
10:44:19.972864416 -0700
@@ -0,0 +1,19 @@
+dh_installdebconf
+dh_installdirs
+dh_installdirs
+dh_installdocs
+dh_installmenu
+dh_installcron
+dh_installman
+dh_installinfo
+dh_installchangelogs
+dh_link
+dh_strip
+dh_compress
+dh_fixperms
+dh_makeshlibs
+dh_installdeb
+dh_shlibdeps
+dh_gencontrol
+dh_md5sums
+dh_builddeb
diff -urN clips-6.24/debian/libclips-dev.substvars 
clips-6.30.0.20090722svn/debian/libclips-dev.substvars
--- clips-6.24/debian/libclips-dev.substvars    1969-12-31 16:00:00.000000000 
-0800
+++ clips-6.30.0.20090722svn/debian/libclips-dev.substvars      2011-10-05 
10:44:18.092718386 -0700
@@ -0,0 +1 @@
+misc:Depends=
diff -urN clips-6.24/debian/libclips.postinst.debhelper 
clips-6.30.0.20090722svn/debian/libclips.postinst.debhelper
--- clips-6.24/debian/libclips.postinst.debhelper       1969-12-31 
16:00:00.000000000 -0800
+++ clips-6.30.0.20090722svn/debian/libclips.postinst.debhelper 2011-10-05 
10:44:16.592768322 -0700
@@ -0,0 +1,5 @@
+# Automatically added by dh_makeshlibs
+if [ "$1" = "configure" ]; then
+       ldconfig
+fi
+# End automatically added section
diff -urN clips-6.24/debian/libclips.postrm.debhelper 
clips-6.30.0.20090722svn/debian/libclips.postrm.debhelper
--- clips-6.24/debian/libclips.postrm.debhelper 1969-12-31 16:00:00.000000000 
-0800
+++ clips-6.30.0.20090722svn/debian/libclips.postrm.debhelper   2011-10-05 
10:44:16.592768322 -0700
@@ -0,0 +1,5 @@
+# Automatically added by dh_makeshlibs
+if [ "$1" = "remove" ]; then
+       ldconfig
+fi
+# End automatically added section
diff -urN clips-6.24/debian/libclips.substvars 
clips-6.30.0.20090722svn/debian/libclips.substvars
--- clips-6.24/debian/libclips.substvars        1969-12-31 16:00:00.000000000 
-0800
+++ clips-6.30.0.20090722svn/debian/libclips.substvars  2011-10-05 
10:44:17.962717932 -0700
@@ -0,0 +1,2 @@
+shlibs:Depends=libc6 (>= 2.11), libncurses5 (>= 5.6+20071006-3), libx11-6 (>= 
0), libxaw7, libxext6, libxmu6, libxt6
+misc:Depends=
diff -urN clips-6.24/debian/rules clips-6.30.0.20090722svn/debian/rules
--- clips-6.24/debian/rules     2011-10-05 07:15:14.000000000 -0700
+++ clips-6.30.0.20090722svn/debian/rules       2011-10-05 10:43:31.742718440 
-0700
@@ -18,56 +18,34 @@
 
 package=clips
 
-clipssrc/configure: clipssrc/configure.in
-       cd clipssrc && autoconf
-       cd clipssrc && chmod a+x ./configure ./mkinstalldirs
-
-x-prjct/xinterface/configure: x-prjct/xinterface/configure.in
-       cd x-prjct/xinterface && autoconf
-
-configure: clipssrc/configure.status
-clipssrc/configure.status:
+configure: clips/configure.status
+clips/configure.status:
        dh_testdir
-       cd clipssrc && sh ./configure --prefix=$(CURDIR)/debian/clips/usr 
-
-configure-x: x-prjct/xinterface/configure.status
-x-prjct/xinterface/configure.status:
-       dh_testdir
-       cd x-prjct/xinterface && sh ./configure  \
-               --prefix=$(CURDIR)/debian/clips/usr/ \
-               --enable-xclips --with-clipssrc=../../clipssrc/ 
-       cd clipssrc && sh ./configure --prefix=$(CURDIR)/debian/xclips/usr 
+       autoconf
+       sh ./configure --prefix=$(CURDIR)/debian/clips/usr 
 
 build: build-stamp
 build-stamp: configure
        dh_testdir
-       cd clipssrc && $(MAKE) -f Makefile clips
-       touch $@
-
-build-x: build-x-stamp
-build-x-stamp: configure-x
-       dh_testdir
-       cd x-prjct/xinterface && $(MAKE) -f Makefile xclips 
+       $(MAKE)
        touch $@
 
 clean:
        dh_testdir
        dh_testroot
-       -rm -f build build-x configure configure-x
-       cd clipssrc && ( $(MAKE) -i distclean || $(MAKE) -f Makefile.in 
distclean )
-       cd x-prjct/xinterface && ( $(MAKE) -i distclean || $(MAKE) -f 
Makefile.in distclean )
-       dh_clean build-stamp build-x-stamp 
-
-install-x: DH_OPTIONS=
-install-x: build-x
-       cd x-prjct/xinterface && $(MAKE) -f Makefile \
-               INSTALL_PROGRAM='install -c -s' \
-               prefix=$(CURDIR)/debian/xclips/usr install-bin 
-       install -m644 Xclips $(CURDIR)/debian/xclips/etc/X11/app-defaults/Xclips
-       # Remove empty dirs created by the install target
-       [ ! -d $(CURDIR)/debian/xclips/usr/share/clips ] || rmdir 
$(CURDIR)/debian/xclips/usr/share/clips
-       # Install desktop file for Xversion
-       install -m 644 debian/xclips.desktop 
$(CURDIR)/debian/xclips/usr/share/applications
+       -rm -f build configure
+       $(MAKE) -i distclean || :
+       dh_clean build-stamp
+
+#install-x: build-x
+#      cd x_window_system/xinterface && $(MAKE) -f Makefile \
+#              INSTALL_PROGRAM='install -c -s' \
+#              prefix=$(CURDIR)/debian/xclips/usr install-bin 
+#      install -m644 Xclips $(CURDIR)/debian/xclips/etc/X11/app-defaults/Xclips
+#      # Remove empty dirs created by the install target
+#      [ ! -d $(CURDIR)/debian/xclips/usr/share/clips ] || rmdir 
$(CURDIR)/debian/xclips/usr/share/clips
+#      # Install desktop file for Xversion
+#      install -m 644 debian/xclips.desktop 
$(CURDIR)/debian/xclips/usr/share/applications
 
 install: DH_OPTIONS=
 install: build
@@ -76,17 +54,17 @@
        dh_installdebconf
        dh_clean -k
        dh_installdirs -a
-       cd clipssrc && $(MAKE) -f Makefile INSTALL_PROGRAM='install -c -s' \
-               prefix=$(CURDIR)/debian/libclips/usr install-libs
+       $(MAKE) -f Makefile INSTALL_PROGRAM='install -c -s' \
+               prefix=$(CURDIR)/debian/libclips/usr install
        # Fix for lib files
-       rm `pwd`/debian/libclips/usr/lib/libclips.a 
-       rm `pwd`/debian/libclips/usr/lib/libclips.so
-       cd clipssrc && $(MAKE) -f Makefile INSTALL_PROGRAM='install -c -s' \
-               prefix=$(CURDIR)/debian/clips/usr install-bin
-       cd clipssrc && $(MAKE) -f Makefile INSTALL_PROGRAM='install -c -s' \
-               prefix=$(CURDIR)/debian/libclips-dev/usr install-includes
-       install -m655 clipssrc/libclips.a `pwd`/debian/libclips-dev/usr/lib/
-       [ ! -e `pwd`/debian/libclips-dev/usr/lib/libclips.so ] || ( cd 
`pwd`/debian/libclips-dev/usr/lib && ln -s libclips.so.6.24 libclips.so )
+       #rm `pwd`/debian/libclips/usr/lib/libclips.a 
+       #rm `pwd`/debian/libclips/usr/lib/libclips.so
+#      $(MAKE) -f Makefile INSTALL_PROGRAM='install -c -s' \
+#              prefix=$(CURDIR)/debian/clips/usr install-bin
+#      $(MAKE) -f Makefile INSTALL_PROGRAM='install -c -s' \
+#              prefix=$(CURDIR)/debian/libclips-dev/usr install-includes
+#      install -m655 clips/libclips.a `pwd`/debian/libclips-dev/usr/lib/
+#      [ ! -e `pwd`/debian/libclips-dev/usr/lib/libclips.so ] || ( cd 
`pwd`/debian/libclips-dev/usr/lib && ln -s libclips.so.6.30 libclips.so )
        # Remove empty dirs created by the install target
        [ ! -d $(CURDIR)/debian/clips/usr/share/clips ] || rmdir 
$(CURDIR)/debian/clips/usr/share/clips
        [ ! -d $(CURDIR)/debian/libclips-dev/usr/share/doc/clips ] || rmdir 
$(CURDIR)/debian/libclips-dev/usr/share/doc/clips
@@ -95,25 +73,25 @@
        install -m 644 debian/clips.desktop 
$(CURDIR)/debian/clips/usr/share/applications
 
 
-binary-indep: DH_OPTIONS=-i
-binary-indep: 
-       dh_testdir
-       dh_testroot
-       dh_installdirs
-       dh_installdocs 
-       dh_installdocs -pclips-common doc/*
-       dh_installexamples -pclips-common examples/*
-       # Install help
-       install -m644 clips.hlp debian/clips-common/usr/share/clips
-       dh_installman
-       dh_installinfo
-       dh_installchangelogs
-       dh_compress
-       dh_fixperms
-       dh_installdeb
-       dh_gencontrol
-       dh_md5sums
-       dh_builddeb
+#binary-indep: DH_OPTIONS=-i
+#binary-indep: 
+#      dh_testdir
+#      dh_testroot
+#      dh_installdirs
+#      dh_installdocs 
+#      dh_installdocs -pclips-common documentation/*
+#      dh_installexamples -pclips-common examples/*
+#      # Install help
+#      install -m644 documentation/clips.hlp 
debian/clips-common/usr/share/clips
+#      dh_installman
+#      dh_installinfo
+#      dh_installchangelogs
+#      dh_compress
+#      dh_fixperms
+#      dh_installdeb
+#      dh_gencontrol
+#      dh_md5sums
+#      dh_builddeb
 
 binary-arch: DH_OPTIONS=-a
 binary-arch: install
@@ -148,4 +126,4 @@
 #      cd examples && wget --cut-dirs=4 -nH -l 1 -m -k --no-parent -nd 
http://www.ghg.net/clips/download/executables/examples/
 #      find examples/ -name "*\?*" -exec rm -f \{\} \;
 
-.PHONY: build build-x clean binary binary-arch binary-indep install
+.PHONY: build clean binary binary-arch binary-indep install

Reply via email to