dfarc-3.12/0002775000175000017510000000000012420023266007521 500000000000000dfarc-3.12/src/0002775000175000017510000000000012420023266010310 500000000000000dfarc-3.12/src/DFArcFrame_Base.wxg0000664000175000017510000003431112400712453013604 00000000000000 DFArc v3 1 1 ID_FileInstall=? Select a D-Mod to install ID_Download=? Go to The Dink Network to download some D-Mods! --- --- wxID_EXIT Exit DFArc ID_Refresh=? Refreshes the D-Mod list for any new additions ID_Browse=? Browse to the directory containing the current D-Mod ID_Uninstall=? Uninstalls the selected D-Mod --- --- ID_Options=? View or modify DFArc options ID_IntroductionText=? A quick introduction to Dinking and D-Mods ID_Walkthroughs=? Stuck in a D-Mod? Check out The Dink Smallwood Solutions. ID_Forums=? Ask a question on the forums, or see if someone had the same problem. --- --- wxID_ABOUT About DFArc wxHORIZONTAL wxEXPAND 0 wxSPLIT_HORIZONTAL mDmodDescription panel_1 wxHORIZONTAL wxLEFT|wxEXPAND 0 0 ID_DmodTitleList=? wxLEFT|wxEXPAND 10 wxVERTICAL wxBOTTOM 10 1 ID_Play=? wxBOTTOM 7 ID_Truecolor=? wxBOTTOM 7 ID_Windowed=? wxBOTTOM 7 ID_Sound=? wxBOTTOM 7 ID_Joystick=? wxBOTTOM 7 ID_Debug=? wxBOTTOM 7 v1.07 compatibility mode, for D-Mods released before 2006 ID_V107=? wxLEFT|wxEXPAND 10 wxVERTICAL wxBOTTOM|wxEXPAND 10 wxHORIZONTAL wxLEFT 10 ID_Edit=? wxLEFT 10 ID_Package=? wxLEFT|wxALIGN_BOTTOM|wxALIGN_CENTER_HORIZONTAL 10 160, 120 wxTOP|wxEXPAND 10 0 1 dfarc-3.12/src/DFArcFrame.hpp0000664000175000017510000000457112340110733012635 00000000000000/** * DFArc main frame * Copyright (C) 2005, 2006 Dan Walma * Copyright (C) 2008, 2010 Sylvain Beucler * This file is part of GNU FreeDink * GNU FreeDink 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. * GNU FreeDink 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, see * . */ #ifndef _DFARCFRAME_HPP #define _DFARCFRAME_HPP #include "DFArcFrame_Base.h" #include "DMod.hpp" #include "ClientData.hpp" #include #include class Config; // Main Frame Class, no arguments. class DFArcFrame : public DFArcFrame_Base { public: DFArcFrame(); void onShow(wxShowEvent& aEvent); void OnQuit(wxCommandEvent &Event); void Install(wxCommandEvent &Event); void onDownload(wxCommandEvent& aEvent); void onRefresh(wxCommandEvent& aEvent); void onBrowse(wxCommandEvent& aEvent); void uninstall(wxCommandEvent& aEvent); void showOptions(wxCommandEvent& aEvent); void showIntroductionText(wxCommandEvent& aEvent); void onWalkthroughs( wxCommandEvent& aEvent); void onForums(wxCommandEvent& aEvent); void OnAbout(wxCommandEvent &Event); void OnEvtListBox(wxCommandEvent &Event); void OnSetPlayOption(wxCommandEvent &Event); void OnPlay(wxCommandEvent& aEvent); void onEdit(wxCommandEvent& aEvent); void onPackage(wxCommandEvent &Event); wxBitmap mAllLogos; private: void PrepareGUI(); void showDeveloperButtons(bool visible); void initializeConfig(); void refreshDmodList(); void refreshDmodLogos(); void RestoreListBoxFromConfig(); void SelectDModFromListBox(); void updateConfig(); void updateDescription(); void populateAvailableDModsList(); bool launchURL(wxString url); enum program { GAME, EDITOR }; wxString BuildCommand(enum program); Config *mConfig; std::vector mAvailableDModsList; bool mNoDmods; int mSelectedDModIndex; wxBitmap mDefaultLogoBitmap; DECLARE_EVENT_TABLE() }; #endif dfarc-3.12/src/Package.cpp0000664000175000017510000001530712417511650012300 00000000000000/** * D-Mod packaging wizard * Copyright (C) 2004 Andrew Reading * Copyright (C) 2005, 2006 Dan Walma * Copyright (C) 2008 Sylvain Beucler * This file is part of GNU FreeDink * GNU FreeDink 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. * GNU FreeDink 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, see * . */ #include #include #include #include "Package.hpp" #include "BZip.hpp" #include "Tar.hpp" #include "IOUtils.hpp" BEGIN_EVENT_TABLE(Package, wxDialog) EVT_BUTTON(wxID_OK, Package::onOkay) END_EVENT_TABLE() Package::Package(const DMod aDMod) : Package_Base(NULL, wxID_ANY, _T("")), mDMod(aDMod) { prepareDialog(); return; } void Package::prepareDialog() { wxString introText = wxString::Format( lIntroText->GetLabel().c_str(), mDMod.GetTitle().c_str(), mDMod.GetFullPath().c_str()); lIntroText->SetLabel(introText); mIdentifier->SetValue(mDMod.GetBaseName()); mIdentifier->SetValidator(wxTextValidator(wxFILTER_ALPHANUMERIC)); mIdentifier->SetMaxLength(8); this->SetMinSize(this->GetBestSize()); this->SetSize(this->GetMinSize()); // Dmod.diz // TODO: this was disabled in DFArc2 - can it be reused somehow? /* wxStaticText* lDmodDizTitleText = new wxStaticText( lPanel, -1, "Dmod.diz title" ); mDmodDizTitle = new wxTextCtrl( lPanel, -1, lTitle ); wxBoxSizer* lDmodDizTitleBox = new wxBoxSizer( wxHORIZONTAL ); lDmodDizTitleBox->Add( lDmodDizTitleText, lLeftFlags ); lDmodDizTitleBox->Add( mDmodDizTitle, lRightFlags ); wxStaticText* lDmodDizInfo1Text = new wxStaticText( lPanel, -1, "Dmod.diz author/copyright information 1" ); mDmodDizInfo1 = new wxTextCtrl( lPanel, -1, lInfo1 ); wxBoxSizer* lDmodDizInfo1Box = new wxBoxSizer( wxHORIZONTAL ); lDmodDizInfo1Box->Add( lDmodDizInfo1Text, lLeftFlags ); lDmodDizInfo1Box->Add( mDmodDizInfo1, lRightFlags ); wxStaticText* lDmodDizInfo2Text = new wxStaticText( lPanel, -1, "Dmod.diz author/copyright information 2" ); mDmodDizInfo2 = new wxTextCtrl( lPanel, -1, lInfo2 ); wxBoxSizer* lDmodDizInfo2Box = new wxBoxSizer( wxHORIZONTAL ); lDmodDizInfo2Box->Add( lDmodDizInfo2Text, lLeftFlags ); lDmodDizInfo2Box->Add( mDmodDizInfo2, lRightFlags ); wxStaticText* lDmodDizDescriptionText = new wxStaticText( lPanel, -1, "Dmod.diz description" ); mDmodDizDescription = new wxTextCtrl( lPanel, -1, lDescription, wxDefaultPosition, wxSize( -1, 100 ), wxTE_MULTILINE | wxTE_LEFT | wxTE_BESTWRAP ); wxBoxSizer* lDmodDizDescriptionBox = new wxBoxSizer( wxHORIZONTAL ); lDmodDizDescriptionBox->Add( lDmodDizDescriptionText, lLeftFlags ); lDmodDizDescriptionBox->Add( mDmodDizDescription, lRightFlags ); wxStaticBoxSizer* lDmodDizBox = new wxStaticBoxSizer( wxVERTICAL, lPanel, "Dmod.diz" ); lDmodDizBox->Add( lDmodDizTitleBox, wxSizerFlags( 0 ).Left().Expand() ); lDmodDizBox->Add( lDmodDizInfo1Box, wxSizerFlags( 0 ).Left().Expand() ); lDmodDizBox->Add( lDmodDizInfo2Box, wxSizerFlags( 0 ).Left().Expand() ); lDmodDizBox->Add( lDmodDizDescriptionBox, wxSizerFlags( 0 ).Left().Expand() );*/ // Cleanup /*mCleanupSaveDat = new wxCheckBox( lPanel, -1, "Include save game files?" ); mCleanupThumbsDb = new wxCheckBox( lPanel, -1, "Include thumbs.db files?" ); wxStaticBoxSizer* lCleanupBox = new wxStaticBoxSizer( wxHORIZONTAL, lPanel, "Cleanup" ); lCleanupBox->Add( mCleanupSaveDat, lLeftFlags ); lCleanupBox->Add( mCleanupThumbsDb, lLeftFlags );*/ // Patch /*mPatch = new wxCheckBox( lPanel, -1, "Create patch?" ); wxStaticText* lPatchOriginalFileText = new wxStaticText( lPanel, -1, "Original .dmod file" ); mPatchOriginalFile = new wxTextCtrl( lPanel, -1 ); mPatchBrowse = new wxButton( lPanel, Package::ID_BROWSE, "Browse" ); wxBoxSizer* lPatchOriginalBox = new wxBoxSizer( wxHORIZONTAL ); lPatchOriginalBox->Add( lPatchOriginalFileText, wxSizerFlags( 25 ).Left().Expand().Border( wxALL, 2 ) ); lPatchOriginalBox->Add( mPatchOriginalFile, wxSizerFlags( 55 ).Left().Expand().Border( wxALL, 2 ) ); lPatchOriginalBox->Add( mPatchBrowse, wxSizerFlags( 20 ).Right().Expand().Border( wxALL, 2 ) ); wxStaticBoxSizer* lPatchBox = new wxStaticBoxSizer( wxVERTICAL, lPanel, "Patch" ); lPatchBox->Add( mPatch, lLeftFlags ); lPatchBox->Add( lPatchOriginalBox, wxSizerFlags( 0 ).Left().Expand() );*/ } void Package::onOkay( wxCommandEvent& aEvent ) { if (mIdentifier->GetValue().Len() == 0) { wxLogError(_("You must provide an identifier filename.")); return; } int flags = wxPD_AUTO_HIDE | wxPD_APP_MODAL | wxPD_CAN_ABORT; // Using elapsed time instead of remaining time, because the latter // is not much reliable (when BZ2 flushes its buffer, which can't be // predicted, the progress is stopped for a long time, and this // confuses the time/progress estimation) flags |= wxPD_ELAPSED_TIME; wxProgressDialog* lPackageProcess = new wxProgressDialog(_("Packaging"), _("The D-Mod is being packaged."), 100, this, flags); // Rename the old D-Mod wxString lDmodFilePath = IOUtils::GetParentDir(mDMod.GetFullPath()) + wxFileName::GetPathSeparator() + mIdentifier->GetValue() + _T(".dmod"); wxString lOldDmodFilePath = lDmodFilePath; int lCount = 1; while (::wxFileExists(lOldDmodFilePath)) { lOldDmodFilePath = IOUtils::GetParentDir(mDMod.GetFullPath()) + wxFileName::GetPathSeparator() + wxString::Format(_T("%s%d.dmod"), mIdentifier->GetValue().c_str(), lCount); lCount++; } if (lOldDmodFilePath != lDmodFilePath) { ::wxRenameFile(lDmodFilePath, lOldDmodFilePath); } wxString dirToCompress = mDMod.GetFullPath(); Tar lTar(lDmodFilePath, dirToCompress); double compression_ratio = 0; if (lTar.Create(mIdentifier->GetValue(), &compression_ratio, lPackageProcess)) { // Success dialog wxMessageBox(wxString::Format(_("%s was successfully packaged (compression ratio %2.1f : 1)."), mIdentifier->GetValue().c_str(), compression_ratio), _("Success"), wxOK | wxICON_INFORMATION, this); } else { ::wxRemoveFile(lDmodFilePath); wxMessageBox(_("Packaging aborted - removing partial .dmod file."), _("Abort"), wxICON_EXCLAMATION, this); } EndModal(wxID_OK); } dfarc-3.12/src/DFArcFrame.cpp0000664000175000017510000007261012417447530012644 00000000000000/** * DFArc main frame * Copyright (C) 2005, 2006 Dan Walma * Copyright (C) 2008, 2010, 2014 Sylvain Beucler * This file is part of GNU FreeDink * GNU FreeDink 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. * GNU FreeDink 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, see * . */ #ifdef HAVE_CONFIG_H #include #endif #include "DFArcFrame.hpp" #include #include #include #include #include #include #include #include #include #include #include "IOUtils.hpp" #include "InstallVerifyFrame.hpp" #include "Options.hpp" #include "Config.hpp" #include "RecursiveDelete.hpp" #include "Package.hpp" #include "DMod.hpp" #include "icon_xpm.hpp" #define LOGO_WIDTH 160 #define LOGO_HEIGHT 120 class MonitorDinkExit : public wxProcess { public: MonitorDinkExit(Config *mConfig) : wxProcess(), mConfig(mConfig) {} virtual void OnTerminate(int pid, int status); private: Config *mConfig; }; void MonitorDinkExit::OnTerminate(int pid, int status) { if (status == -1) ::wxMessageBox(wxString::Format(_("Dink Smallwood ('%s') was not found on your computer." " Please configure the Dink program name in the Options menu."), mConfig->mDinkExe.c_str(), wxICON_ERROR, this), _("Error")); else if (status != 0) ::wxMessageBox(wxString::Format(_("Dink Smallwood failed! Error code %d."), status, wxICON_EXCLAMATION, this), _("Error")); } class MonitorEditorExit : public wxProcess { public: MonitorEditorExit(Config *mConfig) : wxProcess(), mConfig(mConfig) {} virtual void OnTerminate(int pid, int status); private: Config *mConfig; }; void MonitorEditorExit::OnTerminate(int pid, int status) { if (status == -1) ::wxMessageBox(wxString::Format(_("The editor ('%s') was not found on your computer." " Please configure the editor program name in the Options menu."), mConfig->mEditorExe.c_str()), _("Error")); else if (status != 0) ::wxMessageBox(_("Error while running the editor"), _("Error")); } /** * Custom paint method to display the animation efficiently. * Cf. doc/animation.txt for details. */ #define TIMER_ID 1 // arbitrary, maybe there's a better way #define FPS 50 class DFAnimationPanel : public wxPanel { private: double pos; double dpos; DFArcFrame* frame; public: DFAnimationPanel(DFArcFrame* frame, wxWindow* parent) : wxPanel(parent, wxID_ANY), frame(frame), pos(.0), dpos(.0) { } void setIndex(int idx) { dpos = (idx+1) * LOGO_HEIGHT; } void OnPaint(wxPaintEvent &) { /* Note: this->IsDoubleBuffered() == 1 under Gtk. Under woe it reports 0, but when I clear the surface I don't any flickering, so it must be double-buffered somewhere too. */ wxPaintDC dst(this); // Clear surface - unneeded actually //dst.SetBrush(*wxWHITE_BRUSH); //dst.DrawRectangle(0, 0, LOGO_WIDTH, LOGO_HEIGHT); // Draw logo wxMemoryDC src(frame->mAllLogos); dst.Blit(0, 0, LOGO_WIDTH, LOGO_HEIGHT, &src, 0, rint(pos)); } /** * Update the animation parameters regularly. */ void OnIdle(wxIdleEvent &) { if (fabs(pos - dpos) < .5) // destination reached, taking rounding into account. return; // Simple easing pos += (dpos - pos) / 7; Refresh(/*eraseBackground=*/false); wxMilliSleep(1000.0/FPS); // ms } DECLARE_EVENT_TABLE() }; BEGIN_EVENT_TABLE(DFAnimationPanel, wxPanel) EVT_PAINT(DFAnimationPanel::OnPaint) EVT_IDLE(DFAnimationPanel::OnIdle) END_EVENT_TABLE() // FRAME EVENT TABLE BEGIN_EVENT_TABLE(DFArcFrame, wxFrame) EVT_SHOW(DFArcFrame::onShow) EVT_MENU(ID_FileInstall, DFArcFrame::Install) EVT_MENU(ID_Download, DFArcFrame::onDownload) EVT_MENU(wxID_EXIT, DFArcFrame::OnQuit) EVT_MENU(ID_Refresh, DFArcFrame::onRefresh) EVT_MENU(ID_Browse, DFArcFrame::onBrowse) EVT_MENU(ID_Uninstall, DFArcFrame::uninstall) EVT_MENU(ID_Options, DFArcFrame::showOptions) EVT_MENU(ID_IntroductionText, DFArcFrame::showIntroductionText) EVT_MENU(ID_Walkthroughs, DFArcFrame::onWalkthroughs) EVT_MENU(ID_Forums, DFArcFrame::onForums) EVT_MENU(wxID_ABOUT, DFArcFrame::OnAbout) EVT_BUTTON(ID_Play, DFArcFrame::OnPlay) EVT_BUTTON(ID_Edit, DFArcFrame::onEdit) EVT_BUTTON(ID_Package, DFArcFrame::onPackage) EVT_LISTBOX(ID_DmodTitleList, DFArcFrame::OnEvtListBox) EVT_CHECKBOX(ID_Truecolor, DFArcFrame::OnSetPlayOption) EVT_CHECKBOX(ID_Windowed, DFArcFrame::OnSetPlayOption) EVT_CHECKBOX(ID_Sound, DFArcFrame::OnSetPlayOption) EVT_CHECKBOX(ID_Joystick, DFArcFrame::OnSetPlayOption) EVT_CHECKBOX(ID_Debug, DFArcFrame::OnSetPlayOption) EVT_CHECKBOX(ID_V107, DFArcFrame::OnSetPlayOption) END_EVENT_TABLE() DFArcFrame::DFArcFrame() : DFArcFrame_Base(NULL, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxDEFAULT_FRAME_STYLE), mNoDmods(false), mSelectedDModIndex(wxNOT_FOUND) { mConfig = Config::GetConfig(); PrepareGUI(); refreshDmodList(); mConfig->Update(); return; } void DFArcFrame::OnQuit(wxCommandEvent& aCommandEvent) { this->Close(); } void DFArcFrame::OnAbout(wxCommandEvent& aCommandEvent) { // Use a wxString for concatenation with the date. wxString version = wxT(PACKAGE_VERSION); wxString wxs = wxString::Format(_( "DFArc version %s\n" "Copyright (C) 2004 Andrew Reading (merlin)\n" "Copyright (C) 2005, 2006 Dan Walma (redink1)\n" "Copyright (C) 2008-2014 Sylvain Beucler (Beuc)\n" "Build Date: %s\n" "Powered by bzip2 (bzip.org) and wxWidgets (wxwidgets.org)"), version.c_str(), __TDATE__); wxMessageBox(wxs, _("About DFArc v3"), wxOK | wxICON_INFORMATION, this); } // Display or hide "Edit" and "Package" buttons void DFArcFrame::showDeveloperButtons(bool visible) { wxSizer *mButtonSizer = mEditButton->GetContainingSizer(); wxSizer *mImageSizer = mAnimationPanel->GetContainingSizer(); mImageSizer->Show(mButtonSizer, visible); // Re-layout, starting with expanding mDModListBox mDModListBox->GetContainingSizer()->Layout(); } static wxBitmap CreateTextLogo(wxString text) { wxBitmap lLogo = wxBitmap(LOGO_WIDTH, LOGO_HEIGHT); wxMemoryDC dc; dc.SelectObject(lLogo); dc.SetBackground(*wxBLACK_BRUSH); dc.SetTextForeground(*wxWHITE); dc.Clear(); // Center text // (There seem to be a bug in GetTextExtent in wx2.8.10, the // calculated width is smaller than the drawned width) wxSize size = dc.GetTextExtent(text); dc.DrawText(text, (LOGO_WIDTH - size.GetWidth()) / 2, (LOGO_HEIGHT - size.GetHeight()) / 2); dc.SelectObject(wxNullBitmap); return lLogo; } // GUI for main screen (with no args). void DFArcFrame::PrepareGUI() { // Replace wxGlade's plain wxPanel with our custom class - // cf. DFArcFrame_Base.cpp wxSizer *sizer = mAnimationPanel->GetContainingSizer(); sizer->Detach(mAnimationPanel); delete mAnimationPanel; mAnimationPanel = new DFAnimationPanel(this, panel_1); mAnimationPanel->SetMinSize(wxSize(160, 120)); sizer->Insert(1, mAnimationPanel, 0, wxLEFT|wxALIGN_BOTTOM|wxALIGN_CENTER_HORIZONTAL, 10); // Features not supported by wxGlade: SetIcon(wxIcon(dink_xpm)); mSplitter->SetSashGravity(0.5); // proportional outer resize // Avoid 'unsplit' (where one of the pane is hidden) mSplitter->SetMinimumPaneSize(20); // Manual contraints mDModListBox->SetMinSize(wxSize(150, 165)); mDmodDescription->SetMinSize(wxSize(-1, 220)); this->SetMinSize(this->GetBestSize()); mSplitter->SetSashPosition(0); // reset to middle pos (wx3 bug?) this->SetSize(this->GetMinSize()); // user can override size restrictions: mDmodDescription->SetMinSize(wxSize(-1, -1)); // Optionally show developper buttons showDeveloperButtons(mConfig->mShowDeveloperButtons); // Update the checkboxes mTrueColor->SetValue(mConfig->mTrueColorValue); mWindowed->SetValue(mConfig->mWindowedValue); mSound->SetValue(mConfig->mSoundValue); mJoystick->SetValue(mConfig->mJoystickValue); mDebug->SetValue(mConfig->mDebugValue); mV107->SetValue(mConfig->mV107Value); // Default logo (currently all black with a question mark) /* TRANSLATORS: please make this SHORT, possibly rephrasing as "< Choose!". This is included in the 160x120px logo box in the main window and it doesn't word-wrap. */ mDefaultLogoBitmap = CreateTextLogo(_("< Pick a D-Mod")); ((DFAnimationPanel*)mAnimationPanel)->setIndex(-1); } void DFArcFrame::updateDescription() { wxString lDescription; // Set the current D-Mod directory to the currently selected item's client string DMod cur_dmod = mAvailableDModsList.at(mSelectedDModIndex); mConfig->mSelectedDmod = cur_dmod.GetFullPath(); mConfig->Update(); mDmodDescription->SetValue(cur_dmod.GetDescription()); mStatusBar->SetStatusText(mConfig->mSelectedDmod); } void DFArcFrame::SelectDModFromListBox() { int lb_index = mDModListBox->GetSelection(); if (lb_index != wxNOT_FOUND) { Integer *I = (Integer*)mDModListBox->GetClientObject(lb_index); mSelectedDModIndex = I->i; mConfig->mSelectedDmod = mAvailableDModsList.at(mSelectedDModIndex).GetFullPath(); mConfig->Update(); updateDescription(); mPlayButton->Enable(); mEditButton->Enable(); mPackageButton->Enable(); // Fill-in translations list wxString cur_locale_name = mConfig->mForceLocale; if (mConfig->mForceLocale == wxEmptyString) { const wxLanguageInfo* li = wxLocale::GetLanguageInfo(wxLocale::GetSystemLanguage()); if (li != NULL) cur_locale_name = li->CanonicalName; } mGameLocaleList->Clear(); wxArrayString mo_files; wxString mo_dir = mConfig->mSelectedDmod + wxFileName::GetPathSeparator() + wxT("l10n"); if (wxDir::Exists(mo_dir)) { wxDir::GetAllFiles(mo_dir, &mo_files, wxT("*.mo")); mo_files.Sort(); for (int i = 0; i < mo_files.Count(); i++) { // dmod/l10n/fr/LC_MESSAGES/dmod.mo wxFileName mo(mo_files.Item(i)); mo.RemoveLastDir(); wxArrayString dirs = mo.GetDirs(); wxString dir = dirs.Item(dirs.Count()-1); wxString label = dir; wxString locale_name = dir; const wxLanguageInfo* li = wxLocale::FindLanguageInfo(locale_name); if (li != NULL) { label += wxT(" - ") + wxString(wxGetTranslation(li->Description)); locale_name = li->CanonicalName; } mGameLocaleList->Append(label); mGameLocaleList->SetClientObject(i, new ClientDataString(locale_name)); if (cur_locale_name == locale_name) mGameLocaleList->Select(i); } } if (mGameLocaleList->GetCount() == 0) { mGameLocaleList->Append(_("No translations")); mGameLocaleList->Select(0); mGameLocaleList->Disable(); } else { // Not displaying the default language explicitely, because it // makes the user think that a translation is always available. // mGameLocaleList->Insert(wxString(_("Default language")) + wxT(" (") + cur_locale_name + wxT(")"), 0); mGameLocaleList->Insert(_("Don't translate"), 0); mGameLocaleList->SetClientObject(0, new ClientDataString(wxT("C"))); mGameLocaleList->Enable(); if (mGameLocaleList->GetSelection() == wxNOT_FOUND) mGameLocaleList->Select(0); } #if defined _WIN32 || defined __WIN32__ || defined __CYGWIN__ // work-around wx3 bug -> default height=6 despite BestSize=21 mGameLocaleList->SetSize(wxSize(-1, mGameLocaleList->GetBestSize().y+1)); #endif } ((DFAnimationPanel*)mAnimationPanel)->setIndex(lb_index); } void DFArcFrame::OnEvtListBox(wxCommandEvent &Event) { SelectDModFromListBox(); return; } // Function for Install menu entry void DFArcFrame::Install(wxCommandEvent& aCommandEvent) { wxString description = _("D-Mod files (*.dmod)"); wxFileDialog FileDlg(0, _("Select a .dmod file"), _T(""), _T(""), description + _T("|*.dmod"), wxFD_OPEN | wxFD_FILE_MUST_EXIST); if (FileDlg.ShowModal() == wxID_OK) { InstallVerifyFrame lTemp(FileDlg.GetPath()); lTemp.ShowModal(); // Update the D-Mod list refreshDmodList(); } } void DFArcFrame::onPackage(wxCommandEvent &Event) { DMod cur_dmod = mAvailableDModsList.at(mSelectedDModIndex); Package* lPackage = new Package(cur_dmod); lPackage->ShowModal(); lPackage->Destroy(); } void DFArcFrame::OnSetPlayOption(wxCommandEvent &Event) { // Set variables mConfig->mTrueColorValue = mTrueColor->IsChecked(); mConfig->mWindowedValue = mWindowed->IsChecked(); mConfig->mSoundValue = mSound->IsChecked(); mConfig->mJoystickValue = mJoystick->IsChecked(); mConfig->mDebugValue = mDebug->IsChecked(); mConfig->mV107Value = mV107->IsChecked(); mConfig->Update(); return; } wxString DFArcFrame::BuildCommand(enum program progname) { wxString lCommand; wxString executable; if (progname == GAME) executable = mConfig->mDinkExe; else executable = mConfig->mEditorExe; // Attempt to use the binary in the Dink directory (important for // disambiguation under woe, where the PATH includes the current // DFArc _binary_ directory (not cwd()) by default). wxString test_dinkref = mConfig->GetDinkrefDir() + wxFileName::GetPathSeparator() + executable; if (::wxFileExists(test_dinkref)) lCommand = test_dinkref; else lCommand = executable; if (mConfig->mDebugValue == true) lCommand += _T(" -debug "); if (mConfig->mSoundValue == false) lCommand += _T(" -nosound "); if (mConfig->mTrueColorValue == true) lCommand += _T(" -truecolor "); if (mConfig->mWindowedValue == true) lCommand += _T(" -window "); if (mConfig->mWriteIniValue == false) lCommand += _T(" -noini "); if (mConfig->mJoystickValue == false) lCommand += _T(" -nojoy "); if (mConfig->mV107Value == true) lCommand += _T(" --v1.07 "); /* Specify the directory, as short as possible*/ wxString dinkref = mConfig->GetDinkrefDir(); wxFileName dmod_dir(mConfig->mSelectedDmod); dmod_dir.MakeRelativeTo(dinkref); if (dmod_dir.GetFullPath().StartsWith(_T(".."))) dmod_dir.MakeAbsolute(dinkref); if (dmod_dir.GetFullPath().IsSameAs(_T("dink"))) dmod_dir = wxEmptyString; if (!dmod_dir.GetFullName().IsEmpty()) { wxString fullpath = dmod_dir.GetFullPath(); if (fullpath.Find(wxT(' ')) != wxNOT_FOUND) // Only do that if necessary, quoting doesn't work with the // original engine for some reason fullpath = _T("\"") + dmod_dir.GetFullPath() + _T("\""); lCommand += _T(" -game ") + fullpath; } /* Always specify the dinkref dir, because we don't know what FreeDink's default refdir is. (/usr/local? /usr?...) */ /* Note: this is ignored by Seth and Dan's versions */ lCommand += _T(" --refdir \"") + mConfig->GetDinkrefDir() + _T("\""); /* If at a point we need better escaping, it is suggested to replace spaces with '\ ' under GNU/Linux and '" "' under woe - http://trac.wxwidgets.org/ticket/4115#comment:22 . I wish the wxWidgets dev properly fixed it with a wxExecute(wxArrayString) version... */ return lCommand; } void DFArcFrame::OnPlay(wxCommandEvent &Event) { wxString lCommand = BuildCommand(GAME); // Configure locale wxString locale_name = mConfig->mForceLocale; int idx = mGameLocaleList->GetSelection(); if (idx != wxNOT_FOUND && mGameLocaleList->HasClientObjectData()) { wxClientData* wcd = mGameLocaleList->GetClientObject(idx); if (wcd != NULL) locale_name = ((ClientDataString*)wcd)->s; } wxEnvVariableHashMap env; wxGetEnvMap(&env); if (locale_name != wxEmptyString) { // locale_name is in the form 'xx_YY', e.g. 'da_DK' // (gettext.info.gz)The LANGUAGE variable: LANGUAGE > LC_ALL > LC_* > LANG env.erase("LANGUAGE"); env.erase("LC_ALL"); // Locales need to be precisely set, including the encoding, // even if in the case of FreeDink, we don't need it. // http://lists.gnu.org/archive/html/bug-gnu-utils/2010-10/msg00018.html #if defined _WIN32 || defined __WIN32__ || defined __CYGWIN__ || defined __EMX__ || defined __DJGPP__ // Under woe, things are pretty sloppy, no worry - except that // you won't get any warning if you lack fonts or whatever is // needed for your language. env["LC_ALL"] = locale_name; #else // Look through $(locale -a) and check if there's a matching // locale, otherwise explain to the user that he needs to // install the locale. Not sure if there's a similar method // under woe to get the installed locales. wxArrayString installed_locales; long code = ::wxExecute("locale -a", installed_locales, wxEXEC_SYNC); if (code == 0) // good exit code { bool found = false; if (!found) { for (int i = 0; i < installed_locales.Count(); i++) { if (installed_locales.Item(i).StartsWith(locale_name)) { found = true; locale_name = installed_locales.Item(i); env["LC_ALL"] = locale_name; break; } } } if (!found) { // Try with the language name / without the country name wxString language_name = locale_name.Mid(0,2); for (int i = 0; i < installed_locales.Count(); i++) { if (installed_locales.Item(i).StartsWith(language_name)) { found = true; locale_name = installed_locales.Item(i); env["LC_ALL"] = locale_name; break; } } } if (!found) { // Poor-man's / fallback i18n: // - LC_CTYPE and LC_MESSAGES to en_US.UTF-8 (if available) // - LANGUAGE to the locale found = (installed_locales.Index("en_US.UTF-8", false) != wxNOT_FOUND); if (!found) found = (installed_locales.Index("en_US.utf8", false) != wxNOT_FOUND); if (found) { env["LC_CTYPE"] = "en_US.UTF-8"; env["LC_MESSAGES"] = "en_US.UTF-8"; env["LANGUAGE"] = locale_name; } } if (!found) ::wxMessageBox(wxString::Format(_("The '%s' locale is not installed on your computer" " (locales tells the computer how to manage a language)." " You need to install it - check your system documentation."), locale_name.c_str()), _("Warning"), wxICON_EXCLAMATION, this); // try anyway; this also prevent fallback-ing to the system language env["LC_ALL"] = locale_name; } #endif } // Start the child process. long code = 0; #if defined _WIN32 || defined __WIN32__ || defined __CYGWIN__ || defined __EMX__ || defined __DJGPP__ wxLogNull logNo; // remove redundant "Execution of command 'xxx' failed" popup #endif wxExecuteEnv exec_env; exec_env.env = env; MonitorDinkExit* process = new MonitorDinkExit(mConfig); if ((code = ::wxExecute(lCommand, wxEXEC_ASYNC, process, &exec_env)) == 0) { // On woe, returns immediately if cannot run the process (not using fork&exec) ::wxMessageBox(wxString::Format(_("Dink Smallwood ('%s') was not found on your computer." " Please configure the Dink program name in the Options menu."), mConfig->mDinkExe.c_str(), wxICON_ERROR, this), _("Error")); delete process; } else if (mConfig->mCloseDfarcOnPlay) { // since we're async, DFArc will have exited before we know that e.g. Dink couldn't be found this->Close(true); } } void DFArcFrame::onEdit( wxCommandEvent& aEvent ) { if (mConfig->mWarnOnEdit == true) { if (::wxMessageBox(_("Dinkedit saves all changes automatically." " Altering maps can ruin the game." " Are you sure you want to continue?"), _("Warning"), wxOK | wxCANCEL | wxICON_INFORMATION, this) == wxCANCEL) { return; } else { // Don't display the warning again mConfig->mWarnOnEdit = false; mConfig->Update(); } } wxString lCommand = BuildCommand(EDITOR); // Start the child process. long code = 0; #if defined _WIN32 || defined __WIN32__ || defined __CYGWIN__ || defined __EMX__ || defined __DJGPP__ wxLogNull logNo; // remove redundant "Execution of command 'xxx' failed" popup #endif MonitorEditorExit* process = new MonitorEditorExit(mConfig); if ((code = ::wxExecute(lCommand, wxEXEC_ASYNC, process)) == 0) ::wxMessageBox(wxString::Format(_("The editor ('%s') was not found on your computer." " Please configure the editor program name in the Options menu."), mConfig->mEditorExe.c_str()), _("Error")); } void DFArcFrame::onRefresh( wxCommandEvent& aEvent ) { refreshDmodList(); return; } void DFArcFrame::onDownload( wxCommandEvent& aEvent ) { ::wxLaunchDefaultBrowser(_T("http://www.dinknetwork.com/")); } void DFArcFrame::onWalkthroughs( wxCommandEvent& aEvent ) { ::wxLaunchDefaultBrowser(_T("http://solutions.dinknetwork.com/")); } void DFArcFrame::onForums( wxCommandEvent& aEvent ) { ::wxLaunchDefaultBrowser(_T("http://www.dinknetwork.com/forum.cgi")); } void DFArcFrame::onBrowse( wxCommandEvent& aEvent ) { wxString cur_dmod_dir = mConfig->mSelectedDmod; if (mConfig->mPreferredFileBrowserExe.IsEmpty()) { // Try default browser(s) #if defined _WIN32 || defined __WIN32__ || defined __CYGWIN__ // Use '\' to force opening the directory, not dink.exe... ::ShellExecute(0, _T("open"), (cur_dmod_dir + wxT("\\")).c_str(), NULL, NULL, SW_SHOW); #else /* Crudely escape spaces, since wxWidgets 2.8 doesn't have a proper way to separate command line arguments */ cur_dmod_dir.Replace(wxT(" "), wxT("\\ "), true); if (::wxExecute(_T("xdg-open ") + cur_dmod_dir) < 0) // FreeDesktop if (::wxExecute(_T("nautilus ") + cur_dmod_dir) < 0) // Gnome if (::wxExecute(_T("konqueror ") + cur_dmod_dir) < 0) // KDE if (::wxExecute(_T("thunar ") + cur_dmod_dir) < 0) // Xfce ::wxMessageBox(_("Could not find a file manager" " (tried 'xdg-open', 'nautilus', 'konqueror' and 'thunar')"), _("Error"), wxICON_ERROR); #endif } else { if (::wxExecute(mConfig->mPreferredFileBrowserExe + _T(" ") + cur_dmod_dir) < 0) ::wxMessageBox(wxString::Format(_("Cannot start '%s', please check your" " configuration in the Options window."), mConfig->mPreferredFileBrowserExe.c_str()), _("Error"), wxICON_ERROR); } return; } void DFArcFrame::showIntroductionText(wxCommandEvent& aEvent) { ::wxMessageBox(_("Welcome to DFArc, the Dink Smallwood front end!\n" "\n" "You can choose to play the original game (Dink Smallwood) or" " Dink-Modules (D-Mods) which contain new adventures.\n" "\n" "After completing the main game, give some D-Mods a try.\n" "There are hundreds of them, just click File-Download D-Mods."), _("Introduction"), wxOK | wxICON_INFORMATION, this); return; } void DFArcFrame::onShow(wxShowEvent& aEvent) { if (mConfig->mShowIntroductionText == true) { wxCommandEvent se; showIntroductionText(se); mConfig->mShowIntroductionText = false; mConfig->Update(); } return; } void DFArcFrame::refreshDmodList() { mDModListBox->Clear(); populateAvailableDModsList(); if (mAvailableDModsList.empty() == false) { mNoDmods = false; for (unsigned int i = 0; i < mAvailableDModsList.size(); i++) { // Using 'wxClientData*' as int for simplicity. Integer *I = new Integer(i); mDModListBox->Append(mAvailableDModsList.at(i).GetTitle(), I); } } else { mNoDmods = true; } refreshDmodLogos(); RestoreListBoxFromConfig(); } /** * Create a big image with all the D-Mods logos, used for the * transition effect that happens when selecting a different D-Mod. */ void DFArcFrame::refreshDmodLogos() { mAllLogos = wxBitmap(LOGO_WIDTH, (mDModListBox->GetCount()+1) * LOGO_HEIGHT); wxMemoryDC lAllDC(mAllLogos); lAllDC.DrawBitmap(mDefaultLogoBitmap, 0,0, false); for (unsigned int i = 0; i < mDModListBox->GetCount(); i++) { Integer *I = (Integer*)mDModListBox->GetClientObject(i); int cur_dmod_index = I->i; DMod cur_dmod = mAvailableDModsList.at(cur_dmod_index); wxBitmap lLogoBitmap; wxString lDmodPreview(cur_dmod.GetFullPath() + _T("/preview.bmp")); IOUtils::ciconvert(lDmodPreview); wxString lDmodTitle(cur_dmod.GetFullPath() + _T("/graphics/title-01.bmp")); IOUtils::ciconvert(lDmodTitle); if (::wxFileExists(lDmodPreview) == true) { lLogoBitmap = wxBitmap(lDmodPreview, wxBITMAP_TYPE_BMP); } else if (::wxFileExists(lDmodTitle) == true) { wxImage lImage(lDmodTitle); lImage.Rescale(LOGO_WIDTH, LOGO_HEIGHT); lLogoBitmap = wxBitmap(lImage); } else { lLogoBitmap = CreateTextLogo(cur_dmod.GetBaseName()); } lLogoBitmap.SetWidth(LOGO_WIDTH); lLogoBitmap.SetHeight(LOGO_HEIGHT); lAllDC.DrawBitmap(lLogoBitmap, 0,(i+1)*LOGO_HEIGHT, false); //mLogoButton->SetBitmap(lLogoBitmap); //wxMemoryDC src(lLogoBitmap); //wxBitmap dst_bitmap = mLogoButton->GetBitmap(); //wxMemoryDC dst(dst_bitmap); //dst.Blit(0,0, LOGO_WIDTH, LOGO_HEIGHT, &src, 0,0); //dst.DrawBitmap(lLogoBitmap, 0,0, false); //dst.DrawRectangle(0,0, LOGO_WIDTH,LOGO_HEIGHT); //mLogoButton->SetBitmap(dst_bitmap); } } /** * Select DMod from configuration */ void DFArcFrame::RestoreListBoxFromConfig() { int lb_index_to_select = wxNOT_FOUND; // Update the selection if (!mConfig->mSelectedDmod.IsEmpty()) { for (unsigned int i = 0; i < mDModListBox->GetCount(); i++) { Integer *I = (Integer*)mDModListBox->GetClientObject(i); int cur_dmod_index = I->i; DMod cur_dmod = mAvailableDModsList.at(cur_dmod_index); if (cur_dmod.GetFullPath().IsSameAs(mConfig->mSelectedDmod)) { lb_index_to_select = i; break; } } mDModListBox->SetSelection(lb_index_to_select); SelectDModFromListBox(); } else { mPlayButton->Disable(); mEditButton->Disable(); mPackageButton->Disable(); ((DFAnimationPanel*)mAnimationPanel)->setIndex(-1); } } void DFArcFrame::showOptions(wxCommandEvent& aEvent) { Options* lOptions = new Options(mConfig); if (lOptions->ShowModal() == 1) { // Apply configuration changes showDeveloperButtons(mConfig->mShowDeveloperButtons); if (mConfig->mOverrideDinkrefDir) { if (::wxDirExists(mConfig->mSpecifiedDinkrefDir)) { // Get the full path to the directory, in case users type in a non-full path. if (::wxSetWorkingDirectory(mConfig->mSpecifiedDinkrefDir)) { mConfig->mSpecifiedDinkrefDir = ::wxGetCwd(); } else { // If there's no directory, let's not override ::wxMessageBox(_("Cannot use the overridden Dink Smallwood directory" " - ignoring it. (permission problem?)"), _("Configuration error")); mConfig->mOverrideDinkrefDir = false; } } else { // If there's no directory, let's not override ::wxMessageBox(_("The Dink Smallwood directory you entered does not exist - ignoring it."), _("Configuration error")); mConfig->mOverrideDinkrefDir = false; } } refreshDmodList(); } lOptions->Destroy(); return; } void DFArcFrame::uninstall( wxCommandEvent& aEvent ) { if (mConfig->mSelectedDmod == _T("dink")) { wxMessageBox(_("You must select the uninstall option from the start menu to uninstall the main game."), _("Uninstall - Error"), wxOK | wxICON_INFORMATION, this); } else { int lResult = wxMessageBox(_("Do you want to remove all save game files?"), _("Uninstall - Save Game Files"), wxYES_NO | wxCANCEL | wxICON_QUESTION, this); if (lResult != wxCANCEL) { bool lRemoveSaveGames(false); if (lResult == wxYES) { lRemoveSaveGames = true; } RecursiveDelete lRecursiveDelete(lRemoveSaveGames); wxDir* lDir = new wxDir(mConfig->mSelectedDmod); lDir->Traverse(lRecursiveDelete); delete lDir; if (lRecursiveDelete.getError() == false) { bool lSuccess(true); if (lRemoveSaveGames == true) { if (::wxRmdir(mConfig->mSelectedDmod) == false) { wxLogError(_("Unable to remove D-Mod directory. All other files were removed.")); lSuccess = false; } } if (lSuccess == true) { wxMessageBox(_("D-Mod successfully uninstalled"), _("Uninstall - Success"), wxOK | wxICON_INFORMATION, this); } } mConfig->mSelectedDmod = wxEmptyString; refreshDmodList(); } } return; } /** * This finds all of the DMods. */ void DFArcFrame::populateAvailableDModsList() { mAvailableDModsList.clear(); wxString* folders = new wxString[2]; folders[0] = mConfig->GetDinkrefDir(); folders[1] = mConfig->mDModDir; for (int i = 0; i < 2; i++) { if (folders[i].IsEmpty() || !::wxDirExists(folders[i])) continue; wxDir lDirectory(folders[i]); if (lDirectory.IsOpened() == false) continue; // Grab dir names. wxString lCurrentFolder; bool cont = lDirectory.GetFirst(&lCurrentFolder, wxEmptyString, wxDIR_DIRS); while (cont) { wxString full_path = folders[i] + wxFileName::GetPathSeparator() + lCurrentFolder; if (DMod::IsADModDir(full_path)) mAvailableDModsList.push_back(DMod(full_path)); cont = lDirectory.GetNext(&lCurrentFolder); } } delete[] folders; return; } dfarc-3.12/src/Options_Base.cpp0000755000175000017510000001246612420022015013320 00000000000000// -*- C++ -*- // // generated by wxGlade b221e052e911 on Thu Oct 16 22:01:17 2014 // // Example for compiling a single file project under Linux using g++: // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp // // Example for compiling a multi file project under Linux using g++: // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp // #include "Options_Base.h" // begin wxGlade: ::extracode // end wxGlade Options_Base::Options_Base(wxWindow* parent, int id, const wxString& title, const wxPoint& pos, const wxSize& size, long style): wxDialog(parent, id, title, pos, size, wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER|wxTHICK_FRAME) { // begin wxGlade: Options_Base::Options_Base mCloseCheck = new wxCheckBox(this, wxID_ANY, _("Close DFArc on play")); mShowDeveloperCheck = new wxCheckBox(this, wxID_ANY, _("Show developer buttons")); mWriteIniCheck = new wxCheckBox(this, wxID_ANY, _("The engine updates dinksmallwood.ini on run (deprecated)")); mOverrideDinkrefDirCheck = new wxCheckBox(this, wxID_ANY, _("Override the Dink Smallwood directory")); mOverrideDinkrefDirBox = new wxTextCtrl(this, wxID_ANY, wxEmptyString); mOverrideDinkrefDirBrowse = new wxButton(this, ID_OVERRIDE_DINKREFDIR_BROWSE, _("Browse")); lDModDirLabel = new wxStaticText(this, wxID_ANY, _("Additional D-Mods directory")); mDModDirBox = new wxTextCtrl(this, wxID_ANY, wxEmptyString); mDModDirBrowse = new wxButton(this, ID_DMODDIR_BROWSE, _("Browse")); lDinkExeLabel = new wxStaticText(this, wxID_ANY, _("Game program name")); const wxString *mDinkExeBox_choices = NULL; mDinkExeBox = new wxComboBox(this, wxID_ANY, wxT(""), wxDefaultPosition, wxDefaultSize, 0, mDinkExeBox_choices, wxCB_DROPDOWN|wxCB_SORT); lEditorExeLabel = new wxStaticText(this, wxID_ANY, _("Editor program name")); const wxString *mEditorExeBox_choices = NULL; mEditorExeBox = new wxComboBox(this, wxID_ANY, wxT(""), wxDefaultPosition, wxDefaultSize, 0, mEditorExeBox_choices, wxCB_DROPDOWN|wxCB_SORT); mPreferredFileBrowserLabel = new wxStaticText(this, wxID_ANY, _("Preferred file browser")); mPreferredFileBrowserBox = new wxTextCtrl(this, wxID_ANY, wxEmptyString); lForceLocaleLabel = new wxStaticText(this, wxID_ANY, _("DFArc language\n(restart DFArc to apply)")); const wxString *mLanguageList_choices = NULL; mLanguageList = new wxChoice(this, ID_LANGUAGE_LIST, wxDefaultPosition, wxDefaultSize, 0, mLanguageList_choices, 0); mForceLocaleBox = new wxTextCtrl(this, wxID_ANY, wxEmptyString); lOkay = new wxButton(this, wxID_OK, wxEmptyString); lCancel = new wxButton(this, wxID_CANCEL, wxEmptyString); set_properties(); do_layout(); // end wxGlade } void Options_Base::set_properties() { // begin wxGlade: Options_Base::set_properties SetTitle(_("DFArc - Options")); lOkay->SetDefault(); // end wxGlade } void Options_Base::do_layout() { // begin wxGlade: Options_Base::do_layout wxBoxSizer* lMainSizer = new wxBoxSizer(wxVERTICAL); wxBoxSizer* lChoicesSizer = new wxBoxSizer(wxHORIZONTAL); wxBoxSizer* lForceLocaleSizer = new wxBoxSizer(wxHORIZONTAL); wxBoxSizer* sizer_1 = new wxBoxSizer(wxVERTICAL); wxBoxSizer* mPreferredFileBrowserSizer = new wxBoxSizer(wxHORIZONTAL); wxBoxSizer* lEditorExeSizer = new wxBoxSizer(wxHORIZONTAL); wxBoxSizer* lDinkExeSizer = new wxBoxSizer(wxHORIZONTAL); wxBoxSizer* dmoddir = new wxBoxSizer(wxHORIZONTAL); wxBoxSizer* lOverrideSizer = new wxBoxSizer(wxHORIZONTAL); lMainSizer->Add(mCloseCheck, 0, wxLEFT|wxRIGHT|wxTOP, 10); lMainSizer->Add(mShowDeveloperCheck, 0, wxLEFT|wxRIGHT|wxTOP, 10); lMainSizer->Add(mWriteIniCheck, 0, wxLEFT|wxRIGHT|wxTOP, 10); lOverrideSizer->Add(mOverrideDinkrefDirCheck, 0, 0, 0); lOverrideSizer->Add(mOverrideDinkrefDirBox, 1, wxLEFT, 10); lOverrideSizer->Add(mOverrideDinkrefDirBrowse, 0, wxLEFT, 10); lMainSizer->Add(lOverrideSizer, 0, wxLEFT|wxRIGHT|wxTOP|wxEXPAND, 10); dmoddir->Add(lDModDirLabel, 0, 0, 0); dmoddir->Add(mDModDirBox, 1, wxLEFT, 10); dmoddir->Add(mDModDirBrowse, 0, wxLEFT, 10); lMainSizer->Add(dmoddir, 0, wxLEFT|wxRIGHT|wxTOP|wxEXPAND, 10); lDinkExeSizer->Add(lDinkExeLabel, 0, 0, 10); lDinkExeSizer->Add(mDinkExeBox, 1, wxLEFT, 10); lMainSizer->Add(lDinkExeSizer, 0, wxLEFT|wxRIGHT|wxTOP|wxEXPAND, 10); lEditorExeSizer->Add(lEditorExeLabel, 0, 0, 10); lEditorExeSizer->Add(mEditorExeBox, 1, wxLEFT, 10); lMainSizer->Add(lEditorExeSizer, 0, wxLEFT|wxRIGHT|wxTOP|wxEXPAND, 10); mPreferredFileBrowserSizer->Add(mPreferredFileBrowserLabel, 0, wxLEFT, 0); mPreferredFileBrowserSizer->Add(mPreferredFileBrowserBox, 1, wxLEFT, 10); lMainSizer->Add(mPreferredFileBrowserSizer, 0, wxLEFT|wxRIGHT|wxTOP|wxEXPAND, 10); lForceLocaleSizer->Add(lForceLocaleLabel, 0, 0, 10); sizer_1->Add(mLanguageList, 0, wxEXPAND, 0); sizer_1->Add(mForceLocaleBox, 0, wxEXPAND, 0); lForceLocaleSizer->Add(sizer_1, 1, wxLEFT|wxEXPAND, 10); lMainSizer->Add(lForceLocaleSizer, 0, wxLEFT|wxRIGHT|wxTOP|wxEXPAND, 10); lChoicesSizer->Add(lOkay, 0, wxALIGN_BOTTOM, 0); lChoicesSizer->Add(lCancel, 0, wxLEFT|wxALIGN_BOTTOM, 10); lMainSizer->Add(lChoicesSizer, 1, wxALL|wxALIGN_BOTTOM, 10); SetSizer(lMainSizer); lMainSizer->Fit(this); Layout(); // end wxGlade } dfarc-3.12/src/icon_xpm.cpp0000664000175000017510000000535412340110733012552 00000000000000/** * Converted from dink.ico, from the Dink source code release */ /* *** Dink Smallwood Source License Information *** This software is provided "as is" without express or implied warranties. You may freely use, modify and distribute this source provided that the copyright text below is included in the resulting source code, for example: "Portions Copyright (C) Seth A. Robinson, 1997-2003 You may use this source in personal and commercial products, you are not required to release the source code. Please note that sharing this source does not in any way relinquish interest or forfeit any rights enjoyed by Robinson Technologies and Seth A. Robinson concerning the name Dink Smallwood and related media includeding graphics, sounds, music, scripts and map data. (hereafter referred to as "Dink Smallwood Media"). Repackaging or distributing the Dink Smallwood Media in a modified format requires permission from Seth A. Robinson. Please consult the license included with the Dink Smallwood full version distribution for more information. Fastfile.*, ffcreate.*, dsutil.* and ddutil.* are copyrighted by the Microsoft Corporation and excluded from the above license. -Seth A. Robinson (seth@rtsoft.com) www.rtsoft.com */ /* In case this isn't clear enough, here's a statement of intent clarifying that the icon is free and not covered by the stanza about the "Dink Smallwood Media": http://lists.gnu.org/archive/html/bug-freedink/2008-09/msg00008.html */ /* XPM */ const char *dink_xpm[] = { "32 32 8 1", " c None", ". c #000000", "+ c #808080", "@ c #0000FF", "# c #808000", "$ c #C0C0C0", "% c #800000", "& c #FFFFFF", " . ...+", " .@. .##.", " .@@@. . .####", " .@$@. .#. .##%..", " .@@$@@. .##. .##%. ", " ..@@$&$@@..########.##.##%. ", " .@@@$&&&$@@@.......#.###.%. ", ".@@$$&&&&&$$@@@.%%%..$.###. ", " .@@@$&&&$@@@..%%%%.&&$.###. ", " #..@@$&$@@..%%%%%.&&$$&.###. ", " #.%.@@$@@.%%%%%%.&&$&&$...##. ", " #..%.@$@.%%%%%%.&&$&&$...#.. ", " ##.%.@@@.%.....&&$&$$.%%.## ", " #.%%.@.%%%.#.&&$&$$.%%%..## ", " #.%%.@.%%%..&&$&$..%%%%%.## ", " #.%%%.%%%..&&$&$.##.%%%%.## ", " #...%%%...&.$&$.###.%%%%.## ", " ###..%.#.#.#.$.#####.%%%.## ", " ###.%%.#.#.#.######.%%.#.# ", " ##.%%..#.#.#.#####.%%.#..# ", " ##..%.&....................##", " ###.%.&$.%%%%%#%#%##%####.....", " ##....&$&.#.#.#..............##", "##..%.&$&.#.#.#.#####.%%%.#..# ", "#..%%.$$.#.#.#.#####.%%%..#.# ", "#.%%%..........#####.%%%.### ", "#.%%....%%%%%%%..#..%%%..# ", "#.%%.##..%%%%%%%%.%%%%..## ", "#.%..###..%%%%%%%%%%%..## ", "#...## ##...%%%%%%%...## ", "##### ###.........### ", " ########### "}; dfarc-3.12/src/Config.hpp0000664000175000017510000000275612340110733012153 00000000000000/** * Application configuration values * Copyright (C) 2008 Sylvain Beucler * This file is part of GNU FreeDink * GNU FreeDink 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. * GNU FreeDink 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, see * . */ #ifndef _CONFIG_HPP #define _CONFIG_HPP #include /* set appropriate wxConfig subclass */ class Config { public: static Config* GetConfig(); Config(); ~Config(); void Update(); wxString GetDinkrefDir(); bool mTrueColorValue; bool mWindowedValue; bool mSoundValue; bool mJoystickValue; bool mDebugValue; bool mV107Value; bool mShowIntroductionText; bool mWarnOnEdit; wxString mSelectedDmod; bool mCloseDfarcOnPlay; bool mShowDeveloperButtons; bool mWriteIniValue; bool mOverrideDinkrefDir; wxString mSpecifiedDinkrefDir; wxString mDModDir; wxString mDinkExe; wxString mEditorExe; wxString mPreferredFileBrowserExe; wxString mForceLocale; private: wxConfig* mwxConfig; }; #endif dfarc-3.12/src/DMod.cpp0000664000175000017510000000627012340110733011557 00000000000000/** * DMod metadata * Copyright (C) 2008 Sylvain Beucler * This file is part of GNU FreeDink * GNU FreeDink 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. * GNU FreeDink 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, see * . */ #include #include #include "DMod.hpp" #include "IOUtils.hpp" /** * DMod auto-detection: either main.c or start.c must exist (otherwise * I don't see how a D-Mod can be started). */ bool DMod::IsADModDir(wxString full_path) { wxString mainc_path = full_path + _T("/story/main.c"); wxString startc_path = full_path + _T("/story/start.c"); wxString maind_path = full_path + _T("/story/main.d"); wxString startd_path = full_path + _T("/story/start.d"); IOUtils::ciconvert(mainc_path); IOUtils::ciconvert(startc_path); IOUtils::ciconvert(maind_path); IOUtils::ciconvert(startd_path); return ::wxFileExists(mainc_path) || ::wxFileExists(startc_path) || ::wxFileExists(maind_path) || ::wxFileExists(startd_path); } DMod::DMod(wxString full_path) { mFullPath = full_path; wxFileName tmp(full_path); // no trailing slash mBaseName = tmp.GetName(); mDescription = GetDModDizContent(); mTitle = GetDModDizTitle(); wxString lGfxPreview(mFullPath + _T("/preview.bmp")); IOUtils::ciconvert(lGfxPreview); wxString lGfxTitle(mFullPath + _T("/graphics/title-01.bmp")); IOUtils::ciconvert(lGfxTitle); if (::wxFileExists(lGfxPreview)) mPreviewPath = lGfxPreview; else if (::wxFileExists(lGfxTitle)) mPreviewPath = lGfxTitle; else mPreviewPath = wxEmptyString; } wxString DMod::GetFullPath() { return mFullPath; } wxString DMod::GetBaseName() { return mBaseName; } wxString DMod::GetTitle() { return mTitle; } wxString DMod::GetDescription() { return mDescription; } wxString DMod::GetPreviewPath() { return mPreviewPath; } wxString DMod::GetDModDizContent() { wxString content; wxString lDModDizPath = mFullPath + _T("/dmod.diz"); IOUtils::ciconvert(lDModDizPath); if (!lDModDizPath.IsEmpty() && ::wxFileExists(lDModDizPath)) { wxFile f(lDModDizPath); if (f.Length() < 100000) { char *buf = (char*)malloc(f.Length() + 1); f.Read(buf, f.Length()); buf[f.Length()] = '\0'; // dmod.diz are typically uncoded in ISO-8859-1/latin-1 // TODO: find a way for new DMod authors to specify UTF-8 content = wxString(buf, wxConvISO8859_1); free(buf); f.Close(); } } return content; } wxString DMod::GetDModDizTitle() { wxString lTitle; char ch; int i = 0; while(((ch = mDescription.GetChar(i)) != '\n') && (ch != '\r') && (i < mDescription.Len())) i++; if (i > 0) lTitle = mDescription.Mid(0, i); else lTitle = mBaseName; return lTitle; } dfarc-3.12/src/DFArcFrame_Base.cpp0000755000175000017510000001352312420022015013552 00000000000000// -*- C++ -*- // // generated by wxGlade b221e052e911 on Thu Oct 16 22:01:17 2014 // // Example for compiling a single file project under Linux using g++: // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp // // Example for compiling a multi file project under Linux using g++: // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp // #include "DFArcFrame_Base.h" // begin wxGlade: ::extracode // end wxGlade DFArcFrame_Base::DFArcFrame_Base(wxWindow* parent, int id, const wxString& title, const wxPoint& pos, const wxSize& size, long style): wxFrame(parent, id, title, pos, size, wxDEFAULT_FRAME_STYLE) { // begin wxGlade: DFArcFrame_Base::DFArcFrame_Base mSplitter = new wxSplitterWindow(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxSP_LIVE_UPDATE|wxCLIP_CHILDREN); panel_1 = new wxPanel(mSplitter, wxID_ANY); lMenuBar = new wxMenuBar(); wxMenu* lFileMenu = new wxMenu(); lFileMenu->Append(ID_FileInstall, _("&Open D-Mod to Install"), _("Select a D-Mod to install"), wxITEM_NORMAL); lFileMenu->Append(ID_Download, _("&Download D-Mods"), _("Go to The Dink Network to download some D-Mods!"), wxITEM_NORMAL); lFileMenu->AppendSeparator(); lFileMenu->Append(wxID_EXIT, _("E&xit"), _("Exit DFArc"), wxITEM_NORMAL); lMenuBar->Append(lFileMenu, _("&File")); wxMenu* lEditMenu = new wxMenu(); lEditMenu->Append(ID_Refresh, _("&Refresh D-Mod List"), _("Refreshes the D-Mod list for any new additions"), wxITEM_NORMAL); lEditMenu->Append(ID_Browse, _("&Browse Selected D-Mod Directory"), _("Browse to the directory containing the current D-Mod"), wxITEM_NORMAL); lEditMenu->Append(ID_Uninstall, _("&Uninstall Selected D-Mod"), _("Uninstalls the selected D-Mod"), wxITEM_NORMAL); lEditMenu->AppendSeparator(); lEditMenu->Append(ID_Options, _("&Options"), _("View or modify DFArc options"), wxITEM_NORMAL); lMenuBar->Append(lEditMenu, _("&Edit")); wxMenu* lHelpMenu = new wxMenu(); lHelpMenu->Append(ID_IntroductionText, _("&Introduction"), _("A quick introduction to Dinking and D-Mods"), wxITEM_NORMAL); lHelpMenu->Append(ID_Walkthroughs, _("&Walkthroughs and Guides"), _("Stuck in a D-Mod? Check out The Dink Smallwood Solutions."), wxITEM_NORMAL); lHelpMenu->Append(ID_Forums, _("&Forums"), _("Ask a question on the forums, or see if someone had the same problem."), wxITEM_NORMAL); lHelpMenu->AppendSeparator(); lHelpMenu->Append(wxID_ABOUT, _("&About"), _("About DFArc"), wxITEM_NORMAL); lMenuBar->Append(lHelpMenu, _("&Help")); SetMenuBar(lMenuBar); mStatusBar = CreateStatusBar(1, wxST_SIZEGRIP); const wxString *mDModListBox_choices = NULL; mDModListBox = new wxListBox(panel_1, ID_DmodTitleList, wxDefaultPosition, wxDefaultSize, 0, mDModListBox_choices, wxLB_SINGLE|wxLB_NEEDED_SB|wxLB_SORT); mPlayButton = new wxButton(panel_1, ID_Play, _("Play")); mTrueColor = new wxCheckBox(panel_1, ID_Truecolor, _("True Color")); mWindowed = new wxCheckBox(panel_1, ID_Windowed, _("Windowed")); mSound = new wxCheckBox(panel_1, ID_Sound, _("Sound")); mJoystick = new wxCheckBox(panel_1, ID_Joystick, _("Joystick")); mDebug = new wxCheckBox(panel_1, ID_Debug, _("Debug")); mV107 = new wxCheckBox(panel_1, ID_V107, _("v1.07 mode")); mEditButton = new wxButton(panel_1, ID_Edit, _("Edit")); mPackageButton = new wxButton(panel_1, ID_Package, _("Package")); mAnimationPanel = new wxPanel(panel_1, wxID_ANY); const wxString *mGameLocaleList_choices = NULL; mGameLocaleList = new wxChoice(panel_1, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0, mGameLocaleList_choices, 0); mDmodDescription = new wxTextCtrl(mSplitter, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_READONLY); set_properties(); do_layout(); // end wxGlade } void DFArcFrame_Base::set_properties() { // begin wxGlade: DFArcFrame_Base::set_properties SetTitle(_("DFArc v3")); int mStatusBar_widths[] = { -1 }; mStatusBar->SetStatusWidths(1, mStatusBar_widths); const wxString mStatusBar_fields[] = { wxEmptyString }; for(int i = 0; i < mStatusBar->GetFieldsCount(); ++i) { mStatusBar->SetStatusText(mStatusBar_fields[i], i); } mPlayButton->SetDefault(); mV107->SetToolTip(_("v1.07 compatibility mode, for D-Mods released before 2006")); mAnimationPanel->SetMinSize(wxSize(160, 120)); mGameLocaleList->Enable(0); // end wxGlade } void DFArcFrame_Base::do_layout() { // begin wxGlade: DFArcFrame_Base::do_layout wxBoxSizer* root_sizer = new wxBoxSizer(wxHORIZONTAL); wxBoxSizer* lTopSizer = new wxBoxSizer(wxHORIZONTAL); wxBoxSizer* mImageSizer = new wxBoxSizer(wxVERTICAL); wxBoxSizer* mButtonSizer = new wxBoxSizer(wxHORIZONTAL); wxBoxSizer* lPlaySizer = new wxBoxSizer(wxVERTICAL); lTopSizer->Add(mDModListBox, 1, wxLEFT|wxEXPAND, 0); lPlaySizer->Add(mPlayButton, 0, wxBOTTOM, 10); lPlaySizer->Add(mTrueColor, 0, wxBOTTOM, 7); lPlaySizer->Add(mWindowed, 0, wxBOTTOM, 7); lPlaySizer->Add(mSound, 0, wxBOTTOM, 7); lPlaySizer->Add(mJoystick, 0, wxBOTTOM, 7); lPlaySizer->Add(mDebug, 0, wxBOTTOM, 7); lPlaySizer->Add(mV107, 0, wxBOTTOM, 7); lTopSizer->Add(lPlaySizer, 0, wxLEFT|wxEXPAND, 10); mButtonSizer->Add(mEditButton, 0, wxLEFT, 10); mButtonSizer->Add(mPackageButton, 0, wxLEFT, 10); mImageSizer->Add(mButtonSizer, 0, wxBOTTOM|wxEXPAND, 10); mImageSizer->Add(mAnimationPanel, 0, wxLEFT|wxALIGN_BOTTOM|wxALIGN_CENTER_HORIZONTAL, 10); mImageSizer->Add(mGameLocaleList, 0, wxTOP|wxEXPAND, 10); lTopSizer->Add(mImageSizer, 0, wxLEFT|wxEXPAND, 10); panel_1->SetSizer(lTopSizer); mSplitter->SplitHorizontally(panel_1, mDmodDescription); root_sizer->Add(mSplitter, 1, wxEXPAND, 0); SetSizer(root_sizer); root_sizer->Fit(this); Layout(); // end wxGlade } dfarc-3.12/src/DFArcFrame_Base.h0000755000175000017510000000502712420022015013217 00000000000000// -*- C++ -*- // // generated by wxGlade b221e052e911 on Thu Oct 16 22:01:17 2014 // // Example for compiling a single file project under Linux using g++: // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp // // Example for compiling a multi file project under Linux using g++: // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp // #ifndef DFARCFRAME_BASE_H #define DFARCFRAME_BASE_H #include #include #include "wx/intl.h" #ifndef APP_CATALOG #define APP_CATALOG "app" // replace with the appropriate catalog name #endif // begin wxGlade: ::dependencies #include // end wxGlade // begin wxGlade: ::extracode // end wxGlade class DFArcFrame_Base: public wxFrame { public: // begin wxGlade: DFArcFrame_Base::ids enum { ID_FileInstall = wxID_HIGHEST + 1009, ID_Download = wxID_HIGHEST + 1010, ID_Refresh = wxID_HIGHEST + 1011, ID_Browse = wxID_HIGHEST + 1012, ID_Uninstall = wxID_HIGHEST + 1013, ID_Options = wxID_HIGHEST + 1014, ID_IntroductionText = wxID_HIGHEST + 1015, ID_Walkthroughs = wxID_HIGHEST + 1016, ID_Forums = wxID_HIGHEST + 1017, ID_DmodTitleList = wxID_HIGHEST + 1027, ID_Play = wxID_HIGHEST + 1028, ID_Truecolor = wxID_HIGHEST + 1029, ID_Windowed = wxID_HIGHEST + 1030, ID_Sound = wxID_HIGHEST + 1031, ID_Joystick = wxID_HIGHEST + 1032, ID_Debug = wxID_HIGHEST + 1033, ID_V107 = wxID_HIGHEST + 1034, ID_Edit = wxID_HIGHEST + 1035, ID_Package = wxID_HIGHEST + 1036 }; // end wxGlade DFArcFrame_Base(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_FRAME_STYLE); private: // begin wxGlade: DFArcFrame_Base::methods void set_properties(); void do_layout(); // end wxGlade protected: // begin wxGlade: DFArcFrame_Base::attributes wxMenuBar* lMenuBar; wxStatusBar* mStatusBar; wxListBox* mDModListBox; wxButton* mPlayButton; wxCheckBox* mTrueColor; wxCheckBox* mWindowed; wxCheckBox* mSound; wxCheckBox* mJoystick; wxCheckBox* mDebug; wxCheckBox* mV107; wxButton* mEditButton; wxButton* mPackageButton; wxPanel* mAnimationPanel; wxChoice* mGameLocaleList; wxPanel* panel_1; wxTextCtrl* mDmodDescription; wxSplitterWindow* mSplitter; // end wxGlade }; // wxGlade: end class #endif // DFARCFRAME_BASE_H dfarc-3.12/src/DFArcApp.cpp0000664000175000017510000000735312417764707012344 00000000000000/** * DFArc startup - wxWidgets application object * Copyright (C) 2005, 2006 Dan Walma * Copyright (C) 2008 Sylvain Beucler * This file is part of GNU FreeDink * GNU FreeDink 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. * GNU FreeDink 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, see * . */ #ifdef HAVE_CONFIG_H #include #endif #include "Config.hpp" #include "DFArcFrame.hpp" #include "InstallVerifyFrame.hpp" #include class DFArcApp : public wxApp { bool OnInit(); int OnExit(); private: // wxLocale object must live during all the program execution, or // translation will stop - so let's define it as an app member wxLocale app_locale; }; DECLARE_APP(DFArcApp) bool DFArcApp::OnInit(void) { // Init i18n or internationalization // Under GNU/Linux, wx looks in standard /usr/share/locale/... // Under woe, wx looks in ./fr/dfarc.mo. Add ./po/fr/dfarc.mo: wxLocale::AddCatalogLookupPathPrefix(_T("po")); // Init locale, possibly overriding the system language Config *mConfig = Config::GetConfig(); // singleton const wxLanguageInfo* li = wxLocale::FindLanguageInfo(mConfig->mForceLocale); if (mConfig->mForceLocale == wxT("C")) ; // do not initialize i18n else if (mConfig->mForceLocale != wxEmptyString && li != NULL) app_locale.Init(li->Language); else app_locale.Init(); app_locale.AddCatalog(wxT("dfarc")); int cont = true; if (argc == 2) { wxString arg = argv[1]; if (arg.Cmp(_T("--help")) == 0) { wxString progname = argv[0]; printf("Usage: %s [OPTIONS]... [file.dmod]\n", (const char*)progname.fn_str()); printf("\n"); printf("-h, --help Display this help screen\n"); printf("-v, --version Display the version\n"); printf("\n"); printf("If file.dmod is given, the DMod installation wizard will start.\n"); printf("\n"); /* printf ("Type 'info freedink' for more information\n"); */ printf("Report bugs to %s.\n", PACKAGE_BUGREPORT); exit(EXIT_SUCCESS); // don't 'return false', otherwise wxWidgets exit(255) } else if (arg.Cmp(_T("--version")) == 0) { printf ("%s %s\n", PACKAGE_NAME, VERSION); printf ("Copyright (C) 2006, 2007, 2008 by contributors\n"); printf ("License GPLv3+: GNU GPL version 3 or later \n"); printf ("This is free software: you are free to change and redistribute it.\n"); printf ("There is NO WARRANTY, to the extent permitted by law.\n"); exit(EXIT_SUCCESS); // don't 'return false', otherwise wxWidgets exit(255) } else { wxString lDmodFilePath = arg; InstallVerifyFrame lTemp(lDmodFilePath); cont = (lTemp.ShowModal() == wxID_OK); } } if (cont) { // Normal startup, or successful installation DFArcFrame* lDFArcMainForm = new DFArcFrame(); lDFArcMainForm->Show(); return true; } // Failed installation, not going to main screen, just quitting return false; } int DFArcApp::OnExit() { // Singletons don't delete themselves automatically. Moreover, a // static SingletonDestroyer solution would happen after wxWindows // clean-up and crash. So we're deleting it here. delete Config::GetConfig(); // saves wxConfig on disk return wxApp::OnExit(); } IMPLEMENT_APP(DFArcApp) dfarc-3.12/src/IOUtils.hpp0000664000175000017510000000225312340110733012266 00000000000000/** * Files utilities * Copyright (C) 2004 Andrew Reading * Copyright (C) 2005, 2006 Dan Walma * Copyright (C) 2008 Sylvain Beucler * This file is part of GNU FreeDink * GNU FreeDink 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. * GNU FreeDink 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, see * . */ #ifndef _IOUTILS_HPP #define _IOUTILS_HPP #include #include #include class IOUtils { public: static void ciconvert(wxString& strPath); static wxString GetParentDir(wxString full_path); static void GetAllDModFiles(wxString strPath, wxArrayString &wxasFileList); private: //void FixSlashes(wxString &Path); }; #endif dfarc-3.12/src/InstallVerifyFrame.cpp0000664000175000017510000001044312417450330014504 00000000000000/** * D-Mod installation wizard * Copyright (C) 2004 Andrew Reading * Copyright (C) 2005, 2006 Dan Walma * Copyright (C) 2008 Sylvain Beucler * This file is part of GNU FreeDink * GNU FreeDink 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. * GNU FreeDink 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, see * . */ #include #include #include #include "InstallVerifyFrame.hpp" #include "Config.hpp" #include "BZip.hpp" #include "Tar.hpp" BEGIN_EVENT_TABLE(InstallVerifyFrame, wxDialog) EVT_BUTTON(wxID_OK, InstallVerifyFrame::onInstall) EVT_BUTTON(wxID_CANCEL, InstallVerifyFrame::onCancel) END_EVENT_TABLE() InstallVerifyFrame::InstallVerifyFrame(const wxString& lDmodFilePath) : InstallVerifyFrame_Base(NULL, wxID_ANY, _T("")) { mConfig = Config::GetConfig(); prepareDialog(); int flags = wxPD_AUTO_HIDE | wxPD_APP_MODAL | wxPD_REMAINING_TIME; wxProgressDialog lPrepareProgress(_("Preparing"), _("The D-Mod archive is being decompressed in a temporary file."), 100, this, flags); // Extract BZip lBZip(lDmodFilePath); mTarFilePath = lBZip.Extract(&lPrepareProgress); if (mTarFilePath.Len() != 0) { // Prepare the tar file for reading Tar lTar(mTarFilePath); lTar.ReadHeaders(); // Get and display the dmod description wxString lDmodDescription = lTar.getmDmodDescription(); if ( lDmodDescription.Len() == 0 ) { lDmodDescription = wxString::Format(_("No Description Available.\n" "\n" "The D-Mod will be installed in subdirectory '%s'."), lTar.getInstalledDmodDirectory().c_str()); } else { int lBreakChar = lDmodDescription.Find( '\r' ); if ( lBreakChar <= 0 ) { lBreakChar = lDmodDescription.Find( '\n' ); } mDmodName = lDmodDescription.SubString( 0, lBreakChar - 1 ); this->SetTitle(_("DFArc - Install D-Mod - ") + mDmodName); } mDmodDescription->SetValue(lDmodDescription); // Re-enable the install button mInstallButton->Enable(true); } } InstallVerifyFrame::~InstallVerifyFrame() { if (mTarFilePath.Len() != 0) ::wxRemoveFile(mTarFilePath); } void InstallVerifyFrame::prepareDialog(void) { if (mConfig->mDModDir.IsEmpty()) // force install in Dink dir mDestdirBox->Disable(); else // default install in D-Mods dir mDestdirBox->SetSelection(1); // Disable installation button until the tar is properly decompressed mInstallButton->Enable(false); this->SetMinSize(this->GetBestSize()); this->SetSize(this->GetMinSize()); } void InstallVerifyFrame::onCancel(wxCommandEvent &Event) { this->EndModal(wxID_CANCEL); } void InstallVerifyFrame::onInstall(wxCommandEvent &Event) { int flags = wxPD_AUTO_HIDE | wxPD_APP_MODAL | wxPD_REMAINING_TIME; wxProgressDialog lInstallProgress(_("DFArc - Installing"), _T(""), 100, this, flags); // Install in the main dink dir, or in the specified DMod dir if any wxString destdir = mConfig->GetDinkrefDir(); if (mDestdirBox->GetSelection() == 1) destdir = mConfig->mDModDir; Tar lTar(mTarFilePath); lTar.ReadHeaders(); int lError = lTar.Extract(destdir, &lInstallProgress); if (lError == 0) { if (mDmodName.Len() <= 0) { mDmodName = _("The D-Mod you selected"); } ::wxMessageBox(mDmodName + _(" was successfully installed."), _("Success"), wxOK | wxICON_INFORMATION, this); // Preselect this new D-Mod wxString dmod_dir = lTar.getInstalledDmodDirectory(); if (dmod_dir.Last() == _T('/')) dmod_dir = dmod_dir.RemoveLast(); mConfig->mSelectedDmod = destdir + wxFileName::GetPathSeparator() + dmod_dir; this->EndModal(wxID_OK); } else { wxLogError(_("An error occured while extracting the .dmod file.")); } } dfarc-3.12/src/Options_Base.wxg0000664000175000017510000002747312400631674013365 00000000000000 DFArc - Options wxVERTICAL wxLEFT|wxRIGHT|wxTOP 10 wxLEFT|wxRIGHT|wxTOP 10 wxLEFT|wxRIGHT|wxTOP 10 wxLEFT|wxRIGHT|wxTOP|wxEXPAND 10 wxHORIZONTAL 0 wxLEFT 10 wxLEFT 10 ID_OVERRIDE_DINKREFDIR_BROWSE=? wxLEFT|wxRIGHT|wxTOP|wxEXPAND 10 wxHORIZONTAL 0 1 wxLEFT 10 wxLEFT 10 ID_DMODDIR_BROWSE=? wxLEFT|wxRIGHT|wxTOP|wxEXPAND 10 wxHORIZONTAL 10 1 wxLEFT 10 -1 wxLEFT|wxRIGHT|wxTOP|wxEXPAND 10 wxHORIZONTAL 10 1 wxLEFT 10 -1 wxLEFT|wxRIGHT|wxTOP|wxEXPAND 10 wxHORIZONTAL wxLEFT 0 1 wxLEFT 10 wxLEFT|wxRIGHT|wxTOP|wxEXPAND 10 wxHORIZONTAL 10 1 wxLEFT|wxEXPAND 10 wxVERTICAL wxEXPAND 0 0 ID_LANGUAGE_LIST=? wxEXPAND 0 wxALL|wxALIGN_BOTTOM 10 wxHORIZONTAL wxALIGN_BOTTOM 0 OK 1 wxLEFT|wxALIGN_BOTTOM 10 CANCEL dfarc-3.12/src/Makefile.in0000664000175000017510000006062212417764236012320 00000000000000# Makefile.in generated by automake 1.14.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2013 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ bin_PROGRAMS = dfarc$(EXEEXT) subdir = src DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ $(srcdir)/woeres.rc.in $(top_srcdir)/autotools/depcomp ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \ $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = woeres.rc CONFIG_CLEAN_VPATH_FILES = am__installdirs = "$(DESTDIR)$(bindir)" PROGRAMS = $(bin_PROGRAMS) am_dfarc_OBJECTS = BZip.$(OBJEXT) Config.$(OBJEXT) DFArcApp.$(OBJEXT) \ DFArcFrame.$(OBJEXT) DFile.$(OBJEXT) DMod.$(OBJEXT) \ icon_xpm.$(OBJEXT) IOUtils.$(OBJEXT) \ InstallVerifyFrame.$(OBJEXT) Options.$(OBJEXT) \ Package.$(OBJEXT) RecursiveDelete.$(OBJEXT) Tar.$(OBJEXT) \ DFArcFrame_Base.$(OBJEXT) Options_Base.$(OBJEXT) \ Package_Base.$(OBJEXT) InstallVerifyFrame_Base.$(OBJEXT) @HAVE_WINDRES_TRUE@nodist_dfarc_OBJECTS = woeres.$(OBJEXT) dfarc_OBJECTS = $(am_dfarc_OBJECTS) $(nodist_dfarc_OBJECTS) dfarc_LDADD = $(LDADD) AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/autotools/depcomp am__depfiles_maybe = depfiles am__mv = mv -f CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) AM_V_CXX = $(am__v_CXX_@AM_V@) am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@) am__v_CXX_0 = @echo " CXX " $@; am__v_CXX_1 = CXXLD = $(CXX) CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ -o $@ AM_V_CXXLD = $(am__v_CXXLD_@AM_V@) am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@) am__v_CXXLD_0 = @echo " CXXLD " $@; am__v_CXXLD_1 = COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) AM_V_CC = $(am__v_CC_@AM_V@) am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) am__v_CC_0 = @echo " CC " $@; am__v_CC_1 = CCLD = $(CC) LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ AM_V_CCLD = $(am__v_CCLD_@AM_V@) am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_0 = @echo " CCLD " $@; am__v_CCLD_1 = SOURCES = $(dfarc_SOURCES) $(nodist_dfarc_SOURCES) DIST_SOURCES = $(dfarc_SOURCES) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ UPX = @UPX@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WINDRES = @WINDRES@ WXGLADE = @WXGLADE@ WX_CFLAGS = @WX_CFLAGS@ WX_CFLAGS_ONLY = @WX_CFLAGS_ONLY@ WX_CONFIG_PATH = @WX_CONFIG_PATH@ WX_CPPFLAGS = @WX_CPPFLAGS@ WX_CXXFLAGS = @WX_CXXFLAGS@ WX_CXXFLAGS_ONLY = @WX_CXXFLAGS_ONLY@ WX_LIBS = @WX_LIBS@ WX_LIBS_STATIC = @WX_LIBS_STATIC@ WX_RESCOMP = @WX_RESCOMP@ WX_VERSION = @WX_VERSION@ WX_VERSION_MAJOR = @WX_VERSION_MAJOR@ WX_VERSION_MICRO = @WX_VERSION_MICRO@ WX_VERSION_MINOR = @WX_VERSION_MINOR@ XDG_DESKTOP_MENU = @XDG_DESKTOP_MENU@ XDG_ICON_RESOURCE = @XDG_ICON_RESOURCE@ XDG_MIME = @XDG_MIME@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ intltool__v_merge_options_ = @intltool__v_merge_options_@ intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ # Help DFArc look for either 'dink' or 'dink.exe': # Cf. (autoconf.info)Installation Directory Variables: # Don't use DATADIR, it conflicts with something in MinGW # work-around for wxglade < 2.6.9 # disable obnoxious wxWidgets3 assertions AM_CPPFLAGS = -DEXEEXT=\"$(EXEEXT)\" -DDEFAULT_DATA_DIR=\"$(datadir)\" \ -DwxTHICK_FRAME=wxRESIZE_BORDER -DNDEBUG dfarc_SOURCES = BZip.cpp BZip.hpp ClientData.hpp Config.cpp Config.hpp \ DFArcApp.cpp DFArcFrame.cpp DFArcFrame.hpp DFile.cpp DFile.hpp \ DMod.cpp DMod.hpp icon_xpm.cpp icon_xpm.hpp IOUtils.cpp \ IOUtils.hpp InstallVerifyFrame.cpp InstallVerifyFrame.hpp \ Options.cpp Options.hpp Package.cpp Package.hpp \ RecursiveDelete.cpp RecursiveDelete.hpp Tar.cpp Tar.hpp \ DFArcFrame_Base.cpp DFArcFrame_Base.h Options_Base.cpp \ Options_Base.h Package_Base.cpp Package_Base.h \ InstallVerifyFrame_Base.cpp InstallVerifyFrame_Base.h # DFArcFrame_Base.cpp/h will be automatically generated before the # rest of the source code. In addition, they will be included in # tarballs, so people won't need wxglade to compile DFArc :) # Using $(srcdir) so that the .po build system will find them BUILT_SOURCES = $(srcdir)/DFArcFrame_Base.cpp \ $(srcdir)/DFArcFrame_Base.h $(srcdir)/Options_Base.cpp \ $(srcdir)/Options_Base.h $(srcdir)/Package_Base.cpp $(srcdir)/Package_Base.h \ $(srcdir)/InstallVerifyFrame_Base.cpp $(srcdir)/InstallVerifyFrame_Base.h CLEANFILES = $(BUILT_SOURCES) EXTRA_DIST = DFArcFrame_Base.wxg Options_Base.wxg Package_Base.wxg \ InstallVerifyFrame_Base.wxg dink.ico # How do we handle resources embedded in the executable binary? @HAVE_WINDRES_TRUE@nodist_dfarc_SOURCES = woeres.rc all: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) all-am .SUFFIXES: .SUFFIXES: .cpp .o .obj .rc .wxg $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnits src/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnits src/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): woeres.rc: $(top_builddir)/config.status $(srcdir)/woeres.rc.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ fi; \ for p in $$list; do echo "$$p $$p"; done | \ sed 's/$(EXEEXT)$$//' | \ while read p p1; do if test -f $$p \ ; then echo "$$p"; echo "$$p"; else :; fi; \ done | \ sed -e 'p;s,.*/,,;n;h' \ -e 's|.*|.|' \ -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ sed 'N;N;N;s,\n, ,g' | \ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ if ($$2 == $$4) files[d] = files[d] " " $$1; \ else { print "f", $$3 "/" $$4, $$1; } } \ END { for (d in files) print "f", d, files[d] }' | \ while read type dir files; do \ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ test -z "$$files" || { \ echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ } \ ; done uninstall-binPROGRAMS: @$(NORMAL_UNINSTALL) @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ files=`for p in $$list; do echo "$$p"; done | \ sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ -e 's/$$/$(EXEEXT)/' \ `; \ test -n "$$list" || exit 0; \ echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(bindir)" && rm -f $$files clean-binPROGRAMS: -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) installcheck-binPROGRAMS: $(bin_PROGRAMS) bad=0; pid=$$$$; list="$(bin_PROGRAMS)"; for p in $$list; do \ case ' $(AM_INSTALLCHECK_STD_OPTIONS_EXEMPT) ' in \ *" $$p "* | *" $(srcdir)/$$p "*) continue;; \ esac; \ f=`echo "$$p" | \ sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ for opt in --help --version; do \ if "$(DESTDIR)$(bindir)/$$f" $$opt >c$${pid}_.out \ 2>c$${pid}_.err &2; bad=1; fi; \ done; \ done; rm -f c$${pid}_.???; exit $$bad dfarc$(EXEEXT): $(dfarc_OBJECTS) $(dfarc_DEPENDENCIES) $(EXTRA_dfarc_DEPENDENCIES) @rm -f dfarc$(EXEEXT) $(AM_V_CXXLD)$(CXXLINK) $(dfarc_OBJECTS) $(dfarc_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/BZip.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Config.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/DFArcApp.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/DFArcFrame.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/DFArcFrame_Base.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/DFile.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/DMod.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/IOUtils.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/InstallVerifyFrame.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/InstallVerifyFrame_Base.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Options.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Options_Base.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Package.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Package_Base.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/RecursiveDelete.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Tar.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/icon_xpm.Po@am__quote@ .cpp.o: @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $< .cpp.obj: @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-am TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-am CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-am cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) check-am all-am: Makefile $(PROGRAMS) installdirs: for dir in "$(DESTDIR)$(bindir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) clean: clean-am clean-am: clean-binPROGRAMS clean-generic mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-binPROGRAMS @$(NORMAL_INSTALL) $(MAKE) $(AM_MAKEFLAGS) install-exec-hook install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: installcheck-binPROGRAMS maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-binPROGRAMS @$(NORMAL_INSTALL) $(MAKE) $(AM_MAKEFLAGS) uninstall-hook .MAKE: all check install install-am install-exec-am install-strip \ uninstall-am .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean \ clean-binPROGRAMS clean-generic cscopelist-am ctags ctags-am \ distclean distclean-compile distclean-generic distclean-tags \ distdir dvi dvi-am html html-am info info-am install \ install-am install-binPROGRAMS install-data install-data-am \ install-dvi install-dvi-am install-exec install-exec-am \ install-exec-hook install-html install-html-am install-info \ install-info-am install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installcheck-binPROGRAMS installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \ tags tags-am uninstall uninstall-am uninstall-binPROGRAMS \ uninstall-hook # wxGlade (GUI builder) code generation @HAVE_WXGLADE_TRUE@.wxg.cpp: @HAVE_WXGLADE_TRUE@ $(AM_V_GEN) @HAVE_WXGLADE_TRUE@ $(AM_V_at) $(WXGLADE) -g C++ -o $@ $< @HAVE_WXGLADE_FALSE@.wxg.cpp: @HAVE_WXGLADE_FALSE@ @echo @HAVE_WXGLADE_FALSE@ @echo " Please install 'wxglade' to rebuild the '.wxg' GUI files" @HAVE_WXGLADE_FALSE@ @echo " (and then run ./config.status --recheck)" @HAVE_WXGLADE_FALSE@ @echo @HAVE_WXGLADE_FALSE@ exit 1 # Woe icon and app infos # Also check http://fragglet.livejournal.com/4448.html .rc.o: $(WINDRES) -i $< -o $@ install-exec-hook: # UPX compression # Needs to be done before bundling resources # Not using --best because it takes much more time and the result is # only a little bit smaller @HAVE_UPX_TRUE@ -$(UPX) "$(DESTDIR)$(bindir)/dfarc$(EXEEXT)" # Add 'freedink-dfarc' alias so that command-line FreeDink users see # the front-end more easily (via tab completion) $(LN_S) -f "dfarc$(EXEEXT)" "$(DESTDIR)$(bindir)/freedink-dfarc$(EXEEXT)" uninstall-hook: rm -f "$(DESTDIR)$(bindir)/freedink-dfarc$(EXEEXT)" # For reference, wxGlade (GUI builder) alternate 2-steps code # generation: #.wxg.xrc: # $(WXGLADE) -g XRC -o $@ $< #.xrc.cpp: # $(WXRC) -c -e -o $@ -n Init$* $< # sed -i -e 's/$*:://g' $*.h # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: dfarc-3.12/src/Tar.hpp0000664000175000017510000000552012400673367011502 00000000000000/** * Tar file creation and extraction, with progress bar support * Copyright (C) 2004 Andrew Reading * Copyright (C) 2005, 2006 Dan Walma * Copyright (C) 2008 Sylvain Beucler * This file is part of GNU FreeDink * GNU FreeDink 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. * GNU FreeDink 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, see * . */ #ifndef _TAR_HPP #define _TAR_HPP #include #include #include #include "DFile.hpp" struct fileinfo; class TarHeader { public: char Name[100]; // 100 char Mode[8]; // 108 char Uid[8]; // 116 char Gid[8]; // 124 char Size[12]; // 136 char Mtime[12]; // 148 char Chksum[8]; // 156 char Linkflag; // 157 char Linkname[100]; // 257 char Magic[8]; // 265 char Uname[32]; // 297 char Gname[32]; // 329 char Devmajor[8]; // 337 char Devminor[8]; // 345 char Padding[167]; // 512 }; class TarRecord { public: char Name[100]; int iFilePosBegin; int iFileSize; }; class Tar : public DFile { public: Tar(wxString &szFile, wxString &szCompressDir); Tar(wxString &szFile); bool Create(const wxString& aFolderName, double *compression_ratio, wxProgressDialog* aProgressDialog); int Extract(wxString destdir, wxProgressDialog* aProgressDialog); // tarmisc.cpp: int ReadHeaders( void ); wxArrayString mPathList; wxString getInstalledDmodDirectory(); wxString getmDmodDescription(); private: bool FillHeader(wxString &strFile, const wxString& lDestinationFile, char* header512, fileinfo* finfo); void DecToOct(int n, char *sz, int iMaxSize); const char* OctToDec(int n); const char* ToString(int n); int RoundTo512(int n); bool PadWithZeros(char *s, int iszSize, int iAcheiveSize); bool VerifyChecksum(TarHeader *Header); bool CreateReal(const wxString& aFolderName, double *compression_ratio, wxProgressDialog* aProgressDialog); int ExtractData(std::istream &f_In, wxString destdir, wxProgressDialog* aProgressDialog); // True if the proper constructor was used. The compression method // will not screw up if this flag is set to true. bool bCanCompress; // The directory to compress. wxString strCompressDir; std::vector TarRecords; wxString mInstalledDmodDirectory; wxString mmDmodDescription; }; #endif dfarc-3.12/src/InstallVerifyFrame_Base.wxg0000664000175000017510000000617012400704067015464 00000000000000 DFArc - Install D-Mod wxVERTICAL wxLEFT|wxRIGHT|wxTOP|wxEXPAND 5 Preparing... 390,150 wxEXPAND 0 0 0 Main Dink directory Additional D-Mods directory wxALL|wxEXPAND 5 wxHORIZONTAL 0 1 wxID_OK 1 wxLEFT 5 CANCEL wxID_CANCEL dfarc-3.12/src/IOUtils.cpp0000664000175000017510000000651212340110733012263 00000000000000/** * Files utilities * Copyright (C) 2008 Sylvain Beucler * This file is part of GNU FreeDink * GNU FreeDink 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. * GNU FreeDink 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, see * . */ #include "IOUtils.hpp" #include #include /** * Convert a case-insensitive filename to case-sensitive */ void IOUtils::ciconvert(wxString& path) { // Nothing to simulate if the filesystem is already case-insensitive if (!wxFileName::IsCaseSensitive()) return; wxString path_tmp_copy(path); path_tmp_copy.Append(wxT("/")); // simulate a directory for GetDirs() wxFileName filename(path_tmp_copy); wxArrayString path_elements = filename.GetDirs(); // split path wxString curpath; if (path.StartsWith(wxT("/"))) curpath = wxT("/"); else curpath = wxT("./"); for (int i = 0; i < path_elements.Count(); i++) { wxDir cur_dir(curpath); wxString found = wxEmptyString; wxString filename; bool cont = cur_dir.GetFirst(&filename); while (cont) { if (path_elements.Item(i).IsSameAs(filename, false)) // case-insensitive { found = filename; break; } cont = cur_dir.GetNext(&filename); } if (found.IsEmpty()) // can't find current element, non-existent path return; curpath = curpath + wxT("/") + found; } path = curpath; } wxString IOUtils::GetParentDir(wxString path) { wxString result; path.Append(wxT("/")); // simulate a directory for RemoveLastDir() wxFileName filename(path); filename.RemoveLastDir(); return filename.GetPath(); } /* ------------------- */ /* --- GetAllFiles --- */ /* ------------------- */ class wxDirTraverserDMod : public wxDirTraverser { public: wxDirTraverserDMod(wxString& strPath, wxArrayString& files) : m_files(files), m_strPath(strPath) {} virtual wxDirTraverseResult OnFile(const wxString& filename) { // Filter out savegames, as well as cache and backup files wxString cmp = wxFileName::FileName(filename).GetFullName().Lower(); if (!cmp.Matches(_T("save*.dat")) && !cmp.Matches(_T("thumbs.db")) && !cmp.Matches(_T("*~")) && !cmp.Matches(_T("debug.txt"))) { wxFileName wxfn(filename); wxfn.MakeRelativeTo(m_strPath); m_files.Add(wxfn.GetFullPath(wxPATH_UNIX)); } return wxDIR_CONTINUE; } virtual wxDirTraverseResult OnDir(const wxString& WXUNUSED(dirname)) { return wxDIR_CONTINUE; } private: wxArrayString& m_files; wxString m_strPath; }; /** * Get a list filenames in a DMod (relative), excluding common * temporary files and savegames. */ void IOUtils::GetAllDModFiles(wxString strPath, wxArrayString &wxasFileList) { // get the names of all files in the array wxDirTraverserDMod traverser(strPath, wxasFileList); wxDir dir(strPath); dir.Traverse(traverser); } dfarc-3.12/src/RecursiveDelete.hpp0000664000175000017510000000230112340110733014022 00000000000000/** * File utilities to uninstall a D-Mod * Copyright (C) 2005, 2006 Dan Walma * Copyright (C) 2008 Sylvain Beucler * This file is part of GNU FreeDink * GNU FreeDink 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. * GNU FreeDink 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, see * . */ #ifndef _RECURSIVEDELETE_HPP #define _RECURSIVEDELETE_HPP #include class RecursiveDelete : public wxDirTraverser { public: RecursiveDelete(bool aRemoveSaveGames); virtual wxDirTraverseResult OnFile(const wxString& aFilename); virtual wxDirTraverseResult OnDir(const wxString& aDirname); bool getError( void ); protected: private: bool mRemoveSaveGames; bool mError; }; #endif dfarc-3.12/src/InstallVerifyFrame_Base.h0000755000175000017510000000264512420022016015077 00000000000000// -*- C++ -*- // // generated by wxGlade b221e052e911 on Thu Oct 16 22:01:18 2014 // // Example for compiling a single file project under Linux using g++: // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp // // Example for compiling a multi file project under Linux using g++: // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp // #ifndef INSTALLVERIFYFRAME_BASE_H #define INSTALLVERIFYFRAME_BASE_H #include #include #include "wx/intl.h" #ifndef APP_CATALOG #define APP_CATALOG "app" // replace with the appropriate catalog name #endif // begin wxGlade: ::dependencies // end wxGlade // begin wxGlade: ::extracode // end wxGlade class InstallVerifyFrame_Base: public wxDialog { public: // begin wxGlade: InstallVerifyFrame_Base::ids // end wxGlade InstallVerifyFrame_Base(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); private: // begin wxGlade: InstallVerifyFrame_Base::methods void set_properties(); void do_layout(); // end wxGlade protected: // begin wxGlade: InstallVerifyFrame_Base::attributes wxTextCtrl* mDmodDescription; wxRadioBox* mDestdirBox; wxButton* mInstallButton; wxButton* mCancelButton; // end wxGlade }; // wxGlade: end class #endif // INSTALLVERIFYFRAME_BASE_H dfarc-3.12/src/Package.hpp0000664000175000017510000000241712340110733012273 00000000000000/** * D-Mod packaging wizard * Copyright (C) 2004 Andrew Reading * Copyright (C) 2005, 2006 Dan Walma * Copyright (C) 2008 Sylvain Beucler * This file is part of GNU FreeDink * GNU FreeDink 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. * GNU FreeDink 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, see * . */ #ifndef PACKAGE_HPP #define PACKAGE_HPP #include "Package_Base.h" #include "DMod.hpp" #include class DFilesystem; class Package : public Package_Base { public: Package(DMod aDMod); protected: private: void prepareDialog(); void onOkay(wxCommandEvent& aEvent); void onCancel(wxCommandEvent& aEvent); void onQuit(wxCloseEvent& aEvent); void onBrowse(wxCommandEvent& aEvent); DMod mDMod; DECLARE_EVENT_TABLE() }; #endif dfarc-3.12/src/woeres.rc.in0000664000175000017510000000114612340110733012464 00000000000000#include #define IDI_ICON1 120 IDI_ICON1 ICON DISCARDABLE "@srcdir@/dink.ico" 1 VERSIONINFO FILEVERSION 1,0,8,0 PRODUCTVERSION 1,0,8,0 FILETYPE VFT_APP { BLOCK "StringFileInfo" { BLOCK "040904E4" { VALUE "CompanyName", "" VALUE "FileVersion", "" VALUE "FileDescription", "@PACKAGE_STRING@" VALUE "InternalName", "@PACKAGE@" VALUE "LegalCopyright", "Collective" VALUE "LegalTrademarks", "" VALUE "OriginalFilename", "" VALUE "ProductName", "@PACKAGE_NAME@" VALUE "ProductVersion", "@PACKAGE_VERSION@" } } } dfarc-3.12/src/BZip.cpp0000664000175000017510000002731012417562341011611 00000000000000/** * BZip2 file creator and extractor, with progress bar support * Copyright (C) 2004 Andrew Reading * Copyright (C) 2005, 2006 Dan Walma * Copyright (C) 2007, 2008, 2014 Sylvain Beucler * This file is part of GNU FreeDink * GNU FreeDink 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. * GNU FreeDink 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, see * . */ #ifdef HAVE_CONFIG_H #include #endif #include "BZip.hpp" #include #include #include #include #include #if defined _WIN32 || defined __WIN32__ || defined __CYGWIN__ #define fopen(file, mode) _wfopen(file, _T(mode)) #endif BZip::BZip(const wxString &szFile) : DFile(szFile) { } // Modified version of bzip2-1.0.6/bzlib.c and bzip2.c where we can // get how many compressed data (not uncompressed data) was read. This // is, of course, only the high-level API, we still rely on an // external libbz2 for the actual decompression. /* ------------------------------------------------------------------ This file is part of bzip2/libbzip2, a program and library for lossless, block-sorting data compression. bzip2/libbzip2 version 1.0.6 of 6 September 2010 Copyright (C) 1996-2010 Julian Seward Copyright (C) 2008, 2014 Sylvain Beucler Please read the WARNING, DISCLAIMER and PATENTS sections in the README file. -------------------------------------------------------------------------- This program, "bzip2", the associated library "libbzip2", and all documentation, are copyright (C) 1996-2010 Julian R Seward. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 3. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 4. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Julian Seward, jseward@bzip.org bzip2/libbzip2 version 1.0.6 of 6 September 2010 -------------------------------------------------------------------------- */ typedef char Char; typedef unsigned char Bool; typedef unsigned char UChar; typedef int Int32; typedef unsigned int UInt32; typedef short Int16; typedef unsigned short UInt16; #define True ((Bool)1) #define False ((Bool)0) #define BZ_SETERR(eee) \ { \ if (bzerror != NULL) *bzerror = eee; \ if (bzf != NULL) bzf->lastErr = eee; \ } typedef struct { FILE* handle; Char buf[BZ_MAX_UNUSED]; Int32 bufN; Bool writing; bz_stream strm; Int32 lastErr; Bool initialisedOk; } bzFile; /*---------------------------------------------*/ static Bool myfeof ( FILE* f ) { Int32 c = fgetc ( f ); if (c == EOF) return True; ungetc ( c, f ); return False; } /*---------------------------------------------------*/ BZFILE* BZip::bzReadOpen ( int* bzerror, FILE* f, int verbosity, int small, void* unused, int nUnused ) { bzFile* bzf = NULL; int ret; BZ_SETERR(BZ_OK); if (f == NULL || (small != 0 && small != 1) || (verbosity < 0 || verbosity > 4) || (unused == NULL && nUnused != 0) || (unused != NULL && (nUnused < 0 || nUnused > BZ_MAX_UNUSED))) { BZ_SETERR(BZ_PARAM_ERROR); return NULL; }; if (ferror(f)) { BZ_SETERR(BZ_IO_ERROR); return NULL; }; bzf = (bzFile*)malloc ( sizeof(bzFile) ); // DFArc: explicit cast for C++ if (bzf == NULL) { BZ_SETERR(BZ_MEM_ERROR); return NULL; }; BZ_SETERR(BZ_OK); bzf->initialisedOk = False; bzf->handle = f; bzf->bufN = 0; bzf->writing = False; bzf->strm.bzalloc = NULL; bzf->strm.bzfree = NULL; bzf->strm.opaque = NULL; while (nUnused > 0) { bzf->buf[bzf->bufN] = *((UChar*)(unused)); bzf->bufN++; unused = ((void*)( 1 + ((UChar*)(unused)) )); nUnused--; } ret = BZ2_bzDecompressInit ( &(bzf->strm), verbosity, small ); if (ret != BZ_OK) { BZ_SETERR(ret); free(bzf); return NULL; }; bzf->strm.avail_in = bzf->bufN; bzf->strm.next_in = bzf->buf; bzf->initialisedOk = True; return bzf; } /*---------------------------------------------------*/ void BZip::bzReadClose ( int *bzerror, BZFILE *b ) { bzFile* bzf = (bzFile*)b; BZ_SETERR(BZ_OK); if (bzf == NULL) { BZ_SETERR(BZ_OK); return; }; if (bzf->writing) { BZ_SETERR(BZ_SEQUENCE_ERROR); return; }; if (bzf->initialisedOk) (void)BZ2_bzDecompressEnd ( &(bzf->strm) ); free ( bzf ); } /*---------------------------------------------------*/ int BZip::bzRead ( int* bzerror, BZFILE* b, void* buf, int len ) { Int32 n, ret; bzFile* bzf = (bzFile*)b; BZ_SETERR(BZ_OK); if (bzf == NULL || buf == NULL || len < 0) { BZ_SETERR(BZ_PARAM_ERROR); return 0; }; if (bzf->writing) { BZ_SETERR(BZ_SEQUENCE_ERROR); return 0; }; if (len == 0) { BZ_SETERR(BZ_OK); return 0; }; bzf->strm.avail_out = len; bzf->strm.next_out = (char*)buf; // DFArc: explicit cast for C++ while (True) { if (ferror(bzf->handle)) { BZ_SETERR(BZ_IO_ERROR); return 0; }; if (bzf->strm.avail_in == 0 && !myfeof(bzf->handle)) { n = fread ( bzf->buf, sizeof(UChar), BZ_MAX_UNUSED, bzf->handle ); if (ferror(bzf->handle)) { BZ_SETERR(BZ_IO_ERROR); return 0; }; bzf->bufN = n; bzf->strm.avail_in = bzf->bufN; bzf->strm.next_in = bzf->buf; } ret = BZ2_bzDecompress ( &(bzf->strm) ); if (ret != BZ_OK && ret != BZ_STREAM_END) { BZ_SETERR(ret); return 0; }; if (ret == BZ_OK && myfeof(bzf->handle) && bzf->strm.avail_in == 0 && bzf->strm.avail_out > 0) { BZ_SETERR(BZ_UNEXPECTED_EOF); return 0; }; if (ret == BZ_STREAM_END) { BZ_SETERR(BZ_STREAM_END); return len - bzf->strm.avail_out; }; if (bzf->strm.avail_out == 0) { BZ_SETERR(BZ_OK); return len; }; } return 0; /*not reached*/ } // // wxString BZip::Extract(wxGauge *PBar = 0) // // Decompresses a BZip file. Takes filename to decompress from mFilePath. // // PBar - Parameter passed to a pre-made wxGauge displaying the progress of the decompression. // // Returns: Decompressed file location. // wxString BZip::Extract( wxProgressDialog* aProgressDialog ) { // First, grab a random filename. wxString lTempFileName = wxFileName::CreateTempFileName(_T("DFArc")); int lError(0); unsigned long lTotalBytes = 0; // Begin decompress stuff. FILE* lDmodFileIn = fopen(mFilePath.fn_str(), "rb"); if ( lDmodFileIn == NULL ) { wxLogError(_("Error: Could not open input file '%s' for bzip decompression."), mFilePath.c_str()); return _T(""); } // Get the file size fseek( lDmodFileIn, 0, SEEK_END ); unsigned long lEnd = ftell( lDmodFileIn ); fseek( lDmodFileIn, 0, SEEK_SET ); lTotalBytes = lEnd - ftell( lDmodFileIn ); lTotalBytes -= 10; // header BZFILE* lBZipFileIn = bzReadOpen( &lError, lDmodFileIn, 0, 0, 0, 0 ); if( lError != BZ_OK ) { wxLogError(_("Error: Invalid .dmod file selected!")); fclose(lDmodFileIn); return _T(""); } // Open up the output file FILE* lTarFileOut = fopen(lTempFileName.fn_str(), "wb"); if (lTarFileOut == NULL) { wxLogError(_("Error: Could not write to '%s'."), lTempFileName.c_str()); fclose(lDmodFileIn); return _T(""); } /* Efficient buffer size */ // int ebufsiz = BUFSIZ; // BUFSIZ=512 under woe, performance issues reported int ebufsiz = 8192; #ifdef HAVE_STRUCT_STAT_ST_BLKSIZE struct stat sb; if (fstat(fileno(lTarFileOut), &sb) < 0) perror("stat"); else /* Preferred I/O block size */ ebufsiz = sb.st_blksize; #endif char lBuffer[ebufsiz]; // Keep getting chunks of the file while (true) { int lCurrentBytesRead = bzRead(&lError, lBZipFileIn, lBuffer, ebufsiz); fwrite(lBuffer, lCurrentBytesRead, 1, lTarFileOut); if ( lError != BZ_OK ) { // Success if ( lError == BZ_STREAM_END ) { break; } else if ( lError == BZ_PARAM_ERROR ) { wxLogError( _("Invalid .dmod file specified.") ); } else if ( lError == BZ_SEQUENCE_ERROR ) { wxLogError( _("Critical program function error: opened for write.") ); } else if ( lError == BZ_IO_ERROR ) { wxLogError( _("Could not read .dmod file.") ); } else if ( lError == BZ_UNEXPECTED_EOF ) { wxLogError( _("Incomplete .dmod file. Please download it again.") ); } else if ( lError == BZ_DATA_ERROR ) { wxLogError( _("The .dmod file is corrupted. Please download it again.") ); } else if ( lError == BZ_DATA_ERROR_MAGIC ) { wxLogError( _("The file is not a valid .dmod file.") ); } else if ( lError == BZ_MEM_ERROR ) { wxLogError( _("Out of memory error.") ); } else { wxLogError( _("An unhandled error occured.") ); } wxRemoveFile(lTempFileName); lTempFileName = _T(""); break; } if (aProgressDialog != NULL) { int total_read = ((bzFile*)lBZipFileIn)->strm.total_in_lo32; int lPercent = 100 * (long long)total_read / lTotalBytes; aProgressDialog->Update(lPercent); } } bzReadClose(&lError, lBZipFileIn); fclose(lDmodFileIn); fclose(lTarFileOut); return lTempFileName; } dfarc-3.12/src/Package_Base.h0000755000175000017510000000261012420022016012654 00000000000000// -*- C++ -*- // // generated by wxGlade b221e052e911 on Thu Oct 16 22:01:18 2014 // // Example for compiling a single file project under Linux using g++: // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp // // Example for compiling a multi file project under Linux using g++: // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp // #ifndef PACKAGE_BASE_H #define PACKAGE_BASE_H #include #include #include "wx/intl.h" #ifndef APP_CATALOG #define APP_CATALOG "app" // replace with the appropriate catalog name #endif // begin wxGlade: ::dependencies // end wxGlade // begin wxGlade: ::extracode // end wxGlade class Package_Base: public wxDialog { public: // begin wxGlade: Package_Base::ids // end wxGlade Package_Base(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); private: // begin wxGlade: Package_Base::methods void set_properties(); void do_layout(); // end wxGlade protected: // begin wxGlade: Package_Base::attributes wxStaticBox* lIdentifierBox_staticbox; wxStaticText* lIntroText; wxStaticText* lIdentifierText; wxTextCtrl* mIdentifier; wxButton* mOkay; wxButton* mCancel; // end wxGlade }; // wxGlade: end class #endif // PACKAGE_BASE_H dfarc-3.12/src/DMod.hpp0000664000175000017510000000231212340110733011555 00000000000000/** * DMod metadata * Copyright (C) 2008 Sylvain Beucler * This file is part of GNU FreeDink * GNU FreeDink 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. * GNU FreeDink 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, see * . */ #ifndef _DMOD_HPP #define _DMOD_HPP #include class DMod { public: static bool IsADModDir(wxString path); DMod(wxString path); wxString GetFullPath(); wxString GetBaseName(); wxString GetTitle(); wxString GetDescription(); wxString GetPreviewPath(); private: wxString mFullPath; wxString mBaseName; wxString mTitle; wxString mDescription; wxString mPreviewPath; wxString GetDModDizContent(); wxString GetDModDizTitle(); }; #endif dfarc-3.12/src/dink.ico0000664000175000017510000000137612340110733011653 00000000000000 è( @€€€€ÀÀÀÿÿÿÿ€€€"""  """"" """" """""" " " " 3" C@" 4 C""!    "" @40""" " CC""""D40""""CC0"  UP D43  SP"""CD0SU"" D4CU45P""C4USDCUP" D0S4DD3UP" USDCUP U45PSU SPUPÿÀÿÿÿ??€ÀàðàÀÀÀÀÀ€€€€€€Àððƒø?ñÀø?ûàüÿðþÿÿðdfarc-3.12/src/Options.cpp0000664000175000017510000001646612400710544012402 00000000000000/** * Options dialog * Copyright (C) 2005, 2006 Dan Walma * Copyright (C) 2008, 2010, 2014 Sylvain Beucler * This file is part of GNU FreeDink * GNU FreeDink 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. * GNU FreeDink 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, see * . */ #include "Options.hpp" #include "Config.hpp" #include "ClientData.hpp" #include #include #include BEGIN_EVENT_TABLE(Options, wxDialog) EVT_BUTTON(wxID_OK, Options::onOkay) EVT_BUTTON(ID_OVERRIDE_DINKREFDIR_BROWSE, Options::onBrowseOverrideDinkrefDir) EVT_BUTTON(ID_DMODDIR_BROWSE, Options::onBrowseDModDir) EVT_CHOICE(ID_LANGUAGE_LIST, Options::onSelectLanguageList) END_EVENT_TABLE() Options::Options(Config* aConfig) : Options_Base(NULL, wxID_ANY, _T("")), mConfig(aConfig) { prepareDialog(); return; } void Options::prepareDialog() { // Prepare likely choices for game and editor executables selection // Get a list of PATHs where executables are looked /* The following code is adapted from wxWidgets-2.8.8/src/common/filefn.cpp , not used directly because you can't access a wxPathList's list of paths (!), only query them, and the underlying list implementation changed from wxList to wxArrayString between 2.6 and 2.8 */ wxArrayString paths_list; #ifndef __WXWINCE__ static const wxChar PATH_TOKS[] = #if defined(__WINDOWS__) || defined(__OS2__) wxT(";"); // Don't separate with colon in DOS (used for drive) #else wxT(":;"); #endif wxString val; if ( wxGetEnv(wxT("PATH"), &val) ) { // split into an array of string the value of the env var paths_list = wxStringTokenize(val, PATH_TOKS); } #endif // !__WXWINCE__ #if defined(__WINDOWS__) || defined(__OS2__) if (paths_list.Index(wxT(".")) == wxNOT_FOUND) paths_list.Add(wxT(".")); #endif for (int i = 0; i < paths_list.GetCount(); i++) { if (!wxDir::Exists(paths_list.Item(i))) continue; wxDir dir(paths_list.Item(i)); if (dir.IsOpened()) { wxString filename; bool cont = dir.GetFirst(&filename, wxEmptyString, wxDIR_FILES); while (cont) { if (filename.MakeLower().Matches(wxT("*dink*" EXEEXT))) if (wxFileName::IsFileExecutable(paths_list.Item(i) + wxFileName::GetPathSeparator() + filename)) { mDinkExeBox->Append(filename); mEditorExeBox->Append(filename); } cont = dir.GetNext(&filename); } } } /* Bare ISO-639-1 codes won't work with GNU/Linux */ /* wxString iso_639_1 = wxT("aa ab ad ae af ak am an ar as av ay az ba be bg bh bi bm bn bo br bs ca ce ch co cr cs cu cv cy da de dv dz ee el en eo es et eu fa ff fi fj fo fr fy ga gd gl gn gu gv ha he hi ho hr ht hu hy hz ia id ie ig ii ik io is it iu ja jv ka kg ki kj kk kl km kn ko kr ks ku kv kw ky la lb lg li ln lo lt lu lv mg mh mi mk ml mn mo mr ms mt my na nb nd ne ng nl nn no nr nv ny oc oj om or os pa pi pl ps pt qu rm rn ro ru rw sa sc sd se sg si sk sl sm sn so sq sr ss st su sv sw ta te tg th ti tk tl tn to tr ts tt tw ty ug uk ur uz ve vi vo wa wo xh yi yo za zh zu"); wxArrayString language_list = wxStringTokenize(iso_639_1, _T(" ")); for (int i = 0; i < language_list.GetCount(); i++) { mForceLocaleBox->Append(language_list.Item(i)); } */ /* Let's suggest a set of supported locales instead - it can be overridden anyway*/ /* TODO: generate from po/LINGUAS */ int idx = 0; wxString supported_dfarc_languages = wxT("ca da de es eo fr fi hr hu it mk nl pl pt_BR sr tr vi"); wxArrayString language_list = wxStringTokenize(supported_dfarc_languages, wxT(" ")); mLanguageList->Append(_("System language")); mLanguageList->SetClientObject(idx, new ClientDataString(wxEmptyString)); if (mConfig->mForceLocale == wxEmptyString) mLanguageList->Select(idx); idx++; mLanguageList->Append(_("Don't translate")); mLanguageList->SetClientObject(idx, new ClientDataString(wxT("C"))); if (mConfig->mForceLocale == wxT("C")) mLanguageList->Select(idx); idx++; for (int i = 0; i < language_list.GetCount(); i++) { wxString label = language_list.Item(i); const wxLanguageInfo* li = wxLocale::FindLanguageInfo(language_list.Item(i)); if (li != NULL) label += wxT(" - ") + wxString(wxGetTranslation(li->Description)); mLanguageList->Append(label); wxString locale_name = li->CanonicalName; mLanguageList->SetClientObject(idx, new ClientDataString(locale_name)); if (locale_name == mConfig->mForceLocale) mLanguageList->Select(idx); idx++; } mLanguageList->Append(_("Custom")); if (mLanguageList->GetSelection() == wxNOT_FOUND) mLanguageList->Select(idx); mWriteIniCheck -> SetValue(mConfig->mWriteIniValue); mShowDeveloperCheck -> SetValue(mConfig->mShowDeveloperButtons); mCloseCheck -> SetValue(mConfig->mCloseDfarcOnPlay); mOverrideDinkrefDirCheck -> SetValue(mConfig->mOverrideDinkrefDir); mOverrideDinkrefDirBox -> SetValue(mConfig->mSpecifiedDinkrefDir); mDModDirBox -> SetValue(mConfig->mDModDir); mDinkExeBox -> SetValue(mConfig->mDinkExe); mEditorExeBox -> SetValue(mConfig->mEditorExe); mPreferredFileBrowserBox -> SetValue(mConfig->mPreferredFileBrowserExe); mForceLocaleBox -> SetValue(mConfig->mForceLocale); this->SetMinSize(this->GetBestSize()); this->SetSize(this->GetMinSize()); } void Options::onOkay(wxCommandEvent& aEvent) { mConfig->mWriteIniValue = mWriteIniCheck->GetValue(); mConfig->mShowDeveloperButtons = mShowDeveloperCheck->GetValue(); mConfig->mCloseDfarcOnPlay = mCloseCheck->GetValue(); mConfig->mOverrideDinkrefDir = mOverrideDinkrefDirCheck->GetValue(); mConfig->mSpecifiedDinkrefDir = mOverrideDinkrefDirBox->GetValue(); mConfig->mDModDir = mDModDirBox->GetValue(); mConfig->mDinkExe = mDinkExeBox->GetValue(); mConfig->mEditorExe = mEditorExeBox->GetValue(); mConfig->mPreferredFileBrowserExe = mPreferredFileBrowserBox->GetValue(); mConfig->mForceLocale = mForceLocaleBox->GetValue(); mConfig->Update(); EndModal(1); return; } void Options::onBrowseOverrideDinkrefDir(wxCommandEvent& aEvent) { const wxString& dir = wxDirSelector(_("Choose the Dink Smallwood install directory"), mOverrideDinkrefDirBox->GetValue()); if (!dir.IsEmpty()) mOverrideDinkrefDirBox->SetValue(dir); } void Options::onBrowseDModDir(wxCommandEvent& aEvent) { const wxString& dir = wxDirSelector(_("Choose a folder containing D-Mods"), mDModDirBox->GetValue()); if (!dir.IsEmpty()) mDModDirBox->SetValue(dir); } void Options::onSelectLanguageList(wxCommandEvent& aEvent) { ClientDataString* cds = (ClientDataString*)aEvent.GetClientObject(); if (cds != NULL) mForceLocaleBox->SetValue(((ClientDataString*)aEvent.GetClientObject())->s); } dfarc-3.12/src/Options_Base.h0000755000175000017510000000404212420022015012754 00000000000000// -*- C++ -*- // // generated by wxGlade b221e052e911 on Thu Oct 16 22:01:17 2014 // // Example for compiling a single file project under Linux using g++: // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp // // Example for compiling a multi file project under Linux using g++: // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp // #ifndef OPTIONS_BASE_H #define OPTIONS_BASE_H #include #include #include "wx/intl.h" #ifndef APP_CATALOG #define APP_CATALOG "app" // replace with the appropriate catalog name #endif // begin wxGlade: ::dependencies // end wxGlade // begin wxGlade: ::extracode // end wxGlade class Options_Base: public wxDialog { public: // begin wxGlade: Options_Base::ids enum { ID_OVERRIDE_DINKREFDIR_BROWSE = wxID_HIGHEST + 1000, ID_DMODDIR_BROWSE = wxID_HIGHEST + 1001, ID_LANGUAGE_LIST = wxID_HIGHEST + 1002 }; // end wxGlade Options_Base(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); private: // begin wxGlade: Options_Base::methods void set_properties(); void do_layout(); // end wxGlade protected: // begin wxGlade: Options_Base::attributes wxCheckBox* mCloseCheck; wxCheckBox* mShowDeveloperCheck; wxCheckBox* mWriteIniCheck; wxCheckBox* mOverrideDinkrefDirCheck; wxTextCtrl* mOverrideDinkrefDirBox; wxButton* mOverrideDinkrefDirBrowse; wxStaticText* lDModDirLabel; wxTextCtrl* mDModDirBox; wxButton* mDModDirBrowse; wxStaticText* lDinkExeLabel; wxComboBox* mDinkExeBox; wxStaticText* lEditorExeLabel; wxComboBox* mEditorExeBox; wxStaticText* mPreferredFileBrowserLabel; wxTextCtrl* mPreferredFileBrowserBox; wxStaticText* lForceLocaleLabel; wxChoice* mLanguageList; wxTextCtrl* mForceLocaleBox; wxButton* lOkay; wxButton* lCancel; // end wxGlade }; // wxGlade: end class #endif // OPTIONS_BASE_H dfarc-3.12/src/BZip.hpp0000664000175000017510000000305212417450341011607 00000000000000/** * BZip2 file creator and extractor, with progress bar support * Copyright (C) 2004 Andrew Reading * Copyright (C) 2005, 2006 Dan Walma * Copyright (C) 2008 Sylvain Beucler * This file is part of GNU FreeDink * GNU FreeDink 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. * GNU FreeDink 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, see * . */ #ifndef _BZIP_HPP #define _BZIP_HPP /* Put before wxWidgets headers, otherwise conflict with wx/string.h / windows.h / wxProgressDialog (in that order eventually in BZip.cpp) and crash under woe (arrrrgghhh!!!) */ #include class wxProgressDialog; #include "DFile.hpp" class BZip : public DFile { public: BZip(const wxString &szFile); // Decompresses the file. Returns a path to the decompressed file. wxString Extract( wxProgressDialog* aProgressDialog ); private: BZFILE* bzReadOpen(int* bzerror, FILE* f, int verbosity, int small, void* unused, int nUnused); void bzReadClose(int *bzerror, BZFILE *b); int bzRead(int* bzerror, BZFILE* b, void* buf, int len); }; #endif dfarc-3.12/src/icon_xpm.hpp0000664000175000017510000000003112340110733012542 00000000000000extern char *dink_xpm[]; dfarc-3.12/src/DFile.cpp0000664000175000017510000000206312417450373011727 00000000000000/** * Base class for Tar and Bzip * Copyright (C) 2004 Andrew Reading * Copyright (C) 2005, 2006 Dan Walma * Copyright (C) 2008 Sylvain Beucler * This file is part of GNU FreeDink * GNU FreeDink 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. * GNU FreeDink 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, see * . */ #include "DFile.hpp" #include DFile::DFile(const wxString &szFile) { if(szFile.IsEmpty()) { mFilePath = wxFileName::CreateTempFileName(_T("DFArc2")); } else { mFilePath = szFile; } } dfarc-3.12/src/Tar.cpp0000664000175000017510000004542612417562543011507 00000000000000/** * Tar file creation and extraction, with progress bar support * Copyright (C) 2004 Andrew Reading * Copyright (C) 2005, 2006 Dan Walma * Copyright (C) 2008, 2014 Sylvain Beucler * This file is part of GNU FreeDink * GNU FreeDink 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. * GNU FreeDink 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, see * . */ #ifdef HAVE_CONFIG_H #include #endif #include "Tar.hpp" #include #include #include #include #include #include #include #include #include "IOUtils.hpp" #if defined _WIN32 || defined __WIN32__ || defined __CYGWIN__ #define fopen(file, mode) _wfopen(file, _T(mode)) #endif struct fileinfo { wxString fullpath; int mode; int blksize; int size; int mtime; }; Tar::Tar(wxString &szFile, wxString &szCompressDir) : DFile(szFile) { strCompressDir = szCompressDir; bCanCompress = true; } Tar::Tar(wxString& szFile) : DFile(szFile) { bCanCompress = false; } // // TAR CREATE FUNCTIONS // bool Tar::Create(const wxString& dmod_folder, double *compression_ratio, wxProgressDialog* aProgressDialog) { if (!bCanCompress) return wxEmptyString; // Remember current directory wxString strCwd = ::wxGetCwd(); // Actual archiving ::wxSetWorkingDirectory(strCompressDir); bool result = CreateReal(dmod_folder, compression_ratio, aProgressDialog); // Back to where we were ::wxSetWorkingDirectory(strCwd); return result; } bool Tar::CreateReal(const wxString& dmod_folder, double *compression_ratio, wxProgressDialog* aProgressDialog) { bool aborted = false; // Populate file list. wxArrayString wxasFileList; aProgressDialog->Update(0, _("Listing files...")); IOUtils::GetAllDModFiles(strCompressDir, wxasFileList); // We'll make the paths relative now int iNumEntries = wxasFileList.GetCount(); // stat() all files, and get the total input size (for progress bar) fileinfo *fileinfos = new fileinfo[iNumEntries]; int total_file_data = 0; for (unsigned int i = 0; i < wxasFileList.GetCount(); ++i) { fileinfos[i].fullpath = strCompressDir + _T("/") + wxasFileList.Item(i); #if defined _WIN32 || defined __WIN32__ || defined __CYGWIN__ struct _stat sb; if (_wstat(fileinfos[i].fullpath.fn_str(), &sb) < 0) #else struct stat sb; if (stat(fileinfos[i].fullpath.fn_str(), &sb) < 0) #endif { perror("stat"); fileinfos[i].mode = 0; // invalid, to skip continue; } fileinfos[i].mode = sb.st_mode; fileinfos[i].size = sb.st_size; fileinfos[i].mtime = sb.st_mtime; /* Preferred I/O block size */ #ifdef HAVE_STRUCT_STAT_ST_BLKSIZE fileinfos[i].blksize = sb.st_blksize; #else // fileinfos[i].blksize = BUFSIZ; // BUFSIZ=512 under woe, performance issues reported fileinfos[i].blksize = 8192; #endif total_file_data += sb.st_size; } aProgressDialog->Update(0, _("Initializing...")); FILE* out = fopen(mFilePath.fn_str(), "wb"); if (!out) { wxLogError(_("Error: Could not open tar file '%s' for bzip compression."), mFilePath.c_str()); return false; } /* libbz2 init */ BZFILE* bz_out = 0; int iErr = 0; int compress_factor = 9; int debug_verbosity = 0; // workFactor is in [1,250], defaults to 30 (this is also what // 'bzip2' uses). 90 is what is used in DFArc1.5 and seems pretty // much arbitrary. The documentation is in BZ2_bzCompressInit - but // after reading it I can't say whether using 90 actually helps with // compression ratio or times. So let's reset to default (0 => 30). int workFactor = 0; bz_out = BZ2_bzWriteOpen(&iErr, out, compress_factor, debug_verbosity, workFactor); if (iErr != BZ_OK) { wxLogError(_("Error: Could not initialize compression method!" " " "Will not generate a correct .dmod file." " " "Quitting.")); fclose(out); return false; } int total_file_data_written = 0; for (unsigned int i = 0; i < wxasFileList.GetCount(); ++i) { // Update the progress bar. if (aProgressDialog != NULL) { // Update the meter. //int lPercent = 98 * i / iNumEntries; int lPercent = 98 * (long long)total_file_data_written / total_file_data; aProgressDialog->Update(lPercent, wxasFileList.Item(i)); } // Write tar data. char header[512]; if (!FillHeader(wxasFileList.Item(i), dmod_folder, header, &fileinfos[i])) continue; // Now, write our record. BZ2_bzWrite(&iErr, bz_out, header, 512); // Open our input file. FILE *in = fopen(fileinfos[i].fullpath.fn_str(), "rb"); if (in == NULL) { wxLogFatalError(_("Error: File '%s' not found! Cannot archive file."), fileinfos[i].fullpath.c_str()); throw; } // Write the file. int ebufsiz = fileinfos[i].blksize; // efficient buffer size unsigned char* szBuf = (unsigned char*)malloc(ebufsiz); int cur_file_nb_written = 0; while(!feof(in)) { int nb_read = fread(szBuf, 1, ebufsiz, in); BZ2_bzWrite(&iErr, bz_out, szBuf, nb_read); cur_file_nb_written += nb_read; total_file_data_written += nb_read; if (aProgressDialog != NULL) { int lPercent = 98 * (long long)total_file_data_written / total_file_data; bool cont = aProgressDialog->Update(lPercent); if (!cont) { aborted = true; fclose(in); free(szBuf); goto clean_up; } } } fclose(in); // Round to the nearest 512-byte mark. // For empty file: no data (i.e. _not_ an empty extra 512 block) int iAmountToRound = (512 - (cur_file_nb_written % (512))) % 512; memset(szBuf, 0, iAmountToRound); BZ2_bzWrite(&iErr, bz_out, szBuf, iAmountToRound); // BE FREEEEEEE!!! free(szBuf); } // Write the end-of-archive entry. char eoa[2*512]; memset(eoa, 0, 2*512); BZ2_bzWrite(&iErr, bz_out, eoa, 2*512); clean_up: // Close the output file. aProgressDialog->Update(98, _("Closing...")); int force_flush = 0; /* no force flush */ unsigned int nbytes_in = 0; unsigned int nbytes_out = 0; BZ2_bzWriteClose(&iErr, bz_out, force_flush, &nbytes_in, &nbytes_out); *compression_ratio = (double) nbytes_in / nbytes_out; fclose(out); delete[] fileinfos; aProgressDialog->Update(100); // Closes window return !aborted; } /** * Fill in a tar header in a memory buffer * * It is not portable to do the same job in a C struct, because * there's no guarantee about how the C compiler will align the struct * fields in memory, which would break the checksum. * * Return whether to use this file (true) or skip it (false) */ bool Tar::FillHeader(wxString &mFilePath, const wxString& dmod_folder, char *header512, fileinfo *finfo) { // Get file information // Only store regular files if (!S_ISREG(finfo->mode)) return false; // Start collecting data. char* ptr = header512; // filename strncpy(ptr, (dmod_folder.Lower() + _T("/") + mFilePath.Lower()).mb_str(wxConvUTF8), 100); ptr += 100; // No need to save actual permissions and owner - just tidy them // mode strncpy(ptr, "0100644", 8); ptr += 8; // uid strncpy(ptr, "0000000", 8); ptr += 8; // gid strncpy(ptr, "0000000", 8); ptr += 8; // file size (octal on 11 bytes + '\0') sprintf(ptr, "%011o", finfo->size); ptr += 12; // time of modification (octal on 11 bytes + '\0') sprintf(ptr, "%011o", finfo->mtime); ptr += 12; // Before the actual checksum, consider that the checksum field is // filled with spaces memset(ptr, ' ', 8); ptr += 8; // Type of file. // linkflag *ptr = '0'; // Normal file ptr++; // linkname strncpy(ptr, "", 100); ptr += 100; // version strncpy(ptr, "ustar ", 8); ptr += 8; // uname strncpy(ptr, "root", 32); ptr += 32; // gname strncpy(ptr, "root", 32); ptr += 32; // Skip devminor and devmajor. strncpy(ptr, "", 8); ptr += 8; strncpy(ptr, "", 8); ptr += 8; // Fill the padding. strncpy(ptr, "", 167); // Find the checksum. unsigned char* ptru = NULL; // use the (unsigned) ASCII value of characters int iChksum = 0; for (ptru = (unsigned char*) header512; ptru < (unsigned char*)(header512 + 512); ptru++) iChksum += *ptru; // (octal on 7 bytes + '\0') ptr = header512 + 148; sprintf(ptr, "%07o", iChksum); return true; } /** * Read all tar headers from a flux, so it can work if reading file * with BZip2 directly (only the 'read' operation is available). */ int Tar::ReadHeaders( void ) { FILE *in; TarHeader lHeader; TarRecord lRecord; unsigned int iBegData = 0; char buf_header[512]; in = fopen(mFilePath.fn_str(), "rb"); if(in == NULL) { wxLogFatalError(_("Error: File '%s' not found! Cannot read data."), mFilePath.c_str()); return 1; } wxString lDmodDizPath; mmDmodDescription = _T(""); mInstalledDmodDirectory = _T(""); int total_read = 0; while (true) { memset(&lHeader, 0, sizeof(TarHeader)); memset(&lRecord, 0, sizeof(TarRecord)); // Read the data. Dont load the whole header to a struct, you // never know what the memory alignment will be, especially in // these 32->64bits days fread((char*)&lHeader.Name, 100, 1, in); fread((char*)&lHeader.Mode, 8, 1, in); fread((char*)&lHeader.Uid, 8, 1, in); fread((char*)&lHeader.Gid, 8, 1, in); fread((char*)&lHeader.Size, 12, 1, in); fread((char*)&lHeader.Mtime, 12, 1, in); fread((char*)&lHeader.Chksum, 8, 1, in); fread((char*)&lHeader.Linkflag, 1, 1, in); fread((char*)&lHeader.Linkname, 100, 1, in); fread((char*)&lHeader.Magic, 8, 1, in); fread((char*)&lHeader.Uname, 32, 1, in); fread((char*)&lHeader.Gname, 32, 1, in); fread((char*)&lHeader.Devmajor, 8, 1, in); fread((char*)&lHeader.Devminor, 8, 1, in); fread((char*)&lHeader.Padding, 167, 1, in); total_read += 512; if(!VerifyChecksum(&lHeader)) { // Nope. Exit. wxLogFatalError(_("Error: This .dmod file has an invalid checksum! Cannot read file.")); return 1; } strncpy(lRecord.Name, lHeader.Name, 100); // Bug fix for phantom files that aren't really files... // This is due to a bug in DFArc1.5 with empty files if (strcmp(lHeader.Name, "\xFF") == 0) continue; // Size sscanf((const char*)&lHeader.Size, "%o", &lRecord.iFileSize); // Start lRecord.iFilePosBegin = total_read; // Tar files (except for a design bug in DFArc1.5) have a // multitude of NULL characters at the end to round up to the // 10K mark. If the header is blank, we don't have any more // data. if(strcmp(lHeader.Name, "") == 0) { break; } //wxLogError("%s %d", lHeader.Name, lRecord.iFileSize); wxString lPath(lRecord.Name, wxConvUTF8); if (mInstalledDmodDirectory.Length() == 0) { mInstalledDmodDirectory = lPath.SubString( 0, lPath.Find( '/' ) ); lDmodDizPath = mInstalledDmodDirectory + _T("dmod.diz"); lDmodDizPath.LowerCase(); } if (lPath.Lower() == lDmodDizPath && lRecord.iFileSize < 100*1024) { // Read dmod.diz content, but only if < 100kB char *buf = (char*)malloc(lRecord.iFileSize + 1); fread(buf, 1, lRecord.iFileSize, in); buf[lRecord.iFileSize] = '\0'; // dmod.diz are typically uncoded in ISO-8859-1/latin-1 mmDmodDescription = wxString(buf, wxConvISO8859_1); free(buf); } else { int remaining = lRecord.iFileSize; char buf[BUFSIZ]; while (remaining > 0) { if (feof(in)) break; // TODO: error, unexpected end of file int nb_read = fread(buf, 1, (remaining > BUFSIZ) ? BUFSIZ : remaining, in); remaining -= nb_read; } } total_read += lRecord.iFileSize; TarRecords.push_back(lRecord); // Move to the beginning of the next header int padding_size = (512 - (total_read % 512)) % 512; fread(buf_header, 1, padding_size, in); total_read += padding_size; } fclose(in); return 0; } int Tar::Extract(wxString destdir, wxProgressDialog* aProgressDialog) { wxString strBuf; int lError = 0; // Remember current directory wxString strCwd = ::wxGetCwd(); // Open the file here so it doesn't error after changing. wxFile wx_In(mFilePath, wxFile::read); if(!wx_In.IsOpened()) { lError = 1; wxLogFatalError(_("Error: File '%s' not found! Cannot extract data."), mFilePath.c_str()); throw; } // Attempt to create destination if not present (e.g. custom // DModDir that is not created yet) if (!::wxDirExists(destdir)) wxFileName::Mkdir(destdir, 0777, wxPATH_MKDIR_FULL); // 0777 minus umask if (!::wxDirExists(destdir)) { wxLogFatalError(_("Error: Cannot create directory '%s'. Cannot extract data."), destdir.c_str()); throw; } // Move to the directory. ::wxSetWorkingDirectory(destdir); // Put the data in the directories. __gnu_cxx::stdio_filebuf filebuf(wx_In.fd(), std::ios::in); std::istream f_In(&filebuf); if (ExtractData(f_In, destdir, aProgressDialog) != 0) { lError = 1; } wx_In.Close(); // We're done. Move back. ::wxSetWorkingDirectory(strCwd); return lError; } int Tar::ExtractData(std::istream& aTarStreamIn, wxString destdir, wxProgressDialog* aProgressDialog) { int lError = 0; unsigned long lTotalBytes = 0; unsigned long lTotalBytesRead = 0; // Get the file size aTarStreamIn.seekg(0, std::ios::end); unsigned long lEnd = static_cast(aTarStreamIn.tellg()); aTarStreamIn.seekg(0, std::ios::beg); lTotalBytes = lEnd - static_cast(aTarStreamIn.tellg()); // Move into the extract dir. wxString lPreviousWorkingDirectory(::wxGetCwd()); ::wxSetWorkingDirectory(destdir); // Extract the files. int ebufsiz = 8192; char buffer[ebufsiz]; for (unsigned int lTarRecordIndex = 0; lTarRecordIndex < TarRecords.size(); ++lTarRecordIndex) { TarRecord lCurrentTarRecord = TarRecords.at(lTarRecordIndex); wxString lCurrentFilePath = wxString(lCurrentTarRecord.Name, wxConvUTF8); if (lCurrentFilePath.IsEmpty()) { /* Attempt convertion from latin-1 if not valid UTF-8 */ lCurrentFilePath = wxString(lCurrentTarRecord.Name, wxConvISO8859_1); } wxString lCurrentDirectory(lCurrentFilePath.substr(0, lCurrentFilePath.find_last_of('/'))); // Odd bad file problem... if (lCurrentFilePath.compare(_T("\xFF")) == 0) // "ÿ" { // Only warn them if it doesn't come at the end. if (lTarRecordIndex != TarRecords.size() - 1) { lError = 1; wxLogError(_("Got bad file %d/%d. Skipping."), lTarRecordIndex, TarRecords.size() ); } } else { // Create the directory if it doesn't exist if (::wxDirExists(lCurrentDirectory) == false) { // Use 0777 - the umask will remove group and/or // other write access as necessary. Don't forget // to prefix with a '0' for octal mode. wxFileName::Mkdir(lCurrentDirectory, 0777, wxPATH_MKDIR_FULL); } // Only write the file if it is a file... some files are stored as directories char lLastCharacter = lCurrentFilePath[lCurrentFilePath.length() - 1]; if (lLastCharacter != '\\' && lLastCharacter != '/') { // Open the file. wxFile wx_Out(lCurrentFilePath, wxFile::write); if (!wx_Out.IsOpened()) { wxLogError(_("Error: Improperly archived file '%s'. Skipping."), lCurrentFilePath); lError = 1; continue; } __gnu_cxx::stdio_filebuf filebuf(wx_Out.fd(), std::ios::out); std::ostream lStreamOut(&filebuf); aTarStreamIn.seekg(lCurrentTarRecord.iFilePosBegin, std::ios::beg); long remaining = lCurrentTarRecord.iFileSize; while (remaining > 0) { int bufsiz = remaining; if (bufsiz > ebufsiz) bufsiz = ebufsiz; aTarStreamIn.read(buffer, bufsiz); lStreamOut.write(buffer, bufsiz); remaining -= bufsiz; } lTotalBytesRead += lCurrentTarRecord.iFileSize; // Close up. lStreamOut.flush(); wx_Out.Close(); } // Update progress if( aProgressDialog != NULL ) { double lPercent( 100.0 * lTotalBytesRead / lTotalBytes ) ; if ( lPercent >= 100 ) { lPercent = 99.0; } aProgressDialog->Update(static_cast(lPercent), lCurrentFilePath); ::wxYield(); } } } aProgressDialog->Update(100, _("Done.")); ::wxSetWorkingDirectory(lPreviousWorkingDirectory); return lError; } wxString Tar::getInstalledDmodDirectory( void ) { return mInstalledDmodDirectory; } wxString Tar::getmDmodDescription( void ) { return mmDmodDescription; } //////////////////// // Tar Operations // //////////////////// // // class CTar, bool VerifyChecksum(TarHeader *Header) // // PURPOSE: Ensures the internal Header checksum is valid. // RETURNS: True if valid. // False otherwise. bool Tar::VerifyChecksum(TarHeader *Header) { char *CheckRecord = 0; int iChksum = 0; // Checksum is counted as if it was blank. Let's back it up and clear it. memset(Header->Chksum, 0, sizeof(Header->Chksum)); // Prepare the incrementor. CheckRecord = reinterpret_cast(Header); // Find the checksum. for(; (CheckRecord - reinterpret_cast(Header)) < 512; ++CheckRecord) { iChksum += static_cast(*CheckRecord); } // Add 256 (2^8) iChksum += 256; char sz[8]; sprintf(sz, "%07o", iChksum); /*if(atoi(sz) == atoi(strChksum.c_str())) { return true; }*/ //return false; return true; } // // class CTar, int RountTo512(int n) // // PURPOSE: Moves the number to the nearest multiple of 512. // RETURNS: The new number. // int Tar::RoundTo512(int n) { if(n % 512 == 0) { return n; } else { return (n - (n % 512)) + 512; } } dfarc-3.12/src/InstallVerifyFrame.hpp0000664000175000017510000000273012417450324014514 00000000000000/** * D-Mod installation wizard * Copyright (C) 2004 Andrew Reading * Copyright (C) 2005, 2006 Dan Walma * Copyright (C) 2008 Sylvain Beucler * This file is part of GNU FreeDink * GNU FreeDink 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. * GNU FreeDink 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, see * . */ #ifndef INSTALLVERIFYFRAME_HPP #define INSTALLVERIFYFRAME_HPP #include "InstallVerifyFrame_Base.h" #include class Tar; class Config; class InstallVerifyFrame : public InstallVerifyFrame_Base { public: InstallVerifyFrame(const wxString& aFilePath); ~InstallVerifyFrame(); wxString getSelectedDmod( void ); private: void prepareDialog(void); void onQuit(wxCloseEvent &Event); void onCancel(wxCommandEvent &Event); void onInstall(wxCommandEvent &Event); Config* mConfig; // Full name of the D-Mod wxString mDmodName; // Temporary uncompressed .tar file wxString mTarFilePath; DECLARE_EVENT_TABLE() }; #endif dfarc-3.12/src/Makefile.am0000664000175000017510000000550412416557450012302 00000000000000# Help DFArc look for either 'dink' or 'dink.exe': AM_CPPFLAGS = -DEXEEXT=\"$(EXEEXT)\" # Cf. (autoconf.info)Installation Directory Variables: # Don't use DATADIR, it conflicts with something in MinGW AM_CPPFLAGS += -DDEFAULT_DATA_DIR=\"$(datadir)\" bin_PROGRAMS = dfarc dfarc_SOURCES = BZip.cpp BZip.hpp ClientData.hpp Config.cpp Config.hpp \ DFArcApp.cpp DFArcFrame.cpp DFArcFrame.hpp DFile.cpp DFile.hpp \ DMod.cpp DMod.hpp icon_xpm.cpp icon_xpm.hpp IOUtils.cpp \ IOUtils.hpp InstallVerifyFrame.cpp InstallVerifyFrame.hpp \ Options.cpp Options.hpp Package.cpp Package.hpp \ RecursiveDelete.cpp RecursiveDelete.hpp Tar.cpp Tar.hpp \ DFArcFrame_Base.cpp DFArcFrame_Base.h Options_Base.cpp \ Options_Base.h Package_Base.cpp Package_Base.h \ InstallVerifyFrame_Base.cpp InstallVerifyFrame_Base.h # DFArcFrame_Base.cpp/h will be automatically generated before the # rest of the source code. In addition, they will be included in # tarballs, so people won't need wxglade to compile DFArc :) # Using $(srcdir) so that the .po build system will find them BUILT_SOURCES = $(srcdir)/DFArcFrame_Base.cpp \ $(srcdir)/DFArcFrame_Base.h $(srcdir)/Options_Base.cpp \ $(srcdir)/Options_Base.h $(srcdir)/Package_Base.cpp $(srcdir)/Package_Base.h \ $(srcdir)/InstallVerifyFrame_Base.cpp $(srcdir)/InstallVerifyFrame_Base.h CLEANFILES = $(BUILT_SOURCES) EXTRA_DIST = DFArcFrame_Base.wxg Options_Base.wxg Package_Base.wxg \ InstallVerifyFrame_Base.wxg # work-around for wxglade < 2.6.9 AM_CPPFLAGS += -DwxTHICK_FRAME=wxRESIZE_BORDER # disable obnoxious wxWidgets3 assertions AM_CPPFLAGS += -DNDEBUG # How do we handle resources embedded in the executable binary? if HAVE_WINDRES nodist_dfarc_SOURCES = woeres.rc endif if HAVE_WXGLADE # wxGlade (GUI builder) code generation .wxg.cpp: $(AM_V_GEN) $(AM_V_at) $(WXGLADE) -g C++ -o $@ $< else .wxg.cpp: @echo @echo " Please install 'wxglade' to rebuild the '.wxg' GUI files" @echo " (and then run ./config.status --recheck)" @echo exit 1 endif # Woe icon and app infos # Also check http://fragglet.livejournal.com/4448.html .rc.o: $(WINDRES) -i $< -o $@ install-exec-hook: if HAVE_UPX # UPX compression # Needs to be done before bundling resources # Not using --best because it takes much more time and the result is # only a little bit smaller -$(UPX) "$(DESTDIR)$(bindir)/dfarc$(EXEEXT)" endif # Add 'freedink-dfarc' alias so that command-line FreeDink users see # the front-end more easily (via tab completion) $(LN_S) -f "dfarc$(EXEEXT)" "$(DESTDIR)$(bindir)/freedink-dfarc$(EXEEXT)" uninstall-hook: rm -f "$(DESTDIR)$(bindir)/freedink-dfarc$(EXEEXT)" EXTRA_DIST += dink.ico # For reference, wxGlade (GUI builder) alternate 2-steps code # generation: #.wxg.xrc: # $(WXGLADE) -g XRC -o $@ $< #.xrc.cpp: # $(WXRC) -c -e -o $@ -n Init$* $< ## Fix GCC-4.2 + wxrc-2.6 warning # sed -i -e 's/$*:://g' $*.h dfarc-3.12/src/RecursiveDelete.cpp0000664000175000017510000000426512400615063014033 00000000000000/** * File utilities to uninstall a D-Mod * Copyright (C) 2005, 2006 Dan Walma * Copyright (C) 2008 Sylvain Beucler * This file is part of GNU FreeDink * GNU FreeDink 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. * GNU FreeDink 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, see * . */ #include "RecursiveDelete.hpp" #include #include RecursiveDelete::RecursiveDelete(bool aRemoveSaveGames) : mRemoveSaveGames(aRemoveSaveGames), mError(false) { } wxDirTraverseResult RecursiveDelete::OnFile(const wxString& aFilename) { bool lRemoveFile( true ); // See if it is a save game file if (mRemoveSaveGames == false) { wxString lFilename = aFilename.Mid( aFilename.Find( '/', true ) + 1 ); if (lFilename.Mid(0, 4).MakeUpper() == _T("SAVE") && lFilename.Mid(lFilename.Len() - 3).MakeUpper() == _T("DAT")) { lRemoveFile = false; } } // Remove the file if (lRemoveFile == true) { if (::wxRemoveFile(aFilename) == false) { wxLogError(_("Could not remove %s"), aFilename.c_str()); mError = true; } } return wxDIR_CONTINUE; } wxDirTraverseResult RecursiveDelete::OnDir( const wxString& aDirname ) { RecursiveDelete lRecursiveDelete( false ); wxDir* lDir = new wxDir( aDirname ); lDir->Traverse( lRecursiveDelete ); delete lDir; if ( lRecursiveDelete.getError() == false ) { if ( ::wxRmdir( aDirname ) == false ) { wxLogError(_("Could not remove %s"), aDirname.c_str()); mError = true; } } else if ( mError == false ) { mError = true; } return wxDIR_IGNORE; } bool RecursiveDelete::getError( void ) { return mError; } dfarc-3.12/src/Package_Base.wxg0000664000175000017510000000722712400704113013245 00000000000000 DFArc - Package wxVERTICAL wxLEFT|wxRIGHT|wxTOP|wxEXPAND 10 1 wxLEFT|wxRIGHT|wxTOP|wxEXPAND 10 wxHORIZONTAL wxALL|wxEXPAND 2 1 wxALL|wxALIGN_RIGHT 2 wxALL|wxEXPAND 10 wxHORIZONTAL 0 1 wxID_OK wxLEFT 10 CANCEL wxID_CANCEL dfarc-3.12/src/Package_Base.cpp0000755000175000017510000000453512420022016013217 00000000000000// -*- C++ -*- // // generated by wxGlade b221e052e911 on Thu Oct 16 22:01:18 2014 // // Example for compiling a single file project under Linux using g++: // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp // // Example for compiling a multi file project under Linux using g++: // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp // #include "Package_Base.h" // begin wxGlade: ::extracode // end wxGlade Package_Base::Package_Base(wxWindow* parent, int id, const wxString& title, const wxPoint& pos, const wxSize& size, long style): wxDialog(parent, id, title, pos, size, wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER|wxTHICK_FRAME) { // begin wxGlade: Package_Base::Package_Base lIdentifierBox_staticbox = new wxStaticBox(this, wxID_ANY, _("Identifier")); lIntroText = new wxStaticText(this, wxID_ANY, _("Note: Unless you're making a D-Mod, you shouldn't be around here.\nThis is for creating a .dmod file for a D-Mod you made.\n\nWill package '%s' located at\n%s")); lIdentifierText = new wxStaticText(this, wxID_ANY, _("D-Mod filename (8 letters/numbers)")); mIdentifier = new wxTextCtrl(this, wxID_ANY, wxEmptyString); mOkay = new wxButton(this, wxID_OK, _("Package")); mCancel = new wxButton(this, wxID_CANCEL, wxEmptyString); set_properties(); do_layout(); // end wxGlade } void Package_Base::set_properties() { // begin wxGlade: Package_Base::set_properties SetTitle(_("DFArc - Package")); mOkay->SetDefault(); // end wxGlade } void Package_Base::do_layout() { // begin wxGlade: Package_Base::do_layout wxBoxSizer* lMainSizer = new wxBoxSizer(wxVERTICAL); wxBoxSizer* lActionBox = new wxBoxSizer(wxHORIZONTAL); lIdentifierBox_staticbox->Lower(); wxStaticBoxSizer* lIdentifierBox = new wxStaticBoxSizer(lIdentifierBox_staticbox, wxHORIZONTAL); lMainSizer->Add(lIntroText, 1, wxLEFT|wxRIGHT|wxTOP|wxEXPAND, 10); lIdentifierBox->Add(lIdentifierText, 1, wxALL|wxEXPAND, 2); lIdentifierBox->Add(mIdentifier, 1, wxALL|wxALIGN_RIGHT, 2); lMainSizer->Add(lIdentifierBox, 1, wxLEFT|wxRIGHT|wxTOP|wxEXPAND, 10); lActionBox->Add(mOkay, 0, 0, 0); lActionBox->Add(mCancel, 0, wxLEFT, 10); lMainSizer->Add(lActionBox, 0, wxALL|wxEXPAND, 10); SetSizer(lMainSizer); lMainSizer->Fit(this); Layout(); // end wxGlade } dfarc-3.12/src/DFile.hpp0000664000175000017510000000202512417450404011725 00000000000000/** * Base class for Tar and Bzip * Copyright (C) 2004 Andrew Reading * Copyright (C) 2005, 2006 Dan Walma * Copyright (C) 2008 Sylvain Beucler * This file is part of GNU FreeDink * GNU FreeDink 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. * GNU FreeDink 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, see * . */ #ifndef _DFILE_HPP #define _DFILE_HPP #include class DFilesystem; // Wrapper for a file. class DFile { public: DFile(const wxString &szFile); protected: wxString mFilePath; }; #endif dfarc-3.12/src/Options.hpp0000664000175000017510000000265312340110733012375 00000000000000/** * Options dialog * Copyright (C) 2005, 2006 Dan Walma * Copyright (C) 2008 Sylvain Beucler * This file is part of GNU FreeDink * GNU FreeDink 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. * GNU FreeDink 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, see * . */ #ifndef OPTIONS_HPP #define OPTIONS_HPP #include "Options_Base.h" #include "Config.hpp" enum { ID_WRITE_INI = 0, ID_PLAY_MOVIE, ID_LIST_ALL, ID_OVERRIDE_CHECK, ID_OVERRIDE_EDIT, ID_OVERRIDE_BROWSE, ID_DINK_EXE, ID_EDIT_EXE, ID_OKAY, ID_OP_CANCEL }; class Options : public Options_Base { public: Options(Config* aConfig); private: void prepareDialog(); void onOkay(wxCommandEvent& aEvent); void onBrowseOverrideDinkrefDir(wxCommandEvent& aEvent); void onBrowseDModDir(wxCommandEvent& aEvent); void onSelectLanguageList(wxCommandEvent& aEvent); Config *mConfig; DECLARE_EVENT_TABLE() }; #endif dfarc-3.12/src/Config.cpp0000664000175000017510000001664712400710573012157 00000000000000/** * Application configuration values * Copyright (C) 2008, 2009, 2014 Sylvain Beucler * This file is part of GNU FreeDink * GNU FreeDink 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. * GNU FreeDink 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, see * . */ #include "Config.hpp" #include "IOUtils.hpp" #include #include #include #include #include #include #if defined _WIN32 || defined __WIN32__ || defined __CYGWIN__ #define WIN32_LEAN_AND_MEAN #include /* registry */ #include #endif /** * Singleton getter */ static Config* theConfig = NULL; Config* Config::GetConfig() { if (theConfig == NULL) theConfig = new Config(); return theConfig; } Config::Config(): // Main frame mTrueColorValue(false), mWindowedValue(false), mSoundValue(true), mJoystickValue(true), mDebugValue(false), mV107Value(false), mShowIntroductionText(true), mWarnOnEdit(true), // Options mShowDeveloperButtons(true), mCloseDfarcOnPlay(false), mWriteIniValue(true), mOverrideDinkrefDir(false), mSpecifiedDinkrefDir(wxEmptyString), mDModDir(wxEmptyString), mForceLocale(wxEmptyString) { /* Default value for DModDir */ mDModDir = ::wxGetHomeDir() + wxFileName::GetPathSeparator() + wxT("dmods"); mDinkExe = wxT("dink") wxT(EXEEXT); mEditorExe = wxT("dinkedit") wxT(EXEEXT); mSelectedDmod = GetDinkrefDir() + wxFileName::GetPathSeparator() + wxT("dink"); mwxConfig = new wxConfig(_T("dfarc3")); mwxConfig->Read(_T("True Color"), &mTrueColorValue); mwxConfig->Read(_T("Windowed"), &mWindowedValue); mwxConfig->Read(_T("Sound"), &mSoundValue); mwxConfig->Read(_T("Joystick"), &mJoystickValue); mwxConfig->Read(_T("Debug"), &mDebugValue); mwxConfig->Read(_T("Windowed"), &mWindowedValue); mwxConfig->Read(_T("v1.07"), &mV107Value); mwxConfig->Read(_T("Last Selected D-Mod"), &mSelectedDmod); mwxConfig->Read(_T("Show Introduction"), &mShowIntroductionText); mwxConfig->Read(_T("Warn on Edit"), &mWarnOnEdit); // Options dialog mwxConfig->Read(_T("Close DFArc on Play"), &mCloseDfarcOnPlay); mwxConfig->Read(_T("Show Developer Buttons"), &mShowDeveloperButtons); mwxConfig->Read(_T("Write Ini"), &mWriteIniValue); mwxConfig->Read(_T("Override Dink Directory"), &mOverrideDinkrefDir); mwxConfig->Read(_T("Specified Dink Directory"), &mSpecifiedDinkrefDir); mwxConfig->Read(_T("Additional D-Mods Directory"), &mDModDir); mwxConfig->Read(_T("Dink Executable"), &mDinkExe); mwxConfig->Read(_T("Editor Executable"), &mEditorExe); mwxConfig->Read(_T("Language"), &mForceLocale); } Config::~Config() { delete mwxConfig; // save changes on disk } void Config::Update() { // Update config mwxConfig->Write(_T("Windowed"), mWindowedValue); mwxConfig->Write(_T("True Color"), mTrueColorValue); mwxConfig->Write(_T("Sound"), mSoundValue); mwxConfig->Write(_T("Joystick"), mJoystickValue); mwxConfig->Write(_T("Debug"), mDebugValue); mwxConfig->Write(_T("v1.07"), mV107Value); mwxConfig->Write(_T("Show Introduction"), mShowIntroductionText); mwxConfig->Write(_T("Warn on Edit"), mWarnOnEdit); // Options dialog mwxConfig->Write(_T("Write Ini"), mWriteIniValue); mwxConfig->Write(_T("Show Developer Buttons"), mShowDeveloperButtons); mwxConfig->Write(_T("Close DFArc on Play"), mCloseDfarcOnPlay); mwxConfig->Write(_T("Override Dink Directory"), mOverrideDinkrefDir); mwxConfig->Write(_T("Specified Dink Directory"), mSpecifiedDinkrefDir); mwxConfig->Write(_T("Additional D-Mods Directory"), mDModDir); mwxConfig->Write(_T("Dink Executable"), mDinkExe); mwxConfig->Write(_T("Editor Executable"), mEditorExe); mwxConfig->Write(_T("Language"), mForceLocale); mwxConfig->Write(_T("Last Selected D-Mod"), mSelectedDmod); return; } /*-------------------*/ /*- GetDinkrefDir() -*/ /*-------------------*/ static wxString FindDefaultDinkrefDir() { #if defined _WIN32 || defined __WIN32__ || defined __CYGWIN__ const wxString fallback_woe_dinkdir = _T("C:/Program Files/FreeDink"); /* Just check in the same directory */ WCHAR exe_dir[MAX_PATH]; if (GetModuleFileNameW(NULL, exe_dir, sizeof(exe_dir)) < 0) return fallback_woe_dinkdir; wxString str(exe_dir); return IOUtils::GetParentDir(str); /* The rest is too complex and error-prone when there's more than one Dink version installed, let's just skip */ if (false) { // // First see if it's in the registry. // unsigned long int iszPathSize = 512; unsigned long int iRegType = REG_SZ; unsigned long int liError; unsigned char *szPath = new unsigned char[512]; HKEY hDS; memset(szPath, 0, 512); // Open the registry path. liError = RegOpenKeyEx(HKEY_LOCAL_MACHINE, _T("Software\\RTSOFT\\Dink Smallwood"), 0, KEY_READ, &hDS); // Grab the path. while(RegQueryValueEx(hDS, _T("Path"), 0, &iRegType, szPath, &iszPathSize) == ERROR_MORE_DATA) { // If the path is too small, make the buffer bigger. iszPathSize += 512; delete[] szPath; szPath = new unsigned char[iszPathSize]; memset(szPath, 0, iszPathSize); } // Close the registry. RegCloseKey(hDS); if (liError == ERROR_SUCCESS && szPath[0] != '\0') { wxString str = szPath; delete[] szPath; return str; } // // We don't have the registry key. See if we can use the deprecated dinksmallwood.ini file. // wxString strSysRoot; wxString strBuf; // // Open dinksmallwood.ini // strSysRoot = wxGetOSDirectory() + _T("/dinksmallwood.ini"); if (!::wxFileExists(strSysRoot)) { wxLogVerbose(_("Error: dinksmallwood.ini not found. " "Please run the main game and try running this program again.")); return fallback_woe_dinkdir; } wxTextFile f_In; if (!f_In.Open(strSysRoot)) { wxLogVerbose(_("Error opening dinksmallwood.ini"), strSysRoot); return fallback_woe_dinkdir; } // Parse return f_In.GetLine(1); } # else /* !WIN32 */ // Return standard location wxString testdir; // pkgdatadir testdir = wxT(DEFAULT_DATA_DIR) wxT("/dink/dink/graphics"); IOUtils::ciconvert(testdir); if (wxDir::Exists(testdir)) return wxT(DEFAULT_DATA_DIR) wxT("/dink"); // /usr/local/share/games testdir = wxT("/usr/local/share/games/dink/dink/graphics"); IOUtils::ciconvert(testdir); if (wxDir::Exists(testdir)) return wxT("/usr/local/share/games/dink"); // /usr/local/share testdir = wxT("/usr/local/share/dink/dink/graphics"); IOUtils::ciconvert(testdir); if (wxDir::Exists(testdir)) return wxT("/usr/local/share/dink"); // /usr/share/games testdir = wxT("/usr/local/share/dink/dink/graphics"); IOUtils::ciconvert(testdir); if (wxDir::Exists(testdir)) return wxT("/usr/local/share/dink"); // /usr/share return wxT("/usr/share/dink"); #endif } wxString Config::GetDinkrefDir() { if (mOverrideDinkrefDir == true) return mSpecifiedDinkrefDir; return FindDefaultDinkrefDir(); } dfarc-3.12/src/InstallVerifyFrame_Base.cpp0000755000175000017510000000453612420022016015433 00000000000000// -*- C++ -*- // // generated by wxGlade b221e052e911 on Thu Oct 16 22:01:18 2014 // // Example for compiling a single file project under Linux using g++: // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp // // Example for compiling a multi file project under Linux using g++: // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp // #include "InstallVerifyFrame_Base.h" // begin wxGlade: ::extracode // end wxGlade InstallVerifyFrame_Base::InstallVerifyFrame_Base(wxWindow* parent, int id, const wxString& title, const wxPoint& pos, const wxSize& size, long style): wxDialog(parent, id, title, pos, size, wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER|wxTHICK_FRAME) { // begin wxGlade: InstallVerifyFrame_Base::InstallVerifyFrame_Base mDmodDescription = new wxTextCtrl(this, wxID_ANY, _("Preparing..."), wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_READONLY); const wxString mDestdirBox_choices[] = { _("Main Dink directory"), _("Additional D-Mods directory") }; mDestdirBox = new wxRadioBox(this, wxID_ANY, _("Where do you want to install this D-Mod?"), wxDefaultPosition, wxDefaultSize, 2, mDestdirBox_choices, 0, wxRA_SPECIFY_ROWS); mInstallButton = new wxButton(this, wxID_OK, _("Install")); mCancelButton = new wxButton(this, wxID_CANCEL, wxEmptyString); set_properties(); do_layout(); // end wxGlade } void InstallVerifyFrame_Base::set_properties() { // begin wxGlade: InstallVerifyFrame_Base::set_properties SetTitle(_("DFArc - Install D-Mod")); mDmodDescription->SetMinSize(wxSize(390,150)); mDestdirBox->SetSelection(0); mInstallButton->SetFocus(); mInstallButton->SetDefault(); // end wxGlade } void InstallVerifyFrame_Base::do_layout() { // begin wxGlade: InstallVerifyFrame_Base::do_layout wxBoxSizer* lVerticalSizer = new wxBoxSizer(wxVERTICAL); wxBoxSizer* lHorizontalSizer = new wxBoxSizer(wxHORIZONTAL); lVerticalSizer->Add(mDmodDescription, 1, wxLEFT|wxRIGHT|wxTOP|wxEXPAND, 5); lVerticalSizer->Add(mDestdirBox, 0, wxEXPAND, 0); lHorizontalSizer->Add(mInstallButton, 0, 0, 0); lHorizontalSizer->Add(mCancelButton, 0, wxLEFT, 5); lVerticalSizer->Add(lHorizontalSizer, 0, wxALL|wxEXPAND, 5); SetSizer(lVerticalSizer); lVerticalSizer->Fit(this); Layout(); // end wxGlade } dfarc-3.12/src/ClientData.hpp0000664000175000017510000000113312340110733012742 00000000000000// Integer wrapper class to store the DMod index associated with a // listbox entry from mDModListBox. Previously I was abusing 'void*' // as 'int' but g++ produces an error under amd64. If we were using // glib, we'd use GINT_TO_POINTER(). Sadly, we're not using glib :/ // Using wxClientData as a base class to make the wxListBox // automatically free client data when needed. class Integer : public wxClientData { public: int i; Integer(int i) : i(i) {} }; // Same for wxString class ClientDataString : public wxClientData { public: wxString s; ClientDataString(wxString s) : s(s) {} }; dfarc-3.12/bootstrap0000775000175000017510000000223112341466100011400 00000000000000#!/bin/sh # Generates ./configure, Makefile.in's and tools # Copyright (C) 2007, 2008 Sylvain Beucler # Copying and distribution of this file, with or without modification, # are permitted in any medium without royalty provided the copyright # notice and this notice are preserved. # Stop at first error: set -e # Print commands: set -x if [ "x$1" = xclean ]; then test ! -f Makefile || make maintainer-clean || true # Generated by aclocal. rm -f aclocal.m4 # Generated by autoheader. rm -f config.h.in # Generated by autoconf. rm -f configure rm -rf autom4te.cache/ # Generated or brought in by automake. find -name "Makefile.in" | xargs -r rm find autotools/ -type l | xargs -r rm rm -f INSTALL # Generated or brought in by intltoolize rm -f po/Makefile.in.in exit fi # Enable no-portability to disable GNU make extensions warnings, such as $(shell) #if autoreconf --install --symlink --warnings=all --warnings=no-portability $* if autoreconf --install --symlink --warnings=all $* && intltoolize --force then echo "You now can run ./configure" else echo "*** Error: please check the messages above. ***" fi dfarc-3.12/README.txt0000664000175000017510000000226312420023266011140 00000000000000DFArc - An integrated frontend, .dmod installer and .dmod archiver for the Dink Smallwood game engine DFArc is free software, and you are welcome to redistribute it under certain conditions; see the GNU GPL for details. ( cf. COPYING and http://gnu.org/licenses/gpl.html ) DFArc was written by Andrew Reading and tweaked by Dan Walma and Sylvain Beucler. Send e-mail to bug-freedink@gnu.org for comments, bug reports, or just to say hi! Building -------- If you are compiling DFArc from sources, check BUILD for instructions. About GNU --------- FreeDink is part of the GNU project, whose aim is to create "GNU", a completely free (as in freedom) operating system. Its most famous variant these days is GNU/Linux. A engine to play the Dink Smallwood game and D-Mods is definitely a must for the GNU OS ;) Check http://www.gnu.org/ for more information. Technical information --------------------- Check the 'doc' directory for technical/developer considerations. --- Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. dfarc-3.12/ChangeLog0000664000175000017510000014144512420023200011206 000000000000002014-10-16 Sylvain Beucler * freedink-dfarc.spec: rpm: minor rpmlint'ing 2014-10-16 Sylvain Beucler * NEWS, configure.ac, doc/release.txt: Start branch 3.12 2014-10-16 Sylvain Beucler * src/DFArcApp.cpp: Fix 'make distcheck' 2014-10-16 Sylvain Beucler * freedink-dfarc.spec: rpm: upgrade to wxWidgets3 + clean-up 2014-10-16 Sylvain Beucler * BUILD: Update build documentation 2014-10-16 Sylvain Beucler * debian/changelog, share/freedink-dfarc.desktop.in: Add %f in .desktop file (fixes lintian desktop-mime-but-no-exec-code) 2014-10-16 Sylvain Beucler * NEWS: Update NEWS 2014-10-15 Sylvain Beucler * src/BZip.cpp, src/Tar.cpp: Use decent I/O buffers everywhere 2014-10-15 Sylvain Beucler * src/BZip.cpp: Sync code from bzip2 just in case (no changes) 2014-10-15 Sylvain Beucler * src/Tar.cpp: Indent 2014-10-15 Sylvain Beucler * autobuild/dfarc-exe-mxe.sh: autobuild: minor tweaks 2014-10-15 Sylvain Beucler * src/Package.cpp: Re-enable elapsed time for the packaging dialog on woe 2014-10-15 Sylvain Beucler * THANKS: THANKS scratcher for beta-testing 2014-10-15 Sylvain Beucler * autobuild/dfarc-exe-mxe.sh: autobuild: dfarc-exe-mxe.sh is now automated and tested 2014-10-15 Sylvain Beucler * src/DFArcApp.cpp, src/DFArcFrame.cpp, src/InstallVerifyFrame.cpp, src/InstallVerifyFrame.hpp, src/Tar.cpp: Have wxWidgets properly quit by allocating dialogs in the heap + simplify InstallVerifyFrame 2014-10-15 Sylvain Beucler * src/BZip.cpp, src/BZip.hpp, src/DFile.cpp, src/DFile.hpp: Work on const filenames 2014-10-13 Sylvain Beucler * Makefile.am, autobuild/dfarc-exe-mxe.sh: build: document compilation with mxe 2014-10-13 Sylvain Beucler * NEWS, src/DFArcFrame.cpp: Fix off-by-1-pixel in logo animation, with rounding 2014-10-13 Sylvain Beucler * src/DFArcFrame.cpp: Launch Dinkedit asynchronously 2014-10-12 Sylvain Beucler * NEWS, src/DFArcFrame.cpp: Launch Dink asynchronously 2014-10-08 Sylvain Beucler * src/DFArcFrame.cpp: Prepared modified environment for Dink rather than modifying DFArc's 2014-10-08 Sylvain Beucler * src/DFArcFrame.cpp: Remove redundant warning when wxExecute fails on woe 2014-10-08 Sylvain Beucler * src/DFArcFrame.cpp: Remove wxExecute Unix-specific work-around: return code is consistent now 2014-10-08 Sylvain Beucler * DEB: doc: debian/ is included in releases now 2014-10-07 Sylvain Beucler * po/hu.po, po/sr.po: Sync translations 2014-10-07 Sylvain Beucler * doc/release.txt: rpm: update doc URL 2014-10-05 Sylvain Beucler * freedink-dfarc.spec: rpm: attempt to tidy post-install scriptlets 2014-10-05 Sylvain Beucler * freedink-dfarc.spec: rpm: sync with Fedora 2014-09-06 Sylvain Beucler * po/nl.po: Sync TP 2014-09-05 Sylvain Beucler * po/pl.po: Sync TP 2014-09-02 Sylvain Beucler * doc/release.txt: release: update doc 2014-09-02 Sylvain Beucler * po/da.po, po/de.po, po/eo.po, po/fr.po, po/vi.po: Sync TP 2014-09-01 Sylvain Beucler * .gitignore, po/.gitignore, src/.gitignore: Update .gitignore 2014-09-01 Sylvain Beucler * doc/release.txt: doc: update release process 2014-09-01 Sylvain Beucler * src/DFArcFrame.cpp: Fix typo 2014-09-01 Sylvain Beucler * debian/watch: debian: simplify watch file 2014-09-01 Sylvain Beucler * debian/changelog, debian/rules: debian: disable silent rules 2014-09-01 Sylvain Beucler * debian/changelog, debian/control: debian: fix extended-description-is-probably-too-short 2014-09-01 Sylvain Beucler * configure.ac, debian/.gitignore, debian/README.source, debian/dfarc.xpm, debian/freedink-dfarc.lintian-overrides, debian/gbp.conf, debian/install, debian/menu, debian/update-autotools-config.sh, share/Makefile.am: packaging: drop obsolete stuff 2014-09-01 Sylvain Beucler * Makefile.am, debian/changelog, debian/control, debian/copyright, doc/release.txt: Prepare snapshot release for Debian 2014-08-31 Sylvain Beucler * BUILD, configure.ac, debian/control, src/BZip.cpp, src/Config.cpp, src/DFArcFrame.cpp, src/DFArcFrame_Base.wxg, src/InstallVerifyFrame.cpp, src/InstallVerifyFrame_Base.wxg, src/Makefile.am, src/Options.cpp, src/Options_Base.wxg, src/Package.cpp, src/Package_Base.wxg, src/RecursiveDelete.cpp, src/Tar.cpp, src/Tar.hpp: Upgrade to wxWidgets 3.0 Unicode 2014-06-30 Sylvain Beucler * AUTHORS, NEWS, debian/copyright, po/LINGUAS, po/hu.po: New Hungarian translation 2014-06-30 Sylvain Beucler * BUILD: More doc on wxGlade 2014-06-26 Sylvain Beucler * doc/release.txt: fedora: update URL 2014-06-26 Sylvain Beucler * bootstrap: intltool: remove work-around for v0.40 2014-05-29 Sylvain Beucler * debian/changelog, debian/compat, debian/control, debian/rules: debian: update packaging with DH9 2014-05-29 Sylvain Beucler * doc/git2cl.txt: git2cl is now packaged and easier to use - drop documentation 2014-05-27 Sylvain Beucler * po/LINGUAS: translations: enable new translations 2014-05-27 Sylvain Beucler * doc/release.txt: Clarify versioning rationale 2014-05-24 Sylvain Beucler * BUILD: Document build issue with newer wxGlade 2014-05-24 Sylvain Beucler * AUTHORS, NEWS, doc/release.txt, po/eo.po, po/fr.po, po/pt_BR.po: Sync translations with TP 2012-12-09 Sylvain Beucler * doc/release.txt: Use pbuilder when building a Debian package to upload officially 2012-12-09 Sylvain Beucler * doc/release.txt: Update Fedora Git URL 2012-12-09 Sylvain Beucler * po/hr.po: Update Croatian translation 2012-12-09 Sylvain Beucler * AUTHORS: This is DFArc, not FreeDink, so remove references to 'engine strings' 2012-10-14 Sylvain Beucler * AUTHORS, NEWS, debian/copyright, po/LINGUAS, po/ca.po, po/tr.po: New Catalan and Turkish translations 2012-05-19 Sylvain Beucler * AUTHORS, NEWS, debian/copyright, po/LINGUAS, po/sr.po: Add Serbian translation 2012-04-27 Sylvain Beucler * NEWS, configure.ac: Merge v3.10 2012-04-27 Sylvain Beucler * ChangeLog, configure.ac, doc/release.txt, freedink-dfarc.spec: Release 3.10 2012-04-27 Sylvain Beucler * debian/changelog, debian/compat, debian/control, debian/copyright, debian/rules, debian/source.lintian-overrides, debian/source/format: Update Debian packaging 2012-04-27 Sylvain Beucler * AUTHORS, NEWS, po/LINGUAS, po/hr.po, po/vi.po: Update translations 2011-07-25 Sylvain Beucler * doc/release.txt: Fix Fedora package URL 2010-12-26 Sylvain Beucler * NEWS, po/fi.po, po/nl.po: Updated Dutch and Finnish translations. 2010-11-14 Sylvain Beucler * NEWS, configure.ac: Merged 3.8.1 2010-11-14 Sylvain Beucler * ChangeLog, NEWS, configure.ac, debian/changelog, freedink-dfarc.spec: Release 3.8.1 2010-11-14 Sylvain Beucler * NEWS: Update NEWS 2010-11-14 Sylvain Beucler * doc/release.txt, src/Makefile.am: Sync doc fixes from FreeDink 2010-11-07 Sylvain Beucler * doc/md5.txt: Document MD5 checksums for non-FreeDink dink.exe 2010-11-07 Sylvain Beucler * src/Options.cpp: Search for dink* executable case-INsensitively 2010-11-06 Sylvain Beucler * src/DFArcFrame.cpp: Remove old rectangle drawing test 2010-11-01 Sylvain Beucler * freedink-dfarc.spec: Remove old reference to v2 in the .spec file 2010-10-31 Sylvain Beucler * NEWS: Update NEWS 2010-10-31 Sylvain Beucler * AUTHORS, debian/copyright, po/LINGUAS, po/nl.po: Add updated Dutch translation - I forgot to include the first one I had gotten in February :/ 2010-10-31 Sylvain Beucler * po/pl.po: Update Polish translation 2010-10-30 Sylvain Beucler * po/it.po: Sync Italian translation 2010-10-30 Sylvain Beucler * autobuild/dfarc-debs.sh, autobuild/dfarc-exe.sh, autobuild/dfarc-snapshot.sh, debian/changelog, debian/control, doc/release.txt: Release doc + sync autobuild scripts 2010-10-28 Sylvain Beucler * NEWS, configure.ac, doc/release.txt: Start v3.9 2010-10-28 Sylvain Beucler * ChangeLog, NEWS, configure.ac, debian/changelog, debian/control, doc/release.txt, freedink-dfarc.spec: Release 3.8 2010-10-28 Sylvain Beucler * doc/release.txt: Update release doc 2010-10-28 Sylvain Beucler * src/DFArcFrame.cpp: Don't fallback to system language on error 2010-10-28 Sylvain Beucler * po/da.po: Update Danish translation (again) 2010-10-26 Sylvain Beucler * po/da.po: Update Danish translation 2010-10-25 Sylvain Beucler * AUTHORS, po/de.po, po/es.po, po/it.po: Update translations from the TP 2010-10-24 Sylvain Beucler * po/fr.po: Update French translation 2010-10-24 Sylvain Beucler * debian/README.source, debian/changelog, debian/control, debian/copyright, debian/watch: Debian sync 2010-10-24 Sylvain Beucler * src/DFArcFrame.cpp: install_locales -> installed_locales 2010-10-24 Sylvain Beucler * src/DFArcFrame.cpp: Try to find a working locale by different means under Unix 2010-10-24 Sylvain Beucler * doc/cross.txt, src/DFArcFrame.cpp: Make sure the 'l10n' dir exists before searching it (warnings under woe) 2010-10-24 Sylvain Beucler * src/DFArcFrame.cpp: Only search 'l10n' for .mo files, not the whole D-Mod (bugfix) 2010-10-24 Sylvain Beucler * po/fr.po, src/Options.cpp: Update French translation 2010-10-24 Sylvain Beucler * doc/mingw-cross-env.txt, doc/unicode.txt, src/DFArcFrame.cpp: More notes on mingw-cross-env 2010-10-24 Sylvain Beucler * NEWS, src/Config.cpp, src/DFArcFrame.cpp, src/Options_Base.wxg: Simplify translation selection; fix editor warning 2010-10-23 Sylvain Beucler * NEWS, configure.ac, src/Makefile.am: distcheck: declare new source file ClientData.hpp 2010-10-23 Sylvain Beucler * NEWS, src/ClientData.hpp, src/DFArcApp.cpp, src/DFArcFrame.cpp, src/DFArcFrame.hpp, src/DFArcFrame_Base.wxg, src/Options.cpp, src/Options_Base.wxg: D-Mod language selection 2010-10-23 Sylvain Beucler * src/DFArcFrame.cpp, src/DFArcFrame_Base.wxg: Add non-functional-yet translation selection button 2010-10-23 Sylvain Beucler * doc/release.txt, src/DFArcApp.cpp, src/Options.cpp: Fix language setting 2010-10-23 Sylvain Beucler * src/Makefile.am: Don't use --best with upx, too slow and not much more efficient 2010-10-23 Sylvain Beucler * NEWS, src/Config.cpp, src/DFArcApp.cpp, src/Options.cpp, src/Options.hpp, src/Options_Base.wxg: Improve DFArc language selection presentation + make it work under woe + show dev buttons by default 2010-10-23 Sylvain Beucler * .gitignore, doc/animation.txt, src/DFArcFrame.cpp: Document animation method 2010-10-23 Sylvain Beucler * src/DFArcFrame.cpp: Fix animation speed under woe 2010-10-23 Sylvain Beucler * doc/cross.txt, doc/mingw-cross-env.txt: Update build instructions and test mingw-cross-env 2010-10-22 Sylvain Beucler * src/DFArcFrame.hpp, src/Options.cpp: Update code copyright notices 2010-10-22 Sylvain Beucler * AUTHORS, debian/copyright: Update copyright notices for translations 2010-10-22 Sylvain Beucler * NEWS, po/it.po: Updated Italian translation 2010-10-21 Sylvain Beucler * src/DFArcFrame.cpp: Document bug in wx text sizing 2010-10-21 Sylvain Beucler * NEWS, src/DFArcFrame.cpp: Use easing to smooth logo animation 2010-10-21 Sylvain Beucler * src/DFArcFrame.cpp, src/DFArcFrame.hpp, src/DFArcFrame_Base.wxg: Basic for new D-Mod logo animation 2010-10-12 Sylvain Beucler * src/Options.cpp: Add Greek to the choice of available languages (there's a new Greek translation for the game engine) 2010-10-10 Sylvain Beucler * po/es.po: Update Spanish translation 2010-07-29 Sylvain Beucler * BUILD: Bumb wxwidgets version in BUILD instructions 2010-05-23 Sylvain Beucler * NEWS: Typo 2010-05-23 Sylvain Beucler * NEWS, configure.ac, debian/copyright, src/DFArcFrame.cpp: Remove wxWidgets 2.6 compatibility code 2010-04-28 Sylvain Beucler * .gitignore, NEWS, doc/locales.txt, exp/.gitignore, exp/exec/.gitignore, exp/lang/test.c, po/fr.po, src/Config.cpp, src/Config.hpp, src/DFArcApp.cpp, src/Options.cpp, src/Options_Base.wxg: Language selection 2010-04-27 Sylvain Beucler * NEWS, exp/exec/.gitignore, exp/exec/compile.sh, exp/exec/exectest.cpp, exp/exec/exit_failure.c, exp/exec/false.c, exp/exec/results.txt, exp/exec/segfault.c, exp/exec/sleep.c, src/DFArcFrame.cpp: Handle Dink segfault 2010-04-27 Sylvain Beucler * po/da.po: Update da.po 2010-03-22 Sylvain Beucler * po/it.po, po/mk.po: Sync TP .po files 2010-03-21 Sylvain Beucler * doc/release.txt: .zip are preferrable over .tar.gz at the DN 2010-03-06 Sylvain Beucler * po/vi.po: Sync Vietnamese translation (version dump, no string update) 2010-03-06 Sylvain Beucler * AUTHORS, debian/copyright, po/pl.po: Update Polish translation 2010-03-02 Sylvain Beucler * AUTHORS, debian/copyright, po/fi.po: Update Finnish translation 2010-02-21 Sylvain Beucler * ChangeLog, NEWS, autobuild/dfarc-debs.sh, autobuild/dfarc-exe.sh, autobuild/dfarc-snapshot.sh, configure.ac, debian/copyright, doc/release.txt, freedink-dfarc.spec: Release 3.6 2010-02-21 Sylvain Beucler * debian/BUILD, debian/README.source, debian/changelog, debian/copyright, debian/gbp.conf, debian/rules: Sync debian/ 2010-02-21 Sylvain Beucler * TRANSLATIONS.txt: Mention the TP in instructions for translators 2010-02-21 Sylvain Beucler * po/de.po, po/vi.po: Update German and Vietnamese translations 2010-01-10 Sylvain Beucler * po/da.po: Update Danish translation 2010-01-07 Sylvain Beucler * po/fr.po: Import fr.po from TP 2010-01-07 Sylvain Beucler * NEWS, configure.ac: Prepare configure.ac/NEWS file for snapshots 2010-01-06 Sylvain Beucler * NEWS: Prepare NEWS file for snapshots 2010-01-06 Sylvain Beucler * AUTHORS, debian/copyright, po/LINGUAS, po/da.po, po/de.po, po/es.po, po/fi.po, po/fr.po, po/it.po, po/mk.po, po/pl.po, po/vi.po, src/DFArcFrame.cpp: Add new translations; remove misleading reference to 'included D-Mod' 2009-09-30 Sylvain Beucler * doc/release.txt: Add more contact URLs for releases 2009-09-19 Sylvain Beucler * doc/release.txt: Fix release symlinking 2009-09-18 Sylvain Beucler * autobuild/dfarc-debs.sh, autobuild/dfarc-exe.sh, autobuild/dfarc-rpms.sh, autobuild/dfarc-snapshot.sh: Sync autobuild scripts 2009-09-18 Sylvain Beucler * src/Config.cpp, src/DFArcFrame.cpp: Update copyright notices 2009-09-18 Sylvain Beucler * ChangeLog, NEWS, configure.ac, freedink-dfarc.spec: Release 3.4 2009-09-17 Sylvain Beucler * doc/cross.txt: Update cross-compilation instructions: stripping 2009-09-17 Sylvain Beucler * doc/release.txt: Document version scheme 2009-09-17 Sylvain Beucler * share/Makefile.am: Add a man page link for 'freedink-dfarc' 2009-09-17 Sylvain Beucler * debian/control, share/man/man1/freedink-dfarc.1: Bump Debian Standards-Version 2009-09-16 Sylvain Beucler * ChangeLog, NEWS, configure.ac, debian/changelog, freedink-dfarc.spec: Release 3.2.4 2009-09-16 Sylvain Beucler * doc/release.txt: Fix copy/paste from freedink-data in the release instructions 2009-08-30 Sylvain Beucler * NEWS, doc/cross.txt, src/Config.cpp: look for dink in the .exe dir rather than the registry or dinksmallwood.ini 2009-07-17 me * BUILD, README, configure.ac, src/Makefile.am: Add 'freedink-dfarc' symlink for command-line users to know about dfarc 2009-07-10 Sylvain Beucler * doc/release.txt: More release instructions precisions 2009-07-10 Sylvain Beucler * AUTHORS, THANKS, doc/release.txt: Release 3.2.3 (fix AUTHORS/THANKS) 2009-07-10 Sylvain Beucler * ChangeLog, NEWS, configure.ac, doc/release.txt, freedink-dfarc.spec: Release 3.2.3 2009-07-10 Sylvain Beucler * po/LINGUAS, po/de.po: New German translation from Michael Skiba 2009-07-06 Sylvain Beucler * doc/release.txt: Improve release instructions 2009-07-02 Sylvain Beucler * po/fi.po: Import fixes for the Finnish translation 2009-07-02 Sylvain Beucler * doc/release.txt: Import debian from this repo before working on packaging a new release 2009-06-23 Sylvain Beucler * debian/changelog, debian/control, debian/copyright, debian/freedink-dfarc.lintian-overrides, debian/rules, debian/source.lintian-overrides, doc/release.txt: Sync debian/ 2009-06-21 Sylvain Beucler * doc/release.txt, freedink-dfarc.spec: Fedora sync 2009-06-21 Sylvain Beucler * doc/release.txt: Update release instructions 2009-06-21 Sylvain Beucler * configure.ac: Proper validation of ./configure's variable 2009-06-03 Sylvain Beucler * ChangeLog, Makefile.am, NEWS, configure.ac, doc/release.txt, freedink-dfarc.spec: Release 3.2.2 2009-06-03 Sylvain Beucler * share/Makefile.am: s/datadir/datarootdir/ for .desktop and pixmap files, so it's installed properly in /usr/share even when compiled with Debian's --datadir=/usr/share/games 2009-03-15 Sylvain Beucler * po/fi.po: Update DFArc Finnish translation from the TP 2009-02-09 Sylvain Beucler * po/fr.po: Adapt fr.po declared package name to domain name (lint) 2009-02-09 Sylvain Beucler * src/woeres.rc.in: Bundle more precise version information in .exe's 2009-01-25 Sylvain Beucler * po/fr.po: A couple changes in fr.po to please the Translation Project robot 2009-01-20 Sylvain Beucler * autobuild/dfarc-debs.sh, autobuild/dfarc-exe.sh, autobuild/dfarc-rpms.sh, autobuild/dfarc-snapshot.sh: Include some scripts used to build snapshots and binary packages unattended 2008-12-28 Sylvain Beucler * : commit 50606a440ffa64e736c67f4b82c6d478c6e92201 Author: Sylvain Beucler Date: Sun Dec 28 22:30:03 2008 +0100 2008-12-28 Sylvain Beucler * po/fr.po: Fix accelerators in French translation 2008-12-28 Sylvain Beucler * po/fr.po: French translation fixes 2008-12-28 Sylvain Beucler * : commit b0ec1af7d9fd64efed0c832e94a54ce90d1ec8c6 Author: Sylvain Beucler Date: Sun Dec 28 14:57:00 2008 +0100 2008-12-28 Sylvain Beucler * po/LINGUAS, po/it.po, po/mk.po: Add Italian and Macedonian translations 2008-12-28 Sylvain Beucler * po/fr.po: French translation fixes 2008-12-28 Sylvain Beucler * po/fr.po: French translation fixes 2008-12-28 Sylvain Beucler * doc/cross.txt: Tidy and update cross-compilation instructions 2008-12-02 Sylvain Beucler * BUILD: FreeBSD install instructions in BUILD 2008-11-29 Sylvain Beucler * TODO: Note that we could implement SDL_VIDEODRIVER and SDL_AUDIODRIVER support 2008-10-06 Sylvain Beucler * debian/copyright: Some licensing clarification 2008-10-06 Sylvain Beucler * debian/copyright, share/README, src/icon_xpm.cpp: Some licensing clarification 2008-09-24 Sylvain Beucler * freedink-dfarc.spec: .spec fixes 2008-09-24 Sylvain Beucler * freedink-dfarc.spec: .spec fixes 2008-09-23 Sylvain Beucler * NEWS: Fix typo s/Finn/Finnish/ 2008-09-23 Sylvain Beucler * freedink-dfarc.spec: Precise how .spec finds languages + don't mention './configure' in comments to avoid a mistaken rpmlint warning 2008-09-23 Sylvain Beucler * NEWS, THANKS, configure.ac, debian/changelog, freedink-dfarc.spec, gentoo/games-utils/freedink-dfarc/freedink-dfarc-3.2.1.ebuild, gentoo/games-utils/freedink-dfarc/freedink-dfarc-3.2.ebuild: Release 3.2.1 2008-09-23 Sylvain Beucler * po/LINGUAS, po/fi.po: Add Finn translation by Petteri Tolonen 2008-09-23 Sylvain Beucler * configure.ac, gentoo/games-utils/freedink-dfarc/freedink-dfarc-3.2.ebuild: Fix issue xdg-utils detection at ./configure time 2008-09-22 Sylvain Beucler * configure.ac, freedink-dfarc.spec, share/README: Some fixes in the spec file + clarify wxGlade warning to make it even clearer that it only applies to developers 2008-09-20 Sylvain Beucler * NEWS, configure.ac, debian/changelog, freedink-dfarc.spec, gentoo/games-utils/freedink-dfarc/freedink-dfarc-3.1.20080914.ebuil d, gentoo/games-utils/freedink-dfarc/freedink-dfarc-3.2.ebuild: Release 2008-09-20 Sylvain Beucler * .gitignore, gentoo/games-utils/freedink-dfarc/freedink-dfarc-3.1.20080914.ebuil d, gentoo/games-utils/freedink-dfarc/metadata.xml: Gentoo ebuild 2008-09-20 Sylvain Beucler * BUILD, debian/control, freedink-dfarc.spec: Gentoo build instructions 2008-09-16 Sylvain Beucler * freedink-dfarc.spec: Fix opensuse build 2008-09-14 Sylvain Beucler * NEWS, freedink-dfarc.spec: Snapshot mode 2008-09-14 Sylvain Beucler * NEWS, configure.ac, debian/changelog: Snapshot mode; update NEWS 2008-09-14 Sylvain Beucler * debian/control: Mention Debian Games Team in debian/control 2008-09-11 Sylvain Beucler * AUTHORS, debian/copyright: Mention bzip2- and wxwidgets-originated code in copyright aggregation files AUTHORS and debian/copyright (reported by Gonéri Le Bouder) 2008-09-05 Sylvain Beucler * Makefile.am, debian/BUILD, debian/menu, debian/rules, freedink-dfarc.spec: Rename 'dfarc' package to 'freedink-dfarc' 2008-09-05 Sylvain Beucler * src/Config.cpp, src/Makefile.am: Support /usr/share/games prefix; add source .wxg files in dist tarballs 2008-08-30 Sylvain Beucler * dfarc.spec, freedink-dfarc.spec: Also rename specfile dfarc->freedink-dfarc 2008-08-30 Sylvain Beucler * debian/changelog, debian/control, debian/rules, debian/watch, dfarc.spec: Packaging * Rename dfarc -> freedink-dfarc * Watch official ftp.gnu.org release location * Point Vcs-* to the (upcoming) Debian packaging rather than the development repository 2008-08-30 Sylvain Beucler * debian/copyright, debian/rules: debian/copyright precisions + s/install-strip/install (suggestions by Ansgar Burchardt) 2008-08-28 Sylvain Beucler * debian/changelog: Bump debian/changelog 2008-08-28 Sylvain Beucler * NEWS, configure.ac, debian/watch, dfarc.spec: Release 3.0 2008-08-26 Sylvain Beucler * dfarc.spec: Add opensuse-specific .desktop files installation 2008-08-26 Sylvain Beucler * src/Options.cpp: Avoid a wx warning if PATH contains a directory that doesn't exist 2008-08-26 Sylvain Beucler * Makefile.am: Don't mess with debian/ in Makefile.am, it's not included in tarballs anymore. 2008-08-25 Sylvain Beucler * dfarc.spec: Add opensuse dependency list in the .spec (patch by Stefan Dirsch) 2008-08-25 Sylvain Beucler * src/InstallVerifyFrame.cpp: Avoid crash on exit when trying to install a non-existant D-Mod 2008-08-25 Sylvain Beucler * src/DFArcApp.cpp: Return a proper value OnExit() (reported by Stefan Dirsch) 2008-08-23 Sylvain Beucler * debian/BUILD, dfarc.spec: rpmlint 2008-08-23 Sylvain Beucler * DEB, Makefile.am: Exclude debian/ from the release tarballs, this is preferred by Debian devs 2008-08-23 Sylvain Beucler * debian/copyright, debian/docs: Add more documentation files in the Debian package + precise earlier copyright 2008-08-23 Sylvain Beucler * Makefile.am, dfarc.spec: Add initial Fedora spec file 2008-08-23 Sylvain Beucler * po/fr.po, src/DFArcFrame.cpp: Fix some Fedora GCC warnings 2008-08-23 Sylvain Beucler * BUILD, bootstrap, debian/control: Precise intltool <= 0.40 issue and version requirements 2008-08-21 Sylvain Beucler * debian/rules: Remove commented dh_* that don't belong to the Debian package type (suggested by Miriam Ruiz) 2008-08-21 Sylvain Beucler * src/DFArcFrame.cpp: Don't use store-int-as-pointer trick; instead use a proper wxClientData 2008-08-19 Sylvain Beucler * debian/changelog, debian/control: Debian fixes 2008-08-17 Sylvain Beucler * po/fr.po, po/pl.po: Update translation catalogs (2 missing strings) 2008-08-17 Sylvain Beucler * src/Tar.cpp: Mark 2 forgotten strings for translation 2008-08-17 Sylvain Beucler * THANKS, po/LINGUAS, po/pl.po: Add Polish translation by GOKUSSJ6 2008-08-16 Sylvain Beucler * THANKS: Thank testers 2008-08-16 Sylvain Beucler * src/DFArcFrame.cpp: Fix path escaping (spaces) when opening the current dmod folder with an external file browser 2008-08-14 Sylvain Beucler * src/InstallVerifyFrame_Base.wxg: Focus the 'install' button when installing a D-Mod - already worked with gtk, needed on woe 2008-08-14 Sylvain Beucler * src/BZip.hpp: Fix weird header conflict that causes crash when installing D-Mods under woe 2008-08-14 Sylvain Beucler * src/InstallVerifyFrame.cpp: Minor header fix 2008-08-14 Sylvain Beucler * src/InstallVerifyFrame.cpp, src/InstallVerifyFrame.hpp: Fix memory leak: free Tar object after install is done 2008-08-13 Sylvain Beucler * NEWS, po/fr.po, src/BZip.cpp, src/BZip.hpp, src/Tar.cpp: Remove old unused code from BZip.cpp (error prone) 2008-08-13 Sylvain Beucler * src/IOUtils.cpp, src/Package.cpp: Fix: 1) renaming previously created .dmod file; 2) packaging under woe (incomplete path) 2008-08-13 Sylvain Beucler * src/Config.cpp: Use lowercase name for the config file (more common for Unix dot/hidden files) 2008-08-13 Sylvain Beucler * src/Config.cpp, src/DFArcFrame.cpp, src/InstallVerifyFrame.cpp, src/Options.cpp, src/Options_Base.wxg: Add completion for game and editor executable (using a combobox) 2008-08-12 Sylvain Beucler * configure.ac, doc/cross.txt: configure.ac clean-up 2008-08-11 Sylvain Beucler * debian/control, debian/rules, doc/cross.txt: Fix Debian lintian errors/warnings (except ITP) 2008-08-10 Sylvain Beucler * NEWS, po/fr.po, src/Config.cpp, src/DFArcFrame.cpp, src/DFArcFrame.hpp, src/InstallVerifyFrame.cpp: - Support refdir that contain spaces - Select newly installed D-Mod after install - Select the "dink" game on first run - Don't use \n in default logo message, doesn't work under woe - Fix French translation typo - Clean-up - Back to default bitmap after a D-Mod uninstall 2008-08-10 Sylvain Beucler * configure.ac, debian/BUILD, src/Makefile.am: Check wxglade presence before attempting to recompile UI files. Warn that Debian builds shouldn't rebuild them if not using a recent enough version. 2008-08-10 Sylvain Beucler * configure.ac: Set wxWidgets' cflags appropriately when both static and shared versions are available 2008-08-10 Sylvain Beucler * README, TRANSLATIONS.txt: More doc fixes 2008-08-10 Sylvain Beucler * Makefile.am: Add missing doc files in EXTRA_DIST 2008-08-10 Sylvain Beucler * debian/BUILD, debian/control, debian/install, debian/rules: Update Debian packaging 2008-08-10 Sylvain Beucler * AUTHORS, BUILD, Makefile.am, NEWS, README, configure.ac, debian/changelog, debian/control, debian/dfarc.xpm, debian/dfarc2.xpm, debian/menu, doc/cross.txt, doc/debug.txt, doc/dfarc.txt, po/POTFILES.in, po/fr.po, share/Makefile.am, share/README, share/freedink-dfarc.desktop.in, share/freedink-dfarc2.desktop.in, share/man/man1/dfarc.1, share/man/man1/dfarc2.1, src/.gitignore, src/Config.cpp, src/DFArcApp.cpp, src/DFArcFrame.cpp, src/DFArcFrame.hpp, src/DFArcFrame_Base.wxg, src/InstallVerifyFrame.cpp, src/Makefile.am, src/Options_Base.wxg, src/Package_Base.wxg: Rename DFArc2 to DFArc v3 for clarity. Bump version to 2.99.date 2008-08-09 Sylvain Beucler * Makefile.am: Force inclusion of the translation template in dist tarballs 2008-08-09 Sylvain Beucler * src/DFArcApp.cpp: Look for translations in /po/XX/dfarc2.mo under woe 2008-08-09 Sylvain Beucler * doc/cross.txt: Cross-compilation: work on shared/dll support 2008-08-08 Sylvain Beucler * src/Config.cpp: Add missing includes 2008-08-08 Sylvain Beucler * doc/cross.txt, src/Config.cpp: Add missing includes 2008-08-07 Sylvain Beucler * po/fr.po, src/DFArcFrame.cpp: Change default text from '?' to 'Pick a D-Mod' 2008-08-07 Sylvain Beucler * doc/cross.txt: Tested and improved the cross-building instructions while recreating my build environment from scratch 2008-08-05 Sylvain Beucler * debian/BUILD, debian/control, src/DFArcFrame.cpp, src/DFArcFrame.hpp: ::wxLaunchDefaultBrowser fix/work-around for wxWdgets < 2.6.4 2008-08-04 Sylvain Beucler * src/Config.cpp: default editor in dfarc is "dink" (reported by Paul Jewsbury) 2008-08-04 Sylvain Beucler * NEWS, configure.ac, debian/changelog: DFArc2 is still evolving (i.e. bugs to fix) and I need to make new Debian packages, to let's switch from 'b' (beta) to '.2008MMDD' version scheme 2008-08-04 Sylvain Beucler * debian/BUILD, debian/control, debian/rules: Enable 'dh_icons' again and rely on recently backported debhelper 5.0.60 2008-07-31 Sylvain Beucler * debian/control: Recommend 'freedink' in the Debian package 2008-07-28 Sylvain Beucler * src/DFArcFrame.cpp: Actually take 'v1.07' option into account when running the game 2008-07-18 Sylvain Beucler * TRANSLATIONS.txt, po/fr.po, src/DFArcFrame_Base.wxg: Improve tooltip for v1.07 mode 2008-07-07 Sylvain Beucler * src/InstallVerifyFrame_Base.wxg, src/Package_Base.wxg: Force widget IDs in wxGlade 'stock items', so buttons still work with Etch's wxglade (2) 2008-07-07 Sylvain Beucler * src/Options_Base.wxg: Force widget IDs in wxGlade 'stock items', so buttons still work with Etch's wxglade 2008-06-23 Sylvain Beucler * src/DFArcFrame_Base.wxg: Disable splitter window's 3D borders, which doesn't look nice under woe (no visible change for Gtk+) 2008-06-23 Sylvain Beucler * TRANSLATIONS.txt: Precisions/changes due to 'intltool' not including the .pot 2008-06-23 Sylvain Beucler * po/fr.po, src/Config.cpp, src/Config.hpp, src/DFArcFrame.cpp, src/DFArcFrame_Base.wxg: Introduce v1.07 mode 2008-06-22 Sylvain Beucler * BUILD, debian/control, debian/rules, share/Makefile.am: Ignore dh_icons errors so that package can be compiled under Debian Etch 2008-06-22 Sylvain Beucler * configure.ac: Fix error when libbzip2 isn't installed 2008-06-22 Sylvain Beucler * BUILD, Makefile.am, bootstrap, debian/control, doc/intltool.txt, po/.gitignore, po/Makefile.in.in, po/POTFILES.in, po/fr.po, share/Makefile.am, share/freedink-dfarc2.desktop.in.h, share/freedink-mime.xml.in.h: Upgrade to intltool 0.40 2008-05-08 Sylvain Beucler * debian/changelog, po/fr.po: Set debian packaging as non-native again (fix typo) 2008-05-08 Sylvain Beucler * configure.ac, debian/control, po/fr.po: Fix debian builddeps (add intltool dep, don't fail if wxglade is not present since _Base.cpp files are pre-built in the tarball) 2008-05-08 Sylvain Beucler * src/DFArcFrame.cpp: Try using FreeDesktop's xdg-open to browse a D-Mod folder (unless a browser is specified in the Options) 2008-05-08 Sylvain Beucler * po/fr.po, src/InstallVerifyFrame.cpp, src/InstallVerifyFrame_Base.wxg: Remove old reference to DFArc 2.0 (using DFArc2 instead) 2008-05-08 Sylvain Beucler * configure.ac, debian/rules, po/POTFILES.in, po/fr.po, share/Makefile.am, share/dfarc2.desktop.in, share/dfarc2.desktop.in.h, share/dfarc2.xml.in, share/dfarc2.xml.in.h, share/freedink-dfarc2.desktop.in, share/freedink-dfarc2.desktop.in.h, share/freedink-mime.xml.in, share/freedink-mime.xml.in.h: Improve FreeDesktop integration in the build-system to support packaging 2008-05-08 Sylvain Beucler * Makefile.am, NEWS, po/.gitignore, po/Makefile.in.in, po/POTFILES.in, po/fr.po, share/Makefile.am, share/README, share/dfarc2.desktop.in, share/dfarc2.xml.in, share/dfarc2.xml.in.h: Better FreeDesktop integration (file association, icon for .dmod files) 2008-05-07 Sylvain Beucler * ABOUT-NLS, m4/ChangeLog, m4/gettext.m4, m4/iconv.m4, m4/lib-link.m4, m4/po.m4, po/ChangeLog, po/Makefile.in.in, po/Makevars.template, po/fr.po: Upgrade gettext 0.16->0.17 2008-05-07 Sylvain Beucler * po/Makefile.in.in, po/POTFILES.in, share/dfarc2.desktop.in.h: Use gettext rather than buggy intltool for .po merges and .pot generation 2008-05-05 Sylvain Beucler * po/POTFILES.in, share/Makefile.am: Fix 'make distcheck' 2008-05-04 Sylvain Beucler * Makefile.am, configure.ac, po/Makefile.in.in, po/POTFILES.in, po/dfarc2.pot, po/fr.po, share/.gitignore, share/Makefile.am, share/applications/dfarc2.desktop, share/dfarc2.desktop.in: Attempt: translate .desktop from .po with intltool (but this breaks 'make distcheck') 2008-05-04 Sylvain Beucler * debian/rules, share/Makefile.am, share/applications/dfarc2.desktop: Basic desktop (GNOME/KDE) integration 2008-05-04 Sylvain Beucler * NEWS: Bump version to 2.1b 2008-05-04 Sylvain Beucler * configure.ac, debian/changelog, po/dfarc2.pot, po/fr.po, src/Config.cpp, src/DFArcFrame.cpp, src/DFArcFrame.hpp, src/InstallVerifyFrame.cpp, src/Package.cpp: Fix woe issues + dink[edit] command line clean-up 2008-05-03 Sylvain Beucler * doc/cross.txt: cross-compilation: how to get the release .exe 2008-05-03 Sylvain Beucler * debian/changelog: Switch to non-native Debian packaging (so packages can be based on an existing release tarball) 2008-05-03 Sylvain Beucler * Makefile.am, debian/control, po/dfarc2.pot, po/fr.po, src/Config.cpp: Fix Debian packaging 2008-05-03 Sylvain Beucler * ChangeLog, debian/control, debian/dfarc2.1, debian/manpages, debian/menu, debian/rules, doc/git2cl.txt, share/Makefile.am, share/man/man1/dfarc2.1: Fix Debian packaging 2008-05-03 Sylvain Beucler * NEWS, src/DFArcFrame.cpp, src/DFArcFrame_Base.wxg: Add a horizontal splitter to the main window 2008-05-03 Sylvain Beucler * NEWS, TODO, po/dfarc2.pot, po/fr.po, src/Config.cpp, src/Config.hpp, src/DFArcFrame.cpp, src/DFArcFrame.hpp, src/InstallVerifyFrame.cpp, src/InstallVerifyFrame_Base.wxg, src/Options.cpp, src/Options_Base.wxg: install dir choice; preferred browser support; text default logo 2008-05-03 Sylvain Beucler * TRANSLATIONS.txt: Translation HOWTO 2008-05-03 Sylvain Beucler * TRANSLATIONS.txt, po/POTFILES.in, po/dfarc2.pot, po/fr.po, src/DFArcFrame.cpp, src/Options.cpp: Update French translation 2008-05-01 Sylvain Beucler * src/Config.cpp: Fix woe compilation 2008-05-01 Sylvain Beucler * NEWS, TODO, doc/dfs_split.txt, src/Config.cpp, src/DFArcFrame.cpp, src/Tar.cpp: Split out DFilesystem.cpp (end): polish + look executables in $PATH 2008-05-01 Sylvain Beucler * COPYING.DFArc-2.0, doc/dfs_split.txt, src/IOUtils.cpp, src/IOUtils.hpp, src/InstallVerifyFrame.cpp, src/Package.cpp, src/Tar.cpp, src/Tar.hpp: Split out DFilesystem.cpp (continued): fix bugs 2008-05-01 Sylvain Beucler * COPYING.DFArc2-woe, doc/dfs_split.txt, src/Config.cpp, src/Config.hpp, src/DFArcApp.cpp, src/DFArcFrame.cpp, src/DFArcFrame.hpp, src/DFile.cpp, src/DFile.hpp, src/DFilesystem.cpp, src/DFilesystem.hpp, src/DMod.cpp, src/DMod.hpp, src/IOUtils.cpp, src/IOUtils.hpp, src/InstallVerifyFrame.cpp, src/InstallVerifyFrame.hpp, src/Makefile.am, src/Package.cpp, src/Package.hpp, src/Tar.cpp, src/Tar.hpp: Split out DFilesystem.cpp (continued) + clean-ups 2008-05-01 Sylvain Beucler * NEWS, src/Config.cpp, src/Config.hpp, src/DFArcApp.cpp, src/DFArcFrame.cpp, src/DFilesystem.cpp, src/DFilesystem.hpp, src/DMod.cpp, src/IOUtils.cpp, src/Options.cpp, src/Options_Base.wxg: Better DMod auto-detection (remove 'list all dirs' configuration option) 2008-05-01 Sylvain Beucler * doc/dfs_split.txt, src/DFArcFrame.cpp, src/DFArcFrame.hpp, src/DFArcFrame_Base.wxg, src/DFilesystem.cpp, src/DMod.cpp: Split out DFilesystem.cpp (continued) 2008-04-27 Sylvain Beucler * doc/dfs_split.txt, src/DFArcFrame.cpp, src/DFilesystem.cpp, src/DMod.cpp, src/DMod.hpp, src/Makefile.am, src/Package.cpp: Split out DFilesystem.cpp (in progress) 2008-04-27 Sylvain Beucler * src/Config.cpp, src/Config.hpp, src/DFArcFrame.cpp, src/DFArcFrame.hpp, src/DFilesystem.cpp, src/Makefile.am, src/Options.cpp, src/Options.hpp: Factor configuration management 2008-04-27 Sylvain Beucler * src/DFArcFrame.cpp, src/DFArcFrame.hpp, src/DFArcFrame_Base.wxg, src/IOUtils.cpp, src/IOUtils.hpp, src/Makefile.am, src/Options.cpp, src/Options.hpp: Fixup configuration; add FreeDink-style case-insensitive filename converter 2008-04-27 Sylvain Beucler * src/Options.cpp, src/Options.hpp, src/Options_Base.wxg: Clarify/reorder options 2008-04-27 Sylvain Beucler * NEWS, src/DFArcApp.cpp, src/DFArcFrame.cpp, src/DFilesystem.cpp, src/DFilesystem.hpp, src/InstallVerifyFrame.cpp, src/Options.cpp, src/Options.hpp, src/Options_Base.wxg, src/Tar.cpp: Prepare paths clean-up 2008-03-09 Sylvain Beucler * src/DFArcApp.cpp: Show main window after a successful command-line install 2008-03-09 Sylvain Beucler * NEWS, src/Makefile.am, src/Tar.cpp: Try to interpret filenames as latin-1 during extraction, if not valid UTF-8 2008-01-31 Sylvain Beucler * bootstrap, configure.ac, po/POTFILES.in, po/dfarc2.pot, po/fr.po, src/BZip.cpp, src/BZip.hpp, src/DFArcFrame.cpp, src/DFArcFrame.hpp, src/DFDIZWindow.cpp, src/DFDIZWindow.hpp, src/DFile.cpp, src/DFile.hpp, src/DFilesystem.cpp, src/DFilesystem.hpp, src/InstallVerifyFrame.cpp, src/InstallVerifyFrame.hpp, src/Makefile.am, src/Options_Base.wxg, src/Package.hpp, src/RecursiveDelete.hpp, src/Tar.cpp, src/Tar.hpp: Various clean-ups 2008-01-27 Sylvain Beucler * po/dfarc2.pot, po/fr.po: refresh po 2008-01-27 Sylvain Beucler * configure.ac: Fail if wxglade is not present at ./configure time 2008-01-27 Sylvain Beucler * po/dfarc2.pot, po/fr.po, src/Package.cpp: Update translations 2008-01-27 Sylvain Beucler * doc/dfarc.txt: Move dfarc documentation from FreeDink 2008-01-27 Sylvain Beucler * TODO, configure.ac, doc/cross.txt, src/DFArcFrame.cpp, src/DFilesystem.cpp, src/Package.cpp, src/Tar.cpp: Tar::ReadHeaders can work on flux 2008-01-27 Sylvain Beucler * src/BZip.cpp, src/BZip.hpp, src/Tar.cpp, src/Tar.hpp: Accurate progress bar for decompression 2008-01-26 Sylvain Beucler * src/Tar.cpp: Set dmod.diz as tar's first entry 2008-01-26 Sylvain Beucler * NEWS, doc/debug.txt, src/DFilesystem.cpp, src/Package.cpp, src/Tar.cpp, src/Tar.hpp: Archive creation: more accurate progress bar; remove savegames and cache/backup files; display compression ratio; clean-up 2008-01-26 Sylvain Beucler * NEWS, src/Package.cpp, src/Tar.cpp, src/Tar.hpp: Archive creation: Tar+BZip in a single step + clean-up and portability 2008-01-26 Sylvain Beucler * src/BZip.cpp, src/BZip.hpp, src/InstallVerifyFrame.cpp, src/Package.cpp, src/README-wxg, src/README.wxg: Rename Bzip->BZip 2008-01-23 Sylvain Beucler * po/dfarc2.pot, po/fr.po, src/InstallVerifyFrame.cpp: Complete French translation 2008-01-23 Sylvain Beucler * src/DFArcApp.cpp: wxLocale object must be kept alive 2008-01-22 Sylvain Beucler * ABOUT-NLS, ChangeLog, Makefile.am, configure.ac, m4/ChangeLog, m4/gettext.m4, m4/iconv.m4, m4/lib-ld.m4, m4/lib-link.m4, m4/lib-prefix.m4, m4/nls.m4, m4/po.m4, m4/progtest.m4, po/.gitignore, po/ChangeLog, po/LINGUAS, po/Makefile.in.in, po/Makevars, po/POTFILES.in, po/Rules-quot, po/boldquot.sed, po/dfarc2.pot, po/en@boldquot.header, po/en@quot.header, po/fr.po, po/insert-header.sin, po/quot.sed, po/remove-potcdate.sin, src/DFArcApp.cpp, src/DFArcFrame.cpp, src/Makefile.am: Add i18n - gettextize 2008-01-21 Sylvain Beucler * src/Package.cpp: Reset the progress bar between tar and bz2 2008-01-21 Sylvain Beucler * configure.ac, src/BZip.cpp, src/Package.cpp: More precise bzip2 read buffer block size; improve bzip2 compression progress bar 2008-01-20 Sylvain Beucler * NEWS, src/DFArcApp.cpp, src/DFArcFrame.cpp, src/InstallVerifyFrame.cpp, src/InstallVerifyFrame.hpp, src/InstallVerifyFrame_Base.wxg, src/Makefile.am: wxgladify and clean-up InstallVerifyFrame 2008-01-20 Sylvain Beucler * NEWS, src/Tar.cpp: Fix permissions when creating directories 2008-01-20 Sylvain Beucler * src/Options.cpp, src/Package.cpp, src/Package_Base.wxg: Don't implement close/cancel in dialogs, that's automatic 2008-01-20 Sylvain Beucler * NEWS, configure.ac, src/DFArcApp.cpp, src/DFArcFrame_Base.wxg, src/Makefile.am, src/Options_Base.wxg, src/Package.cpp, src/Package.hpp, src/Package_Base.wxg: wxgladified 'Package' window 2008-01-20 Sylvain Beucler * NEWS, configure.ac, src/DFArcApp.cpp, src/DFArcFrame.cpp, src/Makefile.am, src/Options.cpp, src/Options.hpp, src/Options_Base.wxg: Options is wxgladified; implement --help and --version for 'make distcheck' compliance' 2008-01-19 Sylvain Beucler * Makefile.am, configure.ac, debian/.gitignore, debian/BUILD, debian/changelog, debian/compat, debian/control, debian/copyright, debian/dfarc2.1, debian/dfarc2.xpm, debian/docs, debian/install, debian/manpages, debian/menu, debian/rules, debian/update-autotools-config.sh, debian/watch, share/Makefile.am, share/README, share/applications/dfarc2.desktop, src/Makefile.am: Desktop icon, Debian package and other build system niceties 2008-01-19 Sylvain Beucler * configure.ac, src/DFArcFrame.cpp, src/DFArcFrame.hpp, src/DFArcFrame_Base.wxg, src/Makefile.am, src/tarmisc.cpp, src/woeres.rc.in: Cross-compilation with mingw32 (2) + fixes 2008-01-19 Sylvain Beucler * configure.ac, doc/cross.txt, src/DFArcFrame.cpp, src/DFArcFrame.hpp, src/DFile.hpp, src/DFilesystem.cpp, src/DFilesystem.hpp, src/Package.cpp: Cross-compilation with mingw32 2008-01-19 Sylvain Beucler * src/DFArcFrame.cpp, src/Options.cpp: Actually EXEEXT includes the leading dot already 2008-01-19 Sylvain Beucler * src/DFArcFrame.cpp, src/Makefile.am, src/Options.cpp: Replace hard-coded '.exe' extension by $EXTEXT 2008-01-18 Sylvain Beucler * src/DFArcFrame.cpp, src/DFArcFrame_Base.wxg, src/DFilesystem.cpp, src/DFilesystem.hpp: Fix show/hide dev. buttons; look for dmod.diz case-insensitively; fix main frame minimal size 2008-01-15 Sylvain Beucler * src/BZip.cpp, src/BZip.hpp, src/DFArcApp.cpp, src/DFArcFrame.cpp, src/DFArcFrame.hpp, src/DFDIZWindow.cpp, src/DFDIZWindow.hpp, src/DFile.cpp, src/DFile.hpp, src/DFilesystem.cpp, src/DFilesystem.hpp, src/InstallVerifyFrame.cpp, src/InstallVerifyFrame.hpp, src/Makefile.am, src/Package.cpp, src/Package.hpp, src/Tar.cpp, src/Tar.hpp, src/bzip.cpp, src/bzip.hpp, src/dfarc.hpp, src/dfdizwindow.cpp, src/dfdizwindow.hpp, src/dfile.cpp, src/dfile.hpp, src/dfilesystem.cpp, src/dfilesystem.hpp, src/includes.hpp, src/tar.cpp, src/tar.hpp: Reorganize header files 2008-01-14 Sylvain Beucler * src/DFArcFrame.cpp, src/Package.cpp, src/RecursiveDelete.cpp: small fixes 2008-01-14 Sylvain Beucler * doc/cross.txt, src/Makefile.am: build system 2008-01-14 Sylvain Beucler * .gitignore, ChangeLog, DFArcApp.cpp, DFArcFrame.cpp, DFArcFrame.hpp, DFArcFrame_Base.wxg, InstallVerifyFrame.cpp, InstallVerifyFrame.hpp, Makefile, Makefile.am, NEWS, Options.cpp, Options.hpp, Package.cpp, Package.hpp, README, README.wxg, RecursiveDelete.cpp, RecursiveDelete.hpp, THANKS, bootstrap, bzip.cpp, bzip.hpp, configure.ac, dfarc.hpp, dfdizwindow.cpp, dfdizwindow.hpp, dfile.cpp, dfile.hpp, dfilesystem.cpp, dfilesystem.hpp, doc/wxglade.txt, icon_xpm.c, icon_xpm.h, includes.hpp, src/.gitignore, src/DFArcApp.cpp, src/DFArcFrame.cpp, src/DFArcFrame.hpp, src/DFArcFrame_Base.wxg, src/InstallVerifyFrame.cpp, src/InstallVerifyFrame.hpp, src/Makefile.am, src/Options.cpp, src/Options.hpp, src/Package.cpp, src/Package.hpp, src/README.wxg, src/RecursiveDelete.cpp, src/RecursiveDelete.hpp, src/bzip.cpp, src/bzip.hpp, src/dfarc.hpp, src/dfdizwindow.cpp, src/dfdizwindow.hpp, src/dfile.cpp, src/dfile.hpp, src/dfilesystem.cpp, src/dfilesystem.hpp, src/icon_xpm.cpp, src/icon_xpm.hpp, src/includes.hpp, src/tar.cpp, src/tar.hpp, src/tarmisc.cpp, tar.cpp, tar.hpp, tarmisc.cpp, wxglade.txt: autoconfiscate 2008-01-13 Sylvain Beucler * AUTHORS, DFArcApp.cpp, DFArcApp.hpp, DFArcFrame.cpp, DFArcFrame.hpp, DFArcFrame_Base.wxg, Makefile, Options.cpp, bzip.cpp, dfilesystem.cpp, icon_xpm.c, icon_xpm.h: Fixes: convert dmod.diz from latin-1 charset; add an icon 2008-01-13 Sylvain Beucler * DFArcApp.cpp, DFArcFrame.cpp, DFArcFrame.hpp, DFArcFrame_Base.wxg, InstallVerifyFrame.cpp, InstallVerifyFrame.hpp, Makefile, NEWS, Options.cpp, Options.hpp, Package.cpp, Package.hpp, RecursiveDelete.cpp, RecursiveDelete.hpp, bzip.cpp, bzip.hpp, dfdizwindow.cpp, dfdizwindow.hpp, dfile.cpp, dfile.hpp, dfilesystem.cpp, dfilesystem.hpp, tar.cpp, tar.hpp, tarmisc.cpp: Now compiles under GCC-4 and wxWidgets-2.6 2008-01-13 Sylvain Beucler * .gitignore, AUTHORS, COPYING, COPYING.DFArc, COPYING.DFArc2-woe, DFArc2.vcproj, DFArcApp.cpp, DFArcApp.hpp, DFArcFrame.cpp, DFArcFrame.hpp, DFArcFrame_Base.wxg, InstallVerifyFrame.hpp, Makefile, Options.cpp, Options.hpp, Package.hpp, README.wxg, RecursiveDelete.hpp, bzip.hpp, dfarc2.rc, dfdizwindow.hpp, dfile.hpp, dfilesystem.hpp, license.txt, resource1.h, tar.hpp, tarjunk.cpp, wxglade.txt: Clean-up + main frame converted to wxGlade 2008-01-11 Sylvain Beucler * Import from Dink Smallwood v1.08 source tarball (http://www.codedojo.com/) dfarc-3.12/BUILD0000664000175000017510000001236012417760236010236 00000000000000Instructions to build from scratch (from the repository sources). If you downloaded a release you can skip the "Bootstrap" instructions and go to "Dependencies" directly. These instructions may sound redundant with the packaging specs (.deb, .rpm, .ebuild, etc.) but they are necessary for people who want to compile the latest, not-yet-packaged sources :) Quick version ============= Requires wxWidgets and bzip2 to compile... Just type ./configure && make && make install to get it working. Issue with wxGlade ================== If you're recompiling from Git or modifying the .wxg files, there's an issue with wxGlade [0.6.6, 0.6.9[. See https://sourceforge.net/p/wxglade/bugs/161/ for details and a fix. Also as of 2014-05 wxGlade is not officially compatible with wxWidgets 3. https://bitbucket.org/agriggio/wxglade/commits/acbfabfba67bc795a6ccecaabda933ecb0d0f63d#chg-wxglade.py There's a work-around in 'src/Makefile.am'. On a minimal Debian system ========================== ## Bootstrap # Source code: apt-get install git-core git clone git://git.sv.gnu.org/freedink/dfarc cd dfarc # autotools apt-get install autoconf automake apt-get install wx-common # for wxwin.m4 apt-get install intltool # for intltool.m4 sh bootstrap apt-get install python-wxglade ## Dependencies # Base: GCC, make & al. apt-get install build-essential # DFArc uses bzip2, wxwidgets apt-get install libbz2-dev libwxgtk3.0-dev intltool # Optional: # - upx compresses binary # - xdg-utils to detect file browser apt-get install upx-ucl xdg-utils ## Compilation ./configure make make install ## Release tests make dist make distcheck # :) On a minimal Fedora system ========================== ## Bootstrap # Source code: yum install git-core git clone git://git.sv.gnu.org/freedink/dfarc cd dfarc # autotools yum install autoconf automake yum install wxGTK3-devel # for wxwin.m4 yum install intltool # for intltool.m4 # beware: you need intltool >= 0.40 to bootstrap a proper # configure.ac, otherwise you'll get old-style included intltool tools # in your archive (instead of depending on the user system one), and # which don't work well with AC_CONFIG_AUX_DIR sh bootstrap ## Dependencies # Base: GCC, make & al. # Note: 'groupinstall' not working with pkcon yet yum groupinstall 'Development Tools' # or just: #yum install make gcc-c++ # DFArc uses bzip2, wxwidgets yum install wxGTK3-devel bzip2-devel intltool # Optional: # - upx compresses binary # - xdg-utils to detect file browser yum install upx xdg-utils ## Compilation ./configure --with-wx-config=/usr/libexec/wxGTK3/wx-config make make install ## Release tests make dist make distcheck # :) On a minimal Gentoo system ========================== ## Bootstrap # Source code: emerge dev-util/git git clone git://git.sv.gnu.org/freedink/dfarc cd dfarc # I assume you already have autoconf & al. ;) # Make sure you have the 'X' USE in /etc/make.conf or # echo "x11-libs/wxGTK X" >> /etc/portage/package.use # echo "x11-libs/cairo X" >> /etc/portage/package.use emerge wxGTK # for wxwin.m4 emerge intltool # for intltool.m4 # beware: you need intltool >= 0.40 to bootstrap a proper # configure.ac, otherwise you'll get old-style included intltool tools # in your archive (instead of depending on the user system one), and # which don't work well with AC_CONFIG_AUX_DIR sh bootstrap ## Dependencies # I also assume you already have GCC, Make and gettext ;) # DFArc uses bzip2, wxwidgets and intltool emerge wxGTK eselect wxwidgets list eselect wxwidgets set 1 # or any option from the list above emerge bzip2 intltool # Optional: # - upx compresses binary # - xdg-utils to detect file browser emerge upx xdg-utils ## Compilation ./configure make make install ## Release tests make dist make distcheck # :) On a minimal FreeBSD 6.3 system =============================== ## Bootstrap # Source code: pkg_add -r git git clone git://git.sv.gnu.org/freedink cd freedink # autotools # Note: you need to specify explicit versions pkg_add -r autoconf261 automake19 pkg_add -r wxgtk2-common # for wxwin.m4 #pkg_add -r intltool # for intltool.m4 # beware: you need intltool >= 0.40 to bootstrap a proper # configure.ac, otherwise you'll get old-style included intltool tools # in your archive (instead of depending on the user system one), and # which don't work well with AC_CONFIG_AUX_DIR set VERSION=0.40.0 wget http://ftp.acc.umu.se/pub/GNOME/sources/intltool/0.40/intltool-$VERSION.tar.bz2 tar xjf intltool-$VERSION.tar.bz2 pkg_add -r gmake ./configure && gmake && gmake install cd intltool-$VERSION sh bootstrap ## Dependencies # I assume you already have GCC and Make ;) # Required: wxWidgets, libbz2 pkg_add -r wxgtk2-unicode pkg_add -r bzip2 # also installs libbz2 pkg_add -r intltool ./configure && make && make install # Optional: # - upx compresses binary # - xdg-utils to detect file browser pkg_add -r upx xdg-utils # gmake is necessary for Makefile.in.in from intltool pkg_add -r gmake ## Compilation ./configure --with-wx-config=wxgtk2u-2.8-config gmake gmake install ## Bug: intltool installs .mo files in $prefix/lib, check: # http://bugzilla.gnome.org/show_bug.cgi?id=563034 ## Release tests make dist make distcheck # :) On a minimal Woe system ======================= Check doc/cross.txt (for cross compiling from GNU/Linux + MinGW32). dfarc-3.12/debian/0002775000175000017510000000000012420022726010743 500000000000000dfarc-3.12/debian/watch0000664000175000017510000000011612401136360011707 00000000000000version=3 http://ftp.gnu.org/gnu/freedink/dfarc-(.*)\.tar\.gz debian uupdate dfarc-3.12/debian/menu0000664000175000017510000000027612401134574011561 00000000000000?package(freedink-dfarc):needs="X11" section="Games/Adventure"\ title="DFArc - Dink frontend" command="/usr/games/dfarc"\ longtitle="Run, edit, install, remove and package Dink MODules" dfarc-3.12/debian/control0000664000175000017510000000276512401134256012277 00000000000000Source: freedink-dfarc Section: games Priority: extra Maintainer: Debian Games Team Uploaders: Sylvain Beucler Build-Depends: debhelper (>= 9), autotools-dev, libbz2-dev, libwxgtk3.0-dev, intltool Standards-Version: 3.9.5 Homepage: http://www.gnu.org/software/freedink/ Vcs-Git: git://git.savannah.gnu.org/freedink/dfarc.git Vcs-Browser: http://git.savannah.gnu.org/cgit/freedink/dfarc.git Package: freedink-dfarc Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: freedink, xdg-utils Description: frontend and .dmod installer for GNU FreeDink Dink Smallwood is an adventure/role-playing game, similar to Zelda, made by RTsoft. Besides twisted humor, it includes the actual game editor, allowing players to create hundreds of new adventures called Dink Modules or D-Mods for short. . DFArc2 makes it easy to play and manage the Dink Smallwood game and its numerous D-Mods. Package: freedink-dfarc-dbg Section: debug Architecture: any Depends: ${misc:Depends}, freedink-dfarc (= ${binary:Version}) Description: debugging symbols for dfarc Dink Smallwood is an adventure/role-playing game, similar to Zelda, made by RTsoft. Besides twisted humor, it includes the actual game editor, allowing players to create hundreds of new adventures called Dink Modules or D-Mods for short. . DFArc2 makes it easy to play and manage the Dink Smallwood game and its numerous D-Mods. . This package contains the debugging symbols for dfarc. dfarc-3.12/debian/rules0000775000175000017510000000276012401134753011751 00000000000000#!/usr/bin/make -f # -*- makefile -*- # # This file was originally written by Joey Hess and Craig Small. # As a special exception, when this file is copied by dh-make into a # dh-make output file, you may use that output file without restriction. # This special exception was added by Craig Small in version 0.37 of dh-make. # # Modified to make a template file for a multi-binary package with separated # build-arch and build-indep targets by Bill Allombert 2001 # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # This has to be exported to make some magic below work. export DH_OPTIONS %: dh $@ --parallel --with autotools_dev override_dh_auto_configure: # Using '--bindir=/usr/games' by Debian policy # (e.g. not the case for Fedora) # Using '--disable-desktopfiles' to avoid installing FreeDesktop files # on the builder (rather than on the end-user computer) dh_auto_configure -- --bindir=/usr/games --datadir=/usr/share/games \ --disable-desktopfiles --disable-silent-rules override_dh_strip: # Create -dbg package with debug symbols for gdb dh_strip --dbg-package=freedink-dfarc-dbg override_dh_auto_install: # There's only one real package, let's not bother with # debian/tmp + move files in dh_install - install straight in # the appropriate directory dh_auto_install --destdir=debian/freedink-dfarc override_dh_installdocs: # --link-doc requires debhelper 7.4.2 dh_installdocs --link-doc=freedink-dfarc override_dh_installchangelogs: dh_installchangelogs ChangeLog dfarc-3.12/debian/docs0000664000175000017510000000005412340110733011530 00000000000000AUTHORS NEWS README THANKS TRANSLATIONS.txt dfarc-3.12/debian/compat0000664000175000017510000000000212341462050012057 000000000000009 dfarc-3.12/debian/source/0002775000175000017510000000000012340110733012240 500000000000000dfarc-3.12/debian/source/format0000664000175000017510000000001412340110733013364 000000000000003.0 (quilt) dfarc-3.12/debian/copyright0000664000175000017510000001237512400716045012626 00000000000000This is DFArc 3. The original source can always be found at: ftp://ftp.gnu.org/gnu/freedink/ License: GNU FreeDink 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. GNU FreeDink 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, see . On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-3'. DFArc was previously released under different yet GPL-compatible licenses (cf. COPYING.DFArc and COPYING.DFArc-2.0) that request some notices to be included with modified versions, including in binary form. We reproduce these notices below: - First notice from the first public release of DFArc: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Redistributions in any form must be accompanied by information on how to obtain complete source code for the DB software and any accompanying software that uses the DB software. The source code must either be included in the distribution or be available for no more than the cost of distribution plus a nominal fee, and must be freely redistributable under reasonable conditions. For an executable file, complete source code means the source code for all modules it contains. It does not include source code for modules or files that typically accompany the major components of the operating system on which the executable file runs. * The files produced by DFArc are not subject to this license but instead any licensing terms provided inside said files. THIS SOFTWARE IS PROVIDED BY SLEEPYCAT SOFTWARE ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE DISCLAIMED. IN NO EVENT SHALL SLEEPYCAT SOFTWARE BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - Second notice for DFArc2 released as part of a bigger software package: This software is provided "as is" without express or implied warranties. You may freely use, modify and distribute this source provided that the copyright text below is included in the resulting source code, for example: "Portions Copyright (C) Seth A. Robinson, 1997-2003 You may use this source in personal and commercial products, you are not required to release the source code. ---------- 'src/BZip.cpp' comes from bzip2 1.0.4 and is covered by the GNU GPL v3 and the bzip2 licenses: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 3. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 4. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ---------- The Debian packaging is Copyright (C) 2008, 2009, 2010, Sylvain Beucler and is licensed under the GPL, either version 3, or (at your option) any later version, see `/usr/share/common-licenses/GPL-3'. dfarc-3.12/debian/changelog0000664000175000017510000000604612417755100012546 00000000000000freedink-dfarc (3.12-1) UNRELEASED; urgency=medium * New Upstream Release * Copy/paste introduction description from 'freedink' (fixes lintian 'extended-description-is-probably-too-short') * Disable automake silent rules (fixes buildd 'compiler-flags-hidden') * Add %f in .desktop file (fixes lintian desktop-mime-but-no-exec-code) -- Sylvain Beucler Thu, 16 Oct 2014 16:19:47 +0200 freedink-dfarc (3.11.20140901-1) unstable; urgency=medium * New Upstream Snapshot (Closes: #750001) * Bump compat to 9 to address lintian 'hardening-no-relro' * Bump Standards-Version to 3.9.5 (no changes) -- Sylvain Beucler Mon, 01 Sep 2014 00:10:00 +0200 freedink-dfarc (3.10-1) unstable; urgency=low * New Upstream Version * Upgrade packaging to debhelper 7 and source format 3.0 (quilt) * Update copyright file * Bump Standards-Version to 3.9.3 * Update official webpage * Remove lintian override for dh_desktop (not supporting pre-Squeeze anymore) -- Sylvain Beucler Fri, 27 Apr 2012 19:00:00 +0200 freedink-dfarc (3.8.1-1) experimental; urgency=low * New upstream release -- Sylvain Beucler Sun, 14 Nov 2010 10:10:10 +0100 freedink-dfarc (3.8-1) experimental; urgency=low * New upstream release * Use http: rather than ftp: in the watch file, as FTP sometimes doesn't work in some NAT'd networks * Clean-up Etch-related caveats in README.source * Remove alternate dependency to wxWidgets 2.6 * Fix typo in package description * Clarify debian/copyright -- Sylvain Beucler Sat, 30 Oct 2010 08:51:59 +0200 freedink-dfarc (3.6-1) unstable; urgency=low * New Upstream Version * Update years in debian/copyright and add translations information * Bump Standards-Version to 3.8.4 * Fix debhelper-but-no-misc-depends by adding ${misc:Depends} in binary packages dependencies -- Sylvain Beucler Sun, 21 Feb 2010 22:53:28 +0100 freedink-dfarc (3.4-1) unstable; urgency=low * New Upstream Version * Bump Standards-Version to 3.8.3 * Move update of config.sub/config.guess from clean to build target * Add gbp.conf to ignore .gitignore files automatically * Rename BUILD to README.source -- Sylvain Beucler Sat, 19 Sep 2009 00:03:40 +0200 freedink-dfarc (3.2.2-1) unstable; urgency=low * New Upstream Version * Remove obsolete dh_make-generated code (for setting CFLAGS) * Fix incomplete copyright notice generated by dh_make (add 'Copyright' in front of '(C)') * Use good practices from autotools-dev to compute --host and --build parameters to ./configure * Move -dbg packages to section 'debug' * Add lintian override for dh_desktop obsoletion warning, since we're using it in backports. * Depends on debhelper >= 6.0.7 to use dh_lintian -- Sylvain Beucler Fri, 23 Jun 2009 20:49:47 +0200 freedink-dfarc (3.2.1-1) unstable; urgency=low * Initial package (Closes: #492760) -- Sylvain Beucler Sat, 20 Sep 2008 20:38:37 +0200 dfarc-3.12/debian/README.source0000664000175000017510000000077412401134504013045 00000000000000wxglade ======= The .wxg GUI files are pre-processsed to .cpp files by the build system when generating upstream release tarballs. It may use a version of wxglade that is more recent that your target Debian release, so it's better not to reprocess them, otherwise bugs may be introduced (last time that happened, OK/Cancel buttons didn't work anymore). This is similar to keeping upstream './configure' scripts instead autoreconf-ing. -- Sylvain Beucler , Sun, 23 May 2010 22:30:02 +0200 dfarc-3.12/config.h.in0000664000175000017510000000556012417764242011504 00000000000000/* config.h.in. Generated from configure.ac by autoheader. */ /* Define to 1 if you have the header file, and it defines `DIR'. */ #undef HAVE_DIRENT_H /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H /* Define to 1 if you have the `bz2' library (-lbz2). */ #undef HAVE_LIBBZ2 /* Define to 1 if you have the header file. */ #undef HAVE_MEMORY_H /* Define to 1 if you have the `memset' function. */ #undef HAVE_MEMSET /* Define to 1 if you have the header file, and it defines `DIR'. */ #undef HAVE_NDIR_H /* Define to 1 if you have the `pow' function. */ #undef HAVE_POW /* Define to 1 if `stat' has the bug that it succeeds when given the zero-length file name argument. */ #undef HAVE_STAT_EMPTY_STRING_BUG /* Define to 1 if stdbool.h conforms to C99. */ #undef HAVE_STDBOOL_H /* Define to 1 if you have the header file. */ #undef HAVE_STDINT_H /* Define to 1 if you have the header file. */ #undef HAVE_STDLIB_H /* Define to 1 if you have the header file. */ #undef HAVE_STRINGS_H /* Define to 1 if you have the header file. */ #undef HAVE_STRING_H /* Define to 1 if `st_blksize' is a member of `struct stat'. */ #undef HAVE_STRUCT_STAT_ST_BLKSIZE /* Define to 1 if you have the header file, and it defines `DIR'. */ #undef HAVE_SYS_DIR_H /* Define to 1 if you have the header file, and it defines `DIR'. */ #undef HAVE_SYS_NDIR_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_STAT_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TYPES_H /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H /* Define to 1 if the system has the type `_Bool'. */ #undef HAVE__BOOL /* Define to 1 if `lstat' dereferences a symlink specified with a trailing slash. */ #undef LSTAT_FOLLOWS_SLASHED_SYMLINK /* Name of package */ #undef PACKAGE /* Define to the address where bug reports for this package should be sent. */ #undef PACKAGE_BUGREPORT /* Define to the full name of this package. */ #undef PACKAGE_NAME /* Define to the full name and version of this package. */ #undef PACKAGE_STRING /* Define to the one symbol short name of this package. */ #undef PACKAGE_TARNAME /* Define to the home page for this package. */ #undef PACKAGE_URL /* Define to the version of this package. */ #undef PACKAGE_VERSION /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS /* Version number of package */ #undef VERSION /* Define to empty if `const' does not conform to ANSI C. */ #undef const /* Define to `__inline__' or `__inline' if that's what the C compiler calls it, or to nothing if 'inline' is not supported under any name. */ #ifndef __cplusplus #undef inline #endif /* Define to `unsigned int' if does not define. */ #undef size_t dfarc-3.12/Makefile.in0000664000175000017510000006507012417764236011533 00000000000000# Makefile.in generated by automake 1.14.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2013 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = . DIST_COMMON = INSTALL NEWS README AUTHORS ChangeLog THANKS \ $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ $(top_srcdir)/configure $(am__configure_deps) \ $(srcdir)/config.h.in ABOUT-NLS COPYING TODO autotools/compile \ autotools/config.guess autotools/config.sub autotools/depcomp \ autotools/install-sh autotools/missing \ $(top_srcdir)/autotools/compile \ $(top_srcdir)/autotools/config.guess \ $(top_srcdir)/autotools/config.sub \ $(top_srcdir)/autotools/install-sh \ $(top_srcdir)/autotools/missing ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \ $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ configure.lineno config.status.lineno mkinstalldirs = $(install_sh) -d CONFIG_HEADER = config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ ctags-recursive dvi-recursive html-recursive info-recursive \ install-data-recursive install-dvi-recursive \ install-exec-recursive install-html-recursive \ install-info-recursive install-pdf-recursive \ install-ps-recursive install-recursive installcheck-recursive \ installdirs-recursive pdf-recursive ps-recursive \ tags-recursive uninstall-recursive am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive am__recursive_targets = \ $(RECURSIVE_TARGETS) \ $(RECURSIVE_CLEAN_TARGETS) \ $(am__extra_recursive_targets) AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ cscope distdir dist dist-all distcheck am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \ $(LISP)config.h.in # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags CSCOPE = cscope DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) am__remove_distdir = \ if test -d "$(distdir)"; then \ find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ && rm -rf "$(distdir)" \ || { sleep 5 && rm -rf "$(distdir)"; }; \ else :; fi am__post_remove_distdir = $(am__remove_distdir) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" DIST_ARCHIVES = $(distdir).tar.gz $(distdir).zip GZIP_ENV = --best DIST_TARGETS = dist-gzip dist-zip distuninstallcheck_listfiles = find . -type f -print am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' distcleancheck_listfiles = find . -type f -print ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ UPX = @UPX@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WINDRES = @WINDRES@ WXGLADE = @WXGLADE@ WX_CFLAGS = @WX_CFLAGS@ WX_CFLAGS_ONLY = @WX_CFLAGS_ONLY@ WX_CONFIG_PATH = @WX_CONFIG_PATH@ WX_CPPFLAGS = @WX_CPPFLAGS@ WX_CXXFLAGS = @WX_CXXFLAGS@ WX_CXXFLAGS_ONLY = @WX_CXXFLAGS_ONLY@ WX_LIBS = @WX_LIBS@ WX_LIBS_STATIC = @WX_LIBS_STATIC@ WX_RESCOMP = @WX_RESCOMP@ WX_VERSION = @WX_VERSION@ WX_VERSION_MAJOR = @WX_VERSION_MAJOR@ WX_VERSION_MICRO = @WX_VERSION_MICRO@ WX_VERSION_MINOR = @WX_VERSION_MINOR@ XDG_DESKTOP_MENU = @XDG_DESKTOP_MENU@ XDG_ICON_RESOURCE = @XDG_ICON_RESOURCE@ XDG_MIME = @XDG_MIME@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ intltool__v_merge_options_ = @intltool__v_merge_options_@ intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ AUTOMAKE_OPTIONS = gnits # src/ before po/, so wxglade can generate some translatable source # files first. SUBDIRS = src share po # Copy those directly and recursively: # Build system # Documentation # Packaging EXTRA_DIST = bootstrap m4/ChangeLog doc BUILD COPYING.DFArc \ COPYING.DFArc-2.0 TRANSLATIONS.txt debian freedink-dfarc.spec ACLOCAL_AMFLAGS = -I m4 all: config.h $(MAKE) $(AM_MAKEFLAGS) all-recursive .SUFFIXES: am--refresh: Makefile @: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ echo ' cd $(srcdir) && $(AUTOMAKE) --gnits'; \ $(am__cd) $(srcdir) && $(AUTOMAKE) --gnits \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnits Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnits Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ echo ' $(SHELL) ./config.status'; \ $(SHELL) ./config.status;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(top_srcdir)/configure: $(am__configure_deps) $(am__cd) $(srcdir) && $(AUTOCONF) $(ACLOCAL_M4): $(am__aclocal_m4_deps) $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) $(am__aclocal_m4_deps): config.h: stamp-h1 @test -f $@ || rm -f stamp-h1 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status @rm -f stamp-h1 cd $(top_builddir) && $(SHELL) ./config.status config.h $(srcdir)/config.h.in: $(am__configure_deps) ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) rm -f stamp-h1 touch $@ distclean-hdr: -rm -f config.h stamp-h1 # This directory's subdirectories are mostly independent; you can cd # into them and run 'make' without going through this Makefile. # To change the values of 'make' variables: instead of editing Makefiles, # (1) if the variable is set in 'config.status', edit 'config.status' # (which will cause the Makefiles to be regenerated when you run 'make'); # (2) otherwise, pass the desired values on the 'make' command line. $(am__recursive_targets): @fail=; \ if $(am__make_keepgoing); then \ failcom='fail=yes'; \ else \ failcom='exit 1'; \ fi; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-recursive TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-recursive CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscope: cscope.files test ! -s cscope.files \ || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) clean-cscope: -rm -f cscope.files cscope.files: clean-cscope cscopelist cscopelist: cscopelist-recursive cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags -rm -f cscope.out cscope.in.out cscope.po.out cscope.files distdir: $(DISTFILES) @case `sed 15q $(srcdir)/NEWS` in \ *"$(VERSION)"*) : ;; \ *) \ echo "NEWS not updated; not releasing" 1>&2; \ exit 1;; \ esac $(am__remove_distdir) test -d "$(distdir)" || mkdir "$(distdir)" @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ $(am__make_dryrun) \ || test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$(top_distdir)" distdir="$(distdir)" \ dist-hook -test -n "$(am__skip_mode_fix)" \ || find "$(distdir)" -type d ! -perm -755 \ -exec chmod u+rwx,go+rx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ || chmod -R a+r "$(distdir)" dist-gzip: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__post_remove_distdir) dist-bzip2: distdir tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 $(am__post_remove_distdir) dist-lzip: distdir tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz $(am__post_remove_distdir) dist-xz: distdir tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz $(am__post_remove_distdir) dist-tarZ: distdir @echo WARNING: "Support for shar distribution archives is" \ "deprecated." >&2 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z $(am__post_remove_distdir) dist-shar: distdir @echo WARNING: "Support for distribution archives compressed with" \ "legacy program 'compress' is deprecated." >&2 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz $(am__post_remove_distdir) dist-zip: distdir -rm -f $(distdir).zip zip -rq $(distdir).zip $(distdir) $(am__post_remove_distdir) dist dist-all: $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:' $(am__post_remove_distdir) # This target untars the dist file and tries a VPATH configuration. Then # it guarantees that the distribution is self-contained by making another # tarfile. distcheck: dist case '$(DIST_ARCHIVES)' in \ *.tar.gz*) \ GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ *.tar.bz2*) \ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ *.tar.lz*) \ lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ *.tar.xz*) \ xz -dc $(distdir).tar.xz | $(am__untar) ;;\ *.tar.Z*) \ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ *.shar.gz*) \ GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ esac chmod -R a-w $(distdir) chmod u+w $(distdir) mkdir $(distdir)/_build $(distdir)/_inst chmod a-w $(distdir) test -d $(distdir)/_build || exit 0; \ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ && am__cwd=`pwd` \ && $(am__cd) $(distdir)/_build \ && ../configure \ $(AM_DISTCHECK_CONFIGURE_FLAGS) \ $(DISTCHECK_CONFIGURE_FLAGS) \ --srcdir=.. --prefix="$$dc_install_base" \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(MAKE) $(AM_MAKEFLAGS) check \ && $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ && $(MAKE) $(AM_MAKEFLAGS) uninstall \ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ distuninstallcheck \ && chmod -R a-w "$$dc_install_base" \ && ({ \ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ } || { rm -rf "$$dc_destdir"; exit 1; }) \ && rm -rf "$$dc_destdir" \ && $(MAKE) $(AM_MAKEFLAGS) dist \ && rm -rf $(DIST_ARCHIVES) \ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ && cd "$$am__cwd" \ || exit 1 $(am__post_remove_distdir) @(echo "$(distdir) archives ready for distribution: "; \ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' distuninstallcheck: @test -n '$(distuninstallcheck_dir)' || { \ echo 'ERROR: trying to run $@ with an empty' \ '$$(distuninstallcheck_dir)' >&2; \ exit 1; \ }; \ $(am__cd) '$(distuninstallcheck_dir)' || { \ echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ exit 1; \ }; \ test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left after uninstall:" ; \ if test -n "$(DESTDIR)"; then \ echo " (check DESTDIR support)"; \ fi ; \ $(distuninstallcheck_listfiles) ; \ exit 1; } >&2 distcleancheck: distclean @if test '$(srcdir)' = . ; then \ echo "ERROR: distcleancheck can only run from a VPATH build" ; \ exit 1 ; \ fi @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left in build directory after distclean:" ; \ $(distcleancheck_listfiles) ; \ exit 1; } >&2 check-am: all-am check: check-recursive all-am: Makefile config.h installdirs: installdirs-recursive installdirs-am: install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic mostlyclean-am distclean: distclean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -f Makefile distclean-am: clean-am distclean-generic distclean-hdr distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf $(top_srcdir)/autom4te.cache -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: .MAKE: $(am__recursive_targets) all install-am install-strip .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ am--refresh check check-am clean clean-cscope clean-generic \ cscope cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \ dist-gzip dist-hook dist-lzip dist-shar dist-tarZ dist-xz \ dist-zip distcheck distclean distclean-generic distclean-hdr \ distclean-tags distcleancheck distdir distuninstallcheck dvi \ dvi-am html html-am info info-am install install-am \ install-data install-data-am install-dvi install-dvi-am \ install-exec install-exec-am install-html install-html-am \ install-info install-info-am install-man install-pdf \ install-pdf-am install-ps install-ps-am install-strip \ installcheck installcheck-am installdirs installdirs-am \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \ uninstall-am dist-hook: find $(distdir) -name '*~' | xargs -r rm -f # Prepare some files with MS-DOS newlines to ship in woe releases # At the end of each line (doubled $), add a \r, so we get \r\n cd $(distdir) && sed 's/$$/\r/' README > README.txt # Force inclusion of the translation template -cp "$(srcdir)/po/$(GETTEXT_PACKAGE).pot" "$(builddir)/po" # avoid ../.. rule $(MAKE) -C "$(builddir)/po" "$(GETTEXT_PACKAGE).pot" cp "$(builddir)/po/$(GETTEXT_PACKAGE).pot" "$(distdir)/po/" version: @echo $(VERSION) # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: dfarc-3.12/po/0002775000175000017510000000000012420023266010137 500000000000000dfarc-3.12/po/POTFILES.in0000664000175000017510000000066612340110733011637 00000000000000# List of source files which contain translatable strings. src/BZip.cpp src/Config.cpp src/DFArcApp.cpp src/DFArcFrame.cpp src/DFile.cpp src/DMod.cpp src/icon_xpm.cpp src/InstallVerifyFrame.cpp src/IOUtils.cpp src/Options.cpp src/Package.cpp src/RecursiveDelete.cpp src/Tar.cpp src/DFArcFrame_Base.cpp src/InstallVerifyFrame_Base.cpp src/Options_Base.cpp src/Package_Base.cpp share/freedink-dfarc.desktop.in share/freedink-mime.xml.in dfarc-3.12/po/it.po0000664000175000017510000004777011463017575011064 00000000000000# ITALIAN TRANSLATION OF DFARC # Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc. # This file is distributed under the same license as the dfarc package. # # Davide Prina , 2010. # Vincenzo Campanella , 2010. # msgid "" msgstr "" "Project-Id-Version: dfarc 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-10-28 20:47+0000\n" "PO-Revision-Date: 2010-10-30 15:34+0200\n" "Last-Translator: Vincenzo Campanella \n" "Language-Team: Italian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/BZip.cpp:300 #, c-format msgid "Error: Could not open input file '%s' for bzip decompression." msgstr "Errore: impossibile aprire il file di input «%s» per la decompressione con bzip." #: ../src/BZip.cpp:315 msgid "Error: Invalid .dmod file selected!" msgstr "Errore: il file .dmod selezionato non è valido." #: ../src/BZip.cpp:325 #, c-format msgid "Error: Could not write to '%s'." msgstr "Errore: impossibile scrivere in «%s»." #: ../src/BZip.cpp:357 msgid "Invalid .dmod file specified." msgstr "Il file .dmod specificato non è valido." #: ../src/BZip.cpp:361 msgid "Critical program function error: opened for write." msgstr "Errore critico della funzione del programma: aperto per la scrittura." #: ../src/BZip.cpp:365 msgid "Could not read .dmod file." msgstr "Impossibile leggere il file .dmod." #: ../src/BZip.cpp:369 msgid "Incomplete .dmod file. Please download it again." msgstr "Il file .dmod è incompleto. Provare a riscaricarlo." #: ../src/BZip.cpp:373 msgid "The .dmod file is corrupted. Please download it again." msgstr "Il file .dmod è danneggiato. Provare a riscaricarlo." #: ../src/BZip.cpp:377 msgid "The file is not a valid .dmod file." msgstr "Il file non è un file .dmod valido." #: ../src/BZip.cpp:381 msgid "Out of memory error." msgstr "Errore: memoria esaurita." #: ../src/BZip.cpp:385 msgid "An unhandled error occured." msgstr "Si è verificato un errore non gestito." #: ../src/Config.cpp:216 msgid "Error: dinksmallwood.ini not found. Please run the main game and try running this program again." msgstr "Errore: non è stato trovato il file dinksmallwood.ini. Avviare il programma principale e provare a eseguire nuovamente questo programma." #: ../src/Config.cpp:224 msgid "Error opening dinksmallwood.ini" msgstr "Errore durante l'apertura del file dinksmallwood.ini." #: ../src/DFArcFrame.cpp:168 #, c-format msgid "" "DFArc version %s\n" "Copyright (C) 2004 Andrew Reading (merlin)\n" "Copyright (C) 2005, 2006 Dan Walma (redink1)\n" "Copyright (C) 2008, 2009, 2010 Sylvain Beucler (Beuc)\n" "Build Date: %s\n" "Powered by bzip2 (http://www.bzip.org) and wxWidgets (http://www.wxwidgets.org)" msgstr "" "DFArc versione %s\n" "Copyright (C) 2004 Andrew Reading (merlin)\n" "Copyright (C) 2005, 2006 Dan Walma (redink1)\n" "Copyright (C) 2008, 2009, 2010 Sylvain Beucler (Beuc)\n" "Data di compilazione: %s\n" "Creato utilizzando bzip2 (http://www.bzip.org) e wxWidgets (http://www.wxwidgets.org)" #: ../src/DFArcFrame.cpp:175 msgid "About DFArc v3" msgstr "Informazioni su DFArc v3" #. Default logo (currently all black with a question mark) #. TRANSLATORS: please make this SHORT, possibly rephrasing as "< #. Choose!". This is included in the 160x120px logo box in the main #. window and it doesn't word-wrap. #: ../src/DFArcFrame.cpp:246 msgid "< Pick a D-Mod" msgstr "< Scegliere un D-Mod" #: ../src/DFArcFrame.cpp:312 msgid "No translations" msgstr "Nessuna traduzione" #. Not displaying the default language explicitely, because it #. makes the user think that a translation is always available. #. mGameLocaleList->Insert(wxString(_("Default language")) + wxT(" (") + cur_locale_name + wxT(")"), 0); #: ../src/DFArcFrame.cpp:319 ../src/Options.cpp:120 msgid "Don't translate" msgstr "Non tradurre" #: ../src/DFArcFrame.cpp:338 msgid "D-Mod files (*.dmod)" msgstr "File D-Mod (*.dmod)" #: ../src/DFArcFrame.cpp:339 msgid "Select a .dmod file" msgstr "Selezionare un file .dmod" #: ../src/DFArcFrame.cpp:534 #, c-format msgid "The '%s' locale is not installed on your computer (locales tells the computer how to manage a language). You need to install it - check your system documentation." msgstr "La localizzazione «%s» non è installata su questo sistema, ma invece dovrebbe essere installata. Consultare la documentazione del proprio sistema per vedere come installarla. Notare che le localizzazioni servono per indicare al sistema come gestire una determinata lingua." #: ../src/DFArcFrame.cpp:537 ../src/DFArcFrame.cpp:615 msgid "Warning" msgstr "Avvertenza" #: ../src/DFArcFrame.cpp:577 #, c-format msgid "Dink Smallwood failed! Error code %d." msgstr "Dink Smallwood non riuscito. Codice d'errore %d." #: ../src/DFArcFrame.cpp:579 ../src/DFArcFrame.cpp:584 #: ../src/DFArcFrame.cpp:645 ../src/DFArcFrame.cpp:647 #: ../src/DFArcFrame.cpp:690 ../src/DFArcFrame.cpp:699 msgid "Error" msgstr "Errore" #: ../src/DFArcFrame.cpp:581 #, c-format msgid "Dink Smallwood ('%s') was not found on your computer. Please configure the Dink program name in the Options menu." msgstr "Dink Smallwood («%s») non è stato trovato in questo sistema. Configurare il nome del programma Dink nel menù delle opzioni." #: ../src/DFArcFrame.cpp:612 msgid "Dinkedit saves all changes automatically. Altering maps can ruin the game. Are you sure you want to continue?" msgstr "Dinkedit salva automaticamente tutte le modifiche. Modifiche alle mappe possono rovinare il gioco. Si è sicuri di voler continuare?" #: ../src/DFArcFrame.cpp:642 #, c-format msgid "The editor ('%s') was not found on your computer. Please configure the editor program name in the Options menu." msgstr "L'editor («%s») non è stato trovato in questo sistema. Configurare il nome dell'editor nel menù delle opzioni." #: ../src/DFArcFrame.cpp:647 msgid "Error while running the editor" msgstr "Errore durante l'esecuzione dell'editor" #. FreeDesktop #. Gnome #. KDE #. Xfce #: ../src/DFArcFrame.cpp:688 msgid "Could not find a file manager (tried 'xdg-open', 'nautilus', 'konqueror' and 'thunar')" msgstr "Impossibile trovare un gestore di file (sono stati provati: «xdg-open», «nautilus», «konqueror» e «thunar»)" #: ../src/DFArcFrame.cpp:696 #, c-format msgid "Cannot start '%s', please check your configuration in the Options window." msgstr "Impossibile avviare «%s», controllare la configurazione nella finestra delle opzioni." #: ../src/DFArcFrame.cpp:706 msgid "" "Welcome to DFArc, the Dink Smallwood front end!\n" "\n" "You can choose to play the original game (Dink Smallwood) or Dink-Modules (D-Mods) which contain new adventures.\n" "\n" "After completing the main game, give some D-Mods a try.\n" "There are hundreds of them, just click File-Download D-Mods." msgstr "" "Benvenuti in DFArc, l'interfaccia di Dink Smallwood.\n" "\n" "Si può scegliere di giocare al gioco originale, Dink Smallwood, o a Dink-Modules (D-Mod), che contiene nuove avventure.\n" "\n" "Dopo aver completato il gioco principale, provare alcuni D-Mod.\n" "Ci sono centinaia di D-Mod liberamente disponibili, è sufficiente selezionare File-Download D-Mod." #: ../src/DFArcFrame.cpp:713 msgid "Introduction" msgstr "Introduzione" #. If there's no directory, let's not override #: ../src/DFArcFrame.cpp:856 msgid "Cannot use the overriden Dink Smallwood directory - ignoring it. (permission problem?)" msgstr "Impossibile utilizzare la sovrascrittura della directory di Dink Smallwood: problema ignorato. Verificare i permessi." #: ../src/DFArcFrame.cpp:858 ../src/DFArcFrame.cpp:866 msgid "Configuration error" msgstr "Errore di configurazione" #. If there's no directory, let's not override #: ../src/DFArcFrame.cpp:865 msgid "The Dink Smallwood directory you entered does not exist - ignoring it." msgstr "La directory di Dink Smallwood inserita non esiste. Problema ignorato." #: ../src/DFArcFrame.cpp:880 msgid "You must select the uninstall option from the start menu to uninstall the main game." msgstr "Per rimuovere il gioco principale occorre selezionare l'opzione di disinstallazione dal menù di avvio." #: ../src/DFArcFrame.cpp:881 msgid "Uninstall - Error" msgstr "Disinstallazione - Errore" #: ../src/DFArcFrame.cpp:886 msgid "Do you want to remove all save game files?" msgstr "Si vogliono eliminare tutti i salvataggi del gioco?" #: ../src/DFArcFrame.cpp:887 msgid "Uninstall - Save Game Files" msgstr "Disinstallazione - Salvataggi del gioco" #: ../src/DFArcFrame.cpp:909 msgid "Unable to remove D-Mod directory. All other files were removed." msgstr "Impossibile eliminare la directory dei D-Mod. Tutti gli altri file sono stati eliminati." #: ../src/DFArcFrame.cpp:915 msgid "D-Mod successfully uninstalled" msgstr "Disinstallazione dei D-Mod completata con successo" #: ../src/DFArcFrame.cpp:916 msgid "Uninstall - Success" msgstr "Disinstallazione - completata con successo" #: ../src/InstallVerifyFrame.cpp:56 msgid "Preparing" msgstr "Preparazione in corso" #: ../src/InstallVerifyFrame.cpp:57 msgid "The D-Mod archive is being decompressed in a temporary file." msgstr "Si sta decomprimendo l'archivio dei D-Mod in un file temporaneo." #: ../src/InstallVerifyFrame.cpp:81 #, c-format msgid "" "No Description Available.\n" "\n" "The D-Mod will be installed in subdirectory '%s'." msgstr "" "Nessuna descrizione disponibile.\n" "\n" "Il D-Mod verrà installato nella sottodirectory «%s»." #: ../src/InstallVerifyFrame.cpp:94 msgid "DFArc - Install D-Mod - " msgstr "DFArc - Installazione di D-Mod - " #: ../src/InstallVerifyFrame.cpp:143 msgid "DFArc - Installing" msgstr "DFArc - Installazione in corso" #: ../src/InstallVerifyFrame.cpp:157 msgid "The D-Mod you selected" msgstr "Il D-Mod selezionato" #: ../src/InstallVerifyFrame.cpp:159 msgid " was successfully installed." msgstr " è stato installato correttamente." #: ../src/InstallVerifyFrame.cpp:160 ../src/Package.cpp:167 msgid "Success" msgstr "Successo" #: ../src/InstallVerifyFrame.cpp:169 msgid "An error occured while extracting the .dmod file." msgstr "Un errore è occorso durante l'estrazione del file .dmod." #: ../src/Options.cpp:115 msgid "System language" msgstr "Lingua del sistema" #: ../src/Options.cpp:138 msgid "Custom" msgstr "Personalizzata" #: ../src/Options.cpp:177 msgid "Choose the Dink Smallwood install directory" msgstr "Scegliere la directory per l'installazione di Dink Smallwood" #: ../src/Options.cpp:185 msgid "Choose a folder containing D-Mods" msgstr "Scegliere una directory che contiene dei file D-Mod" #: ../src/Package.cpp:123 msgid "You must provide an identifier filename." msgstr "Occorre fornire un identificatore per il nome del file." #: ../src/Package.cpp:139 msgid "Packaging" msgstr "Impacchettamento in corso" #: ../src/Package.cpp:139 msgid "The D-Mod is being packaged." msgstr "Il D-Mod sta per essere impacchettato." #. Success dialog #: ../src/Package.cpp:165 #, c-format msgid "%s was successfully packaged (compression ratio %2.1f : 1)." msgstr "%s è stato impacchettato con successo (percentuale di compressione %2.1f : 1)." #: ../src/Package.cpp:172 msgid "Packaging aborted - removing partial .dmod file." msgstr "Operazione d'impacchettamento interrotta - rimozione del file .dmod parziale." #: ../src/Package.cpp:173 msgid "Abort" msgstr "Interruzione" #: ../src/RecursiveDelete.cpp:55 ../src/RecursiveDelete.cpp:73 #, c-format msgid "Could not remove %s" msgstr "Impossibile rimuovere %s" #: ../src/Tar.cpp:91 msgid "Listing files..." msgstr "Elenco dei file" #: ../src/Tar.cpp:125 msgid "Initializing..." msgstr "Inizializzazione in corso" #: ../src/Tar.cpp:129 #, c-format msgid "Error: Could not open tar file '%s' for bzip compression." msgstr "Errore: impossibile aprire il file tar «%s» per la compressione con bzip." #: ../src/Tar.cpp:130 msgid "ERROR" msgstr "ERRORE" #: ../src/Tar.cpp:151 msgid "Error: Could not initialize compression method! Will not generate a correct .dmod file. Quitting." msgstr "Errore: impossibile inizializzare il metodo di compressione. Non sarà generato un file .dmod corretto. Operazione annullata." #: ../src/Tar.cpp:184 #, c-format msgid "Error: File '%s' not found! Cannot archive file." msgstr "Errore: il file «%s» non è stato trovato. Impossibile archiviare il file." #. Close the output file. #: ../src/Tar.cpp:234 msgid "Closing..." msgstr "Chiusura in corso" #: ../src/Tar.cpp:354 #, c-format msgid "Error: File '%s' not found! Cannot read data." msgstr "Errore: il file «%s» non è stato trovato. Impossibile leggere i dati." #. Nope. Exit. #: ../src/Tar.cpp:391 msgid "Error: This .dmod file has an invalid checksum! Cannot read file." msgstr "Errore: questo file .dmod ha un checksum non valido. Impossibile leggere il file." #: ../src/Tar.cpp:476 #, c-format msgid "Error: File '%s' not found! Cannot extract data." msgstr "Errore: il file «%s» non è stato trovato. Impossibile estrarre i dati." #: ../src/Tar.cpp:486 #, c-format msgid "Error: Cannot create directory '%s'. Cannot extract data." msgstr "Errore: impossibile creare la directory «%s». Impossibile estrarre i dati." #: ../src/Tar.cpp:544 #, c-format msgid "Got bad file %d/%d. Skipping." msgstr "File %d/%d danneggiato. Saltato." #: ../src/Tar.cpp:568 #, c-format msgid "Error: Improperly archived file '%s'. Skipping." msgstr "Errore: file «%s» archiviato in modo improprio. Saltato." #: ../src/Tar.cpp:599 msgid "Done." msgstr "Terminato." #: ../src/DFArcFrame_Base.cpp:18 msgid "&Open D-Mod to Install" msgstr "&Apri un D-Mod da installare" #: ../src/DFArcFrame_Base.cpp:18 msgid "Select a D-Mod to install" msgstr "Seleziona un D-Mod da installare" #: ../src/DFArcFrame_Base.cpp:19 msgid "&Download D-Mods" msgstr "&Scarica dei D-Mod" #: ../src/DFArcFrame_Base.cpp:19 msgid "Go to The Dink Network to download some D-Mods!" msgstr "Va in «The Dink Network» per scaricare alcuni D-Mod." #: ../src/DFArcFrame_Base.cpp:21 msgid "E&xit" msgstr "&Esci" #: ../src/DFArcFrame_Base.cpp:21 msgid "Exit DFArc" msgstr "Esce da DFArc" #: ../src/DFArcFrame_Base.cpp:22 msgid "&File" msgstr "&File" #: ../src/DFArcFrame_Base.cpp:24 msgid "&Refresh D-Mod List" msgstr "&Aggiorna la lista dei D-Mod" #: ../src/DFArcFrame_Base.cpp:24 msgid "Refreshes the D-Mod list for any new additions" msgstr "Aggiorna la lista dei D-Mod per qualsiasi nuova aggiunta" #: ../src/DFArcFrame_Base.cpp:25 msgid "&Browse Selected D-Mod Directory" msgstr "&Sfoglia la directory del D-Mod selezionato" #: ../src/DFArcFrame_Base.cpp:25 msgid "Browse to the directory containing the current D-Mod" msgstr "Sfoglia la directory contenente il D-Mod corrente" #: ../src/DFArcFrame_Base.cpp:26 msgid "&Uninstall Selected D-Mod" msgstr "&Disinstalla il D-Mod selezionato" #: ../src/DFArcFrame_Base.cpp:26 msgid "Uninstalls the selected D-Mod" msgstr "Disinstalla il D-Mod selezionato" #: ../src/DFArcFrame_Base.cpp:28 msgid "&Options" msgstr "&Opzioni" #: ../src/DFArcFrame_Base.cpp:28 msgid "View or modify DFArc options" msgstr "Visualizza o modifica le opzioni di DFArc" #: ../src/DFArcFrame_Base.cpp:29 msgid "&Edit" msgstr "&Modifica" #: ../src/DFArcFrame_Base.cpp:31 msgid "&Introduction" msgstr "&Introduzione" #: ../src/DFArcFrame_Base.cpp:31 msgid "A quick introduction to Dinking and D-Mods" msgstr "Un'introduzione veloce a Dinking e ai D-Mod" #: ../src/DFArcFrame_Base.cpp:32 msgid "&Walkthroughs and Guides" msgstr "&Percorsi e guide" #: ../src/DFArcFrame_Base.cpp:32 msgid "Stuck in a D-Mod? Check out The Dink Smallwood Solutions." msgstr "Se si è bloccati in un D-Mod, controllare le soluzioni di Dink Smallwood." #: ../src/DFArcFrame_Base.cpp:33 msgid "&Forums" msgstr "&Forum" #: ../src/DFArcFrame_Base.cpp:33 msgid "Ask a question on the forums, or see if someone had the same problem." msgstr "Porre una domanda nei forum, o vedere se qualcun altro ha avuto lo stesso problema." #: ../src/DFArcFrame_Base.cpp:35 msgid "&About" msgstr "&Informazioni su" #: ../src/DFArcFrame_Base.cpp:35 msgid "About DFArc" msgstr "Informazioni su DFArc" #: ../src/DFArcFrame_Base.cpp:36 msgid "&Help" msgstr "&Aiuto" #: ../src/DFArcFrame_Base.cpp:41 msgid "Play" msgstr "Gioca" #: ../src/DFArcFrame_Base.cpp:42 msgid "True Color" msgstr "Truecolor (milioni di colori)" #: ../src/DFArcFrame_Base.cpp:43 msgid "Windowed" msgstr "Nella finestra" #: ../src/DFArcFrame_Base.cpp:44 msgid "Sound" msgstr "Suoni" #: ../src/DFArcFrame_Base.cpp:45 msgid "Joystick" msgstr "Joystick" #: ../src/DFArcFrame_Base.cpp:46 msgid "Debug" msgstr "Debug" #: ../src/DFArcFrame_Base.cpp:47 msgid "v1.07 mode" msgstr "modalità v1.07" #: ../src/DFArcFrame_Base.cpp:48 msgid "Edit" msgstr "Modifica" #: ../src/DFArcFrame_Base.cpp:49 ../src/Package_Base.cpp:18 msgid "Package" msgstr "Pacchetto" #. begin wxGlade: DFArcFrame_Base::set_properties #: ../src/DFArcFrame_Base.cpp:64 msgid "DFArc v3" msgstr "DFArc v3" #: ../src/DFArcFrame_Base.cpp:74 msgid "v1.07 compatibility mode, for D-Mods released before 2006" msgstr "Modalità di compatibilità v1.07, per rilasci di D-Mod precedenti il 2006" #. begin wxGlade: InstallVerifyFrame_Base::InstallVerifyFrame_Base #: ../src/InstallVerifyFrame_Base.cpp:14 msgid "Preparing..." msgstr "Inizializzazione in corso" #: ../src/InstallVerifyFrame_Base.cpp:16 msgid "Main Dink directory" msgstr "Directory principale di Dink" #: ../src/InstallVerifyFrame_Base.cpp:17 ../src/Options_Base.cpp:20 msgid "Additional D-Mods directory" msgstr "Directory addizionale dei D-Mod" #: ../src/InstallVerifyFrame_Base.cpp:19 msgid "Where do you want to install this D-Mod?" msgstr "Scegliere dove si desidera installare questo D-Mod." #: ../src/InstallVerifyFrame_Base.cpp:20 msgid "Install" msgstr "Installa" #. begin wxGlade: InstallVerifyFrame_Base::set_properties #: ../src/InstallVerifyFrame_Base.cpp:32 msgid "DFArc - Install D-Mod" msgstr "DFArc - Installazione di D-Mod" #. begin wxGlade: Options_Base::Options_Base #: ../src/Options_Base.cpp:14 msgid "Close DFArc on play" msgstr "Chiudere DFArc durante il gioco" #: ../src/Options_Base.cpp:15 msgid "Show developer buttons" msgstr "Mostrare i pulsanti per gli sviluppatori" #: ../src/Options_Base.cpp:16 msgid "The engine updates dinksmallwood.ini on run (deprecated)" msgstr "Il motore aggiorna dinksmallwood.ini all'esecuzione (deprecato)" #: ../src/Options_Base.cpp:17 msgid "Override the Dink Smallwood directory" msgstr "Sovrascrivere la directory di Dink Smallwood" #: ../src/Options_Base.cpp:19 ../src/Options_Base.cpp:22 msgid "Browse" msgstr "Sfoglia" #: ../src/Options_Base.cpp:23 msgid "Game program name" msgstr "Nome del programma di gioco" #: ../src/Options_Base.cpp:26 msgid "Editor program name" msgstr "Nome del programma editor" #: ../src/Options_Base.cpp:29 msgid "Preferred file browser" msgstr "Browser di file preferito" #: ../src/Options_Base.cpp:31 msgid "" "DFArc language\n" "(restart DFArc to apply)" msgstr "" "Lingua DFArc\n" "(riavviare DFArc per renderla operativa)" #. begin wxGlade: Options_Base::set_properties #: ../src/Options_Base.cpp:47 msgid "DFArc - Options" msgstr "DFArc - Opzioni" #. begin wxGlade: Package_Base::Package_Base #: ../src/Package_Base.cpp:14 msgid "Identifier" msgstr "Identificatore" #: ../src/Package_Base.cpp:15 #, c-format msgid "" "Note: Unless you're making a D-Mod, you shouldn't be around here.\n" "This is for creating a .dmod file for a D-Mod you made.\n" "\n" "Will package '%s' located at\n" "%s" msgstr "" "Note: a meno che si sta creando un D-Mod, non si dovrebbe essere qui.\n" "Quest'area serve per la creazione di un file .dmod, per un D-Mod che si è creato.\n" "\n" "Il pacchetto «%s» sarà posizionato in\n" "%s" #: ../src/Package_Base.cpp:16 msgid "D-Mod filename (8 letters/numbers)" msgstr "Nome del file D-Mod (8 caratteri alfanumerici)" #. begin wxGlade: Package_Base::set_properties #: ../src/Package_Base.cpp:30 msgid "DFArc - Package" msgstr "DFArc - Pacchetti" #: ../share/freedink-dfarc.desktop.in.h:1 msgid "DFArc - Dink frontend" msgstr "DFArc - Interfaccia di Dink" #: ../share/freedink-dfarc.desktop.in.h:2 msgid "Run, edit, install, remove and package D-Mods (Dink Modules)" msgstr "Esegui, modifica, installa, rimuoveri e pacchettizza file D-Mod (moduli di Dink)" #: ../share/freedink-mime.xml.in.h:1 msgid "Packaged D-Mod" msgstr "Pacchettizzare D-Mod" dfarc-3.12/po/ChangeLog0000664000175000017510000000107612340110733011630 000000000000002008-05-07 gettextize * Makefile.in.in: Upgrade to gettext-0.17. 2008-01-21 gettextize * Makefile.in.in: New file, from gettext-0.16.1. * boldquot.sed: New file, from gettext-0.16.1. * en@boldquot.header: New file, from gettext-0.16.1. * en@quot.header: New file, from gettext-0.16.1. * insert-header.sin: New file, from gettext-0.16.1. * quot.sed: New file, from gettext-0.16.1. * remove-potcdate.sin: New file, from gettext-0.16.1. * Rules-quot: New file, from gettext-0.16.1. * POTFILES.in: New file. dfarc-3.12/po/hr.po0000664000175000017510000004625612057517574011063 00000000000000# Translation of dfarc to Croatian. # Copyright © 2012 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the dfarc package. # Tomislav Krznar , 2012. # msgid "" msgstr "" "Project-Id-Version: dfarc 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-10-28 20:47+0000\n" "PO-Revision-Date: 2012-11-03 19:00+0100\n" "Last-Translator: Tomislav Krznar \n" "Language-Team: Croatian \n" "Language: hr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #: ../src/BZip.cpp:300 #, c-format msgid "Error: Could not open input file '%s' for bzip decompression." msgstr "GreÅ¡ka: Ne mogu otvoriti ulaznu datoteku „%s†za bzip dekompresiju." #: ../src/BZip.cpp:315 msgid "Error: Invalid .dmod file selected!" msgstr "GreÅ¡ka: Odabrana neispravna .dmod datoteka!" #: ../src/BZip.cpp:325 #, c-format msgid "Error: Could not write to '%s'." msgstr "GreÅ¡ka: Ne mogu pisati u „%sâ€." #: ../src/BZip.cpp:357 msgid "Invalid .dmod file specified." msgstr "Navedena neispravna .dmod datoteka." #: ../src/BZip.cpp:361 msgid "Critical program function error: opened for write." msgstr "KritiÄna greÅ¡ka programske funkcije: otvoreno za pisanje." #: ../src/BZip.cpp:365 msgid "Could not read .dmod file." msgstr "Ne mogu Äitati .dmod datoteku." #: ../src/BZip.cpp:369 msgid "Incomplete .dmod file. Please download it again." msgstr "Nepotpuna .dmod datoteka. Molim preuzmite je ponovo." #: ../src/BZip.cpp:373 msgid "The .dmod file is corrupted. Please download it again." msgstr ".dmod datoteka je oÅ¡tećena. Molim preuzmite je ponovo." #: ../src/BZip.cpp:377 msgid "The file is not a valid .dmod file." msgstr "Datoteka nije ispravna .dmod datoteka." #: ../src/BZip.cpp:381 msgid "Out of memory error." msgstr "GreÅ¡ka, nema dovoljno memorije." #: ../src/BZip.cpp:385 msgid "An unhandled error occured." msgstr "Dogodila se nekontrolirana greÅ¡ka." #: ../src/Config.cpp:216 msgid "Error: dinksmallwood.ini not found. Please run the main game and try running this program again." msgstr "GreÅ¡ka: dinksmallwood.ini nije pronaÄ‘en. Molim pokrenite glavnu igru i pokuÅ¡ajte ponovo pokrenuti ovaj program." #: ../src/Config.cpp:224 msgid "Error opening dinksmallwood.ini" msgstr "GreÅ¡ka pri otvaranju dinksmallwood.ini" #: ../src/DFArcFrame.cpp:168 #, c-format msgid "" "DFArc version %s\n" "Copyright (C) 2004 Andrew Reading (merlin)\n" "Copyright (C) 2005, 2006 Dan Walma (redink1)\n" "Copyright (C) 2008, 2009, 2010 Sylvain Beucler (Beuc)\n" "Build Date: %s\n" "Powered by bzip2 (http://www.bzip.org) and wxWidgets (http://www.wxwidgets.org)" msgstr "" "DFArc inaÄica %s\n" "Copyright © 2004 Andrew Reading (merlin)\n" "Copyright © 2005, 2006 Dan Walma (redink1)\n" "Copyright © 2008, 2009, 2010 Sylvain Beucler (Beuc)\n" "Datum izgradnje: %s\n" "Program pokreću bzip2 (http://www.bzip.org) i wxWidgets (http://www.wxwidgets.org)" #: ../src/DFArcFrame.cpp:175 msgid "About DFArc v3" msgstr "O DFArc v3" #. Default logo (currently all black with a question mark) #. TRANSLATORS: please make this SHORT, possibly rephrasing as "< #. Choose!". This is included in the 160x120px logo box in the main #. window and it doesn't word-wrap. #: ../src/DFArcFrame.cpp:246 msgid "< Pick a D-Mod" msgstr "< Izaberite!" #: ../src/DFArcFrame.cpp:312 msgid "No translations" msgstr "Nema prijevoda" #. Not displaying the default language explicitely, because it #. makes the user think that a translation is always available. #. mGameLocaleList->Insert(wxString(_("Default language")) + wxT(" (") + cur_locale_name + wxT(")"), 0); #: ../src/DFArcFrame.cpp:319 ../src/Options.cpp:120 msgid "Don't translate" msgstr "Ne prevodi" #: ../src/DFArcFrame.cpp:338 msgid "D-Mod files (*.dmod)" msgstr "Datoteke modula (*.dmod)" #: ../src/DFArcFrame.cpp:339 msgid "Select a .dmod file" msgstr "Odaberite .dmod datoteku" #: ../src/DFArcFrame.cpp:534 #, c-format msgid "The '%s' locale is not installed on your computer (locales tells the computer how to manage a language). You need to install it - check your system documentation." msgstr "Lokal „%s†nije instaliran na vaÅ¡em raÄunalu (lokali govore raÄunalu kako upravljati jezikom). Morate ga instalirati - pogledajte vaÅ¡u dokumentaciju sustava." #: ../src/DFArcFrame.cpp:537 ../src/DFArcFrame.cpp:615 msgid "Warning" msgstr "Upozorenje" #: ../src/DFArcFrame.cpp:577 #, c-format msgid "Dink Smallwood failed! Error code %d." msgstr "Dink Smallwood nije uspio! GreÅ¡ka %d." #: ../src/DFArcFrame.cpp:579 ../src/DFArcFrame.cpp:584 #: ../src/DFArcFrame.cpp:645 ../src/DFArcFrame.cpp:647 #: ../src/DFArcFrame.cpp:690 ../src/DFArcFrame.cpp:699 msgid "Error" msgstr "GreÅ¡ka" #: ../src/DFArcFrame.cpp:581 #, c-format msgid "Dink Smallwood ('%s') was not found on your computer. Please configure the Dink program name in the Options menu." msgstr "Dink Smallwood („%sâ€) nije pronaÄ‘en na vaÅ¡em raÄunalu. Molim konfigurirajte programsko ime Dinka u izborniku Opcije." #: ../src/DFArcFrame.cpp:612 msgid "Dinkedit saves all changes automatically. Altering maps can ruin the game. Are you sure you want to continue?" msgstr "Dinkedit automatski sprema sve promjene. Mijenjanje mapa može uniÅ¡titi igru. Jeste li sigurni da želite nastaviti?" #: ../src/DFArcFrame.cpp:642 #, c-format msgid "The editor ('%s') was not found on your computer. Please configure the editor program name in the Options menu." msgstr "UreÄ‘ivaÄ („%sâ€) nije pronaÄ‘en na vaÅ¡em raÄunalu. Molim konfigurirajte programsko ime ureÄ‘ivaÄa u izborniku Opcije." #: ../src/DFArcFrame.cpp:647 msgid "Error while running the editor" msgstr "GreÅ¡ka pri pokretanju ureÄ‘ivaÄa" #. FreeDesktop #. Gnome #. KDE #. Xfce #: ../src/DFArcFrame.cpp:688 msgid "Could not find a file manager (tried 'xdg-open', 'nautilus', 'konqueror' and 'thunar')" msgstr "Ne mogu pronaći upravitelj datotekama (pokuÅ¡ao „xdg-openâ€, „nautilusâ€, „konqueror†i „thunarâ€)" #: ../src/DFArcFrame.cpp:696 #, c-format msgid "Cannot start '%s', please check your configuration in the Options window." msgstr "Ne mogu pokrenuti „%sâ€, molim provjerite vaÅ¡u konfiguraciju u prozoru Opcije." #: ../src/DFArcFrame.cpp:706 msgid "" "Welcome to DFArc, the Dink Smallwood front end!\n" "\n" "You can choose to play the original game (Dink Smallwood) or Dink-Modules (D-Mods) which contain new adventures.\n" "\n" "After completing the main game, give some D-Mods a try.\n" "There are hundreds of them, just click File-Download D-Mods." msgstr "" "DobrodoÅ¡li u DFArc, suÄelje za Dink Smallwood!\n" "\n" "Možete odabrati hoćete li igrati originalnu igru (Dink Smallwood) ili module (D-Mod) koji sadrže nove pustolovine.\n" "\n" "Nakon zavrÅ¡avanja glavne igre, isprobajte module.\n" "Postoji ih viÅ¡e stotina, samo kliknite Datoteka-Preuzmi module." #: ../src/DFArcFrame.cpp:713 msgid "Introduction" msgstr "Uvod" #. If there's no directory, let's not override #: ../src/DFArcFrame.cpp:856 msgid "Cannot use the overriden Dink Smallwood directory - ignoring it. (permission problem?)" msgstr "Ne mogu koristiti promijenjeni Dink Smallwood direktorij - zanemarujem ga. (problem dozvola?)" #: ../src/DFArcFrame.cpp:858 ../src/DFArcFrame.cpp:866 msgid "Configuration error" msgstr "Konfiguracijska greÅ¡ka" #. If there's no directory, let's not override #: ../src/DFArcFrame.cpp:865 msgid "The Dink Smallwood directory you entered does not exist - ignoring it." msgstr "Dink Smallwood direktorij koji ste unijeli ne postoji - zanemarujem ga." #: ../src/DFArcFrame.cpp:880 msgid "You must select the uninstall option from the start menu to uninstall the main game." msgstr "Za deinstalaciju glavne igre morate odabrati opciju deinstalacije iz poÄetnog izbornika." #: ../src/DFArcFrame.cpp:881 msgid "Uninstall - Error" msgstr "Deinstalacija - GreÅ¡ka" #: ../src/DFArcFrame.cpp:886 msgid "Do you want to remove all save game files?" msgstr "Želite li ukloniti sve datoteke spremljenih igara?" #: ../src/DFArcFrame.cpp:887 msgid "Uninstall - Save Game Files" msgstr "Deinstalacija - Datoteke spremljenih igara" #: ../src/DFArcFrame.cpp:909 msgid "Unable to remove D-Mod directory. All other files were removed." msgstr "Ne mogu ukloniti direktorij modula. Sve ostale datoteke su uklonjene." #: ../src/DFArcFrame.cpp:915 msgid "D-Mod successfully uninstalled" msgstr "Modul uspjeÅ¡no deinstaliran" #: ../src/DFArcFrame.cpp:916 msgid "Uninstall - Success" msgstr "Deinstalacija - Uspjeh" #: ../src/InstallVerifyFrame.cpp:56 msgid "Preparing" msgstr "Pripremam" #: ../src/InstallVerifyFrame.cpp:57 msgid "The D-Mod archive is being decompressed in a temporary file." msgstr "Arhiva modula se dekomprimira u privremenu datoteku." #: ../src/InstallVerifyFrame.cpp:81 #, c-format msgid "" "No Description Available.\n" "\n" "The D-Mod will be installed in subdirectory '%s'." msgstr "" "Nema dostupnog opisa.\n" "\n" "Modul će se instalirati u poddirektorij „%sâ€." #: ../src/InstallVerifyFrame.cpp:94 msgid "DFArc - Install D-Mod - " msgstr "DFArc - Instaliraj modul - " #: ../src/InstallVerifyFrame.cpp:143 msgid "DFArc - Installing" msgstr "DFArc - Instaliram" #: ../src/InstallVerifyFrame.cpp:157 msgid "The D-Mod you selected" msgstr "Modul koji ste izabrali" #: ../src/InstallVerifyFrame.cpp:159 msgid " was successfully installed." msgstr " je uspjeÅ¡no instaliran." #: ../src/InstallVerifyFrame.cpp:160 ../src/Package.cpp:167 msgid "Success" msgstr "Uspjeh" #: ../src/InstallVerifyFrame.cpp:169 msgid "An error occured while extracting the .dmod file." msgstr "Dogodila se greÅ¡ka pri ekstrakciji .dmod datoteke." #: ../src/Options.cpp:115 msgid "System language" msgstr "Jezik sustava" #: ../src/Options.cpp:138 msgid "Custom" msgstr "PrilagoÄ‘eno" #: ../src/Options.cpp:177 msgid "Choose the Dink Smallwood install directory" msgstr "Odaberite instalacijski direktorij za Dink Smallwood" #: ../src/Options.cpp:185 msgid "Choose a folder containing D-Mods" msgstr "Odaberite direktorij s modulima" #: ../src/Package.cpp:123 msgid "You must provide an identifier filename." msgstr "Morate navesti ime datoteke." #: ../src/Package.cpp:139 msgid "Packaging" msgstr "Pakiram" #: ../src/Package.cpp:139 msgid "The D-Mod is being packaged." msgstr "Modul se trenutno pakira." #. Success dialog #: ../src/Package.cpp:165 #, c-format msgid "%s was successfully packaged (compression ratio %2.1f : 1)." msgstr "%s je uspjeÅ¡no pakiran (omjer kompresije %2.1f : 1)." #: ../src/Package.cpp:172 msgid "Packaging aborted - removing partial .dmod file." msgstr "Pakiranje prekinuto - uklanjam djelomiÄnu .dmod datoteku." #: ../src/Package.cpp:173 msgid "Abort" msgstr "Prekini" #: ../src/RecursiveDelete.cpp:55 ../src/RecursiveDelete.cpp:73 #, c-format msgid "Could not remove %s" msgstr "Ne mogu ukloniti %s" #: ../src/Tar.cpp:91 msgid "Listing files..." msgstr "Ispisujem datoteke..." #: ../src/Tar.cpp:125 msgid "Initializing..." msgstr "Inicijaliziram..." #: ../src/Tar.cpp:129 #, c-format msgid "Error: Could not open tar file '%s' for bzip compression." msgstr "GreÅ¡ka: Ne mogu otvoriti tar datoteku „%s†za bzip kompresiju." #: ../src/Tar.cpp:130 msgid "ERROR" msgstr "GREÅ KA" #: ../src/Tar.cpp:151 msgid "Error: Could not initialize compression method! Will not generate a correct .dmod file. Quitting." msgstr "GreÅ¡ka: Ne mogu inicijalizirati metodu kompresije! Neću napraviti ispravnu .dmod datoteku. Izlazim." #: ../src/Tar.cpp:184 #, c-format msgid "Error: File '%s' not found! Cannot archive file." msgstr "GreÅ¡ka: Datoteka „%s†nije pronaÄ‘ena! Ne mogu arhivirati datoteku." #. Close the output file. #: ../src/Tar.cpp:234 msgid "Closing..." msgstr "Zatvaram..." #: ../src/Tar.cpp:354 #, c-format msgid "Error: File '%s' not found! Cannot read data." msgstr "GreÅ¡ka: Datoteka „%s†nije pronaÄ‘ena! Ne mogu Äitati podatke." #. Nope. Exit. #: ../src/Tar.cpp:391 msgid "Error: This .dmod file has an invalid checksum! Cannot read file." msgstr "GreÅ¡ka: Ova .dmod datoteka ima neispravnu kontrolnu sumu! Ne mogu Äitati datoteku." #: ../src/Tar.cpp:476 #, c-format msgid "Error: File '%s' not found! Cannot extract data." msgstr "GreÅ¡ka: Datoteka „%s†nije pronaÄ‘ena! Ne mogu izdvojiti podatke." #: ../src/Tar.cpp:486 #, c-format msgid "Error: Cannot create directory '%s'. Cannot extract data." msgstr "GreÅ¡ka: Ne mogu napraviti direktorij „%sâ€. Ne mogu izdvojiti podatke." #: ../src/Tar.cpp:544 #, c-format msgid "Got bad file %d/%d. Skipping." msgstr "Primljena neispravna datoteka %d/%d. PreskaÄem." #: ../src/Tar.cpp:568 #, c-format msgid "Error: Improperly archived file '%s'. Skipping." msgstr "GreÅ¡ka: Neispravno arhivirana datoteka „%sâ€. PreskaÄem." #: ../src/Tar.cpp:599 msgid "Done." msgstr "Gotovo." #: ../src/DFArcFrame_Base.cpp:18 msgid "&Open D-Mod to Install" msgstr "&Otvori modul za instalaciju" #: ../src/DFArcFrame_Base.cpp:18 msgid "Select a D-Mod to install" msgstr "Izaberi modul za instalaciju" #: ../src/DFArcFrame_Base.cpp:19 msgid "&Download D-Mods" msgstr "&Preuzmi module" #: ../src/DFArcFrame_Base.cpp:19 msgid "Go to The Dink Network to download some D-Mods!" msgstr "Posjetite Dink mrežu („The Dink Networkâ€) i preuzmite module!" #: ../src/DFArcFrame_Base.cpp:21 msgid "E&xit" msgstr "&Izlaz" #: ../src/DFArcFrame_Base.cpp:21 msgid "Exit DFArc" msgstr "Zatvori DFArc" #: ../src/DFArcFrame_Base.cpp:22 msgid "&File" msgstr "&Datoteka" #: ../src/DFArcFrame_Base.cpp:24 msgid "&Refresh D-Mod List" msgstr "&Osvježi popis modula" #: ../src/DFArcFrame_Base.cpp:24 msgid "Refreshes the D-Mod list for any new additions" msgstr "Osvježava popis modula i traži nove" #: ../src/DFArcFrame_Base.cpp:25 msgid "&Browse Selected D-Mod Directory" msgstr "&Pretraži odabrani direktorij modula" #: ../src/DFArcFrame_Base.cpp:25 msgid "Browse to the directory containing the current D-Mod" msgstr "Pretražuje direktorij koji sadrži trenutni modul" #: ../src/DFArcFrame_Base.cpp:26 msgid "&Uninstall Selected D-Mod" msgstr "&Deinstaliraj izabrani modul" #: ../src/DFArcFrame_Base.cpp:26 msgid "Uninstalls the selected D-Mod" msgstr "Deinstalira izabrani modul" #: ../src/DFArcFrame_Base.cpp:28 msgid "&Options" msgstr "&Opcije" #: ../src/DFArcFrame_Base.cpp:28 msgid "View or modify DFArc options" msgstr "Pregledajte ili uredite DFArc opcije" #: ../src/DFArcFrame_Base.cpp:29 msgid "&Edit" msgstr "&UreÄ‘ivanje" #: ../src/DFArcFrame_Base.cpp:31 msgid "&Introduction" msgstr "&Uvod" #: ../src/DFArcFrame_Base.cpp:31 msgid "A quick introduction to Dinking and D-Mods" msgstr "Kratak uvod u igru i module" #: ../src/DFArcFrame_Base.cpp:32 msgid "&Walkthroughs and Guides" msgstr "&Prohodi i vodiÄi" #: ../src/DFArcFrame_Base.cpp:32 msgid "Stuck in a D-Mod? Check out The Dink Smallwood Solutions." msgstr "Zapeli ste u modulu? Pogledajte rjeÅ¡enja („The Dink Smallwood Solutionsâ€)." #: ../src/DFArcFrame_Base.cpp:33 msgid "&Forums" msgstr "&Forumi" #: ../src/DFArcFrame_Base.cpp:33 msgid "Ask a question on the forums, or see if someone had the same problem." msgstr "Postavite pitanje na forumima ili provjerite je li netko već imao isti problem." #: ../src/DFArcFrame_Base.cpp:35 msgid "&About" msgstr "&O programu" #: ../src/DFArcFrame_Base.cpp:35 msgid "About DFArc" msgstr "O DFArc" #: ../src/DFArcFrame_Base.cpp:36 msgid "&Help" msgstr "&Pomoć" #: ../src/DFArcFrame_Base.cpp:41 msgid "Play" msgstr "Igraj" #: ../src/DFArcFrame_Base.cpp:42 msgid "True Color" msgstr "True Color" #: ../src/DFArcFrame_Base.cpp:43 msgid "Windowed" msgstr "U prozoru" #: ../src/DFArcFrame_Base.cpp:44 msgid "Sound" msgstr "Zvuk" #: ../src/DFArcFrame_Base.cpp:45 msgid "Joystick" msgstr "Igraća palica" #: ../src/DFArcFrame_Base.cpp:46 msgid "Debug" msgstr "Debug" #: ../src/DFArcFrame_Base.cpp:47 msgid "v1.07 mode" msgstr "v1.07 naÄin" #: ../src/DFArcFrame_Base.cpp:48 msgid "Edit" msgstr "UreÄ‘ivanje" #: ../src/DFArcFrame_Base.cpp:49 ../src/Package_Base.cpp:18 msgid "Package" msgstr "Paket" #. begin wxGlade: DFArcFrame_Base::set_properties #: ../src/DFArcFrame_Base.cpp:64 msgid "DFArc v3" msgstr "DFArc v3" #: ../src/DFArcFrame_Base.cpp:74 msgid "v1.07 compatibility mode, for D-Mods released before 2006" msgstr "v1.07 kompatibilni naÄin rada, za module izdane prije 2006." #. begin wxGlade: InstallVerifyFrame_Base::InstallVerifyFrame_Base #: ../src/InstallVerifyFrame_Base.cpp:14 msgid "Preparing..." msgstr "Pripremam..." #: ../src/InstallVerifyFrame_Base.cpp:16 msgid "Main Dink directory" msgstr "Glavni Dink direktorij" #: ../src/InstallVerifyFrame_Base.cpp:17 ../src/Options_Base.cpp:20 msgid "Additional D-Mods directory" msgstr "Dodatni direktoriji modula" #: ../src/InstallVerifyFrame_Base.cpp:19 msgid "Where do you want to install this D-Mod?" msgstr "Gdje želite instalirati ovaj modul?" #: ../src/InstallVerifyFrame_Base.cpp:20 msgid "Install" msgstr "Instaliraj" #. begin wxGlade: InstallVerifyFrame_Base::set_properties #: ../src/InstallVerifyFrame_Base.cpp:32 msgid "DFArc - Install D-Mod" msgstr "DFArc - Instaliraj modul" #. begin wxGlade: Options_Base::Options_Base #: ../src/Options_Base.cpp:14 msgid "Close DFArc on play" msgstr "Zatvori DFArc pri pokretanju igre" #: ../src/Options_Base.cpp:15 msgid "Show developer buttons" msgstr "Prikaži tipke razvijatelja" #: ../src/Options_Base.cpp:16 msgid "The engine updates dinksmallwood.ini on run (deprecated)" msgstr "Mehanizam ažurira dinksmallwood.ini pri pokretanju (zastarjelo)" #: ../src/Options_Base.cpp:17 msgid "Override the Dink Smallwood directory" msgstr "Promijeni Dink Smallwood direktorij" #: ../src/Options_Base.cpp:19 ../src/Options_Base.cpp:22 msgid "Browse" msgstr "Pregledaj" #: ../src/Options_Base.cpp:23 msgid "Game program name" msgstr "Programsko ime igre" #: ../src/Options_Base.cpp:26 msgid "Editor program name" msgstr "Programsko ime ureÄ‘ivaÄa" #: ../src/Options_Base.cpp:29 msgid "Preferred file browser" msgstr "Preferirani preglednik datoteka" #: ../src/Options_Base.cpp:31 msgid "" "DFArc language\n" "(restart DFArc to apply)" msgstr "" "DFArc jezik\n" "(ponovo pokrenite DFArc za primjenu)" #. begin wxGlade: Options_Base::set_properties #: ../src/Options_Base.cpp:47 msgid "DFArc - Options" msgstr "DFArc - Opcije" #. begin wxGlade: Package_Base::Package_Base #: ../src/Package_Base.cpp:14 msgid "Identifier" msgstr "Identifikator" #: ../src/Package_Base.cpp:15 #, c-format msgid "" "Note: Unless you're making a D-Mod, you shouldn't be around here.\n" "This is for creating a .dmod file for a D-Mod you made.\n" "\n" "Will package '%s' located at\n" "%s" msgstr "" "Napomena: Osim ako radite modul, ne biste trebali biti ovdje.\n" "Ovo je za stvaranje .dmod datoteka modula koji radite.\n" "\n" "Paket želja „%s†se nalazi u\n" "%s" #: ../src/Package_Base.cpp:16 msgid "D-Mod filename (8 letters/numbers)" msgstr "Ime modula (8 slova/brojki)" #. begin wxGlade: Package_Base::set_properties #: ../src/Package_Base.cpp:30 msgid "DFArc - Package" msgstr "DFArc - Paket" #: ../share/freedink-dfarc.desktop.in.h:1 msgid "DFArc - Dink frontend" msgstr "DFArc - Dink suÄelje" #: ../share/freedink-dfarc.desktop.in.h:2 msgid "Run, edit, install, remove and package D-Mods (Dink Modules)" msgstr "Pokreni, uredi, instaliraj, ukloni i pakiraj module" #: ../share/freedink-mime.xml.in.h:1 msgid "Packaged D-Mod" msgstr "Pakirani modul" dfarc-3.12/po/Makefile.in.in0000644000000000000000000001604611735400653012510 00000000000000# Makefile for program source directory in GNU NLS utilities package. # Copyright (C) 1995, 1996, 1997 by Ulrich Drepper # Copyright (C) 2004-2008 Rodney Dawes # # This file may be copied and used freely without restrictions. It may # be used in projects which are not available under a GNU Public License, # but which still want to provide support for the GNU gettext functionality. # # - Modified by Owen Taylor to use GETTEXT_PACKAGE # instead of PACKAGE and to look for po2tbl in ./ not in intl/ # # - Modified by jacob berkman to install # Makefile.in.in and po2tbl.sed.in for use with glib-gettextize # # - Modified by Rodney Dawes for use with intltool # # We have the following line for use by intltoolize: # INTLTOOL_MAKEFILE GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ PACKAGE = @PACKAGE@ VERSION = @VERSION@ SHELL = @SHELL@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ top_builddir = @top_builddir@ VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ datadir = @datadir@ datarootdir = @datarootdir@ libdir = @libdir@ DATADIRNAME = @DATADIRNAME@ itlocaledir = $(prefix)/$(DATADIRNAME)/locale subdir = po install_sh = @install_sh@ # Automake >= 1.8 provides @mkdir_p@. # Until it can be supposed, use the safe fallback: mkdir_p = $(install_sh) -d INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ GMSGFMT = @GMSGFMT@ MSGFMT = @MSGFMT@ XGETTEXT = @XGETTEXT@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ MSGMERGE = INTLTOOL_EXTRACT="$(INTLTOOL_EXTRACT)" XGETTEXT="$(XGETTEXT)" srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --dist GENPOT = INTLTOOL_EXTRACT="$(INTLTOOL_EXTRACT)" XGETTEXT="$(XGETTEXT)" srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --pot ALL_LINGUAS = @ALL_LINGUAS@ PO_LINGUAS=$(shell if test -r $(srcdir)/LINGUAS; then grep -v "^\#" $(srcdir)/LINGUAS; else echo "$(ALL_LINGUAS)"; fi) USER_LINGUAS=$(shell if test -n "$(LINGUAS)"; then LLINGUAS="$(LINGUAS)"; ALINGUAS="$(ALL_LINGUAS)"; for lang in $$LLINGUAS; do if test -n "`grep \^$$lang$$ $(srcdir)/LINGUAS 2>/dev/null`" -o -n "`echo $$ALINGUAS|tr ' ' '\n'|grep \^$$lang$$`"; then printf "$$lang "; fi; done; fi) USE_LINGUAS=$(shell if test -n "$(USER_LINGUAS)" -o -n "$(LINGUAS)"; then LLINGUAS="$(USER_LINGUAS)"; else if test -n "$(PO_LINGUAS)"; then LLINGUAS="$(PO_LINGUAS)"; else LLINGUAS="$(ALL_LINGUAS)"; fi; fi; for lang in $$LLINGUAS; do printf "$$lang "; done) POFILES=$(shell LINGUAS="$(PO_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.po "; done) DISTFILES = Makefile.in.in POTFILES.in $(POFILES) EXTRA_DISTFILES = ChangeLog POTFILES.skip Makevars LINGUAS POTFILES = \ # This comment gets stripped out CATALOGS=$(shell LINGUAS="$(USE_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.gmo "; done) .SUFFIXES: .SUFFIXES: .po .pox .gmo .mo .msg .cat AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ INTLTOOL_V_MSGFMT = $(INTLTOOL__v_MSGFMT_$(V)) INTLTOOL__v_MSGFMT_= $(INTLTOOL__v_MSGFMT_$(AM_DEFAULT_VERBOSITY)) INTLTOOL__v_MSGFMT_0 = @echo " MSGFMT" $@; .po.pox: $(MAKE) $(GETTEXT_PACKAGE).pot $(MSGMERGE) $< $(GETTEXT_PACKAGE).pot -o $*.pox .po.mo: $(INTLTOOL_V_MSGFMT)$(MSGFMT) -o $@ $< .po.gmo: $(INTLTOOL_V_MSGFMT)file=`echo $* | sed 's,.*/,,'`.gmo \ && rm -f $$file && $(GMSGFMT) -o $$file $< .po.cat: sed -f ../intl/po2msg.sed < $< > $*.msg \ && rm -f $@ && gencat $@ $*.msg all: all-@USE_NLS@ all-yes: $(CATALOGS) all-no: $(GETTEXT_PACKAGE).pot: $(POTFILES) $(GENPOT) install: install-data install-data: install-data-@USE_NLS@ install-data-no: all install-data-yes: all linguas="$(USE_LINGUAS)"; \ for lang in $$linguas; do \ dir=$(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES; \ $(mkdir_p) $$dir; \ if test -r $$lang.gmo; then \ $(INSTALL_DATA) $$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \ echo "installing $$lang.gmo as $$dir/$(GETTEXT_PACKAGE).mo"; \ else \ $(INSTALL_DATA) $(srcdir)/$$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \ echo "installing $(srcdir)/$$lang.gmo as" \ "$$dir/$(GETTEXT_PACKAGE).mo"; \ fi; \ if test -r $$lang.gmo.m; then \ $(INSTALL_DATA) $$lang.gmo.m $$dir/$(GETTEXT_PACKAGE).mo.m; \ echo "installing $$lang.gmo.m as $$dir/$(GETTEXT_PACKAGE).mo.m"; \ else \ if test -r $(srcdir)/$$lang.gmo.m ; then \ $(INSTALL_DATA) $(srcdir)/$$lang.gmo.m \ $$dir/$(GETTEXT_PACKAGE).mo.m; \ echo "installing $(srcdir)/$$lang.gmo.m as" \ "$$dir/$(GETTEXT_PACKAGE).mo.m"; \ else \ true; \ fi; \ fi; \ done # Empty stubs to satisfy archaic automake needs dvi info ctags tags CTAGS TAGS ID: # Define this as empty until I found a useful application. install-exec installcheck: uninstall: linguas="$(USE_LINGUAS)"; \ for lang in $$linguas; do \ rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo; \ rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo.m; \ done check: all $(GETTEXT_PACKAGE).pot rm -f missing notexist srcdir=$(srcdir) $(INTLTOOL_UPDATE) -m if [ -r missing -o -r notexist ]; then \ exit 1; \ fi mostlyclean: rm -f *.pox $(GETTEXT_PACKAGE).pot *.old.po cat-id-tbl.tmp rm -f .intltool-merge-cache clean: mostlyclean distclean: clean rm -f Makefile Makefile.in POTFILES stamp-it rm -f *.mo *.msg *.cat *.cat.m *.gmo maintainer-clean: distclean @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." rm -f Makefile.in.in distdir = ../$(PACKAGE)-$(VERSION)/$(subdir) dist distdir: $(DISTFILES) dists="$(DISTFILES)"; \ extra_dists="$(EXTRA_DISTFILES)"; \ for file in $$extra_dists; do \ test -f $(srcdir)/$$file && dists="$$dists $(srcdir)/$$file"; \ done; \ for file in $$dists; do \ test -f $$file || file="$(srcdir)/$$file"; \ ln $$file $(distdir) 2> /dev/null \ || cp -p $$file $(distdir); \ done update-po: Makefile $(MAKE) $(GETTEXT_PACKAGE).pot tmpdir=`pwd`; \ linguas="$(USE_LINGUAS)"; \ for lang in $$linguas; do \ echo "$$lang:"; \ result="`$(MSGMERGE) -o $$tmpdir/$$lang.new.po $$lang`"; \ if $$result; then \ if cmp $(srcdir)/$$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ rm -f $$tmpdir/$$lang.new.po; \ else \ if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ :; \ else \ echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ rm -f $$tmpdir/$$lang.new.po; \ exit 1; \ fi; \ fi; \ else \ echo "msgmerge for $$lang.gmo failed!"; \ rm -f $$tmpdir/$$lang.new.po; \ fi; \ done Makefile POTFILES: stamp-it @if test ! -f $@; then \ rm -f stamp-it; \ $(MAKE) stamp-it; \ fi stamp-it: Makefile.in.in $(top_builddir)/config.status POTFILES.in cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/Makefile.in CONFIG_HEADERS= CONFIG_LINKS= \ $(SHELL) ./config.status # Tell versions [3.59,3.63) of GNU make not to export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: dfarc-3.12/po/fr.po0000664000175000017510000005015512401422223011025 00000000000000# French translations for dfarc package # Traductions françaises du paquet dfarc. # Copyright (C) 2008, 2009 Free Software Foundation, Inc. # This file is distributed under the same license as the dfarc package. # Sylvain Beucler , 2008, 2009, 2014. # msgid "" msgstr "" "Project-Id-Version: dfarc 3.11-pre1\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-09-01 20:58+0200\n" "PO-Revision-Date: 2014-09-02 22:09+0200\n" "Last-Translator: Sylvain Beucler \n" "Language-Team: French \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #: ../src/BZip.cpp:303 #, c-format msgid "Error: Could not open input file '%s' for bzip decompression." msgstr "Erreur : impossible d'ouvrir le fichier d'entrée '%s' pour décompression bzip." #: ../src/BZip.cpp:318 msgid "Error: Invalid .dmod file selected!" msgstr "Erreur : fichier .dmod sélectionné invalide !" #: ../src/BZip.cpp:328 #, c-format msgid "Error: Could not write to '%s'." msgstr "Erreur : impossible d'écrire dans '%s'." #: ../src/BZip.cpp:360 msgid "Invalid .dmod file specified." msgstr "Le fichier .dmod spécifié est invalide." #: ../src/BZip.cpp:364 msgid "Critical program function error: opened for write." msgstr "Erreur critique de fonction de programme : ouvert en écriture." #: ../src/BZip.cpp:368 msgid "Could not read .dmod file." msgstr "Impossible de lire le fichier .dmod." #: ../src/BZip.cpp:372 msgid "Incomplete .dmod file. Please download it again." msgstr "Le fichier .dmod est incomplet. Veuillez le télécharger à nouveau." #: ../src/BZip.cpp:376 msgid "The .dmod file is corrupted. Please download it again." msgstr "Le fichier .dmod est corrompu. Veuillez le télécharger à nouveau." #: ../src/BZip.cpp:380 msgid "The file is not a valid .dmod file." msgstr "Le fichier n'est pas un fichier .dmod valide." #: ../src/BZip.cpp:384 msgid "Out of memory error." msgstr "Erreur : plus de mémoire disponible." #: ../src/BZip.cpp:388 msgid "An unhandled error occured." msgstr "Une erreur non gérée est survenue." #: ../src/Config.cpp:202 msgid "Error: dinksmallwood.ini not found. Please run the main game and try running this program again." msgstr "Erreur : dinksmallwood.ini n'a pas été trouvé. Veuillez lancez le jeu principal puis essayez de relancer ce programme." #: ../src/Config.cpp:210 msgid "Error opening dinksmallwood.ini" msgstr "Erreur pendant l'ouverture de dinksmallwood.ini" #: ../src/DFArcFrame.cpp:174 #, c-format msgid "" "DFArc version %s\n" "Copyright (C) 2004 Andrew Reading (merlin)\n" "Copyright (C) 2005, 2006 Dan Walma (redink1)\n" "Copyright (C) 2008-2014 Sylvain Beucler (Beuc)\n" "Build Date: %s\n" "Powered by bzip2 (bzip.org) and wxWidgets (wxwidgets.org)" msgstr "" "DFArc version %s\n" "Copyright (C) 2004 Andrew Reading (merlin)\n" "Copyright (C) 2005, 2006 Dan Walma (redink1)\n" "Copyright (C) 2008-2014 Sylvain Beucler (Beuc)\n" "Date de compilation: %s\n" "Utilise bzip2 (bzip.org) et wxWidgets (wxwidgets.org)" #: ../src/DFArcFrame.cpp:181 msgid "About DFArc v3" msgstr "À propos de DFArc v3" #. Default logo (currently all black with a question mark) #. TRANSLATORS: please make this SHORT, possibly rephrasing as "< #. Choose!". This is included in the 160x120px logo box in the main #. window and it doesn't word-wrap. #: ../src/DFArcFrame.cpp:253 msgid "< Pick a D-Mod" msgstr "< Choisis !" #: ../src/DFArcFrame.cpp:318 msgid "No translations" msgstr "Pas de traduction" #. Not displaying the default language explicitely, because it #. makes the user think that a translation is always available. #. mGameLocaleList->Insert(wxString(_("Default language")) + wxT(" (") + cur_locale_name + wxT(")"), 0); #: ../src/DFArcFrame.cpp:325 ../src/Options.cpp:118 msgid "Don't translate" msgstr "Ne pas traduire" #: ../src/DFArcFrame.cpp:348 msgid "D-Mod files (*.dmod)" msgstr "Fichiers D-Mod (*.dmod)" #: ../src/DFArcFrame.cpp:349 msgid "Select a .dmod file" msgstr "Sélectionnez un fichier .dmod" #: ../src/DFArcFrame.cpp:544 #, c-format msgid "The '%s' locale is not installed on your computer (locales tells the computer how to manage a language). You need to install it - check your system documentation." msgstr "La locale '%s' n'est pas installée sur votre ordinateur (les locales disent à l'ordinateur comment gérer une langue). Vous devez l'installer - consultez la documentation de votre système." #: ../src/DFArcFrame.cpp:547 ../src/DFArcFrame.cpp:625 msgid "Warning" msgstr "Attention" #: ../src/DFArcFrame.cpp:587 #, c-format msgid "Dink Smallwood failed! Error code %d." msgstr "Dink Smallwood a rencontré une erreur ! (code %d)" #: ../src/DFArcFrame.cpp:589 ../src/DFArcFrame.cpp:594 #: ../src/DFArcFrame.cpp:655 ../src/DFArcFrame.cpp:657 #: ../src/DFArcFrame.cpp:700 ../src/DFArcFrame.cpp:709 msgid "Error" msgstr "Erreur" #: ../src/DFArcFrame.cpp:591 #, c-format msgid "Dink Smallwood ('%s') was not found on your computer. Please configure the Dink program name in the Options menu." msgstr "Dink Smallwood ('%s') n'a pas été trouvé sur votre ordinateur. Veuillez configurer le nom du programme Dink Smallwood dans le menu Options." #: ../src/DFArcFrame.cpp:622 msgid "Dinkedit saves all changes automatically. Altering maps can ruin the game. Are you sure you want to continue?" msgstr "Dinkedit enregistre vos modifications immédiatement. Modifier la carte peut rendre le jeu inutilisable. Voulez-vous vraiment continuer ?" #: ../src/DFArcFrame.cpp:652 #, c-format msgid "The editor ('%s') was not found on your computer. Please configure the editor program name in the Options menu." msgstr "L'éditeur ('%s') n'a pas été trouvé sur votre ordinateur. Veuillez configurer le nom de programme de l'éditeur dans le menu Options." #: ../src/DFArcFrame.cpp:657 msgid "Error while running the editor" msgstr "Erreur pendant le lancement de l'éditeur" #. FreeDesktop #. Gnome #. KDE #. Xfce #: ../src/DFArcFrame.cpp:698 msgid "Could not find a file manager (tried 'xdg-open', 'nautilus', 'konqueror' and 'thunar')" msgstr "Impossible de trouver un gestionnaire de fichier (j'ai essayé 'xdg-open', 'nautilus', 'konqueror' et 'thunar')" #: ../src/DFArcFrame.cpp:706 #, c-format msgid "Cannot start '%s', please check your configuration in the Options window." msgstr "Impossible de lancer '%s', veuillez vérifier votre configuration dans le fenêtre des Options." #: ../src/DFArcFrame.cpp:716 msgid "" "Welcome to DFArc, the Dink Smallwood front end!\n" "\n" "You can choose to play the original game (Dink Smallwood) or Dink-Modules (D-Mods) which contain new adventures.\n" "\n" "After completing the main game, give some D-Mods a try.\n" "There are hundreds of them, just click File-Download D-Mods." msgstr "" "Bienvenue dans DFArc, l'interface de lancement pour Dink Smallwood !\n" "\n" "Vous pouvez choisir de jouer au jeu original (Dink Smallwood) ou aux Dink-Modules (D-Mods) qui contiennent de nouvelles aventures.\n" "\n" "Après avoir fini le jeu principal, essayez quelques D-Mods.\n" "Il en existe des centaines, cliquez simplement sur Fichier-Télécharger des D-Mods." #: ../src/DFArcFrame.cpp:723 msgid "Introduction" msgstr "Introduction" #. If there's no directory, let's not override #: ../src/DFArcFrame.cpp:866 msgid "Cannot use the overridden Dink Smallwood directory - ignoring it. (permission problem?)" msgstr "Impossible d'utiliser le dossier Dink Smallwood que vous avez redéfini - il sera ignoré. (problème de permission ?)" #: ../src/DFArcFrame.cpp:868 ../src/DFArcFrame.cpp:876 msgid "Configuration error" msgstr "Erreur de configuration" #. If there's no directory, let's not override #: ../src/DFArcFrame.cpp:875 msgid "The Dink Smallwood directory you entered does not exist - ignoring it." msgstr "Le dossier de Dink Smallwood que vous avez entré n'existe pas - il sera ignoré." #: ../src/DFArcFrame.cpp:890 msgid "You must select the uninstall option from the start menu to uninstall the main game." msgstr "Vous devez sélectionner l'option désinstaller depuis le menu démarrer pour désinstaller le jeu principal." #: ../src/DFArcFrame.cpp:891 msgid "Uninstall - Error" msgstr "Désinstallation - Erreur" #: ../src/DFArcFrame.cpp:896 msgid "Do you want to remove all save game files?" msgstr "Voulez-vous supprimer toutes les sauvegardes ?" #: ../src/DFArcFrame.cpp:897 msgid "Uninstall - Save Game Files" msgstr "Désinstallation - Parties Sauvegardées" #: ../src/DFArcFrame.cpp:919 msgid "Unable to remove D-Mod directory. All other files were removed." msgstr "Impossible de supprimer le dossier du D-Mod. Tous les autres fichiers ont été supprimés." #: ../src/DFArcFrame.cpp:925 msgid "D-Mod successfully uninstalled" msgstr "Le D-Mod a été correctement désinstallé" #: ../src/DFArcFrame.cpp:926 msgid "Uninstall - Success" msgstr "Désinstallation - Réussie" #: ../src/InstallVerifyFrame.cpp:56 msgid "Preparing" msgstr "Préparation" #: ../src/InstallVerifyFrame.cpp:57 msgid "The D-Mod archive is being decompressed in a temporary file." msgstr "L'archive du D-Mod est en cours de décompression vers un fichier temporaire." #: ../src/InstallVerifyFrame.cpp:81 #, c-format msgid "" "No Description Available.\n" "\n" "The D-Mod will be installed in subdirectory '%s'." msgstr "" "Pas de description disponible.\n" "\n" "Le D-Mod sera installé dans le sous-dossier '%s'." #: ../src/InstallVerifyFrame.cpp:94 msgid "DFArc - Install D-Mod - " msgstr "DFArc - Installation d'un D-Mod - " #: ../src/InstallVerifyFrame.cpp:143 msgid "DFArc - Installing" msgstr "DFArc - Installation" #: ../src/InstallVerifyFrame.cpp:157 msgid "The D-Mod you selected" msgstr "Le paquet que vous avez sélectionné" #: ../src/InstallVerifyFrame.cpp:159 msgid " was successfully installed." msgstr " a été correctement installé." #: ../src/InstallVerifyFrame.cpp:160 ../src/Package.cpp:167 msgid "Success" msgstr "Terminé" #: ../src/InstallVerifyFrame.cpp:169 msgid "An error occured while extracting the .dmod file." msgstr "Une erreur est survenue pendant l'extraction du fichier .dmod." #: ../src/Options.cpp:113 msgid "System language" msgstr "Langue du système" #: ../src/Options.cpp:136 msgid "Custom" msgstr "Personnalisé" #: ../src/Options.cpp:175 msgid "Choose the Dink Smallwood install directory" msgstr "Sélectionnez le dossier d'installation de Dink Smallwood" #: ../src/Options.cpp:183 msgid "Choose a folder containing D-Mods" msgstr "Choisissez un dossier contenant des D-Mods" #: ../src/Package.cpp:123 msgid "You must provide an identifier filename." msgstr "Vous devez fournir un nom de fichier pour l'identifiant." #: ../src/Package.cpp:139 msgid "Packaging" msgstr "Création de paquet" #: ../src/Package.cpp:139 msgid "The D-Mod is being packaged." msgstr "Le paquet du D-Mod est en cours de création." #. Success dialog #: ../src/Package.cpp:165 #, c-format msgid "%s was successfully packaged (compression ratio %2.1f : 1)." msgstr "Paquet pour %s créé avec succès (quotient de compression %2.1f : 1)." #: ../src/Package.cpp:172 msgid "Packaging aborted - removing partial .dmod file." msgstr "Création du paquet stoppée - suppression du fichier .dmod partiel." #: ../src/Package.cpp:173 msgid "Abort" msgstr "Arrêter" #: ../src/RecursiveDelete.cpp:55 ../src/RecursiveDelete.cpp:73 #, c-format msgid "Could not remove %s" msgstr "Impossible de supprimer %s" #: ../src/Tar.cpp:95 msgid "Listing files..." msgstr "Parcours des fichiers..." #: ../src/Tar.cpp:134 msgid "Initializing..." msgstr "Initialisation..." #: ../src/Tar.cpp:138 #, c-format msgid "Error: Could not open tar file '%s' for bzip compression." msgstr "Erreur : impossible d'ouvrir le fichier tar '%s' pour compression bzip." #: ../src/Tar.cpp:160 msgid "Error: Could not initialize compression method! Will not generate a correct .dmod file. Quitting." msgstr "Erreur : impossible d'initialiser la méthode de compression ! Impossible par conséquent de générer un fichier .dmod valide. Abandon." #: ../src/Tar.cpp:193 #, c-format msgid "Error: File '%s' not found! Cannot archive file." msgstr "Erreur : le fichier '%s' ne peut être trouvé ! Impossible d'archiver le fichier." #. Close the output file. #: ../src/Tar.cpp:243 msgid "Closing..." msgstr "Finalisation..." #: ../src/Tar.cpp:363 #, c-format msgid "Error: File '%s' not found! Cannot read data." msgstr "Erreur : le fichier '%s' ne peut être trouvé ! Impossible de lire les données." #. Nope. Exit. #: ../src/Tar.cpp:400 msgid "Error: This .dmod file has an invalid checksum! Cannot read file." msgstr "Erreur : ce fichier .dmod contient une somme de contrôle invalide ! Impossible de lire le fichier." #: ../src/Tar.cpp:484 #, c-format msgid "Error: File '%s' not found! Cannot extract data." msgstr "Erreur : le fichier '%s' ne peut être trouvé ! Impossible d'extraire les données." #: ../src/Tar.cpp:494 #, c-format msgid "Error: Cannot create directory '%s'. Cannot extract data." msgstr "Erreur : le dossier '%s' ne peut être créé . Impossible d'extraire les données." #: ../src/Tar.cpp:552 #, c-format msgid "Got bad file %d/%d. Skipping." msgstr "Mauvais fichier %d/%d. Ignoré." #: ../src/Tar.cpp:574 #, c-format msgid "Error: Improperly archived file '%s'. Skipping." msgstr "Erreur : fichier '%s' mal archivé. Ignoré." #: ../src/Tar.cpp:607 msgid "Done." msgstr "Terminé." #: ../src/DFArcFrame_Base.cpp:27 msgid "&Open D-Mod to Install" msgstr "&Ouvrir un D-Mod à installer" #: ../src/DFArcFrame_Base.cpp:27 msgid "Select a D-Mod to install" msgstr "Sélectionne un D-Mod à installer" #: ../src/DFArcFrame_Base.cpp:28 msgid "&Download D-Mods" msgstr "&Télécharger des D-Mods" #: ../src/DFArcFrame_Base.cpp:28 msgid "Go to The Dink Network to download some D-Mods!" msgstr "Allez sur le Dink Network pour télécharger quelques D-Mods !" #: ../src/DFArcFrame_Base.cpp:30 msgid "E&xit" msgstr "&Quitter" #: ../src/DFArcFrame_Base.cpp:30 msgid "Exit DFArc" msgstr "Quitter DFArc" #: ../src/DFArcFrame_Base.cpp:31 msgid "&File" msgstr "&Fichier" #: ../src/DFArcFrame_Base.cpp:33 msgid "&Refresh D-Mod List" msgstr "&Rafraîchir la liste des D-Mods" #: ../src/DFArcFrame_Base.cpp:33 msgid "Refreshes the D-Mod list for any new additions" msgstr "Rafraîchir la liste des D-Mods pour prendre en compte les ajouts récents" #: ../src/DFArcFrame_Base.cpp:34 msgid "&Browse Selected D-Mod Directory" msgstr "&Parcourir le dossier du D-Mod sélectionné" #: ../src/DFArcFrame_Base.cpp:34 msgid "Browse to the directory containing the current D-Mod" msgstr "Aller au dossier contenant le D-Mod en cours" #: ../src/DFArcFrame_Base.cpp:35 msgid "&Uninstall Selected D-Mod" msgstr "&Désinstaller le D-Mod sélectionné" #: ../src/DFArcFrame_Base.cpp:35 msgid "Uninstalls the selected D-Mod" msgstr "Désinstalle le D-Mod sélectionné" #: ../src/DFArcFrame_Base.cpp:37 msgid "&Options" msgstr "&Options" #: ../src/DFArcFrame_Base.cpp:37 msgid "View or modify DFArc options" msgstr "Voir ou modifier les options de DFArc" #: ../src/DFArcFrame_Base.cpp:38 msgid "&Edit" msgstr "Modifi&er" #: ../src/DFArcFrame_Base.cpp:40 msgid "&Introduction" msgstr "&Introduction" #: ../src/DFArcFrame_Base.cpp:40 msgid "A quick introduction to Dinking and D-Mods" msgstr "Une rapide introduction Dink et aux D-Mods" #: ../src/DFArcFrame_Base.cpp:41 msgid "&Walkthroughs and Guides" msgstr "&Soluces et Guides" #: ../src/DFArcFrame_Base.cpp:41 msgid "Stuck in a D-Mod? Check out The Dink Smallwood Solutions." msgstr "Coincé dans un D-Mod ? Allez sur le site des Dink Solutions." #: ../src/DFArcFrame_Base.cpp:42 msgid "&Forums" msgstr "&Forums" #: ../src/DFArcFrame_Base.cpp:42 msgid "Ask a question on the forums, or see if someone had the same problem." msgstr "Poser une question sur les forums, ou voir si quelqu'un a eu le même problème." #: ../src/DFArcFrame_Base.cpp:44 msgid "&About" msgstr "&À propos" #: ../src/DFArcFrame_Base.cpp:44 msgid "About DFArc" msgstr "À propos de DFArc" #: ../src/DFArcFrame_Base.cpp:45 msgid "&Help" msgstr "&Aide" #: ../src/DFArcFrame_Base.cpp:50 msgid "Play" msgstr "Jouer" #: ../src/DFArcFrame_Base.cpp:51 msgid "True Color" msgstr "Couleurs vraies" #: ../src/DFArcFrame_Base.cpp:52 msgid "Windowed" msgstr "Fenêtré" #: ../src/DFArcFrame_Base.cpp:53 msgid "Sound" msgstr "Son" #: ../src/DFArcFrame_Base.cpp:54 msgid "Joystick" msgstr "Joystick" #: ../src/DFArcFrame_Base.cpp:55 msgid "Debug" msgstr "Débogage" #: ../src/DFArcFrame_Base.cpp:56 msgid "v1.07 mode" msgstr "Mode v1.07" #: ../src/DFArcFrame_Base.cpp:57 msgid "Edit" msgstr "Modifier" #: ../src/DFArcFrame_Base.cpp:58 ../src/Package_Base.cpp:27 msgid "Package" msgstr "Créer le paquet" #. begin wxGlade: DFArcFrame_Base::set_properties #: ../src/DFArcFrame_Base.cpp:73 msgid "DFArc v3" msgstr "DFArc v3" #: ../src/DFArcFrame_Base.cpp:83 msgid "v1.07 compatibility mode, for D-Mods released before 2006" msgstr "Mode de compatibilité v1.07, pour les D-Mods sortis avant 2006" #. begin wxGlade: InstallVerifyFrame_Base::InstallVerifyFrame_Base #: ../src/InstallVerifyFrame_Base.cpp:23 msgid "Preparing..." msgstr "Préparation..." #: ../src/InstallVerifyFrame_Base.cpp:25 msgid "Main Dink directory" msgstr "Dossier principal Dink Smallwood" #: ../src/InstallVerifyFrame_Base.cpp:26 ../src/Options_Base.cpp:29 msgid "Additional D-Mods directory" msgstr "Dossier de D-Mods supplémentaires" #: ../src/InstallVerifyFrame_Base.cpp:28 msgid "Where do you want to install this D-Mod?" msgstr "Où souhaitez-vous installer ce D-Mod ?" #: ../src/InstallVerifyFrame_Base.cpp:29 msgid "Install" msgstr "Installer" #. begin wxGlade: InstallVerifyFrame_Base::set_properties #: ../src/InstallVerifyFrame_Base.cpp:41 msgid "DFArc - Install D-Mod" msgstr "DFArc2 - Installation d'un D-Mod" #. begin wxGlade: Options_Base::Options_Base #: ../src/Options_Base.cpp:23 msgid "Close DFArc on play" msgstr "Fermer DFArc au moment de jouer" #: ../src/Options_Base.cpp:24 msgid "Show developer buttons" msgstr "Afficher les boutons pour développeur" #: ../src/Options_Base.cpp:25 msgid "The engine updates dinksmallwood.ini on run (deprecated)" msgstr "Le moteur met à jour dinksmallwood.ini (obsolète)" #: ../src/Options_Base.cpp:26 msgid "Override the Dink Smallwood directory" msgstr "Remplacer le dossier de Dink Smallwood" #: ../src/Options_Base.cpp:28 ../src/Options_Base.cpp:31 msgid "Browse" msgstr "Parcourir" #: ../src/Options_Base.cpp:32 msgid "Game program name" msgstr "Nom de programme du jeu" #: ../src/Options_Base.cpp:35 msgid "Editor program name" msgstr "Nom de programme de l'éditeur" #: ../src/Options_Base.cpp:38 msgid "Preferred file browser" msgstr "Explorateur de fichiers préféré" #: ../src/Options_Base.cpp:40 msgid "" "DFArc language\n" "(restart DFArc to apply)" msgstr "" "Langue de DFArc\n" "(nécessite de relancer DFArc)" #. begin wxGlade: Options_Base::set_properties #: ../src/Options_Base.cpp:56 msgid "DFArc - Options" msgstr "DFArc - Options" #. begin wxGlade: Package_Base::Package_Base #: ../src/Package_Base.cpp:23 msgid "Identifier" msgstr "Identifiant" #: ../src/Package_Base.cpp:24 #, c-format msgid "" "Note: Unless you're making a D-Mod, you shouldn't be around here.\n" "This is for creating a .dmod file for a D-Mod you made.\n" "\n" "Will package '%s' located at\n" "%s" msgstr "" "Note : sauf si vous créez un D-Mod, vous n'avez rien à faire ici.\n" "Il s'agit de créer un fichier .dmod pour un D-Mod que vous avez créé.\n" "\n" "Création de paquet pour '%s' situé dans\n" "%s" #: ../src/Package_Base.cpp:25 msgid "D-Mod filename (8 letters/numbers)" msgstr "Fichier du D-Mod (8 lettres/nombres)" #. begin wxGlade: Package_Base::set_properties #: ../src/Package_Base.cpp:39 msgid "DFArc - Package" msgstr "DFArc - Création d'un paquet" #: ../share/freedink-dfarc.desktop.in.h:1 msgid "DFArc - Dink frontend" msgstr "DFArc - Interface de lancement pour Dink" #: ../share/freedink-dfarc.desktop.in.h:2 msgid "Run, edit, install, remove and package D-Mods (Dink Modules)" msgstr "Lancer, éditer, installer, supprimer et mettre en paquets des D-Mods (Dink Modules)" #: ../share/freedink-mime.xml.in.h:1 msgid "Packaged D-Mod" msgstr "D-Mod en paquet" #~ msgid "ERROR" #~ msgstr "ERREUR" #~ msgid "Error: Could not open output file '%s' for bzip compression." #~ msgstr "Erreur : impossible d'ouvrir le fichier '%s' pour compression bzip." dfarc-3.12/po/pt_BR.po0000664000175000017510000004722012107043307011430 00000000000000# Brazilian Portuguese translation for dfarc # Copyright (C) 2013 THE dfarc'S COPYRIGHT HOLDER # This file is distributed under the same license as the dfarc package. # Enrico Nicoletto , 2013. # msgid "" msgstr "" "Project-Id-Version: dfarc 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-10-28 20:47+0000\n" "PO-Revision-Date: 2013-02-14 00:00-0300\n" "Last-Translator: Enrico Nicoletto \n" "Language-Team: Brazilian Portuguese \n" "Language: pt_BR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" "X-Generator: Poedit 1.5.4\n" "X-Poedit-Language: Portuguese\n" "X-Poedit-Country: BRAZIL\n" #: ../src/BZip.cpp:300 #, c-format msgid "Error: Could not open input file '%s' for bzip decompression." msgstr "Erro: não foi possível abrir o arquivo de entrada \"%s\" para descompactação.bzip." #: ../src/BZip.cpp:315 msgid "Error: Invalid .dmod file selected!" msgstr "Erro: selecionado arquivo .dmod inválido!" #: ../src/BZip.cpp:325 #, c-format msgid "Error: Could not write to '%s'." msgstr "Erro: não foi possível escrever em \"%s\"." #: ../src/BZip.cpp:357 msgid "Invalid .dmod file specified." msgstr "Especificado arquivo .dmod inválido" #: ../src/BZip.cpp:361 msgid "Critical program function error: opened for write." msgstr "Erro em função crítica do programa: aberto para escrita" #: ../src/BZip.cpp:365 msgid "Could not read .dmod file." msgstr "Não foi possível ler o arquivo .dmod" #: ../src/BZip.cpp:369 msgid "Incomplete .dmod file. Please download it again." msgstr "Arquivo .dmod incompleto. Por gentileza, baixe-o novamente." #: ../src/BZip.cpp:373 msgid "The .dmod file is corrupted. Please download it again." msgstr "O arquivo .dmod está corrompido. Por gentileza, baixe-o novamente." #: ../src/BZip.cpp:377 msgid "The file is not a valid .dmod file." msgstr "O arquivo não é um arquivo .dmod válido." #: ../src/BZip.cpp:381 msgid "Out of memory error." msgstr "Erro de falta de memória." #: ../src/BZip.cpp:385 msgid "An unhandled error occured." msgstr "Ocorreu um erro não tratado." #: ../src/Config.cpp:216 msgid "Error: dinksmallwood.ini not found. Please run the main game and try running this program again." msgstr "Erro: dinksmallwood.ini não encontrado. Por gentileza, execute o jogo principal e tente executar novamente este programa." #: ../src/Config.cpp:224 msgid "Error opening dinksmallwood.ini" msgstr "Ocorreu erro ao abrir dinksmallwood.ini" #: ../src/DFArcFrame.cpp:168 #, c-format msgid "" "DFArc version %s\n" "Copyright (C) 2004 Andrew Reading (merlin)\n" "Copyright (C) 2005, 2006 Dan Walma (redink1)\n" "Copyright (C) 2008, 2009, 2010 Sylvain Beucler (Beuc)\n" "Build Date: %s\n" "Powered by bzip2 (http://www.bzip.org) and wxWidgets (http://www.wxwidgets.org)" msgstr "" "DFArc versão %s\n" "Copyright (C) 2004 Andrew Reading (merlin)\n" "Copyright (C) 2005, 2006 Dan Walma (redink1)\n" "Copyright (C) 2008, 2009, 2010 Sylvain Beucler (Beuc)\n" "Tradutor: Enrico Nicoletto , 2013\n" "Data de construção: %s\n" "Oferecido por bzip2 (http://www.bzip.org) e wxWidgets (http://www.wxwidgets.org)" #: ../src/DFArcFrame.cpp:175 msgid "About DFArc v3" msgstr "Sobre o DFArc v3" #. Default logo (currently all black with a question mark) #. TRANSLATORS: please make this SHORT, possibly rephrasing as "< #. Choose!". This is included in the 160x120px logo box in the main #. window and it doesn't word-wrap. #: ../src/DFArcFrame.cpp:246 msgid "< Pick a D-Mod" msgstr "< Escolha D-Mod" #: ../src/DFArcFrame.cpp:312 msgid "No translations" msgstr "Sem traduções" #. Not displaying the default language explicitely, because it #. makes the user think that a translation is always available. #. mGameLocaleList->Insert(wxString(_("Default language")) + wxT(" (") + cur_locale_name + wxT(")"), 0); #: ../src/DFArcFrame.cpp:319 ../src/Options.cpp:120 msgid "Don't translate" msgstr "Não traduzir" #: ../src/DFArcFrame.cpp:338 msgid "D-Mod files (*.dmod)" msgstr "Arquivos D-Mod (*.dmod)" #: ../src/DFArcFrame.cpp:339 msgid "Select a .dmod file" msgstr "Selecione um arquivo .dmod" #: ../src/DFArcFrame.cpp:534 #, c-format msgid "The '%s' locale is not installed on your computer (locales tells the computer how to manage a language). You need to install it - check your system documentation." msgstr "O local '%s' não está instalado em seu computador (locais dizem ao computador como gerenciar um idioma). Voce precisa instalá-lo - verifique a documentação do seu sistema." #: ../src/DFArcFrame.cpp:537 ../src/DFArcFrame.cpp:615 msgid "Warning" msgstr "Aviso" #: ../src/DFArcFrame.cpp:577 #, c-format msgid "Dink Smallwood failed! Error code %d." msgstr "Dink Smallwood falhou! Código de erro %d." #: ../src/DFArcFrame.cpp:579 ../src/DFArcFrame.cpp:584 #: ../src/DFArcFrame.cpp:645 ../src/DFArcFrame.cpp:647 #: ../src/DFArcFrame.cpp:690 ../src/DFArcFrame.cpp:699 msgid "Error" msgstr "Erro" #: ../src/DFArcFrame.cpp:581 #, c-format msgid "Dink Smallwood ('%s') was not found on your computer. Please configure the Dink program name in the Options menu." msgstr "Dink Smallwood ('%s') não foi encontrado em seu computador. Por gentileza, configure o nome do programa Dink no menu de opções." #: ../src/DFArcFrame.cpp:612 msgid "Dinkedit saves all changes automatically. Altering maps can ruin the game. Are you sure you want to continue?" msgstr "Dinkedit salva todas as alterações automaticamente. Alterar mapas pode arruinar o jogo. Voce tem certeza que deseja continuar?" #: ../src/DFArcFrame.cpp:642 #, c-format msgid "The editor ('%s') was not found on your computer. Please configure the editor program name in the Options menu." msgstr "O editor ('%s') não foi encontrado em seu computador. Por gentileza, configure o nome do programa editor no menu de opções." #: ../src/DFArcFrame.cpp:647 msgid "Error while running the editor" msgstr "Ocorreu erro ao executar o editor" #. FreeDesktop #. Gnome #. KDE #. Xfce #: ../src/DFArcFrame.cpp:688 msgid "Could not find a file manager (tried 'xdg-open', 'nautilus', 'konqueror' and 'thunar')" msgstr "Não foi possível encontrar um gerenciador de arquivos (foi tentado: 'xdg-open', 'nautilus', 'konqueror' e 'thunar')" #: ../src/DFArcFrame.cpp:696 #, c-format msgid "Cannot start '%s', please check your configuration in the Options window." msgstr "Não foi possível iniciar '%s', por gentileza verifique sua configuração na janela de opções." #: ../src/DFArcFrame.cpp:706 msgid "" "Welcome to DFArc, the Dink Smallwood front end!\n" "\n" "You can choose to play the original game (Dink Smallwood) or Dink-Modules (D-Mods) which contain new adventures.\n" "\n" "After completing the main game, give some D-Mods a try.\n" "There are hundreds of them, just click File-Download D-Mods." msgstr "" "Bem-vindo ao DFArc, a interface do Dink Smallwood!\n" "\n" "Você pode optar por executar o jogo original (Dink Smallwood) ou módulos do Dink (D-Mods) que possuem novas aventuras.\n" "\n" "Após completar o jogo principal, tente alguns D-Mods.\n" "Há centenas deles, basta clicar em Arquivo > Baixar D-Mods." #: ../src/DFArcFrame.cpp:713 msgid "Introduction" msgstr "Introdução" #. If there's no directory, let's not override #: ../src/DFArcFrame.cpp:856 msgid "Cannot use the overriden Dink Smallwood directory - ignoring it. (permission problem?)" msgstr "Não foi possível usar o diretório sobrescrito do Dink Smallwood - ignorando-o. (problema de permissão?) " #: ../src/DFArcFrame.cpp:858 ../src/DFArcFrame.cpp:866 msgid "Configuration error" msgstr "Erro de configuração" #. If there's no directory, let's not override #: ../src/DFArcFrame.cpp:865 msgid "The Dink Smallwood directory you entered does not exist - ignoring it." msgstr "O diretório Dink Smallwood que voce digitou não existe - ignorando-o." #: ../src/DFArcFrame.cpp:880 msgid "You must select the uninstall option from the start menu to uninstall the main game." msgstr "Voce deve selecionar a opção de desinstalar a partir do menu iniciar para desinstalar o jogo principal." #: ../src/DFArcFrame.cpp:881 msgid "Uninstall - Error" msgstr "Desinstalação: erro" #: ../src/DFArcFrame.cpp:886 msgid "Do you want to remove all save game files?" msgstr "Você deseja remover todos os arquivos salvos de jogo?" #: ../src/DFArcFrame.cpp:887 msgid "Uninstall - Save Game Files" msgstr "Desinstalação: Salvar arquivos de jogo" #: ../src/DFArcFrame.cpp:909 msgid "Unable to remove D-Mod directory. All other files were removed." msgstr "Não foi possível remover o diretório D-Mod. Todos os outros arquivos foram removidos." #: ../src/DFArcFrame.cpp:915 msgid "D-Mod successfully uninstalled" msgstr "D-Mod foi desinstalado com sucesso" #: ../src/DFArcFrame.cpp:916 msgid "Uninstall - Success" msgstr "Desinstalação: Sucesso" #: ../src/InstallVerifyFrame.cpp:56 msgid "Preparing" msgstr "Preparando" #: ../src/InstallVerifyFrame.cpp:57 msgid "The D-Mod archive is being decompressed in a temporary file." msgstr "O pacote D-Mod está sendo descompactado em um arquivo temporário." #: ../src/InstallVerifyFrame.cpp:81 #, c-format msgid "" "No Description Available.\n" "\n" "The D-Mod will be installed in subdirectory '%s'." msgstr "" "Sem descrição disponível.\n" "\n" "O D-Mod será instalado no subdiretório '%s'." #: ../src/InstallVerifyFrame.cpp:94 msgid "DFArc - Install D-Mod - " msgstr "DFArc: Instalar D-Mod" #: ../src/InstallVerifyFrame.cpp:143 msgid "DFArc - Installing" msgstr "DFArc: Instalando" #: ../src/InstallVerifyFrame.cpp:157 msgid "The D-Mod you selected" msgstr "O D-Mod que você selecionou" #: ../src/InstallVerifyFrame.cpp:159 msgid " was successfully installed." msgstr " foi instalado com sucesso." #: ../src/InstallVerifyFrame.cpp:160 ../src/Package.cpp:167 msgid "Success" msgstr "Sucesso" #: ../src/InstallVerifyFrame.cpp:169 msgid "An error occured while extracting the .dmod file." msgstr "Ocorreu um erro ao extrair o arquivo .dmod" #: ../src/Options.cpp:115 msgid "System language" msgstr "Idioma do sistema" #: ../src/Options.cpp:138 msgid "Custom" msgstr "Personalizado" #: ../src/Options.cpp:177 msgid "Choose the Dink Smallwood install directory" msgstr "Escolha o diretório de instalação do Dink Smallwood" #: ../src/Options.cpp:185 msgid "Choose a folder containing D-Mods" msgstr "Escolha uma pasta que possua D-Mods" #: ../src/Package.cpp:123 msgid "You must provide an identifier filename." msgstr "Você deve fornecer um nome de arquivo identificador." #: ../src/Package.cpp:139 msgid "Packaging" msgstr "Empacotando" #: ../src/Package.cpp:139 msgid "The D-Mod is being packaged." msgstr "O D-Mod está sendo empacotado." #. Success dialog #: ../src/Package.cpp:165 #, c-format msgid "%s was successfully packaged (compression ratio %2.1f : 1)." msgstr "%s foi empacotado com sucesso (taxa de compressão %2.1f : 1)" #: ../src/Package.cpp:172 msgid "Packaging aborted - removing partial .dmod file." msgstr "Empacotamento cancelado - removendo arquivos .dmod parciais." #: ../src/Package.cpp:173 msgid "Abort" msgstr "Cancelar" #: ../src/RecursiveDelete.cpp:55 ../src/RecursiveDelete.cpp:73 #, c-format msgid "Could not remove %s" msgstr "Não foi possível remover %s" #: ../src/Tar.cpp:91 msgid "Listing files..." msgstr "Listando arquivos..." #: ../src/Tar.cpp:125 msgid "Initializing..." msgstr "Inicializando..." #: ../src/Tar.cpp:129 #, c-format msgid "Error: Could not open tar file '%s' for bzip compression." msgstr "Erro: Não foi possível abrir o arquivo tar '%s' para compactação bzip." #: ../src/Tar.cpp:130 msgid "ERROR" msgstr "ERRO" #: ../src/Tar.cpp:151 msgid "Error: Could not initialize compression method! Will not generate a correct .dmod file. Quitting." msgstr "Erro: Não foi possível inicializar método de compressão! Não será gerado um arquivo .dmod correto. Saindo." #: ../src/Tar.cpp:184 #, c-format msgid "Error: File '%s' not found! Cannot archive file." msgstr "Erro: Arquivo '%s' não encontrado! Não é possível arquivar o arquivo." #. Close the output file. #: ../src/Tar.cpp:234 msgid "Closing..." msgstr "Fechando..." #: ../src/Tar.cpp:354 #, c-format msgid "Error: File '%s' not found! Cannot read data." msgstr "Erro: o arquivo '%s' não foi encontrado! Não é possível ler dados." #. Nope. Exit. #: ../src/Tar.cpp:391 msgid "Error: This .dmod file has an invalid checksum! Cannot read file." msgstr "Erro: este arquivo .dmod possui soma de verificação inválido! Não é possível ler o arquivo." #: ../src/Tar.cpp:476 #, c-format msgid "Error: File '%s' not found! Cannot extract data." msgstr "Erro: o arquivo '%s' não foi encontrado! Não é possível extrair dados." #: ../src/Tar.cpp:486 #, c-format msgid "Error: Cannot create directory '%s'. Cannot extract data." msgstr "Erro: Não é possível criar o diretório '%s'. Não foi possível extrair dados." #: ../src/Tar.cpp:544 #, c-format msgid "Got bad file %d/%d. Skipping." msgstr "Obteve um arquivo ruim %d/%d. Ignorando." #: ../src/Tar.cpp:568 #, c-format msgid "Error: Improperly archived file '%s'. Skipping." msgstr "Erro: o arquivo '%s' foi arquivado incorretamente. Ignorando." #: ../src/Tar.cpp:599 msgid "Done." msgstr "Concluído." #: ../src/DFArcFrame_Base.cpp:18 msgid "&Open D-Mod to Install" msgstr "A&brir D-Mod para instalar" #: ../src/DFArcFrame_Base.cpp:18 msgid "Select a D-Mod to install" msgstr "Seleciona um D-Mod para instalação" #: ../src/DFArcFrame_Base.cpp:19 msgid "&Download D-Mods" msgstr "Bai&xar D-Mods" #: ../src/DFArcFrame_Base.cpp:19 msgid "Go to The Dink Network to download some D-Mods!" msgstr "Vá a rede Dink para baixar alguns D-Mods!" #: ../src/DFArcFrame_Base.cpp:21 msgid "E&xit" msgstr "Sa&ir" #: ../src/DFArcFrame_Base.cpp:21 msgid "Exit DFArc" msgstr "Sair do DFArc" #: ../src/DFArcFrame_Base.cpp:22 msgid "&File" msgstr "&Arquivo" #: ../src/DFArcFrame_Base.cpp:24 msgid "&Refresh D-Mod List" msgstr "At&ualizar lista D-Mod" #: ../src/DFArcFrame_Base.cpp:24 msgid "Refreshes the D-Mod list for any new additions" msgstr "Atualiza a lista D-Mod para quaisquer novas adições" #: ../src/DFArcFrame_Base.cpp:25 msgid "&Browse Selected D-Mod Directory" msgstr "Na&vegar pelo diretório D-Mod selecionado" #: ../src/DFArcFrame_Base.cpp:25 msgid "Browse to the directory containing the current D-Mod" msgstr "Navega pelo diretório contendo o D-Mod atual" #: ../src/DFArcFrame_Base.cpp:26 msgid "&Uninstall Selected D-Mod" msgstr "Desins&talar D-Mod selecionado" #: ../src/DFArcFrame_Base.cpp:26 msgid "Uninstalls the selected D-Mod" msgstr "Desinstala o D-Mod selecionado" #: ../src/DFArcFrame_Base.cpp:28 msgid "&Options" msgstr "&Opções" #: ../src/DFArcFrame_Base.cpp:28 msgid "View or modify DFArc options" msgstr "Ver ou modificar opções DFArc" #: ../src/DFArcFrame_Base.cpp:29 msgid "&Edit" msgstr "&Editar" #: ../src/DFArcFrame_Base.cpp:31 msgid "&Introduction" msgstr "&Introdução" #: ../src/DFArcFrame_Base.cpp:31 msgid "A quick introduction to Dinking and D-Mods" msgstr "Uma breve introdução sobre Dinking e D-Mods" #: ../src/DFArcFrame_Base.cpp:32 msgid "&Walkthroughs and Guides" msgstr "&Passo a passo e guias" #: ../src/DFArcFrame_Base.cpp:32 msgid "Stuck in a D-Mod? Check out The Dink Smallwood Solutions." msgstr "Emperrou em um D-Mod? Confira as soluções do Dink Smallwood." #: ../src/DFArcFrame_Base.cpp:33 msgid "&Forums" msgstr "&Fóruns" #: ../src/DFArcFrame_Base.cpp:33 msgid "Ask a question on the forums, or see if someone had the same problem." msgstr "Faça uma pergunta nos fóruns ou veja se alguém possui o mesmo problema." #: ../src/DFArcFrame_Base.cpp:35 msgid "&About" msgstr "&Sobre" #: ../src/DFArcFrame_Base.cpp:35 msgid "About DFArc" msgstr "Sobre o DFArc" #: ../src/DFArcFrame_Base.cpp:36 msgid "&Help" msgstr "A&juda" #: ../src/DFArcFrame_Base.cpp:41 msgid "Play" msgstr "Jogar" #: ../src/DFArcFrame_Base.cpp:42 msgid "True Color" msgstr "True Color" #: ../src/DFArcFrame_Base.cpp:43 msgid "Windowed" msgstr "Em janela" #: ../src/DFArcFrame_Base.cpp:44 msgid "Sound" msgstr "Som" #: ../src/DFArcFrame_Base.cpp:45 msgid "Joystick" msgstr "Controles" #: ../src/DFArcFrame_Base.cpp:46 msgid "Debug" msgstr "Depurador" #: ../src/DFArcFrame_Base.cpp:47 msgid "v1.07 mode" msgstr "modo v1.07" #: ../src/DFArcFrame_Base.cpp:48 msgid "Edit" msgstr "Editar" #: ../src/DFArcFrame_Base.cpp:49 ../src/Package_Base.cpp:18 msgid "Package" msgstr "Pacote" #. begin wxGlade: DFArcFrame_Base::set_properties #: ../src/DFArcFrame_Base.cpp:64 msgid "DFArc v3" msgstr "DFArc v3" #: ../src/DFArcFrame_Base.cpp:74 msgid "v1.07 compatibility mode, for D-Mods released before 2006" msgstr "modo de compatibilidade v1.07, para D-Mods lançados antes de 2006" #. begin wxGlade: InstallVerifyFrame_Base::InstallVerifyFrame_Base #: ../src/InstallVerifyFrame_Base.cpp:14 msgid "Preparing..." msgstr "Preparando..." #: ../src/InstallVerifyFrame_Base.cpp:16 msgid "Main Dink directory" msgstr "Diretório principal Dink" #: ../src/InstallVerifyFrame_Base.cpp:17 ../src/Options_Base.cpp:20 msgid "Additional D-Mods directory" msgstr "Diretórios D-Mods adicionais" #: ../src/InstallVerifyFrame_Base.cpp:19 msgid "Where do you want to install this D-Mod?" msgstr "Onde você deseja instalar este D-Mod?" #: ../src/InstallVerifyFrame_Base.cpp:20 msgid "Install" msgstr "Instalar" #. begin wxGlade: InstallVerifyFrame_Base::set_properties #: ../src/InstallVerifyFrame_Base.cpp:32 msgid "DFArc - Install D-Mod" msgstr "DFArc: Instalação D-Mod" #. begin wxGlade: Options_Base::Options_Base #: ../src/Options_Base.cpp:14 msgid "Close DFArc on play" msgstr "Fechar DFArc ao jogar" #: ../src/Options_Base.cpp:15 msgid "Show developer buttons" msgstr "Mostrar botões de desenvolvedor" #: ../src/Options_Base.cpp:16 msgid "The engine updates dinksmallwood.ini on run (deprecated)" msgstr "O mecanismo atualiza dinksmallwood.ini ao executar (obsoleto)" #: ../src/Options_Base.cpp:17 msgid "Override the Dink Smallwood directory" msgstr "Sobrescrever o diretório Dink Smallwood" #: ../src/Options_Base.cpp:19 ../src/Options_Base.cpp:22 msgid "Browse" msgstr "Navegar" #: ../src/Options_Base.cpp:23 msgid "Game program name" msgstr "Nome do programa de jogo" #: ../src/Options_Base.cpp:26 msgid "Editor program name" msgstr "Nome do editor de jogo" #: ../src/Options_Base.cpp:29 msgid "Preferred file browser" msgstr "Navegador de arquivos preferido" #: ../src/Options_Base.cpp:31 msgid "" "DFArc language\n" "(restart DFArc to apply)" msgstr "" "idioma do DFArc\n" "(reinicie o DFArc para aplicar)" #. begin wxGlade: Options_Base::set_properties #: ../src/Options_Base.cpp:47 msgid "DFArc - Options" msgstr "DFArc: Opções" #. begin wxGlade: Package_Base::Package_Base #: ../src/Package_Base.cpp:14 msgid "Identifier" msgstr "Identificador" #: ../src/Package_Base.cpp:15 #, c-format msgid "" "Note: Unless you're making a D-Mod, you shouldn't be around here.\n" "This is for creating a .dmod file for a D-Mod you made.\n" "\n" "Will package '%s' located at\n" "%s" msgstr "" "Observação: A menos que você esteja fazendo um D-Mod, você não deveria estar por aqui.\n" "Isto é para criar um arquivo .dmod para um D-Mod que você fez.\n" "\n" "Irá empacotar '%s' localizado em\n" "%s" #: ../src/Package_Base.cpp:16 msgid "D-Mod filename (8 letters/numbers)" msgstr "Nome de arquivo D-Mod (8 letras/números)" #. begin wxGlade: Package_Base::set_properties #: ../src/Package_Base.cpp:30 msgid "DFArc - Package" msgstr "DFArc - Pacote" #: ../share/freedink-dfarc.desktop.in.h:1 msgid "DFArc - Dink frontend" msgstr "DFArc - interface do Dink" #: ../share/freedink-dfarc.desktop.in.h:2 msgid "Run, edit, install, remove and package D-Mods (Dink Modules)" msgstr "Execute, edite, instale, remova e empacote D-Mods (Módulos Dink)" #: ../share/freedink-mime.xml.in.h:1 msgid "Packaged D-Mod" msgstr "D-Mod empacotado" dfarc-3.12/po/vi.po0000664000175000017510000005071712401303135011040 00000000000000# Vietnamese translation for Dfarc. # Bản dịch tiếng Việt dành cho dfarc. # Copyright © 2014 Free Software Foundation, Inc. # This file is distributed under the same license as the dfarc package. # Clytie Siddall , 2009, 2010. # Trần Ngá»c Quân , 2012-14. # msgid "" msgstr "" "Project-Id-Version: dfarc 3.11-pre1\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-09-01 20:58+0200\n" "PO-Revision-Date: 2014-09-02 15:47+0700\n" "Last-Translator: Trần Ngá»c Quân \n" "Language-Team: Vietnamese \n" "Language: vi_VN\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Poedit 1.5.5\n" "X-Poedit-SourceCharset: utf-8\n" #: ../src/BZip.cpp:303 #, c-format msgid "Error: Could not open input file '%s' for bzip decompression." msgstr "Lá»—i: không thể mở tập tin nhập “%s†để giải nén bzip." #: ../src/BZip.cpp:318 msgid "Error: Invalid .dmod file selected!" msgstr "Lá»—i: sai chá»n tập tin .dmod!" #: ../src/BZip.cpp:328 #, c-format msgid "Error: Could not write to '%s'." msgstr "Lá»—i: không thể ghi vào “%sâ€." #: ../src/BZip.cpp:360 msgid "Invalid .dmod file specified." msgstr "Ghi rõ má»™t tập tin .dmod không hợp lệ." #: ../src/BZip.cpp:364 msgid "Critical program function error: opened for write." msgstr "Lá»—i chức năng chương trình nghiêm trá»ng: đã mở để ghi." #: ../src/BZip.cpp:368 msgid "Could not read .dmod file." msgstr "Không thể Ä‘á»c tập tin .dmod." #: ../src/BZip.cpp:372 msgid "Incomplete .dmod file. Please download it again." msgstr "Tập tin .dmod chưa hoàn thành. Hãy tải xuống lại." #: ../src/BZip.cpp:376 msgid "The .dmod file is corrupted. Please download it again." msgstr "Tập tin .dmod bị há»ng. Hãy tải xuống lại." #: ../src/BZip.cpp:380 msgid "The file is not a valid .dmod file." msgstr "Tập tin này không phải là má»™t tập tin “.dmod†hợp lệ." #: ../src/BZip.cpp:384 msgid "Out of memory error." msgstr "Lá»—i do không đủ bá»™ nhá»›." #: ../src/BZip.cpp:388 msgid "An unhandled error occured." msgstr "Gặp má»™t lá»—i chưa được quản lý." #: ../src/Config.cpp:202 msgid "Error: dinksmallwood.ini not found. Please run the main game and try running this program again." msgstr "Lá»—i: không tìm thấy tập tin dinksmallwood.ini. Hãy chạy trò chÆ¡i chính và thá»­ chạy lại chương trình này." #: ../src/Config.cpp:210 msgid "Error opening dinksmallwood.ini" msgstr "Gặp lá»—i khi mở tập tin “dinksmallwood.iniâ€." #: ../src/DFArcFrame.cpp:174 #, c-format msgid "" "DFArc version %s\n" "Copyright (C) 2004 Andrew Reading (merlin)\n" "Copyright (C) 2005, 2006 Dan Walma (redink1)\n" "Copyright (C) 2008-2014 Sylvain Beucler (Beuc)\n" "Build Date: %s\n" "Powered by bzip2 (bzip.org) and wxWidgets (wxwidgets.org)" msgstr "" "DFArc phiên bản %s\n" "Tác quyá»n © năm 2004 cá»§a Andrew Reading (merlin)\n" "Tác quyá»n © năm 2005, 2006 cá»§a Dan Walma (redink1)\n" "Tác quyá»n © năm 2008-2014 cá»§a Sylvain Beucler (Beuc)\n" "Ngày biên dịch: %s\n" "Có sá»­ dụng bzip2 (bzip.org) và wxWidgets (wxwidgets.org)" #: ../src/DFArcFrame.cpp:181 msgid "About DFArc v3" msgstr "Giá»›i thiệu DFArc v3" #. Default logo (currently all black with a question mark) #. TRANSLATORS: please make this SHORT, possibly rephrasing as "< #. Choose!". This is included in the 160x120px logo box in the main #. window and it doesn't word-wrap. #: ../src/DFArcFrame.cpp:253 msgid "< Pick a D-Mod" msgstr "< Chá»n D-Mod" #: ../src/DFArcFrame.cpp:318 msgid "No translations" msgstr "Không bản dịch" #. Not displaying the default language explicitely, because it #. makes the user think that a translation is always available. #. mGameLocaleList->Insert(wxString(_("Default language")) + wxT(" (") + cur_locale_name + wxT(")"), 0); #: ../src/DFArcFrame.cpp:325 ../src/Options.cpp:118 msgid "Don't translate" msgstr "Äừng dịch" #: ../src/DFArcFrame.cpp:348 msgid "D-Mod files (*.dmod)" msgstr "Tập tin D-Mod (*.dmod)" #: ../src/DFArcFrame.cpp:349 msgid "Select a .dmod file" msgstr "Chá»n má»™t tập tin .dmod" #: ../src/DFArcFrame.cpp:544 #, c-format msgid "The '%s' locale is not installed on your computer (locales tells the computer how to manage a language). You need to install it - check your system documentation." msgstr "Miá»n địa phương “%s†chưa được cài đặt trên máy tính cá»§a bạn (các tên miá»n địa phương nói cho máy tính biết cách quản lý các ngôn ngữ). Bạn cần cài đặt nó - hãy kiểm tra các tài liệu trong hệ thống cá»§a bạn." #: ../src/DFArcFrame.cpp:547 ../src/DFArcFrame.cpp:625 msgid "Warning" msgstr "Cảnh báo" #: ../src/DFArcFrame.cpp:587 #, c-format msgid "Dink Smallwood failed! Error code %d." msgstr "Dink Smallwood gặp lá»—i! Mã lá»—i %d." #: ../src/DFArcFrame.cpp:589 ../src/DFArcFrame.cpp:594 #: ../src/DFArcFrame.cpp:655 ../src/DFArcFrame.cpp:657 #: ../src/DFArcFrame.cpp:700 ../src/DFArcFrame.cpp:709 msgid "Error" msgstr "Lá»—i" #: ../src/DFArcFrame.cpp:591 #, c-format msgid "Dink Smallwood ('%s') was not found on your computer. Please configure the Dink program name in the Options menu." msgstr "Dink Smallwood (“%sâ€) không tìm thấy trên máy tính này. Hãy cấu hình tên chương trình Dink trong trình đơn Tuỳ chá»n." #: ../src/DFArcFrame.cpp:622 msgid "Dinkedit saves all changes automatically. Altering maps can ruin the game. Are you sure you want to continue?" msgstr "Dinkedit tá»± động lưu thay đổi nào. Việc sá»­a đổi sÆ¡ đồ cÅ©ng có thể há»§y lượt chÆ¡i. Bạn có chắc muốn tiếp tục lại không?" #: ../src/DFArcFrame.cpp:652 #, c-format msgid "The editor ('%s') was not found on your computer. Please configure the editor program name in the Options menu." msgstr "Trình soạn thảo (“%sâ€) không tìm thấy trên máy tính này. Hãy cấu hình tên chương trình soạn thảo trong trình đơn Tuỳ chá»n." #: ../src/DFArcFrame.cpp:657 msgid "Error while running the editor" msgstr "Gặp lá»—i trong khi chạy trình chỉnh sá»­a" #. FreeDesktop #. Gnome #. KDE #. Xfce #: ../src/DFArcFrame.cpp:698 msgid "Could not find a file manager (tried 'xdg-open', 'nautilus', 'konqueror' and 'thunar')" msgstr "Không tìm thấy trình quản lý tập tin (đã thá»­ “xdg-openâ€, “nautilusâ€, “konqueror†và “thunarâ€)" #: ../src/DFArcFrame.cpp:706 #, c-format msgid "Cannot start '%s', please check your configuration in the Options window." msgstr "Không thể khởi chạy “%sâ€, hãy kiểm tra lại cấu hình trong cá»­a sổ Tuỳ chá»n." #: ../src/DFArcFrame.cpp:716 msgid "" "Welcome to DFArc, the Dink Smallwood front end!\n" "\n" "You can choose to play the original game (Dink Smallwood) or Dink-Modules (D-Mods) which contain new adventures.\n" "\n" "After completing the main game, give some D-Mods a try.\n" "There are hundreds of them, just click File-Download D-Mods." msgstr "" "Chào mừng đến vá»›i DFArc, giao diện Dink Smallwood!\n" "\n" "Bạn có dịp chÆ¡i trò gốc (Dink Smallwood) hay má»™t cá»§a những mô-Ä‘un Dink (D-Mod) mà chứa sá»± phiêu lưu má»›i.\n" "\n" "Sau khi hoàn tất tròi chÆ¡i chính, xem thá»­ D-Mod nhé. Có rất nhiá»u D-Mod: chỉ cần nhấn vào “Tập tin > Tải vá» D-Modâ€." #: ../src/DFArcFrame.cpp:723 msgid "Introduction" msgstr "Giá»›i thiệu" #. If there's no directory, let's not override #: ../src/DFArcFrame.cpp:866 msgid "Cannot use the overridden Dink Smallwood directory - ignoring it. (permission problem?)" msgstr "Không thể sá»­ dụng thư mục Dink Smallwood bị ghi đè nên bá» qua nó. (có vấn đỠquyá»n hạn?)" #: ../src/DFArcFrame.cpp:868 ../src/DFArcFrame.cpp:876 msgid "Configuration error" msgstr "Lá»—i cấu hình" #. If there's no directory, let's not override #: ../src/DFArcFrame.cpp:875 msgid "The Dink Smallwood directory you entered does not exist - ignoring it." msgstr "Bạn đã nhập má»™t thư mục Dink Smallwood không tồn tại nên bá» qua." #: ../src/DFArcFrame.cpp:890 msgid "You must select the uninstall option from the start menu to uninstall the main game." msgstr "Äể há»§y cài đặt trò chÆ¡i chính thì bạn cần phải bật tuỳ chá»n há»§y cài đặt trong trình đơn khởi chạy." #: ../src/DFArcFrame.cpp:891 msgid "Uninstall - Error" msgstr "Huá»· cài đặt — Lá»—i" #: ../src/DFArcFrame.cpp:896 msgid "Do you want to remove all save game files?" msgstr "Bạn có muốn gỡ bá» tất cả các tập tin lượt chÆ¡i đã lưu không?" #: ../src/DFArcFrame.cpp:897 msgid "Uninstall - Save Game Files" msgstr "Há»§y cài đặt — Tập tin lưu lượt chÆ¡i" #: ../src/DFArcFrame.cpp:919 msgid "Unable to remove D-Mod directory. All other files were removed." msgstr "Không thể gỡ bá» thư mục D-Mod. Các tập tin khác đã được xoá." #: ../src/DFArcFrame.cpp:925 msgid "D-Mod successfully uninstalled" msgstr "D-Mod đã được há»§y cài đặt." #: ../src/DFArcFrame.cpp:926 msgid "Uninstall - Success" msgstr "Há»§y cài đặt — Thành công" #: ../src/InstallVerifyFrame.cpp:56 msgid "Preparing" msgstr "Äang chuẩn bị" #: ../src/InstallVerifyFrame.cpp:57 msgid "The D-Mod archive is being decompressed in a temporary file." msgstr "Kho nén D-Mod Ä‘ang được giải nén trong má»™t tập tin tạm thá»i." #: ../src/InstallVerifyFrame.cpp:81 #, c-format msgid "" "No Description Available.\n" "\n" "The D-Mod will be installed in subdirectory '%s'." msgstr "" "Không có sẵn mô tả.\n" "\n" "D-Mod này sẽ được cài đặt vào thư mục con “%sâ€." #: ../src/InstallVerifyFrame.cpp:94 msgid "DFArc - Install D-Mod - " msgstr "DFArc — Cài đặt D-Mod — " #: ../src/InstallVerifyFrame.cpp:143 msgid "DFArc - Installing" msgstr "DFArc — Äang cài đặt" #: ../src/InstallVerifyFrame.cpp:157 msgid "The D-Mod you selected" msgstr "D-Mod được bạn chá»n" #: ../src/InstallVerifyFrame.cpp:159 msgid " was successfully installed." msgstr " đã được cài đặt thành công." #: ../src/InstallVerifyFrame.cpp:160 ../src/Package.cpp:167 msgid "Success" msgstr "Thành công" #: ../src/InstallVerifyFrame.cpp:169 msgid "An error occured while extracting the .dmod file." msgstr "Gặp lá»—i trong khi giải nén tập tin .dmod." #: ../src/Options.cpp:113 msgid "System language" msgstr "Ngôn ngữ hệ thống" #: ../src/Options.cpp:136 msgid "Custom" msgstr "Tá»± chá»n" #: ../src/Options.cpp:175 msgid "Choose the Dink Smallwood install directory" msgstr "Chá»n thư mục cài đặt Dink Smallwood" #: ../src/Options.cpp:183 msgid "Choose a folder containing D-Mods" msgstr "Chá»n má»™t thư mục chứa D-Mod" #: ../src/Package.cpp:123 msgid "You must provide an identifier filename." msgstr "Phải cung cấp tên tập tin phân biệt." #: ../src/Package.cpp:139 msgid "Packaging" msgstr "Äóng gói" #: ../src/Package.cpp:139 msgid "The D-Mod is being packaged." msgstr "D-Mod Ä‘ang được đóng gói." #. Success dialog #: ../src/Package.cpp:165 #, c-format msgid "%s was successfully packaged (compression ratio %2.1f : 1)." msgstr "%s đã được đóng gói (tá»· lệ nén %2.1f : 1)." #: ../src/Package.cpp:172 msgid "Packaging aborted - removing partial .dmod file." msgstr "Tiến trình đóng gói bị há»§y bỠ— Ä‘ang gỡ bá» tập tin .dmod còn bá»™ phận." #: ../src/Package.cpp:173 msgid "Abort" msgstr "Há»§y bá»" #: ../src/RecursiveDelete.cpp:55 ../src/RecursiveDelete.cpp:73 #, c-format msgid "Could not remove %s" msgstr "Không thể gỡ bá» %s" #: ../src/Tar.cpp:95 msgid "Listing files..." msgstr "Äang liệt kê các tập tin..." #: ../src/Tar.cpp:134 msgid "Initializing..." msgstr "Äang khởi chạy..." #: ../src/Tar.cpp:138 #, c-format msgid "Error: Could not open tar file '%s' for bzip compression." msgstr "Lá»—i: không thể mở tập tin tar “%s†để nén bzip." #: ../src/Tar.cpp:160 msgid "Error: Could not initialize compression method! Will not generate a correct .dmod file. Quitting." msgstr "Lá»—i: không thể sÆ¡ khởi phương pháp nén thì không tạo ra má»™t tập tin .dmod đúng. Äang thoát." #: ../src/Tar.cpp:193 #, c-format msgid "Error: File '%s' not found! Cannot archive file." msgstr "Lá»—i: không tìm thấy tập tin “%sâ€! Vậy không thể lưu tập tin vào kho nén." #. Close the output file. #: ../src/Tar.cpp:243 msgid "Closing..." msgstr "Äang đóng..." #: ../src/Tar.cpp:363 #, c-format msgid "Error: File '%s' not found! Cannot read data." msgstr "Lá»—i : không tìm thấy tập tin “%sâ€! Vậy không thể Ä‘á»c dữ liệu." #. Nope. Exit. #: ../src/Tar.cpp:400 msgid "Error: This .dmod file has an invalid checksum! Cannot read file." msgstr "Lá»—i: tập tin .dmod này có tổng kiểm sai! Vậy không thể Ä‘á»c tập tin." #: ../src/Tar.cpp:484 #, c-format msgid "Error: File '%s' not found! Cannot extract data." msgstr "Lá»—i : không tìm thấy tập tin “%sâ€! Vậy không thể tách dữ liệu ra." #: ../src/Tar.cpp:494 #, c-format msgid "Error: Cannot create directory '%s'. Cannot extract data." msgstr "Lá»—i: không thể tạo thư mục “%sâ€. Vậy không thể tách dữ liệu ra." #: ../src/Tar.cpp:552 #, c-format msgid "Got bad file %d/%d. Skipping." msgstr "Gặp tập tin sai %d/%d. Äang bá» qua." #: ../src/Tar.cpp:574 #, c-format msgid "Error: Improperly archived file '%s'. Skipping." msgstr "Lá»—i: Tập tin “%s†bị nén sai nên bá» qua." #: ../src/Tar.cpp:607 msgid "Done." msgstr "Hoàn tất." #: ../src/DFArcFrame_Base.cpp:27 msgid "&Open D-Mod to Install" msgstr "&Mở D-Mod cần cài đặt" #: ../src/DFArcFrame_Base.cpp:27 msgid "Select a D-Mod to install" msgstr "Chá»n má»™t D-Mod cần cài đặt" #: ../src/DFArcFrame_Base.cpp:28 msgid "&Download D-Mods" msgstr "Tải &vá» D-Mod" #: ../src/DFArcFrame_Base.cpp:28 msgid "Go to The Dink Network to download some D-Mods!" msgstr "Thăm Mạng Dink để tải xuống vài D-Mod nhé!" #: ../src/DFArcFrame_Base.cpp:30 msgid "E&xit" msgstr "&Rá»i" #: ../src/DFArcFrame_Base.cpp:30 msgid "Exit DFArc" msgstr "Thoát khá»i DFArc" #: ../src/DFArcFrame_Base.cpp:31 msgid "&File" msgstr "&Tập tin" #: ../src/DFArcFrame_Base.cpp:33 msgid "&Refresh D-Mod List" msgstr "Cậ&p nhật danh sách D-Mod" #: ../src/DFArcFrame_Base.cpp:33 msgid "Refreshes the D-Mod list for any new additions" msgstr "Cập nhật danh sách các D-Mod vá»›i mô-Ä‘un má»›i nào" #: ../src/DFArcFrame_Base.cpp:34 msgid "&Browse Selected D-Mod Directory" msgstr "&Duyệt thư mục D-Mod đã chá»n" #: ../src/DFArcFrame_Base.cpp:34 msgid "Browse to the directory containing the current D-Mod" msgstr "Duyệt tá»›i thư mục chứa D-Mod hiện thá»i" #: ../src/DFArcFrame_Base.cpp:35 msgid "&Uninstall Selected D-Mod" msgstr "&Há»§y cài đặt D-Mod đã chá»n" #: ../src/DFArcFrame_Base.cpp:35 msgid "Uninstalls the selected D-Mod" msgstr "Há»§y cài đặt D-Mod đã chá»n" #: ../src/DFArcFrame_Base.cpp:37 msgid "&Options" msgstr "Tù&y chá»n" #: ../src/DFArcFrame_Base.cpp:37 msgid "View or modify DFArc options" msgstr "Xem hay sá»­a các tuỳ chá»n DFArc" #: ../src/DFArcFrame_Base.cpp:38 msgid "&Edit" msgstr "&Sá»­a" #: ../src/DFArcFrame_Base.cpp:40 msgid "&Introduction" msgstr "G&iá»›i thiệu" #: ../src/DFArcFrame_Base.cpp:40 msgid "A quick introduction to Dinking and D-Mods" msgstr "Giá»›i thiệu nhanh vá» Dink và D-Mod" #: ../src/DFArcFrame_Base.cpp:41 msgid "&Walkthroughs and Guides" msgstr "&Sổ tay" #: ../src/DFArcFrame_Base.cpp:41 msgid "Stuck in a D-Mod? Check out The Dink Smallwood Solutions." msgstr "Không thể giải má»™t D-Mod nào đó ? Hãy thấy The Dink Smallwood Solutions." #: ../src/DFArcFrame_Base.cpp:42 msgid "&Forums" msgstr "&Diá»…n đàn" #: ../src/DFArcFrame_Base.cpp:42 msgid "Ask a question on the forums, or see if someone had the same problem." msgstr "Há»i câu trong diá»…n đàn, hoặc thấy nếu ai đó đã gặp cùng má»™t vấn Ä‘á»." #: ../src/DFArcFrame_Base.cpp:44 msgid "&About" msgstr "&Giá»›i thiệu" #: ../src/DFArcFrame_Base.cpp:44 msgid "About DFArc" msgstr "Giá»›i thiệu DFArc" #: ../src/DFArcFrame_Base.cpp:45 msgid "&Help" msgstr "Trợ g&iúp" #: ../src/DFArcFrame_Base.cpp:50 msgid "Play" msgstr "Phát" #: ../src/DFArcFrame_Base.cpp:51 msgid "True Color" msgstr "Màu thật" #: ../src/DFArcFrame_Base.cpp:52 msgid "Windowed" msgstr "Cá»­a sổ" #: ../src/DFArcFrame_Base.cpp:53 msgid "Sound" msgstr "Âm thanh" #: ../src/DFArcFrame_Base.cpp:54 msgid "Joystick" msgstr "Cần chÆ¡i" #: ../src/DFArcFrame_Base.cpp:55 msgid "Debug" msgstr "Gỡ lá»—i" #: ../src/DFArcFrame_Base.cpp:56 msgid "v1.07 mode" msgstr "Chế độ pb1.07" #: ../src/DFArcFrame_Base.cpp:57 msgid "Edit" msgstr "Sá»­a" #: ../src/DFArcFrame_Base.cpp:58 ../src/Package_Base.cpp:27 msgid "Package" msgstr "Gói" #. begin wxGlade: DFArcFrame_Base::set_properties #: ../src/DFArcFrame_Base.cpp:73 msgid "DFArc v3" msgstr "DFArc pb3" #: ../src/DFArcFrame_Base.cpp:83 msgid "v1.07 compatibility mode, for D-Mods released before 2006" msgstr "Chế độ tương thích vá»›i phiên bản 1.07, cho các D-Mod được phát hành trước năm 2006" #. begin wxGlade: InstallVerifyFrame_Base::InstallVerifyFrame_Base #: ../src/InstallVerifyFrame_Base.cpp:23 msgid "Preparing..." msgstr "Äang chuẩn bị..." #: ../src/InstallVerifyFrame_Base.cpp:25 msgid "Main Dink directory" msgstr "Thư mục Dink chính" #: ../src/InstallVerifyFrame_Base.cpp:26 ../src/Options_Base.cpp:29 msgid "Additional D-Mods directory" msgstr "Thư mục D-Mod bổ sung" #: ../src/InstallVerifyFrame_Base.cpp:28 msgid "Where do you want to install this D-Mod?" msgstr "Bạn có muốn cài đặt D-Mod này vào đâu ?" #: ../src/InstallVerifyFrame_Base.cpp:29 msgid "Install" msgstr "Cài đặt" #. begin wxGlade: InstallVerifyFrame_Base::set_properties #: ../src/InstallVerifyFrame_Base.cpp:41 msgid "DFArc - Install D-Mod" msgstr "DFArc — Cài đặt D-Mod" #. begin wxGlade: Options_Base::Options_Base #: ../src/Options_Base.cpp:23 msgid "Close DFArc on play" msgstr "Äóng D-Mod khi chạy" #: ../src/Options_Base.cpp:24 msgid "Show developer buttons" msgstr "Hiện nút phát triển" #: ../src/Options_Base.cpp:25 msgid "The engine updates dinksmallwood.ini on run (deprecated)" msgstr "CÆ¡ chế cập nhật “dinksmallwood.ini†khi chạy (bị phản đối)" #: ../src/Options_Base.cpp:26 msgid "Override the Dink Smallwood directory" msgstr "Ghi đè lên thư mục Dink Smallwood" #: ../src/Options_Base.cpp:28 ../src/Options_Base.cpp:31 msgid "Browse" msgstr "Duyệt" #: ../src/Options_Base.cpp:32 msgid "Game program name" msgstr "Tên chương trình trò chÆ¡i" #: ../src/Options_Base.cpp:35 msgid "Editor program name" msgstr "Tên chương trình soạn thảo" #: ../src/Options_Base.cpp:38 msgid "Preferred file browser" msgstr "Trình duyệt tập tin ưa thích" #: ../src/Options_Base.cpp:40 msgid "" "DFArc language\n" "(restart DFArc to apply)" msgstr "" "Ngôn ngữ DFArc\n" "(khởi động lại DFArc để áp dụng)" #. begin wxGlade: Options_Base::set_properties #: ../src/Options_Base.cpp:56 msgid "DFArc - Options" msgstr "DFArc — Tuỳ chá»n" #. begin wxGlade: Package_Base::Package_Base #: ../src/Package_Base.cpp:23 msgid "Identifier" msgstr "Nhận diện" #: ../src/Package_Base.cpp:24 #, c-format msgid "" "Note: Unless you're making a D-Mod, you shouldn't be around here.\n" "This is for creating a .dmod file for a D-Mod you made.\n" "\n" "Will package '%s' located at\n" "%s" msgstr "" "Ghi chú : không tạo má»™t D-Mod thì không nên ở đây.\n" "Chức năng này xây dá»±ng má»™t tập tin .dmod dành cho D-Mod bạn đã tạo.\n" "\n" "Gói “%s†ở\n" "%s" #: ../src/Package_Base.cpp:25 msgid "D-Mod filename (8 letters/numbers)" msgstr "Tên tập tin D-Mod (8 chữ cái/số)" #. begin wxGlade: Package_Base::set_properties #: ../src/Package_Base.cpp:39 msgid "DFArc - Package" msgstr "DFArc — Gói" #: ../share/freedink-dfarc.desktop.in.h:1 msgid "DFArc - Dink frontend" msgstr "DFArc — giao diện Dink" #: ../share/freedink-dfarc.desktop.in.h:2 msgid "Run, edit, install, remove and package D-Mods (Dink Modules)" msgstr "Khởi chạy, chỉnh sá»­a, cài đặt, gỡ bá» và đóng gói các D-Mod (mô-Ä‘un Dink)" #: ../share/freedink-mime.xml.in.h:1 msgid "Packaged D-Mod" msgstr "D-Mod đóng gói" #~ msgid "ERROR" #~ msgstr "Lá»–I" dfarc-3.12/po/pl.po0000664000175000017510000004555012401722362011043 00000000000000# Polish translation for dfarc # Copyright (C) 2009 Free Software Foundation, Inc. # Copyright (C) 2008 GOKUSSJ6 # This file is distributed under the same license as the dfarc package. # MichaÅ‚ Trzebiatowski , 2009, 2010, 2014. # msgid "" msgstr "" "Project-Id-Version: dfarc 3.11-pre1\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-09-01 20:58+0200\n" "PO-Revision-Date: 2014-09-04 01:15+0100\n" "Last-Translator: MichaÅ‚ Trzebiatowski \n" "Language-Team: Polish \n" "Language: pl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Poedit 1.5.7\n" #: ../src/BZip.cpp:303 #, c-format msgid "Error: Could not open input file '%s' for bzip decompression." msgstr "Błąd: Nie można otworzyć pliku '%s' dla dekompresji bzip." #: ../src/BZip.cpp:318 msgid "Error: Invalid .dmod file selected!" msgstr "Błąd: Wybrano niepoprawny plik .dmod!" #: ../src/BZip.cpp:328 #, c-format msgid "Error: Could not write to '%s'." msgstr "Błąd: Nie można zapisać do '%s'." #: ../src/BZip.cpp:360 msgid "Invalid .dmod file specified." msgstr "Wybrano niepoprawny plik .dmod." #: ../src/BZip.cpp:364 msgid "Critical program function error: opened for write." msgstr "Krytyczny błąd funkcji programu: otwarty do zapisu." #: ../src/BZip.cpp:368 msgid "Could not read .dmod file." msgstr "Nie można wczytać pliku .dmod" #: ../src/BZip.cpp:372 msgid "Incomplete .dmod file. Please download it again." msgstr "NiepeÅ‚ny plik .dmod. ProszÄ™ jÄ… Å›cÄ…gnąć jeszcze raz." #: ../src/BZip.cpp:376 msgid "The .dmod file is corrupted. Please download it again." msgstr "Plik .dmod jest uszkodzony. ProszÄ™ jÄ… Å›ciÄ…gnąć jeszcze raz." #: ../src/BZip.cpp:380 msgid "The file is not a valid .dmod file." msgstr "Plik nie jest prawidÅ‚owym plikiem .dmod." #: ../src/BZip.cpp:384 msgid "Out of memory error." msgstr "Błąd: Brak pamiÄ™ci." #: ../src/BZip.cpp:388 msgid "An unhandled error occured." msgstr "PojawiÅ‚ siÄ™ nieobsÅ‚ugiwany błąd." #: ../src/Config.cpp:202 msgid "Error: dinksmallwood.ini not found. Please run the main game and try running this program again." msgstr "Błąd: nie znaleziono dinksmallwood.ini. ProszÄ™ uruchomić gÅ‚. grÄ™ i spróbój uruchomić ten program jeszcze raz." #: ../src/Config.cpp:210 msgid "Error opening dinksmallwood.ini" msgstr "Błąd otwierania dinksmallwood.ini" #: ../src/DFArcFrame.cpp:174 #, c-format msgid "" "DFArc version %s\n" "Copyright (C) 2004 Andrew Reading (merlin)\n" "Copyright (C) 2005, 2006 Dan Walma (redink1)\n" "Copyright (C) 2008-2014 Sylvain Beucler (Beuc)\n" "Build Date: %s\n" "Powered by bzip2 (bzip.org) and wxWidgets (wxwidgets.org)" msgstr "" "Wersja DFArc %s\n" "Copyright (C) 2004 Andrew Reading (merlin)\n" "Copyright (C) 2005, 2006 Dan Walma (redink1)\n" "Copyright (C) 2008-2014 Sylvain Beucler (Beuc)\n" "Data kompilacji: %s\n" "Stworzone dziÄ™ki bzip2 (bzip.org) i wxWidgets (wxwidgets.org)" #: ../src/DFArcFrame.cpp:181 msgid "About DFArc v3" msgstr "O DFArc v3" #. Default logo (currently all black with a question mark) #. TRANSLATORS: please make this SHORT, possibly rephrasing as "< #. Choose!". This is included in the 160x120px logo box in the main #. window and it doesn't word-wrap. #: ../src/DFArcFrame.cpp:253 msgid "< Pick a D-Mod" msgstr "< Wybierz D-Mod" #: ../src/DFArcFrame.cpp:318 msgid "No translations" msgstr "Brak tÅ‚umaczeÅ„" #. Not displaying the default language explicitely, because it #. makes the user think that a translation is always available. #. mGameLocaleList->Insert(wxString(_("Default language")) + wxT(" (") + cur_locale_name + wxT(")"), 0); #: ../src/DFArcFrame.cpp:325 ../src/Options.cpp:118 msgid "Don't translate" msgstr "Nie tÅ‚umacz" #: ../src/DFArcFrame.cpp:348 msgid "D-Mod files (*.dmod)" msgstr "Pliki D-Mod (*.dmod)" #: ../src/DFArcFrame.cpp:349 msgid "Select a .dmod file" msgstr "Wybierz plik .dmod" #: ../src/DFArcFrame.cpp:544 #, c-format msgid "The '%s' locale is not installed on your computer (locales tells the computer how to manage a language). You need to install it - check your system documentation." msgstr "Lokalizacja '%s' nie jest zainstalowana na twoim komputerze (lokalizacja okreÅ›la komputerowi, jak zarzÄ…dzać jÄ™zykiem). Musisz jÄ… zainstalować - sprawdź w dokumentacji systemu." #: ../src/DFArcFrame.cpp:547 ../src/DFArcFrame.cpp:625 msgid "Warning" msgstr "Uwaga" #: ../src/DFArcFrame.cpp:587 #, c-format msgid "Dink Smallwood failed! Error code %d." msgstr "Dink Smallwood nie powiódÅ‚ siÄ™! Kod błędu %d." #: ../src/DFArcFrame.cpp:589 ../src/DFArcFrame.cpp:594 #: ../src/DFArcFrame.cpp:655 ../src/DFArcFrame.cpp:657 #: ../src/DFArcFrame.cpp:700 ../src/DFArcFrame.cpp:709 msgid "Error" msgstr "Błąd" #: ../src/DFArcFrame.cpp:591 #, c-format msgid "Dink Smallwood ('%s') was not found on your computer. Please configure the Dink program name in the Options menu." msgstr "Nie znaleziono Dink Smallwood ('%s') w twoim komputerze. ProszÄ™ skonfigurować imiÄ™ programu Dink w menu Opcji." #: ../src/DFArcFrame.cpp:622 msgid "Dinkedit saves all changes automatically. Altering maps can ruin the game. Are you sure you want to continue?" msgstr "Dinkedit zapisuje wszystkie zmiany automatycznie. Zmiana mapy może zrujnować grÄ™. Czy aby na pewno chcesz kontynuować?" #: ../src/DFArcFrame.cpp:652 #, c-format msgid "The editor ('%s') was not found on your computer. Please configure the editor program name in the Options menu." msgstr "Nie znaleziono edytora ('%s') w twoim komputerze. ProszÄ™ skonfigurować nazwÄ™ programu do edytowania w menu Opcji." #: ../src/DFArcFrame.cpp:657 msgid "Error while running the editor" msgstr "Błąd podczas uruchamiania edytora." #. FreeDesktop #. Gnome #. KDE #. Xfce #: ../src/DFArcFrame.cpp:698 msgid "Could not find a file manager (tried 'xdg-open', 'nautilus', 'konqueror' and 'thunar')" msgstr "Nie znaleziono menadżera pliku (spróbowano 'xdg-open', 'nautilus', 'konqueror' i 'thunar')" #: ../src/DFArcFrame.cpp:706 #, c-format msgid "Cannot start '%s', please check your configuration in the Options window." msgstr "Nie można włączyć '%s', proszÄ™ sprawdzić swoje konfiguracje w menu Opcji." #: ../src/DFArcFrame.cpp:716 msgid "" "Welcome to DFArc, the Dink Smallwood front end!\n" "\n" "You can choose to play the original game (Dink Smallwood) or Dink-Modules (D-Mods) which contain new adventures.\n" "\n" "After completing the main game, give some D-Mods a try.\n" "There are hundreds of them, just click File-Download D-Mods." msgstr "" "Witamy w DFArc, podstawowego Dink Smallwood!\n" "\n" "Możesz zagrać w oryginalnÄ… grÄ™ (Dink Smallwood) lub w Dink-Modules (D-Mods) które zawierajÄ… nowe przygody.\n" "\n" "Po ukoÅ„czeniu gÅ‚. gry, spróbuj zagrać w D-Mody.Jest ich setki, wystarczy wybrać Plik-ÅšciÄ…gnij D-Mod." #: ../src/DFArcFrame.cpp:723 msgid "Introduction" msgstr "WstÄ™p" #. If there's no directory, let's not override #: ../src/DFArcFrame.cpp:866 msgid "Cannot use the overridden Dink Smallwood directory - ignoring it. (permission problem?)" msgstr "Nie można użyć nadpisanego katalogu Dink Smallwood - bÄ™dzie zignorowane. (problem uprawnienia?)" #: ../src/DFArcFrame.cpp:868 ../src/DFArcFrame.cpp:876 msgid "Configuration error" msgstr "Błąd konfigurowania" #. If there's no directory, let's not override #: ../src/DFArcFrame.cpp:875 msgid "The Dink Smallwood directory you entered does not exist - ignoring it." msgstr "Katalog Dink Smallwood którego wybraÅ‚eÅ› nie istnieje - ignorujÄ™." #: ../src/DFArcFrame.cpp:890 msgid "You must select the uninstall option from the start menu to uninstall the main game." msgstr "Musisz wybrać opcjÄ™ usuwania z menu start by usunąć gÅ‚. grÄ™." #: ../src/DFArcFrame.cpp:891 msgid "Uninstall - Error" msgstr "Usuwanie - Błąd" #: ../src/DFArcFrame.cpp:896 msgid "Do you want to remove all save game files?" msgstr "Czy chcesz usunąć wszystkie zapisane gry?" #: ../src/DFArcFrame.cpp:897 msgid "Uninstall - Save Game Files" msgstr "Usuwanie - Zapisane gry" #: ../src/DFArcFrame.cpp:919 msgid "Unable to remove D-Mod directory. All other files were removed." msgstr "Nie można usunąć katalog D-Mod. Wszystkie pozostaÅ‚e pliki byÅ‚y usuniÄ™te." #: ../src/DFArcFrame.cpp:925 msgid "D-Mod successfully uninstalled" msgstr "Usuwanie D-Mod ukoÅ„czony z powodzeniem" #: ../src/DFArcFrame.cpp:926 msgid "Uninstall - Success" msgstr "Usuwanie - Sukces" #: ../src/InstallVerifyFrame.cpp:56 msgid "Preparing" msgstr "PrzygotowujÄ™" #: ../src/InstallVerifyFrame.cpp:57 msgid "The D-Mod archive is being decompressed in a temporary file." msgstr "Archiwum D-Mod jest zdekompresowany w pliku tymczasowym." #: ../src/InstallVerifyFrame.cpp:81 #, c-format msgid "" "No Description Available.\n" "\n" "The D-Mod will be installed in subdirectory '%s'." msgstr "" "Nie ma opisu.\n" "\n" "D-Mod bÄ™dzie zainstalowany w podkatalogu '%s'." #: ../src/InstallVerifyFrame.cpp:94 msgid "DFArc - Install D-Mod - " msgstr "DFArc - Instaluj D-Mod -" #: ../src/InstallVerifyFrame.cpp:143 msgid "DFArc - Installing" msgstr "DFArc - InstalujÄ™" #: ../src/InstallVerifyFrame.cpp:157 msgid "The D-Mod you selected" msgstr "Wybrany D-Mod" #: ../src/InstallVerifyFrame.cpp:159 msgid " was successfully installed." msgstr "skoÅ„czyÅ‚ instalacje z powodzeniem." #: ../src/InstallVerifyFrame.cpp:160 ../src/Package.cpp:167 msgid "Success" msgstr "Sukces" #: ../src/InstallVerifyFrame.cpp:169 msgid "An error occured while extracting the .dmod file." msgstr "PojawiÅ‚ siÄ™ błąd podczas wypakowania pliku .dmod" #: ../src/Options.cpp:113 msgid "System language" msgstr "JÄ™zyk systemu" #: ../src/Options.cpp:136 msgid "Custom" msgstr "WÅ‚asne" #: ../src/Options.cpp:175 msgid "Choose the Dink Smallwood install directory" msgstr "Wybierz " #: ../src/Options.cpp:183 msgid "Choose a folder containing D-Mods" msgstr "Wybierz folder zawierajÄ…ce D-Mod'y" #: ../src/Package.cpp:123 msgid "You must provide an identifier filename." msgstr "Musisz podać identyfikator pliku." #: ../src/Package.cpp:139 msgid "Packaging" msgstr "PakujÄ™" #: ../src/Package.cpp:139 msgid "The D-Mod is being packaged." msgstr "D-Mod jest opakowany." #. Success dialog #: ../src/Package.cpp:165 #, c-format msgid "%s was successfully packaged (compression ratio %2.1f : 1)." msgstr "%s zostaÅ‚ pomyÅ›lnie spakowane (stosunek kompresji %2.1f : 1)." #: ../src/Package.cpp:172 msgid "Packaging aborted - removing partial .dmod file." msgstr "Pakowanie anulowane - usuwam część pliku .dmod." #: ../src/Package.cpp:173 msgid "Abort" msgstr "Anuluj" #: ../src/RecursiveDelete.cpp:55 ../src/RecursiveDelete.cpp:73 #, c-format msgid "Could not remove %s" msgstr "Nie można usunąć %s" #: ../src/Tar.cpp:95 msgid "Listing files..." msgstr "Lista plików..." #: ../src/Tar.cpp:134 msgid "Initializing..." msgstr "Inicjowanie..." #: ../src/Tar.cpp:138 #, c-format msgid "Error: Could not open tar file '%s' for bzip compression." msgstr "Błąd: Nie można otworzyć pliku tar '%s' dla kompresji bzip." #: ../src/Tar.cpp:160 msgid "Error: Could not initialize compression method! Will not generate a correct .dmod file. Quitting." msgstr "Błąd: Nie można zainicjonować metod kompresji! Nie bÄ™dÄ… generowane prawidÅ‚owe pliki .dmod. Odrzucam." #: ../src/Tar.cpp:193 #, c-format msgid "Error: File '%s' not found! Cannot archive file." msgstr "Błąd: Nie odnaleziono pliku '%s'! Nie można zarchiwizować pliku." #. Close the output file. #: ../src/Tar.cpp:243 msgid "Closing..." msgstr "Zamykanie..." #: ../src/Tar.cpp:363 #, c-format msgid "Error: File '%s' not found! Cannot read data." msgstr "Błąd: Nie odnaleziono pliku '%s'! Nie można odczytać danych." #. Nope. Exit. #: ../src/Tar.cpp:400 msgid "Error: This .dmod file has an invalid checksum! Cannot read file." msgstr "Błąd: Ten plik D-mod ma nieprawidÅ‚owÄ… sumÄ™ kontrolnÄ…! Nie można odczytać." #: ../src/Tar.cpp:484 #, c-format msgid "Error: File '%s' not found! Cannot extract data." msgstr "Błąd: Nie odnaleziono pliku '%s'. Nie można wypakowywać danych." #: ../src/Tar.cpp:494 #, c-format msgid "Error: Cannot create directory '%s'. Cannot extract data." msgstr "Błąd: Nie moża stworzyć katalog '%s'. Nie można wypakowywać danych." #: ../src/Tar.cpp:552 #, c-format msgid "Got bad file %d/%d. Skipping." msgstr "Wybrano zÅ‚y plik %d/%d. PrzenoszÄ™." #: ../src/Tar.cpp:574 #, c-format msgid "Error: Improperly archived file '%s'. Skipping." msgstr "Błąd: Niepoprawnie zarchiwizowany plik '%s'. Pomijam." #: ../src/Tar.cpp:607 msgid "Done." msgstr "Zrobione." #: ../src/DFArcFrame_Base.cpp:27 msgid "&Open D-Mod to Install" msgstr "&Otwórz D-Mod dla instalacji" #: ../src/DFArcFrame_Base.cpp:27 msgid "Select a D-Mod to install" msgstr "Wybierz D-Mod do instalacji" #: ../src/DFArcFrame_Base.cpp:28 msgid "&Download D-Mods" msgstr "&ÅšciÄ…gnij D-Mod'y" #: ../src/DFArcFrame_Base.cpp:28 msgid "Go to The Dink Network to download some D-Mods!" msgstr "Idź do Dink Network jeÅ›li chcesz Å›ciÄ…gnąć D-Mod" #: ../src/DFArcFrame_Base.cpp:30 msgid "E&xit" msgstr "W&yjdź" #: ../src/DFArcFrame_Base.cpp:30 msgid "Exit DFArc" msgstr "Zamknij DFArc" #: ../src/DFArcFrame_Base.cpp:31 msgid "&File" msgstr "&Plik" #: ../src/DFArcFrame_Base.cpp:33 msgid "&Refresh D-Mod List" msgstr "&OdÅ›wież listÄ™ D-Mod" #: ../src/DFArcFrame_Base.cpp:33 msgid "Refreshes the D-Mod list for any new additions" msgstr "OdÅ›wieża listÄ™ D-Mod'ów dla każdego z nowych dodatków" #: ../src/DFArcFrame_Base.cpp:34 msgid "&Browse Selected D-Mod Directory" msgstr "&PrzeglÄ…daj wybrany katalog D-Mod" #: ../src/DFArcFrame_Base.cpp:34 msgid "Browse to the directory containing the current D-Mod" msgstr "PrzeglÄ…daj katalog zawierajÄ…cy wybrany D-mod" #: ../src/DFArcFrame_Base.cpp:35 msgid "&Uninstall Selected D-Mod" msgstr "&UsuÅ„ Wybrany D-Mod" #: ../src/DFArcFrame_Base.cpp:35 msgid "Uninstalls the selected D-Mod" msgstr "usuwa wybrany D-Mod" #: ../src/DFArcFrame_Base.cpp:37 msgid "&Options" msgstr "&Opcje" #: ../src/DFArcFrame_Base.cpp:37 msgid "View or modify DFArc options" msgstr "Zobacz lub zmodyfikuj Opcje DFArc" #: ../src/DFArcFrame_Base.cpp:38 msgid "&Edit" msgstr "&Zedytuj" #: ../src/DFArcFrame_Base.cpp:40 msgid "&Introduction" msgstr "&Wprowadzenie" #: ../src/DFArcFrame_Base.cpp:40 msgid "A quick introduction to Dinking and D-Mods" msgstr "Szybkie wprowadzenie do Dinkowania i D-Mod'ów" #: ../src/DFArcFrame_Base.cpp:41 msgid "&Walkthroughs and Guides" msgstr "&Solucje i Poradniki" #: ../src/DFArcFrame_Base.cpp:41 msgid "Stuck in a D-Mod? Check out The Dink Smallwood Solutions." msgstr "UtknÄ…Å‚eÅ› w danym D-Mod? Sprawdź stronÄ™ The Dink Smallwood Solutions." #: ../src/DFArcFrame_Base.cpp:42 msgid "&Forums" msgstr "&Forum" #: ../src/DFArcFrame_Base.cpp:42 msgid "Ask a question on the forums, or see if someone had the same problem." msgstr "Napisz pytanie w forum lub sprawdz czy ktoÅ› miaÅ‚ ten sam problem." #: ../src/DFArcFrame_Base.cpp:44 msgid "&About" msgstr "&O" #: ../src/DFArcFrame_Base.cpp:44 msgid "About DFArc" msgstr "O DFArc" #: ../src/DFArcFrame_Base.cpp:45 msgid "&Help" msgstr "&Pomoc" #: ../src/DFArcFrame_Base.cpp:50 msgid "Play" msgstr "Zagraj" #: ../src/DFArcFrame_Base.cpp:51 msgid "True Color" msgstr "True Color" #: ../src/DFArcFrame_Base.cpp:52 msgid "Windowed" msgstr "Tryb Okienkowy" #: ../src/DFArcFrame_Base.cpp:53 msgid "Sound" msgstr "DźwiÄ™k" #: ../src/DFArcFrame_Base.cpp:54 msgid "Joystick" msgstr "Użyj Joystick" #: ../src/DFArcFrame_Base.cpp:55 msgid "Debug" msgstr "Tryb Debug" #: ../src/DFArcFrame_Base.cpp:56 msgid "v1.07 mode" msgstr "Tryb v1.07" #: ../src/DFArcFrame_Base.cpp:57 msgid "Edit" msgstr "Zedytuj" #: ../src/DFArcFrame_Base.cpp:58 ../src/Package_Base.cpp:27 msgid "Package" msgstr "Spakuj" #. begin wxGlade: DFArcFrame_Base::set_properties #: ../src/DFArcFrame_Base.cpp:73 msgid "DFArc v3" msgstr "DFArc v3" #: ../src/DFArcFrame_Base.cpp:83 msgid "v1.07 compatibility mode, for D-Mods released before 2006" msgstr "v1.07 tryb kompatybilny, dla D-mod'ów wydane przed 2006" #. begin wxGlade: InstallVerifyFrame_Base::InstallVerifyFrame_Base #: ../src/InstallVerifyFrame_Base.cpp:23 msgid "Preparing..." msgstr "PrzygotowujÄ™..." #: ../src/InstallVerifyFrame_Base.cpp:25 msgid "Main Dink directory" msgstr "GÅ‚. " #: ../src/InstallVerifyFrame_Base.cpp:26 ../src/Options_Base.cpp:29 msgid "Additional D-Mods directory" msgstr "Dodatkowy katalog D-Mod'ów" #: ../src/InstallVerifyFrame_Base.cpp:28 msgid "Where do you want to install this D-Mod?" msgstr "Gdzie chcesz zainstalować ten D-Mod?" #: ../src/InstallVerifyFrame_Base.cpp:29 msgid "Install" msgstr "Instaluj" #. begin wxGlade: InstallVerifyFrame_Base::set_properties #: ../src/InstallVerifyFrame_Base.cpp:41 msgid "DFArc - Install D-Mod" msgstr "DFArc - Zainstaluj D-Mod" #. begin wxGlade: Options_Base::Options_Base #: ../src/Options_Base.cpp:23 msgid "Close DFArc on play" msgstr "Zamknij DFArc podczas grania" #: ../src/Options_Base.cpp:24 msgid "Show developer buttons" msgstr "Pokaż przyciski dewelopera." #: ../src/Options_Base.cpp:25 msgid "The engine updates dinksmallwood.ini on run (deprecated)" msgstr "Silnik aktualizuje dinksmallwood.ini podczas uruchamiania." #: ../src/Options_Base.cpp:26 msgid "Override the Dink Smallwood directory" msgstr "ZastÄ…p " #: ../src/Options_Base.cpp:28 ../src/Options_Base.cpp:31 msgid "Browse" msgstr "PrzeglÄ…daj" #: ../src/Options_Base.cpp:32 msgid "Game program name" msgstr "Nazwa gry" #: ../src/Options_Base.cpp:35 msgid "Editor program name" msgstr "Nazwa edytora" #: ../src/Options_Base.cpp:38 msgid "Preferred file browser" msgstr "Preferowana przegladarka pliku" #: ../src/Options_Base.cpp:40 msgid "" "DFArc language\n" "(restart DFArc to apply)" msgstr "" "JÄ™zyk DFArc\n" "(restartuj DFArc aby zastosować)" #. begin wxGlade: Options_Base::set_properties #: ../src/Options_Base.cpp:56 msgid "DFArc - Options" msgstr "DFArc - Opcje" #. begin wxGlade: Package_Base::Package_Base #: ../src/Package_Base.cpp:23 msgid "Identifier" msgstr "Identyfikator" #: ../src/Package_Base.cpp:24 #, c-format msgid "" "Note: Unless you're making a D-Mod, you shouldn't be around here.\n" "This is for creating a .dmod file for a D-Mod you made.\n" "\n" "Will package '%s' located at\n" "%s" msgstr "" "Uwaga: Chyba że robisz D-Mod, nie powinieneÅ› być tutaj.\n" "To jest do robienia pliku .dmod dla D-Mod którego zrobiÅ‚eÅ›.\n" "\n" "Czy pakiet '%s' umieszczony w\n" "%s" #: ../src/Package_Base.cpp:25 msgid "D-Mod filename (8 letters/numbers)" msgstr "Nazwa pliku D-MOD (8 liter/cyfr)" #. begin wxGlade: Package_Base::set_properties #: ../src/Package_Base.cpp:39 msgid "DFArc - Package" msgstr "DFArc - Pakuj" #: ../share/freedink-dfarc.desktop.in.h:1 msgid "DFArc - Dink frontend" msgstr "DFArc - Dink frontend" #: ../share/freedink-dfarc.desktop.in.h:2 msgid "Run, edit, install, remove and package D-Mods (Dink Modules)" msgstr "Uruchom, zedytuj, instaluj, usuÅ„ i spakuj D-Mod'y(Dink Modules)" #: ../share/freedink-mime.xml.in.h:1 msgid "Packaged D-Mod" msgstr "Spakowany D-Mod" #~ msgid "ERROR" #~ msgstr "BÅÄ„D" dfarc-3.12/po/de.po0000664000175000017510000004745512401351213011017 00000000000000# German translation for DFArc # Copyright (C) 2009 Free Software Foundation, Inc. # This file is distributed under the same license as the DFArc package. # Roland Illig , 2009-2014. # msgid "" msgstr "" "Project-Id-Version: dfarc 3.11-pre1\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-09-01 20:58+0200\n" "PO-Revision-Date: 2014-09-02 14:32+0100\n" "Last-Translator: Roland Illig \n" "Language-Team: German \n" "Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Poedit 1.6.9\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../src/BZip.cpp:303 #, c-format msgid "Error: Could not open input file '%s' for bzip decompression." msgstr "Fehler: Eingabedatei »%s« konnte nicht für BZip-Kompression geöffnet werden." #: ../src/BZip.cpp:318 msgid "Error: Invalid .dmod file selected!" msgstr "Fehler: Ungültige .dmod-Datei ausgewählt!" #: ../src/BZip.cpp:328 #, c-format msgid "Error: Could not write to '%s'." msgstr "Fehler: Daten konnten nicht in »%s« gespeichert werden." #: ../src/BZip.cpp:360 msgid "Invalid .dmod file specified." msgstr "Ungültige .dmod-Datei angegeben." #: ../src/BZip.cpp:364 msgid "Critical program function error: opened for write." msgstr "Kritischer Fehler: Zum Schreiben geöffnet." #: ../src/BZip.cpp:368 msgid "Could not read .dmod file." msgstr "Die .dmod-Datei konnte nicht gelesen werden." #: ../src/BZip.cpp:372 msgid "Incomplete .dmod file. Please download it again." msgstr "Unvollständige .dmod-Datei. Bitte laden Sie sie erneut herunter." #: ../src/BZip.cpp:376 msgid "The .dmod file is corrupted. Please download it again." msgstr "Die .dmod-Datei ist kaputt. Bitte laden Sie sie erneut herunter." #: ../src/BZip.cpp:380 msgid "The file is not a valid .dmod file." msgstr "Diese Datei ist keine gültige .dmod-Datei." #: ../src/BZip.cpp:384 msgid "Out of memory error." msgstr "Zu wenig Arbeitsspeicher verfügbar." #: ../src/BZip.cpp:388 msgid "An unhandled error occured." msgstr "Ein unbekannter Fehler ist aufgetreten." #: ../src/Config.cpp:202 msgid "Error: dinksmallwood.ini not found. Please run the main game and try running this program again." msgstr "Fehler: dinksmallwood.ini nicht gefunden. Bitte führen Sie das Hauptspiel aus und probieren es dann mit diesem Programm nochmal." #: ../src/Config.cpp:210 msgid "Error opening dinksmallwood.ini" msgstr "Fehler beim Öffnen von dinksmallwood.ini" #: ../src/DFArcFrame.cpp:174 #, c-format msgid "" "DFArc version %s\n" "Copyright (C) 2004 Andrew Reading (merlin)\n" "Copyright (C) 2005, 2006 Dan Walma (redink1)\n" "Copyright (C) 2008-2014 Sylvain Beucler (Beuc)\n" "Build Date: %s\n" "Powered by bzip2 (bzip.org) and wxWidgets (wxwidgets.org)" msgstr "" "DFArc Version %s\n" "Copyright (C) 2004 Andrew Reading (merlin)\n" "Copyright (C) 2005, 2006 Dan Walma (redink1)\n" "Copyright (C) 2008–2014 Sylvain Beucler (Beuc)\n" "Erstellungsdatum: %s\n" "Ermöglicht durch bzip2 (http://www.bzip.org) und wxWidgets (http://www.wxwidgets.org)." #: ../src/DFArcFrame.cpp:181 msgid "About DFArc v3" msgstr "Über DFArc v3" #. Default logo (currently all black with a question mark) #. TRANSLATORS: please make this SHORT, possibly rephrasing as "< #. Choose!". This is included in the 160x120px logo box in the main #. window and it doesn't word-wrap. #: ../src/DFArcFrame.cpp:253 msgid "< Pick a D-Mod" msgstr "< Wähle!" #: ../src/DFArcFrame.cpp:318 msgid "No translations" msgstr "Keine Übersetzungen" #. Not displaying the default language explicitely, because it #. makes the user think that a translation is always available. #. mGameLocaleList->Insert(wxString(_("Default language")) + wxT(" (") + cur_locale_name + wxT(")"), 0); #: ../src/DFArcFrame.cpp:325 ../src/Options.cpp:118 msgid "Don't translate" msgstr "Nicht übersetzen" #: ../src/DFArcFrame.cpp:348 msgid "D-Mod files (*.dmod)" msgstr "D-Mod-Dateien (*.dmod)" #: ../src/DFArcFrame.cpp:349 msgid "Select a .dmod file" msgstr "Wählen Sie eine .dmod-Datei aus" #: ../src/DFArcFrame.cpp:544 #, c-format msgid "The '%s' locale is not installed on your computer (locales tells the computer how to manage a language). You need to install it - check your system documentation." msgstr "Die Regions- und Spracheinstellungen für »%s« sind auf Ihrem Rechner nicht installiert, müssen es aber sein. Sehen Sie in der Dokumentation Ihres Systems nach, wie das geht." #: ../src/DFArcFrame.cpp:547 ../src/DFArcFrame.cpp:625 msgid "Warning" msgstr "Warnung" #: ../src/DFArcFrame.cpp:587 #, c-format msgid "Dink Smallwood failed! Error code %d." msgstr "Dink Smallwood schlug fehl! Fehlercode %d." #: ../src/DFArcFrame.cpp:589 ../src/DFArcFrame.cpp:594 #: ../src/DFArcFrame.cpp:655 ../src/DFArcFrame.cpp:657 #: ../src/DFArcFrame.cpp:700 ../src/DFArcFrame.cpp:709 msgid "Error" msgstr "Fehler" #: ../src/DFArcFrame.cpp:591 #, c-format msgid "Dink Smallwood ('%s') was not found on your computer. Please configure the Dink program name in the Options menu." msgstr "Dink Smallwood ('%s') wurde auf Ihrem Computer nicht gefunden. Bitte konfigurieren Sie das Dink-Programm im Optionen-Menü." #: ../src/DFArcFrame.cpp:622 msgid "Dinkedit saves all changes automatically. Altering maps can ruin the game. Are you sure you want to continue?" msgstr "Dinkedit speichert alle Änderungen automatisch. Wenn Sie die Maps verändern, könnten Sie das Spiel ruinieren. Sind Sie sicher, dass Sie fortfahren wollen?" #: ../src/DFArcFrame.cpp:652 #, c-format msgid "The editor ('%s') was not found on your computer. Please configure the editor program name in the Options menu." msgstr "Der Editor »%s« wurde auf Ihrem Computer nicht gefunden. Bitte konfigurieren Sie den Namen des Editors im Optionen-Menü." #: ../src/DFArcFrame.cpp:657 msgid "Error while running the editor" msgstr "Fehler beim Ausführen des Editors." #. FreeDesktop #. Gnome #. KDE #. Xfce #: ../src/DFArcFrame.cpp:698 msgid "Could not find a file manager (tried 'xdg-open', 'nautilus', 'konqueror' and 'thunar')" msgstr "Konnte keinen Dateimanager finden (»xdg-open«, »nautilus«, »konqueror« und »thunar« probiert)" #: ../src/DFArcFrame.cpp:706 #, c-format msgid "Cannot start '%s', please check your configuration in the Options window." msgstr "Kann »%s« nicht starten. Bitte überprüfen Sie die Konfiguration im Optionen-Menü." #: ../src/DFArcFrame.cpp:716 msgid "" "Welcome to DFArc, the Dink Smallwood front end!\n" "\n" "You can choose to play the original game (Dink Smallwood) or Dink-Modules (D-Mods) which contain new adventures.\n" "\n" "After completing the main game, give some D-Mods a try.\n" "There are hundreds of them, just click File-Download D-Mods." msgstr "" "Willkommen zu DFArc, dem Frontend für Dink Smallwood!\n" "\n" "Sie haben die Wahl, das Originalspiel Dink Smallwood zu spielen oder aber Dink-Modules (D-Mods) mit neuen Abenteuern.\n" "\n" "Nachdem Sie das Hauptspiel durchgespielt haben, sollten Sie mal D-Mod ausprobieren.\n" "Es gibt hunderte freier D-Mods, Sie brauchen nur auf »Datei -> D-Mods herunterladen« zu klicken." #: ../src/DFArcFrame.cpp:723 msgid "Introduction" msgstr "Einführung" #. If there's no directory, let's not override #: ../src/DFArcFrame.cpp:866 msgid "Cannot use the overridden Dink Smallwood directory - ignoring it. (permission problem?)" msgstr "Das übersteuerte Dink-Smallwood-Verzeichnis kann nicht genutzt werden – wird ignoriert. (Problem mit Zugriffsrechten?)" #: ../src/DFArcFrame.cpp:868 ../src/DFArcFrame.cpp:876 msgid "Configuration error" msgstr "Konfigurationsfehler" #. If there's no directory, let's not override #: ../src/DFArcFrame.cpp:875 msgid "The Dink Smallwood directory you entered does not exist - ignoring it." msgstr "Das Dink-Smallwood-Verzeichnis, das Sie eingegeben haben, existiert nicht - wird ignoriert." #: ../src/DFArcFrame.cpp:890 msgid "You must select the uninstall option from the start menu to uninstall the main game." msgstr "Um das Hauptspiel zu deinstallieren, müssen Sie die die Deinstallation-Option im Startmenü auswählen." #: ../src/DFArcFrame.cpp:891 msgid "Uninstall - Error" msgstr "Deinstallation - Fehler" #: ../src/DFArcFrame.cpp:896 msgid "Do you want to remove all save game files?" msgstr "Wollen Sie alle gespeicherten Spielstände löschen?" #: ../src/DFArcFrame.cpp:897 msgid "Uninstall - Save Game Files" msgstr "Deinstallation - Spielstände speichern" #: ../src/DFArcFrame.cpp:919 msgid "Unable to remove D-Mod directory. All other files were removed." msgstr "Kann das D-Mod-Verzeichnis nicht löschen. Alle anderen Dateien wurden gelöscht." #: ../src/DFArcFrame.cpp:925 msgid "D-Mod successfully uninstalled" msgstr "D-Mod wurde erfolgreich deinstalliert." #: ../src/DFArcFrame.cpp:926 msgid "Uninstall - Success" msgstr "Deinstallation - Erfolgreich" #: ../src/InstallVerifyFrame.cpp:56 msgid "Preparing" msgstr "Vorbereitung" #: ../src/InstallVerifyFrame.cpp:57 msgid "The D-Mod archive is being decompressed in a temporary file." msgstr "Das D-Mod-Archiv wird in eine temporäre Datei entpackt." #: ../src/InstallVerifyFrame.cpp:81 #, c-format msgid "" "No Description Available.\n" "\n" "The D-Mod will be installed in subdirectory '%s'." msgstr "" "Keine Beschreibung verfügbar.\n" "\n" "Das D-Mod wird in das Unterverzeichnis »%s« installiert." #: ../src/InstallVerifyFrame.cpp:94 msgid "DFArc - Install D-Mod - " msgstr "DFArc - D-Mod installieren - " #: ../src/InstallVerifyFrame.cpp:143 msgid "DFArc - Installing" msgstr "DFArc - Installation" #: ../src/InstallVerifyFrame.cpp:157 msgid "The D-Mod you selected" msgstr "Das ausgewählte D-Mod-Modul" #: ../src/InstallVerifyFrame.cpp:159 msgid " was successfully installed." msgstr "wurde erfolgreich installiert" #: ../src/InstallVerifyFrame.cpp:160 ../src/Package.cpp:167 msgid "Success" msgstr "Erfolg" #: ../src/InstallVerifyFrame.cpp:169 msgid "An error occured while extracting the .dmod file." msgstr "Beim Extrahieren der .dmod-Datei ist ein Fehler aufgetreten." #: ../src/Options.cpp:113 msgid "System language" msgstr "Systemsprache" #: ../src/Options.cpp:136 msgid "Custom" msgstr "Benutzerdefiniert" #: ../src/Options.cpp:175 msgid "Choose the Dink Smallwood install directory" msgstr "Wählen Sie das Dink-Smallwood-Installationsverzeichnis aus" #: ../src/Options.cpp:183 msgid "Choose a folder containing D-Mods" msgstr "Wählen Sie ein Verzeichnis, das D-Mods enthält" #: ../src/Package.cpp:123 msgid "You must provide an identifier filename." msgstr "Die müssen einen identifizierenden Dateinamen angeben." #: ../src/Package.cpp:139 msgid "Packaging" msgstr "Verpacken" #: ../src/Package.cpp:139 msgid "The D-Mod is being packaged." msgstr "Das D-Mod wird gerade verpackt." #. Success dialog #: ../src/Package.cpp:165 #, c-format msgid "%s was successfully packaged (compression ratio %2.1f : 1)." msgstr "%s wurde erfolgreich verpackt (Kompressionsrate %2.1f : 1)." #: ../src/Package.cpp:172 msgid "Packaging aborted - removing partial .dmod file." msgstr "Verpacken abgebrochen - lösche unvollständige .dmod-Datei." #: ../src/Package.cpp:173 msgid "Abort" msgstr "Abbrechen" #: ../src/RecursiveDelete.cpp:55 ../src/RecursiveDelete.cpp:73 #, c-format msgid "Could not remove %s" msgstr "Konnte %s nicht löschen." #: ../src/Tar.cpp:95 msgid "Listing files..." msgstr "Dateien auflisten…" #: ../src/Tar.cpp:134 msgid "Initializing..." msgstr "Initialisieren…" #: ../src/Tar.cpp:138 #, c-format msgid "Error: Could not open tar file '%s' for bzip compression." msgstr "Fehler: Die .tar-Datei »%s« konnte nicht für BZip-Kompression geöffnet werden." #: ../src/Tar.cpp:160 msgid "Error: Could not initialize compression method! Will not generate a correct .dmod file. Quitting." msgstr "Fehler: Kompressionsmethode konnte nicht initialisiert werden! Kann keine korrekte .dmod-Datei erzeugen. Schluss für heute." #: ../src/Tar.cpp:193 #, c-format msgid "Error: File '%s' not found! Cannot archive file." msgstr "Fehler: Datei »%s« nicht gefunden! Datei kann nicht archiviert werden." #. Close the output file. #: ../src/Tar.cpp:243 msgid "Closing..." msgstr "Schließen…" #: ../src/Tar.cpp:363 #, c-format msgid "Error: File '%s' not found! Cannot read data." msgstr "Fehler: Datei »%s« nicht gefunden! Daten konnten nicht gelesen werden." #. Nope. Exit. #: ../src/Tar.cpp:400 msgid "Error: This .dmod file has an invalid checksum! Cannot read file." msgstr "Fehler: Diese .dmod-Datei hat eine ungültige Prüfsumme! Datei konnte nicht gelesen werden." #: ../src/Tar.cpp:484 #, c-format msgid "Error: File '%s' not found! Cannot extract data." msgstr "Fehler: Datei »%s« nicht gefunden! Daten konnten nicht entpackt werden." #: ../src/Tar.cpp:494 #, c-format msgid "Error: Cannot create directory '%s'. Cannot extract data." msgstr "Fehler: Verzeichnis »%s« konnte nicht angelegt und Daten nicht entpackt werden." #: ../src/Tar.cpp:552 #, c-format msgid "Got bad file %d/%d. Skipping." msgstr "Kaputte Datei %d/%d erwischt. Wird übersprungen." #: ../src/Tar.cpp:574 #, c-format msgid "Error: Improperly archived file '%s'. Skipping." msgstr "Fehler: Falsch archivierte Datei »%s«. Wird übersprungen." #: ../src/Tar.cpp:607 msgid "Done." msgstr "Fertig." #: ../src/DFArcFrame_Base.cpp:27 msgid "&Open D-Mod to Install" msgstr "D-Mod zum Installieren ö&ffnen" #: ../src/DFArcFrame_Base.cpp:27 msgid "Select a D-Mod to install" msgstr "Wählen Sie ein D-Mod zum Installieren aus" #: ../src/DFArcFrame_Base.cpp:28 msgid "&Download D-Mods" msgstr "D-Mods &herunterladen" #: ../src/DFArcFrame_Base.cpp:28 msgid "Go to The Dink Network to download some D-Mods!" msgstr "Besuchen Sie das Dink-Netzwerk, um ein paar D-Mods herunterzuladen!" #: ../src/DFArcFrame_Base.cpp:30 msgid "E&xit" msgstr "&Beenden" #: ../src/DFArcFrame_Base.cpp:30 msgid "Exit DFArc" msgstr "DFArc beenden" #: ../src/DFArcFrame_Base.cpp:31 msgid "&File" msgstr "&Datei" #: ../src/DFArcFrame_Base.cpp:33 msgid "&Refresh D-Mod List" msgstr "Liste der D-Mods auff&rischen" #: ../src/DFArcFrame_Base.cpp:33 msgid "Refreshes the D-Mod list for any new additions" msgstr "Guckt nach, ob es neue D-Mods gibt" #: ../src/DFArcFrame_Base.cpp:34 msgid "&Browse Selected D-Mod Directory" msgstr "Ausgewähltes D-Mod-Verzeichnis d&urchsuchen" #: ../src/DFArcFrame_Base.cpp:34 msgid "Browse to the directory containing the current D-Mod" msgstr "Durchsuchen Sie das Verzeichnis, das das aktuelle D-Mod enthält" #: ../src/DFArcFrame_Base.cpp:35 msgid "&Uninstall Selected D-Mod" msgstr "Ausgewähltes D-Mod &deinstallieren" #: ../src/DFArcFrame_Base.cpp:35 msgid "Uninstalls the selected D-Mod" msgstr "Deinstalliert das ausgewählte D-Mod" #: ../src/DFArcFrame_Base.cpp:37 msgid "&Options" msgstr "&Optionen" #: ../src/DFArcFrame_Base.cpp:37 msgid "View or modify DFArc options" msgstr "DFArc-Optionen ansehen oder ändern" #: ../src/DFArcFrame_Base.cpp:38 msgid "&Edit" msgstr "&Bearbeiten" #: ../src/DFArcFrame_Base.cpp:40 msgid "&Introduction" msgstr "&Einführung" #: ../src/DFArcFrame_Base.cpp:40 msgid "A quick introduction to Dinking and D-Mods" msgstr "Eine kurze Einführung in Dinking und D-Mods" #: ../src/DFArcFrame_Base.cpp:41 msgid "&Walkthroughs and Guides" msgstr "&Komplettlösungen und Führer" #: ../src/DFArcFrame_Base.cpp:41 msgid "Stuck in a D-Mod? Check out The Dink Smallwood Solutions." msgstr "Kommen Sie in einem D-Mod nicht weiter? Schauen Sie in den Dink-Smallwood-Lösungsbüchern nach." #: ../src/DFArcFrame_Base.cpp:42 msgid "&Forums" msgstr "&Foren" #: ../src/DFArcFrame_Base.cpp:42 msgid "Ask a question on the forums, or see if someone had the same problem." msgstr "Stellen Sie Fragen in den Foren oder schauen Sie, ob jemand anders schon das gleiche Problem hatte." #: ../src/DFArcFrame_Base.cpp:44 msgid "&About" msgstr "&Über" #: ../src/DFArcFrame_Base.cpp:44 msgid "About DFArc" msgstr "Über DFArc" #: ../src/DFArcFrame_Base.cpp:45 msgid "&Help" msgstr "&Hilfe" #: ../src/DFArcFrame_Base.cpp:50 msgid "Play" msgstr "Spielen" #: ../src/DFArcFrame_Base.cpp:51 msgid "True Color" msgstr "Truecolor" #: ../src/DFArcFrame_Base.cpp:52 msgid "Windowed" msgstr "Im Fenster" #: ../src/DFArcFrame_Base.cpp:53 msgid "Sound" msgstr "Ton" #: ../src/DFArcFrame_Base.cpp:54 msgid "Joystick" msgstr "Joystick" #: ../src/DFArcFrame_Base.cpp:55 msgid "Debug" msgstr "Fehlersuche" #: ../src/DFArcFrame_Base.cpp:56 msgid "v1.07 mode" msgstr "v1.07-Modus" #: ../src/DFArcFrame_Base.cpp:57 msgid "Edit" msgstr "Bearbeiten" #: ../src/DFArcFrame_Base.cpp:58 ../src/Package_Base.cpp:27 msgid "Package" msgstr "Paket" #. begin wxGlade: DFArcFrame_Base::set_properties #: ../src/DFArcFrame_Base.cpp:73 msgid "DFArc v3" msgstr "DFArc v3" #: ../src/DFArcFrame_Base.cpp:83 msgid "v1.07 compatibility mode, for D-Mods released before 2006" msgstr "Kompatibilitätsmodus zu v1.07, für D-Mods von vor 2006" #. begin wxGlade: InstallVerifyFrame_Base::InstallVerifyFrame_Base #: ../src/InstallVerifyFrame_Base.cpp:23 msgid "Preparing..." msgstr "Vorbereiten…" #: ../src/InstallVerifyFrame_Base.cpp:25 msgid "Main Dink directory" msgstr "Dink-Hauptverzeichnis" #: ../src/InstallVerifyFrame_Base.cpp:26 ../src/Options_Base.cpp:29 msgid "Additional D-Mods directory" msgstr "Zusätzliche Dink-Verzeichnisse" #: ../src/InstallVerifyFrame_Base.cpp:28 msgid "Where do you want to install this D-Mod?" msgstr "Wohin wollen Sie dieses D-Mod installieren?" #: ../src/InstallVerifyFrame_Base.cpp:29 msgid "Install" msgstr "Installation" #. begin wxGlade: InstallVerifyFrame_Base::set_properties #: ../src/InstallVerifyFrame_Base.cpp:41 msgid "DFArc - Install D-Mod" msgstr "DFArv – D-Mod installieren" #. begin wxGlade: Options_Base::Options_Base #: ../src/Options_Base.cpp:23 msgid "Close DFArc on play" msgstr "DFArc beim Spielen schließen" #: ../src/Options_Base.cpp:24 msgid "Show developer buttons" msgstr "Entwickler-Schaltflächen anzeigen" #: ../src/Options_Base.cpp:25 msgid "The engine updates dinksmallwood.ini on run (deprecated)" msgstr "Die Engine aktualisiert dinksmallwood.ini beim Ausführen (veraltet)" #: ../src/Options_Base.cpp:26 msgid "Override the Dink Smallwood directory" msgstr "Das Dink-Smallwood-Verzeichnis übersteuern" #: ../src/Options_Base.cpp:28 ../src/Options_Base.cpp:31 msgid "Browse" msgstr "Durchstöbern" #: ../src/Options_Base.cpp:32 msgid "Game program name" msgstr "Spielprogrammname" #: ../src/Options_Base.cpp:35 msgid "Editor program name" msgstr "Editorprogrammname" #: ../src/Options_Base.cpp:38 msgid "Preferred file browser" msgstr "Bevorzugter Dateimanager" #: ../src/Options_Base.cpp:40 msgid "" "DFArc language\n" "(restart DFArc to apply)" msgstr "" "DFArc-Sprache\n" "(Änderung wird nach dem Neustart von DFArc sichtbar)" #. begin wxGlade: Options_Base::set_properties #: ../src/Options_Base.cpp:56 msgid "DFArc - Options" msgstr "DFArc – Optionen" #. begin wxGlade: Package_Base::Package_Base #: ../src/Package_Base.cpp:23 msgid "Identifier" msgstr "Bezeichner" #: ../src/Package_Base.cpp:24 #, c-format msgid "" "Note: Unless you're making a D-Mod, you shouldn't be around here.\n" "This is for creating a .dmod file for a D-Mod you made.\n" "\n" "Will package '%s' located at\n" "%s" msgstr "" "Achtung: Wenn Sie nicht gerade ein D-Mod selberbauen, sollten Sie garnicht hier sein.\n" "Hiermit erzeugen Sie eine .dmod-Datei für ein selbstgebautes D-Mod.\n" "\n" "Verpacke »%s«, das sich in\n" "%s befindet." #: ../src/Package_Base.cpp:25 msgid "D-Mod filename (8 letters/numbers)" msgstr "D-Mod-Dateiname (8 Buchstaben oder Ziffern)" #. begin wxGlade: Package_Base::set_properties #: ../src/Package_Base.cpp:39 msgid "DFArc - Package" msgstr "DFArc – Verpacken" #: ../share/freedink-dfarc.desktop.in.h:1 msgid "DFArc - Dink frontend" msgstr "DFArc – Dink-Frontend" #: ../share/freedink-dfarc.desktop.in.h:2 msgid "Run, edit, install, remove and package D-Mods (Dink Modules)" msgstr "D-Mods (Dink-Module) ausführen, bearbeiten, installieren und deinstallieren" #: ../share/freedink-mime.xml.in.h:1 msgid "Packaged D-Mod" msgstr "Verpacktes D-Mod" dfarc-3.12/po/dfarc.pot0000664000175000017510000003344212420023266011666 00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-10-16 22:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/BZip.cpp:301 #, c-format msgid "Error: Could not open input file '%s' for bzip decompression." msgstr "" #: ../src/BZip.cpp:316 msgid "Error: Invalid .dmod file selected!" msgstr "" #: ../src/BZip.cpp:326 #, c-format msgid "Error: Could not write to '%s'." msgstr "" #: ../src/BZip.cpp:359 msgid "Invalid .dmod file specified." msgstr "" #: ../src/BZip.cpp:363 msgid "Critical program function error: opened for write." msgstr "" #: ../src/BZip.cpp:367 msgid "Could not read .dmod file." msgstr "" #: ../src/BZip.cpp:371 msgid "Incomplete .dmod file. Please download it again." msgstr "" #: ../src/BZip.cpp:375 msgid "The .dmod file is corrupted. Please download it again." msgstr "" #: ../src/BZip.cpp:379 msgid "The file is not a valid .dmod file." msgstr "" #: ../src/BZip.cpp:383 msgid "Out of memory error." msgstr "" #: ../src/BZip.cpp:387 msgid "An unhandled error occured." msgstr "" #: ../src/Config.cpp:202 msgid "" "Error: dinksmallwood.ini not found. Please run the main game and try running " "this program again." msgstr "" #: ../src/Config.cpp:210 msgid "Error opening dinksmallwood.ini" msgstr "" #. On woe, returns immediately if cannot run the process (not using fork&exec) #: ../src/DFArcFrame.cpp:71 ../src/DFArcFrame.cpp:603 #, c-format msgid "" "Dink Smallwood ('%s') was not found on your computer. Please configure the " "Dink program name in the Options menu." msgstr "" #: ../src/DFArcFrame.cpp:74 ../src/DFArcFrame.cpp:78 ../src/DFArcFrame.cpp:97 #: ../src/DFArcFrame.cpp:99 ../src/DFArcFrame.cpp:606 #: ../src/DFArcFrame.cpp:650 ../src/DFArcFrame.cpp:693 #: ../src/DFArcFrame.cpp:702 msgid "Error" msgstr "" #: ../src/DFArcFrame.cpp:76 #, c-format msgid "Dink Smallwood failed! Error code %d." msgstr "" #: ../src/DFArcFrame.cpp:94 ../src/DFArcFrame.cpp:647 #, c-format msgid "" "The editor ('%s') was not found on your computer. Please configure the " "editor program name in the Options menu." msgstr "" #: ../src/DFArcFrame.cpp:99 msgid "Error while running the editor" msgstr "" #: ../src/DFArcFrame.cpp:220 #, c-format msgid "" "DFArc version %s\n" "Copyright (C) 2004 Andrew Reading (merlin)\n" "Copyright (C) 2005, 2006 Dan Walma (redink1)\n" "Copyright (C) 2008-2014 Sylvain Beucler (Beuc)\n" "Build Date: %s\n" "Powered by bzip2 (bzip.org) and wxWidgets (wxwidgets.org)" msgstr "" #: ../src/DFArcFrame.cpp:227 msgid "About DFArc v3" msgstr "" #. Default logo (currently all black with a question mark) #. TRANSLATORS: please make this SHORT, possibly rephrasing as "< #. Choose!". This is included in the 160x120px logo box in the main #. window and it doesn't word-wrap. #: ../src/DFArcFrame.cpp:299 msgid "< Pick a D-Mod" msgstr "" #: ../src/DFArcFrame.cpp:364 msgid "No translations" msgstr "" #. Not displaying the default language explicitely, because it #. makes the user think that a translation is always available. #. mGameLocaleList->Insert(wxString(_("Default language")) + wxT(" (") + cur_locale_name + wxT(")"), 0); #: ../src/DFArcFrame.cpp:371 ../src/Options.cpp:118 msgid "Don't translate" msgstr "" #: ../src/DFArcFrame.cpp:394 msgid "D-Mod files (*.dmod)" msgstr "" #: ../src/DFArcFrame.cpp:395 msgid "Select a .dmod file" msgstr "" #: ../src/DFArcFrame.cpp:581 #, c-format msgid "" "The '%s' locale is not installed on your computer (locales tells the " "computer how to manage a language). You need to install it - check your " "system documentation." msgstr "" #: ../src/DFArcFrame.cpp:584 ../src/DFArcFrame.cpp:623 msgid "Warning" msgstr "" #: ../src/DFArcFrame.cpp:620 msgid "" "Dinkedit saves all changes automatically. Altering maps can ruin the game. " "Are you sure you want to continue?" msgstr "" #. FreeDesktop #. Gnome #. KDE #. Xfce #: ../src/DFArcFrame.cpp:691 msgid "" "Could not find a file manager (tried 'xdg-open', 'nautilus', 'konqueror' and " "'thunar')" msgstr "" #: ../src/DFArcFrame.cpp:699 #, c-format msgid "" "Cannot start '%s', please check your configuration in the Options window." msgstr "" #: ../src/DFArcFrame.cpp:709 msgid "" "Welcome to DFArc, the Dink Smallwood front end!\n" "\n" "You can choose to play the original game (Dink Smallwood) or Dink-Modules (D-" "Mods) which contain new adventures.\n" "\n" "After completing the main game, give some D-Mods a try.\n" "There are hundreds of them, just click File-Download D-Mods." msgstr "" #: ../src/DFArcFrame.cpp:716 msgid "Introduction" msgstr "" #. If there's no directory, let's not override #: ../src/DFArcFrame.cpp:859 msgid "" "Cannot use the overridden Dink Smallwood directory - ignoring it. " "(permission problem?)" msgstr "" #: ../src/DFArcFrame.cpp:861 ../src/DFArcFrame.cpp:869 msgid "Configuration error" msgstr "" #. If there's no directory, let's not override #: ../src/DFArcFrame.cpp:868 msgid "The Dink Smallwood directory you entered does not exist - ignoring it." msgstr "" #: ../src/DFArcFrame.cpp:883 msgid "" "You must select the uninstall option from the start menu to uninstall the " "main game." msgstr "" #: ../src/DFArcFrame.cpp:884 msgid "Uninstall - Error" msgstr "" #: ../src/DFArcFrame.cpp:889 msgid "Do you want to remove all save game files?" msgstr "" #: ../src/DFArcFrame.cpp:890 msgid "Uninstall - Save Game Files" msgstr "" #: ../src/DFArcFrame.cpp:912 msgid "Unable to remove D-Mod directory. All other files were removed." msgstr "" #: ../src/DFArcFrame.cpp:918 msgid "D-Mod successfully uninstalled" msgstr "" #: ../src/DFArcFrame.cpp:919 msgid "Uninstall - Success" msgstr "" #: ../src/InstallVerifyFrame.cpp:47 msgid "Preparing" msgstr "" #: ../src/InstallVerifyFrame.cpp:48 msgid "The D-Mod archive is being decompressed in a temporary file." msgstr "" #: ../src/InstallVerifyFrame.cpp:64 #, c-format msgid "" "No Description Available.\n" "\n" "The D-Mod will be installed in subdirectory '%s'." msgstr "" #: ../src/InstallVerifyFrame.cpp:77 msgid "DFArc - Install D-Mod - " msgstr "" #: ../src/InstallVerifyFrame.cpp:116 msgid "DFArc - Installing" msgstr "" #: ../src/InstallVerifyFrame.cpp:131 msgid "The D-Mod you selected" msgstr "" #: ../src/InstallVerifyFrame.cpp:133 msgid " was successfully installed." msgstr "" #: ../src/InstallVerifyFrame.cpp:134 ../src/Package.cpp:162 msgid "Success" msgstr "" #: ../src/InstallVerifyFrame.cpp:144 msgid "An error occured while extracting the .dmod file." msgstr "" #: ../src/Options.cpp:113 msgid "System language" msgstr "" #: ../src/Options.cpp:136 msgid "Custom" msgstr "" #: ../src/Options.cpp:175 msgid "Choose the Dink Smallwood install directory" msgstr "" #: ../src/Options.cpp:183 msgid "Choose a folder containing D-Mods" msgstr "" #: ../src/Package.cpp:123 msgid "You must provide an identifier filename." msgstr "" #: ../src/Package.cpp:134 msgid "Packaging" msgstr "" #: ../src/Package.cpp:134 msgid "The D-Mod is being packaged." msgstr "" #. Success dialog #: ../src/Package.cpp:160 #, c-format msgid "%s was successfully packaged (compression ratio %2.1f : 1)." msgstr "" #: ../src/Package.cpp:167 msgid "Packaging aborted - removing partial .dmod file." msgstr "" #: ../src/Package.cpp:168 msgid "Abort" msgstr "" #: ../src/RecursiveDelete.cpp:55 ../src/RecursiveDelete.cpp:73 #, c-format msgid "Could not remove %s" msgstr "" #: ../src/Tar.cpp:95 msgid "Listing files..." msgstr "" #: ../src/Tar.cpp:135 msgid "Initializing..." msgstr "" #: ../src/Tar.cpp:139 #, c-format msgid "Error: Could not open tar file '%s' for bzip compression." msgstr "" #: ../src/Tar.cpp:161 msgid "" "Error: Could not initialize compression method! Will not generate a " "correct .dmod file. Quitting." msgstr "" #: ../src/Tar.cpp:194 #, c-format msgid "Error: File '%s' not found! Cannot archive file." msgstr "" #. Close the output file. #: ../src/Tar.cpp:244 msgid "Closing..." msgstr "" #: ../src/Tar.cpp:364 #, c-format msgid "Error: File '%s' not found! Cannot read data." msgstr "" #. Nope. Exit. #: ../src/Tar.cpp:401 msgid "Error: This .dmod file has an invalid checksum! Cannot read file." msgstr "" #: ../src/Tar.cpp:485 #, c-format msgid "Error: File '%s' not found! Cannot extract data." msgstr "" #: ../src/Tar.cpp:495 #, c-format msgid "Error: Cannot create directory '%s'. Cannot extract data." msgstr "" #: ../src/Tar.cpp:555 #, c-format msgid "Got bad file %d/%d. Skipping." msgstr "" #: ../src/Tar.cpp:577 #, c-format msgid "Error: Improperly archived file '%s'. Skipping." msgstr "" #: ../src/Tar.cpp:614 msgid "Done." msgstr "" #: ../src/DFArcFrame_Base.cpp:27 msgid "&Open D-Mod to Install" msgstr "" #: ../src/DFArcFrame_Base.cpp:27 msgid "Select a D-Mod to install" msgstr "" #: ../src/DFArcFrame_Base.cpp:28 msgid "&Download D-Mods" msgstr "" #: ../src/DFArcFrame_Base.cpp:28 msgid "Go to The Dink Network to download some D-Mods!" msgstr "" #: ../src/DFArcFrame_Base.cpp:30 msgid "E&xit" msgstr "" #: ../src/DFArcFrame_Base.cpp:30 msgid "Exit DFArc" msgstr "" #: ../src/DFArcFrame_Base.cpp:31 msgid "&File" msgstr "" #: ../src/DFArcFrame_Base.cpp:33 msgid "&Refresh D-Mod List" msgstr "" #: ../src/DFArcFrame_Base.cpp:33 msgid "Refreshes the D-Mod list for any new additions" msgstr "" #: ../src/DFArcFrame_Base.cpp:34 msgid "&Browse Selected D-Mod Directory" msgstr "" #: ../src/DFArcFrame_Base.cpp:34 msgid "Browse to the directory containing the current D-Mod" msgstr "" #: ../src/DFArcFrame_Base.cpp:35 msgid "&Uninstall Selected D-Mod" msgstr "" #: ../src/DFArcFrame_Base.cpp:35 msgid "Uninstalls the selected D-Mod" msgstr "" #: ../src/DFArcFrame_Base.cpp:37 msgid "&Options" msgstr "" #: ../src/DFArcFrame_Base.cpp:37 msgid "View or modify DFArc options" msgstr "" #: ../src/DFArcFrame_Base.cpp:38 msgid "&Edit" msgstr "" #: ../src/DFArcFrame_Base.cpp:40 msgid "&Introduction" msgstr "" #: ../src/DFArcFrame_Base.cpp:40 msgid "A quick introduction to Dinking and D-Mods" msgstr "" #: ../src/DFArcFrame_Base.cpp:41 msgid "&Walkthroughs and Guides" msgstr "" #: ../src/DFArcFrame_Base.cpp:41 msgid "Stuck in a D-Mod? Check out The Dink Smallwood Solutions." msgstr "" #: ../src/DFArcFrame_Base.cpp:42 msgid "&Forums" msgstr "" #: ../src/DFArcFrame_Base.cpp:42 msgid "Ask a question on the forums, or see if someone had the same problem." msgstr "" #: ../src/DFArcFrame_Base.cpp:44 msgid "&About" msgstr "" #: ../src/DFArcFrame_Base.cpp:44 msgid "About DFArc" msgstr "" #: ../src/DFArcFrame_Base.cpp:45 msgid "&Help" msgstr "" #: ../src/DFArcFrame_Base.cpp:50 msgid "Play" msgstr "" #: ../src/DFArcFrame_Base.cpp:51 msgid "True Color" msgstr "" #: ../src/DFArcFrame_Base.cpp:52 msgid "Windowed" msgstr "" #: ../src/DFArcFrame_Base.cpp:53 msgid "Sound" msgstr "" #: ../src/DFArcFrame_Base.cpp:54 msgid "Joystick" msgstr "" #: ../src/DFArcFrame_Base.cpp:55 msgid "Debug" msgstr "" #: ../src/DFArcFrame_Base.cpp:56 msgid "v1.07 mode" msgstr "" #: ../src/DFArcFrame_Base.cpp:57 msgid "Edit" msgstr "" #: ../src/DFArcFrame_Base.cpp:58 ../src/Package_Base.cpp:27 msgid "Package" msgstr "" #. begin wxGlade: DFArcFrame_Base::set_properties #: ../src/DFArcFrame_Base.cpp:73 msgid "DFArc v3" msgstr "" #: ../src/DFArcFrame_Base.cpp:83 msgid "v1.07 compatibility mode, for D-Mods released before 2006" msgstr "" #. begin wxGlade: InstallVerifyFrame_Base::InstallVerifyFrame_Base #: ../src/InstallVerifyFrame_Base.cpp:23 msgid "Preparing..." msgstr "" #: ../src/InstallVerifyFrame_Base.cpp:25 msgid "Main Dink directory" msgstr "" #: ../src/InstallVerifyFrame_Base.cpp:26 ../src/Options_Base.cpp:29 msgid "Additional D-Mods directory" msgstr "" #: ../src/InstallVerifyFrame_Base.cpp:28 msgid "Where do you want to install this D-Mod?" msgstr "" #: ../src/InstallVerifyFrame_Base.cpp:29 msgid "Install" msgstr "" #. begin wxGlade: InstallVerifyFrame_Base::set_properties #: ../src/InstallVerifyFrame_Base.cpp:41 msgid "DFArc - Install D-Mod" msgstr "" #. begin wxGlade: Options_Base::Options_Base #: ../src/Options_Base.cpp:23 msgid "Close DFArc on play" msgstr "" #: ../src/Options_Base.cpp:24 msgid "Show developer buttons" msgstr "" #: ../src/Options_Base.cpp:25 msgid "The engine updates dinksmallwood.ini on run (deprecated)" msgstr "" #: ../src/Options_Base.cpp:26 msgid "Override the Dink Smallwood directory" msgstr "" #: ../src/Options_Base.cpp:28 ../src/Options_Base.cpp:31 msgid "Browse" msgstr "" #: ../src/Options_Base.cpp:32 msgid "Game program name" msgstr "" #: ../src/Options_Base.cpp:35 msgid "Editor program name" msgstr "" #: ../src/Options_Base.cpp:38 msgid "Preferred file browser" msgstr "" #: ../src/Options_Base.cpp:40 msgid "" "DFArc language\n" "(restart DFArc to apply)" msgstr "" #. begin wxGlade: Options_Base::set_properties #: ../src/Options_Base.cpp:56 msgid "DFArc - Options" msgstr "" #. begin wxGlade: Package_Base::Package_Base #: ../src/Package_Base.cpp:23 msgid "Identifier" msgstr "" #: ../src/Package_Base.cpp:24 #, c-format msgid "" "Note: Unless you're making a D-Mod, you shouldn't be around here.\n" "This is for creating a .dmod file for a D-Mod you made.\n" "\n" "Will package '%s' located at\n" "%s" msgstr "" #: ../src/Package_Base.cpp:25 msgid "D-Mod filename (8 letters/numbers)" msgstr "" #. begin wxGlade: Package_Base::set_properties #: ../src/Package_Base.cpp:39 msgid "DFArc - Package" msgstr "" #: ../share/freedink-dfarc.desktop.in.h:1 msgid "DFArc - Dink frontend" msgstr "" #: ../share/freedink-dfarc.desktop.in.h:2 msgid "Run, edit, install, remove and package D-Mods (Dink Modules)" msgstr "" #: ../share/freedink-mime.xml.in.h:1 msgid "Packaged D-Mod" msgstr "" dfarc-3.12/po/LINGUAS0000664000175000017510000000012412354340036011102 00000000000000# Set of available languages. ca da de es eo fr fi hr hu it mk nl pl pt_BR sr tr vi dfarc-3.12/po/nl.po0000664000175000017510000004643012402465432011042 00000000000000# Dutch translation of dfarc. # Copyright (C) 2014 Free Software Foundation, Inc. # This file is distributed under the same license as the dfarc package. # Koen Torfs , 2010, 2014. # msgid "" msgstr "" "Project-Id-Version: dfarc-3.11-pre1\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-09-01 20:58+0200\n" "PO-Revision-Date: 2014-09-06 04:02+0100\n" "Last-Translator: Koen Torfs \n" "Language-Team: Dutch \n" "Language: nl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/BZip.cpp:303 #, c-format msgid "Error: Could not open input file '%s' for bzip decompression." msgstr "Fout: Kon invoerbestand '%s' niet openen voor bzip-decompressie." #: ../src/BZip.cpp:318 msgid "Error: Invalid .dmod file selected!" msgstr "Fout: Ongeldig .dmod-bestand geselecteerd!" #: ../src/BZip.cpp:328 #, c-format msgid "Error: Could not write to '%s'." msgstr "Fout: Kon niet naar '%s' schrijven." #: ../src/BZip.cpp:360 msgid "Invalid .dmod file specified." msgstr "Ongeldig .dmod-bestand gespecificeerd." #: ../src/BZip.cpp:364 msgid "Critical program function error: opened for write." msgstr "Kritieke programmafunctiefout: geopend voor schrijven." #: ../src/BZip.cpp:368 msgid "Could not read .dmod file." msgstr "Kon .dmod-bestand niet lezen." #: ../src/BZip.cpp:372 msgid "Incomplete .dmod file. Please download it again." msgstr "Onvolledig .dmod-bestand. U zal het opnieuw moeten downloaden." #: ../src/BZip.cpp:376 msgid "The .dmod file is corrupted. Please download it again." msgstr "Het .dmod-bestand is beschadigd. U zal het opnieuw moeten downloaden." #: ../src/BZip.cpp:380 msgid "The file is not a valid .dmod file." msgstr "Het bestand is geen geldig .dmod-bestand." #: ../src/BZip.cpp:384 msgid "Out of memory error." msgstr "Onvoldoende geheugen beschikbaar." #: ../src/BZip.cpp:388 msgid "An unhandled error occured." msgstr "Er is een onafgehandelde fout opgetreden." #: ../src/Config.cpp:202 msgid "Error: dinksmallwood.ini not found. Please run the main game and try running this program again." msgstr "Fout: dinksmallwood.ini is niet gevonden. Start het hoofdspel en probeer dan dit programma opnieuw te starten." #: ../src/Config.cpp:210 msgid "Error opening dinksmallwood.ini" msgstr "Fout bij het openen van dinksmallwood.ini" #: ../src/DFArcFrame.cpp:174 #, c-format msgid "" "DFArc version %s\n" "Copyright (C) 2004 Andrew Reading (merlin)\n" "Copyright (C) 2005, 2006 Dan Walma (redink1)\n" "Copyright (C) 2008-2014 Sylvain Beucler (Beuc)\n" "Build Date: %s\n" "Powered by bzip2 (bzip.org) and wxWidgets (wxwidgets.org)" msgstr "" "DFArc versie %s\n" "Copyright (C) 2004 Andrew Reading (merlin)\n" "Copyright (C) 2005, 2006 Dan Walma (redink1)\n" "Copyright (C) 2008-2014 Sylvain Beucler (Beuc)\n" "Bouwdatum: %s\n" "Gebruikt bzip2 (bzip.org) en wxWidgets (wxwidgets.org)" #: ../src/DFArcFrame.cpp:181 msgid "About DFArc v3" msgstr "Over DFArc v3" #. Default logo (currently all black with a question mark) #. TRANSLATORS: please make this SHORT, possibly rephrasing as "< #. Choose!". This is included in the 160x120px logo box in the main #. window and it doesn't word-wrap. #: ../src/DFArcFrame.cpp:253 msgid "< Pick a D-Mod" msgstr "< Kies een D-Mod" #: ../src/DFArcFrame.cpp:318 msgid "No translations" msgstr "Geen vertalingen beschikbaar" #. Not displaying the default language explicitely, because it #. makes the user think that a translation is always available. #. mGameLocaleList->Insert(wxString(_("Default language")) + wxT(" (") + cur_locale_name + wxT(")"), 0); #: ../src/DFArcFrame.cpp:325 ../src/Options.cpp:118 msgid "Don't translate" msgstr "Geen vertaling gebruiken" #: ../src/DFArcFrame.cpp:348 msgid "D-Mod files (*.dmod)" msgstr "D-Mod bestanden (*.dmod)" #: ../src/DFArcFrame.cpp:349 msgid "Select a .dmod file" msgstr "Een .dmod-bestand selecteren" #: ../src/DFArcFrame.cpp:544 #, c-format msgid "The '%s' locale is not installed on your computer (locales tells the computer how to manage a language). You need to install it - check your system documentation." msgstr "De taalregio ‘%s’ is niet op uw computer geïnstalleerd (taalregio's vertellen de computer hoe zich aan een taal aan te passen). Bekijk uw systeemdocumentatie om te leren hoe u de juiste taalregio kunt installeren." #: ../src/DFArcFrame.cpp:547 ../src/DFArcFrame.cpp:625 msgid "Warning" msgstr "Waarschuwing" #: ../src/DFArcFrame.cpp:587 #, c-format msgid "Dink Smallwood failed! Error code %d." msgstr "Fout bij uitvoeren van Dink Smallwood! Foutcode %d." #: ../src/DFArcFrame.cpp:589 ../src/DFArcFrame.cpp:594 #: ../src/DFArcFrame.cpp:655 ../src/DFArcFrame.cpp:657 #: ../src/DFArcFrame.cpp:700 ../src/DFArcFrame.cpp:709 msgid "Error" msgstr "Fout" #: ../src/DFArcFrame.cpp:591 #, c-format msgid "Dink Smallwood ('%s') was not found on your computer. Please configure the Dink program name in the Options menu." msgstr "Dink Smallwood ('%s') werd niet op uw computer gevonden. Stel de Dink-programmanaam in in het menu Opties." #: ../src/DFArcFrame.cpp:622 msgid "Dinkedit saves all changes automatically. Altering maps can ruin the game. Are you sure you want to continue?" msgstr "Dinkedit bewaart automatisch alle wijzigingen. Mappen aanpassen kan het spel onbruikbaar maken. Weet u zeker dat u verder wilt gaan?" #: ../src/DFArcFrame.cpp:652 #, c-format msgid "The editor ('%s') was not found on your computer. Please configure the editor program name in the Options menu." msgstr "De editor ('%s') werd niet gevonden op uw computer. Stel de editorprogrammanaam in in het menu Opties." #: ../src/DFArcFrame.cpp:657 msgid "Error while running the editor" msgstr "Fout bij het uitvoeren van de editor" #. FreeDesktop #. Gnome #. KDE #. Xfce #: ../src/DFArcFrame.cpp:698 msgid "Could not find a file manager (tried 'xdg-open', 'nautilus', 'konqueror' and 'thunar')" msgstr "Kan geen bestandsbeheerder vinden (heb 'xdg-open', 'nautilus', 'konqueror' en 'thunar' geprobeerd)" #: ../src/DFArcFrame.cpp:706 #, c-format msgid "Cannot start '%s', please check your configuration in the Options window." msgstr "Kan '%s' niet starten; controleer uw instellingen in het venster Opties." #: ../src/DFArcFrame.cpp:716 msgid "" "Welcome to DFArc, the Dink Smallwood front end!\n" "\n" "You can choose to play the original game (Dink Smallwood) or Dink-Modules (D-Mods) which contain new adventures.\n" "\n" "After completing the main game, give some D-Mods a try.\n" "There are hundreds of them, just click File-Download D-Mods." msgstr "" "Welkom bij DFArc, de Dink Smallwood frontend!\n" "\n" "U kan kiezen om het originele spel (Dink Smallwood) te spelen, of Dink-Modules (D-Mods) die nieuwe avonturen bevatten.\n" "\n" "U zou een paar D-Mods moeten uitproberen na het beëindigen van het hoofdspel.\n" "U vindt er honderden via Bestand – D-Mods downloaden." #: ../src/DFArcFrame.cpp:723 msgid "Introduction" msgstr "Introductie" #. If there's no directory, let's not override #: ../src/DFArcFrame.cpp:866 msgid "Cannot use the overridden Dink Smallwood directory - ignoring it. (permission problem?)" msgstr "Kan de vervangen Dink Smallwood-map niet gebruiken – wordt genegeerd. (Toegangsrechtenprobleem?)" #: ../src/DFArcFrame.cpp:868 ../src/DFArcFrame.cpp:876 msgid "Configuration error" msgstr "Configuratiefout" #. If there's no directory, let's not override #: ../src/DFArcFrame.cpp:875 msgid "The Dink Smallwood directory you entered does not exist - ignoring it." msgstr "De Dink Smallwood-map die u hebt opgegeven bestaat niet – wordt genegeerd." #: ../src/DFArcFrame.cpp:890 msgid "You must select the uninstall option from the start menu to uninstall the main game." msgstr "U moet de de-installatie-optie vanuit het startmenu kiezen om het hoofdspel te verwijderen." #: ../src/DFArcFrame.cpp:891 msgid "Uninstall - Error" msgstr "De-installatie – Fout" #: ../src/DFArcFrame.cpp:896 msgid "Do you want to remove all save game files?" msgstr "Wilt u alle bewaarde spellen verwijderen?" #: ../src/DFArcFrame.cpp:897 msgid "Uninstall - Save Game Files" msgstr "De-installeren – Spellen bewaren" #: ../src/DFArcFrame.cpp:919 msgid "Unable to remove D-Mod directory. All other files were removed." msgstr "Kan D-Modmap niet verwijderen. Alle andere bestanden werden met succes verwijderd." #: ../src/DFArcFrame.cpp:925 msgid "D-Mod successfully uninstalled" msgstr "D-Mod is gede-installeerd" #: ../src/DFArcFrame.cpp:926 msgid "Uninstall - Success" msgstr "De-installatie – Gelukt" #: ../src/InstallVerifyFrame.cpp:56 msgid "Preparing" msgstr "Bezig met voorbereiden" #: ../src/InstallVerifyFrame.cpp:57 msgid "The D-Mod archive is being decompressed in a temporary file." msgstr "Het D-Mod-archief wordt gedecomprimeerd naar een tijdelijk bestand." #: ../src/InstallVerifyFrame.cpp:81 #, c-format msgid "" "No Description Available.\n" "\n" "The D-Mod will be installed in subdirectory '%s'." msgstr "" "Geen Beschrijving Beschikbaar.\n" "\n" "De D-Mod zal worden geïnstalleerd in submap '%s'." #: ../src/InstallVerifyFrame.cpp:94 msgid "DFArc - Install D-Mod - " msgstr "DFArc – D-Mod installeren – " #: ../src/InstallVerifyFrame.cpp:143 msgid "DFArc - Installing" msgstr "DFArc – Bezig met installeren…" #: ../src/InstallVerifyFrame.cpp:157 msgid "The D-Mod you selected" msgstr "De D-Mod die u geselecteerd hebt" #: ../src/InstallVerifyFrame.cpp:159 msgid " was successfully installed." msgstr "werd met succes geinstalleerd." #: ../src/InstallVerifyFrame.cpp:160 ../src/Package.cpp:167 msgid "Success" msgstr "Gelukt" #: ../src/InstallVerifyFrame.cpp:169 msgid "An error occured while extracting the .dmod file." msgstr "Er is een fout opgetreden bij het uitpakken van het .dmod-bestand." #: ../src/Options.cpp:113 msgid "System language" msgstr "Systeemtaal" #: ../src/Options.cpp:136 msgid "Custom" msgstr "Aangepast" #: ../src/Options.cpp:175 msgid "Choose the Dink Smallwood install directory" msgstr "Kies de Dink Smallwood-installatiemap." #: ../src/Options.cpp:183 msgid "Choose a folder containing D-Mods" msgstr "Kies een map met D-Mods" #: ../src/Package.cpp:123 msgid "You must provide an identifier filename." msgstr "U moet een identificerende bestandsnaam opgeven." #: ../src/Package.cpp:139 msgid "Packaging" msgstr "Bezig met verpakken…" #: ../src/Package.cpp:139 msgid "The D-Mod is being packaged." msgstr "De D-Mod wordt verpakt." #. Success dialog #: ../src/Package.cpp:165 #, c-format msgid "%s was successfully packaged (compression ratio %2.1f : 1)." msgstr "%s werd met succes verpakt (compressieverhouding %2.1f : 1)." #: ../src/Package.cpp:172 msgid "Packaging aborted - removing partial .dmod file." msgstr "Het verpakken is afgebroken – gedeeltelijk .dmod-bestand wordt verwijderd." #: ../src/Package.cpp:173 msgid "Abort" msgstr "Afbreken" #: ../src/RecursiveDelete.cpp:55 ../src/RecursiveDelete.cpp:73 #, c-format msgid "Could not remove %s" msgstr "Kon %s niet verwijderen" #: ../src/Tar.cpp:95 msgid "Listing files..." msgstr "Bestandslijst wordt opgemaakt…" #: ../src/Tar.cpp:134 msgid "Initializing..." msgstr "Bezig met initialiseren…" #: ../src/Tar.cpp:138 #, c-format msgid "Error: Could not open tar file '%s' for bzip compression." msgstr "Fout: Kon tar-bestand '%s' niet openen voor bzip-compressie." #: ../src/Tar.cpp:160 msgid "Error: Could not initialize compression method! Will not generate a correct .dmod file. Quitting." msgstr "Fout: Kon compressiemethode niet initialiseren! Zal geen correct .dmod-bestand genereren. Wordt afgesloten." #: ../src/Tar.cpp:193 #, c-format msgid "Error: File '%s' not found! Cannot archive file." msgstr "Fout: Bestand '%s' is niet gevonden! Kan bestand niet archiveren." #. Close the output file. #: ../src/Tar.cpp:243 msgid "Closing..." msgstr "Bezig met afsluiten…" #: ../src/Tar.cpp:363 #, c-format msgid "Error: File '%s' not found! Cannot read data." msgstr "Fout: bestand '%s' is niet gevonden! Kan geen gegevens lezen." #. Nope. Exit. #: ../src/Tar.cpp:400 msgid "Error: This .dmod file has an invalid checksum! Cannot read file." msgstr "Fout: Dit .dmod-bestand heeft een ongeldige controlesom! Kan bestand niet lezen." #: ../src/Tar.cpp:484 #, c-format msgid "Error: File '%s' not found! Cannot extract data." msgstr "Fout: Bestand '%s' is niet gevonden! Kan geen gegevens uitpakken." #: ../src/Tar.cpp:494 #, c-format msgid "Error: Cannot create directory '%s'. Cannot extract data." msgstr "Fout: kan map '%s' niet aanmaken. Kan gegevens niet uitpakken." #: ../src/Tar.cpp:552 #, c-format msgid "Got bad file %d/%d. Skipping." msgstr "Beschadigd bestand %d/%d. Wordt overgeslagen." #: ../src/Tar.cpp:574 #, c-format msgid "Error: Improperly archived file '%s'. Skipping." msgstr "Fout: Incorrect gearchiveerd bestand '%s'. Wordt overgeslagen." #: ../src/Tar.cpp:607 msgid "Done." msgstr "Klaar." #: ../src/DFArcFrame_Base.cpp:27 msgid "&Open D-Mod to Install" msgstr "&Te installeren D-Mod openen" #: ../src/DFArcFrame_Base.cpp:27 msgid "Select a D-Mod to install" msgstr "Selecteer een te installeren D-Mod" #: ../src/DFArcFrame_Base.cpp:28 msgid "&Download D-Mods" msgstr "&D-Mods downloaden" #: ../src/DFArcFrame_Base.cpp:28 msgid "Go to The Dink Network to download some D-Mods!" msgstr "Naar het Dink-netwerk gaan om enkele D-Mods te downloaden!" #: ../src/DFArcFrame_Base.cpp:30 msgid "E&xit" msgstr "E&xit" #: ../src/DFArcFrame_Base.cpp:30 msgid "Exit DFArc" msgstr "DFArc afsluiten" #: ../src/DFArcFrame_Base.cpp:31 msgid "&File" msgstr "&Bestand" #: ../src/DFArcFrame_Base.cpp:33 msgid "&Refresh D-Mod List" msgstr "D-Modlijst &verversen" #: ../src/DFArcFrame_Base.cpp:33 msgid "Refreshes the D-Mod list for any new additions" msgstr "Ververst de D-Modlijst voor nieuwe toevoegingen" #: ../src/DFArcFrame_Base.cpp:34 msgid "&Browse Selected D-Mod Directory" msgstr "Geselecteerde D-Modmap door&bladeren." #: ../src/DFArcFrame_Base.cpp:34 msgid "Browse to the directory containing the current D-Mod" msgstr "Naar de map die de huidige D-Mod bevat navigeren" #: ../src/DFArcFrame_Base.cpp:35 msgid "&Uninstall Selected D-Mod" msgstr "Geselecteerde D-Mod &de-installeren" #: ../src/DFArcFrame_Base.cpp:35 msgid "Uninstalls the selected D-Mod" msgstr "De-installeert de geselecteerde D-Mod" #: ../src/DFArcFrame_Base.cpp:37 msgid "&Options" msgstr "&Opties" #: ../src/DFArcFrame_Base.cpp:37 msgid "View or modify DFArc options" msgstr "DFArc-opties bekijken of wijzigen" #: ../src/DFArcFrame_Base.cpp:38 msgid "&Edit" msgstr "Be&werken" #: ../src/DFArcFrame_Base.cpp:40 msgid "&Introduction" msgstr "&Introductie" #: ../src/DFArcFrame_Base.cpp:40 msgid "A quick introduction to Dinking and D-Mods" msgstr "Een snelle introductie tot Dinken en D-Mods" #: ../src/DFArcFrame_Base.cpp:41 msgid "&Walkthroughs and Guides" msgstr "W&alkthroughs en gidsen" #: ../src/DFArcFrame_Base.cpp:41 msgid "Stuck in a D-Mod? Check out The Dink Smallwood Solutions." msgstr "Zit u vast in een D-Mod? Bekijk de Dink Smallwood Oplossingen." #: ../src/DFArcFrame_Base.cpp:42 msgid "&Forums" msgstr "&Fora" #: ../src/DFArcFrame_Base.cpp:42 msgid "Ask a question on the forums, or see if someone had the same problem." msgstr "Stel een vraag in de fora, of vind iemand met hetzelfde probleem." #: ../src/DFArcFrame_Base.cpp:44 msgid "&About" msgstr "&Info" #: ../src/DFArcFrame_Base.cpp:44 msgid "About DFArc" msgstr "Over DFArc" #: ../src/DFArcFrame_Base.cpp:45 msgid "&Help" msgstr "&Hulp" #: ../src/DFArcFrame_Base.cpp:50 msgid "Play" msgstr "Spelen" #: ../src/DFArcFrame_Base.cpp:51 msgid "True Color" msgstr "Ware kleuren" #: ../src/DFArcFrame_Base.cpp:52 msgid "Windowed" msgstr "Venstermodus" #: ../src/DFArcFrame_Base.cpp:53 msgid "Sound" msgstr "Geluid" #: ../src/DFArcFrame_Base.cpp:54 msgid "Joystick" msgstr "Joystick" #: ../src/DFArcFrame_Base.cpp:55 msgid "Debug" msgstr "Debuggen" #: ../src/DFArcFrame_Base.cpp:56 msgid "v1.07 mode" msgstr "v1.07-modus" #: ../src/DFArcFrame_Base.cpp:57 msgid "Edit" msgstr "Bewerken" #: ../src/DFArcFrame_Base.cpp:58 ../src/Package_Base.cpp:27 msgid "Package" msgstr "Pakket" #. begin wxGlade: DFArcFrame_Base::set_properties #: ../src/DFArcFrame_Base.cpp:73 msgid "DFArc v3" msgstr "DFArc v3" #: ../src/DFArcFrame_Base.cpp:83 msgid "v1.07 compatibility mode, for D-Mods released before 2006" msgstr "v1.07-compatibiliteitsmodus, voor D-Mods uitgebracht voor 2006" #. begin wxGlade: InstallVerifyFrame_Base::InstallVerifyFrame_Base #: ../src/InstallVerifyFrame_Base.cpp:23 msgid "Preparing..." msgstr "Bezig met voorbereiden…" #: ../src/InstallVerifyFrame_Base.cpp:25 msgid "Main Dink directory" msgstr "Dink-hoofdmap" #: ../src/InstallVerifyFrame_Base.cpp:26 ../src/Options_Base.cpp:29 msgid "Additional D-Mods directory" msgstr "Aanvullende D-Modmap" #: ../src/InstallVerifyFrame_Base.cpp:28 msgid "Where do you want to install this D-Mod?" msgstr "Waar wilt u deze D-Mod installeren?" #: ../src/InstallVerifyFrame_Base.cpp:29 msgid "Install" msgstr "Installeren" #. begin wxGlade: InstallVerifyFrame_Base::set_properties #: ../src/InstallVerifyFrame_Base.cpp:41 msgid "DFArc - Install D-Mod" msgstr "DFArc – D-Mod installeren" #. begin wxGlade: Options_Base::Options_Base #: ../src/Options_Base.cpp:23 msgid "Close DFArc on play" msgstr "DFArc afsluiten wanneer het spel begint" #: ../src/Options_Base.cpp:24 msgid "Show developer buttons" msgstr "Ontwikkelaarsknoppen tonen" #: ../src/Options_Base.cpp:25 msgid "The engine updates dinksmallwood.ini on run (deprecated)" msgstr "De engine actualiseert dinksmallwood.ini bij het uitvoeren (verouderd)" #: ../src/Options_Base.cpp:26 msgid "Override the Dink Smallwood directory" msgstr "De Dink Smallwood-map vervangen" #: ../src/Options_Base.cpp:28 ../src/Options_Base.cpp:31 msgid "Browse" msgstr "Navigeren" #: ../src/Options_Base.cpp:32 msgid "Game program name" msgstr "Naam van spelprogramma" #: ../src/Options_Base.cpp:35 msgid "Editor program name" msgstr "Naam van editorprogramma" #: ../src/Options_Base.cpp:38 msgid "Preferred file browser" msgstr "Voorkeursbestandsbeheerder" #: ../src/Options_Base.cpp:40 msgid "" "DFArc language\n" "(restart DFArc to apply)" msgstr "" "DFArc-taal\n" "(herstart DFArc om deze keuze toe te passen)" #. begin wxGlade: Options_Base::set_properties #: ../src/Options_Base.cpp:56 msgid "DFArc - Options" msgstr "DFArc – Opties" #. begin wxGlade: Package_Base::Package_Base #: ../src/Package_Base.cpp:23 msgid "Identifier" msgstr "Identificatie" #: ../src/Package_Base.cpp:24 #, c-format msgid "" "Note: Unless you're making a D-Mod, you shouldn't be around here.\n" "This is for creating a .dmod file for a D-Mod you made.\n" "\n" "Will package '%s' located at\n" "%s" msgstr "" "Nota: Tenzij u een D-Mod aan het maken bent, zou u hier niet moeten zijn.\n" "Dit is voor het aanmaken van een .dmod-bestand voor een D-Mod die u gecreëerd hebt.\n" "\n" "Zal '%s' verpakken, gesitueerd in\n" "%s" #: ../src/Package_Base.cpp:25 msgid "D-Mod filename (8 letters/numbers)" msgstr "D-Modbestandsnaam (8 letters/cijfers)" #. begin wxGlade: Package_Base::set_properties #: ../src/Package_Base.cpp:39 msgid "DFArc - Package" msgstr "DFArc – Pakket" #: ../share/freedink-dfarc.desktop.in.h:1 msgid "DFArc - Dink frontend" msgstr "DFArc – Dink frontend" #: ../share/freedink-dfarc.desktop.in.h:2 msgid "Run, edit, install, remove and package D-Mods (Dink Modules)" msgstr "D-Mods (Dink Modules) starten, bewerken, installeren, verwijderen en verpakken" #: ../share/freedink-mime.xml.in.h:1 msgid "Packaged D-Mod" msgstr "Verpakte D-Mod" #~ msgid "ERROR" #~ msgstr "FOUT" dfarc-3.12/po/ca.po0000664000175000017510000004667512024127173011024 00000000000000# Spanish translation for dfarc. # Copyright (C) 2012 Àngel Mompó Llovet # This file is distributed under the same license as the dfarc package. # Àngel Mompó , 2012. # msgid "" msgstr "" "Project-Id-Version: dfarc-3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-10-28 20:47+0000\n" "PO-Revision-Date: 2012-08-07 20:02+0200\n" "Last-Translator: Àngel Mompó \n" "Language-Team: Catalan \n" "Language: ca\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n!=1);\n" #: ../src/BZip.cpp:300 #, c-format msgid "Error: Could not open input file '%s' for bzip decompression." msgstr "Error: No s'ha pogut obrir el fitxer d'entrada «%s» per descomprimir-lo amb bzip." #: ../src/BZip.cpp:315 msgid "Error: Invalid .dmod file selected!" msgstr "Error: El fitxer .dmod seleccionat no és vàlid!" #: ../src/BZip.cpp:325 #, c-format msgid "Error: Could not write to '%s'." msgstr "Error: No s'ha pogut escriure a «%s»." #: ../src/BZip.cpp:357 msgid "Invalid .dmod file specified." msgstr "El fitxer .dmod especificat no és vàlid." #: ../src/BZip.cpp:361 msgid "Critical program function error: opened for write." msgstr "S'ha produït un error crític en una funció del programa: s'obre per escriure." #: ../src/BZip.cpp:365 msgid "Could not read .dmod file." msgstr "No s'ha pogut llegir el fitxer .dmod." #: ../src/BZip.cpp:369 msgid "Incomplete .dmod file. Please download it again." msgstr "El fitxer .dmod és incomplet. Torneu-lo a baixar." #: ../src/BZip.cpp:373 msgid "The .dmod file is corrupted. Please download it again." msgstr "El fitxer .dmod està malmès. Torneu-lo a baixar." #: ../src/BZip.cpp:377 msgid "The file is not a valid .dmod file." msgstr "El fitxer no és un .dmod vàlid." #: ../src/BZip.cpp:381 msgid "Out of memory error." msgstr "Error: Sense memòria." #: ../src/BZip.cpp:385 msgid "An unhandled error occured." msgstr "S'ha produït un error no identificat" #: ../src/Config.cpp:216 msgid "Error: dinksmallwood.ini not found. Please run the main game and try running this program again." msgstr "Error: no s'ha trobat el fitxer dinksmallwood.ini. Executeu el joc principal i torneu a executar aquest programa." #: ../src/Config.cpp:224 msgid "Error opening dinksmallwood.ini" msgstr "S'ha produït un error en obrir dinksmallwood.ini" #: ../src/DFArcFrame.cpp:168 #, c-format msgid "" "DFArc version %s\n" "Copyright (C) 2004 Andrew Reading (merlin)\n" "Copyright (C) 2005, 2006 Dan Walma (redink1)\n" "Copyright (C) 2008, 2009, 2010 Sylvain Beucler (Beuc)\n" "Build Date: %s\n" "Powered by bzip2 (http://www.bzip.org) and wxWidgets (http://www.wxwidgets.org)" msgstr "" "Versió %s de DFArc\n" "Copyright © 2004 Andrew Reading (merlin)\n" "Copyright © 2005, 2006 Dan Walma (redink1)\n" "Copyright © 2008, 2009, 2010 Sylvain Beucler (Beuc)\n" "Data de construcció: %s\n" "Funciona amb bzip2 (http://www.bzip.org) i wxWidgets (http://www.wxwidgets.org)" #: ../src/DFArcFrame.cpp:175 msgid "About DFArc v3" msgstr "Quant al DFArc V3" #. Default logo (currently all black with a question mark) #. TRANSLATORS: please make this SHORT, possibly rephrasing as "< #. Choose!". This is included in the 160x120px logo box in the main #. window and it doesn't word-wrap. #: ../src/DFArcFrame.cpp:246 msgid "< Pick a D-Mod" msgstr "< Trieu un D-Mod" #: ../src/DFArcFrame.cpp:312 msgid "No translations" msgstr "Cap traducció" #. Not displaying the default language explicitely, because it #. makes the user think that a translation is always available. #. mGameLocaleList->Insert(wxString(_("Default language")) + wxT(" (") + cur_locale_name + wxT(")"), 0); #: ../src/DFArcFrame.cpp:319 ../src/Options.cpp:120 msgid "Don't translate" msgstr "No ho traduiu" #: ../src/DFArcFrame.cpp:338 msgid "D-Mod files (*.dmod)" msgstr "Fitxers D-Mod (*.dmod)" #: ../src/DFArcFrame.cpp:339 msgid "Select a .dmod file" msgstr "Seleccioneu un fitxer .dmod" #: ../src/DFArcFrame.cpp:534 #, c-format msgid "The '%s' locale is not installed on your computer (locales tells the computer how to manage a language). You need to install it - check your system documentation." msgstr "La configuració local «%s» no està instal·lada al vostre ordinador (Aquestes configuracions li diuen a l'ordinador com gestionar un idioma). Heu d'instal·lar-la - Consulteu la documentació del vostre sistema." #: ../src/DFArcFrame.cpp:537 ../src/DFArcFrame.cpp:615 msgid "Warning" msgstr "Avís" #: ../src/DFArcFrame.cpp:577 #, c-format msgid "Dink Smallwood failed! Error code %d." msgstr "El Dink Smallwood ha fallat! Codi d'error %d." #: ../src/DFArcFrame.cpp:579 ../src/DFArcFrame.cpp:584 #: ../src/DFArcFrame.cpp:645 ../src/DFArcFrame.cpp:647 #: ../src/DFArcFrame.cpp:690 ../src/DFArcFrame.cpp:699 msgid "Error" msgstr "Error" #: ../src/DFArcFrame.cpp:581 #, c-format msgid "Dink Smallwood ('%s') was not found on your computer. Please configure the Dink program name in the Options menu." msgstr "No s'ha trobat el Dink Smallwood («%s») al vostre ordinador. Configureu el nom del programa del Dink al menú d'opcions." #: ../src/DFArcFrame.cpp:612 msgid "Dinkedit saves all changes automatically. Altering maps can ruin the game. Are you sure you want to continue?" msgstr "El Dinkedit desa els canvis de manera automàtica. Alterar els mapes pot espatllar el joc. Esteu segur que voleu continuar?" #: ../src/DFArcFrame.cpp:642 #, c-format msgid "The editor ('%s') was not found on your computer. Please configure the editor program name in the Options menu." msgstr "No s'ha trobat l'editor («%s») al vostre ordinador. Configureu el nom del programa editor al menú d'opcions." #: ../src/DFArcFrame.cpp:647 msgid "Error while running the editor" msgstr "S'ha produït un error en executar l'editor" #. FreeDesktop #. Gnome #. KDE #. Xfce #: ../src/DFArcFrame.cpp:688 msgid "Could not find a file manager (tried 'xdg-open', 'nautilus', 'konqueror' and 'thunar')" msgstr "No s'ha pogut trobar un gestor de fitxers (s'ha provat «xdg-open», «nautilus», «konkeror» i «thunar»)" #: ../src/DFArcFrame.cpp:696 #, c-format msgid "Cannot start '%s', please check your configuration in the Options window." msgstr "No es pot iniciar «%s», comproveu la configuració a la finestra d'opcions." #: ../src/DFArcFrame.cpp:706 msgid "" "Welcome to DFArc, the Dink Smallwood front end!\n" "\n" "You can choose to play the original game (Dink Smallwood) or Dink-Modules (D-Mods) which contain new adventures.\n" "\n" "After completing the main game, give some D-Mods a try.\n" "There are hundreds of them, just click File-Download D-Mods." msgstr "" "Benvingut a DFArc, el frontal de Dink Smallwood!\n" "\n" "Podeu escollir entre el joc original (Dink Smallwood) o els moduls Dink (D-Mods) que contenen noves aventures.\n" "\n" "Quan acabeu el joc principal, proveu alguns D-Mods.\n" "N'hi ha centenars, només cal que feu clic a Fitxer-Baixeu D-Mods." #: ../src/DFArcFrame.cpp:713 msgid "Introduction" msgstr "Introducció" #. If there's no directory, let's not override #: ../src/DFArcFrame.cpp:856 msgid "Cannot use the overriden Dink Smallwood directory - ignoring it. (permission problem?)" msgstr "No es pot sobreescriure al directori de Dink Smallwood - s'ignora (problemes de permisos?)" #: ../src/DFArcFrame.cpp:858 ../src/DFArcFrame.cpp:866 msgid "Configuration error" msgstr "Error de configuració" #. If there's no directory, let's not override #: ../src/DFArcFrame.cpp:865 msgid "The Dink Smallwood directory you entered does not exist - ignoring it." msgstr "El directori de Dink Smallwood que heu indicat no existeix - s'ignora" #: ../src/DFArcFrame.cpp:880 msgid "You must select the uninstall option from the start menu to uninstall the main game." msgstr "Heu de seleccionar l'opció de desinstal·lar del menú d'inici per desinstal·lar el joc principal." #: ../src/DFArcFrame.cpp:881 msgid "Uninstall - Error" msgstr "Desinstal·lació - Error" #: ../src/DFArcFrame.cpp:886 msgid "Do you want to remove all save game files?" msgstr "Voleu esborrar tots els fitxers de les partides desades?" #: ../src/DFArcFrame.cpp:887 msgid "Uninstall - Save Game Files" msgstr "Desinstal·lació - Fitxers de partides desades" #: ../src/DFArcFrame.cpp:909 msgid "Unable to remove D-Mod directory. All other files were removed." msgstr "No es pot esborrar el directori D-mod. S'han esborrat tots els altres fitxers." #: ../src/DFArcFrame.cpp:915 msgid "D-Mod successfully uninstalled" msgstr "S'ha desinstal·lat D-Mod" #: ../src/DFArcFrame.cpp:916 msgid "Uninstall - Success" msgstr "Desinstal·lació - Finalitzada" #: ../src/InstallVerifyFrame.cpp:56 msgid "Preparing" msgstr "S'està preparant" #: ../src/InstallVerifyFrame.cpp:57 msgid "The D-Mod archive is being decompressed in a temporary file." msgstr "L'arxiu D-Mod s'està descomprimint en un fitxer temporal." #: ../src/InstallVerifyFrame.cpp:81 #, c-format msgid "" "No Description Available.\n" "\n" "The D-Mod will be installed in subdirectory '%s'." msgstr "" "No hi ha cap descripció disponible.\n" "\n" "El D-Mod s'instal·larà al subdirectori «%s»." #: ../src/InstallVerifyFrame.cpp:94 msgid "DFArc - Install D-Mod - " msgstr "DFArc - Instal·lació d'un D-Mod - " #: ../src/InstallVerifyFrame.cpp:143 msgid "DFArc - Installing" msgstr "DFArc - Està instal·lant" #: ../src/InstallVerifyFrame.cpp:157 msgid "The D-Mod you selected" msgstr "El D-Mod que heu sel·leccionat" #: ../src/InstallVerifyFrame.cpp:159 msgid " was successfully installed." msgstr " s'ha instal·lat correctament." #: ../src/InstallVerifyFrame.cpp:160 ../src/Package.cpp:167 msgid "Success" msgstr "Finalitzat" #: ../src/InstallVerifyFrame.cpp:169 msgid "An error occured while extracting the .dmod file." msgstr "S'ha produït un error mentre s'extreia el fitxer .dmod." #: ../src/Options.cpp:115 msgid "System language" msgstr "Idioma del sistema" #: ../src/Options.cpp:138 msgid "Custom" msgstr "Personalitzat" #: ../src/Options.cpp:177 msgid "Choose the Dink Smallwood install directory" msgstr "Escolliu el directori d'instal·lació del Dink Smallwood" #: ../src/Options.cpp:185 msgid "Choose a folder containing D-Mods" msgstr "Escolliu una carpeta que contingui D-Mods" #: ../src/Package.cpp:123 msgid "You must provide an identifier filename." msgstr "Heu de proporcionar un nom de fitxer com a identificador." #: ../src/Package.cpp:139 msgid "Packaging" msgstr "Empaquement" #: ../src/Package.cpp:139 msgid "The D-Mod is being packaged." msgstr "S'està empaquetant el D-Mod." #. Success dialog #: ../src/Package.cpp:165 #, c-format msgid "%s was successfully packaged (compression ratio %2.1f : 1)." msgstr "S'ha empaquetat correctament %s (ràtio de compressió %2.1f :1)." #: ../src/Package.cpp:172 msgid "Packaging aborted - removing partial .dmod file." msgstr "S'ha interromput l'empaquetat - S'esborra el fitxer .dmod parcial." #: ../src/Package.cpp:173 msgid "Abort" msgstr "Avorta" #: ../src/RecursiveDelete.cpp:55 ../src/RecursiveDelete.cpp:73 #, c-format msgid "Could not remove %s" msgstr "No s'ha pogut esborrar %s" #: ../src/Tar.cpp:91 msgid "Listing files..." msgstr "Es llisten els fitxers..." #: ../src/Tar.cpp:125 msgid "Initializing..." msgstr "S'inicialitza..." #: ../src/Tar.cpp:129 #, c-format msgid "Error: Could not open tar file '%s' for bzip compression." msgstr "Error: no es pot obrir el fitxer tar «%s» per descomprimir-lo amb bzip." #: ../src/Tar.cpp:130 msgid "ERROR" msgstr "ERROR" #: ../src/Tar.cpp:151 msgid "Error: Could not initialize compression method! Will not generate a correct .dmod file. Quitting." msgstr "Error: no s'ha pogut inicialitzar el mètode de descompressió! No es generarà cap fitxer .dmod correcte. Se surt." #: ../src/Tar.cpp:184 #, c-format msgid "Error: File '%s' not found! Cannot archive file." msgstr "Error: no s'ha trobat el fitxer «%s». No es pot arxivar." #. Close the output file. #: ../src/Tar.cpp:234 msgid "Closing..." msgstr "S'està tancant..." #: ../src/Tar.cpp:354 #, c-format msgid "Error: File '%s' not found! Cannot read data." msgstr "Error: no s'ha trobat el fitxer «%s». No es poden llegir les dades." #. Nope. Exit. #: ../src/Tar.cpp:391 msgid "Error: This .dmod file has an invalid checksum! Cannot read file." msgstr "Error: El checksum del fitxer .dmod no és vàlid! No es pot llegir el fitxer." #: ../src/Tar.cpp:476 #, c-format msgid "Error: File '%s' not found! Cannot extract data." msgstr "Error: No s'ha trobat el fitxer «%s». No es poden extreure les dades." #: ../src/Tar.cpp:486 #, c-format msgid "Error: Cannot create directory '%s'. Cannot extract data." msgstr "Error: No s'ha pogut crear el directori «%s». No es poden extreure les dades." #: ../src/Tar.cpp:544 #, c-format msgid "Got bad file %d/%d. Skipping." msgstr "El fitxer %d/%d no és correcte. S'omet." #: ../src/Tar.cpp:568 #, c-format msgid "Error: Improperly archived file '%s'. Skipping." msgstr "Error: El fitxer «%s» no està arxivat correctament. S'omet." #: ../src/Tar.cpp:599 msgid "Done." msgstr "Fet." #: ../src/DFArcFrame_Base.cpp:18 msgid "&Open D-Mod to Install" msgstr "&Obre un D-mod per instal·lar-lo" #: ../src/DFArcFrame_Base.cpp:18 msgid "Select a D-Mod to install" msgstr "Seleccioneu un D-mod per instal·lar-lo" #: ../src/DFArcFrame_Base.cpp:19 msgid "&Download D-Mods" msgstr "&Baixeu D-Mods" #: ../src/DFArcFrame_Base.cpp:19 msgid "Go to The Dink Network to download some D-Mods!" msgstr "Aneu a The Dink Network per baixar D-Mods" #: ../src/DFArcFrame_Base.cpp:21 msgid "E&xit" msgstr "&Surt" #: ../src/DFArcFrame_Base.cpp:21 msgid "Exit DFArc" msgstr "Surt de DFArc" #: ../src/DFArcFrame_Base.cpp:22 msgid "&File" msgstr "&Fitxer" #: ../src/DFArcFrame_Base.cpp:24 msgid "&Refresh D-Mod List" msgstr "&Refresca la llista de D-Mod" #: ../src/DFArcFrame_Base.cpp:24 msgid "Refreshes the D-Mod list for any new additions" msgstr "Refresca la llista dels D-Mod per si n'hi ha de nous" #: ../src/DFArcFrame_Base.cpp:25 msgid "&Browse Selected D-Mod Directory" msgstr "&Navega pel directori de D-Mod seleccionat" #: ../src/DFArcFrame_Base.cpp:25 msgid "Browse to the directory containing the current D-Mod" msgstr "Navega al directori que conté el D-Mod actual" #: ../src/DFArcFrame_Base.cpp:26 msgid "&Uninstall Selected D-Mod" msgstr "&Desinstal·la el D-Mod seleccionat" #: ../src/DFArcFrame_Base.cpp:26 msgid "Uninstalls the selected D-Mod" msgstr "Desinstal·la el D-Mod seleccionat" #: ../src/DFArcFrame_Base.cpp:28 msgid "&Options" msgstr "&Opcions" #: ../src/DFArcFrame_Base.cpp:28 msgid "View or modify DFArc options" msgstr "Consulteu o modifiqueu les opcions del DFArc" #: ../src/DFArcFrame_Base.cpp:29 msgid "&Edit" msgstr "&Edita" #: ../src/DFArcFrame_Base.cpp:31 msgid "&Introduction" msgstr "&Introducció" #: ../src/DFArcFrame_Base.cpp:31 msgid "A quick introduction to Dinking and D-Mods" msgstr "Una ràpida introducció a Dink i als D-Mods" #: ../src/DFArcFrame_Base.cpp:32 msgid "&Walkthroughs and Guides" msgstr "&Solucions i guies" #: ../src/DFArcFrame_Base.cpp:32 msgid "Stuck in a D-Mod? Check out The Dink Smallwood Solutions." msgstr "Esteu encallat en algun D-Mod? Visiteu DinkSolutions" #: ../src/DFArcFrame_Base.cpp:33 msgid "&Forums" msgstr "&Forums" #: ../src/DFArcFrame_Base.cpp:33 msgid "Ask a question on the forums, or see if someone had the same problem." msgstr "Pregunteu als fòrums, o mireu si algú altre té el mateix problema." #: ../src/DFArcFrame_Base.cpp:35 msgid "&About" msgstr "&Quant a " #: ../src/DFArcFrame_Base.cpp:35 msgid "About DFArc" msgstr "Quant al DFArc" #: ../src/DFArcFrame_Base.cpp:36 msgid "&Help" msgstr "A&juda" #: ../src/DFArcFrame_Base.cpp:41 msgid "Play" msgstr "Juga" #: ../src/DFArcFrame_Base.cpp:42 msgid "True Color" msgstr "Color vertader" #: ../src/DFArcFrame_Base.cpp:43 msgid "Windowed" msgstr "En finestra" #: ../src/DFArcFrame_Base.cpp:44 msgid "Sound" msgstr "So" #: ../src/DFArcFrame_Base.cpp:45 msgid "Joystick" msgstr "Palanca de control" #: ../src/DFArcFrame_Base.cpp:46 msgid "Debug" msgstr "Depuració" #: ../src/DFArcFrame_Base.cpp:47 msgid "v1.07 mode" msgstr "Mode V1.07" #: ../src/DFArcFrame_Base.cpp:48 msgid "Edit" msgstr "Edita" #: ../src/DFArcFrame_Base.cpp:49 ../src/Package_Base.cpp:18 msgid "Package" msgstr "Paquet" #. begin wxGlade: DFArcFrame_Base::set_properties #: ../src/DFArcFrame_Base.cpp:64 msgid "DFArc v3" msgstr "DFArc v3" #: ../src/DFArcFrame_Base.cpp:74 msgid "v1.07 compatibility mode, for D-Mods released before 2006" msgstr "Mode compatible amb la v1.07, per D-Mods anteriors al 2006" #. begin wxGlade: InstallVerifyFrame_Base::InstallVerifyFrame_Base #: ../src/InstallVerifyFrame_Base.cpp:14 msgid "Preparing..." msgstr "S'està preparant..." #: ../src/InstallVerifyFrame_Base.cpp:16 msgid "Main Dink directory" msgstr "Directori principal de Dink" #: ../src/InstallVerifyFrame_Base.cpp:17 ../src/Options_Base.cpp:20 msgid "Additional D-Mods directory" msgstr "Directori addicional pels D-Mod" #: ../src/InstallVerifyFrame_Base.cpp:19 msgid "Where do you want to install this D-Mod?" msgstr "On voleu instal·lar els D-Mod?" #: ../src/InstallVerifyFrame_Base.cpp:20 msgid "Install" msgstr "Instal·la" #. begin wxGlade: InstallVerifyFrame_Base::set_properties #: ../src/InstallVerifyFrame_Base.cpp:32 msgid "DFArc - Install D-Mod" msgstr "DFArc - Instal·la D-Mod" #. begin wxGlade: Options_Base::Options_Base #: ../src/Options_Base.cpp:14 msgid "Close DFArc on play" msgstr "Tanca el DFArc quan jugueu" #: ../src/Options_Base.cpp:15 msgid "Show developer buttons" msgstr "Mostra els botons de desenvolupament" #: ../src/Options_Base.cpp:16 msgid "The engine updates dinksmallwood.ini on run (deprecated)" msgstr "El motor actualitza dinksmallwood.ini quan s'executa (desfassat)" #: ../src/Options_Base.cpp:17 msgid "Override the Dink Smallwood directory" msgstr "Sobreescriu el directori del Dink Smallwood" #: ../src/Options_Base.cpp:19 ../src/Options_Base.cpp:22 msgid "Browse" msgstr "Navega" #: ../src/Options_Base.cpp:23 msgid "Game program name" msgstr "Nom del programa del joc" #: ../src/Options_Base.cpp:26 msgid "Editor program name" msgstr "Nom del programa editor" #: ../src/Options_Base.cpp:29 msgid "Preferred file browser" msgstr "Navegador de fitxers preferit" #: ../src/Options_Base.cpp:31 msgid "" "DFArc language\n" "(restart DFArc to apply)" msgstr "" "Idioma del DFArc\n" "(cal reiniciar DFArc)" #. begin wxGlade: Options_Base::set_properties #: ../src/Options_Base.cpp:47 msgid "DFArc - Options" msgstr "DFArc - Opcions" #. begin wxGlade: Package_Base::Package_Base #: ../src/Package_Base.cpp:14 msgid "Identifier" msgstr "Identificador" #: ../src/Package_Base.cpp:15 #, c-format msgid "" "Note: Unless you're making a D-Mod, you shouldn't be around here.\n" "This is for creating a .dmod file for a D-Mod you made.\n" "\n" "Will package '%s' located at\n" "%s" msgstr "" "NOTA: A no ser que estigueu creant un D-Mod, no haurieu de ser aquí.\n" "Això és per crear un fitxer .dmod per a un D-Mod que hageu fet.\n" "\n" "Empaquetarà «%s» ubicades a\n" "%s" #: ../src/Package_Base.cpp:16 msgid "D-Mod filename (8 letters/numbers)" msgstr "Nom del fitxer D-Mod (8 lletres/números)" #. begin wxGlade: Package_Base::set_properties #: ../src/Package_Base.cpp:30 msgid "DFArc - Package" msgstr "DFArc - Empaquetat" #: ../share/freedink-dfarc.desktop.in.h:1 msgid "DFArc - Dink frontend" msgstr "DFArc - Frontal del Dink" #: ../share/freedink-dfarc.desktop.in.h:2 msgid "Run, edit, install, remove and package D-Mods (Dink Modules)" msgstr "Executa, edita, instal·la, esborra i empaqueta D-Mods (mòduls del Dink)" #: ../share/freedink-mime.xml.in.h:1 msgid "Packaged D-Mod" msgstr "D-Mod empaquetat" dfarc-3.12/po/tr.po0000664000175000017510000005140712401141035011043 00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: PAKET VERSİYONU\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-11-14 09:27+0000\n" "PO-Revision-Date: 2012-09-02 17:54+0200\n" "Last-Translator: purple phoenix <931900@windowslive.com>\n" "Language-Team: LANGUAGE(DİL) \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: Türkçe\n" "X-Poedit-SourceCharset: UTF-8\n" #: ../../po/../src/BZip.cpp:300 #, c-format msgid "Error: Could not open input file '%s' for bzip decompression." msgstr "Hata: bzip dizine çıkartması için okunacak dosya '%s' açılamadı." #: ../../po/../src/BZip.cpp:315 msgid "Error: Invalid .dmod file selected!" msgstr "Hata: Geçersiz .dmod dosyası seçildi!" #: ../../po/../src/BZip.cpp:325 #, c-format msgid "Error: Could not write to '%s'." msgstr "Hata: '%s' yazılamadı." #: ../../po/../src/BZip.cpp:357 msgid "Invalid .dmod file specified." msgstr "Geçersiz .dmod dosyası " #: ../../po/../src/BZip.cpp:361 msgid "Critical program function error: opened for write." msgstr "Program fonsiyonlarında kritik hata: yazmak için açıldı." #: ../../po/../src/BZip.cpp:365 msgid "Could not read .dmod file." msgstr ".dmod dosyası okunamadı." #: ../../po/../src/BZip.cpp:369 msgid "Incomplete .dmod file. Please download it again." msgstr "Eksik .dmod dosyası. Lütfen dosyayı tekrar indirin" #: ../../po/../src/BZip.cpp:373 msgid "The .dmod file is corrupted. Please download it again." msgstr ".dmod dosyası bozuk. Lütfen yeniden indirin." #: ../../po/../src/BZip.cpp:377 msgid "The file is not a valid .dmod file." msgstr "Dosya geçerli bir .mod dosyası deÄŸil." #: ../../po/../src/BZip.cpp:381 msgid "Out of memory error." msgstr "Yetersiz bellek hatası." #: ../../po/../src/BZip.cpp:385 msgid "An unhandled error occured." msgstr "İşlenemeyen bir hata oluÅŸtu." #: ../../po/../src/Config.cpp:216 msgid "" "Error: dinksmallwood.ini not found. Please run the main game and try running " "this program again." msgstr "" "Hata: dinksmallwood.ini bulunamadı. Lütfen ana oyun penceresini kapatın ve " "programı yeniden çalıştırmayı deneyin." #: ../../po/../src/Config.cpp:224 msgid "Error opening dinksmallwood.ini" msgstr "dinksmallwood.ini açılırken hata oluÅŸtu." #: ../../po/../src/DFArcFrame.cpp:174 #, c-format msgid "" "DFArc version %s\n" "Copyright (C) 2004 Andrew Reading (merlin)\n" "Copyright (C) 2005, 2006 Dan Walma (redink1)\n" "Copyright (C) 2008, 2009, 2010 Sylvain Beucler (Beuc)\n" "Build Date: %s\n" "Powered by bzip2 (http://www.bzip.org) and wxWidgets (http://www.wxwidgets." "org)" msgstr "" "DFArc versiyon %s\n" "Telif Hakları(Copyrights)Copyright (C) 2004 Andrew Reading (merlin)\n" "Copyright (C) 2005, 2006 Dan Walma (redink1)\n" "Copyright (C) 2008, 2009, 2010 Sylvain Beucler (Beuc)\n" "Yapım Tarihi: %s\n" "bzip2 (http://www.bzip.org) ve wxWidgets (http://www.wxwidgets.org) " "tarafından desteklenmektedir." #: ../../po/../src/DFArcFrame.cpp:181 msgid "About DFArc v3" msgstr "DFArc v3 hakkında" #. Default logo (currently all black with a question mark) #. TRANSLATORS: please make this SHORT, possibly rephrasing as "< #. Choose!". This is included in the 160x120px logo box in the main #. window and it doesn't word-wrap. #: ../../po/../src/DFArcFrame.cpp:252 msgid "< Pick a D-Mod" msgstr "< Bir D-Mod seçin" #: ../../po/../src/DFArcFrame.cpp:318 msgid "No translations" msgstr "Çeviri yok" #. Not displaying the default language explicitely, because it #. makes the user think that a translation is always available. #. mGameLocaleList->Insert(wxString(_("Default language")) + wxT(" (") + cur_locale_name + wxT(")"), 0); #: ../../po/../src/DFArcFrame.cpp:325 ../../po/../src/Options.cpp:118 msgid "Don't translate" msgstr "Çevirisini yapmayın" #: ../../po/../src/DFArcFrame.cpp:344 msgid "D-Mod files (*.dmod)" msgstr "D-Mod dosyaları (*.dmod)" #: ../../po/../src/DFArcFrame.cpp:345 msgid "Select a .dmod file" msgstr "Bir .dmod dosyası seçin" #: ../../po/../src/DFArcFrame.cpp:540 #, c-format msgid "" "The '%s' locale is not installed on your computer (locales tells the " "computer how to manage a language). You need to install it - check your " "system documentation." msgstr "" " '%s' locale bilgisayarınıza kurulmamış(locale, bilgisayarınızın bir dili " "nasıl kullanacağınız düzenler).\"locale\"i kurmanız gerekiyor - sistem " "dosyalarını kontrol edin." #: ../../po/../src/DFArcFrame.cpp:543 ../../po/../src/DFArcFrame.cpp:621 msgid "Warning" msgstr "Uyarı" #: ../../po/../src/DFArcFrame.cpp:583 #, c-format msgid "Dink Smallwood failed! Error code %d." msgstr "Dink Smallwood açılamadı! Hata kodu %d." #: ../../po/../src/DFArcFrame.cpp:585 ../../po/../src/DFArcFrame.cpp:590 #: ../../po/../src/DFArcFrame.cpp:651 ../../po/../src/DFArcFrame.cpp:653 #: ../../po/../src/DFArcFrame.cpp:696 ../../po/../src/DFArcFrame.cpp:705 msgid "Error" msgstr "Hata" #: ../../po/../src/DFArcFrame.cpp:587 #, c-format msgid "" "Dink Smallwood ('%s') was not found on your computer. Please configure the " "Dink program name in the Options menu." msgstr "" "Dink Smallwood ('%s') bilgisayarınızda bulunamadı. Lütfen Dink programının " "adını Seçenekler menüsünden biçimlendirin." #: ../../po/../src/DFArcFrame.cpp:618 msgid "" "Dinkedit saves all changes automatically. Altering maps can ruin the game. " "Are you sure you want to continue?" msgstr "" "Dinkedit tüm deÄŸiÅŸiklikleri otomatik olarak kaydeder. Haritaları deÄŸiÅŸtirmek " "oyunu bozabilir. Devam etmek istediÄŸinizden emin misiniz?" #: ../../po/../src/DFArcFrame.cpp:648 #, c-format msgid "" "The editor ('%s') was not found on your computer. Please configure the " "editor program name in the Options menu." msgstr "" "Düzenleyici ('%s') bilgisayarınızda bulunamadı. Lütfen Seçenekler menüsünde " "düzenleyici programın adını yapılandırın." #: ../../po/../src/DFArcFrame.cpp:653 msgid "Error while running the editor" msgstr "Düzenleyici çalıştırılırken hata oluÅŸtu." #. FreeDesktop #. Gnome #. KDE #. Xfce #: ../../po/../src/DFArcFrame.cpp:694 msgid "" "Could not find a file manager (tried 'xdg-open', 'nautilus', 'konqueror' and " "'thunar')" msgstr "" "Dosya yöneticisi bulunamadı ( 'xdg-open', 'nautilus', 'konqueror' ve " "'thunar' denendi)" #: ../../po/../src/DFArcFrame.cpp:702 #, c-format msgid "" "Cannot start '%s', please check your configuration in the Options window." msgstr "" "'%s' baÅŸlatılamadı, lütfen Seçenekler penceresinde yapılandırmayı kontrol " "edin." #: ../../po/../src/DFArcFrame.cpp:712 msgid "" "Welcome to DFArc, the Dink Smallwood front end!\n" "\n" "You can choose to play the original game (Dink Smallwood) or Dink-Modules (D-" "Mods) which contain new adventures.\n" "\n" "After completing the main game, give some D-Mods a try.\n" "There are hundreds of them, just click File-Download D-Mods." msgstr "" "DFArc'a hoÅŸ geldiniz, Dink Smallwood sunumu!\n" "\n" "Orjinal oyunu oynamayı seçebilir (Dink Smallwood) ya da yeni maceralar " "içeren Dink-Modüllerini (D-Modlar) deneyebilirsiniz.\n" "\n" "Ana oyunu tamamladıktan sonra, birkaç D-Mod'u daha deneyin.\n" "D-Mod'ların yüzlercesi daha var, sadece Dosya - D-Mod İndir'i tıklayın." #: ../../po/../src/DFArcFrame.cpp:719 msgid "Introduction" msgstr "Tanıtım" #. If there's no directory, let's not override #: ../../po/../src/DFArcFrame.cpp:862 msgid "" "Cannot use the overriden Dink Smallwood directory - ignoring it. (permission " "problem?)" msgstr "" "Üzerine yazılan Dink Smallwood dosyası kullanılamıyor - görmezden geliniyor. " "(izin sorunu mu var?)" #: ../../po/../src/DFArcFrame.cpp:864 ../../po/../src/DFArcFrame.cpp:872 msgid "Configuration error" msgstr "Yapılandırma hatası" #. If there's no directory, let's not override #: ../../po/../src/DFArcFrame.cpp:871 msgid "The Dink Smallwood directory you entered does not exist - ignoring it." msgstr "GirdiÄŸiniz Dink Smallwood diizni bulunmuyor - görmezden gelindi." #: ../../po/../src/DFArcFrame.cpp:886 msgid "" "You must select the uninstall option from the start menu to uninstall the " "main game." msgstr "" "Ana oyunu kaldırmak için baÅŸlangıç menüsünden \"kaldır\" seçeneÄŸini " "seçmelisiniz." #: ../../po/../src/DFArcFrame.cpp:887 msgid "Uninstall - Error" msgstr "Program Kaldırma - Hata" #: ../../po/../src/DFArcFrame.cpp:892 msgid "Do you want to remove all save game files?" msgstr "Bütün kaydedilmiÅŸ oyun dosyalarını kaldırmak istiyor musunuz?" #: ../../po/../src/DFArcFrame.cpp:893 msgid "Uninstall - Save Game Files" msgstr "Oyun Dosyalarını Kaydet - Kaldır" #: ../../po/../src/DFArcFrame.cpp:915 msgid "Unable to remove D-Mod directory. All other files were removed." msgstr "D-Mod dizini kaldırılamıyor. Bütün diÄŸer dosyalar kaldırıldı." #: ../../po/../src/DFArcFrame.cpp:921 msgid "D-Mod successfully uninstalled" msgstr "D-Mod baÅŸarıyla kaldırıldı." #: ../../po/../src/DFArcFrame.cpp:922 msgid "Uninstall - Success" msgstr "Kaldırma iÅŸlemi - BaÅŸarılı" #: ../../po/../src/InstallVerifyFrame.cpp:56 msgid "Preparing" msgstr "Hazırlanıyor" #: ../../po/../src/InstallVerifyFrame.cpp:57 msgid "The D-Mod archive is being decompressed in a temporary file." msgstr "D-Mod arÅŸivi geçici bir dosyaya çıkartılıyor." #: ../../po/../src/InstallVerifyFrame.cpp:81 #, c-format msgid "" "No Description Available.\n" "\n" "The D-Mod will be installed in subdirectory '%s'." msgstr "" "Tanım Mevcut DeÄŸil.\n" "\n" "D-Mod '%s' alt klasörüne kurulacak." #: ../../po/../src/InstallVerifyFrame.cpp:94 msgid "DFArc - Install D-Mod - " msgstr "DFArc - D-Mod'u kurun - " #: ../../po/../src/InstallVerifyFrame.cpp:143 msgid "DFArc - Installing" msgstr "DFArc - Kuruluyor" #: ../../po/../src/InstallVerifyFrame.cpp:157 msgid "The D-Mod you selected" msgstr "SeçtiÄŸiniz D-Mod" #: ../../po/../src/InstallVerifyFrame.cpp:159 msgid " was successfully installed." msgstr "baÅŸarıyla kuruldu." #: ../../po/../src/InstallVerifyFrame.cpp:160 ../../po/../src/Package.cpp:167 msgid "Success" msgstr "BaÅŸarılı" #: ../../po/../src/InstallVerifyFrame.cpp:169 msgid "An error occured while extracting the .dmod file." msgstr ".dmod dosyası dizine çıkartılırken hata oluÅŸtu." #: ../../po/../src/Options.cpp:113 msgid "System language" msgstr "Sistem dili" #: ../../po/../src/Options.cpp:136 msgid "Custom" msgstr "ÖzelleÅŸtirme" #: ../../po/../src/Options.cpp:175 msgid "Choose the Dink Smallwood install directory" msgstr "Dink Smallwood'un kurulacağı dizini seçin" #: ../../po/../src/Options.cpp:183 msgid "Choose a folder containing D-Mods" msgstr "D-Modların bulunduÄŸu bir dosyayı seçin" #: ../../po/../src/Package.cpp:123 msgid "You must provide an identifier filename." msgstr "Tanımlayıcı bir dosya adı girmelisiniz" #: ../../po/../src/Package.cpp:139 msgid "Packaging" msgstr "Derleniyor" #: ../../po/../src/Package.cpp:139 msgid "The D-Mod is being packaged." msgstr "D-Mod derleniyor" #. Success dialog #: ../../po/../src/Package.cpp:165 #, c-format msgid "%s was successfully packaged (compression ratio %2.1f : 1)." msgstr "%s baÅŸarılı bir ÅŸekilde derlendi (sıkıştırma oranı %2.1f : 1)." #: ../../po/../src/Package.cpp:172 msgid "Packaging aborted - removing partial .dmod file." msgstr "Program derlemesi yarıda kesildi - kalan .dmod dosyaları kaldırılıyor." #: ../../po/../src/Package.cpp:173 msgid "Abort" msgstr "İptal" #: ../../po/../src/RecursiveDelete.cpp:55 #: ../../po/../src/RecursiveDelete.cpp:73 #, c-format msgid "Could not remove %s" msgstr "%s kaldırılamadı" #: ../../po/../src/Tar.cpp:91 msgid "Listing files..." msgstr "Dosyalar listeleniyor..." #: ../../po/../src/Tar.cpp:125 msgid "Initializing..." msgstr "BaÅŸlatılıyor..." #: ../../po/../src/Tar.cpp:129 #, c-format msgid "Error: Could not open tar file '%s' for bzip compression." msgstr "Hata: bzip sıkıştırması için tar dosyası '%s' açılamadı." #: ../../po/../src/Tar.cpp:130 msgid "ERROR" msgstr "HATA" #: ../../po/../src/Tar.cpp:151 msgid "" "Error: Could not initialize compression method! Will not generate a " "correct .dmod file. Quitting." msgstr "" "Hata: Sıkıştırma uygulaması baÅŸlatılamadı! Uygun .dmod dosyası " "oluÅŸturulamaz. Vazgeçiliyor." #: ../../po/../src/Tar.cpp:184 #, c-format msgid "Error: File '%s' not found! Cannot archive file." msgstr "Hata: Dosya '%s' bulunamadı! Dosya arÅŸivlenemiyor." #. Close the output file. #: ../../po/../src/Tar.cpp:234 msgid "Closing..." msgstr "Kapatılıyor..." #: ../../po/../src/Tar.cpp:354 #, c-format msgid "Error: File '%s' not found! Cannot read data." msgstr "Hata: '%s' dosyası bulunamadı! Veriler okumanıyor." #. Nope. Exit. #: ../../po/../src/Tar.cpp:391 msgid "Error: This .dmod file has an invalid checksum! Cannot read file." msgstr "" "Hata: Bu .dmod dosyası geçersiz saÄŸlama toplamına sahip! Dosya okunamadı." #: ../../po/../src/Tar.cpp:476 #, c-format msgid "Error: File '%s' not found! Cannot extract data." msgstr "Hata: '%s' dosyası bulunamadı! Veriler çıkartılamıyor." #: ../../po/../src/Tar.cpp:486 #, c-format msgid "Error: Cannot create directory '%s'. Cannot extract data." msgstr "Hata: '%s'de dizin oluÅŸturulamadı. Veriler çıkartılamıyor." #: ../../po/../src/Tar.cpp:544 #, c-format msgid "Got bad file %d/%d. Skipping." msgstr "Kötü/bozuk dosya %d%d. Atlanıyor." #: ../../po/../src/Tar.cpp:568 #, c-format msgid "Error: Improperly archived file '%s'. Skipping." msgstr "Hata: Düzgün arÅŸivlenmemiÅŸ dosya '%s'. Atlanıyor." #: ../../po/../src/Tar.cpp:599 msgid "Done." msgstr "Yapıldı." #: ../../po/../src/DFArcFrame_Base.cpp:18 msgid "&Open D-Mod to Install" msgstr "&Kurulacak D-Mod'u açın" #: ../../po/../src/DFArcFrame_Base.cpp:18 msgid "Select a D-Mod to install" msgstr "Kurulacak D-Mod'u seçin" #: ../../po/../src/DFArcFrame_Base.cpp:19 msgid "&Download D-Mods" msgstr "&D-Mod İndirin" #: ../../po/../src/DFArcFrame_Base.cpp:19 msgid "Go to The Dink Network to download some D-Mods!" msgstr "Daha fazla D-Mod indirmek için Dink Network'e girin!" #: ../../po/../src/DFArcFrame_Base.cpp:21 msgid "E&xit" msgstr "&Çıkış" #: ../../po/../src/DFArcFrame_Base.cpp:21 msgid "Exit DFArc" msgstr "DFArc'den çıkış" #: ../../po/../src/DFArcFrame_Base.cpp:22 msgid "&File" msgstr "&Dosya" #: ../../po/../src/DFArcFrame_Base.cpp:24 msgid "&Refresh D-Mod List" msgstr "&D-Mod Listesini Yenile" #: ../../po/../src/DFArcFrame_Base.cpp:24 msgid "Refreshes the D-Mod list for any new additions" msgstr "Yeni eklemeler için D-Mod listesi yenilenir" #: ../../po/../src/DFArcFrame_Base.cpp:25 msgid "&Browse Selected D-Mod Directory" msgstr "&Seçilen D-Mod Dizinine Gözatın" #: ../../po/../src/DFArcFrame_Base.cpp:25 msgid "Browse to the directory containing the current D-Mod" msgstr "Mevcut D-Mod'u içeren dizine gözatın" #: ../../po/../src/DFArcFrame_Base.cpp:26 msgid "&Uninstall Selected D-Mod" msgstr "&Seçilen D-Mod'u kaldırın" #: ../../po/../src/DFArcFrame_Base.cpp:26 msgid "Uninstalls the selected D-Mod" msgstr "Seçilen D-Mod'u kaldırır" #: ../../po/../src/DFArcFrame_Base.cpp:28 msgid "&Options" msgstr "&Seçenekler" #: ../../po/../src/DFArcFrame_Base.cpp:28 msgid "View or modify DFArc options" msgstr "DFArc seçeneklerini görüntüleyin ya da düzenleyin" #: ../../po/../src/DFArcFrame_Base.cpp:29 msgid "&Edit" msgstr "&Düzenle" #: ../../po/../src/DFArcFrame_Base.cpp:31 msgid "&Introduction" msgstr "&Tanıtım" #: ../../po/../src/DFArcFrame_Base.cpp:31 msgid "A quick introduction to Dinking and D-Mods" msgstr "Dinking ve D-Modlara kısa bir giriÅŸ" #: ../../po/../src/DFArcFrame_Base.cpp:32 msgid "&Walkthroughs and Guides" msgstr "&Oyun Çözümleri ve Rehberler" #: ../../po/../src/DFArcFrame_Base.cpp:32 msgid "Stuck in a D-Mod? Check out The Dink Smallwood Solutions." msgstr "" "Bir D-Mod'da takıldınız mı? The Dink Smallwood Solutions(Dink Smallwood " "Çözümleri)'ne göz atın." #: ../../po/../src/DFArcFrame_Base.cpp:33 msgid "&Forums" msgstr "&Forumlar" #: ../../po/../src/DFArcFrame_Base.cpp:33 msgid "Ask a question on the forums, or see if someone had the same problem." msgstr "" "Forumda bir soru sorun, ya da aynı sorunu yaÅŸayanların sorularına göz atın." #: ../../po/../src/DFArcFrame_Base.cpp:35 msgid "&About" msgstr "&Hakkında" #: ../../po/../src/DFArcFrame_Base.cpp:35 msgid "About DFArc" msgstr "DFArc Hakkında" #: ../../po/../src/DFArcFrame_Base.cpp:36 msgid "&Help" msgstr "&Yardım" #: ../../po/../src/DFArcFrame_Base.cpp:41 msgid "Play" msgstr "Oyna" #: ../../po/../src/DFArcFrame_Base.cpp:42 msgid "True Color" msgstr "Tam Ekran" #: ../../po/../src/DFArcFrame_Base.cpp:43 msgid "Windowed" msgstr "Küçük Pencere" #: ../../po/../src/DFArcFrame_Base.cpp:44 msgid "Sound" msgstr "Ses" #: ../../po/../src/DFArcFrame_Base.cpp:45 msgid "Joystick" msgstr "Joystick" #: ../../po/../src/DFArcFrame_Base.cpp:46 msgid "Debug" msgstr "Hata Ayıklama" #: ../../po/../src/DFArcFrame_Base.cpp:47 msgid "v1.07 mode" msgstr "v1.07 modu" #: ../../po/../src/DFArcFrame_Base.cpp:48 msgid "Edit" msgstr "Düzenle" #: ../../po/../src/DFArcFrame_Base.cpp:49 ../../po/../src/Package_Base.cpp:18 msgid "Package" msgstr "Paket" #. begin wxGlade: DFArcFrame_Base::set_properties #: ../../po/../src/DFArcFrame_Base.cpp:64 msgid "DFArc v3" msgstr "DFArc v3" #: ../../po/../src/DFArcFrame_Base.cpp:74 msgid "v1.07 compatibility mode, for D-Mods released before 2006" msgstr "v1.07 uyumluluk modu, 2006'dan önce çıkan D-Modlar için" #. begin wxGlade: InstallVerifyFrame_Base::InstallVerifyFrame_Base #: ../../po/../src/InstallVerifyFrame_Base.cpp:14 msgid "Preparing..." msgstr "Hazırlanıyor" #: ../../po/../src/InstallVerifyFrame_Base.cpp:16 msgid "Main Dink directory" msgstr "Ana Dink Dizini" #: ../../po/../src/InstallVerifyFrame_Base.cpp:17 #: ../../po/../src/Options_Base.cpp:20 msgid "Additional D-Mods directory" msgstr "Eklenen D-Modlar dizini" #: ../../po/../src/InstallVerifyFrame_Base.cpp:19 msgid "Where do you want to install this D-Mod?" msgstr "Bu D-Mod versiyonunu nereye kurmak istersiniz?" #: ../../po/../src/InstallVerifyFrame_Base.cpp:20 msgid "Install" msgstr "Oyunu Kurun" #. begin wxGlade: InstallVerifyFrame_Base::set_properties #: ../../po/../src/InstallVerifyFrame_Base.cpp:32 msgid "DFArc - Install D-Mod" msgstr "DFArc - D-Mod Kurun" #. begin wxGlade: Options_Base::Options_Base #: ../../po/../src/Options_Base.cpp:14 msgid "Close DFArc on play" msgstr "Oyun sırasında DFArc'ı kapatın" #: ../../po/../src/Options_Base.cpp:15 msgid "Show developer buttons" msgstr "GeliÅŸtirici düğmesini göster" #: ../../po/../src/Options_Base.cpp:16 msgid "The engine updates dinksmallwood.ini on run (deprecated)" msgstr "" "Oyun Makinesi dinksmallwood.ini'yi oyun sırasında günceller (önerilmez)" #: ../../po/../src/Options_Base.cpp:17 msgid "Override the Dink Smallwood directory" msgstr "Dink Smallwood dizini üzerine yazılsın" #: ../../po/../src/Options_Base.cpp:19 ../../po/../src/Options_Base.cpp:22 msgid "Browse" msgstr "Gözatın" #: ../../po/../src/Options_Base.cpp:23 msgid "Game program name" msgstr "Oyun programının adı" #: ../../po/../src/Options_Base.cpp:26 msgid "Editor program name" msgstr "Düzenleyici programın adı" #: ../../po/../src/Options_Base.cpp:29 msgid "Preferred file browser" msgstr "Tercih edilen dosya tarayıcısı" #: ../../po/../src/Options_Base.cpp:31 msgid "" "DFArc language\n" "(restart DFArc to apply)" msgstr "" "DFArc dili\n" "(uygulamak için DFArc'ı yeniden baÅŸlatın)" #. begin wxGlade: Options_Base::set_properties #: ../../po/../src/Options_Base.cpp:47 msgid "DFArc - Options" msgstr "DFArc - Seçenekler" #. begin wxGlade: Package_Base::Package_Base #: ../../po/../src/Package_Base.cpp:14 msgid "Identifier" msgstr "Tanımlayıcı" #: ../../po/../src/Package_Base.cpp:15 #, c-format msgid "" "Note: Unless you're making a D-Mod, you shouldn't be around here.\n" "This is for creating a .dmod file for a D-Mod you made.\n" "\n" "Will package '%s' located at\n" "%s" msgstr "" "Not: Yeni D-Mod oluÅŸturmuyorsanız, buraya dokunmamalısınız.\n" "Burası oluÅŸturduÄŸunuz bir D-Mod'a d.mod oluÅŸturmak içindir.\n" "\n" "'%s' derleneceÄŸi yer\n" "%s" #: ../../po/../src/Package_Base.cpp:16 msgid "D-Mod filename (8 letters/numbers)" msgstr "D-Mod dosya adı (8 harf/rakam)" #. begin wxGlade: Package_Base::set_properties #: ../../po/../src/Package_Base.cpp:30 msgid "DFArc - Package" msgstr "DFArc - Paket" #: ../share/freedink-dfarc.desktop.in.h:1 msgid "DFArc - Dink frontend" msgstr "DFArc - Dink sunumu" #: ../share/freedink-dfarc.desktop.in.h:2 msgid "Run, edit, install, remove and package D-Mods (Dink Modules)" msgstr "" "D-Modları(Dink Modülleri) çalıştır, düzenle, kur, kaldır ve derle(paketle)" #: ../share/freedink-mime.xml.in.h:1 msgid "Packaged D-Mod" msgstr "DerlenmiÅŸ(PaketlenmiÅŸ) D-Mod" dfarc-3.12/po/Makevars0000664000175000017510000000337512340110733011556 00000000000000# Makefile variables for PO directory in any package using GNU gettext. # Usually the message domain is the same as the package name. DOMAIN = $(PACKAGE) # These two variables depend on the location of this directory. subdir = po top_builddir = .. # These options get passed to xgettext. XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ # This is the copyright holder that gets inserted into the header of the # $(DOMAIN).pot file. Set this to the copyright holder of the surrounding # package. (Note that the msgstr strings, extracted from the package's # sources, belong to the copyright holder of the package.) Translators are # expected to transfer the copyright for their translations to this person # or entity, or to disclaim their copyright. The empty string stands for # the public domain; in this case the translators are expected to disclaim # their copyright. COPYRIGHT_HOLDER = Contributors # This is the email address or URL to which the translators shall report # bugs in the untranslated strings: # - Strings which are not entire sentences, see the maintainer guidelines # in the GNU gettext documentation, section 'Preparing Strings'. # - Strings which use unclear terms or require additional context to be # understood. # - Strings which make invalid assumptions about notation of date, time or # money. # - Pluralisation problems. # - Incorrect English spelling. # - Incorrect formatting. # It can be your email address, or a mailing list address where translators # can write to without being subscribed, or the URL of a web page through # which the translators can contact you. MSGID_BUGS_ADDRESS = # This is the list of locale categories, beyond LC_MESSAGES, for which the # message catalogs shall be used. It is usually empty. EXTRA_LOCALE_CATEGORIES = dfarc-3.12/po/da.po0000664000175000017510000004607312401414332011010 00000000000000# Danish translation dfarc. # Copyright (C) 2014 Joe Hansen. # This file is distributed under the same license as the dfarc package. # Joe Hansen , 2009, 2010, 2014. # msgid "" msgstr "" "Project-Id-Version: dfarc-3.11-pre1\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-09-01 20:58+0200\n" "PO-Revision-Date: 2014-09-02 18:30+01:00\n" "Last-Translator: Joe Hansen \n" "Language-Team: Danish \n" "Language: da\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/BZip.cpp:303 #, c-format msgid "Error: Could not open input file '%s' for bzip decompression." msgstr "Fejl: Kunne ikke Ã¥bne inddatafil »%s« til bzip-dekomprimering." #: ../src/BZip.cpp:318 msgid "Error: Invalid .dmod file selected!" msgstr "Fejl: Ugyldig .dmod-fil valgt!" #: ../src/BZip.cpp:328 #, c-format msgid "Error: Could not write to '%s'." msgstr "Fejl: Kunne ikke skrive til »%s«." #: ../src/BZip.cpp:360 msgid "Invalid .dmod file specified." msgstr "Ugyldig .dmod-fil angivet." #: ../src/BZip.cpp:364 msgid "Critical program function error: opened for write." msgstr "Kritisk programfunktionsfejl: Ã…bnet til skrivning." #: ../src/BZip.cpp:368 msgid "Could not read .dmod file." msgstr "Kunne ikke læse .dmod-fil." #: ../src/BZip.cpp:372 msgid "Incomplete .dmod file. Please download it again." msgstr "Ufuldstændig .dmod-fil. Hent den venligst igen." #: ../src/BZip.cpp:376 msgid "The .dmod file is corrupted. Please download it again." msgstr ".dmod-filen er korrupt. Hent den venligst igen." #: ../src/BZip.cpp:380 msgid "The file is not a valid .dmod file." msgstr "Filen er ikke en gyldig .dmod-fil." #: ../src/BZip.cpp:384 msgid "Out of memory error." msgstr "Ikke nok hukommelsesfejl." #: ../src/BZip.cpp:388 msgid "An unhandled error occured." msgstr "Der opstod en ukendt fejl." #: ../src/Config.cpp:202 msgid "Error: dinksmallwood.ini not found. Please run the main game and try running this program again." msgstr "Fejl: dinksmallwood.ini ikke fundet. Kør venligst hovedspillet og forsøg at køre dette program igen." #: ../src/Config.cpp:210 msgid "Error opening dinksmallwood.ini" msgstr "Fejl under Ã¥bning af dinksmallwood.ini" #: ../src/DFArcFrame.cpp:174 #, c-format msgid "" "DFArc version %s\n" "Copyright (C) 2004 Andrew Reading (merlin)\n" "Copyright (C) 2005, 2006 Dan Walma (redink1)\n" "Copyright (C) 2008-2014 Sylvain Beucler (Beuc)\n" "Build Date: %s\n" "Powered by bzip2 (bzip.org) and wxWidgets (wxwidgets.org)" msgstr "" "DFArc version %s\n" "Ophavsret (C) 2004 Andrew Reading (merlin)\n" "Ophavsret (C) 2005, 2006 Dan Walma (redink1)\n" "Ophavsret (C) 2008-2014 Sylvain Beucler (Beuc)\n" "Byggedato: %s\n" "Forbedret med bzip2 (http://www.bzip.org) og wxWidgets (http://www.wxwidgets.org)" #: ../src/DFArcFrame.cpp:181 msgid "About DFArc v3" msgstr "Om DFarc version 3" #. Default logo (currently all black with a question mark) #. TRANSLATORS: please make this SHORT, possibly rephrasing as "< #. Choose!". This is included in the 160x120px logo box in the main #. window and it doesn't word-wrap. #: ../src/DFArcFrame.cpp:253 msgid "< Pick a D-Mod" msgstr "< Vælg en D-Mod" #: ../src/DFArcFrame.cpp:318 msgid "No translations" msgstr "Ingen oversættelser" #. Not displaying the default language explicitely, because it #. makes the user think that a translation is always available. #. mGameLocaleList->Insert(wxString(_("Default language")) + wxT(" (") + cur_locale_name + wxT(")"), 0); #: ../src/DFArcFrame.cpp:325 ../src/Options.cpp:118 msgid "Don't translate" msgstr "Oversæt ikke" #: ../src/DFArcFrame.cpp:348 msgid "D-Mod files (*.dmod)" msgstr "D-Mod-filer (*.dmod)" #: ../src/DFArcFrame.cpp:349 msgid "Select a .dmod file" msgstr "Vælg en .dmod-fil" #: ../src/DFArcFrame.cpp:544 #, c-format msgid "The '%s' locale is not installed on your computer (locales tells the computer how to manage a language). You need to install it - check your system documentation." msgstr "Lokaliseringen »%s« er ikke installeret pÃ¥ din computer (lokaliseringen fortæller computeren, hvordan den skal hÃ¥ndtere et sprog). Du skal installere lokaliseringen - kontroller din systemdokumentation." #: ../src/DFArcFrame.cpp:547 ../src/DFArcFrame.cpp:625 msgid "Warning" msgstr "Advarsel" #: ../src/DFArcFrame.cpp:587 #, c-format msgid "Dink Smallwood failed! Error code %d." msgstr "Dink Smallwood fejlede! Fejlkode %d." #: ../src/DFArcFrame.cpp:589 ../src/DFArcFrame.cpp:594 #: ../src/DFArcFrame.cpp:655 ../src/DFArcFrame.cpp:657 #: ../src/DFArcFrame.cpp:700 ../src/DFArcFrame.cpp:709 msgid "Error" msgstr "Fejl" #: ../src/DFArcFrame.cpp:591 #, c-format msgid "Dink Smallwood ('%s') was not found on your computer. Please configure the Dink program name in the Options menu." msgstr "Dink Smallwood (»%s«) blev ikke fundet pÃ¥ din computer. Konfigurer venligst Dinks programnavn i indstillingsmenuen." #: ../src/DFArcFrame.cpp:622 msgid "Dinkedit saves all changes automatically. Altering maps can ruin the game. Are you sure you want to continue?" msgstr "Dinkedit gemmer automatisk alle ændringer. Ændring af kort kan ødelægge spillet. Er du sikker pÃ¥, at du ønsker at fortsætte?" #: ../src/DFArcFrame.cpp:652 #, c-format msgid "The editor ('%s') was not found on your computer. Please configure the editor program name in the Options menu." msgstr "Redigeringsprogrammet (»%s«) blev ikke fundet pÃ¥ din computer. Konfigurer venligst redigeringsprogrammets navn i indstillingsmenuen." #: ../src/DFArcFrame.cpp:657 msgid "Error while running the editor" msgstr "Fejl under kørsel af redigeringsprogrammet" #. FreeDesktop #. Gnome #. KDE #. Xfce #: ../src/DFArcFrame.cpp:698 msgid "Could not find a file manager (tried 'xdg-open', 'nautilus', 'konqueror' and 'thunar')" msgstr "Kunne ikke finde en filhÃ¥ndtering (forsøgte »xdg-open«, »nautilus«, »konqueror« og »thunar«)" #: ../src/DFArcFrame.cpp:706 #, c-format msgid "Cannot start '%s', please check your configuration in the Options window." msgstr "Kan ikke starte »%s«, kontroller venligst din konfiguration i indstillingsvinduet." #: ../src/DFArcFrame.cpp:716 msgid "" "Welcome to DFArc, the Dink Smallwood front end!\n" "\n" "You can choose to play the original game (Dink Smallwood) or Dink-Modules (D-Mods) which contain new adventures.\n" "\n" "After completing the main game, give some D-Mods a try.\n" "There are hundreds of them, just click File-Download D-Mods." msgstr "" "Velkommen til DFarc, Dink Smallwoods brugerflade!\n" "\n" "Du kan vælge at spille det oprindelige spil, Dink Smallwood eller Dink-moduler (D-Mods) som indeholder nye eventyr.\n" "\n" "NÃ¥r du har færdiggjort hovedspillet, sÃ¥ prøv eventuelt nogle D-Mod.\n" "Der er hundreder af gratis D-Mods tilgængelige, bare klik pÃ¥ Fil-Hent D-Mods." #: ../src/DFArcFrame.cpp:723 msgid "Introduction" msgstr "Introduktion" # override -> tilsidesætte, underkende #. If there's no directory, let's not override #: ../src/DFArcFrame.cpp:866 msgid "Cannot use the overridden Dink Smallwood directory - ignoring it. (permission problem?)" msgstr "Kan ikke bruge den tilsidesatte Dink Smallwood-mappe - ignorerer den. (rettighedsproblem?)" #: ../src/DFArcFrame.cpp:868 ../src/DFArcFrame.cpp:876 msgid "Configuration error" msgstr "Konfigurationsfejl" #. If there's no directory, let's not override #: ../src/DFArcFrame.cpp:875 msgid "The Dink Smallwood directory you entered does not exist - ignoring it." msgstr "Den Dink Smallwood-mappe du indtastede eksisterer ikke - ignorerer den." #: ../src/DFArcFrame.cpp:890 msgid "You must select the uninstall option from the start menu to uninstall the main game." msgstr "Du skal vælge afinstallationstilvalget fra startmenuen for at afinstallere hovedspillet." #: ../src/DFArcFrame.cpp:891 msgid "Uninstall - Error" msgstr "Afinstallation - fejl" #: ../src/DFArcFrame.cpp:896 msgid "Do you want to remove all save game files?" msgstr "Ønsker du at fjerne alle de gemte spilfiler?" #: ../src/DFArcFrame.cpp:897 msgid "Uninstall - Save Game Files" msgstr "Afinstallation - gem spilfiler" #: ../src/DFArcFrame.cpp:919 msgid "Unable to remove D-Mod directory. All other files were removed." msgstr "Kunne ikke fjerne D-Mod-mappe. Alle andre filer blev fjernet." #: ../src/DFArcFrame.cpp:925 msgid "D-Mod successfully uninstalled" msgstr "D-Mod afinstalleret" #: ../src/DFArcFrame.cpp:926 msgid "Uninstall - Success" msgstr "Afinstallation - lykkedes" #: ../src/InstallVerifyFrame.cpp:56 msgid "Preparing" msgstr "Forbereder" #: ../src/InstallVerifyFrame.cpp:57 msgid "The D-Mod archive is being decompressed in a temporary file." msgstr "D-Mod-arkivet udpakkes i en midlertidig fil." #: ../src/InstallVerifyFrame.cpp:81 #, c-format msgid "" "No Description Available.\n" "\n" "The D-Mod will be installed in subdirectory '%s'." msgstr "" "Ingen beskrivelse tilgængelig.\n" "\n" "D-Mod vil blive installeret i undermappe '%s'." #: ../src/InstallVerifyFrame.cpp:94 msgid "DFArc - Install D-Mod - " msgstr "DFarc - installer D-Mod - " #: ../src/InstallVerifyFrame.cpp:143 msgid "DFArc - Installing" msgstr "DFarc - installerer" #: ../src/InstallVerifyFrame.cpp:157 msgid "The D-Mod you selected" msgstr "D-Mod'en du valgte" #: ../src/InstallVerifyFrame.cpp:159 msgid " was successfully installed." msgstr " blev installeret." #: ../src/InstallVerifyFrame.cpp:160 ../src/Package.cpp:167 msgid "Success" msgstr "Lykkedes" #: ../src/InstallVerifyFrame.cpp:169 msgid "An error occured while extracting the .dmod file." msgstr "Der opstod en fejl under udtrækning af .dmod-filen." #: ../src/Options.cpp:113 msgid "System language" msgstr "Systemsprog" #: ../src/Options.cpp:136 msgid "Custom" msgstr "Tilpasset" #: ../src/Options.cpp:175 msgid "Choose the Dink Smallwood install directory" msgstr "Vælg Dink Smallwoods installationsmappe" #: ../src/Options.cpp:183 msgid "Choose a folder containing D-Mods" msgstr "Vælg en mappe der indeholder D-Mods" #: ../src/Package.cpp:123 msgid "You must provide an identifier filename." msgstr "Du skal angive et identifikationsfilnavn." #: ../src/Package.cpp:139 msgid "Packaging" msgstr "Pakker" #: ../src/Package.cpp:139 msgid "The D-Mod is being packaged." msgstr "D-Mod'en bliver pakket." #. Success dialog #: ../src/Package.cpp:165 #, c-format msgid "%s was successfully packaged (compression ratio %2.1f : 1)." msgstr "%s blev pakket (kompressionsforhold %2.1f : 1)." #: ../src/Package.cpp:172 msgid "Packaging aborted - removing partial .dmod file." msgstr "Pakning afbrudt - fjerner ufuldstændig .dmod-fil." #: ../src/Package.cpp:173 msgid "Abort" msgstr "Afbryd" #: ../src/RecursiveDelete.cpp:55 ../src/RecursiveDelete.cpp:73 #, c-format msgid "Could not remove %s" msgstr "Kunne ikke fjerne %s" #: ../src/Tar.cpp:95 msgid "Listing files..." msgstr "Viser filer ..." #: ../src/Tar.cpp:134 msgid "Initializing..." msgstr "Starter op ..." #: ../src/Tar.cpp:138 #, c-format msgid "Error: Could not open tar file '%s' for bzip compression." msgstr "Fejl: Kunne ikke Ã¥bne tar-fil »%s« til bzip-kompression." #: ../src/Tar.cpp:160 msgid "Error: Could not initialize compression method! Will not generate a correct .dmod file. Quitting." msgstr "Fejl: Kunne ikke initialisere kompressionsmetode! Vil ikke danne en korrekt .dmod-fil. Afslutter." #: ../src/Tar.cpp:193 #, c-format msgid "Error: File '%s' not found! Cannot archive file." msgstr "Fejl: Filen »%s« blev ikke fundet! Kan ikke arkivere fil." #. Close the output file. #: ../src/Tar.cpp:243 msgid "Closing..." msgstr "Lukker ned ..." #: ../src/Tar.cpp:363 #, c-format msgid "Error: File '%s' not found! Cannot read data." msgstr "Fejl: Fil »%s« blev ikke fundet! Kan ikke læse data." #. Nope. Exit. #: ../src/Tar.cpp:400 msgid "Error: This .dmod file has an invalid checksum! Cannot read file." msgstr "Fejl: Denne .dmod-fil har en ugyldig kontrolsum! Kan ikke læse fil." #: ../src/Tar.cpp:484 #, c-format msgid "Error: File '%s' not found! Cannot extract data." msgstr "Fejl: Filen »%s« blev ikke fundet! Kan ikke udtrække data." #: ../src/Tar.cpp:494 #, c-format msgid "Error: Cannot create directory '%s'. Cannot extract data." msgstr "Fejl: Kan ikke oprette mappen »%s«. Kan ikke udtrække data." #: ../src/Tar.cpp:552 #, c-format msgid "Got bad file %d/%d. Skipping." msgstr "Fik ugyldig fil %d/%d. Springer over." #: ../src/Tar.cpp:574 #, c-format msgid "Error: Improperly archived file '%s'. Skipping." msgstr "Fejl: Forkert arkiveret fil »%s«. Springer over." #: ../src/Tar.cpp:607 msgid "Done." msgstr "Færdig." #: ../src/DFArcFrame_Base.cpp:27 msgid "&Open D-Mod to Install" msgstr "&Ã…bn D-Mod der skal installeres" #: ../src/DFArcFrame_Base.cpp:27 msgid "Select a D-Mod to install" msgstr "Vælg en D-Mod til installation" #: ../src/DFArcFrame_Base.cpp:28 msgid "&Download D-Mods" msgstr "&Hent D-Mods" #: ../src/DFArcFrame_Base.cpp:28 msgid "Go to The Dink Network to download some D-Mods!" msgstr "GÃ¥ til Dinknetværket for at hente nogle D-Mods!" #: ../src/DFArcFrame_Base.cpp:30 msgid "E&xit" msgstr "&Afslut" #: ../src/DFArcFrame_Base.cpp:30 msgid "Exit DFArc" msgstr "Afslut DFarc" #: ../src/DFArcFrame_Base.cpp:31 msgid "&File" msgstr "&Fil" #: ../src/DFArcFrame_Base.cpp:33 msgid "&Refresh D-Mod List" msgstr "&Opdater D-Mod-liste" #: ../src/DFArcFrame_Base.cpp:33 msgid "Refreshes the D-Mod list for any new additions" msgstr "Opdaterer D-Mod-listen for nye tilføjelser" #: ../src/DFArcFrame_Base.cpp:34 msgid "&Browse Selected D-Mod Directory" msgstr "&Gennemse valgt D-Mod-mappe" #: ../src/DFArcFrame_Base.cpp:34 msgid "Browse to the directory containing the current D-Mod" msgstr "GÃ¥ til mappen der indeholder den aktuelle D-Mod" #: ../src/DFArcFrame_Base.cpp:35 msgid "&Uninstall Selected D-Mod" msgstr "&Afinstaller valgt D-Mod" #: ../src/DFArcFrame_Base.cpp:35 msgid "Uninstalls the selected D-Mod" msgstr "Afinstallerer den valgte D-Mod" #: ../src/DFArcFrame_Base.cpp:37 msgid "&Options" msgstr "&Indstillinger" #: ../src/DFArcFrame_Base.cpp:37 msgid "View or modify DFArc options" msgstr "Vis eller ændr DFarc-indstillinger" #: ../src/DFArcFrame_Base.cpp:38 msgid "&Edit" msgstr "&Rediger" #: ../src/DFArcFrame_Base.cpp:40 msgid "&Introduction" msgstr "&Introduktion" #: ../src/DFArcFrame_Base.cpp:40 msgid "A quick introduction to Dinking and D-Mods" msgstr "En hurtig introduktion til Dinkspillet og D-Mods" #: ../src/DFArcFrame_Base.cpp:41 msgid "&Walkthroughs and Guides" msgstr "&Spilløsninger og vejledninger" #: ../src/DFArcFrame_Base.cpp:41 msgid "Stuck in a D-Mod? Check out The Dink Smallwood Solutions." msgstr "Sidder du fast i en D-Mod? Kig i løsningerne til Dink Smallwood." #: ../src/DFArcFrame_Base.cpp:42 msgid "&Forums" msgstr "&Forummer" #: ../src/DFArcFrame_Base.cpp:42 msgid "Ask a question on the forums, or see if someone had the same problem." msgstr "Stil et spørgsmÃ¥l i forummerne, eller se om nogen har det samme problem." #: ../src/DFArcFrame_Base.cpp:44 msgid "&About" msgstr "&Om" #: ../src/DFArcFrame_Base.cpp:44 msgid "About DFArc" msgstr "Om DFArc" #: ../src/DFArcFrame_Base.cpp:45 msgid "&Help" msgstr "&Hjælp" #: ../src/DFArcFrame_Base.cpp:50 msgid "Play" msgstr "Spil" #: ../src/DFArcFrame_Base.cpp:51 msgid "True Color" msgstr "Ægte farver" # Hmm, umiddelbart ville jeg tro at det er sÃ¥dan en slags tilstand # windowed vs. full screen, hvis det er i ville jeg nok kalde det "I # vindue" eller "Vindue" #: ../src/DFArcFrame_Base.cpp:52 msgid "Windowed" msgstr "I vindue" #: ../src/DFArcFrame_Base.cpp:53 msgid "Sound" msgstr "Lyd" #: ../src/DFArcFrame_Base.cpp:54 msgid "Joystick" msgstr "Joystick" #: ../src/DFArcFrame_Base.cpp:55 msgid "Debug" msgstr "Fejlsøg" #: ../src/DFArcFrame_Base.cpp:56 msgid "v1.07 mode" msgstr "Spil version 1.07" #: ../src/DFArcFrame_Base.cpp:57 msgid "Edit" msgstr "Rediger" #: ../src/DFArcFrame_Base.cpp:58 ../src/Package_Base.cpp:27 msgid "Package" msgstr "Pakke" #. begin wxGlade: DFArcFrame_Base::set_properties #: ../src/DFArcFrame_Base.cpp:73 msgid "DFArc v3" msgstr "DFArc version 3" #: ../src/DFArcFrame_Base.cpp:83 msgid "v1.07 compatibility mode, for D-Mods released before 2006" msgstr "Version 1.07s kompatibilitetstilstand, for D-Mods udgivet før 2006" #. begin wxGlade: InstallVerifyFrame_Base::InstallVerifyFrame_Base #: ../src/InstallVerifyFrame_Base.cpp:23 msgid "Preparing..." msgstr "Forbereder ..." #: ../src/InstallVerifyFrame_Base.cpp:25 msgid "Main Dink directory" msgstr "Hovedmappe til Dink" #: ../src/InstallVerifyFrame_Base.cpp:26 ../src/Options_Base.cpp:29 msgid "Additional D-Mods directory" msgstr "Ekstra mappe til D-Mods" #: ../src/InstallVerifyFrame_Base.cpp:28 msgid "Where do you want to install this D-Mod?" msgstr "Hvor ønsker du at installere denne D-Mod?" #: ../src/InstallVerifyFrame_Base.cpp:29 msgid "Install" msgstr "Installer" #. begin wxGlade: InstallVerifyFrame_Base::set_properties #: ../src/InstallVerifyFrame_Base.cpp:41 msgid "DFArc - Install D-Mod" msgstr "DFArc - installer D-Mod" #. begin wxGlade: Options_Base::Options_Base #: ../src/Options_Base.cpp:23 msgid "Close DFArc on play" msgstr "Luk DFArc nÃ¥r der spilles" #: ../src/Options_Base.cpp:24 msgid "Show developer buttons" msgstr "Vis udviklerknapper" #: ../src/Options_Base.cpp:25 msgid "The engine updates dinksmallwood.ini on run (deprecated)" msgstr "Motoren opdaterer dinksmallwood.ini nÃ¥r den kører (forældet)" #: ../src/Options_Base.cpp:26 msgid "Override the Dink Smallwood directory" msgstr "Tilsidesæt Dink Smallwoods mappe" #: ../src/Options_Base.cpp:28 ../src/Options_Base.cpp:31 msgid "Browse" msgstr "Gennemse" #: ../src/Options_Base.cpp:32 msgid "Game program name" msgstr "Spilprogramnavn" #: ../src/Options_Base.cpp:35 msgid "Editor program name" msgstr "Redigeringsprogramnavn" #: ../src/Options_Base.cpp:38 msgid "Preferred file browser" msgstr "Foretrukne filbrowser" #: ../src/Options_Base.cpp:40 msgid "" "DFArc language\n" "(restart DFArc to apply)" msgstr "" "DFArc-sprog\n" "(genstart DFArc for at sproget træder i kraft)" #. begin wxGlade: Options_Base::set_properties #: ../src/Options_Base.cpp:56 msgid "DFArc - Options" msgstr "DFArc - indstillinger" #. begin wxGlade: Package_Base::Package_Base #: ../src/Package_Base.cpp:23 msgid "Identifier" msgstr "Identifikation" #: ../src/Package_Base.cpp:24 #, c-format msgid "" "Note: Unless you're making a D-Mod, you shouldn't be around here.\n" "This is for creating a .dmod file for a D-Mod you made.\n" "\n" "Will package '%s' located at\n" "%s" msgstr "" "Bemærk: Med mindre du opretter en D-Mod, bør du ikke bevæge dig\n" "rundt her. Dette er et sted for oprettelse af en .dmod-fil til en\n" "D-mod du har lavet.\n" "\n" "Vil pakke »%s« placeret pÃ¥\n" "%s" #: ../src/Package_Base.cpp:25 msgid "D-Mod filename (8 letters/numbers)" msgstr "D-Mod-filnavn (8 bogstaver/numre)" #. begin wxGlade: Package_Base::set_properties #: ../src/Package_Base.cpp:39 msgid "DFArc - Package" msgstr "DFArc - pakke" #: ../share/freedink-dfarc.desktop.in.h:1 msgid "DFArc - Dink frontend" msgstr "DFArc - Dinks grænseflade" #: ../share/freedink-dfarc.desktop.in.h:2 msgid "Run, edit, install, remove and package D-Mods (Dink Modules)" msgstr "Kør, redigere, installer, fjern og pak D-Mods (Dink-moduler)" #: ../share/freedink-mime.xml.in.h:1 msgid "Packaged D-Mod" msgstr "Pakket D-Mod" #~ msgid "ERROR" #~ msgstr "FEJL" dfarc-3.12/po/sr.po0000664000175000017510000005626312404767556011100 00000000000000# Serbian translation of dfarc. # Copyright (C) 2014 Free Software Foundation, Inc. # This file is distributed under the same license as the dfarc package. # МироÑлав Ðиколић , 2012—2014. msgid "" msgstr "" "Project-Id-Version: dfarc-3.11-pre1\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-09-01 20:58+0200\n" "PO-Revision-Date: 2014-09-13 08:57+0200\n" "Last-Translator: МироÑлав Ðиколић \n" "Language-Team: Serbian <(nothing)>\n" "Language: sr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #: ../src/BZip.cpp:303 #, c-format msgid "Error: Could not open input file '%s' for bzip decompression." msgstr "Грешка: Ðе могу да отворим улазну датотеку „%s“ за бзип извлачење." #: ../src/BZip.cpp:318 msgid "Error: Invalid .dmod file selected!" msgstr "Грешка: Изабрана је неиÑправна „.dmod“ датотека!" #: ../src/BZip.cpp:328 #, c-format msgid "Error: Could not write to '%s'." msgstr "Грешка: Ðе могу да пишем у „%s“." #: ../src/BZip.cpp:360 msgid "Invalid .dmod file specified." msgstr "Ðаведена је неиÑправна „.dmod“ датотека." #: ../src/BZip.cpp:364 msgid "Critical program function error: opened for write." msgstr "Критична грешка програмÑке функције: отворено за упиÑ." #: ../src/BZip.cpp:368 msgid "Could not read .dmod file." msgstr "Ðе могу да прочитам „.dmod“ датотеку." #: ../src/BZip.cpp:372 msgid "Incomplete .dmod file. Please download it again." msgstr "Ðепотпуна „.dmod“ датотека. Молим преузмите је опет." #: ../src/BZip.cpp:376 msgid "The .dmod file is corrupted. Please download it again." msgstr "„.dmod“ датотека је оштећена. Молим поново је преузмите." #: ../src/BZip.cpp:380 msgid "The file is not a valid .dmod file." msgstr "Датотека није иÑправна „.dmod“ датотека." #: ../src/BZip.cpp:384 msgid "Out of memory error." msgstr "Грешка недоÑтатка меморије." #: ../src/BZip.cpp:388 msgid "An unhandled error occured." msgstr "Дошло је до нерешиве грешке." #: ../src/Config.cpp:202 msgid "Error: dinksmallwood.ini not found. Please run the main game and try running this program again." msgstr "Грешка: ниÑам пронашао „dinksmallwood.ini“. Молим покрените главну игру и покушајте поново да покренете овај програм." #: ../src/Config.cpp:210 msgid "Error opening dinksmallwood.ini" msgstr "Грешка отварања „dinksmallwood.ini“" #: ../src/DFArcFrame.cpp:174 #, c-format msgid "" "DFArc version %s\n" "Copyright (C) 2004 Andrew Reading (merlin)\n" "Copyright (C) 2005, 2006 Dan Walma (redink1)\n" "Copyright (C) 2008-2014 Sylvain Beucler (Beuc)\n" "Build Date: %s\n" "Powered by bzip2 (bzip.org) and wxWidgets (wxwidgets.org)" msgstr "" "ДФÐрц издање %s\n" "ÐуторÑка права (C) 2004 Ендрју Ридин (merlin)\n" "ÐуторÑка права (C) 2005, 2006 Дан Валма (redink1)\n" "ÐуторÑка права (C) 2008-2014 Силвен Беклер (Beuc)\n" "Датум изградње: %s\n" "Покреће га бзип2 (bzip.org) и вхВиџети (wxwidgets.org)" #: ../src/DFArcFrame.cpp:181 msgid "About DFArc v3" msgstr "О ДФÐрц-у в3" #. Default logo (currently all black with a question mark) #. TRANSLATORS: please make this SHORT, possibly rephrasing as "< #. Choose!". This is included in the 160x120px logo box in the main #. window and it doesn't word-wrap. #: ../src/DFArcFrame.cpp:253 msgid "< Pick a D-Mod" msgstr "< Изаберите Д-мод" #: ../src/DFArcFrame.cpp:318 msgid "No translations" msgstr "Ðема превода" #. Not displaying the default language explicitely, because it #. makes the user think that a translation is always available. #. mGameLocaleList->Insert(wxString(_("Default language")) + wxT(" (") + cur_locale_name + wxT(")"), 0); #: ../src/DFArcFrame.cpp:325 ../src/Options.cpp:118 msgid "Don't translate" msgstr "Ðемој преводити" #: ../src/DFArcFrame.cpp:348 msgid "D-Mod files (*.dmod)" msgstr "Датотеке Д-мода (*.dmod)" #: ../src/DFArcFrame.cpp:349 msgid "Select a .dmod file" msgstr "Изаберите „.dmod“ датотеку" #: ../src/DFArcFrame.cpp:544 #, c-format msgid "The '%s' locale is not installed on your computer (locales tells the computer how to manage a language). You need to install it - check your system documentation." msgstr "Локалитет „%s“ није инÑталиран на вашем рачунару (локалитети говоре рачунару како да управља језиком). Морате да га инÑталирате — проверите документацију вашег ÑиÑтема." #: ../src/DFArcFrame.cpp:547 ../src/DFArcFrame.cpp:625 msgid "Warning" msgstr "Упозорење" #: ../src/DFArcFrame.cpp:587 #, c-format msgid "Dink Smallwood failed! Error code %d." msgstr "Динк шумарак Ñе урушио! Код грешке је „%d“." #: ../src/DFArcFrame.cpp:589 ../src/DFArcFrame.cpp:594 #: ../src/DFArcFrame.cpp:655 ../src/DFArcFrame.cpp:657 #: ../src/DFArcFrame.cpp:700 ../src/DFArcFrame.cpp:709 msgid "Error" msgstr "Грeшкa" #: ../src/DFArcFrame.cpp:591 #, c-format msgid "Dink Smallwood ('%s') was not found on your computer. Please configure the Dink program name in the Options menu." msgstr "Динк шумарак („%s“) није пронађен на вашем рачунару. Молим подеÑите назив програма Динк у изборнику опција." #: ../src/DFArcFrame.cpp:622 msgid "Dinkedit saves all changes automatically. Altering maps can ruin the game. Are you sure you want to continue?" msgstr "Динк уређивач Ñам чува Ñве измене. Измена карти може да уруши игру. Да ли Ñте Ñигурни да желите да наÑтавите?" #: ../src/DFArcFrame.cpp:652 #, c-format msgid "The editor ('%s') was not found on your computer. Please configure the editor program name in the Options menu." msgstr "Уређивач („%s“) није пронађен на вашем рачунару. Молим подеÑите назив програма уређивача у изборнику опција." #: ../src/DFArcFrame.cpp:657 msgid "Error while running the editor" msgstr "Грешка приликом покретања уређивача" #. FreeDesktop #. Gnome #. KDE #. Xfce #: ../src/DFArcFrame.cpp:698 msgid "Could not find a file manager (tried 'xdg-open', 'nautilus', 'konqueror' and 'thunar')" msgstr "Ðе могу да пронађем управника датотека (покушао Ñам „xdg-open“, „nautilus“, „konqueror“ и „thunar“)" #: ../src/DFArcFrame.cpp:706 #, c-format msgid "Cannot start '%s', please check your configuration in the Options window." msgstr "Ðе могу да покренем „%s“, молим погледајте ваша подешавања у прозору опција." #: ../src/DFArcFrame.cpp:716 msgid "" "Welcome to DFArc, the Dink Smallwood front end!\n" "\n" "You can choose to play the original game (Dink Smallwood) or Dink-Modules (D-Mods) which contain new adventures.\n" "\n" "After completing the main game, give some D-Mods a try.\n" "There are hundreds of them, just click File-Download D-Mods." msgstr "" "Добродошли у ДФÐрц, челника за Динк шумарак!\n" "\n" "Можете да изаберете да играте оригиналну игру (Динк шумарак) или Динк-модули (Д-модÑ) која Ñадржи нове авантуре.\n" "\n" "Ðакон извршавања главне игре, дајте прилику неком Д-модÑу.\n" "Има их на Ñтотине, Ñамо кликните на „Преузми датотеку Д-модÑа“." #: ../src/DFArcFrame.cpp:723 msgid "Introduction" msgstr "Увод" #. If there's no directory, let's not override #: ../src/DFArcFrame.cpp:866 msgid "Cannot use the overridden Dink Smallwood directory - ignoring it. (permission problem?)" msgstr "Ðе могу да кориÑтим пребриÑан директоријум Динк шумарка — занемарујем га. (проблем овлашћења?)" #: ../src/DFArcFrame.cpp:868 ../src/DFArcFrame.cpp:876 msgid "Configuration error" msgstr "Грешка подешавања" #. If there's no directory, let's not override #: ../src/DFArcFrame.cpp:875 msgid "The Dink Smallwood directory you entered does not exist - ignoring it." msgstr "Директоријум Динка шумарка који Ñте унели не поÑтоји — занемарујем га." #: ../src/DFArcFrame.cpp:890 msgid "You must select the uninstall option from the start menu to uninstall the main game." msgstr "Морате да изаберете опцију за уклањање из изборника почетка да уклоните главну игру." #: ../src/DFArcFrame.cpp:891 msgid "Uninstall - Error" msgstr "Уклони — Грешка" #: ../src/DFArcFrame.cpp:896 msgid "Do you want to remove all save game files?" msgstr "Да ли желите да уклоните Ñве датотеке чувања игре?" #: ../src/DFArcFrame.cpp:897 msgid "Uninstall - Save Game Files" msgstr "Уклони — Датотеке чувања игре" #: ../src/DFArcFrame.cpp:919 msgid "Unable to remove D-Mod directory. All other files were removed." msgstr "Ðе могу да уклоним Д-мод директоријум. Све друге датотеке Ñу уклоњене." #: ../src/DFArcFrame.cpp:925 msgid "D-Mod successfully uninstalled" msgstr "Д-мод је уÑпешно уклоњен" #: ../src/DFArcFrame.cpp:926 msgid "Uninstall - Success" msgstr "Уклони — УÑпешно" #: ../src/InstallVerifyFrame.cpp:56 msgid "Preparing" msgstr "Припремам" #: ../src/InstallVerifyFrame.cpp:57 msgid "The D-Mod archive is being decompressed in a temporary file." msgstr "Д-мод архива је раÑпакована у привременој датотеци." #: ../src/InstallVerifyFrame.cpp:81 #, c-format msgid "" "No Description Available.\n" "\n" "The D-Mod will be installed in subdirectory '%s'." msgstr "" "ÐžÐ¿Ð¸Ñ Ð½Ð¸Ñ˜Ðµ доÑтупан.\n" "\n" "Д-мод ће бити инÑталиран у поддиректоријуму „%s“." #: ../src/InstallVerifyFrame.cpp:94 msgid "DFArc - Install D-Mod - " msgstr "ДФÐрц — ИнÑталирај Д-мод — " #: ../src/InstallVerifyFrame.cpp:143 msgid "DFArc - Installing" msgstr "ДФÐрц — ИнÑталирам" #: ../src/InstallVerifyFrame.cpp:157 msgid "The D-Mod you selected" msgstr "Д-мод који Ñте изабрали" #: ../src/InstallVerifyFrame.cpp:159 msgid " was successfully installed." msgstr " је уÑпешно инÑталиран." #: ../src/InstallVerifyFrame.cpp:160 ../src/Package.cpp:167 msgid "Success" msgstr "УÑпешно" #: ../src/InstallVerifyFrame.cpp:169 msgid "An error occured while extracting the .dmod file." msgstr "Догодила Ñе грешка приликом раÑпакивања „.dmod“ датотеке." #: ../src/Options.cpp:113 msgid "System language" msgstr "Језик ÑиÑтема" #: ../src/Options.cpp:136 msgid "Custom" msgstr "Произвољно" #: ../src/Options.cpp:175 msgid "Choose the Dink Smallwood install directory" msgstr "Изаберите инÑталациони директоријум за Динк шумарак" #: ../src/Options.cpp:183 msgid "Choose a folder containing D-Mods" msgstr "Изаберите фаÑциклу која Ñадржи Д-модове" #: ../src/Package.cpp:123 msgid "You must provide an identifier filename." msgstr "Морате да обезбедите назив датотеке идентификатора." #: ../src/Package.cpp:139 msgid "Packaging" msgstr "Паковање" #: ../src/Package.cpp:139 msgid "The D-Mod is being packaged." msgstr "Д-мод је запакован." #. Success dialog #: ../src/Package.cpp:165 #, c-format msgid "%s was successfully packaged (compression ratio %2.1f : 1)." msgstr "„%s“ је уÑпешно запакован (Ð¾Ð´Ð½Ð¾Ñ Ñажимања је %2.1f : 1)." #: ../src/Package.cpp:172 msgid "Packaging aborted - removing partial .dmod file." msgstr "Запакивање је прекинуто — уклањам делимичну „.dmod“ датотеку." #: ../src/Package.cpp:173 msgid "Abort" msgstr "Прекини" #: ../src/RecursiveDelete.cpp:55 ../src/RecursiveDelete.cpp:73 #, c-format msgid "Could not remove %s" msgstr "Ðе могу да уклоним „%s“" #: ../src/Tar.cpp:95 msgid "Listing files..." msgstr "ИÑпиÑујем датотеке..." #: ../src/Tar.cpp:134 msgid "Initializing..." msgstr "Покрећем..." #: ../src/Tar.cpp:138 #, c-format msgid "Error: Could not open tar file '%s' for bzip compression." msgstr "Грешка: Ðе могу да отворим тар датотеку „%s“ за бзип Ñажимање." #: ../src/Tar.cpp:160 msgid "Error: Could not initialize compression method! Will not generate a correct .dmod file. Quitting." msgstr "Грешка: Ðе могу да покренем начин Ñажимања! Ðећу Ñтворити иÑправну „.dmod“ датотеку. Излазим." #: ../src/Tar.cpp:193 #, c-format msgid "Error: File '%s' not found! Cannot archive file." msgstr "Грешка: Датотека „%s“ није пронађена! Ðе могу да архивирам датотеку." #. Close the output file. #: ../src/Tar.cpp:243 msgid "Closing..." msgstr "Затварам..." #: ../src/Tar.cpp:363 #, c-format msgid "Error: File '%s' not found! Cannot read data." msgstr "Грешка: Датотека „%s“ није пронађена! Ðе могу да прочитам податке." #. Nope. Exit. #: ../src/Tar.cpp:400 msgid "Error: This .dmod file has an invalid checksum! Cannot read file." msgstr "Грешка: Ова „.dmod“ датотека има неиÑправну Ñуму провере! Ðе могу да прочитам датотеку." #: ../src/Tar.cpp:484 #, c-format msgid "Error: File '%s' not found! Cannot extract data." msgstr "Грешка: Датотека „%s“ није пронађена! Ðе могу да извучем податке." #: ../src/Tar.cpp:494 #, c-format msgid "Error: Cannot create directory '%s'. Cannot extract data." msgstr "Грешка: Ðе могу да направим директоријум „%s“. Ðе могу да извучем податке." #: ../src/Tar.cpp:552 #, c-format msgid "Got bad file %d/%d. Skipping." msgstr "Добих лошу датотеку %d/%d. ПреÑкачем." #: ../src/Tar.cpp:574 #, c-format msgid "Error: Improperly archived file '%s'. Skipping." msgstr "Грешка: ÐеиÑправно архивирана датотека „%s“. ПреÑкачем." #: ../src/Tar.cpp:607 msgid "Done." msgstr "Урађено." #: ../src/DFArcFrame_Base.cpp:27 msgid "&Open D-Mod to Install" msgstr "&Отвори Д-мод за инÑталацију" #: ../src/DFArcFrame_Base.cpp:27 msgid "Select a D-Mod to install" msgstr "Изаберите Д-мод за инÑталацију" #: ../src/DFArcFrame_Base.cpp:28 msgid "&Download D-Mods" msgstr "&Преузми Д-модове" #: ../src/DFArcFrame_Base.cpp:28 msgid "Go to The Dink Network to download some D-Mods!" msgstr "Идите на Динк мрежу да преузмете неке Д-модове!" #: ../src/DFArcFrame_Base.cpp:30 msgid "E&xit" msgstr "&Изађи" #: ../src/DFArcFrame_Base.cpp:30 msgid "Exit DFArc" msgstr "Изађите из ДФÐрц-а" #: ../src/DFArcFrame_Base.cpp:31 msgid "&File" msgstr "&Датотека" #: ../src/DFArcFrame_Base.cpp:33 msgid "&Refresh D-Mod List" msgstr "&ОÑвежи Д-мод ÑпиÑак" #: ../src/DFArcFrame_Base.cpp:33 msgid "Refreshes the D-Mod list for any new additions" msgstr "ОÑвежите Д-мод ÑпиÑак за новим додацима" #: ../src/DFArcFrame_Base.cpp:34 msgid "&Browse Selected D-Mod Directory" msgstr "&Разгледај изабрани Д-мод директоријум" #: ../src/DFArcFrame_Base.cpp:34 msgid "Browse to the directory containing the current D-Mod" msgstr "Разгледајте директоријум који Ñадржи текући Д-мод" #: ../src/DFArcFrame_Base.cpp:35 msgid "&Uninstall Selected D-Mod" msgstr "&Уклони изабрани Д-мод" #: ../src/DFArcFrame_Base.cpp:35 msgid "Uninstalls the selected D-Mod" msgstr "Уклоните изабрани Д-мод" #: ../src/DFArcFrame_Base.cpp:37 msgid "&Options" msgstr "&Опције" #: ../src/DFArcFrame_Base.cpp:37 msgid "View or modify DFArc options" msgstr "Погледајте или измените опције ДФÐрц-а" #: ../src/DFArcFrame_Base.cpp:38 msgid "&Edit" msgstr "&Уређивање" #: ../src/DFArcFrame_Base.cpp:40 msgid "&Introduction" msgstr "&Увод" #: ../src/DFArcFrame_Base.cpp:40 msgid "A quick introduction to Dinking and D-Mods" msgstr "Брзи увод у Динкин и Д-модове" #: ../src/DFArcFrame_Base.cpp:41 msgid "&Walkthroughs and Guides" msgstr "&Преглед рада и водичи" #: ../src/DFArcFrame_Base.cpp:41 msgid "Stuck in a D-Mod? Check out The Dink Smallwood Solutions." msgstr "Запели Ñте у Д-моду? Проверите решења Динк шумарка." #: ../src/DFArcFrame_Base.cpp:42 msgid "&Forums" msgstr "&Форуми" #: ../src/DFArcFrame_Base.cpp:42 msgid "Ask a question on the forums, or see if someone had the same problem." msgstr "ПоÑтавите питање на форумима, или погледајте да ли још неко има иÑти проблем." #: ../src/DFArcFrame_Base.cpp:44 msgid "&About" msgstr "&О програму" #: ../src/DFArcFrame_Base.cpp:44 msgid "About DFArc" msgstr "О ДФÐрц-у" #: ../src/DFArcFrame_Base.cpp:45 msgid "&Help" msgstr "По&моћ" #: ../src/DFArcFrame_Base.cpp:50 msgid "Play" msgstr "Играј" #: ../src/DFArcFrame_Base.cpp:51 msgid "True Color" msgstr "Права боја" #: ../src/DFArcFrame_Base.cpp:52 msgid "Windowed" msgstr "Прозор" #: ../src/DFArcFrame_Base.cpp:53 msgid "Sound" msgstr "Звук" #: ../src/DFArcFrame_Base.cpp:54 msgid "Joystick" msgstr "ÐојÑтик" #: ../src/DFArcFrame_Base.cpp:55 msgid "Debug" msgstr "ИÑправљање грешака" #: ../src/DFArcFrame_Base.cpp:56 msgid "v1.07 mode" msgstr "в1.07 режим" #: ../src/DFArcFrame_Base.cpp:57 msgid "Edit" msgstr "Измени" #: ../src/DFArcFrame_Base.cpp:58 ../src/Package_Base.cpp:27 msgid "Package" msgstr "Пакет" #. begin wxGlade: DFArcFrame_Base::set_properties #: ../src/DFArcFrame_Base.cpp:73 msgid "DFArc v3" msgstr "ДФÐрц в3" #: ../src/DFArcFrame_Base.cpp:83 msgid "v1.07 compatibility mode, for D-Mods released before 2006" msgstr "в1.07 режим ÑаглаÑноÑти, за Д-модове издате пре 2006" #. begin wxGlade: InstallVerifyFrame_Base::InstallVerifyFrame_Base #: ../src/InstallVerifyFrame_Base.cpp:23 msgid "Preparing..." msgstr "Припремам..." #: ../src/InstallVerifyFrame_Base.cpp:25 msgid "Main Dink directory" msgstr "Главни Динк директоријум" #: ../src/InstallVerifyFrame_Base.cpp:26 ../src/Options_Base.cpp:29 msgid "Additional D-Mods directory" msgstr "Додатни директоријум Д-модова" #: ../src/InstallVerifyFrame_Base.cpp:28 msgid "Where do you want to install this D-Mod?" msgstr "Где желите да инÑталирате овај Д-мод?" #: ../src/InstallVerifyFrame_Base.cpp:29 msgid "Install" msgstr "ИнÑталирај" #. begin wxGlade: InstallVerifyFrame_Base::set_properties #: ../src/InstallVerifyFrame_Base.cpp:41 msgid "DFArc - Install D-Mod" msgstr "ДФÐрц — ИнÑталирај Д-мод" #. begin wxGlade: Options_Base::Options_Base #: ../src/Options_Base.cpp:23 msgid "Close DFArc on play" msgstr "Затвори ДФÐрц при игри" #: ../src/Options_Base.cpp:24 msgid "Show developer buttons" msgstr "Прикажи дугмад програмера" #: ../src/Options_Base.cpp:25 msgid "The engine updates dinksmallwood.ini on run (deprecated)" msgstr "Мотор ажурира „dinksmallwood.ini“ при покретању (заÑтарело)" #: ../src/Options_Base.cpp:26 msgid "Override the Dink Smallwood directory" msgstr "ПребриÑава директоријум Динк шумарка" #: ../src/Options_Base.cpp:28 ../src/Options_Base.cpp:31 msgid "Browse" msgstr "Разгледај" #: ../src/Options_Base.cpp:32 msgid "Game program name" msgstr "Ðазив програма игре" #: ../src/Options_Base.cpp:35 msgid "Editor program name" msgstr "Ðазив програма уређивача" #: ../src/Options_Base.cpp:38 msgid "Preferred file browser" msgstr "Омиљен прегледач датотека" #: ../src/Options_Base.cpp:40 msgid "" "DFArc language\n" "(restart DFArc to apply)" msgstr "" "Језик ДФÐрц-а\n" "(поново га покрените да примените)" #. begin wxGlade: Options_Base::set_properties #: ../src/Options_Base.cpp:56 msgid "DFArc - Options" msgstr "ДФÐрц — Опције" #. begin wxGlade: Package_Base::Package_Base #: ../src/Package_Base.cpp:23 msgid "Identifier" msgstr "Идентификатор" #: ../src/Package_Base.cpp:24 #, c-format msgid "" "Note: Unless you're making a D-Mod, you shouldn't be around here.\n" "This is for creating a .dmod file for a D-Mod you made.\n" "\n" "Will package '%s' located at\n" "%s" msgstr "" "Ðапомена: ОÑим ако не Ñтварате Д-мод, не биÑте требали да Ñе мувате овуда.\n" "Ово је за Ñтварање „.dmod“ датотеке за Д-мод који Ñте направили.\n" "\n" "Запаковаћу „%s“ пронађен на\n" "%s" #: ../src/Package_Base.cpp:25 msgid "D-Mod filename (8 letters/numbers)" msgstr "Ðазив датотеке Д-мода (8 Ñлова/бројева)" #. begin wxGlade: Package_Base::set_properties #: ../src/Package_Base.cpp:39 msgid "DFArc - Package" msgstr "ДФÐрц — Пакет" #: ../share/freedink-dfarc.desktop.in.h:1 msgid "DFArc - Dink frontend" msgstr "ДФÐрц — Динкв челник" #: ../share/freedink-dfarc.desktop.in.h:2 msgid "Run, edit, install, remove and package D-Mods (Dink Modules)" msgstr "Покрените, уредите, инÑталирајте, уклоните и запакујте Д-модове (Динкове модуле)" #: ../share/freedink-mime.xml.in.h:1 msgid "Packaged D-Mod" msgstr "Запакован Д-мод" #~ msgid "ERROR" #~ msgstr "ГРЕШКÐ" dfarc-3.12/po/eo.po0000664000175000017510000004576212401342645011042 00000000000000# Esperanto translation # Copyright (C) 2011, 2014 Free Software Foundation, Inc. # This file is distributed under the same license as the dfarc package. # Felipe Castro , 2011, 2014. # msgid "" msgstr "" "Project-Id-Version: dfarc 3.11-pre1\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-09-01 20:58+0200\n" "PO-Revision-Date: 2014-09-02 10:19-0300\n" "Last-Translator: Felipe Castro \n" "Language-Team: Esperanto \n" "Language: eo\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Poedit 1.5.4\n" #: ../src/BZip.cpp:303 #, c-format msgid "Error: Could not open input file '%s' for bzip decompression." msgstr "Eraro: ne eblis malfermi la enig-dosieron '%s' por malkompaktigo bzip." #: ../src/BZip.cpp:318 msgid "Error: Invalid .dmod file selected!" msgstr "Eraro: Malvalida dosiero .dmod elektite!" #: ../src/BZip.cpp:328 #, c-format msgid "Error: Could not write to '%s'." msgstr "Eraro: ne eblis skribi al '%s'." #: ../src/BZip.cpp:360 msgid "Invalid .dmod file specified." msgstr "Malvalida dosiero .dmod indikita." #: ../src/BZip.cpp:364 msgid "Critical program function error: opened for write." msgstr "Serioza program-funkcia eraro: malfermite por skribo." #: ../src/BZip.cpp:368 msgid "Could not read .dmod file." msgstr "Ne eblis legi dosieron .dmod." #: ../src/BZip.cpp:372 msgid "Incomplete .dmod file. Please download it again." msgstr "Malkompleta dosiero .dmod. Bonvolu elÅuti Äin refoje." #: ../src/BZip.cpp:376 msgid "The .dmod file is corrupted. Please download it again." msgstr "La dosiero .dmod estas rompita. Bonvolu elÅuti Äin refoje." #: ../src/BZip.cpp:380 msgid "The file is not a valid .dmod file." msgstr "La dosiero ne estas valida .dmod." #: ../src/BZip.cpp:384 msgid "Out of memory error." msgstr "Eraro pri manko de memoro." #: ../src/BZip.cpp:388 msgid "An unhandled error occured." msgstr "Netraktebla eraro okazis." #: ../src/Config.cpp:202 msgid "Error: dinksmallwood.ini not found. Please run the main game and try running this program again." msgstr "Eraro: dinksmallwood.ini ne trovite. Bonvolu lanĉi la ĉefan ludon kaj provu lanĉi tiun ĉi programon refoje." #: ../src/Config.cpp:210 msgid "Error opening dinksmallwood.ini" msgstr "Eraro dum malfermo de dinksmallwood.ini" #: ../src/DFArcFrame.cpp:174 #, c-format msgid "" "DFArc version %s\n" "Copyright (C) 2004 Andrew Reading (merlin)\n" "Copyright (C) 2005, 2006 Dan Walma (redink1)\n" "Copyright (C) 2008-2014 Sylvain Beucler (Beuc)\n" "Build Date: %s\n" "Powered by bzip2 (bzip.org) and wxWidgets (wxwidgets.org)" msgstr "" "DFArc versio %s\n" "Kopirajto (C) 2004 Andrew Reading (merlin)\n" "Kopirajto (C) 2005, 2006 Dan Walma (redink1)\n" "Kopirajto (C) 2008-2014 Sylvain Beucler (Beuc)\n" "Kompila Dato: %s\n" "Povigita de bzip2 (bzip.org) kaj wxWidgets (wxwidgets.org)" #: ../src/DFArcFrame.cpp:181 msgid "About DFArc v3" msgstr "Pri DFArc v3" #. Default logo (currently all black with a question mark) #. TRANSLATORS: please make this SHORT, possibly rephrasing as "< #. Choose!". This is included in the 160x120px logo box in the main #. window and it doesn't word-wrap. #: ../src/DFArcFrame.cpp:253 msgid "< Pick a D-Mod" msgstr "< Elektu D-Mod" #: ../src/DFArcFrame.cpp:318 msgid "No translations" msgstr "Neniu traduko" #. Not displaying the default language explicitely, because it #. makes the user think that a translation is always available. #. mGameLocaleList->Insert(wxString(_("Default language")) + wxT(" (") + cur_locale_name + wxT(")"), 0); #: ../src/DFArcFrame.cpp:325 ../src/Options.cpp:118 msgid "Don't translate" msgstr "Ne traduki" #: ../src/DFArcFrame.cpp:348 msgid "D-Mod files (*.dmod)" msgstr "Dosieroj D-Mod (*.dmod)" #: ../src/DFArcFrame.cpp:349 msgid "Select a .dmod file" msgstr "Elektu dosieron .dmod" #: ../src/DFArcFrame.cpp:544 #, c-format msgid "The '%s' locale is not installed on your computer (locales tells the computer how to manage a language). You need to install it - check your system documentation." msgstr "La lokaĵaro '%s' ne estas instalita en via komputilo (lokaĵaroj diras al la komputilo kiel trakti lingvojn). Vi bezonas instali Äin - kontrolu vian sistem-dokumentadon." #: ../src/DFArcFrame.cpp:547 ../src/DFArcFrame.cpp:625 msgid "Warning" msgstr "Averto" #: ../src/DFArcFrame.cpp:587 #, c-format msgid "Dink Smallwood failed! Error code %d." msgstr "Dink Smallwood malsukcesis! Erar-kodo %d." #: ../src/DFArcFrame.cpp:589 ../src/DFArcFrame.cpp:594 #: ../src/DFArcFrame.cpp:655 ../src/DFArcFrame.cpp:657 #: ../src/DFArcFrame.cpp:700 ../src/DFArcFrame.cpp:709 msgid "Error" msgstr "Eraro" #: ../src/DFArcFrame.cpp:591 #, c-format msgid "Dink Smallwood ('%s') was not found on your computer. Please configure the Dink program name in the Options menu." msgstr "Dink Smallwood ('%s') ne estis trovata en via komputilo. Bonvolu agordi la program-nomon Dink en la menuo Elektebloj." #: ../src/DFArcFrame.cpp:622 msgid "Dinkedit saves all changes automatically. Altering maps can ruin the game. Are you sure you want to continue?" msgstr "Dinkedit konservas ĉiujn modifojn aÅ­tomate. Modifo de mapoj povas pereigi la ludon. Ĉu vi certas ke vi volas daÅ­rigi?" #: ../src/DFArcFrame.cpp:652 #, c-format msgid "The editor ('%s') was not found on your computer. Please configure the editor program name in the Options menu." msgstr "La redaktilo ('%s') ne estis trovata en via komputilo. Bonvolu agordi la redaktilan program-nomon en la menuo Elektebloj." #: ../src/DFArcFrame.cpp:657 msgid "Error while running the editor" msgstr "Eraro dum lanĉado de la redaktilo" #. FreeDesktop #. Gnome #. KDE #. Xfce #: ../src/DFArcFrame.cpp:698 msgid "Could not find a file manager (tried 'xdg-open', 'nautilus', 'konqueror' and 'thunar')" msgstr "Ni ne povis trovi dosier-administrilon (ni provis 'xdg-open', 'nautilus', 'konqueror' kaj 'thunar')" #: ../src/DFArcFrame.cpp:706 #, c-format msgid "Cannot start '%s', please check your configuration in the Options window." msgstr "Ni ne povas ekigi '%s', bonvolu kontroli vian agordon en la fenestro Elektebloj." #: ../src/DFArcFrame.cpp:716 msgid "" "Welcome to DFArc, the Dink Smallwood front end!\n" "\n" "You can choose to play the original game (Dink Smallwood) or Dink-Modules (D-Mods) which contain new adventures.\n" "\n" "After completing the main game, give some D-Mods a try.\n" "There are hundreds of them, just click File-Download D-Mods." msgstr "" "Bonvenon al DFArc, la fasado de Dink Smallwood!\n" "\n" "Vi povas elekti ludi la originalan ludon (Dink Smallwood) aÅ­ Dink-Moduloj (D-Mod) kiuj enhavas novajn aventurojn.\n" "\n" "Post plenumigi la ĉefan ludon, provu kelkajn D-Mod.\n" "Ekzistas centojn da ili, simple musklaku Dosiero-ElÅuti D-Mod." #: ../src/DFArcFrame.cpp:723 msgid "Introduction" msgstr "Enkonduko" #. If there's no directory, let's not override #: ../src/DFArcFrame.cpp:866 msgid "Cannot use the overridden Dink Smallwood directory - ignoring it. (permission problem?)" msgstr "Ne eblas uzi anstataÅ­igitan dosierujon Dink Smallwood - ni preterpasas Äin. (ĉu problemo pri rajto?)" #: ../src/DFArcFrame.cpp:868 ../src/DFArcFrame.cpp:876 msgid "Configuration error" msgstr "Agord-eraro" #. If there's no directory, let's not override #: ../src/DFArcFrame.cpp:875 msgid "The Dink Smallwood directory you entered does not exist - ignoring it." msgstr "La dosierujo Dink Smallwood kiun vi enmetis ne ekzistas - ni preterpasas Äin." #: ../src/DFArcFrame.cpp:890 msgid "You must select the uninstall option from the start menu to uninstall the main game." msgstr "Vi devas elekti la eron 'malinstali' el la sistem-ekmenuo por malinstali la ĉefan ludon." #: ../src/DFArcFrame.cpp:891 msgid "Uninstall - Error" msgstr "Malinstali - Eraro" #: ../src/DFArcFrame.cpp:896 msgid "Do you want to remove all save game files?" msgstr "Ĉu vi volas forviÅi ĉiujn dosierojn de konservitaj ludoj?" #: ../src/DFArcFrame.cpp:897 msgid "Uninstall - Save Game Files" msgstr "Malinstali - Konservi Ludo-Dosierojn" #: ../src/DFArcFrame.cpp:919 msgid "Unable to remove D-Mod directory. All other files were removed." msgstr "Ne eblas forviÅi la dosierujon D-Mod. Ĉiuj aliaj dosieroj estis forviÅataj." #: ../src/DFArcFrame.cpp:925 msgid "D-Mod successfully uninstalled" msgstr "D-Mod sukcese malinstalita" #: ../src/DFArcFrame.cpp:926 msgid "Uninstall - Success" msgstr "Malinstali - Sukcese" #: ../src/InstallVerifyFrame.cpp:56 msgid "Preparing" msgstr "Preparanta" #: ../src/InstallVerifyFrame.cpp:57 msgid "The D-Mod archive is being decompressed in a temporary file." msgstr "La arkivo D-Mod estas malkompaktata en provizora dosiero." #: ../src/InstallVerifyFrame.cpp:81 #, c-format msgid "" "No Description Available.\n" "\n" "The D-Mod will be installed in subdirectory '%s'." msgstr "" "Neniu Priskribo Disponeblas.\n" "\n" " La D-Mod estos instalata en subdosierujo '%s'." #: ../src/InstallVerifyFrame.cpp:94 msgid "DFArc - Install D-Mod - " msgstr "DFArc - Instali D-Mod - " #: ../src/InstallVerifyFrame.cpp:143 msgid "DFArc - Installing" msgstr "DFArc - Instalanta" #: ../src/InstallVerifyFrame.cpp:157 msgid "The D-Mod you selected" msgstr "La D-Mod kiun vi elektis" #: ../src/InstallVerifyFrame.cpp:159 msgid " was successfully installed." msgstr " estis plenplene instalata." #: ../src/InstallVerifyFrame.cpp:160 ../src/Package.cpp:167 msgid "Success" msgstr "Sukcese" #: ../src/InstallVerifyFrame.cpp:169 msgid "An error occured while extracting the .dmod file." msgstr "Eraro okzazis dum eltirado de dosiero .dmod." #: ../src/Options.cpp:113 msgid "System language" msgstr "Sistem-lingvo" #: ../src/Options.cpp:136 msgid "Custom" msgstr "Propre" #: ../src/Options.cpp:175 msgid "Choose the Dink Smallwood install directory" msgstr "Elektu la instal-dosierujon Dink Smallwood" #: ../src/Options.cpp:183 msgid "Choose a folder containing D-Mods" msgstr "Elektu dosieron enhavantan D-Mod" #: ../src/Package.cpp:123 msgid "You must provide an identifier filename." msgstr "Vi devas provizi identigilan dosiernomon." #: ../src/Package.cpp:139 msgid "Packaging" msgstr "Enpakiganta" #: ../src/Package.cpp:139 msgid "The D-Mod is being packaged." msgstr "La D-Mod estas enpakigata." #. Success dialog #: ../src/Package.cpp:165 #, c-format msgid "%s was successfully packaged (compression ratio %2.1f : 1)." msgstr "%s estis sukcese enpakigata (kompaktiga frakcio %2.1f : 1)." #: ../src/Package.cpp:172 msgid "Packaging aborted - removing partial .dmod file." msgstr "Enpakigo ĉesigis - ni forviÅas malkompletan dosieron .dmod." #: ../src/Package.cpp:173 msgid "Abort" msgstr "Ĉesigi" #: ../src/RecursiveDelete.cpp:55 ../src/RecursiveDelete.cpp:73 #, c-format msgid "Could not remove %s" msgstr "Ni ne povis forviÅi %s" #: ../src/Tar.cpp:95 msgid "Listing files..." msgstr "Listigo de dosieroj..." #: ../src/Tar.cpp:134 msgid "Initializing..." msgstr "Ekiganta..." #: ../src/Tar.cpp:138 #, c-format msgid "Error: Could not open tar file '%s' for bzip compression." msgstr "Eraro: Ni ne povis malfermi tar-dosieron '%s' por kompaktigo bzip." #: ../src/Tar.cpp:160 msgid "Error: Could not initialize compression method! Will not generate a correct .dmod file. Quitting." msgstr "Eraro: Ni ne povis ekigi kompaktigan metodon! Ni ne generos korektan dosieron .dmod. Ni ĉesigas." #: ../src/Tar.cpp:193 #, c-format msgid "Error: File '%s' not found! Cannot archive file." msgstr "Eraro: Dosiero '%s' ne trovite! Ni ne povas arkivi la dosieron." #. Close the output file. #: ../src/Tar.cpp:243 msgid "Closing..." msgstr "Fermanta..." #: ../src/Tar.cpp:363 #, c-format msgid "Error: File '%s' not found! Cannot read data." msgstr "Eraro: Dosiero '%s' ne trovite! Ni ne povas legi la datumaron." #. Nope. Exit. #: ../src/Tar.cpp:400 msgid "Error: This .dmod file has an invalid checksum! Cannot read file." msgstr "Eraro: Tiu ĉi dosiero .dmod havas malvalidan kontrol-sumon! Ni ne povas legi la dosieron." #: ../src/Tar.cpp:484 #, c-format msgid "Error: File '%s' not found! Cannot extract data." msgstr "Eraro: Dosiero '%s' ne trovite! Ni ne povas eltiri la datumaron." #: ../src/Tar.cpp:494 #, c-format msgid "Error: Cannot create directory '%s'. Cannot extract data." msgstr "Eraro: Ni ne povas krei la dosierujon '%s'. Ni ne povas eltiri la datumaron." #: ../src/Tar.cpp:552 #, c-format msgid "Got bad file %d/%d. Skipping." msgstr "Ni prenis malÄustan dosieron %d/%d. Ni preterpasas." #: ../src/Tar.cpp:574 #, c-format msgid "Error: Improperly archived file '%s'. Skipping." msgstr "Eraro: Malkorekte arkivita dosiero '%s'. Ni preterpasas." #: ../src/Tar.cpp:607 msgid "Done." msgstr "Farite." #: ../src/DFArcFrame_Base.cpp:27 msgid "&Open D-Mod to Install" msgstr "Malfermi D-Mod por &Instali" #: ../src/DFArcFrame_Base.cpp:27 msgid "Select a D-Mod to install" msgstr "Elekti D-Mod por instali" #: ../src/DFArcFrame_Base.cpp:28 msgid "&Download D-Mods" msgstr "&ElÅuti D-Mod" #: ../src/DFArcFrame_Base.cpp:28 msgid "Go to The Dink Network to download some D-Mods!" msgstr "Iri al la Dink-Reto por elÅuti kelkajn D-Mod!" #: ../src/DFArcFrame_Base.cpp:30 msgid "E&xit" msgstr "E&liri" #: ../src/DFArcFrame_Base.cpp:30 msgid "Exit DFArc" msgstr "Eliri DFarc" #: ../src/DFArcFrame_Base.cpp:31 msgid "&File" msgstr "&Dosiero" #: ../src/DFArcFrame_Base.cpp:33 msgid "&Refresh D-Mod List" msgstr "Äœisdati&gi Liston D-Mod" #: ../src/DFArcFrame_Base.cpp:33 msgid "Refreshes the D-Mod list for any new additions" msgstr "Äœisdatigas la liston D-Mod kun iu ajn nova aldono" #: ../src/DFArcFrame_Base.cpp:34 msgid "&Browse Selected D-Mod Directory" msgstr "E&splori Elektitan Dosierujon D-Mod" #: ../src/DFArcFrame_Base.cpp:34 msgid "Browse to the directory containing the current D-Mod" msgstr "Esplori la dosierujon, kiu enhavas la rulantan D-Mod" #: ../src/DFArcFrame_Base.cpp:35 msgid "&Uninstall Selected D-Mod" msgstr "&Malinstali Elektitan D-Mod" #: ../src/DFArcFrame_Base.cpp:35 msgid "Uninstalls the selected D-Mod" msgstr "Malinstalas la elektitan D-Mod" #: ../src/DFArcFrame_Base.cpp:37 msgid "&Options" msgstr "Elektebl&oj" #: ../src/DFArcFrame_Base.cpp:37 msgid "View or modify DFArc options" msgstr "Rigardi kaj modifi elektebloj de DFarc" #: ../src/DFArcFrame_Base.cpp:38 msgid "&Edit" msgstr "R&edakti" #: ../src/DFArcFrame_Base.cpp:40 msgid "&Introduction" msgstr "En&konduko" #: ../src/DFArcFrame_Base.cpp:40 msgid "A quick introduction to Dinking and D-Mods" msgstr "Rapida enkonduko al 'Dink-umado' kaj D-Mod" #: ../src/DFArcFrame_Base.cpp:41 msgid "&Walkthroughs and Guides" msgstr "Klarigadoj kaj &Gvidiloj" #: ../src/DFArcFrame_Base.cpp:41 msgid "Stuck in a D-Mod? Check out The Dink Smallwood Solutions." msgstr "Ĉu senmova en D-Mod? Kontrolu 'The Dink Smallwood Solutions'." #: ../src/DFArcFrame_Base.cpp:42 msgid "&Forums" msgstr "&Forumoj" #: ../src/DFArcFrame_Base.cpp:42 msgid "Ask a question on the forums, or see if someone had the same problem." msgstr "Faru demandon en la forumoj, aŭ kontrolu ĉu iu alia alfrontis la saman problemon." #: ../src/DFArcFrame_Base.cpp:44 msgid "&About" msgstr "&Pri" #: ../src/DFArcFrame_Base.cpp:44 msgid "About DFArc" msgstr "Pri DFArc" #: ../src/DFArcFrame_Base.cpp:45 msgid "&Help" msgstr "&Helpo" #: ../src/DFArcFrame_Base.cpp:50 msgid "Play" msgstr "Ludi" #: ../src/DFArcFrame_Base.cpp:51 msgid "True Color" msgstr "Reala Koloro" #: ../src/DFArcFrame_Base.cpp:52 msgid "Windowed" msgstr "Fenestre" #: ../src/DFArcFrame_Base.cpp:53 msgid "Sound" msgstr "Sono" #: ../src/DFArcFrame_Base.cpp:54 msgid "Joystick" msgstr "Stirstango" #: ../src/DFArcFrame_Base.cpp:55 msgid "Debug" msgstr "Rafinigo" #: ../src/DFArcFrame_Base.cpp:56 msgid "v1.07 mode" msgstr "ReÄimo v1.07" #: ../src/DFArcFrame_Base.cpp:57 msgid "Edit" msgstr "Redakti" #: ../src/DFArcFrame_Base.cpp:58 ../src/Package_Base.cpp:27 msgid "Package" msgstr "Pako" #. begin wxGlade: DFArcFrame_Base::set_properties #: ../src/DFArcFrame_Base.cpp:73 msgid "DFArc v3" msgstr "DFArc v3" #: ../src/DFArcFrame_Base.cpp:83 msgid "v1.07 compatibility mode, for D-Mods released before 2006" msgstr "Kongrueca reÄimo v1.07, por D-Mod eldonitaj antaŭ ol 2006" #. begin wxGlade: InstallVerifyFrame_Base::InstallVerifyFrame_Base #: ../src/InstallVerifyFrame_Base.cpp:23 msgid "Preparing..." msgstr "Preparanta..." #: ../src/InstallVerifyFrame_Base.cpp:25 msgid "Main Dink directory" msgstr "Ĉefa dosierujo Dink" #: ../src/InstallVerifyFrame_Base.cpp:26 ../src/Options_Base.cpp:29 msgid "Additional D-Mods directory" msgstr "Dosierujo por aldonaj D-Mod" #: ../src/InstallVerifyFrame_Base.cpp:28 msgid "Where do you want to install this D-Mod?" msgstr "Kie vi volas instali tiun ĉi D-Mod?" #: ../src/InstallVerifyFrame_Base.cpp:29 msgid "Install" msgstr "Instali" #. begin wxGlade: InstallVerifyFrame_Base::set_properties #: ../src/InstallVerifyFrame_Base.cpp:41 msgid "DFArc - Install D-Mod" msgstr "DFArc - Instali D-Mod" #. begin wxGlade: Options_Base::Options_Base #: ../src/Options_Base.cpp:23 msgid "Close DFArc on play" msgstr "Fermi DFarc dum ludado" #: ../src/Options_Base.cpp:24 msgid "Show developer buttons" msgstr "Montri porprogramistajn butonojn" #: ../src/Options_Base.cpp:25 msgid "The engine updates dinksmallwood.ini on run (deprecated)" msgstr "La maÅino Äisdatigas dinksmallwood.ini dum funkciado (malkonsilinde)" #: ../src/Options_Base.cpp:26 msgid "Override the Dink Smallwood directory" msgstr "Surskribi la dosierujon Dink Smallwood" #: ../src/Options_Base.cpp:28 ../src/Options_Base.cpp:31 msgid "Browse" msgstr "Esplori" #: ../src/Options_Base.cpp:32 msgid "Game program name" msgstr "Nomo de lud-programo" #: ../src/Options_Base.cpp:35 msgid "Editor program name" msgstr "Nomo de redakto-programo" #: ../src/Options_Base.cpp:38 msgid "Preferred file browser" msgstr "Prefrata dosier-esplorilo" #: ../src/Options_Base.cpp:40 msgid "" "DFArc language\n" "(restart DFArc to apply)" msgstr "" "DFArc lingvo\n" "(rekomencigu DFArc por efiki)" #. begin wxGlade: Options_Base::set_properties #: ../src/Options_Base.cpp:56 msgid "DFArc - Options" msgstr "DFArc - Elektebloj" #. begin wxGlade: Package_Base::Package_Base #: ../src/Package_Base.cpp:23 msgid "Identifier" msgstr "Identigilo" #: ../src/Package_Base.cpp:24 #, c-format msgid "" "Note: Unless you're making a D-Mod, you shouldn't be around here.\n" "This is for creating a .dmod file for a D-Mod you made.\n" "\n" "Will package '%s' located at\n" "%s" msgstr "" "Rimarko: malkondiĉe ke vi verkas D-Mod, vi ne devus esti ĉirkaÅ­e ĉi tie.\n" "Tio ĉi estas por krei dosieron .dmod, por iu D-Mod kiun vi faris.\n" "\n" "Pako '%s' estos lokata ĉe\n" "%s" #: ../src/Package_Base.cpp:25 msgid "D-Mod filename (8 letters/numbers)" msgstr "Dosiernomo D-Mod (8 literoj/ciferoj)" #. begin wxGlade: Package_Base::set_properties #: ../src/Package_Base.cpp:39 msgid "DFArc - Package" msgstr "DFArc - Pako" #: ../share/freedink-dfarc.desktop.in.h:1 msgid "DFArc - Dink frontend" msgstr "DFArc - fasado de Dink" #: ../share/freedink-dfarc.desktop.in.h:2 msgid "Run, edit, install, remove and package D-Mods (Dink Modules)" msgstr "Lanĉi, redakti, installi, forigi kaj enpakigi D-Mod (Modulojn Dink)" #: ../share/freedink-mime.xml.in.h:1 msgid "Packaged D-Mod" msgstr "Enpakigita D-Mod" #~ msgid "ERROR" #~ msgstr "ERARO" dfarc-3.12/po/mk.po0000664000175000017510000005305211351660550011036 00000000000000# Macedonian translations for dfarc package # Copyright (C) 2008, 2009 Free Software Foundation, Inc. # Sylvain Beucler , 2008, 2009. msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-01-06 23:31+0100\n" "PO-Revision-Date: \n" "Last-Translator: Дамјан ДимитриоÑки \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-Language: Macedonian\n" "X-Poedit-Country: MACEDONIA\n" "X-Poedit-SourceCharset: utf-8\n" #: ../src/BZip.cpp:300 #, c-format msgid "Error: Could not open input file '%s' for bzip decompression." msgstr "Грешка: Ðе уÑпеав да ја декомпреÑирам bzip датотеката '%s'" #: ../src/BZip.cpp:315 msgid "Error: Invalid .dmod file selected!" msgstr "Грешка: Одбрана е невалидна .dmod датотека!" #: ../src/BZip.cpp:325 #, c-format msgid "Error: Could not write to '%s'." msgstr "Грешка: Ðе можам да запишам во '%s'." #: ../src/BZip.cpp:357 msgid "Invalid .dmod file specified." msgstr "Избрана е невалидна .dmod датотека!" #: ../src/BZip.cpp:361 msgid "Critical program function error: opened for write." msgstr "Критична грешка во програмÑката функција: отворив за пишување." #: ../src/BZip.cpp:365 msgid "Could not read .dmod file." msgstr "Ðе можам да ја прочитам .dmod датотека!" #: ../src/BZip.cpp:369 msgid "Incomplete .dmod file. Please download it again." msgstr "ÐецелоÑна .dmod датотека. Ве молам Ñимнете ја повторно." #: ../src/BZip.cpp:373 msgid "The .dmod file is corrupted. Please download it again." msgstr "Датотека .dmod е коруптирана. Ве молам Ñимнете ја повторно." #: ../src/BZip.cpp:377 msgid "The file is not a valid .dmod file." msgstr "Датотеката е невалидна .dmod датотека." #: ../src/BZip.cpp:381 msgid "Out of memory error." msgstr "ОÑтанав без меморија." #: ../src/BZip.cpp:385 msgid "An unhandled error occured." msgstr "Се појави недоÑтапна грешка " #: ../src/Config.cpp:213 msgid "" "Error: dinksmallwood.ini not found. Please run the main game and try running " "this program again." msgstr "" "Грешка: dinksmallwood.ini не е најден. Ве молиме пре-Ñтартирајте ја играва." #: ../src/Config.cpp:221 msgid "Error opening dinksmallwood.ini" msgstr "Грешка во отворањето на dinksmallwood.ini" #: ../src/DFArcFrame.cpp:129 #, fuzzy, c-format msgid "" "DFArc version %s\n" "Copyright (C) 2004 Andrew Reading (merlin)\n" "Copyright (C) 2005, 2006 Dan Walma (redink1)\n" "Copyright (C) 2008, 2009, 2010 Sylvain Beucler (Beuc)\n" "Build Date: %s\n" "Powered by bzip2 (http://www.bzip.org) and wxWidgets (http://www.wxwidgets." "org)" msgstr "" "DFArc верзија %s\n" "Copyright (C) 2004 Andrew Reading (merlin)\n" "Copyright (C) 2005, 2006 Dan Walma (redink1)\n" "Copyright (C) 2008 Sylvain Beucler (Beuc)\n" "Датум на компајлирање: %s\n" "Поддржано од bzip2 (http://www.bzip.org) и wxWidgets (http://www.wxwidgets." "org)\"" #: ../src/DFArcFrame.cpp:136 msgid "About DFArc v3" msgstr "За DFArc v3" #. Default logo (currently all black with a question mark) #. TRANSLATORS: please make this SHORT, possibly rephrasing as "< #. Choose!". This is included in the 160x120px logo box in the main #. window and it doesn't word-wrap. #: ../src/DFArcFrame.cpp:197 msgid "< Pick a D-Mod" msgstr "Одбери D-Mod" #: ../src/DFArcFrame.cpp:263 msgid "D-Mod files (*.dmod)" msgstr "D-Mod датотеки (*.dmod)" #: ../src/DFArcFrame.cpp:264 msgid "Select a .dmod file" msgstr "Избери .dmod датотека" #: ../src/DFArcFrame.cpp:389 ../src/DFArcFrame.cpp:406 #, c-format msgid "Dink Smallwood failed! Error code %d." msgstr "Dink Smallwood не уÑпеа! Кодна грешки %d." #: ../src/DFArcFrame.cpp:391 ../src/DFArcFrame.cpp:408 #: ../src/DFArcFrame.cpp:420 ../src/DFArcFrame.cpp:453 #: ../src/DFArcFrame.cpp:455 ../src/DFArcFrame.cpp:498 #: ../src/DFArcFrame.cpp:507 msgid "Error" msgstr "Грешка" #: ../src/DFArcFrame.cpp:417 #, c-format msgid "" "Dink Smallwood ('%s') was not found on your computer. Please configure the " "Dink program name in the Options menu." msgstr "" "Dink Smallwood ('%s') не е пронајден на вашата машина. Ве молиме Ñтавете го " "целоÑниот пат до програмата во Опции менито." #: ../src/DFArcFrame.cpp:427 msgid "" "Dinkedit saves all changes automatically. Altering maps can ruin the game. " "Are you sure you want to continue?" msgstr "" "Dinkedit Ñи Ñнима автоматÑки. Со измена на поÑтоечки мапи може да изгуби " "Ñнимената игра. Дали Ñте Ñигурни дека Ñакате да продолжите?" #: ../src/DFArcFrame.cpp:430 msgid "Warning" msgstr "Внимание" #: ../src/DFArcFrame.cpp:450 #, c-format msgid "" "The editor ('%s') was not found on your computer. Please configure the " "editor program name in the Options menu." msgstr "" "Уредникот ('%s') не беше пронајден на вашата машина. Ве молиме Ñтавете го " "целоÑниот пат до програмата во Опции менито." #: ../src/DFArcFrame.cpp:455 msgid "Error while running the editor" msgstr "Грешка додека Ñе вклучи уредникот" #. FreeDesktop #. Gnome #. KDE #. Xfce #: ../src/DFArcFrame.cpp:496 msgid "" "Could not find a file manager (tried 'xdg-open', 'nautilus', 'konqueror' and " "'thunar')" msgstr "" "Ðе уÑпеав да најдам Управувач на датотеки (пробав 'xdg-open', 'nautilus', " "'konqueror' и 'thunar')" #: ../src/DFArcFrame.cpp:504 #, c-format msgid "" "Cannot start '%s', please check your configuration in the Options window." msgstr "" "Ðеможам да Ñтартувам '%s', Ве молам проверете ја конфигурацијата преку Опции " "прозорецот." #: ../src/DFArcFrame.cpp:514 #, fuzzy msgid "" "Welcome to DFArc, the Dink Smallwood front end!\n" "\n" "You can choose to play the original game (Dink Smallwood) or Dink-Modules (D-" "Mods) which contain new adventures.\n" "\n" "After completing the main game, give some D-Mods a try.\n" "There are hundreds of them, just click File-Download D-Mods." msgstr "" "Добредојдовте во DFArc, Dink Smallwood -та наÑловна!\n" "\n" "Можете да го изберете оригиналното дело , Dink Smallwood, или Dink-Modules " "(D-Mods) кои Ñодржат нови авантури. ПоÑле иÑполнување на целата игра, " "иÑпробајте Ñе на D-Mod (МиÑтериозен ОÑтров).\n" "\n" "ПоÑтојат Ñтотици Ñлободни D-Mods-а, Ñамо кликнете Датотека-Симни D-Mods-а." #: ../src/DFArcFrame.cpp:521 msgid "Introduction" msgstr "Вовед" #. If there's no directory, let's not override #: ../src/DFArcFrame.cpp:612 msgid "" "Cannot use the overriden Dink Smallwood directory - ignoring it. (permission " "problem?)" msgstr "" "Ðе можам да ја кориÑтам Ñугерираниот Dink Smallwood директориум - го " "игнорирам. (проблеми Ñо дозволите?)" #: ../src/DFArcFrame.cpp:614 ../src/DFArcFrame.cpp:622 msgid "Configuration error" msgstr "Грешка Ñо конфигурацијата" #. If there's no directory, let's not override #: ../src/DFArcFrame.cpp:621 msgid "The Dink Smallwood directory you entered does not exist - ignoring it." msgstr "Директориумот Dink Smallwood не поÑтои - го игнорирам." #: ../src/DFArcFrame.cpp:636 msgid "" "You must select the uninstall option from the start menu to uninstall the " "main game." msgstr "" "Морате да ја изберете од инÑталирај опција од почетното мени, за да ја " "избришете главната игра." #: ../src/DFArcFrame.cpp:637 msgid "Uninstall - Error" msgstr "Од инÑталирање - Грешка" #: ../src/DFArcFrame.cpp:642 msgid "Do you want to remove all save game files?" msgstr "Дали Ñакате да ги избришете Ñите Ñнимени игри?" #: ../src/DFArcFrame.cpp:643 msgid "Uninstall - Save Game Files" msgstr "Од инÑталирање - Зачувај ги Ñнимените игри" #: ../src/DFArcFrame.cpp:665 msgid "Unable to remove D-Mod directory. All other files were removed." msgstr "" "Ðе можам да го избришам директориумот D-Mod. Сите други датотеки Ñе " "избришани." #: ../src/DFArcFrame.cpp:671 msgid "D-Mod successfully uninstalled" msgstr "Од инÑталирњето на D-Mod е уÑпешно" #: ../src/DFArcFrame.cpp:672 msgid "Uninstall - Success" msgstr "Од инÑталирање - УÑпешно" #: ../src/InstallVerifyFrame.cpp:56 msgid "Preparing" msgstr "Се подготвувам" #: ../src/InstallVerifyFrame.cpp:57 msgid "The D-Mod archive is being decompressed in a temporary file." msgstr "Ðрхивата на D-Mod Ñе откомпреÑираше во привремена датотека." #: ../src/InstallVerifyFrame.cpp:81 #, c-format msgid "" "No Description Available.\n" "\n" "The D-Mod will be installed in subdirectory '%s'." msgstr "" "Без опиÑ.\n" "\n" "Ќе го инÑталирам D-Mod под директориумот '%s'." #: ../src/InstallVerifyFrame.cpp:94 msgid "DFArc - Install D-Mod - " msgstr "\"DFArc - ИнÑталирај D-Mod - \"" #: ../src/InstallVerifyFrame.cpp:143 msgid "DFArc - Installing" msgstr "DFArc - ИнÑталирам" #: ../src/InstallVerifyFrame.cpp:157 msgid "The D-Mod you selected" msgstr "Избраниот D-Mod" #: ../src/InstallVerifyFrame.cpp:159 msgid " was successfully installed." msgstr " беше уÑпешно инÑталиран." #: ../src/InstallVerifyFrame.cpp:160 ../src/Package.cpp:167 msgid "Success" msgstr "УÑпех" #: ../src/InstallVerifyFrame.cpp:169 msgid "An error occured while extracting the .dmod file." msgstr "Се Ñлучи грешка додека Ñе откомпреÑираше .dmod датотеката." #: ../src/Options.cpp:131 msgid "Choose the Dink Smallwood install directory" msgstr "Избери го инÑталациониот Dink Smallwood директориум" #: ../src/Options.cpp:139 msgid "Choose a folder containing D-Mods" msgstr "Изберете директориум кој Ñодржи D-Mods" #: ../src/Package.cpp:123 msgid "You must provide an identifier filename." msgstr "Морате да дадете датотека Ñо идентификатор." #: ../src/Package.cpp:139 msgid "Packaging" msgstr "Пакувам" #: ../src/Package.cpp:139 msgid "The D-Mod is being packaged." msgstr "D-Mod Ñе пакува." #. Success dialog #: ../src/Package.cpp:165 #, c-format msgid "%s was successfully packaged (compression ratio %2.1f : 1)." msgstr "%s беше уÑпешно Ñпакуван (размер на компреÑија %2.1f : 1)\"." #: ../src/Package.cpp:172 msgid "Packaging aborted - removing partial .dmod file." msgstr "Пакувањето е откажано - ги бришам нецелите .dmod датотеки." #: ../src/Package.cpp:173 msgid "Abort" msgstr "Откажи" #: ../src/RecursiveDelete.cpp:55 ../src/RecursiveDelete.cpp:73 #, c-format msgid "Could not remove %s" msgstr "Ðе можам да избришам %s" #: ../src/Tar.cpp:91 msgid "Listing files..." msgstr "ЛиÑтам датотеки..." #: ../src/Tar.cpp:125 msgid "Initializing..." msgstr "Подготвувам..." #: ../src/Tar.cpp:129 #, c-format msgid "Error: Could not open tar file '%s' for bzip compression." msgstr "Грешка: Ðе може да Ñе отвори tar датотеката '%s' за bzip компреÑирање." #: ../src/Tar.cpp:130 msgid "ERROR" msgstr "ГРЕШКÐ" #: ../src/Tar.cpp:151 msgid "" "Error: Could not initialize compression method! Will not generate a " "correct .dmod file. Quitting." msgstr "" "Грешка: Ðе можам да го подготвам методот за компреÑија! Резултира Ñо " "генерирање на неточна .dmod датотека. Откажувам." #: ../src/Tar.cpp:184 #, c-format msgid "Error: File '%s' not found! Cannot archive file." msgstr "" "Грешка: Датотеката '%s' не е пронајдена! Ðе можам да ја архивирам датотеката." #. Close the output file. #: ../src/Tar.cpp:234 msgid "Closing..." msgstr "Затворам..." #: ../src/Tar.cpp:354 #, c-format msgid "Error: File '%s' not found! Cannot read data." msgstr "Грешка: Датотеката '%s' не е пронајдена! Ðе можам да ја читам." #. Nope. Exit. #: ../src/Tar.cpp:391 msgid "Error: This .dmod file has an invalid checksum! Cannot read file." msgstr "" "Грешка: Оваа .dmod датотека има невалиден checksum! Ðе можам да читам " "датотека." #: ../src/Tar.cpp:476 #, c-format msgid "Error: File '%s' not found! Cannot extract data." msgstr "Грешка: Датотеката '%s' не пронајдена! Ðе можам да отпакувам дата." #: ../src/Tar.cpp:486 #, c-format msgid "Error: Cannot create directory '%s'. Cannot extract data." msgstr "" "Грешка: Ðе можам да го направам директориумот '%s'. Ðе можам да отпакувам " "дата." #: ../src/Tar.cpp:544 #, c-format msgid "Got bad file %d/%d. Skipping." msgstr "Добив раÑипана датотека %d/%d. Скокам." #: ../src/Tar.cpp:568 #, c-format msgid "Error: Improperly archived file '%s'. Skipping." msgstr "Грешка: Ðеправилно архивана датотека '%s'. Скокам." #: ../src/Tar.cpp:599 msgid "Done." msgstr "Готово" #: ../src/DFArcFrame_Base.cpp:18 msgid "&Open D-Mod to Install" msgstr "&Отвори D-Mod за инÑталирање" #: ../src/DFArcFrame_Base.cpp:18 msgid "Select a D-Mod to install" msgstr "Избери D-Mod за да инÑталираш" #: ../src/DFArcFrame_Base.cpp:19 msgid "&Download D-Mods" msgstr "&Симни D-Mods" #: ../src/DFArcFrame_Base.cpp:19 msgid "Go to The Dink Network to download some D-Mods!" msgstr "ПоÑетете ја Dink-та мрежа за да Ñимнете D-Mods-а" #: ../src/DFArcFrame_Base.cpp:21 msgid "E&xit" msgstr "&Излез" #: ../src/DFArcFrame_Base.cpp:21 msgid "Exit DFArc" msgstr "Излез од DFArc" #: ../src/DFArcFrame_Base.cpp:22 msgid "&File" msgstr "&Датотека" #: ../src/DFArcFrame_Base.cpp:24 msgid "&Refresh D-Mod List" msgstr "ОÑв&ежи D-Mod лиÑта" #: ../src/DFArcFrame_Base.cpp:24 msgid "Refreshes the D-Mod list for any new additions" msgstr "Ја оÑвежува D-Mod лиÑтата, во Ñлучај ако Ñте Ñнимале нови" #: ../src/DFArcFrame_Base.cpp:25 msgid "&Browse Selected D-Mod Directory" msgstr "&ПрелиÑтај D-Mod Директориум" #: ../src/DFArcFrame_Base.cpp:25 msgid "Browse to the directory containing the current D-Mod" msgstr "ПрелиÑтај го директориумот од моменталниот D-Mod" #: ../src/DFArcFrame_Base.cpp:26 msgid "&Uninstall Selected D-Mod" msgstr "Од инÑталира&ј го избраниот D-Mod" #: ../src/DFArcFrame_Base.cpp:26 msgid "Uninstalls the selected D-Mod" msgstr "Ги од инÑталира извбраните D-Mod-а" #: ../src/DFArcFrame_Base.cpp:28 msgid "&Options" msgstr "О&пции" #: ../src/DFArcFrame_Base.cpp:28 msgid "View or modify DFArc options" msgstr "Погледни или измени DFArc опции" #: ../src/DFArcFrame_Base.cpp:29 msgid "&Edit" msgstr "&Уреди" #: ../src/DFArcFrame_Base.cpp:31 msgid "&Introduction" msgstr "Вове&д" #: ../src/DFArcFrame_Base.cpp:31 msgid "A quick introduction to Dinking and D-Mods" msgstr "Краток вовед за Dinking и D-Mods" #: ../src/DFArcFrame_Base.cpp:32 msgid "&Walkthroughs and Guides" msgstr "УпатÑтва и и&злези" #: ../src/DFArcFrame_Base.cpp:32 msgid "Stuck in a D-Mod? Check out The Dink Smallwood Solutions." msgstr "Заглавивте на D-Mod? Разгледајте ги Dink Smallwood Решенијата." #: ../src/DFArcFrame_Base.cpp:33 msgid "&Forums" msgstr "&Форуми" #: ../src/DFArcFrame_Base.cpp:33 msgid "Ask a question on the forums, or see if someone had the same problem." msgstr "ПоÑтави прашање на форуми-те, или провери дали има некој иÑÑ‚ проблем." #: ../src/DFArcFrame_Base.cpp:35 msgid "&About" msgstr "За" #: ../src/DFArcFrame_Base.cpp:35 msgid "About DFArc" msgstr "За DFArc" #: ../src/DFArcFrame_Base.cpp:36 msgid "&Help" msgstr "Помо&ш" #: ../src/DFArcFrame_Base.cpp:41 msgid "Play" msgstr "Играј" #: ../src/DFArcFrame_Base.cpp:42 msgid "True Color" msgstr "True Color" #: ../src/DFArcFrame_Base.cpp:43 msgid "Windowed" msgstr "ВПрозорец" #: ../src/DFArcFrame_Base.cpp:44 msgid "Sound" msgstr "Звук" #: ../src/DFArcFrame_Base.cpp:45 msgid "Joystick" msgstr "ÐоијÑтик" #: ../src/DFArcFrame_Base.cpp:46 msgid "Debug" msgstr "Дебагер" #: ../src/DFArcFrame_Base.cpp:47 msgid "v1.07 mode" msgstr "v1.07 Ñтил" #: ../src/DFArcFrame_Base.cpp:48 msgid "Edit" msgstr "Уреди" #: ../src/DFArcFrame_Base.cpp:49 ../src/Package_Base.cpp:18 msgid "Package" msgstr "Пакет" #. begin wxGlade: DFArcFrame_Base::set_properties #: ../src/DFArcFrame_Base.cpp:62 msgid "DFArc v3" msgstr "DFArc v3" #: ../src/DFArcFrame_Base.cpp:72 msgid "v1.07 compatibility mode, for D-Mods released before 2006" msgstr "v1.07 компатибилен Ñтил, за D-Mods излезени пред 2006" #. begin wxGlade: InstallVerifyFrame_Base::InstallVerifyFrame_Base #: ../src/InstallVerifyFrame_Base.cpp:14 msgid "Preparing..." msgstr "Се Подготвувам..." #: ../src/InstallVerifyFrame_Base.cpp:16 msgid "Main Dink directory" msgstr "Главен Dink директориум" #: ../src/InstallVerifyFrame_Base.cpp:17 ../src/Options_Base.cpp:20 msgid "Additional D-Mods directory" msgstr "Додатни D-Mods директориуми" #: ../src/InstallVerifyFrame_Base.cpp:19 msgid "Where do you want to install this D-Mod?" msgstr "Каде Ñакате овој D-Mod да Ñе инÑталира?" #: ../src/InstallVerifyFrame_Base.cpp:20 msgid "Install" msgstr "ИнÑталирај" #. begin wxGlade: InstallVerifyFrame_Base::set_properties #: ../src/InstallVerifyFrame_Base.cpp:32 msgid "DFArc - Install D-Mod" msgstr "DFArc - ИнÑталирај D-Mod" #. begin wxGlade: Options_Base::Options_Base #: ../src/Options_Base.cpp:14 msgid "Close DFArc on play" msgstr "Затвори DFArc Ñред игра" #: ../src/Options_Base.cpp:15 msgid "Show developer buttons" msgstr "Прикажи команди за развивачи" #: ../src/Options_Base.cpp:16 msgid "The engine updates dinksmallwood.ini on run (deprecated)" msgstr "Ðадградбите на енџинот dinksmallwood.ini на вклучена игра (заÑтарено)" #: ../src/Options_Base.cpp:17 msgid "Override the Dink Smallwood directory" msgstr "Смени ÑопÑтвен Dink Smallwood директориум" #: ../src/Options_Base.cpp:19 ../src/Options_Base.cpp:22 msgid "Browse" msgstr "Разгледај" #: ../src/Options_Base.cpp:23 msgid "Game program name" msgstr "Игра име на програма" #: ../src/Options_Base.cpp:26 msgid "Editor program name" msgstr "Уредник име на програма" #: ../src/Options_Base.cpp:29 msgid "Preferred file browser" msgstr "Претпочитан разгледувач на датотеки" #. begin wxGlade: Options_Base::set_properties #: ../src/Options_Base.cpp:43 msgid "DFArc - Options" msgstr "DFArc - Опции" #. begin wxGlade: Package_Base::Package_Base #: ../src/Package_Base.cpp:14 msgid "Identifier" msgstr "Идентификатор" #: ../src/Package_Base.cpp:15 #, c-format msgid "" "Note: Unless you're making a D-Mod, you shouldn't be around here.\n" "This is for creating a .dmod file for a D-Mod you made.\n" "\n" "Will package '%s' located at\n" "%s" msgstr "" "Забелешка: ОÑвен ако правете D-Mod, можете да бидете овде.\n" "Ова меÑто Ñлужи за правење на .dmod датотеки за D-Mod кој го направивте.\n" "\n" "Ќе Ñе Ñпакува '%s' лоциран во\n" "%s" #: ../src/Package_Base.cpp:16 msgid "D-Mod filename (8 letters/numbers)" msgstr "D-Mod датотека (8 букви/бројки)" #. begin wxGlade: Package_Base::set_properties #: ../src/Package_Base.cpp:30 msgid "DFArc - Package" msgstr "DFArc - Пакет" #: ../share/freedink-dfarc.desktop.in.h:1 msgid "DFArc - Dink frontend" msgstr "DFArc - Dink наÑловна" #: ../share/freedink-dfarc.desktop.in.h:2 msgid "Run, edit, install, remove and package D-Mods (Dink Modules)" msgstr "" "Вклучувај, уреди, инÑталирај, отÑтрани и Ñпакувај D-Mods-а (Dink Модули)" #: ../share/freedink-mime.xml.in.h:1 msgid "Packaged D-Mod" msgstr "Спакуван D-Mod" dfarc-3.12/po/hu.po0000664000175000017510000004745512410067723011055 00000000000000# Hungarian translation for dfarc. # Copyright (C) 2014 Free Software Foundation, Inc. # This file is distributed under the same license as the dfarc package. # # Balázs Úr , 2014. msgid "" msgstr "" "Project-Id-Version: dfarc 3.11-pre1\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-09-01 20:58+0200\n" "PO-Revision-Date: 2014-09-22 20:43+0200\n" "Last-Translator: Balázs Úr \n" "Language-Team: Hungarian \n" "Language: hu\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Lokalize 1.5\n" #: ../src/BZip.cpp:303 #, c-format msgid "Error: Could not open input file '%s' for bzip decompression." msgstr "Hiba: Nem sikerült megnyitni a(z) „%s†bemeneti fájlt bzip kibontáshoz." #: ../src/BZip.cpp:318 msgid "Error: Invalid .dmod file selected!" msgstr "Hiba: A kijelölt .dmod fájl érvénytelen!" #: ../src/BZip.cpp:328 #, c-format msgid "Error: Could not write to '%s'." msgstr "Hiba: Nem sikerült írni ide: „%sâ€." #: ../src/BZip.cpp:360 msgid "Invalid .dmod file specified." msgstr "A megadott .dmod fájl érvénytelen." #: ../src/BZip.cpp:364 msgid "Critical program function error: opened for write." msgstr "Kritikus programfüggvény hiba: megnyitva íráshoz." #: ../src/BZip.cpp:368 msgid "Could not read .dmod file." msgstr "Nem sikerült olvasni a .dmod fájlt." #: ../src/BZip.cpp:372 msgid "Incomplete .dmod file. Please download it again." msgstr "Nem teljes .dmod fájl. Kérjük töltse le újra." #: ../src/BZip.cpp:376 msgid "The .dmod file is corrupted. Please download it again." msgstr "A .dmod fájl sérült. Kérjük töltse le újra." #: ../src/BZip.cpp:380 msgid "The file is not a valid .dmod file." msgstr "A fájl nem érvényes .dmod fájl." #: ../src/BZip.cpp:384 msgid "Out of memory error." msgstr "Hiba, nincs elég memória." #: ../src/BZip.cpp:388 msgid "An unhandled error occured." msgstr "Egy kezeletlen hiba történt." #: ../src/Config.cpp:202 msgid "Error: dinksmallwood.ini not found. Please run the main game and try running this program again." msgstr "Hiba: A dinksmallwood.ini fájl nem található. Kérjük futtassa a fÅ‘ játékot, és próbálja újra futtatni ezt a programot." #: ../src/Config.cpp:210 msgid "Error opening dinksmallwood.ini" msgstr "Hiba a dinksmallwood.ini megnyitásakor." #: ../src/DFArcFrame.cpp:174 #, c-format msgid "" "DFArc version %s\n" "Copyright (C) 2004 Andrew Reading (merlin)\n" "Copyright (C) 2005, 2006 Dan Walma (redink1)\n" "Copyright (C) 2008-2014 Sylvain Beucler (Beuc)\n" "Build Date: %s\n" "Powered by bzip2 (bzip.org) and wxWidgets (wxwidgets.org)" msgstr "" "DFArc verzió: %s\n" "Copyright © 2004 Andrew Reading (merlin)\n" "Copyright © 2005, 2006 Dan Walma (redink1)\n" "Copyright © 2008-2014 Sylvain Beucler (Beuc)\n" "Fordítás dátuma: %s\n" "A bzip2 (bzip.org) és a wxWidgets (wxwidgets.org) által meghajtva." #: ../src/DFArcFrame.cpp:181 msgid "About DFArc v3" msgstr "A DFArc v3 névjegye" #. Default logo (currently all black with a question mark) #. TRANSLATORS: please make this SHORT, possibly rephrasing as "< #. Choose!". This is included in the 160x120px logo box in the main #. window and it doesn't word-wrap. #: ../src/DFArcFrame.cpp:253 msgid "< Pick a D-Mod" msgstr "< Válasszon D-Modot" #: ../src/DFArcFrame.cpp:318 msgid "No translations" msgstr "Nincsenek fordítások" #. Not displaying the default language explicitely, because it #. makes the user think that a translation is always available. #. mGameLocaleList->Insert(wxString(_("Default language")) + wxT(" (") + cur_locale_name + wxT(")"), 0); #: ../src/DFArcFrame.cpp:325 ../src/Options.cpp:118 msgid "Don't translate" msgstr "Ne fordítsa le" #: ../src/DFArcFrame.cpp:348 msgid "D-Mod files (*.dmod)" msgstr "D-Mod fájlok (*.dmod)" #: ../src/DFArcFrame.cpp:349 msgid "Select a .dmod file" msgstr "Válasszon egy .dmod fájlt" #: ../src/DFArcFrame.cpp:544 #, c-format msgid "The '%s' locale is not installed on your computer (locales tells the computer how to manage a language). You need to install it - check your system documentation." msgstr "A(z) „%s†területi beállítás nincs telepítve a számítógépére (a területi beállítás mondja meg a számítógépnek, hogy hogyan kezeljen egy nyelvet). Telepítenie kell azt - nézze meg a rendszer dokumentációját." #: ../src/DFArcFrame.cpp:547 ../src/DFArcFrame.cpp:625 msgid "Warning" msgstr "Figyelem" #: ../src/DFArcFrame.cpp:587 #, c-format msgid "Dink Smallwood failed! Error code %d." msgstr "A Dink Smallwood meghiúsult! Hibakód: %d." #: ../src/DFArcFrame.cpp:589 ../src/DFArcFrame.cpp:594 #: ../src/DFArcFrame.cpp:655 ../src/DFArcFrame.cpp:657 #: ../src/DFArcFrame.cpp:700 ../src/DFArcFrame.cpp:709 msgid "Error" msgstr "Hiba" #: ../src/DFArcFrame.cpp:591 #, c-format msgid "Dink Smallwood ('%s') was not found on your computer. Please configure the Dink program name in the Options menu." msgstr "A Dink Smallwood („%sâ€) nem található a számítógépén. Kérjük állítsa be a Dink program nevét a Beállítások menüben." #: ../src/DFArcFrame.cpp:622 msgid "Dinkedit saves all changes automatically. Altering maps can ruin the game. Are you sure you want to continue?" msgstr "A Dinkedit minden módosítást automatikusan elment. A térképek módosítása tönkreteheti a játékot. Biztos benne, hogy folytatni szeretné?" #: ../src/DFArcFrame.cpp:652 #, c-format msgid "The editor ('%s') was not found on your computer. Please configure the editor program name in the Options menu." msgstr "A szerkesztÅ‘ („%sâ€) nem található a számítógépén. Kérjük állítsa be a szerkesztÅ‘program nevét a Beállítások menüben." #: ../src/DFArcFrame.cpp:657 msgid "Error while running the editor" msgstr "Hiba a szerkesztÅ‘ futtatása közben" #. FreeDesktop #. Gnome #. KDE #. Xfce #: ../src/DFArcFrame.cpp:698 msgid "Could not find a file manager (tried 'xdg-open', 'nautilus', 'konqueror' and 'thunar')" msgstr "Nem található a fájlkezelÅ‘ (megpróbálva: „xdg-openâ€, „nautilusâ€, „konqueror†és „thunarâ€)" #: ../src/DFArcFrame.cpp:706 #, c-format msgid "Cannot start '%s', please check your configuration in the Options window." msgstr "Nem sikerült elindítani: „%sâ€, kérjük ellenÅ‘rizze a beállításokat a Beállítások ablakban." #: ../src/DFArcFrame.cpp:716 msgid "" "Welcome to DFArc, the Dink Smallwood front end!\n" "\n" "You can choose to play the original game (Dink Smallwood) or Dink-Modules (D-Mods) which contain new adventures.\n" "\n" "After completing the main game, give some D-Mods a try.\n" "There are hundreds of them, just click File-Download D-Mods." msgstr "" "Üdvözli a DFArc, a Dink Smallwood elÅ‘tétprogram!\n" "\n" "Kiválaszthatja, hogy az eredeti játékkal szeretne játszani (Dink Smallwood) vagy a Dink-Modulokkal (D-Mods), amelyek új kalandokat tartalmaznak.\n" "\n" "A fÅ‘ játék befejezése után próbáljon ki néhány D-Modot.\n" "Több száz létezik belÅ‘lük, csak kattintson a Fájl - D-Modok letöltése menüpontra." #: ../src/DFArcFrame.cpp:723 msgid "Introduction" msgstr "Bevezetés" #. If there's no directory, let's not override #: ../src/DFArcFrame.cpp:866 msgid "Cannot use the overridden Dink Smallwood directory - ignoring it. (permission problem?)" msgstr "Nem lehet a felülbírált Dink Smallwood könyvtárat használni - mellÅ‘zés. (jogosultsági probléma?)" #: ../src/DFArcFrame.cpp:868 ../src/DFArcFrame.cpp:876 msgid "Configuration error" msgstr "Beállítási hiba" #. If there's no directory, let's not override #: ../src/DFArcFrame.cpp:875 msgid "The Dink Smallwood directory you entered does not exist - ignoring it." msgstr "Nem létezik az a Dink Smallwood könyvtár, amelybe belépett - mellÅ‘zés." #: ../src/DFArcFrame.cpp:890 msgid "You must select the uninstall option from the start menu to uninstall the main game." msgstr "Ki kell választania az eltávolítás opciót a start menübÅ‘l a fÅ‘ játék eltávolításához." #: ../src/DFArcFrame.cpp:891 msgid "Uninstall - Error" msgstr "Eltávolítás - Hiba" #: ../src/DFArcFrame.cpp:896 msgid "Do you want to remove all save game files?" msgstr "El szeretne távolítani minden elmentett játékfájlt?" #: ../src/DFArcFrame.cpp:897 msgid "Uninstall - Save Game Files" msgstr "Eltávolítás - Elmentett játékfájlok" #: ../src/DFArcFrame.cpp:919 msgid "Unable to remove D-Mod directory. All other files were removed." msgstr "Nem lehet eltávolítani a D-Mod könyvtárat. Minden egyéb fájl el lett távolítva." #: ../src/DFArcFrame.cpp:925 msgid "D-Mod successfully uninstalled" msgstr "A D-Mod sikeresen eltávolítva" #: ../src/DFArcFrame.cpp:926 msgid "Uninstall - Success" msgstr "Eltávolítás - Siker" #: ../src/InstallVerifyFrame.cpp:56 msgid "Preparing" msgstr "ElÅ‘készítés" #: ../src/InstallVerifyFrame.cpp:57 msgid "The D-Mod archive is being decompressed in a temporary file." msgstr "A D-Mod archívum kibontás alatt van egy átmeneti fájlba." #: ../src/InstallVerifyFrame.cpp:81 #, c-format msgid "" "No Description Available.\n" "\n" "The D-Mod will be installed in subdirectory '%s'." msgstr "" "Nem érhetÅ‘ el leírás.\n" "\n" "A D-Mod a(z) „%s†alkönyvtárba lesz telepítve." #: ../src/InstallVerifyFrame.cpp:94 msgid "DFArc - Install D-Mod - " msgstr "DFArc - D-Mod telepítése - " #: ../src/InstallVerifyFrame.cpp:143 msgid "DFArc - Installing" msgstr "DFArc - Telepítés" #: ../src/InstallVerifyFrame.cpp:157 msgid "The D-Mod you selected" msgstr "A kijelölt D-Mod" #: ../src/InstallVerifyFrame.cpp:159 msgid " was successfully installed." msgstr " sikeresen telepítve." #: ../src/InstallVerifyFrame.cpp:160 ../src/Package.cpp:167 msgid "Success" msgstr "Sikeres" #: ../src/InstallVerifyFrame.cpp:169 msgid "An error occured while extracting the .dmod file." msgstr "Hiba történt a .dmod fájl kibontása során." #: ../src/Options.cpp:113 msgid "System language" msgstr "Rendszernyelv" #: ../src/Options.cpp:136 msgid "Custom" msgstr "Egyéni" #: ../src/Options.cpp:175 msgid "Choose the Dink Smallwood install directory" msgstr "Válassza ki a Dink Smallwood telepítési könyvtárát" #: ../src/Options.cpp:183 msgid "Choose a folder containing D-Mods" msgstr "Válasszon egy D-Modokat tartalmazó mappát" #: ../src/Package.cpp:123 msgid "You must provide an identifier filename." msgstr "Meg kell adnia egy azonosító fájlnevet." #: ../src/Package.cpp:139 msgid "Packaging" msgstr "Csomagolás" #: ../src/Package.cpp:139 msgid "The D-Mod is being packaged." msgstr "A D-Mod csomagolás alatt van." #. Success dialog #: ../src/Package.cpp:165 #, c-format msgid "%s was successfully packaged (compression ratio %2.1f : 1)." msgstr "%s sikeresen csomagolva lett (tömörítési arány %2.1f : 1)." #: ../src/Package.cpp:172 msgid "Packaging aborted - removing partial .dmod file." msgstr "Csomagolás megszakítva - részleges .dmod fájl eltávolítása." #: ../src/Package.cpp:173 msgid "Abort" msgstr "Megszakítás" #: ../src/RecursiveDelete.cpp:55 ../src/RecursiveDelete.cpp:73 #, c-format msgid "Could not remove %s" msgstr "Nem sikerült eltávolítani: %s" #: ../src/Tar.cpp:95 msgid "Listing files..." msgstr "Fájlok listázása…" #: ../src/Tar.cpp:134 msgid "Initializing..." msgstr "ElÅ‘készítés…" #: ../src/Tar.cpp:138 #, c-format msgid "Error: Could not open tar file '%s' for bzip compression." msgstr "Hiba: Nem sikerült megnyitni a(z) „%s†tar fájlt a bzip tömörítéshez." #: ../src/Tar.cpp:160 msgid "Error: Could not initialize compression method! Will not generate a correct .dmod file. Quitting." msgstr "Hiba: Nem sikerült elÅ‘készíteni a tömörítési módot! Nem lesz helyes .dmod fájl előállítva. Kilépés." #: ../src/Tar.cpp:193 #, c-format msgid "Error: File '%s' not found! Cannot archive file." msgstr "Hiba: A(z) „%s†fájl nem található! Nem lehet archiválni a fájlt." #. Close the output file. #: ../src/Tar.cpp:243 msgid "Closing..." msgstr "Bezárás…" #: ../src/Tar.cpp:363 #, c-format msgid "Error: File '%s' not found! Cannot read data." msgstr "Hiba: A(z) „%s†fájl nem található! Nem lehet olvasni az adatokat." #. Nope. Exit. #: ../src/Tar.cpp:400 msgid "Error: This .dmod file has an invalid checksum! Cannot read file." msgstr "Hiba: Ennek a .dmod fájlnak érvénytelen az ellenÅ‘rzőösszege! Nem lehet olvasni a fájlt." #: ../src/Tar.cpp:484 #, c-format msgid "Error: File '%s' not found! Cannot extract data." msgstr "Hiba: A(z) „%s†fájl nem található! Nem lehet kibontani az adatokat." #: ../src/Tar.cpp:494 #, c-format msgid "Error: Cannot create directory '%s'. Cannot extract data." msgstr "Hiba: Nem lehet létrehozni a(z) „%s†könyvtárat. Nem lehet kibontani az adatokat." #: ../src/Tar.cpp:552 #, c-format msgid "Got bad file %d/%d. Skipping." msgstr "Rossz fájl kaptam: %d/%d. Kihagyás." #: ../src/Tar.cpp:574 #, c-format msgid "Error: Improperly archived file '%s'. Skipping." msgstr "Hiba: Helytelenül archivált fájl: „%sâ€. Kihagyás." #: ../src/Tar.cpp:607 msgid "Done." msgstr "Kész." #: ../src/DFArcFrame_Base.cpp:27 msgid "&Open D-Mod to Install" msgstr "D-Mod &megnyitása telepítéshez" #: ../src/DFArcFrame_Base.cpp:27 msgid "Select a D-Mod to install" msgstr "Válasszon egy D-Modot a telepítéshez" #: ../src/DFArcFrame_Base.cpp:28 msgid "&Download D-Mods" msgstr "D-Modok &letöltése" #: ../src/DFArcFrame_Base.cpp:28 msgid "Go to The Dink Network to download some D-Mods!" msgstr "Ugrás a Dink hálózathoz néhány D-Mod letöltéséhez!" #: ../src/DFArcFrame_Base.cpp:30 msgid "E&xit" msgstr "&Kilépés" #: ../src/DFArcFrame_Base.cpp:30 msgid "Exit DFArc" msgstr "Kilépés a DFArc programból" #: ../src/DFArcFrame_Base.cpp:31 msgid "&File" msgstr "&Fájl" #: ../src/DFArcFrame_Base.cpp:33 msgid "&Refresh D-Mod List" msgstr "D-Mod lista &frissítése" #: ../src/DFArcFrame_Base.cpp:33 msgid "Refreshes the D-Mod list for any new additions" msgstr "Frissíti a D-Mod listát bármilyen új kiegészítéshez" #: ../src/DFArcFrame_Base.cpp:34 msgid "&Browse Selected D-Mod Directory" msgstr "A kijelölt D-Mod &könyvtár böngészése" #: ../src/DFArcFrame_Base.cpp:34 msgid "Browse to the directory containing the current D-Mod" msgstr "Az aktuális D-Modot tartalmazó könyvtár böngészése" #: ../src/DFArcFrame_Base.cpp:35 msgid "&Uninstall Selected D-Mod" msgstr "A kijelölt D-Mod &eltávolítása" #: ../src/DFArcFrame_Base.cpp:35 msgid "Uninstalls the selected D-Mod" msgstr "Eltávolítja a kijelölt D-Modot" #: ../src/DFArcFrame_Base.cpp:37 msgid "&Options" msgstr "&Beállítások" #: ../src/DFArcFrame_Base.cpp:37 msgid "View or modify DFArc options" msgstr "DFArc beállítások megtekintése vagy módosítása" #: ../src/DFArcFrame_Base.cpp:38 msgid "&Edit" msgstr "S&zerkesztés" #: ../src/DFArcFrame_Base.cpp:40 msgid "&Introduction" msgstr "&Bevezetés" #: ../src/DFArcFrame_Base.cpp:40 msgid "A quick introduction to Dinking and D-Mods" msgstr "Egy gyors bevezetés a Dinkelésbe és D-Modokba" #: ../src/DFArcFrame_Base.cpp:41 msgid "&Walkthroughs and Guides" msgstr "&Végigjátszások és útmutatók" #: ../src/DFArcFrame_Base.cpp:41 msgid "Stuck in a D-Mod? Check out The Dink Smallwood Solutions." msgstr "Elakadt a D-Modban? Nézze meg a Dink Smallwood megoldásokat." #: ../src/DFArcFrame_Base.cpp:42 msgid "&Forums" msgstr "&Fórumok" #: ../src/DFArcFrame_Base.cpp:42 msgid "Ask a question on the forums, or see if someone had the same problem." msgstr "Tegyen fel egy kérdést a fórumon, vagy nézze meg, másnak is volt-e hasonló problémája." #: ../src/DFArcFrame_Base.cpp:44 msgid "&About" msgstr "&Névjegy" #: ../src/DFArcFrame_Base.cpp:44 msgid "About DFArc" msgstr "A DFArc névjegye" #: ../src/DFArcFrame_Base.cpp:45 msgid "&Help" msgstr "&Súgó" #: ../src/DFArcFrame_Base.cpp:50 msgid "Play" msgstr "Indítás" #: ../src/DFArcFrame_Base.cpp:51 msgid "True Color" msgstr "True Color" #: ../src/DFArcFrame_Base.cpp:52 msgid "Windowed" msgstr "Ablakos" #: ../src/DFArcFrame_Base.cpp:53 msgid "Sound" msgstr "Hang" #: ../src/DFArcFrame_Base.cpp:54 msgid "Joystick" msgstr "Botkormány" #: ../src/DFArcFrame_Base.cpp:55 msgid "Debug" msgstr "Hibakeresés" #: ../src/DFArcFrame_Base.cpp:56 msgid "v1.07 mode" msgstr "v1.07 mód" #: ../src/DFArcFrame_Base.cpp:57 msgid "Edit" msgstr "Szerkesztés" #: ../src/DFArcFrame_Base.cpp:58 ../src/Package_Base.cpp:27 msgid "Package" msgstr "Csomag" #. begin wxGlade: DFArcFrame_Base::set_properties #: ../src/DFArcFrame_Base.cpp:73 msgid "DFArc v3" msgstr "DFArc v3" #: ../src/DFArcFrame_Base.cpp:83 msgid "v1.07 compatibility mode, for D-Mods released before 2006" msgstr "v1.07 kompatibilitási mód a 2006 elÅ‘tt kiadott D-Modokhoz" #. begin wxGlade: InstallVerifyFrame_Base::InstallVerifyFrame_Base #: ../src/InstallVerifyFrame_Base.cpp:23 msgid "Preparing..." msgstr "ElÅ‘készítés…" #: ../src/InstallVerifyFrame_Base.cpp:25 msgid "Main Dink directory" msgstr "FÅ‘ Dink könyvtár" #: ../src/InstallVerifyFrame_Base.cpp:26 ../src/Options_Base.cpp:29 msgid "Additional D-Mods directory" msgstr "További D-Modok könyvtár" #: ../src/InstallVerifyFrame_Base.cpp:28 msgid "Where do you want to install this D-Mod?" msgstr "Hová szeretné telepíteni ezt a D-Modot?" #: ../src/InstallVerifyFrame_Base.cpp:29 msgid "Install" msgstr "Telepítés" #. begin wxGlade: InstallVerifyFrame_Base::set_properties #: ../src/InstallVerifyFrame_Base.cpp:41 msgid "DFArc - Install D-Mod" msgstr "DFArc - D-Mod telepítése" #. begin wxGlade: Options_Base::Options_Base #: ../src/Options_Base.cpp:23 msgid "Close DFArc on play" msgstr "DFArc bezárása indításkor" #: ../src/Options_Base.cpp:24 msgid "Show developer buttons" msgstr "FejlesztÅ‘i gombok megjelenítése" #: ../src/Options_Base.cpp:25 msgid "The engine updates dinksmallwood.ini on run (deprecated)" msgstr "A motor frissíti a dinksmallwood.ini fájlt futtatáskor (elavult)" #: ../src/Options_Base.cpp:26 msgid "Override the Dink Smallwood directory" msgstr "A Dink Smallwood könyvtár felülbírálása" #: ../src/Options_Base.cpp:28 ../src/Options_Base.cpp:31 msgid "Browse" msgstr "Tallózás" #: ../src/Options_Base.cpp:32 msgid "Game program name" msgstr "Játékprogram neve" #: ../src/Options_Base.cpp:35 msgid "Editor program name" msgstr "SzerkesztÅ‘program neve" #: ../src/Options_Base.cpp:38 msgid "Preferred file browser" msgstr "ElsÅ‘dleges fájlböngészÅ‘" #: ../src/Options_Base.cpp:40 msgid "" "DFArc language\n" "(restart DFArc to apply)" msgstr "" "DFArc nyelv\n" "(a DFArc újraindítása az alkalmazáshoz)" #. begin wxGlade: Options_Base::set_properties #: ../src/Options_Base.cpp:56 msgid "DFArc - Options" msgstr "DFArc - Beállítások" #. begin wxGlade: Package_Base::Package_Base #: ../src/Package_Base.cpp:23 msgid "Identifier" msgstr "Azonosító" #: ../src/Package_Base.cpp:24 #, c-format msgid "" "Note: Unless you're making a D-Mod, you shouldn't be around here.\n" "This is for creating a .dmod file for a D-Mod you made.\n" "\n" "Will package '%s' located at\n" "%s" msgstr "" "Megjegyzés: Hacsak nem egy D-Modot készít, nem kellene itt lennie.\n" "Ez egy .dmod fájl létrehozásáról szól ahhoz a D-Modhoz, amit készít.\n" "\n" "A(z) „%s†csomag itt lesz elhelyezve:\n" "%s" #: ../src/Package_Base.cpp:25 msgid "D-Mod filename (8 letters/numbers)" msgstr "D-Mod fájlnév (8 betű/szám)" #. begin wxGlade: Package_Base::set_properties #: ../src/Package_Base.cpp:39 msgid "DFArc - Package" msgstr "DFArc - Csomag" #: ../share/freedink-dfarc.desktop.in.h:1 msgid "DFArc - Dink frontend" msgstr "DFArc - Dink elÅ‘tétprogram" #: ../share/freedink-dfarc.desktop.in.h:2 msgid "Run, edit, install, remove and package D-Mods (Dink Modules)" msgstr "D-Modok (Dink modulok) futtatása, szerkesztése, telepítése, eltávolítása és csomagolása" #: ../share/freedink-mime.xml.in.h:1 msgid "Packaged D-Mod" msgstr "Csomagolt D-Mod" #~ msgid "ERROR" #~ msgstr "HIBA" dfarc-3.12/po/fi.po0000664000175000017510000004620511474166537011043 00000000000000# Finnish translation for dfarc. # Copyright (C) 2009 Free Software Foundation, Inc. # This file is distributed under the same license as the dfarc package. # Petteri Tolonen , 2009, 2010 msgid "" msgstr "" "Project-Id-Version: dfarc 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-10-28 20:47+0000\n" "PO-Revision-Date: 2010-11-27 12:23+0100\n" "Last-Translator: Petteri Tolonen \n" "Language-Team: Finnish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-Language: finnish\n" "X-Poedit-Country: FINLAND\n" #: ../src/BZip.cpp:300 #, c-format msgid "Error: Could not open input file '%s' for bzip decompression." msgstr "Virhe: Tiedostoa %s ei voitu avata purettavaksi bzip-muodossa." #: ../src/BZip.cpp:315 msgid "Error: Invalid .dmod file selected!" msgstr "Virhe: Epäkelpo D-Mod-tiedosto." #: ../src/BZip.cpp:325 #, c-format msgid "Error: Could not write to '%s'." msgstr "Virhe: Tiedostoon %s ei voitu kirjoittaa." #: ../src/BZip.cpp:357 msgid "Invalid .dmod file specified." msgstr "Virheellinen D-Mod-tiedosto." #: ../src/BZip.cpp:361 msgid "Critical program function error: opened for write." msgstr "Ohjelman vakava toimintahäiriö. Tiedosto avattiin kirjoitustilassa." #: ../src/BZip.cpp:365 msgid "Could not read .dmod file." msgstr "D-Mod-tiedoston lukeminen epäonnistui." #: ../src/BZip.cpp:369 msgid "Incomplete .dmod file. Please download it again." msgstr "D-Mod-tiedosto on keskeneräinen. Lataa se uudelleen." #: ../src/BZip.cpp:373 msgid "The .dmod file is corrupted. Please download it again." msgstr "D-Mod-tiedosto on korruptoitunut. Lataa se uudelleen." #: ../src/BZip.cpp:377 msgid "The file is not a valid .dmod file." msgstr "Tiedosto ei ole kelvollinen D-Mod-tiedosto." #: ../src/BZip.cpp:381 msgid "Out of memory error." msgstr "Virhe: Muisti lopussa." #: ../src/BZip.cpp:385 msgid "An unhandled error occured." msgstr "Käsittelemätön virhe." #: ../src/Config.cpp:216 msgid "Error: dinksmallwood.ini not found. Please run the main game and try running this program again." msgstr "Virhe: tiedostoa dinksmallwood.ini ei löytynyt. Aja peli ja yritä käynnistää tämä ohjelma uudestaan." #: ../src/Config.cpp:224 msgid "Error opening dinksmallwood.ini" msgstr "Virhe avattaessa tiedostoa dinksmallwood.ini" #: ../src/DFArcFrame.cpp:168 #, c-format msgid "" "DFArc version %s\n" "Copyright (C) 2004 Andrew Reading (merlin)\n" "Copyright (C) 2005, 2006 Dan Walma (redink1)\n" "Copyright (C) 2008, 2009, 2010 Sylvain Beucler (Beuc)\n" "Build Date: %s\n" "Powered by bzip2 (http://www.bzip.org) and wxWidgets (http://www.wxwidgets.org)" msgstr "" "DFArc versio %s\n" "Copyright © 2004 Andrew Reading (merlin)\n" "Copyright © 2005, 2006 Dan Walma (redink1)\n" "Copyright (C) 2008, 2009, 2010 Sylvain Beucler (Beuc)\n" "Käännetty %s\n" "Käyttää kirjastoja bzip2 (http://www.bzip.org) ja wxWidgets (http://www.wxwidgets.org)" #: ../src/DFArcFrame.cpp:175 msgid "About DFArc v3" msgstr "Tietoja DFArc v3:sta" #. Default logo (currently all black with a question mark) #. TRANSLATORS: please make this SHORT, possibly rephrasing as "< #. Choose!". This is included in the 160x120px logo box in the main #. window and it doesn't word-wrap. #: ../src/DFArcFrame.cpp:246 msgid "< Pick a D-Mod" msgstr "< Valitse D-Mod" #: ../src/DFArcFrame.cpp:312 msgid "No translations" msgstr "Ei käännöksiä" #. Not displaying the default language explicitely, because it #. makes the user think that a translation is always available. #. mGameLocaleList->Insert(wxString(_("Default language")) + wxT(" (") + cur_locale_name + wxT(")"), 0); #: ../src/DFArcFrame.cpp:319 ../src/Options.cpp:120 msgid "Don't translate" msgstr "Alkuperäinen kieli" #: ../src/DFArcFrame.cpp:338 msgid "D-Mod files (*.dmod)" msgstr "D-Mod-tiedostot (*.dmod)" #: ../src/DFArcFrame.cpp:339 msgid "Select a .dmod file" msgstr "Valitse D-Mod-tiedosto" #: ../src/DFArcFrame.cpp:534 #, c-format msgid "The '%s' locale is not installed on your computer (locales tells the computer how to manage a language). You need to install it - check your system documentation." msgstr "Lokaalia %s ei löytynyt järjestelmästä. Asenna lokaali ja yritä uudelleen. Ohjeita löydät järjestelmäsi dokumentaatiosta." #: ../src/DFArcFrame.cpp:537 ../src/DFArcFrame.cpp:615 msgid "Warning" msgstr "Varoitus" #: ../src/DFArcFrame.cpp:577 #, c-format msgid "Dink Smallwood failed! Error code %d." msgstr "Pelin käynnistäminen epäonnistui. Virhekoodi %d." #: ../src/DFArcFrame.cpp:579 ../src/DFArcFrame.cpp:584 #: ../src/DFArcFrame.cpp:645 ../src/DFArcFrame.cpp:647 #: ../src/DFArcFrame.cpp:690 ../src/DFArcFrame.cpp:699 msgid "Error" msgstr "Virhe" #: ../src/DFArcFrame.cpp:581 #, c-format msgid "Dink Smallwood ('%s') was not found on your computer. Please configure the Dink program name in the Options menu." msgstr "Dink Smallwood -peliä (%s) ei löytynyt koneeltasi. Voit asettaa Dink-sovelluksen nimen Asetukset-valikon kautta." #: ../src/DFArcFrame.cpp:612 msgid "Dinkedit saves all changes automatically. Altering maps can ruin the game. Are you sure you want to continue?" msgstr "Dinkedit tallentaa kaikki muutokset automaattisesti. Karttojen muuttaminen voi turmella pelin. Haluatko varmasti jatkaa?" #: ../src/DFArcFrame.cpp:642 #, c-format msgid "The editor ('%s') was not found on your computer. Please configure the editor program name in the Options menu." msgstr "Muokkainta (%s) ei löytynyt koneeltasi. Voit vaihtaa muokkaimen Asetukset-valikon kautta." #: ../src/DFArcFrame.cpp:647 msgid "Error while running the editor" msgstr "Virhe muokkaimen käynnistyksessä" #. FreeDesktop #. Gnome #. KDE #. Xfce #: ../src/DFArcFrame.cpp:688 msgid "Could not find a file manager (tried 'xdg-open', 'nautilus', 'konqueror' and 'thunar')" msgstr "Tiedostoselainta ei löytynyt (yritettiin käynnistää xdg-open, nautilus, konqueror ja thunar)." #: ../src/DFArcFrame.cpp:696 #, c-format msgid "Cannot start '%s', please check your configuration in the Options window." msgstr "Ohjelmaa %s ei voida käynnistää, tarkista asetukset." #: ../src/DFArcFrame.cpp:706 msgid "" "Welcome to DFArc, the Dink Smallwood front end!\n" "\n" "You can choose to play the original game (Dink Smallwood) or Dink-Modules (D-Mods) which contain new adventures.\n" "\n" "After completing the main game, give some D-Mods a try.\n" "There are hundreds of them, just click File-Download D-Mods." msgstr "" "Tämä on DFArc, Dink Smallwood -pelin hallintaohjelma.\n" "\n" "Voit pelata alkuperäistä Dink Smallwood -peliä tai Dink-moduuleita (D-Mod), jotka sisältävät uusia seikkailuja.\n" "\n" "Kun on pelannut alkuperäisen pelin läpi, kannattaa kokeilla D-Modeja.\n" "Niitä on saatavilla satoja - napsauta: Tiedosto - Lataa D-Modeja." #: ../src/DFArcFrame.cpp:713 msgid "Introduction" msgstr "Esittely" #. If there's no directory, let's not override #: ../src/DFArcFrame.cpp:856 msgid "Cannot use the overriden Dink Smallwood directory - ignoring it. (permission problem?)" msgstr "Haluamaasi Dink Smallwood -hakemistoa ei voida käyttää. (Oikeutesi eivät ehkä riitä kansion käyttämiseen.)" #: ../src/DFArcFrame.cpp:858 ../src/DFArcFrame.cpp:866 msgid "Configuration error" msgstr "Asetusvirhe" #. If there's no directory, let's not override #: ../src/DFArcFrame.cpp:865 msgid "The Dink Smallwood directory you entered does not exist - ignoring it." msgstr "Antamaasi Dink Smallwood -hakemistoa ei ole olemassa - jätetään huomiotta." #: ../src/DFArcFrame.cpp:880 msgid "You must select the uninstall option from the start menu to uninstall the main game." msgstr "Valitse \"poista asennus\" Käynnistä-valikosta poistaaksesi pelin." #: ../src/DFArcFrame.cpp:881 msgid "Uninstall - Error" msgstr "Virhe asennuksen poistamisessa" #: ../src/DFArcFrame.cpp:886 msgid "Do you want to remove all save game files?" msgstr "Haluatko poistaa kaikki tallennetut pelitilanteet?" #: ../src/DFArcFrame.cpp:887 msgid "Uninstall - Save Game Files" msgstr "Poistetaan tallennetut pelitilanteet" #: ../src/DFArcFrame.cpp:909 msgid "Unable to remove D-Mod directory. All other files were removed." msgstr "D-Mod-hakemiston poistaminen epäonnistui. Kaikki muut tiedostot poistettiin." #: ../src/DFArcFrame.cpp:915 msgid "D-Mod successfully uninstalled" msgstr "D-Mod poistettiin onnistuneesti" #: ../src/DFArcFrame.cpp:916 msgid "Uninstall - Success" msgstr "Asennuksen poistaminen onnistui" #: ../src/InstallVerifyFrame.cpp:56 msgid "Preparing" msgstr "Valmistellaan" #: ../src/InstallVerifyFrame.cpp:57 msgid "The D-Mod archive is being decompressed in a temporary file." msgstr "D-Mod-arkisto puretaan väliaikaiseen tiedostoon." #: ../src/InstallVerifyFrame.cpp:81 #, c-format msgid "" "No Description Available.\n" "\n" "The D-Mod will be installed in subdirectory '%s'." msgstr "" "Kuvausta ei ole. \n" "\n" "D-Mod asennetaan alihakemistoon %s." #: ../src/InstallVerifyFrame.cpp:94 msgid "DFArc - Install D-Mod - " msgstr "DFArc - Asenna D-Mod" #: ../src/InstallVerifyFrame.cpp:143 msgid "DFArc - Installing" msgstr "DFArc - Asennetaan" #: ../src/InstallVerifyFrame.cpp:157 msgid "The D-Mod you selected" msgstr "Valitsemasi D-Mod" #: ../src/InstallVerifyFrame.cpp:159 msgid " was successfully installed." msgstr " asennettiin onnistuneesti." #: ../src/InstallVerifyFrame.cpp:160 ../src/Package.cpp:167 msgid "Success" msgstr "Onnistui" #: ../src/InstallVerifyFrame.cpp:169 msgid "An error occured while extracting the .dmod file." msgstr "D-Mod-tiedoston purkamisessa tapahtui virhe." #: ../src/Options.cpp:115 msgid "System language" msgstr "Järjestelmän kieli" #: ../src/Options.cpp:138 msgid "Custom" msgstr "Muu kieli" #: ../src/Options.cpp:177 msgid "Choose the Dink Smallwood install directory" msgstr "Valitse Dink Smallwood -asennushakemisto" #: ../src/Options.cpp:185 msgid "Choose a folder containing D-Mods" msgstr "Valitse hakemisto, jossa D-Modit sijaitsevat" #: ../src/Package.cpp:123 msgid "You must provide an identifier filename." msgstr "Anna tunnisteen tiedostonimi." #: ../src/Package.cpp:139 msgid "Packaging" msgstr "Paketointi" #: ../src/Package.cpp:139 msgid "The D-Mod is being packaged." msgstr "D-Mod-pelimoduulia paketoidaan." #. Success dialog #: ../src/Package.cpp:165 #, c-format msgid "%s was successfully packaged (compression ratio %2.1f : 1)." msgstr "%s paketoitiin onnistuneesti (pakkaussuhde %2.1f : 1)." #: ../src/Package.cpp:172 msgid "Packaging aborted - removing partial .dmod file." msgstr "Paketointi keskeytettiin - poistetaan keskeneräinen D-Mod-tiedosto." #: ../src/Package.cpp:173 msgid "Abort" msgstr "Peruuta" #: ../src/RecursiveDelete.cpp:55 ../src/RecursiveDelete.cpp:73 #, c-format msgid "Could not remove %s" msgstr "Kohteen %s poistaminen epäonnistui" #: ../src/Tar.cpp:91 msgid "Listing files..." msgstr "Luetteloidaan tiedostoja..." #: ../src/Tar.cpp:125 msgid "Initializing..." msgstr "Alustetaan..." #: ../src/Tar.cpp:129 #, c-format msgid "Error: Could not open tar file '%s' for bzip compression." msgstr "Virhe: Tar-tiedostoa %s ei voitu avata pakattavaksi bzip-muotoon." #: ../src/Tar.cpp:130 msgid "ERROR" msgstr "VIRHE" #: ../src/Tar.cpp:151 msgid "Error: Could not initialize compression method! Will not generate a correct .dmod file. Quitting." msgstr "Virhe: Pakkausmenetelmää ei voitu määrittää. Kelvollisen D-Mod-tiedoston luominen ei onnistu. Lopetetaan." #: ../src/Tar.cpp:184 #, c-format msgid "Error: File '%s' not found! Cannot archive file." msgstr "Virhe: Tiedostoa %s ei löytynyt! Tiedostoa ei voida arkistoida." #. Close the output file. #: ../src/Tar.cpp:234 msgid "Closing..." msgstr "Suljetaan..." #: ../src/Tar.cpp:354 #, c-format msgid "Error: File '%s' not found! Cannot read data." msgstr "Virhe: Tiedostoa %s ei löytynyt! Tietoja ei voida lukea." #. Nope. Exit. #: ../src/Tar.cpp:391 msgid "Error: This .dmod file has an invalid checksum! Cannot read file." msgstr "Virhe: Tällä dmod-tiedostolla on virheellinen tarkistussumma! Tiedostoa ei voida lukea." #: ../src/Tar.cpp:476 #, c-format msgid "Error: File '%s' not found! Cannot extract data." msgstr "Virhe: Tiedostoa %s ei löydy." #: ../src/Tar.cpp:486 #, c-format msgid "Error: Cannot create directory '%s'. Cannot extract data." msgstr "Virhe: Hakemiston %s luominen ei onnistu." #: ../src/Tar.cpp:544 #, c-format msgid "Got bad file %d/%d. Skipping." msgstr "Huono tiedosto %d%d. Ohitetaan." #: ../src/Tar.cpp:568 #, c-format msgid "Error: Improperly archived file '%s'. Skipping." msgstr "Virhe: Väärin paketoitu tiedosto %s. Ohitetaan." #: ../src/Tar.cpp:599 msgid "Done." msgstr "Valmis." #: ../src/DFArcFrame_Base.cpp:18 msgid "&Open D-Mod to Install" msgstr "&Avaa asennettava D-Mod" #: ../src/DFArcFrame_Base.cpp:18 msgid "Select a D-Mod to install" msgstr "Valitse asennettava D-Mod" #: ../src/DFArcFrame_Base.cpp:19 msgid "&Download D-Mods" msgstr "&Lataa D-Modeja (internetistä)" #: ../src/DFArcFrame_Base.cpp:19 msgid "Go to The Dink Network to download some D-Mods!" msgstr "Lisää D-Modeja löydät internetistä, The Dink Networkista!" #: ../src/DFArcFrame_Base.cpp:21 msgid "E&xit" msgstr "&Sulje" #: ../src/DFArcFrame_Base.cpp:21 msgid "Exit DFArc" msgstr "Sulje DFArc" #: ../src/DFArcFrame_Base.cpp:22 msgid "&File" msgstr "&Tiedosto" #: ../src/DFArcFrame_Base.cpp:24 msgid "&Refresh D-Mod List" msgstr "&Päivitä D-Mod-luettelo" #: ../src/DFArcFrame_Base.cpp:24 msgid "Refreshes the D-Mod list for any new additions" msgstr "Päivittää listan D-Modeista lisäysten varalta." #: ../src/DFArcFrame_Base.cpp:25 msgid "&Browse Selected D-Mod Directory" msgstr "&Selaa D-Mod-hakemistoa" #: ../src/DFArcFrame_Base.cpp:25 msgid "Browse to the directory containing the current D-Mod" msgstr "Selaa hakemistoa, jossa nykyinen D-Mod sijaitsee." #: ../src/DFArcFrame_Base.cpp:26 msgid "&Uninstall Selected D-Mod" msgstr "P&oista valittu D-Mod" #: ../src/DFArcFrame_Base.cpp:26 msgid "Uninstalls the selected D-Mod" msgstr "Poistaa valitun D-Modin" #: ../src/DFArcFrame_Base.cpp:28 msgid "&Options" msgstr "&Asetukset" #: ../src/DFArcFrame_Base.cpp:28 msgid "View or modify DFArc options" msgstr "Tarkastele tai muuta DFArcin asetuksia" #: ../src/DFArcFrame_Base.cpp:29 msgid "&Edit" msgstr "&Muokkaa" #: ../src/DFArcFrame_Base.cpp:31 msgid "&Introduction" msgstr "&Esittely" #: ../src/DFArcFrame_Base.cpp:31 msgid "A quick introduction to Dinking and D-Mods" msgstr "Dink Smallwood -pelin ja D-Modien pikaesittely." #: ../src/DFArcFrame_Base.cpp:32 msgid "&Walkthroughs and Guides" msgstr "&Läpipeluuohjeita ja oppaita" #: ../src/DFArcFrame_Base.cpp:32 msgid "Stuck in a D-Mod? Check out The Dink Smallwood Solutions." msgstr "Etkö pääse pelissä eteenpäin? Katso apua internetistä: The Dink Smallwood Solutions." #: ../src/DFArcFrame_Base.cpp:33 msgid "&Forums" msgstr "&Keskustelualueet" #: ../src/DFArcFrame_Base.cpp:33 msgid "Ask a question on the forums, or see if someone had the same problem." msgstr "Kysy apua keskustelualueilta tai katso onko joku muu törmännyt samaan ongelmaan." #: ../src/DFArcFrame_Base.cpp:35 msgid "&About" msgstr "&Tietoja" #: ../src/DFArcFrame_Base.cpp:35 msgid "About DFArc" msgstr "Tietoja DFArcista" #: ../src/DFArcFrame_Base.cpp:36 msgid "&Help" msgstr "&Apua" #: ../src/DFArcFrame_Base.cpp:41 msgid "Play" msgstr "Pelaa" #: ../src/DFArcFrame_Base.cpp:42 msgid "True Color" msgstr "Täysväritila" #: ../src/DFArcFrame_Base.cpp:43 msgid "Windowed" msgstr "Ikkunoitu" #: ../src/DFArcFrame_Base.cpp:44 msgid "Sound" msgstr "Ääni" #: ../src/DFArcFrame_Base.cpp:45 msgid "Joystick" msgstr "Sauvaohjain" #: ../src/DFArcFrame_Base.cpp:46 msgid "Debug" msgstr "Vianetsintä" #: ../src/DFArcFrame_Base.cpp:47 msgid "v1.07 mode" msgstr "v1.07 -tila" #: ../src/DFArcFrame_Base.cpp:48 msgid "Edit" msgstr "Muokkaa" #: ../src/DFArcFrame_Base.cpp:49 ../src/Package_Base.cpp:18 msgid "Package" msgstr "Paketoi" #. begin wxGlade: DFArcFrame_Base::set_properties #: ../src/DFArcFrame_Base.cpp:64 msgid "DFArc v3" msgstr "DFArc v3" #: ../src/DFArcFrame_Base.cpp:74 msgid "v1.07 compatibility mode, for D-Mods released before 2006" msgstr "v1.07 yhteensopivuustila ennen vuotta 2006 julkaistuille D-Modeille." #. begin wxGlade: InstallVerifyFrame_Base::InstallVerifyFrame_Base #: ../src/InstallVerifyFrame_Base.cpp:14 msgid "Preparing..." msgstr "Valmistellaan..." #: ../src/InstallVerifyFrame_Base.cpp:16 msgid "Main Dink directory" msgstr "Dink-päähakemisto" #: ../src/InstallVerifyFrame_Base.cpp:17 ../src/Options_Base.cpp:20 msgid "Additional D-Mods directory" msgstr "D-Mod-hakemisto" #: ../src/InstallVerifyFrame_Base.cpp:19 msgid "Where do you want to install this D-Mod?" msgstr "Minne haluat asentaa tämän D-Modin?" #: ../src/InstallVerifyFrame_Base.cpp:20 msgid "Install" msgstr "Asenna" #. begin wxGlade: InstallVerifyFrame_Base::set_properties #: ../src/InstallVerifyFrame_Base.cpp:32 msgid "DFArc - Install D-Mod" msgstr "DFArc - Asenna D-Mod" #. begin wxGlade: Options_Base::Options_Base #: ../src/Options_Base.cpp:14 msgid "Close DFArc on play" msgstr "Sulje DFArc pelattaessa" #: ../src/Options_Base.cpp:15 msgid "Show developer buttons" msgstr "Näytä kehittäjän painikkeet." #: ../src/Options_Base.cpp:16 msgid "The engine updates dinksmallwood.ini on run (deprecated)" msgstr "Päivitä dinksmallwood.ini-tiedosto pelin käynnistyksen yhteydessä (käytöstä poistuva) " #: ../src/Options_Base.cpp:17 msgid "Override the Dink Smallwood directory" msgstr "Käytä muuta Dink Smallwood -hakemistoa" #: ../src/Options_Base.cpp:19 ../src/Options_Base.cpp:22 msgid "Browse" msgstr "Selaa" #: ../src/Options_Base.cpp:23 msgid "Game program name" msgstr "Pelisovellus" #: ../src/Options_Base.cpp:26 msgid "Editor program name" msgstr "Muokkainsovellus" #: ../src/Options_Base.cpp:29 msgid "Preferred file browser" msgstr "Ensisijainen tiedostoselain" #: ../src/Options_Base.cpp:31 msgid "" "DFArc language\n" "(restart DFArc to apply)" msgstr "" "DFArcin kieli\n" "(otetaan käyttöön uudelleenkäynnistyksen yhteydessä)" #. begin wxGlade: Options_Base::set_properties #: ../src/Options_Base.cpp:47 msgid "DFArc - Options" msgstr "DFArc - Asetukset" #. begin wxGlade: Package_Base::Package_Base #: ../src/Package_Base.cpp:14 msgid "Identifier" msgstr "Tunniste" #: ../src/Package_Base.cpp:15 #, c-format msgid "" "Note: Unless you're making a D-Mod, you shouldn't be around here.\n" "This is for creating a .dmod file for a D-Mod you made.\n" "\n" "Will package '%s' located at\n" "%s" msgstr "" "Huomio: Jos et ole tekemässä D-Modia sinun ei pitäisi olla täällä.\n" "Tämä on tarkoitettu dmod-päätteisen tiedoston luomiseen tekemästäsi D-Modista.\n" "\n" "Paketoidaan %s hakemistossa\n" "%s" #: ../src/Package_Base.cpp:16 msgid "D-Mod filename (8 letters/numbers)" msgstr "D-Mod-tiedoston nimi (8 kirjainta/numeroa)" #. begin wxGlade: Package_Base::set_properties #: ../src/Package_Base.cpp:30 msgid "DFArc - Package" msgstr "DFArc - Paketoi" #: ../share/freedink-dfarc.desktop.in.h:1 msgid "DFArc - Dink frontend" msgstr "DFArc - Dink Smallwood -pelin hallintaohjelma" #: ../share/freedink-dfarc.desktop.in.h:2 msgid "Run, edit, install, remove and package D-Mods (Dink Modules)" msgstr "Pelaa, muokkaa, asenna, poista ja paketoi D-Modeja (Dink-pelimoduuleita)" #: ../share/freedink-mime.xml.in.h:1 msgid "Packaged D-Mod" msgstr "Paketoitu D-Mod" dfarc-3.12/po/es.po0000664000175000017510000004654211461235721011044 00000000000000# Spanish translation for dfarc. # Copyright (C) 2010 Fernando Carmona Varo # This file is distributed under the same license as the dfarc package. # Fernando Carmona Varo , 2010. # msgid "" msgstr "" "Project-Id-Version: dfarc-3.7.20101024\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-10-24 18:42+0000\n" "PO-Revision-Date: 2010-10-25 10:08+0200\n" "Last-Translator: Fernando Carmona Varo \n" "Language-Team: Spanish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/BZip.cpp:300 #, c-format msgid "Error: Could not open input file '%s' for bzip decompression." msgstr "Error: No pudo abrirse el fichero '%s' para su descompresión bzip." #: ../src/BZip.cpp:315 msgid "Error: Invalid .dmod file selected!" msgstr "Error: ¡Fichero .dmod no válido seleccionado!" #: ../src/BZip.cpp:325 #, c-format msgid "Error: Could not write to '%s'." msgstr "Error: No pudo escribirse en '%s'." #: ../src/BZip.cpp:357 msgid "Invalid .dmod file specified." msgstr "Fichero .dmod especificado no válido." #: ../src/BZip.cpp:361 msgid "Critical program function error: opened for write." msgstr "Error en función crítica del programa: abierto para escritura." #: ../src/BZip.cpp:365 msgid "Could not read .dmod file." msgstr "No pudo leerse el fichero .dmod" #: ../src/BZip.cpp:369 msgid "Incomplete .dmod file. Please download it again." msgstr "Fichero .dmod incompleto. Por favor vuelva a descargarlo." #: ../src/BZip.cpp:373 msgid "The .dmod file is corrupted. Please download it again." msgstr "El fichero .dmod está corrupo. Por favor cualva a descargarlo." #: ../src/BZip.cpp:377 msgid "The file is not a valid .dmod file." msgstr "El fichero no es un .dmod válido." #: ../src/BZip.cpp:381 msgid "Out of memory error." msgstr "Error de falta de memoria." #: ../src/BZip.cpp:385 msgid "An unhandled error occured." msgstr "Un error desconocido ocurrió." #: ../src/Config.cpp:216 msgid "Error: dinksmallwood.ini not found. Please run the main game and try running this program again." msgstr "Error: dinksmallwood.ini no encontrado. Por favor ejecute el juego principal e intente de nuevo." #: ../src/Config.cpp:224 msgid "Error opening dinksmallwood.ini" msgstr "Error de apertura de dinksmallwood.ini" #: ../src/DFArcFrame.cpp:168 #, c-format msgid "" "DFArc version %s\n" "Copyright (C) 2004 Andrew Reading (merlin)\n" "Copyright (C) 2005, 2006 Dan Walma (redink1)\n" "Copyright (C) 2008, 2009, 2010 Sylvain Beucler (Beuc)\n" "Build Date: %s\n" "Powered by bzip2 (http://www.bzip.org) and wxWidgets (http://www.wxwidgets.org)" msgstr "" "DFArc versión %s\n" "Copyright (C) 2004 Andrew Reading (merlin)\n" "Copyright (C) 2005, 2006 Dan Walma (redink1)\n" "Copyright (C) 2008, 2009, 2010 Sylvain Beucler (Beuc)\n" "Fecha de compilación: %s\n" "Hace uso de bzip2 (http://www.bzip.org) y wxWidgets (http://www.wxwidgets.org)" #: ../src/DFArcFrame.cpp:175 msgid "About DFArc v3" msgstr "Acerca de DFArc v3" #. Default logo (currently all black with a question mark) #. TRANSLATORS: please make this SHORT, possibly rephrasing as "< #. Choose!". This is included in the 160x120px logo box in the main #. window and it doesn't word-wrap. #: ../src/DFArcFrame.cpp:246 msgid "< Pick a D-Mod" msgstr "< Elige D-Mod" #: ../src/DFArcFrame.cpp:312 msgid "No translations" msgstr "Sin traducciones" #. Not displaying the default language explicitely, because it #. makes the user think that a translation is always available. #. mGameLocaleList->Insert(wxString(_("Default language")) + wxT(" (") + cur_locale_name + wxT(")"), 0); #: ../src/DFArcFrame.cpp:319 ../src/Options.cpp:120 msgid "Don't translate" msgstr "No traducir" #: ../src/DFArcFrame.cpp:338 msgid "D-Mod files (*.dmod)" msgstr "Ficheros D-Mod (*.dmod)" #: ../src/DFArcFrame.cpp:339 msgid "Select a .dmod file" msgstr "Seleccione un fichero .dmod" #: ../src/DFArcFrame.cpp:534 #, c-format msgid "The '%s' locale is not installed on your computer (locales tells the computer how to manage a language). You need to install it - check your system documentation." msgstr "La localización \"%s\" no está instalada en su ordenador (las localizaciones indican como gestionar los idiomas). Necesita ser instalado - compruebe la documentación de su sistema." #: ../src/DFArcFrame.cpp:537 ../src/DFArcFrame.cpp:613 msgid "Warning" msgstr "Aviso" #: ../src/DFArcFrame.cpp:575 #, c-format msgid "Dink Smallwood failed! Error code %d." msgstr "¡Dink Smallwood falló! Código de Error %d." #: ../src/DFArcFrame.cpp:577 ../src/DFArcFrame.cpp:582 #: ../src/DFArcFrame.cpp:643 ../src/DFArcFrame.cpp:645 #: ../src/DFArcFrame.cpp:688 ../src/DFArcFrame.cpp:697 msgid "Error" msgstr "Error" #: ../src/DFArcFrame.cpp:579 #, c-format msgid "Dink Smallwood ('%s') was not found on your computer. Please configure the Dink program name in the Options menu." msgstr "Dink Smallwood ('%s') no fue encontrado en su ordenador. Por favor configure el nombre del ejecutable del juego en las opciones del menú." #: ../src/DFArcFrame.cpp:610 msgid "Dinkedit saves all changes automatically. Altering maps can ruin the game. Are you sure you want to continue?" msgstr "Dinkedit guarda todos los cambios automáticamente. Alterar mapas puede arruinar el juego. ¿Está seguro de que desea continuar?" #: ../src/DFArcFrame.cpp:640 #, c-format msgid "The editor ('%s') was not found on your computer. Please configure the editor program name in the Options menu." msgstr "El editor ('%s') no fue encontrado en su ordenador. Por favor configure el nombre del ejecutable del editor en las opciones del menú." #: ../src/DFArcFrame.cpp:645 msgid "Error while running the editor" msgstr "Error mientras se ejecutaba el editor" #. FreeDesktop #. Gnome #. KDE #. Xfce #: ../src/DFArcFrame.cpp:686 msgid "Could not find a file manager (tried 'xdg-open', 'nautilus', 'konqueror' and 'thunar')" msgstr "No pudo encontrarse un explorador de archivos (se probó 'xdg-open', 'nautilus', 'konqueror' y 'thunar')" #: ../src/DFArcFrame.cpp:694 #, c-format msgid "Cannot start '%s', please check your configuration in the Options window." msgstr "No puede iniciarse '%s', por favor compruebe la configuración en la ventana de Opciones." #: ../src/DFArcFrame.cpp:704 msgid "" "Welcome to DFArc, the Dink Smallwood front end!\n" "\n" "You can choose to play the original game (Dink Smallwood) or Dink-Modules (D-Mods) which contain new adventures.\n" "\n" "After completing the main game, give some D-Mods a try.\n" "There are hundreds of them, just click File-Download D-Mods." msgstr "" "¡Bienvenido/a a DFArc, el cliente de Dink Smallwood!\n" "\n" "Puedes elegir jugar al juego original (Dink Smallwood) o Dink-Módulos (D-Mods) que contienen nuevas aventuras.\n" "\n" "Cuando hayas completado el juego principal, prueba algunos D-Mods.\n" "Existen cientos de ellos, sólo haz click en Descargar D-Mods." #: ../src/DFArcFrame.cpp:711 msgid "Introduction" msgstr "Introducción" #. If there's no directory, let's not override #: ../src/DFArcFrame.cpp:854 msgid "Cannot use the overriden Dink Smallwood directory - ignoring it. (permission problem?)" msgstr "No puede usarse el directorio Dink Smallwood superpuesto - será ignorado. (¿permisos incorrectos?)" #: ../src/DFArcFrame.cpp:856 ../src/DFArcFrame.cpp:864 msgid "Configuration error" msgstr "Error de configuración" #. If there's no directory, let's not override #: ../src/DFArcFrame.cpp:863 msgid "The Dink Smallwood directory you entered does not exist - ignoring it." msgstr "El directorio de Dink Smallwood que se ha indicado no existe - será ignorado." #: ../src/DFArcFrame.cpp:878 msgid "You must select the uninstall option from the start menu to uninstall the main game." msgstr "Debes seleccionar la opción de desinstalación del menú de inicio para desinstalar el juego principal." #: ../src/DFArcFrame.cpp:879 msgid "Uninstall - Error" msgstr "Desinstalar - Error" #: ../src/DFArcFrame.cpp:884 msgid "Do you want to remove all save game files?" msgstr "¿Quiéres eliminar todas las partidas guardadas?" #: ../src/DFArcFrame.cpp:885 msgid "Uninstall - Save Game Files" msgstr "Desinstalar - Partidas Guardadas" #: ../src/DFArcFrame.cpp:907 msgid "Unable to remove D-Mod directory. All other files were removed." msgstr "No es posible eliminar el directorio del D-Mod. Los demás archivos fueron eliminados." #: ../src/DFArcFrame.cpp:913 msgid "D-Mod successfully uninstalled" msgstr "D-Mod desinstalado exitosamente" #: ../src/DFArcFrame.cpp:914 msgid "Uninstall - Success" msgstr "Desinstalar - éxito" #: ../src/InstallVerifyFrame.cpp:56 msgid "Preparing" msgstr "Preparando" #: ../src/InstallVerifyFrame.cpp:57 msgid "The D-Mod archive is being decompressed in a temporary file." msgstr "El archivo D-Mod está siendo descomprimido en un fichero temporal." #: ../src/InstallVerifyFrame.cpp:81 #, c-format msgid "" "No Description Available.\n" "\n" "The D-Mod will be installed in subdirectory '%s'." msgstr "" "Sin Descripción Disponible.\n" "\n" "El D-Mod será instalado en el subdirectorio '%s'." #: ../src/InstallVerifyFrame.cpp:94 msgid "DFArc - Install D-Mod - " msgstr "DFArc - Instalar D-Mod - " #: ../src/InstallVerifyFrame.cpp:143 msgid "DFArc - Installing" msgstr "DFArc - Instalando" #: ../src/InstallVerifyFrame.cpp:157 msgid "The D-Mod you selected" msgstr "El D-Mod seleccionado" #: ../src/InstallVerifyFrame.cpp:159 msgid " was successfully installed." msgstr "fue instalado con éxito." #: ../src/InstallVerifyFrame.cpp:160 ../src/Package.cpp:167 msgid "Success" msgstr "Éxito" #: ../src/InstallVerifyFrame.cpp:169 msgid "An error occured while extracting the .dmod file." msgstr "Un error ocurrió mientras se extraía el fichero .dmod." #: ../src/Options.cpp:115 msgid "System language" msgstr "Lenguaje del sistema" #: ../src/Options.cpp:138 msgid "Custom" msgstr "Personalizado" #: ../src/Options.cpp:177 msgid "Choose the Dink Smallwood install directory" msgstr "Indique el directorio de instalación de Dink Smallwood" #: ../src/Options.cpp:185 msgid "Choose a folder containing D-Mods" msgstr "Indique un directorio de D-Mods" #: ../src/Package.cpp:123 msgid "You must provide an identifier filename." msgstr "Debe indicarse un identificador de nombre de archivo." #: ../src/Package.cpp:139 msgid "Packaging" msgstr "Empaquetando" #: ../src/Package.cpp:139 msgid "The D-Mod is being packaged." msgstr "El D-Mod está siendo empaquetado." #. Success dialog #: ../src/Package.cpp:165 #, c-format msgid "%s was successfully packaged (compression ratio %2.1f : 1)." msgstr "%s fue empaquetado con éxito (ratio de compresión %2.1f : 1)." #: ../src/Package.cpp:172 msgid "Packaging aborted - removing partial .dmod file." msgstr "Empaquetamiento abortado - eliminando fichero .dmod parcial." #: ../src/Package.cpp:173 msgid "Abort" msgstr "Abortar" #: ../src/RecursiveDelete.cpp:55 ../src/RecursiveDelete.cpp:73 #, c-format msgid "Could not remove %s" msgstr "No pudo eliminarse %s" #: ../src/Tar.cpp:91 msgid "Listing files..." msgstr "Listando ficheros..." #: ../src/Tar.cpp:125 msgid "Initializing..." msgstr "Inicializando..." #: ../src/Tar.cpp:129 #, c-format msgid "Error: Could not open tar file '%s' for bzip compression." msgstr "Error: No pudo abrirse el archivo tar '%s' para su compresión bzip." #: ../src/Tar.cpp:130 msgid "ERROR" msgstr "ERROR" #: ../src/Tar.cpp:151 msgid "Error: Could not initialize compression method! Will not generate a correct .dmod file. Quitting." msgstr "Error: ¡No pudo inicializarse el método de compresión! No se generará un fichero .dmod válido. Cancelando." #: ../src/Tar.cpp:184 #, c-format msgid "Error: File '%s' not found! Cannot archive file." msgstr "Error: Fichero '%s' no encontrado. No puede archivarse el fichero." #. Close the output file. #: ../src/Tar.cpp:234 msgid "Closing..." msgstr "Terminando..." #: ../src/Tar.cpp:354 #, c-format msgid "Error: File '%s' not found! Cannot read data." msgstr "Error: ¡Archivo '%s' no encontrado! No pueden leerse los datos." #. Nope. Exit. #: ../src/Tar.cpp:391 msgid "Error: This .dmod file has an invalid checksum! Cannot read file." msgstr "Error: ¡Este fichero .dmod posee un valor checksum inválido! No pudo leerse el fichero." #: ../src/Tar.cpp:476 #, c-format msgid "Error: File '%s' not found! Cannot extract data." msgstr "Error: ¡Fichero '%s' no encontrado! No pueden extrarse datos." #: ../src/Tar.cpp:486 #, c-format msgid "Error: Cannot create directory '%s'. Cannot extract data." msgstr "Error: No puede crearse el directorio '%s'. No pueden extraerse datos." #: ../src/Tar.cpp:544 #, c-format msgid "Got bad file %d/%d. Skipping." msgstr "Archivo erroneo %d/%d. Será ignorado." #: ../src/Tar.cpp:568 #, c-format msgid "Error: Improperly archived file '%s'. Skipping." msgstr "Error: Fichero erroneamente archivado '%s'. Será ignorado." #: ../src/Tar.cpp:599 msgid "Done." msgstr "Hecho." #: ../src/DFArcFrame_Base.cpp:18 msgid "&Open D-Mod to Install" msgstr "&Abrir D-Mod para instalar" #: ../src/DFArcFrame_Base.cpp:18 msgid "Select a D-Mod to install" msgstr "Selecciona un D-Mod para instalar" #: ../src/DFArcFrame_Base.cpp:19 msgid "&Download D-Mods" msgstr "&Descargar D-Mods" #: ../src/DFArcFrame_Base.cpp:19 msgid "Go to The Dink Network to download some D-Mods!" msgstr "¡Dirígete a The Dink Network para descargar algunos D-Mods!" #: ../src/DFArcFrame_Base.cpp:21 msgid "E&xit" msgstr "&Salir" #: ../src/DFArcFrame_Base.cpp:21 msgid "Exit DFArc" msgstr "Salir de DFArc" #: ../src/DFArcFrame_Base.cpp:22 msgid "&File" msgstr "&Archivo" #: ../src/DFArcFrame_Base.cpp:24 msgid "&Refresh D-Mod List" msgstr "&Actualizar lista de D-Mods" #: ../src/DFArcFrame_Base.cpp:24 msgid "Refreshes the D-Mod list for any new additions" msgstr "Actualiza la lista de D-Mods para comprobar nuevas incorporaciones" #: ../src/DFArcFrame_Base.cpp:25 msgid "&Browse Selected D-Mod Directory" msgstr "Abrir &directorio del D-Mod seleccinado" #: ../src/DFArcFrame_Base.cpp:25 msgid "Browse to the directory containing the current D-Mod" msgstr "Explora el directorio que contiene al D-Mod actual" #: ../src/DFArcFrame_Base.cpp:26 msgid "&Uninstall Selected D-Mod" msgstr "D&esinstalar D-Mod seleccionado" #: ../src/DFArcFrame_Base.cpp:26 msgid "Uninstalls the selected D-Mod" msgstr "Desinstala el D-Mod seleccionado" #: ../src/DFArcFrame_Base.cpp:28 msgid "&Options" msgstr "&Opciones" #: ../src/DFArcFrame_Base.cpp:28 msgid "View or modify DFArc options" msgstr "Ver o modificar las opciones de DFArc" #: ../src/DFArcFrame_Base.cpp:29 msgid "&Edit" msgstr "&Editar" #: ../src/DFArcFrame_Base.cpp:31 msgid "&Introduction" msgstr "&Introducción" #: ../src/DFArcFrame_Base.cpp:31 msgid "A quick introduction to Dinking and D-Mods" msgstr "Una breve introducción al Dinkeo y a los D-Mods" #: ../src/DFArcFrame_Base.cpp:32 msgid "&Walkthroughs and Guides" msgstr "&Soluciones y guías" #: ../src/DFArcFrame_Base.cpp:32 msgid "Stuck in a D-Mod? Check out The Dink Smallwood Solutions." msgstr "¿Atrapado en un D-Mod? Héchale un ojo a las ayudas de Dink Smallwood." #: ../src/DFArcFrame_Base.cpp:33 msgid "&Forums" msgstr "&Foros" #: ../src/DFArcFrame_Base.cpp:33 msgid "Ask a question on the forums, or see if someone had the same problem." msgstr "Haz preguntas en los foros, o comprueba si alguien tiene el mismo problema." #: ../src/DFArcFrame_Base.cpp:35 msgid "&About" msgstr "Acerca &de" #: ../src/DFArcFrame_Base.cpp:35 msgid "About DFArc" msgstr "Acerca de DFArc" #: ../src/DFArcFrame_Base.cpp:36 msgid "&Help" msgstr "&Ayuda" #: ../src/DFArcFrame_Base.cpp:41 msgid "Play" msgstr "Jugar" #: ../src/DFArcFrame_Base.cpp:42 msgid "True Color" msgstr "Color verdadero" #: ../src/DFArcFrame_Base.cpp:43 msgid "Windowed" msgstr "En Ventana" #: ../src/DFArcFrame_Base.cpp:44 msgid "Sound" msgstr "Sonido" #: ../src/DFArcFrame_Base.cpp:45 msgid "Joystick" msgstr "Joystick" #: ../src/DFArcFrame_Base.cpp:46 msgid "Debug" msgstr "Depuración" #: ../src/DFArcFrame_Base.cpp:47 msgid "v1.07 mode" msgstr "Modo v1.07" #: ../src/DFArcFrame_Base.cpp:48 msgid "Edit" msgstr "Editar" #: ../src/DFArcFrame_Base.cpp:49 ../src/Package_Base.cpp:18 msgid "Package" msgstr "Empaquetar" #. begin wxGlade: DFArcFrame_Base::set_properties #: ../src/DFArcFrame_Base.cpp:64 msgid "DFArc v3" msgstr "DFArc v3" #: ../src/DFArcFrame_Base.cpp:74 msgid "v1.07 compatibility mode, for D-Mods released before 2006" msgstr "Modo de compatibilidad con la versión v1.07, para D-Mods anteriores al 2006" #. begin wxGlade: InstallVerifyFrame_Base::InstallVerifyFrame_Base #: ../src/InstallVerifyFrame_Base.cpp:14 msgid "Preparing..." msgstr "Preparando..." #: ../src/InstallVerifyFrame_Base.cpp:16 msgid "Main Dink directory" msgstr "Directorio principal de Dink" #: ../src/InstallVerifyFrame_Base.cpp:17 ../src/Options_Base.cpp:20 msgid "Additional D-Mods directory" msgstr "Directorio de D-Mods adicionales" #: ../src/InstallVerifyFrame_Base.cpp:19 msgid "Where do you want to install this D-Mod?" msgstr "¿Dónde quieres instalar este D-Mod?" #: ../src/InstallVerifyFrame_Base.cpp:20 msgid "Install" msgstr "Instalar" #. begin wxGlade: InstallVerifyFrame_Base::set_properties #: ../src/InstallVerifyFrame_Base.cpp:32 msgid "DFArc - Install D-Mod" msgstr "DFArc - Instalar D-Mod" #. begin wxGlade: Options_Base::Options_Base #: ../src/Options_Base.cpp:14 msgid "Close DFArc on play" msgstr "Cerrar DFArc al jugar" #: ../src/Options_Base.cpp:15 msgid "Show developer buttons" msgstr "Mostrar botones para desarrolladores" #: ../src/Options_Base.cpp:16 msgid "The engine updates dinksmallwood.ini on run (deprecated)" msgstr "El motor actualiza dinksmallwood.ini al ejecutarse (obsoleto)" #: ../src/Options_Base.cpp:17 msgid "Override the Dink Smallwood directory" msgstr "Directorio Dink Smallwood superpuesto" #: ../src/Options_Base.cpp:19 ../src/Options_Base.cpp:22 msgid "Browse" msgstr "Explorar" #: ../src/Options_Base.cpp:23 msgid "Game program name" msgstr "Nombre del ejecutable del juego" #: ../src/Options_Base.cpp:26 msgid "Editor program name" msgstr "Nombre del editor del juego" #: ../src/Options_Base.cpp:29 msgid "Preferred file browser" msgstr "Explorador de archivos" #: ../src/Options_Base.cpp:31 msgid "" "DFArc language\n" "(restart DFArc to apply)" msgstr "" "Idioma de DFArc\n" "(reiniciar DFArc para aplicar)" #. begin wxGlade: Options_Base::set_properties #: ../src/Options_Base.cpp:47 msgid "DFArc - Options" msgstr "DFArc - Opciones" #. begin wxGlade: Package_Base::Package_Base #: ../src/Package_Base.cpp:14 msgid "Identifier" msgstr "Identificador" #: ../src/Package_Base.cpp:15 #, c-format msgid "" "Note: Unless you're making a D-Mod, you shouldn't be around here.\n" "This is for creating a .dmod file for a D-Mod you made.\n" "\n" "Will package '%s' located at\n" "%s" msgstr "" "Nota: A no ser que estés haciendo un D-Mod, no deberías estar por aquí.\n" "Esto es para crear un archivo .dmod para un D-Mod que tú hayas hecho.\n" "\n" "Se empaquetará '%s' localizado en\n" "%s" #: ../src/Package_Base.cpp:16 msgid "D-Mod filename (8 letters/numbers)" msgstr "Fichero D-Mod (8 letras o números)" #. begin wxGlade: Package_Base::set_properties #: ../src/Package_Base.cpp:30 msgid "DFArc - Package" msgstr "DFArc - Empaquetar" #: ../share/freedink-dfarc.desktop.in.h:1 msgid "DFArc - Dink frontend" msgstr "DFArc - cliente Dink" #: ../share/freedink-dfarc.desktop.in.h:2 msgid "Run, edit, install, remove and package D-Mods (Dink Modules)" msgstr "Ejecuta, edita, instala, elimina y empaqueta D-Mods (Módulos Dink)" #: ../share/freedink-mime.xml.in.h:1 msgid "Packaged D-Mod" msgstr "D-Mod empaquetado" dfarc-3.12/m4/0002775000175000017510000000000012420023266010041 500000000000000dfarc-3.12/m4/progtest.m40000664000175000017510000000555012340110733012072 00000000000000# progtest.m4 serial 4 (gettext-0.14.2) dnl Copyright (C) 1996-2003, 2005 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl dnl This file can can be used in projects which are not available under dnl the GNU General Public License or the GNU Library General Public dnl License but which still want to provide support for the GNU gettext dnl functionality. dnl Please note that the actual code of the GNU gettext library is covered dnl by the GNU Library General Public License, and the rest of the GNU dnl gettext package package is covered by the GNU General Public License. dnl They are *not* in the public domain. dnl Authors: dnl Ulrich Drepper , 1996. AC_PREREQ(2.50) # Search path for a program which passes the given test. dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR, dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]]) AC_DEFUN([AM_PATH_PROG_WITH_TEST], [ # Prepare PATH_SEPARATOR. # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi # Find out how to test for executable files. Don't use a zero-byte file, # as systems may use methods other than mode bits to determine executability. cat >conf$$.file <<_ASEOF #! /bin/sh exit 0 _ASEOF chmod +x conf$$.file if test -x conf$$.file >/dev/null 2>&1; then ac_executable_p="test -x" else ac_executable_p="test -f" fi rm -f conf$$.file # Extract the first word of "$2", so it can be a program name with args. set dummy $2; ac_word=[$]2 AC_MSG_CHECKING([for $ac_word]) AC_CACHE_VAL(ac_cv_path_$1, [case "[$]$1" in [[\\/]]* | ?:[[\\/]]*) ac_cv_path_$1="[$]$1" # Let the user override the test with a path. ;; *) ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in ifelse([$5], , $PATH, [$5]); do IFS="$ac_save_IFS" test -z "$ac_dir" && ac_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then echo "$as_me: trying $ac_dir/$ac_word..." >&AS_MESSAGE_LOG_FD if [$3]; then ac_cv_path_$1="$ac_dir/$ac_word$ac_exec_ext" break 2 fi fi done done IFS="$ac_save_IFS" dnl If no 4th arg is given, leave the cache variable unset, dnl so AC_PATH_PROGS will keep looking. ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" ])dnl ;; esac])dnl $1="$ac_cv_path_$1" if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then AC_MSG_RESULT([$]$1) else AC_MSG_RESULT(no) fi AC_SUBST($1)dnl ]) dfarc-3.12/m4/ChangeLog0000664000175000017510000000115312340110733011526 000000000000002008-05-07 gettextize * gettext.m4: Upgrade to gettext-0.17. * iconv.m4: Upgrade to gettext-0.17. * lib-link.m4: Upgrade to gettext-0.17. * po.m4: Upgrade to gettext-0.17. 2008-01-21 gettextize * gettext.m4: New file, from gettext-0.16.1. * iconv.m4: New file, from gettext-0.16.1. * lib-ld.m4: New file, from gettext-0.16.1. * lib-link.m4: New file, from gettext-0.16.1. * lib-prefix.m4: New file, from gettext-0.16.1. * nls.m4: New file, from gettext-0.16.1. * po.m4: New file, from gettext-0.16.1. * progtest.m4: New file, from gettext-0.16.1. dfarc-3.12/m4/nls.m40000664000175000017510000000226612340110733011020 00000000000000# nls.m4 serial 3 (gettext-0.15) dnl Copyright (C) 1995-2003, 2005-2006 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl dnl This file can can be used in projects which are not available under dnl the GNU General Public License or the GNU Library General Public dnl License but which still want to provide support for the GNU gettext dnl functionality. dnl Please note that the actual code of the GNU gettext library is covered dnl by the GNU Library General Public License, and the rest of the GNU dnl gettext package package is covered by the GNU General Public License. dnl They are *not* in the public domain. dnl Authors: dnl Ulrich Drepper , 1995-2000. dnl Bruno Haible , 2000-2003. AC_PREREQ(2.50) AC_DEFUN([AM_NLS], [ AC_MSG_CHECKING([whether NLS is requested]) dnl Default is enabled NLS AC_ARG_ENABLE(nls, [ --disable-nls do not use Native Language Support], USE_NLS=$enableval, USE_NLS=yes) AC_MSG_RESULT($USE_NLS) AC_SUBST(USE_NLS) ]) dfarc-3.12/m4/po.m40000664000175000017510000004460612340110733010646 00000000000000# po.m4 serial 15 (gettext-0.17) dnl Copyright (C) 1995-2007 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl dnl This file can can be used in projects which are not available under dnl the GNU General Public License or the GNU Library General Public dnl License but which still want to provide support for the GNU gettext dnl functionality. dnl Please note that the actual code of the GNU gettext library is covered dnl by the GNU Library General Public License, and the rest of the GNU dnl gettext package package is covered by the GNU General Public License. dnl They are *not* in the public domain. dnl Authors: dnl Ulrich Drepper , 1995-2000. dnl Bruno Haible , 2000-2003. AC_PREREQ(2.50) dnl Checks for all prerequisites of the po subdirectory. AC_DEFUN([AM_PO_SUBDIRS], [ AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake AC_REQUIRE([AM_NLS])dnl dnl Release version of the gettext macros. This is used to ensure that dnl the gettext macros and po/Makefile.in.in are in sync. AC_SUBST([GETTEXT_MACRO_VERSION], [0.17]) dnl Perform the following tests also if --disable-nls has been given, dnl because they are needed for "make dist" to work. dnl Search for GNU msgfmt in the PATH. dnl The first test excludes Solaris msgfmt and early GNU msgfmt versions. dnl The second test excludes FreeBSD msgfmt. AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, [$ac_dir/$ac_word --statistics /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 && (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], :) AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) dnl Test whether it is GNU msgfmt >= 0.15. changequote(,)dnl case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; *) MSGFMT_015=$MSGFMT ;; esac changequote([,])dnl AC_SUBST([MSGFMT_015]) changequote(,)dnl case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; *) GMSGFMT_015=$GMSGFMT ;; esac changequote([,])dnl AC_SUBST([GMSGFMT_015]) dnl Search for GNU xgettext 0.12 or newer in the PATH. dnl The first test excludes Solaris xgettext and early GNU xgettext versions. dnl The second test excludes FreeBSD xgettext. AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 && (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], :) dnl Remove leftover from FreeBSD xgettext call. rm -f messages.po dnl Test whether it is GNU xgettext >= 0.15. changequote(,)dnl case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; *) XGETTEXT_015=$XGETTEXT ;; esac changequote([,])dnl AC_SUBST([XGETTEXT_015]) dnl Search for GNU msgmerge 0.11 or newer in the PATH. AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge, [$ac_dir/$ac_word --update -q /dev/null /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1], :) dnl Installation directories. dnl Autoconf >= 2.60 defines localedir. For older versions of autoconf, we dnl have to define it here, so that it can be used in po/Makefile. test -n "$localedir" || localedir='${datadir}/locale' AC_SUBST([localedir]) dnl Support for AM_XGETTEXT_OPTION. test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= AC_SUBST([XGETTEXT_EXTRA_OPTIONS]) AC_CONFIG_COMMANDS([po-directories], [[ for ac_file in $CONFIG_FILES; do # Support "outfile[:infile[:infile...]]" case "$ac_file" in *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; esac # PO directories have a Makefile.in generated from Makefile.in.in. case "$ac_file" in */Makefile.in) # Adjust a relative srcdir. ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` # In autoconf-2.13 it is called $ac_given_srcdir. # In autoconf-2.50 it is called $srcdir. test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" case "$ac_given_srcdir" in .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; /*) top_srcdir="$ac_given_srcdir" ;; *) top_srcdir="$ac_dots$ac_given_srcdir" ;; esac # Treat a directory as a PO directory if and only if it has a # POTFILES.in file. This allows packages to have multiple PO # directories under different names or in different locations. if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then rm -f "$ac_dir/POTFILES" test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" POMAKEFILEDEPS="POTFILES.in" # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend # on $ac_dir but don't depend on user-specified configuration # parameters. if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then # The LINGUAS file contains the set of available languages. if test -n "$OBSOLETE_ALL_LINGUAS"; then test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" fi ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` # Hide the ALL_LINGUAS assigment from automake < 1.5. eval 'ALL_LINGUAS''=$ALL_LINGUAS_' POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" else # The set of available languages was given in configure.in. # Hide the ALL_LINGUAS assigment from automake < 1.5. eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' fi # Compute POFILES # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) # Compute UPDATEPOFILES # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) # Compute DUMMYPOFILES # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) # Compute GMOFILES # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) case "$ac_given_srcdir" in .) srcdirpre= ;; *) srcdirpre='$(srcdir)/' ;; esac POFILES= UPDATEPOFILES= DUMMYPOFILES= GMOFILES= for lang in $ALL_LINGUAS; do POFILES="$POFILES $srcdirpre$lang.po" UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" DUMMYPOFILES="$DUMMYPOFILES $lang.nop" GMOFILES="$GMOFILES $srcdirpre$lang.gmo" done # CATALOGS depends on both $ac_dir and the user's LINGUAS # environment variable. INST_LINGUAS= if test -n "$ALL_LINGUAS"; then for presentlang in $ALL_LINGUAS; do useit=no if test "%UNSET%" != "$LINGUAS"; then desiredlanguages="$LINGUAS" else desiredlanguages="$ALL_LINGUAS" fi for desiredlang in $desiredlanguages; do # Use the presentlang catalog if desiredlang is # a. equal to presentlang, or # b. a variant of presentlang (because in this case, # presentlang can be used as a fallback for messages # which are not translated in the desiredlang catalog). case "$desiredlang" in "$presentlang"*) useit=yes;; esac done if test $useit = yes; then INST_LINGUAS="$INST_LINGUAS $presentlang" fi done fi CATALOGS= if test -n "$INST_LINGUAS"; then for lang in $INST_LINGUAS; do CATALOGS="$CATALOGS $lang.gmo" done fi test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do if test -f "$f"; then case "$f" in *.orig | *.bak | *~) ;; *) cat "$f" >> "$ac_dir/Makefile" ;; esac fi done fi ;; esac done]], [# Capture the value of obsolete ALL_LINGUAS because we need it to compute # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it # from automake < 1.5. eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' # Capture the value of LINGUAS because we need it to compute CATALOGS. LINGUAS="${LINGUAS-%UNSET%}" ]) ]) dnl Postprocesses a Makefile in a directory containing PO files. AC_DEFUN([AM_POSTPROCESS_PO_MAKEFILE], [ # When this code is run, in config.status, two variables have already been # set: # - OBSOLETE_ALL_LINGUAS is the value of LINGUAS set in configure.in, # - LINGUAS is the value of the environment variable LINGUAS at configure # time. changequote(,)dnl # Adjust a relative srcdir. ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` # In autoconf-2.13 it is called $ac_given_srcdir. # In autoconf-2.50 it is called $srcdir. test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" case "$ac_given_srcdir" in .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; /*) top_srcdir="$ac_given_srcdir" ;; *) top_srcdir="$ac_dots$ac_given_srcdir" ;; esac # Find a way to echo strings without interpreting backslash. if test "X`(echo '\t') 2>/dev/null`" = 'X\t'; then gt_echo='echo' else if test "X`(printf '%s\n' '\t') 2>/dev/null`" = 'X\t'; then gt_echo='printf %s\n' else echo_func () { cat < "$ac_file.tmp" if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then # Add dependencies that cannot be formulated as a simple suffix rule. for lang in $ALL_LINGUAS; do frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'` cat >> "$ac_file.tmp" < /dev/null; then # Add dependencies that cannot be formulated as a simple suffix rule. for lang in $ALL_LINGUAS; do frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'` cat >> "$ac_file.tmp" <> "$ac_file.tmp" < Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The GNU General Public License is a free, copyleft license for software and other kinds of works. The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others. For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it. For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions. Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users. Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free. The precise terms and conditions for copying, distribution and modification follow. TERMS AND CONDITIONS 0. Definitions. "This License" refers to version 3 of the GNU General Public License. "Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. "The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations. To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work. A "covered work" means either the unmodified Program or a work based on the Program. To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. 1. Source Code. The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work. A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work. The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. The Corresponding Source for a work in source code form is that same work. 2. Basic Permissions. All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. 3. Protecting Users' Legal Rights From Anti-Circumvention Law. No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. 4. Conveying Verbatim Copies. You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. 5. Conveying Modified Source Versions. You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: a) The work must carry prominent notices stating that you modified it, and giving a relevant date. b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to "keep intact all notices". c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. 6. Conveying Non-Source Forms. You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. "Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. 7. Additional Terms. "Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or d) Limiting the use for publicity purposes of names of licensors or authors of the material; or e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. 8. Termination. You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. 9. Acceptance Not Required for Having Copies. You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. 10. Automatic Licensing of Downstream Recipients. Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. 11. Patents. A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version". A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. 12. No Surrender of Others' Freedom. If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. 13. Use with the GNU Affero General Public License. Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such. 14. Revised Versions of this License. The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation. If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version. 15. Disclaimer of Warranty. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. Limitation of Liability. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 17. Interpretation of Sections 15 and 16. If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) 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 3 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, see . Also add information on how to contact you by electronic and paper mail. If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode: Copyright (C) This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an "about box". You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see . The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read . dfarc-3.12/COPYING.DFArc-2.00000664000175000017510000000277112340110733011711 00000000000000DFArc2 for MS Windows is shipped with the Dink Smallwood v1.08 package. Its source code is included in the v1.08 source code archive. The files from that archive do not include copyright and license notices - even the ones from the original DFArc source code were removed (see COPYING.DFArc). The following is from license.txt and applies to all the source archive. *** Dink Smallwood Source License Information *** This software is provided "as is" without express or implied warranties. You may freely use, modify and distribute this source provided that the copyright text below is included in the resulting source code, for example: "Portions Copyright (C) Seth A. Robinson, 1997-2003 You may use this source in personal and commercial products, you are not required to release the source code. Please note that sharing this source does not in any way relinquish interest or forfeit any rights enjoyed by Robinson Technologies and Seth A. Robinson concerning the name Dink Smallwood and related media includeding graphics, sounds, music, scripts and map data. (hereafter referred to as "Dink Smallwood Media"). Repackaging or distributing the Dink Smallwood Media in a modified format requires permission from Seth A. Robinson. Please consult the license included with the Dink Smallwood full version distribution for more information. Fastfile.*, ffcreate.*, dsutil.* and ddutil.* are copyrighted by the Microsoft Corporation and excluded from the above license. -Seth A. Robinson (seth@rtsoft.com) www.rtsoft.com dfarc-3.12/autotools/0002775000175000017510000000000012420023266011552 500000000000000dfarc-3.12/autotools/install-sh0000755000175000017510000003325512302342414013500 00000000000000#!/bin/sh # install - install a program, script, or datafile scriptversion=2011-11-20.07; # UTC # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # 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 # X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- # TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # # Except as contained in this notice, the name of the X Consortium shall not # be used in advertising or otherwise to promote the sale, use or other deal- # ings in this Software without prior written authorization from the X Consor- # tium. # # # FSF changes to this file are in the public domain. # # Calling this script install-sh is preferred over install.sh, to prevent # 'make' implicit rules from creating a file called install from it # when there is no Makefile. # # This script is compatible with the BSD install script, but was written # from scratch. nl=' ' IFS=" "" $nl" # set DOITPROG to echo to test this script # Don't use :- since 4.3BSD and earlier shells don't like it. doit=${DOITPROG-} if test -z "$doit"; then doit_exec=exec else doit_exec=$doit fi # Put in absolute file names if you don't have them in your path; # or use environment vars. chgrpprog=${CHGRPPROG-chgrp} chmodprog=${CHMODPROG-chmod} chownprog=${CHOWNPROG-chown} cmpprog=${CMPPROG-cmp} cpprog=${CPPROG-cp} mkdirprog=${MKDIRPROG-mkdir} mvprog=${MVPROG-mv} rmprog=${RMPROG-rm} stripprog=${STRIPPROG-strip} posix_glob='?' initialize_posix_glob=' test "$posix_glob" != "?" || { if (set -f) 2>/dev/null; then posix_glob= else posix_glob=: fi } ' posix_mkdir= # Desired mode of installed file. mode=0755 chgrpcmd= chmodcmd=$chmodprog chowncmd= mvcmd=$mvprog rmcmd="$rmprog -f" stripcmd= src= dst= dir_arg= dst_arg= copy_on_change=false no_target_directory= usage="\ Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE or: $0 [OPTION]... SRCFILES... DIRECTORY or: $0 [OPTION]... -t DIRECTORY SRCFILES... or: $0 [OPTION]... -d DIRECTORIES... In the 1st form, copy SRCFILE to DSTFILE. In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. In the 4th, create DIRECTORIES. Options: --help display this help and exit. --version display version info and exit. -c (ignored) -C install only if different (preserve the last data modification time) -d create directories instead of installing files. -g GROUP $chgrpprog installed files to GROUP. -m MODE $chmodprog installed files to MODE. -o USER $chownprog installed files to USER. -s $stripprog installed files. -t DIRECTORY install into DIRECTORY. -T report an error if DSTFILE is a directory. Environment variables override the default commands: CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG " while test $# -ne 0; do case $1 in -c) ;; -C) copy_on_change=true;; -d) dir_arg=true;; -g) chgrpcmd="$chgrpprog $2" shift;; --help) echo "$usage"; exit $?;; -m) mode=$2 case $mode in *' '* | *' '* | *' '* | *'*'* | *'?'* | *'['*) echo "$0: invalid mode: $mode" >&2 exit 1;; esac shift;; -o) chowncmd="$chownprog $2" shift;; -s) stripcmd=$stripprog;; -t) dst_arg=$2 # Protect names problematic for 'test' and other utilities. case $dst_arg in -* | [=\(\)!]) dst_arg=./$dst_arg;; esac shift;; -T) no_target_directory=true;; --version) echo "$0 $scriptversion"; exit $?;; --) shift break;; -*) echo "$0: invalid option: $1" >&2 exit 1;; *) break;; esac shift done if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then # When -d is used, all remaining arguments are directories to create. # When -t is used, the destination is already specified. # Otherwise, the last argument is the destination. Remove it from $@. for arg do if test -n "$dst_arg"; then # $@ is not empty: it contains at least $arg. set fnord "$@" "$dst_arg" shift # fnord fi shift # arg dst_arg=$arg # Protect names problematic for 'test' and other utilities. case $dst_arg in -* | [=\(\)!]) dst_arg=./$dst_arg;; esac done fi if test $# -eq 0; then if test -z "$dir_arg"; then echo "$0: no input file specified." >&2 exit 1 fi # It's OK to call 'install-sh -d' without argument. # This can happen when creating conditional directories. exit 0 fi if test -z "$dir_arg"; then do_exit='(exit $ret); exit $ret' trap "ret=129; $do_exit" 1 trap "ret=130; $do_exit" 2 trap "ret=141; $do_exit" 13 trap "ret=143; $do_exit" 15 # Set umask so as not to create temps with too-generous modes. # However, 'strip' requires both read and write access to temps. case $mode in # Optimize common cases. *644) cp_umask=133;; *755) cp_umask=22;; *[0-7]) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw='% 200' fi cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; *) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw=,u+rw fi cp_umask=$mode$u_plus_rw;; esac fi for src do # Protect names problematic for 'test' and other utilities. case $src in -* | [=\(\)!]) src=./$src;; esac if test -n "$dir_arg"; then dst=$src dstdir=$dst test -d "$dstdir" dstdir_status=$? else # Waiting for this to be detected by the "$cpprog $src $dsttmp" command # might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. if test ! -f "$src" && test ! -d "$src"; then echo "$0: $src does not exist." >&2 exit 1 fi if test -z "$dst_arg"; then echo "$0: no destination specified." >&2 exit 1 fi dst=$dst_arg # If destination is a directory, append the input filename; won't work # if double slashes aren't ignored. if test -d "$dst"; then if test -n "$no_target_directory"; then echo "$0: $dst_arg: Is a directory" >&2 exit 1 fi dstdir=$dst dst=$dstdir/`basename "$src"` dstdir_status=0 else # Prefer dirname, but fall back on a substitute if dirname fails. dstdir=` (dirname "$dst") 2>/dev/null || expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$dst" : 'X\(//\)[^/]' \| \ X"$dst" : 'X\(//\)$' \| \ X"$dst" : 'X\(/\)' \| . 2>/dev/null || echo X"$dst" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q' ` test -d "$dstdir" dstdir_status=$? fi fi obsolete_mkdir_used=false if test $dstdir_status != 0; then case $posix_mkdir in '') # Create intermediate dirs using mode 755 as modified by the umask. # This is like FreeBSD 'install' as of 1997-10-28. umask=`umask` case $stripcmd.$umask in # Optimize common cases. *[2367][2367]) mkdir_umask=$umask;; .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; *[0-7]) mkdir_umask=`expr $umask + 22 \ - $umask % 100 % 40 + $umask % 20 \ - $umask % 10 % 4 + $umask % 2 `;; *) mkdir_umask=$umask,go-w;; esac # With -d, create the new directory with the user-specified mode. # Otherwise, rely on $mkdir_umask. if test -n "$dir_arg"; then mkdir_mode=-m$mode else mkdir_mode= fi posix_mkdir=false case $umask in *[123567][0-7][0-7]) # POSIX mkdir -p sets u+wx bits regardless of umask, which # is incompatible with FreeBSD 'install' when (umask & 300) != 0. ;; *) tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 if (umask $mkdir_umask && exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 then if test -z "$dir_arg" || { # Check for POSIX incompatibilities with -m. # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or # other-writable bit of parent directory when it shouldn't. # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. ls_ld_tmpdir=`ls -ld "$tmpdir"` case $ls_ld_tmpdir in d????-?r-*) different_mode=700;; d????-?--*) different_mode=755;; *) false;; esac && $mkdirprog -m$different_mode -p -- "$tmpdir" && { ls_ld_tmpdir_1=`ls -ld "$tmpdir"` test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" } } then posix_mkdir=: fi rmdir "$tmpdir/d" "$tmpdir" else # Remove any dirs left behind by ancient mkdir implementations. rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null fi trap '' 0;; esac;; esac if $posix_mkdir && ( umask $mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" ) then : else # The umask is ridiculous, or mkdir does not conform to POSIX, # or it failed possibly due to a race condition. Create the # directory the slow way, step by step, checking for races as we go. case $dstdir in /*) prefix='/';; [-=\(\)!]*) prefix='./';; *) prefix='';; esac eval "$initialize_posix_glob" oIFS=$IFS IFS=/ $posix_glob set -f set fnord $dstdir shift $posix_glob set +f IFS=$oIFS prefixes= for d do test X"$d" = X && continue prefix=$prefix$d if test -d "$prefix"; then prefixes= else if $posix_mkdir; then (umask=$mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break # Don't fail if two instances are running concurrently. test -d "$prefix" || exit 1 else case $prefix in *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; *) qprefix=$prefix;; esac prefixes="$prefixes '$qprefix'" fi fi prefix=$prefix/ done if test -n "$prefixes"; then # Don't fail if two instances are running concurrently. (umask $mkdir_umask && eval "\$doit_exec \$mkdirprog $prefixes") || test -d "$dstdir" || exit 1 obsolete_mkdir_used=true fi fi fi if test -n "$dir_arg"; then { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 else # Make a couple of temp file names in the proper directory. dsttmp=$dstdir/_inst.$$_ rmtmp=$dstdir/_rm.$$_ # Trap to clean up those temp files at exit. trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 # Copy the file name to the temp name. (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && # and set any options; do chmod last to preserve setuid bits. # # If any of these fail, we abort the whole thing. If we want to # ignore errors from any of these, just make sure not to ignore # errors from the above "$doit $cpprog $src $dsttmp" command. # { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } && { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && # If -C, don't bother to copy if it wouldn't change the file. if $copy_on_change && old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && eval "$initialize_posix_glob" && $posix_glob set -f && set X $old && old=:$2:$4:$5:$6 && set X $new && new=:$2:$4:$5:$6 && $posix_glob set +f && test "$old" = "$new" && $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 then rm -f "$dsttmp" else # Rename the file to the real destination. $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || # The rename failed, perhaps because mv can't rename something else # to itself, or perhaps because mv is so ancient that it does not # support -f. { # Now remove or move aside any old file at destination location. # We try this two ways since rm can't unlink itself on some # systems and the destination file might be busy for other # reasons. In this case, the final cleanup might fail but the new # file should still install successfully. { test ! -f "$dst" || $doit $rmcmd -f "$dst" 2>/dev/null || { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } } || { echo "$0: cannot unlink or rename $dst" >&2 (exit 1); exit 1 } } && # Now rename the file to the real destination. $doit $mvcmd "$dsttmp" "$dst" } fi || exit 1 trap '' 0 fi done # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: dfarc-3.12/autotools/config.sub0000755000175000017510000010577512404676534013506 00000000000000#! /bin/sh # Configuration validation subroutine script. # Copyright 1992-2014 Free Software Foundation, Inc. timestamp='2014-09-11' # This file 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. # # 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, see . # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that # program. This Exception is an additional permission under section 7 # of the GNU General Public License, version 3 ("GPLv3"). # Please send patches with a ChangeLog entry to config-patches@gnu.org. # # Configuration subroutine to validate and canonicalize a configuration type. # Supply the specified configuration type as an argument. # If it is invalid, we print an error message on stderr and exit with code 1. # Otherwise, we print the canonical config type on stdout and succeed. # You can get the latest version of this script from: # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD # This file is supposed to be the same for all GNU packages # and recognize all the CPU types, system types and aliases # that are meaningful with *any* GNU software. # Each package is responsible for reporting which valid configurations # it does not support. The user should be able to distinguish # a failure to support a valid configuration from a meaningless # configuration. # The goal of this file is to map all the various variations of a given # machine specification into a single specification in the form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM # or in some cases, the newer four-part form: # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM # It is wrong to echo any other type of specification. me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] CPU-MFR-OPSYS $0 [OPTION] ALIAS Canonicalize a configuration name. Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.sub ($timestamp) Copyright 1992-2014 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit ;; --version | -v ) echo "$version" ; exit ;; --help | --h* | -h ) echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" exit 1 ;; *local*) # First pass through any local machine types. echo $1 exit ;; * ) break ;; esac done case $# in 0) echo "$me: missing argument$help" >&2 exit 1;; 1) ;; *) echo "$me: too many arguments$help" >&2 exit 1;; esac # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). # Here we must recognize all the valid KERNEL-OS combinations. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ knetbsd*-gnu* | netbsd*-gnu* | \ kopensolaris*-gnu* | \ storm-chaos* | os2-emx* | rtmk-nova*) os=-$maybe_os basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` ;; android-linux) os=-linux-android basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown ;; *) basic_machine=`echo $1 | sed 's/-[^-]*$//'` if [ $basic_machine != $1 ] then os=`echo $1 | sed 's/.*-/-/'` else os=; fi ;; esac ### Let's recognize common machines as not being operating systems so ### that things like config.sub decstation-3100 work. We also ### recognize some manufacturers as not being operating systems, so we ### can provide default operating systems below. case $os in -sun*os*) # Prevent following clause from handling this invalid input. ;; -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ -apple | -axis | -knuth | -cray | -microblaze*) os= basic_machine=$1 ;; -bluegene*) os=-cnk ;; -sim | -cisco | -oki | -wec | -winbond) os= basic_machine=$1 ;; -scout) ;; -wrs) os=-vxworks basic_machine=$1 ;; -chorusos*) os=-chorusos basic_machine=$1 ;; -chorusrdb) os=-chorusrdb basic_machine=$1 ;; -hiux*) os=-hiuxwe2 ;; -sco6) os=-sco5v6 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco5) os=-sco3.2v5 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco4) os=-sco3.2v4 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco3.2.[4-9]*) os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco3.2v[4-9]*) # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco5v6*) # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco*) os=-sco3.2v2 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -udk*) basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -isc) os=-isc2.2 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -clix*) basic_machine=clipper-intergraph ;; -isc*) basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -lynx*178) os=-lynxos178 ;; -lynx*5) os=-lynxos5 ;; -lynx*) os=-lynxos ;; -ptx*) basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` ;; -windowsnt*) os=`echo $os | sed -e 's/windowsnt/winnt/'` ;; -psos*) os=-psos ;; -mint | -mint[0-9]*) basic_machine=m68k-atari os=-mint ;; esac # Decode aliases for certain CPU-COMPANY combinations. case $basic_machine in # Recognize the basic CPU types without company name. # Some are omitted here because they have special meanings below. 1750a | 580 \ | a29k \ | aarch64 | aarch64_be \ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | am33_2.0 \ | arc | arceb \ | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \ | avr | avr32 \ | be32 | be64 \ | bfin \ | c4x | c8051 | clipper \ | d10v | d30v | dlx | dsp16xx \ | epiphany \ | fido | fr30 | frv \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | hexagon \ | i370 | i860 | i960 | ia64 \ | ip2k | iq2000 \ | k1om \ | le32 | le64 \ | lm32 \ | m32c | m32r | m32rle | m68000 | m68k | m88k \ | maxq | mb | microblaze | microblazeel | mcore | mep | metag \ | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ | mips64octeon | mips64octeonel \ | mips64orion | mips64orionel \ | mips64r5900 | mips64r5900el \ | mips64vr | mips64vrel \ | mips64vr4100 | mips64vr4100el \ | mips64vr4300 | mips64vr4300el \ | mips64vr5000 | mips64vr5000el \ | mips64vr5900 | mips64vr5900el \ | mipsisa32 | mipsisa32el \ | mipsisa32r2 | mipsisa32r2el \ | mipsisa32r6 | mipsisa32r6el \ | mipsisa64 | mipsisa64el \ | mipsisa64r2 | mipsisa64r2el \ | mipsisa64r6 | mipsisa64r6el \ | mipsisa64sb1 | mipsisa64sb1el \ | mipsisa64sr71k | mipsisa64sr71kel \ | mipsr5900 | mipsr5900el \ | mipstx39 | mipstx39el \ | mn10200 | mn10300 \ | moxie \ | mt \ | msp430 \ | nds32 | nds32le | nds32be \ | nios | nios2 | nios2eb | nios2el \ | ns16k | ns32k \ | open8 | or1k | or1knd | or32 \ | pdp10 | pdp11 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle \ | pyramid \ | riscv32 | riscv64 \ | rl78 | rx \ | score \ | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ | sh64 | sh64le \ | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ | spu \ | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ | ubicom32 \ | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \ | we32k \ | x86 | xc16x | xstormy16 | xtensa \ | z8k | z80) basic_machine=$basic_machine-unknown ;; c54x) basic_machine=tic54x-unknown ;; c55x) basic_machine=tic55x-unknown ;; c6x) basic_machine=tic6x-unknown ;; m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip) basic_machine=$basic_machine-unknown os=-none ;; m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) ;; ms1) basic_machine=mt-unknown ;; strongarm | thumb | xscale) basic_machine=arm-unknown ;; xgate) basic_machine=$basic_machine-unknown os=-none ;; xscaleeb) basic_machine=armeb-unknown ;; xscaleel) basic_machine=armel-unknown ;; # We use `pc' rather than `unknown' # because (1) that's what they normally are, and # (2) the word "unknown" tends to confuse beginning users. i*86 | x86_64) basic_machine=$basic_machine-pc ;; # Object if more than one company name word. *-*-*) echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 exit 1 ;; # Recognize the basic CPU types with company name. 580-* \ | a29k-* \ | aarch64-* | aarch64_be-* \ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | avr-* | avr32-* \ | be32-* | be64-* \ | bfin-* | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* \ | c8051-* | clipper-* | craynv-* | cydra-* \ | d10v-* | d30v-* | dlx-* \ | elxsi-* \ | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ | h8300-* | h8500-* \ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | hexagon-* \ | i*86-* | i860-* | i960-* | ia64-* \ | ip2k-* | iq2000-* \ | k1om-* \ | le32-* | le64-* \ | lm32-* \ | m32c-* | m32r-* | m32rle-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ | microblaze-* | microblazeel-* \ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | mips16-* \ | mips64-* | mips64el-* \ | mips64octeon-* | mips64octeonel-* \ | mips64orion-* | mips64orionel-* \ | mips64r5900-* | mips64r5900el-* \ | mips64vr-* | mips64vrel-* \ | mips64vr4100-* | mips64vr4100el-* \ | mips64vr4300-* | mips64vr4300el-* \ | mips64vr5000-* | mips64vr5000el-* \ | mips64vr5900-* | mips64vr5900el-* \ | mipsisa32-* | mipsisa32el-* \ | mipsisa32r2-* | mipsisa32r2el-* \ | mipsisa32r6-* | mipsisa32r6el-* \ | mipsisa64-* | mipsisa64el-* \ | mipsisa64r2-* | mipsisa64r2el-* \ | mipsisa64r6-* | mipsisa64r6el-* \ | mipsisa64sb1-* | mipsisa64sb1el-* \ | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | mipsr5900-* | mipsr5900el-* \ | mipstx39-* | mipstx39el-* \ | mmix-* \ | mt-* \ | msp430-* \ | nds32-* | nds32le-* | nds32be-* \ | nios-* | nios2-* | nios2eb-* | nios2el-* \ | none-* | np1-* | ns16k-* | ns32k-* \ | open8-* \ | or1k*-* \ | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ | pyramid-* \ | rl78-* | romp-* | rs6000-* | rx-* \ | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ | sparclite-* \ | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \ | tahoe-* \ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | tile*-* \ | tron-* \ | ubicom32-* \ | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \ | vax-* \ | we32k-* \ | x86-* | x86_64-* | xc16x-* | xps100-* \ | xstormy16-* | xtensa*-* \ | ymp-* \ | z8k-* | z80-*) ;; # Recognize the basic CPU types without company name, with glob match. xtensa*) basic_machine=$basic_machine-unknown ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS. 386bsd) basic_machine=i386-unknown os=-bsd ;; 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) basic_machine=m68000-att ;; 3b*) basic_machine=we32k-att ;; a29khif) basic_machine=a29k-amd os=-udi ;; abacus) basic_machine=abacus-unknown ;; adobe68k) basic_machine=m68010-adobe os=-scout ;; alliant | fx80) basic_machine=fx80-alliant ;; altos | altos3068) basic_machine=m68k-altos ;; am29k) basic_machine=a29k-none os=-bsd ;; amd64) basic_machine=x86_64-pc ;; amd64-*) basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` ;; amdahl) basic_machine=580-amdahl os=-sysv ;; amiga | amiga-*) basic_machine=m68k-unknown ;; amigaos | amigados) basic_machine=m68k-unknown os=-amigaos ;; amigaunix | amix) basic_machine=m68k-unknown os=-sysv4 ;; apollo68) basic_machine=m68k-apollo os=-sysv ;; apollo68bsd) basic_machine=m68k-apollo os=-bsd ;; aros) basic_machine=i386-pc os=-aros ;; aux) basic_machine=m68k-apple os=-aux ;; balance) basic_machine=ns32k-sequent os=-dynix ;; blackfin) basic_machine=bfin-unknown os=-linux ;; blackfin-*) basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` os=-linux ;; bluegene*) basic_machine=powerpc-ibm os=-cnk ;; c54x-*) basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'` ;; c55x-*) basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'` ;; c6x-*) basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'` ;; c90) basic_machine=c90-cray os=-unicos ;; cegcc) basic_machine=arm-unknown os=-cegcc ;; convex-c1) basic_machine=c1-convex os=-bsd ;; convex-c2) basic_machine=c2-convex os=-bsd ;; convex-c32) basic_machine=c32-convex os=-bsd ;; convex-c34) basic_machine=c34-convex os=-bsd ;; convex-c38) basic_machine=c38-convex os=-bsd ;; cray | j90) basic_machine=j90-cray os=-unicos ;; craynv) basic_machine=craynv-cray os=-unicosmp ;; cr16 | cr16-*) basic_machine=cr16-unknown os=-elf ;; crds | unos) basic_machine=m68k-crds ;; crisv32 | crisv32-* | etraxfs*) basic_machine=crisv32-axis ;; cris | cris-* | etrax*) basic_machine=cris-axis ;; crx) basic_machine=crx-unknown os=-elf ;; da30 | da30-*) basic_machine=m68k-da30 ;; decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) basic_machine=mips-dec ;; decsystem10* | dec10*) basic_machine=pdp10-dec os=-tops10 ;; decsystem20* | dec20*) basic_machine=pdp10-dec os=-tops20 ;; delta | 3300 | motorola-3300 | motorola-delta \ | 3300-motorola | delta-motorola) basic_machine=m68k-motorola ;; delta88) basic_machine=m88k-motorola os=-sysv3 ;; dicos) basic_machine=i686-pc os=-dicos ;; djgpp) basic_machine=i586-pc os=-msdosdjgpp ;; dpx20 | dpx20-*) basic_machine=rs6000-bull os=-bosx ;; dpx2* | dpx2*-bull) basic_machine=m68k-bull os=-sysv3 ;; ebmon29k) basic_machine=a29k-amd os=-ebmon ;; elxsi) basic_machine=elxsi-elxsi os=-bsd ;; encore | umax | mmax) basic_machine=ns32k-encore ;; es1800 | OSE68k | ose68k | ose | OSE) basic_machine=m68k-ericsson os=-ose ;; fx2800) basic_machine=i860-alliant ;; genix) basic_machine=ns32k-ns ;; gmicro) basic_machine=tron-gmicro os=-sysv ;; go32) basic_machine=i386-pc os=-go32 ;; h3050r* | hiux*) basic_machine=hppa1.1-hitachi os=-hiuxwe2 ;; h8300hms) basic_machine=h8300-hitachi os=-hms ;; h8300xray) basic_machine=h8300-hitachi os=-xray ;; h8500hms) basic_machine=h8500-hitachi os=-hms ;; harris) basic_machine=m88k-harris os=-sysv3 ;; hp300-*) basic_machine=m68k-hp ;; hp300bsd) basic_machine=m68k-hp os=-bsd ;; hp300hpux) basic_machine=m68k-hp os=-hpux ;; hp3k9[0-9][0-9] | hp9[0-9][0-9]) basic_machine=hppa1.0-hp ;; hp9k2[0-9][0-9] | hp9k31[0-9]) basic_machine=m68000-hp ;; hp9k3[2-9][0-9]) basic_machine=m68k-hp ;; hp9k6[0-9][0-9] | hp6[0-9][0-9]) basic_machine=hppa1.0-hp ;; hp9k7[0-79][0-9] | hp7[0-79][0-9]) basic_machine=hppa1.1-hp ;; hp9k78[0-9] | hp78[0-9]) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[0-9][13679] | hp8[0-9][13679]) basic_machine=hppa1.1-hp ;; hp9k8[0-9][0-9] | hp8[0-9][0-9]) basic_machine=hppa1.0-hp ;; hppa-next) os=-nextstep3 ;; hppaosf) basic_machine=hppa1.1-hp os=-osf ;; hppro) basic_machine=hppa1.1-hp os=-proelf ;; i370-ibm* | ibm*) basic_machine=i370-ibm ;; i*86v32) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv32 ;; i*86v4*) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv4 ;; i*86v) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv ;; i*86sol2) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-solaris2 ;; i386mach) basic_machine=i386-mach os=-mach ;; i386-vsta | vsta) basic_machine=i386-unknown os=-vsta ;; iris | iris4d) basic_machine=mips-sgi case $os in -irix*) ;; *) os=-irix4 ;; esac ;; isi68 | isi) basic_machine=m68k-isi os=-sysv ;; m68knommu) basic_machine=m68k-unknown os=-linux ;; m68knommu-*) basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` os=-linux ;; m88k-omron*) basic_machine=m88k-omron ;; magnum | m3230) basic_machine=mips-mips os=-sysv ;; merlin) basic_machine=ns32k-utek os=-sysv ;; microblaze*) basic_machine=microblaze-xilinx ;; mingw64) basic_machine=x86_64-pc os=-mingw64 ;; mingw32) basic_machine=i686-pc os=-mingw32 ;; mingw32ce) basic_machine=arm-unknown os=-mingw32ce ;; miniframe) basic_machine=m68000-convergent ;; *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) basic_machine=m68k-atari os=-mint ;; mips3*-*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` ;; mips3*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown ;; monitor) basic_machine=m68k-rom68k os=-coff ;; morphos) basic_machine=powerpc-unknown os=-morphos ;; moxiebox) basic_machine=moxie-unknown os=-moxiebox ;; msdos) basic_machine=i386-pc os=-msdos ;; ms1-*) basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` ;; msys) basic_machine=i686-pc os=-msys ;; mvs) basic_machine=i370-ibm os=-mvs ;; nacl) basic_machine=le32-unknown os=-nacl ;; ncr3000) basic_machine=i486-ncr os=-sysv4 ;; netbsd386) basic_machine=i386-unknown os=-netbsd ;; netwinder) basic_machine=armv4l-rebel os=-linux ;; news | news700 | news800 | news900) basic_machine=m68k-sony os=-newsos ;; news1000) basic_machine=m68030-sony os=-newsos ;; news-3600 | risc-news) basic_machine=mips-sony os=-newsos ;; necv70) basic_machine=v70-nec os=-sysv ;; next | m*-next ) basic_machine=m68k-next case $os in -nextstep* ) ;; -ns2*) os=-nextstep2 ;; *) os=-nextstep3 ;; esac ;; nh3000) basic_machine=m68k-harris os=-cxux ;; nh[45]000) basic_machine=m88k-harris os=-cxux ;; nindy960) basic_machine=i960-intel os=-nindy ;; mon960) basic_machine=i960-intel os=-mon960 ;; nonstopux) basic_machine=mips-compaq os=-nonstopux ;; np1) basic_machine=np1-gould ;; neo-tandem) basic_machine=neo-tandem ;; nse-tandem) basic_machine=nse-tandem ;; nsr-tandem) basic_machine=nsr-tandem ;; op50n-* | op60c-*) basic_machine=hppa1.1-oki os=-proelf ;; openrisc | openrisc-*) basic_machine=or32-unknown ;; os400) basic_machine=powerpc-ibm os=-os400 ;; OSE68000 | ose68000) basic_machine=m68000-ericsson os=-ose ;; os68k) basic_machine=m68k-none os=-os68k ;; pa-hitachi) basic_machine=hppa1.1-hitachi os=-hiuxwe2 ;; paragon) basic_machine=i860-intel os=-osf ;; parisc) basic_machine=hppa-unknown os=-linux ;; parisc-*) basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'` os=-linux ;; pbd) basic_machine=sparc-tti ;; pbb) basic_machine=m68k-tti ;; pc532 | pc532-*) basic_machine=ns32k-pc532 ;; pc98) basic_machine=i386-pc ;; pc98-*) basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentium | p5 | k5 | k6 | nexgen | viac3) basic_machine=i586-pc ;; pentiumpro | p6 | 6x86 | athlon | athlon_*) basic_machine=i686-pc ;; pentiumii | pentium2 | pentiumiii | pentium3) basic_machine=i686-pc ;; pentium4) basic_machine=i786-pc ;; pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentiumpro-* | p6-* | 6x86-* | athlon-*) basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentium4-*) basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pn) basic_machine=pn-gould ;; power) basic_machine=power-ibm ;; ppc | ppcbe) basic_machine=powerpc-unknown ;; ppc-* | ppcbe-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppcle | powerpclittle | ppc-le | powerpc-little) basic_machine=powerpcle-unknown ;; ppcle-* | powerpclittle-*) basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppc64) basic_machine=powerpc64-unknown ;; ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppc64le | powerpc64little | ppc64-le | powerpc64-little) basic_machine=powerpc64le-unknown ;; ppc64le-* | powerpc64little-*) basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ps2) basic_machine=i386-ibm ;; pw32) basic_machine=i586-unknown os=-pw32 ;; rdos | rdos64) basic_machine=x86_64-pc os=-rdos ;; rdos32) basic_machine=i386-pc os=-rdos ;; rom68k) basic_machine=m68k-rom68k os=-coff ;; rm[46]00) basic_machine=mips-siemens ;; rtpc | rtpc-*) basic_machine=romp-ibm ;; s390 | s390-*) basic_machine=s390-ibm ;; s390x | s390x-*) basic_machine=s390x-ibm ;; sa29200) basic_machine=a29k-amd os=-udi ;; sb1) basic_machine=mipsisa64sb1-unknown ;; sb1el) basic_machine=mipsisa64sb1el-unknown ;; sde) basic_machine=mipsisa32-sde os=-elf ;; sei) basic_machine=mips-sei os=-seiux ;; sequent) basic_machine=i386-sequent ;; sh) basic_machine=sh-hitachi os=-hms ;; sh5el) basic_machine=sh5le-unknown ;; sh64) basic_machine=sh64-unknown ;; sparclite-wrs | simso-wrs) basic_machine=sparclite-wrs os=-vxworks ;; sps7) basic_machine=m68k-bull os=-sysv2 ;; spur) basic_machine=spur-unknown ;; st2000) basic_machine=m68k-tandem ;; stratus) basic_machine=i860-stratus os=-sysv4 ;; strongarm-* | thumb-*) basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'` ;; sun2) basic_machine=m68000-sun ;; sun2os3) basic_machine=m68000-sun os=-sunos3 ;; sun2os4) basic_machine=m68000-sun os=-sunos4 ;; sun3os3) basic_machine=m68k-sun os=-sunos3 ;; sun3os4) basic_machine=m68k-sun os=-sunos4 ;; sun4os3) basic_machine=sparc-sun os=-sunos3 ;; sun4os4) basic_machine=sparc-sun os=-sunos4 ;; sun4sol2) basic_machine=sparc-sun os=-solaris2 ;; sun3 | sun3-*) basic_machine=m68k-sun ;; sun4) basic_machine=sparc-sun ;; sun386 | sun386i | roadrunner) basic_machine=i386-sun ;; sv1) basic_machine=sv1-cray os=-unicos ;; symmetry) basic_machine=i386-sequent os=-dynix ;; t3e) basic_machine=alphaev5-cray os=-unicos ;; t90) basic_machine=t90-cray os=-unicos ;; tile*) basic_machine=$basic_machine-unknown os=-linux-gnu ;; tx39) basic_machine=mipstx39-unknown ;; tx39el) basic_machine=mipstx39el-unknown ;; toad1) basic_machine=pdp10-xkl os=-tops20 ;; tower | tower-32) basic_machine=m68k-ncr ;; tpf) basic_machine=s390x-ibm os=-tpf ;; udi29k) basic_machine=a29k-amd os=-udi ;; ultra3) basic_machine=a29k-nyu os=-sym1 ;; v810 | necv810) basic_machine=v810-nec os=-none ;; vaxv) basic_machine=vax-dec os=-sysv ;; vms) basic_machine=vax-dec os=-vms ;; vpp*|vx|vx-*) basic_machine=f301-fujitsu ;; vxworks960) basic_machine=i960-wrs os=-vxworks ;; vxworks68) basic_machine=m68k-wrs os=-vxworks ;; vxworks29k) basic_machine=a29k-wrs os=-vxworks ;; w65*) basic_machine=w65-wdc os=-none ;; w89k-*) basic_machine=hppa1.1-winbond os=-proelf ;; xbox) basic_machine=i686-pc os=-mingw32 ;; xps | xps100) basic_machine=xps100-honeywell ;; xscale-* | xscalee[bl]-*) basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'` ;; ymp) basic_machine=ymp-cray os=-unicos ;; z8k-*-coff) basic_machine=z8k-unknown os=-sim ;; z80-*-coff) basic_machine=z80-unknown os=-sim ;; none) basic_machine=none-none os=-none ;; # Here we handle the default manufacturer of certain CPU types. It is in # some cases the only manufacturer, in others, it is the most popular. w89k) basic_machine=hppa1.1-winbond ;; op50n) basic_machine=hppa1.1-oki ;; op60c) basic_machine=hppa1.1-oki ;; romp) basic_machine=romp-ibm ;; mmix) basic_machine=mmix-knuth ;; rs6000) basic_machine=rs6000-ibm ;; vax) basic_machine=vax-dec ;; pdp10) # there are many clones, so DEC is not a safe bet basic_machine=pdp10-unknown ;; pdp11) basic_machine=pdp11-dec ;; we32k) basic_machine=we32k-att ;; sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele) basic_machine=sh-unknown ;; sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) basic_machine=sparc-sun ;; cydra) basic_machine=cydra-cydrome ;; orion) basic_machine=orion-highlevel ;; orion105) basic_machine=clipper-highlevel ;; mac | mpw | mac-mpw) basic_machine=m68k-apple ;; pmac | pmac-mpw) basic_machine=powerpc-apple ;; *-unknown) # Make sure to match an already-canonicalized machine name. ;; *) echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 exit 1 ;; esac # Here we canonicalize certain aliases for manufacturers. case $basic_machine in *-digital*) basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` ;; *-commodore*) basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` ;; *) ;; esac # Decode manufacturer-specific aliases for certain operating systems. if [ x"$os" != x"" ] then case $os in # First match some system type aliases # that might get confused with valid system types. # -solaris* is a basic system type, with this one exception. -auroraux) os=-auroraux ;; -solaris1 | -solaris1.*) os=`echo $os | sed -e 's|solaris1|sunos4|'` ;; -solaris) os=-solaris2 ;; -svr4*) os=-sysv4 ;; -unixware*) os=-sysv4.2uw ;; -gnu/linux*) os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` ;; # First accept the basic system types. # The portable systems comes first. # Each alternative MUST END IN A *, to match a version number. # -sysv* is not here because it comes later, after sysvr4. -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ | -sym* | -kopensolaris* | -plan9* \ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ | -aos* | -aros* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ | -bitrig* | -openbsd* | -solidbsd* \ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | -chorusos* | -chorusrdb* | -cegcc* \ | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ | -linux-newlib* | -linux-musl* | -linux-uclibc* \ | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* | -tirtos*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) case $basic_machine in x86-* | i*86-*) ;; *) os=-nto$os ;; esac ;; -nto-qnx*) ;; -nto*) os=`echo $os | sed -e 's|nto|nto-qnx|'` ;; -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) ;; -mac*) os=`echo $os | sed -e 's|mac|macos|'` ;; -linux-dietlibc) os=-linux-dietlibc ;; -linux*) os=`echo $os | sed -e 's|linux|linux-gnu|'` ;; -sunos5*) os=`echo $os | sed -e 's|sunos5|solaris2|'` ;; -sunos6*) os=`echo $os | sed -e 's|sunos6|solaris3|'` ;; -opened*) os=-openedition ;; -os400*) os=-os400 ;; -wince*) os=-wince ;; -osfrose*) os=-osfrose ;; -osf*) os=-osf ;; -utek*) os=-bsd ;; -dynix*) os=-bsd ;; -acis*) os=-aos ;; -atheos*) os=-atheos ;; -syllable*) os=-syllable ;; -386bsd) os=-bsd ;; -ctix* | -uts*) os=-sysv ;; -nova*) os=-rtmk-nova ;; -ns2 ) os=-nextstep2 ;; -nsk*) os=-nsk ;; # Preserve the version number of sinix5. -sinix5.*) os=`echo $os | sed -e 's|sinix|sysv|'` ;; -sinix*) os=-sysv4 ;; -tpf*) os=-tpf ;; -triton*) os=-sysv3 ;; -oss*) os=-sysv3 ;; -svr4) os=-sysv4 ;; -svr3) os=-sysv3 ;; -sysvr4) os=-sysv4 ;; # This must come after -sysvr4. -sysv*) ;; -ose*) os=-ose ;; -es1800*) os=-ose ;; -xenix) os=-xenix ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) os=-mint ;; -aros*) os=-aros ;; -zvmoe) os=-zvmoe ;; -dicos*) os=-dicos ;; -nacl*) ;; -none) ;; *) # Get rid of the `-' at the beginning of $os. os=`echo $os | sed 's/[^-]*-//'` echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 exit 1 ;; esac else # Here we handle the default operating systems that come with various machines. # The value should be what the vendor currently ships out the door with their # machine or put another way, the most popular os provided with the machine. # Note that if you're going to try to match "-MANUFACTURER" here (say, # "-sun"), then you have to tell the case statement up towards the top # that MANUFACTURER isn't an operating system. Otherwise, code above # will signal an error saying that MANUFACTURER isn't an operating # system, and we'll never get to this point. case $basic_machine in score-*) os=-elf ;; spu-*) os=-elf ;; *-acorn) os=-riscix1.2 ;; arm*-rebel) os=-linux ;; arm*-semi) os=-aout ;; c4x-* | tic4x-*) os=-coff ;; c8051-*) os=-elf ;; hexagon-*) os=-elf ;; tic54x-*) os=-coff ;; tic55x-*) os=-coff ;; tic6x-*) os=-coff ;; # This must come before the *-dec entry. pdp10-*) os=-tops20 ;; pdp11-*) os=-none ;; *-dec | vax-*) os=-ultrix4.2 ;; m68*-apollo) os=-domain ;; i386-sun) os=-sunos4.0.2 ;; m68000-sun) os=-sunos3 ;; m68*-cisco) os=-aout ;; mep-*) os=-elf ;; mips*-cisco) os=-elf ;; mips*-*) os=-elf ;; or32-*) os=-coff ;; *-tti) # must be before sparc entry or we get the wrong os. os=-sysv3 ;; sparc-* | *-sun) os=-sunos4.1.1 ;; *-be) os=-beos ;; *-haiku) os=-haiku ;; *-ibm) os=-aix ;; *-knuth) os=-mmixware ;; *-wec) os=-proelf ;; *-winbond) os=-proelf ;; *-oki) os=-proelf ;; *-hp) os=-hpux ;; *-hitachi) os=-hiux ;; i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) os=-sysv ;; *-cbm) os=-amigaos ;; *-dg) os=-dgux ;; *-dolphin) os=-sysv3 ;; m68k-ccur) os=-rtu ;; m88k-omron*) os=-luna ;; *-next ) os=-nextstep ;; *-sequent) os=-ptx ;; *-crds) os=-unos ;; *-ns) os=-genix ;; i370-*) os=-mvs ;; *-next) os=-nextstep3 ;; *-gould) os=-sysv ;; *-highlevel) os=-bsd ;; *-encore) os=-bsd ;; *-sgi) os=-irix ;; *-siemens) os=-sysv4 ;; *-masscomp) os=-rtu ;; f30[01]-fujitsu | f700-fujitsu) os=-uxpv ;; *-rom68k) os=-coff ;; *-*bug) os=-coff ;; *-apple) os=-macos ;; *-atari*) os=-mint ;; *) os=-none ;; esac fi # Here we handle the case where we know the os, and the CPU type, but not the # manufacturer. We pick the logical manufacturer. vendor=unknown case $basic_machine in *-unknown) case $os in -riscix*) vendor=acorn ;; -sunos*) vendor=sun ;; -cnk*|-aix*) vendor=ibm ;; -beos*) vendor=be ;; -hpux*) vendor=hp ;; -mpeix*) vendor=hp ;; -hiux*) vendor=hitachi ;; -unos*) vendor=crds ;; -dgux*) vendor=dg ;; -luna*) vendor=omron ;; -genix*) vendor=ns ;; -mvs* | -opened*) vendor=ibm ;; -os400*) vendor=ibm ;; -ptx*) vendor=sequent ;; -tpf*) vendor=ibm ;; -vxsim* | -vxworks* | -windiss*) vendor=wrs ;; -aux*) vendor=apple ;; -hms*) vendor=hitachi ;; -mpw* | -macos*) vendor=apple ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) vendor=atari ;; -vos*) vendor=stratus ;; esac basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` ;; esac echo $basic_machine$os exit # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: dfarc-3.12/autotools/depcomp0000755000175000017510000005601612302342414013051 00000000000000#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2013-05-30.07; # UTC # Copyright (C) 1999-2013 Free Software Foundation, Inc. # 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, 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, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Originally written by Alexandre Oliva . case $1 in '') echo "$0: No command. Try '$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: depcomp [--help] [--version] PROGRAM [ARGS] Run PROGRAMS ARGS to compile a file, generating dependencies as side-effects. Environment variables: depmode Dependency tracking mode. source Source file read by 'PROGRAMS ARGS'. object Object file output by 'PROGRAMS ARGS'. DEPDIR directory where to store dependencies. depfile Dependency file to output. tmpdepfile Temporary file to use when outputting dependencies. libtool Whether libtool is used (yes/no). Report bugs to . EOF exit $? ;; -v | --v*) echo "depcomp $scriptversion" exit $? ;; esac # Get the directory component of the given path, and save it in the # global variables '$dir'. Note that this directory component will # be either empty or ending with a '/' character. This is deliberate. set_dir_from () { case $1 in */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;; *) dir=;; esac } # Get the suffix-stripped basename of the given path, and save it the # global variable '$base'. set_base_from () { base=`echo "$1" | sed -e 's|^.*/||' -e 's/\.[^.]*$//'` } # If no dependency file was actually created by the compiler invocation, # we still have to create a dummy depfile, to avoid errors with the # Makefile "include basename.Plo" scheme. make_dummy_depfile () { echo "#dummy" > "$depfile" } # Factor out some common post-processing of the generated depfile. # Requires the auxiliary global variable '$tmpdepfile' to be set. aix_post_process_depfile () { # If the compiler actually managed to produce a dependency file, # post-process it. if test -f "$tmpdepfile"; then # Each line is of the form 'foo.o: dependency.h'. # Do two passes, one to just change these to # $object: dependency.h # and one to simply output # dependency.h: # which is needed to avoid the deleted-header problem. { sed -e "s,^.*\.[$lower]*:,$object:," < "$tmpdepfile" sed -e "s,^.*\.[$lower]*:[$tab ]*,," -e 's,$,:,' < "$tmpdepfile" } > "$depfile" rm -f "$tmpdepfile" else make_dummy_depfile fi } # A tabulation character. tab=' ' # A newline character. nl=' ' # Character ranges might be problematic outside the C locale. # These definitions help. upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ lower=abcdefghijklmnopqrstuvwxyz digits=0123456789 alpha=${upper}${lower} if test -z "$depmode" || test -z "$source" || test -z "$object"; then echo "depcomp: Variables source, object and depmode must be set" 1>&2 exit 1 fi # Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. depfile=${depfile-`echo "$object" | sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} rm -f "$tmpdepfile" # Avoid interferences from the environment. gccflag= dashmflag= # Some modes work just like other modes, but use different flags. We # parameterize here, but still list the modes in the big case below, # to make depend.m4 easier to write. Note that we *cannot* use a case # here, because this file can only contain one case statement. if test "$depmode" = hp; then # HP compiler uses -M and no extra arg. gccflag=-M depmode=gcc fi if test "$depmode" = dashXmstdout; then # This is just like dashmstdout with a different argument. dashmflag=-xM depmode=dashmstdout fi cygpath_u="cygpath -u -f -" if test "$depmode" = msvcmsys; then # This is just like msvisualcpp but w/o cygpath translation. # Just convert the backslash-escaped backslashes to single forward # slashes to satisfy depend.m4 cygpath_u='sed s,\\\\,/,g' depmode=msvisualcpp fi if test "$depmode" = msvc7msys; then # This is just like msvc7 but w/o cygpath translation. # Just convert the backslash-escaped backslashes to single forward # slashes to satisfy depend.m4 cygpath_u='sed s,\\\\,/,g' depmode=msvc7 fi if test "$depmode" = xlc; then # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency information. gccflag=-qmakedep=gcc,-MF depmode=gcc fi case "$depmode" in gcc3) ## gcc 3 implements dependency tracking that does exactly what ## we want. Yay! Note: for some reason libtool 1.4 doesn't like ## it if -MD -MP comes after the -MF stuff. Hmm. ## Unfortunately, FreeBSD c89 acceptance of flags depends upon ## the command line argument order; so add the flags where they ## appear in depend2.am. Note that the slowdown incurred here ## affects only configure: in makefiles, %FASTDEP% shortcuts this. for arg do case $arg in -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; *) set fnord "$@" "$arg" ;; esac shift # fnord shift # $arg done "$@" stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi mv "$tmpdepfile" "$depfile" ;; gcc) ## Note that this doesn't just cater to obsosete pre-3.x GCC compilers. ## but also to in-use compilers like IMB xlc/xlC and the HP C compiler. ## (see the conditional assignment to $gccflag above). ## There are various ways to get dependency output from gcc. Here's ## why we pick this rather obscure method: ## - Don't want to use -MD because we'd like the dependencies to end ## up in a subdir. Having to rename by hand is ugly. ## (We might end up doing this anyway to support other compilers.) ## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like ## -MM, not -M (despite what the docs say). Also, it might not be ## supported by the other compilers which use the 'gcc' depmode. ## - Using -M directly means running the compiler twice (even worse ## than renaming). if test -z "$gccflag"; then gccflag=-MD, fi "$@" -Wp,"$gccflag$tmpdepfile" stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" # The second -e expression handles DOS-style file names with drive # letters. sed -e 's/^[^:]*: / /' \ -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" ## This next piece of magic avoids the "deleted header file" problem. ## The problem is that when a header file which appears in a .P file ## is deleted, the dependency causes make to die (because there is ## typically no way to rebuild the header). We avoid this by adding ## dummy dependencies for each header file. Too bad gcc doesn't do ## this for us directly. ## Some versions of gcc put a space before the ':'. On the theory ## that the space means something, we add a space to the output as ## well. hp depmode also adds that space, but also prefixes the VPATH ## to the object. Take care to not repeat it in the output. ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; sgi) if test "$libtool" = yes; then "$@" "-Wp,-MDupdate,$tmpdepfile" else "$@" -MDupdate "$tmpdepfile" fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files echo "$object : \\" > "$depfile" # Clip off the initial element (the dependent). Don't try to be # clever and replace this with sed code, as IRIX sed won't handle # lines with more than a fixed number of characters (4096 in # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; # the IRIX cc adds comments like '#:fec' to the end of the # dependency line. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' \ | tr "$nl" ' ' >> "$depfile" echo >> "$depfile" # The second pass generates a dummy entry for each header file. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ >> "$depfile" else make_dummy_depfile fi rm -f "$tmpdepfile" ;; xlc) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; aix) # The C for AIX Compiler uses -M and outputs the dependencies # in a .u file. In older versions, this file always lives in the # current directory. Also, the AIX compiler puts '$object:' at the # start of each line; $object doesn't have directory information. # Version 6 uses the directory in both cases. set_dir_from "$object" set_base_from "$object" if test "$libtool" = yes; then tmpdepfile1=$dir$base.u tmpdepfile2=$base.u tmpdepfile3=$dir.libs/$base.u "$@" -Wc,-M else tmpdepfile1=$dir$base.u tmpdepfile2=$dir$base.u tmpdepfile3=$dir$base.u "$@" -M fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" do test -f "$tmpdepfile" && break done aix_post_process_depfile ;; tcc) # tcc (Tiny C Compiler) understand '-MD -MF file' since version 0.9.26 # FIXME: That version still under development at the moment of writing. # Make that this statement remains true also for stable, released # versions. # It will wrap lines (doesn't matter whether long or short) with a # trailing '\', as in: # # foo.o : \ # foo.c \ # foo.h \ # # It will put a trailing '\' even on the last line, and will use leading # spaces rather than leading tabs (at least since its commit 0394caf7 # "Emit spaces for -MD"). "$@" -MD -MF "$tmpdepfile" stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" # Each non-empty line is of the form 'foo.o : \' or ' dep.h \'. # We have to change lines of the first kind to '$object: \'. sed -e "s|.*:|$object :|" < "$tmpdepfile" > "$depfile" # And for each line of the second kind, we have to emit a 'dep.h:' # dummy dependency, to avoid the deleted-header problem. sed -n -e 's|^ *\(.*\) *\\$|\1:|p' < "$tmpdepfile" >> "$depfile" rm -f "$tmpdepfile" ;; ## The order of this option in the case statement is important, since the ## shell code in configure will try each of these formats in the order ## listed in this file. A plain '-MD' option would be understood by many ## compilers, so we must ensure this comes after the gcc and icc options. pgcc) # Portland's C compiler understands '-MD'. # Will always output deps to 'file.d' where file is the root name of the # source file under compilation, even if file resides in a subdirectory. # The object file name does not affect the name of the '.d' file. # pgcc 10.2 will output # foo.o: sub/foo.c sub/foo.h # and will wrap long lines using '\' : # foo.o: sub/foo.c ... \ # sub/foo.h ... \ # ... set_dir_from "$object" # Use the source, not the object, to determine the base name, since # that's sadly what pgcc will do too. set_base_from "$source" tmpdepfile=$base.d # For projects that build the same source file twice into different object # files, the pgcc approach of using the *source* file root name can cause # problems in parallel builds. Use a locking strategy to avoid stomping on # the same $tmpdepfile. lockdir=$base.d-lock trap " echo '$0: caught signal, cleaning up...' >&2 rmdir '$lockdir' exit 1 " 1 2 13 15 numtries=100 i=$numtries while test $i -gt 0; do # mkdir is a portable test-and-set. if mkdir "$lockdir" 2>/dev/null; then # This process acquired the lock. "$@" -MD stat=$? # Release the lock. rmdir "$lockdir" break else # If the lock is being held by a different process, wait # until the winning process is done or we timeout. while test -d "$lockdir" && test $i -gt 0; do sleep 1 i=`expr $i - 1` done fi i=`expr $i - 1` done trap - 1 2 13 15 if test $i -le 0; then echo "$0: failed to acquire lock after $numtries attempts" >&2 echo "$0: check lockdir '$lockdir'" >&2 exit 1 fi if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" # Each line is of the form `foo.o: dependent.h', # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. # Do two passes, one to just change these to # `$object: dependent.h' and one to simply `dependent.h:'. sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process this invocation # correctly. Breaking it into two sed invocations is a workaround. sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp2) # The "hp" stanza above does not work with aCC (C++) and HP's ia64 # compilers, which have integrated preprocessors. The correct option # to use with these is +Maked; it writes dependencies to a file named # 'foo.d', which lands next to the object file, wherever that # happens to be. # Much of this is similar to the tru64 case; see comments there. set_dir_from "$object" set_base_from "$object" if test "$libtool" = yes; then tmpdepfile1=$dir$base.d tmpdepfile2=$dir.libs/$base.d "$@" -Wc,+Maked else tmpdepfile1=$dir$base.d tmpdepfile2=$dir$base.d "$@" +Maked fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile1" "$tmpdepfile2" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" do test -f "$tmpdepfile" && break done if test -f "$tmpdepfile"; then sed -e "s,^.*\.[$lower]*:,$object:," "$tmpdepfile" > "$depfile" # Add 'dependent.h:' lines. sed -ne '2,${ s/^ *// s/ \\*$// s/$/:/ p }' "$tmpdepfile" >> "$depfile" else make_dummy_depfile fi rm -f "$tmpdepfile" "$tmpdepfile2" ;; tru64) # The Tru64 compiler uses -MD to generate dependencies as a side # effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'. # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put # dependencies in 'foo.d' instead, so we check for that too. # Subdirectories are respected. set_dir_from "$object" set_base_from "$object" if test "$libtool" = yes; then # Libtool generates 2 separate objects for the 2 libraries. These # two compilations output dependencies in $dir.libs/$base.o.d and # in $dir$base.o.d. We have to check for both files, because # one of the two compilations can be disabled. We should prefer # $dir$base.o.d over $dir.libs/$base.o.d because the latter is # automatically cleaned when .libs/ is deleted, while ignoring # the former would cause a distcleancheck panic. tmpdepfile1=$dir$base.o.d # libtool 1.5 tmpdepfile2=$dir.libs/$base.o.d # Likewise. tmpdepfile3=$dir.libs/$base.d # Compaq CCC V6.2-504 "$@" -Wc,-MD else tmpdepfile1=$dir$base.d tmpdepfile2=$dir$base.d tmpdepfile3=$dir$base.d "$@" -MD fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" do test -f "$tmpdepfile" && break done # Same post-processing that is required for AIX mode. aix_post_process_depfile ;; msvc7) if test "$libtool" = yes; then showIncludes=-Wc,-showIncludes else showIncludes=-showIncludes fi "$@" $showIncludes > "$tmpdepfile" stat=$? grep -v '^Note: including file: ' "$tmpdepfile" if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" # The first sed program below extracts the file names and escapes # backslashes for cygpath. The second sed program outputs the file # name when reading, but also accumulates all include files in the # hold buffer in order to output them again at the end. This only # works with sed implementations that can handle large buffers. sed < "$tmpdepfile" -n ' /^Note: including file: *\(.*\)/ { s//\1/ s/\\/\\\\/g p }' | $cygpath_u | sort -u | sed -n ' s/ /\\ /g s/\(.*\)/'"$tab"'\1 \\/p s/.\(.*\) \\/\1:/ H $ { s/.*/'"$tab"'/ G p }' >> "$depfile" echo >> "$depfile" # make sure the fragment doesn't end with a backslash rm -f "$tmpdepfile" ;; msvc7msys) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; #nosideeffect) # This comment above is used by automake to tell side-effect # dependency tracking mechanisms from slower ones. dashmstdout) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout, regardless of -o. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # Remove '-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done test -z "$dashmflag" && dashmflag=-M # Require at least two characters before searching for ':' # in the target name. This is to cope with DOS-style filenames: # a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise. "$@" $dashmflag | sed "s|^[$tab ]*[^:$tab ][^:][^:]*:[$tab ]*|$object: |" > "$tmpdepfile" rm -f "$depfile" cat < "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process this sed invocation # correctly. Breaking it into two sed invocations is a workaround. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; dashXmstdout) # This case only exists to satisfy depend.m4. It is never actually # run, as this mode is specially recognized in the preamble. exit 1 ;; makedepend) "$@" || exit $? # Remove any Libtool call if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # X makedepend shift cleared=no eat=no for arg do case $cleared in no) set ""; shift cleared=yes ;; esac if test $eat = yes; then eat=no continue fi case "$arg" in -D*|-I*) set fnord "$@" "$arg"; shift ;; # Strip any option that makedepend may not understand. Remove # the object too, otherwise makedepend will parse it as a source file. -arch) eat=yes ;; -*|$object) ;; *) set fnord "$@" "$arg"; shift ;; esac done obj_suffix=`echo "$object" | sed 's/^.*\././'` touch "$tmpdepfile" ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" rm -f "$depfile" # makedepend may prepend the VPATH from the source file name to the object. # No need to regex-escape $object, excess matching of '.' is harmless. sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process the last invocation # correctly. Breaking it into two sed invocations is a workaround. sed '1,2d' "$tmpdepfile" \ | tr ' ' "$nl" \ | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" "$tmpdepfile".bak ;; cpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # Remove '-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done "$@" -E \ | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ | sed '$ s: \\$::' > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" cat < "$tmpdepfile" >> "$depfile" sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; msvisualcpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi IFS=" " for arg do case "$arg" in -o) shift ;; $object) shift ;; "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") set fnord "$@" shift shift ;; *) set fnord "$@" "$arg" shift shift ;; esac done "$@" -E 2>/dev/null | sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$tab"'\1 \\:p' >> "$depfile" echo "$tab" >> "$depfile" sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile" rm -f "$tmpdepfile" ;; msvcmsys) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; none) exec "$@" ;; *) echo "Unknown depmode $depmode" 1>&2 exit 1 ;; esac exit 0 # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: dfarc-3.12/autotools/missing0000755000175000017510000001533012302342414013065 00000000000000#! /bin/sh # Common wrapper for a few potentially missing GNU programs. scriptversion=2013-10-28.13; # UTC # Copyright (C) 1996-2013 Free Software Foundation, Inc. # Originally written by Fran,cois Pinard , 1996. # 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, 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, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. if test $# -eq 0; then echo 1>&2 "Try '$0 --help' for more information" exit 1 fi case $1 in --is-lightweight) # Used by our autoconf macros to check whether the available missing # script is modern enough. exit 0 ;; --run) # Back-compat with the calling convention used by older automake. shift ;; -h|--h|--he|--hel|--help) echo "\ $0 [OPTION]... PROGRAM [ARGUMENT]... Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due to PROGRAM being missing or too old. Options: -h, --help display this help and exit -v, --version output version information and exit Supported PROGRAM values: aclocal autoconf autoheader autom4te automake makeinfo bison yacc flex lex help2man Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and 'g' are ignored when checking the name. Send bug reports to ." exit $? ;; -v|--v|--ve|--ver|--vers|--versi|--versio|--version) echo "missing $scriptversion (GNU Automake)" exit $? ;; -*) echo 1>&2 "$0: unknown '$1' option" echo 1>&2 "Try '$0 --help' for more information" exit 1 ;; esac # Run the given program, remember its exit status. "$@"; st=$? # If it succeeded, we are done. test $st -eq 0 && exit 0 # Also exit now if we it failed (or wasn't found), and '--version' was # passed; such an option is passed most likely to detect whether the # program is present and works. case $2 in --version|--help) exit $st;; esac # Exit code 63 means version mismatch. This often happens when the user # tries to use an ancient version of a tool on a file that requires a # minimum version. if test $st -eq 63; then msg="probably too old" elif test $st -eq 127; then # Program was missing. msg="missing on your system" else # Program was found and executed, but failed. Give up. exit $st fi perl_URL=http://www.perl.org/ flex_URL=http://flex.sourceforge.net/ gnu_software_URL=http://www.gnu.org/software program_details () { case $1 in aclocal|automake) echo "The '$1' program is part of the GNU Automake package:" echo "<$gnu_software_URL/automake>" echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:" echo "<$gnu_software_URL/autoconf>" echo "<$gnu_software_URL/m4/>" echo "<$perl_URL>" ;; autoconf|autom4te|autoheader) echo "The '$1' program is part of the GNU Autoconf package:" echo "<$gnu_software_URL/autoconf/>" echo "It also requires GNU m4 and Perl in order to run:" echo "<$gnu_software_URL/m4/>" echo "<$perl_URL>" ;; esac } give_advice () { # Normalize program name to check for. normalized_program=`echo "$1" | sed ' s/^gnu-//; t s/^gnu//; t s/^g//; t'` printf '%s\n' "'$1' is $msg." configure_deps="'configure.ac' or m4 files included by 'configure.ac'" case $normalized_program in autoconf*) echo "You should only need it if you modified 'configure.ac'," echo "or m4 files included by it." program_details 'autoconf' ;; autoheader*) echo "You should only need it if you modified 'acconfig.h' or" echo "$configure_deps." program_details 'autoheader' ;; automake*) echo "You should only need it if you modified 'Makefile.am' or" echo "$configure_deps." program_details 'automake' ;; aclocal*) echo "You should only need it if you modified 'acinclude.m4' or" echo "$configure_deps." program_details 'aclocal' ;; autom4te*) echo "You might have modified some maintainer files that require" echo "the 'autom4te' program to be rebuilt." program_details 'autom4te' ;; bison*|yacc*) echo "You should only need it if you modified a '.y' file." echo "You may want to install the GNU Bison package:" echo "<$gnu_software_URL/bison/>" ;; lex*|flex*) echo "You should only need it if you modified a '.l' file." echo "You may want to install the Fast Lexical Analyzer package:" echo "<$flex_URL>" ;; help2man*) echo "You should only need it if you modified a dependency" \ "of a man page." echo "You may want to install the GNU Help2man package:" echo "<$gnu_software_URL/help2man/>" ;; makeinfo*) echo "You should only need it if you modified a '.texi' file, or" echo "any other file indirectly affecting the aspect of the manual." echo "You might want to install the Texinfo package:" echo "<$gnu_software_URL/texinfo/>" echo "The spurious makeinfo call might also be the consequence of" echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might" echo "want to install GNU make:" echo "<$gnu_software_URL/make/>" ;; *) echo "You might have modified some files without having the proper" echo "tools for further handling them. Check the 'README' file, it" echo "often tells you about the needed prerequisites for installing" echo "this package. You may also peek at any GNU archive site, in" echo "case some other package contains this missing '$1' program." ;; esac } give_advice "$1" | sed -e '1s/^/WARNING: /' \ -e '2,$s/^/ /' >&2 # Propagate the correct exit status (expected to be 127 for a program # not found, 63 for a program that failed due to version mismatch). exit $st # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: dfarc-3.12/autotools/compile0000755000175000017510000001624512302342414013052 00000000000000#! /bin/sh # Wrapper for compilers which do not understand '-c -o'. scriptversion=2012-10-14.11; # UTC # Copyright (C) 1999-2013 Free Software Foundation, Inc. # Written by Tom Tromey . # # 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, 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, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # This file is maintained in Automake, please report # bugs to or send patches to # . nl=' ' # We need space, tab and new line, in precisely that order. Quoting is # there to prevent tools from complaining about whitespace usage. IFS=" "" $nl" file_conv= # func_file_conv build_file lazy # Convert a $build file to $host form and store it in $file # Currently only supports Windows hosts. If the determined conversion # type is listed in (the comma separated) LAZY, no conversion will # take place. func_file_conv () { file=$1 case $file in / | /[!/]*) # absolute file, and not a UNC file if test -z "$file_conv"; then # lazily determine how to convert abs files case `uname -s` in MINGW*) file_conv=mingw ;; CYGWIN*) file_conv=cygwin ;; *) file_conv=wine ;; esac fi case $file_conv/,$2, in *,$file_conv,*) ;; mingw/*) file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` ;; cygwin/*) file=`cygpath -m "$file" || echo "$file"` ;; wine/*) file=`winepath -w "$file" || echo "$file"` ;; esac ;; esac } # func_cl_dashL linkdir # Make cl look for libraries in LINKDIR func_cl_dashL () { func_file_conv "$1" if test -z "$lib_path"; then lib_path=$file else lib_path="$lib_path;$file" fi linker_opts="$linker_opts -LIBPATH:$file" } # func_cl_dashl library # Do a library search-path lookup for cl func_cl_dashl () { lib=$1 found=no save_IFS=$IFS IFS=';' for dir in $lib_path $LIB do IFS=$save_IFS if $shared && test -f "$dir/$lib.dll.lib"; then found=yes lib=$dir/$lib.dll.lib break fi if test -f "$dir/$lib.lib"; then found=yes lib=$dir/$lib.lib break fi if test -f "$dir/lib$lib.a"; then found=yes lib=$dir/lib$lib.a break fi done IFS=$save_IFS if test "$found" != yes; then lib=$lib.lib fi } # func_cl_wrapper cl arg... # Adjust compile command to suit cl func_cl_wrapper () { # Assume a capable shell lib_path= shared=: linker_opts= for arg do if test -n "$eat"; then eat= else case $1 in -o) # configure might choose to run compile as 'compile cc -o foo foo.c'. eat=1 case $2 in *.o | *.[oO][bB][jJ]) func_file_conv "$2" set x "$@" -Fo"$file" shift ;; *) func_file_conv "$2" set x "$@" -Fe"$file" shift ;; esac ;; -I) eat=1 func_file_conv "$2" mingw set x "$@" -I"$file" shift ;; -I*) func_file_conv "${1#-I}" mingw set x "$@" -I"$file" shift ;; -l) eat=1 func_cl_dashl "$2" set x "$@" "$lib" shift ;; -l*) func_cl_dashl "${1#-l}" set x "$@" "$lib" shift ;; -L) eat=1 func_cl_dashL "$2" ;; -L*) func_cl_dashL "${1#-L}" ;; -static) shared=false ;; -Wl,*) arg=${1#-Wl,} save_ifs="$IFS"; IFS=',' for flag in $arg; do IFS="$save_ifs" linker_opts="$linker_opts $flag" done IFS="$save_ifs" ;; -Xlinker) eat=1 linker_opts="$linker_opts $2" ;; -*) set x "$@" "$1" shift ;; *.cc | *.CC | *.cxx | *.CXX | *.[cC]++) func_file_conv "$1" set x "$@" -Tp"$file" shift ;; *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO]) func_file_conv "$1" mingw set x "$@" "$file" shift ;; *) set x "$@" "$1" shift ;; esac fi shift done if test -n "$linker_opts"; then linker_opts="-link$linker_opts" fi exec "$@" $linker_opts exit 1 } eat= case $1 in '') echo "$0: No command. Try '$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: compile [--help] [--version] PROGRAM [ARGS] Wrapper for compilers which do not understand '-c -o'. Remove '-o dest.o' from ARGS, run PROGRAM with the remaining arguments, and rename the output as expected. If you are trying to build a whole package this is not the right script to run: please start by reading the file 'INSTALL'. Report bugs to . EOF exit $? ;; -v | --v*) echo "compile $scriptversion" exit $? ;; cl | *[/\\]cl | cl.exe | *[/\\]cl.exe ) func_cl_wrapper "$@" # Doesn't return... ;; esac ofile= cfile= for arg do if test -n "$eat"; then eat= else case $1 in -o) # configure might choose to run compile as 'compile cc -o foo foo.c'. # So we strip '-o arg' only if arg is an object. eat=1 case $2 in *.o | *.obj) ofile=$2 ;; *) set x "$@" -o "$2" shift ;; esac ;; *.c) cfile=$1 set x "$@" "$1" shift ;; *) set x "$@" "$1" shift ;; esac fi shift done if test -z "$ofile" || test -z "$cfile"; then # If no '-o' option was seen then we might have been invoked from a # pattern rule where we don't need one. That is ok -- this is a # normal compilation that the losing compiler can handle. If no # '.c' file was seen then we are probably linking. That is also # ok. exec "$@" fi # Name of file we expect compiler to create. cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'` # Create the lock directory. # Note: use '[/\\:.-]' here to ensure that we don't use the same name # that we are using for the .o file. Also, base the name on the expected # object file name, since that is what matters with a parallel build. lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d while true; do if mkdir "$lockdir" >/dev/null 2>&1; then break fi sleep 1 done # FIXME: race condition here if user kills between mkdir and trap. trap "rmdir '$lockdir'; exit 1" 1 2 15 # Run the compile. "$@" ret=$? if test -f "$cofile"; then test "$cofile" = "$ofile" || mv "$cofile" "$ofile" elif test -f "${cofile}bj"; then test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile" fi rmdir "$lockdir" exit $ret # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: dfarc-3.12/autotools/config.guess0000755000175000017510000012355012404676534014032 00000000000000#! /bin/sh # Attempt to guess a canonical system name. # Copyright 1992-2014 Free Software Foundation, Inc. timestamp='2014-03-23' # This file 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. # # 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, see . # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that # program. This Exception is an additional permission under section 7 # of the GNU General Public License, version 3 ("GPLv3"). # # Originally written by Per Bothner. # # You can get the latest version of this script from: # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD # # Please send patches with a ChangeLog entry to config-patches@gnu.org. me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] Output the configuration name of the system \`$me' is run on. Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.guess ($timestamp) Originally written by Per Bothner. Copyright 1992-2014 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit ;; --version | -v ) echo "$version" ; exit ;; --help | --h* | -h ) echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" >&2 exit 1 ;; * ) break ;; esac done if test $# != 0; then echo "$me: too many arguments$help" >&2 exit 1 fi trap 'exit 1' 1 2 15 # CC_FOR_BUILD -- compiler used by this script. Note that the use of a # compiler to aid in system detection is discouraged as it requires # temporary files to be created and, as you can see below, it is a # headache to deal with in a portable fashion. # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still # use `HOST_CC' if defined, but it is deprecated. # Portable tmp directory creation inspired by the Autoconf team. set_cc_for_build=' trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; : ${TMPDIR=/tmp} ; { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; dummy=$tmp/dummy ; tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; case $CC_FOR_BUILD,$HOST_CC,$CC in ,,) echo "int x;" > $dummy.c ; for c in cc gcc c89 c99 ; do if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then CC_FOR_BUILD="$c"; break ; fi ; done ; if test x"$CC_FOR_BUILD" = x ; then CC_FOR_BUILD=no_compiler_found ; fi ;; ,,*) CC_FOR_BUILD=$CC ;; ,*,*) CC_FOR_BUILD=$HOST_CC ;; esac ; set_cc_for_build= ;' # This is needed to find uname on a Pyramid OSx when run in the BSD universe. # (ghazi@noc.rutgers.edu 1994-08-24) if (test -f /.attbin/uname) >/dev/null 2>&1 ; then PATH=$PATH:/.attbin ; export PATH fi UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown case "${UNAME_SYSTEM}" in Linux|GNU|GNU/*) # If the system lacks a compiler, then just pick glibc. # We could probably try harder. LIBC=gnu eval $set_cc_for_build cat <<-EOF > $dummy.c #include #if defined(__UCLIBC__) LIBC=uclibc #elif defined(__dietlibc__) LIBC=dietlibc #else LIBC=gnu #endif EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC' | sed 's, ,,g'` ;; esac # Note: order is significant - the case branches are not exclusive. case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in *:NetBSD:*:*) # NetBSD (nbsd) targets should (where applicable) match one or # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*, # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently # switched to ELF, *-*-netbsd* would select the old # object file format. This provides both forward # compatibility and a consistent mechanism for selecting the # object file format. # # Note: NetBSD doesn't particularly care about the vendor # portion of the name. We always set it to "unknown". sysctl="sysctl -n hw.machine_arch" UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ /usr/sbin/$sysctl 2>/dev/null || echo unknown)` case "${UNAME_MACHINE_ARCH}" in armeb) machine=armeb-unknown ;; arm*) machine=arm-unknown ;; sh3el) machine=shl-unknown ;; sh3eb) machine=sh-unknown ;; sh5el) machine=sh5le-unknown ;; *) machine=${UNAME_MACHINE_ARCH}-unknown ;; esac # The Operating System including object format, if it has switched # to ELF recently, or will in the future. case "${UNAME_MACHINE_ARCH}" in arm*|i386|m68k|ns32k|sh3*|sparc|vax) eval $set_cc_for_build if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ELF__ then # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). # Return netbsd for either. FIX? os=netbsd else os=netbsdelf fi ;; *) os=netbsd ;; esac # The OS release # Debian GNU/NetBSD machines have a different userland, and # thus, need a distinct triplet. However, they do not need # kernel version information, so it can be replaced with a # suitable tag, in the style of linux-gnu. case "${UNAME_VERSION}" in Debian*) release='-gnu' ;; *) release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` ;; esac # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: # contains redundant information, the shorter form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. echo "${machine}-${os}${release}" exit ;; *:Bitrig:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'` echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE} exit ;; *:OpenBSD:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} exit ;; *:ekkoBSD:*:*) echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} exit ;; *:SolidBSD:*:*) echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} exit ;; macppc:MirBSD:*:*) echo powerpc-unknown-mirbsd${UNAME_RELEASE} exit ;; *:MirBSD:*:*) echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} exit ;; alpha:OSF1:*:*) case $UNAME_RELEASE in *4.0) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` ;; *5.*) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` ;; esac # According to Compaq, /usr/sbin/psrinfo has been available on # OSF/1 and Tru64 systems produced since 1995. I hope that # covers most systems running today. This code pipes the CPU # types through head -n 1, so we only detect the type of CPU 0. ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` case "$ALPHA_CPU_TYPE" in "EV4 (21064)") UNAME_MACHINE="alpha" ;; "EV4.5 (21064)") UNAME_MACHINE="alpha" ;; "LCA4 (21066/21068)") UNAME_MACHINE="alpha" ;; "EV5 (21164)") UNAME_MACHINE="alphaev5" ;; "EV5.6 (21164A)") UNAME_MACHINE="alphaev56" ;; "EV5.6 (21164PC)") UNAME_MACHINE="alphapca56" ;; "EV5.7 (21164PC)") UNAME_MACHINE="alphapca57" ;; "EV6 (21264)") UNAME_MACHINE="alphaev6" ;; "EV6.7 (21264A)") UNAME_MACHINE="alphaev67" ;; "EV6.8CB (21264C)") UNAME_MACHINE="alphaev68" ;; "EV6.8AL (21264B)") UNAME_MACHINE="alphaev68" ;; "EV6.8CX (21264D)") UNAME_MACHINE="alphaev68" ;; "EV6.9A (21264/EV69A)") UNAME_MACHINE="alphaev69" ;; "EV7 (21364)") UNAME_MACHINE="alphaev7" ;; "EV7.9 (21364A)") UNAME_MACHINE="alphaev79" ;; esac # A Pn.n version is a patched version. # A Vn.n version is a released version. # A Tn.n version is a released field test version. # A Xn.n version is an unreleased experimental baselevel. # 1.2 uses "1.2" for uname -r. echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` # Reset EXIT trap before exiting to avoid spurious non-zero exit code. exitcode=$? trap '' 0 exit $exitcode ;; Alpha\ *:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # Should we change UNAME_MACHINE based on the output of uname instead # of the specific Alpha model? echo alpha-pc-interix exit ;; 21064:Windows_NT:50:3) echo alpha-dec-winnt3.5 exit ;; Amiga*:UNIX_System_V:4.0:*) echo m68k-unknown-sysv4 exit ;; *:[Aa]miga[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-amigaos exit ;; *:[Mm]orph[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-morphos exit ;; *:OS/390:*:*) echo i370-ibm-openedition exit ;; *:z/VM:*:*) echo s390-ibm-zvmoe exit ;; *:OS400:*:*) echo powerpc-ibm-os400 exit ;; arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) echo arm-acorn-riscix${UNAME_RELEASE} exit ;; arm*:riscos:*:*|arm*:RISCOS:*:*) echo arm-unknown-riscos exit ;; SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) echo hppa1.1-hitachi-hiuxmpp exit ;; Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. if test "`(/bin/universe) 2>/dev/null`" = att ; then echo pyramid-pyramid-sysv3 else echo pyramid-pyramid-bsd fi exit ;; NILE*:*:*:dcosx) echo pyramid-pyramid-svr4 exit ;; DRS?6000:unix:4.0:6*) echo sparc-icl-nx6 exit ;; DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) case `/usr/bin/uname -p` in sparc) echo sparc-icl-nx7; exit ;; esac ;; s390x:SunOS:*:*) echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4H:SunOS:5.*:*) echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) echo i386-pc-auroraux${UNAME_RELEASE} exit ;; i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) eval $set_cc_for_build SUN_ARCH="i386" # If there is a compiler, see if it is configured for 64-bit objects. # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. # This test works for both compilers. if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ grep IS_64BIT_ARCH >/dev/null then SUN_ARCH="x86_64" fi fi echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:6*:*) # According to config.sub, this is the proper way to canonicalize # SunOS6. Hard to guess exactly what SunOS6 will be like, but # it's likely to be more like Solaris than SunOS4. echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:*:*) case "`/usr/bin/arch -k`" in Series*|S4*) UNAME_RELEASE=`uname -v` ;; esac # Japanese Language versions have a version number like `4.1.3-JL'. echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` exit ;; sun3*:SunOS:*:*) echo m68k-sun-sunos${UNAME_RELEASE} exit ;; sun*:*:4.2BSD:*) UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 case "`/bin/arch`" in sun3) echo m68k-sun-sunos${UNAME_RELEASE} ;; sun4) echo sparc-sun-sunos${UNAME_RELEASE} ;; esac exit ;; aushp:SunOS:*:*) echo sparc-auspex-sunos${UNAME_RELEASE} exit ;; # The situation for MiNT is a little confusing. The machine name # can be virtually everything (everything which is not # "atarist" or "atariste" at least should have a processor # > m68000). The system name ranges from "MiNT" over "FreeMiNT" # to the lowercase version "mint" (or "freemint"). Finally # the system name "TOS" denotes a system which is actually not # MiNT. But MiNT is downward compatible to TOS, so this should # be no problem. atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) echo m68k-milan-mint${UNAME_RELEASE} exit ;; hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) echo m68k-hades-mint${UNAME_RELEASE} exit ;; *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) echo m68k-unknown-mint${UNAME_RELEASE} exit ;; m68k:machten:*:*) echo m68k-apple-machten${UNAME_RELEASE} exit ;; powerpc:machten:*:*) echo powerpc-apple-machten${UNAME_RELEASE} exit ;; RISC*:Mach:*:*) echo mips-dec-mach_bsd4.3 exit ;; RISC*:ULTRIX:*:*) echo mips-dec-ultrix${UNAME_RELEASE} exit ;; VAX*:ULTRIX*:*:*) echo vax-dec-ultrix${UNAME_RELEASE} exit ;; 2020:CLIX:*:* | 2430:CLIX:*:*) echo clipper-intergraph-clix${UNAME_RELEASE} exit ;; mips:*:*:UMIPS | mips:*:*:RISCos) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #ifdef __cplusplus #include /* for printf() prototype */ int main (int argc, char *argv[]) { #else int main (argc, argv) int argc; char *argv[]; { #endif #if defined (host_mips) && defined (MIPSEB) #if defined (SYSTYPE_SYSV) printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_SVR4) printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); #endif #endif exit (-1); } EOF $CC_FOR_BUILD -o $dummy $dummy.c && dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` && SYSTEM_NAME=`$dummy $dummyarg` && { echo "$SYSTEM_NAME"; exit; } echo mips-mips-riscos${UNAME_RELEASE} exit ;; Motorola:PowerMAX_OS:*:*) echo powerpc-motorola-powermax exit ;; Motorola:*:4.3:PL8-*) echo powerpc-harris-powermax exit ;; Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) echo powerpc-harris-powermax exit ;; Night_Hawk:Power_UNIX:*:*) echo powerpc-harris-powerunix exit ;; m88k:CX/UX:7*:*) echo m88k-harris-cxux7 exit ;; m88k:*:4*:R4*) echo m88k-motorola-sysv4 exit ;; m88k:*:3*:R3*) echo m88k-motorola-sysv3 exit ;; AViiON:dgux:*:*) # DG/UX returns AViiON for all architectures UNAME_PROCESSOR=`/usr/bin/uname -p` if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] then if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ [ ${TARGET_BINARY_INTERFACE}x = x ] then echo m88k-dg-dgux${UNAME_RELEASE} else echo m88k-dg-dguxbcs${UNAME_RELEASE} fi else echo i586-dg-dgux${UNAME_RELEASE} fi exit ;; M88*:DolphinOS:*:*) # DolphinOS (SVR3) echo m88k-dolphin-sysv3 exit ;; M88*:*:R3*:*) # Delta 88k system running SVR3 echo m88k-motorola-sysv3 exit ;; XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) echo m88k-tektronix-sysv3 exit ;; Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) echo m68k-tektronix-bsd exit ;; *:IRIX*:*:*) echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` exit ;; ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' i*86:AIX:*:*) echo i386-ibm-aix exit ;; ia64:AIX:*:*) if [ -x /usr/bin/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` else IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} exit ;; *:AIX:2:3) if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include main() { if (!__power_pc()) exit(1); puts("powerpc-ibm-aix3.2.5"); exit(0); } EOF if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` then echo "$SYSTEM_NAME" else echo rs6000-ibm-aix3.2.5 fi elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then echo rs6000-ibm-aix3.2.4 else echo rs6000-ibm-aix3.2 fi exit ;; *:AIX:*:[4567]) IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then IBM_ARCH=rs6000 else IBM_ARCH=powerpc fi if [ -x /usr/bin/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` else IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${IBM_ARCH}-ibm-aix${IBM_REV} exit ;; *:AIX:*:*) echo rs6000-ibm-aix exit ;; ibmrt:4.4BSD:*|romp-ibm:BSD:*) echo romp-ibm-bsd4.4 exit ;; ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to exit ;; # report: romp-ibm BSD 4.3 *:BOSX:*:*) echo rs6000-bull-bosx exit ;; DPX/2?00:B.O.S.:*:*) echo m68k-bull-sysv3 exit ;; 9000/[34]??:4.3bsd:1.*:*) echo m68k-hp-bsd exit ;; hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) echo m68k-hp-bsd4.4 exit ;; 9000/[34678]??:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` case "${UNAME_MACHINE}" in 9000/31? ) HP_ARCH=m68000 ;; 9000/[34]?? ) HP_ARCH=m68k ;; 9000/[678][0-9][0-9]) if [ -x /usr/bin/getconf ]; then sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` case "${sc_cpu_version}" in 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 532) # CPU_PA_RISC2_0 case "${sc_kernel_bits}" in 32) HP_ARCH="hppa2.0n" ;; 64) HP_ARCH="hppa2.0w" ;; '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 esac ;; esac fi if [ "${HP_ARCH}" = "" ]; then eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #define _HPUX_SOURCE #include #include int main () { #if defined(_SC_KERNEL_BITS) long bits = sysconf(_SC_KERNEL_BITS); #endif long cpu = sysconf (_SC_CPU_VERSION); switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0"); break; case CPU_PA_RISC1_1: puts ("hppa1.1"); break; case CPU_PA_RISC2_0: #if defined(_SC_KERNEL_BITS) switch (bits) { case 64: puts ("hppa2.0w"); break; case 32: puts ("hppa2.0n"); break; default: puts ("hppa2.0"); break; } break; #else /* !defined(_SC_KERNEL_BITS) */ puts ("hppa2.0"); break; #endif default: puts ("hppa1.0"); break; } exit (0); } EOF (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` test -z "$HP_ARCH" && HP_ARCH=hppa fi ;; esac if [ ${HP_ARCH} = "hppa2.0w" ] then eval $set_cc_for_build # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler # generating 64-bit code. GNU and HP use different nomenclature: # # $ CC_FOR_BUILD=cc ./config.guess # => hppa2.0w-hp-hpux11.23 # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess # => hppa64-hp-hpux11.23 if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | grep -q __LP64__ then HP_ARCH="hppa2.0w" else HP_ARCH="hppa64" fi fi echo ${HP_ARCH}-hp-hpux${HPUX_REV} exit ;; ia64:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` echo ia64-hp-hpux${HPUX_REV} exit ;; 3050*:HI-UX:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include int main () { long cpu = sysconf (_SC_CPU_VERSION); /* The order matters, because CPU_IS_HP_MC68K erroneously returns true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct results, however. */ if (CPU_IS_PA_RISC (cpu)) { switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; default: puts ("hppa-hitachi-hiuxwe2"); break; } } else if (CPU_IS_HP_MC68K (cpu)) puts ("m68k-hitachi-hiuxwe2"); else puts ("unknown-hitachi-hiuxwe2"); exit (0); } EOF $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && { echo "$SYSTEM_NAME"; exit; } echo unknown-hitachi-hiuxwe2 exit ;; 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) echo hppa1.1-hp-bsd exit ;; 9000/8??:4.3bsd:*:*) echo hppa1.0-hp-bsd exit ;; *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) echo hppa1.0-hp-mpeix exit ;; hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) echo hppa1.1-hp-osf exit ;; hp8??:OSF1:*:*) echo hppa1.0-hp-osf exit ;; i*86:OSF1:*:*) if [ -x /usr/sbin/sysversion ] ; then echo ${UNAME_MACHINE}-unknown-osf1mk else echo ${UNAME_MACHINE}-unknown-osf1 fi exit ;; parisc*:Lites*:*:*) echo hppa1.1-hp-lites exit ;; C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) echo c1-convex-bsd exit ;; C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit ;; C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) echo c34-convex-bsd exit ;; C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) echo c38-convex-bsd exit ;; C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) echo c4-convex-bsd exit ;; CRAY*Y-MP:*:*:*) echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*[A-Z]90:*:*:*) echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ -e 's/\.[^.]*$/.X/' exit ;; CRAY*TS:*:*:*) echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*T3E:*:*:*) echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*SV1:*:*:*) echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; *:UNICOS/mp:*:*) echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; 5000:UNIX_System_V:4.*:*) FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} exit ;; sparc*:BSD/OS:*:*) echo sparc-unknown-bsdi${UNAME_RELEASE} exit ;; *:BSD/OS:*:*) echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit ;; *:FreeBSD:*:*) UNAME_PROCESSOR=`/usr/bin/uname -p` case ${UNAME_PROCESSOR} in amd64) echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; *) echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; esac exit ;; i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin exit ;; *:MINGW64*:*) echo ${UNAME_MACHINE}-pc-mingw64 exit ;; *:MINGW*:*) echo ${UNAME_MACHINE}-pc-mingw32 exit ;; *:MSYS*:*) echo ${UNAME_MACHINE}-pc-msys exit ;; i*:windows32*:*) # uname -m includes "-pc" on this system. echo ${UNAME_MACHINE}-mingw32 exit ;; i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 exit ;; *:Interix*:*) case ${UNAME_MACHINE} in x86) echo i586-pc-interix${UNAME_RELEASE} exit ;; authenticamd | genuineintel | EM64T) echo x86_64-unknown-interix${UNAME_RELEASE} exit ;; IA64) echo ia64-unknown-interix${UNAME_RELEASE} exit ;; esac ;; [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) echo i${UNAME_MACHINE}-pc-mks exit ;; 8664:Windows_NT:*) echo x86_64-pc-mks exit ;; i*:Windows_NT*:* | Pentium*:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we # UNAME_MACHINE based on the output of uname instead of i386? echo i586-pc-interix exit ;; i*:UWIN*:*) echo ${UNAME_MACHINE}-pc-uwin exit ;; amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) echo x86_64-unknown-cygwin exit ;; p*:CYGWIN*:*) echo powerpcle-unknown-cygwin exit ;; prep*:SunOS:5.*:*) echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; *:GNU:*:*) # the GNU system echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` exit ;; *:GNU/*:*:*) # other systems with GNU libc and userland echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC} exit ;; i*86:Minix:*:*) echo ${UNAME_MACHINE}-pc-minix exit ;; aarch64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; aarch64_be:Linux:*:*) UNAME_MACHINE=aarch64_be echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; alpha:Linux:*:*) case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in EV5) UNAME_MACHINE=alphaev5 ;; EV56) UNAME_MACHINE=alphaev56 ;; PCA56) UNAME_MACHINE=alphapca56 ;; PCA57) UNAME_MACHINE=alphapca56 ;; EV6) UNAME_MACHINE=alphaev6 ;; EV67) UNAME_MACHINE=alphaev67 ;; EV68*) UNAME_MACHINE=alphaev68 ;; esac objdump --private-headers /bin/sh | grep -q ld.so.1 if test "$?" = 0 ; then LIBC="gnulibc1" ; fi echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; arc:Linux:*:* | arceb:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; arm*:Linux:*:*) eval $set_cc_for_build if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ARM_EABI__ then echo ${UNAME_MACHINE}-unknown-linux-${LIBC} else if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ARM_PCS_VFP then echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi else echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf fi fi exit ;; avr32*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; cris:Linux:*:*) echo ${UNAME_MACHINE}-axis-linux-${LIBC} exit ;; crisv32:Linux:*:*) echo ${UNAME_MACHINE}-axis-linux-${LIBC} exit ;; frv:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; hexagon:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; i*86:Linux:*:*) echo ${UNAME_MACHINE}-pc-linux-${LIBC} exit ;; ia64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; m32r*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; m68*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; mips:Linux:*:* | mips64:Linux:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #undef CPU #undef ${UNAME_MACHINE} #undef ${UNAME_MACHINE}el #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) CPU=${UNAME_MACHINE}el #else #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) CPU=${UNAME_MACHINE} #else CPU= #endif #endif EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; } ;; openrisc*:Linux:*:*) echo or1k-unknown-linux-${LIBC} exit ;; or32:Linux:*:* | or1k*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; padre:Linux:*:*) echo sparc-unknown-linux-${LIBC} exit ;; parisc64:Linux:*:* | hppa64:Linux:*:*) echo hppa64-unknown-linux-${LIBC} exit ;; parisc:Linux:*:* | hppa:Linux:*:*) # Look for CPU level case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in PA7*) echo hppa1.1-unknown-linux-${LIBC} ;; PA8*) echo hppa2.0-unknown-linux-${LIBC} ;; *) echo hppa-unknown-linux-${LIBC} ;; esac exit ;; ppc64:Linux:*:*) echo powerpc64-unknown-linux-${LIBC} exit ;; ppc:Linux:*:*) echo powerpc-unknown-linux-${LIBC} exit ;; ppc64le:Linux:*:*) echo powerpc64le-unknown-linux-${LIBC} exit ;; ppcle:Linux:*:*) echo powerpcle-unknown-linux-${LIBC} exit ;; s390:Linux:*:* | s390x:Linux:*:*) echo ${UNAME_MACHINE}-ibm-linux-${LIBC} exit ;; sh64*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; sh*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; sparc:Linux:*:* | sparc64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; tile*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; vax:Linux:*:*) echo ${UNAME_MACHINE}-dec-linux-${LIBC} exit ;; x86_64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; xtensa*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; i*86:DYNIX/ptx:4*:*) # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. # earlier versions are messed up and put the nodename in both # sysname and nodename. echo i386-sequent-sysv4 exit ;; i*86:UNIX_SV:4.2MP:2.*) # Unixware is an offshoot of SVR4, but it has its own version # number series starting with 2... # I am not positive that other SVR4 systems won't match this, # I just have to hope. -- rms. # Use sysv4.2uw... so that sysv4* matches it. echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} exit ;; i*86:OS/2:*:*) # If we were able to find `uname', then EMX Unix compatibility # is probably installed. echo ${UNAME_MACHINE}-pc-os2-emx exit ;; i*86:XTS-300:*:STOP) echo ${UNAME_MACHINE}-unknown-stop exit ;; i*86:atheos:*:*) echo ${UNAME_MACHINE}-unknown-atheos exit ;; i*86:syllable:*:*) echo ${UNAME_MACHINE}-pc-syllable exit ;; i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*) echo i386-unknown-lynxos${UNAME_RELEASE} exit ;; i*86:*DOS:*:*) echo ${UNAME_MACHINE}-pc-msdosdjgpp exit ;; i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} else echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} fi exit ;; i*86:*:5:[678]*) # UnixWare 7.x, OpenUNIX and OpenServer 6. case `/bin/uname -X | grep "^Machine"` in *486*) UNAME_MACHINE=i486 ;; *Pentium) UNAME_MACHINE=i586 ;; *Pent*|*Celeron) UNAME_MACHINE=i686 ;; esac echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} exit ;; i*86:*:3.2:*) if test -f /usr/options/cb.name; then UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ && UNAME_MACHINE=i586 (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ && UNAME_MACHINE=i686 (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ && UNAME_MACHINE=i686 echo ${UNAME_MACHINE}-pc-sco$UNAME_REL else echo ${UNAME_MACHINE}-pc-sysv32 fi exit ;; pc:*:*:*) # Left here for compatibility: # uname -m prints for DJGPP always 'pc', but it prints nothing about # the processor, so we play safe by assuming i586. # Note: whatever this is, it MUST be the same as what config.sub # prints for the "djgpp" host, or else GDB configury will decide that # this is a cross-build. echo i586-pc-msdosdjgpp exit ;; Intel:Mach:3*:*) echo i386-pc-mach3 exit ;; paragon:*:*:*) echo i860-intel-osf1 exit ;; i860:*:4.*:*) # i860-SVR4 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 else # Add other i860-SVR4 vendors below as they are discovered. echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 fi exit ;; mini*:CTIX:SYS*5:*) # "miniframe" echo m68010-convergent-sysv exit ;; mc68k:UNIX:SYSTEM5:3.51m) echo m68k-convergent-sysv exit ;; M680?0:D-NIX:5.3:*) echo m68k-diab-dnix exit ;; M68*:*:R3V[5678]*:*) test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) OS_REL='' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4.3${OS_REL}; exit; } /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4; exit; } ;; NCR*:*:4.2:* | MPRAS*:*:4.2:*) OS_REL='.3' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4.3${OS_REL}; exit; } /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) echo m68k-unknown-lynxos${UNAME_RELEASE} exit ;; mc68030:UNIX_System_V:4.*:*) echo m68k-atari-sysv4 exit ;; TSUNAMI:LynxOS:2.*:*) echo sparc-unknown-lynxos${UNAME_RELEASE} exit ;; rs6000:LynxOS:2.*:*) echo rs6000-unknown-lynxos${UNAME_RELEASE} exit ;; PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*) echo powerpc-unknown-lynxos${UNAME_RELEASE} exit ;; SM[BE]S:UNIX_SV:*:*) echo mips-dde-sysv${UNAME_RELEASE} exit ;; RM*:ReliantUNIX-*:*:*) echo mips-sni-sysv4 exit ;; RM*:SINIX-*:*:*) echo mips-sni-sysv4 exit ;; *:SINIX-*:*:*) if uname -p 2>/dev/null >/dev/null ; then UNAME_MACHINE=`(uname -p) 2>/dev/null` echo ${UNAME_MACHINE}-sni-sysv4 else echo ns32k-sni-sysv fi exit ;; PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort # says echo i586-unisys-sysv4 exit ;; *:UNIX_System_V:4*:FTX*) # From Gerald Hewes . # How about differentiating between stratus architectures? -djm echo hppa1.1-stratus-sysv4 exit ;; *:*:*:FTX*) # From seanf@swdc.stratus.com. echo i860-stratus-sysv4 exit ;; i*86:VOS:*:*) # From Paul.Green@stratus.com. echo ${UNAME_MACHINE}-stratus-vos exit ;; *:VOS:*:*) # From Paul.Green@stratus.com. echo hppa1.1-stratus-vos exit ;; mc68*:A/UX:*:*) echo m68k-apple-aux${UNAME_RELEASE} exit ;; news*:NEWS-OS:6*:*) echo mips-sony-newsos6 exit ;; R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) if [ -d /usr/nec ]; then echo mips-nec-sysv${UNAME_RELEASE} else echo mips-unknown-sysv${UNAME_RELEASE} fi exit ;; BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. echo powerpc-be-beos exit ;; BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. echo powerpc-apple-beos exit ;; BePC:BeOS:*:*) # BeOS running on Intel PC compatible. echo i586-pc-beos exit ;; BePC:Haiku:*:*) # Haiku running on Intel PC compatible. echo i586-pc-haiku exit ;; x86_64:Haiku:*:*) echo x86_64-unknown-haiku exit ;; SX-4:SUPER-UX:*:*) echo sx4-nec-superux${UNAME_RELEASE} exit ;; SX-5:SUPER-UX:*:*) echo sx5-nec-superux${UNAME_RELEASE} exit ;; SX-6:SUPER-UX:*:*) echo sx6-nec-superux${UNAME_RELEASE} exit ;; SX-7:SUPER-UX:*:*) echo sx7-nec-superux${UNAME_RELEASE} exit ;; SX-8:SUPER-UX:*:*) echo sx8-nec-superux${UNAME_RELEASE} exit ;; SX-8R:SUPER-UX:*:*) echo sx8r-nec-superux${UNAME_RELEASE} exit ;; Power*:Rhapsody:*:*) echo powerpc-apple-rhapsody${UNAME_RELEASE} exit ;; *:Rhapsody:*:*) echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} exit ;; *:Darwin:*:*) UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown eval $set_cc_for_build if test "$UNAME_PROCESSOR" = unknown ; then UNAME_PROCESSOR=powerpc fi if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ grep IS_64BIT_ARCH >/dev/null then case $UNAME_PROCESSOR in i386) UNAME_PROCESSOR=x86_64 ;; powerpc) UNAME_PROCESSOR=powerpc64 ;; esac fi fi elif test "$UNAME_PROCESSOR" = i386 ; then # Avoid executing cc on OS X 10.9, as it ships with a stub # that puts up a graphical alert prompting to install # developer tools. Any system running Mac OS X 10.7 or # later (Darwin 11 and later) is required to have a 64-bit # processor. This is not true of the ARM version of Darwin # that Apple uses in portable devices. UNAME_PROCESSOR=x86_64 fi echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} exit ;; *:procnto*:*:* | *:QNX:[0123456789]*:*) UNAME_PROCESSOR=`uname -p` if test "$UNAME_PROCESSOR" = "x86"; then UNAME_PROCESSOR=i386 UNAME_MACHINE=pc fi echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} exit ;; *:QNX:*:4*) echo i386-pc-qnx exit ;; NEO-?:NONSTOP_KERNEL:*:*) echo neo-tandem-nsk${UNAME_RELEASE} exit ;; NSE-*:NONSTOP_KERNEL:*:*) echo nse-tandem-nsk${UNAME_RELEASE} exit ;; NSR-?:NONSTOP_KERNEL:*:*) echo nsr-tandem-nsk${UNAME_RELEASE} exit ;; *:NonStop-UX:*:*) echo mips-compaq-nonstopux exit ;; BS2000:POSIX*:*:*) echo bs2000-siemens-sysv exit ;; DS/*:UNIX_System_V:*:*) echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} exit ;; *:Plan9:*:*) # "uname -m" is not consistent, so use $cputype instead. 386 # is converted to i386 for consistency with other x86 # operating systems. if test "$cputype" = "386"; then UNAME_MACHINE=i386 else UNAME_MACHINE="$cputype" fi echo ${UNAME_MACHINE}-unknown-plan9 exit ;; *:TOPS-10:*:*) echo pdp10-unknown-tops10 exit ;; *:TENEX:*:*) echo pdp10-unknown-tenex exit ;; KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) echo pdp10-dec-tops20 exit ;; XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) echo pdp10-xkl-tops20 exit ;; *:TOPS-20:*:*) echo pdp10-unknown-tops20 exit ;; *:ITS:*:*) echo pdp10-unknown-its exit ;; SEI:*:*:SEIUX) echo mips-sei-seiux${UNAME_RELEASE} exit ;; *:DragonFly:*:*) echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` exit ;; *:*VMS:*:*) UNAME_MACHINE=`(uname -p) 2>/dev/null` case "${UNAME_MACHINE}" in A*) echo alpha-dec-vms ; exit ;; I*) echo ia64-dec-vms ; exit ;; V*) echo vax-dec-vms ; exit ;; esac ;; *:XENIX:*:SysV) echo i386-pc-xenix exit ;; i*86:skyos:*:*) echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' exit ;; i*86:rdos:*:*) echo ${UNAME_MACHINE}-pc-rdos exit ;; i*86:AROS:*:*) echo ${UNAME_MACHINE}-pc-aros exit ;; x86_64:VMkernel:*:*) echo ${UNAME_MACHINE}-unknown-esx exit ;; esac cat >&2 < in order to provide the needed information to handle your system. config.guess timestamp = $timestamp uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` /bin/uname -X = `(/bin/uname -X) 2>/dev/null` hostinfo = `(hostinfo) 2>/dev/null` /bin/universe = `(/bin/universe) 2>/dev/null` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` /bin/arch = `(/bin/arch) 2>/dev/null` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` UNAME_MACHINE = ${UNAME_MACHINE} UNAME_RELEASE = ${UNAME_RELEASE} UNAME_SYSTEM = ${UNAME_SYSTEM} UNAME_VERSION = ${UNAME_VERSION} EOF exit 1 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: dfarc-3.12/share/0002775000175000017510000000000012420023266010623 500000000000000dfarc-3.12/share/pixmaps/0002775000175000017510000000000012420023266012304 500000000000000dfarc-3.12/share/pixmaps/dfarc.png0000664000175000017510000000115112340110733014002 00000000000000‰PNG  IHDR szzô pHYs  šœtIME×  3pQzIDATXíVm®„0ÌÞË£áÉx?ºUúõ²M5Ú3 TÂx(Âo‡¶fn®ÿ—A(s  ¿±š@ÿDO¹|aUQ@ïhVfk”ù;q¿×cÎþNÛNø2ÕÀœ~d%Šæ¨‘ çyâº.”rÚT`&#óó½wàQò6EDíxR¡6%élòßr·g¤iYÉE.ÀyžÕuÕwu¹£Ý‹J)/¥¾÷44Ý®ì&·&*á':º,å¼GTÖÞ\Ñ_j©j¦‚f¦qyRW†š2î1÷*Xx%>žE߈zÆ÷Ì›ªr%­Œà…Ü­Øg®÷ÌEäÉ¿Yg0R‚›)°çw.ó§RJô¿Ò4;].o’gí¥ðÀ ·½:ï·<ó™OüŽÚn¨ª "ˆHÿÏ8º=ÜbÏo"0×<÷ÀwT8Ì"ò†±ds•9Ç2ì*@³.›»¶•@IG|¥MÞ9ÆÇƒûÒQÕ»¾¹«¯›ÚKÎ…Ø }—kΟõî×k{Þ˜œ7Áíqë[ºoÅî§ÅÇoÅšì­ìV èKsRhDþC’e×]Ãyða'ì=6ßóB‰¦‚àAçc¬©u`’¯™ #Õ š·âÎ"ß”¦-w(ûKqç‚ëæsÍfÚ>iÃɺñíò¾DQãÔ æIEND®B`‚dfarc-3.12/share/Makefile.in0000664000175000017510000004610012417764236012626 00000000000000# Makefile.in generated by automake 1.14.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2013 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = share DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ $(dist_man_MANS) $(dist_pixmaps_DATA) README ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \ $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } man1dir = $(mandir)/man1 am__installdirs = "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(pixmapsdir)" NROFF = nroff MANS = $(dist_man_MANS) DATA = $(dist_pixmaps_DATA) am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ UPX = @UPX@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WINDRES = @WINDRES@ WXGLADE = @WXGLADE@ WX_CFLAGS = @WX_CFLAGS@ WX_CFLAGS_ONLY = @WX_CFLAGS_ONLY@ WX_CONFIG_PATH = @WX_CONFIG_PATH@ WX_CPPFLAGS = @WX_CPPFLAGS@ WX_CXXFLAGS = @WX_CXXFLAGS@ WX_CXXFLAGS_ONLY = @WX_CXXFLAGS_ONLY@ WX_LIBS = @WX_LIBS@ WX_LIBS_STATIC = @WX_LIBS_STATIC@ WX_RESCOMP = @WX_RESCOMP@ WX_VERSION = @WX_VERSION@ WX_VERSION_MAJOR = @WX_VERSION_MAJOR@ WX_VERSION_MICRO = @WX_VERSION_MICRO@ WX_VERSION_MINOR = @WX_VERSION_MINOR@ XDG_DESKTOP_MENU = @XDG_DESKTOP_MENU@ XDG_ICON_RESOURCE = @XDG_ICON_RESOURCE@ XDG_MIME = @XDG_MIME@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ intltool__v_merge_options_ = @intltool__v_merge_options_@ intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ dist_man_MANS = man/man1/dfarc.1 man/man1/freedink-dfarc.1 # Desktop build system inspired by: # - intltool documentation # - gnochm # - gdebi # - djvulibre pixmapsdir = $(datarootdir)/pixmaps dist_pixmaps_DATA = pixmaps/dfarc.png desktopfiles = freedink-dfarc.desktop freedink-mime.xml EXTRA_DIST = README freedink-dfarc.desktop.in freedink-mime.xml.in DISTCLEANFILES = $(desktopfiles) # xdg-utils introduced at: # http://kapo-cpp.blogspot.com/2008/02/register-your-own-mime-type-on-free.html @HAVE_XDG_TRUE@mimetype = application-x-dmod all: all-am .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnits share/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnits share/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-man1: $(dist_man_MANS) @$(NORMAL_INSTALL) @list1=''; \ list2='$(dist_man_MANS)'; \ test -n "$(man1dir)" \ && test -n "`echo $$list1$$list2`" \ || exit 0; \ echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \ $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \ { for i in $$list1; do echo "$$i"; done; \ if test -n "$$list2"; then \ for i in $$list2; do echo "$$i"; done \ | sed -n '/\.1[a-z]*$$/p'; \ fi; \ } | while read p; do \ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; echo "$$p"; \ done | \ sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ sed 'N;N;s,\n, ,g' | { \ list=; while read file base inst; do \ if test "$$base" = "$$inst"; then list="$$list $$file"; else \ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \ fi; \ done; \ for i in $$list; do echo "$$i"; done | $(am__base_list) | \ while read files; do \ test -z "$$files" || { \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \ done; } uninstall-man1: @$(NORMAL_UNINSTALL) @list=''; test -n "$(man1dir)" || exit 0; \ files=`{ for i in $$list; do echo "$$i"; done; \ l2='$(dist_man_MANS)'; for i in $$l2; do echo "$$i"; done | \ sed -n '/\.1[a-z]*$$/p'; \ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir) install-dist_pixmapsDATA: $(dist_pixmaps_DATA) @$(NORMAL_INSTALL) @list='$(dist_pixmaps_DATA)'; test -n "$(pixmapsdir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(pixmapsdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(pixmapsdir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pixmapsdir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(pixmapsdir)" || exit $$?; \ done uninstall-dist_pixmapsDATA: @$(NORMAL_UNINSTALL) @list='$(dist_pixmaps_DATA)'; test -n "$(pixmapsdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(pixmapsdir)'; $(am__uninstall_files_from_dir) tags TAGS: ctags CTAGS: cscope cscopelist: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(MANS) $(DATA) all-local installdirs: for dir in "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(pixmapsdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-data-local install-dist_pixmapsDATA \ install-man install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-man1 install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-dist_pixmapsDATA uninstall-local uninstall-man uninstall-man: uninstall-man1 .MAKE: install-am install-strip .PHONY: all all-am all-local check check-am clean clean-generic \ cscopelist-am ctags-am distclean distclean-generic distdir dvi \ dvi-am html html-am info info-am install install-am \ install-data install-data-am install-data-local \ install-dist_pixmapsDATA install-dvi install-dvi-am \ install-exec install-exec-am install-html install-html-am \ install-info install-info-am install-man install-man1 \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic pdf pdf-am ps ps-am tags-am uninstall \ uninstall-am uninstall-dist_pixmapsDATA uninstall-local \ uninstall-man uninstall-man1 @INTLTOOL_DESKTOP_RULE@ @INTLTOOL_XML_RULE@ # Force building desktop files (even if we don't install them through # a _DATA primary) all-local: $(desktopfiles) @HAVE_XDG_TRUE@install-data-local: # Take new MimeType for .dmod into account @HAVE_XDG_TRUE@ $(XDG_ICON_RESOURCE) install --context mimetypes --size 32 \ @HAVE_XDG_TRUE@ $(srcdir)/pixmaps/dfarc.png $(mimetype) @HAVE_XDG_TRUE@ $(XDG_MIME) install freedink-mime.xml @HAVE_XDG_TRUE@ $(XDG_DESKTOP_MENU) install freedink-dfarc.desktop @HAVE_XDG_TRUE@uninstall-local: @HAVE_XDG_TRUE@ $(XDG_ICON_RESOURCE) uninstall --context mimetypes --size 32 \ @HAVE_XDG_TRUE@ $(mimetype) @HAVE_XDG_TRUE@ $(XDG_MIME) uninstall freedink-mime.xml @HAVE_XDG_TRUE@ $(XDG_DESKTOP_MENU) uninstall freedink-dfarc.desktop # This is used for distro packages, and supports DESTDIR # Note: Debian now automatically *triggers* desktop-file-utils and mime-support @HAVE_XDG_FALSE@install-data-local: @HAVE_XDG_FALSE@ $(mkdir_p) "$(DESTDIR)$(datarootdir)/applications" @HAVE_XDG_FALSE@ $(mkdir_p) "$(DESTDIR)$(datarootdir)/mime/packages" @HAVE_XDG_FALSE@ $(mkdir_p) "$(DESTDIR)${datarootdir}/icons/hicolor/32x32/mimetypes" @HAVE_XDG_FALSE@ $(INSTALL_DATA) "$(srcdir)/pixmaps/dfarc.png" \ @HAVE_XDG_FALSE@ "$(DESTDIR)${datarootdir}/icons/hicolor/32x32/mimetypes/application-x-dmod.png" @HAVE_XDG_FALSE@ $(INSTALL_DATA) "freedink-dfarc.desktop" "$(DESTDIR)$(datarootdir)/applications/" @HAVE_XDG_FALSE@ $(INSTALL_DATA) "freedink-mime.xml" "$(DESTDIR)$(datarootdir)/mime/packages/" # Run these in your postinst script: # update-icon-caches # # or gtk-update-icon-cache # update-desktop-database # update-mime-database $(datarootdir)/mime @HAVE_XDG_FALSE@uninstall-local: @HAVE_XDG_FALSE@ rm -f "$(DESTDIR)$(datarootdir)/applications/freedink-dfarc.desktop" @HAVE_XDG_FALSE@ rm -f "$(DESTDIR)${datarootdir}/icons/hicolor/32x32/mimetypes/application-x-dmod.png" @HAVE_XDG_FALSE@ rm -f "$(DESTDIR)$(datarootdir)/mime/packages/freedink-mime.xml" # Run these in your postrm script: # gtk-update-icon-cache # update-desktop-database # update-mime-database $(datarootdir)/mime # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: dfarc-3.12/share/freedink-dfarc.desktop.in0000664000175000017510000000034412417752156015423 00000000000000[Desktop Entry] Version=1.0 Type=Application _Name=DFArc - Dink frontend _Comment=Run, edit, install, remove and package D-Mods (Dink Modules) Exec=dfarc %f Icon=dfarc Categories=Game;AdventureGame; MimeType=application/x-dmod; dfarc-3.12/share/man/0002775000175000017510000000000012420023266011376 500000000000000dfarc-3.12/share/man/man1/0002775000175000017510000000000012420023266012232 500000000000000dfarc-3.12/share/man/man1/dfarc.10000664000175000017510000000251112340110733013305 00000000000000.\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH DFARC2 1 "January 19, 2008" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME dfarc \- An integrated frontend and .dmod installer. .SH SYNOPSIS .B dfarc .RI [ file.dmod ] .SH DESCRIPTION This manual page documents briefly the .B dfarc command. .PP .\" TeX users may be more comfortable with the \fB\fP and .\" \fI\fP escape sequences to invode bold face and italics, .\" respectively. \fBDFArc\fP is a frontend to run the Dink game and its D-Mods from a convenient graphical user interface. If file.dmod is given, it will be installed in the D-Mods directory. .SH AUTHOR DFArc was written by Andrew Reading, Dan Walma and Sylvain Beucler. . .PP This manual page was written by Sylvain Beucler . dfarc-3.12/share/man/man1/freedink-dfarc.10000664000175000017510000000002112340110733015064 00000000000000.so man1/dfarc.1 dfarc-3.12/share/README0000664000175000017510000000016412340110733011417 00000000000000dink.ico ======== (and hence src/icon_xpm.c, dfarc.png) From the original Dink source package, see src/icon_xpm.c dfarc-3.12/share/freedink-mime.xml.in0000664000175000017510000000043612340110733014404 00000000000000 <_comment>Packaged D-Mod dfarc-3.12/share/Makefile.am0000664000175000017510000000441512401136076012604 00000000000000dist_man_MANS = man/man1/dfarc.1 man/man1/freedink-dfarc.1 # Desktop build system inspired by: # - intltool documentation # - gnochm # - gdebi # - djvulibre pixmapsdir = $(datarootdir)/pixmaps dist_pixmaps_DATA = pixmaps/dfarc.png @INTLTOOL_DESKTOP_RULE@ @INTLTOOL_XML_RULE@ desktopfiles = freedink-dfarc.desktop freedink-mime.xml # Force building desktop files (even if we don't install them through # a _DATA primary) all-local: $(desktopfiles) EXTRA_DIST = README freedink-dfarc.desktop.in freedink-mime.xml.in DISTCLEANFILES = $(desktopfiles) if HAVE_XDG # xdg-utils introduced at: # http://kapo-cpp.blogspot.com/2008/02/register-your-own-mime-type-on-free.html mimetype = application-x-dmod install-data-local: # Take new MimeType for .dmod into account $(XDG_ICON_RESOURCE) install --context mimetypes --size 32 \ $(srcdir)/pixmaps/dfarc.png $(mimetype) $(XDG_MIME) install freedink-mime.xml $(XDG_DESKTOP_MENU) install freedink-dfarc.desktop uninstall-local: $(XDG_ICON_RESOURCE) uninstall --context mimetypes --size 32 \ $(mimetype) $(XDG_MIME) uninstall freedink-mime.xml $(XDG_DESKTOP_MENU) uninstall freedink-dfarc.desktop else # This is used for distro packages, and supports DESTDIR # Note: Debian now automatically *triggers* desktop-file-utils and mime-support install-data-local: $(mkdir_p) "$(DESTDIR)$(datarootdir)/applications" $(mkdir_p) "$(DESTDIR)$(datarootdir)/mime/packages" $(mkdir_p) "$(DESTDIR)${datarootdir}/icons/hicolor/32x32/mimetypes" $(INSTALL_DATA) "$(srcdir)/pixmaps/dfarc.png" \ "$(DESTDIR)${datarootdir}/icons/hicolor/32x32/mimetypes/application-x-dmod.png" $(INSTALL_DATA) "freedink-dfarc.desktop" "$(DESTDIR)$(datarootdir)/applications/" $(INSTALL_DATA) "freedink-mime.xml" "$(DESTDIR)$(datarootdir)/mime/packages/" # Run these in your postinst script: # update-icon-caches # # or gtk-update-icon-cache # update-desktop-database # update-mime-database $(datarootdir)/mime uninstall-local: rm -f "$(DESTDIR)$(datarootdir)/applications/freedink-dfarc.desktop" rm -f "$(DESTDIR)${datarootdir}/icons/hicolor/32x32/mimetypes/application-x-dmod.png" rm -f "$(DESTDIR)$(datarootdir)/mime/packages/freedink-mime.xml" # Run these in your postrm script: # gtk-update-icon-cache # update-desktop-database # update-mime-database $(datarootdir)/mime endif dfarc-3.12/COPYING.DFArc0000664000175000017510000000420012340110733011401 00000000000000DFArc2 is based on DFArc 1.5. Here's it's original license notice. ================= | DFArc License | ================= Copyright (c) 2004-2005 Andrew Reading. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Redistributions in any form must be accompanied by information on how to obtain complete source code for the DB software and any accompanying software that uses the DB software. The source code must either be included in the distribution or be available for no more than the cost of distribution plus a nominal fee, and must be freely redistributable under reasonable conditions. For an executable file, complete source code means the source code for all modules it contains. It does not include source code for modules or files that typically accompany the major components of the operating system on which the executable file runs. * The files produced by DFArc are not subject to this license but instead any licensing terms provided inside said files. THIS SOFTWARE IS PROVIDED BY SLEEPYCAT SOFTWARE ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE DISCLAIMED. IN NO EVENT SHALL SLEEPYCAT SOFTWARE BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. dfarc-3.12/NEWS0000664000175000017510000001314412417764157010162 00000000000000* 3.12 - DFArc now launches Dink and Dinkedit asynchronously, so you can run the editor even when the game is running. - Improve extract & package performance. - Fix infrequent off-by-1-pixel bug in logo animation. - New Serbian, Catalan, Turkish, Esperanto, Brazilian Portuguese and Hungarian translations, as well as translations updates. - Upgrade to wxWidgets 3.0. * 3.10 - New Croatian translation. - Updated Dutch, Finnish and Vietnamese translations. * v3.8.1 ** User-visible changes: - Search for dink* executables case-INsensitively - New Dutch translation - Updated Polish translations. * v3.8 ** User-visible changes: - Logo animation when selecting a D-Mod. - Language selection: set DFArc's language in the Options (so you don't have to modify your system language to test a translation). - Language selection: when translations are available for a D-Mod, allow the user to choose one in a listbox. - Updated Danish, Finnish, Italian and Polish translations. - Developper buttons are shown by default - we can't let users miss that they can makes their own games! - If Dink crashes, don't (mistakenly) report that it was not found, but (correctly) report that it failed. - Enable editor warning again, it previously stopped working because of a bug. ** Developer notes: - Drop compatibility with wxWidgets 2.6, require wxWidgets 2.8. * v3.6 - New translations: Danish (thanks Joe Hansen), German (thanks Roland Illig), Spanish (thanks Fernando Carmona Varo), Vietnamese (thanks Clytie Siddall), improved Polish (thanks MichaÅ‚ Trzebiatowski) * v3.4 - Use only 2 numbers in versions (3.x) - Add a man page link for 'freedink-dfarc' * v3.2.4 - Add 'freedink-dfarc' symlink so that command-line users have more chances to notice dfarc - Under ms woe, to find where Dink is installed, look in the directory where dfarc.exe is placed rather than in the registry or dinksmallwood.ini. The Dink directory can still be explicitely specified in the options. * v3.2.3 - Internationalization: new German translation and update to the Finnish translation * v3.2.2 - Internationalization: translated in Macedonian and Italian - Fix bug in Debian package that prevented the DFArc icons from showing up in the Applications menu * v3.2.1 - Internationalization: translated in Finnish * v3.2 ** User-visible changes: - Rename distro packages from dfarc to freedink-dfarc, for clarity, and because this version supports FreeDink-specific features. ** Developer notes: - Supports /usr/share/games and /usr/local/share/games in addition to /usr/share and /usr/local/share by default. - Add source for wxglade UI files in release tarballs. * v3.0 ** User-visible changes: - Cross-platform: runs on Unix-style platforms (GNU/Linux, *BSD...). - Internationalization: translated in English, French and Polish. - FreeDesktop integration (menu entry, file association...). - Package creation: - Create packages in a single step (tar+bz2 at once) instead of two. - Remove savegames, thumbs.db and backup files (*~). - Store real file modification time (not the .dmod creation time) in .dmod files. - Display compression ratio when the .dmod is created. - Package installation: - More accurate progress bar - After installation, open DFArc and select the new D-Mod - Options: - Go to the specified Dink override directory when clicking on "Browse" in the Options window (instead of a default location). - Removed options "Play introduction movie" option anymore (only useful for >10 years old CD version) and "List all directories" (replaced with better DMod auto-detection) - Added "Preferred file browser" option - D-Mods can be stored in a separate directory, useful when the main dink directory is not writable (e.g. owned by the administrator while running as non-admin user) - GUI: - Options, Package and Install windows can be resized. - The description textbox can be resized with a window splitter. - When there's no D-Mod logo, display the name of the D-Mod instead of whole black. - Select "dink" on first run. Display "< Pick a D-Mod" if none is selected. - The main window is slightly bigger, due a new, cross-platform method to compute the preferred window size. ** Developer notes: - File permissions set to 644 instead of 666 in generated .tar files. - File names are now encoded to UTF-8 in .tar files instead of using non-consistent wxString.c_str(). Apparently v1.08's DFArc2 was built using an ASCII build of wxWidgets which converted filenames to ASCII + current 8bit locale (e.g. latin1 for a French install)... and crashed when conversion was not possible (e.g. Arabic characters). For backward compatibility, during extracting, DFArc2 will still try to interpret filenames as latin-1 if not valid UTF-8. - File type in tar header is now '0'(48) instead of '\0'(0) - that's what modern Tar implementations do. - DFArcFrame and Options windows are converted to wxGlade. - Autoconfiscation: the build system uses Autoconf and Automake. - Can be cross-compiled to Woe using mingw32, in shared and static (no .dll needed) modes. - Compiles with Unicode and non-Unicode wxWidgets builds. - Can use UPX to compress executable. - Add --version and --help (GNU standards and 'make distcheck' compliance). - Use octal mode to interpret permissions (755 -> 0755) - BZip2 "work factor" reset to default (normally 30) instead of an arbitrary value of "90" (on a ]0, 250] range). - Debian packages (.deb) available. - Don't send '?src=DFArc2' when the user clicks on a URL. Privacy first, especially since the user isn't told about it. dfarc-3.12/README0000664000175000017510000000221312340110733010312 00000000000000DFArc - An integrated frontend, .dmod installer and .dmod archiver for the Dink Smallwood game engine DFArc is free software, and you are welcome to redistribute it under certain conditions; see the GNU GPL for details. ( cf. COPYING and http://gnu.org/licenses/gpl.html ) DFArc was written by Andrew Reading and tweaked by Dan Walma and Sylvain Beucler. Send e-mail to bug-freedink@gnu.org for comments, bug reports, or just to say hi! Building -------- If you are compiling DFArc from sources, check BUILD for instructions. About GNU --------- FreeDink is part of the GNU project, whose aim is to create "GNU", a completely free (as in freedom) operating system. Its most famous variant these days is GNU/Linux. A engine to play the Dink Smallwood game and D-Mods is definitely a must for the GNU OS ;) Check http://www.gnu.org/ for more information. Technical information --------------------- Check the 'doc' directory for technical/developer considerations. --- Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. dfarc-3.12/freedink-dfarc.spec0000664000175000017510000001367012420022515013162 00000000000000Name: freedink-dfarc Version: 3.12 Release: 1%{?dist} Summary: Frontend and .dmod installer for GNU FreeDink Group: Amusements/Games License: GPLv3+ URL: http://www.gnu.org/software/freedink/ Source0: ftp://ftp.gnu.org/gnu/freedink/dfarc-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %if 0%{?suse_version} BuildRequires: bzip2, wxWidgets-devel >= 3, intltool, gettext, gcc-c++ BuildRequires: desktop-file-utils, update-desktop-files %else BuildRequires: bzip2-devel, wxGTK3-devel, intltool, desktop-file-utils %endif Requires: xdg-utils %description DFArc makes it easy to play and manage the Dink Smallwood game and it's numerous Dink Modules (or D-Mods). %prep %setup -q -n dfarc-%{version} %build # Don't install desktop files, use %%post instead %configure --disable-desktopfiles \ --with-wx-config=/usr/libexec/wxGTK3/wx-config make %{?_smp_mflags} %install make install DESTDIR=%{buildroot} INSTALL="install -p" %find_lang dfarc desktop-file-validate %{buildroot}/%{_datadir}/applications/%name.desktop %if 0%{?suse_version} %suse_update_desktop_file -i %name %endif %post # https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#desktop-database update-desktop-database &> /dev/null || : # https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Icon_Cache touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : # https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#mimeinfo # https://fedorahosted.org/fpc/ticket/440 touch --no-create %{_datadir}/mime/packages &> /dev/null || : %postun # https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#desktop-database update-desktop-database &> /dev/null || : if [ $1 -eq 0 ]; then # https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Icon_Cache touch --no-create %{_datadir}/icons/hicolor &>/dev/null gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : # https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#mimeinfo # https://fedorahosted.org/fpc/ticket/440 touch --no-create %{_datadir}/mime/packages &> /dev/null || : update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || : fi %posttrans # https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Icon_Cache gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : # https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#mimeinfo # https://fedorahosted.org/fpc/ticket/440 update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || : %files -f dfarc.lang %defattr(-,root,root,-) %doc AUTHORS COPYING NEWS README THANKS TODO TRANSLATIONS.txt ChangeLog %{_bindir}/* %{_datadir}/applications/* %{_datadir}/mime/packages/* %{_datadir}/pixmaps/* # Don't include system directories, only added files: %{_datadir}/icons/hicolor/32x32/mimetypes/* %{_mandir}/man1/* %changelog * Thu Oct 16 2014 Sylvain Beucler 3.12-1 - New upstream release - Now requires wxWidgets >= 3.0 - Remove old %%clean section and use %%{buildroot} consistently * Sun Oct 05 2014 Sylvain Beucler 3.10-8 - tidy post-install scriptlets * Thu Oct 02 2014 Rex Dieter 3.10-7 - update icon/mime scriptlets * Sat Aug 16 2014 Fedora Release Engineering - 3.10-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 3.10-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 3.10-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Feb 13 2013 Fedora Release Engineering - 3.10-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Jul 19 2012 Fedora Release Engineering - 3.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Apr 27 2012 Sylvain Beucler - 3.10-1 - New upstream release * Fri Jan 13 2012 Fedora Release Engineering - 3.8.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Feb 08 2011 Fedora Release Engineering - 3.8.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Sun Nov 14 2010 Sylvain Beucler - 3.8.1-1 - New upstream release * Thu Oct 28 2010 Sylvain Beucler - 3.8-1 - New upstream release * Wed Jul 14 2010 Dan Horák - 3.6-2 - rebuilt against wxGTK-2.8.11-2 * Sun Feb 21 2010 Sylvain Beucler - 3.6-1 - New upstream release * Fri Sep 18 2009 Sylvain Beucler - 3.4-1 - New upstream release * Wed Sep 16 2009 Sylvain Beucler - 3.2.4-1 - New upstream release * Fri Jul 24 2009 Fedora Release Engineering - 3.2.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Fri Jul 10 2009 Sylvain Beucler - 3.2.3-1 - New upstream release * Wed Jun 03 2009 Sylvain Beucler - 3.2.2-1 - New upstream release * Tue Feb 24 2009 Fedora Release Engineering - 3.2.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Wed Sep 24 2008 Sylvain Beucler - 3.2.1-2 - Fix update-mime-database call (was conditional due to typo) - Fix macros in comments - Tidy changelog * Tue Sep 23 2008 Sylvain Beucler - 3.2.1-1 - New upstream release - Fix source URI - Clarify wxGlade upstream developer-only dependency - Use 'install -p' to preserve timestamps - Validate desktop files> * Desktop file - Rebuild MIME cache after installing desktop files - Add ChangeLog to the docs - Don't own _datadir/icons/hicolor directories * Sat Sep 20 2008 Sylvain Beucler - 3.2-1 - New upstream release * Thu Aug 28 2008 Sylvain Beucler 3.0-1 - Initial package dfarc-3.12/configure.ac0000664000175000017510000001450012417764143011741 00000000000000# -*- Autoconf -*- # Process this file with autoconf to produce a configure script. # Copyright (c) 2002 Leon Bottou and Yann Le Cun. (DjVuLibre-3.5) # Copyright (c) 2001 AT&T (DjVuLibre-3.5) # Copyright (C) 2007, 2008, 2009, 2014 Sylvain Beucler # This file is part of GNU FreeDink # GNU FreeDink 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. # GNU FreeDink 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, see # . AC_PREREQ(2.61) AC_INIT([DFArc],[3.12],[bug-freedink@gnu.org]) AC_CONFIG_AUX_DIR(autotools) AC_CONFIG_HEADER([config.h]) AM_INIT_AUTOMAKE([gnits dist-zip]) # Terse output - use V=1 for verbose output AM_SILENT_RULES(yes) # Define $host $host_os + distributes config.guess and config.sub AC_CANONICAL_HOST # We use wxWidget's internal gettext-compatible functions, calling # AM_PO_SUBDIRS directly (otherwise GETTEXT wants intl/ and such): ##AM_GNU_GETTEXT() AM_PO_SUBDIRS() # This one is for .desktop files: AC_SUBST(GETTEXT_PACKAGE, $PACKAGE_TARNAME) IT_PROG_INTLTOOL(0.31, no-xml) # Checks for programs. AC_PROG_CXX AC_PROG_LN_S AC_ARG_VAR([WXGLADE], [Compiler for UI files (.wxg -> .cpp)]) AC_PATH_PROG(WXGLADE, wxglade) if test x"$WXGLADE" = x""; then AC_MSG_WARN([You may need to install wxGlade (if you're a developer)]) LACK_WXGLADE=1 fi AM_CONDITIONAL(HAVE_WXGLADE, test "$WXGLADE" != "") AC_CHECK_TOOL(WINDRES, windres) AM_CONDITIONAL(HAVE_WINDRES, test "$WINDRES" != "") AC_ARG_VAR([UPX], [Produce self-decompressing executables (if --enable-upx)]) AC_ARG_ENABLE([upx], AS_HELP_STRING([--enable-upx], [compress executables [[default is disabled]]]), [], [enable_upx=no]) if test x"$enable_upx" = x"yes"; then AC_PATH_PROG(UPX, upx) fi AM_CONDITIONAL(HAVE_UPX, test "$UPX" != "") # Dynamic and static builds # Dynamic and static builds AC_ARG_ENABLE([static], AS_HELP_STRING([--enable-static],[embed wxWidgets and libbz2 in the executable (mingw32 only) [[default is disabled]]]), [], [enable_static=no]) if test x"$enable_static" = x"yes"; then case "${host}" in # (cf. (autoconf.info)Using System Type) # Modified to accept "biplet" instead of "triplet", because at # least Debian's MinGW package uses i586-mingw32msvc (instead of # i586-pc-mingw32msvc) *-*-go32* | *-mingw32* | *-*-cygwin* | *-*-windows*) LDFLAGS="$LDFLAGS -static" ;; esac fi # TODO: check with Cygwin + -mno-cygwin # ---------------------------------------- # Desktop files # ---------------------------------------- # (inspired by djvulibre's configure.ac) ac_desktopfiles=yes AC_ARG_ENABLE(desktopfiles, AS_HELP_STRING([--disable-desktopfiles],[Do not install scripts to register icons and menus.]), [ac_desktopfiles=$enableval]) # Check for xdg tools AC_PATH_PROG(XDG_MIME, xdg-mime) AC_PATH_PROG(XDG_ICON_RESOURCE, xdg-icon-resource) AC_PATH_PROG(XDG_DESKTOP_MENU, xdg-desktop-menu) if test -x "${XDG_MIME}" && \ test -x "${XDG_ICON_RESOURCE}" && \ test -x "${XDG_DESKTOP_MENU}" then true elif test "$ac_desktopfiles" != no ; then ac_desktopfiles=no AC_MSG_WARN([Cannot find the Xdg Portland tools. -------------------------------------------------------- *** The scripts to register icons and menus *** will not be installed. --------------------------------------------------------]) fi AM_CONDITIONAL(HAVE_XDG, test "${ac_desktopfiles}" != "no") # Checks for libraries. AC_CHECK_LIB([bz2], [BZ2_compressBlock],,AC_MSG_WARN([You need to install libbz2]); LACK_LIBBZ2=1) # http://www.wxwidgets.org/wiki/index.php/Autoconf AM_OPTIONS_WXCONFIG reqwx=3.0.0 if test x"$enable_static" = x"yes"; then # Not using $WX_LIBS_STATIC (deprecated anyway) because CFLAGS also # change, using '--static' instead: AM_PATH_WXCONFIG($reqwx, [wxWin=1], [wxWin=0], [core], [--static]) else AM_PATH_WXCONFIG($reqwx, [wxWin=1], [wxWin=0], [core], []) fi if test "$wxWin" != 1; then AC_MSG_ERROR([ wxWidgets must be installed on your system. Please check that wx-config is in path, the directory where wxWidgets libraries are installed (returned by 'wx-config --libs' or 'wx-config --static --libs' command) is in LD_LIBRARY_PATH or equivalent variable and wxWidgets version is $reqwx or above. ]) fi CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS" CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS_ONLY" CFLAGS="$CFLAGS $WX_CFLAGS_ONLY" LIBS="$LIBS $WX_LIBS" # # Checks for header files. AC_HEADER_DIRENT # Checks for typedefs, structures, and compiler characteristics. AC_HEADER_STDBOOL AC_C_CONST AC_C_INLINE AC_TYPE_SIZE_T # Checks for library functions. #AC_FUNC_MALLOC AC_HEADER_STDC AC_FUNC_STAT AC_CHECK_FUNCS([memset pow]) # # Efficient I/O block size (not available under woe) (BZip.cpp) AC_CHECK_MEMBERS([struct stat.st_blksize]) # Remove mingwm10.dll dependency for static builds # http://www.sourceware.org/ml/pthreads-win32/2000/msg00141.html # http://www.thelins.se/johan/2006/11/installing-compressing-and-being.html if test x"$enable_static" = x"yes"; then case "${host}" in *-*-go32* | *-mingw32* | *-*-cygwin* | *-*-windows*) LIBS="`echo $LIBS | sed 's/-mthreads //'`" # Needed for 2.6.4: CXXFLAGS="`echo $CXXFLAGS | sed 's/-mthreads //'`" ;; esac fi error=0 if test "$LACK_LIBBZ2" = 1; then echo "* Error: you need to install the libbz2 library (for compression)"; error=1 fi if test "$enable_upx" = "yes" -a -z "$UPX"; then echo "* Error: UPX is explicitely activated (--enable-upx) but cannot be found" error=1 fi if test "$LACK_WXGLADE" = 1; then echo "* Warning: you may need to install wxGlade (if you're a developer)"; fi if test $error -eq 1; then exit 1 fi AC_CONFIG_FILES([Makefile share/Makefile src/Makefile src/woeres.rc po/Makefile.in]) AC_OUTPUT echo echo "Options summary:" echo "* --enable-upx=$enable_upx" echo "* --enable-static=$enable_static" echo echo "Now you can type 'make' to compile $PACKAGE_STRING" dfarc-3.12/TRANSLATIONS.txt0000664000175000017510000000334412340110733012122 00000000000000Translate DFArc in your own language! ===================================== For those who don't like the command line ----------------------------------------- Poedit (PO editor) is a nice graphical editor that can create new .po files and synchronize them with the DFArc source code. Check it out! http://www.poedit.net/ You can get the latest translation template from the Translation Project at: http://translationproject.org/domain/dfarc.html Alternatively, to generate the translation template manually:: cd po/ intltool-update --pot You then can create a new language using: 'File' -> 'New catalog from a POT file'. To synchronize your translation with a new version of the source code, you need to add the location of DFArc in the catalog configuration ('Catalog' -> 'Configuration' menu and 'Paths' tab). Then you can use 'Catalog' -> 'Update from sources'. The following sections describe the standard and developer way to add and update translations, but requires command line tools. To translate DFArc in a new language ------------------------------------ First, determine your language code (see http://www.gnu.org/software/gettext/manual/html_node/Language-Codes.html). Add it at the end of the po/LINGUAS file. You then can use ``msginit`` to create a new .po file (replace XX with your language code):: cd po/ msginit --locale XX To update your translation -------------------------- First, synchronize the .po files with the source code (this preserves your previous translations):: ./configure cd po/ make update-po You now can edit them file using your favorite PO editor (I recommend Emacs's PO-mode). 'intltool' variants (you can skip './configure'):: cd po/ intltool-update --pot intltool-update XX dfarc-3.12/configure0000775000175000017510000101264312417764237011375 00000000000000#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.69 for DFArc 3.12. # # Report bugs to . # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. # # # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in #( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # Use a proper internal environment variable to ensure we don't fall # into an infinite loop, continuously re-executing ourselves. if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then _as_can_reexec=no; export _as_can_reexec; # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also # works around shells that cannot unset nonexistent variables. # Preserve -v and -x to the replacement shell. BASH_ENV=/dev/null ENV=/dev/null (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV case $- in # (((( *v*x* | *x*v* ) as_opts=-vx ;; *v* ) as_opts=-v ;; *x* ) as_opts=-x ;; * ) as_opts= ;; esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 as_fn_exit 255 fi # We don't want this to propagate to other subprocesses. { _as_can_reexec=; unset _as_can_reexec;} if test "x$CONFIG_SHELL" = x; then as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which # is contrary to our usage. Disable this feature. alias -g '\${1+\"\$@\"}'='\"\$@\"' setopt NO_GLOB_SUBST else case \`(set -o) 2>/dev/null\` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi " as_required="as_fn_return () { (exit \$1); } as_fn_success () { as_fn_return 0; } as_fn_failure () { as_fn_return 1; } as_fn_ret_success () { return 0; } as_fn_ret_failure () { return 1; } exitcode=0 as_fn_success || { exitcode=1; echo as_fn_success failed.; } as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : else exitcode=1; echo positional parameters were not saved. fi test x\$exitcode = x0 || exit 1 test -x / || exit 1" as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 test \$(( 1 + 1 )) = 2 || exit 1" if (eval "$as_required") 2>/dev/null; then : as_have_required=yes else as_have_required=no fi if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_found=false for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. as_found=: case $as_dir in #( /*) for as_base in sh bash ksh sh5; do # Try only shells that exist, to save several forks. as_shell=$as_dir/$as_base if { test -f "$as_shell" || test -f "$as_shell.exe"; } && { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : CONFIG_SHELL=$as_shell as_have_required=yes if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : break 2 fi fi done;; esac as_found=false done $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : CONFIG_SHELL=$SHELL as_have_required=yes fi; } IFS=$as_save_IFS if test "x$CONFIG_SHELL" != x; then : export CONFIG_SHELL # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also # works around shells that cannot unset nonexistent variables. # Preserve -v and -x to the replacement shell. BASH_ENV=/dev/null ENV=/dev/null (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV case $- in # (((( *v*x* | *x*v* ) as_opts=-vx ;; *v* ) as_opts=-v ;; *x* ) as_opts=-x ;; * ) as_opts= ;; esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 exit 255 fi if test x$as_have_required = xno; then : $as_echo "$0: This script requires a shell more modern than all" $as_echo "$0: the shells that I found on your system." if test x${ZSH_VERSION+set} = xset ; then $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" $as_echo "$0: be upgraded to zsh 4.3.4 or later." else $as_echo "$0: Please tell bug-autoconf@gnu.org and $0: bug-freedink@gnu.org about your system, including any $0: error possibly output before this message. Then install $0: a modern shell, or manually run the script under such a $0: shell if you do have one." fi exit 1 fi fi fi SHELL=${CONFIG_SHELL-/bin/sh} export SHELL # Unset more variables known to interfere with behavior of common tools. CLICOLOR_FORCE= GREP_OPTIONS= unset CLICOLOR_FORCE GREP_OPTIONS ## --------------------- ## ## M4sh Shell Functions. ## ## --------------------- ## # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p # as_fn_executable_p FILE # ----------------------- # Test if FILE is an executable regular file. as_fn_executable_p () { test -f "$1" && test -x "$1" } # as_fn_executable_p # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append # as_fn_arith ARG... # ------------------ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits as_lineno_1=$LINENO as_lineno_1a=$LINENO as_lineno_2=$LINENO as_lineno_2a=$LINENO eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= ' <$as_myself | sed ' s/[$]LINENO.*/&-/ t lineno b :lineno N :loop s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ t loop s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } # If we had to re-execute with $CONFIG_SHELL, we're ensured to have # already done that, so ensure we don't try to do so again and fall # in an infinite loop. This has already happened in practice. _as_can_reexec=no; export _as_can_reexec # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). . "./$as_me.lineno" # Exit status is that of the last command. exit } ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -pR' fi else as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi as_test_x='test -x' as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" test -n "$DJDIR" || exec 7<&0 &1 # Name of the host. # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` # # Initializations. # ac_default_prefix=/usr/local ac_clean_files= ac_config_libobj_dir=. LIBOBJS= cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= # Identity of this package. PACKAGE_NAME='DFArc' PACKAGE_TARNAME='dfarc' PACKAGE_VERSION='3.12' PACKAGE_STRING='DFArc 3.12' PACKAGE_BUGREPORT='bug-freedink@gnu.org' PACKAGE_URL='' # Factoring default headers for most tests. ac_includes_default="\ #include #ifdef HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_SYS_STAT_H # include #endif #ifdef STDC_HEADERS # include # include #else # ifdef HAVE_STDLIB_H # include # endif #endif #ifdef HAVE_STRING_H # if !defined STDC_HEADERS && defined HAVE_MEMORY_H # include # endif # include #endif #ifdef HAVE_STRINGS_H # include #endif #ifdef HAVE_INTTYPES_H # include #endif #ifdef HAVE_STDINT_H # include #endif #ifdef HAVE_UNISTD_H # include #endif" ac_subst_vars='am__EXEEXT_FALSE am__EXEEXT_TRUE LTLIBOBJS LIBOBJS EGREP GREP CPP WX_VERSION_MICRO WX_VERSION_MINOR WX_VERSION_MAJOR WX_RESCOMP WX_VERSION WX_LIBS_STATIC WX_LIBS WX_CXXFLAGS_ONLY WX_CFLAGS_ONLY WX_CXXFLAGS WX_CFLAGS WX_CPPFLAGS WX_CONFIG_PATH HAVE_XDG_FALSE HAVE_XDG_TRUE XDG_DESKTOP_MENU XDG_ICON_RESOURCE XDG_MIME HAVE_UPX_FALSE HAVE_UPX_TRUE UPX HAVE_WINDRES_FALSE HAVE_WINDRES_TRUE WINDRES HAVE_WXGLADE_FALSE HAVE_WXGLADE_TRUE WXGLADE LN_S am__fastdepCXX_FALSE am__fastdepCXX_TRUE CXXDEPMODE ac_ct_CXX CXXFLAGS CXX DATADIRNAME am__fastdepCC_FALSE am__fastdepCC_TRUE CCDEPMODE am__nodep AMDEPBACKSLASH AMDEP_FALSE AMDEP_TRUE am__quote am__include DEPDIR OBJEXT EXEEXT ac_ct_CC CPPFLAGS LDFLAGS CFLAGS CC ALL_LINGUAS INTLTOOL_PERL INTLTOOL_POLICY_RULE INTLTOOL_SERVICE_RULE INTLTOOL_THEME_RULE INTLTOOL_SCHEMAS_RULE INTLTOOL_CAVES_RULE INTLTOOL_XML_NOMERGE_RULE INTLTOOL_XML_RULE INTLTOOL_KBD_RULE INTLTOOL_XAM_RULE INTLTOOL_UI_RULE INTLTOOL_SOUNDLIST_RULE INTLTOOL_SHEET_RULE INTLTOOL_SERVER_RULE INTLTOOL_PONG_RULE INTLTOOL_OAF_RULE INTLTOOL_PROP_RULE INTLTOOL_KEYS_RULE INTLTOOL_DIRECTORY_RULE INTLTOOL_DESKTOP_RULE intltool__v_merge_options_0 intltool__v_merge_options_ INTLTOOL_V_MERGE_OPTIONS INTLTOOL__v_MERGE_0 INTLTOOL__v_MERGE_ INTLTOOL_V_MERGE INTLTOOL_EXTRACT INTLTOOL_MERGE INTLTOOL_UPDATE GETTEXT_PACKAGE XGETTEXT_EXTRA_OPTIONS MSGMERGE XGETTEXT_015 XGETTEXT GMSGFMT_015 MSGFMT_015 GMSGFMT MSGFMT GETTEXT_MACRO_VERSION USE_NLS host_os host_vendor host_cpu host build_os build_vendor build_cpu build AM_BACKSLASH AM_DEFAULT_VERBOSITY AM_DEFAULT_V AM_V am__untar am__tar AMTAR am__leading_dot SET_MAKE AWK mkdir_p MKDIR_P INSTALL_STRIP_PROGRAM STRIP install_sh MAKEINFO AUTOHEADER AUTOMAKE AUTOCONF ACLOCAL VERSION PACKAGE CYGPATH_W am__isrc INSTALL_DATA INSTALL_SCRIPT INSTALL_PROGRAM target_alias host_alias build_alias LIBS ECHO_T ECHO_N ECHO_C DEFS mandir localedir libdir psdir pdfdir dvidir htmldir infodir docdir oldincludedir includedir localstatedir sharedstatedir sysconfdir datadir datarootdir libexecdir sbindir bindir program_transform_name prefix exec_prefix PACKAGE_URL PACKAGE_BUGREPORT PACKAGE_STRING PACKAGE_VERSION PACKAGE_TARNAME PACKAGE_NAME PATH_SEPARATOR SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking enable_silent_rules enable_nls enable_dependency_tracking enable_upx enable_static enable_desktopfiles with_wxdir with_wx_config with_wx_prefix with_wx_exec_prefix ' ac_precious_vars='build_alias host_alias target_alias CC CFLAGS LDFLAGS LIBS CPPFLAGS CXX CXXFLAGS CCC WXGLADE UPX CPP' # Initialize some variables set by options. ac_init_help= ac_init_version=false ac_unrecognized_opts= ac_unrecognized_sep= # The variables have the same names as the options, with # dashes changed to underlines. cache_file=/dev/null exec_prefix=NONE no_create= no_recursion= prefix=NONE program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, silent= site= srcdir= verbose= x_includes=NONE x_libraries=NONE # Installation directory options. # These are left unexpanded so users can "make install exec_prefix=/foo" # and all the variables that are supposed to be based on exec_prefix # by default will actually change. # Use braces instead of parens because sh, perl, etc. also accept them. # (The list follows the same order as the GNU Coding Standards.) bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datarootdir='${prefix}/share' datadir='${datarootdir}' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' includedir='${prefix}/include' oldincludedir='/usr/include' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' infodir='${datarootdir}/info' htmldir='${docdir}' dvidir='${docdir}' pdfdir='${docdir}' psdir='${docdir}' libdir='${exec_prefix}/lib' localedir='${datarootdir}/locale' mandir='${datarootdir}/man' ac_prev= ac_dashdash= for ac_option do # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then eval $ac_prev=\$ac_option ac_prev= continue fi case $ac_option in *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; *=) ac_optarg= ;; *) ac_optarg=yes ;; esac # Accept the important Cygnus configure options, so we can diagnose typos. case $ac_dashdash$ac_option in --) ac_dashdash=yes ;; -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) bindir=$ac_optarg ;; -build | --build | --buil | --bui | --bu) ac_prev=build_alias ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) build_alias=$ac_optarg ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) cache_file=$ac_optarg ;; --config-cache | -C) cache_file=config.cache ;; -datadir | --datadir | --datadi | --datad) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=*) datadir=$ac_optarg ;; -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | --dataroo | --dataro | --datar) ac_prev=datarootdir ;; -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) datarootdir=$ac_optarg ;; -disable-* | --disable-*) ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=no ;; -docdir | --docdir | --docdi | --doc | --do) ac_prev=docdir ;; -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) docdir=$ac_optarg ;; -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) ac_prev=dvidir ;; -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) dvidir=$ac_optarg ;; -enable-* | --enable-*) ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=\$ac_optarg ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | --exec | --exe | --ex) ac_prev=exec_prefix ;; -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) exec_prefix=$ac_optarg ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; -help | --help | --hel | --he | -h) ac_init_help=long ;; -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ac_init_help=recursive ;; -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ac_init_help=short ;; -host | --host | --hos | --ho) ac_prev=host_alias ;; -host=* | --host=* | --hos=* | --ho=*) host_alias=$ac_optarg ;; -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) ac_prev=htmldir ;; -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | --ht=*) htmldir=$ac_optarg ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) includedir=$ac_optarg ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) infodir=$ac_optarg ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) libdir=$ac_optarg ;; -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | --libexe | --libex | --libe) ac_prev=libexecdir ;; -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | --libexe=* | --libex=* | --libe=*) libexecdir=$ac_optarg ;; -localedir | --localedir | --localedi | --localed | --locale) ac_prev=localedir ;; -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) localedir=$ac_optarg ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst | --locals) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) localstatedir=$ac_optarg ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) mandir=$ac_optarg ;; -nfp | --nfp | --nf) # Obsolete; use --without-fp. with_fp=no ;; -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c | -n) no_create=yes ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) no_recursion=yes ;; -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | --oldin | --oldi | --old | --ol | --o) ac_prev=oldincludedir ;; -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) oldincludedir=$ac_optarg ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) prefix=$ac_optarg ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p) ac_prev=program_prefix ;; -program-prefix=* | --program-prefix=* | --program-prefi=* \ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) program_prefix=$ac_optarg ;; -program-suffix | --program-suffix | --program-suffi | --program-suff \ | --program-suf | --program-su | --program-s) ac_prev=program_suffix ;; -program-suffix=* | --program-suffix=* | --program-suffi=* \ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) program_suffix=$ac_optarg ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ | --program-transform-n | --program-transform- \ | --program-transform | --program-transfor \ | --program-transfo | --program-transf \ | --program-trans | --program-tran \ | --progr-tra | --program-tr | --program-t) ac_prev=program_transform_name ;; -program-transform-name=* | --program-transform-name=* \ | --program-transform-nam=* | --program-transform-na=* \ | --program-transform-n=* | --program-transform-=* \ | --program-transform=* | --program-transfor=* \ | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) program_transform_name=$ac_optarg ;; -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) ac_prev=pdfdir ;; -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) pdfdir=$ac_optarg ;; -psdir | --psdir | --psdi | --psd | --ps) ac_prev=psdir ;; -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) psdir=$ac_optarg ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) silent=yes ;; -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) sbindir=$ac_optarg ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | --sharedst | --shareds | --shared | --share | --shar \ | --sha | --sh) ac_prev=sharedstatedir ;; -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) sharedstatedir=$ac_optarg ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) site=$ac_optarg ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) srcdir=$ac_optarg ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) sysconfdir=$ac_optarg ;; -target | --target | --targe | --targ | --tar | --ta | --t) ac_prev=target_alias ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) target_alias=$ac_optarg ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; -version | --version | --versio | --versi | --vers | -V) ac_init_version=: ;; -with-* | --with-*) ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=\$ac_optarg ;; -without-* | --without-*) ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=no ;; --x) # Obsolete; use --with-x. with_x=yes ;; -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | --x-incl | --x-inc | --x-in | --x-i) ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) x_includes=$ac_optarg ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; -*) as_fn_error $? "unrecognized option: \`$ac_option' Try \`$0 --help' for more information" ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. case $ac_envvar in #( '' | [0-9]* | *[!_$as_cr_alnum]* ) as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; esac eval $ac_envvar=\$ac_optarg export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" ;; esac done if test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` as_fn_error $? "missing argument to $ac_option" fi if test -n "$ac_unrecognized_opts"; then case $enable_option_checking in no) ;; fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; esac fi # Check all directory arguments for consistency. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ datadir sysconfdir sharedstatedir localstatedir includedir \ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ libdir localedir mandir do eval ac_val=\$$ac_var # Remove trailing slashes. case $ac_val in */ ) ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` eval $ac_var=\$ac_val;; esac # Be sure to have absolute directory names. case $ac_val in [\\/$]* | ?:[\\/]* ) continue;; NONE | '' ) case $ac_var in *prefix ) continue;; esac;; esac as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" done # There might be people who depend on the old broken behavior: `$host' # used to hold the argument of --host etc. # FIXME: To remove some day. build=$build_alias host=$host_alias target=$target_alias # FIXME: To remove some day. if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi fi ac_tool_prefix= test -n "$host_alias" && ac_tool_prefix=$host_alias- test "$silent" = yes && exec 6>/dev/null ac_pwd=`pwd` && test -n "$ac_pwd" && ac_ls_di=`ls -di .` && ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || as_fn_error $? "working directory cannot be determined" test "X$ac_ls_di" = "X$ac_pwd_ls_di" || as_fn_error $? "pwd does not report name of working directory" # Find the source files, if location was not specified. if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then the parent directory. ac_confdir=`$as_dirname -- "$as_myself" || $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_myself" : 'X\(//\)[^/]' \| \ X"$as_myself" : 'X\(//\)$' \| \ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_myself" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` srcdir=$ac_confdir if test ! -r "$srcdir/$ac_unique_file"; then srcdir=.. fi else ac_srcdir_defaulted=no fi if test ! -r "$srcdir/$ac_unique_file"; then test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" fi ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ac_abs_confdir=`( cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" pwd)` # When building in place, set srcdir=. if test "$ac_abs_confdir" = "$ac_pwd"; then srcdir=. fi # Remove unnecessary trailing slashes from srcdir. # Double slashes in file names in object file debugging info # mess up M-x gdb in Emacs. case $srcdir in */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; esac for ac_var in $ac_precious_vars; do eval ac_env_${ac_var}_set=\${${ac_var}+set} eval ac_env_${ac_var}_value=\$${ac_var} eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} eval ac_cv_env_${ac_var}_value=\$${ac_var} done # # Report the --help message. # if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF \`configure' configures DFArc 3.12 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print \`checking ...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for \`--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or \`..'] Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX [$ac_default_prefix] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] By default, \`make install' will install all the files in \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify an installation prefix other than \`$ac_default_prefix' using \`--prefix', for instance \`--prefix=\$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] --datadir=DIR read-only architecture-independent data [DATAROOTDIR] --infodir=DIR info documentation [DATAROOTDIR/info] --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] --docdir=DIR documentation root [DATAROOTDIR/doc/dfarc] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] --psdir=DIR ps documentation [DOCDIR] _ACEOF cat <<\_ACEOF Program names: --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names System types: --build=BUILD configure for building on BUILD [guessed] --host=HOST cross-compile to build programs to run on HOST [BUILD] _ACEOF fi if test -n "$ac_init_help"; then case $ac_init_help in short | recursive ) echo "Configuration of DFArc 3.12:";; esac cat <<\_ACEOF Optional Features: --disable-option-checking ignore unrecognized --enable/--with options --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-silent-rules less verbose build output (undo: "make V=1") --disable-silent-rules verbose build output (undo: "make V=0") --disable-nls do not use Native Language Support --enable-dependency-tracking do not reject slow dependency extractors --disable-dependency-tracking speeds up one-time build --enable-upx compress executables [[default is disabled]] --enable-static embed wxWidgets and libbz2 in the executable (mingw32 only) [[default is disabled]] --disable-desktopfiles Do not install scripts to register icons and menus. Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-wxdir=PATH Use uninstalled version of wxWidgets in PATH --with-wx-config=CONFIG wx-config script to use (optional) --with-wx-prefix=PREFIX Prefix where wxWidgets is installed (optional) --with-wx-exec-prefix=PREFIX Exec prefix where wxWidgets is installed (optional) Some influential environment variables: CC C compiler command CFLAGS C compiler flags LDFLAGS linker flags, e.g. -L if you have libraries in a nonstandard directory LIBS libraries to pass to the linker, e.g. -l CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if you have headers in a nonstandard directory CXX C++ compiler command CXXFLAGS C++ compiler flags WXGLADE Compiler for UI files (.wxg -> .cpp) UPX Produce self-decompressing executables (if --enable-upx) CPP C preprocessor Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. Report bugs to . _ACEOF ac_status=$? fi if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue test -d "$ac_dir" || { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || continue ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix cd "$ac_dir" || { ac_status=$?; continue; } # Check for guested configure. if test -f "$ac_srcdir/configure.gnu"; then echo && $SHELL "$ac_srcdir/configure.gnu" --help=recursive elif test -f "$ac_srcdir/configure"; then echo && $SHELL "$ac_srcdir/configure" --help=recursive else $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi || ac_status=$? cd "$ac_pwd" || { ac_status=$?; break; } done fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF DFArc configure 3.12 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF exit fi ## ------------------------ ## ## Autoconf initialization. ## ## ------------------------ ## # ac_fn_c_try_compile LINENO # -------------------------- # Try to compile conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_compile # ac_fn_c_try_link LINENO # ----------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_link () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext conftest$ac_exeext if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || test -x conftest$ac_exeext }; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would # interfere with the next link command; also delete a directory that is # left behind by Apple's compiler. We do this before executing the actions. rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_link # ac_fn_c_check_func LINENO FUNC VAR # ---------------------------------- # Tests whether FUNC exists, setting the cache variable VAR accordingly ac_fn_c_check_func () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Define $2 to an innocuous variant, in case declares $2. For example, HP-UX 11i declares gettimeofday. */ #define $2 innocuous_$2 /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $2 (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $2 /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_$2 || defined __stub___$2 choke me #endif int main () { return $2 (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : eval "$3=yes" else eval "$3=no" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_func # ac_fn_cxx_try_compile LINENO # ---------------------------- # Try to compile conftest.$ac_ext, and return whether this succeeded. ac_fn_cxx_try_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_cxx_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_cxx_try_compile # ac_fn_c_check_type LINENO TYPE VAR INCLUDES # ------------------------------------------- # Tests whether TYPE exists after having included INCLUDES, setting cache # variable VAR accordingly. ac_fn_c_check_type () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else eval "$3=no" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main () { if (sizeof ($2)) return 0; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main () { if (sizeof (($2))) return 0; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : else eval "$3=yes" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_type # ac_fn_c_try_cpp LINENO # ---------------------- # Try to preprocess conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_cpp () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if { { ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } > conftest.i && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_cpp # ac_fn_c_try_run LINENO # ---------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes # that executables *can* be run. ac_fn_c_try_run () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then : ac_retval=0 else $as_echo "$as_me: program exited with status $ac_status" >&5 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=$ac_status fi rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_run # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES # ------------------------------------------------------- # Tests whether HEADER exists and can be compiled using the include files in # INCLUDES, setting the cache variable VAR accordingly. ac_fn_c_check_header_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 #include <$2> _ACEOF if ac_fn_c_try_compile "$LINENO"; then : eval "$3=yes" else eval "$3=no" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_header_compile # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES # ---------------------------------------------------- # Tries to find if the field MEMBER exists in type AGGR, after including # INCLUDES, setting cache variable VAR accordingly. ac_fn_c_check_member () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 $as_echo_n "checking for $2.$3... " >&6; } if eval \${$4+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $5 int main () { static $2 ac_aggr; if (ac_aggr.$3) return 0; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : eval "$4=yes" else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $5 int main () { static $2 ac_aggr; if (sizeof ac_aggr.$3) return 0; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : eval "$4=yes" else eval "$4=no" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi eval ac_res=\$$4 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_member cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by DFArc $as_me 3.12, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ _ACEOF exec 5>>config.log { cat <<_ASUNAME ## --------- ## ## Platform. ## ## --------- ## hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` _ASUNAME as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. $as_echo "PATH: $as_dir" done IFS=$as_save_IFS } >&5 cat >&5 <<_ACEOF ## ----------- ## ## Core tests. ## ## ----------- ## _ACEOF # Keep a trace of the command line. # Strip out --no-create and --no-recursion so they do not pile up. # Strip out --silent because we don't want to record it for future runs. # Also quote any args containing shell meta-characters. # Make two passes to allow for proper duplicate-argument suppression. ac_configure_args= ac_configure_args0= ac_configure_args1= ac_must_keep_next=false for ac_pass in 1 2 do for ac_arg do case $ac_arg in -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) continue ;; *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2) as_fn_append ac_configure_args1 " '$ac_arg'" if test $ac_must_keep_next = true; then ac_must_keep_next=false # Got value, back to normal. else case $ac_arg in *=* | --config-cache | -C | -disable-* | --disable-* \ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | -with-* | --with-* | -without-* | --without-* | --x) case "$ac_configure_args0 " in "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; esac ;; -* ) ac_must_keep_next=true ;; esac fi as_fn_append ac_configure_args " '$ac_arg'" ;; esac done done { ac_configure_args0=; unset ac_configure_args0;} { ac_configure_args1=; unset ac_configure_args1;} # When interrupted or exit'd, cleanup temporary files, and complete # config.log. We remove comments because anyway the quotes in there # would cause problems or look ugly. # WARNING: Use '\'' to represent an apostrophe within the trap. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. trap 'exit_status=$? # Save into config.log some information that might help in debugging. { echo $as_echo "## ---------------- ## ## Cache variables. ## ## ---------------- ##" echo # The following way of writing the cache mishandles newlines in values, ( for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( *${as_nl}ac_space=\ *) sed -n \ "s/'\''/'\''\\\\'\'''\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" ;; #( *) sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) echo $as_echo "## ----------------- ## ## Output variables. ## ## ----------------- ##" echo for ac_var in $ac_subst_vars do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo if test -n "$ac_subst_files"; then $as_echo "## ------------------- ## ## File substitutions. ## ## ------------------- ##" echo for ac_var in $ac_subst_files do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo fi if test -s confdefs.h; then $as_echo "## ----------- ## ## confdefs.h. ## ## ----------- ##" echo cat confdefs.h echo fi test "$ac_signal" != 0 && $as_echo "$as_me: caught signal $ac_signal" $as_echo "$as_me: exit $exit_status" } >&5 rm -f core *.core core.conftest.* && rm -f -r conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status ' 0 for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h $as_echo "/* confdefs.h */" > confdefs.h # Predefined preprocessor variables. cat >>confdefs.h <<_ACEOF #define PACKAGE_NAME "$PACKAGE_NAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_TARNAME "$PACKAGE_TARNAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_VERSION "$PACKAGE_VERSION" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_STRING "$PACKAGE_STRING" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_URL "$PACKAGE_URL" _ACEOF # Let the site file select an alternate cache file if it wants to. # Prefer an explicitly selected file to automatically selected ones. ac_site_file1=NONE ac_site_file2=NONE if test -n "$CONFIG_SITE"; then # We do not want a PATH search for config.site. case $CONFIG_SITE in #(( -*) ac_site_file1=./$CONFIG_SITE;; */*) ac_site_file1=$CONFIG_SITE;; *) ac_site_file1=./$CONFIG_SITE;; esac elif test "x$prefix" != xNONE; then ac_site_file1=$prefix/share/config.site ac_site_file2=$prefix/etc/config.site else ac_site_file1=$ac_default_prefix/share/config.site ac_site_file2=$ac_default_prefix/etc/config.site fi for ac_site_file in "$ac_site_file1" "$ac_site_file2" do test "x$ac_site_file" = xNONE && continue if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 $as_echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" \ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "failed to load site script $ac_site_file See \`config.log' for more details" "$LINENO" 5; } fi done if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special files # actually), so we avoid doing that. DJGPP emulates it as a regular file. if test /dev/null != "$cache_file" && test -f "$cache_file"; then { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 $as_echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fi else { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false for ac_var in $ac_precious_vars; do eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set eval ac_old_val=\$ac_cv_env_${ac_var}_value eval ac_new_val=\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then # differences in whitespace do not lead to failure. ac_old_val_w=`echo x $ac_old_val` ac_new_val_w=`echo x $ac_new_val` if test "$ac_old_val_w" != "$ac_new_val_w"; then { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} ac_cache_corrupted=: else { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} eval $ac_var=\$ac_old_val fi { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. *) as_fn_append ac_configure_args " '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 fi ## -------------------- ## ## Main body of script. ## ## -------------------- ## ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_aux_dir= for ac_dir in autotools "$srcdir"/autotools; do if test -f "$ac_dir/install-sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install-sh -c" break elif test -f "$ac_dir/install.sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install.sh -c" break elif test -f "$ac_dir/shtool"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/shtool install -c" break fi done if test -z "$ac_aux_dir"; then as_fn_error $? "cannot find install-sh, install.sh, or shtool in autotools \"$srcdir\"/autotools" "$LINENO" 5 fi # These three variables are undocumented and unsupported, # and are intended to be withdrawn in a future Autoconf release. # They can cause serious problems if a builder's source tree is in a directory # whose full name contains unusual characters. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. ac_config_headers="$ac_config_headers config.h" am__api_version='1.14' # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. # Reject install programs that cannot install multiple files. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 $as_echo_n "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then if ${ac_cv_path_install+:} false; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. # Account for people who put trailing slashes in PATH elements. case $as_dir/ in #(( ./ | .// | /[cC]/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else rm -rf conftest.one conftest.two conftest.dir echo one > conftest.one echo two > conftest.two mkdir conftest.dir if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && test -s conftest.one && test -s conftest.two && test -s conftest.dir/conftest.one && test -s conftest.dir/conftest.two then ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi fi done done ;; esac done IFS=$as_save_IFS rm -rf conftest.one conftest.two conftest.dir fi if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. Don't cache a # value for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. INSTALL=$ac_install_sh fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 $as_echo "$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 $as_echo_n "checking whether build environment is sane... " >&6; } # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' ' case `pwd` in *[\\\"\#\$\&\'\`$am_lf]*) as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; esac case $srcdir in *[\\\"\#\$\&\'\`$am_lf\ \ ]*) as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; esac # Do 'set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( am_has_slept=no for am_try in 1 2; do echo "timestamp, slept: $am_has_slept" > conftest.file set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` if test "$*" = "X"; then # -L didn't work. set X `ls -t "$srcdir/configure" conftest.file` fi if test "$*" != "X $srcdir/configure conftest.file" \ && test "$*" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". as_fn_error $? "ls -t appears to fail. Make sure there is not a broken alias in your environment" "$LINENO" 5 fi if test "$2" = conftest.file || test $am_try -eq 2; then break fi # Just in case. sleep 1 am_has_slept=yes done test "$2" = conftest.file ) then # Ok. : else as_fn_error $? "newly created file is older than distributed files! Check your system clock" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } # If we didn't sleep, we still need to ensure time stamps of config.status and # generated files are strictly newer. am_sleep_pid= if grep 'slept: no' conftest.file >/dev/null 2>&1; then ( sleep 1 ) & am_sleep_pid=$! fi rm -f conftest.file test "$program_prefix" != NONE && program_transform_name="s&^&$program_prefix&;$program_transform_name" # Use a double $ so make ignores it. test "$program_suffix" != NONE && program_transform_name="s&\$&$program_suffix&;$program_transform_name" # Double any \ or $. # By default was `s,x,x', remove it if useless. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` if test x"${MISSING+set}" != xset; then case $am_aux_dir in *\ * | *\ *) MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; *) MISSING="\${SHELL} $am_aux_dir/missing" ;; esac fi # Use eval to expand $SHELL if eval "$MISSING --is-lightweight"; then am_missing_run="$MISSING " else am_missing_run= { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} fi if test x"${install_sh}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; *) install_sh="\${SHELL} $am_aux_dir/install-sh" esac fi # Installed binaries are usually stripped using 'strip' when the user # run "make install-strip". However 'strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the 'STRIP' environment variable to overrule this program. if test "$cross_compiling" != no; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 $as_echo "$STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 $as_echo "$ac_ct_STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_STRIP" = x; then STRIP=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP fi else STRIP="$ac_cv_prog_STRIP" fi fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } if test -z "$MKDIR_P"; then if ${ac_cv_path_mkdir+:} false; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in mkdir gmkdir; do for ac_exec_ext in '' $ac_executable_extensions; do as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 'mkdir (GNU coreutils) '* | \ 'mkdir (coreutils) '* | \ 'mkdir (fileutils) '4.1*) ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext break 3;; esac done done done IFS=$as_save_IFS fi test -d ./--version && rmdir ./--version if test "${ac_cv_path_mkdir+set}" = set; then MKDIR_P="$ac_cv_path_mkdir -p" else # As a last resort, use the slow shell script. Don't cache a # value for MKDIR_P within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. MKDIR_P="$ac_install_sh -d" fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 $as_echo "$MKDIR_P" >&6; } for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_AWK+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AWK="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 $as_echo "$AWK" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$AWK" && break done { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } set x ${MAKE-make} ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : $as_echo_n "(cached) " >&6 else cat >conftest.make <<\_ACEOF SHELL = /bin/sh all: @echo '@@@%%%=$(MAKE)=@@@%%%' _ACEOF # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. case `${MAKE-make} -f conftest.make 2>/dev/null` in *@@@%%%=?*=@@@%%%*) eval ac_cv_prog_make_${ac_make}_set=yes;; *) eval ac_cv_prog_make_${ac_make}_set=no;; esac rm -f conftest.make fi if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } SET_MAKE= else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null # Check whether --enable-silent-rules was given. if test "${enable_silent_rules+set}" = set; then : enableval=$enable_silent_rules; fi case $enable_silent_rules in # ((( yes) AM_DEFAULT_VERBOSITY=0;; no) AM_DEFAULT_VERBOSITY=1;; *) AM_DEFAULT_VERBOSITY=1;; esac am_make=${MAKE-make} { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 $as_echo_n "checking whether $am_make supports nested variables... " >&6; } if ${am_cv_make_support_nested_variables+:} false; then : $as_echo_n "(cached) " >&6 else if $as_echo 'TRUE=$(BAR$(V)) BAR0=false BAR1=true V=1 am__doit: @$(TRUE) .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then am_cv_make_support_nested_variables=yes else am_cv_make_support_nested_variables=no fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 $as_echo "$am_cv_make_support_nested_variables" >&6; } if test $am_cv_make_support_nested_variables = yes; then AM_V='$(V)' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' else AM_V=$AM_DEFAULT_VERBOSITY AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY fi AM_BACKSLASH='\' if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." am__isrc=' -I$(srcdir)' # test to see if srcdir already configured if test -f $srcdir/config.status; then as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi # Define the identity of the package. PACKAGE='dfarc' VERSION='3.12' cat >>confdefs.h <<_ACEOF #define PACKAGE "$PACKAGE" _ACEOF cat >>confdefs.h <<_ACEOF #define VERSION "$VERSION" _ACEOF # Some tools Automake needs. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} # For better backward compatibility. To be removed once Automake 1.9.x # dies out for good. For more background, see: # # mkdir_p='$(MKDIR_P)' # We need awk for the "check" target. The system "awk" is bad on # some platforms. # Always define AMTAR for backward compatibility. Yes, it's still used # in the wild :-( We should find a proper way to deprecate it ... AMTAR='$${TAR-tar}' # We'll loop over all known methods to create a tar archive until one works. _am_tools='gnutar pax cpio none' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' # POSIX will say in a future version that running "rm -f" with no argument # is OK; and we want to be able to make that assumption in our Makefile # recipes. So use an aggressive probe to check that the usage we want is # actually supported "in the wild" to an acceptable degree. # See automake bug#10828. # To make any issue more visible, cause the running configure to be aborted # by default if the 'rm' program in use doesn't match our expectations; the # user can still override this though. if rm -f && rm -fr && rm -rf; then : OK; else cat >&2 <<'END' Oops! Your 'rm' program seems unable to run without file operands specified on the command line, even when the '-f' option is present. This is contrary to the behaviour of most rm programs out there, and not conforming with the upcoming POSIX standard: Please tell bug-automake@gnu.org about your system, including the value of your $PATH and any error possibly output before this message. This can help us improve future automake versions. END if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then echo 'Configuration will proceed anyway, since you have set the' >&2 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 echo >&2 else cat >&2 <<'END' Aborting the configuration process, to ensure you take notice of the issue. You can download and install GNU coreutils to get an 'rm' implementation that behaves properly: . If you want to complete the configuration process using your problematic 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM to "yes", and re-run configure. END as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 fi fi # Terse output - use V=1 for verbose output # Check whether --enable-silent-rules was given. if test "${enable_silent_rules+set}" = set; then : enableval=$enable_silent_rules; fi case $enable_silent_rules in # ((( yes) AM_DEFAULT_VERBOSITY=0;; no) AM_DEFAULT_VERBOSITY=1;; *) AM_DEFAULT_VERBOSITY=0;; esac am_make=${MAKE-make} { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 $as_echo_n "checking whether $am_make supports nested variables... " >&6; } if ${am_cv_make_support_nested_variables+:} false; then : $as_echo_n "(cached) " >&6 else if $as_echo 'TRUE=$(BAR$(V)) BAR0=false BAR1=true V=1 am__doit: @$(TRUE) .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then am_cv_make_support_nested_variables=yes else am_cv_make_support_nested_variables=no fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 $as_echo "$am_cv_make_support_nested_variables" >&6; } if test $am_cv_make_support_nested_variables = yes; then AM_V='$(V)' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' else AM_V=$AM_DEFAULT_VERBOSITY AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY fi AM_BACKSLASH='\' # Define $host $host_os + distributes config.guess and config.sub # Make sure we can run config.sub. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 $as_echo_n "checking build system type... " >&6; } if ${ac_cv_build+:} false; then : $as_echo_n "(cached) " >&6 else ac_build_alias=$build_alias test "x$ac_build_alias" = x && ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` test "x$ac_build_alias" = x && as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 $as_echo "$ac_cv_build" >&6; } case $ac_cv_build in *-*-*) ;; *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; esac build=$ac_cv_build ac_save_IFS=$IFS; IFS='-' set x $ac_cv_build shift build_cpu=$1 build_vendor=$2 shift; shift # Remember, the first character of IFS is used to create $*, # except with old shells: build_os=$* IFS=$ac_save_IFS case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 $as_echo_n "checking host system type... " >&6; } if ${ac_cv_host+:} false; then : $as_echo_n "(cached) " >&6 else if test "x$host_alias" = x; then ac_cv_host=$ac_cv_build else ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 $as_echo "$ac_cv_host" >&6; } case $ac_cv_host in *-*-*) ;; *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; esac host=$ac_cv_host ac_save_IFS=$IFS; IFS='-' set x $ac_cv_host shift host_cpu=$1 host_vendor=$2 shift; shift # Remember, the first character of IFS is used to create $*, # except with old shells: host_os=$* IFS=$ac_save_IFS case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac # We use wxWidget's internal gettext-compatible functions, calling # AM_PO_SUBDIRS directly (otherwise GETTEXT wants intl/ and such): ##AM_GNU_GETTEXT() mkdir_p="$MKDIR_P" case $mkdir_p in [\\/$]* | ?:[\\/]*) ;; */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 $as_echo_n "checking whether NLS is requested... " >&6; } # Check whether --enable-nls was given. if test "${enable_nls+set}" = set; then : enableval=$enable_nls; USE_NLS=$enableval else USE_NLS=yes fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 $as_echo "$USE_NLS" >&6; } GETTEXT_MACRO_VERSION=0.17 # Prepare PATH_SEPARATOR. # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi # Find out how to test for executable files. Don't use a zero-byte file, # as systems may use methods other than mode bits to determine executability. cat >conf$$.file <<_ASEOF #! /bin/sh exit 0 _ASEOF chmod +x conf$$.file if test -x conf$$.file >/dev/null 2>&1; then ac_executable_p="test -x" else ac_executable_p="test -f" fi rm -f conf$$.file # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_MSGFMT+:} false; then : $as_echo_n "(cached) " >&6 else case "$MSGFMT" in [\\/]* | ?:[\\/]*) ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. ;; *) ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$ac_save_IFS" test -z "$ac_dir" && ac_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then echo "$as_me: trying $ac_dir/$ac_word..." >&5 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 && (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" break 2 fi fi done done IFS="$ac_save_IFS" test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" ;; esac fi MSGFMT="$ac_cv_path_MSGFMT" if test "$MSGFMT" != ":"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 $as_echo "$MSGFMT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "gmsgfmt", so it can be a program name with args. set dummy gmsgfmt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_GMSGFMT+:} false; then : $as_echo_n "(cached) " >&6 else case $GMSGFMT in [\\/]* | ?:[\\/]*) ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" ;; esac fi GMSGFMT=$ac_cv_path_GMSGFMT if test -n "$GMSGFMT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 $as_echo "$GMSGFMT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; *) MSGFMT_015=$MSGFMT ;; esac case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; *) GMSGFMT_015=$GMSGFMT ;; esac # Prepare PATH_SEPARATOR. # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi # Find out how to test for executable files. Don't use a zero-byte file, # as systems may use methods other than mode bits to determine executability. cat >conf$$.file <<_ASEOF #! /bin/sh exit 0 _ASEOF chmod +x conf$$.file if test -x conf$$.file >/dev/null 2>&1; then ac_executable_p="test -x" else ac_executable_p="test -f" fi rm -f conf$$.file # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_XGETTEXT+:} false; then : $as_echo_n "(cached) " >&6 else case "$XGETTEXT" in [\\/]* | ?:[\\/]*) ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. ;; *) ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$ac_save_IFS" test -z "$ac_dir" && ac_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then echo "$as_me: trying $ac_dir/$ac_word..." >&5 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 && (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" break 2 fi fi done done IFS="$ac_save_IFS" test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" ;; esac fi XGETTEXT="$ac_cv_path_XGETTEXT" if test "$XGETTEXT" != ":"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 $as_echo "$XGETTEXT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi rm -f messages.po case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; *) XGETTEXT_015=$XGETTEXT ;; esac # Prepare PATH_SEPARATOR. # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi # Find out how to test for executable files. Don't use a zero-byte file, # as systems may use methods other than mode bits to determine executability. cat >conf$$.file <<_ASEOF #! /bin/sh exit 0 _ASEOF chmod +x conf$$.file if test -x conf$$.file >/dev/null 2>&1; then ac_executable_p="test -x" else ac_executable_p="test -f" fi rm -f conf$$.file # Extract the first word of "msgmerge", so it can be a program name with args. set dummy msgmerge; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_MSGMERGE+:} false; then : $as_echo_n "(cached) " >&6 else case "$MSGMERGE" in [\\/]* | ?:[\\/]*) ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. ;; *) ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$ac_save_IFS" test -z "$ac_dir" && ac_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then echo "$as_me: trying $ac_dir/$ac_word..." >&5 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" break 2 fi fi done done IFS="$ac_save_IFS" test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" ;; esac fi MSGMERGE="$ac_cv_path_MSGMERGE" if test "$MSGMERGE" != ":"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 $as_echo "$MSGMERGE" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$localedir" || localedir='${datadir}/locale' test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= ac_config_commands="$ac_config_commands po-directories" # This one is for .desktop files: GETTEXT_PACKAGE=$PACKAGE_TARNAME DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo this is the am__doit target .PHONY: am__doit END # If we don't find an include directive, just comment out the code. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 $as_echo_n "checking for style of include used by $am_make... " >&6; } am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # Ignore all kinds of additional output from 'make'. case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=include am__quote= _am_result=GNU ;; esac # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=.include am__quote="\"" _am_result=BSD ;; esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 $as_echo "$_am_result" >&6; } rm -f confinc confmf # Check whether --enable-dependency-tracking was given. if test "${enable_dependency_tracking+set}" = set; then : enableval=$enable_dependency_tracking; fi if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' am__nodep='_no' fi if test "x$enable_dependency_tracking" != xno; then AMDEP_TRUE= AMDEP_FALSE='#' else AMDEP_TRUE='#' AMDEP_FALSE= fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi else CC="$ac_cv_prog_CC" fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else ac_prog_rejected=no as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $# != 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl.exe do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl.exe do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_CC" && break done if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi fi fi test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "no acceptable C compiler found in \$PATH See \`config.log' for more details" "$LINENO" 5; } # Provide some information about the compiler. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 set X $ac_compile ac_compiler=$2 for ac_option in --version -v -V -qversion; do { { ac_try="$ac_compiler $ac_option >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? if test -s conftest.err; then sed '10a\ ... rest of stderr output deleted ... 10q' conftest.err >conftest.er1 cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } done cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 $as_echo_n "checking whether the C compiler works... " >&6; } ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` # The possible output files: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" ac_rmfiles= for ac_file in $ac_files do case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; * ) ac_rmfiles="$ac_rmfiles $ac_file";; esac done rm -f $ac_rmfiles if { { ac_try="$ac_link_default" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link_default") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' # in a Makefile. We should not override ac_cv_exeext if it was cached, # so that the user can short-circuit this test for compilers unknown to # Autoconf. for ac_file in $ac_files '' do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; [ab].out ) # We found the default executable, but exeext='' is most # certainly right. break;; *.* ) if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; then :; else ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` fi # We set ac_cv_exeext here because the later test for it is not # safe: cross compilers may not add the suffix if given an `-o' # argument, so we may need to know it at that point already. # Even if this section looks crufty: it has the advantage of # actually working. break;; * ) break;; esac done test "$ac_cv_exeext" = no && ac_cv_exeext= else ac_file='' fi if test -z "$ac_file"; then : { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "C compiler cannot create executables See \`config.log' for more details" "$LINENO" 5; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 $as_echo_n "checking for C compiler default output file name... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 $as_echo "$ac_file" >&6; } ac_exeext=$ac_cv_exeext rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 $as_echo_n "checking for suffix of executables... " >&6; } if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will # work properly (i.e., refer to `conftest.exe'), while it won't with # `rm'. for ac_file in conftest.exe conftest conftest.*; do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` break;; * ) break;; esac done else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of executables: cannot compile and link See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest conftest$ac_cv_exeext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 $as_echo "$ac_cv_exeext" >&6; } rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { FILE *f = fopen ("conftest.out", "w"); return ferror (f) || fclose (f) != 0; ; return 0; } _ACEOF ac_clean_files="$ac_clean_files conftest.out" # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 $as_echo_n "checking whether we are cross compiling... " >&6; } if test "$cross_compiling" != yes; then { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if { ac_try='./conftest$ac_cv_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details" "$LINENO" 5; } fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 $as_echo "$cross_compiling" >&6; } rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 $as_echo_n "checking for suffix of object files... " >&6; } if ${ac_cv_objext+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.o conftest.obj if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : for ac_file in conftest.o conftest.obj conftest.*; do test -f "$ac_file" || continue; case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` break;; esac done else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of object files: cannot compile See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 $as_echo "$ac_cv_objext" >&6; } OBJEXT=$ac_cv_objext ac_objext=$OBJEXT { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } if ${ac_cv_c_compiler_gnu+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_compiler_gnu=yes else ac_compiler_gnu=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 $as_echo "$ac_cv_c_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GCC=yes else GCC= fi ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 $as_echo_n "checking whether $CC accepts -g... " >&6; } if ${ac_cv_prog_cc_g+:} false; then : $as_echo_n "(cached) " >&6 else ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes else CFLAGS="" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : else ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 $as_echo "$ac_cv_prog_cc_g" >&6; } if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" else CFLAGS="-g" fi else if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } if ${ac_cv_prog_cc_c89+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include struct stat; /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std is added to get proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an array size at least. It's necessary to write '\x00'==0 to get something that's true only with -std. */ int osf4_cc_array ['\x00' == 0 ? 1 : -1]; /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters inside strings and character constants. */ #define FOO(x) 'x' int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_c89=$ac_arg fi rm -f core conftest.err conftest.$ac_objext test "x$ac_cv_prog_cc_c89" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC fi # AC_CACHE_VAL case "x$ac_cv_prog_cc_c89" in x) { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 $as_echo "none needed" >&6; } ;; xno) { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 $as_echo "unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c89" { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; esac if test "x$ac_cv_prog_cc_c89" != xno; then : fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; } if ${am_cv_prog_cc_c_o+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF # Make sure it works both with $CC and with simple cc. # Following AC_PROG_CC_C_O, we do the test twice because some # compilers refuse to overwrite an existing .o file with -o, # though they will create one. am_cv_prog_cc_c_o=yes for am_i in 1 2; do if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } \ && test -f conftest2.$ac_objext; then : OK else am_cv_prog_cc_c_o=no break fi done rm -f core conftest* unset am_i fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 $as_echo "$am_cv_prog_cc_c_o" >&6; } if test "$am_cv_prog_cc_c_o" != yes; then # Losing compiler, so override with the script. # FIXME: It is wrong to rewrite CC. # But if we don't then we get into trouble of one sort or another. # A longer-term fix would be to have automake use am__CC in this case, # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" CC="$am_aux_dir/compile $CC" fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu depcc="$CC" am_compiler_list= { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 $as_echo_n "checking dependency style of $depcc... " >&6; } if ${am_cv_CC_dependencies_compiler_type+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named 'D' -- because '-MD' means "put the output # in D". rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_CC_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi am__universal=false case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with # Solaris 10 /bin/sh. echo '/* dummy */' > sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf # We check with '-c' and '-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle '-M -o', and we need to detect this. Also, some Intel # versions had trouble with output in subdirs. am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in gcc) # This depmode causes a compiler race in universal mode. test "$am__universal" = false || continue ;; nosideeffect) # After this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested. if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; msvc7 | msvc7msys | msvisualcpp | msvcmsys) # This compiler won't grok '-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} am__minus_obj= ;; none) break ;; esac if depmode=$depmode \ source=sub/conftest.c object=$am__obj \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_CC_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CC_dependencies_compiler_type=none fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then am__fastdepCC_TRUE= am__fastdepCC_FALSE='#' else am__fastdepCC_TRUE='#' am__fastdepCC_FALSE= fi case "$am__api_version" in 1.01234) as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5 ;; *) ;; esac INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.31 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3` INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` if test -n "0.31"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.31" >&5 $as_echo_n "checking for intltool >= 0.31... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; } test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || as_fn_error $? "Your intltool is too old. You need intltool 0.31 or later." "$LINENO" 5 fi # Extract the first word of "intltool-update", so it can be a program name with args. set dummy intltool-update; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then : $as_echo_n "(cached) " >&6 else case $INTLTOOL_UPDATE in [\\/]* | ?:[\\/]*) ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE if test -n "$INTLTOOL_UPDATE"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5 $as_echo "$INTLTOOL_UPDATE" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "intltool-merge", so it can be a program name with args. set dummy intltool-merge; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_INTLTOOL_MERGE+:} false; then : $as_echo_n "(cached) " >&6 else case $INTLTOOL_MERGE in [\\/]* | ?:[\\/]*) ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE if test -n "$INTLTOOL_MERGE"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5 $as_echo "$INTLTOOL_MERGE" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "intltool-extract", so it can be a program name with args. set dummy intltool-extract; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then : $as_echo_n "(cached) " >&6 else case $INTLTOOL_EXTRACT in [\\/]* | ?:[\\/]*) ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT if test -n "$INTLTOOL_EXTRACT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5 $as_echo "$INTLTOOL_EXTRACT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5 fi if test -z "$AM_DEFAULT_VERBOSITY"; then AM_DEFAULT_VERBOSITY=1 fi INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))' INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))' INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;' INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))' intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))' intltool__v_merge_options_0='-q' INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@' INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@' else INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir' fi INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' # Check the gettext tools to make sure they are GNU # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_XGETTEXT+:} false; then : $as_echo_n "(cached) " >&6 else case $XGETTEXT in [\\/]* | ?:[\\/]*) ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi XGETTEXT=$ac_cv_path_XGETTEXT if test -n "$XGETTEXT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 $as_echo "$XGETTEXT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "msgmerge", so it can be a program name with args. set dummy msgmerge; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_MSGMERGE+:} false; then : $as_echo_n "(cached) " >&6 else case $MSGMERGE in [\\/]* | ?:[\\/]*) ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi MSGMERGE=$ac_cv_path_MSGMERGE if test -n "$MSGMERGE"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 $as_echo "$MSGMERGE" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_MSGFMT+:} false; then : $as_echo_n "(cached) " >&6 else case $MSGFMT in [\\/]* | ?:[\\/]*) ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi MSGFMT=$ac_cv_path_MSGFMT if test -n "$MSGFMT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 $as_echo "$MSGFMT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "gmsgfmt", so it can be a program name with args. set dummy gmsgfmt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_GMSGFMT+:} false; then : $as_echo_n "(cached) " >&6 else case $GMSGFMT in [\\/]* | ?:[\\/]*) ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" ;; esac fi GMSGFMT=$ac_cv_path_GMSGFMT if test -n "$GMSGFMT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 $as_echo "$GMSGFMT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 fi xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`" mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`" mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`" if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 fi # Extract the first word of "perl", so it can be a program name with args. set dummy perl; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_INTLTOOL_PERL+:} false; then : $as_echo_n "(cached) " >&6 else case $INTLTOOL_PERL in [\\/]* | ?:[\\/]*) ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL if test -n "$INTLTOOL_PERL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5 $as_echo "$INTLTOOL_PERL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test -z "$INTLTOOL_PERL"; then as_fn_error $? "perl not found" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5 $as_echo_n "checking for perl >= 5.8.1... " >&6; } $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1 if test $? -ne 0; then as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5 else IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"` { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5 $as_echo "$IT_PERL_VERSION" >&6; } fi if test "xno-xml" != "xno-xml"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5 $as_echo_n "checking for XML::Parser... " >&6; } if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 $as_echo "ok" >&6; } else as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5 fi fi # Substitute ALL_LINGUAS so we can use it in po/Makefile # Set DATADIRNAME correctly if it is not set yet # (copied from glib-gettext.m4) if test -z "$DATADIRNAME"; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { extern int _nl_msg_cat_cntr; return _nl_msg_cat_cntr ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : DATADIRNAME=share else case $host in *-*-solaris*) ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : DATADIRNAME=share else DATADIRNAME=lib fi ;; *) DATADIRNAME=lib ;; esac fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi # Checks for programs. ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu if test -z "$CXX"; then if test -n "$CCC"; then CXX=$CCC else if test -n "$ac_tool_prefix"; then for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CXX+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CXX"; then ac_cv_prog_CXX="$CXX" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CXX=$ac_cv_prog_CXX if test -n "$CXX"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 $as_echo "$CXX" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$CXX" && break done fi if test -z "$CXX"; then ac_ct_CXX=$CXX for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CXX+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CXX"; then ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CXX="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CXX=$ac_cv_prog_ac_ct_CXX if test -n "$ac_ct_CXX"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 $as_echo "$ac_ct_CXX" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_CXX" && break done if test "x$ac_ct_CXX" = x; then CXX="g++" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CXX=$ac_ct_CXX fi fi fi fi # Provide some information about the compiler. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 set X $ac_compile ac_compiler=$2 for ac_option in --version -v -V -qversion; do { { ac_try="$ac_compiler $ac_option >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? if test -s conftest.err; then sed '10a\ ... rest of stderr output deleted ... 10q' conftest.err >conftest.er1 cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } done { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } if ${ac_cv_cxx_compiler_gnu+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : ac_compiler_gnu=yes else ac_compiler_gnu=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_cxx_compiler_gnu=$ac_compiler_gnu fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GXX=yes else GXX= fi ac_test_CXXFLAGS=${CXXFLAGS+set} ac_save_CXXFLAGS=$CXXFLAGS { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 $as_echo_n "checking whether $CXX accepts -g... " >&6; } if ${ac_cv_prog_cxx_g+:} false; then : $as_echo_n "(cached) " >&6 else ac_save_cxx_werror_flag=$ac_cxx_werror_flag ac_cxx_werror_flag=yes ac_cv_prog_cxx_g=no CXXFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : ac_cv_prog_cxx_g=yes else CXXFLAGS="" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : else ac_cxx_werror_flag=$ac_save_cxx_werror_flag CXXFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : ac_cv_prog_cxx_g=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cxx_werror_flag=$ac_save_cxx_werror_flag fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 $as_echo "$ac_cv_prog_cxx_g" >&6; } if test "$ac_test_CXXFLAGS" = set; then CXXFLAGS=$ac_save_CXXFLAGS elif test $ac_cv_prog_cxx_g = yes; then if test "$GXX" = yes; then CXXFLAGS="-g -O2" else CXXFLAGS="-g" fi else if test "$GXX" = yes; then CXXFLAGS="-O2" else CXXFLAGS= fi fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu depcc="$CXX" am_compiler_list= { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 $as_echo_n "checking dependency style of $depcc... " >&6; } if ${am_cv_CXX_dependencies_compiler_type+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named 'D' -- because '-MD' means "put the output # in D". rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_CXX_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi am__universal=false case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with # Solaris 10 /bin/sh. echo '/* dummy */' > sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf # We check with '-c' and '-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle '-M -o', and we need to detect this. Also, some Intel # versions had trouble with output in subdirs. am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in gcc) # This depmode causes a compiler race in universal mode. test "$am__universal" = false || continue ;; nosideeffect) # After this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested. if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; msvc7 | msvc7msys | msvisualcpp | msvcmsys) # This compiler won't grok '-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} am__minus_obj= ;; none) break ;; esac if depmode=$depmode \ source=sub/conftest.c object=$am__obj \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_CXX_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CXX_dependencies_compiler_type=none fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then am__fastdepCXX_TRUE= am__fastdepCXX_FALSE='#' else am__fastdepCXX_TRUE='#' am__fastdepCXX_FALSE= fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 $as_echo_n "checking whether ln -s works... " >&6; } LN_S=$as_ln_s if test "$LN_S" = "ln -s"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 $as_echo "no, using $LN_S" >&6; } fi # Extract the first word of "wxglade", so it can be a program name with args. set dummy wxglade; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_WXGLADE+:} false; then : $as_echo_n "(cached) " >&6 else case $WXGLADE in [\\/]* | ?:[\\/]*) ac_cv_path_WXGLADE="$WXGLADE" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_WXGLADE="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi WXGLADE=$ac_cv_path_WXGLADE if test -n "$WXGLADE"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WXGLADE" >&5 $as_echo "$WXGLADE" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test x"$WXGLADE" = x""; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You may need to install wxGlade (if you're a developer)" >&5 $as_echo "$as_me: WARNING: You may need to install wxGlade (if you're a developer)" >&2;} LACK_WXGLADE=1 fi if test "$WXGLADE" != ""; then HAVE_WXGLADE_TRUE= HAVE_WXGLADE_FALSE='#' else HAVE_WXGLADE_TRUE='#' HAVE_WXGLADE_FALSE= fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args. set dummy ${ac_tool_prefix}windres; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_WINDRES+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$WINDRES"; then ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_WINDRES="${ac_tool_prefix}windres" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi WINDRES=$ac_cv_prog_WINDRES if test -n "$WINDRES"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5 $as_echo "$WINDRES" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_WINDRES"; then ac_ct_WINDRES=$WINDRES # Extract the first word of "windres", so it can be a program name with args. set dummy windres; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_WINDRES+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_WINDRES"; then ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_WINDRES="windres" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES if test -n "$ac_ct_WINDRES"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5 $as_echo "$ac_ct_WINDRES" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_WINDRES" = x; then WINDRES="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac WINDRES=$ac_ct_WINDRES fi else WINDRES="$ac_cv_prog_WINDRES" fi if test "$WINDRES" != ""; then HAVE_WINDRES_TRUE= HAVE_WINDRES_FALSE='#' else HAVE_WINDRES_TRUE='#' HAVE_WINDRES_FALSE= fi # Check whether --enable-upx was given. if test "${enable_upx+set}" = set; then : enableval=$enable_upx; else enable_upx=no fi if test x"$enable_upx" = x"yes"; then # Extract the first word of "upx", so it can be a program name with args. set dummy upx; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_UPX+:} false; then : $as_echo_n "(cached) " >&6 else case $UPX in [\\/]* | ?:[\\/]*) ac_cv_path_UPX="$UPX" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_UPX="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi UPX=$ac_cv_path_UPX if test -n "$UPX"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UPX" >&5 $as_echo "$UPX" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test "$UPX" != ""; then HAVE_UPX_TRUE= HAVE_UPX_FALSE='#' else HAVE_UPX_TRUE='#' HAVE_UPX_FALSE= fi # Dynamic and static builds # Dynamic and static builds # Check whether --enable-static was given. if test "${enable_static+set}" = set; then : enableval=$enable_static; else enable_static=no fi if test x"$enable_static" = x"yes"; then case "${host}" in # (cf. (autoconf.info)Using System Type) # Modified to accept "biplet" instead of "triplet", because at # least Debian's MinGW package uses i586-mingw32msvc (instead of # i586-pc-mingw32msvc) *-*-go32* | *-mingw32* | *-*-cygwin* | *-*-windows*) LDFLAGS="$LDFLAGS -static" ;; esac fi # TODO: check with Cygwin + -mno-cygwin # ---------------------------------------- # Desktop files # ---------------------------------------- # (inspired by djvulibre's configure.ac) ac_desktopfiles=yes # Check whether --enable-desktopfiles was given. if test "${enable_desktopfiles+set}" = set; then : enableval=$enable_desktopfiles; ac_desktopfiles=$enableval fi # Check for xdg tools # Extract the first word of "xdg-mime", so it can be a program name with args. set dummy xdg-mime; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_XDG_MIME+:} false; then : $as_echo_n "(cached) " >&6 else case $XDG_MIME in [\\/]* | ?:[\\/]*) ac_cv_path_XDG_MIME="$XDG_MIME" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_XDG_MIME="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi XDG_MIME=$ac_cv_path_XDG_MIME if test -n "$XDG_MIME"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XDG_MIME" >&5 $as_echo "$XDG_MIME" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "xdg-icon-resource", so it can be a program name with args. set dummy xdg-icon-resource; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_XDG_ICON_RESOURCE+:} false; then : $as_echo_n "(cached) " >&6 else case $XDG_ICON_RESOURCE in [\\/]* | ?:[\\/]*) ac_cv_path_XDG_ICON_RESOURCE="$XDG_ICON_RESOURCE" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_XDG_ICON_RESOURCE="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi XDG_ICON_RESOURCE=$ac_cv_path_XDG_ICON_RESOURCE if test -n "$XDG_ICON_RESOURCE"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XDG_ICON_RESOURCE" >&5 $as_echo "$XDG_ICON_RESOURCE" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "xdg-desktop-menu", so it can be a program name with args. set dummy xdg-desktop-menu; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_XDG_DESKTOP_MENU+:} false; then : $as_echo_n "(cached) " >&6 else case $XDG_DESKTOP_MENU in [\\/]* | ?:[\\/]*) ac_cv_path_XDG_DESKTOP_MENU="$XDG_DESKTOP_MENU" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_XDG_DESKTOP_MENU="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi XDG_DESKTOP_MENU=$ac_cv_path_XDG_DESKTOP_MENU if test -n "$XDG_DESKTOP_MENU"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XDG_DESKTOP_MENU" >&5 $as_echo "$XDG_DESKTOP_MENU" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test -x "${XDG_MIME}" && \ test -x "${XDG_ICON_RESOURCE}" && \ test -x "${XDG_DESKTOP_MENU}" then true elif test "$ac_desktopfiles" != no ; then ac_desktopfiles=no { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find the Xdg Portland tools. -------------------------------------------------------- *** The scripts to register icons and menus *** will not be installed. --------------------------------------------------------" >&5 $as_echo "$as_me: WARNING: Cannot find the Xdg Portland tools. -------------------------------------------------------- *** The scripts to register icons and menus *** will not be installed. --------------------------------------------------------" >&2;} fi if test "${ac_desktopfiles}" != "no"; then HAVE_XDG_TRUE= HAVE_XDG_FALSE='#' else HAVE_XDG_TRUE='#' HAVE_XDG_FALSE= fi # Checks for libraries. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BZ2_compressBlock in -lbz2" >&5 $as_echo_n "checking for BZ2_compressBlock in -lbz2... " >&6; } if ${ac_cv_lib_bz2_BZ2_compressBlock+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lbz2 $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char BZ2_compressBlock (); int main () { return BZ2_compressBlock (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_bz2_BZ2_compressBlock=yes else ac_cv_lib_bz2_BZ2_compressBlock=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bz2_BZ2_compressBlock" >&5 $as_echo "$ac_cv_lib_bz2_BZ2_compressBlock" >&6; } if test "x$ac_cv_lib_bz2_BZ2_compressBlock" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LIBBZ2 1 _ACEOF LIBS="-lbz2 $LIBS" else { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You need to install libbz2" >&5 $as_echo "$as_me: WARNING: You need to install libbz2" >&2;}; LACK_LIBBZ2=1 fi # http://www.wxwidgets.org/wiki/index.php/Autoconf # Check whether --with-wxdir was given. if test "${with_wxdir+set}" = set; then : withval=$with_wxdir; wx_config_name="$withval/wx-config" wx_config_args="--inplace" fi # Check whether --with-wx-config was given. if test "${with_wx_config+set}" = set; then : withval=$with_wx_config; wx_config_name="$withval" fi # Check whether --with-wx-prefix was given. if test "${with_wx_prefix+set}" = set; then : withval=$with_wx_prefix; wx_config_prefix="$withval" else wx_config_prefix="" fi # Check whether --with-wx-exec-prefix was given. if test "${with_wx_exec_prefix+set}" = set; then : withval=$with_wx_exec_prefix; wx_config_exec_prefix="$withval" else wx_config_exec_prefix="" fi reqwx=3.0.0 if test x"$enable_static" = x"yes"; then # Not using $WX_LIBS_STATIC (deprecated anyway) because CFLAGS also # change, using '--static' instead: if test x${WX_CONFIG_NAME+set} != xset ; then WX_CONFIG_NAME=wx-config fi if test "x$wx_config_name" != x ; then WX_CONFIG_NAME="$wx_config_name" fi if test x$wx_config_exec_prefix != x ; then wx_config_args="$wx_config_args --exec-prefix=$wx_config_exec_prefix" WX_LOOKUP_PATH="$wx_config_exec_prefix/bin" fi if test x$wx_config_prefix != x ; then wx_config_args="$wx_config_args --prefix=$wx_config_prefix" WX_LOOKUP_PATH="$WX_LOOKUP_PATH:$wx_config_prefix/bin" fi if test "$cross_compiling" = "yes"; then wx_config_args="$wx_config_args --host=$host_alias" fi if test -x "$WX_CONFIG_NAME" ; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wx-config" >&5 $as_echo_n "checking for wx-config... " >&6; } WX_CONFIG_PATH="$WX_CONFIG_NAME" { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5 $as_echo "$WX_CONFIG_PATH" >&6; } else # Extract the first word of "$WX_CONFIG_NAME", so it can be a program name with args. set dummy $WX_CONFIG_NAME; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_WX_CONFIG_PATH+:} false; then : $as_echo_n "(cached) " >&6 else case $WX_CONFIG_PATH in [\\/]* | ?:[\\/]*) ac_cv_path_WX_CONFIG_PATH="$WX_CONFIG_PATH" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_dummy=""$WX_LOOKUP_PATH:$PATH"" for as_dir in $as_dummy do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_WX_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_WX_CONFIG_PATH" && ac_cv_path_WX_CONFIG_PATH="no" ;; esac fi WX_CONFIG_PATH=$ac_cv_path_WX_CONFIG_PATH if test -n "$WX_CONFIG_PATH"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5 $as_echo "$WX_CONFIG_PATH" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test "$WX_CONFIG_PATH" != "no" ; then WX_VERSION="" min_wx_version=$reqwx if test -z "--static" ; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version" >&5 $as_echo_n "checking for wxWidgets version >= $min_wx_version... " >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version (--static)" >&5 $as_echo_n "checking for wxWidgets version >= $min_wx_version (--static)... " >&6; } fi WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args --static" WX_VERSION=`$WX_CONFIG_WITH_ARGS --version 2>/dev/null` wx_config_major_version=`echo $WX_VERSION | \ sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'` wx_config_minor_version=`echo $WX_VERSION | \ sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'` wx_config_micro_version=`echo $WX_VERSION | \ sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'` wx_requested_major_version=`echo $min_wx_version | \ sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'` wx_requested_minor_version=`echo $min_wx_version | \ sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'` wx_requested_micro_version=`echo $min_wx_version | \ sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'` wx_ver_ok="" if test "x$WX_VERSION" != x ; then if test $wx_config_major_version -gt $wx_requested_major_version; then wx_ver_ok=yes else if test $wx_config_major_version -eq $wx_requested_major_version; then if test $wx_config_minor_version -gt $wx_requested_minor_version; then wx_ver_ok=yes else if test $wx_config_minor_version -eq $wx_requested_minor_version; then if test $wx_config_micro_version -ge $wx_requested_micro_version; then wx_ver_ok=yes fi fi fi fi fi fi if test -n "$wx_ver_ok"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $WX_VERSION)" >&5 $as_echo "yes (version $WX_VERSION)" >&6; } WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs core` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets static library" >&5 $as_echo_n "checking for wxWidgets static library... " >&6; } WX_LIBS_STATIC=`$WX_CONFIG_WITH_ARGS --static --libs core 2>/dev/null` if test "x$WX_LIBS_STATIC" = "x"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi wx_has_cppflags="" if test $wx_config_major_version -gt 2; then wx_has_cppflags=yes else if test $wx_config_major_version -eq 2; then if test $wx_config_minor_version -gt 2; then wx_has_cppflags=yes else if test $wx_config_minor_version -eq 2; then if test $wx_config_micro_version -ge 6; then wx_has_cppflags=yes fi fi fi fi fi wx_has_rescomp="" if test $wx_config_major_version -gt 2; then wx_has_rescomp=yes else if test $wx_config_major_version -eq 2; then if test $wx_config_minor_version -ge 7; then wx_has_rescomp=yes fi fi fi if test "x$wx_has_rescomp" = x ; then WX_RESCOMP= else WX_RESCOMP=`$WX_CONFIG_WITH_ARGS --rescomp` fi if test "x$wx_has_cppflags" = x ; then WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags core` WX_CPPFLAGS=$WX_CFLAGS WX_CXXFLAGS=$WX_CFLAGS WX_CFLAGS_ONLY=$WX_CFLAGS WX_CXXFLAGS_ONLY=$WX_CFLAGS else WX_CPPFLAGS=`$WX_CONFIG_WITH_ARGS --cppflags core` WX_CXXFLAGS=`$WX_CONFIG_WITH_ARGS --cxxflags core` WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags core` WX_CFLAGS_ONLY=`echo $WX_CFLAGS | sed "s@^$WX_CPPFLAGS *@@"` WX_CXXFLAGS_ONLY=`echo $WX_CXXFLAGS | sed "s@^$WX_CFLAGS *@@"` fi wxWin=1 else if test "x$WX_VERSION" = x; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $WX_VERSION is not new enough)" >&5 $as_echo "no (version $WX_VERSION is not new enough)" >&6; } fi WX_CFLAGS="" WX_CPPFLAGS="" WX_CXXFLAGS="" WX_LIBS="" WX_LIBS_STATIC="" WX_RESCOMP="" if test ! -z "--static"; then wx_error_message=" The configuration you asked for $PACKAGE_NAME requires a wxWidgets build with the following settings: --static but such build is not available. To see the wxWidgets builds available on this system, please use 'wx-config --list' command. To use the default build, returned by 'wx-config --selected-config', use the options with their 'auto' default values." fi wx_error_message=" The requested wxWidgets build couldn't be found. $wx_error_message If you still get this error, then check that 'wx-config' is in path, the directory where wxWidgets libraries are installed (returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH or equivalent variable and wxWidgets version is $reqwx or above." wxWin=0 fi else WX_CFLAGS="" WX_CPPFLAGS="" WX_CXXFLAGS="" WX_LIBS="" WX_LIBS_STATIC="" WX_RESCOMP="" wxWin=0 fi WX_VERSION_MAJOR="$wx_config_major_version" WX_VERSION_MINOR="$wx_config_minor_version" WX_VERSION_MICRO="$wx_config_micro_version" else if test x${WX_CONFIG_NAME+set} != xset ; then WX_CONFIG_NAME=wx-config fi if test "x$wx_config_name" != x ; then WX_CONFIG_NAME="$wx_config_name" fi if test x$wx_config_exec_prefix != x ; then wx_config_args="$wx_config_args --exec-prefix=$wx_config_exec_prefix" WX_LOOKUP_PATH="$wx_config_exec_prefix/bin" fi if test x$wx_config_prefix != x ; then wx_config_args="$wx_config_args --prefix=$wx_config_prefix" WX_LOOKUP_PATH="$WX_LOOKUP_PATH:$wx_config_prefix/bin" fi if test "$cross_compiling" = "yes"; then wx_config_args="$wx_config_args --host=$host_alias" fi if test -x "$WX_CONFIG_NAME" ; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wx-config" >&5 $as_echo_n "checking for wx-config... " >&6; } WX_CONFIG_PATH="$WX_CONFIG_NAME" { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5 $as_echo "$WX_CONFIG_PATH" >&6; } else # Extract the first word of "$WX_CONFIG_NAME", so it can be a program name with args. set dummy $WX_CONFIG_NAME; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_WX_CONFIG_PATH+:} false; then : $as_echo_n "(cached) " >&6 else case $WX_CONFIG_PATH in [\\/]* | ?:[\\/]*) ac_cv_path_WX_CONFIG_PATH="$WX_CONFIG_PATH" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_dummy=""$WX_LOOKUP_PATH:$PATH"" for as_dir in $as_dummy do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_WX_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_WX_CONFIG_PATH" && ac_cv_path_WX_CONFIG_PATH="no" ;; esac fi WX_CONFIG_PATH=$ac_cv_path_WX_CONFIG_PATH if test -n "$WX_CONFIG_PATH"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5 $as_echo "$WX_CONFIG_PATH" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test "$WX_CONFIG_PATH" != "no" ; then WX_VERSION="" min_wx_version=$reqwx if test -z "" ; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version" >&5 $as_echo_n "checking for wxWidgets version >= $min_wx_version... " >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version ()" >&5 $as_echo_n "checking for wxWidgets version >= $min_wx_version ()... " >&6; } fi WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args " WX_VERSION=`$WX_CONFIG_WITH_ARGS --version 2>/dev/null` wx_config_major_version=`echo $WX_VERSION | \ sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'` wx_config_minor_version=`echo $WX_VERSION | \ sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'` wx_config_micro_version=`echo $WX_VERSION | \ sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'` wx_requested_major_version=`echo $min_wx_version | \ sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'` wx_requested_minor_version=`echo $min_wx_version | \ sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'` wx_requested_micro_version=`echo $min_wx_version | \ sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'` wx_ver_ok="" if test "x$WX_VERSION" != x ; then if test $wx_config_major_version -gt $wx_requested_major_version; then wx_ver_ok=yes else if test $wx_config_major_version -eq $wx_requested_major_version; then if test $wx_config_minor_version -gt $wx_requested_minor_version; then wx_ver_ok=yes else if test $wx_config_minor_version -eq $wx_requested_minor_version; then if test $wx_config_micro_version -ge $wx_requested_micro_version; then wx_ver_ok=yes fi fi fi fi fi fi if test -n "$wx_ver_ok"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $WX_VERSION)" >&5 $as_echo "yes (version $WX_VERSION)" >&6; } WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs core` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets static library" >&5 $as_echo_n "checking for wxWidgets static library... " >&6; } WX_LIBS_STATIC=`$WX_CONFIG_WITH_ARGS --static --libs core 2>/dev/null` if test "x$WX_LIBS_STATIC" = "x"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi wx_has_cppflags="" if test $wx_config_major_version -gt 2; then wx_has_cppflags=yes else if test $wx_config_major_version -eq 2; then if test $wx_config_minor_version -gt 2; then wx_has_cppflags=yes else if test $wx_config_minor_version -eq 2; then if test $wx_config_micro_version -ge 6; then wx_has_cppflags=yes fi fi fi fi fi wx_has_rescomp="" if test $wx_config_major_version -gt 2; then wx_has_rescomp=yes else if test $wx_config_major_version -eq 2; then if test $wx_config_minor_version -ge 7; then wx_has_rescomp=yes fi fi fi if test "x$wx_has_rescomp" = x ; then WX_RESCOMP= else WX_RESCOMP=`$WX_CONFIG_WITH_ARGS --rescomp` fi if test "x$wx_has_cppflags" = x ; then WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags core` WX_CPPFLAGS=$WX_CFLAGS WX_CXXFLAGS=$WX_CFLAGS WX_CFLAGS_ONLY=$WX_CFLAGS WX_CXXFLAGS_ONLY=$WX_CFLAGS else WX_CPPFLAGS=`$WX_CONFIG_WITH_ARGS --cppflags core` WX_CXXFLAGS=`$WX_CONFIG_WITH_ARGS --cxxflags core` WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags core` WX_CFLAGS_ONLY=`echo $WX_CFLAGS | sed "s@^$WX_CPPFLAGS *@@"` WX_CXXFLAGS_ONLY=`echo $WX_CXXFLAGS | sed "s@^$WX_CFLAGS *@@"` fi wxWin=1 else if test "x$WX_VERSION" = x; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $WX_VERSION is not new enough)" >&5 $as_echo "no (version $WX_VERSION is not new enough)" >&6; } fi WX_CFLAGS="" WX_CPPFLAGS="" WX_CXXFLAGS="" WX_LIBS="" WX_LIBS_STATIC="" WX_RESCOMP="" if test ! -z ""; then wx_error_message=" The configuration you asked for $PACKAGE_NAME requires a wxWidgets build with the following settings: but such build is not available. To see the wxWidgets builds available on this system, please use 'wx-config --list' command. To use the default build, returned by 'wx-config --selected-config', use the options with their 'auto' default values." fi wx_error_message=" The requested wxWidgets build couldn't be found. $wx_error_message If you still get this error, then check that 'wx-config' is in path, the directory where wxWidgets libraries are installed (returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH or equivalent variable and wxWidgets version is $reqwx or above." wxWin=0 fi else WX_CFLAGS="" WX_CPPFLAGS="" WX_CXXFLAGS="" WX_LIBS="" WX_LIBS_STATIC="" WX_RESCOMP="" wxWin=0 fi WX_VERSION_MAJOR="$wx_config_major_version" WX_VERSION_MINOR="$wx_config_minor_version" WX_VERSION_MICRO="$wx_config_micro_version" fi if test "$wxWin" != 1; then as_fn_error $? " wxWidgets must be installed on your system. Please check that wx-config is in path, the directory where wxWidgets libraries are installed (returned by 'wx-config --libs' or 'wx-config --static --libs' command) is in LD_LIBRARY_PATH or equivalent variable and wxWidgets version is $reqwx or above. " "$LINENO" 5 fi CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS" CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS_ONLY" CFLAGS="$CFLAGS $WX_CFLAGS_ONLY" LIBS="$LIBS $WX_LIBS" # # Checks for header files. ac_header_dirent=no for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } if eval \${$as_ac_Header+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include <$ac_hdr> int main () { if ((DIR *) 0) return 0; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : eval "$as_ac_Header=yes" else eval "$as_ac_Header=no" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi eval ac_res=\$$as_ac_Header { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 _ACEOF ac_header_dirent=$ac_hdr; break fi done # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. if test $ac_header_dirent = dirent.h; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 $as_echo_n "checking for library containing opendir... " >&6; } if ${ac_cv_search_opendir+:} false; then : $as_echo_n "(cached) " >&6 else ac_func_search_save_LIBS=$LIBS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char opendir (); int main () { return opendir (); ; return 0; } _ACEOF for ac_lib in '' dir; do if test -z "$ac_lib"; then ac_res="none required" else ac_res=-l$ac_lib LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi if ac_fn_c_try_link "$LINENO"; then : ac_cv_search_opendir=$ac_res fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext if ${ac_cv_search_opendir+:} false; then : break fi done if ${ac_cv_search_opendir+:} false; then : else ac_cv_search_opendir=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 $as_echo "$ac_cv_search_opendir" >&6; } ac_res=$ac_cv_search_opendir if test "$ac_res" != no; then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" fi else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 $as_echo_n "checking for library containing opendir... " >&6; } if ${ac_cv_search_opendir+:} false; then : $as_echo_n "(cached) " >&6 else ac_func_search_save_LIBS=$LIBS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char opendir (); int main () { return opendir (); ; return 0; } _ACEOF for ac_lib in '' x; do if test -z "$ac_lib"; then ac_res="none required" else ac_res=-l$ac_lib LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi if ac_fn_c_try_link "$LINENO"; then : ac_cv_search_opendir=$ac_res fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext if ${ac_cv_search_opendir+:} false; then : break fi done if ${ac_cv_search_opendir+:} false; then : else ac_cv_search_opendir=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 $as_echo "$ac_cv_search_opendir" >&6; } ac_res=$ac_cv_search_opendir if test "$ac_res" != no; then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" fi fi # Checks for typedefs, structures, and compiler characteristics. ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 $as_echo_n "checking how to run the C preprocessor... " >&6; } # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then if ${ac_cv_prog_CPP+:} false; then : $as_echo_n "(cached) " >&6 else # Double quotes because CPP needs to be expanded for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" do ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok; then : break fi done ac_cv_prog_CPP=$CPP fi CPP=$ac_cv_prog_CPP else ac_cv_prog_CPP=$CPP fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 $as_echo "$CPP" >&6; } ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details" "$LINENO" 5; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } if ${ac_cv_path_GREP+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$GREP"; then ac_path_GREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in grep ggrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_GREP" || continue # Check for GNU ac_path_GREP and select it if it is found. # Check for GNU $ac_path_GREP case `"$ac_path_GREP" --version 2>&1` in *GNU*) ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'GREP' >> "conftest.nl" "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_GREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_GREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_GREP"; then as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_GREP=$GREP fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 $as_echo "$ac_cv_path_GREP" >&6; } GREP="$ac_cv_path_GREP" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 $as_echo_n "checking for egrep... " >&6; } if ${ac_cv_path_EGREP+:} false; then : $as_echo_n "(cached) " >&6 else if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 then ac_cv_path_EGREP="$GREP -E" else if test -z "$EGREP"; then ac_path_EGREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in egrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_EGREP" || continue # Check for GNU ac_path_EGREP and select it if it is found. # Check for GNU $ac_path_EGREP case `"$ac_path_EGREP" --version 2>&1` in *GNU*) ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'EGREP' >> "conftest.nl" "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_EGREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_EGREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_EGREP"; then as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_EGREP=$EGREP fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 $as_echo "$ac_cv_path_EGREP" >&6; } EGREP="$ac_cv_path_EGREP" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 $as_echo_n "checking for ANSI C header files... " >&6; } if ${ac_cv_header_stdc+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_header_stdc=yes else ac_cv_header_stdc=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "memchr" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "free" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. if test "$cross_compiling" = yes; then : : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if ((' ' & 0x0FF) == 0x020) # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #else # define ISLOWER(c) \ (('a' <= (c) && (c) <= 'i') \ || ('j' <= (c) && (c) <= 'r') \ || ('s' <= (c) && (c) <= 'z')) # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) #endif #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main () { int i; for (i = 0; i < 256; i++) if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) return 2; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : else ac_cv_header_stdc=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 $as_echo "$ac_cv_header_stdc" >&6; } if test $ac_cv_header_stdc = yes; then $as_echo "#define STDC_HEADERS 1" >>confdefs.h fi # On IRIX 5.3, sys/types and inttypes.h are conflicting. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ inttypes.h stdint.h unistd.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default " if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } if ${ac_cv_header_stdbool_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifndef bool "error: bool is not defined" #endif #ifndef false "error: false is not defined" #endif #if false "error: false is not 0" #endif #ifndef true "error: true is not defined" #endif #if true != 1 "error: true is not 1" #endif #ifndef __bool_true_false_are_defined "error: __bool_true_false_are_defined is not defined" #endif struct s { _Bool s: 1; _Bool t; } s; char a[true == 1 ? 1 : -1]; char b[false == 0 ? 1 : -1]; char c[__bool_true_false_are_defined == 1 ? 1 : -1]; char d[(bool) 0.5 == true ? 1 : -1]; /* See body of main program for 'e'. */ char f[(_Bool) 0.0 == false ? 1 : -1]; char g[true]; char h[sizeof (_Bool)]; char i[sizeof s.t]; enum { j = false, k = true, l = false * true, m = true * 256 }; /* The following fails for HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */ _Bool n[m]; char o[sizeof n == m * sizeof n[0] ? 1 : -1]; char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; /* Catch a bug in an HP-UX C compiler. See http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html */ _Bool q = true; _Bool *pq = &q; int main () { bool e = &s; *pq |= q; *pq |= ! q; /* Refer to every declared value, to avoid compiler optimizations. */ return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l + !m + !n + !o + !p + !q + !pq); ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_header_stdbool_h=yes else ac_cv_header_stdbool_h=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 $as_echo "$ac_cv_header_stdbool_h" >&6; } ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" if test "x$ac_cv_type__Bool" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE__BOOL 1 _ACEOF fi if test $ac_cv_header_stdbool_h = yes; then $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } if ${ac_cv_c_const+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { #ifndef __cplusplus /* Ultrix mips cc rejects this sort of thing. */ typedef int charset[2]; const charset cs = { 0, 0 }; /* SunOS 4.1.1 cc rejects this. */ char const *const *pcpcc; char **ppc; /* NEC SVR4.0.2 mips cc rejects this. */ struct point {int x, y;}; static struct point const zero = {0,0}; /* AIX XL C 1.02.0.0 rejects this. It does not let you subtract one const X* pointer from another in an arm of an if-expression whose if-part is not a constant expression */ const char *g = "string"; pcpcc = &g + (g ? g-g : 0); /* HPUX 7.0 cc rejects these. */ ++pcpcc; ppc = (char**) pcpcc; pcpcc = (char const *const *) ppc; { /* SCO 3.2v4 cc rejects this sort of thing. */ char tx; char *t = &tx; char const *s = 0 ? (char *) 0 : (char const *) 0; *t++ = 0; if (s) return 0; } { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ int x[] = {25, 17}; const int *foo = &x[0]; ++foo; } { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ typedef const int *iptr; iptr p = 0; ++p; } { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ struct s { int j; const int *ap[3]; } bx; struct s *b = &bx; b->j = 5; } { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ const int foo = 10; if (!foo) return 0; } return !cs[0] && !zero.x; #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_c_const=yes else ac_cv_c_const=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 $as_echo "$ac_cv_c_const" >&6; } if test $ac_cv_c_const = no; then $as_echo "#define const /**/" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 $as_echo_n "checking for inline... " >&6; } if ${ac_cv_c_inline+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_c_inline=no for ac_kw in inline __inline__ __inline; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __cplusplus typedef int foo_t; static $ac_kw foo_t static_foo () {return 0; } $ac_kw foo_t foo () {return 0; } #endif _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_c_inline=$ac_kw fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext test "$ac_cv_c_inline" != no && break done fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 $as_echo "$ac_cv_c_inline" >&6; } case $ac_cv_c_inline in inline | yes) ;; *) case $ac_cv_c_inline in no) ac_val=;; *) ac_val=$ac_cv_c_inline;; esac cat >>confdefs.h <<_ACEOF #ifndef __cplusplus #define inline $ac_val #endif _ACEOF ;; esac ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" if test "x$ac_cv_type_size_t" = xyes; then : else cat >>confdefs.h <<_ACEOF #define size_t unsigned int _ACEOF fi # Checks for library functions. #AC_FUNC_MALLOC { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 $as_echo_n "checking for ANSI C header files... " >&6; } if ${ac_cv_header_stdc+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_header_stdc=yes else ac_cv_header_stdc=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "memchr" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "free" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. if test "$cross_compiling" = yes; then : : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if ((' ' & 0x0FF) == 0x020) # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #else # define ISLOWER(c) \ (('a' <= (c) && (c) <= 'i') \ || ('j' <= (c) && (c) <= 'r') \ || ('s' <= (c) && (c) <= 'z')) # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) #endif #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main () { int i; for (i = 0; i < 256; i++) if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) return 2; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : else ac_cv_header_stdc=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 $as_echo "$ac_cv_header_stdc" >&6; } if test $ac_cv_header_stdc = yes; then $as_echo "#define STDC_HEADERS 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5 $as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; } if ${ac_cv_func_lstat_dereferences_slashed_symlink+:} false; then : $as_echo_n "(cached) " >&6 else rm -f conftest.sym conftest.file echo >conftest.file if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then if test "$cross_compiling" = yes; then : ac_cv_func_lstat_dereferences_slashed_symlink=no else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default int main () { struct stat sbuf; /* Linux will dereference the symlink and fail, as required by POSIX. That is better in the sense that it means we will not have to compile and use the lstat wrapper. */ return lstat ("conftest.sym/", &sbuf) == 0; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : ac_cv_func_lstat_dereferences_slashed_symlink=yes else ac_cv_func_lstat_dereferences_slashed_symlink=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi else # If the `ln -s' command failed, then we probably don't even # have an lstat function. ac_cv_func_lstat_dereferences_slashed_symlink=no fi rm -f conftest.sym conftest.file fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; } test $ac_cv_func_lstat_dereferences_slashed_symlink = yes && cat >>confdefs.h <<_ACEOF #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 _ACEOF if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then case " $LIBOBJS " in *" lstat.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS lstat.$ac_objext" ;; esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat accepts an empty string" >&5 $as_echo_n "checking whether stat accepts an empty string... " >&6; } if ${ac_cv_func_stat_empty_string_bug+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : ac_cv_func_stat_empty_string_bug=yes else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default int main () { struct stat sbuf; return stat ("", &sbuf) == 0; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : ac_cv_func_stat_empty_string_bug=no else ac_cv_func_stat_empty_string_bug=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_stat_empty_string_bug" >&5 $as_echo "$ac_cv_func_stat_empty_string_bug" >&6; } if test $ac_cv_func_stat_empty_string_bug = yes; then case " $LIBOBJS " in *" stat.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS stat.$ac_objext" ;; esac cat >>confdefs.h <<_ACEOF #define HAVE_STAT_EMPTY_STRING_BUG 1 _ACEOF fi for ac_func in memset pow do : as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" if eval test \"x\$"$as_ac_var"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done # # Efficient I/O block size (not available under woe) (BZip.cpp) ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default" if test "x$ac_cv_member_struct_stat_st_blksize" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 _ACEOF fi # Remove mingwm10.dll dependency for static builds # http://www.sourceware.org/ml/pthreads-win32/2000/msg00141.html # http://www.thelins.se/johan/2006/11/installing-compressing-and-being.html if test x"$enable_static" = x"yes"; then case "${host}" in *-*-go32* | *-mingw32* | *-*-cygwin* | *-*-windows*) LIBS="`echo $LIBS | sed 's/-mthreads //'`" # Needed for 2.6.4: CXXFLAGS="`echo $CXXFLAGS | sed 's/-mthreads //'`" ;; esac fi error=0 if test "$LACK_LIBBZ2" = 1; then echo "* Error: you need to install the libbz2 library (for compression)"; error=1 fi if test "$enable_upx" = "yes" -a -z "$UPX"; then echo "* Error: UPX is explicitely activated (--enable-upx) but cannot be found" error=1 fi if test "$LACK_WXGLADE" = 1; then echo "* Warning: you may need to install wxGlade (if you're a developer)"; fi if test $error -eq 1; then exit 1 fi ac_config_files="$ac_config_files Makefile share/Makefile src/Makefile src/woeres.rc po/Makefile.in" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs, see configure's option --config-cache. # It is not useful on other systems. If it contains results you don't # want to keep, you may remove or edit it. # # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # # `ac_cv_env_foo' variables (set or unset) will be overridden when # loading this file, other *unset* `ac_cv_foo' will be assigned the # following values. _ACEOF # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, we kill variables containing newlines. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. ( for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space=' '; set) 2>&1` in #( *${as_nl}ac_space=\ *) # `set' does not quote correctly, so add quotes: double-quote # substitution turns \\\\ into \\, and sed turns \\ into \. sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; #( *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) | sed ' /^ac_cv_env_/b end t clear :clear s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ t end s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then if test "x$cache_file" != "x/dev/null"; then { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 $as_echo "$as_me: updating cache $cache_file" >&6;} if test ! -f "$cache_file" || test -h "$cache_file"; then cat confcache >"$cache_file" else case $cache_file in #( */* | ?:*) mv -f confcache "$cache_file"$$ && mv -f "$cache_file"$$ "$cache_file" ;; #( *) mv -f confcache "$cache_file" ;; esac fi fi else { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' DEFS=-DHAVE_CONFIG_H ac_libobjs= ac_ltlibobjs= U= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' ac_i=`$as_echo "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' done LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 $as_echo_n "checking that generated files are newer than configure... " >&6; } if test -n "$am_sleep_pid"; then # Hide warnings about reused PIDs. wait $am_sleep_pid 2>/dev/null fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 $as_echo "done" >&6; } if test -n "$EXEEXT"; then am__EXEEXT_TRUE= am__EXEEXT_FALSE='#' else am__EXEEXT_TRUE='#' am__EXEEXT_FALSE= fi if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then as_fn_error $? "conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then as_fn_error $? "conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi ac_config_commands="$ac_config_commands po/stamp-it" if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_WXGLADE_TRUE}" && test -z "${HAVE_WXGLADE_FALSE}"; then as_fn_error $? "conditional \"HAVE_WXGLADE\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_WINDRES_TRUE}" && test -z "${HAVE_WINDRES_FALSE}"; then as_fn_error $? "conditional \"HAVE_WINDRES\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_UPX_TRUE}" && test -z "${HAVE_UPX_FALSE}"; then as_fn_error $? "conditional \"HAVE_UPX\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_XDG_TRUE}" && test -z "${HAVE_XDG_FALSE}"; then as_fn_error $? "conditional \"HAVE_XDG\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi : "${CONFIG_STATUS=./config.status}" ac_write_fail=0 ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} as_write_fail=0 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. # Compiler output produced by configure, useful for debugging # configure, is in config.log if it exists. debug=false ac_cs_recheck=false ac_cs_silent=false SHELL=\${CONFIG_SHELL-$SHELL} export SHELL _ASEOF cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in #( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append # as_fn_arith ARG... # ------------------ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -pR' fi else as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi # as_fn_executable_p FILE # ----------------------- # Test if FILE is an executable regular file. as_fn_executable_p () { test -f "$1" && test -x "$1" } # as_fn_executable_p as_test_x='test -x' as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" exec 6>&1 ## ----------------------------------- ## ## Main body of $CONFIG_STATUS script. ## ## ----------------------------------- ## _ASEOF test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Save the log message, to keep $0 and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" This file was extended by DFArc $as_me 3.12, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS $ $0 $@ on `(hostname || uname -n) 2>/dev/null | sed 1q` " _ACEOF case $ac_config_files in *" "*) set x $ac_config_files; shift; ac_config_files=$*;; esac case $ac_config_headers in *" "*) set x $ac_config_headers; shift; ac_config_headers=$*;; esac cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # Files that config.status was made for. config_files="$ac_config_files" config_headers="$ac_config_headers" config_commands="$ac_config_commands" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ac_cs_usage="\ \`$as_me' instantiates files and other configuration actions from templates according to the current configuration. Unless the files and actions are specified as TAGs, all are instantiated by default. Usage: $0 [OPTION]... [TAG]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit --config print configuration, then exit -q, --quiet, --silent do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions --file=FILE[:TEMPLATE] instantiate the configuration file FILE --header=FILE[:TEMPLATE] instantiate the configuration header FILE Configuration files: $config_files Configuration headers: $config_headers Configuration commands: $config_commands Report bugs to ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ DFArc config.status 3.12 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" Copyright (C) 2012 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." ac_pwd='$ac_pwd' srcdir='$srcdir' INSTALL='$INSTALL' MKDIR_P='$MKDIR_P' AWK='$AWK' test -n "\$AWK" || AWK=awk _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # The default lists apply if the user does not specify any file. ac_need_defaults=: while test $# != 0 do case $1 in --*=?*) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ac_shift=: ;; --*=) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg= ac_shift=: ;; *) ac_option=$1 ac_optarg=$2 ac_shift=shift ;; esac case $ac_option in # Handling of the options. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) $as_echo "$ac_cs_version"; exit ;; --config | --confi | --conf | --con | --co | --c ) $as_echo "$ac_cs_config"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; '') as_fn_error $? "missing file argument" ;; esac as_fn_append CONFIG_FILES " '$ac_optarg'" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; esac as_fn_append CONFIG_HEADERS " '$ac_optarg'" ac_need_defaults=false;; --he | --h) # Conflict between --help and --header as_fn_error $? "ambiguous option: \`$1' Try \`$0 --help' for more information.";; --help | --hel | -h ) $as_echo "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. -*) as_fn_error $? "unrecognized option: \`$1' Try \`$0 --help' for more information." ;; *) as_fn_append ac_config_targets " $1" ac_need_defaults=false ;; esac shift done ac_configure_extra_args= if $ac_cs_silent; then exec 6>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent" fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 if \$ac_cs_recheck; then set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion shift \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 CONFIG_SHELL='$SHELL' export CONFIG_SHELL exec "\$@" fi _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX $as_echo "$ac_log" } >&5 _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # # INIT-COMMANDS # # Capture the value of obsolete ALL_LINGUAS because we need it to compute # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it # from automake < 1.5. eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' # Capture the value of LINGUAS because we need it to compute CATALOGS. LINGUAS="${LINGUAS-%UNSET%}" AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Handling of arguments. for ac_config_target in $ac_config_targets do case $ac_config_target in "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;; "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "share/Makefile") CONFIG_FILES="$CONFIG_FILES share/Makefile" ;; "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; "src/woeres.rc") CONFIG_FILES="$CONFIG_FILES src/woeres.rc" ;; "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; esac done # If the user did not use the arguments to specify the items to instantiate, # then the envvar interface is used. Set only those that are not. # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands fi # Have a temporary directory for convenience. Make it in the build tree # simply because there is no reason against having it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Hook for its removal unless debugging. # Note that there is a small window in which the directory will not be cleaned: # after its creation but before its name has been assigned to `$tmp'. $debug || { tmp= ac_tmp= trap 'exit_status=$? : "${ac_tmp:=$tmp}" { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status ' 0 trap 'as_fn_exit 1' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 ac_tmp=$tmp # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. # This happens for instance with `./config.status config.h'. if test -n "$CONFIG_FILES"; then ac_cr=`echo X | tr X '\015'` # On cygwin, bash can eat \r inside `` if the user requested igncr. # But we know of no other shell where ac_cr would be empty at this # point, so we can use a bashism as a fallback. if test "x$ac_cr" = x; then eval ac_cr=\$\'\\r\' fi ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ac_cs_awk_cr='\\r' else ac_cs_awk_cr=$ac_cr fi echo 'BEGIN {' >"$ac_tmp/subs1.awk" && _ACEOF { echo "cat >conf$$subs.awk <<_ACEOF" && echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && echo "_ACEOF" } >conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` ac_delim='%!_!# ' for ac_last_try in false false false false false :; do . ./conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` if test $ac_delim_n = $ac_delim_num; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done rm -f conf$$subs.sh cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && _ACEOF sed -n ' h s/^/S["/; s/!.*/"]=/ p g s/^[^!]*!// :repl t repl s/'"$ac_delim"'$// t delim :nl h s/\(.\{148\}\)..*/\1/ t more1 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ p n b repl :more1 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t nl :delim h s/\(.\{148\}\)..*/\1/ t more2 s/["\\]/\\&/g; s/^/"/; s/$/"/ p b :more2 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t delim ' >$CONFIG_STATUS || ac_write_fail=1 rm -f conf$$subs.awk cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACAWK cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && for (key in S) S_is_set[key] = 1 FS = "" } { line = $ 0 nfields = split(line, field, "@") substed = 0 len = length(field[1]) for (i = 2; i < nfields; i++) { key = field[i] keylen = length(key) if (S_is_set[key]) { value = S[key] line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) len += length(value) + length(field[++i]) substed = 1 } else len += 1 + keylen } print line } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" else cat fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 _ACEOF # VPATH may cause trouble with some makes, so we remove sole $(srcdir), # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and # trailing colons and then remove the whole line if VPATH becomes empty # (actually we leave an empty line to preserve line numbers). if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ h s/// s/^/:/ s/[ ]*$/:/ s/:\$(srcdir):/:/g s/:\${srcdir}:/:/g s/:@srcdir@:/:/g s/^:*// s/:*$// x s/\(=[ ]*\).*/\1/ G s/\n// s/^[^=]*=[ ]*$// }' fi cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 fi # test -n "$CONFIG_FILES" # Set up the scripts for CONFIG_HEADERS section. # No need to generate them if there are no CONFIG_HEADERS. # This happens for instance with `./config.status Makefile'. if test -n "$CONFIG_HEADERS"; then cat >"$ac_tmp/defines.awk" <<\_ACAWK || BEGIN { _ACEOF # Transform confdefs.h into an awk script `defines.awk', embedded as # here-document in config.status, that substitutes the proper values into # config.h.in to produce config.h. # Create a delimiter string that does not exist in confdefs.h, to ease # handling of long lines. ac_delim='%!_!# ' for ac_last_try in false false :; do ac_tt=`sed -n "/$ac_delim/p" confdefs.h` if test -z "$ac_tt"; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done # For the awk script, D is an array of macro values keyed by name, # likewise P contains macro parameters if any. Preserve backslash # newline sequences. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* sed -n ' s/.\{148\}/&'"$ac_delim"'/g t rset :rset s/^[ ]*#[ ]*define[ ][ ]*/ / t def d :def s/\\$// t bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3"/p s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p d :bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3\\\\\\n"\\/p t cont s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p t cont d :cont n s/.\{148\}/&'"$ac_delim"'/g t clear :clear s/\\$// t bsnlc s/["\\]/\\&/g; s/^/"/; s/$/"/p d :bsnlc s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p b cont ' >$CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 for (key in D) D_is_set[key] = 1 FS = "" } /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { line = \$ 0 split(line, arg, " ") if (arg[1] == "#") { defundef = arg[2] mac1 = arg[3] } else { defundef = substr(arg[1], 2) mac1 = arg[2] } split(mac1, mac2, "(") #) macro = mac2[1] prefix = substr(line, 1, index(line, defundef) - 1) if (D_is_set[macro]) { # Preserve the white space surrounding the "#". print prefix "define", macro P[macro] D[macro] next } else { # Replace #undef with comments. This is necessary, for example, # in the case of _POSIX_SOURCE, which is predefined and required # on some systems where configure will not decide to define it. if (defundef == "undef") { print "/*", prefix defundef, macro, "*/" next } } } { print } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 fi # test -n "$CONFIG_HEADERS" eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" shift for ac_tag do case $ac_tag in :[FHLC]) ac_mode=$ac_tag; continue;; esac case $ac_mode$ac_tag in :[FHL]*:*);; :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac ac_save_IFS=$IFS IFS=: set x $ac_tag IFS=$ac_save_IFS shift ac_file=$1 shift case $ac_mode in :L) ac_source=$1;; :[FH]) ac_file_inputs= for ac_f do case $ac_f in -) ac_f="$ac_tmp/stdin";; *) # Look for the file first in the build tree, then in the source tree # (if the path is not absolute). The absolute path cannot be DOS-style, # because $ac_f cannot contain `:'. test -f "$ac_f" || case $ac_f in [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; esac case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac as_fn_append ac_file_inputs " '$ac_f'" done # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ configure_input='Generated from '` $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' `' by configure.' if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 $as_echo "$as_me: creating $ac_file" >&6;} fi # Neutralize special characters interpreted by sed in replacement strings. case $configure_input in #( *\&* | *\|* | *\\* ) ac_sed_conf_input=`$as_echo "$configure_input" | sed 's/[\\\\&|]/\\\\&/g'`;; #( *) ac_sed_conf_input=$configure_input;; esac case $ac_tag in *:-:* | *:-) cat >"$ac_tmp/stdin" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; esac ;; esac ac_dir=`$as_dirname -- "$ac_file" || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` as_dir="$ac_dir"; as_fn_mkdir_p ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix case $ac_mode in :F) # # CONFIG_FILE # case $INSTALL in [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; esac ac_MKDIR_P=$MKDIR_P case $MKDIR_P in [\\/$]* | ?:[\\/]* ) ;; */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; esac _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # If the template does not know about datarootdir, expand it. # FIXME: This hack should be removed a few years after 2.60. ac_datarootdir_hack=; ac_datarootdir_seen= ac_sed_dataroot=' /datarootdir/ { p q } /@datadir@/p /@docdir@/p /@infodir@/p /@localedir@/p /@mandir@/p' case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_datarootdir_hack=' s&@datadir@&$datadir&g s&@docdir@&$docdir&g s&@infodir@&$infodir&g s&@localedir@&$localedir&g s&@mandir@&$mandir&g s&\\\${datarootdir}&$datarootdir&g' ;; esac _ACEOF # Neutralize VPATH when `$srcdir' = `.'. # Shell code in configure.ac might set extrasub. # FIXME: do we really want to maintain this feature? cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_sed_extra="$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s|@configure_input@|$ac_sed_conf_input|;t t s&@top_builddir@&$ac_top_builddir_sub&;t t s&@top_build_prefix@&$ac_top_build_prefix&;t t s&@srcdir@&$ac_srcdir&;t t s&@abs_srcdir@&$ac_abs_srcdir&;t t s&@top_srcdir@&$ac_top_srcdir&;t t s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t s&@builddir@&$ac_builddir&;t t s&@abs_builddir@&$ac_abs_builddir&;t t s&@abs_top_builddir@&$ac_abs_top_builddir&;t t s&@INSTALL@&$ac_INSTALL&;t t s&@MKDIR_P@&$ac_MKDIR_P&;t t $ac_datarootdir_hack " eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ "$ac_tmp/out"`; test -z "$ac_out"; } && { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&5 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&2;} rm -f "$ac_tmp/stdin" case $ac_file in -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; esac \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; :H) # # CONFIG_HEADER # if test x"$ac_file" != x-; then { $as_echo "/* $configure_input */" \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" } >"$ac_tmp/config.h" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 $as_echo "$as_me: $ac_file is unchanged" >&6;} else rm -f "$ac_file" mv "$ac_tmp/config.h" "$ac_file" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 fi else $as_echo "/* $configure_input */" \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ || as_fn_error $? "could not create -" "$LINENO" 5 fi # Compute "$ac_file"'s index in $config_headers. _am_arg="$ac_file" _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$_am_arg" : 'X\(//\)[^/]' \| \ X"$_am_arg" : 'X\(//\)$' \| \ X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$_am_arg" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'`/stamp-h$_am_stamp_count ;; :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 $as_echo "$as_me: executing $ac_file commands" >&6;} ;; esac case $ac_file$ac_mode in "po-directories":C) for ac_file in $CONFIG_FILES; do # Support "outfile[:infile[:infile...]]" case "$ac_file" in *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; esac # PO directories have a Makefile.in generated from Makefile.in.in. case "$ac_file" in */Makefile.in) # Adjust a relative srcdir. ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` # In autoconf-2.13 it is called $ac_given_srcdir. # In autoconf-2.50 it is called $srcdir. test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" case "$ac_given_srcdir" in .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; /*) top_srcdir="$ac_given_srcdir" ;; *) top_srcdir="$ac_dots$ac_given_srcdir" ;; esac # Treat a directory as a PO directory if and only if it has a # POTFILES.in file. This allows packages to have multiple PO # directories under different names or in different locations. if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then rm -f "$ac_dir/POTFILES" test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" POMAKEFILEDEPS="POTFILES.in" # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend # on $ac_dir but don't depend on user-specified configuration # parameters. if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then # The LINGUAS file contains the set of available languages. if test -n "$OBSOLETE_ALL_LINGUAS"; then test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" fi ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` # Hide the ALL_LINGUAS assigment from automake < 1.5. eval 'ALL_LINGUAS''=$ALL_LINGUAS_' POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" else # The set of available languages was given in configure.in. # Hide the ALL_LINGUAS assigment from automake < 1.5. eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' fi # Compute POFILES # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) # Compute UPDATEPOFILES # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) # Compute DUMMYPOFILES # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) # Compute GMOFILES # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) case "$ac_given_srcdir" in .) srcdirpre= ;; *) srcdirpre='$(srcdir)/' ;; esac POFILES= UPDATEPOFILES= DUMMYPOFILES= GMOFILES= for lang in $ALL_LINGUAS; do POFILES="$POFILES $srcdirpre$lang.po" UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" DUMMYPOFILES="$DUMMYPOFILES $lang.nop" GMOFILES="$GMOFILES $srcdirpre$lang.gmo" done # CATALOGS depends on both $ac_dir and the user's LINGUAS # environment variable. INST_LINGUAS= if test -n "$ALL_LINGUAS"; then for presentlang in $ALL_LINGUAS; do useit=no if test "%UNSET%" != "$LINGUAS"; then desiredlanguages="$LINGUAS" else desiredlanguages="$ALL_LINGUAS" fi for desiredlang in $desiredlanguages; do # Use the presentlang catalog if desiredlang is # a. equal to presentlang, or # b. a variant of presentlang (because in this case, # presentlang can be used as a fallback for messages # which are not translated in the desiredlang catalog). case "$desiredlang" in "$presentlang"*) useit=yes;; esac done if test $useit = yes; then INST_LINGUAS="$INST_LINGUAS $presentlang" fi done fi CATALOGS= if test -n "$INST_LINGUAS"; then for lang in $INST_LINGUAS; do CATALOGS="$CATALOGS $lang.gmo" done fi test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do if test -f "$f"; then case "$f" in *.orig | *.bak | *~) ;; *) cat "$f" >> "$ac_dir/Makefile" ;; esac fi done fi ;; esac done ;; "depfiles":C) test x"$AMDEP_TRUE" != x"" || { # Older Autoconf quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. case $CONFIG_FILES in *\'*) eval set x "$CONFIG_FILES" ;; *) set x $CONFIG_FILES ;; esac shift for mf do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named 'Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # Grep'ing the whole file is not good either: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then dirpart=`$as_dirname -- "$mf" || $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$mf" : 'X\(//\)[^/]' \| \ X"$mf" : 'X\(//\)$' \| \ X"$mf" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$mf" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running 'make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "$am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`$as_dirname -- "$file" || $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$file" : 'X\(//\)[^/]' \| \ X"$file" : 'X\(//\)$' \| \ X"$file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` as_dir=$dirpart/$fdir; as_fn_mkdir_p # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done } ;; "po/stamp-it":C) if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5 fi rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp" >"po/stamp-it.tmp" sed '/^#/d s/^[[].*] *// /^[ ]*$/d '"s|^| $ac_top_srcdir/|" \ "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES" sed '/^POTFILES =/,/[^\\]$/ { /^POTFILES =/!d r po/POTFILES } ' "po/Makefile.in" >"po/Makefile" rm -f "po/Makefile.tmp" mv "po/stamp-it.tmp" "po/stamp-it" ;; esac done # for ac_tag as_fn_exit 0 _ACEOF ac_clean_files=$ac_clean_files_save test $ac_write_fail = 0 || as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 # configure is writing to config.log, and then calls config.status. # config.status does its own redirection, appending to config.log. # Unfortunately, on DOS this fails, as config.log is still kept open # by configure, so config.status won't be able to write to it; its # output is simply discarded. So we exec the FD to /dev/null, # effectively closing config.log, so it can be properly (re)opened and # appended to by config.status. When coming back to configure, we # need to make the FD available again. if test "$no_create" != yes; then ac_cs_success=: ac_config_status_args= test "$silent" = yes && ac_config_status_args="$ac_config_status_args --quiet" exec 5>/dev/null $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. $ac_cs_success || as_fn_exit 1 fi if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi echo echo "Options summary:" echo "* --enable-upx=$enable_upx" echo "* --enable-static=$enable_static" echo echo "Now you can type 'make' to compile $PACKAGE_STRING" dfarc-3.12/TODO0000664000175000017510000000050512340110733010124 00000000000000- Warn about case-sensitive duplicates (e.g. MAP.DAT and map.dat) when creating a .dmod - Offer to define SDL_VIDEODRIVER and SDL_AUDIODRIVER. This is interesting under woe to use 'directx' instead of the default 'windib' video driver, and under GNU/Linux to try different audio drivers when one isn't working well. dfarc-3.12/Makefile.am0000664000175000017510000000162012416727577011517 00000000000000AUTOMAKE_OPTIONS = gnits # src/ before po/, so wxglade can generate some translatable source # files first. SUBDIRS = src share po # Copy those directly and recursively: # Build system EXTRA_DIST = bootstrap m4/ChangeLog # Documentation EXTRA_DIST += doc EXTRA_DIST += BUILD COPYING.DFArc COPYING.DFArc-2.0 TRANSLATIONS.txt # Packaging EXTRA_DIST += debian freedink-dfarc.spec dist-hook: find $(distdir) -name '*~' | xargs -r rm -f # Prepare some files with MS-DOS newlines to ship in woe releases # At the end of each line (doubled $), add a \r, so we get \r\n cd $(distdir) && sed 's/$$/\r/' README > README.txt # Force inclusion of the translation template -cp "$(srcdir)/po/$(GETTEXT_PACKAGE).pot" "$(builddir)/po" # avoid ../.. rule $(MAKE) -C "$(builddir)/po" "$(GETTEXT_PACKAGE).pot" cp "$(builddir)/po/$(GETTEXT_PACKAGE).pot" "$(distdir)/po/" ACLOCAL_AMFLAGS = -I m4 version: @echo $(VERSION) dfarc-3.12/THANKS0000664000175000017510000000047212417465104010364 00000000000000These persons' contributions are not copyright-based (as in AUTHORS) but still deserve a mention :) - Stefan Dirsch: OpenSUSE packaging - Stephen Hurd: FreeBSD packaging - Sparrowhawk: beta testing - Someone: beta testing - Peteri Tolonen: ArchLinux packaging - Scratcher: beta testing - Your name here :) dfarc-3.12/AUTHORS0000664000175000017510000000547712354337645010543 00000000000000Records of which significant portions were written by whom (and when): Andrew Reading wrote DFArc up to version 1.5. It's a archiver/extractor for the .dmod file format, which is in fact a D-Mod directory compressed using the tar+bz2 method. The GUI is written using the FLTK toolkit. Version v1.5 December 11th, 2004 (Andrew's copyright notice mistakenly mentions 2005) Dan Walma wrote DFArc2, a new Dink Smallwood front-end , which avoids using the command line. It includes parts of DFArc for D-Mod installation and packaging support. He switched from FLTK to wxWidgets. The rest of the code has little to do with the original DFArc. DFArc2 is included in the Dink Smallwood v1.08 packages, which include early beta in 2005 and the final version in 2006. Sylvain Beucler reworked on the code to make it portable (in particular, run under GNU/Linux), cleaned-up the code for Unicode and GCC compliance, converted manually coded GUI code to wxGlade (a graphical GUI designer), and translated to French. There was some work on DFArc1.5 in 2007 (comments and documentation), and real work on DFArc2 (now DFArc v3) started in January 2008. src/BZip.cpp contains a modified version of bzip2-1.0.4/bzlib.c for better progress status integration with low-level bzip2 code. Original code is Copyright (C) 1996-2006 Julian Seward . Дамјан ДимитриоÑки translated to Macedonian, Copyright (C) 2008 Free Software Foundation. Davide Prina translated to Italian, Copyright (C) 2008. Vincenzo Campanella contributed to the Italian translation, Copyright (C) 2010. GOKUSSJ6 translated to Polish, Copyright (C) 2008. MichaÅ‚ Trzebiatowski contributed to the Polish translation, Copyright (C) 2009, 2010. Roland Illig translated to German, Copyright (C) 2009, 2010. Peteri Tolonen translated to Finnish, Copyright (C) 2008, 2009, 2010 Free Software Foundation. Fernando Carmona Varo translated to Spanish, Copyright (C) 2009, 2010. Joe Hansen translated to Danish, Copyright (C) 2009, 2010. Clytie Siddall and Trần Ngá»c Quân translated to Vietnamese, Copyright (C) 2009, 2010 Free Software Foundation. Koen Torfs translated to Dutch, Copyright (C) 2009, 2010 Free Software Foundation. Tomislav Krznar translated to Croatian, Copyright (C) 2012. МироÑлав Ðиколић translated to Serbian, Copyright (C) 2012. Àngel Mompó translated to Catalan, Copyright (C) 2012. AyÅŸe Nur Akhan translated to Turkish, Copyright (C) 2012. Felipe Castro translated the engine strings in Esperanto, Copyright (C) 2011. Enrico Nicoletto translated to Brazilian Portuguese, Copyright (C) 2013. Balázs Úr translated to Hungarian, Copyright (C) 2014. --- Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. dfarc-3.12/doc/0002775000175000017510000000000012420015040010255 500000000000000dfarc-3.12/doc/animation.txt0000664000175000017510000000327212340110733012725 00000000000000Animation in wxWidgets is a bit tricky. Let's sum up the basics. * The base pixels array is wxBitmap * wxImage is a separate class that can apply a few filters (such as scaling) and act as a source for wxBitmap * Drawing operations does not apply on wxBitmap directly, but on a Device Context (DC), which could be linked to other graphic devices such as a printer or a widget. Here we'll only use dc.Blit and the shortcut dc.DrawBitmap. * The basic screen (visible, non-memory) surfaces is the wxWindow widget. It's painted in the wxWidget main loop/thread, when necessary: because the containing wxFrame was hidden and then shown again by the user, or because we explicitely requested a repaint (using widget.Refresh()). The main loop calls send a paint event to the widget, usually handled in a OnPaint function. To implement a custom OnPaint procedure, you need to subclass the widget. * To integrate our animation widget with wxGlade, we insert a wxPanel (the most basic widget available, short of wxWindow), and then replace it at run time by our subclass. * We could also have used a wxStaticBitmap and replaced its wxBitmap on a regular basis. This would have been less efficient than blitting from the source bitmap (mAllLogos), because of the additional blit to wxStaticBitmap's buffer, but more simple to implement. * The first implementation used a wxTimer to update the animation parameters (the "camera" position), but sadly its resolution's minimum was around 50ms (20FPS) under woe (wxWidget relies on woe's SetTimer()), making the animation slower and sluggish. So we use idle events instead, along with a wxMilliSleep() call, which is more precise. dfarc-3.12/doc/release.txt0000664000175000017510000000772612420015037012376 00000000000000How to make a release -*- shell-script -*- Version scheme -------------- - Release = x.y (y is even) - Snapshot = x.$((y+1)).$(date +%Y%m%d) The release number follows the Gnits standard (only 2 numbers to avoid complex versions). If a quick fix is necessary to the latest release, while the development version is unstable, we may branch and use x.y.z. Why not simply rely on $(date) being greater than any released .z? - The snapshots separate branch (x.y+1) clearly distinguish them from stable releases. - We can build x.y.$(date) snapshots for the stable and build branches without version conflict. The next release has a version number higher than the latest snapshot, so that people tracking the snapshots also upgrade when there is a new release. Bootstrapping ------------- Cf. doc/bootstrap.txt in the FreeDink source code. On the developer computer: -------------------------- VERSION=3.12 cd dfarc/ # not in a build dir otherwise this messes dfarc.pot git checkout -b $VERSION # Edit NEWS # Edit configure.ac (AC_INIT) # Sync debian/ # Sync freedink-dfarc.spec # Edit freedink-dfarc.spec (Version/Release + %changelog) # (Note: po/dfarc.pot is generated on 'dist' by toplevel Makefile.am) rsync -Lrtvz translationproject.org::tp/latest/dfarc/ po make distcheck git commit -am "Start branch $VERSION" git push origin $VERSION master # Here you can test the release in the autobuilder # When everything is tested: git2cl > ChangeLog git commit -m "Update ChangeLog" ChangeLog git tag -s v$VERSION -m v$VERSION -u ... git push --tags # Cleanly merge stable branch back to trunk git checkout master git merge $VERSION --no-commit --no-ff # Edit configure.ac (AC_INIT) # Edit NEWS git commit -m "Merge $VERSION" On the autobuilder: ------------------- ./dfarc-snapshot.sh release $VERSION ./dfarc-exe.sh $VERSION ./dfarc-debs.sh $VERSION # as root ./dfarc-rpms.sh $VERSION # in a Fedora vserver On the maintainer computer: --------------------------- # http://www.gnu.org/prep/maintain/html_node/FTP-Upload-Directive-File-_002d-v1_002e1.html gpg --sign -b dfarc-$VERSION.tar.gz cat < dfarc-$VERSION.tar.gz.directive.asc version: 1.1 directory: freedink filename: dfarc-$VERSION.tar.gz EOF lftp -e "mput dfarc-$VERSION.tar.gz*; exit" -u anonymous, ftp-upload.gnu.org/incoming/ftp/ # Check ftp://ftp.gnu.org/gnu/freedink/ # Pristine TAR - efficienty storing the release in the Git repository pristine-tar commit dfarc-$VERSION.tar.gz v$VERSION git push origin pristine-tar # Upload sigs to freedink.org Submit the release to: ---------------------- - GNU info-gnu@gnu.org - Savannah / GNU Planet http://savannah.gnu.org/p/freedink - FreeCode https://freecode.com/projects/freedink - Translation Project http://translationproject.org/html/maintainers.html - Dink Network (.zip releases) http://www.dinknetwork.com/contribute/version/new/dfarc_3/ http://www.dinknetwork.com/contribute/version/new/dfarc_3_source_code/ - Debian GNU/Linux http://wiki.debian.org/Games/Sponsors/Queue - Fedora GNU/Linux http://fedoraproject.org/wiki/PackageMaintainers/UpdatingPackageHowTo - OpenSUSE GNU/Linux tell Stefan about the latest official srpm - ArchLinux GNU/Linux contact Petteri - FreeBSD contact Stephen - Ubuntu GNU/Linux (Debian merge request) contact shirish - JeuxLibres http://jeuxlibres.net/postgame/299.html - Press... Debian notes: ------------- Check this for updates: - /usr/share/doc/debian-policy/upgrading-checklist.txt.gz - http://lintian.debian.org/full/pkg-games-devel@lists.alioth.debian.org.html#freedink-dfarc pdebuild # http://mentors.debian.net/cgi-bin/maintainer-intro cd /var/cache/pbuilder/result/ debsign freedink-dfarc_$VERSION-1_*.changes dput mentors freedink-dfarc_$VERSION-1_*.changes Fedora notes: ------------- Check: https://fedoraproject.org/wiki/Package_maintenance_guide#Typical_fedpkg_session See also: https://admin.fedoraproject.org/pkgdb/package/freedink-dfarc/ http://pkgs.fedoraproject.org/cgit/freedink-dfarc.git/ dfarc-3.12/doc/cross.txt0000664000175000017510000001034412340110733012075 00000000000000# -*- shell-script -*- # Cross-compilation instructions # Copyright (C) 2008 Sylvain Beucler # This file is part of GNU FreeDink # GNU FreeDink 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. # GNU FreeDink 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, see # . # Default ./configure params HOST=i586-mingw32msvc PREFIX=/usr/local/$HOST # whenever you specify `--host', be sure to specify `--build' too; # this will be fixed in the future - (autoconf.info)Specifying Names BUILD=i686-pc-linux-gnu # Install a cross-compiler version of GCC aptitude install mingw32 # To store cross-compiled libraries mkdir -p -m 775 /usr/local/$HOST # To store source tarballs that will be distributed along with static # binaries to comply with the GNU GPL and LGPL mkdir -m 755 /usr/src/depsources # wxWidgets # http://www.rocrail.net/wiki/rocrail/ccmingw-en.html # Note: the MSW archive is not meant for cross-compilation, we use the # full sources instead VERSION=2.8.11 cd /usr/src/ wget -P depsources/ http://downloads.sourceforge.net/project/wxwindows/2.8.11/wxWidgets-2.8.11.tar.bz2 tar xjf depsources/wxWidgets-$VERSION.tar.bz2 pushd wxWidgets-$VERSION # Let's use all the builtin libs: don't specify CPPFLAGS and LDFLAGS # Not enabling unicode: some parts (like BZip.cpp) use fopen(), which # only works in ascii under woe. Need to use some portability layer to # use '_wfopen' there (as glib does for 'g_fopen'). # Static mode (apparently one cannot build both static and shared at # once) Note: reserve ~1GB on your hard disk for the whole # double-compilation ./configure --host=$HOST --build=$BUILD \ --prefix=/usr/local/$HOST --disable-shared make make install # Shared mode ./configure --host=$HOST --build=$BUILD \ --prefix=/usr/local/$HOST --enable-shared make make install # Doesn't work, references misnamed library #make install-strip $HOST-strip /usr/local/$HOST/lib/wx*.dll popd cd depsources/ dget -d http://ftp.de.debian.org/debian/pool/main/m/mingw32-runtime/mingw32-runtime_3.13-1.dsc # libbzip2 VERSION=1.0.6 cd /usr/src/ wget -P depsources/ http://www.bzip.org/$VERSION/bzip2-$VERSION.tar.gz tar xzf depsources/bzip2-$VERSION.tar.gz pushd bzip2-$VERSION # bzip2's build system is not suitable for woe cross-compiling, so # let's use some autotools skills :) cat < configure.ac AC_PREREQ(2.61) AC_INIT([bzip2],[$VERSION]) AM_INIT_AUTOMAKE([foreign]) AC_PROG_CC AC_LIBTOOL_WIN32_DLL AC_PROG_LIBTOOL AC_CONFIG_FILES([Makefile]) AC_OUTPUT EOF # Files from original Makefile # Cf. '(libtool.info)Updating version info' for the versioning scheme cat <<'EOF' > Makefile.am lib_LTLIBRARIES = libbz2.la libbz2_la_SOURCES = blocksort.c huffman.c crctable.c randtable.c \ compress.c decompress.c bzlib.c libbz2_la_LDFLAGS = -no-undefined -version-info 1:5:0 include_HEADERS = bzlib.h EOF autoreconf -fis ./configure --host=$HOST --build=$BUILD \ --prefix=/usr/local/$HOST make make install-strip popd # Apparently automake's 'install-strip' doesn't necessarily work on # installed .dll's: $HOST-strip $PREFIX/bin/*.dll # DFArc itself cd ~/dfarc/ mkdir woe/ cd woe/ CPPFLAGS="-I /usr/local/$HOST/include" \ LDFLAGS="-L /usr/local/$HOST/lib" \ ../configure --host=$HOST --build=$BUILD \ --with-wx-config=/usr/local/$HOST/bin/wx-config \ --enable-static --enable-upx # Avoid errors on make install: aptitude install xdg-tools make install-strip DESTDIR=`pwd`/destdir ls -lh destdir/usr/local/bin/dfarc.exe Misc ==== # wxWidgets dependency: expat # We use the builtin version above VERSION=2.0.1 wget http://ovh.dl.sourceforge.net/sourceforge/expat/expat-$VERSION.tar.gz ln expat-$VERSION.tar.gz depsources/ tar xzf expat-$VERSION.tar.gz pushd expat-$VERSION ./configure --host=i586-mingw32msvc --build=i686-pc-linux-gnu \ --prefix=/usr/local/i586-mingw32msvc make make install popd dfarc-3.12/doc/dfarc.txt0000664000175000017510000001305312340110733012023 00000000000000DFArc15 is a archiver and extractor for the .dmod format. It "morphed" in DFArc2, v1.08's default frontend for launching Dink and DMods, that uses the extractor code for installing DMods, but does not provide the .dmod generator. The code ======== Andrew Reading's version (DFArc15) is portable, but buggy and not tested under GNU/Linux. It can be compiled with a few fixes available from the FreeDink repository. DFArc15 is using the portable FLTK GUI toolkit. DFArc2 switched to the portable wxWidgets GUI toolkit, and kept DFArc15's untested non-Woe code as-is. It also uses new Win32-specific constructs (eg in DFArcFrame.cpp), so it will need a bit a clean-up to be portable. I tried compiling DFArc2 with 'g++ *.cpp `wx-config --cxxflags`' - it triggers lots of "ambiguous overload for 'operator='" errors and uses the Win32 API unconditionaly; this needs a deeper look. It may be ran under Wine. The copyright ============= You can find a DFArc15 release at http://www.dinknetwork.com/file/dfarc/. It includes a source archive with a copyright+license notices block based on the Berkeley DB Database license (which, funnily, mentions "THIS SOFTWARE IS PROVIDED BY SLEEPYCAT SOFTWARE"). Interestingly those notices were all removed in DFArc2. Before working on the code, we need to make sure this isn't some license violation (probably a legal mistake, Andrew Reading's is properly credited in DFArc2 anyway). .dmod format ============ DFArc introduces .dmod archives, which are similar to .tar.bz2 tarballs. I say "similar" because, unfortunately, the TAR code seems written from scratch (it does not use a library) and produces archives that are not completely compatible with POSIX Tar, so extracting those archives with anything else than DFArc is likely to corrupt files (at least DFArc15 is affected). BZip2 support, on the other hand, uses the libbz2 2.1.0.3 (that's what is mentioned in the VC++ project file include paths) and looks clean. For example: # Make sure bzip2 is not involved in the corruption: $ bunzip2 -t marco_polo-v1_00.dmod # # Extract the tar archive: $ LANG=C tar tjf marco_polo-v1_00.dmod marco/DEBUG.TXT tar: Skipping to next header marco/DINK.DAT [...] marco/library.dat tar: Skipping to next header marco/MAP.DAT [...] marco/TILES/Ts41.bmp tar: Unexpected EOF in archive Those errors are not harmless: # Using GNU Tar: $ ls -l marco/TILES/Ts41.bmp -rwxr-xr-x 1 me me 160768 2007-08-22 21:50 marco/TILES/Ts41.bmp # Using DFArc2: $ ls -l .wine/drive_c/Program\ Files/Dink\ Smallwood/marco/TILES/Ts41.bmp -rw-r--r-- 1 me me 161080 2007-08-22 22:26 .wine/drive_c/Program Files/Dink Smallwood/marco/TILES/Ts41.bmp So not using DFArc for extraction may truncate the files. In particular, I never saw a .dmod that does not trigger a "Unexpected EOF" error with GNU tar. With this truncation, Ts41.bmp is still readable by GQView (for example). However, SDL_LoadBMP is stricter and will refuse to load the file. Since Ts41.bmp is necessary for the Dink engine to run, the game engine won't start. At first I feared that already released .dmod files would contain corrupted files, so those files may be irremediably lost. Since apparently DFArc's extrator can handle its encoder's mistakes, we can contemplate fixing .dmods to make them back valid Tar+BZip2 files without data loss. The DFArc extractor also have troubles with extracting files it generated. However it seems more foregiving than GNU Tar. When properly fixed to work under GNU/Linux, DFArc15 will produce weird '\377' one-letter files each time GNU Tar would warn about "Skipping to next header". Technical sum-up of the incompatibilities: - DFArc defines the ustar version as "\0\0" instead of "00". (harmless, ignored by GNU Tar). Note that DFArc2 uses GNU-style "ustar ". - DFArc does not create entries for directories - only for files. This behavior can be reproduced with GNU Tar using: $ find marco -type f | xargs tar --format=ustar -b1 -cf dmod.tar (harmless, but directories can't have permissions). - DFArc lacks the end-of-archive entry, its archives end straight after the last file, while http://www.gnu.org/software/tar/manual/tar.html#Standard mentions: "Physically, an archive consists of a series of file entries terminated by an end-of-archive entry, which consists of two 512 blocks of zero bytes.". This makes GNU Tar exit, and hence truncate the last file. This can be fixed using: $ dd if=/dev/zero bs=512 count=2 >> dmod.tar - DFArc adds a 512 block as content for empty files, while there should be no such block. GNU Tar skips the extra block with a "Skipping to next header" warning, and DFArc creates 'ÿ' files. This should be fixable in existing archives, at first glance. DFArc2 has a "Package" button that is not enabled by default. It contains improved source code that fixes these issues. The v1.08 RC5 indeed mentions: * DFArc 2: When installing a D-Mod containing a file with a size of 0 KB, DFArc 2 would get rather confused. It would create a file or folder called 'ÿ', and stop installing the D-Mod (such as with several D-Mods like Chaos, Bane of the Magi, and Mayhem). This issue has been fixed. And v1.08 RC6: * DFArc2: Properly fixed bugs related to D-Mods not extracting properly if they contained files without any content. Incidentally RC5 also mentions: * DFArc 2: When installing a D-Mod, DFArc would report a false error if the D-Mod had a folder with no files (just other folders) in it (such as in Terrania). It no longer reports an error. While there's no note about it, DFArc2 also properly add the 'end of archive' entry. dfarc-3.12/doc/wxglade.txt0000664000175000017510000000430712340110733012401 00000000000000Embedded code can be generated using two different techniques: - wxGlade C++ code generation (-g C++) (+ optional subclassing) - wxGlade XRC (XML) generation (-g XRC) + wxrc embedded XML C++ code generation with header generation (-ce) There are a few differences: - wxFrame "name" is used as: - C++: ignored - XRC&C++: class name - wxFrame "class" is used as: - C++: class name - XRC&C++: ignored (attribute "subclass" in the XRC) - wxButton "name" is used as: - C++: class member name - XRC&C++: class member _and_ XRCID("name") in event handlers (note: XRCID includes a special predefined mapping to support e.g. "wxID_OK"->wxID_OK). Using standard wxID_OK for class members compiles (it's an enum, not a #define) but looks weird. Also this will probably make it harder when several buttons send the same signal (e.g. wxID_NEW). - wxButton "id" is used as: - C++: non-string constant in event handlers (must be defined in the source code somewhere else; no XRCID) - XRC&C++: unused - gettext support: - C++: tick "Enable gettext support" in the wxGlade Application object, then have gettext scan the generated C++ code. You still can use the XRC&C++ method if you want. - XRC&C++: output all strings using wxrc -g and have gettext scan the file as a C file. - Loading is as fast as manual code with C++ generation. With XRC&C++ however, loading the first resource takes around 2 complete seconds (subsequent resource loads are much faster). Some heavy initialization must take place (in-memory fake file system, XML parser, etc.). For a small application, the load time is hence surprisingly slow. - wxrc v2.6 produce header files that fail to compile with g++-4 (prefix functions by the Class:: in the class definition). You might work-this around using a bit of 'sed' in your build system. Conclusion ========== There's apparently no way to use wxGlade so that both methods produce compatible code. I don't see much point in loading external XRC/XRS at run time, the XRC format only allows interoperability with proprietary IDE builders nowadays, and the load time is much slower, so I think using wxGlade direct C++ code generation is better. dfarc-3.12/doc/debug.txt0000664000175000017510000000037612340110733012036 00000000000000gdb is your friend!:: $ gdb src/dfarc If you have trouble with inlined functions or other C++ idiosyncrasies, you need to avoid the "-O2" code to optimization. CXXFLAGS default to "-g -O2" with automake. To override it:: CXXFLAGS="-g" ../configure dfarc-3.12/doc/unicode.txt0000664000175000017510000000162212340110733012371 00000000000000wxUSE_UNICODE+woe issues: - wxString.fn_str() returns a wide-character C string, not suitable for fopen. But since there's nothing like UTF-8 under woe, it's pretty normal: a (say) Japanese string can't be converted to plain ASCII. As a result, all our code need to use a wrapper that will call fopen or _wfopen for ANSI and Unicode builds respectively (making me wonder why wxWidgets provides a portability in the first place). Same for loads of other functions, such as chdir, stat, getenv, sdt::iostream, etc. You'd need something like this: #if wxUSE_UNICODE && _WIN32 FILE* lDmodFileIn = _wfopen(mFilePath.wc_str(), L"rb"); #else // ANSI&GNU/Linux FILE* lDmodFileIn = fopen(mFilePath.fn_str(), "rb"); #endif // Unicode/ANSI&GNU/Linux - There are issues with #include order. One order that was used to avoid a crash in ANSI is causing issues in Unicode (cf. BZip.hpp). dfarc-3.12/doc/locales.txt0000664000175000017510000000307112340110733012365 00000000000000- When a locale is not installed in GNU/Linux (e.g. dpkg-reconfigure locales), the messages catalog for that locale cannot be used at all :/ Locales must be exact: fr_FR.UTF-8 is not the same as fr_FR.ISO-8859-1 - the exactly matching locale need to be installed. I tried setting setlocale(LC_MESSAGES, "") instead of setlocale(LC_ALL, "") - doesn't change a thing, still requires matching locale to be installed system-wide. Gettext under ms woe does not have this limitation: LC_ALL=fr is enough (you can still add the country code and encoding information if you want), and no system configuration is needed. Shame.. - Setting LC_ALL environment variable from MSys is enough to tell FreeDink which language to use. I didn't try to do that from DFArc. - Setting LC_ALL environment variable under GNU/Linux is enough to tell FreeDink which language to use, but you need to get rid of other conflicting variables that have precedence, such as LANGUAGE. Implementing a FreeDink option to explicitely select language could help - but we still need to fix the need for locale pre-generation (see above). - When wxWidgets cannot set a locale, it displays a warning box. - wxWidgets uses its own set of language codes. It can detect the language through environment variables under GNU/Linux, but not under ms woe. - Setting LC_ALL before calling wxLocale::Init permits to change the locale dynamically - but wxWidgets' strings (such as "Cancel") are apparently already As a result this makes it difficult to offer language selection from DFArc. dfarc-3.12/doc/mingw-cross-env.txt0000664000175000017510000000231512340110733014001 00000000000000I experimented with mingw-cross-env: http://mingw-cross-env.nongnu.org/ Compilation =========== cd /usr/src/ hg clone http://hg.savannah.nongnu.org/hgweb/mingw-cross-env mingw-cross-env cd mingw-cross-env make wxwidgets bzip2 JOBS=$(ncpus) cd ~/dfarc/ mkdir woe/ && cd woe/ export PATH=/usr/src/mingw-cross-env/usr/bin:$PATH ../configure --host=i686-pc-mingw32 \ --with-wx-config=/usr/src/mingw-cross-env/usr/bin/i686-pc-mingw32-wx-config \ --enable-static --enable-upx ?? CPPFLAGS="-I /usr/src/mingw-cross-env/usr/include" LDFLAGS="-L /usr/src/mingw-cross-env/usr/lib" ../configure --host=$HOST --with-wx-config=/usr/src/mingw-cross-env/usr/bin/i686-pc-mingw32-wx-config-nounicode --enable-static --enable-upx make # You need to specify 'wx-config' explicitely otherwise your host's # (native) wx-config will be used. Results ======= When using Unicode support, the build currently fails (issues in non-wxWidgets parts of DFArc, see unicode.txt). When not using Unicode, it compiles (with some differences, maybe due to --enable-compatXX build options), but the resulting executable does not start (it runs, and quits immediately without error). Consequently we'll stick with our own build system for now. dfarc-3.12/doc/intltool.txt0000664000175000017510000000073012340110733012606 00000000000000Although intltool forks gettext's build system, it behaves quite differently: * .po files need to be updated manually, either with * 'make update-po' in a configured directory where srcdir==buildir * either with:: 'intltool-update --pot && for i in *.po; do intltool-update ${i%.po}; done' * The .pot file isn't included on 'make dist' More info at: * http://bugzilla.gnome.org/show_bug.cgi?id=531892 * http://bugzilla.gnome.org/show_bug.cgi?id=531893 dfarc-3.12/doc/md5.txt0000664000175000017510000000104512340110733011427 00000000000000MD5 checksums for non-FreeDink executables: 1.08: 7240acff54317a7d9c70cec630d75d08 dink.exe 16d2ea6ade7c2d05c6eb7812c5d2294f dinkedit.exe 1.07 b3 patch: 04f40b73bf9e31bcd6fe72e2217c62eb dink.exe e07a34a67291299d34b9627a3172caff Dinkedit.exe 1.06: f00c352c616a14fc4f5338b6e5c6f3ea dink.exe d9b0f1fa8f1d7b72f57dbfaae3996243 dinkedit.exe Aural+: a586b261449592ec2606920dacfee5e0 dink_aural+.exe WinDinkedit 1.4 Beta 2 3d51d1f2d22a2ddce4b8a04e81ca89d0 WinDinkedit.exe WinDinkeditPlus: 2a87170bc9c8e57352a0ffc00c9f2d1e WinDinkeditPlus.exe dfarc-3.12/ABOUT-NLS0000664000175000017510000022532612340110733010675 000000000000001 Notes on the Free Translation Project *************************************** Free software is going international! The Free Translation Project is a way to get maintainers of free software, translators, and users all together, so that free software will gradually become able to speak many languages. A few packages already provide translations for their messages. If you found this `ABOUT-NLS' file inside a distribution, you may assume that the distributed package does use GNU `gettext' internally, itself available at your nearest GNU archive site. But you do _not_ need to install GNU `gettext' prior to configuring, installing or using this package with messages translated. Installers will find here some useful hints. These notes also explain how users should proceed for getting the programs to use the available translations. They tell how people wanting to contribute and work on translations can contact the appropriate team. When reporting bugs in the `intl/' directory or bugs which may be related to internationalization, you should tell about the version of `gettext' which is used. The information can be found in the `intl/VERSION' file, in internationalized packages. 1.1 Quick configuration advice ============================== If you want to exploit the full power of internationalization, you should configure it using ./configure --with-included-gettext to force usage of internationalizing routines provided within this package, despite the existence of internationalizing capabilities in the operating system where this package is being installed. So far, only the `gettext' implementation in the GNU C library version 2 provides as many features (such as locale alias, message inheritance, automatic charset conversion or plural form handling) as the implementation here. It is also not possible to offer this additional functionality on top of a `catgets' implementation. Future versions of GNU `gettext' will very likely convey even more functionality. So it might be a good idea to change to GNU `gettext' as soon as possible. So you need _not_ provide this option if you are using GNU libc 2 or you have installed a recent copy of the GNU gettext package with the included `libintl'. 1.2 INSTALL Matters =================== Some packages are "localizable" when properly installed; the programs they contain can be made to speak your own native language. Most such packages use GNU `gettext'. Other packages have their own ways to internationalization, predating GNU `gettext'. By default, this package will be installed to allow translation of messages. It will automatically detect whether the system already provides the GNU `gettext' functions. If not, the included GNU `gettext' library will be used. This library is wholly contained within this package, usually in the `intl/' subdirectory, so prior installation of the GNU `gettext' package is _not_ required. Installers may use special options at configuration time for changing the default behaviour. The commands: ./configure --with-included-gettext ./configure --disable-nls will, respectively, bypass any pre-existing `gettext' to use the internationalizing routines provided within this package, or else, _totally_ disable translation of messages. When you already have GNU `gettext' installed on your system and run configure without an option for your new package, `configure' will probably detect the previously built and installed `libintl.a' file and will decide to use this. This might not be desirable. You should use the more recent version of the GNU `gettext' library. I.e. if the file `intl/VERSION' shows that the library which comes with this package is more recent, you should use ./configure --with-included-gettext to prevent auto-detection. The configuration process will not test for the `catgets' function and therefore it will not be used. The reason is that even an emulation of `gettext' on top of `catgets' could not provide all the extensions of the GNU `gettext' library. Internationalized packages usually have many `po/LL.po' files, where LL gives an ISO 639 two-letter code identifying the language. Unless translations have been forbidden at `configure' time by using the `--disable-nls' switch, all available translations are installed together with the package. However, the environment variable `LINGUAS' may be set, prior to configuration, to limit the installed set. `LINGUAS' should then contain a space separated list of two-letter codes, stating which languages are allowed. 1.3 Using This Package ====================== As a user, if your language has been installed for this package, you only have to set the `LANG' environment variable to the appropriate `LL_CC' combination. If you happen to have the `LC_ALL' or some other `LC_xxx' environment variables set, you should unset them before setting `LANG', otherwise the setting of `LANG' will not have the desired effect. Here `LL' is an ISO 639 two-letter language code, and `CC' is an ISO 3166 two-letter country code. For example, let's suppose that you speak German and live in Germany. At the shell prompt, merely execute `setenv LANG de_DE' (in `csh'), `export LANG; LANG=de_DE' (in `sh') or `export LANG=de_DE' (in `bash'). This can be done from your `.login' or `.profile' file, once and for all. You might think that the country code specification is redundant. But in fact, some languages have dialects in different countries. For example, `de_AT' is used for Austria, and `pt_BR' for Brazil. The country code serves to distinguish the dialects. The locale naming convention of `LL_CC', with `LL' denoting the language and `CC' denoting the country, is the one use on systems based on GNU libc. On other systems, some variations of this scheme are used, such as `LL' or `LL_CC.ENCODING'. You can get the list of locales supported by your system for your language by running the command `locale -a | grep '^LL''. Not all programs have translations for all languages. By default, an English message is shown in place of a nonexistent translation. If you understand other languages, you can set up a priority list of languages. This is done through a different environment variable, called `LANGUAGE'. GNU `gettext' gives preference to `LANGUAGE' over `LANG' for the purpose of message handling, but you still need to have `LANG' set to the primary language; this is required by other parts of the system libraries. For example, some Swedish users who would rather read translations in German than English for when Swedish is not available, set `LANGUAGE' to `sv:de' while leaving `LANG' to `sv_SE'. Special advice for Norwegian users: The language code for Norwegian bokma*l changed from `no' to `nb' recently (in 2003). During the transition period, while some message catalogs for this language are installed under `nb' and some older ones under `no', it's recommended for Norwegian users to set `LANGUAGE' to `nb:no' so that both newer and older translations are used. In the `LANGUAGE' environment variable, but not in the `LANG' environment variable, `LL_CC' combinations can be abbreviated as `LL' to denote the language's main dialect. For example, `de' is equivalent to `de_DE' (German as spoken in Germany), and `pt' to `pt_PT' (Portuguese as spoken in Portugal) in this context. 1.4 Translating Teams ===================== For the Free Translation Project to be a success, we need interested people who like their own language and write it well, and who are also able to synergize with other translators speaking the same language. Each translation team has its own mailing list. The up-to-date list of teams can be found at the Free Translation Project's homepage, `http://translationproject.org/', in the "Teams" area. If you'd like to volunteer to _work_ at translating messages, you should become a member of the translating team for your own language. The subscribing address is _not_ the same as the list itself, it has `-request' appended. For example, speakers of Swedish can send a message to `sv-request@li.org', having this message body: subscribe Keep in mind that team members are expected to participate _actively_ in translations, or at solving translational difficulties, rather than merely lurking around. If your team does not exist yet and you want to start one, or if you are unsure about what to do or how to get started, please write to `coordinator@translationproject.org' to reach the coordinator for all translator teams. The English team is special. It works at improving and uniformizing the terminology in use. Proven linguistic skills are praised more than programming skills, here. 1.5 Available Packages ====================== Languages are not equally supported in all packages. The following matrix shows the current state of internationalization, as of November 2007. The matrix shows, in regard of each package, for which languages PO files have been submitted to translation coordination, with a translation percentage of at least 50%. Ready PO files af am ar az be bg bs ca cs cy da de el en en_GB eo +----------------------------------------------------+ Compendium | [] [] [] [] | a2ps | [] [] [] [] [] | aegis | () | ant-phone | () | anubis | [] | ap-utils | | aspell | [] [] [] [] [] | bash | [] | bfd | | bibshelf | [] | binutils | | bison | [] [] | bison-runtime | [] | bluez-pin | [] [] [] [] [] | cflow | [] | clisp | [] [] [] | console-tools | [] [] | coreutils | [] [] [] [] | cpio | | cpplib | [] [] [] | cryptonit | [] | dialog | | diffutils | [] [] [] [] [] [] | doodle | [] | e2fsprogs | [] [] | enscript | [] [] [] [] | fetchmail | [] [] () [] [] | findutils | [] | findutils_stable | [] [] [] | flex | [] [] [] | fslint | | gas | | gawk | [] [] [] | gcal | [] | gcc | [] | gettext-examples | [] [] [] [] [] | gettext-runtime | [] [] [] [] [] | gettext-tools | [] [] | gip | [] | gliv | [] [] | glunarclock | [] | gmult | [] [] | gnubiff | () | gnucash | [] [] () () [] | gnuedu | | gnulib | [] | gnunet | | gnunet-gtk | | gnutls | [] | gpe-aerial | [] [] | gpe-beam | [] [] | gpe-calendar | | gpe-clock | [] [] | gpe-conf | [] [] | gpe-contacts | | gpe-edit | [] | gpe-filemanager | | gpe-go | [] | gpe-login | [] [] | gpe-ownerinfo | [] [] | gpe-package | | gpe-sketchbook | [] [] | gpe-su | [] [] | gpe-taskmanager | [] [] | gpe-timesheet | [] | gpe-today | [] [] | gpe-todo | | gphoto2 | [] [] [] [] | gprof | [] [] | gpsdrive | | gramadoir | [] [] | grep | [] [] | gretl | () | gsasl | | gss | | gst-plugins-bad | [] [] | gst-plugins-base | [] [] | gst-plugins-good | [] [] [] | gst-plugins-ugly | [] [] | gstreamer | [] [] [] [] [] [] [] | gtick | () | gtkam | [] [] [] [] | gtkorphan | [] [] | gtkspell | [] [] [] [] | gutenprint | [] | hello | [] [] [] [] [] | herrie | [] | hylafax | | idutils | [] [] | indent | [] [] [] [] | iso_15924 | | iso_3166 | [] [] [] [] [] [] [] [] [] [] [] | iso_3166_2 | | iso_4217 | [] [] [] | iso_639 | [] [] [] [] | jpilot | [] | jtag | | jwhois | | kbd | [] [] [] [] | keytouch | [] [] | keytouch-editor | [] | keytouch-keyboa... | [] | latrine | () | ld | [] | leafpad | [] [] [] [] [] | libc | [] [] [] [] | libexif | [] | libextractor | [] | libgpewidget | [] [] [] | libgpg-error | [] | libgphoto2 | [] [] | libgphoto2_port | [] [] | libgsasl | | libiconv | [] [] | libidn | [] [] [] | lifelines | [] () | lilypond | [] | lingoteach | | lprng | | lynx | [] [] [] [] | m4 | [] [] [] [] | mailfromd | | mailutils | [] | make | [] [] | man-db | [] [] [] | minicom | [] [] [] | nano | [] [] [] | opcodes | [] | parted | [] [] | pilot-qof | | popt | [] [] [] | psmisc | [] | pwdutils | | qof | | radius | [] | recode | [] [] [] [] [] [] | rpm | [] | screem | | scrollkeeper | [] [] [] [] [] [] [] [] | sed | [] [] [] | shared-mime-info | [] [] [] [] () [] [] [] | sharutils | [] [] [] [] [] [] | shishi | | skencil | [] () | solfege | | soundtracker | [] [] | sp | [] | system-tools-ba... | [] [] [] [] [] [] [] [] [] | tar | [] [] | texinfo | [] [] [] | tin | () () | tuxpaint | [] [] [] [] [] [] | unicode-han-tra... | | unicode-transla... | | util-linux | [] [] [] [] | util-linux-ng | [] [] [] [] | vorbis-tools | [] | wastesedge | () | wdiff | [] [] [] [] | wget | [] [] [] | xchat | [] [] [] [] [] [] [] | xkeyboard-config | [] | xpad | [] [] [] | +----------------------------------------------------+ af am ar az be bg bs ca cs cy da de el en en_GB eo 6 0 2 1 8 26 2 40 48 2 56 88 15 1 15 18 es et eu fa fi fr ga gl gu he hi hr hu id is it +--------------------------------------------------+ Compendium | [] [] [] [] [] | a2ps | [] [] [] () | aegis | | ant-phone | [] | anubis | [] | ap-utils | [] [] | aspell | [] [] [] | bash | [] | bfd | [] [] | bibshelf | [] [] [] | binutils | [] [] [] | bison | [] [] [] [] [] [] | bison-runtime | [] [] [] [] [] | bluez-pin | [] [] [] [] [] | cflow | [] | clisp | [] [] | console-tools | | coreutils | [] [] [] [] [] [] | cpio | [] [] [] | cpplib | [] [] | cryptonit | [] | dialog | [] [] [] | diffutils | [] [] [] [] [] [] [] [] [] | doodle | [] [] | e2fsprogs | [] [] [] | enscript | [] [] [] | fetchmail | [] | findutils | [] [] [] | findutils_stable | [] [] [] [] | flex | [] [] [] | fslint | | gas | [] [] | gawk | [] [] [] [] () | gcal | [] [] | gcc | [] | gettext-examples | [] [] [] [] [] [] [] | gettext-runtime | [] [] [] [] [] [] | gettext-tools | [] [] [] [] | gip | [] [] [] [] | gliv | () | glunarclock | [] [] [] | gmult | [] [] [] | gnubiff | () () | gnucash | () () () | gnuedu | [] | gnulib | [] [] [] | gnunet | | gnunet-gtk | | gnutls | | gpe-aerial | [] [] | gpe-beam | [] [] | gpe-calendar | | gpe-clock | [] [] [] [] | gpe-conf | [] | gpe-contacts | [] [] | gpe-edit | [] [] [] [] | gpe-filemanager | [] | gpe-go | [] [] [] | gpe-login | [] [] [] | gpe-ownerinfo | [] [] [] [] [] | gpe-package | [] | gpe-sketchbook | [] [] | gpe-su | [] [] [] [] | gpe-taskmanager | [] [] [] | gpe-timesheet | [] [] [] [] | gpe-today | [] [] [] [] | gpe-todo | [] | gphoto2 | [] [] [] [] [] | gprof | [] [] [] [] [] | gpsdrive | [] | gramadoir | [] [] | grep | [] [] [] | gretl | [] [] [] () | gsasl | [] [] | gss | [] [] | gst-plugins-bad | [] [] [] [] | gst-plugins-base | [] [] [] [] | gst-plugins-good | [] [] [] [] [] | gst-plugins-ugly | [] [] [] [] | gstreamer | [] [] [] | gtick | [] [] [] | gtkam | [] [] [] [] | gtkorphan | [] [] | gtkspell | [] [] [] [] [] [] [] | gutenprint | [] | hello | [] [] [] [] [] [] [] [] [] [] [] [] [] | herrie | [] | hylafax | | idutils | [] [] [] [] [] | indent | [] [] [] [] [] [] [] [] [] [] | iso_15924 | [] | iso_3166 | [] [] [] [] [] [] [] [] [] [] [] [] [] | iso_3166_2 | [] | iso_4217 | [] [] [] [] [] [] | iso_639 | [] [] [] [] [] [] | jpilot | [] [] | jtag | [] | jwhois | [] [] [] [] [] | kbd | [] [] | keytouch | [] [] [] | keytouch-editor | [] | keytouch-keyboa... | [] [] | latrine | [] [] | ld | [] [] [] [] | leafpad | [] [] [] [] [] [] | libc | [] [] [] [] [] | libexif | [] | libextractor | [] | libgpewidget | [] [] [] [] [] | libgpg-error | [] | libgphoto2 | [] [] [] | libgphoto2_port | [] [] | libgsasl | [] [] | libiconv | [] [] [] | libidn | [] [] | lifelines | () | lilypond | [] [] [] | lingoteach | [] [] [] | lprng | | lynx | [] [] [] | m4 | [] [] [] [] | mailfromd | | mailutils | [] [] | make | [] [] [] [] [] [] [] [] | man-db | [] | minicom | [] [] [] [] | nano | [] [] [] [] [] [] [] | opcodes | [] [] [] [] | parted | [] [] [] | pilot-qof | | popt | [] [] [] [] | psmisc | [] [] | pwdutils | | qof | [] | radius | [] [] | recode | [] [] [] [] [] [] [] [] | rpm | [] [] | screem | | scrollkeeper | [] [] [] | sed | [] [] [] [] [] | shared-mime-info | [] [] [] [] [] [] | sharutils | [] [] [] [] [] [] [] [] | shishi | [] | skencil | [] [] | solfege | [] | soundtracker | [] [] [] | sp | [] | system-tools-ba... | [] [] [] [] [] [] [] [] [] | tar | [] [] [] [] [] | texinfo | [] [] [] | tin | [] () | tuxpaint | [] [] | unicode-han-tra... | | unicode-transla... | [] [] | util-linux | [] [] [] [] [] [] [] | util-linux-ng | [] [] [] [] [] [] [] | vorbis-tools | | wastesedge | () | wdiff | [] [] [] [] [] [] [] [] | wget | [] [] [] [] [] [] [] [] | xchat | [] [] [] [] [] [] [] | xkeyboard-config | [] [] [] [] | xpad | [] [] [] | +--------------------------------------------------+ es et eu fa fi fr ga gl gu he hi hr hu id is it 85 22 14 2 48 101 61 12 2 8 2 6 53 29 1 52 ja ka ko ku ky lg lt lv mk mn ms mt nb ne nl nn +--------------------------------------------------+ Compendium | [] | a2ps | () [] [] | aegis | () | ant-phone | [] | anubis | [] [] [] | ap-utils | [] | aspell | [] [] | bash | [] | bfd | | bibshelf | [] | binutils | | bison | [] [] [] | bison-runtime | [] [] [] | bluez-pin | [] [] [] | cflow | | clisp | [] | console-tools | | coreutils | [] | cpio | [] | cpplib | [] | cryptonit | [] | dialog | [] [] | diffutils | [] [] [] | doodle | | e2fsprogs | [] | enscript | [] | fetchmail | [] [] | findutils | [] | findutils_stable | [] | flex | [] [] | fslint | | gas | | gawk | [] [] | gcal | | gcc | | gettext-examples | [] [] [] | gettext-runtime | [] [] [] | gettext-tools | [] [] | gip | [] [] | gliv | [] | glunarclock | [] [] | gmult | [] [] [] | gnubiff | | gnucash | () () () | gnuedu | | gnulib | [] [] | gnunet | | gnunet-gtk | | gnutls | [] | gpe-aerial | [] | gpe-beam | [] | gpe-calendar | [] | gpe-clock | [] [] [] | gpe-conf | [] [] [] | gpe-contacts | [] | gpe-edit | [] [] [] | gpe-filemanager | [] [] | gpe-go | [] [] [] | gpe-login | [] [] [] | gpe-ownerinfo | [] [] | gpe-package | [] [] | gpe-sketchbook | [] [] | gpe-su | [] [] [] | gpe-taskmanager | [] [] [] [] | gpe-timesheet | [] | gpe-today | [] [] | gpe-todo | [] | gphoto2 | [] [] | gprof | [] | gpsdrive | [] | gramadoir | () | grep | [] [] | gretl | | gsasl | [] | gss | | gst-plugins-bad | [] | gst-plugins-base | [] | gst-plugins-good | [] | gst-plugins-ugly | [] | gstreamer | [] | gtick | [] | gtkam | [] [] | gtkorphan | [] | gtkspell | [] [] | gutenprint | [] | hello | [] [] [] [] [] [] [] | herrie | [] | hylafax | | idutils | [] | indent | [] [] | iso_15924 | [] | iso_3166 | [] [] [] [] [] [] [] [] | iso_3166_2 | [] | iso_4217 | [] [] [] | iso_639 | [] [] [] [] | jpilot | () () | jtag | | jwhois | [] | kbd | [] | keytouch | [] | keytouch-editor | [] | keytouch-keyboa... | | latrine | [] | ld | | leafpad | [] [] | libc | [] [] [] | libexif | | libextractor | | libgpewidget | [] | libgpg-error | | libgphoto2 | [] | libgphoto2_port | [] | libgsasl | [] | libiconv | [] | libidn | [] [] | lifelines | [] | lilypond | [] | lingoteach | [] | lprng | | lynx | [] [] | m4 | [] [] | mailfromd | | mailutils | | make | [] [] [] | man-db | | minicom | [] | nano | [] [] [] | opcodes | [] | parted | [] [] | pilot-qof | | popt | [] [] [] | psmisc | [] [] [] | pwdutils | | qof | | radius | | recode | [] | rpm | [] [] | screem | [] | scrollkeeper | [] [] [] [] | sed | [] [] | shared-mime-info | [] [] [] [] [] [] [] | sharutils | [] [] | shishi | | skencil | | solfege | () () | soundtracker | | sp | () | system-tools-ba... | [] [] [] [] | tar | [] [] [] | texinfo | [] [] | tin | | tuxpaint | () [] [] | unicode-han-tra... | | unicode-transla... | | util-linux | [] [] | util-linux-ng | [] [] | vorbis-tools | | wastesedge | [] | wdiff | [] [] | wget | [] [] | xchat | [] [] [] [] | xkeyboard-config | [] [] [] | xpad | [] [] [] | +--------------------------------------------------+ ja ka ko ku ky lg lt lv mk mn ms mt nb ne nl nn 51 2 25 3 2 0 6 0 2 2 20 0 11 1 103 6 or pa pl pt pt_BR rm ro ru rw sk sl sq sr sv ta +--------------------------------------------------+ Compendium | [] [] [] [] [] | a2ps | () [] [] [] [] [] [] | aegis | () () | ant-phone | [] [] | anubis | [] [] [] | ap-utils | () | aspell | [] [] [] | bash | [] [] | bfd | | bibshelf | [] | binutils | [] [] | bison | [] [] [] [] [] | bison-runtime | [] [] [] [] [] | bluez-pin | [] [] [] [] [] [] [] [] [] | cflow | [] | clisp | [] | console-tools | [] | coreutils | [] [] [] [] | cpio | [] [] [] | cpplib | [] | cryptonit | [] [] | dialog | [] | diffutils | [] [] [] [] [] [] | doodle | [] [] | e2fsprogs | [] [] | enscript | [] [] [] [] [] | fetchmail | [] [] [] | findutils | [] [] [] | findutils_stable | [] [] [] [] [] [] | flex | [] [] [] [] [] | fslint | [] | gas | | gawk | [] [] [] [] | gcal | [] | gcc | [] [] | gettext-examples | [] [] [] [] [] [] [] [] | gettext-runtime | [] [] [] [] [] [] [] [] | gettext-tools | [] [] [] [] [] [] [] | gip | [] [] [] [] | gliv | [] [] [] [] [] [] | glunarclock | [] [] [] [] [] [] | gmult | [] [] [] [] | gnubiff | () [] | gnucash | () [] | gnuedu | | gnulib | [] [] [] | gnunet | | gnunet-gtk | [] | gnutls | [] [] | gpe-aerial | [] [] [] [] [] [] [] | gpe-beam | [] [] [] [] [] [] [] | gpe-calendar | [] [] [] [] | gpe-clock | [] [] [] [] [] [] [] [] | gpe-conf | [] [] [] [] [] [] [] | gpe-contacts | [] [] [] [] [] | gpe-edit | [] [] [] [] [] [] [] [] [] | gpe-filemanager | [] [] | gpe-go | [] [] [] [] [] [] [] [] | gpe-login | [] [] [] [] [] [] [] [] | gpe-ownerinfo | [] [] [] [] [] [] [] [] | gpe-package | [] [] | gpe-sketchbook | [] [] [] [] [] [] [] [] | gpe-su | [] [] [] [] [] [] [] [] | gpe-taskmanager | [] [] [] [] [] [] [] [] | gpe-timesheet | [] [] [] [] [] [] [] [] | gpe-today | [] [] [] [] [] [] [] [] | gpe-todo | [] [] [] [] | gphoto2 | [] [] [] [] [] [] | gprof | [] [] [] | gpsdrive | [] [] | gramadoir | [] [] | grep | [] [] [] [] | gretl | [] [] [] | gsasl | [] [] [] | gss | [] [] [] [] | gst-plugins-bad | [] [] [] | gst-plugins-base | [] [] | gst-plugins-good | [] [] | gst-plugins-ugly | [] [] [] | gstreamer | [] [] [] [] | gtick | [] | gtkam | [] [] [] [] [] | gtkorphan | [] | gtkspell | [] [] [] [] [] [] [] [] | gutenprint | [] | hello | [] [] [] [] [] [] [] [] | herrie | [] [] [] | hylafax | | idutils | [] [] [] [] [] | indent | [] [] [] [] [] [] [] | iso_15924 | | iso_3166 | [] [] [] [] [] [] [] [] [] [] [] [] [] | iso_3166_2 | | iso_4217 | [] [] [] [] [] [] [] | iso_639 | [] [] [] [] [] [] [] | jpilot | | jtag | [] | jwhois | [] [] [] [] | kbd | [] [] [] | keytouch | [] | keytouch-editor | [] | keytouch-keyboa... | [] | latrine | | ld | [] | leafpad | [] [] [] [] [] [] | libc | [] [] [] [] | libexif | [] [] | libextractor | [] [] | libgpewidget | [] [] [] [] [] [] [] [] | libgpg-error | [] [] [] | libgphoto2 | [] | libgphoto2_port | [] [] [] | libgsasl | [] [] [] [] | libiconv | [] [] [] | libidn | [] [] () | lifelines | [] [] | lilypond | | lingoteach | [] | lprng | [] | lynx | [] [] [] | m4 | [] [] [] [] [] | mailfromd | [] | mailutils | [] [] [] | make | [] [] [] [] | man-db | [] [] [] [] | minicom | [] [] [] [] [] | nano | [] [] [] [] | opcodes | [] [] | parted | [] | pilot-qof | | popt | [] [] [] [] | psmisc | [] [] | pwdutils | [] [] | qof | [] [] | radius | [] [] | recode | [] [] [] [] [] [] [] | rpm | [] [] [] [] | screem | | scrollkeeper | [] [] [] [] [] [] [] | sed | [] [] [] [] [] [] [] [] [] | shared-mime-info | [] [] [] [] [] [] | sharutils | [] [] [] [] | shishi | [] | skencil | [] [] [] | solfege | [] | soundtracker | [] [] | sp | | system-tools-ba... | [] [] [] [] [] [] [] [] [] | tar | [] [] [] [] | texinfo | [] [] [] [] | tin | () | tuxpaint | [] [] [] [] [] [] | unicode-han-tra... | | unicode-transla... | | util-linux | [] [] [] [] | util-linux-ng | [] [] [] [] | vorbis-tools | [] | wastesedge | | wdiff | [] [] [] [] [] [] [] | wget | [] [] [] [] | xchat | [] [] [] [] [] [] [] | xkeyboard-config | [] [] [] | xpad | [] [] [] | +--------------------------------------------------+ or pa pl pt pt_BR rm ro ru rw sk sl sq sr sv ta 0 5 77 31 53 4 58 72 3 45 46 9 45 122 3 tg th tk tr uk ven vi wa xh zh_CN zh_HK zh_TW zu +---------------------------------------------------+ Compendium | [] [] [] [] | 19 a2ps | [] [] [] | 19 aegis | [] | 1 ant-phone | [] [] | 6 anubis | [] [] [] | 11 ap-utils | () [] | 4 aspell | [] [] [] | 16 bash | [] | 6 bfd | | 2 bibshelf | [] | 7 binutils | [] [] [] [] | 9 bison | [] [] [] [] | 20 bison-runtime | [] [] [] [] | 18 bluez-pin | [] [] [] [] [] [] | 28 cflow | [] [] | 5 clisp | | 9 console-tools | [] [] | 5 coreutils | [] [] [] | 18 cpio | [] [] [] [] | 11 cpplib | [] [] [] [] [] | 12 cryptonit | [] | 6 dialog | [] [] [] | 9 diffutils | [] [] [] [] [] | 29 doodle | [] | 6 e2fsprogs | [] [] | 10 enscript | [] [] [] | 16 fetchmail | [] [] | 12 findutils | [] [] [] | 11 findutils_stable | [] [] [] [] | 18 flex | [] [] | 15 fslint | [] | 2 gas | [] | 3 gawk | [] [] [] | 16 gcal | [] | 5 gcc | [] [] [] | 7 gettext-examples | [] [] [] [] [] [] | 29 gettext-runtime | [] [] [] [] [] [] | 28 gettext-tools | [] [] [] [] [] | 20 gip | [] [] | 13 gliv | [] [] | 11 glunarclock | [] [] [] | 15 gmult | [] [] [] [] | 16 gnubiff | [] | 2 gnucash | () [] | 5 gnuedu | [] | 2 gnulib | [] | 10 gnunet | | 0 gnunet-gtk | [] [] | 3 gnutls | | 4 gpe-aerial | [] [] | 14 gpe-beam | [] [] | 14 gpe-calendar | [] [] | 7 gpe-clock | [] [] [] [] | 21 gpe-conf | [] [] [] | 16 gpe-contacts | [] [] | 10 gpe-edit | [] [] [] [] [] | 22 gpe-filemanager | [] [] | 7 gpe-go | [] [] [] [] | 19 gpe-login | [] [] [] [] [] | 21 gpe-ownerinfo | [] [] [] [] | 21 gpe-package | [] | 6 gpe-sketchbook | [] [] | 16 gpe-su | [] [] [] [] | 21 gpe-taskmanager | [] [] [] [] | 21 gpe-timesheet | [] [] [] [] | 18 gpe-today | [] [] [] [] [] | 21 gpe-todo | [] [] | 8 gphoto2 | [] [] [] [] | 21 gprof | [] [] | 13 gpsdrive | [] | 5 gramadoir | [] | 7 grep | [] | 12 gretl | | 6 gsasl | [] [] [] | 9 gss | [] | 7 gst-plugins-bad | [] [] [] | 13 gst-plugins-base | [] [] | 11 gst-plugins-good | [] [] [] [] [] | 16 gst-plugins-ugly | [] [] [] | 13 gstreamer | [] [] [] | 18 gtick | [] [] | 7 gtkam | [] | 16 gtkorphan | [] | 7 gtkspell | [] [] [] [] [] [] | 27 gutenprint | | 4 hello | [] [] [] [] [] | 38 herrie | [] [] | 8 hylafax | | 0 idutils | [] [] | 15 indent | [] [] [] [] [] | 28 iso_15924 | [] [] | 4 iso_3166 | [] [] [] [] [] [] [] [] [] | 54 iso_3166_2 | [] [] | 4 iso_4217 | [] [] [] [] [] | 24 iso_639 | [] [] [] [] [] | 26 jpilot | [] [] [] [] | 7 jtag | [] | 3 jwhois | [] [] [] | 13 kbd | [] [] [] | 13 keytouch | [] | 8 keytouch-editor | [] | 5 keytouch-keyboa... | [] | 5 latrine | [] [] | 5 ld | [] [] [] [] | 10 leafpad | [] [] [] [] [] | 24 libc | [] [] [] | 19 libexif | [] | 5 libextractor | [] | 5 libgpewidget | [] [] [] | 20 libgpg-error | [] | 6 libgphoto2 | [] [] | 9 libgphoto2_port | [] [] [] | 11 libgsasl | [] | 8 libiconv | [] [] | 11 libidn | [] [] | 11 lifelines | | 4 lilypond | [] | 6 lingoteach | [] | 6 lprng | [] | 2 lynx | [] [] [] | 15 m4 | [] [] [] | 18 mailfromd | [] [] | 3 mailutils | [] [] | 8 make | [] [] [] | 20 man-db | [] | 9 minicom | [] | 14 nano | [] [] [] | 20 opcodes | [] [] | 10 parted | [] [] [] | 11 pilot-qof | [] | 1 popt | [] [] [] [] | 18 psmisc | [] [] | 10 pwdutils | [] | 3 qof | [] | 4 radius | [] [] | 7 recode | [] [] [] | 25 rpm | [] [] [] [] | 13 screem | [] | 2 scrollkeeper | [] [] [] [] | 26 sed | [] [] [] [] | 23 shared-mime-info | [] [] [] | 29 sharutils | [] [] [] | 23 shishi | [] | 3 skencil | [] | 7 solfege | [] | 3 soundtracker | [] [] | 9 sp | [] | 3 system-tools-ba... | [] [] [] [] [] [] [] | 38 tar | [] [] [] | 17 texinfo | [] [] [] | 15 tin | | 1 tuxpaint | [] [] [] | 19 unicode-han-tra... | | 0 unicode-transla... | | 2 util-linux | [] [] [] | 20 util-linux-ng | [] [] [] | 20 vorbis-tools | [] [] | 4 wastesedge | | 1 wdiff | [] [] | 23 wget | [] [] [] | 20 xchat | [] [] [] [] | 29 xkeyboard-config | [] [] [] | 14 xpad | [] [] [] | 15 +---------------------------------------------------+ 76 teams tg th tk tr uk ven vi wa xh zh_CN zh_HK zh_TW zu 163 domains 0 3 1 74 51 0 143 21 1 57 7 45 0 2036 Some counters in the preceding matrix are higher than the number of visible blocks let us expect. This is because a few extra PO files are used for implementing regional variants of languages, or language dialects. For a PO file in the matrix above to be effective, the package to which it applies should also have been internationalized and distributed as such by its maintainer. There might be an observable lag between the mere existence a PO file and its wide availability in a distribution. If November 2007 seems to be old, you may fetch a more recent copy of this `ABOUT-NLS' file on most GNU archive sites. The most up-to-date matrix with full percentage details can be found at `http://translationproject.org/extra/matrix.html'. 1.6 Using `gettext' in new packages =================================== If you are writing a freely available program and want to internationalize it you are welcome to use GNU `gettext' in your package. Of course you have to respect the GNU Library General Public License which covers the use of the GNU `gettext' library. This means in particular that even non-free programs can use `libintl' as a shared library, whereas only free software can use `libintl' as a static library or use modified versions of `libintl'. Once the sources are changed appropriately and the setup can handle the use of `gettext' the only thing missing are the translations. The Free Translation Project is also available for packages which are not developed inside the GNU project. Therefore the information given above applies also for every other Free Software Project. Contact `coordinator@translationproject.org' to make the `.pot' files available to the translation teams. dfarc-3.12/aclocal.m40000664000175000017510000027123512417764235011327 00000000000000# generated automatically by aclocal 1.14.1 -*- Autoconf -*- # Copyright (C) 1996-2013 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, [m4_warning([this file was generated for autoconf 2.69. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically 'autoreconf'.])]) dnl IT_PROG_INTLTOOL([MINIMUM-VERSION], [no-xml]) # serial 42 IT_PROG_INTLTOOL AC_DEFUN([IT_PROG_INTLTOOL], [ AC_PREREQ([2.50])dnl AC_REQUIRE([AM_NLS])dnl case "$am__api_version" in 1.[01234]) AC_MSG_ERROR([Automake 1.5 or newer is required to use intltool]) ;; *) ;; esac INTLTOOL_REQUIRED_VERSION_AS_INT=`echo $1 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3` INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` if test -n "$1"; then AC_MSG_CHECKING([for intltool >= $1]) AC_MSG_RESULT([$INTLTOOL_APPLIED_VERSION found]) test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || AC_MSG_ERROR([Your intltool is too old. You need intltool $1 or later.]) fi AC_PATH_PROG(INTLTOOL_UPDATE, [intltool-update]) AC_PATH_PROG(INTLTOOL_MERGE, [intltool-merge]) AC_PATH_PROG(INTLTOOL_EXTRACT, [intltool-extract]) if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then AC_MSG_ERROR([The intltool scripts were not found. Please install intltool.]) fi if test -z "$AM_DEFAULT_VERBOSITY"; then AM_DEFAULT_VERBOSITY=1 fi AC_SUBST([AM_DEFAULT_VERBOSITY]) INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))' INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))' INTLTOOL__v_MERGE_0='@echo " ITMRG " [$]@;' AC_SUBST(INTLTOOL_V_MERGE) AC_SUBST(INTLTOOL__v_MERGE_) AC_SUBST(INTLTOOL__v_MERGE_0) INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))' intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))' intltool__v_merge_options_0='-q' AC_SUBST(INTLTOOL_V_MERGE_OPTIONS) AC_SUBST(intltool__v_merge_options_) AC_SUBST(intltool__v_merge_options_0) INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< [$]@' INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< [$]@' else INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.[$][$]RANDOM && mkdir [$][$]_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u [$][$]_it_tmp_dir $< [$]@ && rmdir [$][$]_it_tmp_dir' fi INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' _IT_SUBST(INTLTOOL_DESKTOP_RULE) _IT_SUBST(INTLTOOL_DIRECTORY_RULE) _IT_SUBST(INTLTOOL_KEYS_RULE) _IT_SUBST(INTLTOOL_PROP_RULE) _IT_SUBST(INTLTOOL_OAF_RULE) _IT_SUBST(INTLTOOL_PONG_RULE) _IT_SUBST(INTLTOOL_SERVER_RULE) _IT_SUBST(INTLTOOL_SHEET_RULE) _IT_SUBST(INTLTOOL_SOUNDLIST_RULE) _IT_SUBST(INTLTOOL_UI_RULE) _IT_SUBST(INTLTOOL_XAM_RULE) _IT_SUBST(INTLTOOL_KBD_RULE) _IT_SUBST(INTLTOOL_XML_RULE) _IT_SUBST(INTLTOOL_XML_NOMERGE_RULE) _IT_SUBST(INTLTOOL_CAVES_RULE) _IT_SUBST(INTLTOOL_SCHEMAS_RULE) _IT_SUBST(INTLTOOL_THEME_RULE) _IT_SUBST(INTLTOOL_SERVICE_RULE) _IT_SUBST(INTLTOOL_POLICY_RULE) # Check the gettext tools to make sure they are GNU AC_PATH_PROG(XGETTEXT, xgettext) AC_PATH_PROG(MSGMERGE, msgmerge) AC_PATH_PROG(MSGFMT, msgfmt) AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then AC_MSG_ERROR([GNU gettext tools not found; required for intltool]) fi xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`" mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`" mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`" if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then AC_MSG_ERROR([GNU gettext tools not found; required for intltool]) fi AC_PATH_PROG(INTLTOOL_PERL, perl) if test -z "$INTLTOOL_PERL"; then AC_MSG_ERROR([perl not found]) fi AC_MSG_CHECKING([for perl >= 5.8.1]) $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1 if test $? -ne 0; then AC_MSG_ERROR([perl 5.8.1 is required for intltool]) else IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"` AC_MSG_RESULT([$IT_PERL_VERSION]) fi if test "x$2" != "xno-xml"; then AC_MSG_CHECKING([for XML::Parser]) if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then AC_MSG_RESULT([ok]) else AC_MSG_ERROR([XML::Parser perl module is required for intltool]) fi fi # Substitute ALL_LINGUAS so we can use it in po/Makefile AC_SUBST(ALL_LINGUAS) # Set DATADIRNAME correctly if it is not set yet # (copied from glib-gettext.m4) if test -z "$DATADIRNAME"; then AC_LINK_IFELSE( [AC_LANG_PROGRAM([[]], [[extern int _nl_msg_cat_cntr; return _nl_msg_cat_cntr]])], [DATADIRNAME=share], [case $host in *-*-solaris*) dnl On Solaris, if bind_textdomain_codeset is in libc, dnl GNU format message catalog is always supported, dnl since both are added to the libc all together. dnl Hence, we'd like to go with DATADIRNAME=share dnl in this case. AC_CHECK_FUNC(bind_textdomain_codeset, [DATADIRNAME=share], [DATADIRNAME=lib]) ;; *) [DATADIRNAME=lib] ;; esac]) fi AC_SUBST(DATADIRNAME) IT_PO_SUBDIR([po]) ]) # IT_PO_SUBDIR(DIRNAME) # --------------------- # All po subdirs have to be declared with this macro; the subdir "po" is # declared by IT_PROG_INTLTOOL. # AC_DEFUN([IT_PO_SUBDIR], [AC_PREREQ([2.53])dnl We use ac_top_srcdir inside AC_CONFIG_COMMANDS. dnl dnl The following CONFIG_COMMANDS should be executed at the very end dnl of config.status. AC_CONFIG_COMMANDS_PRE([ AC_CONFIG_COMMANDS([$1/stamp-it], [ if [ ! grep "^# INTLTOOL_MAKEFILE$" "$1/Makefile.in" > /dev/null ]; then AC_MSG_ERROR([$1/Makefile.in.in was not created by intltoolize.]) fi rm -f "$1/stamp-it" "$1/stamp-it.tmp" "$1/POTFILES" "$1/Makefile.tmp" >"$1/stamp-it.tmp" [sed '/^#/d s/^[[].*] *// /^[ ]*$/d '"s|^| $ac_top_srcdir/|" \ "$srcdir/$1/POTFILES.in" | sed '$!s/$/ \\/' >"$1/POTFILES" ] [sed '/^POTFILES =/,/[^\\]$/ { /^POTFILES =/!d r $1/POTFILES } ' "$1/Makefile.in" >"$1/Makefile"] rm -f "$1/Makefile.tmp" mv "$1/stamp-it.tmp" "$1/stamp-it" ]) ])dnl ]) # _IT_SUBST(VARIABLE) # ------------------- # Abstract macro to do either _AM_SUBST_NOTMAKE or AC_SUBST # AC_DEFUN([_IT_SUBST], [ AC_SUBST([$1]) m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])]) ] ) # deprecated macros AU_ALIAS([AC_PROG_INTLTOOL], [IT_PROG_INTLTOOL]) # A hint is needed for aclocal from Automake <= 1.9.4: # AC_DEFUN([AC_PROG_INTLTOOL], ...) dnl --------------------------------------------------------------------------- dnl Author: wxWidgets development team, dnl Francesco Montorsi, dnl Bob McCown (Mac-testing) dnl Creation date: 24/11/2001 dnl --------------------------------------------------------------------------- dnl =========================================================================== dnl Table of Contents of this macro file: dnl ------------------------------------- dnl dnl SECTION A: wxWidgets main macros dnl - WX_CONFIG_OPTIONS dnl - WX_CONFIG_CHECK dnl - WXRC_CHECK dnl - WX_STANDARD_OPTIONS dnl - WX_CONVERT_STANDARD_OPTIONS_TO_WXCONFIG_FLAGS dnl - WX_DETECT_STANDARD_OPTION_VALUES dnl dnl SECTION B: wxWidgets-related utilities dnl - WX_LIKE_LIBNAME dnl - WX_ARG_ENABLE_YESNOAUTO dnl - WX_ARG_WITH_YESNOAUTO dnl dnl SECTION C: messages to the user dnl - WX_STANDARD_OPTIONS_SUMMARY_MSG dnl - WX_STANDARD_OPTIONS_SUMMARY_MSG_BEGIN dnl - WX_STANDARD_OPTIONS_SUMMARY_MSG_END dnl - WX_BOOLOPT_SUMMARY dnl dnl The special "WX_DEBUG_CONFIGURE" variable can be set to 1 to enable extra dnl debug output on stdout from these macros. dnl =========================================================================== dnl --------------------------------------------------------------------------- dnl Macros for wxWidgets detection. Typically used in configure.in as: dnl dnl AC_ARG_ENABLE(...) dnl AC_ARG_WITH(...) dnl ... dnl WX_CONFIG_OPTIONS dnl ... dnl ... dnl WX_CONFIG_CHECK([2.6.0], [wxWin=1]) dnl if test "$wxWin" != 1; then dnl AC_MSG_ERROR([ dnl wxWidgets must be installed on your system dnl but wx-config script couldn't be found. dnl dnl Please check that wx-config is in path, the directory dnl where wxWidgets libraries are installed (returned by dnl 'wx-config --libs' command) is in LD_LIBRARY_PATH or dnl equivalent variable and wxWidgets version is 2.3.4 or above. dnl ]) dnl fi dnl CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS" dnl CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS_ONLY" dnl CFLAGS="$CFLAGS $WX_CFLAGS_ONLY" dnl dnl LIBS="$LIBS $WX_LIBS" dnl dnl If you want to support standard --enable-debug/unicode/shared options, you dnl may do the following: dnl dnl ... dnl AC_CANONICAL_SYSTEM dnl dnl # define configure options dnl WX_CONFIG_OPTIONS dnl WX_STANDARD_OPTIONS([debug,unicode,shared,toolkit,wxshared]) dnl dnl # basic configure checks dnl ... dnl dnl # we want to always have DEBUG==WX_DEBUG and UNICODE==WX_UNICODE dnl WX_DEBUG=$DEBUG dnl WX_UNICODE=$UNICODE dnl dnl WX_CONVERT_STANDARD_OPTIONS_TO_WXCONFIG_FLAGS dnl WX_CONFIG_CHECK([2.8.0], [wxWin=1],,[html,core,net,base],[$WXCONFIG_FLAGS]) dnl WX_DETECT_STANDARD_OPTION_VALUES dnl dnl # write the output files dnl AC_CONFIG_FILES([Makefile ...]) dnl AC_OUTPUT dnl dnl # optional: just to show a message to the user dnl WX_STANDARD_OPTIONS_SUMMARY_MSG dnl dnl --------------------------------------------------------------------------- dnl --------------------------------------------------------------------------- dnl WX_CONFIG_OPTIONS dnl dnl adds support for --wx-prefix, --wx-exec-prefix, --with-wxdir and dnl --wx-config command line options dnl --------------------------------------------------------------------------- AC_DEFUN([WX_CONFIG_OPTIONS], [ AC_ARG_WITH(wxdir, [ --with-wxdir=PATH Use uninstalled version of wxWidgets in PATH], [ wx_config_name="$withval/wx-config" wx_config_args="--inplace"]) AC_ARG_WITH(wx-config, [ --with-wx-config=CONFIG wx-config script to use (optional)], wx_config_name="$withval" ) AC_ARG_WITH(wx-prefix, [ --with-wx-prefix=PREFIX Prefix where wxWidgets is installed (optional)], wx_config_prefix="$withval", wx_config_prefix="") AC_ARG_WITH(wx-exec-prefix, [ --with-wx-exec-prefix=PREFIX Exec prefix where wxWidgets is installed (optional)], wx_config_exec_prefix="$withval", wx_config_exec_prefix="") ]) dnl Helper macro for checking if wx version is at least $1.$2.$3, set's dnl wx_ver_ok=yes if it is: AC_DEFUN([_WX_PRIVATE_CHECK_VERSION], [ wx_ver_ok="" if test "x$WX_VERSION" != x ; then if test $wx_config_major_version -gt $1; then wx_ver_ok=yes else if test $wx_config_major_version -eq $1; then if test $wx_config_minor_version -gt $2; then wx_ver_ok=yes else if test $wx_config_minor_version -eq $2; then if test $wx_config_micro_version -ge $3; then wx_ver_ok=yes fi fi fi fi fi fi ]) dnl --------------------------------------------------------------------------- dnl WX_CONFIG_CHECK(VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND dnl [, WX-LIBS [, ADDITIONAL-WX-CONFIG-FLAGS]]]]) dnl dnl Test for wxWidgets, and define WX_C*FLAGS, WX_LIBS and WX_LIBS_STATIC dnl (the latter is for static linking against wxWidgets). Set WX_CONFIG_NAME dnl environment variable to override the default name of the wx-config script dnl to use. Set WX_CONFIG_PATH to specify the full path to wx-config - in this dnl case the macro won't even waste time on tests for its existence. dnl dnl Optional WX-LIBS argument contains comma- or space-separated list of dnl wxWidgets libraries to link against. If it is not specified then WX_LIBS dnl and WX_LIBS_STATIC will contain flags to link with all of the core dnl wxWidgets libraries. dnl dnl Optional ADDITIONAL-WX-CONFIG-FLAGS argument is appended to wx-config dnl invocation command in present. It can be used to fine-tune lookup of dnl best wxWidgets build available. dnl dnl Example use: dnl WX_CONFIG_CHECK([2.6.0], [wxWin=1], [wxWin=0], [html,core,net] dnl [--unicode --debug]) dnl --------------------------------------------------------------------------- dnl dnl Get the cflags and libraries from the wx-config script dnl AC_DEFUN([WX_CONFIG_CHECK], [ dnl do we have wx-config name: it can be wx-config or wxd-config or ... if test x${WX_CONFIG_NAME+set} != xset ; then WX_CONFIG_NAME=wx-config fi if test "x$wx_config_name" != x ; then WX_CONFIG_NAME="$wx_config_name" fi dnl deal with optional prefixes if test x$wx_config_exec_prefix != x ; then wx_config_args="$wx_config_args --exec-prefix=$wx_config_exec_prefix" WX_LOOKUP_PATH="$wx_config_exec_prefix/bin" fi if test x$wx_config_prefix != x ; then wx_config_args="$wx_config_args --prefix=$wx_config_prefix" WX_LOOKUP_PATH="$WX_LOOKUP_PATH:$wx_config_prefix/bin" fi if test "$cross_compiling" = "yes"; then wx_config_args="$wx_config_args --host=$host_alias" fi dnl don't search the PATH if WX_CONFIG_NAME is absolute filename if test -x "$WX_CONFIG_NAME" ; then AC_MSG_CHECKING(for wx-config) WX_CONFIG_PATH="$WX_CONFIG_NAME" AC_MSG_RESULT($WX_CONFIG_PATH) else AC_PATH_PROG(WX_CONFIG_PATH, $WX_CONFIG_NAME, no, "$WX_LOOKUP_PATH:$PATH") fi if test "$WX_CONFIG_PATH" != "no" ; then WX_VERSION="" min_wx_version=ifelse([$1], ,2.2.1,$1) if test -z "$5" ; then AC_MSG_CHECKING([for wxWidgets version >= $min_wx_version]) else AC_MSG_CHECKING([for wxWidgets version >= $min_wx_version ($5)]) fi dnl don't add the libraries ($4) to this variable as this would result in dnl an error when it's used with --version below WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args $5" WX_VERSION=`$WX_CONFIG_WITH_ARGS --version 2>/dev/null` wx_config_major_version=`echo $WX_VERSION | \ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` wx_config_minor_version=`echo $WX_VERSION | \ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` wx_config_micro_version=`echo $WX_VERSION | \ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` wx_requested_major_version=`echo $min_wx_version | \ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` wx_requested_minor_version=`echo $min_wx_version | \ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` wx_requested_micro_version=`echo $min_wx_version | \ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` _WX_PRIVATE_CHECK_VERSION([$wx_requested_major_version], [$wx_requested_minor_version], [$wx_requested_micro_version]) if test -n "$wx_ver_ok"; then AC_MSG_RESULT(yes (version $WX_VERSION)) WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs $4` dnl is this even still appropriate? --static is a real option now dnl and WX_CONFIG_WITH_ARGS is likely to contain it if that is dnl what the user actually wants, making this redundant at best. dnl For now keep it in case anyone actually used it in the past. AC_MSG_CHECKING([for wxWidgets static library]) WX_LIBS_STATIC=`$WX_CONFIG_WITH_ARGS --static --libs $4 2>/dev/null` if test "x$WX_LIBS_STATIC" = "x"; then AC_MSG_RESULT(no) else AC_MSG_RESULT(yes) fi dnl starting with version 2.2.6 wx-config has --cppflags argument wx_has_cppflags="" if test $wx_config_major_version -gt 2; then wx_has_cppflags=yes else if test $wx_config_major_version -eq 2; then if test $wx_config_minor_version -gt 2; then wx_has_cppflags=yes else if test $wx_config_minor_version -eq 2; then if test $wx_config_micro_version -ge 6; then wx_has_cppflags=yes fi fi fi fi fi dnl starting with version 2.7.0 wx-config has --rescomp option wx_has_rescomp="" if test $wx_config_major_version -gt 2; then wx_has_rescomp=yes else if test $wx_config_major_version -eq 2; then if test $wx_config_minor_version -ge 7; then wx_has_rescomp=yes fi fi fi if test "x$wx_has_rescomp" = x ; then dnl cannot give any useful info for resource compiler WX_RESCOMP= else WX_RESCOMP=`$WX_CONFIG_WITH_ARGS --rescomp` fi if test "x$wx_has_cppflags" = x ; then dnl no choice but to define all flags like CFLAGS WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags $4` WX_CPPFLAGS=$WX_CFLAGS WX_CXXFLAGS=$WX_CFLAGS WX_CFLAGS_ONLY=$WX_CFLAGS WX_CXXFLAGS_ONLY=$WX_CFLAGS else dnl we have CPPFLAGS included in CFLAGS included in CXXFLAGS WX_CPPFLAGS=`$WX_CONFIG_WITH_ARGS --cppflags $4` WX_CXXFLAGS=`$WX_CONFIG_WITH_ARGS --cxxflags $4` WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags $4` WX_CFLAGS_ONLY=`echo $WX_CFLAGS | sed "s@^$WX_CPPFLAGS *@@"` WX_CXXFLAGS_ONLY=`echo $WX_CXXFLAGS | sed "s@^$WX_CFLAGS *@@"` fi ifelse([$2], , :, [$2]) else if test "x$WX_VERSION" = x; then dnl no wx-config at all AC_MSG_RESULT(no) else AC_MSG_RESULT(no (version $WX_VERSION is not new enough)) fi WX_CFLAGS="" WX_CPPFLAGS="" WX_CXXFLAGS="" WX_LIBS="" WX_LIBS_STATIC="" WX_RESCOMP="" if test ! -z "$5"; then wx_error_message=" The configuration you asked for $PACKAGE_NAME requires a wxWidgets build with the following settings: $5 but such build is not available. To see the wxWidgets builds available on this system, please use 'wx-config --list' command. To use the default build, returned by 'wx-config --selected-config', use the options with their 'auto' default values." fi wx_error_message=" The requested wxWidgets build couldn't be found. $wx_error_message If you still get this error, then check that 'wx-config' is in path, the directory where wxWidgets libraries are installed (returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH or equivalent variable and wxWidgets version is $1 or above." ifelse([$3], , AC_MSG_ERROR([$wx_error_message]), [$3]) fi else WX_CFLAGS="" WX_CPPFLAGS="" WX_CXXFLAGS="" WX_LIBS="" WX_LIBS_STATIC="" WX_RESCOMP="" ifelse([$3], , :, [$3]) fi AC_SUBST(WX_CPPFLAGS) AC_SUBST(WX_CFLAGS) AC_SUBST(WX_CXXFLAGS) AC_SUBST(WX_CFLAGS_ONLY) AC_SUBST(WX_CXXFLAGS_ONLY) AC_SUBST(WX_LIBS) AC_SUBST(WX_LIBS_STATIC) AC_SUBST(WX_VERSION) AC_SUBST(WX_RESCOMP) dnl need to export also WX_VERSION_MINOR and WX_VERSION_MAJOR symbols dnl to support wxpresets bakefiles (we export also WX_VERSION_MICRO for completeness): WX_VERSION_MAJOR="$wx_config_major_version" WX_VERSION_MINOR="$wx_config_minor_version" WX_VERSION_MICRO="$wx_config_micro_version" AC_SUBST(WX_VERSION_MAJOR) AC_SUBST(WX_VERSION_MINOR) AC_SUBST(WX_VERSION_MICRO) ]) dnl --------------------------------------------------------------------------- dnl Get information on the wxrc program for making C++, Python and xrs dnl resource files. dnl dnl AC_ARG_ENABLE(...) dnl AC_ARG_WITH(...) dnl ... dnl WX_CONFIG_OPTIONS dnl ... dnl WX_CONFIG_CHECK(2.6.0, wxWin=1) dnl if test "$wxWin" != 1; then dnl AC_MSG_ERROR([ dnl wxWidgets must be installed on your system dnl but wx-config script couldn't be found. dnl dnl Please check that wx-config is in path, the directory dnl where wxWidgets libraries are installed (returned by dnl 'wx-config --libs' command) is in LD_LIBRARY_PATH or dnl equivalent variable and wxWidgets version is 2.6.0 or above. dnl ]) dnl fi dnl dnl WXRC_CHECK([HAVE_WXRC=1], [HAVE_WXRC=0]) dnl if test "x$HAVE_WXRC" != x1; then dnl AC_MSG_ERROR([ dnl The wxrc program was not installed or not found. dnl dnl Please check the wxWidgets installation. dnl ]) dnl fi dnl dnl CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS" dnl CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS_ONLY" dnl CFLAGS="$CFLAGS $WX_CFLAGS_ONLY" dnl dnl LDFLAGS="$LDFLAGS $WX_LIBS" dnl --------------------------------------------------------------------------- dnl --------------------------------------------------------------------------- dnl WXRC_CHECK([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]) dnl dnl Test for wxWidgets' wxrc program for creating either C++, Python or XRS dnl resources. The variable WXRC will be set and substituted in the configure dnl script and Makefiles. dnl dnl Example use: dnl WXRC_CHECK([wxrc=1], [wxrc=0]) dnl --------------------------------------------------------------------------- dnl dnl wxrc program from the wx-config script dnl AC_DEFUN([WXRC_CHECK], [ AC_ARG_VAR([WXRC], [Path to wxWidget's wxrc resource compiler]) if test "x$WX_CONFIG_NAME" = x; then AC_MSG_ERROR([The wxrc tests must run after wxWidgets test.]) else AC_MSG_CHECKING([for wxrc]) if test "x$WXRC" = x ; then dnl wx-config --utility is a new addition to wxWidgets: _WX_PRIVATE_CHECK_VERSION(2,5,3) if test -n "$wx_ver_ok"; then WXRC=`$WX_CONFIG_WITH_ARGS --utility=wxrc` fi fi if test "x$WXRC" = x ; then AC_MSG_RESULT([not found]) ifelse([$2], , :, [$2]) else AC_MSG_RESULT([$WXRC]) ifelse([$1], , :, [$1]) fi AC_SUBST(WXRC) fi ]) dnl --------------------------------------------------------------------------- dnl WX_LIKE_LIBNAME([output-var] [prefix], [name]) dnl dnl Sets the "output-var" variable to the name of a library named with same dnl wxWidgets rule. dnl E.g. for output-var=='lib', name=='test', prefix='mine', sets dnl the $lib variable to: dnl 'mine_gtk2ud_test-2.8' dnl if WX_PORT=gtk2, WX_UNICODE=1, WX_DEBUG=1 and WX_RELEASE=28 dnl --------------------------------------------------------------------------- AC_DEFUN([WX_LIKE_LIBNAME], [ wx_temp="$2""_""$WX_PORT" dnl add the [u][d] string if test "$WX_UNICODE" = "1"; then wx_temp="$wx_temp""u" fi if test "$WX_DEBUG" = "1"; then wx_temp="$wx_temp""d" fi dnl complete the name of the lib wx_temp="$wx_temp""_""$3""-$WX_VERSION_MAJOR.$WX_VERSION_MINOR" dnl save it in the user's variable $1=$wx_temp ]) dnl --------------------------------------------------------------------------- dnl WX_ARG_ENABLE_YESNOAUTO/WX_ARG_WITH_YESNOAUTO dnl dnl Two little custom macros which define the ENABLE/WITH configure arguments. dnl Macro arguments: dnl $1 = the name of the --enable / --with feature dnl $2 = the name of the variable associated dnl $3 = the description of that feature dnl $4 = the default value for that feature dnl $5 = additional action to do in case option is given with "yes" value dnl --------------------------------------------------------------------------- AC_DEFUN([WX_ARG_ENABLE_YESNOAUTO], [AC_ARG_ENABLE($1, AC_HELP_STRING([--enable-$1], [$3 (default is $4)]), [], [enableval="$4"]) dnl Show a message to the user about this option AC_MSG_CHECKING([for the --enable-$1 option]) if test "$enableval" = "yes" ; then AC_MSG_RESULT([yes]) $2=1 $5 elif test "$enableval" = "no" ; then AC_MSG_RESULT([no]) $2=0 elif test "$enableval" = "auto" ; then AC_MSG_RESULT([will be automatically detected]) $2="auto" else AC_MSG_ERROR([ Unrecognized option value (allowed values: yes, no, auto) ]) fi ]) AC_DEFUN([WX_ARG_WITH_YESNOAUTO], [AC_ARG_WITH($1, AC_HELP_STRING([--with-$1], [$3 (default is $4)]), [], [withval="$4"]) dnl Show a message to the user about this option AC_MSG_CHECKING([for the --with-$1 option]) if test "$withval" = "yes" ; then AC_MSG_RESULT([yes]) $2=1 $5 dnl NB: by default we don't allow --with-$1=no option dnl since it does not make much sense ! elif test "$6" = "1" -a "$withval" = "no" ; then AC_MSG_RESULT([no]) $2=0 elif test "$withval" = "auto" ; then AC_MSG_RESULT([will be automatically detected]) $2="auto" else AC_MSG_ERROR([ Unrecognized option value (allowed values: yes, auto) ]) fi ]) dnl --------------------------------------------------------------------------- dnl WX_STANDARD_OPTIONS([options-to-add]) dnl dnl Adds to the configure script one or more of the following options: dnl --enable-[debug|unicode|shared|wxshared|wxdebug] dnl --with-[gtk|msw|motif|x11|mac|dfb] dnl --with-wxversion dnl Then checks for their presence and eventually set the DEBUG, UNICODE, SHARED, dnl PORT, WX_SHARED, WX_DEBUG, variables to one of the "yes", "no", "auto" values. dnl dnl Note that e.g. UNICODE != WX_UNICODE; the first is the value of the dnl --enable-unicode option (in boolean format) while the second indicates dnl if wxWidgets was built in Unicode mode (and still is in boolean format). dnl --------------------------------------------------------------------------- AC_DEFUN([WX_STANDARD_OPTIONS], [ dnl the following lines will expand to WX_ARG_ENABLE_YESNOAUTO calls if and only if dnl the $1 argument contains respectively the debug,unicode or shared options. dnl be careful here not to set debug flag if only "wxdebug" was specified ifelse(regexp([$1], [\bdebug]), [-1],, [WX_ARG_ENABLE_YESNOAUTO([debug], [DEBUG], [Build in debug mode], [auto])]) ifelse(index([$1], [unicode]), [-1],, [WX_ARG_ENABLE_YESNOAUTO([unicode], [UNICODE], [Build in Unicode mode], [auto])]) ifelse(regexp([$1], [\bshared]), [-1],, [WX_ARG_ENABLE_YESNOAUTO([shared], [SHARED], [Build as shared library], [auto])]) dnl WX_ARG_WITH_YESNOAUTO cannot be used for --with-toolkit since it's an option dnl which must be able to accept the auto|gtk1|gtk2|msw|... values ifelse(index([$1], [toolkit]), [-1],, [ AC_ARG_WITH([toolkit], AC_HELP_STRING([--with-toolkit], [Build against a specific wxWidgets toolkit (default is auto)]), [], [withval="auto"]) dnl Show a message to the user about this option AC_MSG_CHECKING([for the --with-toolkit option]) if test "$withval" = "auto" ; then AC_MSG_RESULT([will be automatically detected]) TOOLKIT="auto" else TOOLKIT="$withval" dnl PORT must be one of the allowed values if test "$TOOLKIT" != "gtk1" -a "$TOOLKIT" != "gtk2" -a \ "$TOOLKIT" != "msw" -a "$TOOLKIT" != "motif" -a \ "$TOOLKIT" != "osx_carbon" -a "$TOOLKIT" != "osx_cocoa" -a \ "$TOOLKIT" != "dfb" -a "$TOOLKIT" != "x11"; then AC_MSG_ERROR([ Unrecognized option value (allowed values: auto, gtk1, gtk2, msw, motif, osx_carbon, osx_cocoa, dfb, x11) ]) fi AC_MSG_RESULT([$TOOLKIT]) fi ]) dnl ****** IMPORTANT ******* dnl Unlike for the UNICODE setting, you can build your program in dnl shared mode against a static build of wxWidgets. Thus we have the dnl following option which allows these mixtures. E.g. dnl dnl ./configure --disable-shared --with-wxshared dnl dnl will build your library in static mode against the first available dnl shared build of wxWidgets. dnl dnl Note that's not possible to do the viceversa: dnl dnl ./configure --enable-shared --without-wxshared dnl dnl Doing so you would try to build your library in shared mode against a static dnl build of wxWidgets. This is not possible (you would mix PIC and non PIC code) ! dnl A check for this combination of options is in WX_DETECT_STANDARD_OPTION_VALUES dnl (where we know what 'auto' should be expanded to). dnl dnl If you try to build something in ANSI mode against a UNICODE build dnl of wxWidgets or in RELEASE mode against a DEBUG build of wxWidgets, dnl then at best you'll get ton of linking errors ! dnl ************************ ifelse(index([$1], [wxshared]), [-1],, [ WX_ARG_WITH_YESNOAUTO( [wxshared], [WX_SHARED], [Force building against a shared build of wxWidgets, even if --disable-shared is given], [auto], [], [1]) ]) dnl Just like for SHARED and WX_SHARED it may happen that some adventurous dnl peoples will want to mix a wxWidgets release build with a debug build of dnl his app/lib. So, we have both DEBUG and WX_DEBUG variables. ifelse(index([$1], [wxdebug]), [-1],, [ WX_ARG_WITH_YESNOAUTO( [wxdebug], [WX_DEBUG], [Force building against a debug build of wxWidgets, even if --disable-debug is given], [auto], [], [1]) ]) dnl WX_ARG_WITH_YESNOAUTO cannot be used for --with-wxversion since it's an option dnl which accepts the "auto|2.6|2.7|2.8|2.9|3.0" etc etc values ifelse(index([$1], [wxversion]), [-1],, [ AC_ARG_WITH([wxversion], AC_HELP_STRING([--with-wxversion], [Build against a specific version of wxWidgets (default is auto)]), [], [withval="auto"]) dnl Show a message to the user about this option AC_MSG_CHECKING([for the --with-wxversion option]) if test "$withval" = "auto" ; then AC_MSG_RESULT([will be automatically detected]) WX_RELEASE="auto" else wx_requested_major_version=`echo $withval | \ sed 's/\([[0-9]]*\).\([[0-9]]*\).*/\1/'` wx_requested_minor_version=`echo $withval | \ sed 's/\([[0-9]]*\).\([[0-9]]*\).*/\2/'` dnl both vars above must be exactly 1 digit if test "${#wx_requested_major_version}" != "1" -o \ "${#wx_requested_minor_version}" != "1" ; then AC_MSG_ERROR([ Unrecognized option value (allowed values: auto, 2.6, 2.7, 2.8, 2.9, 3.0) ]) fi WX_RELEASE="$wx_requested_major_version"".""$wx_requested_minor_version" AC_MSG_RESULT([$WX_RELEASE]) fi ]) if test "$WX_DEBUG_CONFIGURE" = "1"; then echo "[[dbg]] DEBUG: $DEBUG, WX_DEBUG: $WX_DEBUG" echo "[[dbg]] UNICODE: $UNICODE, WX_UNICODE: $WX_UNICODE" echo "[[dbg]] SHARED: $SHARED, WX_SHARED: $WX_SHARED" echo "[[dbg]] TOOLKIT: $TOOLKIT, WX_TOOLKIT: $WX_TOOLKIT" echo "[[dbg]] VERSION: $VERSION, WX_RELEASE: $WX_RELEASE" fi ]) dnl --------------------------------------------------------------------------- dnl WX_CONVERT_STANDARD_OPTIONS_TO_WXCONFIG_FLAGS dnl dnl Sets the WXCONFIG_FLAGS string using the SHARED,DEBUG,UNICODE variable values dnl which are different from "auto". dnl Thus this macro needs to be called only once all options have been set. dnl --------------------------------------------------------------------------- AC_DEFUN([WX_CONVERT_STANDARD_OPTIONS_TO_WXCONFIG_FLAGS], [ if test "$WX_SHARED" = "1" ; then WXCONFIG_FLAGS="--static=no " elif test "$WX_SHARED" = "0" ; then WXCONFIG_FLAGS="--static=yes " fi if test "$WX_DEBUG" = "1" ; then WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--debug=yes " elif test "$WX_DEBUG" = "0" ; then WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--debug=no " fi dnl The user should have set WX_UNICODE=UNICODE if test "$WX_UNICODE" = "1" ; then WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--unicode=yes " elif test "$WX_UNICODE" = "0" ; then WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--unicode=no " fi if test "$TOOLKIT" != "auto" ; then WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--toolkit=$TOOLKIT " fi if test "$WX_RELEASE" != "auto" ; then WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--version=$WX_RELEASE " fi dnl strip out the last space of the string WXCONFIG_FLAGS=${WXCONFIG_FLAGS% } if test "$WX_DEBUG_CONFIGURE" = "1"; then echo "[[dbg]] WXCONFIG_FLAGS: $WXCONFIG_FLAGS" fi ]) dnl --------------------------------------------------------------------------- dnl _WX_SELECTEDCONFIG_CHECKFOR([RESULTVAR], [STRING], [MSG] dnl [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]) dnl dnl Outputs the given MSG. Then searches the given STRING in the wxWidgets dnl additional CPP flags and put the result of the search in WX_$RESULTVAR dnl also adding the "yes" or "no" message result to MSG. dnl --------------------------------------------------------------------------- AC_DEFUN([_WX_SELECTEDCONFIG_CHECKFOR], [ if test "$$1" = "auto" ; then dnl The user does not have particular preferences for this option; dnl so we will detect the wxWidgets relative build setting and use it AC_MSG_CHECKING([$3]) dnl set WX_$1 variable to 1 if the $WX_SELECTEDCONFIG contains the $2 dnl string or to 0 otherwise. dnl NOTE: 'expr match STRING REGEXP' cannot be used since on Mac it dnl doesn't work; we use 'expr STRING : REGEXP' instead WX_$1=$(expr "$WX_SELECTEDCONFIG" : ".*$2.*") if test "$WX_$1" != "0"; then WX_$1=1 AC_MSG_RESULT([yes]) ifelse([$4], , :, [$4]) else WX_$1=0 AC_MSG_RESULT([no]) ifelse([$5], , :, [$5]) fi else dnl Use the setting given by the user WX_$1=$$1 fi ]) dnl --------------------------------------------------------------------------- dnl WX_DETECT_STANDARD_OPTION_VALUES dnl dnl Detects the values of the following variables: dnl 1) WX_RELEASE dnl 2) WX_UNICODE dnl 3) WX_DEBUG dnl 4) WX_SHARED (and also WX_STATIC) dnl 5) WX_PORT dnl from the previously selected wxWidgets build; this macro in fact must be dnl called *after* calling the WX_CONFIG_CHECK macro. dnl dnl Note that the WX_VERSION_MAJOR, WX_VERSION_MINOR symbols are already set dnl by WX_CONFIG_CHECK macro dnl --------------------------------------------------------------------------- AC_DEFUN([WX_DETECT_STANDARD_OPTION_VALUES], [ dnl IMPORTANT: WX_VERSION contains all three major.minor.micro digits, dnl while WX_RELEASE only the major.minor ones. WX_RELEASE="$WX_VERSION_MAJOR""$WX_VERSION_MINOR" if test $WX_RELEASE -lt 26 ; then AC_MSG_ERROR([ Cannot detect the wxWidgets configuration for the selected wxWidgets build since its version is $WX_VERSION < 2.6.0; please install a newer version of wxWidgets. ]) fi dnl The wx-config we are using understands the "--selected_config" dnl option which returns an easy-parseable string ! WX_SELECTEDCONFIG=$($WX_CONFIG_WITH_ARGS --selected_config) if test "$WX_DEBUG_CONFIGURE" = "1"; then echo "[[dbg]] Using wx-config --selected-config" echo "[[dbg]] WX_SELECTEDCONFIG: $WX_SELECTEDCONFIG" fi dnl we could test directly for WX_SHARED with a line like: dnl _WX_SELECTEDCONFIG_CHECKFOR([SHARED], [shared], dnl [if wxWidgets was built in SHARED mode]) dnl but wx-config --selected-config DOES NOT outputs the 'shared' dnl word when wx was built in shared mode; it rather outputs the dnl 'static' word when built in static mode. if test $WX_SHARED = "1"; then STATIC=0 elif test $WX_SHARED = "0"; then STATIC=1 elif test $WX_SHARED = "auto"; then STATIC="auto" fi dnl Now set the WX_UNICODE, WX_DEBUG, WX_STATIC variables _WX_SELECTEDCONFIG_CHECKFOR([UNICODE], [unicode], [if wxWidgets was built with UNICODE enabled]) _WX_SELECTEDCONFIG_CHECKFOR([DEBUG], [debug], [if wxWidgets was built in DEBUG mode]) _WX_SELECTEDCONFIG_CHECKFOR([STATIC], [static], [if wxWidgets was built in STATIC mode]) dnl init WX_SHARED from WX_STATIC if test "$WX_STATIC" != "0"; then WX_SHARED=0 else WX_SHARED=1 fi AC_SUBST(WX_UNICODE) AC_SUBST(WX_DEBUG) AC_SUBST(WX_SHARED) dnl detect the WX_PORT to use if test "$TOOLKIT" = "auto" ; then dnl The user does not have particular preferences for this option; dnl so we will detect the wxWidgets relative build setting and use it AC_MSG_CHECKING([which wxWidgets toolkit was selected]) WX_GTKPORT1=$(expr "$WX_SELECTEDCONFIG" : ".*gtk1.*") WX_GTKPORT2=$(expr "$WX_SELECTEDCONFIG" : ".*gtk2.*") WX_MSWPORT=$(expr "$WX_SELECTEDCONFIG" : ".*msw.*") WX_MOTIFPORT=$(expr "$WX_SELECTEDCONFIG" : ".*motif.*") WX_OSXCOCOAPORT=$(expr "$WX_SELECTEDCONFIG" : ".*osx_cocoa.*") WX_OSXCARBONPORT=$(expr "$WX_SELECTEDCONFIG" : ".*osx_carbon.*") WX_X11PORT=$(expr "$WX_SELECTEDCONFIG" : ".*x11.*") WX_DFBPORT=$(expr "$WX_SELECTEDCONFIG" : ".*dfb.*") WX_PORT="unknown" if test "$WX_GTKPORT1" != "0"; then WX_PORT="gtk1"; fi if test "$WX_GTKPORT2" != "0"; then WX_PORT="gtk2"; fi if test "$WX_MSWPORT" != "0"; then WX_PORT="msw"; fi if test "$WX_MOTIFPORT" != "0"; then WX_PORT="motif"; fi if test "$WX_OSXCOCOAPORT" != "0"; then WX_PORT="osx_cocoa"; fi if test "$WX_OSXCARBONPORT" != "0"; then WX_PORT="osx_carbon"; fi if test "$WX_X11PORT" != "0"; then WX_PORT="x11"; fi if test "$WX_DFBPORT" != "0"; then WX_PORT="dfb"; fi dnl NOTE: backward-compatible check for wx2.8; in wx2.9 the mac dnl ports are called 'osx_cocoa' and 'osx_carbon' (see above) WX_MACPORT=$(expr "$WX_SELECTEDCONFIG" : ".*mac.*") if test "$WX_MACPORT" != "0"; then WX_PORT="mac"; fi dnl check at least one of the WX_*PORT has been set ! if test "$WX_PORT" = "unknown" ; then AC_MSG_ERROR([ Cannot detect the currently installed wxWidgets port ! Please check your 'wx-config --cxxflags'... ]) fi AC_MSG_RESULT([$WX_PORT]) else dnl Use the setting given by the user if test -z "$TOOLKIT" ; then WX_PORT=$TOOLKIT else dnl try with PORT WX_PORT=$PORT fi fi AC_SUBST(WX_PORT) if test "$WX_DEBUG_CONFIGURE" = "1"; then echo "[[dbg]] Values of all WX_* options after final detection:" echo "[[dbg]] WX_DEBUG: $WX_DEBUG" echo "[[dbg]] WX_UNICODE: $WX_UNICODE" echo "[[dbg]] WX_SHARED: $WX_SHARED" echo "[[dbg]] WX_RELEASE: $WX_RELEASE" echo "[[dbg]] WX_PORT: $WX_PORT" fi dnl Avoid problem described in the WX_STANDARD_OPTIONS which happens when dnl the user gives the options: dnl ./configure --enable-shared --without-wxshared dnl or just do dnl ./configure --enable-shared dnl but there is only a static build of wxWidgets available. if test "$WX_SHARED" = "0" -a "$SHARED" = "1"; then AC_MSG_ERROR([ Cannot build shared library against a static build of wxWidgets ! This error happens because the wxWidgets build which was selected has been detected as static while you asked to build $PACKAGE_NAME as shared library and this is not possible. Use the '--disable-shared' option to build $PACKAGE_NAME as static library or '--with-wxshared' to use wxWidgets as shared library. ]) fi dnl now we can finally update the DEBUG,UNICODE,SHARED options dnl to their final values if they were set to 'auto' if test "$DEBUG" = "auto"; then DEBUG=$WX_DEBUG fi if test "$UNICODE" = "auto"; then UNICODE=$WX_UNICODE fi if test "$SHARED" = "auto"; then SHARED=$WX_SHARED fi if test "$TOOLKIT" = "auto"; then TOOLKIT=$WX_PORT fi dnl in case the user needs a BUILD=debug/release var... if test "$DEBUG" = "1"; then BUILD="debug" elif test "$DEBUG" = "0" -o "$DEBUG" = ""; then BUILD="release" fi dnl respect the DEBUG variable adding the optimize/debug flags dnl NOTE: the CXXFLAGS are merged together with the CPPFLAGS so we dnl don't need to set them, too if test "$DEBUG" = "1"; then CXXFLAGS="$CXXFLAGS -g -O0" CFLAGS="$CFLAGS -g -O0" else CXXFLAGS="$CXXFLAGS -O2" CFLAGS="$CFLAGS -O2" fi ]) dnl --------------------------------------------------------------------------- dnl WX_BOOLOPT_SUMMARY([name of the boolean variable to show summary for], dnl [what to print when var is 1], dnl [what to print when var is 0]) dnl dnl Prints $2 when variable $1 == 1 and prints $3 when variable $1 == 0. dnl This macro mainly exists just to make configure.ac scripts more readable. dnl dnl NOTE: you need to use the [" my message"] syntax for 2nd and 3rd arguments dnl if you want that m4 avoid to throw away the spaces prefixed to the dnl argument value. dnl --------------------------------------------------------------------------- AC_DEFUN([WX_BOOLOPT_SUMMARY], [ if test "x$$1" = "x1" ; then echo $2 elif test "x$$1" = "x0" ; then echo $3 else echo "$1 is $$1" fi ]) dnl --------------------------------------------------------------------------- dnl WX_STANDARD_OPTIONS_SUMMARY_MSG dnl dnl Shows a summary message to the user about the WX_* variable contents. dnl This macro is used typically at the end of the configure script. dnl --------------------------------------------------------------------------- AC_DEFUN([WX_STANDARD_OPTIONS_SUMMARY_MSG], [ echo echo " The wxWidgets build which will be used by $PACKAGE_NAME $PACKAGE_VERSION" echo " has the following settings:" WX_BOOLOPT_SUMMARY([WX_DEBUG], [" - DEBUG build"], [" - RELEASE build"]) WX_BOOLOPT_SUMMARY([WX_UNICODE], [" - UNICODE mode"], [" - ANSI mode"]) WX_BOOLOPT_SUMMARY([WX_SHARED], [" - SHARED mode"], [" - STATIC mode"]) echo " - VERSION: $WX_VERSION" echo " - PORT: $WX_PORT" ]) dnl --------------------------------------------------------------------------- dnl WX_STANDARD_OPTIONS_SUMMARY_MSG_BEGIN, WX_STANDARD_OPTIONS_SUMMARY_MSG_END dnl dnl Like WX_STANDARD_OPTIONS_SUMMARY_MSG macro but these two macros also gives info dnl about the configuration of the package which used the wxpresets. dnl dnl Typical usage: dnl WX_STANDARD_OPTIONS_SUMMARY_MSG_BEGIN dnl echo " - Package setting 1: $SETTING1" dnl echo " - Package setting 2: $SETTING1" dnl ... dnl WX_STANDARD_OPTIONS_SUMMARY_MSG_END dnl dnl --------------------------------------------------------------------------- AC_DEFUN([WX_STANDARD_OPTIONS_SUMMARY_MSG_BEGIN], [ echo echo " ----------------------------------------------------------------" echo " Configuration for $PACKAGE_NAME $PACKAGE_VERSION successfully completed." echo " Summary of main configuration settings for $PACKAGE_NAME:" WX_BOOLOPT_SUMMARY([DEBUG], [" - DEBUG build"], [" - RELEASE build"]) WX_BOOLOPT_SUMMARY([UNICODE], [" - UNICODE mode"], [" - ANSI mode"]) WX_BOOLOPT_SUMMARY([SHARED], [" - SHARED mode"], [" - STATIC mode"]) ]) AC_DEFUN([WX_STANDARD_OPTIONS_SUMMARY_MSG_END], [ WX_STANDARD_OPTIONS_SUMMARY_MSG echo echo " Now, just run make." echo " ----------------------------------------------------------------" echo ]) dnl --------------------------------------------------------------------------- dnl Deprecated macro wrappers dnl --------------------------------------------------------------------------- AC_DEFUN([AM_OPTIONS_WXCONFIG], [WX_CONFIG_OPTIONS]) AC_DEFUN([AM_PATH_WXCONFIG], [ WX_CONFIG_CHECK([$1],[$2],[$3],[$4],[$5]) ]) AC_DEFUN([AM_PATH_WXRC], [WXRC_CHECK([$1],[$2])]) # Copyright (C) 2002-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_AUTOMAKE_VERSION(VERSION) # ---------------------------- # Automake X.Y traces this macro to ensure aclocal.m4 has been # generated from the m4 files accompanying Automake X.Y. # (This private macro should not be called outside this file.) AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.14' dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to dnl require some minimum version. Point them to the right macro. m4_if([$1], [1.14.1], [], [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ]) # _AM_AUTOCONF_VERSION(VERSION) # ----------------------------- # aclocal traces this macro to find the Autoconf version. # This is a private macro too. Using m4_define simplifies # the logic in aclocal, which can simply ignore this definition. m4_define([_AM_AUTOCONF_VERSION], []) # AM_SET_CURRENT_AUTOMAKE_VERSION # ------------------------------- # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.14.1])dnl m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- # Copyright (C) 2001-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets # $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to # '$srcdir', '$srcdir/..', or '$srcdir/../..'. # # Of course, Automake must honor this variable whenever it calls a # tool from the auxiliary directory. The problem is that $srcdir (and # therefore $ac_aux_dir as well) can be either absolute or relative, # depending on how configure is run. This is pretty annoying, since # it makes $ac_aux_dir quite unusable in subdirectories: in the top # source directory, any form will work fine, but in subdirectories a # relative path needs to be adjusted first. # # $ac_aux_dir/missing # fails when called from a subdirectory if $ac_aux_dir is relative # $top_srcdir/$ac_aux_dir/missing # fails if $ac_aux_dir is absolute, # fails when called from a subdirectory in a VPATH build with # a relative $ac_aux_dir # # The reason of the latter failure is that $top_srcdir and $ac_aux_dir # are both prefixed by $srcdir. In an in-source build this is usually # harmless because $srcdir is '.', but things will broke when you # start a VPATH build or use an absolute $srcdir. # # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, # iff we strip the leading $srcdir from $ac_aux_dir. That would be: # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` # and then we would define $MISSING as # MISSING="\${SHELL} $am_aux_dir/missing" # This will work as long as MISSING is not called from configure, because # unfortunately $(top_srcdir) has no meaning in configure. # However there are other variables, like CC, which are often used in # configure, and could therefore not use this "fixed" $ac_aux_dir. # # Another solution, used here, is to always expand $ac_aux_dir to an # absolute PATH. The drawback is that using absolute paths prevent a # configured tree to be moved without reconfiguration. AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly. AC_PREREQ([2.50])dnl # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` ]) # AM_CONDITIONAL -*- Autoconf -*- # Copyright (C) 1997-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_CONDITIONAL(NAME, SHELL-CONDITION) # ------------------------------------- # Define a conditional. AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ([2.52])dnl m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl AC_SUBST([$1_TRUE])dnl AC_SUBST([$1_FALSE])dnl _AM_SUBST_NOTMAKE([$1_TRUE])dnl _AM_SUBST_NOTMAKE([$1_FALSE])dnl m4_define([_AM_COND_VALUE_$1], [$2])dnl if $2; then $1_TRUE= $1_FALSE='#' else $1_TRUE='#' $1_FALSE= fi AC_CONFIG_COMMANDS_PRE( [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then AC_MSG_ERROR([[conditional "$1" was never defined. Usually this means the macro was only invoked conditionally.]]) fi])]) # Copyright (C) 1999-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be # written in clear, in which case automake, when reading aclocal.m4, # will think it sees a *use*, and therefore will trigger all it's # C support machinery. Also note that it means that autoscan, seeing # CC etc. in the Makefile, will ask for an AC_PROG_CC use... # _AM_DEPENDENCIES(NAME) # ---------------------- # See how the compiler implements dependency checking. # NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC". # We try a few techniques and use that to set a single cache variable. # # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular # dependency, and given that the user is not expected to run this macro, # just rely on AC_PROG_CC. AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl AC_REQUIRE([AM_MAKE_INCLUDE])dnl AC_REQUIRE([AM_DEP_TRACK])dnl m4_if([$1], [CC], [depcc="$CC" am_compiler_list=], [$1], [CXX], [depcc="$CXX" am_compiler_list=], [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'], [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'], [$1], [UPC], [depcc="$UPC" am_compiler_list=], [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'], [depcc="$$1" am_compiler_list=]) AC_CACHE_CHECK([dependency style of $depcc], [am_cv_$1_dependencies_compiler_type], [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named 'D' -- because '-MD' means "put the output # in D". rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_$1_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` fi am__universal=false m4_case([$1], [CC], [case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac], [CXX], [case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac]) for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with # Solaris 10 /bin/sh. echo '/* dummy */' > sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf # We check with '-c' and '-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle '-M -o', and we need to detect this. Also, some Intel # versions had trouble with output in subdirs. am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in gcc) # This depmode causes a compiler race in universal mode. test "$am__universal" = false || continue ;; nosideeffect) # After this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested. if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; msvc7 | msvc7msys | msvisualcpp | msvcmsys) # This compiler won't grok '-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} am__minus_obj= ;; none) break ;; esac if depmode=$depmode \ source=sub/conftest.c object=$am__obj \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_$1_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_$1_dependencies_compiler_type=none fi ]) AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) AM_CONDITIONAL([am__fastdep$1], [ test "x$enable_dependency_tracking" != xno \ && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) ]) # AM_SET_DEPDIR # ------------- # Choose a directory name for dependency files. # This macro is AC_REQUIREd in _AM_DEPENDENCIES. AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl ]) # AM_DEP_TRACK # ------------ AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE([dependency-tracking], [dnl AS_HELP_STRING( [--enable-dependency-tracking], [do not reject slow dependency extractors]) AS_HELP_STRING( [--disable-dependency-tracking], [speeds up one-time build])]) if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' am__nodep='_no' fi AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) AC_SUBST([AMDEPBACKSLASH])dnl _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl AC_SUBST([am__nodep])dnl _AM_SUBST_NOTMAKE([am__nodep])dnl ]) # Generate code to set up dependency tracking. -*- Autoconf -*- # Copyright (C) 1999-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_OUTPUT_DEPENDENCY_COMMANDS # ------------------------------ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{ # Older Autoconf quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. case $CONFIG_FILES in *\'*) eval set x "$CONFIG_FILES" ;; *) set x $CONFIG_FILES ;; esac shift for mf do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named 'Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # Grep'ing the whole file is not good either: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then dirpart=`AS_DIRNAME("$mf")` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running 'make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "$am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`AS_DIRNAME(["$file"])` AS_MKDIR_P([$dirpart/$fdir]) # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done } ])# _AM_OUTPUT_DEPENDENCY_COMMANDS # AM_OUTPUT_DEPENDENCY_COMMANDS # ----------------------------- # This macro should only be invoked once -- use via AC_REQUIRE. # # This code is only required when automatic dependency tracking # is enabled. FIXME. This creates each '.P' file that we will # need in order to bootstrap the dependency handling code. AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles], [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) ]) # Do all the work for Automake. -*- Autoconf -*- # Copyright (C) 1996-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This macro actually does too much. Some checks are only needed if # your package does certain things. But this isn't really a big deal. dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O. m4_define([AC_PROG_CC], m4_defn([AC_PROG_CC]) [_AM_PROG_CC_C_O ]) # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) # AM_INIT_AUTOMAKE([OPTIONS]) # ----------------------------------------------- # The call with PACKAGE and VERSION arguments is the old style # call (pre autoconf-2.50), which is being phased out. PACKAGE # and VERSION should now be passed to AC_INIT and removed from # the call to AM_INIT_AUTOMAKE. # We support both call styles for the transition. After # the next Automake release, Autoconf can make the AC_INIT # arguments mandatory, and then we can depend on a new Autoconf # release and drop the old call support. AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.65])dnl dnl Autoconf wants to disallow AM_ names. We explicitly allow dnl the ones we care about. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl # test to see if srcdir already configured if test -f $srcdir/config.status; then AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi AC_SUBST([CYGPATH_W]) # Define the identity of the package. dnl Distinguish between old-style and new-style calls. m4_ifval([$2], [AC_DIAGNOSE([obsolete], [$0: two- and three-arguments forms are deprecated.]) m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl AC_SUBST([PACKAGE], [$1])dnl AC_SUBST([VERSION], [$2])], [_AM_SET_OPTIONS([$1])dnl dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. m4_if( m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), [ok:ok],, [m4_fatal([AC_INIT should be called with package and version arguments])])dnl AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl _AM_IF_OPTION([no-define],, [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl # Some tools Automake needs. AC_REQUIRE([AM_SANITY_CHECK])dnl AC_REQUIRE([AC_ARG_PROGRAM])dnl AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) AM_MISSING_PROG([AUTOCONF], [autoconf]) AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) AM_MISSING_PROG([AUTOHEADER], [autoheader]) AM_MISSING_PROG([MAKEINFO], [makeinfo]) AC_REQUIRE([AM_PROG_INSTALL_SH])dnl AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl AC_REQUIRE([AC_PROG_MKDIR_P])dnl # For better backward compatibility. To be removed once Automake 1.9.x # dies out for good. For more background, see: # # AC_SUBST([mkdir_p], ['$(MKDIR_P)']) # We need awk for the "check" target. The system "awk" is bad on # some platforms. AC_REQUIRE([AC_PROG_AWK])dnl AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AM_SET_LEADING_DOT])dnl _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])]) _AM_IF_OPTION([no-dependencies],, [AC_PROVIDE_IFELSE([AC_PROG_CC], [_AM_DEPENDENCIES([CC])], [m4_define([AC_PROG_CC], m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl AC_PROVIDE_IFELSE([AC_PROG_CXX], [_AM_DEPENDENCIES([CXX])], [m4_define([AC_PROG_CXX], m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl AC_PROVIDE_IFELSE([AC_PROG_OBJC], [_AM_DEPENDENCIES([OBJC])], [m4_define([AC_PROG_OBJC], m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], [_AM_DEPENDENCIES([OBJCXX])], [m4_define([AC_PROG_OBJCXX], m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl ]) AC_REQUIRE([AM_SILENT_RULES])dnl dnl The testsuite driver may need to know about EXEEXT, so add the dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below. AC_CONFIG_COMMANDS_PRE(dnl [m4_provide_if([_AM_COMPILER_EXEEXT], [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl # POSIX will say in a future version that running "rm -f" with no argument # is OK; and we want to be able to make that assumption in our Makefile # recipes. So use an aggressive probe to check that the usage we want is # actually supported "in the wild" to an acceptable degree. # See automake bug#10828. # To make any issue more visible, cause the running configure to be aborted # by default if the 'rm' program in use doesn't match our expectations; the # user can still override this though. if rm -f && rm -fr && rm -rf; then : OK; else cat >&2 <<'END' Oops! Your 'rm' program seems unable to run without file operands specified on the command line, even when the '-f' option is present. This is contrary to the behaviour of most rm programs out there, and not conforming with the upcoming POSIX standard: Please tell bug-automake@gnu.org about your system, including the value of your $PATH and any error possibly output before this message. This can help us improve future automake versions. END if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then echo 'Configuration will proceed anyway, since you have set the' >&2 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 echo >&2 else cat >&2 <<'END' Aborting the configuration process, to ensure you take notice of the issue. You can download and install GNU coreutils to get an 'rm' implementation that behaves properly: . If you want to complete the configuration process using your problematic 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM to "yes", and re-run configure. END AC_MSG_ERROR([Your 'rm' program is bad, sorry.]) fi fi ]) dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further dnl mangled by Autoconf and run in a shell conditional statement. m4_define([_AC_COMPILER_EXEEXT], m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) # When config.status generates a header, we must update the stamp-h file. # This file resides in the same directory as the config header # that is generated. The stamp files are numbered to have different names. # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the # loop where config.status creates the headers, so we can generate # our stamp files there. AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers. _am_arg=$1 _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) # Copyright (C) 2001-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_INSTALL_SH # ------------------ # Define $install_sh. AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl if test x"${install_sh}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; *) install_sh="\${SHELL} $am_aux_dir/install-sh" esac fi AC_SUBST([install_sh])]) # Copyright (C) 2003-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # Check whether the underlying file-system supports filenames # with a leading dot. For instance MS-DOS doesn't. AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null AC_SUBST([am__leading_dot])]) # Check to see how 'make' treats includes. -*- Autoconf -*- # Copyright (C) 2001-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_MAKE_INCLUDE() # ----------------- # Check to see how make treats includes. AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo this is the am__doit target .PHONY: am__doit END # If we don't find an include directive, just comment out the code. AC_MSG_CHECKING([for style of include used by $am_make]) am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # Ignore all kinds of additional output from 'make'. case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=include am__quote= _am_result=GNU ;; esac # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=.include am__quote="\"" _am_result=BSD ;; esac fi AC_SUBST([am__include]) AC_SUBST([am__quote]) AC_MSG_RESULT([$_am_result]) rm -f confinc confmf ]) # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- # Copyright (C) 1997-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_MISSING_PROG(NAME, PROGRAM) # ------------------------------ AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN]) $1=${$1-"${am_missing_run}$2"} AC_SUBST($1)]) # AM_MISSING_HAS_RUN # ------------------ # Define MISSING if not defined so far and test if it is modern enough. # If it is, set am_missing_run to use it, otherwise, to nothing. AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([missing])dnl if test x"${MISSING+set}" != xset; then case $am_aux_dir in *\ * | *\ *) MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; *) MISSING="\${SHELL} $am_aux_dir/missing" ;; esac fi # Use eval to expand $SHELL if eval "$MISSING --is-lightweight"; then am_missing_run="$MISSING " else am_missing_run= AC_MSG_WARN(['missing' script is too old or missing]) fi ]) # Copyright (C) 2003-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_MKDIR_P # --------------- # Check for 'mkdir -p'. AC_DEFUN([AM_PROG_MKDIR_P], [AC_PREREQ([2.60])dnl AC_REQUIRE([AC_PROG_MKDIR_P])dnl dnl FIXME we are no longer going to remove this! adjust warning dnl FIXME message accordingly. AC_DIAGNOSE([obsolete], [$0: this macro is deprecated, and will soon be removed. You should use the Autoconf-provided 'AC][_PROG_MKDIR_P' macro instead, and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files.]) dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, dnl while keeping a definition of mkdir_p for backward compatibility. dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of dnl Makefile.ins that do not define MKDIR_P, so we do our own dnl adjustment using top_builddir (which is defined more often than dnl MKDIR_P). AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl case $mkdir_p in [[\\/$]]* | ?:[[\\/]]*) ;; */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; esac ]) # Helper functions for option handling. -*- Autoconf -*- # Copyright (C) 2001-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_MANGLE_OPTION(NAME) # ----------------------- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) # _AM_SET_OPTION(NAME) # -------------------- # Set option NAME. Presently that only means defining a flag for this option. AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), [1])]) # _AM_SET_OPTIONS(OPTIONS) # ------------------------ # OPTIONS is a space-separated list of Automake options. AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) # ------------------------------------------- # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) # Copyright (C) 1999-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_PROG_CC_C_O # --------------- # Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC # to automatically call this. AC_DEFUN([_AM_PROG_CC_C_O], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([compile])dnl AC_LANG_PUSH([C])dnl AC_CACHE_CHECK( [whether $CC understands -c and -o together], [am_cv_prog_cc_c_o], [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])]) # Make sure it works both with $CC and with simple cc. # Following AC_PROG_CC_C_O, we do the test twice because some # compilers refuse to overwrite an existing .o file with -o, # though they will create one. am_cv_prog_cc_c_o=yes for am_i in 1 2; do if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \ && test -f conftest2.$ac_objext; then : OK else am_cv_prog_cc_c_o=no break fi done rm -f core conftest* unset am_i]) if test "$am_cv_prog_cc_c_o" != yes; then # Losing compiler, so override with the script. # FIXME: It is wrong to rewrite CC. # But if we don't then we get into trouble of one sort or another. # A longer-term fix would be to have automake use am__CC in this case, # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" CC="$am_aux_dir/compile $CC" fi AC_LANG_POP([C])]) # For backward compatibility. AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) # Copyright (C) 2001-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_RUN_LOG(COMMAND) # ------------------- # Run COMMAND, save the exit status in ac_status, and log it. # (This has been adapted from Autoconf's _AC_RUN_LOG macro.) AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD (exit $ac_status); }]) # Check to make sure that the build environment is sane. -*- Autoconf -*- # Copyright (C) 1996-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_SANITY_CHECK # --------------- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' ' case `pwd` in *[[\\\"\#\$\&\'\`$am_lf]]*) AC_MSG_ERROR([unsafe absolute working directory name]);; esac case $srcdir in *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);; esac # Do 'set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( am_has_slept=no for am_try in 1 2; do echo "timestamp, slept: $am_has_slept" > conftest.file set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` if test "$[*]" = "X"; then # -L didn't work. set X `ls -t "$srcdir/configure" conftest.file` fi if test "$[*]" != "X $srcdir/configure conftest.file" \ && test "$[*]" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken alias in your environment]) fi if test "$[2]" = conftest.file || test $am_try -eq 2; then break fi # Just in case. sleep 1 am_has_slept=yes done test "$[2]" = conftest.file ) then # Ok. : else AC_MSG_ERROR([newly created file is older than distributed files! Check your system clock]) fi AC_MSG_RESULT([yes]) # If we didn't sleep, we still need to ensure time stamps of config.status and # generated files are strictly newer. am_sleep_pid= if grep 'slept: no' conftest.file >/dev/null 2>&1; then ( sleep 1 ) & am_sleep_pid=$! fi AC_CONFIG_COMMANDS_PRE( [AC_MSG_CHECKING([that generated files are newer than configure]) if test -n "$am_sleep_pid"; then # Hide warnings about reused PIDs. wait $am_sleep_pid 2>/dev/null fi AC_MSG_RESULT([done])]) rm -f conftest.file ]) # Copyright (C) 2009-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_SILENT_RULES([DEFAULT]) # -------------------------- # Enable less verbose build rules; with the default set to DEFAULT # ("yes" being less verbose, "no" or empty being verbose). AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules], [dnl AS_HELP_STRING( [--enable-silent-rules], [less verbose build output (undo: "make V=1")]) AS_HELP_STRING( [--disable-silent-rules], [verbose build output (undo: "make V=0")])dnl ]) case $enable_silent_rules in @%:@ ((( yes) AM_DEFAULT_VERBOSITY=0;; no) AM_DEFAULT_VERBOSITY=1;; *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; esac dnl dnl A few 'make' implementations (e.g., NonStop OS and NextStep) dnl do not support nested variable expansions. dnl See automake bug#9928 and bug#10237. am_make=${MAKE-make} AC_CACHE_CHECK([whether $am_make supports nested variables], [am_cv_make_support_nested_variables], [if AS_ECHO([['TRUE=$(BAR$(V)) BAR0=false BAR1=true V=1 am__doit: @$(TRUE) .PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then am_cv_make_support_nested_variables=yes else am_cv_make_support_nested_variables=no fi]) if test $am_cv_make_support_nested_variables = yes; then dnl Using '$V' instead of '$(V)' breaks IRIX make. AM_V='$(V)' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' else AM_V=$AM_DEFAULT_VERBOSITY AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY fi AC_SUBST([AM_V])dnl AM_SUBST_NOTMAKE([AM_V])dnl AC_SUBST([AM_DEFAULT_V])dnl AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl AC_SUBST([AM_DEFAULT_VERBOSITY])dnl AM_BACKSLASH='\' AC_SUBST([AM_BACKSLASH])dnl _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl ]) # Copyright (C) 2001-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_INSTALL_STRIP # --------------------- # One issue with vendor 'install' (even GNU) is that you can't # specify the program used to strip binaries. This is especially # annoying in cross-compiling environments, where the build's strip # is unlikely to handle the host's binaries. # Fortunately install-sh will honor a STRIPPROG variable, so we # always use install-sh in "make install-strip", and initialize # STRIPPROG with the value of the STRIP variable (set by the user). AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl # Installed binaries are usually stripped using 'strip' when the user # run "make install-strip". However 'strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the 'STRIP' environment variable to overrule this program. dnl Don't test for $cross_compiling = yes, because it might be 'maybe'. if test "$cross_compiling" != no; then AC_CHECK_TOOL([STRIP], [strip], :) fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) # Copyright (C) 2006-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_SUBST_NOTMAKE(VARIABLE) # --------------------------- # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. # This macro is traced by Automake. AC_DEFUN([_AM_SUBST_NOTMAKE]) # AM_SUBST_NOTMAKE(VARIABLE) # -------------------------- # Public sister of _AM_SUBST_NOTMAKE. AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) # Check how to create a tarball. -*- Autoconf -*- # Copyright (C) 2004-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_PROG_TAR(FORMAT) # -------------------- # Check how to create a tarball in format FORMAT. # FORMAT should be one of 'v7', 'ustar', or 'pax'. # # Substitute a variable $(am__tar) that is a command # writing to stdout a FORMAT-tarball containing the directory # $tardir. # tardir=directory && $(am__tar) > result.tar # # Substitute a variable $(am__untar) that extract such # a tarball read from stdin. # $(am__untar) < result.tar # AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. Yes, it's still used # in the wild :-( We should find a proper way to deprecate it ... AC_SUBST([AMTAR], ['$${TAR-tar}']) # We'll loop over all known methods to create a tar archive until one works. _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' m4_if([$1], [v7], [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], [m4_case([$1], [ustar], [# The POSIX 1988 'ustar' format is defined with fixed-size fields. # There is notably a 21 bits limit for the UID and the GID. In fact, # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 # and bug#13588). am_max_uid=2097151 # 2^21 - 1 am_max_gid=$am_max_uid # The $UID and $GID variables are not portable, so we need to resort # to the POSIX-mandated id(1) utility. Errors in the 'id' calls # below are definitely unexpected, so allow the users to see them # (that is, avoid stderr redirection). am_uid=`id -u || echo unknown` am_gid=`id -g || echo unknown` AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format]) if test $am_uid -le $am_max_uid; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) _am_tools=none fi AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format]) if test $am_gid -le $am_max_gid; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) _am_tools=none fi], [pax], [], [m4_fatal([Unknown tar format])]) AC_MSG_CHECKING([how to create a $1 tar archive]) # Go ahead even if we have the value already cached. We do so because we # need to set the values for the 'am__tar' and 'am__untar' variables. _am_tools=${am_cv_prog_tar_$1-$_am_tools} for _am_tool in $_am_tools; do case $_am_tool in gnutar) for _am_tar in tar gnutar gtar; do AM_RUN_LOG([$_am_tar --version]) && break done am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' am__untar="$_am_tar -xf -" ;; plaintar) # Must skip GNU tar: if it does not support --format= it doesn't create # ustar tarball either. (tar --version) >/dev/null 2>&1 && continue am__tar='tar chf - "$$tardir"' am__tar_='tar chf - "$tardir"' am__untar='tar xf -' ;; pax) am__tar='pax -L -x $1 -w "$$tardir"' am__tar_='pax -L -x $1 -w "$tardir"' am__untar='pax -r' ;; cpio) am__tar='find "$$tardir" -print | cpio -o -H $1 -L' am__tar_='find "$tardir" -print | cpio -o -H $1 -L' am__untar='cpio -i -H $1 -d' ;; none) am__tar=false am__tar_=false am__untar=false ;; esac # If the value was cached, stop now. We just wanted to have am__tar # and am__untar set. test -n "${am_cv_prog_tar_$1}" && break # tar/untar a dummy directory, and stop if the command works. rm -rf conftest.dir mkdir conftest.dir echo GrepMe > conftest.dir/file AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) rm -rf conftest.dir if test -s conftest.tar; then AM_RUN_LOG([$am__untar /dev/null 2>&1 && break fi done rm -rf conftest.dir AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) AC_MSG_RESULT([$am_cv_prog_tar_$1])]) AC_SUBST([am__tar]) AC_SUBST([am__untar]) ]) # _AM_PROG_TAR m4_include([m4/nls.m4]) m4_include([m4/po.m4]) m4_include([m4/progtest.m4]) dfarc-3.12/INSTALL0000644000175000017510000003661012302342414010472 00000000000000Installation Instructions ************************* Copyright (C) 1994-1996, 1999-2002, 2004-2013 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without warranty of any kind. Basic Installation ================== Briefly, the shell command `./configure && make && make install' should configure, build, and install this package. The following more-detailed instructions are generic; see the `README' file for instructions specific to this package. Some packages provide this `INSTALL' file but do not implement all of the features documented below. The lack of an optional feature in a given package is not necessarily a bug. More recommendations for GNU packages can be found in *note Makefile Conventions: (standards)Makefile Conventions. The `configure' shell script attempts to guess correct values for various system-dependent variables used during compilation. It uses those values to create a `Makefile' in each directory of the package. It may also create one or more `.h' files containing system-dependent definitions. Finally, it creates a shell script `config.status' that you can run in the future to recreate the current configuration, and a file `config.log' containing compiler output (useful mainly for debugging `configure'). It can also use an optional file (typically called `config.cache' and enabled with `--cache-file=config.cache' or simply `-C') that saves the results of its tests to speed up reconfiguring. Caching is disabled by default to prevent problems with accidental use of stale cache files. If you need to do unusual things to compile the package, please try to figure out how `configure' could check whether to do them, and mail diffs or instructions to the address given in the `README' so they can be considered for the next release. If you are using the cache, and at some point `config.cache' contains results you don't want to keep, you may remove or edit it. The file `configure.ac' (or `configure.in') is used to create `configure' by a program called `autoconf'. You need `configure.ac' if you want to change it or regenerate `configure' using a newer version of `autoconf'. The simplest way to compile this package is: 1. `cd' to the directory containing the package's source code and type `./configure' to configure the package for your system. Running `configure' might take a while. While running, it prints some messages telling which features it is checking for. 2. Type `make' to compile the package. 3. Optionally, type `make check' to run any self-tests that come with the package, generally using the just-built uninstalled binaries. 4. Type `make install' to install the programs and any data files and documentation. When installing into a prefix owned by root, it is recommended that the package be configured and built as a regular user, and only the `make install' phase executed with root privileges. 5. Optionally, type `make installcheck' to repeat any self-tests, but this time using the binaries in their final installed location. This target does not install anything. Running this target as a regular user, particularly if the prior `make install' required root privileges, verifies that the installation completed correctly. 6. You can remove the program binaries and object files from the source code directory by typing `make clean'. To also remove the files that `configure' created (so you can compile the package for a different kind of computer), type `make distclean'. There is also a `make maintainer-clean' target, but that is intended mainly for the package's developers. If you use it, you may have to get all sorts of other programs in order to regenerate files that came with the distribution. 7. Often, you can also type `make uninstall' to remove the installed files again. In practice, not all packages have tested that uninstallation works correctly, even though it is required by the GNU Coding Standards. 8. Some packages, particularly those that use Automake, provide `make distcheck', which can by used by developers to test that all other targets like `make install' and `make uninstall' work correctly. This target is generally not run by end users. Compilers and Options ===================== Some systems require unusual options for compilation or linking that the `configure' script does not know about. Run `./configure --help' for details on some of the pertinent environment variables. You can give `configure' initial values for configuration parameters by setting variables in the command line or in the environment. Here is an example: ./configure CC=c99 CFLAGS=-g LIBS=-lposix *Note Defining Variables::, for more details. Compiling For Multiple Architectures ==================================== You can compile the package for more than one kind of computer at the same time, by placing the object files for each architecture in their own directory. To do this, you can use GNU `make'. `cd' to the directory where you want the object files and executables to go and run the `configure' script. `configure' automatically checks for the source code in the directory that `configure' is in and in `..'. This is known as a "VPATH" build. With a non-GNU `make', it is safer to compile the package for one architecture at a time in the source code directory. After you have installed the package for one architecture, use `make distclean' before reconfiguring for another architecture. On MacOS X 10.5 and later systems, you can create libraries and executables that work on multiple system types--known as "fat" or "universal" binaries--by specifying multiple `-arch' options to the compiler but only a single `-arch' option to the preprocessor. Like this: ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ CPP="gcc -E" CXXCPP="g++ -E" This is not guaranteed to produce working output in all cases, you may have to build one architecture at a time and combine the results using the `lipo' tool if you have problems. Installation Names ================== By default, `make install' installs the package's commands under `/usr/local/bin', include files under `/usr/local/include', etc. You can specify an installation prefix other than `/usr/local' by giving `configure' the option `--prefix=PREFIX', where PREFIX must be an absolute file name. You can specify separate installation prefixes for architecture-specific files and architecture-independent files. If you pass the option `--exec-prefix=PREFIX' to `configure', the package uses PREFIX as the prefix for installing programs and libraries. Documentation and other data files still use the regular prefix. In addition, if you use an unusual directory layout you can give options like `--bindir=DIR' to specify different values for particular kinds of files. Run `configure --help' for a list of the directories you can set and what kinds of files go in them. In general, the default for these options is expressed in terms of `${prefix}', so that specifying just `--prefix' will affect all of the other directory specifications that were not explicitly provided. The most portable way to affect installation locations is to pass the correct locations to `configure'; however, many packages provide one or both of the following shortcuts of passing variable assignments to the `make install' command line to change installation locations without having to reconfigure or recompile. The first method involves providing an override variable for each affected directory. For example, `make install prefix=/alternate/directory' will choose an alternate location for all directory configuration variables that were expressed in terms of `${prefix}'. Any directories that were specified during `configure', but not in terms of `${prefix}', must each be overridden at install time for the entire installation to be relocated. The approach of makefile variable overrides for each directory variable is required by the GNU Coding Standards, and ideally causes no recompilation. However, some platforms have known limitations with the semantics of shared libraries that end up requiring recompilation when using this method, particularly noticeable in packages that use GNU Libtool. The second method involves providing the `DESTDIR' variable. For example, `make install DESTDIR=/alternate/directory' will prepend `/alternate/directory' before all installation names. The approach of `DESTDIR' overrides is not required by the GNU Coding Standards, and does not work on platforms that have drive letters. On the other hand, it does better at avoiding recompilation issues, and works well even when some directory options were not specified in terms of `${prefix}' at `configure' time. Optional Features ================= If the package supports it, you can cause programs to be installed with an extra prefix or suffix on their names by giving `configure' the option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. Some packages pay attention to `--enable-FEATURE' options to `configure', where FEATURE indicates an optional part of the package. They may also pay attention to `--with-PACKAGE' options, where PACKAGE is something like `gnu-as' or `x' (for the X Window System). The `README' should mention any `--enable-' and `--with-' options that the package recognizes. For packages that use the X Window System, `configure' can usually find the X include and library files automatically, but if it doesn't, you can use the `configure' options `--x-includes=DIR' and `--x-libraries=DIR' to specify their locations. Some packages offer the ability to configure how verbose the execution of `make' will be. For these packages, running `./configure --enable-silent-rules' sets the default to minimal output, which can be overridden with `make V=1'; while running `./configure --disable-silent-rules' sets the default to verbose, which can be overridden with `make V=0'. Particular systems ================== On HP-UX, the default C compiler is not ANSI C compatible. If GNU CC is not installed, it is recommended to use the following options in order to use an ANSI C compiler: ./configure CC="cc -Ae -D_XOPEN_SOURCE=500" and if that doesn't work, install pre-built binaries of GCC for HP-UX. HP-UX `make' updates targets which have the same time stamps as their prerequisites, which makes it generally unusable when shipped generated files such as `configure' are involved. Use GNU `make' instead. On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot parse its `' header file. The option `-nodtk' can be used as a workaround. If GNU CC is not installed, it is therefore recommended to try ./configure CC="cc" and if that doesn't work, try ./configure CC="cc -nodtk" On Solaris, don't put `/usr/ucb' early in your `PATH'. This directory contains several dysfunctional programs; working variants of these programs are available in `/usr/bin'. So, if you need `/usr/ucb' in your `PATH', put it _after_ `/usr/bin'. On Haiku, software installed for all users goes in `/boot/common', not `/usr/local'. It is recommended to use the following options: ./configure --prefix=/boot/common Specifying the System Type ========================== There may be some features `configure' cannot figure out automatically, but needs to determine by the type of machine the package will run on. Usually, assuming the package is built to be run on the _same_ architectures, `configure' can figure that out, but if it prints a message saying it cannot guess the machine type, give it the `--build=TYPE' option. TYPE can either be a short name for the system type, such as `sun4', or a canonical name which has the form: CPU-COMPANY-SYSTEM where SYSTEM can have one of these forms: OS KERNEL-OS See the file `config.sub' for the possible values of each field. If `config.sub' isn't included in this package, then this package doesn't need to know the machine type. If you are _building_ compiler tools for cross-compiling, you should use the option `--target=TYPE' to select the type of system they will produce code for. If you want to _use_ a cross compiler, that generates code for a platform different from the build platform, you should specify the "host" platform (i.e., that on which the generated programs will eventually be run) with `--host=TYPE'. Sharing Defaults ================ If you want to set default values for `configure' scripts to share, you can create a site shell script called `config.site' that gives default values for variables like `CC', `cache_file', and `prefix'. `configure' looks for `PREFIX/share/config.site' if it exists, then `PREFIX/etc/config.site' if it exists. Or, you can set the `CONFIG_SITE' environment variable to the location of the site script. A warning: not all `configure' scripts look for a site script. Defining Variables ================== Variables not defined in a site shell script can be set in the environment passed to `configure'. However, some packages may run configure again during the build, and the customized values of these variables may be lost. In order to avoid this problem, you should set them in the `configure' command line, using `VAR=value'. For example: ./configure CC=/usr/local2/bin/gcc causes the specified `gcc' to be used as the C compiler (unless it is overridden in the site shell script). Unfortunately, this technique does not work for `CONFIG_SHELL' due to an Autoconf limitation. Until the limitation is lifted, you can use this workaround: CONFIG_SHELL=/bin/bash ./configure CONFIG_SHELL=/bin/bash `configure' Invocation ====================== `configure' recognizes the following options to control how it operates. `--help' `-h' Print a summary of all of the options to `configure', and exit. `--help=short' `--help=recursive' Print a summary of the options unique to this package's `configure', and exit. The `short' variant lists options used only in the top level, while the `recursive' variant lists options also present in any nested packages. `--version' `-V' Print the version of Autoconf used to generate the `configure' script, and exit. `--cache-file=FILE' Enable the cache: use and save the results of the tests in FILE, traditionally `config.cache'. FILE defaults to `/dev/null' to disable caching. `--config-cache' `-C' Alias for `--cache-file=config.cache'. `--quiet' `--silent' `-q' Do not print messages saying which checks are being made. To suppress all normal output, redirect it to `/dev/null' (any error messages will still be shown). `--srcdir=DIR' Look for the package's source code in directory DIR. Usually `configure' can determine that directory automatically. `--prefix=DIR' Use DIR as the installation prefix. *note Installation Names:: for more details, including other options available for fine-tuning the installation locations. `--no-create' `-n' Run the configure checks, but stop before creating any output files. `configure' also accepts some other, not widely useful, options. Run `configure --help' for more details.