debian/0000755000000000000000000000000012263230754007172 5ustar debian/menu0000644000000000000000000000040612263230140010046 0ustar ?package(gwaei):needs="x11" \ section="Applications/Text" \ title="gWaei Japanese-English Dictionary" \ icon="/usr/share/pixmaps/gwaei.xpm" \ icon16x16="/usr/share/pixmaps/gwaei_16x16.xpm" \ icon32x32="/usr/share/pixmaps/gwaei_32x32.xpm" \ command="gwaei" debian/copyright0000644000000000000000000000636112263230140011120 0ustar This is the Debian package of gwaei, a Japanese-English Dictionary for GNOME It was first packaged by Norbert Preining . The original source can be found at: http://sourceforge.net/projects/gwaei/ Upstream maintainer: Zachary Dovel , Fabrizio Sabatini gWaei - Japanese English Dictionary Copyright (C) 2009 Zachary C. Dovel Copyright (C) 2010 Fabrizio Sabatini gWaei 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 3 of the License, or (at your option) any later version. gWaei 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. Included sub programs copyright: KanjiPad - Japanese handwriting recognition front end Copyright (C) 1997 Owen Taylor 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. JStroke 1.x - Japanese Kanji handwriting recognition technology demo. Copyright (C) 1997 Robert E. Wells http://wellscs.com/pilot mailto:robert@wellscs.com 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, at http://www.gnu.org/copyleft/gpl.html, for more details. On Debian GNU/Linux systems, the complete text of the GNU General Public License v3 can be found in `/usr/share/common-licenses/GPL-3' file and the complete text of the GNU General Public License v2 can be found in `/usr/share/common-licenses/GPL-2' file. Debian Packaging: Copyright (c) 2009, 2010 Norbert Preining Copyright (c) 2009 Asumu Takikawa 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; version 3 dated June, 2007. 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; see the file COPYING. If not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. debian/gwaei.install0000644000000000000000000000004012263230140011635 0ustar usr/bin usr/share usr/lib/gwaei debian/patches/0000755000000000000000000000000012263230140010606 5ustar debian/patches/ubuntu_unity_fix0000644000000000000000000000256312263230140014157 0ustar Hack around some strange Unity (Ubuntu) problems Patch by Yvon TANGUY --- src/gwaei/window.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) Index: gwaei-3.4.3/src/gwaei/window.c =================================================================== --- gwaei-3.4.3.orig/src/gwaei/window.c 2012-04-03 23:28:42.000000000 +0900 +++ gwaei-3.4.3/src/gwaei/window.c 2012-04-27 08:28:08.751758894 +0900 @@ -206,6 +206,7 @@ //Declarations GwWindowPrivate *priv; GtkWidget *toplevel; + GtkWidget *menu; char *paths[4]; char **iter; char *path; @@ -219,6 +220,8 @@ paths[3] = NULL; loaded = FALSE; + menu = NULL; + //Search for the files for (iter = paths; *iter != NULL && loaded == FALSE; iter++) { @@ -231,6 +234,16 @@ g_assert (toplevel != NULL); gtk_widget_reparent (toplevel, GTK_WIDGET (window)); + // quick and bad fix for Unity: global menu won't be seen, if we do not reparent to itself (hackish fix) + menu = GTK_WIDGET (gtk_builder_get_object (priv->builder, "menubar")); + if (NULL != menu) { + g_object_ref(menu); + gtk_container_remove (GTK_CONTAINER (toplevel), menu); + gtk_container_add (GTK_CONTAINER (toplevel), menu); + g_object_unref(menu); + menu = NULL; + } + loaded = TRUE; } } debian/patches/fix-stupid-libgtk0000644000000000000000000000617712263230140014112 0ustar --- src/gwaei/Makefile.am | 2 +- src/gwaei/Makefile.in | 2 +- src/gwaei/gwaei.c | 2 -- 3 files changed, 2 insertions(+), 4 deletions(-) Index: gwaei-3.2.0b1/src/gwaei/Makefile.am =================================================================== --- gwaei-3.2.0b1.orig/src/gwaei/Makefile.am 2012-04-04 11:45:23.000000000 +0900 +++ gwaei-3.2.0b1/src/gwaei/Makefile.am 2012-04-04 23:35:10.444172741 +0900 @@ -7,7 +7,7 @@ bin_PROGRAMS = gwaei datadir = @datadir@ -DEFINITIONS =-DDATADIR2=\"$(datadir)\" -DLIBDIR=\"$(libdir)\" -DENCHANT=\"$(ENCHANT)\" -DGWAEI_LOCALEDIR=\"$(GWAEI_LOCALEDIR)\" -DGTK_DISABLE_DEPRECATED -DG_SEAL_ENABLE -Wall +DEFINITIONS =-DDATADIR2=\"$(datadir)\" -DLIBDIR=\"$(libdir)\" -DENCHANT=\"$(ENCHANT)\" -DGWAEI_LOCALEDIR=\"$(GWAEI_LOCALEDIR)\" -DG_SEAL_ENABLE -Wall gwaei_SOURCES = gwaei.c application.c application-callbacks.c window.c dictinfolist.c dictinfolist-callbacks.c searchwindow.c searchwindow-callbacks.c searchwindow-output.c search-data.c spellcheck.c spellcheck-callbacks.c printing.c radicalswindow.c radicalswindow-callbacks.c kanjipadwindow-callbacks.c kanjipad-drawingarea.c kanjipad-candidatearea.c kanjipadwindow.c settingswindow.c settingswindow-callbacks.c dictionaryinstallwindow.c dictionaryinstallwindow-callbacks.c installprogresswindow.c installprogresswindow-callbacks.c Index: gwaei-3.2.0b1/src/gwaei/Makefile.in =================================================================== --- gwaei-3.2.0b1.orig/src/gwaei/Makefile.in 2012-04-04 11:45:23.000000000 +0900 +++ gwaei-3.2.0b1/src/gwaei/Makefile.in 2012-04-04 23:35:10.444172741 +0900 @@ -321,7 +321,7 @@ top_srcdir = @top_srcdir@ SUBDIRS = include/gwaei help ACLOCAL_AMFLAGS = -I m4 -DEFINITIONS = -DDATADIR2=\"$(datadir)\" -DLIBDIR=\"$(libdir)\" -DENCHANT=\"$(ENCHANT)\" -DGWAEI_LOCALEDIR=\"$(GWAEI_LOCALEDIR)\" -DGTK_DISABLE_DEPRECATED -DG_SEAL_ENABLE -Wall +DEFINITIONS = -DDATADIR2=\"$(datadir)\" -DLIBDIR=\"$(libdir)\" -DENCHANT=\"$(ENCHANT)\" -DGWAEI_LOCALEDIR=\"$(GWAEI_LOCALEDIR)\" -DG_SEAL_ENABLE -Wall gwaei_SOURCES = gwaei.c application.c application-callbacks.c window.c dictinfolist.c dictinfolist-callbacks.c searchwindow.c searchwindow-callbacks.c searchwindow-output.c search-data.c spellcheck.c spellcheck-callbacks.c printing.c radicalswindow.c radicalswindow-callbacks.c kanjipadwindow-callbacks.c kanjipad-drawingarea.c kanjipad-candidatearea.c kanjipadwindow.c settingswindow.c settingswindow-callbacks.c dictionaryinstallwindow.c dictionaryinstallwindow-callbacks.c installprogresswindow.c installprogresswindow-callbacks.c gwaei_LDADD = $(GWAEI_LIBS) ../libwaei/libwaei.la $(am__append_1) gwaei_CPPFLAGS = $(DEFINITIONS) $(GWAEI_CFLAGS) $(GWAEI_DEFS) \ Index: gwaei-3.2.0b1/src/gwaei/gwaei.c =================================================================== --- gwaei-3.2.0b1.orig/src/gwaei/gwaei.c 2011-11-09 20:25:07.000000000 +0900 +++ gwaei-3.2.0b1/src/gwaei/gwaei.c 2012-04-04 23:35:43.364169209 +0900 @@ -55,9 +55,7 @@ application = gw_application_new (); -gdk_threads_enter (); resolution = g_application_run (application, argc, argv); -gdk_threads_leave (); g_object_unref (G_OBJECT (application)); debian/patches/gtk-3.20000644000000000000000000001723712263230140011630 0ustar Description: Avoid functions deprecated in GTK+ 3.2 Author: Colin Watson , Norbert Preining Bug-Ubuntu: https://bugs.launchpad.net/bugs/831227 Forwarded: yes Last-Update: 2011-09-25 --- src/gwaei/dictionaryinstall-callbacks.c | 20 ++++++++++---------- src/gwaei/output-callbacks.c | 2 +- src/gwaei/search-window.c | 12 ++++++------ 3 files changed, 17 insertions(+), 17 deletions(-) Index: gwaei-3.1.0b1/src/gwaei/dictionaryinstall-callbacks.c =================================================================== --- gwaei-3.1.0b1.orig/src/gwaei/dictionaryinstall-callbacks.c 2011-09-25 01:16:58.000000000 +0900 +++ gwaei-3.1.0b1/src/gwaei/dictionaryinstall-callbacks.c 2011-09-25 01:21:17.000000000 +0900 @@ -398,7 +398,7 @@ window->di = di; //First row - hbox = GTK_WIDGET (gtk_hbox_new (FALSE, 0)); + hbox = GTK_WIDGET (gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0)); markup = g_strdup_printf(gettext("%s Install Details"), di->longname); label = gtk_label_new (NULL); gtk_label_set_markup (GTK_LABEL (label), markup); @@ -408,7 +408,7 @@ gtk_widget_show_all (GTK_WIDGET (hbox)); //Second row - hbox = GTK_WIDGET (gtk_hbox_new (FALSE, 0)); + hbox = GTK_WIDGET (gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0)); markup = g_strdup_printf("%s", di->description); label = gtk_label_new (NULL); gtk_widget_set_size_request (GTK_WIDGET (label), 300, -1); @@ -422,7 +422,7 @@ //Third row label = gtk_label_new (gettext("Filename: ")); - hbox = GTK_WIDGET (gtk_hbox_new (FALSE, 0)); + hbox = GTK_WIDGET (gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0)); gtk_box_pack_start (GTK_BOX (hbox), GTK_WIDGET (label), FALSE, FALSE, 0); gtk_table_attach_defaults (GTK_TABLE (table), hbox, 0, 1, 0, 1); @@ -436,7 +436,7 @@ //Forth row label = gtk_label_new (gettext("Engine: ")); - hbox = GTK_WIDGET (gtk_hbox_new (FALSE, 0)); + hbox = GTK_WIDGET (gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0)); gtk_box_pack_start (GTK_BOX (hbox), GTK_WIDGET (label), FALSE, FALSE, 0); gtk_table_attach_defaults (GTK_TABLE (table), hbox, 0, 1, 1, 2); @@ -456,11 +456,11 @@ //Fifth row label = gtk_label_new (gettext("Source: ")); - hbox = GTK_WIDGET (gtk_hbox_new (FALSE, 0)); + hbox = GTK_WIDGET (gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0)); gtk_box_pack_start (GTK_BOX (hbox), GTK_WIDGET (label), FALSE, FALSE, 0); gtk_table_attach_defaults (GTK_TABLE (table), hbox, 0, 1, 2, 3); - hbox = GTK_WIDGET (gtk_hbox_new (FALSE, 0)); + hbox = GTK_WIDGET (gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0)); entry = gtk_entry_new (); gtk_entry_set_text (GTK_ENTRY (entry), di->uri[LW_DICTINST_NEEDS_DOWNLOADING]); @@ -486,7 +486,7 @@ //Sixth row label = gtk_label_new (gettext("Encoding: ")); - hbox = GTK_WIDGET (gtk_hbox_new (FALSE, 0)); + hbox = GTK_WIDGET (gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0)); gtk_box_pack_start (GTK_BOX (hbox), GTK_WIDGET (label), FALSE, FALSE, 0); gtk_table_attach_defaults (GTK_TABLE (table), hbox, 0, 1, 3, 4); @@ -505,7 +505,7 @@ //Seventh row label = gtk_label_new (gettext("Compression: ")); - hbox = GTK_WIDGET (gtk_hbox_new (FALSE, 0)); + hbox = GTK_WIDGET (gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0)); gtk_box_pack_start (GTK_BOX (hbox), GTK_WIDGET (label), FALSE, FALSE, 0); gtk_table_attach_defaults (GTK_TABLE (table), hbox, 0, 1, 4, 5); @@ -528,7 +528,7 @@ g_signal_connect (G_OBJECT (checkbox), "toggled", G_CALLBACK (gw_dictionaryinstallwindow_split_checkbox_toggled_cb), window->toplevel); window->split_checkbutton = GTK_CHECK_BUTTON (checkbox); - hbox = GTK_WIDGET (gtk_hbox_new (FALSE, 0)); + hbox = GTK_WIDGET (gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0)); gtk_box_pack_start (GTK_BOX (hbox), GTK_WIDGET (checkbox), FALSE, FALSE, 0); gtk_table_attach_defaults (GTK_TABLE (table), hbox, 0, 2, 5, 6); gtk_widget_set_sensitive (GTK_WIDGET (checkbox), editable); @@ -540,7 +540,7 @@ g_signal_connect (G_OBJECT (checkbox), "toggled", G_CALLBACK (gw_dictionaryinstallwindow_merge_checkbox_toggled_cb), window->toplevel); window->merge_checkbutton = GTK_CHECK_BUTTON (checkbox); - hbox = GTK_WIDGET (gtk_hbox_new (FALSE, 0)); + hbox = GTK_WIDGET (gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0)); gtk_box_pack_start (GTK_BOX (hbox), GTK_WIDGET (checkbox), FALSE, FALSE, 0); gtk_table_attach_defaults (GTK_TABLE (table), hbox, 0, 2, 6, 7); gtk_widget_set_sensitive (GTK_WIDGET (checkbox), editable); Index: gwaei-3.1.0b1/src/gwaei/output-callbacks.c =================================================================== --- gwaei-3.1.0b1.orig/src/gwaei/output-callbacks.c 2011-09-25 01:16:58.000000000 +0900 +++ gwaei-3.1.0b1/src/gwaei/output-callbacks.c 2011-09-25 01:21:17.000000000 +0900 @@ -776,7 +776,7 @@ child = gtk_bin_get_child (GTK_BIN (window)); if (child != NULL) gtk_widget_destroy (GTK_WIDGET (child)); - hbox = GTK_WIDGET (gtk_hbox_new (FALSE, 3)); + hbox = GTK_WIDGET (gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 3)); gtk_container_set_border_width (GTK_CONTAINER (hbox), 3); gtk_container_add (GTK_CONTAINER (window), GTK_WIDGET (hbox)); Index: gwaei-3.1.0b1/src/gwaei/search-window.c =================================================================== --- gwaei-3.1.0b1.orig/src/gwaei/search-window.c 2011-09-25 01:16:58.000000000 +0900 +++ gwaei-3.1.0b1/src/gwaei/search-window.c 2011-09-25 01:24:02.000000000 +0900 @@ -844,7 +844,7 @@ label = gtk_label_new (item->queryline->string); GtkWidget *hbox; - hbox = gtk_hbox_new (FALSE, 0); + hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); menu_item = gtk_menu_item_new(); g_signal_connect (GTK_WIDGET (menu_item), @@ -1388,7 +1388,7 @@ //Set the header message - hbox = gtk_hbox_new (FALSE, 10); + hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 10); gtk_text_buffer_get_end_iter (buffer, &iter); anchor = gtk_text_buffer_create_child_anchor (buffer, &iter); gtk_text_view_add_child_at_anchor (GTK_TEXT_VIEW (view), hbox, anchor); @@ -1425,7 +1425,7 @@ if (lw_dictinfolist_get_total (LW_DICTINFOLIST (app->dictinfolist)) > 1) { //Add label for links - hbox = gtk_hbox_new (FALSE, 0); + hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); gtk_text_buffer_get_end_iter (buffer, &iter); anchor = gtk_text_buffer_create_child_anchor (buffer, &iter); gtk_text_view_add_child_at_anchor (view, hbox, anchor); @@ -1462,7 +1462,7 @@ } //Add label for links - hbox = gtk_hbox_new (FALSE, 0); + hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); gtk_text_buffer_get_end_iter (buffer, &iter); anchor = gtk_text_buffer_create_child_anchor (buffer, &iter); gtk_text_view_add_child_at_anchor (view, hbox, anchor); @@ -2116,10 +2116,10 @@ //Put all the elements together gtk_container_add (GTK_CONTAINER (close_button), button_image); g_signal_connect (G_OBJECT (close_button), "clicked", G_CALLBACK (gw_searchwindow_remove_tab_cb), scrolledwindow); - vbox = GTK_WIDGET (gtk_vbox_new(FALSE, 0)); + vbox = GTK_WIDGET (gtk_box_new(GTK_ORIENTATION_VERTICAL, 0)); gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 1); gtk_box_pack_start (GTK_BOX (hbox), vbox, TRUE, TRUE, 0); - vbox = GTK_WIDGET (gtk_vbox_new(FALSE, 0)); + vbox = GTK_WIDGET (gtk_box_new(GTK_ORIENTATION_VERTICAL, 0)); gtk_box_pack_start (GTK_BOX (vbox), close_button, FALSE, FALSE, 1); gtk_box_pack_start (GTK_BOX (hbox), vbox, TRUE, TRUE, 0); gtk_widget_show_all (GTK_WIDGET (hbox)); debian/patches/series0000644000000000000000000000002212263230140012015 0ustar #ubuntu_unity_fix debian/changelog0000644000000000000000000001005112263230140011026 0ustar gwaei (3.6.2-2) unstable; urgency=medium * import changes from Ubuntu to use reautoconf (Closes: #734562) * bump standards version, no changes necessary -- Norbert Preining Wed, 08 Jan 2014 20:02:32 +0900 gwaei (3.6.2-1) unstable; urgency=low * Imported Upstream version 3.6.2 * drop debian/patches/fix-google-translate-url, fixed in a different way -- Norbert Preining Sat, 05 Jan 2013 12:46:08 +0900 gwaei (3.6.1-1) experimental; urgency=low * new upstream release: fixing bugs with Ubuntu (LP: #971240) -- Norbert Preining Mon, 24 Sep 2012 08:13:57 +0900 gwaei (3.6.0-1) experimental; urgency=low * unfuzzify patch(es) * new patch fix-google-translate-url to fix google search * new disabled patch ubuntu_unity_fix to fix Ubuntu's unity display problems (patch by Yvon TANGUY). This patch can be enabled in Ubuntu builds to get it working with Unity, but it breaks on Debian, so it is not activated by default. It might be unnecessary with new upstream * fixes for the rules file * new recommends: mecab-ipadic, hunspell-en-us -- Norbert Preining Wed, 19 Sep 2012 15:14:25 +0900 gwaei (3.4.3-1) unstable; urgency=low * new upstream release(s) . switch to hunspell, no need for enchant (Closes: #649576) . switch to gtk >= 3.3 (Closes: #641814) . disable old patches * adjust build dependencies -- Norbert Preining Thu, 26 Apr 2012 13:36:43 +0900 gwaei (3.2.0b1-2) unstable; urgency=low * fix for stupid libgtk library breaking unrelated software, needed otherwise gwaei will never start (see eog bug #665374 for reference) -- Norbert Preining Wed, 04 Apr 2012 11:36:28 +0900 gwaei (3.2.0b1-1) unstable; urgency=low * new upstream beta releases * libwaei1 renamed to libwaei2 due to so version change * remove libunique from build-deps, not needed anymore * added build-deps: gsettings-desktop-schemas and enchant (needed for configure testing, otherwise disabled) -- Norbert Preining Sun, 20 Nov 2011 22:51:20 +0900 gwaei (3.0.2-1) unstable; urgency=low * new upstream release * adapt build dependencies * bump standards version, no changes necessary * add some recommended build targets to make lintian happy * split shared library into a separate package -- Norbert Preining Tue, 19 Jul 2011 19:16:54 +0900 gwaei (1.4.3-1) experimental; urgency=low * new upstream release * upload to experimental to keep unstable for squeeze fixes -- Norbert Preining Mon, 15 Nov 2010 20:14:32 +0900 gwaei (1.4.2-1) unstable; urgency=low * new upstream release * debian/control: bump standards version to 3.9.1, no changes necessary -- Norbert Preining Wed, 22 Sep 2010 23:59:48 +0900 gwaei (1.4.1-2) unstable; urgency=low * add menu file for gwaei (Closes: #589305) - convert png icons to xpm, for that add imagemagick to build-deps - add debian/menu file, putting it into Applications/Text category - install the xpm files (16x16, 24x24, 32x32) into /u/s/pixmaps -- Norbert Preining Tue, 20 Jul 2010 16:40:00 +0900 gwaei (1.4.1-1) unstable; urgency=low * new upstream release * bump standards version to 3.9.0, no changes necessary -- Norbert Preining Thu, 08 Jul 2010 01:45:21 +0900 gwaei (1.4.0-1) unstable; urgency=low * new upstream releases: - fixes the bug when removing dicts (Closes: #557565) - includes copyright statements for included sub-programs, carried over to debian/copyright (Closes: #557300) * change package to source format 3.0 (quilt) * bump standards version to 3.8.4, no changes necessary * adapt build-dep for curses libraries -- Norbert Preining Tue, 11 May 2010 18:08:02 +0900 gwaei (1.2.1-1) unstable; urgency=low * Initial packaging for Debian (Closes: #530398) -- Norbert Preining Sun, 15 Nov 2009 15:21:20 +0900 debian/libwaei2.install0000644000000000000000000000002612263230140012243 0ustar usr/lib/libwaei*.so.* debian/libwaei-dev.install0000644000000000000000000000006312263230140012736 0ustar usr/include usr/lib/libwaei*.so usr/lib/libwaei*.a debian/rules0000755000000000000000000000623212263230140010242 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # not needed, but for convenience when I work by hand: #export QUILT_PATCHES=debian/patches PACKAGE=gwaei CFLAGS = -Wall -g ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 endif clean: dh_testdir dh_testroot make clean || true for i in 16x16 24x24 32x32 ; do \ rm -f src/images/$$i/gwaei.xpm ; \ done rm -f config.status Doxyfile config.h stamp-h1 config.log rm -f Makefile help/gwaei.omf help/Makefile po/Makefile libtool rm -f po/POTFILES po/Makefile.in rpm/rpm_gconf_install_post.sh rm -f po/stamp-it rm -f rpm/fedora/SPECS/gwaei.spec rpm/gwaei.spec rm -f src/gwaei/doxyfile rm -f src/gwaei/Makefile rm -f src/gwaei/help/Makefile src/gwaei/help/gwaei.omf rm -f src/gwaei/ui/Makefile rm -f src/gwaei/include/gwaei/Makefile rm -f src/libwaei/doxyfile rm -f src/libwaei/Makefile src/libwaei/include/libwaei/Makefile rm -f src/waei/doxyfile src/waei/Makefile rm -f src/waei/include/waei/Makefile rm -f src/images/Makefile rm -f src/Makefile src/xml/Makefile src/kpengine/Makefile rm -f mandir/Makefile rm -rf src/kpengine/.deps src/.deps rm -f src/desktop/Makefile src/schemas/Makefile rm -f src/img/Makefile rm -f deb/DEBIAN/control deb/DEBIAN/postinst deb/DEBIAN/prerm rm -f build-stamp configure-stamp dh_autoreconf_clean dh_clean config: config-stamp config-stamp: configure dh_testdir dh_autoreconf CFLAGS="$(CFLAGS)" ./configure --prefix=/usr \ --sysconfdir=/usr/share \ --mandir=/usr/share/man # convert png icons to xpm so that we can use them with menu system for i in 16x16 24x24 32x32 ; do \ convert src/images/$$i/gwaei.png src/images/$$i/gwaei.xpm ; \ done touch config-stamp build: build-arch build-indep build-arch: build-stamp build-indep: build-stamp build-stamp: config dh_testdir $(MAKE) touch build-stamp install: build dh_testdir dh_testroot dh_prep $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp dh_install --sourcedir=debian/tmp dh_makeshlibs # GPL is shipped globally, and mentioned in the copyright file rm -f $(CURDIR)/debian/$(PACKAGE)/usr/share/doc/gwaei/COPYING # this will be already installed by dh_installchangelogs below rm -f $(CURDIR)/debian/$(PACKAGE)/usr/share/doc/gwaei/ChangeLog # # install additional xpm icons dh_installdirs usr/share/pixmaps cp src/images/16x16/gwaei.xpm \ $(CURDIR)/debian/$(PACKAGE)/usr/share/pixmaps/gwaei_16x16.xpm cp src/images/32x32/gwaei.xpm \ $(CURDIR)/debian/$(PACKAGE)/usr/share/pixmaps/gwaei_32x32.xpm cp src/images/24x24/gwaei.xpm \ $(CURDIR)/debian/$(PACKAGE)/usr/share/pixmaps/gwaei.xpm # Build architecture-independent files here. binary-indep: build install # Build architecture-dependent files here. binary-arch: build install dh_testdir dh_testroot dh_makeshlibs dh_installchangelogs ChangeLog dh_installdocs NEWS README THANKS dh_installmenu # should be done by the installation above #dh_installman mandir/gwaei.1 mandir/waei.1 dh_gconf dh_makeshlibs dh_strip dh_compress dh_fixperms dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: config build clean binary-indep binary-arch binary install debian/compat0000644000000000000000000000000212263230140010355 0ustar 7 debian/control0000644000000000000000000000355512263230140010572 0ustar Source: gwaei Section: gnome Priority: optional Maintainer: Norbert Preining Build-Depends: libcurl4-gnutls-dev, libgtk-3-dev (>= 3.3.0), gnome-doc-utils, debhelper (>= 7), libncurses5-dev, libncursesw5-dev, imagemagick, intltool, rarian-compat, gsettings-desktop-schemas, libhunspell-dev, libmecab-dev, dh-autoreconf Standards-Version: 3.9.5 Homepage: http://www.zacharydovel.com/software/gwaei Package: gwaei Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: fonts-kanjistrokeorders, mecab-ipadic, hunspell-en-us Description: Japanese-English Dictionary for GNOME gWaei is an easy to use and yet powerful full-featured dictionary program for Japanese to English translation. It organizes results by relevance, supports regex searches, tabs, spell checking, kanji handwriting recognition and an accompanying console version for searches through the terminal. Package: libwaei2 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Japanese-English Dictionary for GNOME gWaei is an easy to use and yet powerful full-featured dictionary program for Japanese to English translation. It organizes results by relevance, supports regex searches, tabs, spell checking, kanji handwriting recognition and an accompanying console version for searches through the terminal. . This package contains the shared library libwaei. Package: libwaei-dev Section: libdevel Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Japanese-English Dictionary for GNOME gWaei is an easy to use and yet powerful full-featured dictionary program for Japanese to English translation. It organizes results by relevance, supports regex searches, tabs, spell checking, kanji handwriting recognition and an accompanying console version for searches through the terminal. . This package contains the development files. debian/source/0000755000000000000000000000000012263230140010457 5ustar debian/source/format0000644000000000000000000000001412263230140011665 0ustar 3.0 (quilt)