Hi, I just wanted to test out dehydra and had to realize that the package was uninstallable.
I downloaded the code and compiled against libmozjs185-dev, which is a backward compatible mozjs version in debian used for gnome-shell. I works and I was able to try some simple scripts... nothing more tested yet... Please find attached the current version of my patch. Cheers Christian
diff -ur dehydra-0.9.hg20110609/debian/changelog dehydra-0.9.hg20110609.new/debian/changelog --- dehydra-0.9.hg20110609/debian/changelog 2012-03-08 13:50:32.000000000 +0100 +++ dehydra-0.9.hg20110609.new/debian/changelog 2012-03-08 14:03:02.186399309 +0100 @@ -1,3 +1,9 @@ +dehydra (0.9.hg20110609-2.1) unstable; urgency=low + + * debian/control: Build depend on libmozjs185-dev + + -- Christian Engwer <chri...@dune-project.org> Fri, 9 Mar 2012 12:02:42 +0200 + dehydra (0.9.hg20110609-2) unstable; urgency=low * Upload to unstable. diff -ur dehydra-0.9.hg20110609/debian/control dehydra-0.9.hg20110609.new/debian/control --- dehydra-0.9.hg20110609/debian/control 2012-03-08 13:50:32.000000000 +0100 +++ dehydra-0.9.hg20110609.new/debian/control 2012-03-08 13:43:26.000000000 +0100 @@ -2,7 +2,7 @@ Priority: extra Section: devel Maintainer: Mike Hommey <gland...@debian.org> -Build-Depends: debhelper (>= 7.0.50~), gcc-4.6-plugin-dev (>= 4.6.1-1), g++-4.6, python, libmozjs-dev (>= 2.0) +Build-Depends: debhelper (>= 7.0.50~), gcc-4.6-plugin-dev (>= 4.6.1-1), g++-4.6, python, libmozjs185-dev Standards-Version: 3.9.0.0 Package: dehydra Nur in dehydra-0.9.hg20110609.new/debian/: dehydra. Nur in dehydra-0.9.hg20110609.new/debian/: dehydra.debhelper.log. Nur in dehydra-0.9.hg20110609.new/debian/: dehydra.substvars. Nur in dehydra-0.9.hg20110609.new/debian/: files. diff -ur dehydra-0.9.hg20110609/debian/rules dehydra-0.9.hg20110609.new/debian/rules --- dehydra-0.9.hg20110609/debian/rules 2012-03-08 13:50:32.000000000 +0100 +++ dehydra-0.9.hg20110609.new/debian/rules 2012-03-08 13:48:34.000000000 +0100 @@ -6,10 +6,10 @@ plugin_dir := $(shell $(CC) -print-file-name= | sed 's,\(/4\.[0-9]\)\.[0-9],\1,')/plugin override_dh_auto_configure: - ./configure --enable-C + ./configure --enable-C --js-name=mozjs185 --js-headers=/usr/include/js --js-libs=/usr/lib override_dh_auto_build: - $(MAKE) BUILD_TREEHYDRA= LDFLAGS="-lmozjs -shared" GCC_PLUGIN_HEADERS="-I$(plugin_dir)/include -I." + $(MAKE) BUILD_TREEHYDRA= LDFLAGS="-lmozjs185 -shared" GCC_PLUGIN_HEADERS="-I$(plugin_dir)/include -I." override_dh_auto_test: $(MAKE) check BUILD_TREEHYDRA=