2015-11-25 13:50:00 +01:00
|
|
|
# $NetBSD: Makefile,v 1.17 2015/11/25 12:50:00 jperkin Exp $
|
2011-12-04 21:33:54 +01:00
|
|
|
#
|
|
|
|
|
Update to 3.5.01
Changelog:
----------------------------------------------------------------------
OmegaT 3.5 update 1 (2015-06-11)
----------------------------------------------------------------------
3 Enhancements
2 Bug fixes
3 Localisation updates
----------------------------------------------------------------------
3.5 update 1 vs 3.5
Implemented requests:
- Drag and drop within the segment
https://sourceforge.net/p/omegat/feature-requests/401/
- Auto-completion option: Show relevant suggestions automatically
https://sourceforge.net/p/omegat/feature-requests/1097/
- Glossary view auto-completion improvements
https://sourceforge.net/p/omegat/feature-requests/1098/
Bug fixes:
- The writeable glossary was not working propertly if it was not
at the root of the glossary folder
- It was not possible to have two glossaries with the same name
in different sub-folders
Localisation updates:
- Dutch localisation updated to 3.5 (UI, documentation, scripts, readme)
- Interlingua localisation updated to 3.5 (UI, scripts, readme)
- Italian localisation updated to 3.5 (UI, scripts)
----------------------------------------------------------------------
OmegaT 3.5 (2015-06-05)
----------------------------------------------------------------------
18 Enhancements
4 Bug fixes
5 Localisation updates
----------------------------------------------------------------------
3.5 vs 3.4
Implemented requests:
- Progress bar L10N improvement
https://sourceforge.net/p/omegat/feature-requests/1055/
- Glossary input from Search window
https://sourceforge.net/p/omegat/feature-requests/747/
- Highlighting search word in target segment
https://sourceforge.net/p/omegat/feature-requests/890/
- Drag and drop to open project
https://sourceforge.net/p/omegat/feature-requests/113/
- Drag and drop to add files to project
https://sourceforge.net/p/omegat/feature-requests/1091/
- Add confirmation for the button Reset all colours
https://sourceforge.net/p/omegat/feature-requests/1085/
- Option to remove "fuzziness" from glossary
https://sourceforge.net/p/omegat/feature-requests/1033/
- Better Mac OS X integration
https://sourceforge.net/p/omegat/feature-requests/1092/
- Remove automatically mnemonics for CJK bundles under Mac
https://sourceforge.net/p/omegat/feature-requests/1049/
Other changes:
- There's an explanation message at the bottom of the Editor when
Ctrl+Shift+O is pressed
- New script to clear SVN authentication data
- New OmegaT icon on the Mac
- Go to next/previous segment with key shortcuts work
in the Search result window just like in the Editor
- Alternatively to specifiy a project folder on the command line,
it is now also possible to specify the path of an omegat.project file
- In the QA - Check rules script (check_rules.groovy), it is now
possible to check linguistic (LangageTool) issues
- There's now a "Save as" button in Help > Log
- Read parameters from config file on startup, specified with
--config-file=path/to/file
- There are two new search options at the bottom of the Search window.
"Auto-sync with Editor". If checked, the Editor will go automatically to the
segment where the cursor is located in the search window.
"Back to the initial segment on close". If checked, the Editor will go back
to the segment being current before the Search window was opened.
Bug fixes:
- Panel header title was white under Windows 7 with a classic theme
- Script files could be locked
https://sourceforge.net/p/omegat/bugs/749/
- In statistics, scrollbars could cover table content
- Auto-completer popup size was often too small for its contents
Localisation updates:
- Dutch localisation updated to 3.4 update 1 (UI, documentation, readme)
- Russian localisation updated to 3.4 update 1 (UI, readme, scripts)
- Belarusian localisation updated to 3.5 (UI, readme, scripts)
- Japanese localisation updated to 3.5 (UI, documentation, scripts)
- Italian localisation updated to 3.4 update 1 (UI)
2015-08-09 19:39:33 +02:00
|
|
|
DISTNAME= OmegaT_3.5_01_Beta_Source
|
2011-12-04 21:33:54 +01:00
|
|
|
PKGNAME= ${DISTNAME:S/OmegaT_/OmegaT-/:S/_Source//:S/_Beta//:S/_/./g}
|
|
|
|
CATEGORIES= editors
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=omegat/}
|
|
|
|
EXTRACT_SUFX= .zip
|
|
|
|
|
|
|
|
MAINTAINER= ryoon@NetBSD.org
|
|
|
|
HOMEPAGE= http://www.omegat.org/
|
|
|
|
COMMENT= The translation memory (TM) application written in Java
|
|
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
|
|
USE_LANGUAGES= # none
|
2013-11-24 05:47:39 +01:00
|
|
|
USE_JAVA= yes
|
2011-12-04 21:33:54 +01:00
|
|
|
USE_JAVA2= yes
|
|
|
|
|
|
|
|
BUILD_DEPENDS+= apache-ant-[0-9]*:../../devel/apache-ant
|
|
|
|
|
|
|
|
USE_TOOLS+= pax
|
|
|
|
|
|
|
|
SUBST_CLASSES+= fix-omegat
|
|
|
|
SUBST_STAGE.fix-omegat= pre-configure
|
|
|
|
SUBST_MESSAGE.fix-omegat= fixing pathes
|
|
|
|
SUBST_FILES.fix-omegat= OmegaT
|
|
|
|
SUBST_SED.fix-omegat= -e 's,@OMEGATDIR@,${PREFIX}/${OMEGATDIR}/,g'
|
|
|
|
SUBST_SED.fix-omegat+= -e 's,@JAVA_HOME@,${PKG_JAVA_HOME}/,g'
|
|
|
|
|
|
|
|
OMEGATDIR= share/OmegaT
|
|
|
|
OMEGATDOCDIR= share/doc/OmegaT
|
|
|
|
|
|
|
|
INSTALLATION_DIRS= bin \
|
|
|
|
${OMEGATDIR} \
|
|
|
|
${OMEGATDIR}/lib \
|
|
|
|
${OMEGATDOCDIR} \
|
|
|
|
${OMEGATDOCDIR}/images
|
|
|
|
|
|
|
|
pre-patch:
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/OmegaT.in ${WRKSRC}/OmegaT
|
2014-09-27 11:46:24 +02:00
|
|
|
for f in ${WRKSRC}/build.xml; do \
|
|
|
|
${TR} -d '\r' < $${f} > $${f}.new; \
|
|
|
|
${MV} $${f}.new $${f}; \
|
|
|
|
done
|
2011-12-04 21:33:54 +01:00
|
|
|
|
|
|
|
do-build:
|
|
|
|
cd ${WRKSRC} \
|
|
|
|
&& env ${MAKE_ENV} \
|
2015-11-25 13:50:00 +01:00
|
|
|
${LOCALBASE}/bin/ant jar release
|
2011-12-04 21:33:54 +01:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/dist/*txt \
|
|
|
|
${DESTDIR}${PREFIX}/${OMEGATDOCDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/dist/*html \
|
|
|
|
${DESTDIR}${PREFIX}/${OMEGATDOCDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/dist/OmegaT.jar \
|
|
|
|
${DESTDIR}${PREFIX}/${OMEGATDIR}
|
|
|
|
cd ${WRKSRC}/dist/docs && pax -rw -pmp * \
|
|
|
|
${DESTDIR}${PREFIX}/${OMEGATDOCDIR}
|
Update to 3.4
Changelog:
----------------------------------------------------------------------
OmegaT 3.4 (2015-04-20)
----------------------------------------------------------------------
11 Enhancements
4 Bug fixes
3 Localisation updates
----------------------------------------------------------------------
3.4 vs 3.1.9 update 1
Implemented requests:
- Improve OmegaT look and feel
https://sourceforge.net/p/omegat/feature-requests/1082/
- Better statistics layout for l10n UI
https://sourceforge.net/p/omegat/feature-requests/820/
- Increase the size or better layout of the statistics window
https://sourceforge.net/p/omegat/feature-requests/820/
- Add Close button to Statistics window
https://sourceforge.net/p/omegat/feature-requests/859/
- Automatically detect input file encoding when possible
https://sourceforge.net/p/omegat/feature-requests/1075/
- Improve fuzzy match difference granularity in Chinese
https://sourceforge.net/p/omegat/feature-requests/1077/
Other changes:
- New XML Spreadsheet 2003 filter. This allows translating Excel document
exported in XML 2003 format. As the extension is .xml, other filters may
"steal" the file. In that case, they have to be disabled. The XML
Spreadhsheet 2003 filter limit itself to documents where the first tag
is "Workbook".
- In Options > File Filters, the filters used by the current project
are displayed in bold
- New "Trafficlight" theme in the Switch Colour Theme script
- Options > Tag Validation was renamed to Tag Processing. In that dialog,
there's now an option to decide whether protected text (from the XLIFF filter)
and custom tags should be counted in statistics. The option is on by default.
In previous versions, protected text was not counted in the statistics, so
the option has to be disabled to get the same value as before.
- The font selected in Options > Fonts can be applied now also to statistics
Bug fixes:
- Editor title overflows with long filename
https://sourceforge.net/p/omegat/bugs/739/
- Valid XML characters outside the BMP are stripped from input
https://sourceforge.net/p/omegat/bugs/740/
- Scripting window: now ScriptsDir is displayed like "foo\scripts" instead
of "foo\.\scripts"
- OmegaT does not look nice on Mac retina display
https://sourceforge.net/p/omegat/bugs/712/
Localisation updates:
- Dutch localisation updated to 3.4 (UI, documentation, scripts, readme)
- Italian localisation updated to 3.4 (UI, documentation, scripts)
- Japanese localisation updated to 3.4 (UI, readme)
----------------------------------------------------------------------
OmegaT 3.1.9 update 1 (2015-04-15)
----------------------------------------------------------------------
1 Enhancement
3 Bug fixes
0 Localisation update
----------------------------------------------------------------------
3.1.9 update 1 vs. 3.1.9
Implemented requests:
- Change auto-completion mode access keys
https://sourceforge.net/p/omegat/feature-requests/1073/
Bug fixes:
- The OK and Cancel buttons of Options > Editing Behaviour were not
displayed correctly
- Newly assigned scripts execute several times
https://sourceforge.net/p/omegat/bugs/737/
- The project-specific file filter configuration was deleted when
quitting OmegaT
----------------------------------------------------------------------
OmegaT 3.1.9 (2015-03-09)
----------------------------------------------------------------------
21 Enhancements
13 Bug fixes
6 Localisation updates
----------------------------------------------------------------------
3.1.9 vs. 3.1.8
Implemented requests:
- Machine translation with Yandex
https://sourceforge.net/p/omegat/feature-requests/790/
- Use selection for text Search from "Fuzzy Match" or "Glossary" panes
https://sourceforge.net/p/omegat/feature-requests/877/
- Allow to insert selection into translation from the Fuzzy Matches pane
https://sourceforge.net/p/omegat/feature-requests/1057/
- Warn user if the Enter key is hit while "Use TAB to Advance" is checked
https://sourceforge.net/p/omegat/feature-requests/1061/
- Support XLIFF equiv-text in tooltips, simplify tooltip prefs
https://sourceforge.net/p/omegat/feature-requests/1064/
- Show the number of non-unique segment instances in the segment markers
https://sourceforge.net/p/omegat/feature-requests/1068/
- Contextual menu to jump to another instance of non-unique segments
https://sourceforge.net/p/omegat/feature-requests/1067/
- Make it easy to "brand" OmegaT for custom deployments
https://sourceforge.net/p/omegat/feature-requests/1069/
- Make it easy to find specific files by name or path
https://sourceforge.net/p/omegat/feature-requests/1070/
- Improve resizing behavior of Project Files dialog
https://sourceforge.net/p/omegat/feature-requests/1071/
- Make segment numbers visible for all segments
https://sourceforge.net/p/omegat/feature-requests/1038/
Other enhancements:
- ILIAS Language File filter. Those files can have the .lang or
.lang.local extensions. As .lang files are also loaded by the Lang
Mozilla filter, it has to be unabled to load them with the ILIAS filter.
- Machine translation requests are now cached. That means that a
source segment already translated will not be requested again during
the same session (i.e., until OmegaT is closed).
- The initial location and the layout when resized of various dialogs
were improved. The OK button was set as the default button for all dialogs.
- The Custom Colours dialog was improved. It can be closed with Escape,
changes are remembered immediately and all colours can be reset at once.
There's also a new tab for colour selection.
- The Project Files dialog can be hidden on project load via hidden preference
(project_files_show_on_load)
- It is possible to define the text and background colour of modification
information and the active segment's source and target
- Dialogs are now centered against the main window instead of the screen
- The Visio filter was updated to remove unneeded tags in Visio 2010 documents
- For versions including Java, the JRE is now 1.8.0_31 instead of 1.7
- The appearance of the Project Files dialog has been improved on OS X.
The new styling has been applied to all platforms.
Bug fixes:
- There's now a 3-second retry when OmegaT attempts to rename files
- java.io.IOException: Error rename new file to glossary in team projects
https://sourceforge.net/p/omegat/bugs/695/
- In some specific cases, the content of Mozilla DTD files was not
loaded
- License information was missing from the lib folder of binary
distributions
- Wrong Swedish segmentation exception corrected
- Newline characters are lost in Japanese target documents
https://sourceforge.net/p/omegat/bugs/721/
- Filtering after a search with no live segments freezes OmegaT
https://sourceforge.net/p/omegat/bugs/692/
- Ellipses missing in several menu items
https://sourceforge.net/p/omegat/bugs/728/
- Both menu items for alternative translation are enabled
https://sourceforge.net/p/omegat/bugs/731/
- Incorrect handling of typographic apostrophe (U+2019)
https://sourceforge.net/p/omegat/bugs/598/
- The project-specific filter configuration was not saved when creating a
new project
- Mac OS X: A workaround was added for the full-screen window sizing
bug on OS X + Java 1.8. See https://bugs.openjdk.java.net/browse/JDK-8065739
for the bug description.
- The font set in Options > Font was only used after the change when
Apply this font to the Project Files dialog was used
Localisation updates:
- Belarusian localisation updated to 3.1.9 (UI, tutorial, scripts, readme)
- Basque localisation updated to 3.1.9 (UI, tutorial, scripts, readme)
- Dutch localisation updated to 3.1.9 (UI, documentation, scripts, readme)
- Italian localisation updated to 3.1.9 (UI, documentation, scripts, readme)
- Japanese localisation updated to 3.1.9 (UI, documentation, readme)
- Russian localisation updated to 3.1.9 (UI, tutorial, scripts, readme)
----------------------------------------------------------------------
OmegaT 3.1.8 (2014-12-04)
----------------------------------------------------------------------
6 Enhancements
10 Bug fixes
5 Localisation updates
----------------------------------------------------------------------
3.1.8 vs. 3.1.7
Implemented requests:
- Allow custom background/foreground colors for different elements in the editor
https://sourceforge.net/p/omegat/feature-requests/1035/
- Show dialog for unsupported SVN errors
https://sourceforge.net/p/omegat/feature-requests/1041/
- Allow configurable diff-style colours in fuzzy matching
https://sourceforge.net/p/omegat/feature-requests/900/
Other enhancements:
- It is now possible to customise colours used in the Fuzzy Matches pane
- All OmegaT windows (Search and Scripting windows) now use the OmegaT icon
instead of the standard Java ones
- Revised user manual
Bug fixes:
- Project specific segmentation rules cannot be disabled
https://sourceforge.net/p/omegat/bugs/694/
- Colours were not working in the Fuzzy Matches pane
- The text colour was not applied in the Editor
- If there was a double click in the search result entries pane in the
Search window before the first searching execution, the cursor (i.e.,
mouse pointer) changed to the Wait icon and could not be restored
- Strange glossary behavior - removing of newly added terms
https://sourceforge.net/p/omegat/bugs/696/
- OmegaT keeps temporary files project_save.tmx-based_on_revision_number.new
https://sourceforge.net/p/omegat/bugs/683/
- Git team project saving failure with 3.1.6
https://sourceforge.net/p/omegat/bugs/714/
- Fuzzy match segment not shown entirely when Ctrl+Arrow/Num is typed
https://sourceforge.net/p/omegat/bugs/720/
- PO comments also included as source text
https://sourceforge.net/p/omegat/bugs/705/
- In team projects, OmegaT was sometimes failing to rename files (perhaps
blocked by antivirus or cache software). There's now a 3-second retry.
Localisation updates:
- Dutch localisation updated to 3.1.7 (UI)
- Interlingua localisation updated to 3.1.7 (UI, documentation)
- Italian localisation updated to 3.1.7 (UI)
- Japanese localisation updated to 3.1.8 (UI, documentation)
- French localisation updated to 3.1.8 (UI, readme, documentation)
2015-05-19 14:48:36 +02:00
|
|
|
cd ${WRKSRC}/dist/images && pax -rw -pmp * \
|
2011-12-04 21:33:54 +01:00
|
|
|
${DESTDIR}${PREFIX}/${OMEGATDOCDIR}/images
|
Update to 3.5.01
Changelog:
----------------------------------------------------------------------
OmegaT 3.5 update 1 (2015-06-11)
----------------------------------------------------------------------
3 Enhancements
2 Bug fixes
3 Localisation updates
----------------------------------------------------------------------
3.5 update 1 vs 3.5
Implemented requests:
- Drag and drop within the segment
https://sourceforge.net/p/omegat/feature-requests/401/
- Auto-completion option: Show relevant suggestions automatically
https://sourceforge.net/p/omegat/feature-requests/1097/
- Glossary view auto-completion improvements
https://sourceforge.net/p/omegat/feature-requests/1098/
Bug fixes:
- The writeable glossary was not working propertly if it was not
at the root of the glossary folder
- It was not possible to have two glossaries with the same name
in different sub-folders
Localisation updates:
- Dutch localisation updated to 3.5 (UI, documentation, scripts, readme)
- Interlingua localisation updated to 3.5 (UI, scripts, readme)
- Italian localisation updated to 3.5 (UI, scripts)
----------------------------------------------------------------------
OmegaT 3.5 (2015-06-05)
----------------------------------------------------------------------
18 Enhancements
4 Bug fixes
5 Localisation updates
----------------------------------------------------------------------
3.5 vs 3.4
Implemented requests:
- Progress bar L10N improvement
https://sourceforge.net/p/omegat/feature-requests/1055/
- Glossary input from Search window
https://sourceforge.net/p/omegat/feature-requests/747/
- Highlighting search word in target segment
https://sourceforge.net/p/omegat/feature-requests/890/
- Drag and drop to open project
https://sourceforge.net/p/omegat/feature-requests/113/
- Drag and drop to add files to project
https://sourceforge.net/p/omegat/feature-requests/1091/
- Add confirmation for the button Reset all colours
https://sourceforge.net/p/omegat/feature-requests/1085/
- Option to remove "fuzziness" from glossary
https://sourceforge.net/p/omegat/feature-requests/1033/
- Better Mac OS X integration
https://sourceforge.net/p/omegat/feature-requests/1092/
- Remove automatically mnemonics for CJK bundles under Mac
https://sourceforge.net/p/omegat/feature-requests/1049/
Other changes:
- There's an explanation message at the bottom of the Editor when
Ctrl+Shift+O is pressed
- New script to clear SVN authentication data
- New OmegaT icon on the Mac
- Go to next/previous segment with key shortcuts work
in the Search result window just like in the Editor
- Alternatively to specifiy a project folder on the command line,
it is now also possible to specify the path of an omegat.project file
- In the QA - Check rules script (check_rules.groovy), it is now
possible to check linguistic (LangageTool) issues
- There's now a "Save as" button in Help > Log
- Read parameters from config file on startup, specified with
--config-file=path/to/file
- There are two new search options at the bottom of the Search window.
"Auto-sync with Editor". If checked, the Editor will go automatically to the
segment where the cursor is located in the search window.
"Back to the initial segment on close". If checked, the Editor will go back
to the segment being current before the Search window was opened.
Bug fixes:
- Panel header title was white under Windows 7 with a classic theme
- Script files could be locked
https://sourceforge.net/p/omegat/bugs/749/
- In statistics, scrollbars could cover table content
- Auto-completer popup size was often too small for its contents
Localisation updates:
- Dutch localisation updated to 3.4 update 1 (UI, documentation, readme)
- Russian localisation updated to 3.4 update 1 (UI, readme, scripts)
- Belarusian localisation updated to 3.5 (UI, readme, scripts)
- Japanese localisation updated to 3.5 (UI, documentation, scripts)
- Italian localisation updated to 3.4 update 1 (UI)
2015-08-09 19:39:33 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/dist/lib/*.txt \
|
|
|
|
${DESTDIR}${PREFIX}/${OMEGATDIR}/lib
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/dist/lib/*.jar \
|
2011-12-04 21:33:54 +01:00
|
|
|
${DESTDIR}${PREFIX}/${OMEGATDIR}/lib
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/omegat.prefs \
|
|
|
|
${DESTDIR}${PREFIX}/${OMEGATDIR}
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/OmegaT ${DESTDIR}${PREFIX}/bin
|
|
|
|
|
|
|
|
.include "../../mk/java-env.mk"
|
|
|
|
.include "../../mk/java-vm.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|