Update to 3.0.0 * Switch gtk2 to gtk3. Changelog: 2010-01-10: gWaei 3.0.0 New version of gwaei made to compile against gtk+-3.0 and match other Gnome 3 apps. Most of the code has been rewritten and the advantages won't all appear u ntil futuer versions of the program. -Spellcheck is now don't directly with enchant instead of relying on libsexy -The backend is now separated into a libtool library for cleaner code. -The dictionary folder is now in ~/.config/gwaei instead of ~/.waei. -Manual installation of dictionaries is now easier and more straight forward. -Translations are now handled by intltool instead of gettext -Much of the code now uses GError for proper error handling and message passin g -The code now uses GRegex instead of the C regex library included with the OS, making the program more cross platform friendlydiff -r1.17 -r1.18 pkgsrc/misc/gwaei/Makefile
(ryoon)
@@ -1,39 +1,38 @@ | @@ -1,39 +1,38 @@ | |||
1 | # $NetBSD: Makefile,v 1.17 2011/04/22 13:44:10 obache Exp $ | 1 | # $NetBSD: Makefile,v 1.18 2011/07/14 21:11:54 ryoon Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | DISTNAME= gwaei-1.5.2 | 4 | DISTNAME= gwaei-3.0.0 | |
5 | PKGREVISION= 1 | |||
6 | CATEGORIES= misc | 5 | CATEGORIES= misc | |
7 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gwaei/} | 6 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gwaei/} | |
8 | 7 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= http://gwaei.sourceforge.net/ | 9 | HOMEPAGE= http://gwaei.sourceforge.net/ | |
11 | COMMENT= Japanese dictionary for GNOME | 10 | COMMENT= Japanese dictionary for GNOME | |
12 | LICENSE= gnu-gpl-v3 | 11 | LICENSE= gnu-gpl-v3 | |
13 | 12 | |||
14 | PKG_DESTDIR_SUPPORT= user-destdir | 13 | PKG_DESTDIR_SUPPORT= user-destdir | |
15 | 14 | |||
16 | GNU_CONFIGURE= yes | 15 | GNU_CONFIGURE= yes | |
17 | USE_PKGLOCALEDIR= yes | 16 | USE_PKGLOCALEDIR= yes | |
18 | USE_TOOLS+= gmake perl pkg-config | 17 | USE_TOOLS+= perl gmake pkg-config intltool | |
19 | 18 | |||
20 | PLIST_SRC= PLIST | 19 | PLIST_SRC= PLIST | |
21 | 20 | |||
22 | .include "options.mk" | 21 | .include "options.mk" | |
23 | 22 | |||
24 | INSTALLATION_DIRS= share/glib-2.0/schemas | 23 | INSTALLATION_DIRS= share/glib-2.0/schemas | |
25 | 24 | |||
26 | post-install: | 25 | post-install: | |
27 | ${INSTALL_DATA} ${WRKSRC}/src/schemas/*xml \ | 26 | ${INSTALL_DATA} ${WRKSRC}/src/schemas/*xml \ | |
28 | ${DESTDIR}${PREFIX}/share/glib-2.0/schemas/ | 27 | ${DESTDIR}${PREFIX}/share/glib-2.0/schemas/ | |
29 | 28 | |||
30 | .include "../../devel/gettext-lib/buildlink3.mk" | 29 | .include "../../devel/gettext-lib/buildlink3.mk" | |
31 | BUILDLINK_API_DEPENDS.glib2+= glib2>=2.16.5 | 30 | BUILDLINK_API_DEPENDS.glib2+= glib2>=2.25.0 | |
32 | .include "../../devel/glib2/schemas.mk" | 31 | .include "../../devel/glib2/schemas.mk" | |
33 | BUILDLINK_API_DEPENDS.curl+= curl>=7.18.0 | 32 | BUILDLINK_API_DEPENDS.curl+= curl>=7.19.6 | |
34 | .include "../../www/curl/buildlink3.mk" | 33 | .include "../../www/curl/buildlink3.mk" | |
35 | BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.14.0 | 34 | BUILDLINK_API_DEPENDS.gtk3+= gtk3+>=3.0.0 | |
36 | .include "../../x11/gtk2/buildlink3.mk" | 35 | .include "../../x11/gtk3/buildlink3.mk" | |
37 | .include "../../textproc/gnome-doc-utils/buildlink3.mk" | 36 | .include "../../textproc/gnome-doc-utils/buildlink3.mk" | |
38 | .include "../../devel/ncursesw/buildlink3.mk" | 37 | .include "../../devel/ncursesw/buildlink3.mk" | |
39 | .include "../../mk/bsd.pkg.mk" | 38 | .include "../../mk/bsd.pkg.mk" |
@@ -1,23 +1,29 @@ | @@ -1,23 +1,29 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.9 2011/01/25 11:02:35 ryoon Exp $ | 1 | @comment $NetBSD: PLIST,v 1.10 2011/07/14 21:11:54 ryoon Exp $ | |
2 | bin/gwaei | |||
3 | bin/waei | 2 | bin/waei | |
3 | include/libwaei/dictinfo.h | |||
4 | include/libwaei/dictinfolist.h | |||
5 | include/libwaei/dictinst.h | |||
6 | include/libwaei/dictinstlist.h | |||
7 | include/libwaei/engine.h | |||
8 | include/libwaei/historylist.h | |||
9 | include/libwaei/io.h | |||
10 | include/libwaei/libwaei.h | |||
11 | include/libwaei/preferences.h | |||
12 | include/libwaei/queryline.h | |||
13 | include/libwaei/regex.h | |||
14 | include/libwaei/resultline.h | |||
15 | include/libwaei/searchitem.h | |||
16 | include/libwaei/utilities.h | |||
17 | lib/libwaei.la | |||
4 | man/man1/waei.1 | 18 | man/man1/waei.1 | |
5 | share/doc/gwaei/COPYING | 19 | share/doc/gwaei/COPYING | |
6 | share/doc/gwaei/ChangeLog | 20 | share/doc/gwaei/ChangeLog | |
7 | share/doc/gwaei/NEWS | 21 | share/doc/gwaei/NEWS | |
8 | share/glib-2.0/schemas/org.gnome.gwaei.dictionary.gschema.xml | |||
9 | share/glib-2.0/schemas/org.gnome.gwaei.fonts.gschema.xml | |||
10 | share/glib-2.0/schemas/org.gnome.gwaei.gschema.xml | 22 | share/glib-2.0/schemas/org.gnome.gwaei.gschema.xml | |
11 | share/glib-2.0/schemas/org.gnome.gwaei.highlight.gschema.xml | |||
12 | share/glib-2.0/schemas/org.gnome.gwaei.kanjipad_window.gschema.xml | |||
13 | share/glib-2.0/schemas/org.gnome.gwaei.main_window.gschema.xml | |||
14 | share/glib-2.0/schemas/org.gnome.gwaei.radicals_window.gschema.xml | |||
15 | share/locale/cs/LC_MESSAGES/gwaei.mo | 23 | share/locale/cs/LC_MESSAGES/gwaei.mo | |
16 | share/locale/de/LC_MESSAGES/gwaei.mo | 24 | share/locale/de/LC_MESSAGES/gwaei.mo | |
17 | share/locale/en@boldquot/LC_MESSAGES/gwaei.mo | |||
18 | share/locale/en@quot/LC_MESSAGES/gwaei.mo | |||
19 | share/locale/es/LC_MESSAGES/gwaei.mo | 25 | share/locale/es/LC_MESSAGES/gwaei.mo | |
20 | share/locale/fr/LC_MESSAGES/gwaei.mo | 26 | share/locale/fr/LC_MESSAGES/gwaei.mo | |
21 | share/locale/it/LC_MESSAGES/gwaei.mo | 27 | share/locale/it/LC_MESSAGES/gwaei.mo | |
22 | share/locale/ja/LC_MESSAGES/gwaei.mo | 28 | share/locale/ja/LC_MESSAGES/gwaei.mo | |
23 | share/locale/tr/LC_MESSAGES/gwaei.mo | 29 | share/locale/tr/LC_MESSAGES/gwaei.mo |
@@ -1,30 +1,62 @@ | @@ -1,30 +1,62 @@ | |||
1 | @comment $NetBSD: PLIST.gnome,v 1.3 2011/01/25 11:02:35 ryoon Exp $ | 1 | @comment $NetBSD: PLIST.gnome,v 1.4 2011/07/14 21:11:54 ryoon Exp $ | |
2 | bin/gwaei | |||
3 | bin/waei | |||
4 | include/libwaei/dictinfo.h | |||
5 | include/libwaei/dictinfolist.h | |||
6 | include/libwaei/dictinst.h | |||
7 | include/libwaei/dictinstlist.h | |||
8 | include/libwaei/engine.h | |||
9 | include/libwaei/historylist.h | |||
10 | include/libwaei/io.h | |||
11 | include/libwaei/libwaei.h | |||
12 | include/libwaei/preferences.h | |||
13 | include/libwaei/queryline.h | |||
14 | include/libwaei/regex.h | |||
15 | include/libwaei/resultline.h | |||
16 | include/libwaei/searchitem.h | |||
17 | include/libwaei/utilities.h | |||
2 | lib/gwaei/kpengine | 18 | lib/gwaei/kpengine | |
19 | lib/libwaei.la | |||
3 | man/man1/gwaei.1 | 20 | man/man1/gwaei.1 | |
21 | man/man1/waei.1 | |||
4 | share/applications/gwaei.desktop | 22 | share/applications/gwaei.desktop | |
23 | share/doc/gwaei/COPYING | |||
24 | share/doc/gwaei/ChangeLog | |||
25 | share/doc/gwaei/NEWS | |||
26 | share/glib-2.0/schemas/org.gnome.gwaei.gschema.xml | |||
5 | share/gnome/help/gwaei/C/glossary.xml | 27 | share/gnome/help/gwaei/C/glossary.xml | |
6 | share/gnome/help/gwaei/C/gwaei.xml | 28 | share/gnome/help/gwaei/C/gwaei.xml | |
7 | share/gwaei/book_green.png | 29 | share/gwaei/book_green.png | |
30 | share/gwaei/dictionaryinstall.ui | |||
8 | share/gwaei/goo.png | 31 | share/gwaei/goo.png | |
9 | share/gwaei/google.png | 32 | share/gwaei/google.png | |
33 | share/gwaei/installprogress.ui | |||
10 | share/gwaei/jdata.dat | 34 | share/gwaei/jdata.dat | |
11 | share/gwaei/kanjipad.ui | 35 | share/gwaei/kanjipad.ui | |
12 | share/gwaei/logo.png | 36 | share/gwaei/logo.png | |
13 | share/gwaei/main.ui | 37 | share/gwaei/main.ui | |
14 | share/gwaei/radicals.ui | 38 | share/gwaei/radicals.ui | |
15 | share/gwaei/settings.ui | 39 | share/gwaei/settings.ui | |
16 | share/gwaei/wikipedia.png | 40 | share/gwaei/wikipedia.png | |
17 | share/icons/hicolor/16x16/actions/non-word-boundary.png | 41 | share/icons/hicolor/16x16/actions/non-word-boundary.png | |
18 | share/icons/hicolor/16x16/actions/unknown-character.png | 42 | share/icons/hicolor/16x16/actions/unknown-character.png | |
19 | share/icons/hicolor/16x16/actions/word-boundary.png | 43 | share/icons/hicolor/16x16/actions/word-boundary.png | |
20 | share/icons/hicolor/16x16/apps/gwaei.png | 44 | share/icons/hicolor/16x16/apps/gwaei.png | |
21 | share/icons/hicolor/22x22/actions/non-word-boundary.png | 45 | share/icons/hicolor/22x22/actions/non-word-boundary.png | |
22 | share/icons/hicolor/22x22/actions/unknown-character.png | 46 | share/icons/hicolor/22x22/actions/unknown-character.png | |
23 | share/icons/hicolor/22x22/actions/word-boundary.png | 47 | share/icons/hicolor/22x22/actions/word-boundary.png | |
24 | share/icons/hicolor/24x24/actions/non-word-boundary.png | 48 | share/icons/hicolor/24x24/actions/non-word-boundary.png | |
25 | share/icons/hicolor/24x24/actions/unknown-character.png | 49 | share/icons/hicolor/24x24/actions/unknown-character.png | |
26 | share/icons/hicolor/24x24/actions/word-boundary.png | 50 | share/icons/hicolor/24x24/actions/word-boundary.png | |
27 | share/icons/hicolor/24x24/apps/gwaei.png | 51 | share/icons/hicolor/24x24/apps/gwaei.png | |
28 | share/icons/hicolor/32x32/apps/gwaei.png | 52 | share/icons/hicolor/32x32/apps/gwaei.png | |
29 | share/icons/hicolor/48x48/apps/gwaei.png | 53 | share/icons/hicolor/48x48/apps/gwaei.png | |
54 | share/icons/hicolor/scalable/apps/gwaei.svg | |||
55 | share/locale/cs/LC_MESSAGES/gwaei.mo | |||
56 | share/locale/de/LC_MESSAGES/gwaei.mo | |||
57 | share/locale/es/LC_MESSAGES/gwaei.mo | |||
58 | share/locale/fr/LC_MESSAGES/gwaei.mo | |||
59 | share/locale/it/LC_MESSAGES/gwaei.mo | |||
60 | share/locale/ja/LC_MESSAGES/gwaei.mo | |||
61 | share/locale/tr/LC_MESSAGES/gwaei.mo | |||
30 | share/omf/gwaei/gwaei-C.omf | 62 | share/omf/gwaei/gwaei-C.omf |
@@ -1,5 +1,6 @@ | @@ -1,5 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.10 2011/01/25 11:02:35 ryoon Exp $ | 1 | $NetBSD: distinfo,v 1.11 2011/07/14 21:11:54 ryoon Exp $ | |
2 | 2 | |||
3 | SHA1 (gwaei-1.5.2.tar.gz) = c4bfee7487ff3bbcfee38a218d98cc4d2caf3238 | 3 | SHA1 (gwaei-3.0.0.tar.gz) = 9200645f1f6b9c65ee378d2102d14260da62594c | |
4 | RMD160 (gwaei-1.5.2.tar.gz) = d9317e595cf708f1267856a90174bc274cec38ed | 4 | RMD160 (gwaei-3.0.0.tar.gz) = 6e30564c71bc6208a419d4ba0c17d2271c080e45 | |
5 | Size (gwaei-1.5.2.tar.gz) = 709778 bytes | 5 | Size (gwaei-3.0.0.tar.gz) = 821703 bytes | |
6 | SHA1 (patch-configure) = 5d874d13b032340d0fc852906c9f4284bdbdcff6 |
@@ -1,24 +1,17 @@ | @@ -1,24 +1,17 @@ | |||
1 | # $NetBSD: options.mk,v 1.4 2011/01/25 11:02:35 ryoon Exp $ | 1 | # $NetBSD: options.mk,v 1.5 2011/07/14 21:11:54 ryoon Exp $ | |
2 | 2 | |||
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.gwaei | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.gwaei | |
4 | PKG_SUPPORTED_OPTIONS= gnome | 4 | PKG_SUPPORTED_OPTIONS= gnome | |
5 | PKG_SUGGESTED_OPTIONS= gnome | 5 | PKG_SUGGESTED_OPTIONS= gnome | |
6 | 6 | |||
7 | .include "../../mk/bsd.options.mk" | 7 | .include "../../mk/bsd.options.mk" | |
8 | 8 | |||
9 | .if !empty(PKG_OPTIONS:Mgnome) | 9 | .if !empty(PKG_OPTIONS:Mgnome) | |
10 | PLIST_SRC+= PLIST.gnome | 10 | PLIST_SRC+= PLIST.gnome | |
11 | 11 | |||
12 | BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.14.0 | |||
13 | .include "../../x11/gtk2/buildlink3.mk" | |||
14 | BUILDLINK_API_DEPENDS.libgnome+= libgnome>=2.22.0 | |||
15 | .include "../../devel/libgnome/buildlink3.mk" | |||
16 | BUILDLINK_API_DEPENDS.libsexy+= libsexy>=0.1.11 | |||
17 | .include "../../devel/libsexy/buildlink3.mk" | |||
18 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" | |||
19 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" | 12 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" | |
20 | .include "../../x11/libunique/buildlink3.mk" | 13 | .include "../../x11/libunique3/buildlink3.mk" | |
21 | .include "../../mk/omf-scrollkeeper.mk" | 14 | .include "../../mk/omf-scrollkeeper.mk" | |
22 | .else | 15 | .else | |
23 | CONFIGURE_ARGS+= --without-gnome | 16 | CONFIGURE_ARGS+= --without-gnome | |
24 | .endif | 17 | .endif |
$NetBSD: patch-configure,v 1.1 2011/07/14 21:11:54 ryoon Exp $
* Wrong version detection
--- configure.orig 2011-07-14 19:56:43.000000000 +0000
+++ configure
@@ -13942,7 +13942,7 @@ case "$am__api_version" in
;;
esac
-if test -n "0.35.0"; then
+if test -ge "0.35.0"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
$as_echo_n "checking for intltool >= 0.35.0... " >&6; }