--- mozvoikko-1.0.orig/mozvoikko.config +++ mozvoikko-1.0/mozvoikko.config @@ -24,13 +24,13 @@ # https://addons.mozilla.org/en-US/firefox/pages/appversions # Supported Firefox versions. -MOZVOIKKO_FF_MIN = 3.0a9pre +MOZVOIKKO_FF_MIN = 3.5a1pre MOZVOIKKO_FF_MAX = 3.6a1pre # Supported Thunderbird versions -MOZVOIKKO_TB_MIN = 3.0a1pre +MOZVOIKKO_TB_MIN = 3.0b2pre MOZVOIKKO_TB_MAX = 3.1a1pre # Supported SeaMonkey versions -MOZVOIKKO_SM_MIN = 2.0a1pre -MOZVOIKKO_SM_MAX = 2.0b1pre +MOZVOIKKO_SM_MIN = 2.0b1pre +MOZVOIKKO_SM_MAX = 2.1a1pre --- mozvoikko-1.0.orig/src/Makefile.xulrunner +++ mozvoikko-1.0/src/Makefile.xulrunner @@ -19,8 +19,8 @@ CC_LINK=g++ -shared -Wl,--no-undefined include ../mozvoikko.config -XULRUNNER_INCLUDES=$(shell pkg-config --cflags libxul-unstable) -XULRUNNER_LIBS=$(shell pkg-config --libs libxul-unstable) +XULRUNNER_INCLUDES=$(shell pkg-config --cflags libxul) +XULRUNNER_LIBS=$(shell pkg-config --libs libxul) HEADERS=mozVoikko.hxx mozVoikkoSpell.hxx mozVoikkoUtils.hxx OBJECTS=mozVoikko mozVoikkoSpell mozVoikkoUtils mozVoikkoSpellFactory --- mozvoikko-1.0.orig/debian/rules +++ mozvoikko-1.0/debian/rules @@ -0,0 +1,84 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# ID from src/Makefile.xulrunner +ICEWEASEL_ID={ec8030f7-c20a-464f-9b0e-13a3a9e97384} + +EXT_ID={b676e3ff-cda7-4e0c-b2b8-74e4bb40a67a} +EXTENSION_DIR=/usr/share/mozilla/extensions/$(ICEWEASEL_ID)/$(EXT_ID) + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + $(MAKE) -f Makefile.xulrunner extension-files + + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + $(MAKE) -f Makefile.xulrunner clean + rm -f chrome.manifest + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package + echo "# Empty chrome manifest" > chrome.manifest + install -m 644 src/components/libmozvoikko.so debian/mozvoikko/usr/lib/mozvoikko/ + mkdir -p debian/mozvoikko/$(EXTENSION_DIR) + install -m 644 src/install.rdf debian/mozvoikko/$(EXTENSION_DIR)/ + install -m 644 chrome.manifest debian/mozvoikko/$(EXTENSION_DIR)/ + dh_link usr/lib/mozvoikko $(EXTENSION_DIR)/components + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installexamples + dh_install + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + LD_LIBRARY_PATH=$(LD_LIBRARY_PATH):$(shell pkg-config --variable=sdkdir libxul)/sdk/lib/ dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- mozvoikko-1.0.orig/debian/copyright +++ mozvoikko-1.0/debian/copyright @@ -0,0 +1,32 @@ +This package was debianized by Heikki Mäntysaari +on Wed, 09 Apr 2008 19:20:12 +0300. + +It was downloaded from http://voikko.sourceforge.net + +Copyright (C) 2008: + + Andris Pavenis + Harri Pitkänen + +License: + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + +The Debian packaging is (C) 2008, Heikki Mäntysaari + and is licensed under the GPL, either +version 2 of the License, or (at your option), any later version, see above. --- mozvoikko-1.0.orig/debian/changelog +++ mozvoikko-1.0/debian/changelog @@ -0,0 +1,93 @@ +mozvoikko (1.0-1ubuntu3.9.10.1) karmic-security; urgency=low + + * Update for Firefox 3.6 transition + * Port to xulrunner 1.9.2 + - update src/Makefile.xulrunner + - Tighten binary dependencies and build-depend on xulrunner 1.9.2 + in debian/control + + -- Chris Coulson Wed, 16 Jun 2010 16:51:35 +0100 + +mozvoikko (1.0-1ubuntu3) karmic; urgency=low + + * LP: #456598 - incorrect Breaks statement forces removal + because of newer firefox-3.5; fix install.rdf to use proper + minVersion bounds rather than shipping a package Breaks: + - update mozvoikko.config + - update debian/control + + -- Alexander Sack Tue, 20 Oct 2009 21:37:02 +0200 + +mozvoikko (1.0-1ubuntu2) karmic; urgency=low + + * drop firefox-3.0 and firefox-3.1 from Depends; add 3.0 to Breaks instead. + + -- Alexander Sack Fri, 07 Aug 2009 10:43:15 +0200 + +mozvoikko (1.0-1ubuntu1.xul191) karmic; urgency=low + + * xulrunner-1.9.1 by default transition + + see: https://blueprints.launchpad.net/ubuntu/+spec/desktop-karmic-firefox-3.5 + - bump minimal xulrunner-dev version + + -- Alexander Sack Fri, 07 Aug 2009 10:42:03 +0200 + +mozvoikko (1.0-1ubuntu1) karmic; urgency=low + + * Merge new upstream release from Debian. Closes LP: #377049 + * Keep Ubuntu changes in debian/control + * Add optional dependency to firefox-3.5. + * Change conflict to abrowser (>= 3.6) + + -- Heikki Mäntysaari Fri, 15 May 2009 21:59:04 +0300 + +mozvoikko (1.0-1) unstable; urgency=low + + * New upstream release. + * Change conflict to iceweasel (>= 3.6). + * Change Standards-Version to 3.8.1 + + -- Heikki Mäntysaari Mon, 11 May 2009 18:45:48 +0300 + +mozvoikko (0.9.6-1) unstable; urgency=low + + * New upstream release. Closes: #515505 + * debian/control: + - Improve description (thanks to Teemu Likonen) + - Add conflict to iceweasel (>= 3.2) + * debian/rules: Remove useless LDFLAGS setting (thanks to Harri Pitkänen) + + -- Heikki Mäntysaari Wed, 18 Feb 2009 21:12:20 +0200 + +mozvoikko (0.9.5-1ubuntu2) jaunty; urgency=low + + * debian/patches/90_modify-makefile-to-use-pkg-config.patch: + - Modify src/Makefile.xulrunner to use pkg-config for libxul + * debian/rules: + - Add patch system + * Closes LP: #297169 + + -- Heikki Mäntysaari Mon, 26 Jan 2009 14:06:40 +0100 + +mozvoikko (0.9.5-1ubuntu1) jaunty; urgency=low + + [ Heikki Mäntysaari ] + * debian/control: + - Add dependency to firefox-3.0, firerox-3.1 or abrowser + - Add conflict to abrowser/iceweasel >=3.2 + - Change Maintainer field + - Change references from Iceweasel to Firefox in Description field + * Closes LP: #297169 + + [ Alexander Sack ] + * .bzr-builddeb/default.conf: + - add bzr builddeb hints including upstream revision info + + -- Heikki Mäntysaari Tue, 13 Jan 2009 11:42:34 +0100 + +mozvoikko (0.9.5-1) unstable; urgency=low + + * Initial release. Closes: #486949 + + -- Heikki Mäntysaari Fri, 28 Aug 2008 20:26:55 +0300 + --- mozvoikko-1.0.orig/debian/compat +++ mozvoikko-1.0/debian/compat @@ -0,0 +1 @@ +5 --- mozvoikko-1.0.orig/debian/watch +++ mozvoikko-1.0/debian/watch @@ -0,0 +1,3 @@ +version=3 +http://sf.net/voikko/mozvoikko-(.*)\.tar\.gz + --- mozvoikko-1.0.orig/debian/control +++ mozvoikko-1.0/debian/control @@ -0,0 +1,18 @@ +Source: mozvoikko +Section: web +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Heikki Mäntysaari +Build-Depends: debhelper (>= 5), xulrunner-dev (>= 1.9.2), libvoikko-dev +Vcs-Bzr: https://code.launchpad.net/~ubuntu-dev/firefox-extensions/mozvoikko.ubuntu +Standards-Version: 3.8.1 + +Package: mozvoikko +Architecture: any +Depends: ${shlibs:Depends}, libvoikko1, voikko-fi, firefox (>= 3.6) | abrowser (>= 3.6) | iceweasel (>= 3.6) +Conflicts: iceweasel (>= 3.7), abrowser (>= 3.7) +Description: Finnish spell-checker extension for Firefox + Finnish spell-checker extension for Firefox 3. Spell-checking + functionality is provided by Voikko - a free spellchecker + for Finnish language. + --- mozvoikko-1.0.orig/debian/dirs +++ mozvoikko-1.0/debian/dirs @@ -0,0 +1,2 @@ +usr/share/mozilla/extensions +usr/lib/mozvoikko --- mozvoikko-1.0.orig/debian/patches/port_to_xulrunner-192.patch +++ mozvoikko-1.0/debian/patches/port_to_xulrunner-192.patch @@ -0,0 +1,15 @@ +Index: mozvoikko-1.0/src/Makefile.xulrunner +=================================================================== +--- mozvoikko-1.0.orig/src/Makefile.xulrunner 2010-03-23 14:26:27.400544812 +0000 ++++ mozvoikko-1.0/src/Makefile.xulrunner 2010-03-23 14:26:41.700542300 +0000 +@@ -19,8 +19,8 @@ + CC_LINK=g++ -shared -Wl,--no-undefined + include ../mozvoikko.config + +-XULRUNNER_INCLUDES=$(shell pkg-config --cflags libxul-unstable) +-XULRUNNER_LIBS=$(shell pkg-config --libs libxul-unstable) ++XULRUNNER_INCLUDES=$(shell pkg-config --cflags libxul) ++XULRUNNER_LIBS=$(shell pkg-config --libs libxul) + + HEADERS=mozVoikko.hxx mozVoikkoSpell.hxx mozVoikkoUtils.hxx + OBJECTS=mozVoikko mozVoikkoSpell mozVoikkoUtils mozVoikkoSpellFactory