diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-04-09 09:48:17 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-04-09 09:48:17 +0000 |
commit | a398c07dfa0cc9365bcf7b0de1dc5f66fcb14954 (patch) | |
tree | 8f2c8d5f7c94458cefc5ec4455040ab282610459 /devel/gtranslator | |
parent | dca88ea065c6d169f86989657f28bc5bfff0d863 (diff) | |
download | ports-a398c07dfa0cc9365bcf7b0de1dc5f66fcb14954.tar.gz ports-a398c07dfa0cc9365bcf7b0de1dc5f66fcb14954.zip |
Notes
Diffstat (limited to 'devel/gtranslator')
-rw-r--r-- | devel/gtranslator/Makefile | 6 | ||||
-rw-r--r-- | devel/gtranslator/distinfo | 2 | ||||
-rw-r--r-- | devel/gtranslator/files/patch-data::mime::Makefile.in | 14 | ||||
-rw-r--r-- | devel/gtranslator/files/patch-help::C::Makefile.in | 35 | ||||
-rw-r--r-- | devel/gtranslator/files/patch-src::header_stuff.c | 26 | ||||
-rw-r--r-- | devel/gtranslator/pkg-plist | 32 |
6 files changed, 107 insertions, 8 deletions
diff --git a/devel/gtranslator/Makefile b/devel/gtranslator/Makefile index d5afda67e1e2..568a3d8e3cff 100644 --- a/devel/gtranslator/Makefile +++ b/devel/gtranslator/Makefile @@ -6,9 +6,9 @@ # PORTNAME= gtranslator -PORTVERSION= 0.35 +PORTVERSION= 0.37 CATEGORIES= devel gnome -MASTER_SITES= http://www.gtranslator.org/download/releases/${PORTVERSION}/tarballs/ \ +MASTER_SITES= http://www.gtranslator.org/download/releases/${PORTVERSION}/ \ ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -27,7 +27,7 @@ USE_LIBTOOL= yes INSTALLS_SHLIB= yes CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib" -MAN1= gtranslator.1 +MAN1= gtranslator.1 nautilus-gtranslator-view.1 pozilla.sh.1 MANCOMPRESSED= yes pre-patch: diff --git a/devel/gtranslator/distinfo b/devel/gtranslator/distinfo index 18b1ecf3f82e..9ca0d47bc8fc 100644 --- a/devel/gtranslator/distinfo +++ b/devel/gtranslator/distinfo @@ -1 +1 @@ -MD5 (gtranslator-0.35.tar.bz2) = 79968868d185680f3aafe33f7c7ad0b3 +MD5 (gtranslator-0.37.tar.bz2) = d7bb016dfd08200974d90d42ad1729c9 diff --git a/devel/gtranslator/files/patch-data::mime::Makefile.in b/devel/gtranslator/files/patch-data::mime::Makefile.in new file mode 100644 index 000000000000..9c9e0f8256bd --- /dev/null +++ b/devel/gtranslator/files/patch-data::mime::Makefile.in @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- data/mime/Makefile.in 2001/04/09 08:20:55 1.1 ++++ data/mime/Makefile.in 2001/04/09 08:21:14 +@@ -301,7 +301,7 @@ + all-am: + @mv $(srcdir)/gtranslator.keys.in gtranslator.keys.in.bak + @mv gtranslator.keys gtranslator.keys.in +- xml-i18n-merge -k $(top_srcdir)/po gtranslator.keys.in gtranslator.keys ++ $(XML_I18N_MERGE) -k $(top_srcdir)/po gtranslator.keys.in gtranslator.keys + @mv gtranslator.keys.in.bak $(srcdir)/gtranslator.keys.in + + # Tell versions [3.59,3.63) of GNU make to not export all variables. diff --git a/devel/gtranslator/files/patch-help::C::Makefile.in b/devel/gtranslator/files/patch-help::C::Makefile.in new file mode 100644 index 000000000000..002ed407a7ad --- /dev/null +++ b/devel/gtranslator/files/patch-help::C::Makefile.in @@ -0,0 +1,35 @@ + +$FreeBSD$ + +--- help/C/Makefile.in 2001/04/09 08:23:20 1.1 ++++ help/C/Makefile.in 2001/04/09 08:37:19 +@@ -142,12 +142,14 @@ + @SCROLLKEEPER_PRESENT_TRUE@gtranslator_help_DATA = $(gtranslator_htmlfiles) topic.dat $(gtranslator_sgmlfile) + @SCROLLKEEPER_PRESENT_FALSE@gtranslator_help_DATA = $(gtranslator_htmlfiles) topic.dat + +-EXTRA_DIST = $(gtranslator_sgmlfile) $(gtranslator_htmlfiles) $(gtranslator_omffile).presetup topic.dat ++@SCROLLKEEPER_PRESENT_TRUE@EXTRA_DIST = $(gtranslator_sgmlfile) $(gtranslator_htmlfiles) $(gtranslator_omffile).presetup topic.dat ++@SCROLLKEEPER_PRESENT_FALSE@EXTRA_DIST = $(gtranslator_sgmlfile) $(gtranslator_htmlfiles) topic.dat + + mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs + CONFIG_HEADER = ../../config.h + CONFIG_CLEAN_FILES = +-DATA = $(gtranslator_help_DATA) $(gtranslator_omf_DATA) ++@SCROLLKEEPER_PRESENT_TRUE@DATA = $(gtranslator_help_DATA) $(gtranslator_omf_DATA) ++@SCROLLKEEPER_PRESENT_FALSE@DATA = $(gtranslator_help_DATA) + + DIST_COMMON = Makefile.am Makefile.in + +@@ -233,8 +235,10 @@ + install-exec-am: + install-exec: install-exec-am + +-install-data-am: install-gtranslator_helpDATA \ +- install-gtranslator_omfDATA install-data-local ++@SCROLLKEEPER_PRESENT_TRUE@install-data-am: install-gtranslator_helpDATA \ ++@SCROLLKEEPER_PRESENT_TRUE@ install-gtranslator_omfDATA install-data-local ++@SCROLLKEEPER_PRESENT_FALSE@install-data-am: install-gtranslator_helpDATA \ ++@SCROLLKEEPER_PRESENT_FALSE@ install-data-local + install-data: install-data-am + + install-am: all-am diff --git a/devel/gtranslator/files/patch-src::header_stuff.c b/devel/gtranslator/files/patch-src::header_stuff.c new file mode 100644 index 000000000000..a81ea53d1e1a --- /dev/null +++ b/devel/gtranslator/files/patch-src::header_stuff.c @@ -0,0 +1,26 @@ + +$FreeBSD$ + +--- src/header_stuff.c 2001/04/09 09:21:33 1.1 ++++ src/header_stuff.c 2001/04/09 09:30:32 +@@ -168,13 +168,15 @@ + const gchar * language_in_english(const gchar *lang) + { + gint c; +- for(c=0;languages[c].name!=NULL;c++) +- { +- if(!strcmp(_(languages[c].name), lang)) ++ ++ if (lang != NULL) ++ for(c=0;languages[c].name!=NULL;c++) + { +- return languages[c].name; ++ if(!strcmp(_(languages[c].name), lang)) ++ { ++ return languages[c].name; ++ } + } +- } + return lang; + } + /* diff --git a/devel/gtranslator/pkg-plist b/devel/gtranslator/pkg-plist index 51d8ed3467ef..5169345d0372 100644 --- a/devel/gtranslator/pkg-plist +++ b/devel/gtranslator/pkg-plist @@ -12,23 +12,44 @@ etc/gconf/gconf.xml.defaults/schemas/apps/gtranslator/language/%gconf.xml etc/gconf/gconf.xml.defaults/schemas/apps/gtranslator/translator/%gconf.xml etc/gconf/schemas/gtranslator.schemas share/gnome/apps/Development/gtranslator.desktop +share/gnome/gtranslator/colorschemes/boom-boom.xml +share/gnome/gtranslator/colorschemes/default.xml +share/gnome/gtranslator/colorschemes/extremely-kabalak.xml +share/gnome/gtranslator/colorschemes/kabalak.xml +share/gnome/gtranslator/colorschemes/kbabel.xml +share/gnome/gtranslator/colorschemes/menesis.xml +share/gnome/gtranslator/colorschemes/nizuu.xml +share/gnome/gtranslator/colorschemes/tuey.xml +share/gnome/gtranslator/colorschemes/vim.xml +share/gnome/gtranslator/colorschemes/waliays.xml +share/gnome/gtranslator/colorschemes/zuper.xml share/gnome/gtranslator/scripts/my-update.sh +share/gnome/help/gtranslator/C/aa.html share/gnome/help/gtranslator/C/authors.html +share/gnome/help/gtranslator/C/colorschemes.html share/gnome/help/gtranslator/C/commandlinearguments.html share/gnome/help/gtranslator/C/docbook.css share/gnome/help/gtranslator/C/features.html share/gnome/help/gtranslator/C/index.html -share/gnome/help/gtranslator/C/thanks-to-contributors.html -share/gnome/help/gtranslator/C/thanks-to-packagers.html +share/gnome/help/gtranslator/C/resources.html +share/gnome/help/gtranslator/C/thanks.html share/gnome/help/gtranslator/C/topic.dat -share/gnome/help/gtranslator/C/use-of-gtranslator.html +share/gnome/help/gtranslator/ja/authors.html +share/gnome/help/gtranslator/ja/commandlinearguments.html +share/gnome/help/gtranslator/ja/docbook.css +share/gnome/help/gtranslator/ja/features.html +share/gnome/help/gtranslator/ja/index.html +share/gnome/help/gtranslator/ja/thanks.html +share/gnome/help/gtranslator/ja/topic.dat +share/gnome/help/gtranslator/ja/use-of-gtranslator.html share/gnome/mime-info/gtranslator.keys share/gnome/mime-info/gtranslator.mime share/gnome/pixmaps/gtranslator.png -share/gnome/pixmaps/mc/application-x-gmo.png share/gnome/pixmaps/mc/application-x-po.png +share/locale/az/LC_MESSAGES/gtranslator.mo share/locale/da/LC_MESSAGES/gtranslator.mo share/locale/de/LC_MESSAGES/gtranslator.mo +share/locale/el/LC_MESSAGES/gtranslator.mo share/locale/en_GB/LC_MESSAGES/gtranslator.mo share/locale/es/LC_MESSAGES/gtranslator.mo share/locale/fi/LC_MESSAGES/gtranslator.mo @@ -47,9 +68,12 @@ share/locale/ru/LC_MESSAGES/gtranslator.mo share/locale/sv/LC_MESSAGES/gtranslator.mo share/locale/tr/LC_MESSAGES/gtranslator.mo share/locale/uk/LC_MESSAGES/gtranslator.mo +share/locale/wa/LC_MESSAGES/gtranslator.mo +@dirrm share/gnome/help/gtranslator/ja @dirrm share/gnome/help/gtranslator/C @dirrm share/gnome/help/gtranslator @dirrm share/gnome/gtranslator/scripts +@dirrm share/gnome/gtranslator/colorschemes @dirrm share/gnome/gtranslator @dirrm etc/gconf/gconf.xml.defaults/schemas/apps/gtranslator/translator @dirrm etc/gconf/gconf.xml.defaults/schemas/apps/gtranslator/language |