--- biblememorizer-0.5.2.orig/qmake_vars +++ biblememorizer-0.5.2/qmake_vars @@ -1,3 +1,3 @@ CONFIG += sword SWORD_PATH = /usr/include/sword -MAIN_PATH = /home/jeremy/test +MAIN_PATH = /usr --- biblememorizer-0.5.2.orig/debian/changelog +++ biblememorizer-0.5.2/debian/changelog @@ -0,0 +1,13 @@ +biblememorizer (0.5.2-0ubuntu1) feisty; urgency=low + + * Initial release + * Patch 01_configure_bash.dpatch adds #!/bin/bash to configure script to + have it work properly + * Patch 02_libraries_paths.dpatch fixes libraries paths from /usr/share to + /usr/lib + * Add a manual (1) for biblememorizer + * Add a desktop file for biblememorizer + * Build icons and install them + + -- Raphael Pinson Wed, 3 Jan 2007 12:52:14 +0100 + --- biblememorizer-0.5.2.orig/debian/compat +++ biblememorizer-0.5.2/debian/compat @@ -0,0 +1 @@ +5 --- biblememorizer-0.5.2.orig/debian/patches/01_configure_bash.dpatch +++ biblememorizer-0.5.2/debian/patches/01_configure_bash.dpatch @@ -0,0 +1,16 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 01_configure_bash.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fix configure script to call /bin/bash + +@DPATCH@ + +--- biblememorizer-0.5.2/configure 2007-01-03 12:54:44.000000000 +0100 ++++ biblememorizer-0.5.2.new/configure 2007-01-14 18:19:34.000000000 +0100 +@@ -1,3 +1,5 @@ ++#!/bin/bash ++ + echo 'This is a wrapper to Trolltech qmake.' + if + [ "$1" = '--help' ] --- biblememorizer-0.5.2.orig/debian/patches/00list +++ biblememorizer-0.5.2/debian/patches/00list @@ -0,0 +1,2 @@ +01_configure_bash.dpatch +02_libraries_paths.dpatch --- biblememorizer-0.5.2.orig/debian/patches/02_libraries_paths.dpatch +++ biblememorizer-0.5.2/debian/patches/02_libraries_paths.dpatch @@ -0,0 +1,66 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 02_libraries_paths.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Upstream patch to fix libraries paths + +@DPATCH@ + +--- biblememorizer-0.5.2/plugins/crosswire/crosswire.pro 2007-01-18 16:57:45.000000000 -0500 ++++ biblememorizer-0.5.2.new/plugins/crosswire/crosswire.pro 2007-01-18 16:57:51.000000000 -0500 +@@ -5,14 +5,14 @@ + + include(../../qmake_vars) + INSTALLS += target +-target.path = $${MAIN_PATH}/share/apps/biblememorizer/plugins +-meta.path = $${MAIN_PATH}/share/apps/biblememorizer/plugins ++target.path = $${MAIN_PATH}/lib/biblememorizer/plugins ++meta.path = $${MAIN_PATH}/lib/biblememorizer/plugins + meta.files = crosswire.plugin + INSTALLS += meta +-authors.path = $${MAIN_PATH}/share/apps/biblememorizer/plugins ++authors.path = $${MAIN_PATH}/lib/biblememorizer/plugins + authors.files = authors.crosswire + INSTALLS += authors +-license.path = $${MAIN_PATH}/share/apps/biblememorizer/plugins ++license.path = $${MAIN_PATH}/lib/biblememorizer/plugins + license.files = license.crosswire.html + INSTALLS += license + HEADERS += bmemplugin.h \ + +--- biblememorizer-0.5.2/plugins/lang_en/lang_en.pro 2007-01-18 16:58:09.000000000 -0500 ++++ biblememorizer-0.5.2.new/plugins/lang_en/lang_en.pro 2007-01-18 16:59:45.000000000 -0500 +@@ -5,14 +5,14 @@ + + include(../../qmake_vars) + INSTALLS += target +-target.path = $${MAIN_PATH}/share/apps/biblememorizer/plugins +-meta.path = $${MAIN_PATH}/share/apps/biblememorizer/plugins ++target.path = $${MAIN_PATH}/lib/biblememorizer/plugins ++meta.path = $${MAIN_PATH}/lib/biblememorizer/plugins + meta.files = lang_en.plugin + INSTALLS += meta +-authors.path = $${MAIN_PATH}/share/apps/biblememorizer/plugins ++authors.path = $${MAIN_PATH}/lib/biblememorizer/plugins + authors.files = authors.lang_en + INSTALLS += authors +-license.path = $${MAIN_PATH}/share/apps/biblememorizer/plugins ++license.path = $${MAIN_PATH}/lib/biblememorizer/plugins + license.files = license.lang_en.html + INSTALLS += license + HEADERS += bmemplugin.h + +--- biblememorizer-0.5.2/src/preferencesact.cpp 2007-01-18 17:00:35.000000000 -0500 ++++ biblememorizer-0.5.2.new/src/preferencesact.cpp 2007-01-18 17:01:29.000000000 -0500 +@@ -91,9 +91,9 @@ + QString appDirPath = qApp->applicationDirPath(); + //First guess is probable on Unix-like systems. e.g. + //app at /usr/bin/biblememorizer, plugins in +- // /usr/share/apps/biblememorizer/plugins ++ // /usr/lib/biblememorizer/plugins + QDir attempt1(appDirPath); +- worked = attempt1.cd("../share/apps/biblememorizer/plugins"); ++ worked = attempt1.cd("../lib/biblememorizer/plugins"); + if (worked) + { + directory = attempt1.absPath(); --- biblememorizer-0.5.2.orig/debian/control +++ biblememorizer-0.5.2/debian/control @@ -0,0 +1,20 @@ +Source: biblememorizer +Section: kde +Priority: optional +Maintainer: Raphael Pinson +Build-Depends: debhelper (>= 5.0), libsword-dev, libqt3-mt-dev, qt3-dev-tools, dpatch, docbook2x, inkscape +Standards-Version: 3.7.2 + +Package: biblememorizer +Architecture: any +Depends: ${shlibs:Depends} +Description: Bible verses memorizer program + BibleMemorizer is a program to help with memorizing Scripture. It allows you + to create files with lists of verses you want to memorize, including the text + of the verse and any categories you create. + . + BibleMemorizer uses plugins to import texts, including a plugin to use the + Sword API. Texts are then imported from the Sword Bible modules installed on + your system. + . + Homepage: http://biblememorizer.sourceforge.net --- biblememorizer-0.5.2.orig/debian/rules +++ biblememorizer-0.5.2/debian/rules @@ -0,0 +1,67 @@ +#!/usr/bin/make -f + +ICONSDIR=$(CURDIR)/icons +DEBIANDIR=$(CURDIR)/debian +PACKAGEDIR=$(DEBIANDIR)/biblememorizer +APPSDIR=$(PACKAGEDIR)/usr/share/applications + +include /usr/share/dpatch/dpatch.make + +configure: configure-stamp + +configure-stamp: patch + dh_testdir + ./configure --prefix=/usr --sword-path=/usr/include/sword + touch configure-stamp + +build: build-stamp +build-stamp: configure-stamp + dh_testdir + $(MAKE) + cp $(DEBIANDIR)/Makefile.icons $(ICONSDIR)/Makefile + $(MAKE) -C $(ICONSDIR) + docbook2x-man $(DEBIANDIR)/biblememorizer.1.docbook + touch build-stamp + +clean: clean-patched unpatch +clean-patched: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + rm -f biblememorizer.1 + -$(MAKE) distclean + -$(MAKE) -C $(ICONSDIR) clean + rm -f $(ICONSDIR)/Makefile + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + $(MAKE) install INSTALL_ROOT=$(PACKAGEDIR) + $(MAKE) -C $(ICONSDIR) install DESTDIR=$(PACKAGEDIR) + mkdir -p $(APPSDIR) + cp $(DEBIANDIR)/biblememorizer.desktop $(APPSDIR) + +binary-indep: build install + +binary-arch: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installchangelogs ChangeLog + dh_install + dh_installman biblememorizer.1 + dh_strip + dh_compress + dh_fixperms + dh_makeshlibs -V + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- biblememorizer-0.5.2.orig/debian/docs +++ biblememorizer-0.5.2/debian/docs @@ -0,0 +1,4 @@ +README +TODO +AUTHORS +CREDITS --- biblememorizer-0.5.2.orig/debian/Makefile.icons +++ biblememorizer-0.5.2/debian/Makefile.icons @@ -0,0 +1,62 @@ +#!/usr/bin/make -f +# +# Makefile for the BibleMemorizer icons +# by Raphaël Pinson +# +# Copyright (C) 2007, Raphaël Pinson +# +# This program 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 program 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 program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + +ICONSDIR=$(DESTDIR)/usr/share/icons/hicolor +ICON=biblememorizer +BUILDDIR=$(CURDIR)/build +SVGDIR=scalable +SVGSECTDIR=$(BUILDDIR)/$(SVGDIR)/$(SECTION) +PNGSECTDIR=$(BUILDDIR)/$${size}x$${size}/$(SECTION) +SVGFILE=$(CURDIR)/bmemicon.svg +PNGFILE=$(PNGSECTDIR)/$(ICON).png +SECTION=apps + +MKDIR=/bin/mkdir -p +RM=/bin/rm -rf +TAR=/bin/tar cvzf +LS=/bin/ls +GREP=/bin/grep +TOUCH=/usr/bin/touch +CP=/bin/cp -r +FIND=/usr/bin/find + +CONVERT=inkscape --without-gui --export-png=$(PNGFILE) --export-dpi=72 --export-background-opacity=0 --export-width=$${size} --export-height=$${size} $(SVGFILE) >/dev/null + +SIZES=16 22 32 48 64 128 + +build: build-stamp +build-stamp: + $(MKDIR) $(BUILDDIR) + $(MKDIR) $(SVGSECTDIR); \ + $(CP) $(SVGFILE) $(SVGSECTDIR)/$(ICON).svg; \ + for size in $(SIZES); do \ + $(MKDIR) $(PNGSECTDIR); \ + $(CONVERT); \ + done; \ + $(TOUCH) $@ + +install: + $(MKDIR) $(ICONSDIR) + $(CP) $(BUILDDIR)/* $(ICONSDIR) + +clean: + -$(RM) $(BUILDDIR) + -$(RM) build-stamp --- biblememorizer-0.5.2.orig/debian/copyright +++ biblememorizer-0.5.2/debian/copyright @@ -0,0 +1,53 @@ +This package was debianized by Raphael Pinson on +Wed, 3 Jan 2007 12:52:14 +0100. + +It was downloaded from http://mesh.dl.sourceforge.net/sourceforge/biblememorizer/biblememorizer-0.5.2.tar.gz + +Upstream Author: Jeremy Erickson + +Copyright: Copyright (c) 2005 Jeremy Erickson + + +License: + + +For the BibleMemorizer program: + + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +For the Sword plugin: + + This program 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 program 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. + + On Debian GNU/Linux systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL'. + + +The Debian packaging is (C) 2007, Raphael Pinson and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. --- biblememorizer-0.5.2.orig/debian/biblememorizer.1.docbook +++ biblememorizer-0.5.2/debian/biblememorizer.1.docbook @@ -0,0 +1,64 @@ + + + + + + Raphaël + Pinson + raphink@ubuntu.com + + + 2007 + Raphaël Pinson + + + + 2007-01-15 + + + + biblememorizer + 1 + + + biblememorizer + Bible memorizer program + + + + biblememorizer + + + + DESCRIPTION + + BibleMemorizer is a program to help with memorizing Scripture. It allows you + to create files with lists of verses you want to memorize, including the text + of the verse and any categories you create. + + + BibleMemorizer uses plugins to import texts, including a plugin to use the + Sword API. Texts are then imported from the Sword Bible modules installed on + your system. + + + + COPYRIGHT + + This manual page was written by Raphaël Pinson + <raphink@ubuntu.com> for the + Debian system (but may be used by others). + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU General Public License, + Version 2 or any later version published by the Free Software Foundation. + + + On Debian systems, the complete text of the GNU General Public + License can be found in + /usr/share/common-licenses/GPL. + + + + --- biblememorizer-0.5.2.orig/debian/biblememorizer.desktop +++ biblememorizer-0.5.2/debian/biblememorizer.desktop @@ -0,0 +1,43 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=BibleMemorizer +Name[xx]=xxBibleMemorizerxx +Exec=biblememorizer +Icon=biblememorizer +Type=Application +Comment=A simple KDE Application +Comment[br]=Ur meziant eeun evit KDE +Comment[ca]=Una aplicació KDE simple +Comment[da]=Et simpelt KDE program +Comment[de]=Eine einfache KDE-Anwendung +Comment[el]=Μια απλή εφαρμογή του KDE +Comment[es]=Una aplicación de KDE sencilla +Comment[et]=Lihtne KDE rakendus +Comment[eu]=KDE aplikazio simple bat +Comment[fr]=Une application simple pour KDE +Comment[ga]=Feidhmchlár Simplí KDE +Comment[hi]=एक सादा केडीई अनुप्रयोग +Comment[hu]=Egyszerű KDE-alkalmazás +Comment[is]=Einfalt KDE forrit +Comment[it]=Una semplice applicazione KDE +Comment[ja]=シンプルな KDE アプリケーション +Comment[nb]=Et enkelt KDE-program +Comment[nl]=Een eenvoudige KDE-toepassing +Comment[pl]=Prosty program KDE +Comment[pt]=Uma aplicação simples do KDE +Comment[pt_BR]=Um simples Aplicativo do KDE +Comment[ru]=Простое приложение KDE +Comment[sl]=Preprost program za KDE +Comment[sr]=Једноставан KDE програм +Comment[sr@Latn]=Jednostavan KDE program +Comment[sv]=Ett enkelt KDE-program +Comment[ta]=ஒரு சாதாரண கெடிஇ பயன்பாடு +Comment[tg]=Гузориши оддиKDE +Comment[tr]=Basit bir KDE Uygulaması +Comment[uk]=Проста програма KDE +Comment[xx]=xxA simple KDE Applicationxx +Comment[zh_CN]=一个简单的 KDE 应用程序 +GenericName=Bible Verses Memorizer +GenericName[fr]=Mémorisation de versets bibliques +GenericName[xx]=Bible Verses Memorizer +Categories=Religion;Bible;Application;KDE;Utility; --- biblememorizer-0.5.2.orig/Makefile +++ biblememorizer-0.5.2/Makefile @@ -0,0 +1,63 @@ +############################################################################# +# Makefile for building: biblememorizer +# Generated by qmake (1.07a) (Qt 3.3.6) on: Tue Jan 16 00:20:31 2007 +# Project: biblememorizer.pro +# Template: subdirs +# Command: $(QMAKE) -o Makefile biblememorizer.pro +############################################################################# + +MAKEFILE = Makefile +QMAKE = qmake +DEL_FILE = rm -f +CHK_DIR_EXISTS= test -d +MKDIR = mkdir -p +INSTALL_FILE= +INSTALL_DIR = +SUBTARGETS = \ + sub-src \ + sub-plugins + +first: all + +all: Makefile $(SUBTARGETS) + +src/$(MAKEFILE): + @$(CHK_DIR_EXISTS) "src" || $(MKDIR) "src" + cd src && $(QMAKE) src.pro -o $(MAKEFILE) +sub-src: src/$(MAKEFILE) FORCE + cd src && $(MAKE) -f $(MAKEFILE) + +plugins/$(MAKEFILE): + @$(CHK_DIR_EXISTS) "plugins" || $(MKDIR) "plugins" + cd plugins && $(QMAKE) plugins.pro -o $(MAKEFILE) +sub-plugins: plugins/$(MAKEFILE) FORCE + cd plugins && $(MAKE) -f $(MAKEFILE) + +Makefile: biblememorizer.pro /usr/share/qt3/mkspecs/default/qmake.conf qmake_vars + $(QMAKE) -o Makefile biblememorizer.pro +qmake: qmake_all + @$(QMAKE) -o Makefile biblememorizer.pro + +all: $(SUBTARGETS) +qmake_all: src/$(MAKEFILE) plugins/$(MAKEFILE) + ( [ -d src ] && cd src ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true + ( [ -d plugins ] && cd plugins ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true +clean uicables mocables uiclean mocclean lexclean yaccclean : qmake_all FORCE + ( [ -d src ] && cd src ; $(MAKE) -f $(MAKEFILE) $@; ) || true + ( [ -d plugins ] && cd plugins ; $(MAKE) -f $(MAKEFILE) $@; ) || true +uninstall_subdirs: qmake_all FORCE + ( [ -d src ] && cd src ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true + ( [ -d plugins ] && cd plugins ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true +install_subdirs: qmake_all FORCE + ( [ -d src ] && cd src ; $(MAKE) -f $(MAKEFILE) install; ) || true + ( [ -d plugins ] && cd plugins ; $(MAKE) -f $(MAKEFILE) install; ) || true +distclean: qmake_all FORCE + ( [ -d src ] && cd src ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true + ( [ -d plugins ] && cd plugins ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true + +install: install_subdirs + +uninstall: uninstall_subdirs + +FORCE: +