gnome-blog-0.9.1/0000777000076500007650000000000010446321305010564 500000000000000gnome-blog-0.9.1/po/0000777000076500007650000000000010446321305011202 500000000000000gnome-blog-0.9.1/po/zh_CN.po0000664000076500007650000001661410051333334012466 00000000000000# GNOME BLOG # Copyright (C) 2004 Free Software Foundation, Inc. # This file is distributed under the same license as the PACKAGE package. # Li Shaojie , 2004. # msgid "" msgstr "" "Project-Id-Version: \n" "POT-Creation-Date: 2004-05-14 20:06+0200\n" "PO-Revision-Date: 2004-05-12 14:38+0800\n" "Last-Translator: storm \n" "Language-Team: zh_CN \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Report-Msgid-Bugs-To: \n" #: GNOME_BlogApplet.server.in.h:1 msgid "Accessories" msgstr "附件" #: GNOME_BlogApplet.server.in.h:2 gnome-blog.desktop.in.h:1 msgid "Blog Entry Poster" msgstr "Blog 条目张贴器" #: GNOME_BlogApplet.server.in.h:3 msgid "Post entries to a web log" msgstr "张贴条目到 web blog" #: GNOME_BlogApplet.xml.h:1 msgid "_About..." msgstr "关于(_A)..." #: GNOME_BlogApplet.xml.h:2 msgid "_Preferences..." msgstr "首选项(_P)..." #: blog_applet.py:31 msgid "About" msgstr "关于" #: blog_applet.py:34 msgid "Blog" msgstr "Blog" #: blog_applet.py:67 msgid "A GNOME Web Blogging Applet" msgstr "一个 GNOME Web Blogging 小程序" #: blog_applet.py:102 #, python-format msgid "Create a blog entry for %s at %s" msgstr "为 %s 创建一个 blog 条目在 %s" #: blog_poster.py:44 msgid "_Post Entry" msgstr "张贴条目(_P)" #: blog_poster.py:63 msgid "Preferences..." msgstr "首选项..." #: blog_poster.py:75 msgid "Title:" msgstr "标题:" #: blog_poster.py:110 msgid "Couldn't upload images" msgstr "不能上传图像" #: blog_poster.py:110 msgid "The blog protocol in use does not support uploading images" msgstr "在使用的 blog 协议不支持上传图像" #: blog_poster.py:157 msgid "Blog Entry is Blank" msgstr "Blog 条目为空白" #: blog_poster.py:157 msgid "" "No text was entered in the blog entry box. Please enter some text and try " "again" msgstr "在 Blog 的输入区没有输入文本。请输入一些文本再试一次。" #: blogger_prefs.py:19 msgid "Blogger Preferences" msgstr "Blogger 首选项" #: blogger_prefs.py:38 msgid "Self-Run MovableType" msgstr "自运行的可移动类型" #: blogger_prefs.py:39 msgid "Self-Run Pyblosxom" msgstr "自运行的 Pyblosxom" #: blogger_prefs.py:40 msgid "Self-Run Other" msgstr "自运行的其他类型" #: blogger_prefs.py:44 msgid "Blog Type:" msgstr "Blog 类型:" #: blogger_prefs.py:54 msgid "Blog Protocol:" msgstr "Blog 协议:" #: blogger_prefs.py:58 msgid "Blog Base URL:" msgstr "Blog 根 URL:" #: blogger_prefs.py:60 msgid "Blog Name:" msgstr "Blog 名称:" #: blogger_prefs.py:62 msgid "Lookup Blogs" msgstr "查找 Blogs" #: blogger_prefs.py:72 msgid "Username:" msgstr "用户名:" #: blogger_prefs.py:73 msgid "Password:" msgstr "密码:" #: blogger_prefs.py:115 blogger_prefs.py:130 blogger_prefs.py:135 #: blogger_prefs.py:141 msgid "XML-RPC URL:" msgstr "XML-RPC URL:" #: blogger_prefs.py:120 blogger_prefs.py:125 msgid "Base Blog URL:" msgstr "根 Blog URL:" #: gnome-blog.desktop.in.h:2 msgid "Post an entry to a web log" msgstr "记录一个条目到 web blog" #: gnomeblog.schemas.in.h:1 msgid "Password to use in accessing the blog" msgstr "访问 Blog 的密码" #: gnomeblog.schemas.in.h:2 msgid "Protocol to use in accessing the blog" msgstr "访问 Blog 的协议" #: gnomeblog.schemas.in.h:3 msgid "Suffix to attach to the base URL (e.g. \"xmlrpc.cgi\")" msgstr "添加到根 URL 的后缀(例如:“xmlrpc.cgi”)" #: gnomeblog.schemas.in.h:4 msgid "The application's preferences have been initialized" msgstr "应用程序的参数已经初始化了" #: gnomeblog.schemas.in.h:5 msgid "The id or name of the particular blog to use on the XML-RPC server" msgstr "用于 XML-RPC 服务器的特殊 blog 的 ID 或用户名" #: gnomeblog.schemas.in.h:6 msgid "URL to the bloggerAPI compatible XML-RPC server" msgstr "与 XML-RPC 服务器兼容的 BloggerAPI 的 URL" #: gnomeblog.schemas.in.h:7 msgid "Username to use in accessing the blog" msgstr "用来访问 Blog 的用户名" #: hig_alert.py:13 #, python-format msgid "URL '%s' may not be a valid bloggerAPI. XML-RPC Server reported: %s." msgstr "URL“%s”可能是一个无效的 bloggerAPI。XML-RPC 服务器报告:%s。" #: hig_alert.py:15 #, python-format msgid "" "Unknown username %s or password trying to post blog entry to XML-RPC server %" "s." msgstr "未知的用户名 %s 或密码尝试在 XML-RPC 服务器 %s 张贴 blog。" #: hig_alert.py:17 #, python-format msgid "" "Could not post to blog '%s' at bloggerAPI XML-RPC server '%s'. Server " "reported: %s." msgstr "不能张贴 blog“%s”到 bloggerAPI XML-RPC 服务器“%s”。服务器报告:%s。" #: hig_alert.py:19 #, python-format msgid "" "The bloggerAPI server (%s) reported an error I don't understand: '%s, %s'. \n" "\n" "Please email this error message to seth@gnome.org so I can address it." msgstr "" "BloggerAPI 服务器(%s)报告了一个我不能理解的错误:“%s,%s”。\n" "\n" "请将这个错误消息用电子邮件发送到 seth@gnome.org 以让我们可以解决它。" #: protocols/advogato.py:27 protocols/advogato.py:30 protocols/advogato.py:42 #: protocols/bloggerAPI.py:62 protocols/bloggerAPI.py:90 #: protocols/livejournal.py:35 protocols/livejournal.py:64 msgid "Could not post Blog entry" msgstr "不能张贴 Blog 条目" #: protocols/advogato.py:27 msgid "Your username is invalid. Please double-check the preferences." msgstr "您的用户名无效。请检查首选项。" #: protocols/advogato.py:30 protocols/livejournal.py:35 msgid "" "Your username or password is invalid. Please double-check the preferences." msgstr "您的用户名或密码无效。请检查首选项。" #: protocols/advogato.py:39 protocols/bloggerAPI.py:87 #: protocols/livejournal.py:61 msgid "Could not post blog entry" msgstr "不能记录 Blog 条目" #: protocols/advogato.py:42 protocols/bloggerAPI.py:39 #: protocols/bloggerAPI.py:90 #, python-format msgid "" "URL '%s' does not seem to be a valid bloggerAPI XML-RPC server. Web server " "reported: %s." msgstr "" "URL“%s”看起来不是一个有效的 bloggerAPI XML-RPC 服务器。Web 服务器报告:%s。" #: protocols/bloggerAPI.py:36 protocols/bloggerAPI.py:39 msgid "Could not get list of blogs" msgstr "不能获得 Blog 列表" #: protocols/bloggerAPI.py:62 msgid "" "No XML-RPC server URL to post blog entries to is set, or the value could not " "be retrieved from GConf. Your entry will remain in the blogger window." msgstr "" "没有设置记录 Blog 条目的 XML-PRC 服务器 URL,或者设置的值不能被 GConf 检索" "到。您的条目仍会停留在 Blogger 的窗口中。" #: protocols/livejournal.py:64 #, python-format msgid "" "URL '%s' does not seem to be a valid LiveJournal XML-RPC server. Web server " "reported: %s." msgstr "" "URL“%s”看起来不是一个有效的 LiveJournal XML-RPC 服务器。Web 服务器报告:%s。" #: rich_entry.py:142 rich_entry.py:150 msgid "Could not load dragged in image" msgstr "不能拖动加载图像" #: rich_entry.py:143 rich_entry.py:151 #, python-format msgid "Error loading %s was: %s" msgstr "加载 %s 错误是:%s " #: rich_entry.py:208 msgid "Add _Link..." msgstr "添加链接(_L)..." #: rich_entry.py:213 msgid "Add Link" msgstr "添加链接" #: rich_entry.py:214 msgid "_Add Link" msgstr "添加链接(_A)" #: rich_entry.py:222 msgid "Text:" msgstr "文本:" #: rich_entry.py:225 msgid "URL:" msgstr "URL:" gnome-blog-0.9.1/po/zh_TW.po0000664000076500007650000002004110256522316012514 00000000000000# traditional Chinese translation of gnome-blog. # Copyright (C) 2005 Free Software Foundation, Inc. # Abel Cheung , 2005. # msgid "" msgstr "" "Project-Id-Version: gnome-blog 0.9\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-06-12 13:34+0800\n" "PO-Revision-Date: 2005-06-23 20:02+0800\n" "Last-Translator: Abel Cheung \n" "Language-Team: Chinese (traditional) \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit" #: ../GNOME_BlogApplet.server.in.in.h:1 msgid "Accessories" msgstr "附屬應用程式" #: ../GNOME_BlogApplet.server.in.in.h:2 ../gnome-blog.desktop.in.h:1 msgid "Blog Entry Poster" msgstr "撰寫網誌" #: ../GNOME_BlogApplet.server.in.in.h:3 msgid "Post entries to a web log" msgstr "在網誌張貼文章" #: ../GNOME_BlogApplet.xml.h:1 msgid "_About..." msgstr "關於(_A)..." #: ../GNOME_BlogApplet.xml.h:2 msgid "_Preferences..." msgstr "偏好設定(_P)..." #: ../blog_applet.py:36 msgid "About" msgstr "關於" #: ../blog_applet.py:39 msgid "Blog" msgstr "網誌" #: ../blog_applet.py:75 msgid "A GNOME Web Blogging Applet" msgstr "GNOME 網誌撰寫面板程式" # (Abel) 1st %s is name, 2nd %s is URL #: ../blog_applet.py:110 #, python-format msgid "Create a blog entry for %s at %s" msgstr "撰寫 %s 的網誌 (%s)" #: ../blog_poster.py:44 msgid "_Post Entry" msgstr "張貼文章(_P)" #: ../blog_poster.py:69 msgid "Preferences..." msgstr "偏好設定..." #: ../blog_poster.py:81 msgid "Title:" msgstr "標題:" #: ../blog_poster.py:116 msgid "Couldn't upload images" msgstr "無法上傳圖片" #: ../blog_poster.py:116 msgid "The blog protocol in use does not support uploading images" msgstr "網誌所用的通訊協定不支援上傳圖片" #: ../blog_poster.py:163 msgid "Blog Entry is Blank" msgstr "網誌沒有內容" #: ../blog_poster.py:163 msgid "" "No text was entered in the blog entry box. Please enter some text and try " "again" msgstr "" "網誌的文字框中沒有任何內容,請輸入內容並再試一次。" #: ../blogger_prefs.py:19 msgid "Blogger Preferences" msgstr "網誌程式偏好設定" #: ../blogger_prefs.py:39 msgid "Self-Run MovableType" msgstr "自行設定的 MovableType" #: ../blogger_prefs.py:40 msgid "Self-Run Pyblosxom" msgstr "自行設定的 Pyblosxom" #: ../blogger_prefs.py:41 msgid "Self-Run WordPress" msgstr "自行設定的 WordPress" #: ../blogger_prefs.py:42 msgid "Self-Run Other" msgstr "自行設定的其它軟體" #: ../blogger_prefs.py:46 msgid "Blog Type:" msgstr "網誌軟體:" #: ../blogger_prefs.py:56 msgid "Blog Protocol:" msgstr "網誌通訊協定:" #: ../blogger_prefs.py:60 msgid "Blog Base URL:" msgstr "網誌主頁 URL:" # (Abel) This should be "Blog category"! #: ../blogger_prefs.py:62 msgid "Blog Name:" msgstr "網誌分類:" #: ../blogger_prefs.py:64 msgid "Lookup Blogs" msgstr "搜索網誌" #: ../blogger_prefs.py:74 msgid "Username:" msgstr "用戶名稱:" #: ../blogger_prefs.py:75 msgid "Password:" msgstr "密碼:" #: ../blogger_prefs.py:117 ../blogger_prefs.py:137 ../blogger_prefs.py:142 #: ../blogger_prefs.py:147 ../blogger_prefs.py:153 msgid "XML-RPC URL:" msgstr "XML-RPC URL:" #: ../blogger_prefs.py:122 ../blogger_prefs.py:127 ../blogger_prefs.py:132 msgid "Base Blog URL:" msgstr "網誌主頁 URL:" #: ../blogger_prefs.py:161 msgid "Unknown blog type" msgstr "網誌類型不詳" #: ../blogger_prefs.py:161 msgid "The detected blog type is not among the list of supported blogs" msgstr "偵測到的網誌類型不屬於任何已支援的類型" #: ../gnome-blog.desktop.in.h:2 msgid "Post an entry to a web log" msgstr "在網誌張貼文章" #: ../gnomeblog.schemas.in.h:1 msgid "Password to use in accessing the blog" msgstr "存取網誌時所用的密碼" #: ../gnomeblog.schemas.in.h:2 msgid "Protocol to use in accessing the blog" msgstr "存取網誌時所用的通訊協定" #: ../gnomeblog.schemas.in.h:3 msgid "Suffix to attach to the base URL (e.g. \"xmlrpc.cgi\")" msgstr "URL 後附加的後置字串 (例如 ‘xmlrpc.cgi’)" #: ../gnomeblog.schemas.in.h:4 msgid "The application's preferences have been initialized" msgstr "已經初始化了程式的偏好設定" #: ../gnomeblog.schemas.in.h:5 msgid "The id or name of the particular blog to use on the XML-RPC server" msgstr "XML-RPC 伺服器中的網誌分類或者 ID" #: ../gnomeblog.schemas.in.h:6 msgid "URL to the bloggerAPI compatible XML-RPC server" msgstr "兼容 bloggerAPI 的 XMP-RPC 伺服器 URL" #: ../gnomeblog.schemas.in.h:7 msgid "Username to use in accessing the blog" msgstr "存取網誌時所用的用戶名稱" #: ../hig_alert.py:15 #, python-format msgid "URL '%s' may not be a valid bloggerAPI. XML-RPC Server reported: %s." msgstr "URL ‘%s’ 可能是無效的 bloggerAPI。XML-RPC 伺服器傳回的訊息為:%s" #: ../hig_alert.py:17 #, python-format msgid "" "Unknown username %s or password trying to post blog entry to XML-RPC server %" "s." msgstr "" "使用了錯誤的帳號 %s 或密碼來在 XML-RPC 伺服器 %s 張貼網誌。" #: ../hig_alert.py:19 #, python-format msgid "" "Could not post to blog '%s' at bloggerAPI XML-RPC server '%s'. Server " "reported: %s." msgstr "" "無法張貼 ‘%s’ 至 bloggerAPI XML-RPC 伺服器 ‘%s’。伺服器回傳訊息為:%s。" #: ../hig_alert.py:21 #, python-format msgid "" "The bloggerAPI server (%s) reported an error I don't understand: '%s, %s'. \n" "\n" "Please email this error message to seth@gnome.org so I can address it." msgstr "" "bloggerAPI 伺服器 (%s) 回傳無法理解的錯誤訊息:‘%s, %s’。\n" "\n" "請向 seth@gnome.org 報告錯誤,好讓程式作者能夠修正問題。" #: ../protocols/advogato.py:27 ../protocols/advogato.py:30 #: ../protocols/advogato.py:42 ../protocols/bloggerAPI.py:61 #: ../protocols/bloggerAPI.py:89 ../protocols/livejournal.py:35 #: ../protocols/livejournal.py:64 msgid "Could not post Blog entry" msgstr "無法張貼網誌文章" #: ../protocols/advogato.py:27 msgid "Your username is invalid. Please double-check the preferences." msgstr "用戶名稱無效。請更改設定。" #: ../protocols/advogato.py:30 ../protocols/livejournal.py:35 msgid "" "Your username or password is invalid. Please double-check the preferences." msgstr "" "用戶名稱或密碼無效。請更改設定。" #: ../protocols/advogato.py:39 ../protocols/bloggerAPI.py:86 #: ../protocols/livejournal.py:61 msgid "Could not post blog entry" msgstr "無法張貼網誌文章" #: ../protocols/advogato.py:42 ../protocols/bloggerAPI.py:38 #: ../protocols/bloggerAPI.py:89 #, python-format msgid "" "URL '%s' does not seem to be a valid bloggerAPI XML-RPC server. Web server " "reported: %s." msgstr "" "URL ‘%s’ 似乎是無效的 bloggerAPI XML-RPC 伺服器。網頁伺服器傳回的訊息為:" "%s" #: ../protocols/bloggerAPI.py:35 ../protocols/bloggerAPI.py:38 msgid "Could not get list of blogs" msgstr "無法讀取網誌清單" #: ../protocols/bloggerAPI.py:61 msgid "" "No XML-RPC server URL to post blog entries to is set, or the value could not " "be retrieved from GConf. Your entry will remain in the blogger window." msgstr "" "未指定 XML-RPC 伺服器的網址,或者無法由 GConf 取得設定。您的網誌內容會保留在" "視窗裡面。" #: ../protocols/livejournal.py:64 #, python-format msgid "" "URL '%s' does not seem to be a valid LiveJournal XML-RPC server. Web server " "reported: %s." msgstr "" "URL ‘%s’ 似乎是無效的 LiveJournal XML-RPC 伺服器。網頁伺服器傳回的訊息為:" "%s" #: ../rich_entry.py:144 ../rich_entry.py:152 msgid "Could not load dragged in image" msgstr "無法載入被拖曳的圖片" #: ../rich_entry.py:145 ../rich_entry.py:153 #, python-format msgid "Error loading %s was: %s" msgstr "載入 %s 發生錯誤:%s" #: ../rich_entry.py:210 msgid "Add _Link..." msgstr "加入鏈結(_L)..." #: ../rich_entry.py:215 msgid "Add Link" msgstr "加入鏈結" #: ../rich_entry.py:218 msgid "_Add Link" msgstr "加入鏈結(_A)" #: ../rich_entry.py:226 msgid "Text:" msgstr "文字:" #: ../rich_entry.py:229 msgid "URL:" msgstr "網址:" gnome-blog-0.9.1/po/bg.po0000664000076500007650000002464410251560612012062 00000000000000# Bulgarian translation of gnome-blog. # Copyright (C) 2004 THE gnome-blog'S COPYRIGHT HOLDER # This file is distributed under the same license as the gnome-blog package. # Vladimir Petkov , 2004. # Vladimir Petkov , 2005. # msgid "" msgstr "" "Project-Id-Version: gnome-blog HEAD\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-06-08 15:17+0300\n" "PO-Revision-Date: 2005-06-08 15:10+0300\n" "Last-Translator: Vladimir Petkov \n" "Language-Team: Bulgarian \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" #: ../GNOME_BlogApplet.server.in.in.h:1 msgid "Accessories" msgstr "Помощни" #: ../GNOME_BlogApplet.server.in.in.h:2 ../gnome-blog.desktop.in.h:1 msgid "Blog Entry Poster" msgstr "Интерфейс за публикуване в блогове" #: ../GNOME_BlogApplet.server.in.in.h:3 msgid "Post entries to a web log" msgstr "Публикуване на записи в интернет дневници" #: ../GNOME_BlogApplet.xml.h:1 msgid "_About..." msgstr "_Относно..." #: ../GNOME_BlogApplet.xml.h:2 msgid "_Preferences..." msgstr "_Настройки..." #: ../blog_applet.py:36 msgid "About" msgstr "Относно" #: ../blog_applet.py:39 msgid "Blog" msgstr "Блог" #: ../blog_applet.py:76 msgid "A GNOME Web Blogging Applet" msgstr "Аплет за блогване" #: ../blog_applet.py:111 #, python-format msgid "Create a blog entry for %s at %s" msgstr "Публикуване в блог за %s на %s" #: ../blog_poster.py:44 msgid "_Post Entry" msgstr "_Публикуване" #: ../blog_poster.py:69 msgid "Preferences..." msgstr "Настройки..." #: ../blog_poster.py:81 msgid "Title:" msgstr "Заглавие:" #: ../blog_poster.py:116 msgid "Couldn't upload images" msgstr "Изображенията не могат да бъдат качени" #: ../blog_poster.py:116 msgid "The blog protocol in use does not support uploading images" msgstr "" "Протоколът за публикуване, който е в употреба, не поддържа качването на " "изображения" #: ../blog_poster.py:163 msgid "Blog Entry is Blank" msgstr "Публикацията е празна" #: ../blog_poster.py:163 msgid "" "No text was entered in the blog entry box. Please enter some text and try " "again" msgstr "" "Не сте въвели нищо в полето за въвеждането на текст. Добавете някакъв текст " "и опитайте отново." #: ../blogger_prefs.py:19 msgid "Blogger Preferences" msgstr "Настройки" #: ../blogger_prefs.py:39 msgid "Self-Run MovableType" msgstr "MovableType (Поддържан от мен)" #: ../blogger_prefs.py:40 msgid "Self-Run Pyblosxom" msgstr "Pyblosxom (Поддържан от мен)" #: ../blogger_prefs.py:41 msgid "Self-Run WordPress" msgstr "WordPress (Поддържан от мен)" #: ../blogger_prefs.py:42 msgid "Self-Run Other" msgstr "Друг тип дневник" #: ../blogger_prefs.py:46 msgid "Blog Type:" msgstr "Тип на блога:" #: ../blogger_prefs.py:56 msgid "Blog Protocol:" msgstr "Протокол на блога:" #: ../blogger_prefs.py:60 msgid "Blog Base URL:" msgstr "Базов адрес на блога:" #: ../blogger_prefs.py:62 msgid "Blog Name:" msgstr "Име на блога:" #: ../blogger_prefs.py:64 msgid "Lookup Blogs" msgstr "Преглед на блогове" #: ../blogger_prefs.py:74 msgid "Username:" msgstr "Потребител:" #: ../blogger_prefs.py:75 msgid "Password:" msgstr "Парола:" #: ../blogger_prefs.py:117 ../blogger_prefs.py:137 ../blogger_prefs.py:142 #: ../blogger_prefs.py:147 ../blogger_prefs.py:153 msgid "XML-RPC URL:" msgstr "Адрес, тип XML-RPC:" #: ../blogger_prefs.py:122 ../blogger_prefs.py:127 ../blogger_prefs.py:132 msgid "Base Blog URL:" msgstr "Базов адрес на блога:" #: ../blogger_prefs.py:161 msgid "Unknown blog type" msgstr "Блог от неизвестен тип" #: ../blogger_prefs.py:161 msgid "The detected blog type is not among the list of supported blogs" msgstr "Засеченият тип блог не е в списъка с поддържаните от системата блогове" #: ../gnome-blog.desktop.in.h:2 msgid "Post an entry to a web log" msgstr "Публикуване в блога" #: ../gnomeblog.schemas.in.h:1 msgid "Password to use in accessing the blog" msgstr "Парола, за достъпването на блога" #: ../gnomeblog.schemas.in.h:2 msgid "Protocol to use in accessing the blog" msgstr "Протокол за достъпването на блога" #: ../gnomeblog.schemas.in.h:3 msgid "Suffix to attach to the base URL (e.g. \"xmlrpc.cgi\")" msgstr "Наставка за добавяне към базовия адрес (например \"xmlrpc.cgi\")" #: ../gnomeblog.schemas.in.h:4 msgid "The application's preferences have been initialized" msgstr "Промените в настройките на програмата бяха инициализирани" #: ../gnomeblog.schemas.in.h:5 msgid "The id or name of the particular blog to use on the XML-RPC server" msgstr "Името или идентификацията на дневника за употреба на XML-RPC сървъра." #: ../gnomeblog.schemas.in.h:6 msgid "URL to the bloggerAPI compatible XML-RPC server" msgstr "URL към сървър базиран на XML-RPC, който поддържа bloggerAPI" #: ../gnomeblog.schemas.in.h:7 msgid "Username to use in accessing the blog" msgstr "Потребител, чрез който да достъпвате блога" #: ../hig_alert.py:15 #, python-format msgid "URL '%s' may not be a valid bloggerAPI. XML-RPC Server reported: %s." msgstr "" "Възможно е URL \"%s\" да не поддържа bloggerAPI. Сървърът използващ XML-RPC " "върна следния отговор: %s." #: ../hig_alert.py:17 #, python-format msgid "" "Unknown username %s or password trying to post blog entry to XML-RPC server %" "s." msgstr "" "Непознато потербителско име \"%s\" или парола при опит за публикуване в " "сървър базиран на XML-RPC %s." #: ../hig_alert.py:19 #, python-format msgid "" "Could not post to blog '%s' at bloggerAPI XML-RPC server '%s'. Server " "reported: %s." msgstr "" "Неуспех при опит за публикуване в блога \"%s\", който се намира на сървър " "базиран ан на XML-RPC server - \"%s\". Отговорът от сървъра е: %s." #: ../hig_alert.py:21 #, python-format msgid "" "The bloggerAPI server (%s) reported an error I don't understand: '%s, %s'. \n" "\n" "Please email this error message to seth@gnome.org so I can address it." msgstr "" "Сървърът базиран на bloggerAPI (%s) върна неразбираема грешка: \"%s, %s\". \n" "\n" "Моля, пратете описанието на грешката на seth@gnome.org, за да може тя да " "бъде отстранена." #: ../protocols/advogato.py:27 ../protocols/advogato.py:30 #: ../protocols/advogato.py:42 ../protocols/bloggerAPI.py:61 #: ../protocols/bloggerAPI.py:89 ../protocols/livejournal.py:35 #: ../protocols/livejournal.py:64 msgid "Could not post Blog entry" msgstr "Грешка при публикуването" #: ../protocols/advogato.py:27 msgid "Your username is invalid. Please double-check the preferences." msgstr "" "Името, което сте въвели е невалидно. Проверете настройките, които сте задали." #: ../protocols/advogato.py:30 ../protocols/livejournal.py:35 msgid "" "Your username or password is invalid. Please double-check the preferences." msgstr "" "Името и паролата са невалидни. Проверете повторно настройките, които сте " "задали." #: ../protocols/advogato.py:39 ../protocols/bloggerAPI.py:86 #: ../protocols/livejournal.py:61 msgid "Could not post blog entry" msgstr "Публикуването е неуспешно" #: ../protocols/advogato.py:42 ../protocols/bloggerAPI.py:38 #: ../protocols/bloggerAPI.py:89 #, python-format msgid "" "URL '%s' does not seem to be a valid bloggerAPI XML-RPC server. Web server " "reported: %s." msgstr "" "URL-то \"%s\" изглежда не е валиден сървър базиран на XML-RPC, който да " "поддържа bloggerAPI. Сървърът върна следния отговор: %s." #: ../protocols/bloggerAPI.py:35 ../protocols/bloggerAPI.py:38 msgid "Could not get list of blogs" msgstr "Списъкът с блоговете не беше взет" #: ../protocols/bloggerAPI.py:61 msgid "" "No XML-RPC server URL to post blog entries to is set, or the value could not " "be retrieved from GConf. Your entry will remain in the blogger window." msgstr "" "Не е зададен адрес на URL на сървър базиран на XML-RPC за публикуване на " "статии в блог. Подобен адрес няма и в GConf. Статията Ви ще остане в " "прозореца за публикуване в блог." #: ../protocols/livejournal.py:64 #, python-format msgid "" "URL '%s' does not seem to be a valid LiveJournal XML-RPC server. Web server " "reported: %s." msgstr "" "URL-то \"%s\" изглежда не е валиден сървър базиран на XML-RPC, който да " "поддържа LiveJournal. Сървърът върна следния отговор: %s.<" #: ../rich_entry.py:144 ../rich_entry.py:152 msgid "Could not load dragged in image" msgstr "Зареждането на изтегленото изображение е неуспешно" #: ../rich_entry.py:145 ../rich_entry.py:153 #, python-format msgid "Error loading %s was: %s" msgstr "Грешка при зареждане на %s беше: %s" #: ../rich_entry.py:210 msgid "Add _Link..." msgstr "Добавяне на _връзка..." #: ../rich_entry.py:215 msgid "Add Link" msgstr "Добавяне на връзка" #: ../rich_entry.py:218 msgid "_Add Link" msgstr "_Добавяне на връзка" #: ../rich_entry.py:226 msgid "Text:" msgstr "Текст:" #: ../rich_entry.py:229 msgid "URL:" msgstr "Адрес:" gnome-blog-0.9.1/po/ca.po0000664000076500007650000002074310221760375012056 00000000000000# Catalan translation of gnome-blog. # Copyright © 2003, 2004, 2005 Free Software Foundation, Inc. # This file is distributed under the same license as the gnome-blog package. # Jordi Mallach , 2003, 2004. # Aleix Badia i Bosch , 2003, 2004, 2005. # msgid "" msgstr "" "Project-Id-Version: gnome-blog\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-03-28 12:40+0200\n" "PO-Revision-Date: 2005-03-28 12:44+0200\n" "Last-Translator: Aleix Badia i Bosch \n" "Language-Team: catalan \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../GNOME_BlogApplet.server.in.in.h:1 msgid "Accessories" msgstr "Accessoris" #: ../GNOME_BlogApplet.server.in.in.h:2 ../gnome-blog.desktop.in.h:1 msgid "Blog Entry Poster" msgstr "Envia entrades de bloc" #: ../GNOME_BlogApplet.server.in.in.h:3 msgid "Post entries to a web log" msgstr "Envia entrades a un bloc" #: ../GNOME_BlogApplet.xml.h:1 msgid "_About..." msgstr "_Quant a..." #: ../GNOME_BlogApplet.xml.h:2 msgid "_Preferences..." msgstr "_Preferències..." #: ../blog_applet.py:35 msgid "About" msgstr "Quant a" #: ../blog_applet.py:38 msgid "Blog" msgstr "Bloc" #: ../blog_applet.py:73 msgid "A GNOME Web Blogging Applet" msgstr "Miniaplicació de bloc web de GNOME" #: ../blog_applet.py:108 #, python-format msgid "Create a blog entry for %s at %s" msgstr "Crea una entrada de bloc per %s en %s" #: ../blog_poster.py:44 msgid "_Post Entry" msgstr "_Envia una entrada" #: ../blog_poster.py:69 msgid "Preferences..." msgstr "Preferències..." #: ../blog_poster.py:81 msgid "Title:" msgstr "Títol:" #: ../blog_poster.py:116 msgid "Couldn't upload images" msgstr "No s'ha pogut pujar imatges" #: ../blog_poster.py:116 msgid "The blog protocol in use does not support uploading images" msgstr "El protocol de bloc en ús no suporta la pujada d'imatges" #: ../blog_poster.py:163 msgid "Blog Entry is Blank" msgstr "L'entrada del bloc és buida" #: ../blog_poster.py:163 msgid "" "No text was entered in the blog entry box. Please enter some text and try " "again" msgstr "" "No s'ha introduït cap text a la caixa d'entrada del bloc. Si us plau, " "introduïu el text i torneu a provar" #: ../blogger_prefs.py:19 msgid "Blogger Preferences" msgstr "Preferències del bloc" #: ../blogger_prefs.py:38 msgid "Self-Run MovableType" msgstr "MovableType personal" #: ../blogger_prefs.py:39 msgid "Self-Run Pyblosxom" msgstr "Pybloxsom personal" #: ../blogger_prefs.py:40 msgid "Self-Run WordPress" msgstr "WordPress personal" #: ../blogger_prefs.py:41 msgid "Self-Run Other" msgstr "Altre personal" #: ../blogger_prefs.py:45 msgid "Blog Type:" msgstr "Tipus de bloc:" #: ../blogger_prefs.py:55 msgid "Blog Protocol:" msgstr "Protocol del bloc:" #: ../blogger_prefs.py:59 msgid "Blog Base URL:" msgstr "URL principal del bloc:" #: ../blogger_prefs.py:61 msgid "Blog Name:" msgstr "Nom del bloc:" #: ../blogger_prefs.py:63 msgid "Lookup Blogs" msgstr "Cerca els blocs" #: ../blogger_prefs.py:73 msgid "Username:" msgstr "Nom d'usuari:" #: ../blogger_prefs.py:74 msgid "Password:" msgstr "Contrasenya:" #: ../blogger_prefs.py:116 ../blogger_prefs.py:136 ../blogger_prefs.py:141 #: ../blogger_prefs.py:147 msgid "XML-RPC URL:" msgstr "URL de XML-RPC:" #: ../blogger_prefs.py:121 ../blogger_prefs.py:126 ../blogger_prefs.py:131 msgid "Base Blog URL:" msgstr "URL del bloc principal:" #: ../blogger_prefs.py:155 msgid "Unknown blog type" msgstr "Es desconeix el tipus del bloc" #: ../blogger_prefs.py:155 msgid "The detected blog type is not among the list of supported blogs" msgstr "El tipus del bloc no és a la llista de blocs suportats" #: ../gnome-blog.desktop.in.h:2 msgid "Post an entry to a web log" msgstr "Envia una entrada a un bloc" #: ../gnomeblog.schemas.in.h:1 msgid "Password to use in accessing the blog" msgstr "Contrasenya per accedir al bloc" #: ../gnomeblog.schemas.in.h:2 msgid "Protocol to use in accessing the blog" msgstr "Protocol per accedir al bloc" #: ../gnomeblog.schemas.in.h:3 msgid "Suffix to attach to the base URL (e.g. \"xmlrpc.cgi\")" msgstr "Sufix a afegir a la URL base (per exemple \"xmlrpc.cgi\")" #: ../gnomeblog.schemas.in.h:4 msgid "The application's preferences have been initialized" msgstr "S'han inicialitzat les prefèrencies de l'aplicació" #: ../gnomeblog.schemas.in.h:5 msgid "The id or name of the particular blog to use on the XML-RPC server" msgstr "" "L'identificador o nom del bloc particular a utilitzar al servidor de XML-RPC" #: ../gnomeblog.schemas.in.h:6 msgid "URL to the bloggerAPI compatible XML-RPC server" msgstr "URL del servidor de XML-RPC compatible amb el bloggerAPI" #: ../gnomeblog.schemas.in.h:7 msgid "Username to use in accessing the blog" msgstr "Nom d'usuari per accedir al bloc" #: ../hig_alert.py:13 #, python-format msgid "URL '%s' may not be a valid bloggerAPI. XML-RPC Server reported: %s." msgstr "" "El bloggerAPI de l'URL '%s' probablement no és vàlid. L'informe del servidor " "d'XML-RPC és: %s." #: ../hig_alert.py:15 #, python-format msgid "" "Unknown username %s or password trying to post blog entry to XML-RPC server %" "s." msgstr "" "El servidor d'XML-RPC %s on s'està intentant enviar l'entrada de bloc, no " "reconeix l'usuari %s o la contrasenya." #: ../hig_alert.py:17 #, python-format msgid "" "Could not post to blog '%s' at bloggerAPI XML-RPC server '%s'. Server " "reported: %s." msgstr "" "No s'ha pogut enviar al bloc '%s' al servidor '%s' d'XML-RPC del bloggerAPI. " "L'informe del servidor és: %s." #: ../hig_alert.py:19 #, python-format msgid "" "The bloggerAPI server (%s) reported an error I don't understand: '%s, %s'. \n" "\n" "Please email this error message to seth@gnome.org so I can address it." msgstr "" "L'API del servidor de bloc (%s) informa d'un error desconegut: '%s, %s'.\n" "\n" "Envieu un correu electrònic amb el missatge d'error a seth@gnome.org per " "poder solucionar-lo." #: ../protocols/advogato.py:27 ../protocols/advogato.py:30 #: ../protocols/advogato.py:42 ../protocols/bloggerAPI.py:62 #: ../protocols/bloggerAPI.py:90 ../protocols/livejournal.py:35 #: ../protocols/livejournal.py:64 msgid "Could not post Blog entry" msgstr "N'ha pogut enviar l'entrada del bloc" #: ../protocols/advogato.py:27 msgid "Your username is invalid. Please double-check the preferences." msgstr "El nom d'usuari no és vàlid. Comproveu les preferències." #: ../protocols/advogato.py:30 ../protocols/livejournal.py:35 msgid "" "Your username or password is invalid. Please double-check the preferences." msgstr "" "El nom d'usuari o contrasenya no són vàlids. Comproveu les preferències." #: ../protocols/advogato.py:39 ../protocols/bloggerAPI.py:87 #: ../protocols/livejournal.py:61 msgid "Could not post blog entry" msgstr "No s'ha pogut enviar l'entrada del bloc" #: ../protocols/advogato.py:42 ../protocols/bloggerAPI.py:39 #: ../protocols/bloggerAPI.py:90 #, python-format msgid "" "URL '%s' does not seem to be a valid bloggerAPI XML-RPC server. Web server " "reported: %s." msgstr "" "L'URL '%s' no sembla ser un servidor d'XML-RPC del bloggerAPI vàlid. " "L'informe del servidor web és: %s." #: ../protocols/bloggerAPI.py:36 ../protocols/bloggerAPI.py:39 msgid "Could not get list of blogs" msgstr "No s'ha pogut obtenir la llista de blocs" #: ../protocols/bloggerAPI.py:62 msgid "" "No XML-RPC server URL to post blog entries to is set, or the value could not " "be retrieved from GConf. Your entry will remain in the blogger window." msgstr "" "No s'ha definit cap URL de servidor XMP-RPC on enviar les entrades del bloc, " "o no s'ha pogut obtenir del GConf. L'entrada es mantindrà a la finestra de " "bloc." #: ../protocols/livejournal.py:64 #, python-format msgid "" "URL '%s' does not seem to be a valid LiveJournal XML-RPC server. Web server " "reported: %s." msgstr "" "L'URL '%s' no sembla ser un servidor d'XML-RPC del LiveJournal vàlid. " "L'informe del servidor web és: %s." #: ../rich_entry.py:144 ../rich_entry.py:152 msgid "Could not load dragged in image" msgstr "No s'ha pogut carregar la imatge arrossegada" #: ../rich_entry.py:145 ../rich_entry.py:153 #, python-format msgid "Error loading %s was: %s" msgstr "L'error en carregar %s ha sigut: %s" #: ../rich_entry.py:210 msgid "Add _Link..." msgstr "Afegeix un en_llaç..." #: ../rich_entry.py:215 msgid "Add Link" msgstr "Afegeix un enllaç" #: ../rich_entry.py:216 msgid "_Add Link" msgstr "_Afegeix un enllaç" #: ../rich_entry.py:224 msgid "Text:" msgstr "Text:" #: ../rich_entry.py:227 msgid "URL:" msgstr "URL:" gnome-blog-0.9.1/po/az.po0000664000076500007650000001741010171157777012114 00000000000000# gnome-blog.HEAD.po faylının Azərbaycan Dilinə tərcüməsi # gnome-blog.HEAD.po faylının Azərbaycan dilinə tərcüməsi # This file is distributed under the same license as the PACKAGE package. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # Mətin Əmirov , 2003 # msgid "" msgstr "" "Project-Id-Version: gnome-blog.HEAD\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-01-12 03:10-0500\n" "PO-Revision-Date: 2003-10-09 20:09+0300\n" "Last-Translator: Mətin Əmirov \n" "Language-Team: Azərbaycan Dili \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.0.1\n" #: GNOME_BlogApplet.server.in.in.h:1 msgid "Accessories" msgstr "Ləvazimatlar" #: GNOME_BlogApplet.server.in.in.h:2 gnome-blog.desktop.in.h:1 msgid "Blog Entry Poster" msgstr "Qeyd Girişi Göndəricisi" #: GNOME_BlogApplet.server.in.in.h:3 msgid "Post entries to a web log" msgstr "Veb üstündə tutulan qeydə girişlər göndər" #: GNOME_BlogApplet.xml.h:1 msgid "_About..." msgstr "_Haqqında..." #: GNOME_BlogApplet.xml.h:2 msgid "_Preferences..." msgstr "_Qurğular..." #: blog_applet.py:35 msgid "About" msgstr "Haqqında" #: blog_applet.py:38 msgid "Blog" msgstr "Qeyd" #: blog_applet.py:73 msgid "A GNOME Web Blogging Applet" msgstr "GNOME Vebə Qeyd Göndərmə Appleti" #: blog_applet.py:108 #, python-format msgid "Create a blog entry for %s at %s" msgstr "" #: blog_poster.py:44 msgid "_Post Entry" msgstr "Giriş _Göndər" #: blog_poster.py:69 #, fuzzy msgid "Preferences..." msgstr "_Qurğular..." #: blog_poster.py:81 msgid "Title:" msgstr "Başlıq:" #: blog_poster.py:116 msgid "Couldn't upload images" msgstr "" #: blog_poster.py:116 msgid "The blog protocol in use does not support uploading images" msgstr "" #: blog_poster.py:163 msgid "Blog Entry is Blank" msgstr "Qeyd Girişi Boşdur" #: blog_poster.py:163 msgid "" "No text was entered in the blog entry box. Please enter some text and try " "again" msgstr "" #: blogger_prefs.py:19 msgid "Blogger Preferences" msgstr "Blogger Qurğuları" #: blogger_prefs.py:38 msgid "Self-Run MovableType" msgstr "Öz-İcra Daşına Bilən Növ" #: blogger_prefs.py:39 #, fuzzy msgid "Self-Run Pyblosxom" msgstr "Öz-İcra Pybloxsom" #: blogger_prefs.py:40 #, fuzzy msgid "Self-Run WordPress" msgstr "Öz-İcra Digərləri" #: blogger_prefs.py:41 msgid "Self-Run Other" msgstr "Öz-İcra Digərləri" #: blogger_prefs.py:45 msgid "Blog Type:" msgstr "Qeyd Növü:" #: blogger_prefs.py:55 msgid "Blog Protocol:" msgstr "Qeyd Protokolu:" #: blogger_prefs.py:59 msgid "Blog Base URL:" msgstr "Qeyd Bazası URL-si:" #: blogger_prefs.py:61 msgid "Blog Name:" msgstr "Qeyd Adı:" #: blogger_prefs.py:63 msgid "Lookup Blogs" msgstr "Qeydləri Axtar" #: blogger_prefs.py:73 msgid "Username:" msgstr "İstifadəçi Adı:" #: blogger_prefs.py:74 msgid "Password:" msgstr "Şifrə:" #: blogger_prefs.py:116 blogger_prefs.py:136 blogger_prefs.py:141 #: blogger_prefs.py:147 msgid "XML-RPC URL:" msgstr "XML-RPC URL-si:" #: blogger_prefs.py:121 blogger_prefs.py:126 blogger_prefs.py:131 msgid "Base Blog URL:" msgstr "Əsas Qeyd URL-si:" #: blogger_prefs.py:155 msgid "Unknown blog type" msgstr "" #: blogger_prefs.py:155 msgid "The detected blog type is not among the list of supported blogs" msgstr "" #: gnome-blog.desktop.in.h:2 msgid "Post an entry to a web log" msgstr "Veb üstündə tutulan qeydə giriş göndər" #: gnomeblog.schemas.in.h:1 msgid "Password to use in accessing the blog" msgstr "Qeydə yetişmək üçün işlədiləcək şifrə" #: gnomeblog.schemas.in.h:2 msgid "Protocol to use in accessing the blog" msgstr "Qeydlərə yetişmək üçün işlədiləcək protokol" #: gnomeblog.schemas.in.h:3 msgid "Suffix to attach to the base URL (e.g. \"xmlrpc.cgi\")" msgstr "Əsas URL-yə ilişdiriləcək şəkilçi (məs. \"xmlrpc.cgi\")" #: gnomeblog.schemas.in.h:4 msgid "The application's preferences have been initialized" msgstr "Proqramın qurğuları hazırlandı" #: gnomeblog.schemas.in.h:5 msgid "The id or name of the particular blog to use on the XML-RPC server" msgstr "Xüsusi qeydin XML-RPC vericisi üstündə işlədiləcək id-si ya da adı" #: gnomeblog.schemas.in.h:6 msgid "URL to the bloggerAPI compatible XML-RPC server" msgstr "bloggerAPI-sini dəstəkləyən XML-RPC vericisinə gedən URL" #: gnomeblog.schemas.in.h:7 msgid "Username to use in accessing the blog" msgstr "Qeydə yetişmək üçün işlədiləcək istifadəçi adı" #: hig_alert.py:13 #, fuzzy, python-format msgid "URL '%s' may not be a valid bloggerAPI. XML-RPC Server reported: %s." msgstr "" "'%s' URL-si hökmlü bloggerAPI-si olmaya bilər. XML-RPC Vericinin raportu: " "%s." #: hig_alert.py:15 #, fuzzy, python-format msgid "" "Unknown username %s or password trying to post blog entry to XML-RPC server %" "s." msgstr "" "Namə'lum istifadəçi adı %s ya da şifrə " "bildirildiyinə görəqeyd %s XML-RPC vericisinə " "göndərilə bilmədi." #: hig_alert.py:17 #, fuzzy, python-format msgid "" "Could not post to blog '%s' at bloggerAPI XML-RPC server '%s'. Server " "reported: %s." msgstr "" "'%s' qeydi bloggerAPI XML-RPC vericisinə göndərilə bilmədi '%s'. Vericinin " "raportu: %s." #: hig_alert.py:19 #, fuzzy, python-format msgid "" "The bloggerAPI server (%s) reported an error I don't understand: '%s, %s'. \n" "\n" "Please email this error message to seth@gnome.org so I can address it." msgstr "" "bloggerAPI vericisi (%s) namə'lum xəta verdi: '%s, %" "s'. \n" "\n" "Xahiş edirik bu ismarışı seth@gnome.org önvanına göndərin." #: protocols/advogato.py:27 protocols/advogato.py:30 protocols/advogato.py:42 #: protocols/bloggerAPI.py:62 protocols/bloggerAPI.py:90 #: protocols/livejournal.py:35 protocols/livejournal.py:64 msgid "Could not post Blog entry" msgstr "" #: protocols/advogato.py:27 msgid "Your username is invalid. Please double-check the preferences." msgstr "" #: protocols/advogato.py:30 protocols/livejournal.py:35 msgid "" "Your username or password is invalid. Please double-check the preferences." msgstr "" #: protocols/advogato.py:39 protocols/bloggerAPI.py:87 #: protocols/livejournal.py:61 msgid "Could not post blog entry" msgstr "" #: protocols/advogato.py:42 protocols/bloggerAPI.py:39 #: protocols/bloggerAPI.py:90 #, fuzzy, python-format msgid "" "URL '%s' does not seem to be a valid bloggerAPI XML-RPC server. Web server " "reported: %s." msgstr "" "'%s' URL-si hökmlü bloggerAPI-si olmaya bilər. XML-RPC Vericinin raportu: " "%s." #: protocols/bloggerAPI.py:36 protocols/bloggerAPI.py:39 msgid "Could not get list of blogs" msgstr "" #: protocols/bloggerAPI.py:62 msgid "" "No XML-RPC server URL to post blog entries to is set, or the value could not " "be retrieved from GConf. Your entry will remain in the blogger window." msgstr "" #: protocols/livejournal.py:64 #, python-format msgid "" "URL '%s' does not seem to be a valid LiveJournal XML-RPC server. Web server " "reported: %s." msgstr "" #: rich_entry.py:144 rich_entry.py:152 msgid "Could not load dragged in image" msgstr "" #: rich_entry.py:145 rich_entry.py:153 #, python-format msgid "Error loading %s was: %s" msgstr "" #: rich_entry.py:210 #, fuzzy msgid "Add _Link..." msgstr "Körpü Ə_lavə Et" #: rich_entry.py:215 msgid "Add Link" msgstr "Körpü Əlavə Et" #: rich_entry.py:216 msgid "_Add Link" msgstr "Körpü Əlavə _Et" #: rich_entry.py:224 msgid "Text:" msgstr "Mətn:" #: rich_entry.py:227 msgid "URL:" msgstr "URL:" #~ msgid "Post blog entries to Blogger.com" #~ msgstr "Blogger.com saytına qeyd girişlərini göndər" #~ msgid "bloggerAPI" #~ msgstr "bloggerAPI" gnome-blog-0.9.1/po/de.po0000664000076500007650000002112510446065510012054 00000000000000# German GNOME Blog translation # Copyright (C) 2003 Seth Nickell # This file is distributed under the same license as the gnome-blog package. # Christian Neumair , 2003. # Stefan Gollnow , 2004. # # msgid "" msgstr "" "Project-Id-Version: gnome-blog 0.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-01-12 03:10-0500\n" "PO-Revision-Date: 2006-06-15 16:55+0200\n" "Last-Translator: Hendrik Richter \n" "Language-Team: German \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: GNOME_BlogApplet.server.in.in.h:1 msgid "Accessories" msgstr "Zubehör" #: GNOME_BlogApplet.server.in.in.h:2 gnome-blog.desktop.in.h:1 msgid "Blog Entry Poster" msgstr "Blog-Einträge verfassen" #: GNOME_BlogApplet.server.in.in.h:3 msgid "Post entries to a web log" msgstr "Einträge in einem Web-Log veröffentlichen" #: GNOME_BlogApplet.xml.h:1 msgid "_About..." msgstr "_Info …" #: GNOME_BlogApplet.xml.h:2 msgid "_Preferences..." msgstr "_Einstellungen …" #: blog_applet.py:35 msgid "About" msgstr "Info" #: blog_applet.py:38 msgid "Blog" msgstr "Blog" #: blog_applet.py:73 msgid "A GNOME Web Blogging Applet" msgstr "Ein GNOME-Web-Blogging-Applet" #: blog_applet.py:108 #, python-format msgid "Create a blog entry for %s at %s" msgstr "Erstellen eines Blog-Eintrages für %s um %s" #: blog_poster.py:44 msgid "_Post Entry" msgstr "Eintrag _veröffentlichen" #: blog_poster.py:69 msgid "Preferences..." msgstr "Einstellungen …" #: blog_poster.py:81 msgid "Title:" msgstr "Titel:" #: blog_poster.py:116 msgid "Couldn't upload images" msgstr "Konnte die Bilder nicht hochladen" #: blog_poster.py:116 msgid "The blog protocol in use does not support uploading images" msgstr "" "Das verwendete Blog-Protokoll unterstützt nicht das Hochladen von Bildern" #: blog_poster.py:163 msgid "Blog Entry is Blank" msgstr "Blog-Eintrag ist leer" #: blog_poster.py:163 msgid "" "No text was entered in the blog entry box. Please enter some text and try " "again" msgstr "" "Es wurde kein Text in das Blog-Eingabefenster eingetragen. Bitte tragen Sie " "etwas ein und versuchen Sie es erneut." #: blogger_prefs.py:19 msgid "Blogger Preferences" msgstr "Blogger-Einstellungen" #: blogger_prefs.py:38 msgid "Self-Run MovableType" msgstr "Selbst betrieben, MovableType" #: blogger_prefs.py:39 msgid "Self-Run Pyblosxom" msgstr "Selbst betrieben, Pybloxsom" #: blogger_prefs.py:40 msgid "Self-Run WordPress" msgstr "Selbst betrieben, WordPress" #: blogger_prefs.py:41 msgid "Self-Run Other" msgstr "Selbst betrieben, andere" #: blogger_prefs.py:45 msgid "Blog Type:" msgstr "Blog-Typ:" #: blogger_prefs.py:55 msgid "Blog Protocol:" msgstr "Blog-Protokoll:" #: blogger_prefs.py:59 msgid "Blog Base URL:" msgstr "Blog-Basisadresse:" #: blogger_prefs.py:61 msgid "Blog Name:" msgstr "Blog-Name:" #: blogger_prefs.py:63 msgid "Lookup Blogs" msgstr "Blogs nachschlagen" #: blogger_prefs.py:73 msgid "Username:" msgstr "Benutzername:" #: blogger_prefs.py:74 msgid "Password:" msgstr "Passwort:" #: blogger_prefs.py:116 blogger_prefs.py:136 blogger_prefs.py:141 #: blogger_prefs.py:147 msgid "XML-RPC URL:" msgstr "XML-RPC-Adresse:" #: blogger_prefs.py:121 blogger_prefs.py:126 blogger_prefs.py:131 msgid "Base Blog URL:" msgstr "Blog-Basisadresse:" #: blogger_prefs.py:155 msgid "Unknown blog type" msgstr "Unbekannter Blog-Typ" #: blogger_prefs.py:155 msgid "The detected blog type is not among the list of supported blogs" msgstr "" "Der erkannte Blog-Typ ist nicht in der Liste der unterstützten Blogs " "enthalten" #: gnome-blog.desktop.in.h:2 msgid "Post an entry to a web log" msgstr "Einträge in einem Web-Log veröffentlichen" #: gnomeblog.schemas.in.h:1 msgid "Password to use in accessing the blog" msgstr "Zum Zugriff auf das Blog zu verwendendes Passwort" #: gnomeblog.schemas.in.h:2 msgid "Protocol to use in accessing the blog" msgstr "Zum Zugriff auf das BLog zu verwendende Protokoll" #: gnomeblog.schemas.in.h:3 msgid "Suffix to attach to the base URL (e.g. \"xmlrpc.cgi\")" msgstr "An die Basisadresse anzuhängende Adresse (z.B. »xmlrpc.cgi«)" #: gnomeblog.schemas.in.h:4 msgid "The application's preferences have been initialized" msgstr "Die Anwendungseinstellungen wurden initialisiert" #: gnomeblog.schemas.in.h:5 msgid "The id or name of the particular blog to use on the XML-RPC server" msgstr "" "Die Kennung oder der Name des jeweiligen, auf dem XML-RPC-Server zu " "verwendenden Blogs" #: gnomeblog.schemas.in.h:6 msgid "URL to the bloggerAPI compatible XML-RPC server" msgstr "Adresse des bloggerAPI-kompatiblen XML-RPC-Servers" #: gnomeblog.schemas.in.h:7 msgid "Username to use in accessing the blog" msgstr "Zum Zugriff auf das Blog zu verwendender Benutzername" #: hig_alert.py:13 #, python-format msgid "URL '%s' may not be a valid bloggerAPI. XML-RPC Server reported: %s." msgstr "" "Möglicherweise ist die Adresse »%s« keine gültige bloggerAPI. Der XML-RPC-" "Server berichtete: %s." #: hig_alert.py:15 #, python-format msgid "" "Unknown username %s or password trying to post blog entry to XML-RPC server %" "s." msgstr "" "Benutzername %s oder Passwort unbekannt beim Versuch, einen Blog-Eintrag " "beim XML-RPC-Server %s zu veröffentlichen." #: hig_alert.py:17 #, python-format msgid "" "Could not post to blog '%s' at bloggerAPI XML-RPC server '%s'. Server " "reported: %s." msgstr "" "Veröffentlichen in Blog »%s« auf bloggerAPI-XML-RPC-Server »%s« " "fehlgeschlagen. Server berichtete: %s." #: hig_alert.py:19 #, python-format msgid "" "The bloggerAPI server (%s) reported an error I don't understand: '%s, %s'. \n" "\n" "Please email this error message to seth@gnome.org so I can address it." msgstr "" "Der bloggerAPI-Server (%s) berichtete einen unbekannten Fehler: %s, %s.\n" "\n" "Bitte schicken Sie diese Fehlermeldung an seth@gnome.org, damit ich das " "Problem beheben kann." #: protocols/advogato.py:27 protocols/advogato.py:30 protocols/advogato.py:42 #: protocols/bloggerAPI.py:62 protocols/bloggerAPI.py:90 #: protocols/livejournal.py:35 protocols/livejournal.py:64 msgid "Could not post Blog entry" msgstr "Konnte den Blog-Eintrag nicht veröffentlichen" #: protocols/advogato.py:27 msgid "Your username is invalid. Please double-check the preferences." msgstr "" "Der Benutzername ist ungültig. Bitte überprüfen Sie die Einstellungen noch " "einmal." #: protocols/advogato.py:30 protocols/livejournal.py:35 msgid "" "Your username or password is invalid. Please double-check the preferences." msgstr "" "Ihr Benutzername oder Ihr Password ist ungültig. Bitte überprüfen Sie Ihre " "Einstellungen noch einmal." #: protocols/advogato.py:39 protocols/bloggerAPI.py:87 #: protocols/livejournal.py:61 msgid "Could not post blog entry" msgstr "Konnte den Blog-Eintrag nicht erstellen" #: protocols/advogato.py:42 protocols/bloggerAPI.py:39 #: protocols/bloggerAPI.py:90 #, python-format msgid "" "URL '%s' does not seem to be a valid bloggerAPI XML-RPC server. Web server " "reported: %s." msgstr "" "Möglicherweise ist die Adresse »%s« keine gültige bloggerAPI. Der XML-RPC-" "Server berichtete: %s." #: protocols/bloggerAPI.py:36 protocols/bloggerAPI.py:39 msgid "Could not get list of blogs" msgstr "Konnte die Liste der Blogs nicht öffnen" #: protocols/bloggerAPI.py:62 msgid "" "No XML-RPC server URL to post blog entries to is set, or the value could not " "be retrieved from GConf. Your entry will remain in the blogger window." msgstr "" "Keine XML-RPC Server Adresse zum Veröffentlichen der Blog-Einträge " "angebeben, oder dieEinstellung konnte nicht von GConf empfangen werden. Ihr " "Eintrag wird im Blogger-Fenster bleiben." #: protocols/livejournal.py:64 #, python-format msgid "" "URL '%s' does not seem to be a valid LiveJournal XML-RPC server. Web server " "reported: %s." msgstr "" "Die Adresse '%s' scheint auf keinen gültigen LiveJournal XML-RPC Server zu " "verweisen. Web server meldete: %s." #: rich_entry.py:144 rich_entry.py:152 msgid "Could not load dragged in image" msgstr "Konnte das eingefügte Bild nicht laden" #: rich_entry.py:145 rich_entry.py:153 #, python-format msgid "Error loading %s was: %s" msgstr "Fehler beim Laden von %s war: %s" #: rich_entry.py:210 msgid "Add _Link..." msgstr "_Link hinzufügen …" #: rich_entry.py:215 msgid "Add Link" msgstr "Link" #: rich_entry.py:216 msgid "_Add Link" msgstr "Link _hinzufügen" #: rich_entry.py:224 msgid "Text:" msgstr "Text:" #: rich_entry.py:227 msgid "URL:" msgstr "Adresse:" #~ msgid "Post blog entries to Blogger.com" #~ msgstr "Blog-Einträge auf Blogger.com veröffentlichen" #~ msgid "bloggerAPI" #~ msgstr "bloggerAPI" gnome-blog-0.9.1/po/cs.po0000664000076500007650000002032110171157777012102 00000000000000# Czech translation of gnome-blog. # Copyright (C) 2003, 2004 gnome-blog'S COPYRIGHT HOLDER # Copyright (C) 2004 Miloslav Trmac # This file is distributed under the same license as the gnome-blog package. # Miloslav Trmac , 2003, 2004. # msgid "" msgstr "" "Project-Id-Version: gnome-blog VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-01-12 03:10-0500\n" "PO-Revision-Date: 2005-01-02 14:57+0100\n" "Last-Translator: Miloslav Trmac \n" "Language-Team: Czech \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: GNOME_BlogApplet.server.in.in.h:1 msgid "Accessories" msgstr "Příslušenství" #: GNOME_BlogApplet.server.in.in.h:2 gnome-blog.desktop.in.h:1 msgid "Blog Entry Poster" msgstr "Odesílač položek blogu" #: GNOME_BlogApplet.server.in.in.h:3 msgid "Post entries to a web log" msgstr "Odeslat položky do web logu" #: GNOME_BlogApplet.xml.h:1 msgid "_About..." msgstr "_O aplikaci..." #: GNOME_BlogApplet.xml.h:2 msgid "_Preferences..." msgstr "_Nastavení..." #: blog_applet.py:35 msgid "About" msgstr "O aplikaci" #: blog_applet.py:38 msgid "Blog" msgstr "Blog" #: blog_applet.py:73 msgid "A GNOME Web Blogging Applet" msgstr "GNOME aplet pro blogování na WWW" #: blog_applet.py:108 #, python-format msgid "Create a blog entry for %s at %s" msgstr "Vytvořit položku blogu pro %s na %s" #: blog_poster.py:44 msgid "_Post Entry" msgstr "_Vystavit položku" #: blog_poster.py:69 msgid "Preferences..." msgstr "Nastavení..." #: blog_poster.py:81 msgid "Title:" msgstr "Nadpis:" #: blog_poster.py:116 msgid "Couldn't upload images" msgstr "Nemohu vystavit obrázky" #: blog_poster.py:116 msgid "The blog protocol in use does not support uploading images" msgstr "Používaný protokol blogu nepodporuje vystavení obrázků" #: blog_poster.py:163 msgid "Blog Entry is Blank" msgstr "Položka blogu je prázdná" #: blog_poster.py:163 msgid "" "No text was entered in the blog entry box. Please enter some text and try " "again" msgstr "" "Do pole zadání blogu nebyl vložen žádný text. Vložte prosím nějaký text a " "zkuste to znovu" #: blogger_prefs.py:19 msgid "Blogger Preferences" msgstr "Nastavení blogování" #: blogger_prefs.py:38 msgid "Self-Run MovableType" msgstr "Vlastní MovableType" #: blogger_prefs.py:39 msgid "Self-Run Pyblosxom" msgstr "Vlastní Pyblosxom" #: blogger_prefs.py:40 msgid "Self-Run WordPress" msgstr "Vlastní WordPress" #: blogger_prefs.py:41 msgid "Self-Run Other" msgstr "Jiné vlastní" #: blogger_prefs.py:45 msgid "Blog Type:" msgstr "Typ blogu:" #: blogger_prefs.py:55 msgid "Blog Protocol:" msgstr "Protokol blogu:" #: blogger_prefs.py:59 msgid "Blog Base URL:" msgstr "Základní URL blogu:" #: blogger_prefs.py:61 msgid "Blog Name:" msgstr "Název blogu:" #: blogger_prefs.py:63 msgid "Lookup Blogs" msgstr "Vyhledat blogy" #: blogger_prefs.py:73 msgid "Username:" msgstr "Jméno uživatele:" #: blogger_prefs.py:74 msgid "Password:" msgstr "Heslo:" #: blogger_prefs.py:116 blogger_prefs.py:136 blogger_prefs.py:141 #: blogger_prefs.py:147 msgid "XML-RPC URL:" msgstr "URL XML-RPC:" #: blogger_prefs.py:121 blogger_prefs.py:126 blogger_prefs.py:131 msgid "Base Blog URL:" msgstr "Základní URL blogu:" #: blogger_prefs.py:155 msgid "Unknown blog type" msgstr "Neznámý typ blogu" #: blogger_prefs.py:155 msgid "The detected blog type is not among the list of supported blogs" msgstr "Detekovaný typ blogu není v seznamu podporovaných blogů" #: gnome-blog.desktop.in.h:2 msgid "Post an entry to a web log" msgstr "Odeslat položku do web logu" #: gnomeblog.schemas.in.h:1 msgid "Password to use in accessing the blog" msgstr "Heslo, které používat pro přístup k blogu" #: gnomeblog.schemas.in.h:2 msgid "Protocol to use in accessing the blog" msgstr "Protokol, který používat pro přístup k blogu" #: gnomeblog.schemas.in.h:3 msgid "Suffix to attach to the base URL (e.g. \"xmlrpc.cgi\")" msgstr "Přípona, kterou připojit k základnímu URL (např. \"xmlrpc.cgi\")" #: gnomeblog.schemas.in.h:4 msgid "The application's preferences have been initialized" msgstr "Byla inicializována nastavení aplikace" #: gnomeblog.schemas.in.h:5 msgid "The id or name of the particular blog to use on the XML-RPC server" msgstr "Id nebo název blogu, který používat na serveru XML-RPC" #: gnomeblog.schemas.in.h:6 msgid "URL to the bloggerAPI compatible XML-RPC server" msgstr "URL k serveru XML-RPC kompatibilnímu s bloggerAPI" #: gnomeblog.schemas.in.h:7 msgid "Username to use in accessing the blog" msgstr "Jméno uživatele, které používat pro přístup k blogu" #: hig_alert.py:13 #, python-format msgid "URL '%s' may not be a valid bloggerAPI. XML-RPC Server reported: %s." msgstr "URL '%s' možná není platné bloggerAPI. Server XML-RPC odpověděl: %s." #: hig_alert.py:15 #, python-format msgid "" "Unknown username %s or password trying to post blog entry to XML-RPC server %" "s." msgstr "" "Neznámé jméno uživatele %s nebo heslo při pokusu vystavit položku blogu na " "XML-RPC server %s." #: hig_alert.py:17 #, python-format msgid "" "Could not post to blog '%s' at bloggerAPI XML-RPC server '%s'. Server " "reported: %s." msgstr "" "Nemohu vystavit na blog '%s' na XML-RPC serveru bloggerAPI '%s'. Server " "odpověděl: %s." #: hig_alert.py:19 #, python-format msgid "" "The bloggerAPI server (%s) reported an error I don't understand: '%s, %s'. \n" "\n" "Please email this error message to seth@gnome.org so I can address it." msgstr "" "Server bloggerAPI (%s) ohlásil chybu, které nerozumím: '%s, %s.\n" "\n" "Pošlete prosím o tomto hlášení chyby e-mail na seth@gnome.org, abych na to " "mohl reagovat." #: protocols/advogato.py:27 protocols/advogato.py:30 protocols/advogato.py:42 #: protocols/bloggerAPI.py:62 protocols/bloggerAPI.py:90 #: protocols/livejournal.py:35 protocols/livejournal.py:64 msgid "Could not post Blog entry" msgstr "Nemohu odeslat položku blogu" #: protocols/advogato.py:27 msgid "Your username is invalid. Please double-check the preferences." msgstr "Vaše jméno uživatele není platné. Zkontrolujte prosím nastavení." #: protocols/advogato.py:30 protocols/livejournal.py:35 msgid "" "Your username or password is invalid. Please double-check the preferences." msgstr "" "Vaše jméno uživatele nebo heslo není platné. Zkontrolujte prosím nastavení." #: protocols/advogato.py:39 protocols/bloggerAPI.py:87 #: protocols/livejournal.py:61 msgid "Could not post blog entry" msgstr "Nemohu odeslat položku blogu" #: protocols/advogato.py:42 protocols/bloggerAPI.py:39 #: protocols/bloggerAPI.py:90 #, python-format msgid "" "URL '%s' does not seem to be a valid bloggerAPI XML-RPC server. Web server " "reported: %s." msgstr "" "URL '%s' zřejmě není platný XML-RPC server bloggerAPI. WWW server odpověděl: " "%s." #: protocols/bloggerAPI.py:36 protocols/bloggerAPI.py:39 msgid "Could not get list of blogs" msgstr "Nemohu získat seznam blogů" #: protocols/bloggerAPI.py:62 msgid "" "No XML-RPC server URL to post blog entries to is set, or the value could not " "be retrieved from GConf. Your entry will remain in the blogger window." msgstr "" "Není nastaveno URL serveru XML-RPC, kam odesílat položky blogu, nebo hodnotu " "nelze získat z GConf. Vaše položka zůstane v okně blogování." #: protocols/livejournal.py:64 #, python-format msgid "" "URL '%s' does not seem to be a valid LiveJournal XML-RPC server. Web server " "reported: %s." msgstr "" "URL '%s' zřejmě není platný XML-RPC server LiveJournal. WWW server " "odpověděl: %s." #: rich_entry.py:144 rich_entry.py:152 msgid "Could not load dragged in image" msgstr "Nemohu načíst přetažený obrázek" #: rich_entry.py:145 rich_entry.py:153 #, python-format msgid "Error loading %s was: %s" msgstr "Chyba při načítání %s byla: %s" #: rich_entry.py:210 msgid "Add _Link..." msgstr "Přidat _odkaz..." #: rich_entry.py:215 msgid "Add Link" msgstr "Přidat odkaz" #: rich_entry.py:216 msgid "_Add Link" msgstr "_Přidat odkaz" #: rich_entry.py:224 msgid "Text:" msgstr "Text:" #: rich_entry.py:227 msgid "URL:" msgstr "URL:" #~ msgid "Post blog entries to Blogger.com" #~ msgstr "Odeslat položky blogu na Blogger.com" #~ msgid "Blogging Tool" #~ msgstr "Nástroj pro blogování" gnome-blog-0.9.1/po/es.po0000664000076500007650000002201410221342675012072 00000000000000# translation of es.po to Spanish # translation of gnome-blog.HEAD.po to Spanish # translation of gnome-blog to Spanish # This file is distributed under the same license as the gnome-blog package. # Copyright (C) 2003 The Free Software Foundation # Pablo del Campo , 2003. # Francisco Javier F. Serrador , 2003. # Francisco Javier F. Serrador , 2004. # msgid "" msgstr "" "Project-Id-Version: es\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-03-26 21:18+0100\n" "PO-Revision-Date: 2005-03-26 21:23+0100\n" "Last-Translator: Francisco Javier F. Serrador \n" "Language-Team: Spanish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.3.1\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../GNOME_BlogApplet.server.in.in.h:1 msgid "Accessories" msgstr "Accesorios" #: ../GNOME_BlogApplet.server.in.in.h:2 ../gnome-blog.desktop.in.h:1 msgid "Blog Entry Poster" msgstr "Publicador de entradas a blogs" #: ../GNOME_BlogApplet.server.in.in.h:3 msgid "Post entries to a web log" msgstr "Publicaque entradas a un weblog" #: ../GNOME_BlogApplet.xml.h:1 msgid "_About..." msgstr "A_cerca de..." #: ../GNOME_BlogApplet.xml.h:2 msgid "_Preferences..." msgstr "_Preferencias..." #: ../blog_applet.py:35 msgid "About" msgstr "Acerca de" #: ../blog_applet.py:38 msgid "Blog" msgstr "Blog" #: ../blog_applet.py:73 msgid "A GNOME Web Blogging Applet" msgstr "Una miniaplicación de Web Blogging para Gnome" #: ../blog_applet.py:108 #, python-format msgid "Create a blog entry for %s at %s" msgstr "Crear una entrada blog para %s en %s" #: ../blog_poster.py:44 msgid "_Post Entry" msgstr "_Publicar entrada" #: ../blog_poster.py:69 msgid "Preferences..." msgstr "Preferencias..." #: ../blog_poster.py:81 msgid "Title:" msgstr "Título:" #: ../blog_poster.py:116 msgid "Couldn't upload images" msgstr "No se pudieron subir las imágenes" #: ../blog_poster.py:116 msgid "The blog protocol in use does not support uploading images" msgstr "El protocolo blog en uso no soporta subir imágenes" #: ../blog_poster.py:163 msgid "Blog Entry is Blank" msgstr "La entrada de blog está vacía" #: ../blog_poster.py:163 msgid "" "No text was entered in the blog entry box. Please enter some text and try " "again" msgstr "" "No se introdujo texto en la caja de entrada del blog. Introduzca algo de " "texto e intente de nuevo" #: ../blogger_prefs.py:19 msgid "Blogger Preferences" msgstr "Preferencias de Blogger" #: ../blogger_prefs.py:38 msgid "Self-Run MovableType" msgstr "Ejecutar automáticamente MovableType" #: ../blogger_prefs.py:39 msgid "Self-Run Pyblosxom" msgstr "Ejecutar automáticamente Pybloxsom" #: ../blogger_prefs.py:40 msgid "Self-Run WordPress" msgstr "Ejecutar automáticamente WordPress" #: ../blogger_prefs.py:41 msgid "Self-Run Other" msgstr "Ejecutar automáticamente otro" #: ../blogger_prefs.py:45 msgid "Blog Type:" msgstr "Tipo de Blog:" #: ../blogger_prefs.py:55 msgid "Blog Protocol:" msgstr "Protocolo del Blog:" #: ../blogger_prefs.py:59 msgid "Blog Base URL:" msgstr "URL base del blog:" #: ../blogger_prefs.py:61 msgid "Blog Name:" msgstr "Nombre del blog:" #: ../blogger_prefs.py:63 msgid "Lookup Blogs" msgstr "Buscar blogs" #: ../blogger_prefs.py:73 msgid "Username:" msgstr "Nombre de usuario:" #: ../blogger_prefs.py:74 msgid "Password:" msgstr "Contraseña:" #: ../blogger_prefs.py:116 ../blogger_prefs.py:136 ../blogger_prefs.py:141 #: ../blogger_prefs.py:147 msgid "XML-RPC URL:" msgstr "URL de XML-RPC:" #: ../blogger_prefs.py:121 ../blogger_prefs.py:126 ../blogger_prefs.py:131 msgid "Base Blog URL:" msgstr "URL base de blog:" #: ../blogger_prefs.py:155 msgid "Unknown blog type" msgstr "Tipo de blog desconocido" #: ../blogger_prefs.py:155 msgid "The detected blog type is not among the list of supported blogs" msgstr "El tipo de blog detectado no está entre la lista de blogs soportados" #: ../gnome-blog.desktop.in.h:2 msgid "Post an entry to a web log" msgstr "Publicar una entrada en un weblog" #: ../gnomeblog.schemas.in.h:1 msgid "Password to use in accessing the blog" msgstr "Contraseña a utilizar al acceder al blog" #: ../gnomeblog.schemas.in.h:2 msgid "Protocol to use in accessing the blog" msgstr "Protocolo a utilizar al acceder al blog" #: ../gnomeblog.schemas.in.h:3 msgid "Suffix to attach to the base URL (e.g. \"xmlrpc.cgi\")" msgstr "Sufijo para adjuntar a la URL base (ej: \"xmlrcp.cgi\")" #: ../gnomeblog.schemas.in.h:4 msgid "The application's preferences have been initialized" msgstr "Las preferencias de la aplicación han sido inicializadas" #: ../gnomeblog.schemas.in.h:5 msgid "The id or name of the particular blog to use on the XML-RPC server" msgstr "" "El ID o el nombre de un blog en particular a utilizar en el servidor XML-RPC" #: ../gnomeblog.schemas.in.h:6 msgid "URL to the bloggerAPI compatible XML-RPC server" msgstr "URL hacia el servidor XML-RPC compatible con la bloggerAPI" #: ../gnomeblog.schemas.in.h:7 msgid "Username to use in accessing the blog" msgstr "Usuario que se usará para acceder al blog" #: ../hig_alert.py:13 #, python-format msgid "URL '%s' may not be a valid bloggerAPI. XML-RPC Server reported: %s." msgstr "" "La URL «%s» podría no ser una API válida de blogger. El servidor XML-RPC ha " "devuelto: %s" #: ../hig_alert.py:15 #, python-format msgid "" "Unknown username %s or password trying to post blog entry to XML-RPC server %" "s." msgstr "" "Nombre de usuario %s o contraseña desconocido al intentar publicar la " "entrada de blog en el servidor XML-RPC %s." #: ../hig_alert.py:17 #, python-format msgid "" "Could not post to blog '%s' at bloggerAPI XML-RPC server '%s'. Server " "reported: %s." msgstr "" "No se ha podido publicar en el blog «%s» en la API del servidor XML-RPC de " "blogger «%s». El servidor ha reportado: %s." #: ../hig_alert.py:19 #, python-format msgid "" "The bloggerAPI server (%s) reported an error I don't understand: '%s, %s'. \n" "\n" "Please email this error message to seth@gnome.org so I can address it." msgstr "" "El servidor de API de blogger (%s) ha reportado un error que no es " "comprensible: %s, %s. \n" "\n" "Por favor envíe por correo-e este mensaje a seth@gnome.org para poder " "solucionarlo." #: ../protocols/advogato.py:27 ../protocols/advogato.py:30 #: ../protocols/advogato.py:42 ../protocols/bloggerAPI.py:62 #: ../protocols/bloggerAPI.py:90 ../protocols/livejournal.py:35 #: ../protocols/livejournal.py:64 msgid "Could not post Blog entry" msgstr "No se ha pudido publicar la entrada del Blog" #: ../protocols/advogato.py:27 msgid "Your username is invalid. Please double-check the preferences." msgstr "" "Su nombre de usuario en inválido. Compruebe atentamente las preferencias." #: ../protocols/advogato.py:30 ../protocols/livejournal.py:35 msgid "" "Your username or password is invalid. Please double-check the preferences." msgstr "" "Su nombre de usuario o contraseñe es inválido. Compruebe las preferencias." #: ../protocols/advogato.py:39 ../protocols/bloggerAPI.py:87 #: ../protocols/livejournal.py:61 msgid "Could not post blog entry" msgstr "No se pudo publicar la entrada del blog" #: ../protocols/advogato.py:42 ../protocols/bloggerAPI.py:39 #: ../protocols/bloggerAPI.py:90 #, python-format msgid "" "URL '%s' does not seem to be a valid bloggerAPI XML-RPC server. Web server " "reported: %s." msgstr "" "La URL «%s» podría no ser una API válida de blogger. El servidor XML-RPC ha " "informado: %s." #: ../protocols/bloggerAPI.py:36 ../protocols/bloggerAPI.py:39 msgid "Could not get list of blogs" msgstr "No se pudo obtener la lista de blogs" #: ../protocols/bloggerAPI.py:62 msgid "" "No XML-RPC server URL to post blog entries to is set, or the value could not " "be retrieved from GConf. Your entry will remain in the blogger window." msgstr "" "No hay establecido un URL de servidor RPC-XML para publicar entradas blog, o " "el valor no pudo obtenerse de GConf. Su entrada permanecerá en la ventana " "del blogger." #: ../protocols/livejournal.py:64 #, python-format msgid "" "URL '%s' does not seem to be a valid LiveJournal XML-RPC server. Web server " "reported: %s." msgstr "" "La URL «%s» no parece ser un servicor XML-RPC LiveJournal válido. El " "servidor web devolvió: %s." #: ../rich_entry.py:144 ../rich_entry.py:152 msgid "Could not load dragged in image" msgstr "No se pudo cargar la imagen arrastrada dentro" #: ../rich_entry.py:145 ../rich_entry.py:153 #, python-format msgid "Error loading %s was: %s" msgstr "El error al cargar %s fue: %s" #: ../rich_entry.py:210 msgid "Add _Link..." msgstr "Añadir en_lace..." #: ../rich_entry.py:215 msgid "Add Link" msgstr "Añadir enlace" #: ../rich_entry.py:216 msgid "_Add Link" msgstr "_Añadir enlace" #: ../rich_entry.py:224 msgid "Text:" msgstr "Texto:" #: ../rich_entry.py:227 msgid "URL:" msgstr "URL:" #~ msgid "Post blog entries to Blogger.com" #~ msgstr "Publicar las entradas blog en Blogger.com" #~ msgid "bloggerAPI" #~ msgstr "API de blogger" #~ msgid "Blogging Tool" #~ msgstr "Herramienta de Blogging" gnome-blog-0.9.1/po/fi.po0000664000076500007650000002052410360027226012061 00000000000000# Finnish messages for gnome-blog # Copyright (C) 2005 Ilkka Tuohela # This file is distributed under the same license as the gnome-blog package. # Ilkka Tuohela , 2005. # msgid "" msgstr "" "Project-Id-Version: gnome-blog\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2006-01-07 22:54+0200\n" "PO-Revision-Date: 2006-01-07 23:15+0200\n" "Last-Translator: Ilkka Tuohela \n" "Language-Team: Finnish \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" #: ../GNOME_BlogApplet.server.in.in.h:1 msgid "Accessories" msgstr "Apuohjelmat" #: ../GNOME_BlogApplet.server.in.in.h:2 ../gnome-blog.desktop.in.h:1 msgid "Blog Entry Poster" msgstr "Blog-merkinnän lähettäjä" #: ../GNOME_BlogApplet.server.in.in.h:3 msgid "Post entries to a web log" msgstr "Lähetä viestejä web-logiin" #: ../GNOME_BlogApplet.xml.h:1 msgid "_About..." msgstr "_Tietoja..." #: ../GNOME_BlogApplet.xml.h:2 msgid "_Preferences..." msgstr "_Asetukset..." #: ../blog_applet.py:36 msgid "About" msgstr "Tietoja" #: ../blog_applet.py:39 msgid "Blog" msgstr "Blog" #: ../blog_applet.py:75 msgid "A GNOME Web Blogging Applet" msgstr "Gnomen Blog-sovelma" #: ../blog_applet.py:110 #, python-format msgid "Create a blog entry for %s at %s" msgstr "Luo blogimerkintä käyttäjälle %s palvelimella %s" #: ../blog_poster.py:44 msgid "_Post Entry" msgstr "_Lähetä merkintä" #: ../blog_poster.py:69 msgid "Preferences..." msgstr "Asetukset..." #: ../blog_poster.py:81 msgid "Title:" msgstr "Otsikko:" #: ../blog_poster.py:116 msgid "Couldn't upload images" msgstr "Kuvia ei voitu lähettää" #: ../blog_poster.py:116 msgid "The blog protocol in use does not support uploading images" msgstr "Käytetty blog-protokolla ei tue kuvien lähettämistä" #: ../blog_poster.py:162 msgid "Blog Entry is Blank" msgstr "Blog-merkintä on tyhjä" #: ../blog_poster.py:162 msgid "" "No text was entered in the blog entry box. Please enter some text and try " "again" msgstr "" "Blogin tekstikenttään ei ole syötetty tekstiä. Kirjoita kenttään jotain ja " "yritä uudestaan" #: ../blogger_prefs.py:19 msgid "Blogger Preferences" msgstr "Bloggerin asetukset" #: ../blogger_prefs.py:39 msgid "Self-Run MovableType" msgstr "Itse ylläpidetty MovableType" #: ../blogger_prefs.py:40 msgid "Self-Run Pyblosxom" msgstr "Itse ylläpidetty Pyblosxom" #: ../blogger_prefs.py:41 msgid "Self-Run WordPress" msgstr "Itse ylläpidetty WordPress" #: ../blogger_prefs.py:42 msgid "Self-Run Other" msgstr "Itse ylläpidetty muu blogi" #: ../blogger_prefs.py:46 msgid "Blog Type:" msgstr "Blogin tyyppi:" #: ../blogger_prefs.py:56 msgid "Blog Protocol:" msgstr "Blogin protokolla:" #: ../blogger_prefs.py:60 ../blogger_prefs.py:122 ../blogger_prefs.py:127 #: ../blogger_prefs.py:132 msgid "Base Blog URL:" msgstr "Blogin perus-URL:" #: ../blogger_prefs.py:62 msgid "Blog Name:" msgstr "Blogin nimi:" #: ../blogger_prefs.py:64 msgid "Lookup Blogs" msgstr "Etsi blogeja" #: ../blogger_prefs.py:74 msgid "Username:" msgstr "Käyttäjätunnus:" #: ../blogger_prefs.py:75 msgid "Password:" msgstr "Salasana:" #: ../blogger_prefs.py:117 ../blogger_prefs.py:137 ../blogger_prefs.py:142 #: ../blogger_prefs.py:147 ../blogger_prefs.py:153 msgid "XML-RPC URL:" msgstr "XML-RPC URL:" #: ../blogger_prefs.py:161 msgid "Unknown blog type" msgstr "Blogin tyyppi on tuntematon" #: ../blogger_prefs.py:161 msgid "The detected blog type is not among the list of supported blogs" msgstr "Havaittu blogityyppi ei ole yksi tuetuista blogityypeistä" #: ../gnome-blog.desktop.in.h:2 msgid "Post an entry to a web log" msgstr "Lähetä viestisi web-logiin" #: ../gnomeblog.schemas.in.h:1 msgid "Password to use in accessing the blog" msgstr "Blogiin yhteyttä otettaessa käytettävä salasana" #: ../gnomeblog.schemas.in.h:2 msgid "Protocol to use in accessing the blog" msgstr "Blogiin yhteyttä otettaessa käytettävä protokolla" #: ../gnomeblog.schemas.in.h:3 msgid "Suffix to attach to the base URL (e.g. \"xmlrpc.cgi\")" msgstr "Perus-URLiin lisättävä pääte, esimerkiksi \"xmlrpc.cgi\"." #: ../gnomeblog.schemas.in.h:4 msgid "The application's preferences have been initialized" msgstr "Ohjelman asetukset on alustettu" #: ../gnomeblog.schemas.in.h:5 msgid "The id or name of the particular blog to use on the XML-RPC server" msgstr "Halutun blogin nimi tai tunniste XML-RPC-palvelimella" #: ../gnomeblog.schemas.in.h:6 msgid "URL to the bloggerAPI compatible XML-RPC server" msgstr "URL bloggerAPI-yhteensopivaan XML-RPC-palvelimeen" #: ../gnomeblog.schemas.in.h:7 msgid "Username to use in accessing the blog" msgstr "Blogiin yhteyttä otettaessa käytettävä käyttäjätunnus" #: ../hig_alert.py:15 #, python-format msgid "URL '%s' may not be a valid bloggerAPI. XML-RPC Server reported: %s." msgstr "URL \"%s\" ei välttämättä ole kelvollinen. XML-RPC-palvelin " "palautti: %s." #: ../hig_alert.py:17 #, python-format msgid "" "Unknown username %s or password trying to post blog entry to XML-RPC server %" "s." msgstr "" "tuntematon käyttäjätunnus %s tai salasana yrittää lähettää blogimerkintää " "XML-RPC-palvelimelle %s." #: ../hig_alert.py:19 #, python-format msgid "" "Could not post to blog '%s' at bloggerAPI XML-RPC server '%s'. Server " "reported: %s." msgstr "" "Blogiin \"%s\" ei voitu kirjoittaa bloggerAPI-palvelimella \"%s\". Palvelin " "palautti: %s" #: ../hig_alert.py:21 #, python-format msgid "" "The bloggerAPI server (%s) reported an error I don't understand: '%s, %s'. \n" "\n" "Please email this error message to seth@gnome.org so I can address it." msgstr "" "BloggerAPI-palvelin \"%s\" palautti virheen, jota gnome-blog ei ymmärrä: " "\"%s, %s+\".\n" "Lähetä tämä virheviesti sähköpostilla osoitteeseen seth@gnome.org, jotta asia " "voidaan korjata gnome-blogiin." #: ../protocols/advogato.py:27 ../protocols/advogato.py:30 #: ../protocols/advogato.py:42 ../protocols/bloggerAPI.py:61 #: ../protocols/bloggerAPI.py:89 ../protocols/livejournal.py:35 #: ../protocols/livejournal.py:64 msgid "Could not post Blog entry" msgstr "Blogimerkintää ei voitu lähettää" #: ../protocols/advogato.py:27 msgid "Your username is invalid. Please double-check the preferences." msgstr "Käyttäjätunnus on väärin. Tarkista asetukset uudestaan." #: ../protocols/advogato.py:30 ../protocols/livejournal.py:35 msgid "" "Your username or password is invalid. Please double-check the preferences." msgstr "" "Käyttäjätunnus tai salasana on väärin. Tarkista asetukset uudestaan." #: ../protocols/advogato.py:39 ../protocols/bloggerAPI.py:86 #: ../protocols/livejournal.py:61 msgid "Could not post blog entry" msgstr "Blogimerkintää ei voitu lähettää" #: ../protocols/advogato.py:42 ../protocols/bloggerAPI.py:38 #: ../protocols/bloggerAPI.py:89 #, python-format msgid "" "URL '%s' does not seem to be a valid bloggerAPI XML-RPC server. Web server " "reported: %s." msgstr "" "URL \"%s\" ei näytä olevan kelvollinen BloggerAPI XML-RPC-palvelin. WWW-" "palvelin palautti: %s" #: ../protocols/bloggerAPI.py:35 ../protocols/bloggerAPI.py:38 msgid "Could not get list of blogs" msgstr "Listaa blogeista ei voitu hakea" #: ../protocols/bloggerAPI.py:61 msgid "" "No XML-RPC server URL to post blog entries to is set, or the value could not " "be retrieved from GConf. Your entry will remain in the blogger window." msgstr "" "XML-RPC-palvelimen URLia, jota käytetään blogimerkintöjen lähetykseen, ei " "ole asetettu, tai arvoa ei voitu lukea GConfista. Viestisi säilyy ohjelman " "ikkunassa." #: ../protocols/livejournal.py:64 #, python-format msgid "" "URL '%s' does not seem to be a valid LiveJournal XML-RPC server. Web server " "reported: %s." msgstr "" "URL \"%s\" ei näytä olevan kelvollinen LiveJournal XML-RPC -palvelin. " "Palvelin palautti: %s." #: ../rich_entry.py:144 ../rich_entry.py:152 msgid "Could not load dragged in image" msgstr "Raahattua kuvaa ei voitu ladata" #: ../rich_entry.py:145 ../rich_entry.py:153 #, python-format msgid "Error loading %s was: %s" msgstr "Virhe ladattaessa %s: %s" #: ../rich_entry.py:210 msgid "Add _Link..." msgstr "Lisää _linkki..." #: ../rich_entry.py:215 msgid "Add Link" msgstr "Lisää linkki" #: ../rich_entry.py:218 msgid "_Add Link" msgstr "Lisää _linkki" #: ../rich_entry.py:226 msgid "Text:" msgstr "Teksti:" #: ../rich_entry.py:229 msgid "URL:" msgstr "URL:" gnome-blog-0.9.1/po/et.po0000664000076500007650000001522310171157777012112 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: Gnome-blog\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-01-12 03:10-0500\n" "PO-Revision-Date: 2004-04-07 08:23+0300\n" "Last-Translator: Priit Laes \n" "Language-Team: Estonian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: GNOME_BlogApplet.server.in.in.h:1 msgid "Accessories" msgstr "Tarvikud" #: GNOME_BlogApplet.server.in.in.h:2 gnome-blog.desktop.in.h:1 msgid "Blog Entry Poster" msgstr "Blogisissekande postitaja" #: GNOME_BlogApplet.server.in.in.h:3 msgid "Post entries to a web log" msgstr "Postita veebilogisse sissekanded" #: GNOME_BlogApplet.xml.h:1 msgid "_About..." msgstr "_Programmist..." #: GNOME_BlogApplet.xml.h:2 msgid "_Preferences..." msgstr "_Seaded..." #: blog_applet.py:35 msgid "About" msgstr "Programmist" #: blog_applet.py:38 msgid "Blog" msgstr "Blog" #: blog_applet.py:73 msgid "A GNOME Web Blogging Applet" msgstr "GNOME'i blogimisapplet" #: blog_applet.py:108 #, python-format msgid "Create a blog entry for %s at %s" msgstr "" #: blog_poster.py:44 msgid "_Post Entry" msgstr "_Postita sissekane" #: blog_poster.py:69 msgid "Preferences..." msgstr "Eelistused..." #: blog_poster.py:81 msgid "Title:" msgstr "Pealkiri:" #: blog_poster.py:116 msgid "Couldn't upload images" msgstr "" #: blog_poster.py:116 msgid "The blog protocol in use does not support uploading images" msgstr "" #: blog_poster.py:163 msgid "Blog Entry is Blank" msgstr "Blogisissekanne on tühi" #: blog_poster.py:163 msgid "" "No text was entered in the blog entry box. Please enter some text and try " "again" msgstr "" #: blogger_prefs.py:19 msgid "Blogger Preferences" msgstr "Blogger'i seaded" #: blogger_prefs.py:38 msgid "Self-Run MovableType" msgstr "" #: blogger_prefs.py:39 msgid "Self-Run Pyblosxom" msgstr "" #: blogger_prefs.py:40 msgid "Self-Run WordPress" msgstr "" #: blogger_prefs.py:41 msgid "Self-Run Other" msgstr "" #: blogger_prefs.py:45 msgid "Blog Type:" msgstr "Blogi tüüp:" #: blogger_prefs.py:55 msgid "Blog Protocol:" msgstr "Blogi protokoll:" #: blogger_prefs.py:59 msgid "Blog Base URL:" msgstr "Blogi alus-URL:" #: blogger_prefs.py:61 msgid "Blog Name:" msgstr "Blogi nimi:" #: blogger_prefs.py:63 msgid "Lookup Blogs" msgstr "Blogide otsing" #: blogger_prefs.py:73 msgid "Username:" msgstr "Kasutajanimi:" #: blogger_prefs.py:74 msgid "Password:" msgstr "Parool:" #: blogger_prefs.py:116 blogger_prefs.py:136 blogger_prefs.py:141 #: blogger_prefs.py:147 msgid "XML-RPC URL:" msgstr "XML-RPC URL:" #: blogger_prefs.py:121 blogger_prefs.py:126 blogger_prefs.py:131 msgid "Base Blog URL:" msgstr "Alusblogi URL:" #: blogger_prefs.py:155 msgid "Unknown blog type" msgstr "" #: blogger_prefs.py:155 msgid "The detected blog type is not among the list of supported blogs" msgstr "" #: gnome-blog.desktop.in.h:2 msgid "Post an entry to a web log" msgstr "Postita veebilogisse sissekanne" #: gnomeblog.schemas.in.h:1 msgid "Password to use in accessing the blog" msgstr "" #: gnomeblog.schemas.in.h:2 msgid "Protocol to use in accessing the blog" msgstr "" #: gnomeblog.schemas.in.h:3 msgid "Suffix to attach to the base URL (e.g. \"xmlrpc.cgi\")" msgstr "" #: gnomeblog.schemas.in.h:4 msgid "The application's preferences have been initialized" msgstr "" #: gnomeblog.schemas.in.h:5 msgid "The id or name of the particular blog to use on the XML-RPC server" msgstr "" #: gnomeblog.schemas.in.h:6 msgid "URL to the bloggerAPI compatible XML-RPC server" msgstr "" #: gnomeblog.schemas.in.h:7 msgid "Username to use in accessing the blog" msgstr "" #: hig_alert.py:13 #, python-format msgid "URL '%s' may not be a valid bloggerAPI. XML-RPC Server reported: %s." msgstr "" "URL '%s' ei tundu olevat korrektne bloggerAPI. XML-RPC server teatas: %s." #: hig_alert.py:15 #, fuzzy, python-format msgid "" "Unknown username %s or password trying to post blog entry to XML-RPC server %" "s." msgstr "Tundmatu kasutajanimi %s või parool" #: hig_alert.py:17 #, python-format msgid "" "Could not post to blog '%s' at bloggerAPI XML-RPC server '%s'. Server " "reported: %s." msgstr "" #: hig_alert.py:19 #, python-format msgid "" "The bloggerAPI server (%s) reported an error I don't understand: '%s, %s'. \n" "\n" "Please email this error message to seth@gnome.org so I can address it." msgstr "" #: protocols/advogato.py:27 protocols/advogato.py:30 protocols/advogato.py:42 #: protocols/bloggerAPI.py:62 protocols/bloggerAPI.py:90 #: protocols/livejournal.py:35 protocols/livejournal.py:64 msgid "Could not post Blog entry" msgstr "Uut postitust pole võimalik lisada" #: protocols/advogato.py:27 msgid "Your username is invalid. Please double-check the preferences." msgstr "Kasutajanimi on vigane. Palun topelt-kontrolli häälestust." #: protocols/advogato.py:30 protocols/livejournal.py:35 msgid "" "Your username or password is invalid. Please double-check the preferences." msgstr "" "Sinu kasutajanimi või parool on vigane. Palun topelt-kontrolli häälestust." #: protocols/advogato.py:39 protocols/bloggerAPI.py:87 #: protocols/livejournal.py:61 msgid "Could not post blog entry" msgstr "Uut postitust pole võimalik lisada" #: protocols/advogato.py:42 protocols/bloggerAPI.py:39 #: protocols/bloggerAPI.py:90 #, python-format msgid "" "URL '%s' does not seem to be a valid bloggerAPI XML-RPC server. Web server " "reported: %s." msgstr "" "URL '%s' ei tundu olevat korrektne bloggerAPI XML-RPC server. Veebiserver " "teatas: %s." #: protocols/bloggerAPI.py:36 protocols/bloggerAPI.py:39 msgid "Could not get list of blogs" msgstr "" #: protocols/bloggerAPI.py:62 msgid "" "No XML-RPC server URL to post blog entries to is set, or the value could not " "be retrieved from GConf. Your entry will remain in the blogger window." msgstr "" #: protocols/livejournal.py:64 #, python-format msgid "" "URL '%s' does not seem to be a valid LiveJournal XML-RPC server. Web server " "reported: %s." msgstr "" "URL '%s' ei tundu olevat korrektne LiveJournal'i XML-RPC server. Veebiserver " "teatas: %s." #: rich_entry.py:144 rich_entry.py:152 msgid "Could not load dragged in image" msgstr "" #: rich_entry.py:145 rich_entry.py:153 #, python-format msgid "Error loading %s was: %s" msgstr "Viga %s laadimisel: %s" #: rich_entry.py:210 msgid "Add _Link..." msgstr "Lisa _viit..." #: rich_entry.py:215 msgid "Add Link" msgstr "Lisa viit" #: rich_entry.py:216 msgid "_Add Link" msgstr "_Lisa viit" #: rich_entry.py:224 msgid "Text:" msgstr "Tekst:" #: rich_entry.py:227 msgid "URL:" msgstr "URL:" gnome-blog-0.9.1/po/fr.po0000664000076500007650000002105310171157777012107 00000000000000# French translation of gnome-blog. # Copyright (C) 2003-2004 Free Software Foundation, Inc. # This file is distributed under the same license as the gnome-blog package. # # Baptiste MILLE-MATHIAS , 2003. # Christophe Merlet (RedFox) , 2004. # msgid "" msgstr "" "Project-Id-Version: gnome-blog 0.7\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-01-12 03:10-0500\n" "PO-Revision-Date: 2004-01-17 13:26+0100\n" "Last-Translator: Christophe Merlet (RedFox) \n" "Language-Team: GNOME French Team \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: GNOME_BlogApplet.server.in.in.h:1 msgid "Accessories" msgstr "Accessoires" #: GNOME_BlogApplet.server.in.in.h:2 gnome-blog.desktop.in.h:1 msgid "Blog Entry Poster" msgstr "Posteur de l'entrée du blog" #: GNOME_BlogApplet.server.in.in.h:3 msgid "Post entries to a web log" msgstr "Poster une entrée à un web log" #: GNOME_BlogApplet.xml.h:1 msgid "_About..." msgstr "À _propos..." #: GNOME_BlogApplet.xml.h:2 msgid "_Preferences..." msgstr "_Préférences..." #: blog_applet.py:35 msgid "About" msgstr "À propos" #: blog_applet.py:38 msgid "Blog" msgstr "Blog" #: blog_applet.py:73 msgid "A GNOME Web Blogging Applet" msgstr "Une applet GNOME pour blogguer" #: blog_applet.py:108 #, python-format msgid "Create a blog entry for %s at %s" msgstr "Créer une entrée de blog pour %s à %s" #: blog_poster.py:44 msgid "_Post Entry" msgstr "_Poster l'entrée" #: blog_poster.py:69 msgid "Preferences..." msgstr "Préférences..." #: blog_poster.py:81 msgid "Title:" msgstr "Titre :" #: blog_poster.py:116 msgid "Couldn't upload images" msgstr "Impossible de publier les images" #: blog_poster.py:116 msgid "The blog protocol in use does not support uploading images" msgstr "" "Le protocole du blog en cours d'utilisation ne supporte pas la publication " "d'images" #: blog_poster.py:163 msgid "Blog Entry is Blank" msgstr "L'entrée du blog est vide" #: blog_poster.py:163 msgid "" "No text was entered in the blog entry box. Please enter some text and try " "again" msgstr "" "Aucun texte n'a été saisi dans la boîte de saisie du blog. Veuillez saisir " "du texte et réessayer" #: blogger_prefs.py:19 msgid "Blogger Preferences" msgstr "Préférences du blogger" #: blogger_prefs.py:38 msgid "Self-Run MovableType" msgstr "Self-Run MovableType" #: blogger_prefs.py:39 msgid "Self-Run Pyblosxom" msgstr "Self-Run Pyblosxom" #: blogger_prefs.py:40 #, fuzzy msgid "Self-Run WordPress" msgstr "Self-Run Other" #: blogger_prefs.py:41 msgid "Self-Run Other" msgstr "Self-Run Other" #: blogger_prefs.py:45 msgid "Blog Type:" msgstr "Type de blog :" #: blogger_prefs.py:55 msgid "Blog Protocol:" msgstr "Protocole de blog :" #: blogger_prefs.py:59 msgid "Blog Base URL:" msgstr "URL de base du blog :" #: blogger_prefs.py:61 msgid "Blog Name:" msgstr "Nom du blog :" #: blogger_prefs.py:63 msgid "Lookup Blogs" msgstr "Rechercher les blogs" #: blogger_prefs.py:73 msgid "Username:" msgstr "Nom d'utilisateur :" #: blogger_prefs.py:74 msgid "Password:" msgstr "Mot de passe :" #: blogger_prefs.py:116 blogger_prefs.py:136 blogger_prefs.py:141 #: blogger_prefs.py:147 msgid "XML-RPC URL:" msgstr "URL XLM-RPC :" #: blogger_prefs.py:121 blogger_prefs.py:126 blogger_prefs.py:131 msgid "Base Blog URL:" msgstr "URL de base du blog :" #: blogger_prefs.py:155 msgid "Unknown blog type" msgstr "" #: blogger_prefs.py:155 msgid "The detected blog type is not among the list of supported blogs" msgstr "" #: gnome-blog.desktop.in.h:2 msgid "Post an entry to a web log" msgstr "Postez une entrée dans un web log" #: gnomeblog.schemas.in.h:1 msgid "Password to use in accessing the blog" msgstr "Mot de passe permettant l'accès au blog" #: gnomeblog.schemas.in.h:2 msgid "Protocol to use in accessing the blog" msgstr "Protocole à utiliser pour accèder au blog" #: gnomeblog.schemas.in.h:3 msgid "Suffix to attach to the base URL (e.g. \"xmlrpc.cgi\")" msgstr "Suffixe à ajouter à l'url de base (ex : « xmlrpc.cgi »)" #: gnomeblog.schemas.in.h:4 msgid "The application's preferences have been initialized" msgstr "Les préférences de l'application ont été initialisées" #: gnomeblog.schemas.in.h:5 msgid "The id or name of the particular blog to use on the XML-RPC server" msgstr "" "L'identifiant ou le nomdu blog particulier à utiliser sur le serveur XML-RPC" #: gnomeblog.schemas.in.h:6 msgid "URL to the bloggerAPI compatible XML-RPC server" msgstr "URL du serveur compatible XML-RPC BloggerAPI" #: gnomeblog.schemas.in.h:7 msgid "Username to use in accessing the blog" msgstr "Nom d'utilisateur permettant l'accès au blog" #: hig_alert.py:13 #, python-format msgid "URL '%s' may not be a valid bloggerAPI. XML-RPC Server reported: %s." msgstr "" "L'URL « %s » semble ne pas être une bloggerAPI valide. Le serveur XML-RPC a " "rapporté : %s." #: hig_alert.py:15 #, python-format msgid "" "Unknown username %s or password trying to post blog entry to XML-RPC server %" "s." msgstr "" "Nom d'utilisateur ou mot de passe inconnu %s lors de la tentative de " "publication de l'entrée du blog vers le serveur XML-RPC %s." #: hig_alert.py:17 #, python-format msgid "" "Could not post to blog '%s' at bloggerAPI XML-RPC server '%s'. Server " "reported: %s." msgstr "" "Impossible de poster dans le blog « %s » sur le serveur bloggerAPI XML-RPC " "« %s ». Le serveur a rapporté : %s." #: hig_alert.py:19 #, python-format msgid "" "The bloggerAPI server (%s) reported an error I don't understand: '%s, %s'. \n" "\n" "Please email this error message to seth@gnome.org so I can address it." msgstr "" "Le serveur bloggerAPI (%s) a rapporté une erreur que je ne comprends pas : " "« %s, %s ». \n" "\n" "Veuillez envoyer par courriel ce message d'erreur à seth@gnome.org afin que " "je puisse le corriger." #: protocols/advogato.py:27 protocols/advogato.py:30 protocols/advogato.py:42 #: protocols/bloggerAPI.py:62 protocols/bloggerAPI.py:90 #: protocols/livejournal.py:35 protocols/livejournal.py:64 msgid "Could not post Blog entry" msgstr "Impossible de poster l'entrée du blog" #: protocols/advogato.py:27 msgid "Your username is invalid. Please double-check the preferences." msgstr "" "Votre nom d'utilisateur n'est pas valide. Veuillez vérifier vos préférences." #: protocols/advogato.py:30 protocols/livejournal.py:35 msgid "" "Your username or password is invalid. Please double-check the preferences." msgstr "" "Votre nom d'utilisateur ou mot de passe n'est pas valide. Veuillez vérifier " "vos préférences." #: protocols/advogato.py:39 protocols/bloggerAPI.py:87 #: protocols/livejournal.py:61 msgid "Could not post blog entry" msgstr "Impossible de poster l'entrée du blog" #: protocols/advogato.py:42 protocols/bloggerAPI.py:39 #: protocols/bloggerAPI.py:90 #, python-format msgid "" "URL '%s' does not seem to be a valid bloggerAPI XML-RPC server. Web server " "reported: %s." msgstr "" "L'URL « %s » semble ne pas être un serveur XML-RPC bloggerAPI valide. Le " "serveur Web a rapporté : %s." #: protocols/bloggerAPI.py:36 protocols/bloggerAPI.py:39 msgid "Could not get list of blogs" msgstr "Impossible d'obtenir la liste des blogs" #: protocols/bloggerAPI.py:62 msgid "" "No XML-RPC server URL to post blog entries to is set, or the value could not " "be retrieved from GConf. Your entry will remain in the blogger window." msgstr "" "Aucune URL de serveur XML-RPC vers lequel poster les entrées de blog n'est " "défini, ou la valeur ne peut être récupéré depuis GConf. Votre entrée " "restera dans la fenêtre du blogger." #: protocols/livejournal.py:64 #, python-format msgid "" "URL '%s' does not seem to be a valid LiveJournal XML-RPC server. Web server " "reported: %s." msgstr "" "L'URL « %s » ne semble pas être un serveur XML-RPC LiveJournal valide. Le " "serveur Web a rapporté : %s." #: rich_entry.py:144 rich_entry.py:152 msgid "Could not load dragged in image" msgstr "Impossible de charger l'image déposé" #: rich_entry.py:145 rich_entry.py:153 #, python-format msgid "Error loading %s was: %s" msgstr "L'erreur lors du chargement de %s était : %s" #: rich_entry.py:210 msgid "Add _Link..." msgstr "Ajouter un _lien..." #: rich_entry.py:215 msgid "Add Link" msgstr "Ajouter un lien" #: rich_entry.py:216 msgid "_Add Link" msgstr "A_jouter un lien" #: rich_entry.py:224 msgid "Text:" msgstr "Texte :" #: rich_entry.py:227 msgid "URL:" msgstr "URL :" #~ msgid "Post blog entries to Blogger.com" #~ msgstr "Poster les entrées blog à Blogger.com" #~ msgid "bloggerAPI" #~ msgstr "bloggerAPI" gnome-blog-0.9.1/po/gl.po0000664000076500007650000002115110340346034012061 00000000000000# translation of gnome-blog_0.8-2_gl.po to Galego # Galician translation of gnome-blog # Copyright (C) 2005 Free Software Foundation # Proxecto Trasno - Adaptación do softare libre á lingua galega: Se desexas # colaborar connosco, podes atopar máis información en htt//www.trasno.net # First Version: 2005-06-26 17:00+0200 # Pedro Silva , 2005. # # msgid "" msgstr "" "Project-Id-Version: gnome-blog_0.8-2_gl\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-11-21 14:27+0100\n" "PO-Revision-Date: 2005-11-21 14:21+0100\n" "Last-Translator: Pedro Silva \n" "Language-Team: Galego\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);X-Generator: KBabel 1.10.2\n" #: ../GNOME_BlogApplet.server.in.in.h:1 msgid "Accessories" msgstr "Accesorios" #: ../GNOME_BlogApplet.server.in.in.h:2 ../gnome-blog.desktop.in.h:1 msgid "Blog Entry Poster" msgstr "A persoa que enviou a entrada" #: ../GNOME_BlogApplet.server.in.in.h:3 msgid "Post entries to a web log" msgstr "Publicar entradas nun blog" #: ../GNOME_BlogApplet.xml.h:1 msgid "_About..." msgstr "_Acerca de..." #: ../GNOME_BlogApplet.xml.h:2 msgid "_Preferences..." msgstr "_Preferencias..." #: ../blog_applet.py:36 msgid "About" msgstr "Acerca de" #: ../blog_applet.py:39 msgid "Blog" msgstr "Blog" #: ../blog_applet.py:75 msgid "A GNOME Web Blogging Applet" msgstr "Unha applet de GNOME para publicar en weblogs" #: ../blog_applet.py:110 #, python-format msgid "Create a blog entry for %s at %s" msgstr "Crear unha entrada para %s en %s" #: ../blog_poster.py:44 msgid "_Post Entry" msgstr "_Publicar entrada" #: ../blog_poster.py:69 msgid "Preferences..." msgstr "Preferencias..." #: ../blog_poster.py:81 msgid "Title:" msgstr "Título:" #: ../blog_poster.py:116 msgid "Couldn't upload images" msgstr "Non se puideron subir as imaxes" #: ../blog_poster.py:116 msgid "The blog protocol in use does not support uploading images" msgstr "O protocolo da blog en uso non permite subir imaxes" #: ../blog_poster.py:162 msgid "Blog Entry is Blank" msgstr "A entrada do blog esta baleira" #: ../blog_poster.py:162 msgid "" "No text was entered in the blog entry box. Please enter some text and try " "again" msgstr "" "Non hai texto ningún na caixa de entrada. Escriba algún texto e ténteo de " "novo" #: ../blogger_prefs.py:19 msgid "Blogger Preferences" msgstr "Preferencias de Blogger" #: ../blogger_prefs.py:39 msgid "Self-Run MovableType" msgstr "Executar automaticamente MovableType" #: ../blogger_prefs.py:40 msgid "Self-Run Pyblosxom" msgstr "Executar automaticamente Pybloxsom" #: ../blogger_prefs.py:41 msgid "Self-Run WordPress" msgstr "Executar automaticamente WordPress" #: ../blogger_prefs.py:42 msgid "Self-Run Other" msgstr "Executar automaticamente outro" #: ../blogger_prefs.py:46 msgid "Blog Type:" msgstr "Tipo de blog:" #: ../blogger_prefs.py:56 msgid "Blog Protocol:" msgstr "Protocolo do blog:" #: ../blogger_prefs.py:60 ../blogger_prefs.py:122 ../blogger_prefs.py:127 #: ../blogger_prefs.py:132 msgid "Base Blog URL:" msgstr "URL base do blog:" #: ../blogger_prefs.py:62 msgid "Blog Name:" msgstr "Nome do blog:" #: ../blogger_prefs.py:64 msgid "Lookup Blogs" msgstr "Procurar blogs" #: ../blogger_prefs.py:74 msgid "Username:" msgstr "Nome de usuario:" #: ../blogger_prefs.py:75 msgid "Password:" msgstr "Contrasinal:" #: ../blogger_prefs.py:117 ../blogger_prefs.py:137 ../blogger_prefs.py:142 #: ../blogger_prefs.py:147 ../blogger_prefs.py:153 msgid "XML-RPC URL:" msgstr "URL de XML-RPC:" #: ../blogger_prefs.py:161 msgid "Unknown blog type" msgstr "Tipo de blog descoñecido" #: ../blogger_prefs.py:161 msgid "The detected blog type is not among the list of supported blogs" msgstr "O tipo de blog detectado non esta na lista de blogs soportados" #: ../gnome-blog.desktop.in.h:2 msgid "Post an entry to a web log" msgstr "Publicar unha entrada nun weblog" #: ../gnomeblog.schemas.in.h:1 msgid "Password to use in accessing the blog" msgstr "Contrasinal para acceder ó blog" #: ../gnomeblog.schemas.in.h:2 msgid "Protocol to use in accessing the blog" msgstr "Protocolo empregado para acceder ó blog" #: ../gnomeblog.schemas.in.h:3 msgid "Suffix to attach to the base URL (e.g. \"xmlrpc.cgi\")" msgstr "Sufixo engadido á URL base (ex.: \"xmlrcp.cgi\")" #: ../gnomeblog.schemas.in.h:4 msgid "The application's preferences have been initialized" msgstr "As preferencias do programa foron inicializadas" #: ../gnomeblog.schemas.in.h:5 msgid "The id or name of the particular blog to use on the XML-RPC server" msgstr "O ID ou nome do blog particular a empregar no servidor XML-RPC" #: ../gnomeblog.schemas.in.h:6 msgid "URL to the bloggerAPI compatible XML-RPC server" msgstr "URL do servicor XML-RPC compatible coa bloggerAPI" #: ../gnomeblog.schemas.in.h:7 msgid "Username to use in accessing the blog" msgstr "Nome de usuario a empregar para acceder ó blog" #: ../hig_alert.py:15 #, python-format msgid "URL '%s' may not be a valid bloggerAPI. XML-RPC Server reported: %s." msgstr "" "A URL '%s' pode que non sexa dun servidor compatible coa bloggerAPI. O " "servidor XML-RPC respostou: %s." #: ../hig_alert.py:17 #, python-format msgid "" "Unknown username %s or password trying to post blog entry to XML-RPC server %" "s." msgstr "" "Nome de usuario %s ou contrasinal descoñecido ó tentar publicar a estrada no " "servidor XML-RPC %s" #: ../hig_alert.py:19 #, python-format msgid "" "Could not post to blog '%s' at bloggerAPI XML-RPC server '%s'. Server " "reported: %s." msgstr "" "Non se puido publicar no blog '%s' do servidor XML-RPC no blogger '%s'. O " "servidor repostou: %s." #: ../hig_alert.py:21 #, python-format msgid "" "The bloggerAPI server (%s) reported an error I don't understand: '%s, %s'. \n" "\n" "Please email this error message to seth@gnome.org so I can address it." msgstr "" "O servidor bloggerAPI (%s) repostou cun erro que non entendo: '%s, %s'. \n" "\n" "Sexa tan amable de facer chegar este erro ao email seth@gnome.org." #: ../protocols/advogato.py:27 ../protocols/advogato.py:30 #: ../protocols/advogato.py:42 ../protocols/bloggerAPI.py:61 #: ../protocols/bloggerAPI.py:89 ../protocols/livejournal.py:35 #: ../protocols/livejournal.py:64 msgid "Could not post Blog entry" msgstr "No se puido publicar a entrada do blog" #: ../protocols/advogato.py:27 msgid "Your username is invalid. Please double-check the preferences." msgstr "" "O seu nome de usuario non é valido. Sexa tan amable de revisar as " "preferencias." #: ../protocols/advogato.py:30 ../protocols/livejournal.py:35 msgid "" "Your username or password is invalid. Please double-check the preferences." msgstr "" "O seu usuario ou contrasinal non é valido. Sexa tan amable de revisar as " "preferencias." #: ../protocols/advogato.py:39 ../protocols/bloggerAPI.py:86 #: ../protocols/livejournal.py:61 msgid "Could not post blog entry" msgstr "Non se puido publicar a entrada do blog" #: ../protocols/advogato.py:42 ../protocols/bloggerAPI.py:38 #: ../protocols/bloggerAPI.py:89 #, python-format msgid "" "URL '%s' does not seem to be a valid bloggerAPI XML-RPC server. Web server " "reported: %s." msgstr "" "A URL '%s' non repostou coma un servidor bloggerAPI válido. A resposta do " "servidor foi: '%s'" #: ../protocols/bloggerAPI.py:35 ../protocols/bloggerAPI.py:38 msgid "Could not get list of blogs" msgstr "Non se puido obter a lista de blogs" #: ../protocols/bloggerAPI.py:61 msgid "" "No XML-RPC server URL to post blog entries to is set, or the value could not " "be retrieved from GConf. Your entry will remain in the blogger window." msgstr "" "Non hai informacion sobre o servidor XML-RPC no que publicar, ou o valor non " "se puido obter de GConf. A sua entrada permanecera na xanela do blogger." #: ../protocols/livejournal.py:64 #, python-format msgid "" "URL '%s' does not seem to be a valid LiveJournal XML-RPC server. Web server " "reported: %s." msgstr "" "A URL '%s' non parece ser un servidor XML-RPC LiveJournal válido. O servidor " "web repostou: %s." #: ../rich_entry.py:144 ../rich_entry.py:152 msgid "Could not load dragged in image" msgstr "No se puido cargar a imaxe arrastrada dentro do programa" #: ../rich_entry.py:145 ../rich_entry.py:153 #, python-format msgid "Error loading %s was: %s" msgstr "O erro cargando %s foi: %s" #: ../rich_entry.py:210 msgid "Add _Link..." msgstr "Engadir _Ligazón..." #: ../rich_entry.py:215 msgid "Add Link" msgstr "Engadir Ligazón" #: ../rich_entry.py:218 msgid "_Add Link" msgstr "Eng_adir Ligazón" #: ../rich_entry.py:226 msgid "Text:" msgstr "Texto:" #: ../rich_entry.py:229 msgid "URL:" msgstr "URL:" #~ msgid "Blog Base URL:" #~ msgstr "URL base do blog:" gnome-blog-0.9.1/po/hr.po0000664000076500007650000001351010171157777012110 00000000000000# Translation of gnome-blog to Croatiann # Copyright (C) Croatiann team # Translators: Automatski Prijevod <>,Nikola Planinac <>, msgid "" msgstr "" "Project-Id-Version: gnome-blog 0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-01-12 03:10-0500\n" "PO-Revision-Date: 2004-03-20 14:51+CET\n" "Last-Translator: auto\n" "Language-Team: Croatian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: TransDict server\n" #: GNOME_BlogApplet.server.in.in.h:1 msgid "Accessories" msgstr "Pomoćni alati" #: GNOME_BlogApplet.server.in.in.h:2 gnome-blog.desktop.in.h:1 msgid "Blog Entry Poster" msgstr "" #: GNOME_BlogApplet.server.in.in.h:3 msgid "Post entries to a web log" msgstr "" #: GNOME_BlogApplet.xml.h:1 msgid "_About..." msgstr "_O..." #: GNOME_BlogApplet.xml.h:2 msgid "_Preferences..." msgstr "_Podešenja..." #: blog_applet.py:35 msgid "About" msgstr "O" #: blog_applet.py:38 msgid "Blog" msgstr "Blogče" #: blog_applet.py:73 msgid "A GNOME Web Blogging Applet" msgstr "" #: blog_applet.py:108 #, python-format msgid "Create a blog entry for %s at %s" msgstr "" #: blog_poster.py:44 msgid "_Post Entry" msgstr "" #: blog_poster.py:69 msgid "Preferences..." msgstr "Podešenja..." #: blog_poster.py:81 msgid "Title:" msgstr "Naslov:" #: blog_poster.py:116 msgid "Couldn't upload images" msgstr "" #: blog_poster.py:116 msgid "The blog protocol in use does not support uploading images" msgstr "" #: blog_poster.py:163 msgid "Blog Entry is Blank" msgstr "" #: blog_poster.py:163 msgid "" "No text was entered in the blog entry box. Please enter some text and try " "again" msgstr "" #: blogger_prefs.py:19 msgid "Blogger Preferences" msgstr "" #: blogger_prefs.py:38 msgid "Self-Run MovableType" msgstr "" #: blogger_prefs.py:39 msgid "Self-Run Pyblosxom" msgstr "" #: blogger_prefs.py:40 msgid "Self-Run WordPress" msgstr "" #: blogger_prefs.py:41 msgid "Self-Run Other" msgstr "" #: blogger_prefs.py:45 msgid "Blog Type:" msgstr "" #: blogger_prefs.py:55 msgid "Blog Protocol:" msgstr "" #: blogger_prefs.py:59 msgid "Blog Base URL:" msgstr "" #: blogger_prefs.py:61 msgid "Blog Name:" msgstr "" #: blogger_prefs.py:63 msgid "Lookup Blogs" msgstr "" #: blogger_prefs.py:73 msgid "Username:" msgstr "Korisničko ime:" #: blogger_prefs.py:74 msgid "Password:" msgstr "Lozinka:" #: blogger_prefs.py:116 blogger_prefs.py:136 blogger_prefs.py:141 #: blogger_prefs.py:147 msgid "XML-RPC URL:" msgstr "" #: blogger_prefs.py:121 blogger_prefs.py:126 blogger_prefs.py:131 msgid "Base Blog URL:" msgstr "" #: blogger_prefs.py:155 msgid "Unknown blog type" msgstr "" #: blogger_prefs.py:155 msgid "The detected blog type is not among the list of supported blogs" msgstr "" #: gnome-blog.desktop.in.h:2 msgid "Post an entry to a web log" msgstr "" #: gnomeblog.schemas.in.h:1 msgid "Password to use in accessing the blog" msgstr "" #: gnomeblog.schemas.in.h:2 msgid "Protocol to use in accessing the blog" msgstr "" #: gnomeblog.schemas.in.h:3 msgid "Suffix to attach to the base URL (e.g. \"xmlrpc.cgi\")" msgstr "" #: gnomeblog.schemas.in.h:4 msgid "The application's preferences have been initialized" msgstr "" #: gnomeblog.schemas.in.h:5 msgid "The id or name of the particular blog to use on the XML-RPC server" msgstr "" #: gnomeblog.schemas.in.h:6 msgid "URL to the bloggerAPI compatible XML-RPC server" msgstr "" #: gnomeblog.schemas.in.h:7 msgid "Username to use in accessing the blog" msgstr "" #: hig_alert.py:13 #, python-format msgid "URL '%s' may not be a valid bloggerAPI. XML-RPC Server reported: %s." msgstr "" #: hig_alert.py:15 #, python-format msgid "" "Unknown username %s or password trying to post blog entry to XML-RPC server %" "s." msgstr "" #: hig_alert.py:17 #, python-format msgid "" "Could not post to blog '%s' at bloggerAPI XML-RPC server '%s'. Server " "reported: %s." msgstr "" #: hig_alert.py:19 #, python-format msgid "" "The bloggerAPI server (%s) reported an error I don't understand: '%s, %s'. \n" "\n" "Please email this error message to seth@gnome.org so I can address it." msgstr "" #: protocols/advogato.py:27 protocols/advogato.py:30 protocols/advogato.py:42 #: protocols/bloggerAPI.py:62 protocols/bloggerAPI.py:90 #: protocols/livejournal.py:35 protocols/livejournal.py:64 msgid "Could not post Blog entry" msgstr "" #: protocols/advogato.py:27 msgid "Your username is invalid. Please double-check the preferences." msgstr "" #: protocols/advogato.py:30 protocols/livejournal.py:35 msgid "" "Your username or password is invalid. Please double-check the preferences." msgstr "" #: protocols/advogato.py:39 protocols/bloggerAPI.py:87 #: protocols/livejournal.py:61 msgid "Could not post blog entry" msgstr "" #: protocols/advogato.py:42 protocols/bloggerAPI.py:39 #: protocols/bloggerAPI.py:90 #, python-format msgid "" "URL '%s' does not seem to be a valid bloggerAPI XML-RPC server. Web server " "reported: %s." msgstr "" #: protocols/bloggerAPI.py:36 protocols/bloggerAPI.py:39 msgid "Could not get list of blogs" msgstr "" #: protocols/bloggerAPI.py:62 msgid "" "No XML-RPC server URL to post blog entries to is set, or the value could not " "be retrieved from GConf. Your entry will remain in the blogger window." msgstr "" #: protocols/livejournal.py:64 #, python-format msgid "" "URL '%s' does not seem to be a valid LiveJournal XML-RPC server. Web server " "reported: %s." msgstr "" #: rich_entry.py:144 rich_entry.py:152 msgid "Could not load dragged in image" msgstr "" #: rich_entry.py:145 rich_entry.py:153 #, python-format msgid "Error loading %s was: %s" msgstr "" #: rich_entry.py:210 msgid "Add _Link..." msgstr "_Dodaj vezu..." #: rich_entry.py:215 msgid "Add Link" msgstr "Dodaj link" #: rich_entry.py:216 msgid "_Add Link" msgstr "_Dodaj link" #: rich_entry.py:224 msgid "Text:" msgstr "Tekst:" #: rich_entry.py:227 msgid "URL:" msgstr "URL:" gnome-blog-0.9.1/po/hu.po0000664000076500007650000002075010216647035012106 00000000000000# translation of gnome-blog to Hungarian # This file is distributed under the same license as the gnome-blog package. # Copyright (C) 2005, Free Software Foundation, Inc. # Szabolcs Varga , 2005. # Gabor Kelemen , 2005. # msgid "" msgstr "" "Project-Id-Version: gnome-blog.HEAD\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-03-17 12:05+0100\n" "PO-Revision-Date: 2005-03-18 09:20+0100\n" "Last-Translator: Gabor Kelemen \n" "Language-Team: Hungarian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.3.1\n" "Plural-Forms: nplurals=1; plural=0;\n" #: GNOME_BlogApplet.server.in.in.h:1 msgid "Accessories" msgstr "Kellékek" #: GNOME_BlogApplet.server.in.in.h:2 gnome-blog.desktop.in.h:1 msgid "Blog Entry Poster" msgstr "Blogbejegyzés-feladó" #: GNOME_BlogApplet.server.in.in.h:3 msgid "Post entries to a web log" msgstr "Bejegyzések feladása egy webes naplóra (blogra)" #: GNOME_BlogApplet.xml.h:1 msgid "_About..." msgstr "_Névjegy..." #: GNOME_BlogApplet.xml.h:2 msgid "_Preferences..." msgstr "_Beállítások" #: blog_applet.py:35 msgid "About" msgstr "Névjegy" #: blog_applet.py:38 msgid "Blog" msgstr "Blog" #: blog_applet.py:73 msgid "A GNOME Web Blogging Applet" msgstr "Egy GNOME alapú webes bloggoló kisalkalmazás" #: blog_applet.py:108 #, python-format msgid "Create a blog entry for %s at %s" msgstr "Blogbejegyzés készítése %s számára a(z) %s címen" #: blog_poster.py:44 msgid "_Post Entry" msgstr "Bejegyzés _feladása" #: blog_poster.py:69 msgid "Preferences..." msgstr "Beállítások..." #: blog_poster.py:81 msgid "Title:" msgstr "Cím:" #: blog_poster.py:116 msgid "Couldn't upload images" msgstr "Nem sikerült feltölteni a képeket" #: blog_poster.py:116 msgid "The blog protocol in use does not support uploading images" msgstr "A használt blogprotokoll nem támogatja a képek feltöltését" #: blog_poster.py:163 msgid "Blog Entry is Blank" msgstr "A blogbejegyzés üres" #: blog_poster.py:163 msgid "" "No text was entered in the blog entry box. Please enter some text and try " "again" msgstr "" "Nem írt be szöveget a blogbejegyzés mezőbe. Írjon be valamit és próbálkozzon " "újra." #: blogger_prefs.py:19 msgid "Blogger Preferences" msgstr "Blogger beállításai" #: blogger_prefs.py:38 msgid "Self-Run MovableType" msgstr "Önindító, áthelyezhető típus" #: blogger_prefs.py:39 msgid "Self-Run Pyblosxom" msgstr "Önindító Pyblosxom" #: blogger_prefs.py:40 msgid "Self-Run WordPress" msgstr "Önindító WordPress" #: blogger_prefs.py:41 msgid "Self-Run Other" msgstr "Önindító egyéb" #: blogger_prefs.py:45 msgid "Blog Type:" msgstr "Blog típusa:" #: blogger_prefs.py:55 msgid "Blog Protocol:" msgstr "Blogprotokoll:" #: blogger_prefs.py:59 msgid "Blog Base URL:" msgstr "Blog alap URL:" #: blogger_prefs.py:61 msgid "Blog Name:" msgstr "Blog neve:" #: blogger_prefs.py:63 msgid "Lookup Blogs" msgstr "Blogok kikeresése" #: blogger_prefs.py:73 msgid "Username:" msgstr "Felhasználónév:" #: blogger_prefs.py:74 msgid "Password:" msgstr "Jelszó:" #: blogger_prefs.py:116 blogger_prefs.py:136 blogger_prefs.py:141 #: blogger_prefs.py:147 msgid "XML-RPC URL:" msgstr "XML-RPC URL:" #: blogger_prefs.py:121 blogger_prefs.py:126 blogger_prefs.py:131 msgid "Base Blog URL:" msgstr "Blog alap URL:" #: blogger_prefs.py:155 msgid "Unknown blog type" msgstr "Ismeretlen blogtípus" #: blogger_prefs.py:155 msgid "The detected blog type is not among the list of supported blogs" msgstr "A felismert blogtípus nem szerepel a támogatottak között" #: gnome-blog.desktop.in.h:2 msgid "Post an entry to a web log" msgstr "Bejegyzés feladása egy webes naplóra (blogra)" #: gnomeblog.schemas.in.h:1 msgid "Password to use in accessing the blog" msgstr "A blog eléréséhez használt jelszó" #: gnomeblog.schemas.in.h:2 msgid "Protocol to use in accessing the blog" msgstr "A blog elérésére használt protokoll" #: gnomeblog.schemas.in.h:3 msgid "Suffix to attach to the base URL (e.g. \"xmlrpc.cgi\")" msgstr "Az alap URL mögé illesztendő utótag (például \"xmlrpc.cgi\")" #: gnomeblog.schemas.in.h:4 msgid "The application's preferences have been initialized" msgstr "Az alkalmazás beállításai inicializálásra kerültek" #: gnomeblog.schemas.in.h:5 msgid "The id or name of the particular blog to use on the XML-RPC server" msgstr "Az adott blog azonosítója vagy neve az XML-RPC kiszolgálón" #: gnomeblog.schemas.in.h:6 msgid "URL to the bloggerAPI compatible XML-RPC server" msgstr "URL az XML-RPC kiszolgálóval kompatibilis bloggerAPI-ra" #: gnomeblog.schemas.in.h:7 msgid "Username to use in accessing the blog" msgstr "A blog elérésére használt felhasználónév" #: hig_alert.py:13 #, python-format msgid "URL '%s' may not be a valid bloggerAPI. XML-RPC Server reported: %s." msgstr "" "A(z) '%s' URL lehet, hogy nem érvényes bloggerAPI. Az XML-RPC kiszolgáló " "által visszaadott üzenet: %s." #: hig_alert.py:15 #, python-format msgid "" "Unknown username %s or password trying to post blog entry to XML-RPC server %" "s." msgstr "" "Ismeretlen felhasználónév (%s) vagy jelszó a blogbejegyzésnek a(z) %s XML-" "RPC kiszolgálóra feladása közben." #: hig_alert.py:17 #, python-format msgid "" "Could not post to blog '%s' at bloggerAPI XML-RPC server '%s'. Server " "reported: %s." msgstr "" "Nem sikerült írni a(z) '%s' blogra a bloggerAPI-val a(z) %s XML-RPC " "kiszolgálóra. A kiszolgáló által visszaadott üzenet: %s." #: hig_alert.py:19 #, python-format msgid "" "The bloggerAPI server (%s) reported an error I don't understand: '%s, %s'. \n" "\n" "Please email this error message to seth@gnome.org so I can address it." msgstr "" "A bloggerAPI kiszolgáló (%s) érthetetlen hibát jelzett: '%s, %s'. \n" "\n" "Küldje el ezt a hibaüzenetet a seth@gnome.org címre, hogy foglalkozni " "tudjunk vele." #: protocols/advogato.py:27 protocols/advogato.py:30 protocols/advogato.py:42 #: protocols/bloggerAPI.py:62 protocols/bloggerAPI.py:90 #: protocols/livejournal.py:35 protocols/livejournal.py:64 msgid "Could not post Blog entry" msgstr "Nem sikerült feladni a blogbejegyzést" #: protocols/advogato.py:27 msgid "Your username is invalid. Please double-check the preferences." msgstr "A felhasználónév érvénytelen. Ellenőrizze újból a beállításokat." #: protocols/advogato.py:30 protocols/livejournal.py:35 msgid "" "Your username or password is invalid. Please double-check the preferences." msgstr "" "A felhasználónév vagy jelszó érvénytelen. Ellenőrizze újból a beállításokat." #: protocols/advogato.py:39 protocols/bloggerAPI.py:87 #: protocols/livejournal.py:61 msgid "Could not post blog entry" msgstr "Nem sikerült feladni a blogbejegyzést" #: protocols/advogato.py:42 protocols/bloggerAPI.py:39 #: protocols/bloggerAPI.py:90 #, python-format msgid "" "URL '%s' does not seem to be a valid bloggerAPI XML-RPC server. Web server " "reported: %s." msgstr "" "A(z) '%s' nem tűnik érvényes bloggerAPI XML-RPC kiszolgálónak. A " "webkiszolgáló által visszaadott üzenet: %s." #: protocols/bloggerAPI.py:36 protocols/bloggerAPI.py:39 msgid "Could not get list of blogs" msgstr "Nem sikerült lekérni a blogok listáját" #: protocols/bloggerAPI.py:62 msgid "" "No XML-RPC server URL to post blog entries to is set, or the value could not " "be retrieved from GConf. Your entry will remain in the blogger window." msgstr "" "Nincs megadva XML-RPC kiszolgáló URL, ahová a blogbejegyzéseket fel lehetne " "adni, vagy pedig nem sikerült lekérni az értéket a GConf-ból. A bejegyzés a " "bloggerablakban marad." #: protocols/livejournal.py:64 #, python-format msgid "" "URL '%s' does not seem to be a valid LiveJournal XML-RPC server. Web server " "reported: %s." msgstr "" "A(z) '%s' nem tűnik érvényes LiveJournal XML-RPC kiszolgálónak. A " "webkiszolgáló által visszaadott üzenet: %s." #: rich_entry.py:144 rich_entry.py:152 msgid "Could not load dragged in image" msgstr "Nem sikerült betölteni a behúzott képet" #: rich_entry.py:145 rich_entry.py:153 #, python-format msgid "Error loading %s was: %s" msgstr "Hiba %s betöltése közben: %s" #: rich_entry.py:210 msgid "Add _Link..." msgstr "_Hivatkozás hozzáadása..." #: rich_entry.py:215 msgid "Add Link" msgstr "Hivatkozás hozzáadása" #: rich_entry.py:216 msgid "_Add Link" msgstr "_Hivatkozás hozzáadása" #: rich_entry.py:224 msgid "Text:" msgstr "Szöveg:" #: rich_entry.py:227 msgid "URL:" msgstr "URL:" gnome-blog-0.9.1/po/ja.po0000664000076500007650000002150610172427543012065 00000000000000# gnome-blog ja.po. # Copyright (C) 2003-2005 Free Software Foundation, Inc. # This file is distributed under the same license as the gnome-blog package. # Takeshi AIHANA , 2003-2005. # msgid "" msgstr "" "Project-Id-Version: gnome-blog HEAD\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-01-16 18:10+0900\n" "PO-Revision-Date: 2005-01-16 18:09+0900\n" "Last-Translator: Takeshi AIHANA \n" "Language-Team: Japanese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: GNOME_BlogApplet.server.in.in.h:1 msgid "Accessories" msgstr "アクセサリ" #: GNOME_BlogApplet.server.in.in.h:2 gnome-blog.desktop.in.h:1 msgid "Blog Entry Poster" msgstr "ブログ・エントリ投稿ツール" #: GNOME_BlogApplet.server.in.in.h:3 msgid "Post entries to a web log" msgstr "エントリをウェブ・ログへ投稿します" #: GNOME_BlogApplet.xml.h:1 msgid "_About..." msgstr "情報(_A)..." #: GNOME_BlogApplet.xml.h:2 msgid "_Preferences..." msgstr "設定(_P)..." #: blog_applet.py:35 msgid "About" msgstr "情報" #: blog_applet.py:38 msgid "Blog" msgstr "ブログ" #: blog_applet.py:73 msgid "A GNOME Web Blogging Applet" msgstr "GNOME ウェブ・ログ投稿アプレットです。" #: blog_applet.py:108 #, python-format msgid "Create a blog entry for %s at %s" msgstr "%s のブログ・エントリを %s に作成します" #: blog_poster.py:44 msgid "_Post Entry" msgstr "エントリの投稿(_P)" #: blog_poster.py:69 msgid "Preferences..." msgstr "設定..." #: blog_poster.py:81 msgid "Title:" msgstr "タイトル:" #: blog_poster.py:116 msgid "Couldn't upload images" msgstr "画像をアップロードできませんでした" #: blog_poster.py:116 msgid "The blog protocol in use does not support uploading images" msgstr "使用中のブログ・プロトコルは画像のアップロードをサポートしていません" #: blog_poster.py:163 msgid "Blog Entry is Blank" msgstr "ブログのエントリが空です" #: blog_poster.py:163 msgid "" "No text was entered in the blog entry box. Please enter some text and try " "again" msgstr "" "ブログ・エントリ・ボックスにエントリの内容がありません。何かテキストを入力し" "て再実行して下さい" #: blogger_prefs.py:19 msgid "Blogger Preferences" msgstr "Blogger の設定" #: blogger_prefs.py:38 msgid "Self-Run MovableType" msgstr "自動実行型 [MovableType]" #: blogger_prefs.py:39 msgid "Self-Run Pyblosxom" msgstr "自動実行型 [Pybloxsom]" #: blogger_prefs.py:40 msgid "Self-Run WordPress" msgstr "自動実行型 [WordPress]" #: blogger_prefs.py:41 msgid "Self-Run Other" msgstr "自動実行型 [その他]" #: blogger_prefs.py:45 msgid "Blog Type:" msgstr "ブログの種類:" #: blogger_prefs.py:55 msgid "Blog Protocol:" msgstr "ブログのプロトコル:" #: blogger_prefs.py:59 msgid "Blog Base URL:" msgstr "ブログの URL:" #: blogger_prefs.py:61 msgid "Blog Name:" msgstr "ブログの名前:" #: blogger_prefs.py:63 msgid "Lookup Blogs" msgstr "ブログの検索" #: blogger_prefs.py:73 msgid "Username:" msgstr "ユーザ名:" #: blogger_prefs.py:74 msgid "Password:" msgstr "パスワード:" #: blogger_prefs.py:116 blogger_prefs.py:136 blogger_prefs.py:141 #: blogger_prefs.py:147 msgid "XML-RPC URL:" msgstr "XML-RPC URL:" #: blogger_prefs.py:121 blogger_prefs.py:126 blogger_prefs.py:131 msgid "Base Blog URL:" msgstr "ブログの URL:" #: blogger_prefs.py:155 msgid "Unknown blog type" msgstr "不明なブログの種類です" #: blogger_prefs.py:155 msgid "The detected blog type is not among the list of supported blogs" msgstr "検出したブログの種類はサポートしている一覧の中にはありません" #: gnome-blog.desktop.in.h:2 msgid "Post an entry to a web log" msgstr "エントリをウェブ・ログへ投稿します" #: gnomeblog.schemas.in.h:1 msgid "Password to use in accessing the blog" msgstr "アクセスするブログで使用するパスワードです" #: gnomeblog.schemas.in.h:2 msgid "Protocol to use in accessing the blog" msgstr "ブログにアクセスする際に使用するプロトコルです" #: gnomeblog.schemas.in.h:3 msgid "Suffix to attach to the base URL (e.g. \"xmlrpc.cgi\")" msgstr "ベース URL に付与する拡張子です (例: \"xmlrpc.cgi\")" #: gnomeblog.schemas.in.h:4 msgid "The application's preferences have been initialized" msgstr "アプリケーションの設定が初期化されました" #: gnomeblog.schemas.in.h:5 msgid "The id or name of the particular blog to use on the XML-RPC server" msgstr "XML-RPC サーバで使用する特定のブログの名前/識別子 ID です" #: gnomeblog.schemas.in.h:6 msgid "URL to the bloggerAPI compatible XML-RPC server" msgstr "XML-RPC サーバ互換の bloggerAPI に対する URL です" #: gnomeblog.schemas.in.h:7 msgid "Username to use in accessing the blog" msgstr "アクセスするブログで使用するユーザ名です" #: hig_alert.py:13 #, python-format msgid "URL '%s' may not be a valid bloggerAPI. XML-RPC Server reported: %s." msgstr "" "URL '%s' は正しい bloggerAPI ではないようです。XML-RPC サーバからの報告: %s" #: hig_alert.py:15 #, python-format msgid "" "Unknown username %s or password trying to post blog entry to XML-RPC server %" "s." msgstr "" "ブログ・エントリを不明なユーザ名 %s あるいは不明なパスワードで XML-RPC サー" "バ %s へ投稿しようとしました" #: hig_alert.py:17 #, python-format msgid "" "Could not post to blog '%s' at bloggerAPI XML-RPC server '%s'. Server " "reported: %s." msgstr "" "ブログ '%s' を Blogger API XML-RPC サーバの '%s' へ投稿できませんでした (サー" "バからの報告: %s)" #: hig_alert.py:19 #, python-format msgid "" "The bloggerAPI server (%s) reported an error I don't understand: '%s, %s'. \n" "\n" "Please email this error message to seth@gnome.org so I can address it." msgstr "" "bloggerAPI サーバ (%s) が不明なエラーを報告してきました: '%s, %s'\n" "\n" "このエラー・メッセージの内容を seth@gnome.org まで送付して下さい。" #: protocols/advogato.py:27 protocols/advogato.py:30 protocols/advogato.py:42 #: protocols/bloggerAPI.py:62 protocols/bloggerAPI.py:90 #: protocols/livejournal.py:35 protocols/livejournal.py:64 msgid "Could not post Blog entry" msgstr "ブログ・エントリを投稿できませんでした" #: protocols/advogato.py:27 msgid "Your username is invalid. Please double-check the preferences." msgstr "ユーザ名が正しくありません (設定をもう一度確認して下さい)" #: protocols/advogato.py:30 protocols/livejournal.py:35 msgid "" "Your username or password is invalid. Please double-check the preferences." msgstr "ユーザ名とパスワードが正しくありません (設定をもう一度確認して下さい)" #: protocols/advogato.py:39 protocols/bloggerAPI.py:87 #: protocols/livejournal.py:61 msgid "Could not post blog entry" msgstr "ブログ・エントリを投稿できませんでした" #: protocols/advogato.py:42 protocols/bloggerAPI.py:39 #: protocols/bloggerAPI.py:90 #, python-format msgid "" "URL '%s' does not seem to be a valid bloggerAPI XML-RPC server. Web server " "reported: %s." msgstr "" "URL '%s' は正しい bloggerAPI ではないようです (XML-RPC サーバからの報告: %s)" #: protocols/bloggerAPI.py:36 protocols/bloggerAPI.py:39 msgid "Could not get list of blogs" msgstr "ブログの一覧を取得できませんでした" #: protocols/bloggerAPI.py:62 msgid "" "No XML-RPC server URL to post blog entries to is set, or the value could not " "be retrieved from GConf. Your entry will remain in the blogger window." msgstr "" "ブログ・エントリを投稿する先の XML-RPC サーバ URL がセットされていないか、ま" "たはその値を GConf から取得できませんでした (エントリはブログ・ウィンドウの中" "に残します)" #: protocols/livejournal.py:64 #, python-format msgid "" "URL '%s' does not seem to be a valid LiveJournal XML-RPC server. Web server " "reported: %s." msgstr "" "URL '%s' は正しい LiveJournal XML-RPC サーバではないようです (ウェブ・サーバ" "からの報告: %s)" #: rich_entry.py:144 rich_entry.py:152 msgid "Could not load dragged in image" msgstr "ドラッグした画像をロードできませんでした" #: rich_entry.py:145 rich_entry.py:153 #, python-format msgid "Error loading %s was: %s" msgstr "%s をロードする際にエラー: %s" #: rich_entry.py:210 msgid "Add _Link..." msgstr "リンクの追加(_L)..." #: rich_entry.py:215 msgid "Add Link" msgstr "リンクの追加" #: rich_entry.py:216 msgid "_Add Link" msgstr "リンクの追加(_A)" #: rich_entry.py:224 msgid "Text:" msgstr "内容:" #: rich_entry.py:227 msgid "URL:" msgstr "URL:" gnome-blog-0.9.1/po/it.po0000664000076500007650000001671410171157777012124 00000000000000# Italian translation of gnome-blog # Copyright (C) 2003 The Free Software Foundation # This file is distributed under the same license as the gnome-blog package. # Francesco Gigli , 2003. <>, 2003. # # msgid "" msgstr "" "Project-Id-Version: gnome-blog 0.6\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-01-12 03:10-0500\n" "PO-Revision-Date: 2003-09-12 03:00+0200\n" "Last-Translator: Francesco Gigli \n" "Language-Team: Italian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=iso-8859-1\n" "Content-Transfer-Encoding: 8bit\n" #: GNOME_BlogApplet.server.in.in.h:1 msgid "Accessories" msgstr "" #: GNOME_BlogApplet.server.in.in.h:2 gnome-blog.desktop.in.h:1 #, fuzzy msgid "Blog Entry Poster" msgstr "L'articolo e' Vuoto" #: GNOME_BlogApplet.server.in.in.h:3 #, fuzzy msgid "Post entries to a web log" msgstr "Invia gli articoli a Blogger.com" #: GNOME_BlogApplet.xml.h:1 msgid "_About..." msgstr "_Informazioni" #: GNOME_BlogApplet.xml.h:2 msgid "_Preferences..." msgstr "_Impostazioni" #: blog_applet.py:35 msgid "About" msgstr "Informazioni" #: blog_applet.py:38 msgid "Blog" msgstr "Blog" #: blog_applet.py:73 msgid "A GNOME Web Blogging Applet" msgstr "Un'Applett GNOME per il Web Blogging" #: blog_applet.py:108 #, python-format msgid "Create a blog entry for %s at %s" msgstr "" #: blog_poster.py:44 msgid "_Post Entry" msgstr "_Invia Articolo" #: blog_poster.py:69 #, fuzzy msgid "Preferences..." msgstr "_Impostazioni" #: blog_poster.py:81 msgid "Title:" msgstr "Titolo:" #: blog_poster.py:116 msgid "Couldn't upload images" msgstr "" #: blog_poster.py:116 msgid "The blog protocol in use does not support uploading images" msgstr "" #: blog_poster.py:163 msgid "Blog Entry is Blank" msgstr "L'articolo e' Vuoto" #: blog_poster.py:163 msgid "" "No text was entered in the blog entry box. Please enter some text and try " "again" msgstr "" #: blogger_prefs.py:19 msgid "Blogger Preferences" msgstr "Preferenze del blogger" #: blogger_prefs.py:38 msgid "Self-Run MovableType" msgstr "Movable Type personale" #: blogger_prefs.py:39 #, fuzzy msgid "Self-Run Pyblosxom" msgstr "Pyblosxom personale" #: blogger_prefs.py:40 #, fuzzy msgid "Self-Run WordPress" msgstr "Altri personali" #: blogger_prefs.py:41 msgid "Self-Run Other" msgstr "Altri personali" #: blogger_prefs.py:45 #, fuzzy msgid "Blog Type:" msgstr "Nome del Blog:" #: blogger_prefs.py:55 #, fuzzy msgid "Blog Protocol:" msgstr "Attrezzo Bloggante" #: blogger_prefs.py:59 msgid "Blog Base URL:" msgstr "URL di base del Blog" #: blogger_prefs.py:61 msgid "Blog Name:" msgstr "Nome del Blog:" #: blogger_prefs.py:63 msgid "Lookup Blogs" msgstr "Cerca i Blog" #: blogger_prefs.py:73 msgid "Username:" msgstr "" #: blogger_prefs.py:74 msgid "Password:" msgstr "" #: blogger_prefs.py:116 blogger_prefs.py:136 blogger_prefs.py:141 #: blogger_prefs.py:147 msgid "XML-RPC URL:" msgstr "URL XML-RPC:" #: blogger_prefs.py:121 blogger_prefs.py:126 blogger_prefs.py:131 msgid "Base Blog URL:" msgstr "URL base del Blog:" #: blogger_prefs.py:155 msgid "Unknown blog type" msgstr "" #: blogger_prefs.py:155 msgid "The detected blog type is not among the list of supported blogs" msgstr "" #: gnome-blog.desktop.in.h:2 msgid "Post an entry to a web log" msgstr "" #: gnomeblog.schemas.in.h:1 msgid "Password to use in accessing the blog" msgstr "Password da usare per accedere al Blog" #: gnomeblog.schemas.in.h:2 msgid "Protocol to use in accessing the blog" msgstr "Protocollo da usare per accedere al Blog" #: gnomeblog.schemas.in.h:3 msgid "Suffix to attach to the base URL (e.g. \"xmlrpc.cgi\")" msgstr "" #: gnomeblog.schemas.in.h:4 msgid "The application's preferences have been initialized" msgstr "Le impostazioni dell'applicazione sono state inizializzate" #: gnomeblog.schemas.in.h:5 msgid "The id or name of the particular blog to use on the XML-RPC server" msgstr "Identificavo o nome del Blog da usare sul server XML-RPC" #: gnomeblog.schemas.in.h:6 msgid "URL to the bloggerAPI compatible XML-RPC server" msgstr "URL delle bloggerAPI compattibili con il server XML-RPC" #: gnomeblog.schemas.in.h:7 msgid "Username to use in accessing the blog" msgstr "nome utente per accedere al Blog" #: hig_alert.py:13 #, fuzzy, python-format msgid "URL '%s' may not be a valid bloggerAPI. XML-RPC Server reported: %s." msgstr "" "l'URL'%s'potrebbe non corrispondere ad una bloggerAPI valida.Il server " "XML-RPCriporta:%s." #: hig_alert.py:15 #, fuzzy, python-format msgid "" "Unknown username %s or password trying to post blog entry to XML-RPC server %" "s." msgstr "" "Nome utente sconosciuto %s o password errata " "cercando di postare l'articolo al server XML-RPC%s." #: hig_alert.py:17 #, fuzzy, python-format msgid "" "Could not post to blog '%s' at bloggerAPI XML-RPC server '%s'. Server " "reported: %s." msgstr "" "Impossibile portare al Blog'%s'corrispondere albloggerAPIXML-" "RPCserver'%s'.Il serverriporta:%s." #: hig_alert.py:19 #, fuzzy, python-format msgid "" "The bloggerAPI server (%s) reported an error I don't understand: '%s, %s'. \n" "\n" "Please email this error message to seth@gnome.org so I can address it." msgstr "" "Il server bloggerAPI(%s)ha inviato un errore incomprensibile:'%s," "%s'.\n" "\n" "Si prega di segnalare questo errore mandando una email a seth@gnome.org" #: protocols/advogato.py:27 protocols/advogato.py:30 protocols/advogato.py:42 #: protocols/bloggerAPI.py:62 protocols/bloggerAPI.py:90 #: protocols/livejournal.py:35 protocols/livejournal.py:64 msgid "Could not post Blog entry" msgstr "" #: protocols/advogato.py:27 msgid "Your username is invalid. Please double-check the preferences." msgstr "" #: protocols/advogato.py:30 protocols/livejournal.py:35 msgid "" "Your username or password is invalid. Please double-check the preferences." msgstr "" #: protocols/advogato.py:39 protocols/bloggerAPI.py:87 #: protocols/livejournal.py:61 msgid "Could not post blog entry" msgstr "" #: protocols/advogato.py:42 protocols/bloggerAPI.py:39 #: protocols/bloggerAPI.py:90 #, fuzzy, python-format msgid "" "URL '%s' does not seem to be a valid bloggerAPI XML-RPC server. Web server " "reported: %s." msgstr "" "l'URL'%s'potrebbe non corrispondere ad una bloggerAPI valida.Il server " "XML-RPCriporta:%s." #: protocols/bloggerAPI.py:36 protocols/bloggerAPI.py:39 msgid "Could not get list of blogs" msgstr "" #: protocols/bloggerAPI.py:62 msgid "" "No XML-RPC server URL to post blog entries to is set, or the value could not " "be retrieved from GConf. Your entry will remain in the blogger window." msgstr "" #: protocols/livejournal.py:64 #, python-format msgid "" "URL '%s' does not seem to be a valid LiveJournal XML-RPC server. Web server " "reported: %s." msgstr "" #: rich_entry.py:144 rich_entry.py:152 msgid "Could not load dragged in image" msgstr "" #: rich_entry.py:145 rich_entry.py:153 #, python-format msgid "Error loading %s was: %s" msgstr "" #: rich_entry.py:210 msgid "Add _Link..." msgstr "" #: rich_entry.py:215 msgid "Add Link" msgstr "" #: rich_entry.py:216 msgid "_Add Link" msgstr "" #: rich_entry.py:224 msgid "Text:" msgstr "" #: rich_entry.py:227 msgid "URL:" msgstr "" #~ msgid "bloggerAPI" #~ msgstr "bloggerAPI" #~ msgid "Post blog entries to Blogger.com" #~ msgstr "Invia gli articoli a Blogger.com" #~ msgid "Blogging Tool" #~ msgstr "Attrezzo Bloggante" gnome-blog-0.9.1/po/nb.po0000664000076500007650000001425310171157777012103 00000000000000# Norwegian translations for PACKAGE package. # Copyright (C) 2004 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Kjartan Maraas , 2004. # msgid "" msgstr "" "Project-Id-Version: gnome-blog 0.2\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-01-12 03:10-0500\n" "PO-Revision-Date: 2004-01-25 17:03+0100\n" "Last-Translator: Kjartan Maraas \n" "Language-Team: Norwegian \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" #: GNOME_BlogApplet.server.in.in.h:1 msgid "Accessories" msgstr "Tilbehør" #: GNOME_BlogApplet.server.in.in.h:2 gnome-blog.desktop.in.h:1 msgid "Blog Entry Poster" msgstr "Publisering av bloggoppføring" #: GNOME_BlogApplet.server.in.in.h:3 msgid "Post entries to a web log" msgstr "Publiser oppføringer til en weblogg" #: GNOME_BlogApplet.xml.h:1 msgid "_About..." msgstr "_Om..." #: GNOME_BlogApplet.xml.h:2 msgid "_Preferences..." msgstr "_Brukervalg..." #: blog_applet.py:35 msgid "About" msgstr "Om" #: blog_applet.py:38 msgid "Blog" msgstr "Blog" #: blog_applet.py:73 msgid "A GNOME Web Blogging Applet" msgstr "Et webloggprogram for GNOME" #: blog_applet.py:108 #, python-format msgid "Create a blog entry for %s at %s" msgstr "Lag en oppføring i weblog for %s på %s" #: blog_poster.py:44 msgid "_Post Entry" msgstr "_Publiser oppføring" #: blog_poster.py:69 msgid "Preferences..." msgstr "Brukervalg..." #: blog_poster.py:81 msgid "Title:" msgstr "Tittel:" #: blog_poster.py:116 msgid "Couldn't upload images" msgstr "Kunne ikke laste opp bilder" #: blog_poster.py:116 msgid "The blog protocol in use does not support uploading images" msgstr "" #: blog_poster.py:163 msgid "Blog Entry is Blank" msgstr "" #: blog_poster.py:163 msgid "" "No text was entered in the blog entry box. Please enter some text and try " "again" msgstr "" #: blogger_prefs.py:19 msgid "Blogger Preferences" msgstr "Brukervalg for blogger" #: blogger_prefs.py:38 msgid "Self-Run MovableType" msgstr "" #: blogger_prefs.py:39 msgid "Self-Run Pyblosxom" msgstr "" #: blogger_prefs.py:40 msgid "Self-Run WordPress" msgstr "" #: blogger_prefs.py:41 msgid "Self-Run Other" msgstr "" #: blogger_prefs.py:45 msgid "Blog Type:" msgstr "" #: blogger_prefs.py:55 msgid "Blog Protocol:" msgstr "" #: blogger_prefs.py:59 msgid "Blog Base URL:" msgstr "" #: blogger_prefs.py:61 msgid "Blog Name:" msgstr "" #: blogger_prefs.py:63 msgid "Lookup Blogs" msgstr "" #: blogger_prefs.py:73 msgid "Username:" msgstr "Brukernavn:" #: blogger_prefs.py:74 msgid "Password:" msgstr "Passord:" #: blogger_prefs.py:116 blogger_prefs.py:136 blogger_prefs.py:141 #: blogger_prefs.py:147 msgid "XML-RPC URL:" msgstr "XML-RPC URL:" #: blogger_prefs.py:121 blogger_prefs.py:126 blogger_prefs.py:131 msgid "Base Blog URL:" msgstr "" #: blogger_prefs.py:155 msgid "Unknown blog type" msgstr "" #: blogger_prefs.py:155 msgid "The detected blog type is not among the list of supported blogs" msgstr "" #: gnome-blog.desktop.in.h:2 msgid "Post an entry to a web log" msgstr "" #: gnomeblog.schemas.in.h:1 msgid "Password to use in accessing the blog" msgstr "" #: gnomeblog.schemas.in.h:2 msgid "Protocol to use in accessing the blog" msgstr "" #: gnomeblog.schemas.in.h:3 msgid "Suffix to attach to the base URL (e.g. \"xmlrpc.cgi\")" msgstr "" #: gnomeblog.schemas.in.h:4 msgid "The application's preferences have been initialized" msgstr "" #: gnomeblog.schemas.in.h:5 msgid "The id or name of the particular blog to use on the XML-RPC server" msgstr "" #: gnomeblog.schemas.in.h:6 msgid "URL to the bloggerAPI compatible XML-RPC server" msgstr "" #: gnomeblog.schemas.in.h:7 msgid "Username to use in accessing the blog" msgstr "" #: hig_alert.py:13 #, python-format msgid "URL '%s' may not be a valid bloggerAPI. XML-RPC Server reported: %s." msgstr "" #: hig_alert.py:15 #, python-format msgid "" "Unknown username %s or password trying to post blog entry to XML-RPC server %" "s." msgstr "" #: hig_alert.py:17 #, python-format msgid "" "Could not post to blog '%s' at bloggerAPI XML-RPC server '%s'. Server " "reported: %s." msgstr "" #: hig_alert.py:19 #, python-format msgid "" "The bloggerAPI server (%s) reported an error I don't understand: '%s, %s'. \n" "\n" "Please email this error message to seth@gnome.org so I can address it." msgstr "" #: protocols/advogato.py:27 protocols/advogato.py:30 protocols/advogato.py:42 #: protocols/bloggerAPI.py:62 protocols/bloggerAPI.py:90 #: protocols/livejournal.py:35 protocols/livejournal.py:64 msgid "Could not post Blog entry" msgstr "" #: protocols/advogato.py:27 msgid "Your username is invalid. Please double-check the preferences." msgstr "" #: protocols/advogato.py:30 protocols/livejournal.py:35 msgid "" "Your username or password is invalid. Please double-check the preferences." msgstr "" #: protocols/advogato.py:39 protocols/bloggerAPI.py:87 #: protocols/livejournal.py:61 msgid "Could not post blog entry" msgstr "" #: protocols/advogato.py:42 protocols/bloggerAPI.py:39 #: protocols/bloggerAPI.py:90 #, python-format msgid "" "URL '%s' does not seem to be a valid bloggerAPI XML-RPC server. Web server " "reported: %s." msgstr "" #: protocols/bloggerAPI.py:36 protocols/bloggerAPI.py:39 msgid "Could not get list of blogs" msgstr "" #: protocols/bloggerAPI.py:62 msgid "" "No XML-RPC server URL to post blog entries to is set, or the value could not " "be retrieved from GConf. Your entry will remain in the blogger window." msgstr "" #: protocols/livejournal.py:64 #, python-format msgid "" "URL '%s' does not seem to be a valid LiveJournal XML-RPC server. Web server " "reported: %s." msgstr "" #: rich_entry.py:144 rich_entry.py:152 msgid "Could not load dragged in image" msgstr "" #: rich_entry.py:145 rich_entry.py:153 #, python-format msgid "Error loading %s was: %s" msgstr "" #: rich_entry.py:210 msgid "Add _Link..." msgstr "Legg til _lenke..." #: rich_entry.py:215 msgid "Add Link" msgstr "Legg til lenke" #: rich_entry.py:216 msgid "_Add Link" msgstr "L_egg til lenke" #: rich_entry.py:224 msgid "Text:" msgstr "Tekst:" #: rich_entry.py:227 msgid "URL:" msgstr "URL:" gnome-blog-0.9.1/po/ne.po0000775000076500007650000003053110303100457012062 00000000000000# translation of gnome-blog.HEAD.po to Nepali # This file is distributed under the same license as the PACKAGE package. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER. # Pawan Chitrakar , 2005. # Jyotshna Shrestha , 2005. # msgid "" msgstr "" "Project-Id-Version: gnome-blog.HEAD\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-08-24 19:59+0545\n" "PO-Revision-Date: 2005-06-14 15:31+0545\n" "Last-Translator: Jyotshna Shrestha \n" "Language-Team: Nepali \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.9.1\n" "Plural-Forms: nplurals=2;plural=(n!=0)\n" #: ../GNOME_BlogApplet.server.in.in.h:1 msgid "Accessories" msgstr "सहायक उपकरणहरू" #: ../GNOME_BlogApplet.server.in.in.h:2 ../gnome-blog.desktop.in.h:1 msgid "Blog Entry Poster" msgstr "ब्लग प्रविष्ट गर्ने पोस्टर" #: ../GNOME_BlogApplet.server.in.in.h:3 msgid "Post entries to a web log" msgstr "वेव लगमा प्रविष्टहरू पोस्ट गर्नुहोस्" #: ../GNOME_BlogApplet.xml.h:1 msgid "_About..." msgstr "_बारेमा..." #: ../GNOME_BlogApplet.xml.h:2 msgid "_Preferences..." msgstr "_प्राथमिकताहरु..." #: ../blog_applet.py:36 msgid "About" msgstr "बारेमा" #: ../blog_applet.py:39 msgid "Blog" msgstr "ब्लग" #: ../blog_applet.py:75 msgid "A GNOME Web Blogging Applet" msgstr "जी नोम सञ्जाल ब्लग गर्ने एप्लेट" #: ../blog_applet.py:110 #, python-format msgid "Create a blog entry for %s at %s" msgstr "%s मा %s को लागी ब्लग प्रविष्ट सृजान गर्नुहोस्" #: ../blog_poster.py:44 msgid "_Post Entry" msgstr "पोस्ट प्रविष्ट" #: ../blog_poster.py:69 msgid "Preferences..." msgstr "प्राथमिकताहरु..." #: ../blog_poster.py:81 msgid "Title:" msgstr "शीर्षक:" #: ../blog_poster.py:116 msgid "Couldn't upload images" msgstr "चित्रहरू अपलोड गर्न सकिएन" #: ../blog_poster.py:116 msgid "The blog protocol in use does not support uploading images" msgstr "प्रयोगमा रहेको ब्लग प्रोटोकोलले चित्रहरू अपलोड गर्न सहयोग गरेन" #: ../blog_poster.py:162 msgid "Blog Entry is Blank" msgstr "ब्लग प्रविष्ट खाली छ" #: ../blog_poster.py:162 msgid "" "No text was entered in the blog entry box. Please enter some text and try " "again" msgstr "" "ब्लग प्रविष्ट बाकसमा कुनै पाठ प्रविष्ट गरेको छैन। कृपया केहि पाठहरू प्रविष्ट गर्नुहोस् र पुन:" "प्रयास गर्नुहोस्" #: ../blogger_prefs.py:19 msgid "Blogger Preferences" msgstr "ब्लगर प्राथमिकताहरु" #: ../blogger_prefs.py:39 msgid "Self-Run MovableType" msgstr "स्वयम-सञ्चालन हुने सार्न सकिने प्रकार" #: ../blogger_prefs.py:40 msgid "Self-Run Pyblosxom" msgstr "स्वयम सञ्चालन हुने पि वाई ब्लज्जम" #: ../blogger_prefs.py:41 msgid "Self-Run WordPress" msgstr "स्वयम सञ्चालन हुने शव्द दबाउने" #: ../blogger_prefs.py:42 msgid "Self-Run Other" msgstr "स्वयम सञ्चालन हुने अन्य" #: ../blogger_prefs.py:46 msgid "Blog Type:" msgstr "ब्लग प्रकार:" #: ../blogger_prefs.py:56 msgid "Blog Protocol:" msgstr "ब्लग प्रोटोकल:" #: ../blogger_prefs.py:60 msgid "Blog Base URL:" msgstr "ब्लगमा आधारित युआरएल:" #: ../blogger_prefs.py:62 msgid "Blog Name:" msgstr "ब्लग नाम:" #: ../blogger_prefs.py:64 msgid "Lookup Blogs" msgstr "ब्लगहरु पत्ता लगाउनुहोस्" #: ../blogger_prefs.py:74 msgid "Username:" msgstr "प्रयोगकर्ताको नाम:" #: ../blogger_prefs.py:75 msgid "Password:" msgstr "प्रवेशचिन्ह:" #: ../blogger_prefs.py:117 ../blogger_prefs.py:137 ../blogger_prefs.py:142 #: ../blogger_prefs.py:147 ../blogger_prefs.py:153 msgid "XML-RPC URL:" msgstr "एक्स एम एल-आर पि सि युआरएल:" #: ../blogger_prefs.py:122 ../blogger_prefs.py:127 ../blogger_prefs.py:132 msgid "Base Blog URL:" msgstr "आधार ब्लग युआरएल:" #: ../blogger_prefs.py:161 msgid "Unknown blog type" msgstr "अज्ञात ब्लग प्रकार" #: ../blogger_prefs.py:161 msgid "The detected blog type is not among the list of supported blogs" msgstr "पत्ता लगाएको ब्लग प्रकार समर्थन गर्ने ब्लगहरूको सुचि बिच छैन" #: ../gnome-blog.desktop.in.h:2 msgid "Post an entry to a web log" msgstr "वेव लगमा प्रविष्ट पोस्ट गर्नुहोस्" #: ../gnomeblog.schemas.in.h:1 msgid "Password to use in accessing the blog" msgstr "ब्लग हेर्नलाई प्रयोग गरिने प्रवेशचिन्ह" #: ../gnomeblog.schemas.in.h:2 msgid "Protocol to use in accessing the blog" msgstr "ब्लग उपलब्धमा प्रोटोकोलको प्रयोग" #: ../gnomeblog.schemas.in.h:3 msgid "Suffix to attach to the base URL (e.g. \"xmlrpc.cgi\")" msgstr "युआरएल आधारमा संलग्न गर्न सफिक्स (उदाहरण \"xmlrpc.cgi\")" #: ../gnomeblog.schemas.in.h:4 msgid "The application's preferences have been initialized" msgstr "अनुरोधपत्रको प्राथमिकता प्रारम्भ गरियो।" #: ../gnomeblog.schemas.in.h:5 msgid "The id or name of the particular blog to use on the XML-RPC server" msgstr "एक्स एम एल-आर पि सि सेवादायकमा प्रयोग गर्न निश्चित ब्लगको आईडि वा नाम" #: ../gnomeblog.schemas.in.h:6 msgid "URL to the bloggerAPI compatible XML-RPC server" msgstr "ब्लगर ए पि आई स्वीकार्य एक्स एम एल - आर पि सि सेवादायकमा यु आर एल" #: ../gnomeblog.schemas.in.h:7 msgid "Username to use in accessing the blog" msgstr "ब्लग हेर्नलाई प्रयोग गरिने प्रयोगकर्ताको नाम" #: ../hig_alert.py:15 #, python-format msgid "URL '%s' may not be a valid bloggerAPI. XML-RPC Server reported: %s." msgstr "" "यु आर एल '%s' मान्य ब्लोगरए पि आई नहुन सक्छ। एक्स एल एल - आर पि सि सेवादायकले गरेको " "रिपोर्ट : %s." #: ../hig_alert.py:17 #, python-format msgid "" "Unknown username %s or password trying to post blog entry to XML-RPC server %" "s." msgstr "" "एक्स एम एल-आर पि सि सेवादायक %s मा अज्ञात प्रयोगकर्तानाम %s वा प्रवेशचिन्ह ्ह ब्लग " "प्रविष्ट पोस्ट गर्न कोशिश गर्दैछ।" #: ../hig_alert.py:19 #, python-format msgid "" "Could not post to blog '%s' at bloggerAPI XML-RPC server '%s'. Server " "reported: %s." msgstr "" "ब्लगगर एपिआई एक्स एम एल-आर पि सि सेवादायक '%s' मा ब्लग '%s' पोस्ट गर्न सकिएन। " "सेवादायकले दिएको रिपोर्ट: %s।" #: ../hig_alert.py:21 #, python-format msgid "" "The bloggerAPI server (%s) reported an error I don't understand: '%s, %s'. \n" "\n" "Please email this error message to seth@gnome.org so I can address it." msgstr "" "ब्लगर ए पि आई सेवादायक (%s) ले दिएको रिपोर्ट त्रुटि छ जुन मैले बुझिन: '%s, %s'. \n" "\n" "कृपया यो त्रुटि seth@gnome.org लाई ईमेल गर्नुहोस् जुन मैले सम्बोधन गर्न सक्छु।" #: ../protocols/advogato.py:27 ../protocols/advogato.py:30 #: ../protocols/advogato.py:42 ../protocols/bloggerAPI.py:61 #: ../protocols/bloggerAPI.py:89 ../protocols/livejournal.py:35 #: ../protocols/livejournal.py:64 msgid "Could not post Blog entry" msgstr "ब्लग प्रविष्ट पोस्ट गरिएन" #: ../protocols/advogato.py:27 msgid "Your username is invalid. Please double-check the preferences." msgstr "प्रयोगकर्तानाम अमान्य छ। कृपया प्राथमिकताहरू दुईपटक जाँच्नुहोस्।" #: ../protocols/advogato.py:30 ../protocols/livejournal.py:35 msgid "" "Your username or password is invalid. Please double-check the preferences." msgstr "प्रयोगकर्तानाम र प्रवेशचिन्ह अमान्य छ। कृपया प्राथमिकताहरू दुईपटक जाँच्नुहोस्।" #: ../protocols/advogato.py:39 ../protocols/bloggerAPI.py:86 #: ../protocols/livejournal.py:61 msgid "Could not post blog entry" msgstr "ब्लग प्रविष्ट पोस्ट गरिएन" #: ../protocols/advogato.py:42 ../protocols/bloggerAPI.py:38 #: ../protocols/bloggerAPI.py:89 #, python-format msgid "" "URL '%s' does not seem to be a valid bloggerAPI XML-RPC server. Web server " "reported: %s." msgstr "" "युआरएल '%s' मान्य ब्लोगर एपिआइ एक्स एम एल - आर पि सि सेवादायक जस्तो देखिएन। वेब " "सेवादायकले दिएको रिपोर्ट : %s." #: ../protocols/bloggerAPI.py:35 ../protocols/bloggerAPI.py:38 msgid "Could not get list of blogs" msgstr "ब्लगहरूको सुचि पाउन सकिएन" #: ../protocols/bloggerAPI.py:61 msgid "" "No XML-RPC server URL to post blog entries to is set, or the value could not " "be retrieved from GConf. Your entry will remain in the blogger window." msgstr "" "ब्लग प्रविष्टहरू पोस्ट गर्न कुनै एक्स एम एल - आर पि सि सेवादायक यु आर एल मिलिएको छैन, वा " "मान जि कन्फबाट पुन:प्राप्त भएको छैन। तपाईको प्रविष्ट ब्लगर विण्डोमा बाँकि रहन्छ।" #: ../protocols/livejournal.py:64 #, python-format msgid "" "URL '%s' does not seem to be a valid LiveJournal XML-RPC server. Web server " "reported: %s." msgstr "" "यु आर एल '%s' मान्य प्रत्यक्ष जर्नल एक्स एम एल - आर पि सि सेवादायक जस्तो देखिंदैन। वेव " "सर्भरले दिएको रिपोर्ट: %s" #: ../rich_entry.py:144 ../rich_entry.py:152 msgid "Could not load dragged in image" msgstr "चित्रमा तानेको लोड भएन" #: ../rich_entry.py:145 ../rich_entry.py:153 #, python-format msgid "Error loading %s was: %s" msgstr "%s: : %s लोड गर्दा को त्रुटि हो" #: ../rich_entry.py:210 msgid "Add _Link..." msgstr "सम्बन्ध जोड्नुहोस्..." #: ../rich_entry.py:215 msgid "Add Link" msgstr "सम्बन्ध जोड्नुहोस्" #: ../rich_entry.py:218 msgid "_Add Link" msgstr "सम्बन्ध जोड्नुहोस्" #: ../rich_entry.py:226 msgid "Text:" msgstr "पाठ:" #: ../rich_entry.py:229 msgid "URL:" msgstr "यु आर एल:" gnome-blog-0.9.1/po/ms.po0000664000076500007650000001722610171157777012126 00000000000000# mesej B.Melayu bagi gnome-blog # Copyright (C) 2003 Free Software Foundation, Inc. # Hasbullah Bin Pit (sebol) , 2003. # msgid "" msgstr "" "Project-Id-Version: gnome-blog\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-01-12 03:10-0500\n" "PO-Revision-Date: 2003-11-03 05:03+0800\n" "Last-Translator: Hasbullah Bin Pit \n" "Language-Team: Projek Gabai \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: GNOME_BlogApplet.server.in.in.h:1 msgid "Accessories" msgstr "Aksesori" #: GNOME_BlogApplet.server.in.in.h:2 gnome-blog.desktop.in.h:1 msgid "Blog Entry Poster" msgstr "Pengepos Kemasukan Blog" #: GNOME_BlogApplet.server.in.in.h:3 msgid "Post entries to a web log" msgstr "Pos kemasukan ke log web" #: GNOME_BlogApplet.xml.h:1 msgid "_About..." msgstr "_Perihal..." #: GNOME_BlogApplet.xml.h:2 msgid "_Preferences..." msgstr "Ke_utamaan..." #: blog_applet.py:35 msgid "About" msgstr "Perihal" #: blog_applet.py:38 msgid "Blog" msgstr "Blog" #: blog_applet.py:73 msgid "A GNOME Web Blogging Applet" msgstr "Applet PemBlog Web GNOME" #: blog_applet.py:108 #, python-format msgid "Create a blog entry for %s at %s" msgstr "Cipta kemasukan bloh bagi %s pada %s" #: blog_poster.py:44 msgid "_Post Entry" msgstr "_Pos Kemasukan" #: blog_poster.py:69 msgid "Preferences..." msgstr "Keutamaan..." #: blog_poster.py:81 msgid "Title:" msgstr "Tajuk:" #: blog_poster.py:116 msgid "Couldn't upload images" msgstr "Tak dapat memuatnaikkan imej" #: blog_poster.py:116 msgid "The blog protocol in use does not support uploading images" msgstr "Protokol blog digunakan tak menyokong pemuatnaikan imej" #: blog_poster.py:163 msgid "Blog Entry is Blank" msgstr "Kemasukan Blog Kosong" #: blog_poster.py:163 msgid "" "No text was entered in the blog entry box. Please enter some text and try " "again" msgstr "" "Tiada teks dimasukkan pada kekotak kemasukan blog. Sila masukkan teks dan " "cuba lagi" #: blogger_prefs.py:19 msgid "Blogger Preferences" msgstr "Keutamaan Blogger" #: blogger_prefs.py:38 msgid "Self-Run MovableType" msgstr "Laksana-Sendiri Jenisbolehgerak" #: blogger_prefs.py:39 msgid "Self-Run Pyblosxom" msgstr "Laksana-Sendiri Pybloxsom" #: blogger_prefs.py:40 #, fuzzy msgid "Self-Run WordPress" msgstr "Laksana-Sendiri Lain" #: blogger_prefs.py:41 msgid "Self-Run Other" msgstr "Laksana-Sendiri Lain" #: blogger_prefs.py:45 msgid "Blog Type:" msgstr "Jenis Blog:" #: blogger_prefs.py:55 msgid "Blog Protocol:" msgstr "Protokol Blog:" #: blogger_prefs.py:59 msgid "Blog Base URL:" msgstr "URL Dasar Blog:" #: blogger_prefs.py:61 msgid "Blog Name:" msgstr "Nama Blog:" #: blogger_prefs.py:63 msgid "Lookup Blogs" msgstr "Pencarian Blog" #: blogger_prefs.py:73 msgid "Username:" msgstr "Namapengguna" #: blogger_prefs.py:74 msgid "Password:" msgstr "Katalaluan:" #: blogger_prefs.py:116 blogger_prefs.py:136 blogger_prefs.py:141 #: blogger_prefs.py:147 msgid "XML-RPC URL:" msgstr "URL XML-RPC:" #: blogger_prefs.py:121 blogger_prefs.py:126 blogger_prefs.py:131 msgid "Base Blog URL:" msgstr "URL Blog Dasar:" #: blogger_prefs.py:155 msgid "Unknown blog type" msgstr "" #: blogger_prefs.py:155 msgid "The detected blog type is not among the list of supported blogs" msgstr "" #: gnome-blog.desktop.in.h:2 msgid "Post an entry to a web log" msgstr "Pos kemasukan ke log web" #: gnomeblog.schemas.in.h:1 msgid "Password to use in accessing the blog" msgstr "Katalaluan digunakan untuk mengakses blog" #: gnomeblog.schemas.in.h:2 msgid "Protocol to use in accessing the blog" msgstr "Protokol digunakan untuk mengakses blog" #: gnomeblog.schemas.in.h:3 msgid "Suffix to attach to the base URL (e.g. \"xmlrpc.cgi\")" msgstr "Suffiks untuk dilampirkan ke URL dasar (cth. \"xmlrpc.cgi\"." #: gnomeblog.schemas.in.h:4 msgid "The application's preferences have been initialized" msgstr "Keutamaan aplikasi telahpun diinitialisasikan" #: gnomeblog.schemas.in.h:5 msgid "The id or name of the particular blog to use on the XML-RPC server" msgstr "Id atau nama bagi blog tertentu digunakan pada pelayan XML-RPC" #: gnomeblog.schemas.in.h:6 msgid "URL to the bloggerAPI compatible XML-RPC server" msgstr "URL bagi pelayan XML-RPC serasi bloggerAPI" #: gnomeblog.schemas.in.h:7 msgid "Username to use in accessing the blog" msgstr "Namapengguna digunakan untuk mengakses blog" #: hig_alert.py:13 #, fuzzy, python-format msgid "URL '%s' may not be a valid bloggerAPI. XML-RPC Server reported: %s." msgstr "" "URL '%s' mungkin bukan bloggerAPI yg sah. Pelayan XML-RPC melaporkan: %s." #: hig_alert.py:15 #, fuzzy, python-format msgid "" "Unknown username %s or password trying to post blog entry to XML-RPC server %" "s." msgstr "" "Namapengguna %s atau katalaluan tak diketahui " "untuk mengepos kemasukan blog ke pelayan XML-RPC%s." #: hig_alert.py:17 #, fuzzy, python-format msgid "" "Could not post to blog '%s' at bloggerAPI XML-RPC server '%s'. Server " "reported: %s." msgstr "" "Tak dapat mengepos ke blog '%s' pada bloggerAPI pelayan XML-RPC '%s'. " "Pelayan melaporkan: %s." #: hig_alert.py:19 #, fuzzy, python-format msgid "" "The bloggerAPI server (%s) reported an error I don't understand: '%s, %s'. \n" "\n" "Please email this error message to seth@gnome.org so I can address it." msgstr "" "Pelayan bloggerAPI (%s) melaporkan ralat yang tak diketahui: '%s, %s'. \n" "\n" "Sila emel mesej ralat ini ke seth@gnome.org supaya saya boleh mengenalinya." #: protocols/advogato.py:27 protocols/advogato.py:30 protocols/advogato.py:42 #: protocols/bloggerAPI.py:62 protocols/bloggerAPI.py:90 #: protocols/livejournal.py:35 protocols/livejournal.py:64 msgid "Could not post Blog entry" msgstr "" #: protocols/advogato.py:27 msgid "Your username is invalid. Please double-check the preferences." msgstr "" #: protocols/advogato.py:30 protocols/livejournal.py:35 msgid "" "Your username or password is invalid. Please double-check the preferences." msgstr "" #: protocols/advogato.py:39 protocols/bloggerAPI.py:87 #: protocols/livejournal.py:61 msgid "Could not post blog entry" msgstr "" #: protocols/advogato.py:42 protocols/bloggerAPI.py:39 #: protocols/bloggerAPI.py:90 #, fuzzy, python-format msgid "" "URL '%s' does not seem to be a valid bloggerAPI XML-RPC server. Web server " "reported: %s." msgstr "" "URL '%s' mungkin bukan bloggerAPI yg sah. Pelayan XML-RPC melaporkan: %s." #: protocols/bloggerAPI.py:36 protocols/bloggerAPI.py:39 msgid "Could not get list of blogs" msgstr "" #: protocols/bloggerAPI.py:62 msgid "" "No XML-RPC server URL to post blog entries to is set, or the value could not " "be retrieved from GConf. Your entry will remain in the blogger window." msgstr "" #: protocols/livejournal.py:64 #, python-format msgid "" "URL '%s' does not seem to be a valid LiveJournal XML-RPC server. Web server " "reported: %s." msgstr "" #: rich_entry.py:144 rich_entry.py:152 msgid "Could not load dragged in image" msgstr "Tak dapat memuatkan yangf diheret pada imej" #: rich_entry.py:145 rich_entry.py:153 #, python-format msgid "Error loading %s was: %s" msgstr "Ralat memuatkan %s adalah: %s" #: rich_entry.py:210 msgid "Add _Link..." msgstr "Tambah _Pautan..." #: rich_entry.py:215 msgid "Add Link" msgstr "Tambah Pautan" #: rich_entry.py:216 msgid "_Add Link" msgstr "_Tambah Pautan" #: rich_entry.py:224 msgid "Text:" msgstr "Teks:" #: rich_entry.py:227 msgid "URL:" msgstr "URL:" #~ msgid "Post blog entries to Blogger.com" #~ msgstr "Pos kemasukan blog ke Blogger.com" #~ msgid "bloggerAPI" #~ msgstr "bloggerAPI" gnome-blog-0.9.1/po/nl.po0000664000076500007650000002103510241175140012067 00000000000000# Dutch translation of GNOME-blog # Copyright (C) 2004 The Free Software Foundation, Inc. # This file is distributed under the same license as the GNOME package. # Reinout van Schouwen , 2004 # Taco Witte , 2005 # # msgid "" msgstr "" "Project-Id-Version: gnome-blog HEAD\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-05-13 03:29+0000\n" "PO-Revision-Date: 2005-05-13 16:34+0200\n" "Last-Translator: Taco Witte \n" "Language-Team: Dutch \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit" #: ../GNOME_BlogApplet.server.in.in.h:1 msgid "Accessories" msgstr "Hulpmiddelen" #: ../GNOME_BlogApplet.server.in.in.h:2 ../gnome-blog.desktop.in.h:1 msgid "Blog Entry Poster" msgstr "Blog-aantekeningen plaatsen" #: ../GNOME_BlogApplet.server.in.in.h:3 msgid "Post entries to a web log" msgstr "Aantekeningen in een weblog maken" #: ../GNOME_BlogApplet.xml.h:1 msgid "_About..." msgstr "In_fo..." #: ../GNOME_BlogApplet.xml.h:2 msgid "_Preferences..." msgstr "_Voorkeuren..." #: ../blog_applet.py:35 msgid "About" msgstr "Info" #: ../blog_applet.py:38 msgid "Blog" msgstr "Blog" #: ../blog_applet.py:73 msgid "A GNOME Web Blogging Applet" msgstr "Een weblog-applet voor GNOME" #: ../blog_applet.py:108 #, python-format msgid "Create a blog entry for %s at %s" msgstr "Een blog ingang maken voor %s bij %s" #: ../blog_poster.py:44 msgid "_Post Entry" msgstr "Aantekening _maken" #: ../blog_poster.py:69 msgid "Preferences..." msgstr "Voorkeuren..." #: ../blog_poster.py:81 msgid "Title:" msgstr "Titel:" #: ../blog_poster.py:116 msgid "Couldn't upload images" msgstr "Kan afbeeldingen niet verzenden" #: ../blog_poster.py:116 msgid "The blog protocol in use does not support uploading images" msgstr "" "Het blog protocol dat wordt gebruikt ondersteunt niet de verzenden van " "afbeeldingen" #: ../blog_poster.py:163 msgid "Blog Entry is Blank" msgstr "Blog-aantekening is leeg" #: ../blog_poster.py:163 msgid "" "No text was entered in the blog entry box. Please enter some text and try " "again" msgstr "" "Er is geen tekst ingevoerd in het blog invoervak. Voer alstublieft iets in " "en probeer opnieuw" #: ../blogger_prefs.py:19 msgid "Blogger Preferences" msgstr "Blogger-voorkeuren" #: ../blogger_prefs.py:39 msgid "Self-Run MovableType" msgstr "Zelf-onderhouden MovableType" #: ../blogger_prefs.py:40 msgid "Self-Run Pyblosxom" msgstr "Zelf-Uitvoeren Pybloxsom" #: ../blogger_prefs.py:41 msgid "Self-Run WordPress" msgstr "Zelf-onderhouden WordPress" #: ../blogger_prefs.py:42 msgid "Self-Run Other" msgstr "Zelf-onderhouden overige" #: ../blogger_prefs.py:46 msgid "Blog Type:" msgstr "Blog soort:" #: ../blogger_prefs.py:56 msgid "Blog Protocol:" msgstr "Blog protocol:" #: ../blogger_prefs.py:60 msgid "Blog Base URL:" msgstr "Blog base-URL:" #: ../blogger_prefs.py:62 msgid "Blog Name:" msgstr "Blognaam:" #: ../blogger_prefs.py:64 msgid "Lookup Blogs" msgstr "Blogs opzoeken" #: ../blogger_prefs.py:74 msgid "Username:" msgstr "Gebruikersnaam:" #: ../blogger_prefs.py:75 msgid "Password:" msgstr "Wachtwoord:" #: ../blogger_prefs.py:117 ../blogger_prefs.py:137 ../blogger_prefs.py:142 #: ../blogger_prefs.py:147 ../blogger_prefs.py:153 msgid "XML-RPC URL:" msgstr "XML-RPC URL:" #: ../blogger_prefs.py:122 ../blogger_prefs.py:127 ../blogger_prefs.py:132 msgid "Base Blog URL:" msgstr "Basis-URL van blog:" #: ../blogger_prefs.py:161 msgid "Unknown blog type" msgstr "Onbekend soort blog" #: ../blogger_prefs.py:161 msgid "The detected blog type is not among the list of supported blogs" msgstr "Het gevonden soort blog wordt niet ondersteund" #: ../gnome-blog.desktop.in.h:2 msgid "Post an entry to a web log" msgstr "Een aantekening plaatsen in een weblog" #: ../gnomeblog.schemas.in.h:1 msgid "Password to use in accessing the blog" msgstr "Te gebruiken wachtwoord voor toegang tot het blog" #: ../gnomeblog.schemas.in.h:2 msgid "Protocol to use in accessing the blog" msgstr "Te gebruiken protocol voor toegang tot het blog" #: ../gnomeblog.schemas.in.h:3 msgid "Suffix to attach to the base URL (e.g. \"xmlrpc.cgi\")" msgstr "Achtervoegsel voor de base-URL (bijv. \"xmlrpc.cgi\")" #: ../gnomeblog.schemas.in.h:4 msgid "The application's preferences have been initialized" msgstr "De programmavoorkeuren zijn geïnitialiseerd" #: ../gnomeblog.schemas.in.h:5 msgid "The id or name of the particular blog to use on the XML-RPC server" msgstr "" "Het ID of de naam van een bepaald te gebruiken blog op de XML-RPC server" #: ../gnomeblog.schemas.in.h:6 msgid "URL to the bloggerAPI compatible XML-RPC server" msgstr "URL naar de bloggerAPI-compatibele XML-RPC server" #: ../gnomeblog.schemas.in.h:7 msgid "Username to use in accessing the blog" msgstr "Gebruikersnaam voor toegang tot het blog" #: ../hig_alert.py:15 #, python-format msgid "URL '%s' may not be a valid bloggerAPI. XML-RPC Server reported: %s." msgstr "" "URL '%s' is mogelijk geen geldige bloggerAPI. XML-RPC server antwoordde: %s." #: ../hig_alert.py:17 #, python-format msgid "" "Unknown username %s or password trying to post blog entry to XML-RPC server %" "s." msgstr "" "Onbekende gebruikersnaam %s of wachtwoord bij proberen blog ingang te " "versturen naar XML-RPC server %s." #: ../hig_alert.py:19 #, python-format msgid "" "Could not post to blog '%s' at bloggerAPI XML-RPC server '%s'. Server " "reported: %s." msgstr "" "Kon blog '%s' niet versturen naar bloggerAPI XML-RPC server '%s'. Server " "antwoordde: %s." #: ../hig_alert.py:21 #, python-format msgid "" "The bloggerAPI server (%s) reported an error I don't understand: '%s, %s'. \n" "\n" "Please email this error message to seth@gnome.org so I can address it." msgstr "" "De bloggerAPI server (%s) rapporteerde een fout die ik niet begrijp: '%s, %" "s'. \n" "\n" "Verzend alstublieft deze foutmelding naar seth@gnome.org zodat ik er wat aan " "kan doen." #: ../protocols/advogato.py:27 ../protocols/advogato.py:30 #: ../protocols/advogato.py:42 ../protocols/bloggerAPI.py:61 #: ../protocols/bloggerAPI.py:89 ../protocols/livejournal.py:35 #: ../protocols/livejournal.py:64 msgid "Could not post Blog entry" msgstr "Kon Blog-ingang niet plaatsen" #: ../protocols/advogato.py:27 msgid "Your username is invalid. Please double-check the preferences." msgstr "Uw gebruikersnaam is onjuist. Controleer alstublieft de voorkeuren." #: ../protocols/advogato.py:30 ../protocols/livejournal.py:35 msgid "" "Your username or password is invalid. Please double-check the preferences." msgstr "" "Uw gebruikersnaam of wachtwoord is onjuist. Controleer alstublieft de " "voorkeuren." #: ../protocols/advogato.py:39 ../protocols/bloggerAPI.py:86 #: ../protocols/livejournal.py:61 msgid "Could not post blog entry" msgstr "Kon blog-ingang niet plaatsen" #: ../protocols/advogato.py:42 ../protocols/bloggerAPI.py:38 #: ../protocols/bloggerAPI.py:89 #, python-format msgid "" "URL '%s' does not seem to be a valid bloggerAPI XML-RPC server. Web server " "reported: %s." msgstr "" "URL '%s' ziet er niet uit als een geldige bloggerAPI. XML-RPC server. De " "webserver antwoordde: %s." #: ../protocols/bloggerAPI.py:35 ../protocols/bloggerAPI.py:38 msgid "Could not get list of blogs" msgstr "Kon lijst van blogs niet opvragen" #: ../protocols/bloggerAPI.py:61 msgid "" "No XML-RPC server URL to post blog entries to is set, or the value could not " "be retrieved from GConf. Your entry will remain in the blogger window." msgstr "" "Er is geen XML-RPC server URL ingesteld om blog-ingangen te plaatsen, of de " "waarde kon niet worden opgevraagd bij GConf. Uw ingang zal in het blogger-" "venster blijven." #: ../protocols/livejournal.py:64 #, python-format msgid "" "URL '%s' does not seem to be a valid LiveJournal XML-RPC server. Web server " "reported: %s." msgstr "" "URL '%s' ziet er niet uit als een geldige LiveJournal XML-RPC server. De " "webserver antwoordde: %s." #: ../rich_entry.py:144 ../rich_entry.py:152 msgid "Could not load dragged in image" msgstr "Kon de versleepte afbeelding niet laden" #: ../rich_entry.py:145 ../rich_entry.py:153 #, python-format msgid "Error loading %s was: %s" msgstr "Fout bij laden %s was: %s" #: ../rich_entry.py:210 msgid "Add _Link..." msgstr "_Koppeling toevoegen..." #: ../rich_entry.py:215 msgid "Add Link" msgstr "Koppeling toevoegen" #: ../rich_entry.py:216 msgid "_Add Link" msgstr "Koppeling _toevoegen" #: ../rich_entry.py:224 msgid "Text:" msgstr "Tekst:" #: ../rich_entry.py:227 msgid "URL:" msgstr "URL:" #~ msgid "bloggerAPI" #~ msgstr "bloggerAPI" #~ msgid "Post blog entries to Blogger.com" #~ msgstr "Blog-aantekeningen op Blogger.com plaatsen" gnome-blog-0.9.1/po/pl.po0000664000076500007650000001521410171157777012115 00000000000000# Copyright (C) 2001-2002 Free Software Foundation, Inc. # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- # Aktualną wersję tego pliku możesz odnaleźć w repozytorium cvs.gnome.pl # (:pserver:anonymous@cvs.gnome.pl:/home/cvs, puste hasło) # Jeśli masz jakiekolwiek uwagi odnoszące się do tłumaczenia lub chcesz # pomóc w jego rozwijaniu i pielęgnowaniu, napisz do nas na adres: # translators@gnome.pl # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- msgid "" msgstr "" "Project-Id-Version: gnome-blog\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-01-12 03:10-0500\n" "PO-Revision-Date: 2003-09-02 HO:MI+ZONE\n" "Last-Translator: Arkadiusz Lipiec \n" "Language-Team: Polish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: GNOME_BlogApplet.server.in.in.h:1 msgid "Accessories" msgstr "" #: GNOME_BlogApplet.server.in.in.h:2 gnome-blog.desktop.in.h:1 msgid "Blog Entry Poster" msgstr "" #: GNOME_BlogApplet.server.in.in.h:3 #, fuzzy msgid "Post entries to a web log" msgstr "Umieszczanie wpisów bloga na Blogger.com" #: GNOME_BlogApplet.xml.h:1 msgid "_About..." msgstr "_Informacje o..." #: GNOME_BlogApplet.xml.h:2 msgid "_Preferences..." msgstr "_Właściwości..." #: blog_applet.py:35 msgid "About" msgstr "Informacje o programie" #: blog_applet.py:38 msgid "Blog" msgstr "Blog" #: blog_applet.py:73 msgid "A GNOME Web Blogging Applet" msgstr "" #: blog_applet.py:108 #, python-format msgid "Create a blog entry for %s at %s" msgstr "" #: blog_poster.py:44 msgid "_Post Entry" msgstr "" #: blog_poster.py:69 #, fuzzy msgid "Preferences..." msgstr "_Właściwości..." #: blog_poster.py:81 msgid "Title:" msgstr "Tytuł:" #: blog_poster.py:116 msgid "Couldn't upload images" msgstr "" #: blog_poster.py:116 msgid "The blog protocol in use does not support uploading images" msgstr "" #: blog_poster.py:163 msgid "Blog Entry is Blank" msgstr "" #: blog_poster.py:163 msgid "" "No text was entered in the blog entry box. Please enter some text and try " "again" msgstr "" #: blogger_prefs.py:19 #, fuzzy msgid "Blogger Preferences" msgstr "_Właściwości..." #: blogger_prefs.py:38 msgid "Self-Run MovableType" msgstr "" #: blogger_prefs.py:39 msgid "Self-Run Pyblosxom" msgstr "" #: blogger_prefs.py:40 msgid "Self-Run WordPress" msgstr "" #: blogger_prefs.py:41 msgid "Self-Run Other" msgstr "" #: blogger_prefs.py:45 #, fuzzy msgid "Blog Type:" msgstr "Nazwa bloga:" #: blogger_prefs.py:55 #, fuzzy msgid "Blog Protocol:" msgstr "Narzędzie do blogowania" #: blogger_prefs.py:59 msgid "Blog Base URL:" msgstr "" #: blogger_prefs.py:61 msgid "Blog Name:" msgstr "Nazwa bloga:" #: blogger_prefs.py:63 msgid "Lookup Blogs" msgstr "" #: blogger_prefs.py:73 msgid "Username:" msgstr "" #: blogger_prefs.py:74 msgid "Password:" msgstr "" #: blogger_prefs.py:116 blogger_prefs.py:136 blogger_prefs.py:141 #: blogger_prefs.py:147 msgid "XML-RPC URL:" msgstr "" #: blogger_prefs.py:121 blogger_prefs.py:126 blogger_prefs.py:131 msgid "Base Blog URL:" msgstr "" #: blogger_prefs.py:155 msgid "Unknown blog type" msgstr "" #: blogger_prefs.py:155 msgid "The detected blog type is not among the list of supported blogs" msgstr "" #: gnome-blog.desktop.in.h:2 msgid "Post an entry to a web log" msgstr "" #: gnomeblog.schemas.in.h:1 msgid "Password to use in accessing the blog" msgstr "Hasło dostępu do bloga" #: gnomeblog.schemas.in.h:2 msgid "Protocol to use in accessing the blog" msgstr "Protokół dostępu do bloga" #: gnomeblog.schemas.in.h:3 msgid "Suffix to attach to the base URL (e.g. \"xmlrpc.cgi\")" msgstr "" #: gnomeblog.schemas.in.h:4 msgid "The application's preferences have been initialized" msgstr "Ustawienia aplikacji były inicjowane" #: gnomeblog.schemas.in.h:5 msgid "The id or name of the particular blog to use on the XML-RPC server" msgstr "" "Identyfikator lub nazwa określonego bloga do użycia na serwerze XML-RPC" #: gnomeblog.schemas.in.h:6 msgid "URL to the bloggerAPI compatible XML-RPC server" msgstr "Adres URL serwera XML-RPC kompatybilnego z bloggerAPI" #: gnomeblog.schemas.in.h:7 msgid "Username to use in accessing the blog" msgstr "Nazwa użytkownika bloga" #: hig_alert.py:13 #, python-format msgid "URL '%s' may not be a valid bloggerAPI. XML-RPC Server reported: %s." msgstr "" #: hig_alert.py:15 #, python-format msgid "" "Unknown username %s or password trying to post blog entry to XML-RPC server %" "s." msgstr "" #: hig_alert.py:17 #, python-format msgid "" "Could not post to blog '%s' at bloggerAPI XML-RPC server '%s'. Server " "reported: %s." msgstr "" #: hig_alert.py:19 #, python-format msgid "" "The bloggerAPI server (%s) reported an error I don't understand: '%s, %s'. \n" "\n" "Please email this error message to seth@gnome.org so I can address it." msgstr "" #: protocols/advogato.py:27 protocols/advogato.py:30 protocols/advogato.py:42 #: protocols/bloggerAPI.py:62 protocols/bloggerAPI.py:90 #: protocols/livejournal.py:35 protocols/livejournal.py:64 msgid "Could not post Blog entry" msgstr "" #: protocols/advogato.py:27 msgid "Your username is invalid. Please double-check the preferences." msgstr "" #: protocols/advogato.py:30 protocols/livejournal.py:35 msgid "" "Your username or password is invalid. Please double-check the preferences." msgstr "" #: protocols/advogato.py:39 protocols/bloggerAPI.py:87 #: protocols/livejournal.py:61 msgid "Could not post blog entry" msgstr "" #: protocols/advogato.py:42 protocols/bloggerAPI.py:39 #: protocols/bloggerAPI.py:90 #, python-format msgid "" "URL '%s' does not seem to be a valid bloggerAPI XML-RPC server. Web server " "reported: %s." msgstr "" #: protocols/bloggerAPI.py:36 protocols/bloggerAPI.py:39 msgid "Could not get list of blogs" msgstr "" #: protocols/bloggerAPI.py:62 msgid "" "No XML-RPC server URL to post blog entries to is set, or the value could not " "be retrieved from GConf. Your entry will remain in the blogger window." msgstr "" #: protocols/livejournal.py:64 #, python-format msgid "" "URL '%s' does not seem to be a valid LiveJournal XML-RPC server. Web server " "reported: %s." msgstr "" #: rich_entry.py:144 rich_entry.py:152 msgid "Could not load dragged in image" msgstr "" #: rich_entry.py:145 rich_entry.py:153 #, python-format msgid "Error loading %s was: %s" msgstr "" #: rich_entry.py:210 msgid "Add _Link..." msgstr "" #: rich_entry.py:215 msgid "Add Link" msgstr "" #: rich_entry.py:216 msgid "_Add Link" msgstr "" #: rich_entry.py:224 msgid "Text:" msgstr "" #: rich_entry.py:227 msgid "URL:" msgstr "" #~ msgid "Post blog entries to Blogger.com" #~ msgstr "Umieszczanie wpisów bloga na Blogger.com" #~ msgid "Blogging Tool" #~ msgstr "Narzędzie do blogowania" gnome-blog-0.9.1/po/pt.po0000664000076500007650000001756310171157777012136 00000000000000# gnome-blog's Portuguese translation. # Copyright (C) 2003 gnome-blog # This file is distributed under the same license as the gnome-blog package. # Duarte Loreto , 2003 # msgid "" msgstr "" "Project-Id-Version: 2.4\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-01-12 03:10-0500\n" "PO-Revision-Date: 2003-11-20 00:20+0000\n" "Last-Translator: Duarte Loreto \n" "Language-Team: Portuguese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: GNOME_BlogApplet.server.in.in.h:1 msgid "Accessories" msgstr "Acessórios" #: GNOME_BlogApplet.server.in.in.h:2 gnome-blog.desktop.in.h:1 msgid "Blog Entry Poster" msgstr "Colocador Entrada de Blog" #: GNOME_BlogApplet.server.in.in.h:3 msgid "Post entries to a web log" msgstr "Colocar entradas num log web" #: GNOME_BlogApplet.xml.h:1 msgid "_About..." msgstr "_Sobre..." #: GNOME_BlogApplet.xml.h:2 msgid "_Preferences..." msgstr "_Preferências..." #: blog_applet.py:35 msgid "About" msgstr "Sobre" #: blog_applet.py:38 msgid "Blog" msgstr "Blog" #: blog_applet.py:73 msgid "A GNOME Web Blogging Applet" msgstr "Uma Applet de Blogging Web GNOME" #: blog_applet.py:108 #, python-format msgid "Create a blog entry for %s at %s" msgstr "Criar uma entrada de blog para %s em %s" #: blog_poster.py:44 msgid "_Post Entry" msgstr "_Colocar Entrada" #: blog_poster.py:69 msgid "Preferences..." msgstr "Preferências..." #: blog_poster.py:81 msgid "Title:" msgstr "Título:" #: blog_poster.py:116 msgid "Couldn't upload images" msgstr "Incapaz de enviar imagens" #: blog_poster.py:116 msgid "The blog protocol in use does not support uploading images" msgstr "O protocolo de blog utilizado não suporta o envio de imagens" #: blog_poster.py:163 msgid "Blog Entry is Blank" msgstr "Entrada de Blog está Vazia" #: blog_poster.py:163 msgid "" "No text was entered in the blog entry box. Please enter some text and try " "again" msgstr "" "Não foi introduzido texto na caixa de entrada de blog. Introduza algum texto " "e tente novamente" #: blogger_prefs.py:19 msgid "Blogger Preferences" msgstr "Propriedades Blogger" #: blogger_prefs.py:38 msgid "Self-Run MovableType" msgstr "MovableType Gerido pelo Próprio" #: blogger_prefs.py:39 msgid "Self-Run Pyblosxom" msgstr "Pybloxsom Auto-Executado" #: blogger_prefs.py:40 #, fuzzy msgid "Self-Run WordPress" msgstr "Outro Gerido pelo Próprio" #: blogger_prefs.py:41 msgid "Self-Run Other" msgstr "Outro Gerido pelo Próprio" #: blogger_prefs.py:45 msgid "Blog Type:" msgstr "Tipo Blog:" #: blogger_prefs.py:55 msgid "Blog Protocol:" msgstr "Protocolo Blog:" #: blogger_prefs.py:59 msgid "Blog Base URL:" msgstr "URL Base Blog:" #: blogger_prefs.py:61 msgid "Blog Name:" msgstr "Nome Blog:" #: blogger_prefs.py:63 msgid "Lookup Blogs" msgstr "Consultar Blogs" #: blogger_prefs.py:73 msgid "Username:" msgstr "Utilizador:" #: blogger_prefs.py:74 msgid "Password:" msgstr "Senha:" #: blogger_prefs.py:116 blogger_prefs.py:136 blogger_prefs.py:141 #: blogger_prefs.py:147 msgid "XML-RPC URL:" msgstr "URL XML-RPC:" #: blogger_prefs.py:121 blogger_prefs.py:126 blogger_prefs.py:131 msgid "Base Blog URL:" msgstr "URL Base Blog:" #: blogger_prefs.py:155 msgid "Unknown blog type" msgstr "" #: blogger_prefs.py:155 msgid "The detected blog type is not among the list of supported blogs" msgstr "" #: gnome-blog.desktop.in.h:2 msgid "Post an entry to a web log" msgstr "Colocar entradas num log web" #: gnomeblog.schemas.in.h:1 msgid "Password to use in accessing the blog" msgstr "Senha a utilizar ao aceder ao blog" #: gnomeblog.schemas.in.h:2 msgid "Protocol to use in accessing the blog" msgstr "Protocolo a utilizar ao aceder ao blog" #: gnomeblog.schemas.in.h:3 msgid "Suffix to attach to the base URL (e.g. \"xmlrpc.cgi\")" msgstr "Sufixo a acrescentar ao URL base (por ex. \"xmlrpc.cgi\")" #: gnomeblog.schemas.in.h:4 msgid "The application's preferences have been initialized" msgstr "As preferências da aplicação foram inicializadas" #: gnomeblog.schemas.in.h:5 msgid "The id or name of the particular blog to use on the XML-RPC server" msgstr "O id ou nome do blog específico a utilizar no servidor XML-RPC" #: gnomeblog.schemas.in.h:6 msgid "URL to the bloggerAPI compatible XML-RPC server" msgstr "URL para o servidor XML-RPC compatível com bloggerAPI" #: gnomeblog.schemas.in.h:7 msgid "Username to use in accessing the blog" msgstr "Nome de utilizador para aceder ao blog" #: hig_alert.py:13 #, fuzzy, python-format msgid "URL '%s' may not be a valid bloggerAPI. XML-RPC Server reported: %s." msgstr "" "URL '%s' poderá não ser uma bloggerAPI válida. Servidor XML-RPC relatou: " "%s." #: hig_alert.py:15 #, fuzzy, python-format msgid "" "Unknown username %s or password trying to post blog entry to XML-RPC server %" "s." msgstr "" "Utilizador %s ou senha desconhecidos ao tentar " "colocar entrada no blog no servidor XML-RPC %s." #: hig_alert.py:17 #, fuzzy, python-format msgid "" "Could not post to blog '%s' at bloggerAPI XML-RPC server '%s'. Server " "reported: %s." msgstr "" "Incapaz de colocar entrada no blog '%s' no servidor bloggerAPI XML-RPC '%s'. " "Servidor relatou: %s." #: hig_alert.py:19 #, fuzzy, python-format msgid "" "The bloggerAPI server (%s) reported an error I don't understand: '%s, %s'. \n" "\n" "Please email this error message to seth@gnome.org so I can address it." msgstr "" "O servidor bloggerAPI (%s) relatou um erro que não é compreensível: '%s, " "%s'. \n" "\n" "Por favor, envie esta mensagem de erro para seth@gnome.org para que possa " "ser analisada." #: protocols/advogato.py:27 protocols/advogato.py:30 protocols/advogato.py:42 #: protocols/bloggerAPI.py:62 protocols/bloggerAPI.py:90 #: protocols/livejournal.py:35 protocols/livejournal.py:64 msgid "Could not post Blog entry" msgstr "" #: protocols/advogato.py:27 msgid "Your username is invalid. Please double-check the preferences." msgstr "" #: protocols/advogato.py:30 protocols/livejournal.py:35 msgid "" "Your username or password is invalid. Please double-check the preferences." msgstr "" #: protocols/advogato.py:39 protocols/bloggerAPI.py:87 #: protocols/livejournal.py:61 msgid "Could not post blog entry" msgstr "" #: protocols/advogato.py:42 protocols/bloggerAPI.py:39 #: protocols/bloggerAPI.py:90 #, fuzzy, python-format msgid "" "URL '%s' does not seem to be a valid bloggerAPI XML-RPC server. Web server " "reported: %s." msgstr "" "URL '%s' poderá não ser uma bloggerAPI válida. Servidor XML-RPC relatou: " "%s." #: protocols/bloggerAPI.py:36 protocols/bloggerAPI.py:39 msgid "Could not get list of blogs" msgstr "" #: protocols/bloggerAPI.py:62 msgid "" "No XML-RPC server URL to post blog entries to is set, or the value could not " "be retrieved from GConf. Your entry will remain in the blogger window." msgstr "" #: protocols/livejournal.py:64 #, python-format msgid "" "URL '%s' does not seem to be a valid LiveJournal XML-RPC server. Web server " "reported: %s." msgstr "" #: rich_entry.py:144 rich_entry.py:152 msgid "Could not load dragged in image" msgstr "Incapaz de ler imagem arrastada" #: rich_entry.py:145 rich_entry.py:153 #, python-format msgid "Error loading %s was: %s" msgstr "Erro ao ler %s era: %s" #: rich_entry.py:210 msgid "Add _Link..." msgstr "Adicionar _Link..." #: rich_entry.py:215 msgid "Add Link" msgstr "Adicionar Link" #: rich_entry.py:216 msgid "_Add Link" msgstr "_Adicionar Link" #: rich_entry.py:224 msgid "Text:" msgstr "Texto:" #: rich_entry.py:227 msgid "URL:" msgstr "URL:" #~ msgid "Post blog entries to Blogger.com" #~ msgstr "Colocar entradas de blog no Blogger.com" #~ msgid "bloggerAPI" #~ msgstr "bloggerAPI" #~ msgid " at " #~ msgstr " em " #~ msgid "Blogging Tool" #~ msgstr "Ferramenta de Blogging" gnome-blog-0.9.1/po/rw.po0000664000076500007650000002030110223333443012103 00000000000000# translation of gnome-blog to Kinyarwanda. # Copyright (C) 2005 Free Software Foundation, Inc. # This file is distributed under the same license as the gnome-blog package. # Steve Murphy , 2005 # Steve performed initial rough translation from compendium built from translations provided by the following translators: # Philibert Ndandali , 2005. # Viateur MUGENZI , 2005. # Noëlla Mupole , 2005. # Carole Karema , 2005. # JEAN BAPTISTE NGENDAHAYO , 2005. # Augustin KIBERWA , 2005. # Donatien NSENGIYUMVA , 2005.. # msgid "" msgstr "" "Project-Id-Version: gnome-blog HEAD\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-04-01 14:00-0700\n" "PO-Revision-Date: 2005-03-31 20:55-0700\n" "Last-Translator: Steve Murphy \n" "Language-Team: Kinyarwanda \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "ULL NAME \n" #: GNOME_BlogApplet.server.in.in.h:1 msgid "Accessories" msgstr "" #: GNOME_BlogApplet.server.in.in.h:2 gnome-blog.desktop.in.h:1 msgid "Blog Entry Poster" msgstr "" #: GNOME_BlogApplet.server.in.in.h:3 #, fuzzy msgid "Post entries to a web log" msgstr "Ibyinjijwe Kuri a Urubuga LOG" # offmgr/source\offapp\intro\intro.hrc:TEXT_DEFAULTABOUT.text #: GNOME_BlogApplet.xml.h:1 #, fuzzy msgid "_About..." msgstr "Ibyerekeye" #: GNOME_BlogApplet.xml.h:2 #, fuzzy msgid "_Preferences..." msgstr "Ibyahiswemo..." #: blog_applet.py:35 msgid "About" msgstr "Bigyanye" #: blog_applet.py:38 msgid "Blog" msgstr "" #: blog_applet.py:73 #, fuzzy msgid "A GNOME Web Blogging Applet" msgstr "A" #: blog_applet.py:108 #, fuzzy, python-format msgid "Create a blog entry for %s at %s" msgstr "a Icyinjijwe kugirango ku" #: blog_poster.py:44 msgid "_Post Entry" msgstr "" #: blog_poster.py:69 #, fuzzy msgid "Preferences..." msgstr "Ibyahiswemo..." # shell/source\win32\shlxthandler\shlxthdl.lng:%TITLE_COLON%.text #: blog_poster.py:81 msgid "Title:" msgstr "Umutwe:" #: blog_poster.py:116 #, fuzzy msgid "Couldn't upload images" msgstr "Ishusho" #: blog_poster.py:116 #, fuzzy msgid "The blog protocol in use does not support uploading images" msgstr "Porotokole in Gukoresha OYA Gushigikira Ishusho" #: blog_poster.py:163 #, fuzzy msgid "Blog Entry is Blank" msgstr "ni" #: blog_poster.py:163 #, fuzzy msgid "" "No text was entered in the blog entry box. Please enter some text and try " "again" msgstr "Umwandiko in i Icyinjijwe Agasanduku Injiza Umwandiko Na" #: blogger_prefs.py:19 msgid "Blogger Preferences" msgstr "" #: blogger_prefs.py:38 msgid "Self-Run MovableType" msgstr "" #: blogger_prefs.py:39 msgid "Self-Run Pyblosxom" msgstr "" #: blogger_prefs.py:40 msgid "Self-Run WordPress" msgstr "" #: blogger_prefs.py:41 msgid "Self-Run Other" msgstr "" #: blogger_prefs.py:45 msgid "Blog Type:" msgstr "" #: blogger_prefs.py:55 msgid "Blog Protocol:" msgstr "" #: blogger_prefs.py:59 #, fuzzy msgid "Blog Base URL:" msgstr "Base" #: blogger_prefs.py:61 msgid "Blog Name:" msgstr "" #: blogger_prefs.py:63 msgid "Lookup Blogs" msgstr "" #: blogger_prefs.py:73 #, fuzzy msgid "Username:" msgstr "Izina ry'ukoresha" # sc/source\ui\src\scstring.src:SCSTR_PASSWORD.text #: blogger_prefs.py:74 msgid "Password:" msgstr "Ijambobanga:" #: blogger_prefs.py:116 blogger_prefs.py:136 blogger_prefs.py:141 #: blogger_prefs.py:147 msgid "XML-RPC URL:" msgstr "" #: blogger_prefs.py:121 blogger_prefs.py:126 blogger_prefs.py:131 #, fuzzy msgid "Base Blog URL:" msgstr "Base" #: blogger_prefs.py:155 #, fuzzy msgid "Unknown blog type" msgstr "Ubwoko" #: blogger_prefs.py:155 #, fuzzy msgid "The detected blog type is not among the list of supported blogs" msgstr "Ubwoko ni OYA i Urutonde Bya" #: gnome-blog.desktop.in.h:2 #, fuzzy msgid "Post an entry to a web log" msgstr "Icyinjijwe Kuri a Urubuga LOG" #: gnomeblog.schemas.in.h:1 #, fuzzy msgid "Password to use in accessing the blog" msgstr "Kuri Gukoresha in i" #: gnomeblog.schemas.in.h:2 #, fuzzy msgid "Protocol to use in accessing the blog" msgstr "Kuri Gukoresha in i" #: gnomeblog.schemas.in.h:3 #, fuzzy msgid "Suffix to attach to the base URL (e.g. \"xmlrpc.cgi\")" msgstr "g." #: gnomeblog.schemas.in.h:4 #, fuzzy msgid "The application's preferences have been initialized" msgstr "Ibyahiswemo" #: gnomeblog.schemas.in.h:5 #, fuzzy msgid "The id or name of the particular blog to use on the XML-RPC server" msgstr "ID Cyangwa Izina: Bya i Kuri Gukoresha ku i Seriveri" #: gnomeblog.schemas.in.h:6 #, fuzzy msgid "URL to the bloggerAPI compatible XML-RPC server" msgstr "Kuri i Seriveri" #: gnomeblog.schemas.in.h:7 #, fuzzy msgid "Username to use in accessing the blog" msgstr "Kuri Gukoresha in i" #: hig_alert.py:13 #, fuzzy, python-format msgid "URL '%s' may not be a valid bloggerAPI. XML-RPC Server reported: %s." msgstr "Gicurasi OYA a Byemewe" #: hig_alert.py:15 #, fuzzy, python-format msgid "" "Unknown username %s or password trying to post blog entry to XML-RPC server %" "s." msgstr "" "Izina ry'ukoresha Cyangwa Ijambobanga... Kuri Iposita Icyinjijwe Kuri " "Seriveri" #: hig_alert.py:17 #, fuzzy, python-format msgid "" "Could not post to blog '%s' at bloggerAPI XML-RPC server '%s'. Server " "reported: %s." msgstr "OYA Iposita Kuri ku Seriveri" #: hig_alert.py:19 #, fuzzy, python-format msgid "" "The bloggerAPI server (%s) reported an error I don't understand: '%s, %s'. \n" "\n" "Please email this error message to seth@gnome.org so I can address it." msgstr "Seriveri Ikosa imeli iyi Ikosa Ubutumwa Kuri org Aderesi" #: protocols/advogato.py:27 protocols/advogato.py:30 protocols/advogato.py:42 #: protocols/bloggerAPI.py:62 protocols/bloggerAPI.py:90 #: protocols/livejournal.py:35 protocols/livejournal.py:64 #, fuzzy msgid "Could not post Blog entry" msgstr "OYA Iposita Icyinjijwe" #: protocols/advogato.py:27 #, fuzzy msgid "Your username is invalid. Please double-check the preferences." msgstr "Izina ry'ukoresha ni Sibyo MAHARAKUBIRI Kugenzura... i Ibyahiswemo" #: protocols/advogato.py:30 protocols/livejournal.py:35 #, fuzzy msgid "" "Your username or password is invalid. Please double-check the preferences." msgstr "" "Izina ry'ukoresha Cyangwa Ijambobanga... ni Sibyo MAHARAKUBIRI Kugenzura... " "i Ibyahiswemo" #: protocols/advogato.py:39 protocols/bloggerAPI.py:87 #: protocols/livejournal.py:61 #, fuzzy msgid "Could not post blog entry" msgstr "OYA Iposita Icyinjijwe" #: protocols/advogato.py:42 protocols/bloggerAPI.py:39 #: protocols/bloggerAPI.py:90 #, fuzzy, python-format msgid "" "URL '%s' does not seem to be a valid bloggerAPI XML-RPC server. Web server " "reported: %s." msgstr "OYA Kuri a Byemewe Seriveri Seriveri" #: protocols/bloggerAPI.py:36 protocols/bloggerAPI.py:39 #, fuzzy msgid "Could not get list of blogs" msgstr "OYA Kubona Urutonde Bya" #: protocols/bloggerAPI.py:62 #, fuzzy msgid "" "No XML-RPC server URL to post blog entries to is set, or the value could not " "be retrieved from GConf. Your entry will remain in the blogger window." msgstr "" "Seriveri Kuri Iposita Ibyinjijwe Kuri ni Gushyiraho Cyangwa i Agaciro OYA " "Bivuye Icyinjijwe in i Idirishya" #: protocols/livejournal.py:64 #, fuzzy, python-format msgid "" "URL '%s' does not seem to be a valid LiveJournal XML-RPC server. Web server " "reported: %s." msgstr "OYA Kuri a Byemewe Seriveri Seriveri" #: rich_entry.py:144 rich_entry.py:152 #, fuzzy msgid "Could not load dragged in image" msgstr "OYA Ibirimo in Ishusho" #: rich_entry.py:145 rich_entry.py:153 #, fuzzy, python-format msgid "Error loading %s was: %s" msgstr "Itangira..." # sfx2/sdi\sfxslots.src:SID_CREATELINK.text #: rich_entry.py:210 #, fuzzy msgid "Add _Link..." msgstr "Kongeraho Ihuriro" # sfx2/sdi\sfxslots.src:SID_CREATELINK.text #: rich_entry.py:215 msgid "Add Link" msgstr "Kongeraho Ihuriro" # sfx2/sdi\sfxslots.src:SID_CREATELINK.text #: rich_entry.py:216 #, fuzzy msgid "_Add Link" msgstr "Kongeraho Ihuriro" # svx/source\dialog\imapdlg.src:RID_SVXDLG_IMAP.FT_TEXT.text #: rich_entry.py:224 msgid "Text:" msgstr "Umwandiko:" # offmgr/source\offapp\dialog\hyprlink.src:RID_SVXDLG_HYPERLINK.FT_URL.text #: rich_entry.py:227 msgid "URL:" msgstr "URL:" gnome-blog-0.9.1/po/sq.po0000664000076500007650000001632410171157777012130 00000000000000# Përkthimi i mesazheve të gnome-blog në shqip # This file is distributed under the same license as the gnome-blog package. # Copyright (C) 2004 Free Software Foundation, Inc. # Laurent Dhima , 2004. # msgid "" msgstr "" "Project-Id-Version: gnome-blog HEAD\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-01-12 03:10-0500\n" "PO-Revision-Date: 2004-09-03 18:27+0200\n" "Last-Translator: Laurent Dhima \n" "Language-Team: Albanian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: GNOME_BlogApplet.server.in.in.h:1 msgid "Accessories" msgstr "Aksesorë" #: GNOME_BlogApplet.server.in.in.h:2 gnome-blog.desktop.in.h:1 #, fuzzy msgid "Blog Entry Poster" msgstr "Ditari" #: GNOME_BlogApplet.server.in.in.h:3 msgid "Post entries to a web log" msgstr "Posto zërat tek një web log" #: GNOME_BlogApplet.xml.h:1 msgid "_About..." msgstr "_Informacione..." #: GNOME_BlogApplet.xml.h:2 msgid "_Preferences..." msgstr "_Preferime..." #: blog_applet.py:35 msgid "About" msgstr "Informacione" #: blog_applet.py:38 msgid "Blog" msgstr "Ditari" #: blog_applet.py:73 #, fuzzy msgid "A GNOME Web Blogging Applet" msgstr "A GNOME Web Applet" #: blog_applet.py:108 #, fuzzy, python-format msgid "Create a blog entry for %s at %s" msgstr "Krijo a ditari për" #: blog_poster.py:44 msgid "_Post Entry" msgstr "" #: blog_poster.py:69 msgid "Preferences..." msgstr "Preferime..." #: blog_poster.py:81 msgid "Title:" msgstr "Titulli:" #: blog_poster.py:116 msgid "Couldn't upload images" msgstr "" #: blog_poster.py:116 #, fuzzy msgid "The blog protocol in use does not support uploading images" msgstr "ditari në nuk" #: blog_poster.py:163 #, fuzzy msgid "Blog Entry is Blank" msgstr "Ditari është Fshih" #: blog_poster.py:163 #, fuzzy msgid "" "No text was entered in the blog entry box. Please enter some text and try " "again" msgstr "Jo tekst në ditari shkruaj tekst dhe" #: blogger_prefs.py:19 #, fuzzy msgid "Blogger Preferences" msgstr "Preferimet" #: blogger_prefs.py:38 #, fuzzy msgid "Self-Run MovableType" msgstr "Vetë Ekzekuto" #: blogger_prefs.py:39 #, fuzzy msgid "Self-Run Pyblosxom" msgstr "Vetë Ekzekuto" #: blogger_prefs.py:40 #, fuzzy msgid "Self-Run WordPress" msgstr "Vetë Ekzekuto Tjetër" #: blogger_prefs.py:41 #, fuzzy msgid "Self-Run Other" msgstr "Vetë Ekzekuto Tjetër" #: blogger_prefs.py:45 #, fuzzy msgid "Blog Type:" msgstr "Ditari Lloji:" #: blogger_prefs.py:55 #, fuzzy msgid "Blog Protocol:" msgstr "Ditari Protokolli:" #: blogger_prefs.py:59 #, fuzzy msgid "Blog Base URL:" msgstr "Ditari Bazë URL:" #: blogger_prefs.py:61 #, fuzzy msgid "Blog Name:" msgstr "Ditari Emri:" #: blogger_prefs.py:63 #, fuzzy msgid "Lookup Blogs" msgstr "Mbikqyr Blogs" #: blogger_prefs.py:73 msgid "Username:" msgstr "Përdoruesi:" #: blogger_prefs.py:74 msgid "Password:" msgstr "Fjalëkalimi:" #: blogger_prefs.py:116 blogger_prefs.py:136 blogger_prefs.py:141 #: blogger_prefs.py:147 #, fuzzy msgid "XML-RPC URL:" msgstr "XML URL:" #: blogger_prefs.py:121 blogger_prefs.py:126 blogger_prefs.py:131 #, fuzzy msgid "Base Blog URL:" msgstr "Bazë Ditari URL:" #: blogger_prefs.py:155 msgid "Unknown blog type" msgstr "" #: blogger_prefs.py:155 msgid "The detected blog type is not among the list of supported blogs" msgstr "" #: gnome-blog.desktop.in.h:2 #, fuzzy msgid "Post an entry to a web log" msgstr "a" #: gnomeblog.schemas.in.h:1 #, fuzzy msgid "Password to use in accessing the blog" msgstr "Fjalëkalimi në ditari" #: gnomeblog.schemas.in.h:2 #, fuzzy msgid "Protocol to use in accessing the blog" msgstr "Protokolli në ditari" #: gnomeblog.schemas.in.h:3 #, fuzzy msgid "Suffix to attach to the base URL (e.g. \"xmlrpc.cgi\")" msgstr "bashkangjit URL e" #: gnomeblog.schemas.in.h:4 #, fuzzy msgid "The application's preferences have been initialized" msgstr "programi preferimet" #: gnomeblog.schemas.in.h:5 #, fuzzy msgid "The id or name of the particular blog to use on the XML-RPC server" msgstr "emri nga ditari në XML server" #: gnomeblog.schemas.in.h:6 #, fuzzy msgid "URL to the bloggerAPI compatible XML-RPC server" msgstr "URL XML server" #: gnomeblog.schemas.in.h:7 #, fuzzy msgid "Username to use in accessing the blog" msgstr "Përdoruesi në ditari" #: hig_alert.py:13 #, fuzzy, python-format msgid "URL '%s' may not be a valid bloggerAPI. XML-RPC Server reported: %s." msgstr "URL nuk a XML Serveri." #: hig_alert.py:15 #, fuzzy, python-format msgid "" "Unknown username %s or password trying to post blog entry to XML-RPC server %" "s." msgstr "Nuk njihet përdoruesi password ditari XML server." #: hig_alert.py:17 #, fuzzy, python-format msgid "" "Could not post to blog '%s' at bloggerAPI XML-RPC server '%s'. Server " "reported: %s." msgstr "nuk ditari XML server Serveri." #: hig_alert.py:19 #, fuzzy, python-format msgid "" "The bloggerAPI server (%s) reported an error I don't understand: '%s, %s'. \n" "\n" "Please email this error message to seth@gnome.org so I can address it." msgstr "server gabim I j gabim mesazhseth@gnome.org I." #: protocols/advogato.py:27 protocols/advogato.py:30 protocols/advogato.py:42 #: protocols/bloggerAPI.py:62 protocols/bloggerAPI.py:90 #: protocols/livejournal.py:35 protocols/livejournal.py:64 #, fuzzy msgid "Could not post Blog entry" msgstr "nuk Ditari" #: protocols/advogato.py:27 #, fuzzy msgid "Your username is invalid. Please double-check the preferences." msgstr "përdoruesi është I pavlefshëm preferimet." #: protocols/advogato.py:30 protocols/livejournal.py:35 #, fuzzy msgid "" "Your username or password is invalid. Please double-check the preferences." msgstr "përdoruesi password është I pavlefshëm preferimet." #: protocols/advogato.py:39 protocols/bloggerAPI.py:87 #: protocols/livejournal.py:61 #, fuzzy msgid "Could not post blog entry" msgstr "nuk ditari" #: protocols/advogato.py:42 protocols/bloggerAPI.py:39 #: protocols/bloggerAPI.py:90 #, fuzzy, python-format msgid "" "URL '%s' does not seem to be a valid bloggerAPI XML-RPC server. Web server " "reported: %s." msgstr "URL nuk a XML server Web server." #: protocols/bloggerAPI.py:36 protocols/bloggerAPI.py:39 #, fuzzy msgid "Could not get list of blogs" msgstr "nuk merr lista nga ditarë" #: protocols/bloggerAPI.py:62 #, fuzzy msgid "" "No XML-RPC server URL to post blog entries to is set, or the value could not " "be retrieved from GConf. Your entry will remain in the blogger window." msgstr "Jo XML server URL ditari është nuk në dritare." #: protocols/livejournal.py:64 #, fuzzy, python-format msgid "" "URL '%s' does not seem to be a valid LiveJournal XML-RPC server. Web server " "reported: %s." msgstr "URL nuk a XML server Web server." #: rich_entry.py:144 rich_entry.py:152 #, fuzzy msgid "Could not load dragged in image" msgstr "nuk ngarkoje në figurë" #: rich_entry.py:145 rich_entry.py:153 #, fuzzy, python-format msgid "Error loading %s was: %s" msgstr "Gabim" #: rich_entry.py:210 #, fuzzy msgid "Add _Link..." msgstr "Shto Lidhje." #: rich_entry.py:215 #, fuzzy msgid "Add Link" msgstr "Shto Lidhje" #: rich_entry.py:216 #, fuzzy msgid "_Add Link" msgstr "Shto Lidhje" #: rich_entry.py:224 msgid "Text:" msgstr "Teksti:" #: rich_entry.py:227 msgid "URL:" msgstr "URL:" gnome-blog-0.9.1/po/sr.po0000664000076500007650000002331310171157777012125 00000000000000# Serbian translation of gnome-blog # Courtesy of Prevod.org team (http://prevod.org/) -- 2003, 2004. # # This file is distributed under the same license as the gnome-blog package. # # Maintainer: Данило Шеган # msgid "" msgstr "" "Project-Id-Version: gnome-blog\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-01-12 03:10-0500\n" "PO-Revision-Date: 2004-03-06 03:28+0100\n" "Last-Translator: Данило Шеган \n" "Language-Team: Serbian (sr) \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: GNOME_BlogApplet.server.in.in.h:1 msgid "Accessories" msgstr "Допунски програми" #: GNOME_BlogApplet.server.in.in.h:2 gnome-blog.desktop.in.h:1 msgid "Blog Entry Poster" msgstr "Слање уноса у блогче" #: GNOME_BlogApplet.server.in.in.h:3 msgid "Post entries to a web log" msgstr "Пошаљи уносе у блогче" #: GNOME_BlogApplet.xml.h:1 msgid "_About..." msgstr "_О програму..." #: GNOME_BlogApplet.xml.h:2 msgid "_Preferences..." msgstr "_Поставке" #: blog_applet.py:35 msgid "About" msgstr "О програму" #: blog_applet.py:38 msgid "Blog" msgstr "Блогче" #: blog_applet.py:73 msgid "A GNOME Web Blogging Applet" msgstr "Програмче за блогчење из Гнома" #: blog_applet.py:108 #, python-format msgid "Create a blog entry for %s at %s" msgstr "Састави унос у блогче за корисника „%s“ на %s" #: blog_poster.py:44 msgid "_Post Entry" msgstr "_Пошаљи унос" #: blog_poster.py:69 msgid "Preferences..." msgstr "Поставке..." #: blog_poster.py:81 msgid "Title:" msgstr "Наслов:" #: blog_poster.py:116 msgid "Couldn't upload images" msgstr "Не могу да пошаљем слике" #: blog_poster.py:116 msgid "The blog protocol in use does not support uploading images" msgstr "Протокол за блогче који се користи не подржава слање слика" #: blog_poster.py:163 msgid "Blog Entry is Blank" msgstr "Унос у блогче је празан" #: blog_poster.py:163 msgid "" "No text was entered in the blog entry box. Please enter some text and try " "again" msgstr "" "Текст није унет у пољу за унос блогчета. Молим унесите неки текст и " "покушајте поново" #: blogger_prefs.py:19 msgid "Blogger Preferences" msgstr "Поставке Blogger-а" #: blogger_prefs.py:38 msgid "Self-Run MovableType" msgstr "Лични MovableType" #: blogger_prefs.py:39 msgid "Self-Run Pyblosxom" msgstr "Лични Pyblosxom" #: blogger_prefs.py:40 #, fuzzy msgid "Self-Run WordPress" msgstr "Неки други лични" #: blogger_prefs.py:41 msgid "Self-Run Other" msgstr "Неки други лични" #: blogger_prefs.py:45 msgid "Blog Type:" msgstr "Врста блогчета:" #: blogger_prefs.py:55 msgid "Blog Protocol:" msgstr "Протокол блогчета:" #: blogger_prefs.py:59 msgid "Blog Base URL:" msgstr "Основна адреса блогчета:" #: blogger_prefs.py:61 msgid "Blog Name:" msgstr "Име блогчета:" #: blogger_prefs.py:63 msgid "Lookup Blogs" msgstr "Пронађи блогчад" #: blogger_prefs.py:73 msgid "Username:" msgstr "Корисник:" #: blogger_prefs.py:74 msgid "Password:" msgstr "Лозинка:" #: blogger_prefs.py:116 blogger_prefs.py:136 blogger_prefs.py:141 #: blogger_prefs.py:147 msgid "XML-RPC URL:" msgstr "XML-RPC адреса:" #: blogger_prefs.py:121 blogger_prefs.py:126 blogger_prefs.py:131 msgid "Base Blog URL:" msgstr "Основна адреса блогчета:" #: blogger_prefs.py:155 msgid "Unknown blog type" msgstr "" #: blogger_prefs.py:155 msgid "The detected blog type is not among the list of supported blogs" msgstr "" #: gnome-blog.desktop.in.h:2 msgid "Post an entry to a web log" msgstr "Пошаљите унос у блогче" #: gnomeblog.schemas.in.h:1 msgid "Password to use in accessing the blog" msgstr "Лозинка којом се приступа блогчету" #: gnomeblog.schemas.in.h:2 msgid "Protocol to use in accessing the blog" msgstr "Протокол којим се приступа блогчету" #: gnomeblog.schemas.in.h:3 msgid "Suffix to attach to the base URL (e.g. \"xmlrpc.cgi\")" msgstr "Додатак који се качи на основну адресу (нпр. „xmlrpc.cgi“)" #: gnomeblog.schemas.in.h:4 msgid "The application's preferences have been initialized" msgstr "Учитане су поставке програма" #: gnomeblog.schemas.in.h:5 msgid "The id or name of the particular blog to use on the XML-RPC server" msgstr "" "Идентификатор или име одређеног блогчета које да користи на XML-RPC серверу" #: gnomeblog.schemas.in.h:6 msgid "URL to the bloggerAPI compatible XML-RPC server" msgstr "Адреса за XML-RPC сервер сагласан са bloggerAPI-јем" #: gnomeblog.schemas.in.h:7 msgid "Username to use in accessing the blog" msgstr "Корисничко име за приступ блогчету" #: hig_alert.py:13 #, python-format msgid "URL '%s' may not be a valid bloggerAPI. XML-RPC Server reported: %s." msgstr "" "Адреса „%s“ можда не представља исправан bloggerAPI. XML-RPC сервер је " "пријавио: %s." #: hig_alert.py:15 #, python-format msgid "" "Unknown username %s or password trying to post blog entry to XML-RPC server %" "s." msgstr "" "Непознато корисничко име „%s“ или лозинка при покушају слања уноса у блогче " "преко XML-RPC сервера %s." #: hig_alert.py:17 #, python-format msgid "" "Could not post to blog '%s' at bloggerAPI XML-RPC server '%s'. Server " "reported: %s." msgstr "" "Не могу да пошаљем у блогче „%s“ помоћу bloggerAPI XML-RPC сервера „%s“. " "Сервер је пријавио: %s." #: hig_alert.py:19 #, python-format msgid "" "The bloggerAPI server (%s) reported an error I don't understand: '%s, %s'. \n" "\n" "Please email this error message to seth@gnome.org so I can address it." msgstr "" "Сервер са bloggerAPI-јем (%s) је пријавио грешку коју не разумем: „%s, %" "s“. \n" "\n" "Молим пошаљите е-поштом ову поруку о грешци на seth@gnome.org како би могао " "да је обрадим." #: protocols/advogato.py:27 protocols/advogato.py:30 protocols/advogato.py:42 #: protocols/bloggerAPI.py:62 protocols/bloggerAPI.py:90 #: protocols/livejournal.py:35 protocols/livejournal.py:64 msgid "Could not post Blog entry" msgstr "Не могу да пошаљем унос у блогче" #: protocols/advogato.py:27 msgid "Your username is invalid. Please double-check the preferences." msgstr "Ваше корисничко име је неисправно. Проверите поставке." #: protocols/advogato.py:30 protocols/livejournal.py:35 msgid "" "Your username or password is invalid. Please double-check the preferences." msgstr "Ваше корисничко име или лозинка су неисправни. Проверите поставке." #: protocols/advogato.py:39 protocols/bloggerAPI.py:87 #: protocols/livejournal.py:61 msgid "Could not post blog entry" msgstr "Не могу да пошаљем унос у блогче" #: protocols/advogato.py:42 protocols/bloggerAPI.py:39 #: protocols/bloggerAPI.py:90 #, python-format msgid "" "URL '%s' does not seem to be a valid bloggerAPI XML-RPC server. Web server " "reported: %s." msgstr "" "Адреса „%s“ можда не представља исправан bloggerAPI. XML-RPC сервер је " "пријавио: %s." #: protocols/bloggerAPI.py:36 protocols/bloggerAPI.py:39 msgid "Could not get list of blogs" msgstr "Не могу да сазнам списак блогчади" #: protocols/bloggerAPI.py:62 msgid "" "No XML-RPC server URL to post blog entries to is set, or the value could not " "be retrieved from GConf. Your entry will remain in the blogger window." msgstr "" "Није постављена адреса XML-RPC сервера за слање у блогче, или се не може " "преузети вредност из ГКонфа. Ваш унос ће остати у прозору блогчетара." #: protocols/livejournal.py:64 #, python-format msgid "" "URL '%s' does not seem to be a valid LiveJournal XML-RPC server. Web server " "reported: %s." msgstr "" "Адреса „%s“ изгледа не представља исправан ЛајвЏурнал (LiveJournal) XML-RPC " "сервер. Веб сервер је пријавио: %s." #: rich_entry.py:144 rich_entry.py:152 msgid "Could not load dragged in image" msgstr "Не могу да учитам превучену слику" #: rich_entry.py:145 rich_entry.py:153 #, python-format msgid "Error loading %s was: %s" msgstr "Грешка при учитавању %s је била: %s" #: rich_entry.py:210 msgid "Add _Link..." msgstr "Додај _везу..." #: rich_entry.py:215 msgid "Add Link" msgstr "Додај везу" #: rich_entry.py:216 msgid "_Add Link" msgstr "Додај _везу" #: rich_entry.py:224 msgid "Text:" msgstr "Текст:" #: rich_entry.py:227 msgid "URL:" msgstr "Адреса:" #~ msgid "Post blog entries to Blogger.com" #~ msgstr "Пошаљи унос у блогче на Blogger.com" #~ msgid "bloggerAPI" #~ msgstr "bloggerAPI" # bug: hard to translate #~ msgid " at " #~ msgstr " на " #~ msgid "Blogging Tool" #~ msgstr "Алат за блогчетање" gnome-blog-0.9.1/po/sv.po0000664000076500007650000002227310446065510012121 00000000000000# Swedish messages for gnome-blog. # Copyright (C) 2003-2006 Free Software Foundation, Inc. # Christian Rose , 2003. # Daniel Nylander , 2006. # # $Id: sv.po,v 1.22 2006/04/16 20:04:49 dnylande Exp $ # msgid "" msgstr "" "Project-Id-Version: gnome-blog\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2006-04-12 19:28+0200\n" "PO-Revision-Date: 2006-04-16 21:32+0100\n" "Last-Translator: Daniel Nylander \n" "Language-Team: Swedish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../GNOME_BlogApplet.server.in.in.h:1 msgid "Accessories" msgstr "Tillbehör" #: ../GNOME_BlogApplet.server.in.in.h:2 #: ../gnome-blog.desktop.in.h:1 msgid "Blog Entry Poster" msgstr "Postare av blogginlägg" #: ../GNOME_BlogApplet.server.in.in.h:3 msgid "Post entries to a web log" msgstr "Posta inlägg i en webblogg" #: ../GNOME_BlogApplet.xml.h:1 msgid "_About..." msgstr "_Om..." #: ../GNOME_BlogApplet.xml.h:2 msgid "_Preferences..." msgstr "_Inställningar..." #: ../blog_applet.py:36 msgid "About" msgstr "Om" #: ../blog_applet.py:39 msgid "Blog" msgstr "Blogg" #: ../blog_applet.py:75 msgid "A GNOME Web Blogging Applet" msgstr "Ett webbloggningspanelprogram för GNOME" #: ../blog_applet.py:110 #, python-format msgid "Create a blog entry for %s at %s" msgstr "Skapa ett blogginlägg för %s på %s" #: ../blog_poster.py:44 msgid "_Post Entry" msgstr "_Posta inlägg" #: ../blog_poster.py:69 msgid "Preferences..." msgstr "Inställningar..." #: ../blog_poster.py:81 msgid "Title:" msgstr "Titel:" #: ../blog_poster.py:116 msgid "Couldn't upload images" msgstr "Kunde inte lämna bilder" #: ../blog_poster.py:116 msgid "The blog protocol in use does not support uploading images" msgstr "Bloggprotokollet som används stöder inte lämnande av bilder" #: ../blog_poster.py:162 msgid "Blog Entry is Blank" msgstr "Blogginlägget är tomt" #: ../blog_poster.py:162 msgid "No text was entered in the blog entry box. Please enter some text and try again" msgstr "Ingen text angavs i blogginmatningsfältet. Ange någon text och försök igen" #: ../blogger_prefs.py:19 msgid "Blogger Preferences" msgstr "Inställningar för blogger" #: ../blogger_prefs.py:39 msgid "Self-Run MovableType" msgstr "MovableType för självkörning" #: ../blogger_prefs.py:40 msgid "Self-Run Pyblosxom" msgstr "Pybloxsom för självkörning" #: ../blogger_prefs.py:41 msgid "Self-Run WordPress" msgstr "WordPress för självkörning" #: ../blogger_prefs.py:42 msgid "Self-Run Other" msgstr "Annat för självkörning" #: ../blogger_prefs.py:46 msgid "Blog Type:" msgstr "Bloggtyp:" #: ../blogger_prefs.py:56 msgid "Blog Protocol:" msgstr "Bloggprotokoll:" #: ../blogger_prefs.py:60 #: ../blogger_prefs.py:122 #: ../blogger_prefs.py:127 #: ../blogger_prefs.py:132 msgid "Base Blog URL:" msgstr "Basblogg-URL:" #: ../blogger_prefs.py:62 msgid "Blog Name:" msgstr "Bloggnamn:" #: ../blogger_prefs.py:64 msgid "Lookup Blogs" msgstr "Slå upp bloggar" #: ../blogger_prefs.py:74 msgid "Username:" msgstr "Användarnamn:" #: ../blogger_prefs.py:75 msgid "Password:" msgstr "Lösenord:" #: ../blogger_prefs.py:117 #: ../blogger_prefs.py:137 #: ../blogger_prefs.py:142 #: ../blogger_prefs.py:147 #: ../blogger_prefs.py:153 msgid "XML-RPC URL:" msgstr "XML-RPC-URL:" #: ../blogger_prefs.py:161 msgid "Unknown blog type" msgstr "Okänd bloggtyp" #: ../blogger_prefs.py:161 msgid "The detected blog type is not among the list of supported blogs" msgstr "Den identifierade bloggtypen är inte bland de bloggar som stöds" #: ../gnome-blog.desktop.in.h:2 msgid "Post an entry to a web log" msgstr "Posta ett inlägg i en webblogg" #: ../gnomeblog.schemas.in.h:1 msgid "Password to use in accessing the blog" msgstr "Lösenord för att komma åt bloggen" #: ../gnomeblog.schemas.in.h:2 msgid "Protocol to use in accessing the blog" msgstr "Protokoll att använda för åtkomst av bloggen" #: ../gnomeblog.schemas.in.h:3 msgid "Suffix to attach to the base URL (e.g. \"xmlrpc.cgi\")" msgstr "Ändelse för att fästa bas-URL:en (t.ex. \"xmlrpc.cgi\")" #: ../gnomeblog.schemas.in.h:4 msgid "The application's preferences have been initialized" msgstr "Programmets inställningar har initierats" #: ../gnomeblog.schemas.in.h:5 msgid "The id or name of the particular blog to use on the XML-RPC server" msgstr "Id eller namnet för den blogg som ska användas på XML-RPC-servern" #: ../gnomeblog.schemas.in.h:6 msgid "URL to the bloggerAPI compatible XML-RPC server" msgstr "URL till den bloggerAPI-kompatibla XML-RPC-servern" #: ../gnomeblog.schemas.in.h:7 msgid "Username to use in accessing the blog" msgstr "Användarnamn för att komma åt bloggen" #: ../hig_alert.py:15 #, python-format msgid "URL '%s' may not be a valid bloggerAPI. XML-RPC Server reported: %s." msgstr "Url:en \"%s\" är kanske inte ett giltigt bloggerAPI. XML-RPC-server rapporterade: %s." #: ../hig_alert.py:17 #, python-format msgid "Unknown username %s or password trying to post blog entry to XML-RPC server %s." msgstr "Okänt användarnamn %s eller lösenord vid försök att posta blogginlägg till XML-RPC-servern %s." #: ../hig_alert.py:19 #, python-format msgid "Could not post to blog '%s' at bloggerAPI XML-RPC server '%s'. Server reported: %s." msgstr "Kunde inte posta till bloggen \"%s\" vid bloggerAPI-XML-RPC-servern \"%s\". Servern rapporterade: %s." #: ../hig_alert.py:21 #, python-format msgid "" "The bloggerAPI server (%s) reported an error I don't understand: '%s, %s'. \n" "\n" "Please email this error message to seth@gnome.org so I can address it." msgstr "" "bloggerAPI-servern (%s) rapporterade ett fel som jag inte förstår: \"%s, %s\". \n" "\n" "Skicka detta felmeddelande till seth@gnome.org så att jag kan åtgärda det." #: ../protocols/advogato.py:27 #: ../protocols/advogato.py:30 #: ../protocols/advogato.py:42 #: ../protocols/bloggerAPI.py:61 #: ../protocols/bloggerAPI.py:89 #: ../protocols/livejournal.py:35 #: ../protocols/livejournal.py:64 msgid "Could not post Blog entry" msgstr "Kunde inte posta blogginlägg" #: ../protocols/advogato.py:27 msgid "Your username is invalid. Please double-check the preferences." msgstr "Ditt användarnamn är ogiltigt. Dubbelkontrollera inställningarna." #: ../protocols/advogato.py:30 #: ../protocols/livejournal.py:35 msgid "Your username or password is invalid. Please double-check the preferences." msgstr "Ditt användarnamn eller lösenord är ogiltigt. Dubbelkontrollera inställningarna." #: ../protocols/advogato.py:39 #: ../protocols/bloggerAPI.py:86 #: ../protocols/livejournal.py:61 msgid "Could not post blog entry" msgstr "Kunde inte posta blogginlägg" #: ../protocols/advogato.py:42 #: ../protocols/bloggerAPI.py:38 #: ../protocols/bloggerAPI.py:89 #, python-format msgid "URL '%s' does not seem to be a valid bloggerAPI XML-RPC server. Web server reported: %s." msgstr "URL:en \"%s\" verkar inte vara en giltig bloggerAPI XML-RPC-server. Webbservern rapporterade: %s." #: ../protocols/bloggerAPI.py:35 #: ../protocols/bloggerAPI.py:38 msgid "Could not get list of blogs" msgstr "Kunde inte få tag på lista över bloggar" #: ../protocols/bloggerAPI.py:61 msgid "No XML-RPC server URL to post blog entries to is set, or the value could not be retrieved from GConf. Your entry will remain in the blogger window." msgstr "Ingen XML-RPC server-url att posta blogginlägg till är inställd, eller så kunde värdet inte hämtas från GConf. Ditt inlägg kommer att förbli bloggerfönstret." #: ../protocols/livejournal.py:64 #, python-format msgid "URL '%s' does not seem to be a valid LiveJournal XML-RPC server. Web server reported: %s." msgstr "Url:en \"%s\" verkar inte vara en giltig LiveJournal XML-RPC-server. Webbservern rapporterade: %s." #: ../rich_entry.py:144 #: ../rich_entry.py:152 msgid "Could not load dragged in image" msgstr "Kunde inte läsa in indragen bild" #: ../rich_entry.py:145 #: ../rich_entry.py:153 #, python-format msgid "Error loading %s was: %s" msgstr "Fel vid inläsning av %s var: %s" #: ../rich_entry.py:210 msgid "Add _Link..." msgstr "Lägg till _länk..." #: ../rich_entry.py:215 msgid "Add Link" msgstr "Lägg till länk" #: ../rich_entry.py:218 msgid "_Add Link" msgstr "_Lägg till länk" #: ../rich_entry.py:226 msgid "Text:" msgstr "Text:" #: ../rich_entry.py:229 msgid "URL:" msgstr "URL:" #~ msgid "Blog Base URL:" #~ msgstr "Webbloggsbas-URL:" #~ msgid "Post blog entries to Blogger.com" #~ msgstr "Posta webbloggsinlägg till Blogger.com" #~ msgid "bloggerAPI" #~ msgstr "bloggerAPI" #~ msgid "Error loading %s was: %s" #~ msgstr "Fel vid inläsning av %s var: %s" #~ msgid "Title" #~ msgstr "Titel" #~ msgid "Blog Type" #~ msgstr "Webbloggstyp" #~ msgid "Blog Protocol" #~ msgstr "Webbloggsprotokoll" #~ msgid "Blog Base URL" #~ msgstr "Webbloggsbas-URL" #~ msgid "Blog Name" #~ msgstr "Webbloggsnamn" #~ msgid "Username" #~ msgstr "Användarnamn" #~ msgid "Password" #~ msgstr "Lösenord" #~ msgid "Text" #~ msgstr "Text" #~ msgid "URL" #~ msgstr "URL" #~ msgid "Blogging Tool" #~ msgstr "Webbloggsverktyg" #~ msgid "Preferences" #~ msgstr "Inställningar" #~ msgid "About..." #~ msgstr "Om..." #~ msgid "_About" #~ msgstr "_Om" #~ msgid "Blogs" #~ msgstr "Webbloggar" gnome-blog-0.9.1/po/uk.po0000664000076500007650000002422410273703512012105 00000000000000# Ukrainian translation to gnome-blog. # Copyright (C) 2004 Free Software Foundation # This file is distributed under the same license as the gnome-blog package. # Maxim Dziumanenko , 2004. # msgid "" msgstr "" "Project-Id-Version: gnome-blog\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-08-02 11:05+0300\n" "PO-Revision-Date: 2005-08-02 09:47+0300\n" "Last-Translator: Maxim Dziumanenko \n" "Language-Team: Ukrainian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../GNOME_BlogApplet.server.in.in.h:1 msgid "Accessories" msgstr "Приладдя" #: ../GNOME_BlogApplet.server.in.in.h:2 ../gnome-blog.desktop.in.h:1 msgid "Blog Entry Poster" msgstr "Програма надсилання веб-щоденника" #: ../GNOME_BlogApplet.server.in.in.h:3 msgid "Post entries to a web log" msgstr "Надіслати елементи до веб-журналу" #: ../GNOME_BlogApplet.xml.h:1 msgid "_About..." msgstr "_Про програму..." #: ../GNOME_BlogApplet.xml.h:2 msgid "_Preferences..." msgstr "П_араметри..." #: ../blog_applet.py:36 msgid "About" msgstr "Про програму" #: ../blog_applet.py:39 msgid "Blog" msgstr "Веб-щоденник" #: ../blog_applet.py:76 msgid "A GNOME Web Blogging Applet" msgstr "Веб-щоденник для GNOME" #: ../blog_applet.py:111 #, python-format msgid "Create a blog entry for %s at %s" msgstr "Створити елемент веб-щоденника для %s на %s" #: ../blog_poster.py:44 msgid "_Post Entry" msgstr "_Надіслати елемент" #: ../blog_poster.py:69 msgid "Preferences..." msgstr "Параметри..." #: ../blog_poster.py:81 msgid "Title:" msgstr "Заголовок:" #: ../blog_poster.py:116 msgid "Couldn't upload images" msgstr "Не відвантажити зображення" #: ../blog_poster.py:116 msgid "The blog protocol in use does not support uploading images" msgstr "" "Протокол, що використовується, не підтримує відвантаження зображень" #: ../blog_poster.py:163 msgid "Blog Entry is Blank" msgstr "Порожній елемент веб-щоденника" #: ../blog_poster.py:163 msgid "" "No text was entered in the blog entry box. Please enter some text and try " "again" msgstr "" "У полі вводу веб-щоденника не було введено текст. Введіть якийсь текст та спробуйте " "знову" #: ../blogger_prefs.py:19 msgid "Blogger Preferences" msgstr "Параметри щоденника" #: ../blogger_prefs.py:39 msgid "Self-Run MovableType" msgstr "MovableType з самозапуском" #: ../blogger_prefs.py:40 msgid "Self-Run Pyblosxom" msgstr "Pyblosxom з самозапуском" #: ../blogger_prefs.py:41 msgid "Self-Run WordPress" msgstr "WordPress з самозапуском" #: ../blogger_prefs.py:42 msgid "Self-Run Other" msgstr "Інший з самозапуском" #: ../blogger_prefs.py:46 msgid "Blog Type:" msgstr "Тип щоденника:" #: ../blogger_prefs.py:56 msgid "Blog Protocol:" msgstr "Протокол веб-щоденника:" #: ../blogger_prefs.py:60 msgid "Blog Base URL:" msgstr "Базовий URL щоденника:" #: ../blogger_prefs.py:62 msgid "Blog Name:" msgstr "Назва веб-щоденника:" #: ../blogger_prefs.py:64 msgid "Lookup Blogs" msgstr "Знайти веб-щоденник" #: ../blogger_prefs.py:74 msgid "Username:" msgstr "Ім'я користувача:" #: ../blogger_prefs.py:75 msgid "Password:" msgstr "Пароль:" #: ../blogger_prefs.py:117 ../blogger_prefs.py:137 ../blogger_prefs.py:142 #: ../blogger_prefs.py:147 ../blogger_prefs.py:153 msgid "XML-RPC URL:" msgstr "XML-RPC URL:" #: ../blogger_prefs.py:122 ../blogger_prefs.py:127 ../blogger_prefs.py:132 msgid "Base Blog URL:" msgstr "URL базового веб-щоденника:" #: ../blogger_prefs.py:161 msgid "Unknown blog type" msgstr "Невідомий тип веб-щоденника" #: ../blogger_prefs.py:161 msgid "The detected blog type is not among the list of supported blogs" msgstr "Виявлений тип веб-щоденника відсутній у списку підтримуваних щоденників" #: ../gnome-blog.desktop.in.h:2 msgid "Post an entry to a web log" msgstr "Надсилає елемент на веб-журнал" #: ../gnomeblog.schemas.in.h:1 msgid "Password to use in accessing the blog" msgstr "Пароль, що використовується для доступу до blog" #: ../gnomeblog.schemas.in.h:2 msgid "Protocol to use in accessing the blog" msgstr "Протокол, що використовується для доступу до blog" #: ../gnomeblog.schemas.in.h:3 msgid "Suffix to attach to the base URL (e.g. \"xmlrpc.cgi\")" msgstr "Суфікс, що приєднується до основного URL (наприклад, \"xmlrpc.cgi\")" #: ../gnomeblog.schemas.in.h:4 msgid "The application's preferences have been initialized" msgstr "Параметри програми було ініціалізовано" #: ../gnomeblog.schemas.in.h:5 msgid "The id or name of the particular blog to use on the XML-RPC server" msgstr "" "Ідентифікатор чи назва окремого щоденника, що використовується на сервері XML-RPC" #: ../gnomeblog.schemas.in.h:6 msgid "URL to the bloggerAPI compatible XML-RPC server" msgstr "Посилання (URL) на сервер XML-RPC сумісний з bloggerAPI" #: ../gnomeblog.schemas.in.h:7 msgid "Username to use in accessing the blog" msgstr "Ім'я користувача, що використовується при доступі до веб-щоденника" #: ../hig_alert.py:15 #, python-format msgid "URL '%s' may not be a valid bloggerAPI. XML-RPC Server reported: %s." msgstr "" "Посилання (URL) '%s' має бути правильним bloggerAPI. Сервер XML-RPC " "повідомив: %s." #: ../hig_alert.py:17 #, python-format msgid "" "Unknown username %s or password trying to post blog entry to XML-RPC server %" "s." msgstr "" "Невідоме ім'я користувача %s або пароль при спробі надіслати елемент веб-щоденника на " "сервер XML-RPC %s." #: ../hig_alert.py:19 #, python-format msgid "" "Could not post to blog '%s' at bloggerAPI XML-RPC server '%s'. Server " "reported: %s." msgstr "" "Не вдається надіслати до веб-щоденника '%s' на bloggerAPI сервер XML-RPC '%" "s'. Сервер повідомив: %s." #: ../hig_alert.py:21 #, python-format msgid "" "The bloggerAPI server (%s) reported an error I don't understand: '%s, %s'. \n" "\n" "Please email this error message to seth@gnome.org so I can address it." msgstr "" "Сервер bloggerAPI (%s) повідомив про помилку, яку неможливо розпізнати: '%s, " "%s'. \n" "\n" "Напишіть звіт про цю помилку на seth@gnome.org." #: ../protocols/advogato.py:27 ../protocols/advogato.py:30 #: ../protocols/advogato.py:42 ../protocols/bloggerAPI.py:61 #: ../protocols/bloggerAPI.py:89 ../protocols/livejournal.py:35 #: ../protocols/livejournal.py:64 msgid "Could not post Blog entry" msgstr "Не вдається надіслати елемент веб-щоденника" #: ../protocols/advogato.py:27 msgid "Your username is invalid. Please double-check the preferences." msgstr "Ваше ім'я користувача є неправильним. Перевірте параметри." #: ../protocols/advogato.py:30 ../protocols/livejournal.py:35 msgid "" "Your username or password is invalid. Please double-check the preferences." msgstr "Ваше ім'я користувача є неправильним. Перевірте параметри." #: ../protocols/advogato.py:39 ../protocols/bloggerAPI.py:86 #: ../protocols/livejournal.py:61 msgid "Could not post blog entry" msgstr "Не вдається надіслати елемент веб-щоденника" #: ../protocols/advogato.py:42 ../protocols/bloggerAPI.py:38 #: ../protocols/bloggerAPI.py:89 #, python-format msgid "" "URL '%s' does not seem to be a valid bloggerAPI XML-RPC server. Web server " "reported: %s." msgstr "" "Посилання (URL) '%s' не схоже на правильний bloggerAPI сервер XML-RPC. Веб-" "сервер повідомив: %s." #: ../protocols/bloggerAPI.py:35 ../protocols/bloggerAPI.py:38 msgid "Could not get list of blogs" msgstr "Не вдається отримати перелік веб-щоденників" #: ../protocols/bloggerAPI.py:61 msgid "" "No XML-RPC server URL to post blog entries to is set, or the value could not " "be retrieved from GConf. Your entry will remain in the blogger window." msgstr "" "Не встановлено URL сервера XML-RPC для надсилання елементів веб-щоденника, або не " "вдається отримати значення з GConf. Ваш елемент залишиться у вікні програми." #: ../protocols/livejournal.py:64 #, python-format msgid "" "URL '%s' does not seem to be a valid LiveJournal XML-RPC server. Web server " "reported: %s." msgstr "" "URL '%s' не схожий на правильний LiveJournal сервер XML-RPC. Веб-сервер " "повідомив: %s." #: ../rich_entry.py:144 ../rich_entry.py:152 msgid "Could not load dragged in image" msgstr "Не вдається завантажити перетягнене зображення" #: ../rich_entry.py:145 ../rich_entry.py:153 #, python-format msgid "Error loading %s was: %s" msgstr "Помилка при завантаженні %s: %s" #: ../rich_entry.py:210 msgid "Add _Link..." msgstr "Додати _посилання..." #: ../rich_entry.py:215 msgid "Add Link" msgstr "Додавання посилання" #: ../rich_entry.py:218 msgid "_Add Link" msgstr "_Додати посилання" #: ../rich_entry.py:226 msgid "Text:" msgstr "Текст:" #: ../rich_entry.py:229 msgid "URL:" msgstr "URL:" gnome-blog-0.9.1/po/vi.po0000664000076500007650000002223410300105613012070 00000000000000# Vietnamese translation for Gnome Blog. # Copyright © 2005 Gnome i18n Project for Vietnamese. # Clytie Siddall , 2005. # msgid "" msgstr "" "Project-Id-Version: gnome-blog Gnome HEAD\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-08-14 11:35+0000\n" "PO-Revision-Date: 2005-08-15 21:34+0930\n" "Last-Translator: Clytie Siddall \n" "Language-Team: Vietnamese \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: LocFactoryEditor 1.2.2\n" #: ../GNOME_BlogApplet.server.in.in.h:1 msgid "Accessories" msgstr "Phụ tùng" #: ../GNOME_BlogApplet.server.in.in.h:2 ../gnome-blog.desktop.in.h:1 msgid "Blog Entry Poster" msgstr "Bộ gởi bài vào Nhật ký Mạng" #: ../GNOME_BlogApplet.server.in.in.h:3 msgid "Post entries to a web log" msgstr "Gởi bài vào một nhật ký Mạng." #: ../GNOME_BlogApplet.xml.h:1 msgid "_About..." msgstr "_Giới thiệu..." #: ../GNOME_BlogApplet.xml.h:2 msgid "_Preferences..." msgstr "_Sở thích..." #: ../blog_applet.py:36 msgid "About" msgstr "Giới thiệu" #: ../blog_applet.py:39 msgid "Blog" msgstr "Nhật ký Mạng" #: ../blog_applet.py:75 msgid "A GNOME Web Blogging Applet" msgstr "Tiểu dụng tạo Nhật ký Mạng của Gnome." #: ../blog_applet.py:110 #, python-format msgid "Create a blog entry for %s at %s" msgstr "Tạo bài nhật ký cho %s tại %s." #: ../blog_poster.py:44 msgid "_Post Entry" msgstr "_Gởi bài" #: ../blog_poster.py:69 msgid "Preferences..." msgstr "Sở thích..." #: ../blog_poster.py:81 msgid "Title:" msgstr "Tiêu đề:" #: ../blog_poster.py:116 msgid "Couldn't upload images" msgstr "Không thể tải ảnh lên." #: ../blog_poster.py:116 msgid "The blog protocol in use does not support uploading images" msgstr "Giao thức nhật ký Mạng đang dùng không hỗ trợ việc tải ảnh lên." #: ../blog_poster.py:162 msgid "Blog Entry is Blank" msgstr "Bài nhật ký Mạng rỗng" #: ../blog_poster.py:162 msgid "" "No text was entered in the blog entry box. Please enter some text and try " "again" msgstr "Chưa nhập câu nào vào hộp gõ bài nhật ký. Hãy gõ câu rồi thử lại." #: ../blogger_prefs.py:19 msgid "Blogger Preferences" msgstr "Sở thích Nhật ký Mạng" #: ../blogger_prefs.py:39 msgid "Self-Run MovableType" msgstr "MovableType tự chạy" #: ../blogger_prefs.py:40 msgid "Self-Run Pyblosxom" msgstr "Pyblosxom tự chạy" #: ../blogger_prefs.py:41 msgid "Self-Run WordPress" msgstr "WordPress tự chạy" #: ../blogger_prefs.py:42 msgid "Self-Run Other" msgstr "Điều khác tự chạy" #: ../blogger_prefs.py:46 msgid "Blog Type:" msgstr "Kiểu nhật ký Mạng:" #: ../blogger_prefs.py:56 msgid "Blog Protocol:" msgstr "Giao thức nhật ký Mạng:" #: ../blogger_prefs.py:60 msgid "Blog Base URL:" msgstr "Địa chỉ Mạng cơ bản của nhật ký:" #: ../blogger_prefs.py:62 msgid "Blog Name:" msgstr "Tên nhật ký Mạng:" #: ../blogger_prefs.py:64 msgid "Lookup Blogs" msgstr "Tìm tra nhật ký Mạng" #: ../blogger_prefs.py:74 msgid "Username:" msgstr "Tên người dùng:" #: ../blogger_prefs.py:75 msgid "Password:" msgstr "Mật khẩu:" #: ../blogger_prefs.py:117 ../blogger_prefs.py:137 ../blogger_prefs.py:142 #: ../blogger_prefs.py:147 ../blogger_prefs.py:153 msgid "XML-RPC URL:" msgstr "Địa chỉ Mạng XML-RPC:" #: ../blogger_prefs.py:122 ../blogger_prefs.py:127 ../blogger_prefs.py:132 msgid "Base Blog URL:" msgstr "Địa chỉ Mạng cơ bản của nhật ký:" #: ../blogger_prefs.py:161 msgid "Unknown blog type" msgstr "Không biết kiểu nhật ký Mạng." #: ../blogger_prefs.py:161 msgid "The detected blog type is not among the list of supported blogs" msgstr "Đã phát hiện một kiểu nhật ký Mạng không trong danh sách các nhật ký Mạng được hỗ trợ." #: ../gnome-blog.desktop.in.h:2 msgid "Post an entry to a web log" msgstr "Gởi bài vào nhật ký Mạng" #: ../gnomeblog.schemas.in.h:1 msgid "Password to use in accessing the blog" msgstr "Mật khẩu cần dùng khi truy cập nhật ký Mạng" #: ../gnomeblog.schemas.in.h:2 msgid "Protocol to use in accessing the blog" msgstr "Giao thức cần dùng khi truy cập nhật ký Mạng" #: ../gnomeblog.schemas.in.h:3 msgid "Suffix to attach to the base URL (e.g. \"xmlrpc.cgi\")" msgstr "Hấu tố cần đính kèm địa chỉ Mạng cơ bản (v.d. « xmlrpc.cgi »)" #: ../gnomeblog.schemas.in.h:4 msgid "The application's preferences have been initialized" msgstr "Sở thích của ứng dụng đã được khởi động rồi." #: ../gnomeblog.schemas.in.h:5 msgid "The id or name of the particular blog to use on the XML-RPC server" msgstr "ID hoặc tên của nhật ký dứt khoát cần dùng trên máy phục vụ XML-RPC." #: ../gnomeblog.schemas.in.h:6 msgid "URL to the bloggerAPI compatible XML-RPC server" msgstr "Địa chỉ Mạng tới máy phục vụ XML-RPC tương thích với bloggerAPI" #: ../gnomeblog.schemas.in.h:7 msgid "Username to use in accessing the blog" msgstr "Tên người dùng cần dùng khi truy cập nhật ký Mạng" #: ../hig_alert.py:15 #, python-format msgid "URL '%s' may not be a valid bloggerAPI. XML-RPC Server reported: %s." msgstr "Địa chỉ Mạng « %s » có lẽ không phải là một bloggerAPI hợp lệ. Máy phục vụ XML-RPC thông báo: %s" #: ../hig_alert.py:17 #, python-format msgid "" "Unknown username %s or password trying to post blog entry to XML-RPC server %" "s." msgstr "Gặp tên người dùng %s hoặc mật khẩu lạ đang cố gởi bài nhật ký Mạng vào máy phục vụ XML-RPC %s." #: ../hig_alert.py:19 #, python-format msgid "" "Could not post to blog '%s' at bloggerAPI XML-RPC server '%s'. Server " "reported: %s." msgstr "Không gởi được bài vào nhật ký Mạng « %s » tại máy phục vụ XML-RPC bloggerAPI « %s ». Máy phục vụ thông báo: %s" #: ../hig_alert.py:21 #, python-format msgid "" "The bloggerAPI server (%s) reported an error I don't understand: '%s, %s'. \n" "\n" "Please email this error message to seth@gnome.org so I can address it." msgstr "Máy phục vụ bloggerAPI (%s) đã thông báo một lỗi khó hiểu: « %s %s ».\n" "\n" "Vui lòng gởi thông điệp này cho thì lập trình viên có thể sửa lỗi." #: ../protocols/advogato.py:27 ../protocols/advogato.py:30 #: ../protocols/advogato.py:42 ../protocols/bloggerAPI.py:61 #: ../protocols/bloggerAPI.py:89 ../protocols/livejournal.py:35 #: ../protocols/livejournal.py:64 msgid "Could not post Blog entry" msgstr "Không gởi được bài nhật ký Mạng." #: ../protocols/advogato.py:27 msgid "Your username is invalid. Please double-check the preferences." msgstr "Tên người dùng bạn không hợp lệ. Hãy kiểm tra lại sở thích." #: ../protocols/advogato.py:30 ../protocols/livejournal.py:35 msgid "" "Your username or password is invalid. Please double-check the preferences." msgstr "Tên người dùng hoặc mật khẩu bạn không hợp lệ. Hãy kiểm tra lại sở thích." #: ../protocols/advogato.py:39 ../protocols/bloggerAPI.py:86 #: ../protocols/livejournal.py:61 msgid "Could not post blog entry" msgstr "Không gởi được bài nhật ký Mạng." #: ../protocols/advogato.py:42 ../protocols/bloggerAPI.py:38 #: ../protocols/bloggerAPI.py:89 #, python-format msgid "" "URL '%s' does not seem to be a valid bloggerAPI XML-RPC server. Web server " "reported: %s." msgstr "Hình như địa chỉ Mạng « %s » không phải là máy phục vụ XML-RPC bloggerAPI hợp lệ. Máy phục vụ Mạng thông báo: %s." #: ../protocols/bloggerAPI.py:35 ../protocols/bloggerAPI.py:38 msgid "Could not get list of blogs" msgstr "Không gọi được danh sách các nhật ký Mạng." #: ../protocols/bloggerAPI.py:61 msgid "" "No XML-RPC server URL to post blog entries to is set, or the value could not " "be retrieved from GConf. Your entry will remain in the blogger window." msgstr "Chưa có địa chỉ Mạng của máy phục vụ XML-RPC để gởi bài nhật ký vào nó, hoặc không thể gọi giá trị đó từ GConf. Bài bạn sẽ còn lại trong cửa sổ nhật ký Mạng." #: ../protocols/livejournal.py:64 #, python-format msgid "" "URL '%s' does not seem to be a valid LiveJournal XML-RPC server. Web server " "reported: %s." msgstr "Hình như địa chỉ Mạng « %s » không phải là máy phục vụ XML-RPC LiveJournal hợp lệ. Máy phục vụ Mạng thông báo: %s." #: ../rich_entry.py:144 ../rich_entry.py:152 msgid "Could not load dragged in image" msgstr "Không tải được ảnh đã kéo vào." #: ../rich_entry.py:145 ../rich_entry.py:153 #, python-format msgid "Error loading %s was: %s" msgstr "Gặp lỗi khi tải %s: %s" #: ../rich_entry.py:210 msgid "Add _Link..." msgstr "Thêm _liên kết..." #: ../rich_entry.py:215 msgid "Add Link" msgstr "Thêm liên kết" #: ../rich_entry.py:218 msgid "_Add Link" msgstr "Th_êm liên kết" #: ../rich_entry.py:226 msgid "Text:" msgstr "Văn bản:" #: ../rich_entry.py:229 msgid "URL:" msgstr "Địa chỉ Mạng:" gnome-blog-0.9.1/po/en_CA.po0000664000076500007650000001743710216140243012434 00000000000000# English/Canada translation of gnome-blog. # Copyright (C) 2004 Adam Weinberger and the GNOME Foundation # This file is distributed under the same licence as the gnome-blog package. # Adam Weinberger , 2004. # # msgid "" msgstr "" "Project-Id-Version: gnome-blog\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-01-12 03:10-0500\n" "PO-Revision-Date: 2005-01-03 13:01-0400\n" "Last-Translator: Adam Weinberger \n" "Language-Team: Canadian English \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: GNOME_BlogApplet.server.in.in.h:1 msgid "Accessories" msgstr "Accessories" #: GNOME_BlogApplet.server.in.in.h:2 gnome-blog.desktop.in.h:1 msgid "Blog Entry Poster" msgstr "Blog Entry Poster" #: GNOME_BlogApplet.server.in.in.h:3 msgid "Post entries to a web log" msgstr "Post entries to a web log" #: GNOME_BlogApplet.xml.h:1 msgid "_About..." msgstr "_About..." #: GNOME_BlogApplet.xml.h:2 msgid "_Preferences..." msgstr "_Preferences..." #: blog_applet.py:35 msgid "About" msgstr "About" #: blog_applet.py:38 msgid "Blog" msgstr "Blog" #: blog_applet.py:73 msgid "A GNOME Web Blogging Applet" msgstr "A GNOME Web Blogging Applet" #: blog_applet.py:108 #, python-format msgid "Create a blog entry for %s at %s" msgstr "Create a blog entry for %s at %s" #: blog_poster.py:44 msgid "_Post Entry" msgstr "_Post Entry" #: blog_poster.py:69 msgid "Preferences..." msgstr "Preferences..." #: blog_poster.py:81 msgid "Title:" msgstr "Title:" #: blog_poster.py:116 msgid "Couldn't upload images" msgstr "Couldn't upload images" #: blog_poster.py:116 msgid "The blog protocol in use does not support uploading images" msgstr "The blog protocol in use does not support uploading images" #: blog_poster.py:163 msgid "Blog Entry is Blank" msgstr "Blog Entry is Blank" #: blog_poster.py:163 msgid "" "No text was entered in the blog entry box. Please enter some text and try " "again" msgstr "" "No text was entered in the blog entry box. Please enter some text and try " "again" #: blogger_prefs.py:19 msgid "Blogger Preferences" msgstr "Blogger Preferences" #: blogger_prefs.py:38 msgid "Self-Run MovableType" msgstr "Self-Run MovableType" #: blogger_prefs.py:39 msgid "Self-Run Pyblosxom" msgstr "Self-Run Pyblosxom" #: blogger_prefs.py:40 msgid "Self-Run WordPress" msgstr "Self-Run WordPress" #: blogger_prefs.py:41 msgid "Self-Run Other" msgstr "Self-Run Other" #: blogger_prefs.py:45 msgid "Blog Type:" msgstr "Blog Type:" #: blogger_prefs.py:55 msgid "Blog Protocol:" msgstr "Blog Protocol:" #: blogger_prefs.py:59 msgid "Blog Base URL:" msgstr "Blog Base URL:" #: blogger_prefs.py:61 msgid "Blog Name:" msgstr "Blog Name:" #: blogger_prefs.py:63 msgid "Lookup Blogs" msgstr "Lookup Blogs" #: blogger_prefs.py:73 msgid "Username:" msgstr "Username:" #: blogger_prefs.py:74 msgid "Password:" msgstr "Password:" #: blogger_prefs.py:116 blogger_prefs.py:136 blogger_prefs.py:141 #: blogger_prefs.py:147 msgid "XML-RPC URL:" msgstr "XML-RPC URL:" #: blogger_prefs.py:121 blogger_prefs.py:126 blogger_prefs.py:131 msgid "Base Blog URL:" msgstr "Base Blog URL:" #: blogger_prefs.py:155 msgid "Unknown blog type" msgstr "Unknown blog type" #: blogger_prefs.py:155 msgid "The detected blog type is not among the list of supported blogs" msgstr "The detected blog type is not among the list of supported blogs" #: gnome-blog.desktop.in.h:2 msgid "Post an entry to a web log" msgstr "Post an entry to a web log" #: gnomeblog.schemas.in.h:1 msgid "Password to use in accessing the blog" msgstr "Password to use in accessing the blog" #: gnomeblog.schemas.in.h:2 msgid "Protocol to use in accessing the blog" msgstr "Protocol to use in accessing the blog" #: gnomeblog.schemas.in.h:3 msgid "Suffix to attach to the base URL (e.g. \"xmlrpc.cgi\")" msgstr "Suffix to attach to the base URL (e.g. \"xmlrpc.cgi\")" #: gnomeblog.schemas.in.h:4 msgid "The application's preferences have been initialized" msgstr "The application's preferences have been initialized" #: gnomeblog.schemas.in.h:5 msgid "The id or name of the particular blog to use on the XML-RPC server" msgstr "The id or name of the particular blog to use on the XML-RPC server" #: gnomeblog.schemas.in.h:6 msgid "URL to the bloggerAPI compatible XML-RPC server" msgstr "URL to the bloggerAPI compatible XML-RPC server" #: gnomeblog.schemas.in.h:7 msgid "Username to use in accessing the blog" msgstr "Username to use in accessing the blog" #: hig_alert.py:13 #, python-format msgid "URL '%s' may not be a valid bloggerAPI. XML-RPC Server reported: %s." msgstr "URL '%s' may not be a valid bloggerAPI. XML-RPC Server reported: %s." #: hig_alert.py:15 #, python-format msgid "" "Unknown username %s or password trying to post blog entry to XML-RPC server %" "s." msgstr "" "Unknown username %s or password trying to post blog entry to XML-RPC server %" "s." #: hig_alert.py:17 #, python-format msgid "" "Could not post to blog '%s' at bloggerAPI XML-RPC server '%s'. Server " "reported: %s." msgstr "" "Could not post to blog '%s' at bloggerAPI XML-RPC server '%s'. Server " "reported: %s." #: hig_alert.py:19 #, python-format msgid "" "The bloggerAPI server (%s) reported an error I don't understand: '%s, %s'. \n" "\n" "Please email this error message to seth@gnome.org so I can address it." msgstr "" "The bloggerAPI server (%s) reported an error I don't understand: '%s, %s'. \n" "\n" "Please email this error message to seth@gnome.org so I can address it." #: protocols/advogato.py:27 protocols/advogato.py:30 protocols/advogato.py:42 #: protocols/bloggerAPI.py:62 protocols/bloggerAPI.py:90 #: protocols/livejournal.py:35 protocols/livejournal.py:64 msgid "Could not post Blog entry" msgstr "Could not post Blog entry" #: protocols/advogato.py:27 msgid "Your username is invalid. Please double-check the preferences." msgstr "Your username is invalid. Please double-check the preferences." #: protocols/advogato.py:30 protocols/livejournal.py:35 msgid "" "Your username or password is invalid. Please double-check the preferences." msgstr "" "Your username or password is invalid. Please double-check the preferences." #: protocols/advogato.py:39 protocols/bloggerAPI.py:87 #: protocols/livejournal.py:61 msgid "Could not post blog entry" msgstr "Could not post blog entry" #: protocols/advogato.py:42 protocols/bloggerAPI.py:39 #: protocols/bloggerAPI.py:90 #, python-format msgid "" "URL '%s' does not seem to be a valid bloggerAPI XML-RPC server. Web server " "reported: %s." msgstr "" "URL '%s' does not seem to be a valid bloggerAPI XML-RPC server. Web server " "reported: %s." #: protocols/bloggerAPI.py:36 protocols/bloggerAPI.py:39 msgid "Could not get list of blogs" msgstr "Could not get list of blogs" #: protocols/bloggerAPI.py:62 msgid "" "No XML-RPC server URL to post blog entries to is set, or the value could not " "be retrieved from GConf. Your entry will remain in the blogger window." msgstr "" "No XML-RPC server URL to post blog entries to is set, or the value could not " "be retrieved from GConf. Your entry will remain in the blogger window." #: protocols/livejournal.py:64 #, python-format msgid "" "URL '%s' does not seem to be a valid LiveJournal XML-RPC server. Web server " "reported: %s." msgstr "" "URL '%s' does not seem to be a valid LiveJournal XML-RPC server. Web server " "reported: %s." #: rich_entry.py:144 rich_entry.py:152 msgid "Could not load dragged in image" msgstr "Could not load dragged-in image" #: rich_entry.py:145 rich_entry.py:153 #, python-format msgid "Error loading %s was: %s" msgstr "Error loading %s was: %s" #: rich_entry.py:210 msgid "Add _Link..." msgstr "Add _Link..." #: rich_entry.py:215 msgid "Add Link" msgstr "Add Link" #: rich_entry.py:216 msgid "_Add Link" msgstr "_Add Link" #: rich_entry.py:224 msgid "Text:" msgstr "Text:" #: rich_entry.py:227 msgid "URL:" msgstr "URL:" gnome-blog-0.9.1/po/en_GB.po0000664000076500007650000001727710203756256012460 00000000000000# English (British) translation. # Copyright (C) 2004 THE gnome-blog'S COPYRIGHT HOLDER # This file is distributed under the same license as the gnome-blog package. # Gareth Owen , 2004. # msgid "" msgstr "" "Project-Id-Version: gnome-blog\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-02-13 23:09+0000\n" "PO-Revision-Date: 2005-02-13 23:09+0100\n" "Last-Translator: David Lodge \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: GNOME_BlogApplet.server.in.in.h:1 msgid "Accessories" msgstr "Accessories" #: GNOME_BlogApplet.server.in.in.h:2 #: gnome-blog.desktop.in.h:1 msgid "Blog Entry Poster" msgstr "Blog Entry Poster" #: GNOME_BlogApplet.server.in.in.h:3 msgid "Post entries to a web log" msgstr "Post entries to a web log" #: GNOME_BlogApplet.xml.h:1 msgid "_About..." msgstr "_About..." #: GNOME_BlogApplet.xml.h:2 msgid "_Preferences..." msgstr "_Preferences..." #: blog_applet.py:35 msgid "About" msgstr "About" #: blog_applet.py:38 msgid "Blog" msgstr "Blog" #: blog_applet.py:73 msgid "A GNOME Web Blogging Applet" msgstr "A GNOME Web Blogging Applet" #: blog_applet.py:108 #, python-format msgid "Create a blog entry for %s at %s" msgstr "Create a blog entry for %s at %s" #: blog_poster.py:44 msgid "_Post Entry" msgstr "_Post Entry" #: blog_poster.py:69 msgid "Preferences..." msgstr "Preferences..." #: blog_poster.py:81 msgid "Title:" msgstr "Title:" #: blog_poster.py:116 msgid "Couldn't upload images" msgstr "Couldn't upload images" #: blog_poster.py:116 msgid "The blog protocol in use does not support uploading images" msgstr "The blog protocol in use does not support uploading images" #: blog_poster.py:163 msgid "Blog Entry is Blank" msgstr "Blog Entry is Blank" #: blog_poster.py:163 msgid "No text was entered in the blog entry box. Please enter some text and try again" msgstr "No text was entered in the blog entry box. Please enter some text and try again" #: blogger_prefs.py:19 msgid "Blogger Preferences" msgstr "Blogger Preferences" #: blogger_prefs.py:38 msgid "Self-Run MovableType" msgstr "Self-Run MovableType" #: blogger_prefs.py:39 msgid "Self-Run Pyblosxom" msgstr "Self-Run Pyblosxom" #: blogger_prefs.py:40 msgid "Self-Run WordPress" msgstr "Self-Run WordPress" #: blogger_prefs.py:41 msgid "Self-Run Other" msgstr "Self-Run Other" #: blogger_prefs.py:45 msgid "Blog Type:" msgstr "Blog Type:" #: blogger_prefs.py:55 msgid "Blog Protocol:" msgstr "Blog Protocol:" #: blogger_prefs.py:59 msgid "Blog Base URL:" msgstr "Blog Base URL:" #: blogger_prefs.py:61 msgid "Blog Name:" msgstr "Blog Name:" #: blogger_prefs.py:63 msgid "Lookup Blogs" msgstr "Lookup Blogs" #: blogger_prefs.py:73 msgid "Username:" msgstr "Username:" #: blogger_prefs.py:74 msgid "Password:" msgstr "Password:" #: blogger_prefs.py:116 #: blogger_prefs.py:136 #: blogger_prefs.py:141 #: blogger_prefs.py:147 msgid "XML-RPC URL:" msgstr "XML-RPC URL:" #: blogger_prefs.py:121 #: blogger_prefs.py:126 #: blogger_prefs.py:131 msgid "Base Blog URL:" msgstr "Base Blog URL:" #: blogger_prefs.py:155 msgid "Unknown blog type" msgstr "Unknown blog type" #: blogger_prefs.py:155 msgid "The detected blog type is not among the list of supported blogs" msgstr "The detected blog type is not among the list of supported blogs" #: gnome-blog.desktop.in.h:2 msgid "Post an entry to a web log" msgstr "Post an entry to a web log" #: gnomeblog.schemas.in.h:1 msgid "Password to use in accessing the blog" msgstr "Password to use in accessing the blog" #: gnomeblog.schemas.in.h:2 msgid "Protocol to use in accessing the blog" msgstr "Protocol to use in accessing the blog" #: gnomeblog.schemas.in.h:3 msgid "Suffix to attach to the base URL (e.g. \"xmlrpc.cgi\")" msgstr "Suffix to attach to the base URL (e.g. \"xmlrpc.cgi\")" #: gnomeblog.schemas.in.h:4 msgid "The application's preferences have been initialized" msgstr "The application's preferences have been initialised" #: gnomeblog.schemas.in.h:5 msgid "The id or name of the particular blog to use on the XML-RPC server" msgstr "The id or name of the particular blog to use on the XML-RPC server" #: gnomeblog.schemas.in.h:6 msgid "URL to the bloggerAPI compatible XML-RPC server" msgstr "URL to the bloggerAPI compatible XML-RPC server" #: gnomeblog.schemas.in.h:7 msgid "Username to use in accessing the blog" msgstr "Username to use in accessing the blog" #: hig_alert.py:13 #, python-format msgid "URL '%s' may not be a valid bloggerAPI. XML-RPC Server reported: %s." msgstr "URL '%s' may not be a valid bloggerAPI. XML-RPC Server reported: %s." #: hig_alert.py:15 #, python-format msgid "Unknown username %s or password trying to post blog entry to XML-RPC server %s." msgstr "Unknown username %s or password trying to post blog entry to XML-RPC server %s." #: hig_alert.py:17 #, python-format msgid "Could not post to blog '%s' at bloggerAPI XML-RPC server '%s'. Server reported: %s." msgstr "Could not post to blog '%s' at bloggerAPI XML-RPC server '%s'. Server reported: %s." #: hig_alert.py:19 #, python-format msgid "" "The bloggerAPI server (%s) reported an error I don't understand: '%s, %s'. \n" "\n" "Please email this error message to seth@gnome.org so I can address it." msgstr "" "The bloggerAPI server (%s) reported an error I don't understand: '%s, %s'. \n" "\n" "Please email this error message to seth@gnome.org so I can address it." #: protocols/advogato.py:27 #: protocols/advogato.py:30 #: protocols/advogato.py:42 #: protocols/bloggerAPI.py:62 #: protocols/bloggerAPI.py:90 #: protocols/livejournal.py:35 #: protocols/livejournal.py:64 msgid "Could not post Blog entry" msgstr "Could not post Blog entry" #: protocols/advogato.py:27 msgid "Your username is invalid. Please double-check the preferences." msgstr "Your username is invalid. Please double-check the preferences." #: protocols/advogato.py:30 #: protocols/livejournal.py:35 msgid "Your username or password is invalid. Please double-check the preferences." msgstr "Your username or password is invalid. Please double-check the preferences." #: protocols/advogato.py:39 #: protocols/bloggerAPI.py:87 #: protocols/livejournal.py:61 msgid "Could not post blog entry" msgstr "Could not post blog entry" #: protocols/advogato.py:42 #: protocols/bloggerAPI.py:39 #: protocols/bloggerAPI.py:90 #, python-format msgid "URL '%s' does not seem to be a valid bloggerAPI XML-RPC server. Web server reported: %s." msgstr "URL '%s' does not seem to be a valid bloggerAPI XML-RPC server. Web server reported: %s." #: protocols/bloggerAPI.py:36 #: protocols/bloggerAPI.py:39 msgid "Could not get list of blogs" msgstr "Could not get list of blogs" #: protocols/bloggerAPI.py:62 msgid "No XML-RPC server URL to post blog entries to is set, or the value could not be retrieved from GConf. Your entry will remain in the blogger window." msgstr "No XML-RPC server URL to post blog entries to is set, or the value could not be retrieved from GConf. Your entry will remain in the blogger window." #: protocols/livejournal.py:64 #, python-format msgid "URL '%s' does not seem to be a valid LiveJournal XML-RPC server. Web server reported: %s." msgstr "URL '%s' does not seem to be a valid LiveJournal XML-RPC server. Web server reported: %s." #: rich_entry.py:144 #: rich_entry.py:152 msgid "Could not load dragged in image" msgstr "Could not load dragged in image" #: rich_entry.py:145 #: rich_entry.py:153 #, python-format msgid "Error loading %s was: %s" msgstr "Error loading %s was: %s" #: rich_entry.py:210 msgid "Add _Link..." msgstr "Add _Link..." #: rich_entry.py:215 msgid "Add Link" msgstr "Add Link" #: rich_entry.py:216 msgid "_Add Link" msgstr "_Add Link" #: rich_entry.py:224 msgid "Text:" msgstr "Text:" #: rich_entry.py:227 msgid "URL:" msgstr "URL:" gnome-blog-0.9.1/po/POTFILES.in0000664000076500007650000000055610256502710012703 00000000000000# List of source files containing translatable strings. # Please keep this file sorted alphabetically. GNOME_BlogApplet.server.in.in GNOME_BlogApplet.xml blog_applet.py blog_poster.py blogger_prefs.py gnome-blog.desktop.in gnomeblog.schemas.in hig_alert.py protocols/advogato.py protocols/bloggerAPI.py protocols/livejournal.py protocols/MetaWeblog.py rich_entry.py gnome-blog-0.9.1/po/sr@Latn.po0000664000076500007650000002041310171157777013042 00000000000000# Serbian translation of gnome-blog # Courtesy of Prevod.org team (http://prevod.org/) -- 2003, 2004. # # This file is distributed under the same license as the gnome-blog package. # # Maintainer: Danilo Šegan # msgid "" msgstr "" "Project-Id-Version: gnome-blog\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-01-12 03:10-0500\n" "PO-Revision-Date: 2004-03-06 03:28+0100\n" "Last-Translator: Danilo Šegan \n" "Language-Team: Serbian (sr) \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: GNOME_BlogApplet.server.in.in.h:1 msgid "Accessories" msgstr "Dopunski programi" #: GNOME_BlogApplet.server.in.in.h:2 gnome-blog.desktop.in.h:1 msgid "Blog Entry Poster" msgstr "Slanje unosa u blogče" #: GNOME_BlogApplet.server.in.in.h:3 msgid "Post entries to a web log" msgstr "Pošalji unose u blogče" #: GNOME_BlogApplet.xml.h:1 msgid "_About..." msgstr "_O programu..." #: GNOME_BlogApplet.xml.h:2 msgid "_Preferences..." msgstr "_Postavke" #: blog_applet.py:35 msgid "About" msgstr "O programu" #: blog_applet.py:38 msgid "Blog" msgstr "Blogče" #: blog_applet.py:73 msgid "A GNOME Web Blogging Applet" msgstr "Programče za blogčenje iz Gnoma" #: blog_applet.py:108 #, python-format msgid "Create a blog entry for %s at %s" msgstr "Sastavi unos u blogče za korisnika „%s“ na %s" #: blog_poster.py:44 msgid "_Post Entry" msgstr "_Pošalji unos" #: blog_poster.py:69 msgid "Preferences..." msgstr "Postavke..." #: blog_poster.py:81 msgid "Title:" msgstr "Naslov:" #: blog_poster.py:116 msgid "Couldn't upload images" msgstr "Ne mogu da pošaljem slike" #: blog_poster.py:116 msgid "The blog protocol in use does not support uploading images" msgstr "Protokol za blogče koji se koristi ne podržava slanje slika" #: blog_poster.py:163 msgid "Blog Entry is Blank" msgstr "Unos u blogče je prazan" #: blog_poster.py:163 msgid "" "No text was entered in the blog entry box. Please enter some text and try " "again" msgstr "" "Tekst nije unet u polju za unos blogčeta. Molim unesite neki tekst i " "pokušajte ponovo" #: blogger_prefs.py:19 msgid "Blogger Preferences" msgstr "Postavke Blogger-a" #: blogger_prefs.py:38 msgid "Self-Run MovableType" msgstr "Lični MovableType" #: blogger_prefs.py:39 msgid "Self-Run Pyblosxom" msgstr "Lični Pyblosxom" #: blogger_prefs.py:40 #, fuzzy msgid "Self-Run WordPress" msgstr "Neki drugi lični" #: blogger_prefs.py:41 msgid "Self-Run Other" msgstr "Neki drugi lični" #: blogger_prefs.py:45 msgid "Blog Type:" msgstr "Vrsta blogčeta:" #: blogger_prefs.py:55 msgid "Blog Protocol:" msgstr "Protokol blogčeta:" #: blogger_prefs.py:59 msgid "Blog Base URL:" msgstr "Osnovna adresa blogčeta:" #: blogger_prefs.py:61 msgid "Blog Name:" msgstr "Ime blogčeta:" #: blogger_prefs.py:63 msgid "Lookup Blogs" msgstr "Pronađi blogčad" #: blogger_prefs.py:73 msgid "Username:" msgstr "Korisnik:" #: blogger_prefs.py:74 msgid "Password:" msgstr "Lozinka:" #: blogger_prefs.py:116 blogger_prefs.py:136 blogger_prefs.py:141 #: blogger_prefs.py:147 msgid "XML-RPC URL:" msgstr "XML-RPC adresa:" #: blogger_prefs.py:121 blogger_prefs.py:126 blogger_prefs.py:131 msgid "Base Blog URL:" msgstr "Osnovna adresa blogčeta:" #: blogger_prefs.py:155 msgid "Unknown blog type" msgstr "" #: blogger_prefs.py:155 msgid "The detected blog type is not among the list of supported blogs" msgstr "" #: gnome-blog.desktop.in.h:2 msgid "Post an entry to a web log" msgstr "Pošaljite unos u blogče" #: gnomeblog.schemas.in.h:1 msgid "Password to use in accessing the blog" msgstr "Lozinka kojom se pristupa blogčetu" #: gnomeblog.schemas.in.h:2 msgid "Protocol to use in accessing the blog" msgstr "Protokol kojim se pristupa blogčetu" #: gnomeblog.schemas.in.h:3 msgid "Suffix to attach to the base URL (e.g. \"xmlrpc.cgi\")" msgstr "Dodatak koji se kači na osnovnu adresu (npr. „xmlrpc.cgi“)" #: gnomeblog.schemas.in.h:4 msgid "The application's preferences have been initialized" msgstr "Učitane su postavke programa" #: gnomeblog.schemas.in.h:5 msgid "The id or name of the particular blog to use on the XML-RPC server" msgstr "" "Identifikator ili ime određenog blogčeta koje da koristi na XML-RPC serveru" #: gnomeblog.schemas.in.h:6 msgid "URL to the bloggerAPI compatible XML-RPC server" msgstr "Adresa za XML-RPC server saglasan sa bloggerAPI-jem" #: gnomeblog.schemas.in.h:7 msgid "Username to use in accessing the blog" msgstr "Korisničko ime za pristup blogčetu" #: hig_alert.py:13 #, python-format msgid "URL '%s' may not be a valid bloggerAPI. XML-RPC Server reported: %s." msgstr "" "Adresa „%s“ možda ne predstavlja ispravan bloggerAPI. XML-RPC server je " "prijavio: %s." #: hig_alert.py:15 #, python-format msgid "" "Unknown username %s or password trying to post blog entry to XML-RPC server %" "s." msgstr "" "Nepoznato korisničko ime „%s“ ili lozinka pri pokušaju slanja unosa u blogče " "preko XML-RPC servera %s." #: hig_alert.py:17 #, python-format msgid "" "Could not post to blog '%s' at bloggerAPI XML-RPC server '%s'. Server " "reported: %s." msgstr "" "Ne mogu da pošaljem u blogče „%s“ pomoću bloggerAPI XML-RPC servera „%s“. " "Server je prijavio: %s." #: hig_alert.py:19 #, python-format msgid "" "The bloggerAPI server (%s) reported an error I don't understand: '%s, %s'. \n" "\n" "Please email this error message to seth@gnome.org so I can address it." msgstr "" "Server sa bloggerAPI-jem (%s) je prijavio grešku koju ne razumem: „%s, %" "s“. \n" "\n" "Molim pošaljite e-poštom ovu poruku o grešci na seth@gnome.org kako bi mogao " "da je obradim." #: protocols/advogato.py:27 protocols/advogato.py:30 protocols/advogato.py:42 #: protocols/bloggerAPI.py:62 protocols/bloggerAPI.py:90 #: protocols/livejournal.py:35 protocols/livejournal.py:64 msgid "Could not post Blog entry" msgstr "Ne mogu da pošaljem unos u blogče" #: protocols/advogato.py:27 msgid "Your username is invalid. Please double-check the preferences." msgstr "Vaše korisničko ime je neispravno. Proverite postavke." #: protocols/advogato.py:30 protocols/livejournal.py:35 msgid "" "Your username or password is invalid. Please double-check the preferences." msgstr "Vaše korisničko ime ili lozinka su neispravni. Proverite postavke." #: protocols/advogato.py:39 protocols/bloggerAPI.py:87 #: protocols/livejournal.py:61 msgid "Could not post blog entry" msgstr "Ne mogu da pošaljem unos u blogče" #: protocols/advogato.py:42 protocols/bloggerAPI.py:39 #: protocols/bloggerAPI.py:90 #, python-format msgid "" "URL '%s' does not seem to be a valid bloggerAPI XML-RPC server. Web server " "reported: %s." msgstr "" "Adresa „%s“ možda ne predstavlja ispravan bloggerAPI. XML-RPC server je " "prijavio: %s." #: protocols/bloggerAPI.py:36 protocols/bloggerAPI.py:39 msgid "Could not get list of blogs" msgstr "Ne mogu da saznam spisak blogčadi" #: protocols/bloggerAPI.py:62 msgid "" "No XML-RPC server URL to post blog entries to is set, or the value could not " "be retrieved from GConf. Your entry will remain in the blogger window." msgstr "" "Nije postavljena adresa XML-RPC servera za slanje u blogče, ili se ne može " "preuzeti vrednost iz GKonfa. Vaš unos će ostati u prozoru blogčetara." #: protocols/livejournal.py:64 #, python-format msgid "" "URL '%s' does not seem to be a valid LiveJournal XML-RPC server. Web server " "reported: %s." msgstr "" "Adresa „%s“ izgleda ne predstavlja ispravan LajvDŽurnal (LiveJournal) XML-" "RPC server. Veb server je prijavio: %s." #: rich_entry.py:144 rich_entry.py:152 msgid "Could not load dragged in image" msgstr "Ne mogu da učitam prevučenu sliku" #: rich_entry.py:145 rich_entry.py:153 #, python-format msgid "Error loading %s was: %s" msgstr "Greška pri učitavanju %s je bila: %s" #: rich_entry.py:210 msgid "Add _Link..." msgstr "Dodaj _vezu..." #: rich_entry.py:215 msgid "Add Link" msgstr "Dodaj vezu" #: rich_entry.py:216 msgid "_Add Link" msgstr "Dodaj _vezu" #: rich_entry.py:224 msgid "Text:" msgstr "Tekst:" #: rich_entry.py:227 msgid "URL:" msgstr "Adresa:" #~ msgid "Post blog entries to Blogger.com" #~ msgstr "Pošalji unos u blogče na Blogger.com" #~ msgid "bloggerAPI" #~ msgstr "bloggerAPI" # bug: hard to translate #~ msgid " at " #~ msgstr " na " #~ msgid "Blogging Tool" #~ msgstr "Alat za blogčetanje" gnome-blog-0.9.1/po/pt_BR.po0000664000076500007650000002134710252172302012471 00000000000000# translation of gnome-blog.HEAD.po to Português/Brasil # gnome-blog's Portuguese translation. # Copyright (C) 2003 gnome-blog # This file is distributed under the same license as the gnome-blog package. # Duarte Loreto , 2003. # Afonso Celso Medina , 2004. # msgid "" msgstr "" "Project-Id-Version: gnome-blog.HEAD\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-06-08 19:33+0000\n" "PO-Revision-Date: 2005-06-09 13:45-0300\n" "Last-Translator: Afonso Celso Medina \n" "Language-Team: Portuguese/Brazil \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit" #: ../GNOME_BlogApplet.server.in.in.h:1 msgid "Accessories" msgstr "Acessórios" #: ../GNOME_BlogApplet.server.in.in.h:2 ../gnome-blog.desktop.in.h:1 msgid "Blog Entry Poster" msgstr "Publicação de Postagens para o Blog" #: ../GNOME_BlogApplet.server.in.in.h:3 msgid "Post entries to a web log" msgstr "Publicar postagens em um blog da web" #: ../GNOME_BlogApplet.xml.h:1 msgid "_About..." msgstr "_Sobre..." #: ../GNOME_BlogApplet.xml.h:2 msgid "_Preferences..." msgstr "_Preferências..." #: ../blog_applet.py:36 msgid "About" msgstr "Sobre" #: ../blog_applet.py:39 msgid "Blog" msgstr "Blog" #: ../blog_applet.py:76 msgid "A GNOME Web Blogging Applet" msgstr "Um Mini Aplicativo para Blogs da Web do GNOME" #: ../blog_applet.py:111 #, python-format msgid "Create a blog entry for %s at %s" msgstr "Cria uma postagem de blog para %s em %s" #: ../blog_poster.py:44 msgid "_Post Entry" msgstr "_Publicar Postagem" #: ../blog_poster.py:69 msgid "Preferences..." msgstr "Preferências..." #: ../blog_poster.py:81 msgid "Title:" msgstr "Título:" #: ../blog_poster.py:116 msgid "Couldn't upload images" msgstr "Impossível transferir imagens" #: ../blog_poster.py:116 msgid "The blog protocol in use does not support uploading images" msgstr "O protocolo utilizado pelo blog não suporta a transferência de imagens" #: ../blog_poster.py:163 msgid "Blog Entry is Blank" msgstr "A Postagem do Blog está Vazia" #: ../blog_poster.py:163 msgid "" "No text was entered in the blog entry box. Please enter some text and try " "again" msgstr "" "Nenhum texto foi entrado na caixa de postagens do blog. Por favor, entre com " "algum texto e tente novamente" #: ../blogger_prefs.py:19 msgid "Blogger Preferences" msgstr "Preferências do Blogger" #: ../blogger_prefs.py:39 msgid "Self-Run MovableType" msgstr "MovableType Auto-Executável" #: ../blogger_prefs.py:40 msgid "Self-Run Pyblosxom" msgstr "Pybloxsom Auto-Executável" #: ../blogger_prefs.py:41 msgid "Self-Run WordPress" msgstr "WordPress Auto-Executável" #: ../blogger_prefs.py:42 msgid "Self-Run Other" msgstr "Outros Auto-Executáveis" #: ../blogger_prefs.py:46 msgid "Blog Type:" msgstr "Tipo de Blog:" #: ../blogger_prefs.py:56 msgid "Blog Protocol:" msgstr "Protocolo do Blog:" #: ../blogger_prefs.py:60 msgid "Blog Base URL:" msgstr "URL Base do Blog:" #: ../blogger_prefs.py:62 msgid "Blog Name:" msgstr "Nome do Blog:" #: ../blogger_prefs.py:64 msgid "Lookup Blogs" msgstr "Consultar Blogs" #: ../blogger_prefs.py:74 msgid "Username:" msgstr "Nome do usuário:" #: ../blogger_prefs.py:75 msgid "Password:" msgstr "Senha:" #: ../blogger_prefs.py:117 ../blogger_prefs.py:137 ../blogger_prefs.py:142 #: ../blogger_prefs.py:147 ../blogger_prefs.py:153 msgid "XML-RPC URL:" msgstr "URL XML-RPC:" #: ../blogger_prefs.py:122 ../blogger_prefs.py:127 ../blogger_prefs.py:132 msgid "Base Blog URL:" msgstr "URL Base do Blog:" #: ../blogger_prefs.py:161 msgid "Unknown blog type" msgstr "Tipo de blog desconhecido" #: ../blogger_prefs.py:161 msgid "The detected blog type is not among the list of supported blogs" msgstr "O tipo de blog detectado não está na lista de blogs suportados pelo gnome-blog" #: ../gnome-blog.desktop.in.h:2 msgid "Post an entry to a web log" msgstr "Publicar uma postagem em um diário da web" #: ../gnomeblog.schemas.in.h:1 msgid "Password to use in accessing the blog" msgstr "Senha a ser utilizada ao acessar o blog" #: ../gnomeblog.schemas.in.h:2 msgid "Protocol to use in accessing the blog" msgstr "Protocolo a ser utilizado ao acessar o blog" #: ../gnomeblog.schemas.in.h:3 msgid "Suffix to attach to the base URL (e.g. \"xmlrpc.cgi\")" msgstr "Sufixo a ser adicionado à URL base (por exemplo: \"xmlrpc.cgi\")" #: ../gnomeblog.schemas.in.h:4 msgid "The application's preferences have been initialized" msgstr "As preferências da aplicação foram inicializadas" #: ../gnomeblog.schemas.in.h:5 msgid "The id or name of the particular blog to use on the XML-RPC server" msgstr "O id ou nome do blog específico a ser utilizado no servidor XML-RPC" #: ../gnomeblog.schemas.in.h:6 msgid "URL to the bloggerAPI compatible XML-RPC server" msgstr "URL para o servidor XML-RPC compatível com bloggerAPI" #: ../gnomeblog.schemas.in.h:7 msgid "Username to use in accessing the blog" msgstr "Nome do usuário utilizado para acessar o blog" #: ../hig_alert.py:15 #, python-format msgid "URL '%s' may not be a valid bloggerAPI. XML-RPC Server reported: %s." msgstr "" "A URL '%s' pode não ser uma bloggerAPI válida. O servidor XML-RPC relatou: %" "s." #: ../hig_alert.py:17 #, python-format msgid "" "Unknown username %s or password trying to post blog entry to XML-RPC server %" "s." msgstr "" "Nome de usuário %s desconhecido ou senha inválida ao tentar colocar uma " "postagem no blog do servidor XML-RPC %s." #: ../hig_alert.py:19 #, python-format msgid "" "Could not post to blog '%s' at bloggerAPI XML-RPC server '%s'. Server " "reported: %s." msgstr "" "Não foi possível postar no blog '%s' no servidor bloggerAPI XML-RPC " "'%s'. O Servidor relatou: %s." #: ../hig_alert.py:21 #, python-format msgid "" "The bloggerAPI server (%s) reported an error I don't understand: '%s, %s'. \n" "\n" "Please email this error message to seth@gnome.org so I can address it." msgstr "" "O servidor bloggerAPI (%s) relatou um erro que não é compreensível: '%s, %" "s'. \n" "\n" "Por favor, envie esta mensagem de erro para seth@gnome.org para que ela " "possa ser analisada." #: ../protocols/advogato.py:27 ../protocols/advogato.py:30 #: ../protocols/advogato.py:42 ../protocols/bloggerAPI.py:61 #: ../protocols/bloggerAPI.py:89 ../protocols/livejournal.py:35 #: ../protocols/livejournal.py:64 msgid "Could not post Blog entry" msgstr "Impossível publicar a postagem no Blog" #: ../protocols/advogato.py:27 msgid "Your username is invalid. Please double-check the preferences." msgstr "Seu nome do usuário é inválido. Por favor, cheque novamente as preferências." #: ../protocols/advogato.py:30 ../protocols/livejournal.py:35 msgid "" "Your username or password is invalid. Please double-check the preferences." msgstr "" "O seu nome do usuário ou senha é inválido. Por favor, cheque as preferências." #: ../protocols/advogato.py:39 ../protocols/bloggerAPI.py:86 #: ../protocols/livejournal.py:61 msgid "Could not post blog entry" msgstr "Impossível publicar a postagem no blog" #: ../protocols/advogato.py:42 ../protocols/bloggerAPI.py:38 #: ../protocols/bloggerAPI.py:89 #, python-format msgid "" "URL '%s' does not seem to be a valid bloggerAPI XML-RPC server. Web server " "reported: %s." msgstr "" "A URL '%s' pode não ser uma bloggerAPI válida. O servidor XML-RPC relatou: %" "s." #: ../protocols/bloggerAPI.py:35 ../protocols/bloggerAPI.py:38 msgid "Could not get list of blogs" msgstr "Impossível obter a lista de blogs" #: ../protocols/bloggerAPI.py:61 msgid "" "No XML-RPC server URL to post blog entries to is set, or the value could not " "be retrieved from GConf. Your entry will remain in the blogger window." msgstr "" "Não existe nenhum URL com servidor XML-RPC para publicar postagens do blog, " "ou o valor não pode ser retornado a partir do GConf. A sua postagem irá permanecer " "na janela do blogger." #: ../protocols/livejournal.py:64 #, python-format msgid "" "URL '%s' does not seem to be a valid LiveJournal XML-RPC server. Web server " "reported: %s." msgstr "" "A URL '%s' não parece ser um servidor XML-RPC LiveJournal válido. O servidor " "web relatou: %s." #: ../rich_entry.py:144 ../rich_entry.py:152 msgid "Could not load dragged in image" msgstr "Impossível carregar a imagem arrastada" #: ../rich_entry.py:145 ../rich_entry.py:153 #, python-format msgid "Error loading %s was: %s" msgstr "Erro carregando %s foi: %s" #: ../rich_entry.py:210 msgid "Add _Link..." msgstr "Adicionar _Link..." #: ../rich_entry.py:215 msgid "Add Link" msgstr "Adiciona um Link" #: ../rich_entry.py:218 msgid "_Add Link" msgstr "_Adicionar Link" #: ../rich_entry.py:226 msgid "Text:" msgstr "Texto:" #: ../rich_entry.py:229 msgid "URL:" msgstr "URL:" #~ msgid "Blogging Tool" #~ msgstr "Ferramenta de Blogging" #~ msgid "bloggerAPI" #~ msgstr "bloggerAPI" gnome-blog-0.9.1/po/ChangeLog0000664000076500007650000003224610446065510012704 000000000000002006-06-15 Hendrik Richter * de.po: Updated German translation. 2006-04-16 Daniel Nylander * sv.po: Updated Swedish translation. 2006-01-07 Ilkka Tuohela * fi.po: Added Finnish translation. 2005-11-21 Ignacio Casal Quinteiro * gl.po: Updated Galician Translation by Pedro Silva. 2005-08-24 Pawan Chitrakar * ne.po: Added Nepali Translation 2005-08-15 Clytie Siddall * vi.po: Updated Vietnamese translation. 2005-08-02 Maxim Dziumanenko * uk.po: Updated Ukrainian translation. 2005-06-23 Chao-Hsiung Liao * zh_TW.po: Added Traditional Chinese translation. 2005-06-23 Abel Cheung * POTFILES.in: Add protocols/MetaWeblog.py 2005-06-09 Guilherme de S. Pastore * pt_BR.po: Updated Brazilian Portuguese translation by Afonso Celso Medina 2005-06-08 Alexander Shopov * bg.po: Updated Bulgarian translation by Vladimir Petkov 2005-05-13 Vincent van Adrighem * nl.po: Translation updated by Taco Witte. 2005-04-01 Steve Murphy * rw.po: Added Kinyarwanda translation. 2005-03-28 Josep Puigdemont i Casamajó * ca.po: Updated Catalan translation by Aleix Badia i Bosch. 2005-03-26 Francisco Javier F. Serrador * es.po: Updated Spanish translation. 2005-03-18 Gabor Kelemen * hu.po: Hungarian translation added. 2005-03-16 Adam Weinberger * en_CA.po: Updated Canadian English translation. 2005-01-16 Takeshi AIHANA * ja.po: Updated Japanese translation. 2005-01-12 Seth Nickell reviewed by: * az.po: * ca.po: * cs.po: * de.po: * en_CA.po: * en_GB.po: * es.po: * et.po: * fr.po: * hr.po: * it.po: * ja.po: * ms.po: * nb.po: * nl.po: * no.po: * pl.po: * pt.po: * pt_BR.po: * sq.po: * sr.po: * sr@Latn.po: * sv.po: * uk.po: 2005-01-12 Seth Nickell reviewed by: * az.po: * ca.po: * cs.po: * en_CA.po: * en_GB.po: * es.po: * et.po: * fr.po: * hr.po: * it.po: * ja.po: * ms.po: * nb.po: * nl.po: * no.po: * pl.po: * pt.po: * pt_BR.po: * sq.po: * sr.po: * sr@Latn.po: * sv.po: * uk.po: 2005-01-11 Frank Arnold * de.po: Updated German translation. 2005-01-04 Seth Nickell reviewed by: * az.po: * ca.po: * cs.po: * de.po: * en_CA.po: * en_GB.po: * es.po: * et.po: * fr.po: * hr.po: * it.po: * ja.po: * ms.po: * nb.po: * nl.po: * no.po: * pl.po: * pt.po: * pt_BR.po: * sq.po: * sr.po: * sr@Latn.po: * sv.po: * uk.po: 2005-01-03 Adam Weinberger * en_CA.po: Updated Canadian English translation. 2005-01-02 Miloslav Trmac * cs.po: Updated Czech translation. 2005-01-02 Seth Nickell reviewed by: * az.po: * ca.po: * cs.po: * de.po: * en_CA.po: * en_GB.po: * es.po: * et.po: * fr.po: * hr.po: * it.po: * ja.po: * ms.po: * nb.po: * nl.po: * no.po: * pl.po: * pt.po: * pt_BR.po: * sq.po: * sr.po: * sr@Latn.po: * sv.po: * uk.po: 2004-12-27 Miloslav Trmac * cs.po: Updated Czech translation. 2004-12-26 Adam Weinberger * en_CA.po: Updated Canadian English translation. 2004-12-25 Kjartan Maraas * nb.po: Add this. * POTFILES.in: Fix a bit. 2004-12-19 Vincent van Adrighem * nl.po: Translation updated by Reinout van Schouwen. 2004-09-28 Maxim Dziumanenko * uk.po: Added Ukrainian translation. 2004-09-03 Laurent Dhima * sq.po: Added Albanian translation. 2004-07-22 Alexander Shopov * bg.po: Added Bulgarian translation by Vladimir "Kaladan" Petkov 2004-06-01 Christian Neumair * de.po: Updated German translation by Stefan Gollnow . 2004-05-15 Funda Wang * zh_CN.po: Added Simplified Chinese translation. 2004-05-01 Adam Weinberger * en_CA.po: Added Canadian English translation. 2004-04-10 Evandro Fernandes Giovanini * pt_BR.po: Updated Brazilian Portuguese translation from Afonso Celso Medina . 2004-04-09 Gareth Owen * en_GB.po: Added British English translation 2004-04-08 Seth Nickell 0.8 * az.po: * ca.po: * de.po: * es.po: * et.po: * fr.po: * hr.po: * it.po: * ja.po: * ms.po: * nl.po: * no.po: * pl.po: * pt.po: * pt_BR.po: * sr.po: * sr@Latn.po: * sv.po: 2004-04-08 Takeshi AIHANA * ja.po: Updated Japanese translation. 2004-04-07 Priit Laes * et.po: Translation added. 2004-04-02 Francisco Javier F. Serrador * es.po: Updated Spanish translation. 2004-03-24 Jordi Mallach * ca.po: Updated Catalan translation by Aleix Badia i Bosch . 2004-03-20 Robert Sedak * hr.po: Updated Croatian translation. 2004-03-06 Danilo Šegan * sr.po, sr@Latn.po: Small fix in Serbian translation. 2004-02-05 Robert Sedak * hr.po: Updated Croatian translation. 2004-01-31 Francisco Javier F. Serrador * es.po: Updated Spanish translation. 2004-01-28 Miloslav Trmac * cs.po: Fixed Czech translation. 2004-01-25 Kjartan Maraas * no.po: Added Norwegian translation. 2004-01-24 Vincent van Adrighem * nl.po: Translation updated by Elros Cyriatan. 2004-01-21 Miloslav Trmac * cs.po: Updated Czech translation. 2004-01-17 Christophe Merlet * fr.po: Updated French translation. 2004-01-16 Vincent van Adrighem * nl.po: Translation updated by Elros Cyriatan. 2004-01-15 Danilo Šegan * sr.po, sr@Latn.po: Updated Serbian translation. * POTFILES.in: Added missing files. 2004-01-12 Miloslav Trmac * cs.po: Updated Czech translation. 2004-01-08 Jordi Mallach * ca.po: Updated Catalan translation. 2004-01-01 Francisco Javier F. Serrador * es.po: Updated Spanish translation. 2003-11-23 Hasbullah Bin Pit * ms.po: Updated Malay translation. 2003-11-21 Vincent van Adrighem * nl.po: Dutch translation updated by Elros Cyriatan. 2003-11-19 Duarte Loreto * pt.po: Updated Portuguese translation. 2003-11-18 Miloslav Trmac * cs.po: Updated Czech translation. 2003-11-17 Danilo Šegan * sr.po, sr@Latn.po: Updated Serbian translation. 2003-11-14 Danilo Šegan * sr.po, sr@Latn.po: Updated Serbian translation. 2003-11-14 Danilo Šegan * sr.po, sr@Latn.po: Updated Serbian translation. 2003-11-12 Jordi Mallach * ca.po: Updated Catalan translation. 2003-11-12 Duarte Loreto * pt.po: Updated Portuguese translation. 2003-11-10 Miloslav Trmac * cs.po: Updated Czech translation. 2003-11-07 Danilo Šegan * sr.po, sr@Latn.po: Updated Serbian translation. 2003-11-07 Vincent van Adrighem * nl.po: Dutch translation updated by Elros Cyriatan. 2003-11-06 Miloslav Trmac * cs.po: Updated Czech translation. 2003-11-05 Danilo Šegan * sr.po, sr@Latn.po: Updated Serbian translation. 2003-11-03 Hasbullah Bin Pit * ms.po: Added Malay translation. 2003-11-01 Vincent van Adrighem * nl.po: Dutch translation updated by Elros Cyriatan. 2003-10-31 Jordi Mallach * ca.po: Typo fixes by Xavier Conde Rueda . 2003-10-29 Jordi Mallach * ca.po: Added Catalan translation by Aleix Badia i Bosch . 2003-10-25 Metin Amiroff * az.po: Added Azerbaijani translation. 2003-10-25 Danilo Šegan * sr.po, sr@Latn.po: Updated Serbian translation. 2003-10-24 Vincent van Adrighem * nl.po: Dutch translation updated by Elros Cyriatan. 2003-10-24 Miloslav Trmac * cs.po: Updated Czech translation. 2003-10-24 Christian Rose * sv.po: Updated Swedish translation. 2003-09-19 Vincent van Adrighem * nl.po: Dutch translation updated by Elros Cyriatan. 2003-09-19 Christophe Merlet * fr.po: Added French translation from Baptiste Mille-Mathias . 2003-09-16 Duarte Loreto * pt.po: Updated Portuguese translation. 2003-09-16 Pablo Gonzalo del Campo * es.po: Updated Spanish translation by Francisco Javier F. Serrador . 2003-09-15 Miloslav Trmac * cs.po: Updated Czech translation. 2003-09-15 Christian Rose * sv.po: Updated Swedish translation. 2003-09-15 Miloslav Trmac * cs.po: Updated Czech translation. 2003-09-14 Danilo Šegan * sr.po, sr@Latn.po: Updated Serbian translation. 2003-09-14 Christian Neumair * POTFILES.in: Add missing file. * de.po: Added German translation. 2003-09-14 Vincent van Adrighem * nl.po: Dutch translation added by Elros Cyriatan. 2003-09-14 Duarte Loreto * pt.po: Updated Portuguese translation. 2003-09-14 Christian Rose * sv.po: Updated Swedish translation. 2003-09-14 Takeshi AIHANA * ja.po: Updated Japanese translation. 2003-09-14 Danilo Šegan * sr.po, sr@Latn.po: Updated Serbian translation. 2003-09-13 Seth Nickell reviewed by: * pt_BR.po: 2003-09-13 Seth Nickell reviewed by: * es.po: * it.po: * ja.po: * pl.po: * pt.po: * sr.po: * sr@Latn.po: * sv.po: 2003-09-13 Seth Nickell reviewed by: * es.po: * it.po: * ja.po: * pl.po: * pt.po: * sr.po: * sr@Latn.po: * sv.po: 2003-09-13 Seth Nickell reviewed by: * es.po: * it.po: * ja.po: * pl.po: * pt.po: * sr.po: * sr@Latn.po: * sv.po: 2003-09-13 Seth Nickell reviewed by: * es.po: * it.po: * ja.po: * pl.po: * pt.po: * sr.po: * sr@Latn.po: * sv.po: 2003-09-13 Seth Nickell reviewed by: * ChangeLog: * POTFILES.in: 2003-09-13 Seth Nickell reviewed by: * POTFILES.in: 2003-09-13 Takeshi AIHANA * ja.po: Updated Japanese translation. 2003-09-11 Seth Nickell * es.po: * it.po: * ja.po: * pl.po: * pt.po: * sr.po: * sr@Latn.po: * sv.po: 2003-09-09 Duarte Loreto * pt.po: Added Portuguese translation. 2003-09-08 Pablo Gonzalo del Campo * es.po: Updated Spanish translation. 2003-09-08 Artur Flinta * pl.po: Updated Polish translation. 2003-09-06 Christian Rose * sv.po: Updated Swedish translation. 2003-09-05 Miloslav Trmac * cs.po: Added Czech translation. 2003-09-05 Danilo Šegan * sr.po, sr@Latn.po: Updated Serbian translation. 2003-09-04 Christian Rose * sv.po: Updated Swedish translation. 2003-09-03 Danilo Šegan * sr.po, sr@Latn.po: Updated Serbian translation. 2003-09-04 Takeshi AIHANA * ja.po: Added Japanese translation. 2003-09-03 Pablo Gonzalo del Campo * es.po: Added Spanish translation. 2003-09-03 Artur Flinta * pl.po: Updated Polish translation. 2003-09-02 Danilo Šegan * sr.po, sr@Latn.po: Added Serbian translation. 2003-09-02 Christian Rose * sv.po: Updated Swedish translation. 2003-09-02 Christian Rose * sv.po: Added Swedish translation. 2003-09-02 Christian Rose * POTFILES.in, .cvsignore: Added these files. gnome-blog-0.9.1/po/Makefile.in.in0000644000076500007650000001466210446321163013603 00000000000000# Makefile for program source directory in GNU NLS utilities package. # Copyright (C) 1995, 1996, 1997 by Ulrich Drepper # # This file file be copied and used freely without restrictions. It can # be used in projects which are not available under the GNU Public License # but which still want to provide support for the GNU gettext functionality. # Please note that the actual code is *not* freely available. # # - 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 = /bin/sh srcdir = @srcdir@ top_srcdir = @top_srcdir@ 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) srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --dist GENPOT = INTLTOOL_EXTRACT=$(INTLTOOL_EXTRACT) 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; fi) POFILES=$(shell if test -n "$(PO_LINGUAS)"; then LINGUAS="$(PO_LINGUAS)"; else LINGUAS="$(ALL_LINGUAS)"; fi; for lang in $$LINGUAS; do printf "$$lang.po "; done) DISTFILES = ChangeLog Makefile.in.in POTFILES.in $(POFILES) EXTRA_DISTFILES = POTFILES.skip Makevars LINGUAS POTFILES = \ #This Gets Replace for some reason CATALOGS=$(shell if test -n "$(PO_LINGUAS)"; then LINGUAS="$(PO_LINGUAS)"; else LINGUAS="$(ALL_LINGUAS)"; fi; for lang in $$LINGUAS; do printf "$$lang.gmo "; done) .SUFFIXES: .SUFFIXES: .po .pox .gmo .mo .msg .cat .po.pox: $(MAKE) $(GETTEXT_PACKAGE).pot $(MSGMERGE) $< $(GETTEXT_PACKAGE).pot -o $*.pox .po.mo: $(MSGFMT) -o $@ $< .po.gmo: 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 $(mkdir_p) $(DESTDIR)$(itlocaledir) if test -n "$(PO_LINGUAS)"; then \ linguas="$(PO_LINGUAS)"; \ else \ linguas="$(ALL_LINGUAS)"; \ fi; \ 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 tags TAGS ID: # Define this as empty until I found a useful application. installcheck: uninstall: if test -n "$(PO_LINGUAS)"; then \ linguas="$(PO_LINGUAS)"; \ else \ linguas="$(ALL_LINGUAS)"; \ fi; \ 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 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`; \ if test -n "$(PO_LINGUAS)"; then \ linguas="$(PO_LINGUAS)"; \ else \ linguas="$(ALL_LINGUAS)"; \ fi; \ 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 ../config.status POTFILES.in cd .. \ && 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: gnome-blog-0.9.1/NEWS0000664000076500007650000000264310446320072011206 00000000000000============= Version 0.9.1 ============= * Fixes: - Make add link dialog stay near and above the blog window (Tommi Komulainen) - Do not crash when gtkspell is installed but lack a dictionary (Jan Alonzo) - Ensure window looks sane when resized (Olav Vitters) - Ensure blog applet window receives focus with newer metacity versions and make it stay on top (Olav Vitters) - Correctly position blog window beside the applet when using a vertical panel (Olav Vitters) - Make sure CTRL-B (bold), CTRL-I (italic) work when using the applet (Olav Vitters) - Fix blogs.gnome.org XML-RPC URL (Olav Vitters) * New and updated translations: - Mətin Əmirov (az) - Vladimir Petkov (bg) - Aleix Badia i Bosch (ca) - Miloslav Trmac (cs) - Hendrik Richter (de) - Adam Weinberger (en_CA) - David Lodge (en_GB) - Francisco Javier F. Serrador (es) - Priit Laes (et) - Ilkka Tuohela (fi) - Christophe Merlet (RedFox) (fr) - Pedro Silva (gl) - Robert Sedak (hr) - Gabor Kelemen (hu) - Francesco Gigli (it) - Takeshi AIHANA (ja) - Hasbullah Bin Pit (ms) - Kjartan Maraas (nb) - Jyotshna Shrestha (ne) - Taco Witte (nl) - Arkadiusz Lipiec (pl) - Afonso Celso Medina (pt_BR) - Duarte Loreto (pt) - Steve Murphy (rw) - Laurent Dhima (sq) - Danilo Šegan (sr@Latn) - Данило Шеган (sr) - Daniel Nylander (sv) - Maxim Dziumanenko (uk) - Clytie Siddall (vi) - storm (zh_CN) - Abel Cheung (zh_TW) gnome-blog-0.9.1/TODO0000664000076500007650000000113710000263561011167 00000000000000Make StyleToggles (bold, italic, etc) work without having to select, so you can change the style at insertion. Support adding links (DONE) Better feedback that a blog entry has been successfully posted. Better feedback that an entry is in the process of being posted. Allow images to be DNDd into the blog entry and then posted to the server Support more "standard websites" such as Advogato, LiveJournal, etc, and the APIs necessary to go with them. Support inline spell checking Auto-saving of draft post Allow multiple drafts Allow drafts to be uploaded at a later time (disconnected operation) gnome-blog-0.9.1/gnome-blog-poster0000775000076500007650000000304310237226562013777 00000000000000#!/usr/bin/env python import pygtk pygtk.require('2.0') import gtk import gnome import gnome.ui import gconf import gettext _ = gettext.gettext from gnomeblog import blog_poster from gnomeblog import blogger_prefs from gnomeblog import gnome_blog_globals #FIXME: need to get this path from auto* gettext.bindtextdomain('gnome-blog', gnome_blog_globals.localedir) gettext.textdomain('gnome-blog') icon_theme = gtk.icon_theme_get_default() icon_info = icon_theme.lookup_icon('gnome-blog', -1, 0) gtk.window_set_default_icon_from_file(icon_info.get_filename()) class BloggerApp: def __init__(self): self.prefs_key = "/apps/gnome-blog" client = gconf.client_get_default() value = client.get_bool(self.prefs_key + "/initialized") accel_group = gtk.AccelGroup() poster = blog_poster.BlogPoster(prefs_key=self.prefs_key, accel_group=accel_group, on_entry_posted=self._onEntryPosted) if (value == None or value == False): poster._showPrefDialog() client.set_bool(self.prefs_key + "/initialized", True) poster_window = gtk.Window(gtk.WINDOW_TOPLEVEL) poster_window.set_title(_("Post Blog Entry")) poster_window.connect('destroy', lambda w: gtk.main_quit()) poster_window.add_accel_group(accel_group) poster_window.add(poster) poster_window.show_all() def _onEntryPosted(self): gtk.main_quit() app = BloggerApp() gtk.main() gnome-blog-0.9.1/gconf_widgets.py0000664000076500007650000000636110237226562013713 00000000000000import gtk import gconf class OptionMenu(gtk.OptionMenu): def __init__(self, gconf_key): gtk.OptionMenu.__init__(self) self.gconf_key = gconf_key self.client = gconf.client_get_default() self.notify = self.client.notify_add(self.gconf_key, self._onGConfChange) self.connect("changed", self._onChanged) def setStringValuePairs (self, string_value_pairs): self.menu = gtk.Menu() self.set_menu(self.menu) self.values = [] for string_value_pair in string_value_pairs: string = string_value_pair[0] value = string_value_pair[1] if string == "-": self.menu.append(gtk.SeparatorMenuItem()) else: self.menu.append(gtk.MenuItem(string)) self.values.append(value) self.menu.show_all() gconf_value = self.client.get_string(self.gconf_key) self._setMenuFromValue(gconf_value) def _setMenuFromValue (self, gconf_value): if not self.values: return i = 0 value_set = 0 for value in self.values: if value == gconf_value: self.set_history(i) value_set = 1 break i = i + 1 if not value_set: self.set_history(0) self.client.set_string(self.gconf_key, self.values[0]) def _onGConfChange (self, client, cnxn_id, entry, what): gconf_value = entry.value.get_string() self._setMenuFromValue(gconf_value) def _onChanged(self, optionmenu): index = optionmenu.get_history() value = self.values[index] self.client.set_string(self.gconf_key, value) class Entry(gtk.Entry): def _onGConfChange (self, client, cnxn_id, entry, what): self.set_text(entry.value.get_string()) def _onEntryChange (self, entry): text = entry.get_text() self.client.set_string(self.gconf_key, text) def __init__(self, gconf_key, is_password=0): gtk.Entry.__init__(self) if is_password: self.set_visibility(False) self.set_invisible_char(u"*") self.gconf_key = gconf_key self.client = gconf.client_get_default() self.notify = self.client.notify_add(self.gconf_key, self._onGConfChange) string = self.client.get_string(self.gconf_key) if string != None: self.set_text(string) self.connect("changed", self._onEntryChange) class CheckButton(gtk.CheckButton): def _onGConfChange (self, client, cnxn_id, entry, what): self.set_active(entry.value.get_bool()) def _onCheckboxToggled (self, checkbox): toggled = checkbox.get_active() self.client.set_bool(self.gconf_key, toggled) def __init__(self, label, gconf_key): gtk.CheckButton.__init__(self, label) self.gconf_key = gconf_key self.client = gconf.client_get_default() self.notify = self.client.notify_add(self.gconf_key, self._onGConfChange) bool = self.client.get_bool(self.gconf_key) if bool != None: self.set_active(bool) self.connect("toggled", self._onCheckboxToggled) gnome-blog-0.9.1/intltool-extract.in0000644000076500007650000005373510446321163014363 00000000000000#!@INTLTOOL_PERL@ -w # -*- Mode: perl; indent-tabs-mode: nil; c-basic-offset: 4 -*- # # The Intltool Message Extractor # # Copyright (C) 2000-2001, 2003 Free Software Foundation. # # Intltool is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as # published by the Free Software Foundation; either version 2 of the # License, or (at your option) any later version. # # Intltool 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, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. # # 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. # # Authors: Kenneth Christiansen # Darin Adler # ## Release information my $PROGRAM = "intltool-extract"; my $PACKAGE = "intltool"; my $VERSION = "0.35.0"; ## Loaded modules use strict; use File::Basename; use Getopt::Long; ## Scalars used by the option stuff my $TYPE_ARG = "0"; my $LOCAL_ARG = "0"; my $HELP_ARG = "0"; my $VERSION_ARG = "0"; my $UPDATE_ARG = "0"; my $QUIET_ARG = "0"; my $SRCDIR_ARG = "."; my $FILE; my $OUTFILE; my $gettext_type = ""; my $input; my %messages = (); my %loc = (); my %count = (); my %comments = (); my $strcount = 0; my $XMLCOMMENT = ""; ## Use this instead of \w for XML files to handle more possible characters. my $w = "[-A-Za-z0-9._:]"; ## Always print first $| = 1; ## Handle options GetOptions ( "type=s" => \$TYPE_ARG, "local|l" => \$LOCAL_ARG, "help|h" => \$HELP_ARG, "version|v" => \$VERSION_ARG, "update" => \$UPDATE_ARG, "quiet|q" => \$QUIET_ARG, "srcdir=s" => \$SRCDIR_ARG, ) or &error; &split_on_argument; ## Check for options. ## This section will check for the different options. sub split_on_argument { if ($VERSION_ARG) { &version; } elsif ($HELP_ARG) { &help; } elsif ($LOCAL_ARG) { &place_local; &extract; } elsif ($UPDATE_ARG) { &place_normal; &extract; } elsif (@ARGV > 0) { &place_normal; &message; &extract; } else { &help; } } sub place_normal { $FILE = $ARGV[0]; $OUTFILE = "$FILE.h"; } sub place_local { $FILE = $ARGV[0]; $OUTFILE = fileparse($FILE, ()); if (!-e "tmp/") { system("mkdir tmp/"); } $OUTFILE = "./tmp/$OUTFILE.h" } sub determine_type { if ($TYPE_ARG =~ /^gettext\/(.*)/) { $gettext_type=$1 } } ## Sub for printing release information sub version{ print <<_EOF_; ${PROGRAM} (${PACKAGE}) $VERSION Copyright (C) 2000, 2003 Free Software Foundation, Inc. Written by Kenneth Christiansen, 2000. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. _EOF_ exit; } ## Sub for printing usage information sub help { print <<_EOF_; Usage: ${PROGRAM} [OPTION]... [FILENAME] Generates a header file from an XML source file. It grabs all strings between <_translatable_node> and its end tag in XML files. Read manpage (man ${PROGRAM}) for more info. --type=TYPE Specify the file type of FILENAME. Currently supports: "gettext/glade", "gettext/ini", "gettext/keys" "gettext/rfc822deb", "gettext/schemas", "gettext/scheme", "gettext/xml" -l, --local Writes output into current working directory (conflicts with --update) --update Writes output into the same directory the source file reside (conflicts with --local) --srcdir Root of the source tree -v, --version Output version information and exit -h, --help Display this help and exit -q, --quiet Quiet mode Report bugs to http://bugzilla.gnome.org/ (product name "$PACKAGE") or send email to . _EOF_ exit; } ## Sub for printing error messages sub error{ print STDERR "Try `${PROGRAM} --help' for more information.\n"; exit; } sub message { print "Generating C format header file for translation.\n" unless $QUIET_ARG; } sub extract { &determine_type; &convert; open OUT, ">$OUTFILE"; binmode (OUT) if $^O eq 'MSWin32'; &msg_write; close OUT; print "Wrote $OUTFILE\n" unless $QUIET_ARG; } sub convert { ## Reading the file { local (*IN); local $/; #slurp mode open (IN, "<$SRCDIR_ARG/$FILE") || die "can't open $SRCDIR_ARG/$FILE: $!"; $input = ; } &type_ini if $gettext_type eq "ini"; &type_keys if $gettext_type eq "keys"; &type_xml if $gettext_type eq "xml"; &type_glade if $gettext_type eq "glade"; &type_scheme if $gettext_type eq "scheme"; &type_schemas if $gettext_type eq "schemas"; &type_rfc822deb if $gettext_type eq "rfc822deb"; } sub entity_decode_minimal { local ($_) = @_; s/'/'/g; # ' s/"/"/g; # " s/&/&/g; return $_; } sub entity_decode { local ($_) = @_; s/'/'/g; # ' s/"/"/g; # " s/&/&/g; s/<//g; return $_; } sub escape_char { return '\"' if $_ eq '"'; return '\n' if $_ eq "\n"; return '\\' if $_ eq '\\'; return $_; } sub escape { my ($string) = @_; return join "", map &escape_char, split //, $string; } sub type_ini { ### For generic translatable desktop files ### while ($input =~ /^_.*=(.*)$/mg) { $messages{$1} = []; } } sub type_keys { ### For generic translatable mime/keys files ### while ($input =~ /^\s*_\w+=(.*)$/mg) { $messages{$1} = []; } } sub type_xml { ### For generic translatable XML files ### my $tree = readXml($input); parseTree(0, $tree); } sub print_var { my $var = shift; my $vartype = ref $var; if ($vartype =~ /ARRAY/) { my @arr = @{$var}; print "[ "; foreach my $el (@arr) { print_var($el); print ", "; } print "] "; } elsif ($vartype =~ /HASH/) { my %hash = %{$var}; print "{ "; foreach my $key (keys %hash) { print "$key => "; print_var($hash{$key}); print ", "; } print "} "; } else { print $var; } } # Same syntax as getAttributeString in intltool-merge.in.in, similar logic (look for ## differences comment) sub getAttributeString { my $sub = shift; my $do_translate = shift || 1; my $language = shift || ""; my $translate = shift; my $result = ""; foreach my $e (reverse(sort(keys %{ $sub }))) { my $key = $e; my $string = $sub->{$e}; my $quote = '"'; $string =~ s/^[\s]+//; $string =~ s/[\s]+$//; if ($string =~ /^'.*'$/) { $quote = "'"; } $string =~ s/^['"]//g; $string =~ s/['"]$//g; ## differences from intltool-merge.in.in if ($key =~ /^_/) { $comments{entity_decode($string)} = $XMLCOMMENT if $XMLCOMMENT; $messages{entity_decode($string)} = []; $$translate = 2; } ## differences end here from intltool-merge.in.in $result .= " $key=$quote$string$quote"; } return $result; } # Verbatim copy from intltool-merge.in.in sub getXMLstring { my $ref = shift; my $spacepreserve = shift || 0; my @list = @{ $ref }; my $result = ""; my $count = scalar(@list); my $attrs = $list[0]; my $index = 1; $spacepreserve = 1 if ((exists $attrs->{"xml:space"}) && ($attrs->{"xml:space"} =~ /^["']?preserve["']?$/)); $spacepreserve = 0 if ((exists $attrs->{"xml:space"}) && ($attrs->{"xml:space"} =~ /^["']?default["']?$/)); while ($index < $count) { my $type = $list[$index]; my $content = $list[$index+1]; if (! $type ) { # We've got CDATA if ($content) { # lets strip the whitespace here, and *ONLY* here $content =~ s/\s+/ /gs if (!$spacepreserve); $result .= $content; } } elsif ( "$type" ne "1" ) { # We've got another element $result .= "<$type"; $result .= getAttributeString(@{$content}[0], 0); # no nested translatable elements if ($content) { my $subresult = getXMLstring($content, $spacepreserve); if ($subresult) { $result .= ">".$subresult . ""; } else { $result .= "/>"; } } else { $result .= "/>"; } } $index += 2; } return $result; } # Verbatim copy from intltool-merge.in.in, except for MULTIPLE_OUTPUT handling removed # Translate list of nodes if necessary sub translate_subnodes { my $fh = shift; my $content = shift; my $language = shift || ""; my $singlelang = shift || 0; my $spacepreserve = shift || 0; my @nodes = @{ $content }; my $count = scalar(@nodes); my $index = 0; while ($index < $count) { my $type = $nodes[$index]; my $rest = $nodes[$index+1]; traverse($fh, $type, $rest, $language, $spacepreserve); $index += 2; } } # Based on traverse() in intltool-merge.in.in sub traverse { my $fh = shift; # unused, to allow us to sync code between -merge and -extract my $nodename = shift; my $content = shift; my $language = shift || ""; my $spacepreserve = shift || 0; if ($nodename && "$nodename" eq "1") { $XMLCOMMENT = $content; } elsif ($nodename) { # element my @all = @{ $content }; my $attrs = shift @all; my $translate = 0; my $outattr = getAttributeString($attrs, 1, $language, \$translate); if ($nodename =~ /^_/) { $translate = 1; $nodename =~ s/^_//; } my $lookup = ''; $spacepreserve = 0 if ((exists $attrs->{"xml:space"}) && ($attrs->{"xml:space"} =~ /^["']?default["']?$/)); $spacepreserve = 1 if ((exists $attrs->{"xml:space"}) && ($attrs->{"xml:space"} =~ /^["']?preserve["']?$/)); if ($translate) { $lookup = getXMLstring($content, $spacepreserve); if (!$spacepreserve) { $lookup =~ s/^\s+//s; $lookup =~ s/\s+$//s; } if ($lookup && $translate != 2) { $comments{$lookup} = $XMLCOMMENT if $XMLCOMMENT; $messages{$lookup} = []; } elsif ($translate == 2) { translate_subnodes($fh, \@all, $language, 1, $spacepreserve); } } else { $XMLCOMMENT = ""; my $count = scalar(@all); if ($count > 0) { my $index = 0; while ($index < $count) { my $type = $all[$index]; my $rest = $all[$index+1]; traverse($fh, $type, $rest, $language, $spacepreserve); $index += 2; } } } $XMLCOMMENT = ""; } } # Verbatim copy from intltool-merge.in.in, $fh for compatibility sub parseTree { my $fh = shift; my $ref = shift; my $language = shift || ""; my $name = shift @{ $ref }; my $cont = shift @{ $ref }; while (!$name || "$name" eq "1") { $name = shift @{ $ref }; $cont = shift @{ $ref }; } my $spacepreserve = 0; my $attrs = @{$cont}[0]; $spacepreserve = 1 if ((exists $attrs->{"xml:space"}) && ($attrs->{"xml:space"} =~ /^["']?preserve["']?$/)); traverse($fh, $name, $cont, $language, $spacepreserve); } # Verbatim copy from intltool-merge.in.in sub intltool_tree_comment { my $expat = shift; my $data = $expat->original_string(); my $clist = $expat->{Curlist}; my $pos = $#$clist; $data =~ s/^$//s; push @$clist, 1 => $data; } # Verbatim copy from intltool-merge.in.in sub intltool_tree_cdatastart { my $expat = shift; my $clist = $expat->{Curlist}; my $pos = $#$clist; push @$clist, 0 => $expat->original_string(); } # Verbatim copy from intltool-merge.in.in sub intltool_tree_cdataend { my $expat = shift; my $clist = $expat->{Curlist}; my $pos = $#$clist; $clist->[$pos] .= $expat->original_string(); } # Verbatim copy from intltool-merge.in.in sub intltool_tree_char { my $expat = shift; my $text = shift; my $clist = $expat->{Curlist}; my $pos = $#$clist; # Use original_string so that we retain escaped entities # in CDATA sections. # if ($pos > 0 and $clist->[$pos - 1] eq '0') { $clist->[$pos] .= $expat->original_string(); } else { push @$clist, 0 => $expat->original_string(); } } # Verbatim copy from intltool-merge.in.in sub intltool_tree_start { my $expat = shift; my $tag = shift; my @origlist = (); # Use original_string so that we retain escaped entities # in attribute values. We must convert the string to an # @origlist array to conform to the structure of the Tree # Style. # my @original_array = split /\x/, $expat->original_string(); my $source = $expat->original_string(); # Remove leading tag. # $source =~ s|^\s*<\s*(\S+)||s; # Grab attribute key/value pairs and push onto @origlist array. # while ($source) { if ($source =~ /^\s*([\w:-]+)\s*[=]\s*["]/) { $source =~ s|^\s*([\w:-]+)\s*[=]\s*["]([^"]*)["]||s; push @origlist, $1; push @origlist, '"' . $2 . '"'; } elsif ($source =~ /^\s*([\w:-]+)\s*[=]\s*[']/) { $source =~ s|^\s*([\w:-]+)\s*[=]\s*[']([^']*)[']||s; push @origlist, $1; push @origlist, "'" . $2 . "'"; } else { last; } } my $ol = [ { @origlist } ]; push @{ $expat->{Lists} }, $expat->{Curlist}; push @{ $expat->{Curlist} }, $tag => $ol; $expat->{Curlist} = $ol; } # Copied from intltool-merge.in.in and added comment handler. sub readXml { my $xmldoc = shift || return; my $ret = eval 'require XML::Parser'; if(!$ret) { die "You must have XML::Parser installed to run $0\n\n"; } my $xp = new XML::Parser(Style => 'Tree'); $xp->setHandlers(Char => \&intltool_tree_char); $xp->setHandlers(Start => \&intltool_tree_start); $xp->setHandlers(CdataStart => \&intltool_tree_cdatastart); $xp->setHandlers(CdataEnd => \&intltool_tree_cdataend); ## differences from intltool-merge.in.in $xp->setHandlers(Comment => \&intltool_tree_comment); ## differences end here from intltool-merge.in.in my $tree = $xp->parse($xmldoc); #print_var($tree); # Hello thereHowdydo # would be: # [foo, [{}, 1, "comment", head, [{id => "a"}, 0, "Hello ", em, [{}, 0, "there"]], bar, # [{}, 0, "Howdy", ref, [{}]], 0, "do" ] ] return $tree; } sub type_schemas { ### For schemas XML files ### # FIXME: We should handle escaped < (less than) while ($input =~ / \s* (\s*(?:\s*)?(.*?)\s*<\/default>\s*)? (\s*(?:\s*)?(.*?)\s*<\/short>\s*)? (\s*(?:\s*)?(.*?)\s*<\/long>\s*)? <\/locale> /sgx) { my @totranslate = ($3,$6,$9); my @eachcomment = ($2,$5,$8); foreach (@totranslate) { my $currentcomment = shift @eachcomment; next if !$_; s/\s+/ /g; $messages{entity_decode_minimal($_)} = []; $comments{entity_decode_minimal($_)} = $currentcomment if (defined($currentcomment)); } } } sub type_rfc822deb { ### For rfc822-style Debian configuration files ### my $lineno = 1; my $type = ''; while ($input =~ /\G(.*?)(^|\n)(_+)([^:]+):[ \t]*(.*?)(?=\n\S|$)/sg) { my ($pre, $newline, $underscore, $tag, $text) = ($1, $2, $3, $4, $5); while ($pre =~ m/\n/g) { $lineno ++; } $lineno += length($newline); my @str_list = rfc822deb_split(length($underscore), $text); for my $str (@str_list) { $strcount++; $messages{$str} = []; $loc{$str} = $lineno; $count{$str} = $strcount; my $usercomment = ''; while($pre =~ s/(^|\n)#([^\n]*)$//s) { $usercomment = "\n" . $2 . $usercomment; } $comments{$str} = $tag . $usercomment; } $lineno += ($text =~ s/\n//g); } } sub rfc822deb_split { # Debian defines a special way to deal with rfc822-style files: # when a value contain newlines, it consists of # 1. a short form (first line) # 2. a long description, all lines begin with a space, # and paragraphs are separated by a single dot on a line # This routine returns an array of all paragraphs, and reformat # them. # When first argument is 2, the string is a comma separated list of # values. my $type = shift; my $text = shift; $text =~ s/^[ \t]//mg; return (split(/, */, $text, 0)) if $type ne 1; return ($text) if $text !~ /\n/; $text =~ s/([^\n]*)\n//; my @list = ($1); my $str = ''; for my $line (split (/\n/, $text)) { chomp $line; if ($line =~ /^\.\s*$/) { # New paragraph $str =~ s/\s*$//; push(@list, $str); $str = ''; } elsif ($line =~ /^\s/) { # Line which must not be reformatted $str .= "\n" if length ($str) && $str !~ /\n$/; $line =~ s/\s+$//; $str .= $line."\n"; } else { # Continuation line, remove newline $str .= " " if length ($str) && $str !~ /\n$/; $str .= $line; } } $str =~ s/\s*$//; push(@list, $str) if length ($str); return @list; } sub type_glade { ### For translatable Glade XML files ### my $tags = "label|title|text|format|copyright|comments|preview_text|tooltip|message"; while ($input =~ /<($tags)>([^<]+)<\/($tags)>/sg) { # Glade sometimes uses tags that normally mark translatable things for # little bits of non-translatable content. We work around this by not # translating strings that only includes something like label4 or window1. $messages{entity_decode($2)} = [] unless $2 =~ /^(window|label|dialog)[0-9]+$/; } while ($input =~ /(..[^<]*)<\/items>/sg) { for my $item (split (/\n/, $1)) { $messages{entity_decode($item)} = []; } } ## handle new glade files while ($input =~ /<(property|atkproperty)\s+[^>]*translatable\s*=\s*"yes"(?:\s+[^>]*comments\s*=\s*"([^"]*)")?[^>]*>([^<]+)<\/\1>/sg) { $messages{entity_decode($3)} = [] unless $3 =~ /^(window|label)[0-9]+$/; if (defined($2) and !($3 =~ /^(window|label)[0-9]+$/)) { $comments{entity_decode($3)} = entity_decode($2) ; } } while ($input =~ /]*)"\s+description="([^>]+)"\/>/sg) { $messages{entity_decode_minimal($2)} = []; } } sub type_scheme { my ($line, $i, $state, $str, $trcomment, $char); for $line (split(/\n/, $input)) { $i = 0; $state = 0; # 0 - nothing, 1 - string, 2 - translatable string while ($i < length($line)) { if (substr($line,$i,1) eq "\"") { if ($state == 2) { $comments{$str} = $trcomment if ($trcomment); $messages{$str} = []; $str = ''; $state = 0; $trcomment = ""; } elsif ($state == 1) { $str = ''; $state = 0; $trcomment = ""; } else { $state = 1; $str = ''; if ($i>0 && substr($line,$i-1,1) eq '_') { $state = 2; } } } elsif (!$state) { if (substr($line,$i,1) eq ";") { $trcomment = substr($line,$i+1); $trcomment =~ s/^;*\s*//; $i = length($line); } elsif ($trcomment && substr($line,$i,1) !~ /\s|\(|\)|_/) { $trcomment = ""; } } else { if (substr($line,$i,1) eq "\\") { $char = substr($line,$i+1,1); if ($char ne "\"" && $char ne "\\") { $str = $str . "\\"; } $i++; } $str = $str . substr($line,$i,1); } $i++; } } } sub msg_write { my @msgids; if (%count) { @msgids = sort { $count{$a} <=> $count{$b} } keys %count; } else { @msgids = sort keys %messages; } for my $message (@msgids) { my $offsetlines = 1; $offsetlines++ if $message =~ /%/; if (defined ($comments{$message})) { while ($comments{$message} =~ m/\n/g) { $offsetlines++; } } print OUT "# ".($loc{$message} - $offsetlines). " \"$FILE\"\n" if defined $loc{$message}; print OUT "/* ".$comments{$message}." */\n" if defined $comments{$message}; print OUT "/* xgettext:no-c-format */\n" if $message =~ /%/; my @lines = split (/\n/, $message, -1); for (my $n = 0; $n < @lines; $n++) { if ($n == 0) { print OUT "char *s = N_(\""; } else { print OUT " \""; } print OUT escape($lines[$n]); if ($n < @lines - 1) { print OUT "\\n\"\n"; } else { print OUT "\");\n"; } } } } gnome-blog-0.9.1/aclocal.m40000664000076500007650000020437610446321167012364 00000000000000# generated automatically by aclocal 1.9.6 -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, # 2005 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. dnl AM_GCONF_SOURCE_2 dnl Defines GCONF_SCHEMA_CONFIG_SOURCE which is where you should install schemas dnl (i.e. pass to gconftool-2 dnl Defines GCONF_SCHEMA_FILE_DIR which is a filesystem directory where dnl you should install foo.schemas files dnl AC_DEFUN([AM_GCONF_SOURCE_2], [ if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source` else GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE fi AC_ARG_WITH(gconf-source, [ --with-gconf-source=sourceaddress Config database for installing schema files.],GCONF_SCHEMA_CONFIG_SOURCE="$withval",) AC_SUBST(GCONF_SCHEMA_CONFIG_SOURCE) AC_MSG_RESULT([Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation]) if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas' fi AC_ARG_WITH(gconf-schema-file-dir, [ --with-gconf-schema-file-dir=dir Directory for installing schema files.],GCONF_SCHEMA_FILE_DIR="$withval",) AC_SUBST(GCONF_SCHEMA_FILE_DIR) AC_MSG_RESULT([Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files]) AC_ARG_ENABLE(schemas-install, [ --disable-schemas-install Disable the schemas installation], [case ${enableval} in yes|no) ;; *) AC_MSG_ERROR(bad value ${enableval} for --enable-schemas-install) ;; esac]) AM_CONDITIONAL([GCONF_SCHEMAS_INSTALL], [test "$enable_schemas_install" != no]) ]) # Copyright (C) 1995-2002 Free Software Foundation, Inc. # Copyright (C) 2001-2003,2004 Red Hat, Inc. # # This file is free software, distributed under the terms of the GNU # General Public License. As a special exception to the GNU General # Public License, this file may be distributed as part of a program # that contains a configuration script generated by Autoconf, under # the same distribution terms as the rest of that program. # # This file can be copied and used freely without restrictions. It can # be used in projects which are not available under the GNU Public License # but which still want to provide support for the GNU gettext functionality. # # Macro to add for using GNU gettext. # Ulrich Drepper , 1995, 1996 # # Modified to never use included libintl. # Owen Taylor , 12/15/1998 # # Major rework to remove unused code # Owen Taylor , 12/11/2002 # # Added better handling of ALL_LINGUAS from GNU gettext version # written by Bruno Haible, Owen Taylor 5/30/3002 # # Modified to require ngettext # Matthias Clasen 08/06/2004 # # We need this here as well, since someone might use autoconf-2.5x # to configure GLib then an older version to configure a package # using AM_GLIB_GNU_GETTEXT AC_PREREQ(2.53) dnl dnl We go to great lengths to make sure that aclocal won't dnl try to pull in the installed version of these macros dnl when running aclocal in the glib directory. dnl m4_copy([AC_DEFUN],[glib_DEFUN]) m4_copy([AC_REQUIRE],[glib_REQUIRE]) dnl dnl At the end, if we're not within glib, we'll define the public dnl definitions in terms of our private definitions. dnl # GLIB_LC_MESSAGES #-------------------- glib_DEFUN([GLIB_LC_MESSAGES], [AC_CHECK_HEADERS([locale.h]) if test $ac_cv_header_locale_h = yes; then AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES, [AC_TRY_LINK([#include ], [return LC_MESSAGES], am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)]) if test $am_cv_val_LC_MESSAGES = yes; then AC_DEFINE(HAVE_LC_MESSAGES, 1, [Define if your file defines LC_MESSAGES.]) fi fi]) # GLIB_PATH_PROG_WITH_TEST #---------------------------- dnl GLIB_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR, dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]]) glib_DEFUN([GLIB_PATH_PROG_WITH_TEST], [# 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. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in ifelse([$5], , $PATH, [$5]); do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if [$3]; then ac_cv_path_$1="$ac_dir/$ac_word" break fi fi 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 ]) # GLIB_WITH_NLS #----------------- glib_DEFUN([GLIB_WITH_NLS], dnl NLS is obligatory [USE_NLS=yes AC_SUBST(USE_NLS) gt_cv_have_gettext=no CATOBJEXT=NONE XGETTEXT=: INTLLIBS= AC_CHECK_HEADER(libintl.h, [gt_cv_func_dgettext_libintl="no" libintl_extra_libs="" # # First check in libc # AC_CACHE_CHECK([for ngettext in libc], gt_cv_func_ngettext_libc, [AC_TRY_LINK([ #include ], [return !ngettext ("","", 1)], gt_cv_func_ngettext_libc=yes, gt_cv_func_ngettext_libc=no) ]) if test "$gt_cv_func_ngettext_libc" = "yes" ; then AC_CACHE_CHECK([for dgettext in libc], gt_cv_func_dgettext_libc, [AC_TRY_LINK([ #include ], [return !dgettext ("","")], gt_cv_func_dgettext_libc=yes, gt_cv_func_dgettext_libc=no) ]) fi if test "$gt_cv_func_ngettext_libc" = "yes" ; then AC_CHECK_FUNCS(bind_textdomain_codeset) fi # # If we don't have everything we want, check in libintl # if test "$gt_cv_func_dgettext_libc" != "yes" \ || test "$gt_cv_func_ngettext_libc" != "yes" \ || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then AC_CHECK_LIB(intl, bindtextdomain, [AC_CHECK_LIB(intl, ngettext, [AC_CHECK_LIB(intl, dgettext, gt_cv_func_dgettext_libintl=yes)])]) if test "$gt_cv_func_dgettext_libintl" != "yes" ; then AC_MSG_CHECKING([if -liconv is needed to use gettext]) AC_MSG_RESULT([]) AC_CHECK_LIB(intl, ngettext, [AC_CHECK_LIB(intl, dcgettext, [gt_cv_func_dgettext_libintl=yes libintl_extra_libs=-liconv], :,-liconv)], :,-liconv) fi # # If we found libintl, then check in it for bind_textdomain_codeset(); # we'll prefer libc if neither have bind_textdomain_codeset(), # and both have dgettext and ngettext # if test "$gt_cv_func_dgettext_libintl" = "yes" ; then glib_save_LIBS="$LIBS" LIBS="$LIBS -lintl $libintl_extra_libs" unset ac_cv_func_bind_textdomain_codeset AC_CHECK_FUNCS(bind_textdomain_codeset) LIBS="$glib_save_LIBS" if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then gt_cv_func_dgettext_libc=no else if test "$gt_cv_func_dgettext_libc" = "yes" \ && test "$gt_cv_func_ngettext_libc" = "yes"; then gt_cv_func_dgettext_libintl=no fi fi fi fi if test "$gt_cv_func_dgettext_libc" = "yes" \ || test "$gt_cv_func_dgettext_libintl" = "yes"; then gt_cv_have_gettext=yes fi if test "$gt_cv_func_dgettext_libintl" = "yes"; then INTLLIBS="-lintl $libintl_extra_libs" fi if test "$gt_cv_have_gettext" = "yes"; then AC_DEFINE(HAVE_GETTEXT,1, [Define if the GNU gettext() function is already present or preinstalled.]) GLIB_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no)dnl if test "$MSGFMT" != "no"; then glib_save_LIBS="$LIBS" LIBS="$LIBS $INTLLIBS" AC_CHECK_FUNCS(dcgettext) AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) GLIB_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :) AC_TRY_LINK(, [extern int _nl_msg_cat_cntr; return _nl_msg_cat_cntr], [CATOBJEXT=.gmo 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 and dnl and CATOBJEXT=.gmo in this case. AC_CHECK_FUNC(bind_textdomain_codeset, [CATOBJEXT=.gmo DATADIRNAME=share], [CATOBJEXT=.mo DATADIRNAME=lib]) ;; *) CATOBJEXT=.mo DATADIRNAME=lib ;; esac]) LIBS="$glib_save_LIBS" INSTOBJEXT=.mo else gt_cv_have_gettext=no fi fi ]) if test "$gt_cv_have_gettext" = "yes" ; then AC_DEFINE(ENABLE_NLS, 1, [always defined to indicate that i18n is enabled]) fi dnl Test whether we really found GNU xgettext. if test "$XGETTEXT" != ":"; then dnl If it is not GNU xgettext we define it as : so that the dnl Makefiles still can work. if $XGETTEXT --omit-header /dev/null 2> /dev/null; then : ; else AC_MSG_RESULT( [found xgettext program is not GNU xgettext; ignore it]) XGETTEXT=":" fi fi # We need to process the po/ directory. POSUB=po AC_OUTPUT_COMMANDS( [case "$CONFIG_FILES" in *po/Makefile.in*) sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile esac]) dnl These rules are solely for the distribution goal. While doing this dnl we only have to keep exactly one list of the available catalogs dnl in configure.in. for lang in $ALL_LINGUAS; do GMOFILES="$GMOFILES $lang.gmo" POFILES="$POFILES $lang.po" done dnl Make all variables we use known to autoconf. AC_SUBST(CATALOGS) AC_SUBST(CATOBJEXT) AC_SUBST(DATADIRNAME) AC_SUBST(GMOFILES) AC_SUBST(INSTOBJEXT) AC_SUBST(INTLLIBS) AC_SUBST(PO_IN_DATADIR_TRUE) AC_SUBST(PO_IN_DATADIR_FALSE) AC_SUBST(POFILES) AC_SUBST(POSUB) ]) # AM_GLIB_GNU_GETTEXT # ------------------- # Do checks necessary for use of gettext. If a suitable implementation # of gettext is found in either in libintl or in the C library, # it will set INTLLIBS to the libraries needed for use of gettext # and AC_DEFINE() HAVE_GETTEXT and ENABLE_NLS. (The shell variable # gt_cv_have_gettext will be set to "yes".) It will also call AC_SUBST() # on various variables needed by the Makefile.in.in installed by # glib-gettextize. dnl glib_DEFUN([GLIB_GNU_GETTEXT], [AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_HEADER_STDC])dnl GLIB_LC_MESSAGES GLIB_WITH_NLS if test "$gt_cv_have_gettext" = "yes"; then if test "x$ALL_LINGUAS" = "x"; then LINGUAS= else AC_MSG_CHECKING(for catalogs to be installed) NEW_LINGUAS= for presentlang in $ALL_LINGUAS; do useit=no if test "%UNSET%" != "${LINGUAS-%UNSET%}"; 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 NEW_LINGUAS="$NEW_LINGUAS $presentlang" fi done LINGUAS=$NEW_LINGUAS AC_MSG_RESULT($LINGUAS) fi dnl Construct list of names of catalog files to be constructed. if test -n "$LINGUAS"; then for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done fi fi dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly dnl find the mkinstalldirs script in another subdir but ($top_srcdir). dnl Try to locate is. MKINSTALLDIRS= if test -n "$ac_aux_dir"; then MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" fi if test -z "$MKINSTALLDIRS"; then MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" fi AC_SUBST(MKINSTALLDIRS) dnl Generate list of files to be processed by xgettext which will dnl be included in po/Makefile. test -d po || mkdir po if test "x$srcdir" != "x."; then if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then posrcprefix="$srcdir/" else posrcprefix="../$srcdir/" fi else posrcprefix="../" fi rm -f po/POTFILES sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ < $srcdir/po/POTFILES.in > po/POTFILES ]) # AM_GLIB_DEFINE_LOCALEDIR(VARIABLE) # ------------------------------- # Define VARIABLE to the location where catalog files will # be installed by po/Makefile. glib_DEFUN([GLIB_DEFINE_LOCALEDIR], [glib_REQUIRE([GLIB_GNU_GETTEXT])dnl glib_save_prefix="$prefix" glib_save_exec_prefix="$exec_prefix" test "x$prefix" = xNONE && prefix=$ac_default_prefix test "x$exec_prefix" = xNONE && exec_prefix=$prefix if test "x$CATOBJEXT" = "x.mo" ; then localedir=`eval echo "${libdir}/locale"` else localedir=`eval echo "${datadir}/locale"` fi prefix="$glib_save_prefix" exec_prefix="$glib_save_exec_prefix" AC_DEFINE_UNQUOTED($1, "$localedir", [Define the location where the catalogs will be installed]) ]) dnl dnl Now the definitions that aclocal will find dnl ifdef(glib_configure_in,[],[ AC_DEFUN([AM_GLIB_GNU_GETTEXT],[GLIB_GNU_GETTEXT($@)]) AC_DEFUN([AM_GLIB_DEFINE_LOCALEDIR],[GLIB_DEFINE_LOCALEDIR($@)]) ])dnl dnl IT_PROG_INTLTOOL([MINIMUM-VERSION], [no-xml]) # serial 35 IT_PROG_INTLTOOL AC_DEFUN([IT_PROG_INTLTOOL], [AC_PREREQ([2.50])dnl case "$am__api_version" in 1.[01234]) AC_MSG_ERROR([Automake 1.5 or newer is required to use intltool]) ;; *) ;; esac if test -n "$1"; then AC_MSG_CHECKING(for intltool >= $1) INTLTOOL_REQUIRED_VERSION_AS_INT=`echo $1 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { print $ 2; }' ${ac_aux_dir}/intltool-update.in` [INTLTOOL_APPLIED_VERSION_AS_INT=`awk -F\" '/\\$VERSION / { split($ 2, VERSION, "."); print VERSION[1] * 1000 + VERSION[2] * 100 + VERSION[3];}' ${ac_aux_dir}/intltool-update.in` ] 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 INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -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) ; LC_ALL=C $(INTLTOOL_MERGE) -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) ; LC_ALL=C $(INTLTOOL_MERGE) -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) ; LC_ALL=C $(INTLTOOL_MERGE) -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) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< [$]@' INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -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) ; LC_ALL=C $(INTLTOOL_MERGE) -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) ; LC_ALL=C $(INTLTOOL_MERGE) -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) ; LC_ALL=C $(INTLTOOL_MERGE) -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) ; LC_ALL=C $(INTLTOOL_MERGE) -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) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< [$]@' INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -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) ; LC_ALL=C $(INTLTOOL_MERGE) -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) ; LC_ALL=C $(INTLTOOL_MERGE) -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) ; LC_ALL=C $(INTLTOOL_MERGE) -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) ; LC_ALL=C $(INTLTOOL_MERGE) -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) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' AC_SUBST(INTLTOOL_DESKTOP_RULE) AC_SUBST(INTLTOOL_DIRECTORY_RULE) AC_SUBST(INTLTOOL_KEYS_RULE) AC_SUBST(INTLTOOL_PROP_RULE) AC_SUBST(INTLTOOL_OAF_RULE) AC_SUBST(INTLTOOL_PONG_RULE) AC_SUBST(INTLTOOL_SERVER_RULE) AC_SUBST(INTLTOOL_SHEET_RULE) AC_SUBST(INTLTOOL_SOUNDLIST_RULE) AC_SUBST(INTLTOOL_UI_RULE) AC_SUBST(INTLTOOL_XAM_RULE) AC_SUBST(INTLTOOL_KBD_RULE) AC_SUBST(INTLTOOL_XML_RULE) AC_SUBST(INTLTOOL_XML_NOMERGE_RULE) AC_SUBST(INTLTOOL_CAVES_RULE) AC_SUBST(INTLTOOL_SCHEMAS_RULE) AC_SUBST(INTLTOOL_THEME_RULE) AC_SUBST(INTLTOOL_SERVICE_RULE) # Use the tools built into the package, not the ones that are installed. AC_SUBST(INTLTOOL_EXTRACT, '$(top_builddir)/intltool-extract') AC_SUBST(INTLTOOL_MERGE, '$(top_builddir)/intltool-merge') AC_SUBST(INTLTOOL_UPDATE, '$(top_builddir)/intltool-update') AC_PATH_PROG(INTLTOOL_PERL, perl) if test -z "$INTLTOOL_PERL"; then AC_MSG_ERROR([perl not found; required for intltool]) fi if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then AC_MSG_ERROR([perl 5.x required for intltool]) 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 AC_PATH_PROG(INTLTOOL_ICONV, iconv, iconv) AC_PATH_PROG(INTLTOOL_MSGFMT, msgfmt, msgfmt) AC_PATH_PROG(INTLTOOL_MSGMERGE, msgmerge, msgmerge) AC_PATH_PROG(INTLTOOL_XGETTEXT, xgettext, xgettext) # Substitute ALL_LINGUAS so we can use it in po/Makefile AC_SUBST(ALL_LINGUAS) IT_PO_SUBDIR([po]) dnl The following is very similar to dnl dnl AC_CONFIG_FILES([intltool-extract intltool-merge intltool-update]) dnl dnl with the following slight differences: dnl - the *.in files are in ac_aux_dir, dnl - if the file haven't changed upon reconfigure, it's not touched, dnl - the evaluation of the third parameter enables a hack which computes dnl the actual value of $libdir, dnl - the user sees "executing intltool commands", instead of dnl "creating intltool-extract" and such. dnl dnl Nothing crucial here, and we could use AC_CONFIG_FILES, if there were dnl a reason for it. AC_CONFIG_COMMANDS([intltool], [ for file in intltool-extract intltool-merge intltool-update; do sed -e "s|@INTLTOOL_EXTRACT@|`pwd`/intltool-extract|g" \ -e "s|@INTLTOOL_LIBDIR@|${INTLTOOL_LIBDIR}|g" \ -e "s|@INTLTOOL_ICONV@|${INTLTOOL_ICONV}|g" \ -e "s|@INTLTOOL_MSGFMT@|${INTLTOOL_MSGFMT}|g" \ -e "s|@INTLTOOL_MSGMERGE@|${INTLTOOL_MSGMERGE}|g" \ -e "s|@INTLTOOL_XGETTEXT@|${INTLTOOL_XGETTEXT}|g" \ -e "s|@INTLTOOL_PERL@|${INTLTOOL_PERL}|g" \ < ${ac_aux_dir}/${file}.in > ${file}.out if cmp -s ${file} ${file}.out 2>/dev/null; then rm -f ${file}.out else mv -f ${file}.out ${file} fi chmod ugo+x ${file} chmod u+w ${file} done ], [INTLTOOL_PERL='${INTLTOOL_PERL}' ac_aux_dir='${ac_aux_dir}' prefix="$prefix" exec_prefix="$exec_prefix" INTLTOOL_LIBDIR="$libdir" INTLTOOL_EXTRACT='${INTLTOOL_EXTRACT}' INTLTOOL_ICONV='${INTLTOOL_ICONV}' INTLTOOL_MSGFMT='${INTLTOOL_MSGFMT}' INTLTOOL_MSGMERGE='${INTLTOOL_MSGMERGE}' INTLTOOL_XGETTEXT='${INTLTOOL_XGETTEXT}']) ]) # 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 exetuted at the very end dnl of config.status. AC_CONFIG_COMMANDS_PRE([ AC_CONFIG_COMMANDS([$1/stamp-it], [ 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" ] if test ! -f "$1/Makefile"; then AC_MSG_ERROR([$1/Makefile is not ready.]) fi mv "$1/Makefile" "$1/Makefile.tmp" [sed '/^POTFILES =/,/[^\\]$/ { /^POTFILES =/!d r $1/POTFILES } ' "$1/Makefile.tmp" >"$1/Makefile"] rm -f "$1/Makefile.tmp" mv "$1/stamp-it.tmp" "$1/stamp-it" ]) ])dnl ]) # 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], ...) # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- # # Copyright © 2004 Scott James Remnant . # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # # 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. # PKG_PROG_PKG_CONFIG([MIN-VERSION]) # ---------------------------------- AC_DEFUN([PKG_PROG_PKG_CONFIG], [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) fi if test -n "$PKG_CONFIG"; then _pkg_min_version=m4_default([$1], [0.9.0]) AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) PKG_CONFIG="" fi fi[]dnl ])# PKG_PROG_PKG_CONFIG # PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) # # Check to see whether a particular set of modules exists. Similar # to PKG_CHECK_MODULES(), but does not set variables or print errors. # # # Similar to PKG_CHECK_MODULES, make sure that the first instance of # this or PKG_CHECK_MODULES is called, or make sure to call # PKG_CHECK_EXISTS manually # -------------------------------------------------------------- AC_DEFUN([PKG_CHECK_EXISTS], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl if test -n "$PKG_CONFIG" && \ AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then m4_ifval([$2], [$2], [:]) m4_ifvaln([$3], [else $3])dnl fi]) # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) # --------------------------------------------- m4_define([_PKG_CONFIG], [if test -n "$PKG_CONFIG"; then if test -n "$$1"; then pkg_cv_[]$1="$$1" else PKG_CHECK_EXISTS([$3], [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], [pkg_failed=yes]) fi else pkg_failed=untried fi[]dnl ])# _PKG_CONFIG # _PKG_SHORT_ERRORS_SUPPORTED # ----------------------------- AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], [AC_REQUIRE([PKG_PROG_PKG_CONFIG]) if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi[]dnl ])# _PKG_SHORT_ERRORS_SUPPORTED # PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], # [ACTION-IF-NOT-FOUND]) # # # Note that if there is a possibility the first call to # PKG_CHECK_MODULES might not happen, you should be sure to include an # explicit call to PKG_PROG_PKG_CONFIG in your configure.ac # # # -------------------------------------------------------------- AC_DEFUN([PKG_CHECK_MODULES], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl pkg_failed=no AC_MSG_CHECKING([for $1]) _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) _PKG_CONFIG([$1][_LIBS], [libs], [$2]) m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS and $1[]_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.]) if test $pkg_failed = yes; then _PKG_SHORT_ERRORS_SUPPORTED if test $_pkg_short_errors_supported = yes; then $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"` else $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"` fi # Put the nasty error message in config.log where it belongs echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD ifelse([$4], , [AC_MSG_ERROR(dnl [Package requirements ($2) were not met: $$1_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. _PKG_TEXT ])], [$4]) elif test $pkg_failed = untried; then ifelse([$4], , [AC_MSG_FAILURE(dnl [The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. _PKG_TEXT To get pkg-config, see .])], [$4]) else $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS $1[]_LIBS=$pkg_cv_[]$1[]_LIBS AC_MSG_RESULT([yes]) ifelse([$3], , :, [$3]) fi[]dnl ])# PKG_CHECK_MODULES # Copyright (C) 2002, 2003, 2005 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. AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"]) # AM_SET_CURRENT_AUTOMAKE_VERSION # ------------------------------- # Call AM_AUTOMAKE_VERSION so it can be traced. # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.9.6])]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- # Copyright (C) 2001, 2003, 2005 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, 2000, 2001, 2003, 2004, 2005 # 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. # serial 7 # AM_CONDITIONAL(NAME, SHELL-CONDITION) # ------------------------------------- # Define a conditional. AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl AC_SUBST([$1_TRUE]) AC_SUBST([$1_FALSE]) 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, 2000, 2001, 2002, 2003, 2004, 2005 # 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. # serial 8 # 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", "GCJ", or "OBJC". # 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 ifelse([$1], CC, [depcc="$CC" am_compiler_list=], [$1], CXX, [depcc="$CXX" am_compiler_list=], [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], [$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'. 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 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 8's {/usr,}/bin/sh. touch sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf case $depmode in 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 ;; none) break ;; esac # 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. if depmode=$depmode \ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftest.${OBJEXT-o} 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, [ --disable-dependency-tracking speeds up one-time build --enable-dependency-tracking do not reject slow dependency extractors]) if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' fi AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) AC_SUBST([AMDEPBACKSLASH]) ]) # Generate code to set up dependency tracking. -*- Autoconf -*- # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 # 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. #serial 3 # _AM_OUTPUT_DEPENDENCY_COMMANDS # ------------------------------ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [for mf in $CONFIG_FILES; 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. # So let's grep whole file. if grep '^#.*generated by automake' $mf > /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"` # When using ansi2knr, U may be empty or an underscore; expand it U=`sed -n 's/^U = //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' -e 's/\$U/'"$U"'/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"]) ]) # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 # 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. # serial 8 # AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS. AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) # Do all the work for Automake. -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 # 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. # serial 12 # 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. # 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.58])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 # test to see if srcdir already configured if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) 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], [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl AC_SUBST([PACKAGE], [$1])dnl AC_SUBST([VERSION], [$2])], [_AM_SET_OPTIONS([$1])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) AM_PROG_INSTALL_SH AM_PROG_INSTALL_STRIP AC_REQUIRE([AM_PROG_MKDIR_P])dnl # 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)], [define([AC_PROG_CC], defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl AC_PROVIDE_IFELSE([AC_PROG_CXX], [_AM_DEPENDENCIES(CXX)], [define([AC_PROG_CXX], defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl ]) ]) # 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_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $1 | $1:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) # Copyright (C) 2001, 2003, 2005 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 install_sh=${install_sh-"$am_aux_dir/install-sh"} AC_SUBST(install_sh)]) # Copyright (C) 2003, 2005 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. # serial 2 # 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])]) # Add --enable-maintainer-mode option to configure. -*- Autoconf -*- # From Jim Meyering # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005 # 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. # serial 4 AC_DEFUN([AM_MAINTAINER_MODE], [AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) dnl maintainer-mode is disabled by default AC_ARG_ENABLE(maintainer-mode, [ --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer], USE_MAINTAINER_MODE=$enableval, USE_MAINTAINER_MODE=no) AC_MSG_RESULT([$USE_MAINTAINER_MODE]) AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes]) MAINT=$MAINTAINER_MODE_TRUE AC_SUBST(MAINT)dnl ] ) AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) # Check to see how 'make' treats includes. -*- Autoconf -*- # Copyright (C) 2001, 2002, 2003, 2005 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. # serial 3 # 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 done .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 # We grep out `Entering directory' and `Leaving directory' # messages which can occur if `w' ends up in MAKEFLAGS. # In particular we don't look at `^make:' because GNU make might # be invoked under some other name (usually "gmake"), in which # case it prints its new name instead of `make'. if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then am__include=include am__quote= _am_result=GNU fi # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then am__include=.include am__quote="\"" _am_result=BSD fi 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, 1999, 2000, 2001, 2003, 2005 # 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. # serial 4 # 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 supports --run. # If it does, set am_missing_run to use it, otherwise, to nothing. AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= AC_MSG_WARN([`missing' script is too old or missing]) fi ]) # Copyright (C) 2003, 2004, 2005 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 whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise. # # Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories # created by `make install' are always world readable, even if the # installer happens to have an overly restrictive umask (e.g. 077). # This was a mistake. There are at least two reasons why we must not # use `-m 0755': # - it causes special bits like SGID to be ignored, # - it may be too restrictive (some setups expect 775 directories). # # Do not use -m 0755 and let people choose whatever they expect by # setting umask. # # We cannot accept any implementation of `mkdir' that recognizes `-p'. # Some implementations (such as Solaris 8's) are not thread-safe: if a # parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c' # concurrently, both version can detect that a/ is missing, but only # one can create it and the other will error out. Consequently we # restrict ourselves to GNU make (using the --version option ensures # this.) AC_DEFUN([AM_PROG_MKDIR_P], [if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then # We used to keeping the `.' as first argument, in order to # allow $(mkdir_p) to be used without argument. As in # $(mkdir_p) $(somedir) # where $(somedir) is conditionally defined. However this is wrong # for two reasons: # 1. if the package is installed by a user who cannot write `.' # make install will fail, # 2. the above comment should most certainly read # $(mkdir_p) $(DESTDIR)$(somedir) # so it does not work when $(somedir) is undefined and # $(DESTDIR) is not. # To support the latter case, we have to write # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), # so the `.' trick is pointless. mkdir_p='mkdir -p --' else # On NextStep and OpenStep, the `mkdir' command does not # recognize any option. It will interpret all options as # directories to create, and then abort because `.' already # exists. for d in ./-p ./--version; do test -d $d && rmdir $d done # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. if test -f "$ac_aux_dir/mkinstalldirs"; then mkdir_p='$(mkinstalldirs)' else mkdir_p='$(install_sh) -d' fi fi AC_SUBST([mkdir_p])]) # Helper functions for option handling. -*- Autoconf -*- # Copyright (C) 2001, 2002, 2003, 2005 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. # serial 3 # _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], [AC_FOREACH([_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, 2000, 2001, 2002, 2003, 2004, 2005 # 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_PATH_PYTHON([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) # --------------------------------------------------------------------------- # Adds support for distributing Python modules and packages. To # install modules, copy them to $(pythondir), using the python_PYTHON # automake variable. To install a package with the same name as the # automake package, install to $(pkgpythondir), or use the # pkgpython_PYTHON automake variable. # # The variables $(pyexecdir) and $(pkgpyexecdir) are provided as # locations to install python extension modules (shared libraries). # Another macro is required to find the appropriate flags to compile # extension modules. # # If your package is configured with a different prefix to python, # users will have to add the install directory to the PYTHONPATH # environment variable, or create a .pth file (see the python # documentation for details). # # If the MINIMUM-VERSION argument is passed, AM_PATH_PYTHON will # cause an error if the version of python installed on the system # doesn't meet the requirement. MINIMUM-VERSION should consist of # numbers and dots only. AC_DEFUN([AM_PATH_PYTHON], [ dnl Find a Python interpreter. Python versions prior to 1.5 are not dnl supported because the default installation locations changed from dnl $prefix/lib/site-python in 1.4 to $prefix/lib/python1.5/site-packages dnl in 1.5. m4_define_default([_AM_PYTHON_INTERPRETER_LIST], [python python2 python2.5 python2.4 python2.3 python2.2 dnl python2.1 python2.0 python1.6 python1.5]) m4_if([$1],[],[ dnl No version check is needed. # Find any Python interpreter. if test -z "$PYTHON"; then AC_PATH_PROGS([PYTHON], _AM_PYTHON_INTERPRETER_LIST, :) fi am_display_PYTHON=python ], [ dnl A version check is needed. if test -n "$PYTHON"; then # If the user set $PYTHON, use it and don't search something else. AC_MSG_CHECKING([whether $PYTHON version >= $1]) AM_PYTHON_CHECK_VERSION([$PYTHON], [$1], [AC_MSG_RESULT(yes)], [AC_MSG_ERROR(too old)]) am_display_PYTHON=$PYTHON else # Otherwise, try each interpreter until we find one that satisfies # VERSION. AC_CACHE_CHECK([for a Python interpreter with version >= $1], [am_cv_pathless_PYTHON],[ for am_cv_pathless_PYTHON in _AM_PYTHON_INTERPRETER_LIST none; do test "$am_cv_pathless_PYTHON" = none && break AM_PYTHON_CHECK_VERSION([$am_cv_pathless_PYTHON], [$1], [break]) done]) # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON. if test "$am_cv_pathless_PYTHON" = none; then PYTHON=: else AC_PATH_PROG([PYTHON], [$am_cv_pathless_PYTHON]) fi am_display_PYTHON=$am_cv_pathless_PYTHON fi ]) if test "$PYTHON" = :; then dnl Run any user-specified action, or abort. m4_default([$3], [AC_MSG_ERROR([no suitable Python interpreter found])]) else dnl Query Python for its version number. Getting [:3] seems to be dnl the best way to do this; it's what "site.py" does in the standard dnl library. AC_CACHE_CHECK([for $am_display_PYTHON version], [am_cv_python_version], [am_cv_python_version=`$PYTHON -c "import sys; print sys.version[[:3]]"`]) AC_SUBST([PYTHON_VERSION], [$am_cv_python_version]) dnl Use the values of $prefix and $exec_prefix for the corresponding dnl values of PYTHON_PREFIX and PYTHON_EXEC_PREFIX. These are made dnl distinct variables so they can be overridden if need be. However, dnl general consensus is that you shouldn't need this ability. AC_SUBST([PYTHON_PREFIX], ['${prefix}']) AC_SUBST([PYTHON_EXEC_PREFIX], ['${exec_prefix}']) dnl At times (like when building shared libraries) you may want dnl to know which OS platform Python thinks this is. AC_CACHE_CHECK([for $am_display_PYTHON platform], [am_cv_python_platform], [am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`]) AC_SUBST([PYTHON_PLATFORM], [$am_cv_python_platform]) dnl Set up 4 directories: dnl pythondir -- where to install python scripts. This is the dnl site-packages directory, not the python standard library dnl directory like in previous automake betas. This behavior dnl is more consistent with lispdir.m4 for example. dnl Query distutils for this directory. distutils does not exist in dnl Python 1.5, so we fall back to the hardcoded directory if it dnl doesn't work. AC_CACHE_CHECK([for $am_display_PYTHON script directory], [am_cv_python_pythondir], [am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null || echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`]) AC_SUBST([pythondir], [$am_cv_python_pythondir]) dnl pkgpythondir -- $PACKAGE directory under pythondir. Was dnl PYTHON_SITE_PACKAGE in previous betas, but this naming is dnl more consistent with the rest of automake. AC_SUBST([pkgpythondir], [\${pythondir}/$PACKAGE]) dnl pyexecdir -- directory for installing python extension modules dnl (shared libraries) dnl Query distutils for this directory. distutils does not exist in dnl Python 1.5, so we fall back to the hardcoded directory if it dnl doesn't work. AC_CACHE_CHECK([for $am_display_PYTHON extension module directory], [am_cv_python_pyexecdir], [am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null || echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`]) AC_SUBST([pyexecdir], [$am_cv_python_pyexecdir]) dnl pkgpyexecdir -- $(pyexecdir)/$(PACKAGE) AC_SUBST([pkgpyexecdir], [\${pyexecdir}/$PACKAGE]) dnl Run any user-specified action. $2 fi ]) # AM_PYTHON_CHECK_VERSION(PROG, VERSION, [ACTION-IF-TRUE], [ACTION-IF-FALSE]) # --------------------------------------------------------------------------- # Run ACTION-IF-TRUE if the Python interpreter PROG has version >= VERSION. # Run ACTION-IF-FALSE otherwise. # This test uses sys.hexversion instead of the string equivalent (first # word of sys.version), in order to cope with versions such as 2.2c1. # hexversion has been introduced in Python 1.5.2; it's probably not # worth to support older versions (1.5.1 was released on October 31, 1998). AC_DEFUN([AM_PYTHON_CHECK_VERSION], [prog="import sys, string # split strings by '.' and convert to numeric. Append some zeros # because we need at least 4 digits for the hex conversion. minver = map(int, string.split('$2', '.')) + [[0, 0, 0]] minverhex = 0 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[[i]] sys.exit(sys.hexversion < minverhex)" AS_IF([AM_RUN_LOG([$1 -c "$prog"])], [$3], [$4])]) # Check to make sure that the build environment is sane. -*- Autoconf -*- # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 # 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. # serial 4 # AM_SANITY_CHECK # --------------- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) # Just in case sleep 1 echo timestamp > conftest.file # 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 ( 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 rm -f conftest.file 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 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)]) # Copyright (C) 2001, 2003, 2005 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="\${SHELL} \$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) # Check how to create a tarball. -*- Autoconf -*- # Copyright (C) 2004, 2005 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. # serial 2 # _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. AM_MISSING_PROG([AMTAR], [tar]) m4_if([$1], [v7], [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], [m4_case([$1], [ustar],, [pax],, [m4_fatal([Unknown tar format])]) AC_MSG_CHECKING([how to create a $1 tar archive]) # Loop over all known methods to create a tar archive until one works. _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' _am_tools=${am_cv_prog_tar_$1-$_am_tools} # Do not fold the above two line into one, because Tru64 sh and # Solaris sh will not grok spaces in the rhs of `-'. 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 gnome-blog-0.9.1/blogger_prefs.py0000664000076500007650000001660610446065510013710 00000000000000import gtk import gconf from gettext import gettext as _ from gnomeblog import gconf_widgets from gnomeblog import hig_alert from gnomeblog import blog gconf_prefix = None class LeftLabel(gtk.Label): def __init__(self, string): gtk.Label.__init__(self, string) self.set_alignment(0.0, 0.5) class BloggerPrefs(gtk.Dialog): def __init__(self, prefs_key): gtk.Dialog.__init__(self, title=_("Blogger Preferences"), buttons=(gtk.STOCK_CLOSE, gtk.RESPONSE_CLOSE)) global gconf_prefix gconf_prefix = prefs_key client = gconf.client_get_default() client.add_dir(gconf_prefix, gconf.CLIENT_PRELOAD_ONELEVEL) self.set_border_width(5) self.set_resizable(False) self.set_has_separator(False) self.vbox.set_spacing(2) blogTypeMenu = gconf_widgets.OptionMenu(gconf_prefix + "/blog_type") blogTypeMenu.setStringValuePairs([("blogs.gnome.org", "blogs.gnome.org"), ("Blogger.com", "blogger.com"), ("Advogato", "advogato.org"), ("LiveJournal", "livejournal.com"), ("-", ""), (_("Self-Run MovableType"), "custom-mt"), (_("Self-Run Pyblosxom"), "custom-pybloxsom"), (_("Self-Run WordPress"), "custom-wordpress"), (_("Self-Run Other"), "custom")]) blogTypeBox = gtk.HBox() blogTypeBox.set_spacing(12) blogTypeBox.pack_start(LeftLabel(_("Blog Type:")), expand=False) blogTypeBox.pack_end(blogTypeMenu) self.blogProtocolMenu = gconf_widgets.OptionMenu(gconf_prefix + "/blog_protocol") self.blogProtocolMenu.setStringValuePairs([("BloggerAPI", "bloggerAPI"), ("Advogato", "advogato"), ("LiveJournal", "livejournal"), ("MetaWeblog", "MetaWeblog")]) self.blogProtocolLabel = LeftLabel(_("Blog Protocol:")) self.urlEntry = gconf_widgets.Entry(gconf_prefix + "/xmlrpc_url") self.urlEntry.set_width_chars(45) self.urlLabel = LeftLabel(_("Base Blog URL:")) self.blogLabel = LeftLabel(_("Blog Name:")) self.blogMenu = gconf_widgets.OptionMenu(gconf_prefix + "/blog_id") self.lookupButton = gtk.Button(_("Lookup Blogs")) self.lookupButton.connect("clicked", self._onLookupBlogsButton) table = gtk.Table(rows=4, columns=3) table.set_row_spacings(6) table.set_col_spacings(12) table.attach(self.blogProtocolLabel, 0, 1, 0, 1, xoptions=gtk.FILL) table.attach(self.urlLabel, 0, 1, 1, 2, xoptions=gtk.FILL) table.attach(LeftLabel(_("Username:")), 0, 1, 2, 3, xoptions=gtk.FILL) table.attach(LeftLabel(_("Password:")), 0, 1, 3, 4, xoptions=gtk.FILL) table.attach(self.blogLabel, 0, 1, 4, 5, xoptions=gtk.FILL) table.attach(self.blogProtocolMenu, 1, 3, 0, 1) table.attach(self.urlEntry, 1, 3, 1, 2) table.attach(gconf_widgets.Entry(gconf_prefix + "/blog_username"), 1, 3, 2, 3) table.attach(gconf_widgets.Entry(gconf_prefix + "/blog_password", True), 1, 3, 3, 4) table.attach(self.blogMenu, 1, 2, 4, 5) table.attach(self.lookupButton, 2, 3, 4, 5, xoptions=gtk.FILL) vbox = gtk.VBox() vbox.pack_start(blogTypeBox) vbox.pack_start(gtk.HSeparator()) vbox.pack_start(table) vbox.set_spacing(6) vbox.set_border_width(5) self.vbox.pack_start(vbox) vbox.show_all() self.notify = client.notify_add(gconf_prefix + "/blog_type", self._gconfBlogTypeChange) blog_type = client.get_string(gconf_prefix + "/blog_type") self._updateBlogType(blog_type) def _gconfBlogTypeChange (self, client, cnxn_id, entry, what): blog_type = entry.value.get_string() self._updateBlogType(blog_type) def _updateBlogType(self, blog_type): client = gconf.client_get_default() lookup = True print 'blog type: ' + blog_type if blog_type == "custom": url = None url_ending = "" protocol = None url_description = _("XML-RPC URL:") elif blog_type == "custom-mt": url = None url_ending = "/mt-xmlrpc.cgi" protocol = "MetaWeblog" url_description = _("Base Blog URL:") elif blog_type == "custom-pybloxsom": url = None url_ending = "/RPC" protocol = "bloggerAPI" url_description = _("Base Blog URL:") elif blog_type == "custom-wordpress": url = None url_ending = "/wordpress/xmlrpc.php" protocol = "MetaWeblog" url_description = _("Base Blog URL:") elif blog_type == "blogs.gnome.org": url = "http://blogs.gnome.org/xmlrpc/" url_ending = "" protocol = "MetaWeblog" url_description = _("XML-RPC URL:") elif blog_type == "blogger.com": url = "http://www.blogger.com/api/RPC2" url_ending = "" protocol = "bloggerAPI" url_description = _("XML-RPC URL:") elif blog_type == "advogato.org": url = "http://www.advogato.org/XMLRPC" url_ending = "" protocol = "advogato" url_description = _("XML-RPC URL:") lookup = False elif (blog_type == "livejournal.com"): url = "http://www.livejournal.com/interface/xmlrpc" url_ending = "" protocol = "livejournal" url_description = _("XML-RPC URL:") lookup = False else: url = None url_ending = "" protocol = None url_description = None lookup = False hig_alert.reportError(_("Unknown blog type"), _("The detected blog type is not among the list of supported blogs")) if url != None: self.urlEntry.set_sensitive(False) self.urlLabel.set_sensitive(False) client.set_string(gconf_prefix + "/xmlrpc_url", url) else: self.urlEntry.set_sensitive(True) self.urlLabel.set_sensitive(True) if protocol != None: self.blogProtocolMenu.set_sensitive(False) self.blogProtocolLabel.set_sensitive(False) print 'Setting: ' + gconf_prefix + '/blog_protocol' + ' to ' + protocol client.set_string(gconf_prefix + "/blog_protocol", protocol) else: self.blogProtocolMenu.set_sensitive(True) self.blogProtocolLabel.set_sensitive(True) if url_description: self.urlLabel.set_text(url_description) client.set_string(gconf_prefix + "/url_ending", url_ending) self.lookupButton.set_sensitive(lookup) self.blogMenu.set_sensitive(lookup) self.blogLabel.set_sensitive(lookup) def _onLookupBlogsButton (self, button): client = gconf.client_get_default() blog_id_pairs = blog.getBlogList(gconf_prefix) self.blogMenu.setStringValuePairs(blog_id_pairs) if __name__ == '__main__': dialog = BloggerPrefs ("/apps/gnome-blog") dialog.run () gnome-blog-0.9.1/README0000664000076500007650000000027107724737503011402 00000000000000gnome-blog is a panel object (aka applet) that can post to bloggerAPI compatible blogs including blogger.com, pyblosxom, and moveable-type. It requires a recent version of gnome-python.gnome-blog-0.9.1/GNOME_BlogApplet.xml0000664000076500007650000000046507725255031014217 00000000000000 gnome-blog-0.9.1/configure0000775000076500007650000066254010446321173012431 00000000000000#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.59. # # Copyright (C) 2003 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 Bourne compatible if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then set -o posix fi DUALCASE=1; export DUALCASE # for MKS sh # Support unset when possible. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset else as_unset=false fi # Work around bugs in pre-3.0 UWIN ksh. $as_unset ENV MAIL MAILPATH PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. for as_var in \ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ LC_TELEPHONE LC_TIME do if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then eval $as_var=C; export $as_var else $as_unset $as_var fi done # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1; 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 # Name of the executable. as_me=`$as_basename "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)$' \| \ . : '\(.\)' 2>/dev/null || echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } /^X\/\(\/\/\)$/{ s//\1/; q; } /^X\/\(\/\).*/{ s//\1/; q; } s/.*/./; q'` # PATH needs CR, and LINENO needs CR and PATH. # 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 # 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 as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" || { # Find who we are. Look in the path if we contain no path at all # relative or not. 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 ;; 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 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 { (exit 1); exit 1; }; } fi case $CONFIG_SHELL in '') as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for as_base in sh bash ksh sh5; do case $as_dir in /*) if ("$as_dir/$as_base" -c ' as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } CONFIG_SHELL=$as_dir/$as_base export CONFIG_SHELL exec "$CONFIG_SHELL" "$0" ${1+"$@"} fi;; esac done done ;; esac # Create $as_me.lineno as a copy of $as_myself, but with $LINENO # uniformly replaced by the line number. The first 'sed' inserts a # line-number line before each line; the second 'sed' does the real # work. The second script uses 'N' to pair each line-number line # with the numbered line, and appends trailing '-' during # substitution so that $LINENO is not a special case at line end. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) sed '=' <$as_myself | sed ' N s,$,-, : loop s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, t loop s,-$,, s,^['$as_cr_digits']*\n,, ' >$as_me.lineno && chmod +x $as_me.lineno || { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 { (exit 1); exit 1; }; } # 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 sensible to this). . ./$as_me.lineno # Exit status is that of the last command. exit } case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in *c*,-n*) ECHO_N= ECHO_C=' ' ECHO_T=' ' ;; *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; *) ECHO_N= ECHO_C='\c' ECHO_T= ;; esac if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=expr else as_expr=false fi rm -f conf$$ conf$$.exe conf$$.file echo >conf$$.file if ln -s conf$$.file conf$$ 2>/dev/null; then # We could just check for DJGPP; but this test a) works b) is more generic # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). if test -f conf$$.exe; then # Don't use ln at all; we don't have any links as_ln_s='cp -p' else as_ln_s='ln -s' fi elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.file if mkdir -p . 2>/dev/null; then as_mkdir_p=: else test -d ./-p && rmdir ./-p as_mkdir_p=false fi as_executable_p="test -f" # 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'" # IFS # We need space, tab and new line, in precisely that order. as_nl=' ' IFS=" $as_nl" # CDPATH. $as_unset CDPATH # Name of the host. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` exec 6>&1 # # Initializations. # ac_default_prefix=/usr/local ac_config_libobj_dir=. cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= SHELL=${CONFIG_SHELL-/bin/sh} # Maximum number of lines to put in a shell here document. # This variable seems obsolete. It should probably be removed, and # only ac_max_sed_lines should be used. : ${ac_max_here_lines=38} # Identity of this package. PACKAGE_NAME= PACKAGE_TARNAME= PACKAGE_VERSION= PACKAGE_STRING= PACKAGE_BUGREPORT= ac_unique_file="blog_applet.py" # Factoring default headers for most tests. ac_includes_default="\ #include #if HAVE_SYS_TYPES_H # include #endif #if HAVE_SYS_STAT_H # include #endif #if STDC_HEADERS # include # include #else # if HAVE_STDLIB_H # include # endif #endif #if HAVE_STRING_H # if !STDC_HEADERS && HAVE_MEMORY_H # include # endif # include #endif #if HAVE_STRINGS_H # include #endif #if HAVE_INTTYPES_H # include #else # if HAVE_STDINT_H # include # endif #endif #if HAVE_UNISTD_H # include #endif" ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT GCONFTOOL GCONF_SCHEMA_CONFIG_SOURCE GCONF_SCHEMA_FILE_DIR GCONF_SCHEMAS_INSTALL_TRUE GCONF_SCHEMAS_INSTALL_FALSE INTLTOOL_DESKTOP_RULE INTLTOOL_DIRECTORY_RULE INTLTOOL_KEYS_RULE INTLTOOL_PROP_RULE INTLTOOL_OAF_RULE INTLTOOL_PONG_RULE INTLTOOL_SERVER_RULE INTLTOOL_SHEET_RULE INTLTOOL_SOUNDLIST_RULE INTLTOOL_UI_RULE INTLTOOL_XAM_RULE INTLTOOL_KBD_RULE INTLTOOL_XML_RULE INTLTOOL_XML_NOMERGE_RULE INTLTOOL_CAVES_RULE INTLTOOL_SCHEMAS_RULE INTLTOOL_THEME_RULE INTLTOOL_SERVICE_RULE INTLTOOL_EXTRACT INTLTOOL_MERGE INTLTOOL_UPDATE INTLTOOL_PERL INTLTOOL_ICONV INTLTOOL_MSGFMT INTLTOOL_MSGMERGE INTLTOOL_XGETTEXT ALL_LINGUAS PYTHON PYTHON_VERSION PYTHON_PREFIX PYTHON_EXEC_PREFIX PYTHON_PLATFORM pythondir pkgpythondir pyexecdir pkgpyexecdir PKG_CONFIG ac_pt_PKG_CONFIG PYGTK_CFLAGS PYGTK_LIBS GETTEXT_PACKAGE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP USE_NLS MSGFMT GMSGFMT XGETTEXT CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLLIBS PO_IN_DATADIR_TRUE PO_IN_DATADIR_FALSE POFILES POSUB MKINSTALLDIRS LIBOBJS LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. ac_init_help= ac_init_version=false # 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. bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datadir='${prefix}/share' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' libdir='${exec_prefix}/lib' includedir='${prefix}/include' oldincludedir='/usr/include' infodir='${prefix}/info' mandir='${prefix}/man' ac_prev= 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 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` # Accept the important Cygnus configure options, so we can diagnose typos. case $ac_option in -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 | --data | --dat | --da) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | --da=*) datadir=$ac_optarg ;; -disable-* | --disable-*) ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid feature name: $ac_feature" >&2 { (exit 1); exit 1; }; } ac_feature=`echo $ac_feature | sed 's/-/_/g'` eval "enable_$ac_feature=no" ;; -enable-* | --enable-*) ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid feature name: $ac_feature" >&2 { (exit 1); exit 1; }; } ac_feature=`echo $ac_feature | sed 's/-/_/g'` case $ac_option in *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; *) ac_optarg=yes ;; esac eval "enable_$ac_feature='$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 ;; -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 ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst \ | --locals | --local | --loca | --loc | --lo) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 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 ;; -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_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid package name: $ac_package" >&2 { (exit 1); exit 1; }; } ac_package=`echo $ac_package| sed 's/-/_/g'` case $ac_option in *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; *) ac_optarg=yes ;; esac eval "with_$ac_package='$ac_optarg'" ;; -without-* | --without-*) ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid package name: $ac_package" >&2 { (exit 1); exit 1; }; } ac_package=`echo $ac_package | sed 's/-/_/g'` eval "with_$ac_package=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 ;; -*) { echo "$as_me: error: unrecognized option: $ac_option Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; } ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 { (exit 1); exit 1; }; } ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` eval "$ac_envvar='$ac_optarg'" export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 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'` { echo "$as_me: error: missing argument to $ac_option" >&2 { (exit 1); exit 1; }; } fi # Be sure to have absolute paths. for ac_var in exec_prefix prefix do eval ac_val=$`echo $ac_var` case $ac_val in [\\/$]* | ?:[\\/]* | NONE | '' ) ;; *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 { (exit 1); exit 1; }; };; esac done # Be sure to have absolute paths. for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ localstatedir libdir includedir oldincludedir infodir mandir do eval ac_val=$`echo $ac_var` case $ac_val in [\\/$]* | ?:[\\/]* ) ;; *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 { (exit 1); exit 1; }; };; esac 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 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used." >&2 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 # 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 its parent. ac_confdir=`(dirname "$0") 2>/dev/null || $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$0" : 'X\(//\)[^/]' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$0" | 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 if test "$ac_srcdir_defaulted" = yes; then { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 { (exit 1); exit 1; }; } else { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 { (exit 1); exit 1; }; } fi fi (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 { (exit 1); exit 1; }; } srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` ac_env_build_alias_set=${build_alias+set} ac_env_build_alias_value=$build_alias ac_cv_env_build_alias_set=${build_alias+set} ac_cv_env_build_alias_value=$build_alias ac_env_host_alias_set=${host_alias+set} ac_env_host_alias_value=$host_alias ac_cv_env_host_alias_set=${host_alias+set} ac_cv_env_host_alias_value=$host_alias ac_env_target_alias_set=${target_alias+set} ac_env_target_alias_value=$target_alias ac_cv_env_target_alias_set=${target_alias+set} ac_cv_env_target_alias_value=$target_alias ac_env_PKG_CONFIG_set=${PKG_CONFIG+set} ac_env_PKG_CONFIG_value=$PKG_CONFIG ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set} ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG ac_env_PYGTK_CFLAGS_set=${PYGTK_CFLAGS+set} ac_env_PYGTK_CFLAGS_value=$PYGTK_CFLAGS ac_cv_env_PYGTK_CFLAGS_set=${PYGTK_CFLAGS+set} ac_cv_env_PYGTK_CFLAGS_value=$PYGTK_CFLAGS ac_env_PYGTK_LIBS_set=${PYGTK_LIBS+set} ac_env_PYGTK_LIBS_value=$PYGTK_LIBS ac_cv_env_PYGTK_LIBS_set=${PYGTK_LIBS+set} ac_cv_env_PYGTK_LIBS_value=$PYGTK_LIBS ac_env_CC_set=${CC+set} ac_env_CC_value=$CC ac_cv_env_CC_set=${CC+set} ac_cv_env_CC_value=$CC ac_env_CFLAGS_set=${CFLAGS+set} ac_env_CFLAGS_value=$CFLAGS ac_cv_env_CFLAGS_set=${CFLAGS+set} ac_cv_env_CFLAGS_value=$CFLAGS ac_env_LDFLAGS_set=${LDFLAGS+set} ac_env_LDFLAGS_value=$LDFLAGS ac_cv_env_LDFLAGS_set=${LDFLAGS+set} ac_cv_env_LDFLAGS_value=$LDFLAGS ac_env_CPPFLAGS_set=${CPPFLAGS+set} ac_env_CPPFLAGS_value=$CPPFLAGS ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} ac_cv_env_CPPFLAGS_value=$CPPFLAGS ac_env_CPP_set=${CPP+set} ac_env_CPP_value=$CPP ac_cv_env_CPP_set=${CPP+set} ac_cv_env_CPP_value=$CPP # # 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 this package 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 \`..'] _ACEOF cat <<_ACEOF 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] --datadir=DIR read-only architecture-independent data [PREFIX/share] --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] --infodir=DIR info documentation [PREFIX/info] --mandir=DIR man documentation [PREFIX/man] _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 _ACEOF fi if test -n "$ac_init_help"; then cat <<\_ACEOF Optional Features: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer --disable-schemas-install Disable the schemas installation --disable-dependency-tracking speeds up one-time build --enable-dependency-tracking do not reject slow dependency extractors Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-gconf-source=sourceaddress Config database for installing schema files. --with-gconf-schema-file-dir=dir Directory for installing schema files. Some influential environment variables: PKG_CONFIG path to pkg-config utility PYGTK_CFLAGS C compiler flags for PYGTK, overriding pkg-config PYGTK_LIBS linker flags for PYGTK, overriding pkg-config CC C compiler command CFLAGS C compiler flags LDFLAGS linker flags, e.g. -L if you have libraries in a nonstandard directory CPPFLAGS C/C++ preprocessor flags, e.g. -I if you have headers in a nonstandard directory 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. _ACEOF fi if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. ac_popdir=`pwd` for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue test -d $ac_dir || continue ac_builddir=. if test "$ac_dir" != .; then ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` # A "../" for each directory in $ac_dir_suffix. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` else ac_dir_suffix= ac_top_builddir= fi case $srcdir in .) # No --srcdir option. We are building in place. ac_srcdir=. if test -z "$ac_top_builddir"; then ac_top_srcdir=. else ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` fi ;; [\\/]* | ?:[\\/]* ) # Absolute path. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ;; *) # Relative path. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_builddir$srcdir ;; esac # Do not use `cd foo && pwd` to compute absolute paths, because # the directories may not exist. case `pwd` in .) ac_abs_builddir="$ac_dir";; *) case "$ac_dir" in .) ac_abs_builddir=`pwd`;; [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; *) ac_abs_builddir=`pwd`/"$ac_dir";; esac;; esac case $ac_abs_builddir in .) ac_abs_top_builddir=${ac_top_builddir}.;; *) case ${ac_top_builddir}. in .) ac_abs_top_builddir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; esac;; esac case $ac_abs_builddir in .) ac_abs_srcdir=$ac_srcdir;; *) case $ac_srcdir in .) ac_abs_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; esac;; esac case $ac_abs_builddir in .) ac_abs_top_srcdir=$ac_top_srcdir;; *) case $ac_top_srcdir in .) ac_abs_top_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; esac;; esac cd $ac_dir # Check for guested configure; otherwise get Cygnus style 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 elif test -f $ac_srcdir/configure.ac || test -f $ac_srcdir/configure.in; then echo $ac_configure --help else echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi cd $ac_popdir done fi test -n "$ac_init_help" && exit 0 if $ac_init_version; then cat <<\_ACEOF Copyright (C) 2003 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 0 fi exec 5>config.log cat >&5 <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by $as_me, which was generated by GNU Autoconf 2.59. Invocation command line was $ $0 $@ _ACEOF { 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` hostinfo = `(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=. echo "PATH: $as_dir" done } >&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_sep= 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=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 2) ac_configure_args1="$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 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" # Get rid of the leading space. ac_sep=" " ;; esac done done $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export 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: Be sure not to use single quotes in there, as some shells, # such as our DU 5.0 friend, will then `close' the trap. trap 'exit_status=$? # Save into config.log some information that might help in debugging. { echo cat <<\_ASBOX ## ---------------- ## ## Cache variables. ## ## ---------------- ## _ASBOX echo # The following way of writing the cache mishandles newlines in values, { (set) 2>&1 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in *ac_space=\ *) sed -n \ "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" ;; *) sed -n \ "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" ;; esac; } echo cat <<\_ASBOX ## ----------------- ## ## Output variables. ## ## ----------------- ## _ASBOX echo for ac_var in $ac_subst_vars do eval ac_val=$`echo $ac_var` echo "$ac_var='"'"'$ac_val'"'"'" done | sort echo if test -n "$ac_subst_files"; then cat <<\_ASBOX ## ------------- ## ## Output files. ## ## ------------- ## _ASBOX echo for ac_var in $ac_subst_files do eval ac_val=$`echo $ac_var` echo "$ac_var='"'"'$ac_val'"'"'" done | sort echo fi if test -s confdefs.h; then cat <<\_ASBOX ## ----------- ## ## confdefs.h. ## ## ----------- ## _ASBOX echo sed "/^$/d" confdefs.h | sort echo fi test "$ac_signal" != 0 && echo "$as_me: caught signal $ac_signal" echo "$as_me: exit $exit_status" } >&5 rm -f core *.core && rm -rf conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status ' 0 for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -rf conftest* confdefs.h # AIX cpp loses on an empty file, so make sure it contains at least a newline. echo >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 # Let the site file select an alternate cache file if it wants to. # Prefer explicitly selected file to automatically selected ones. if test -z "$CONFIG_SITE"; then if test "x$prefix" != xNONE; then CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" else CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" fi fi for ac_site_file in $CONFIG_SITE; do if test -r "$ac_site_file"; then { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" 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. if test -f "$cache_file"; then { echo "$as_me:$LINENO: loading cache $cache_file" >&5 echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . $cache_file;; *) . ./$cache_file;; esac fi else { echo "$as_me:$LINENO: creating cache $cache_file" >&5 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 `(set) 2>&1 | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; 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,) { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 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 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 echo "$as_me: former value: $ac_old_val" >&2;} { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 echo "$as_me: current value: $ac_new_val" >&2;} ac_cache_corrupted=: fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) ac_arg=$ac_var=`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. *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 echo "$as_me: error: changes in the environment can compromise the build" >&2;} { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} { (exit 1); exit 1; }; } 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_config_headers="$ac_config_headers config.h" am__api_version="1.9" ac_aux_dir= for ac_dir in $srcdir $srcdir/.. $srcdir/../..; 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 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} { (exit 1); exit 1; }; } fi ac_config_guess="$SHELL $ac_aux_dir/config.guess" ac_config_sub="$SHELL $ac_aux_dir/config.sub" ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. # 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. echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 if test -z "$INSTALL"; then if test "${ac_cv_path_install+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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_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 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi done done ;; esac done 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. We don't cache a # path for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the path is relative. INSTALL=$ac_install_sh fi fi echo "$as_me:$LINENO: result: $INSTALL" >&5 echo "${ECHO_T}$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' echo "$as_me:$LINENO: checking whether build environment is sane" >&5 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 # Just in case sleep 1 echo timestamp > conftest.file # 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 ( 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 rm -f conftest.file 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". { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken alias in your environment" >&5 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken alias in your environment" >&2;} { (exit 1); exit 1; }; } fi test "$2" = conftest.file ) then # Ok. : else { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! Check your system clock" >&5 echo "$as_me: error: newly created file is older than distributed files! Check your system clock" >&2;} { (exit 1); exit 1; }; } fi echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 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 $. echo might interpret backslashes. # By default was `s,x,x', remove it if useless. cat <<\_ACEOF >conftest.sed s/[\\$]/&&/g;s/;s,x,x,$// _ACEOF program_transform_name=`echo $program_transform_name | sed -f conftest.sed` rm conftest.sed # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} fi if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then # We used to keeping the `.' as first argument, in order to # allow $(mkdir_p) to be used without argument. As in # $(mkdir_p) $(somedir) # where $(somedir) is conditionally defined. However this is wrong # for two reasons: # 1. if the package is installed by a user who cannot write `.' # make install will fail, # 2. the above comment should most certainly read # $(mkdir_p) $(DESTDIR)$(somedir) # so it does not work when $(somedir) is undefined and # $(DESTDIR) is not. # To support the latter case, we have to write # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), # so the `.' trick is pointless. mkdir_p='mkdir -p --' else # On NextStep and OpenStep, the `mkdir' command does not # recognize any option. It will interpret all options as # directories to create, and then abort because `.' already # exists. for d in ./-p ./--version; do test -d $d && rmdir $d done # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. if test -f "$ac_aux_dir/mkinstalldirs"; then mkdir_p='$(mkinstalldirs)' else mkdir_p='$(install_sh) -d' fi fi 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 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_AWK+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AWK="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then echo "$as_me:$LINENO: result: $AWK" >&5 echo "${ECHO_T}$AWK" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$AWK" && break done echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.make <<\_ACEOF all: @echo 'ac_maketemp="$(MAKE)"' _ACEOF # GNU make sometimes prints "make[1]: Entering...", which would confuse us. eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` if test -n "$ac_maketemp"; then eval ac_cv_prog_make_${ac_make}_set=yes else eval ac_cv_prog_make_${ac_make}_set=no fi rm -f conftest.make fi if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 SET_MAKE= else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}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 # test to see if srcdir already configured if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} { (exit 1); exit 1; }; } 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=gnome-blog VERSION=0.9.1 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"} install_sh=${install_sh-"$am_aux_dir/install-sh"} # 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 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then echo "$as_me:$LINENO: result: $STRIP" >&5 echo "${ECHO_T}$STRIP" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}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 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 echo "${ECHO_T}$ac_ct_STRIP" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi STRIP=$ac_ct_STRIP else STRIP="$ac_cv_prog_STRIP" fi fi INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" # We need awk for the "check" target. The system "awk" is bad on # some platforms. # Always define AMTAR for backward compatibility. AMTAR=${AMTAR-"${am_missing_run}tar"} am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. if test "${enable_maintainer_mode+set}" = set; then enableval="$enable_maintainer_mode" USE_MAINTAINER_MODE=$enableval else USE_MAINTAINER_MODE=no fi; echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6 if test $USE_MAINTAINER_MODE = yes; then MAINTAINER_MODE_TRUE= MAINTAINER_MODE_FALSE='#' else MAINTAINER_MODE_TRUE='#' MAINTAINER_MODE_FALSE= fi MAINT=$MAINTAINER_MODE_TRUE # Extract the first word of "gconftool-2", so it can be a program name with args. set dummy gconftool-2; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_GCONFTOOL+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $GCONFTOOL in [\\/]* | ?:[\\/]*) ac_cv_path_GCONFTOOL="$GCONFTOOL" # 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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_GCONFTOOL="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done ;; esac fi GCONFTOOL=$ac_cv_path_GCONFTOOL if test -n "$GCONFTOOL"; then echo "$as_me:$LINENO: result: $GCONFTOOL" >&5 echo "${ECHO_T}$GCONFTOOL" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source` else GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE fi # Check whether --with-gconf-source or --without-gconf-source was given. if test "${with_gconf_source+set}" = set; then withval="$with_gconf_source" GCONF_SCHEMA_CONFIG_SOURCE="$withval" fi; echo "$as_me:$LINENO: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5 echo "${ECHO_T}Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6 if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas' fi # Check whether --with-gconf-schema-file-dir or --without-gconf-schema-file-dir was given. if test "${with_gconf_schema_file_dir+set}" = set; then withval="$with_gconf_schema_file_dir" GCONF_SCHEMA_FILE_DIR="$withval" fi; echo "$as_me:$LINENO: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5 echo "${ECHO_T}Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6 # Check whether --enable-schemas-install or --disable-schemas-install was given. if test "${enable_schemas_install+set}" = set; then enableval="$enable_schemas_install" case ${enableval} in yes|no) ;; *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-schemas-install" >&5 echo "$as_me: error: bad value ${enableval} for --enable-schemas-install" >&2;} { (exit 1); exit 1; }; } ;; esac fi; if test "$enable_schemas_install" != no; then GCONF_SCHEMAS_INSTALL_TRUE= GCONF_SCHEMAS_INSTALL_FALSE='#' else GCONF_SCHEMAS_INSTALL_TRUE='#' GCONF_SCHEMAS_INSTALL_FALSE= fi case "$am__api_version" in 1.01234) { { echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5 echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;} { (exit 1); exit 1; }; } ;; *) ;; esac if test -n "0.21"; then echo "$as_me:$LINENO: checking for intltool >= 0.21" >&5 echo $ECHO_N "checking for intltool >= 0.21... $ECHO_C" >&6 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.21 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { print $ 2; }' ${ac_aux_dir}/intltool-update.in` INTLTOOL_APPLIED_VERSION_AS_INT=`awk -F\" '/\\$VERSION / { split($ 2, VERSION, "."); print VERSION[1] * 1000 + VERSION[2] * 100 + VERSION[3];}' ${ac_aux_dir}/intltool-update.in` echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5 echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || { { echo "$as_me:$LINENO: error: Your intltool is too old. You need intltool 0.21 or later." >&5 echo "$as_me: error: Your intltool is too old. You need intltool 0.21 or later." >&2;} { (exit 1); exit 1; }; } fi INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -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) ; LC_ALL=C $(INTLTOOL_MERGE) -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) ; LC_ALL=C $(INTLTOOL_MERGE) -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) ; LC_ALL=C $(INTLTOOL_MERGE) -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) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@' INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -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) ; LC_ALL=C $(INTLTOOL_MERGE) -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) ; LC_ALL=C $(INTLTOOL_MERGE) -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) ; LC_ALL=C $(INTLTOOL_MERGE) -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) ; LC_ALL=C $(INTLTOOL_MERGE) -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) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@' INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -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) ; LC_ALL=C $(INTLTOOL_MERGE) -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) ; LC_ALL=C $(INTLTOOL_MERGE) -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) ; LC_ALL=C $(INTLTOOL_MERGE) -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) ; LC_ALL=C $(INTLTOOL_MERGE) -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) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' # Use the tools built into the package, not the ones that are installed. INTLTOOL_EXTRACT='$(top_builddir)/intltool-extract' INTLTOOL_MERGE='$(top_builddir)/intltool-merge' INTLTOOL_UPDATE='$(top_builddir)/intltool-update' # Extract the first word of "perl", so it can be a program name with args. set dummy perl; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done ;; esac fi INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL if test -n "$INTLTOOL_PERL"; then echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5 echo "${ECHO_T}$INTLTOOL_PERL" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi if test -z "$INTLTOOL_PERL"; then { { echo "$as_me:$LINENO: error: perl not found; required for intltool" >&5 echo "$as_me: error: perl not found; required for intltool" >&2;} { (exit 1); exit 1; }; } fi if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then { { echo "$as_me:$LINENO: error: perl 5.x required for intltool" >&5 echo "$as_me: error: perl 5.x required for intltool" >&2;} { (exit 1); exit 1; }; } fi if test "x" != "xno-xml"; then echo "$as_me:$LINENO: checking for XML::Parser" >&5 echo $ECHO_N "checking for XML::Parser... $ECHO_C" >&6 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then echo "$as_me:$LINENO: result: ok" >&5 echo "${ECHO_T}ok" >&6 else { { echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5 echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;} { (exit 1); exit 1; }; } fi fi # Extract the first word of "iconv", so it can be a program name with args. set dummy iconv; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_INTLTOOL_ICONV+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $INTLTOOL_ICONV in [\\/]* | ?:[\\/]*) ac_cv_path_INTLTOOL_ICONV="$INTLTOOL_ICONV" # 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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_INTLTOOL_ICONV="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path_INTLTOOL_ICONV" && ac_cv_path_INTLTOOL_ICONV="iconv" ;; esac fi INTLTOOL_ICONV=$ac_cv_path_INTLTOOL_ICONV if test -n "$INTLTOOL_ICONV"; then echo "$as_me:$LINENO: result: $INTLTOOL_ICONV" >&5 echo "${ECHO_T}$INTLTOOL_ICONV" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_INTLTOOL_MSGFMT+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $INTLTOOL_MSGFMT in [\\/]* | ?:[\\/]*) ac_cv_path_INTLTOOL_MSGFMT="$INTLTOOL_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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_INTLTOOL_MSGFMT="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path_INTLTOOL_MSGFMT" && ac_cv_path_INTLTOOL_MSGFMT="msgfmt" ;; esac fi INTLTOOL_MSGFMT=$ac_cv_path_INTLTOOL_MSGFMT if test -n "$INTLTOOL_MSGFMT"; then echo "$as_me:$LINENO: result: $INTLTOOL_MSGFMT" >&5 echo "${ECHO_T}$INTLTOOL_MSGFMT" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi # Extract the first word of "msgmerge", so it can be a program name with args. set dummy msgmerge; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_INTLTOOL_MSGMERGE+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $INTLTOOL_MSGMERGE in [\\/]* | ?:[\\/]*) ac_cv_path_INTLTOOL_MSGMERGE="$INTLTOOL_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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_INTLTOOL_MSGMERGE="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path_INTLTOOL_MSGMERGE" && ac_cv_path_INTLTOOL_MSGMERGE="msgmerge" ;; esac fi INTLTOOL_MSGMERGE=$ac_cv_path_INTLTOOL_MSGMERGE if test -n "$INTLTOOL_MSGMERGE"; then echo "$as_me:$LINENO: result: $INTLTOOL_MSGMERGE" >&5 echo "${ECHO_T}$INTLTOOL_MSGMERGE" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_INTLTOOL_XGETTEXT+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $INTLTOOL_XGETTEXT in [\\/]* | ?:[\\/]*) ac_cv_path_INTLTOOL_XGETTEXT="$INTLTOOL_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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_INTLTOOL_XGETTEXT="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path_INTLTOOL_XGETTEXT" && ac_cv_path_INTLTOOL_XGETTEXT="xgettext" ;; esac fi INTLTOOL_XGETTEXT=$ac_cv_path_INTLTOOL_XGETTEXT if test -n "$INTLTOOL_XGETTEXT"; then echo "$as_me:$LINENO: result: $INTLTOOL_XGETTEXT" >&5 echo "${ECHO_T}$INTLTOOL_XGETTEXT" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi # Substitute ALL_LINGUAS so we can use it in po/Makefile ac_config_commands="$ac_config_commands intltool" # Find any Python interpreter. if test -z "$PYTHON"; then for ac_prog in python python2 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_PYTHON+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $PYTHON in [\\/]* | ?:[\\/]*) ac_cv_path_PYTHON="$PYTHON" # 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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done ;; esac fi PYTHON=$ac_cv_path_PYTHON if test -n "$PYTHON"; then echo "$as_me:$LINENO: result: $PYTHON" >&5 echo "${ECHO_T}$PYTHON" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$PYTHON" && break done test -n "$PYTHON" || PYTHON=":" fi am_display_PYTHON=python if test "$PYTHON" = :; then { { echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5 echo "$as_me: error: no suitable Python interpreter found" >&2;} { (exit 1); exit 1; }; } else echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5 echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6 if test "${am_cv_python_version+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"` fi echo "$as_me:$LINENO: result: $am_cv_python_version" >&5 echo "${ECHO_T}$am_cv_python_version" >&6 PYTHON_VERSION=$am_cv_python_version PYTHON_PREFIX='${prefix}' PYTHON_EXEC_PREFIX='${exec_prefix}' echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5 echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6 if test "${am_cv_python_platform+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"` fi echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5 echo "${ECHO_T}$am_cv_python_platform" >&6 PYTHON_PLATFORM=$am_cv_python_platform echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5 echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6 if test "${am_cv_python_pythondir+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null || echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"` fi echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5 echo "${ECHO_T}$am_cv_python_pythondir" >&6 pythondir=$am_cv_python_pythondir pkgpythondir=\${pythondir}/$PACKAGE echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5 echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6 if test "${am_cv_python_pyexecdir+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null || echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"` fi echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5 echo "${ECHO_T}$am_cv_python_pyexecdir" >&6 pyexecdir=$am_cv_python_pyexecdir pkgpyexecdir=\${pyexecdir}/$PACKAGE fi if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # 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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done ;; esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 echo "${ECHO_T}$PKG_CONFIG" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$ac_cv_path_PKG_CONFIG"; then ac_pt_PKG_CONFIG=$PKG_CONFIG # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $ac_pt_PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # 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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done ;; esac fi ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG if test -n "$ac_pt_PKG_CONFIG"; then echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi PKG_CONFIG=$ac_pt_PKG_CONFIG else PKG_CONFIG="$ac_cv_path_PKG_CONFIG" fi fi if test -n "$PKG_CONFIG"; then _pkg_min_version=0.9.0 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 PKG_CONFIG="" fi fi pkg_failed=no echo "$as_me:$LINENO: checking for PYGTK" >&5 echo $ECHO_N "checking for PYGTK... $ECHO_C" >&6 if test -n "$PKG_CONFIG"; then if test -n "$PYGTK_CFLAGS"; then pkg_cv_PYGTK_CFLAGS="$PYGTK_CFLAGS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pygtk-2.0 >= 2.6\"") >&5 ($PKG_CONFIG --exists --print-errors "pygtk-2.0 >= 2.6") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_PYGTK_CFLAGS=`$PKG_CONFIG --cflags "pygtk-2.0 >= 2.6" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test -n "$PKG_CONFIG"; then if test -n "$PYGTK_LIBS"; then pkg_cv_PYGTK_LIBS="$PYGTK_LIBS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pygtk-2.0 >= 2.6\"") >&5 ($PKG_CONFIG --exists --print-errors "pygtk-2.0 >= 2.6") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_PYGTK_LIBS=`$PKG_CONFIG --libs "pygtk-2.0 >= 2.6" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test $pkg_failed = yes; then if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then PYGTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pygtk-2.0 >= 2.6"` else PYGTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pygtk-2.0 >= 2.6"` fi # Put the nasty error message in config.log where it belongs echo "$PYGTK_PKG_ERRORS" >&5 { { echo "$as_me:$LINENO: error: Package requirements (pygtk-2.0 >= 2.6) were not met: $PYGTK_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables PYGTK_CFLAGS and PYGTK_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. " >&5 echo "$as_me: error: Package requirements (pygtk-2.0 >= 2.6) were not met: $PYGTK_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables PYGTK_CFLAGS and PYGTK_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. " >&2;} { (exit 1); exit 1; }; } elif test $pkg_failed = untried; then { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables PYGTK_CFLAGS and PYGTK_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details." >&5 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables PYGTK_CFLAGS and PYGTK_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } else PYGTK_CFLAGS=$pkg_cv_PYGTK_CFLAGS PYGTK_LIBS=$pkg_cv_PYGTK_LIBS echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 : fi ALL_LINGUAS="az bg ca cs de en_CA en_GB es et fi fr gl hr hu it ja ms nb ne nl pl pt pt_BR rw sq sr sr@Latn sv uk vi zh_CN zh_TW" GETTEXT_PACKAGE=gnome-blog cat >>confdefs.h <<_ACEOF #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE" _ACEOF DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo done .PHONY: am__doit END # If we don't find an include directive, just comment out the code. echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # We grep out `Entering directory' and `Leaving directory' # messages which can occur if `w' ends up in MAKEFLAGS. # In particular we don't look at `^make:' because GNU make might # be invoked under some other name (usually "gmake"), in which # case it prints its new name instead of `make'. if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then am__include=include am__quote= _am_result=GNU fi # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then am__include=.include am__quote="\"" _am_result=BSD fi fi echo "$as_me:$LINENO: result: $_am_result" >&5 echo "${ECHO_T}$_am_result" >&6 rm -f confinc confmf # Check whether --enable-dependency-tracking or --disable-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='\' 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 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}gcc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}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 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="gcc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi CC=$ac_ct_CC 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 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}cc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="cc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi CC=$ac_ct_CC else CC="$ac_cv_prog_CC" 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 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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_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" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done 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 echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl 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 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$ac_ct_CC" && break done CC=$ac_ct_CC fi fi test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&5 echo "$as_me: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } # Provide some information about the compiler. echo "$as_me:$LINENO:" \ "checking for C compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 (eval $ac_compiler --version &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (eval echo "$as_me:$LINENO: \"$ac_compiler -v &5\"") >&5 (eval $ac_compiler -v &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (eval echo "$as_me:$LINENO: \"$ac_compiler -V &5\"") >&5 (eval $ac_compiler -V &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files a.out 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. echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 (eval $ac_link_default) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then # Find the output, starting from the most likely. This scheme is # not robust to junk in `.', hence go to wildcards (a.*) only as a last # resort. # Be careful to initialize this variable, since it used to be cached. # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. ac_cv_exeext= # b.out is created by i960 compilers. for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; conftest.$ac_ext ) # This is the source file. ;; [ab].out ) # We found the default executable, but exeext='' is most # certainly right. break;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` # FIXME: I believe we export ac_cv_exeext for Libtool, # but it would be cool to find out if it's true. Does anybody # maintain Libtool? --akim. export ac_cv_exeext break;; * ) break;; esac done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { echo "$as_me:$LINENO: error: C compiler cannot create executables See \`config.log' for more details." >&5 echo "$as_me: error: C compiler cannot create executables See \`config.log' for more details." >&2;} { (exit 77); exit 77; }; } fi ac_exeext=$ac_cv_exeext echo "$as_me:$LINENO: result: $ac_file" >&5 echo "${ECHO_T}$ac_file" >&6 # Check the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. echo "$as_me:$LINENO: checking whether the C compiler works" >&5 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 # If not cross compiling, check that we can run a simple program. if test "$cross_compiling" != yes; then if { ac_try='./$ac_file' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else { { echo "$as_me:$LINENO: error: cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details." >&5 echo "$as_me: error: cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi fi fi echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 rm -f a.out a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save # Check the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 echo "$as_me:$LINENO: result: $cross_compiling" >&5 echo "${ECHO_T}$cross_compiling" >&6 echo "$as_me:$LINENO: checking for suffix of executables" >&5 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; 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 | *.o | *.obj ) ;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` export ac_cv_exeext break;; * ) break;; esac done else { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi rm -f conftest$ac_cv_exeext echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 echo "${ECHO_T}$ac_cv_exeext" >&6 rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT echo "$as_me:$LINENO: checking for suffix of object files" >&5 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 if test "${ac_cv_objext+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.o conftest.obj if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` break;; esac done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute suffix of object files: cannot compile See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 echo "${ECHO_T}$ac_cv_objext" >&6 OBJEXT=$ac_cv_objext ac_objext=$OBJEXT echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 if test "${ac_cv_c_compiler_gnu+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_compiler_gnu=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_compiler_gnu=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 GCC=`test $ac_compiler_gnu = yes && echo yes` ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS CFLAGS="-g" echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 if test "${ac_cv_prog_cc_g+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_prog_cc_g=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_prog_cc_g=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 echo "${ECHO_T}$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 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 if test "${ac_cv_prog_cc_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_prog_cc_stdc=no ac_save_CC=$CC cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include /* 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 -std1 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 -std1. */ int osf4_cc_array ['\x00' == 0 ? 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 # Don't try gcc -ansi; that turns off useful extensions and # breaks some systems' header files. # AIX -qlanglvl=ansi # Ultrix and OSF/1 -std1 # HP-UX 10.20 and later -Ae # HP-UX older versions -Aa -D_HPUX_SOURCE # SVR4 -Xc -D__EXTENSIONS__ for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_prog_cc_stdc=$ac_arg break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext done rm -f conftest.$ac_ext conftest.$ac_objext CC=$ac_save_CC fi case "x$ac_cv_prog_cc_stdc" in x|xno) echo "$as_me:$LINENO: result: none needed" >&5 echo "${ECHO_T}none needed" >&6 ;; *) echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 CC="$CC $ac_cv_prog_cc_stdc" ;; esac # Some people use a C++ compiler to compile C. Since we use `exit', # in C++ we need to declare it. In case someone uses the same compiler # for both compiling C and C++ we need to have the C++ compiler decide # the declaration of exit, since it's the most demanding environment. cat >conftest.$ac_ext <<_ACEOF #ifndef __cplusplus choke me #endif _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then for ac_declaration in \ '' \ 'extern "C" void std::exit (int) throw (); using std::exit;' \ 'extern "C" void std::exit (int); using std::exit;' \ 'extern "C" void exit (int) throw ();' \ 'extern "C" void exit (int);' \ 'void exit (int);' do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_declaration #include int main () { exit (42); ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 continue fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_declaration int main () { exit (42); ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done rm -f conftest* if test -n "$ac_declaration"; then echo '#ifdef __cplusplus' >>confdefs.h echo $ac_declaration >>confdefs.h echo '#endif' >>confdefs.h fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 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= echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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'. 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 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 8's {/usr,}/bin/sh. touch sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf case $depmode in 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 ;; none) break ;; esac # 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. if depmode=$depmode \ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftest.${OBJEXT-o} 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 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 echo "${ECHO_T}$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 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 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then if test "${ac_cv_prog_CPP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether non-existent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then # Broken: success on invalid input. continue else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f 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 echo "$as_me:$LINENO: result: $CPP" >&5 echo "${ECHO_T}$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 >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether non-existent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then # Broken: success on invalid input. continue else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&5 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } 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 echo "$as_me:$LINENO: checking for egrep" >&5 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 if test "${ac_cv_prog_egrep+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if echo a | (grep -E '(a|b)') >/dev/null 2>&1 then ac_cv_prog_egrep='grep -E' else ac_cv_prog_egrep='egrep' fi fi echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 EGREP=$ac_cv_prog_egrep echo "$as_me:$LINENO: checking for ANSI C header files" >&5 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 if test "${ac_cv_header_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_header_stdc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_header_stdc=no fi rm -f 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 >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #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)) exit(2); exit (0); } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) ac_cv_header_stdc=no fi rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi fi echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 echo "${ECHO_T}$ac_cv_header_stdc" >&6 if test $ac_cv_header_stdc = yes; then cat >>confdefs.h <<\_ACEOF #define STDC_HEADERS 1 _ACEOF 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=`echo "ac_cv_header_$ac_header" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_Header=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_Header=no" fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done for ac_header in locale.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX ## ------------------------------------------ ## ## Report this to the AC_PACKAGE_NAME lists. ## ## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=\$ac_header_preproc" fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 fi if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done if test $ac_cv_header_locale_h = yes; then echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6 if test "${am_cv_val_LC_MESSAGES+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { return LC_MESSAGES ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then am_cv_val_LC_MESSAGES=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 am_cv_val_LC_MESSAGES=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6 if test $am_cv_val_LC_MESSAGES = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_LC_MESSAGES 1 _ACEOF fi fi USE_NLS=yes gt_cv_have_gettext=no CATOBJEXT=NONE XGETTEXT=: INTLLIBS= if test "${ac_cv_header_libintl_h+set}" = set; then echo "$as_me:$LINENO: checking for libintl.h" >&5 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6 if test "${ac_cv_header_libintl_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking libintl.h usability" >&5 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking libintl.h presence" >&5 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;} { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;} { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX ## ------------------------------------------ ## ## Report this to the AC_PACKAGE_NAME lists. ## ## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for libintl.h" >&5 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6 if test "${ac_cv_header_libintl_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_header_libintl_h=$ac_header_preproc fi echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6 fi if test $ac_cv_header_libintl_h = yes; then gt_cv_func_dgettext_libintl="no" libintl_extra_libs="" # # First check in libc # echo "$as_me:$LINENO: checking for ngettext in libc" >&5 echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6 if test "${gt_cv_func_ngettext_libc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { return !ngettext ("","", 1) ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then gt_cv_func_ngettext_libc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 gt_cv_func_ngettext_libc=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5 echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6 if test "$gt_cv_func_ngettext_libc" = "yes" ; then echo "$as_me:$LINENO: checking for dgettext in libc" >&5 echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6 if test "${gt_cv_func_dgettext_libc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { return !dgettext ("","") ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then gt_cv_func_dgettext_libc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 gt_cv_func_dgettext_libc=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5 echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6 fi if test "$gt_cv_func_ngettext_libc" = "yes" ; then for ac_func in bind_textdomain_codeset do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $ac_func /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char $ac_func (); /* 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_$ac_func) || defined (__stub___$ac_func) choke me #else char (*f) () = $ac_func; #endif #ifdef __cplusplus } #endif int main () { return f != $ac_func; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done fi # # If we don't have everything we want, check in libintl # if test "$gt_cv_func_dgettext_libc" != "yes" \ || test "$gt_cv_func_ngettext_libc" != "yes" \ || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lintl $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char bindtextdomain (); int main () { bindtextdomain (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_intl_bindtextdomain=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_intl_bindtextdomain=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6 if test $ac_cv_lib_intl_bindtextdomain = yes; then echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6 if test "${ac_cv_lib_intl_ngettext+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lintl $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char ngettext (); int main () { ngettext (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_intl_ngettext=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_intl_ngettext=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6 if test $ac_cv_lib_intl_ngettext = yes; then echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6 if test "${ac_cv_lib_intl_dgettext+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lintl $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dgettext (); int main () { dgettext (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_intl_dgettext=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_intl_dgettext=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6 if test $ac_cv_lib_intl_dgettext = yes; then gt_cv_func_dgettext_libintl=yes fi fi fi if test "$gt_cv_func_dgettext_libintl" != "yes" ; then echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5 echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6 echo "$as_me:$LINENO: result: " >&5 echo "${ECHO_T}" >&6 echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6 if test "${ac_cv_lib_intl_ngettext+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lintl -liconv $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char ngettext (); int main () { ngettext (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_intl_ngettext=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_intl_ngettext=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6 if test $ac_cv_lib_intl_ngettext = yes; then echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5 echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lintl -liconv $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dcgettext (); int main () { dcgettext (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_intl_dcgettext=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_intl_dcgettext=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5 echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6 if test $ac_cv_lib_intl_dcgettext = yes; then gt_cv_func_dgettext_libintl=yes libintl_extra_libs=-liconv else : fi else : fi fi # # If we found libintl, then check in it for bind_textdomain_codeset(); # we'll prefer libc if neither have bind_textdomain_codeset(), # and both have dgettext and ngettext # if test "$gt_cv_func_dgettext_libintl" = "yes" ; then glib_save_LIBS="$LIBS" LIBS="$LIBS -lintl $libintl_extra_libs" unset ac_cv_func_bind_textdomain_codeset for ac_func in bind_textdomain_codeset do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $ac_func /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char $ac_func (); /* 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_$ac_func) || defined (__stub___$ac_func) choke me #else char (*f) () = $ac_func; #endif #ifdef __cplusplus } #endif int main () { return f != $ac_func; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done LIBS="$glib_save_LIBS" if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then gt_cv_func_dgettext_libc=no else if test "$gt_cv_func_dgettext_libc" = "yes" \ && test "$gt_cv_func_ngettext_libc" = "yes"; then gt_cv_func_dgettext_libintl=no fi fi fi fi if test "$gt_cv_func_dgettext_libc" = "yes" \ || test "$gt_cv_func_dgettext_libintl" = "yes"; then gt_cv_have_gettext=yes fi if test "$gt_cv_func_dgettext_libintl" = "yes"; then INTLLIBS="-lintl $libintl_extra_libs" fi if test "$gt_cv_have_gettext" = "yes"; then cat >>confdefs.h <<\_ACEOF #define HAVE_GETTEXT 1 _ACEOF # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_MSGFMT+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case "$MSGFMT" in /*) ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then ac_cv_path_MSGFMT="$ac_dir/$ac_word" break fi fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no" ;; esac fi MSGFMT="$ac_cv_path_MSGFMT" if test "$MSGFMT" != "no"; then echo "$as_me:$LINENO: result: $MSGFMT" >&5 echo "${ECHO_T}$MSGFMT" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi if test "$MSGFMT" != "no"; then glib_save_LIBS="$LIBS" LIBS="$LIBS $INTLLIBS" for ac_func in dcgettext do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $ac_func /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char $ac_func (); /* 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_$ac_func) || defined (__stub___$ac_func) choke me #else char (*f) () = $ac_func; #endif #ifdef __cplusplus } #endif int main () { return f != $ac_func; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done # Extract the first word of "gmsgfmt", so it can be a program name with args. set dummy gmsgfmt; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_GMSGFMT+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" ;; esac fi GMSGFMT=$ac_cv_path_GMSGFMT if test -n "$GMSGFMT"; then echo "$as_me:$LINENO: result: $GMSGFMT" >&5 echo "${ECHO_T}$GMSGFMT" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_XGETTEXT+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case "$XGETTEXT" in /*) ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then ac_cv_path_XGETTEXT="$ac_dir/$ac_word" break fi fi 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 echo "$as_me:$LINENO: result: $XGETTEXT" >&5 echo "${ECHO_T}$XGETTEXT" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { extern int _nl_msg_cat_cntr; return _nl_msg_cat_cntr ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then CATOBJEXT=.gmo DATADIRNAME=share else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 case $host in *-*-solaris*) echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5 echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define bind_textdomain_codeset to an innocuous variant, in case declares bind_textdomain_codeset. For example, HP-UX 11i declares gettimeofday. */ #define bind_textdomain_codeset innocuous_bind_textdomain_codeset /* System header to define __stub macros and hopefully few prototypes, which can conflict with char bind_textdomain_codeset (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef bind_textdomain_codeset /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char bind_textdomain_codeset (); /* 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_bind_textdomain_codeset) || defined (__stub___bind_textdomain_codeset) choke me #else char (*f) () = bind_textdomain_codeset; #endif #ifdef __cplusplus } #endif int main () { return f != bind_textdomain_codeset; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_bind_textdomain_codeset=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_bind_textdomain_codeset=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5 echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6 if test $ac_cv_func_bind_textdomain_codeset = yes; then CATOBJEXT=.gmo DATADIRNAME=share else CATOBJEXT=.mo DATADIRNAME=lib fi ;; *) CATOBJEXT=.mo DATADIRNAME=lib ;; esac fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS="$glib_save_LIBS" INSTOBJEXT=.mo else gt_cv_have_gettext=no fi fi fi if test "$gt_cv_have_gettext" = "yes" ; then cat >>confdefs.h <<\_ACEOF #define ENABLE_NLS 1 _ACEOF fi if test "$XGETTEXT" != ":"; then if $XGETTEXT --omit-header /dev/null 2> /dev/null; then : ; else echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6 XGETTEXT=":" fi fi # We need to process the po/ directory. POSUB=po ac_config_commands="$ac_config_commands default-1" for lang in $ALL_LINGUAS; do GMOFILES="$GMOFILES $lang.gmo" POFILES="$POFILES $lang.po" done if test "$gt_cv_have_gettext" = "yes"; then if test "x$ALL_LINGUAS" = "x"; then LINGUAS= else echo "$as_me:$LINENO: checking for catalogs to be installed" >&5 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6 NEW_LINGUAS= for presentlang in $ALL_LINGUAS; do useit=no if test "%UNSET%" != "${LINGUAS-%UNSET%}"; 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 NEW_LINGUAS="$NEW_LINGUAS $presentlang" fi done LINGUAS=$NEW_LINGUAS echo "$as_me:$LINENO: result: $LINGUAS" >&5 echo "${ECHO_T}$LINGUAS" >&6 fi if test -n "$LINGUAS"; then for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done fi fi MKINSTALLDIRS= if test -n "$ac_aux_dir"; then MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" fi if test -z "$MKINSTALLDIRS"; then MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" fi test -d po || mkdir po if test "x$srcdir" != "x."; then if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then posrcprefix="$srcdir/" else posrcprefix="../$srcdir/" fi else posrcprefix="../" fi rm -f po/POTFILES sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ < $srcdir/po/POTFILES.in > po/POTFILES ac_config_files="$ac_config_files Makefile gnome_blog_globals.py gnome-blog.spec protocols/Makefile 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, don't put newlines in cache variables' values. # 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. { (set) 2>&1 | case `(ac_space=' '; set | grep ac_space) 2>&1` in *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 \ "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" ;; esac; } | sed ' t clear : clear s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ t end /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ : end' >>confcache if diff $cache_file confcache >/dev/null 2>&1; then :; else if test -w $cache_file; then test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" cat confcache >$cache_file else echo "not updating unwritable cache $cache_file" 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}' # VPATH may cause trouble with some makes, so we remove $(srcdir), # ${srcdir} and @srcdir@ 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[ ]*=/{ s/:*\$(srcdir):*/:/; s/:*\${srcdir}:*/:/; s/:*@srcdir@:*/:/; s/^\([^=]*=[ ]*\):*/\1/; s/:*$//; s/^[^=]*=[ ]*$//; }' fi DEFS=-DHAVE_CONFIG_H ac_libobjs= ac_ltlibobjs= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_i=`echo "$ac_i" | sed 's/\$U\././;s/\.o$//;s/\.obj$//'` # 2. Add them. ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' done LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"GCONF_SCHEMAS_INSTALL\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"GCONF_SCHEMAS_INSTALL\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi ac_config_commands="$ac_config_commands po/stamp-it" if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi : ${CONFIG_STATUS=./config.status} ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 echo "$as_me: creating $CONFIG_STATUS" >&6;} cat >$CONFIG_STATUS <<_ACEOF #! $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} _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF ## --------------------- ## ## M4sh Initialization. ## ## --------------------- ## # Be Bourne compatible if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then set -o posix fi DUALCASE=1; export DUALCASE # for MKS sh # Support unset when possible. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset else as_unset=false fi # Work around bugs in pre-3.0 UWIN ksh. $as_unset ENV MAIL MAILPATH PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. for as_var in \ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ LC_TELEPHONE LC_TIME do if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then eval $as_var=C; export $as_var else $as_unset $as_var fi done # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1; 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 # Name of the executable. as_me=`$as_basename "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)$' \| \ . : '\(.\)' 2>/dev/null || echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } /^X\/\(\/\/\)$/{ s//\1/; q; } /^X\/\(\/\).*/{ s//\1/; q; } s/.*/./; q'` # PATH needs CR, and LINENO needs CR and PATH. # 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 # 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 as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" || { # Find who we are. Look in the path if we contain no path at all # relative or not. 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 ;; 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 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} { (exit 1); exit 1; }; } fi case $CONFIG_SHELL in '') as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for as_base in sh bash ksh sh5; do case $as_dir in /*) if ("$as_dir/$as_base" -c ' as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } CONFIG_SHELL=$as_dir/$as_base export CONFIG_SHELL exec "$CONFIG_SHELL" "$0" ${1+"$@"} fi;; esac done done ;; esac # Create $as_me.lineno as a copy of $as_myself, but with $LINENO # uniformly replaced by the line number. The first 'sed' inserts a # line-number line before each line; the second 'sed' does the real # work. The second script uses 'N' to pair each line-number line # with the numbered line, and appends trailing '-' during # substitution so that $LINENO is not a special case at line end. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) sed '=' <$as_myself | sed ' N s,$,-, : loop s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, t loop s,-$,, s,^['$as_cr_digits']*\n,, ' >$as_me.lineno && chmod +x $as_me.lineno || { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} { (exit 1); exit 1; }; } # 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 sensible to this). . ./$as_me.lineno # Exit status is that of the last command. exit } case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in *c*,-n*) ECHO_N= ECHO_C=' ' ECHO_T=' ' ;; *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; *) ECHO_N= ECHO_C='\c' ECHO_T= ;; esac if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=expr else as_expr=false fi rm -f conf$$ conf$$.exe conf$$.file echo >conf$$.file if ln -s conf$$.file conf$$ 2>/dev/null; then # We could just check for DJGPP; but this test a) works b) is more generic # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). if test -f conf$$.exe; then # Don't use ln at all; we don't have any links as_ln_s='cp -p' else as_ln_s='ln -s' fi elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.file if mkdir -p . 2>/dev/null; then as_mkdir_p=: else test -d ./-p && rmdir ./-p as_mkdir_p=false fi as_executable_p="test -f" # 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'" # IFS # We need space, tab and new line, in precisely that order. as_nl=' ' IFS=" $as_nl" # CDPATH. $as_unset CDPATH exec 6>&1 # Open the log real soon, to keep \$[0] and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. Logging --version etc. is OK. exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX } >&5 cat >&5 <<_CSEOF This file was extended by $as_me, which was generated by GNU Autoconf 2.59. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS $ $0 $@ _CSEOF echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 echo >&5 _ACEOF # Files that config.status was made for. if test -n "$ac_config_files"; then echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS fi if test -n "$ac_config_headers"; then echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS fi if test -n "$ac_config_links"; then echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS fi if test -n "$ac_config_commands"; then echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS fi cat >>$CONFIG_STATUS <<\_ACEOF ac_cs_usage="\ \`$as_me' instantiates files from templates according to the current configuration. Usage: $0 [OPTIONS] [FILE]... -h, --help print this help, then exit -V, --version print version number, then exit -q, --quiet 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_cs_version="\\ config.status configured by $0, generated by GNU Autoconf 2.59, with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" Copyright (C) 2003 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." srcdir=$srcdir INSTALL="$INSTALL" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # If no file are specified by the user, then we need to provide default # value. By we need to know if files were specified by the user. 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=$1 ac_optarg=$2 ac_shift=shift ;; *) # This is not an option, so the user has probably given explicit # arguments. ac_option=$1 ac_need_defaults=false;; esac case $ac_option in # Handling of the options. _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --vers* | -V ) echo "$ac_cs_version"; exit 0 ;; --he | --h) # Conflict between --help and --header { { echo "$as_me:$LINENO: error: ambiguous option: $1 Try \`$0 --help' for more information." >&5 echo "$as_me: error: ambiguous option: $1 Try \`$0 --help' for more information." >&2;} { (exit 1); exit 1; }; };; --help | --hel | -h ) echo "$ac_cs_usage"; exit 0 ;; --debug | --d* | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift CONFIG_FILES="$CONFIG_FILES $ac_optarg" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" ac_need_defaults=false;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 Try \`$0 --help' for more information." >&5 echo "$as_me: error: unrecognized option: $1 Try \`$0 --help' for more information." >&2;} { (exit 1); exit 1; }; } ;; *) ac_config_targets="$ac_config_targets $1" ;; 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 if \$ac_cs_recheck; then echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF # # INIT-COMMANDS section. # INTLTOOL_PERL='${INTLTOOL_PERL}' ac_aux_dir='${ac_aux_dir}' prefix="$prefix" exec_prefix="$exec_prefix" INTLTOOL_LIBDIR="$libdir" INTLTOOL_EXTRACT='${INTLTOOL_EXTRACT}' INTLTOOL_ICONV='${INTLTOOL_ICONV}' INTLTOOL_MSGFMT='${INTLTOOL_MSGFMT}' INTLTOOL_MSGMERGE='${INTLTOOL_MSGMERGE}' INTLTOOL_XGETTEXT='${INTLTOOL_XGETTEXT}' AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF for ac_config_target in $ac_config_targets do case "$ac_config_target" in # Handling of arguments. "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; "gnome_blog_globals.py" ) CONFIG_FILES="$CONFIG_FILES gnome_blog_globals.py" ;; "gnome-blog.spec" ) CONFIG_FILES="$CONFIG_FILES gnome-blog.spec" ;; "protocols/Makefile" ) CONFIG_FILES="$CONFIG_FILES protocols/Makefile" ;; "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; "intltool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS intltool" ;; "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; "po/stamp-it" ) CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;; "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} { (exit 1); exit 1; }; };; 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 to put it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Create a temporary directory, and hook for its removal unless debugging. $debug || { trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 trap '{ (exit 1); exit 1; }' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" } || { tmp=./confstat$$-$RANDOM (umask 077 && mkdir $tmp) } || { echo "$me: cannot create a temporary directory in ." >&2 { (exit 1); exit 1; } } _ACEOF cat >>$CONFIG_STATUS <<_ACEOF # # CONFIG_FILES section. # # No need to generate the scripts if there are no CONFIG_FILES. # This happens for instance when ./config.status config.h if test -n "\$CONFIG_FILES"; then # Protect against being on the right side of a sed subst in config.status. sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF s,@SHELL@,$SHELL,;t t s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t s,@exec_prefix@,$exec_prefix,;t t s,@prefix@,$prefix,;t t s,@program_transform_name@,$program_transform_name,;t t s,@bindir@,$bindir,;t t s,@sbindir@,$sbindir,;t t s,@libexecdir@,$libexecdir,;t t s,@datadir@,$datadir,;t t s,@sysconfdir@,$sysconfdir,;t t s,@sharedstatedir@,$sharedstatedir,;t t s,@localstatedir@,$localstatedir,;t t s,@libdir@,$libdir,;t t s,@includedir@,$includedir,;t t s,@oldincludedir@,$oldincludedir,;t t s,@infodir@,$infodir,;t t s,@mandir@,$mandir,;t t s,@build_alias@,$build_alias,;t t s,@host_alias@,$host_alias,;t t s,@target_alias@,$target_alias,;t t s,@DEFS@,$DEFS,;t t s,@ECHO_C@,$ECHO_C,;t t s,@ECHO_N@,$ECHO_N,;t t s,@ECHO_T@,$ECHO_T,;t t s,@LIBS@,$LIBS,;t t s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t s,@INSTALL_DATA@,$INSTALL_DATA,;t t s,@CYGPATH_W@,$CYGPATH_W,;t t s,@PACKAGE@,$PACKAGE,;t t s,@VERSION@,$VERSION,;t t s,@ACLOCAL@,$ACLOCAL,;t t s,@AUTOCONF@,$AUTOCONF,;t t s,@AUTOMAKE@,$AUTOMAKE,;t t s,@AUTOHEADER@,$AUTOHEADER,;t t s,@MAKEINFO@,$MAKEINFO,;t t s,@install_sh@,$install_sh,;t t s,@STRIP@,$STRIP,;t t s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t s,@mkdir_p@,$mkdir_p,;t t s,@AWK@,$AWK,;t t s,@SET_MAKE@,$SET_MAKE,;t t s,@am__leading_dot@,$am__leading_dot,;t t s,@AMTAR@,$AMTAR,;t t s,@am__tar@,$am__tar,;t t s,@am__untar@,$am__untar,;t t s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t s,@MAINT@,$MAINT,;t t s,@GCONFTOOL@,$GCONFTOOL,;t t s,@GCONF_SCHEMA_CONFIG_SOURCE@,$GCONF_SCHEMA_CONFIG_SOURCE,;t t s,@GCONF_SCHEMA_FILE_DIR@,$GCONF_SCHEMA_FILE_DIR,;t t s,@GCONF_SCHEMAS_INSTALL_TRUE@,$GCONF_SCHEMAS_INSTALL_TRUE,;t t s,@GCONF_SCHEMAS_INSTALL_FALSE@,$GCONF_SCHEMAS_INSTALL_FALSE,;t t s,@INTLTOOL_DESKTOP_RULE@,$INTLTOOL_DESKTOP_RULE,;t t s,@INTLTOOL_DIRECTORY_RULE@,$INTLTOOL_DIRECTORY_RULE,;t t s,@INTLTOOL_KEYS_RULE@,$INTLTOOL_KEYS_RULE,;t t s,@INTLTOOL_PROP_RULE@,$INTLTOOL_PROP_RULE,;t t s,@INTLTOOL_OAF_RULE@,$INTLTOOL_OAF_RULE,;t t s,@INTLTOOL_PONG_RULE@,$INTLTOOL_PONG_RULE,;t t s,@INTLTOOL_SERVER_RULE@,$INTLTOOL_SERVER_RULE,;t t s,@INTLTOOL_SHEET_RULE@,$INTLTOOL_SHEET_RULE,;t t s,@INTLTOOL_SOUNDLIST_RULE@,$INTLTOOL_SOUNDLIST_RULE,;t t s,@INTLTOOL_UI_RULE@,$INTLTOOL_UI_RULE,;t t s,@INTLTOOL_XAM_RULE@,$INTLTOOL_XAM_RULE,;t t s,@INTLTOOL_KBD_RULE@,$INTLTOOL_KBD_RULE,;t t s,@INTLTOOL_XML_RULE@,$INTLTOOL_XML_RULE,;t t s,@INTLTOOL_XML_NOMERGE_RULE@,$INTLTOOL_XML_NOMERGE_RULE,;t t s,@INTLTOOL_CAVES_RULE@,$INTLTOOL_CAVES_RULE,;t t s,@INTLTOOL_SCHEMAS_RULE@,$INTLTOOL_SCHEMAS_RULE,;t t s,@INTLTOOL_THEME_RULE@,$INTLTOOL_THEME_RULE,;t t s,@INTLTOOL_SERVICE_RULE@,$INTLTOOL_SERVICE_RULE,;t t s,@INTLTOOL_EXTRACT@,$INTLTOOL_EXTRACT,;t t s,@INTLTOOL_MERGE@,$INTLTOOL_MERGE,;t t s,@INTLTOOL_UPDATE@,$INTLTOOL_UPDATE,;t t s,@INTLTOOL_PERL@,$INTLTOOL_PERL,;t t s,@INTLTOOL_ICONV@,$INTLTOOL_ICONV,;t t s,@INTLTOOL_MSGFMT@,$INTLTOOL_MSGFMT,;t t s,@INTLTOOL_MSGMERGE@,$INTLTOOL_MSGMERGE,;t t s,@INTLTOOL_XGETTEXT@,$INTLTOOL_XGETTEXT,;t t s,@ALL_LINGUAS@,$ALL_LINGUAS,;t t s,@PYTHON@,$PYTHON,;t t s,@PYTHON_VERSION@,$PYTHON_VERSION,;t t s,@PYTHON_PREFIX@,$PYTHON_PREFIX,;t t s,@PYTHON_EXEC_PREFIX@,$PYTHON_EXEC_PREFIX,;t t s,@PYTHON_PLATFORM@,$PYTHON_PLATFORM,;t t s,@pythondir@,$pythondir,;t t s,@pkgpythondir@,$pkgpythondir,;t t s,@pyexecdir@,$pyexecdir,;t t s,@pkgpyexecdir@,$pkgpyexecdir,;t t s,@PKG_CONFIG@,$PKG_CONFIG,;t t s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t s,@PYGTK_CFLAGS@,$PYGTK_CFLAGS,;t t s,@PYGTK_LIBS@,$PYGTK_LIBS,;t t s,@GETTEXT_PACKAGE@,$GETTEXT_PACKAGE,;t t s,@CC@,$CC,;t t s,@CFLAGS@,$CFLAGS,;t t s,@LDFLAGS@,$LDFLAGS,;t t s,@CPPFLAGS@,$CPPFLAGS,;t t s,@ac_ct_CC@,$ac_ct_CC,;t t s,@EXEEXT@,$EXEEXT,;t t s,@OBJEXT@,$OBJEXT,;t t s,@DEPDIR@,$DEPDIR,;t t s,@am__include@,$am__include,;t t s,@am__quote@,$am__quote,;t t s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t s,@CCDEPMODE@,$CCDEPMODE,;t t s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t s,@CPP@,$CPP,;t t s,@EGREP@,$EGREP,;t t s,@USE_NLS@,$USE_NLS,;t t s,@MSGFMT@,$MSGFMT,;t t s,@GMSGFMT@,$GMSGFMT,;t t s,@XGETTEXT@,$XGETTEXT,;t t s,@CATALOGS@,$CATALOGS,;t t s,@CATOBJEXT@,$CATOBJEXT,;t t s,@DATADIRNAME@,$DATADIRNAME,;t t s,@GMOFILES@,$GMOFILES,;t t s,@INSTOBJEXT@,$INSTOBJEXT,;t t s,@INTLLIBS@,$INTLLIBS,;t t s,@PO_IN_DATADIR_TRUE@,$PO_IN_DATADIR_TRUE,;t t s,@PO_IN_DATADIR_FALSE@,$PO_IN_DATADIR_FALSE,;t t s,@POFILES@,$POFILES,;t t s,@POSUB@,$POSUB,;t t s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t s,@LIBOBJS@,$LIBOBJS,;t t s,@LTLIBOBJS@,$LTLIBOBJS,;t t CEOF _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # Split the substitutions into bite-sized pieces for seds with # small command number limits, like on Digital OSF/1 and HP-UX. ac_max_sed_lines=48 ac_sed_frag=1 # Number of current file. ac_beg=1 # First line for current file. ac_end=$ac_max_sed_lines # Line after last line for current file. ac_more_lines=: ac_sed_cmds= while $ac_more_lines; do if test $ac_beg -gt 1; then sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag else sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag fi if test ! -s $tmp/subs.frag; then ac_more_lines=false else # The purpose of the label and of the branching condition is to # speed up the sed processing (if there are no `@' at all, there # is no need to browse any of the substitutions). # These are the two extra sed commands mentioned above. (echo ':t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed if test -z "$ac_sed_cmds"; then ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" else ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" fi ac_sed_frag=`expr $ac_sed_frag + 1` ac_beg=$ac_end ac_end=`expr $ac_end + $ac_max_sed_lines` fi done if test -z "$ac_sed_cmds"; then ac_sed_cmds=cat fi fi # test -n "$CONFIG_FILES" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". case $ac_file in - | *:- | *:-:* ) # input from stdin cat >$tmp/stdin ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; * ) ac_file_in=$ac_file.in ;; esac # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. ac_dir=`(dirname "$ac_file") 2>/dev/null || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` { if $as_mkdir_p; then mkdir -p "$ac_dir" else as_dir="$ac_dir" as_dirs= while test ! -d "$as_dir"; do as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` done test ! -n "$as_dirs" || mkdir $as_dirs fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} { (exit 1); exit 1; }; }; } ac_builddir=. if test "$ac_dir" != .; then ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` # A "../" for each directory in $ac_dir_suffix. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` else ac_dir_suffix= ac_top_builddir= fi case $srcdir in .) # No --srcdir option. We are building in place. ac_srcdir=. if test -z "$ac_top_builddir"; then ac_top_srcdir=. else ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` fi ;; [\\/]* | ?:[\\/]* ) # Absolute path. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ;; *) # Relative path. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_builddir$srcdir ;; esac # Do not use `cd foo && pwd` to compute absolute paths, because # the directories may not exist. case `pwd` in .) ac_abs_builddir="$ac_dir";; *) case "$ac_dir" in .) ac_abs_builddir=`pwd`;; [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; *) ac_abs_builddir=`pwd`/"$ac_dir";; esac;; esac case $ac_abs_builddir in .) ac_abs_top_builddir=${ac_top_builddir}.;; *) case ${ac_top_builddir}. in .) ac_abs_top_builddir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; esac;; esac case $ac_abs_builddir in .) ac_abs_srcdir=$ac_srcdir;; *) case $ac_srcdir in .) ac_abs_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; esac;; esac case $ac_abs_builddir in .) ac_abs_top_srcdir=$ac_top_srcdir;; *) case $ac_top_srcdir in .) ac_abs_top_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; esac;; esac case $INSTALL in [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_top_builddir$INSTALL ;; esac if test x"$ac_file" != x-; then { echo "$as_me:$LINENO: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} rm -f "$ac_file" fi # 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. */ if test x"$ac_file" = x-; then configure_input= else configure_input="$ac_file. " fi configure_input=$configure_input"Generated from `echo $ac_file_in | sed 's,.*/,,'` by configure." # First look for the input files in the build tree, otherwise in the # src tree. ac_file_inputs=`IFS=: for f in $ac_file_in; do case $f in -) echo $tmp/stdin ;; [\\/$]*) # Absolute (can't be DOS-style, as IFS=:) test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo "$f";; *) # Relative if test -f "$f"; then # Build tree echo "$f" elif test -f "$srcdir/$f"; then # Source tree echo "$srcdir/$f" else # /dev/null tree { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; esac done` || { (exit 1); exit 1; } _ACEOF cat >>$CONFIG_STATUS <<_ACEOF sed "$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s,@configure_input@,$configure_input,;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,@top_builddir@,$ac_top_builddir,;t t s,@abs_top_builddir@,$ac_abs_top_builddir,;t t s,@INSTALL@,$ac_INSTALL,;t t " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out rm -f $tmp/stdin if test x"$ac_file" != x-; then mv $tmp/out $ac_file else cat $tmp/out rm -f $tmp/out fi done _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # # CONFIG_HEADER section. # # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where # NAME is the cpp macro being defined and VALUE is the value it is being given. # # ac_d sets the value in "#define NAME VALUE" lines. ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' ac_dB='[ ].*$,\1#\2' ac_dC=' ' ac_dD=',;t' # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' ac_uB='$,\1#\2define\3' ac_uC=' ' ac_uD=',;t' for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". case $ac_file in - | *:- | *:-:* ) # input from stdin cat >$tmp/stdin ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; * ) ac_file_in=$ac_file.in ;; esac test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} # First look for the input files in the build tree, otherwise in the # src tree. ac_file_inputs=`IFS=: for f in $ac_file_in; do case $f in -) echo $tmp/stdin ;; [\\/$]*) # Absolute (can't be DOS-style, as IFS=:) test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } # Do quote $f, to prevent DOS paths from being IFS'd. echo "$f";; *) # Relative if test -f "$f"; then # Build tree echo "$f" elif test -f "$srcdir/$f"; then # Source tree echo "$srcdir/$f" else # /dev/null tree { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; esac done` || { (exit 1); exit 1; } # Remove the trailing spaces. sed 's/[ ]*$//' $ac_file_inputs >$tmp/in _ACEOF # Transform confdefs.h into two sed scripts, `conftest.defines' and # `conftest.undefs', that substitutes the proper values into # config.h.in to produce config.h. The first handles `#define' # templates, and the second `#undef' templates. # And first: Protect against being on the right side of a sed subst in # config.status. Protect against being in an unquoted here document # in config.status. rm -f conftest.defines conftest.undefs # Using a here document instead of a string reduces the quoting nightmare. # Putting comments in sed scripts is not portable. # # `end' is used to avoid that the second main sed command (meant for # 0-ary CPP macros) applies to n-ary macro definitions. # See the Autoconf documentation for `clear'. cat >confdef2sed.sed <<\_ACEOF s/[\\&,]/\\&/g s,[\\$`],\\&,g t clear : clear s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp t end s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp : end _ACEOF # If some macros were called several times there might be several times # the same #defines, which is useless. Nevertheless, we may not want to # sort them, since we want the *last* AC-DEFINE to be honored. uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs rm -f confdef2sed.sed # This sed command replaces #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. cat >>conftest.undefs <<\_ACEOF s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, _ACEOF # Break up conftest.defines because some shells have a limit on the size # of here documents, and old seds have small limits too (100 cmds). echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS echo ' :' >>$CONFIG_STATUS rm -f conftest.tail while grep . conftest.defines >/dev/null do # Write a limited-size here document to $tmp/defines.sed. echo ' cat >$tmp/defines.sed <>$CONFIG_STATUS # Speed up: don't consider the non `#define' lines. echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS # Work around the forget-to-reset-the-flag bug. echo 't clr' >>$CONFIG_STATUS echo ': clr' >>$CONFIG_STATUS sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS echo 'CEOF sed -f $tmp/defines.sed $tmp/in >$tmp/out rm -f $tmp/in mv $tmp/out $tmp/in ' >>$CONFIG_STATUS sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail rm -f conftest.defines mv conftest.tail conftest.defines done rm -f conftest.defines echo ' fi # grep' >>$CONFIG_STATUS echo >>$CONFIG_STATUS # Break up conftest.undefs because some shells have a limit on the size # of here documents, and old seds have small limits too (100 cmds). echo ' # Handle all the #undef templates' >>$CONFIG_STATUS rm -f conftest.tail while grep . conftest.undefs >/dev/null do # Write a limited-size here document to $tmp/undefs.sed. echo ' cat >$tmp/undefs.sed <>$CONFIG_STATUS # Speed up: don't consider the non `#undef' echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS # Work around the forget-to-reset-the-flag bug. echo 't clr' >>$CONFIG_STATUS echo ': clr' >>$CONFIG_STATUS sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS echo 'CEOF sed -f $tmp/undefs.sed $tmp/in >$tmp/out rm -f $tmp/in mv $tmp/out $tmp/in ' >>$CONFIG_STATUS sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail rm -f conftest.undefs mv conftest.tail conftest.undefs done rm -f conftest.undefs cat >>$CONFIG_STATUS <<\_ACEOF # 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. */ if test x"$ac_file" = x-; then echo "/* Generated by configure. */" >$tmp/config.h else echo "/* $ac_file. Generated by configure. */" >$tmp/config.h fi cat $tmp/in >>$tmp/config.h rm -f $tmp/in if test x"$ac_file" != x-; then if diff $ac_file $tmp/config.h >/dev/null 2>&1; then { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 echo "$as_me: $ac_file is unchanged" >&6;} else ac_dir=`(dirname "$ac_file") 2>/dev/null || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` { if $as_mkdir_p; then mkdir -p "$ac_dir" else as_dir="$ac_dir" as_dirs= while test ! -d "$as_dir"; do as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` done test ! -n "$as_dirs" || mkdir $as_dirs fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} { (exit 1); exit 1; }; }; } rm -f $ac_file mv $tmp/config.h $ac_file fi else cat $tmp/config.h rm -f $tmp/config.h fi # Compute $ac_file's index in $config_headers. _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $ac_file | $ac_file:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X$ac_file : 'X\(//\)[^/]' \| \ X$ac_file : 'X\(//\)$' \| \ X$ac_file : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X$ac_file | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'`/stamp-h$_am_stamp_count done _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # # CONFIG_COMMANDS section. # for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue ac_dest=`echo "$ac_file" | sed 's,:.*,,'` ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_dir=`(dirname "$ac_dest") 2>/dev/null || $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_dest" : 'X\(//\)[^/]' \| \ X"$ac_dest" : 'X\(//\)$' \| \ X"$ac_dest" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$ac_dest" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` { if $as_mkdir_p; then mkdir -p "$ac_dir" else as_dir="$ac_dir" as_dirs= while test ! -d "$as_dir"; do as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` done test ! -n "$as_dirs" || mkdir $as_dirs fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} { (exit 1); exit 1; }; }; } ac_builddir=. if test "$ac_dir" != .; then ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` # A "../" for each directory in $ac_dir_suffix. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` else ac_dir_suffix= ac_top_builddir= fi case $srcdir in .) # No --srcdir option. We are building in place. ac_srcdir=. if test -z "$ac_top_builddir"; then ac_top_srcdir=. else ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` fi ;; [\\/]* | ?:[\\/]* ) # Absolute path. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ;; *) # Relative path. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_builddir$srcdir ;; esac # Do not use `cd foo && pwd` to compute absolute paths, because # the directories may not exist. case `pwd` in .) ac_abs_builddir="$ac_dir";; *) case "$ac_dir" in .) ac_abs_builddir=`pwd`;; [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; *) ac_abs_builddir=`pwd`/"$ac_dir";; esac;; esac case $ac_abs_builddir in .) ac_abs_top_builddir=${ac_top_builddir}.;; *) case ${ac_top_builddir}. in .) ac_abs_top_builddir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; esac;; esac case $ac_abs_builddir in .) ac_abs_srcdir=$ac_srcdir;; *) case $ac_srcdir in .) ac_abs_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; esac;; esac case $ac_abs_builddir in .) ac_abs_top_srcdir=$ac_top_srcdir;; *) case $ac_top_srcdir in .) ac_abs_top_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; esac;; esac { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 echo "$as_me: executing $ac_dest commands" >&6;} case $ac_dest in intltool ) for file in intltool-extract intltool-merge intltool-update; do sed -e "s|@INTLTOOL_EXTRACT@|`pwd`/intltool-extract|g" \ -e "s|@INTLTOOL_LIBDIR@|${INTLTOOL_LIBDIR}|g" \ -e "s|@INTLTOOL_ICONV@|${INTLTOOL_ICONV}|g" \ -e "s|@INTLTOOL_MSGFMT@|${INTLTOOL_MSGFMT}|g" \ -e "s|@INTLTOOL_MSGMERGE@|${INTLTOOL_MSGMERGE}|g" \ -e "s|@INTLTOOL_XGETTEXT@|${INTLTOOL_XGETTEXT}|g" \ -e "s|@INTLTOOL_PERL@|${INTLTOOL_PERL}|g" \ < ${ac_aux_dir}/${file}.in > ${file}.out if cmp -s ${file} ${file}.out 2>/dev/null; then rm -f ${file}.out else mv -f ${file}.out ${file} fi chmod ugo+x ${file} chmod u+w ${file} done ;; depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; 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. # So let's grep whole file. if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then dirpart=`(dirname "$mf") 2>/dev/null || $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$mf" : 'X\(//\)[^/]' \| \ X"$mf" : 'X\(//\)$' \| \ X"$mf" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || 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"` # When using ansi2knr, U may be empty or an underscore; expand it U=`sed -n 's/^U = //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' -e 's/\$U/'"$U"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`(dirname "$file") 2>/dev/null || $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$file" : 'X\(//\)[^/]' \| \ X"$file" : 'X\(//\)$' \| \ X"$file" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` { if $as_mkdir_p; then mkdir -p $dirpart/$fdir else as_dir=$dirpart/$fdir as_dirs= while test ! -d "$as_dir"; do as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` done test ! -n "$as_dirs" || mkdir $as_dirs fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} { (exit 1); exit 1; }; }; } # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done ;; default-1 ) case "$CONFIG_FILES" in *po/Makefile.in*) sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile esac ;; po/stamp-it ) 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" if test ! -f "po/Makefile"; then { { echo "$as_me:$LINENO: error: po/Makefile is not ready." >&5 echo "$as_me: error: po/Makefile is not ready." >&2;} { (exit 1); exit 1; }; } fi mv "po/Makefile" "po/Makefile.tmp" sed '/^POTFILES =/,/[^\\]$/ { /^POTFILES =/!d r po/POTFILES } ' "po/Makefile.tmp" >"po/Makefile" rm -f "po/Makefile.tmp" mv "po/stamp-it.tmp" "po/stamp-it" ;; esac done _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF { (exit 0); exit 0; } _ACEOF chmod +x $CONFIG_STATUS ac_clean_files=$ac_clean_files_save # 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 || { (exit 1); exit 1; } fi gnome-blog-0.9.1/gnome_blog_globals.py0000664000076500007650000000016210446321204014664 00000000000000name = "gnome-blog" version = "0.9.1" image_dir = "/usr/local/share/pixmaps" localedir = "/usr/local/share/locale"gnome-blog-0.9.1/GNOME_BlogApplet.server.in.in0000664000076500007650000000230310137604325015723 00000000000000 gnome-blog-0.9.1/gnome-blog.spec.in0000664000076500007650000000411410237226562014020 00000000000000%define gnome_python2_version 1.99.13 Name: gnome-blog Summary: GNOME panel object for posting blog entries Version: @VERSION@ Release: 1 License: GPL Group: User Interface/Desktops Source: %{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-root Requires: gnome-python2-applet >= %{gnome_python2_version} Requires: gnome-python2-gconf >= %{gnome_python2_version} Requires: gnome-python2-gnomevfs >= %{gnome_python2_version} Requires: pygtk2 >= %{gnome_python2_version} Prereq: GConf2 Prereq: /usr/bin/gconftool-2 BuildRequires: pygtk2-devel >= %{gnome_python2_version} BuildRequires: gettext %description GNOME panel object that allows convenient posting of blog entries to any blog that supports the bloggerAPI. %prep %setup -q %build %configure make %{?_smp_mflags} %install rm -rf %{buildroot} export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1; %makeinstall unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL %find_lang %name %clean rm -rf %{buildroot} %post /sbin/ldconfig GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/gnomeblog.schemas > /dev/null; %postun -p /sbin/ldconfig %files -f %name.lang %defattr(-, root, root) %doc AUTHORS COPYING ChangeLog README %{_bindir}/* %{_sysconfdir}/gconf/schemas/gnomeblog.schemas %{_datadir}/pixmaps/gnome-blog.png %{_datadir}/gnome-2.0/ui/*.xml %{_datadir}/applications/*.desktop %{_libdir}/bonobo/servers/*.server %dir %{_libdir}/python*/site-packages/gnomeblog/ %{_libdir}/python*/site-packages/gnomeblog/*.py %{_libdir}/python*/site-packages/gnomeblog/gnome-blog-poster %{_libdir}/python*/site-packages/gnomeblog/*.pyc %{_libexecdir}/*py %ghost %{_libdir}/python*/site-packages/gnomeblog/*.pyo %changelog * Sat Apr 03 2004 Brian Pepple - Removed INSTALL doc, since it's the generic file. - Removed unneeded NEWS file. - Ghosted *.pyo files. - Added BuildRequires gettext. * Sun Dec 21 2003 Rob Love - Require gnome-python2-gnomevfs * Thu Aug 14 2003 William Jon McCann - Don't install Rhythmbox.h. gnome-blog-0.9.1/configure.in0000664000076500007650000000132010446321155013012 00000000000000AC_INIT(blog_applet.py) AM_CONFIG_HEADER(config.h) AM_INIT_AUTOMAKE(gnome-blog, 0.9.1) AM_MAINTAINER_MODE AC_PATH_PROG(GCONFTOOL, gconftool-2) AM_GCONF_SOURCE_2 AC_PROG_INTLTOOL([0.21]) dnl check for python dnl AM_PATH_PYTHON(2.2) AM_PATH_PYTHON PKG_CHECK_MODULES(PYGTK, pygtk-2.0 >= 2.6) AC_SUBST(PYGTK_CFLAGS) AC_SUBST(PYGTK_LIBS) ALL_LINGUAS="az bg ca cs de en_CA en_GB es et fi fr gl hr hu it ja ms nb ne nl pl pt pt_BR rw sq sr sr@Latn sv uk vi zh_CN zh_TW" GETTEXT_PACKAGE=gnome-blog AC_SUBST(GETTEXT_PACKAGE) AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [The gettext package]) AM_GLIB_GNU_GETTEXT AC_OUTPUT([ Makefile gnome_blog_globals.py gnome-blog.spec protocols/Makefile po/Makefile.in ]) gnome-blog-0.9.1/blog_applet.py0000775000076500007650000001113510252432476013357 00000000000000#!/usr/bin/env python import pygtk pygtk.require('2.0') import gtk import gobject import gnome import gnome.ui import gnome.applet import gconf import string # maybe someone can do this trick without string? from gettext import gettext as _, bindtextdomain, textdomain from gnomeblog import blog_poster from gnomeblog import aligned_window from gnomeblog import blogger_prefs from gnomeblog import gnome_blog_globals bindtextdomain('gnome-blog', gnome_blog_globals.localedir) textdomain('gnome-blog') icon_theme = gtk.icon_theme_get_default() icon_info = icon_theme.lookup_icon('gnome-blog', -1, 0) gtk.window_set_default_icon_from_file(icon_info.get_filename()) class BloggerApplet(gnome.applet.Applet): def __init__(self): self.__gobject_init__() def init(self): self.set_applet_flags(gnome.applet.EXPAND_MINOR) self.toggle = gtk.ToggleButton() self.applet_tooltips = gtk.Tooltips() self.setup_menu_from_file (None, "GNOME_BlogApplet.xml", None, [(_("About"), self._showAboutDialog), ("Pref", self._openPrefs)]) button_box = gtk.HBox() button_box.pack_start(gtk.Label(_("Blog"))) self.arrow = gtk.Arrow(gtk.ARROW_DOWN, gtk.SHADOW_IN) button_box.pack_start(self.arrow) self.toggle.add(button_box) self.add(self.toggle) self.toggle.connect("toggled", self._onToggle) self.toggle.connect("button-press-event", self._onButtonPress) self.show_all() self.poster_window = aligned_window.AlignedWindow(self.toggle, self.get_orient) accel_group = gtk.AccelGroup() self.poster_window.add_accel_group(accel_group) self.prefs_key = self.get_preferences_key() print "Applet prefs located at %s" % (self.prefs_key) self.poster = blog_poster.BlogPosterSimple(prefs_key=self.prefs_key, on_entry_posted=self._onEntryPosted, accel_group=accel_group) self.poster_window.add(self.poster) self.poster.show() client = gconf.client_get_default() value = client.get_bool(self.prefs_key + "/initialized") if value == None or value == False: self.poster._showPrefDialog() # self._showPrefDialog() client.set_bool(self.prefs_key + "/initialized", True) self._createToolTip(client) return True def _showAboutDialog(self, uicomponent, verb): gnome.ui.About(gnome_blog_globals.name, gnome_blog_globals.version, "Copyright 2003 Seth Nickell", _("A GNOME Web Blogging Applet"),["Seth Nickell "],[], "",gtk.gdk.pixbuf_new_from_file(gnome_blog_globals.image_dir + "/gnome-blog.png")).show() def _showPrefDialog(self): prefs_dialog = blogger_prefs.BloggerPrefs(self.prefs_key) prefs_dialog.show() prefs_dialog.run() prefs_dialog.hide() def _openPrefs(self, uicomponent, verb): self._showPrefDialog() def _onToggle(self, toggle): if toggle.get_active(): self.poster_window.positionWindow() self.poster_window.show() self.poster.grab_focus() else: self.poster_window.hide() def _onEntryPosted(self): self.toggle.set_active(False) def _onButtonPress(self, toggle, event): if event.button != 1: toggle.stop_emission("button-press-event") def _createToolTip(self,client): # take the XML_RPC value from GConf blog_url = client.get_string(self.prefs_key + "/xmlrpc_url") # split the URL up into http:, '', domainname, extra blog_split = string.split(blog_url,"/",3); # join back up the URL into http://domainname blog_url = string.join(blog_split[:3],"/") tooltip = _("Create a blog entry for %s at %s") % \ ( client.get_string(self.prefs_key + "/blog_username"), \ blog_url ) # Set tooltip to the applet button self.applet_tooltips.set_tip(self.toggle,tooltip) gobject.type_register(BloggerApplet) def foo(applet, iid): print "Returning blogger applet" return applet.init() gnome.applet.bonobo_factory("OAFIID:GNOME_BlogApplet_Factory", BloggerApplet.__gtype__, "Blog", "0", foo) print "Done waiting in factory, returning... If this seems wrong, perhaps there is another copy of the Blog factory running?" gnome-blog-0.9.1/intltool-update.in0000644000076500007650000006663510446321163014176 00000000000000#!@INTLTOOL_PERL@ -w # -*- Mode: perl; indent-tabs-mode: nil; c-basic-offset: 4 -*- # # The Intltool Message Updater # # Copyright (C) 2000-2003 Free Software Foundation. # # Intltool is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # version 2 published by the Free Software Foundation. # # Intltool 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, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. # # 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. # # Authors: Kenneth Christiansen # Maciej Stachowiak # Darin Adler ## Release information my $PROGRAM = "intltool-update"; my $VERSION = "0.35.0"; my $PACKAGE = "intltool"; ## Loaded modules use strict; use Getopt::Long; use Cwd; use File::Copy; use File::Find; ## Scalars used by the option stuff my $HELP_ARG = 0; my $VERSION_ARG = 0; my $DIST_ARG = 0; my $POT_ARG = 0; my $HEADERS_ARG = 0; my $MAINTAIN_ARG = 0; my $REPORT_ARG = 0; my $VERBOSE = 0; my $GETTEXT_PACKAGE = ""; my $OUTPUT_FILE = ""; my @languages; my %varhash = (); my %po_files_by_lang = (); # Regular expressions to categorize file types. # FIXME: Please check if the following is correct my $xml_support = "xml(?:\\.in)*|". # http://www.w3.org/XML/ (Note: .in is not required) "ui|". # Bonobo specific - User Interface desc. files "lang|". # ? "glade2?(?:\\.in)*|". # Glade specific - User Interface desc. files (Note: .in is not required) "scm(?:\\.in)*|". # ? (Note: .in is not required) "oaf(?:\\.in)+|". # DEPRECATED: Replaces by Bonobo .server files "etspec|". # ? "server(?:\\.in)+|". # Bonobo specific "sheet(?:\\.in)+|". # ? "schemas(?:\\.in)+|". # GConf specific "pong(?:\\.in)+|". # DEPRECATED: PONG is not used [by GNOME] any longer. "kbd(?:\\.in)+"; # GOK specific. my $ini_support = "icon(?:\\.in)+|". # http://www.freedesktop.org/Standards/icon-theme-spec "desktop(?:\\.in)+|". # http://www.freedesktop.org/Standards/menu-spec "caves(?:\\.in)+|". # GNOME Games specific "directory(?:\\.in)+|". # http://www.freedesktop.org/Standards/menu-spec "soundlist(?:\\.in)+|". # GNOME specific "keys(?:\\.in)+|". # GNOME Mime database specific "theme(?:\\.in)+|". # http://www.freedesktop.org/Standards/icon-theme-spec "service(?:\\.in)+"; # DBus specific my $buildin_gettext_support = "c|y|cs|cc|cpp|c\\+\\+|h|hh|gob|py"; ## Always flush buffer when printing $| = 1; ## Sometimes the source tree will be rooted somewhere else. my $SRCDIR = "."; my $POTFILES_in; $SRCDIR = $ENV{"srcdir"} if $ENV{"srcdir"}; $POTFILES_in = "<$SRCDIR/POTFILES.in"; my $devnull = ($^O eq 'MSWin32' ? 'NUL:' : '/dev/null'); ## Handle options GetOptions ( "help" => \$HELP_ARG, "version" => \$VERSION_ARG, "dist|d" => \$DIST_ARG, "pot|p" => \$POT_ARG, "headers|s" => \$HEADERS_ARG, "maintain|m" => \$MAINTAIN_ARG, "report|r" => \$REPORT_ARG, "verbose|x" => \$VERBOSE, "gettext-package|g=s" => \$GETTEXT_PACKAGE, "output-file|o=s" => \$OUTPUT_FILE, ) or &Console_WriteError_InvalidOption; &Console_Write_IntltoolHelp if $HELP_ARG; &Console_Write_IntltoolVersion if $VERSION_ARG; my $arg_count = ($DIST_ARG > 0) + ($POT_ARG > 0) + ($HEADERS_ARG > 0) + ($MAINTAIN_ARG > 0) + ($REPORT_ARG > 0); &Console_Write_IntltoolHelp if $arg_count > 1; # --version and --help don't require a module name my $MODULE = $GETTEXT_PACKAGE || &FindPackageName || "unknown"; if ($POT_ARG) { &GenerateHeaders; &GeneratePOTemplate; } elsif ($HEADERS_ARG) { &GenerateHeaders; } elsif ($MAINTAIN_ARG) { &FindLeftoutFiles; } elsif ($REPORT_ARG) { &GenerateHeaders; &GeneratePOTemplate; &Console_Write_CoverageReport; } elsif ((defined $ARGV[0]) && $ARGV[0] =~ /^[a-z]/) { my $lang = $ARGV[0]; ## Report error if the language file supplied ## to the command line is non-existent &Console_WriteError_NotExisting("$SRCDIR/$lang.po") if ! -s "$SRCDIR/$lang.po"; if (!$DIST_ARG) { print "Working, please wait..." if $VERBOSE; &GenerateHeaders; &GeneratePOTemplate; } &POFile_Update ($lang, $OUTPUT_FILE); &Console_Write_TranslationStatus ($lang, $OUTPUT_FILE); } else { &Console_Write_IntltoolHelp; } exit; ######### sub Console_Write_IntltoolVersion { print <<_EOF_; ${PROGRAM} (${PACKAGE}) $VERSION Written by Kenneth Christiansen, Maciej Stachowiak, and Darin Adler. Copyright (C) 2000-2003 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. _EOF_ exit; } sub Console_Write_IntltoolHelp { print <<_EOF_; Usage: ${PROGRAM} [OPTION]... LANGCODE Updates PO template files and merge them with the translations. Mode of operation (only one is allowed): -p, --pot generate the PO template only -s, --headers generate the header files in POTFILES.in -m, --maintain search for left out files from POTFILES.in -r, --report display a status report for the module -d, --dist merge LANGCODE.po with existing PO template Extra options: -g, --gettext-package=NAME override PO template name, useful with --pot -o, --output-file=FILE write merged translation to FILE -x, --verbose display lots of feedback --help display this help and exit --version output version information and exit Examples of use: ${PROGRAM} --pot just create a new PO template ${PROGRAM} xy create new PO template and merge xy.po with it Report bugs to http://bugzilla.gnome.org/ (product name "$PACKAGE") or send email to . _EOF_ exit; } sub echo_n { my $str = shift; my $ret = `echo "$str"`; $ret =~ s/\n$//; # do we need the "s" flag? return $ret; } sub POFile_DetermineType ($) { my $type = $_; my $gettext_type; my $xml_regex = "(?:" . $xml_support . ")"; my $ini_regex = "(?:" . $ini_support . ")"; my $buildin_regex = "(?:" . $buildin_gettext_support . ")"; if ($type =~ /\[type: gettext\/([^\]].*)]/) { $gettext_type=$1; } elsif ($type =~ /schemas(\.in)+$/) { $gettext_type="schemas"; } elsif ($type =~ /glade2?(\.in)*$/) { $gettext_type="glade"; } elsif ($type =~ /scm(\.in)*$/) { $gettext_type="scheme"; } elsif ($type =~ /keys(\.in)+$/) { $gettext_type="keys"; } # bucket types elsif ($type =~ /$xml_regex$/) { $gettext_type="xml"; } elsif ($type =~ /$ini_regex$/) { $gettext_type="ini"; } elsif ($type =~ /$buildin_regex$/) { $gettext_type="buildin"; } else { $gettext_type="unknown"; } return "gettext\/$gettext_type"; } sub TextFile_DetermineEncoding ($) { my $gettext_code="ASCII"; # All files are ASCII by default my $filetype=`file $_ | cut -d ' ' -f 2`; if ($? eq "0") { if ($filetype =~ /^(ISO|UTF)/) { chomp ($gettext_code = $filetype); } elsif ($filetype =~ /^XML/) { $gettext_code="UTF-8"; # We asume that .glade and other .xml files are UTF-8 } } return $gettext_code; } sub isNotValidMissing { my ($file) = @_; return if $file =~ /^\{arch\}\/.*$/; return if $file =~ /^$varhash{"PACKAGE"}-$varhash{"VERSION"}\/.*$/; } sub FindLeftoutFiles { my (@buf_i18n_plain, @buf_i18n_xml, @buf_i18n_xml_unmarked, @buf_i18n_ini, @buf_potfiles, @buf_potfiles_ignore, @buf_allfiles, @buf_allfiles_sorted, @buf_potfiles_sorted ); ## Search and find all translatable files find sub { push @buf_i18n_plain, "$File::Find::name" if /\.($buildin_gettext_support)$/; push @buf_i18n_xml, "$File::Find::name" if /\.($xml_support)$/; push @buf_i18n_ini, "$File::Find::name" if /\.($ini_support)$/; push @buf_i18n_xml_unmarked, "$File::Find::name" if /\.(schemas(\.in)+)$/; }, ".."; open POTFILES, $POTFILES_in or die "$PROGRAM: there's no POTFILES.in!\n"; @buf_potfiles = grep !/^(#|\s*$)/, ; close POTFILES; foreach (@buf_potfiles) { s/^\[.*]\s*//; } print "Searching for missing translatable files...\n" if $VERBOSE; ## Check if we should ignore some found files, when ## comparing with POTFILES.in foreach my $ignore ("POTFILES.skip", "POTFILES.ignore") { (-s $ignore) or next; if ("$ignore" eq "POTFILES.ignore") { print "The usage of POTFILES.ignore is deprecated. Please consider moving the\n". "content of this file to POTFILES.skip.\n"; } print "Found $ignore: Ignoring files...\n" if $VERBOSE; open FILE, "<$ignore" or die "ERROR: Failed to open $ignore!\n"; while () { push @buf_potfiles_ignore, $_ unless /^(#|\s*$)/; } close FILE; @buf_potfiles = (@buf_potfiles_ignore, @buf_potfiles); } foreach my $file (@buf_i18n_plain) { my $in_comment = 0; my $in_macro = 0; open FILE, "<$file"; while () { # Handle continued multi-line comment. if ($in_comment) { next unless s-.*\*/--; $in_comment = 0; } # Handle continued macro. if ($in_macro) { $in_macro = 0 unless /\\$/; next; } # Handle start of macro (or any preprocessor directive). if (/^\s*\#/) { $in_macro = 1 if /^([^\\]|\\.)*\\$/; next; } # Handle comments and quoted text. while (m-(/\*|//|\'|\")-) # \' and \" keep emacs perl mode happy { my $match = $1; if ($match eq "/*") { if (!s-/\*.*?\*/--) { s-/\*.*--; $in_comment = 1; } } elsif ($match eq "//") { s-//.*--; } else # ' or " { if (!s-$match([^\\]|\\.)*?$match-QUOTEDTEXT-) { warn "mismatched quotes at line $. in $file\n"; s-$match.*--; } } } if (/\.GetString ?\(QUOTEDTEXT/) { if (defined isNotValidMissing (unpack("x3 A*", $file))) { ## Remove the first 3 chars and add newline push @buf_allfiles, unpack("x3 A*", $file) . "\n"; } last; } if (/_\(QUOTEDTEXT/) { if (defined isNotValidMissing (unpack("x3 A*", $file))) { ## Remove the first 3 chars and add newline push @buf_allfiles, unpack("x3 A*", $file) . "\n"; } last; } } close FILE; } foreach my $file (@buf_i18n_xml) { open FILE, "<$file"; while () { # FIXME: share the pattern matching code with intltool-extract if (/\s_[-A-Za-z0-9._:]+\s*=\s*\"([^"]+)\"/ || /<_[^>]+>/ || /translatable=\"yes\"/) { if (defined isNotValidMissing (unpack("x3 A*", $file))) { push @buf_allfiles, unpack("x3 A*", $file) . "\n"; } last; } } close FILE; } foreach my $file (@buf_i18n_ini) { open FILE, "<$file"; while () { if (/_(.*)=/) { if (defined isNotValidMissing (unpack("x3 A*", $file))) { push @buf_allfiles, unpack("x3 A*", $file) . "\n"; } last; } } close FILE; } foreach my $file (@buf_i18n_xml_unmarked) { if (defined isNotValidMissing (unpack("x3 A*", $file))) { push @buf_allfiles, unpack("x3 A*", $file) . "\n"; } } @buf_allfiles_sorted = sort (@buf_allfiles); @buf_potfiles_sorted = sort (@buf_potfiles); my %in2; foreach (@buf_potfiles_sorted) { $in2{$_} = 1; } my @result; foreach (@buf_allfiles_sorted) { if (!exists($in2{$_})) { push @result, $_ } } my @buf_potfiles_notexist; foreach (@buf_potfiles_sorted) { chomp (my $dummy = $_); if ("$dummy" ne "" and ! -f "../$dummy") { push @buf_potfiles_notexist, $_; } } ## Save file with information about the files missing ## if any, and give information about this procedure. if (@result + @buf_potfiles_notexist > 0) { if (@result) { print "\n" if $VERBOSE; unlink "missing"; open OUT, ">missing"; print OUT @result; close OUT; warn "\e[1mThe following files contain translations and are currently not in use. Please\e[0m\n". "\e[1mconsider adding these to the POTFILES.in file, located in the po/ directory.\e[0m\n\n"; print STDERR @result, "\n"; warn "If some of these files are left out on purpose then please add them to\n". "POTFILES.skip instead of POTFILES.in. A file \e[1m'missing'\e[0m containing this list\n". "of left out files has been written in the current directory.\n"; } if (@buf_potfiles_notexist) { unlink "notexist"; open OUT, ">notexist"; print OUT @buf_potfiles_notexist; close OUT; warn "\n" if ($VERBOSE or @result); warn "\e[1mThe following files do not exist anymore:\e[0m\n\n"; warn @buf_potfiles_notexist, "\n"; warn "Please remove them from POTFILES.in or POTFILES.skip. A file \e[1m'notexist'\e[0m\n". "containing this list of absent files has been written in the current directory.\n"; } } ## If there is nothing to complain about, notify the user else { print "\nAll files containing translations are present in POTFILES.in.\n" if $VERBOSE; } } sub Console_WriteError_InvalidOption { ## Handle invalid arguments print STDERR "Try `${PROGRAM} --help' for more information.\n"; exit 1; } sub GenerateHeaders { my $EXTRACT = "@INTLTOOL_EXTRACT@"; chomp $EXTRACT; $EXTRACT = $ENV{"INTLTOOL_EXTRACT"} if $ENV{"INTLTOOL_EXTRACT"}; ## Generate the .h header files, so we can allow glade and ## xml translation support if (! -x "$EXTRACT") { print STDERR "\n *** The intltool-extract script wasn't found!" ."\n *** Without it, intltool-update can not generate files.\n"; exit; } else { open (FILE, $POTFILES_in) or die "$PROGRAM: POTFILES.in not found.\n"; while () { chomp; next if /^\[\s*encoding/; ## Find xml files in POTFILES.in and generate the ## files with help from the extract script my $gettext_type= &POFile_DetermineType ($1); if (/\.($xml_support|$ini_support)$/ || /^\[/) { s/^\[[^\[].*]\s*//; my $filename = "../$_"; if ($VERBOSE) { system ($EXTRACT, "--update", "--srcdir=$SRCDIR", "--type=$gettext_type", $filename); } else { system ($EXTRACT, "--update", "--type=$gettext_type", "--srcdir=$SRCDIR", "--quiet", $filename); } } } close FILE; } } # # Generate .pot file from POTFILES.in # sub GeneratePOTemplate { my $XGETTEXT = $ENV{"XGETTEXT"} || "@INTLTOOL_XGETTEXT@"; my $XGETTEXT_ARGS = $ENV{"XGETTEXT_ARGS"} || ''; chomp $XGETTEXT; if (! -x $XGETTEXT) { print STDERR " *** xgettext is not found on this system!\n". " *** Without it, intltool-update can not extract strings.\n"; exit; } print "Building $MODULE.pot...\n" if $VERBOSE; open INFILE, $POTFILES_in; unlink "POTFILES.in.temp"; open OUTFILE, ">POTFILES.in.temp" or die("Cannot open POTFILES.in.temp for writing"); my $gettext_support_nonascii = 0; # checks for GNU gettext >= 0.12 my $dummy = `$XGETTEXT --version --from-code=UTF-8 >$devnull 2>$devnull`; if ($? == 0) { $gettext_support_nonascii = 1; } else { # urge everybody to upgrade gettext print STDERR "WARNING: This version of gettext does not support extracting non-ASCII\n". " strings. That means you should install a version of gettext\n". " that supports non-ASCII strings (such as GNU gettext >= 0.12),\n". " or have to let non-ASCII strings untranslated. (If there is any)\n"; } my $encoding = "ASCII"; my $forced_gettext_code; my @temp_headers; my $encoding_problem_is_reported = 0; while () { next if (/^#/ or /^\s*$/); chomp; my $gettext_code; if (/^\[\s*encoding:\s*(.*)\s*\]/) { $forced_gettext_code=$1; } elsif (/\.($xml_support|$ini_support)$/ || /^\[/) { s/^\[.*]\s*//; print OUTFILE "../$_.h\n"; push @temp_headers, "../$_.h"; $gettext_code = &TextFile_DetermineEncoding ("../$_.h") if ($gettext_support_nonascii and not defined $forced_gettext_code); } else { if ($SRCDIR eq ".") { print OUTFILE "../$_\n"; } else { print OUTFILE "$SRCDIR/../$_\n"; } $gettext_code = &TextFile_DetermineEncoding ("../$_") if ($gettext_support_nonascii and not defined $forced_gettext_code); } next if (! $gettext_support_nonascii); if (defined $forced_gettext_code) { $encoding=$forced_gettext_code; } elsif (defined $gettext_code and "$encoding" ne "$gettext_code") { if ($encoding eq "ASCII") { $encoding=$gettext_code; } elsif ($gettext_code ne "ASCII") { # Only report once because the message is quite long if (! $encoding_problem_is_reported) { print STDERR "WARNING: You should use the same file encoding for all your project files,\n". " but $PROGRAM thinks that most of the source files are in\n". " $encoding encoding, while \"$_\" is (likely) in\n". " $gettext_code encoding. If you are sure that all translatable strings\n". " are in same encoding (say UTF-8), please \e[1m*prepend*\e[0m the following\n". " line to POTFILES.in:\n\n". " [encoding: UTF-8]\n\n". " and make sure that configure.in/ac checks for $PACKAGE >= 0.27 .\n". "(such warning message will only be reported once.)\n"; $encoding_problem_is_reported = 1; } } } } close OUTFILE; close INFILE; unlink "$MODULE.pot"; my @xgettext_argument=("$XGETTEXT", "--add-comments", "--directory\=\.", "--output\=$MODULE\.pot", "--files-from\=\.\/POTFILES\.in\.temp"); my $XGETTEXT_KEYWORDS = &FindPOTKeywords; push @xgettext_argument, $XGETTEXT_KEYWORDS; my $MSGID_BUGS_ADDRESS = &FindMakevarsBugAddress; push @xgettext_argument, "--msgid-bugs-address\=$MSGID_BUGS_ADDRESS" if $MSGID_BUGS_ADDRESS; push @xgettext_argument, "--from-code\=$encoding" if ($gettext_support_nonascii); push @xgettext_argument, $XGETTEXT_ARGS if $XGETTEXT_ARGS; my $xgettext_command = join ' ', @xgettext_argument; # intercept xgettext error message print "Running $xgettext_command\n" if $VERBOSE; my $xgettext_error_msg = `$xgettext_command 2>\&1`; my $command_failed = $?; unlink "POTFILES.in.temp"; print "Removing generated header (.h) files..." if $VERBOSE; unlink foreach (@temp_headers); print "done.\n" if $VERBOSE; if (! $command_failed) { if (! -e "$MODULE.pot") { print "None of the files in POTFILES.in contain strings marked for translation.\n" if $VERBOSE; } else { print "Wrote $MODULE.pot\n" if $VERBOSE; } } else { if ($xgettext_error_msg =~ /--from-code/) { # replace non-ASCII error message with a more useful one. print STDERR "ERROR: xgettext failed to generate PO template file because there is non-ASCII\n". " string marked for translation. Please make sure that all strings marked\n". " for translation are in uniform encoding (say UTF-8), then \e[1m*prepend*\e[0m the\n". " following line to POTFILES.in and rerun $PROGRAM:\n\n". " [encoding: UTF-8]\n\n"; } else { print STDERR "$xgettext_error_msg"; if (-e "$MODULE.pot") { # is this possible? print STDERR "ERROR: xgettext failed but still managed to generate PO template file.\n". " Please consult error message above if there is any.\n"; } else { print STDERR "ERROR: xgettext failed to generate PO template file. Please consult\n". " error message above if there is any.\n"; } } exit (1); } } sub POFile_Update { -f "$MODULE.pot" or die "$PROGRAM: $MODULE.pot does not exist.\n"; my $MSGMERGE = $ENV{"MSGMERGE"} || "@INTLTOOL_MSGMERGE@"; my ($lang, $outfile) = @_; print "Merging $SRCDIR/$lang.po with $MODULE.pot..." if $VERBOSE; my $infile = "$SRCDIR/$lang.po"; $outfile = "$SRCDIR/$lang.po" if ($outfile eq ""); # I think msgmerge won't overwrite old file if merge is not successful system ("$MSGMERGE", "-o", $outfile, $infile, "$MODULE.pot"); } sub Console_WriteError_NotExisting { my ($file) = @_; ## Report error if supplied language file is non-existing print STDERR "$PROGRAM: $file does not exist!\n"; print STDERR "Try '$PROGRAM --help' for more information.\n"; exit; } sub GatherPOFiles { my @po_files = glob ("./*.po"); @languages = map (&POFile_GetLanguage, @po_files); foreach my $lang (@languages) { $po_files_by_lang{$lang} = shift (@po_files); } } sub POFile_GetLanguage ($) { s/^(.*\/)?(.+)\.po$/$2/; return $_; } sub Console_Write_TranslationStatus { my ($lang, $output_file) = @_; my $MSGFMT = $ENV{"MSGFMT"} || "@INTLTOOL_MSGFMT@"; $output_file = "$SRCDIR/$lang.po" if ($output_file eq ""); system ("$MSGFMT", "-o", "$devnull", "--verbose", $output_file); } sub Console_Write_CoverageReport { my $MSGFMT = $ENV{"MSGFMT"} || "@INTLTOOL_MSGFMT@"; &GatherPOFiles; foreach my $lang (@languages) { print "$lang: "; &POFile_Update ($lang, ""); } print "\n\n * Current translation support in $MODULE \n\n"; foreach my $lang (@languages) { print "$lang: "; system ("$MSGFMT", "-o", "$devnull", "--verbose", "$SRCDIR/$lang.po"); } } sub SubstituteVariable { my ($str) = @_; # always need to rewind file whenever it has been accessed seek (CONF, 0, 0); # cache each variable. varhash is global to we can add # variables elsewhere. while () { if (/^(\w+)=(.*)$/) { ($varhash{$1} = $2) =~ s/^["'](.*)["']$/$1/; } } if ($str =~ /^(.*)\${?([A-Z_]+)}?(.*)$/) { my $rest = $3; my $untouched = $1; my $sub = ""; # Ignore recursive definitions of variables $sub = $varhash{$2} if defined $varhash{$2} and $varhash{$2} !~ /\${?$2}?/; return SubstituteVariable ("$untouched$sub$rest"); } # We're using Perl backticks ` and "echo -n" here in order to # expand any shell escapes (such as backticks themselves) in every variable return echo_n ($str); } sub CONF_Handle_Open { my $base_dirname = getcwd(); $base_dirname =~ s@.*/@@; my ($conf_in, $src_dir); if ($base_dirname =~ /^po(-.+)?$/) { if (-f "Makevars") { my $makefile_source; local (*IN); open (IN, ") { if (/^top_builddir[ \t]*=/) { $src_dir = $_; $src_dir =~ s/^top_builddir[ \t]*=[ \t]*([^ \t\n\r]*)/$1/; chomp $src_dir; if (-f "$src_dir" . "/configure.ac") { $conf_in = "$src_dir" . "/configure.ac" . "\n"; } else { $conf_in = "$src_dir" . "/configure.in" . "\n"; } last; } } close IN; $conf_in || die "Cannot find top_builddir in Makevars."; } elsif (-f "../configure.ac") { $conf_in = "../configure.ac"; } elsif (-f "../configure.in") { $conf_in = "../configure.in"; } else { my $makefile_source; local (*IN); open (IN, ") { if (/^top_srcdir[ \t]*=/) { $src_dir = $_; $src_dir =~ s/^top_srcdir[ \t]*=[ \t]*([^ \t\n\r]*)/$1/; chomp $src_dir; $conf_in = "$src_dir" . "/configure.in" . "\n"; last; } } close IN; $conf_in || die "Cannot find top_srcdir in Makefile."; } open (CONF, "<$conf_in"); } else { print STDERR "$PROGRAM: Unable to proceed.\n" . "Make sure to run this script inside the po directory.\n"; exit; } } sub FindPackageName { my $version; my $domain = &FindMakevarsDomain; my $name = $domain || "untitled"; &CONF_Handle_Open; my $conf_source; { local (*IN); open (IN, "<&CONF") || return $name; seek (IN, 0, 0); local $/; # slurp mode $conf_source = ; close IN; } # priority for getting package name: # 1. GETTEXT_PACKAGE # 2. first argument of AC_INIT (with >= 2 arguments) # 3. first argument of AM_INIT_AUTOMAKE (with >= 2 argument) # /^AM_INIT_AUTOMAKE\([\s\[]*([^,\)\s\]]+)/m # the \s makes this not work, why? if ($conf_source =~ /^AM_INIT_AUTOMAKE\(([^,\)]+),([^,\)]+)/m) { ($name, $version) = ($1, $2); $name =~ s/[\[\]\s]//g; $version =~ s/[\[\]\s]//g; $varhash{"PACKAGE_NAME"} = $name if (not $name =~ /\${?AC_PACKAGE_NAME}?/); $varhash{"PACKAGE"} = $name if (not $name =~ /\${?PACKAGE}?/); $varhash{"PACKAGE_VERSION"} = $version if (not $name =~ /\${?AC_PACKAGE_VERSION}?/); $varhash{"VERSION"} = $version if (not $name =~ /\${?VERSION}?/); } if ($conf_source =~ /^AC_INIT\(([^,\)]+),([^,\)]+)/m) { ($name, $version) = ($1, $2); $name =~ s/[\[\]\s]//g; $version =~ s/[\[\]\s]//g; $varhash{"PACKAGE_NAME"} = $name if (not $name =~ /\${?AC_PACKAGE_NAME}?/); $varhash{"PACKAGE"} = $name if (not $name =~ /\${?PACKAGE}?/); $varhash{"PACKAGE_VERSION"} = $version if (not $name =~ /\${?AC_PACKAGE_VERSION}?/); $varhash{"VERSION"} = $version if (not $name =~ /\${?VERSION}?/); } # \s makes this not work, why? $name = $1 if $conf_source =~ /^GETTEXT_PACKAGE=\[?([^\n\]]+)/m; # m4 macros AC_PACKAGE_NAME, AC_PACKAGE_VERSION etc. have same value # as corresponding $PACKAGE_NAME, $PACKAGE_VERSION etc. shell variables. $name =~ s/\bAC_PACKAGE_/\$PACKAGE_/g; $name = $domain if $domain; $name = SubstituteVariable ($name); $name =~ s/^["'](.*)["']$/$1/; return $name if $name; } sub FindPOTKeywords { my $keywords = "--keyword\=\_ --keyword\=N\_ --keyword\=U\_ --keyword\=Q\_"; my $varname = "XGETTEXT_OPTIONS"; my $make_source; { local (*IN); open (IN, "; close IN; } $keywords = $1 if $make_source =~ /^$varname[ ]*=\[?([^\n\]]+)/m; return $keywords; } sub FindMakevarsDomain { my $domain = ""; my $makevars_source; { local (*IN); open (IN, "; close IN; } $domain = $1 if $makevars_source =~ /^DOMAIN[ ]*=\[?([^\n\]\$]+)/m; $domain =~ s/^\s+//; $domain =~ s/\s+$//; return $domain; } sub FindMakevarsBugAddress { my $address = ""; my $makevars_source; { local (*IN); open (IN, "; close IN; } $address = $1 if $makevars_source =~ /^MSGID_BUGS_ADDRESS[ ]*=\[?([^\n\]\$]+)/m; $address =~ s/^\s+//; $address =~ s/\s+$//; return $address; } gnome-blog-0.9.1/install-sh0000755000076500007650000002202110360725552012510 00000000000000#!/bin/sh # install - install a program, script, or datafile scriptversion=2005-05-14.22 # 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. It can only install one file at a time, a restriction # shared with many OS's install programs. # set DOITPROG to echo to test this script # Don't use :- since 4.3BSD and earlier shells don't like it. doit="${DOITPROG-}" # put in absolute paths if you don't have them in your path; or use env. vars. mvprog="${MVPROG-mv}" cpprog="${CPPROG-cp}" chmodprog="${CHMODPROG-chmod}" chownprog="${CHOWNPROG-chown}" chgrpprog="${CHGRPPROG-chgrp}" stripprog="${STRIPPROG-strip}" rmprog="${RMPROG-rm}" mkdirprog="${MKDIRPROG-mkdir}" chmodcmd="$chmodprog 0755" chowncmd= chgrpcmd= stripcmd= rmcmd="$rmprog -f" mvcmd="$mvprog" src= dst= dir_arg= dstarg= 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: -c (ignored) -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. --help display this help and exit. --version display version info and exit. Environment variables override the default commands: CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG " while test -n "$1"; do case $1 in -c) shift continue;; -d) dir_arg=true shift continue;; -g) chgrpcmd="$chgrpprog $2" shift shift continue;; --help) echo "$usage"; exit $?;; -m) chmodcmd="$chmodprog $2" shift shift continue;; -o) chowncmd="$chownprog $2" shift shift continue;; -s) stripcmd=$stripprog shift continue;; -t) dstarg=$2 shift shift continue;; -T) no_target_directory=true shift continue;; --version) echo "$0 $scriptversion"; exit $?;; *) # When -d is used, all remaining arguments are directories to create. # When -t is used, the destination is already specified. test -n "$dir_arg$dstarg" && break # Otherwise, the last argument is the destination. Remove it from $@. for arg do if test -n "$dstarg"; then # $@ is not empty: it contains at least $arg. set fnord "$@" "$dstarg" shift # fnord fi shift # arg dstarg=$arg done break;; esac done if test -z "$1"; 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 for src do # Protect names starting with `-'. case $src in -*) src=./$src ;; esac if test -n "$dir_arg"; then dst=$src src= if test -d "$dst"; then mkdircmd=: chmodcmd= else mkdircmd=$mkdirprog fi 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 "$dstarg"; then echo "$0: no destination specified." >&2 exit 1 fi dst=$dstarg # Protect names starting with `-'. case $dst in -*) dst=./$dst ;; esac # 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: $dstarg: Is a directory" >&2 exit 1 fi dst=$dst/`basename "$src"` fi fi # This sed command emulates the dirname command. dstdir=`echo "$dst" | sed -e 's,/*$,,;s,[^/]*$,,;s,/*$,,;s,^$,.,'` # Make sure that the destination directory exists. # Skip lots of stat calls in the usual case. if test ! -d "$dstdir"; then defaultIFS=' ' IFS="${IFS-$defaultIFS}" oIFS=$IFS # Some sh's can't handle IFS=/ for some reason. IFS='%' set x `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'` shift IFS=$oIFS pathcomp= while test $# -ne 0 ; do pathcomp=$pathcomp$1 shift if test ! -d "$pathcomp"; then $mkdirprog "$pathcomp" # mkdir can fail with a `File exist' error in case several # install-sh are creating the directory concurrently. This # is OK. test -d "$pathcomp" || exit fi pathcomp=$pathcomp/ done fi if test -n "$dir_arg"; then $doit $mkdircmd "$dst" \ && { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \ && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \ && { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \ && { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; } else dstfile=`basename "$dst"` # 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 trap '(exit $?); exit' 1 2 13 15 # Copy the file name to the temp name. $doit $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 "$dsttmp"; } && # Now rename the file to the real destination. { $doit $mvcmd -f "$dsttmp" "$dstdir/$dstfile" 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. { if test -f "$dstdir/$dstfile"; then $doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null \ || $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \ || { echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2 (exit 1); exit 1 } else : fi } && # Now rename the file to the real destination. $doit $mvcmd "$dsttmp" "$dstdir/$dstfile" } } fi || { (exit 1); exit 1; } done # The final little trick to "correctly" pass the exit status to the exit trap. { (exit 0); exit 0 } # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: gnome-blog-0.9.1/hig_alert.py0000664000076500007650000000532210446065510013017 00000000000000import gtk from gettext import gettext as _ import xml.sax.saxutils def italic(s): return "%s" % xml.sax.saxutils.escape(str(s)) def bold(s): return "%s" % xml.sax.saxutils.escape(str(s)) def handleBloggerAPIFault(e, primary, username, blog_id, url): if e.faultCode == 'Method Error': reportError(primary, _('URL \'%s\' may not be a valid bloggerAPI. XML-RPC Server reported: %s.') % (url, italic(e.faultString))) elif e.faultCode == 'PasswordError': reportError(primary, _('Unknown username %s or password trying to post blog entry to XML-RPC server %s.') % (bold(username), italic(url))) elif e.faultCode == 'PostError': reportError(primary, _('Could not post to blog \'%s\' at bloggerAPI XML-RPC server \'%s\'. Server reported: %s.') % (blog_id, url, italic(e.faultString))) else: reportError(primary, _('The bloggerAPI server (%s) reported an error I don\'t understand: \'%s, %s\'. \n\nPlease email this error message to seth@gnome.org so I can address it.') % (url, italic(e.faultCode), e.faultString)) def reportError(primaryText, secondaryText): alert = HIGAlert(primaryText, secondaryText, buttons = (gtk.STOCK_OK, gtk.RESPONSE_ACCEPT)) alert.run() alert.hide() class HIGAlert(gtk.Dialog): def __init__(self, primaryText, secondaryText, parent=None, flags=0, buttons=None): gtk.Dialog.__init__(self, primaryText, parent, flags, buttons) self.set_border_width(6) self.set_has_separator(False) self.set_resizable(False) self.vbox.set_spacing(12) hbox = gtk.HBox() hbox.set_spacing(12) hbox.set_border_width(6) image = gtk.Image() image.set_from_stock(gtk.STOCK_DIALOG_ERROR, gtk.ICON_SIZE_DIALOG) alignment = gtk.Alignment(yalign=0.0) alignment.add(image) hbox.pack_start(alignment, expand=False) vbox = gtk.VBox() primaryLabel = gtk.Label("") primaryLabel.set_use_markup(True) primaryLabel.set_markup('%s\n' % (primaryText)) primaryLabel.set_line_wrap(True) primaryLabel.set_alignment(0.0, 0.0) primaryLabel.set_selectable(True) secondaryLabel = gtk.Label("") secondaryLabel.set_use_markup(True) secondaryLabel.set_markup(secondaryText) secondaryLabel.set_line_wrap(True) secondaryLabel.set_alignment(0.0, 0.0) secondaryLabel.set_selectable(True) vbox.pack_start(primaryLabel) vbox.pack_end(secondaryLabel) hbox.pack_end(vbox) hbox.show_all() self.vbox.add(hbox) gnome-blog-0.9.1/gnome-blog.spec0000664000076500007650000000411010446321204013376 00000000000000%define gnome_python2_version 1.99.13 Name: gnome-blog Summary: GNOME panel object for posting blog entries Version: 0.9.1 Release: 1 License: GPL Group: User Interface/Desktops Source: %{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-root Requires: gnome-python2-applet >= %{gnome_python2_version} Requires: gnome-python2-gconf >= %{gnome_python2_version} Requires: gnome-python2-gnomevfs >= %{gnome_python2_version} Requires: pygtk2 >= %{gnome_python2_version} Prereq: GConf2 Prereq: /usr/bin/gconftool-2 BuildRequires: pygtk2-devel >= %{gnome_python2_version} BuildRequires: gettext %description GNOME panel object that allows convenient posting of blog entries to any blog that supports the bloggerAPI. %prep %setup -q %build %configure make %{?_smp_mflags} %install rm -rf %{buildroot} export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1; %makeinstall unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL %find_lang %name %clean rm -rf %{buildroot} %post /sbin/ldconfig GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/gnomeblog.schemas > /dev/null; %postun -p /sbin/ldconfig %files -f %name.lang %defattr(-, root, root) %doc AUTHORS COPYING ChangeLog README %{_bindir}/* %{_sysconfdir}/gconf/schemas/gnomeblog.schemas %{_datadir}/pixmaps/gnome-blog.png %{_datadir}/gnome-2.0/ui/*.xml %{_datadir}/applications/*.desktop %{_libdir}/bonobo/servers/*.server %dir %{_libdir}/python*/site-packages/gnomeblog/ %{_libdir}/python*/site-packages/gnomeblog/*.py %{_libdir}/python*/site-packages/gnomeblog/gnome-blog-poster %{_libdir}/python*/site-packages/gnomeblog/*.pyc %{_libexecdir}/*py %ghost %{_libdir}/python*/site-packages/gnomeblog/*.pyo %changelog * Sat Apr 03 2004 Brian Pepple - Removed INSTALL doc, since it's the generic file. - Removed unneeded NEWS file. - Ghosted *.pyo files. - Added BuildRequires gettext. * Sun Dec 21 2003 Rob Love - Require gnome-python2-gnomevfs * Thu Aug 14 2003 William Jon McCann - Don't install Rhythmbox.h. gnome-blog-0.9.1/missing0000755000076500007650000002540610360725552012115 00000000000000#! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2005-06-08.21 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # Originally 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, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA # 02110-1301, USA. # 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 run=: # In the cases where this matters, `missing' is being run in the # srcdir already. if test -f configure.ac; then configure_ac=configure.ac else configure_ac=configure.in fi msg="missing on your system" case "$1" in --run) # Try to run requested program, and just exit if it succeeds. run= shift "$@" && exit 0 # Exit code 63 means version mismatch. This often happens # when the user try to use an ancient version of a tool on # a file that requires a minimum version. In this case we # we should proceed has if the program had been absent, or # if --run hadn't been passed. if test $? = 63; then run=: msg="probably too old" fi ;; -h|--h|--he|--hel|--help) echo "\ $0 [OPTION]... PROGRAM [ARGUMENT]... Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an error status if there is no known handling for PROGRAM. Options: -h, --help display this help and exit -v, --version output version information and exit --run try to run the given command, and emulate it if it fails Supported PROGRAM values: aclocal touch file \`aclocal.m4' autoconf touch file \`configure' autoheader touch file \`config.h.in' automake touch all \`Makefile.in' files bison create \`y.tab.[ch]', if possible, from existing .[ch] flex create \`lex.yy.c', if possible, from existing .c help2man touch the output file lex create \`lex.yy.c', if possible, from existing .c makeinfo touch the output file tar try tar, gnutar, gtar, then tar without non-portable flags yacc create \`y.tab.[ch]', if possible, from existing .[ch] 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 # Now exit if we have it, but it failed. Also exit now if we # don't have it and --version was passed (most likely to detect # the program). case "$1" in lex|yacc) # Not GNU programs, they don't have --version. ;; tar) if test -n "$run"; then echo 1>&2 "ERROR: \`tar' requires --run" exit 1 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then exit 1 fi ;; *) if test -z "$run" && ($1 --version) > /dev/null 2>&1; then # We have it, but it failed. exit 1 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then # Could not run --version or --help. This is probably someone # running `$TOOL --version' or `$TOOL --help' to check whether # $TOOL exists and not knowing $TOOL uses missing. exit 1 fi ;; esac # If it does not exist, or fails to run (possibly an outdated version), # try to emulate it. case "$1" in aclocal*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`acinclude.m4' or \`${configure_ac}'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." touch aclocal.m4 ;; autoconf) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`${configure_ac}'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." touch configure ;; autoheader) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`acconfig.h' or \`${configure_ac}'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}` test -z "$files" && files="config.h" touch_files= for f in $files; do case "$f" in *:*) touch_files="$touch_files "`echo "$f" | sed -e 's/^[^:]*://' -e 's/:.*//'`;; *) touch_files="$touch_files $f.in";; esac done touch $touch_files ;; automake*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." find . -type f -name Makefile.am -print | sed 's/\.am$/.in/' | while read f; do touch "$f"; done ;; autom4te) echo 1>&2 "\ WARNING: \`$1' is needed, but is $msg. You might have modified some files without having the proper tools for further handling them. You can get \`$1' as part of \`Autoconf' from any GNU archive site." file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'` test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'` if test -f "$file"; then touch $file else test -z "$file" || exec >$file echo "#! /bin/sh" echo "# Created by GNU Automake missing as a replacement of" echo "# $ $@" echo "exit 0" chmod +x $file exit 1 fi ;; bison|yacc) echo 1>&2 "\ WARNING: \`$1' $msg. You should only need it if you modified a \`.y' file. You may need the \`Bison' package in order for those modifications to take effect. You can get \`Bison' from any GNU archive site." rm -f y.tab.c y.tab.h if [ $# -ne 1 ]; then eval LASTARG="\${$#}" case "$LASTARG" in *.y) SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` if [ -f "$SRCFILE" ]; then cp "$SRCFILE" y.tab.c fi SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` if [ -f "$SRCFILE" ]; then cp "$SRCFILE" y.tab.h fi ;; esac fi if [ ! -f y.tab.h ]; then echo >y.tab.h fi if [ ! -f y.tab.c ]; then echo 'main() { return 0; }' >y.tab.c fi ;; lex|flex) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a \`.l' file. You may need the \`Flex' package in order for those modifications to take effect. You can get \`Flex' from any GNU archive site." rm -f lex.yy.c if [ $# -ne 1 ]; then eval LASTARG="\${$#}" case "$LASTARG" in *.l) SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` if [ -f "$SRCFILE" ]; then cp "$SRCFILE" lex.yy.c fi ;; esac fi if [ ! -f lex.yy.c ]; then echo 'main() { return 0; }' >lex.yy.c fi ;; help2man) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a dependency of a manual page. You may need the \`Help2man' package in order for those modifications to take effect. You can get \`Help2man' from any GNU archive site." file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` if test -z "$file"; then file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'` fi if [ -f "$file" ]; then touch $file else test -z "$file" || exec >$file echo ".ab help2man is required to generate this page" exit 1 fi ;; makeinfo) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a \`.texi' or \`.texinfo' file, or any other file indirectly affecting the aspect of the manual. The spurious call might also be the consequence of using a buggy \`make' (AIX, DU, IRIX). You might want to install the \`Texinfo' package or the \`GNU make' package. Grab either from any GNU archive site." # The file to touch is that specified with -o ... file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` if test -z "$file"; then # ... or it is the one specified with @setfilename ... infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $infile` # ... or it is derived from the source name (dir/f.texi becomes f.info) test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info fi # If the file does not exist, the user really needs makeinfo; # let's fail without touching anything. test -f $file || exit 1 touch $file ;; tar) shift # We have already tried tar in the generic part. # Look for gnutar/gtar before invocation to avoid ugly error # messages. if (gnutar --version > /dev/null 2>&1); then gnutar "$@" && exit 0 fi if (gtar --version > /dev/null 2>&1); then gtar "$@" && exit 0 fi firstarg="$1" if shift; then case "$firstarg" in *o*) firstarg=`echo "$firstarg" | sed s/o//` tar "$firstarg" "$@" && exit 0 ;; esac case "$firstarg" in *h*) firstarg=`echo "$firstarg" | sed s/h//` tar "$firstarg" "$@" && exit 0 ;; esac fi echo 1>&2 "\ WARNING: I can't seem to be able to run \`tar' with the given arguments. You may want to install GNU tar or Free paxutils, or check the command line arguments." exit 1 ;; *) echo 1>&2 "\ WARNING: \`$1' is needed, and is $msg. You might have modified some files without having the proper tools for further handling them. Check the \`README' file, it often tells you about the needed prerequisites for installing this package. You may also peek at any GNU archive site, in case some other package would contain this missing \`$1' program." exit 1 ;; esac exit 0 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: gnome-blog-0.9.1/mkinstalldirs0000755000076500007650000000370410446321163013314 00000000000000#! /bin/sh # mkinstalldirs --- make directory hierarchy # Author: Noah Friedman # Created: 1993-05-16 # Public domain errstatus=0 dirmode="" usage="\ Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..." # process command line arguments while test $# -gt 0 ; do case $1 in -h | --help | --h*) # -h for help echo "$usage" 1>&2 exit 0 ;; -m) # -m PERM arg shift test $# -eq 0 && { echo "$usage" 1>&2; exit 1; } dirmode=$1 shift ;; --) # stop option processing shift break ;; -*) # unknown option echo "$usage" 1>&2 exit 1 ;; *) # first non-opt arg break ;; esac done for file do if test -d "$file"; then shift else break fi done case $# in 0) exit 0 ;; esac case $dirmode in '') if mkdir -p -- . 2>/dev/null; then echo "mkdir -p -- $*" exec mkdir -p -- "$@" fi ;; *) if mkdir -m "$dirmode" -p -- . 2>/dev/null; then echo "mkdir -m $dirmode -p -- $*" exec mkdir -m "$dirmode" -p -- "$@" fi ;; esac for file do set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` shift pathcomp= for d do pathcomp="$pathcomp$d" case $pathcomp in -*) pathcomp=./$pathcomp ;; esac if test ! -d "$pathcomp"; then echo "mkdir $pathcomp" mkdir "$pathcomp" || lasterr=$? if test ! -d "$pathcomp"; then errstatus=$lasterr else if test ! -z "$dirmode"; then echo "chmod $dirmode $pathcomp" lasterr="" chmod "$dirmode" "$pathcomp" || lasterr=$? if test ! -z "$lasterr"; then errstatus=$lasterr fi fi fi fi pathcomp="$pathcomp/" done done exit $errstatus # Local Variables: # mode: shell-script # sh-indentation: 2 # End: # mkinstalldirs ends here gnome-blog-0.9.1/Makefile.am0000664000076500007650000000344610165721465012556 00000000000000serverdir = $(libdir)/bonobo/servers server_in_files = GNOME_BlogApplet.server.in server_DATA = $(server_in_files:.server.in=.server) $(server_in_files): $(server_in_files:.server.in=.server.in.in) sed -e "s|\@LIBEXECDIR\@|$(libexecdir)|" $< > $@ @INTLTOOL_SERVER_RULE@ bin_SCRIPTS = gnome-blog-poster libexec_SCRIPTS = blog_applet.py gnomeblogdir = $(pythondir)/gnomeblog gnomeblog_PYTHON = \ __init__.py \ blog_applet.py \ gnome-blog-poster \ blog_poster.py \ aligned_window.py \ hig_alert.py \ blogger_prefs.py \ gconf_widgets.py \ blog.py \ rich_entry.py \ html_converter.py \ gnome_blog_globals.py \ proxy.py pixmapsdir = $(datadir)/pixmaps pixmaps_DATA = gnome-blog.png uidir = $(datadir)/gnome-2.0/ui ui_DATA = GNOME_BlogApplet.xml # GConf Preference Schemas schemadir = \ $(GCONF_SCHEMA_FILE_DIR) schema_in_files = \ gnomeblog.schemas.in schema_DATA = \ $(schema_in_files:.schemas.in=.schemas) @INTLTOOL_SCHEMAS_RULE@ Desktopdir = $(datadir)/applications Desktop_in_files = gnome-blog.desktop.in Desktop_DATA = $(Desktop_in_files:.desktop.in=.desktop) @INTLTOOL_DESKTOP_RULE@ install-data-local: GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) \ gconftool-2 --makefile-install-rule $(schema_DATA) DISTCLEANFILES = \ $(schema_DATA) \ $(server_DATA) \ $(Desktop_DATA) \ intltool-extract \ intltool-merge \ intltool-update EXTRA_DIST = \ $(Desktop_in_files) \ $(Desktop_DATA) \ $(schema_in_files) \ $(ui_DATA) \ $(pixmaps_DATA) \ GNOME_BlogApplet.server.in.in \ intltool-update.in \ intltool-extract.in \ intltool-merge.in \ gnome-blog.spec \ gnome-blog.spec.in \ $(server_in_files) SUBDIRS = protocols po gnome-blog-0.9.1/Makefile.in0000664000076500007650000007270210446321172012561 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 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@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = . am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ 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 = : subdir = . DIST_COMMON = README $(am__configure_deps) $(gnomeblog_PYTHON) \ $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ $(srcdir)/config.h.in $(srcdir)/gnome-blog.spec.in \ $(srcdir)/gnome_blog_globals.py.in $(top_srcdir)/configure \ AUTHORS COPYING ChangeLog INSTALL NEWS TODO install-sh missing \ mkinstalldirs py-compile ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ configure.lineno configure.status.lineno mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = config.h CONFIG_CLEAN_FILES = gnome_blog_globals.py gnome-blog.spec am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libexecdir)" \ "$(DESTDIR)$(gnomeblogdir)" "$(DESTDIR)$(Desktopdir)" \ "$(DESTDIR)$(pixmapsdir)" "$(DESTDIR)$(schemadir)" \ "$(DESTDIR)$(serverdir)" "$(DESTDIR)$(uidir)" binSCRIPT_INSTALL = $(INSTALL_SCRIPT) libexecSCRIPT_INSTALL = $(INSTALL_SCRIPT) SCRIPTS = $(bin_SCRIPTS) $(libexec_SCRIPTS) SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-exec-recursive install-info-recursive \ install-recursive installcheck-recursive installdirs-recursive \ pdf-recursive ps-recursive uninstall-info-recursive \ uninstall-recursive 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 = `echo $$p | sed -e 's|^.*/||'`; gnomeblogPYTHON_INSTALL = $(INSTALL_DATA) py_compile = $(top_srcdir)/py-compile DesktopDATA_INSTALL = $(INSTALL_DATA) pixmapsDATA_INSTALL = $(INSTALL_DATA) schemaDATA_INSTALL = $(INSTALL_DATA) serverDATA_INSTALL = $(INSTALL_DATA) uiDATA_INSTALL = $(INSTALL_DATA) DATA = $(Desktop_DATA) $(pixmaps_DATA) $(schema_DATA) $(server_DATA) \ $(ui_DATA) ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) am__remove_distdir = \ { test ! -d $(distdir) \ || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ && rm -fr $(distdir); }; } DIST_ARCHIVES = $(distdir).tar.gz GZIP_ENV = --best distuninstallcheck_listfiles = find . -type f -print distcleancheck_listfiles = find . -type f -print ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ 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@ GCONFTOOL = @GCONFTOOL@ GCONF_SCHEMAS_INSTALL_FALSE = @GCONF_SCHEMAS_INSTALL_FALSE@ GCONF_SCHEMAS_INSTALL_TRUE = @GCONF_SCHEMAS_INSTALL_TRUE@ GCONF_SCHEMA_CONFIG_SOURCE = @GCONF_SCHEMA_CONFIG_SOURCE@ GCONF_SCHEMA_FILE_DIR = @GCONF_SCHEMA_FILE_DIR@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLLIBS = @INTLLIBS@ INTLTOOL_CAVES_RULE = @INTLTOOL_CAVES_RULE@ INTLTOOL_DESKTOP_RULE = @INTLTOOL_DESKTOP_RULE@ INTLTOOL_DIRECTORY_RULE = @INTLTOOL_DIRECTORY_RULE@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_ICONV = @INTLTOOL_ICONV@ INTLTOOL_KBD_RULE = @INTLTOOL_KBD_RULE@ INTLTOOL_KEYS_RULE = @INTLTOOL_KEYS_RULE@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_MSGFMT = @INTLTOOL_MSGFMT@ INTLTOOL_MSGMERGE = @INTLTOOL_MSGMERGE@ INTLTOOL_OAF_RULE = @INTLTOOL_OAF_RULE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_PONG_RULE = @INTLTOOL_PONG_RULE@ INTLTOOL_PROP_RULE = @INTLTOOL_PROP_RULE@ INTLTOOL_SCHEMAS_RULE = @INTLTOOL_SCHEMAS_RULE@ INTLTOOL_SERVER_RULE = @INTLTOOL_SERVER_RULE@ INTLTOOL_SERVICE_RULE = @INTLTOOL_SERVICE_RULE@ INTLTOOL_SHEET_RULE = @INTLTOOL_SHEET_RULE@ INTLTOOL_SOUNDLIST_RULE = @INTLTOOL_SOUNDLIST_RULE@ INTLTOOL_THEME_RULE = @INTLTOOL_THEME_RULE@ INTLTOOL_UI_RULE = @INTLTOOL_UI_RULE@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_XAM_RULE = @INTLTOOL_XAM_RULE@ INTLTOOL_XGETTEXT = @INTLTOOL_XGETTEXT@ INTLTOOL_XML_NOMERGE_RULE = @INTLTOOL_XML_NOMERGE_RULE@ INTLTOOL_XML_RULE = @INTLTOOL_XML_RULE@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ PYGTK_CFLAGS = @PYGTK_CFLAGS@ PYGTK_LIBS = @PYGTK_LIBS@ PYTHON = @PYTHON@ PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ PYTHON_PLATFORM = @PYTHON_PLATFORM@ PYTHON_PREFIX = @PYTHON_PREFIX@ PYTHON_VERSION = @PYTHON_VERSION@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ ac_ct_CC = @ac_ct_CC@ ac_ct_STRIP = @ac_ct_STRIP@ ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ 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_alias = @build_alias@ datadir = @datadir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pkgpyexecdir = @pkgpyexecdir@ pkgpythondir = @pkgpythondir@ prefix = @prefix@ program_transform_name = @program_transform_name@ pyexecdir = @pyexecdir@ pythondir = @pythondir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ serverdir = $(libdir)/bonobo/servers server_in_files = GNOME_BlogApplet.server.in server_DATA = $(server_in_files:.server.in=.server) bin_SCRIPTS = gnome-blog-poster libexec_SCRIPTS = blog_applet.py gnomeblogdir = $(pythondir)/gnomeblog gnomeblog_PYTHON = \ __init__.py \ blog_applet.py \ gnome-blog-poster \ blog_poster.py \ aligned_window.py \ hig_alert.py \ blogger_prefs.py \ gconf_widgets.py \ blog.py \ rich_entry.py \ html_converter.py \ gnome_blog_globals.py \ proxy.py pixmapsdir = $(datadir)/pixmaps pixmaps_DATA = gnome-blog.png uidir = $(datadir)/gnome-2.0/ui ui_DATA = GNOME_BlogApplet.xml # GConf Preference Schemas schemadir = \ $(GCONF_SCHEMA_FILE_DIR) schema_in_files = \ gnomeblog.schemas.in schema_DATA = \ $(schema_in_files:.schemas.in=.schemas) Desktopdir = $(datadir)/applications Desktop_in_files = gnome-blog.desktop.in Desktop_DATA = $(Desktop_in_files:.desktop.in=.desktop) GCONF_CONFIG_SOURCE = $(GCONF_SCHEMA_CONFIG_SOURCE) \ gconftool-2 --makefile-install-rule $(schema_DATA) DISTCLEANFILES = \ $(schema_DATA) \ $(server_DATA) \ $(Desktop_DATA) \ intltool-extract \ intltool-merge \ intltool-update EXTRA_DIST = \ $(Desktop_in_files) \ $(Desktop_DATA) \ $(schema_in_files) \ $(ui_DATA) \ $(pixmaps_DATA) \ GNOME_BlogApplet.server.in.in \ intltool-update.in \ intltool-extract.in \ intltool-merge.in \ gnome-blog.spec \ gnome-blog.spec.in \ $(server_in_files) SUBDIRS = protocols po all: config.h $(MAKE) $(AM_MAKEFLAGS) all-recursive .SUFFIXES: am--refresh: @: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \ cd $(srcdir) && $(AUTOMAKE) --gnu \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu 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: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(srcdir) && $(AUTOCONF) $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) config.h: stamp-h1 @if test ! -f $@; then \ rm -f stamp-h1; \ $(MAKE) stamp-h1; \ else :; fi 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: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_srcdir) && $(AUTOHEADER) rm -f stamp-h1 touch $@ distclean-hdr: -rm -f config.h stamp-h1 gnome_blog_globals.py: $(top_builddir)/config.status $(srcdir)/gnome_blog_globals.py.in cd $(top_builddir) && $(SHELL) ./config.status $@ gnome-blog.spec: $(top_builddir)/config.status $(srcdir)/gnome-blog.spec.in cd $(top_builddir) && $(SHELL) ./config.status $@ install-binSCRIPTS: $(bin_SCRIPTS) @$(NORMAL_INSTALL) test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)" @list='$(bin_SCRIPTS)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ if test -f $$d$$p; then \ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ echo " $(binSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(bindir)/$$f'"; \ $(binSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(bindir)/$$f"; \ else :; fi; \ done uninstall-binSCRIPTS: @$(NORMAL_UNINSTALL) @list='$(bin_SCRIPTS)'; for p in $$list; do \ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ rm -f "$(DESTDIR)$(bindir)/$$f"; \ done install-libexecSCRIPTS: $(libexec_SCRIPTS) @$(NORMAL_INSTALL) test -z "$(libexecdir)" || $(mkdir_p) "$(DESTDIR)$(libexecdir)" @list='$(libexec_SCRIPTS)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ if test -f $$d$$p; then \ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ echo " $(libexecSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(libexecdir)/$$f'"; \ $(libexecSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(libexecdir)/$$f"; \ else :; fi; \ done uninstall-libexecSCRIPTS: @$(NORMAL_UNINSTALL) @list='$(libexec_SCRIPTS)'; for p in $$list; do \ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ echo " rm -f '$(DESTDIR)$(libexecdir)/$$f'"; \ rm -f "$(DESTDIR)$(libexecdir)/$$f"; \ done uninstall-info-am: install-gnomeblogPYTHON: $(gnomeblog_PYTHON) @$(NORMAL_INSTALL) test -z "$(gnomeblogdir)" || $(mkdir_p) "$(DESTDIR)$(gnomeblogdir)" @list='$(gnomeblog_PYTHON)'; dlist=''; for p in $$list; do\ if test -f "$$p"; then b=; else b="$(srcdir)/"; fi; \ if test -f $$b$$p; then \ f=$(am__strip_dir) \ dlist="$$dlist $$f"; \ echo " $(gnomeblogPYTHON_INSTALL) '$$b$$p' '$(DESTDIR)$(gnomeblogdir)/$$f'"; \ $(gnomeblogPYTHON_INSTALL) "$$b$$p" "$(DESTDIR)$(gnomeblogdir)/$$f"; \ else :; fi; \ done; \ if test -n "$$dlist"; then \ if test -z "$(DESTDIR)"; then \ PYTHON=$(PYTHON) $(py_compile) --basedir "$(gnomeblogdir)" $$dlist; \ else \ PYTHON=$(PYTHON) $(py_compile) --destdir "$(DESTDIR)" --basedir "$(gnomeblogdir)" $$dlist; \ fi; \ else :; fi uninstall-gnomeblogPYTHON: @$(NORMAL_UNINSTALL) @list='$(gnomeblog_PYTHON)'; dlist=''; for p in $$list; do\ f=$(am__strip_dir) \ rm -f "$(DESTDIR)$(gnomeblogdir)/$$f"; \ rm -f "$(DESTDIR)$(gnomeblogdir)/$${f}c"; \ rm -f "$(DESTDIR)$(gnomeblogdir)/$${f}o"; \ done install-DesktopDATA: $(Desktop_DATA) @$(NORMAL_INSTALL) test -z "$(Desktopdir)" || $(mkdir_p) "$(DESTDIR)$(Desktopdir)" @list='$(Desktop_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(DesktopDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(Desktopdir)/$$f'"; \ $(DesktopDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(Desktopdir)/$$f"; \ done uninstall-DesktopDATA: @$(NORMAL_UNINSTALL) @list='$(Desktop_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(Desktopdir)/$$f'"; \ rm -f "$(DESTDIR)$(Desktopdir)/$$f"; \ done install-pixmapsDATA: $(pixmaps_DATA) @$(NORMAL_INSTALL) test -z "$(pixmapsdir)" || $(mkdir_p) "$(DESTDIR)$(pixmapsdir)" @list='$(pixmaps_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(pixmapsDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pixmapsdir)/$$f'"; \ $(pixmapsDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pixmapsdir)/$$f"; \ done uninstall-pixmapsDATA: @$(NORMAL_UNINSTALL) @list='$(pixmaps_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(pixmapsdir)/$$f'"; \ rm -f "$(DESTDIR)$(pixmapsdir)/$$f"; \ done install-schemaDATA: $(schema_DATA) @$(NORMAL_INSTALL) test -z "$(schemadir)" || $(mkdir_p) "$(DESTDIR)$(schemadir)" @list='$(schema_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(schemaDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(schemadir)/$$f'"; \ $(schemaDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(schemadir)/$$f"; \ done uninstall-schemaDATA: @$(NORMAL_UNINSTALL) @list='$(schema_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(schemadir)/$$f'"; \ rm -f "$(DESTDIR)$(schemadir)/$$f"; \ done install-serverDATA: $(server_DATA) @$(NORMAL_INSTALL) test -z "$(serverdir)" || $(mkdir_p) "$(DESTDIR)$(serverdir)" @list='$(server_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(serverDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(serverdir)/$$f'"; \ $(serverDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(serverdir)/$$f"; \ done uninstall-serverDATA: @$(NORMAL_UNINSTALL) @list='$(server_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(serverdir)/$$f'"; \ rm -f "$(DESTDIR)$(serverdir)/$$f"; \ done install-uiDATA: $(ui_DATA) @$(NORMAL_INSTALL) test -z "$(uidir)" || $(mkdir_p) "$(DESTDIR)$(uidir)" @list='$(ui_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(uiDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(uidir)/$$f'"; \ $(uiDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(uidir)/$$f"; \ done uninstall-uiDATA: @$(NORMAL_UNINSTALL) @list='$(ui_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(uidir)/$$f'"; \ rm -f "$(DESTDIR)$(uidir)/$$f"; \ done # 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. $(RECURSIVE_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; 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; \ (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" mostlyclean-recursive clean-recursive distclean-recursive \ maintainer-clean-recursive: @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ 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 || \ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) $(am__remove_distdir) mkdir $(distdir) $(mkdir_p) $(distdir)/. $(distdir)/po @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$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 \ test -d "$(distdir)/$$subdir" \ || $(mkdir_p) "$(distdir)/$$subdir" \ || exit 1; \ distdir=`$(am__cd) $(distdir) && pwd`; \ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ (cd $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$top_distdir" \ distdir="$$distdir/$$subdir" \ distdir) \ || exit 1; \ fi; \ done -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -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 $(SHELL) $(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__remove_distdir) dist-bzip2: distdir tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 $(am__remove_distdir) dist-tarZ: distdir tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z $(am__remove_distdir) dist-shar: distdir shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz $(am__remove_distdir) dist-zip: distdir -rm -f $(distdir).zip zip -rq $(distdir).zip $(distdir) $(am__remove_distdir) dist dist-all: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__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) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\ *.tar.bz2*) \ bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\ *.tar.Z*) \ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ *.shar.gz*) \ GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ esac chmod -R a-w $(distdir); chmod a+w $(distdir) mkdir $(distdir)/_build mkdir $(distdir)/_inst chmod a-w $(distdir) dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ && cd $(distdir)/_build \ && ../configure --srcdir=.. --prefix="$$dc_install_base" \ $(DISTCHECK_CONFIGURE_FLAGS) \ && $(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 $(am__remove_distdir) @(echo "$(distdir) archives ready for distribution: "; \ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}' distuninstallcheck: @cd $(distuninstallcheck_dir) \ && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ || { 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 $(SCRIPTS) $(DATA) config.h installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(gnomeblogdir)" "$(DESTDIR)$(Desktopdir)" "$(DESTDIR)$(pixmapsdir)" "$(DESTDIR)$(schemadir)" "$(DESTDIR)$(serverdir)" "$(DESTDIR)$(uidir)"; do \ test -z "$$dir" || $(mkdir_p) "$$dir"; \ done 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: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_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-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 info: info-recursive info-am: install-data-am: install-DesktopDATA install-data-local \ install-gnomeblogPYTHON install-pixmapsDATA install-schemaDATA \ install-serverDATA install-uiDATA install-exec-am: install-binSCRIPTS install-libexecSCRIPTS install-info: install-info-recursive install-man: 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: uninstall-DesktopDATA uninstall-binSCRIPTS \ uninstall-gnomeblogPYTHON uninstall-info-am \ uninstall-libexecSCRIPTS uninstall-pixmapsDATA \ uninstall-schemaDATA uninstall-serverDATA uninstall-uiDATA uninstall-info: uninstall-info-recursive .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \ check-am clean clean-generic clean-recursive ctags \ ctags-recursive dist dist-all dist-bzip2 dist-gzip dist-shar \ dist-tarZ dist-zip distcheck distclean distclean-generic \ distclean-hdr distclean-recursive distclean-tags \ distcleancheck distdir distuninstallcheck dvi dvi-am html \ html-am info info-am install install-DesktopDATA install-am \ install-binSCRIPTS install-data install-data-am \ install-data-local install-exec install-exec-am \ install-gnomeblogPYTHON install-info install-info-am \ install-libexecSCRIPTS install-man install-pixmapsDATA \ install-schemaDATA install-serverDATA install-strip \ install-uiDATA installcheck installcheck-am installdirs \ installdirs-am maintainer-clean maintainer-clean-generic \ maintainer-clean-recursive mostlyclean mostlyclean-generic \ mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \ uninstall uninstall-DesktopDATA uninstall-am \ uninstall-binSCRIPTS uninstall-gnomeblogPYTHON \ uninstall-info-am uninstall-libexecSCRIPTS \ uninstall-pixmapsDATA uninstall-schemaDATA \ uninstall-serverDATA uninstall-uiDATA $(server_in_files): $(server_in_files:.server.in=.server.in.in) sed -e "s|\@LIBEXECDIR\@|$(libexecdir)|" $< > $@ @INTLTOOL_SERVER_RULE@ @INTLTOOL_SCHEMAS_RULE@ @INTLTOOL_DESKTOP_RULE@ install-data-local: # 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: gnome-blog-0.9.1/config.h.in0000664000076500007650000000362510446321212012530 00000000000000/* config.h.in. Generated from configure.in by autoheader. */ /* always defined to indicate that i18n is enabled */ #undef ENABLE_NLS /* The gettext package */ #undef GETTEXT_PACKAGE /* Define to 1 if you have the `bind_textdomain_codeset' function. */ #undef HAVE_BIND_TEXTDOMAIN_CODESET /* Define to 1 if you have the `dcgettext' function. */ #undef HAVE_DCGETTEXT /* Define if the GNU gettext() function is already present or preinstalled. */ #undef HAVE_GETTEXT /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H /* Define if your file defines LC_MESSAGES. */ #undef HAVE_LC_MESSAGES /* Define to 1 if you have the header file. */ #undef HAVE_LOCALE_H /* Define to 1 if you have the header file. */ #undef HAVE_MEMORY_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 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 /* 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 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 gnome-blog-0.9.1/gnome-blog.png0000664000076500007650000000726507725005712013257 00000000000000PNG  IHDR00WbKGDOOOE pHYs  #utIME *C\BIDATx[lWz3ùp(J(ԅn-Jgm"o) i">AnhlI0 wݗ@7ucK-Y,Qs8> 9,9Crfx?w7yJ,@ :lD@#nP( I###׀$p8|\r`L`;p*0  wɲTUUC4ͱcLjbR9`[WadY"I---eY DQP(`Y$!2iR__ϫ'o/=EMЦMxY36#WU}C ===8q3@x;mHIww7W\!Q(XXXralb,tvv233a *UB)P۷82r~:BN1^4MQ,QUQv$aY,//x02r\?yQUnkCrDq]+m(\JhYEFGGDz,\.XY4$a^UUy^/@r40Ǚx447#THnx<eb黣됢(N6q\R,D"۷-[i lݺ`0脽\.G&ۤiPgj,$17ɓ9<2Td2I:.ˆ6Rثc?v0Ɇn7555-~>'oٲ|>(\. i:H(B&,(QpCN&'IbVUaۻ֡L@_]]uR(wdo۽n~|2P(0 uEڲh޺ḓ[uuvI [nuҹX^%I H`|yӳjYtll!i(իWٷon݂t0bȥvVsDwޔ|E!D:& L&C64Mzaa[nTa02 PSSi!Aj;:È^a^{5Kw hDɿI8qSSS(+ LLL b&" S/\ݻm:[񷷯17< />͛71Mnd;c:[ugiӃAQR333x^t]gyy٩x1۷oS]]M24M_\Qy۽v¾[ G:k8*OZ]%8|>BE àX,R,FRiZ[[wT" 37<ɋ/>;p~frrRǞ a؇PhM)Na7o\8/_&#":+y}AN:(k'''7a "2=HNrR)n޼ ,S[[,..25ug >*ٳg'ہj};Fա:KKKN&z| LdM,ciiyvgڋ5J:unvAssロ@ \ZZ"N;ˉop8L8ftt[n!ihD^”g[ILM0,׉V쉼@X-p"v B|>pzXXX sua~__}}}\.$IB48vEPZA dD9e nM:(㬮bL9D>(Pd2Igg'F$`Id!?a:A4I$b1vŞ={/ dX]]ڵkd2nF*"V+#. M<Ge(i*###h"b1t]'DMxmm->rREF(Ν%O}OQ @UUZZZ r:.k[X'%&&&D"HΝ;t/-]p{w$]xQ1ƸtL$kԇ~SUU B(ݻillW4H|""dCS2؇?ޕ_lVVV\ϟ駟+Wdz*ǏO>){r Ha{N(ɒs\.;99ecvv\̲ib~衇cǎY/KN_"a/^nEz{{n9߁?cy]z4*9/Ieh0/JYcldЁ'V}}ı߼|  G R+Y!5y _|5|_̕/l)&MMl Yتp0}> )6 x%lW`?n-oŞG-^zyP v _uTEI{2EIENDB`gnome-blog-0.9.1/gnome_blog_globals.py.in0000664000076500007650000000017207726033130015277 00000000000000name = "gnome-blog" version = "@VERSION@" image_dir = "@prefix@/share/pixmaps" localedir = "@prefix@/@DATADIRNAME@/locale"gnome-blog-0.9.1/GNOME_BlogApplet.server.in0000664000076500007650000000231110446321216015313 00000000000000 gnome-blog-0.9.1/gnomeblog.schemas.in0000664000076500007650000000440207777640413014446 00000000000000 /schemas/apps/gnome-blog/initialized /apps/gnome-blog/initialized gnome-blog bool false The application's preferences have been initialized /schemas/apps/gnome-blog/blog_username /apps/gnome-blog/blog_username gnome-blog string Username to use in accessing the blog /schemas/apps/gnome-blog/blog_password /apps/gnome-blog/blog_password gnome-blog string Password to use in accessing the blog /schemas/apps/gnome-blog/blog_protocol /apps/gnome-blog/blog_protocol gnome-blog string Protocol to use in accessing the blog /schemas/apps/gnome-blog/blog_id /apps/gnome-blog/blog_id gnome-blog string / The id or name of the particular blog to use on the XML-RPC server /schemas/apps/gnome-blog/xmlrpc_url /apps/gnome-blog/xmlrpc_url gnome-blog string URL to the bloggerAPI compatible XML-RPC server /schemas/apps/gnome-blog/url_ending /apps/gnome-blog/url_ending gnome-blog string Suffix to attach to the base URL (e.g. "xmlrpc.cgi") gnome-blog-0.9.1/AUTHORS0000664000076500007650000000003607724736714011574 00000000000000Seth Nickell gnome-blog-0.9.1/html_converter.py0000664000076500007650000000404410237226562014120 00000000000000import gtk def getHTML(buffer): global para_tag next_iter = buffer.get_start_iter() open_tags = [ para_tag ] html = "

" + _getTagsHTML(next_iter, open_tags) while not next_iter.is_end(): iter = next_iter next_iter = _getNextIter(iter) new_text = buffer.get_text(iter, next_iter, True) html = html + new_text + _getTagsHTML(next_iter, open_tags) return html.decode('utf8') def _getNextIter(iter): nextTagIter = iter.copy() endLineIter = iter.copy() tagFound = nextTagIter.forward_to_tag_toggle(None) endLineIter.forward_to_line_end() position = nextTagIter.compare(endLineIter) if tagFound and position == -1: print ("Iter is for tag") next_iter = nextTagIter else: print ("Iter is for endline") next_iter = endLineIter return next_iter def _getTags(iter): global para_tag turnontags = iter.get_toggled_tags(True) turnofftags = iter.get_toggled_tags(False) if iter.is_end(): # Iter is at the end of the buffer turnofftags.append(para_tag) elif iter.ends_line(): turnofftags.append(para_tag) turnontags.insert(0, para_tag) return turnofftags, turnontags def _getTagsHTML(iter, open_tags): (turnofftags, turnontags) = _getTags(iter) html = "" html = html + _turnOffTags(turnofftags, open_tags) html = html + _turnOnTags(turnontags, open_tags) return html def _turnOnTags(turnontags, open_tags): html = "" for tag in turnontags: open_tags.append(tag) html = html + tag.opening_tag return html def _turnOffTags(turnofftags, open_tags): html = "" for tag in turnofftags: tags_to_reopen = [] opentag = open_tags.pop() while opentag != tag: html = html + opentag.closing_tag tags_to_reopen.append(opentag) opentag = open_tags.pop() html = html + tag.closing_tag html = html + _turnOnTags(tags_to_reopen, open_tags) return html gnome-blog-0.9.1/INSTALL0000644000076500007650000002243210360725552011543 00000000000000Installation Instructions ************************* Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005 Free Software Foundation, Inc. This file is free documentation; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. Basic Installation ================== These are generic installation instructions. 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 only 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. If you're using `csh' on an old version of System V, you might need to type `sh ./configure' instead to prevent `csh' from trying to execute `configure' itself. Running `configure' takes awhile. 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. 4. Type `make install' to install the programs and any data files and documentation. 5. 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. 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=c89 CFLAGS=-O2 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 must use a version of `make' that supports the `VPATH' variable, such as 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 `..'. If you have to use a `make' that does not support the `VPATH' variable, you have 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. 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'. 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. 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'. Optional Features ================= 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. 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). Here is a another example: /bin/bash ./configure CONFIG_SHELL=/bin/bash Here the `CONFIG_SHELL=/bin/bash' operand causes subsequent configuration-related scripts to be executed by `/bin/bash'. `configure' Invocation ====================== `configure' recognizes the following options to control how it operates. `--help' `-h' Print a summary of the options to `configure', and exit. `--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. `configure' also accepts some other, not widely useful, options. Run `configure --help' for more details. gnome-blog-0.9.1/blog_poster.py0000664000076500007650000001434310446065510013403 00000000000000import gtk import pango import gconf from gettext import gettext as _ from gnomeblog import hig_alert from gnomeblog import rich_entry from gnomeblog import blog from gnomeblog import blogger_prefs #check if pygtkspell is installed try: import gtkspell use_gtkspell = 1 except: use_gtkspell = 0 gconf_prefix = None class BlogPoster(gtk.Frame): def __init__(self, prefs_key="/apps/gnome-blog", on_entry_posted=None, accel_group=None): gtk.Frame.__init__(self) self.set_shadow_type(gtk.SHADOW_OUT) self.on_entry_posted = on_entry_posted global gconf_prefix gconf_prefix = prefs_key print "Using gconf_prefix %s" % (gconf_prefix) box = gtk.VBox() box.set_border_width(6) box.set_spacing(6) self.blogEntry = rich_entry.RichEntry() #if we are using gtkspell, attach it to the blogEntry if use_gtkspell: self._attach_gtkspell() scroller = gtk.ScrolledWindow() self.postButton = gtk.Button(_("_Post Entry")) scroller.add(self.blogEntry) scroller.set_policy(gtk.POLICY_NEVER, gtk.POLICY_AUTOMATIC) scroller.set_size_request(400, 300) scroller.set_shadow_type(gtk.SHADOW_IN) self.postButton.connect("clicked", self._onPostButtonClicked) self.postButtonAlignment = gtk.Alignment(xalign=1.0, yalign=0.5) self.postButtonAlignment.add(self.postButton) buttonBox = gtk.HBox() buttonBox.set_spacing(6) buttonBox.pack_end(self.postButtonAlignment) boldToggle = self.blogEntry.createStyleToggle([("weight", pango.WEIGHT_BOLD)], gtk.STOCK_BOLD, "strong") italicToggle = self.blogEntry.createStyleToggle([("style", pango.STYLE_ITALIC)], gtk.STOCK_ITALIC, "em") linkButton = rich_entry.InsertHyperlinkButton(self.blogEntry) if (accel_group): boldToggle.add_accelerator("clicked", accel_group, ord("B"), gtk.gdk.CONTROL_MASK, 0) italicToggle.add_accelerator("clicked", accel_group, ord("I"), gtk.gdk.CONTROL_MASK, 0) self.prefs_button = gtk.Button(_("Preferences...")) self.prefs_button.connect("clicked", self._onPrefsButtonClicked) buttonBox.pack_start(boldToggle, expand=False) buttonBox.pack_start(italicToggle, expand=False) buttonBox.pack_start(linkButton, expand=False) buttonBox.pack_start(self.prefs_button, expand=False) self.titleEntry = gtk.Entry() titleBox = gtk.HBox() titleBox.set_spacing(12) titleBox.pack_start(gtk.Label(_("Title:")), expand=False) titleBox.pack_start(self.titleEntry) box.pack_start(titleBox, expand=False) box.pack_start(scroller) box.pack_start(buttonBox, expand=False) self.add(box) box.show_all() self.titleEntry.connect('activate', lambda entry,box=box: box.child_focus(gtk.DIR_TAB_FORWARD)) self.titleEntry.connect('changed', self._checkEmptyPost) self.blogEntry.buffer.connect('changed', self._checkEmptyPost) self._checkEmptyPost() def _checkEmptyPost(self, *args): sensitive = 1 if not self.titleEntry.get_text().strip(): sensitive = 0 start,end = self.blogEntry.buffer.get_bounds() if not start.get_visible_slice(end).strip(): sensitive = 0 self.postButton.set_sensitive(sensitive) def _onPostButtonClicked(self, button): global gconf_prefix, appkey images = self.blogEntry.getImages() try: for image in images: image.uri = blog.uploadImage(image, gconf_prefix) image.opening_tag = '' % (image.uri) except blog.FeatureNotSupported, e: hig_alert.reportError(_("Couldn't upload images"), _("The blog protocol in use does not support uploading images")) #we must turn off the spell checker so as not to confuse #the markup to html converter if use_gtkspell: self._detach_gtkspell() html_text = self.blogEntry.getHTML() #turn spelling back on if use_gtkspell: self._attach_gtkspell() print "Text is: {\n %s \n }\n" % (html_text) title = self.titleEntry.get_text().decode('utf-8') # Don't post silly blog entries like blank ones if not self._postIsReasonable(html_text): return successful_post = blog.postEntry(title, html_text, gconf_prefix) if successful_post: # Only delete the entry if posting was successful self._clearBlogEntryText() # Call back our parent informing them the entry was posted if self.on_entry_posted != None: self.on_entry_posted() def _clearBlogEntryText(self): self.blogEntry.clear() self.titleEntry.delete_text(0, -1) def _onPrefsButtonClicked(self, button): self._showPrefDialog() def _showPrefDialog(self): prefs_dialog = blogger_prefs.BloggerPrefs(gconf_prefix) prefs_dialog.show() prefs_dialog.run() prefs_dialog.hide() def _postIsReasonable(self, text): # Popup a dialogue confirming even if its deemed # unreasonable if not text: hig_alert.reportError(_("Blog Entry is Blank"), _("No text was entered in the blog entry box. Please enter some text and try again")) return False else: return True def _attach_gtkspell(self): try: gtkspell.Spell(self.blogEntry) except: # unable to initialise Spell object # maybe there is no dictionary for $LANG installed use_gtkspell = 0 def _detach_gtkspell(self): try: spell = gtkspell.get_from_text_view(self.blogEntry) spell.detach() except: use_gtkspell = 0 class BlogPosterSimple(BlogPoster): def __init__(self, prefs_key="/apps/gnome-blog", on_entry_posted=None, accel_group=None): BlogPoster.__init__(self, prefs_key, on_entry_posted, accel_group) self.prefs_button.hide_all(); gnome-blog-0.9.1/proxy.py0000664000076500007650000000473110446065510012245 00000000000000import xmlrpclib import gconf from xmlrpclib import Server, Transport #This code is taken from BloGTK from code contributed by Michael Twomey #It has been modified by John (J5) Palmieri to add support for GNOME's proxy configuration class GnomeProxyTransport(Transport): """Handles an HTTP transaction to an XML-RPC server, through an HTTP proxy.""" def __init__(self, client): base_key = "/system/http_proxy" host_key = base_key + "/host" port_key = base_key + "/port" use_proxy_key = base_key + "/use_http_proxy" use_authentication_key = base_key + "/use_authentication" user_key = base_key + "/authentication_user" pass_key = base_key + "/authentication_password" self.proxyHost = client.get_string(host_key) self.proxyPort = client.get_int(port_key) self.useProxy = ( client.get_bool(use_proxy_key) and \ self.proxyHost != "" and \ self.proxyPort != 0 ) #Authentication not yet supported self.useAuthentication = client.get_bool(use_authentication_key) self.username = client.get_string(user_key) self.password = client.get_string(pass_key) def request(self, host, handler, request_body, verbose=0): return Transport.request(self, host, "http://"+host+handler, request_body, verbose) def make_connection(self, host): import httplib return httplib.HTTP(self.proxyHost, self.proxyPort) def use_proxy(self): return self.useProxy def get_server(self, url): server = "" if (self.useProxy): server = xmlrpclib.Server(url, transport=self, allow_none=True) else: server = xmlrpclib.Server(url, allow_none=True) return server; if __name__ == "__main__": p = GnomeProxyTransport(gconf.client_get_default()) print p.useProxy print p.proxyHost print p.proxyPort print p.useAuthentication print p.username print p.password gnome-blog-0.9.1/intltool-merge.in0000644000076500007650000010462310446321163014001 00000000000000#!@INTLTOOL_PERL@ -w # -*- Mode: perl; indent-tabs-mode: nil; c-basic-offset: 4 -*- # # The Intltool Message Merger # # Copyright (C) 2000, 2003 Free Software Foundation. # Copyright (C) 2000, 2001 Eazel, Inc # # Intltool is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # version 2 published by the Free Software Foundation. # # Intltool 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, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. # # 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. # # Authors: Maciej Stachowiak # Kenneth Christiansen # Darin Adler # # Proper XML UTF-8'ification written by Cyrille Chepelov # ## Release information my $PROGRAM = "intltool-merge"; my $PACKAGE = "intltool"; my $VERSION = "0.35.0"; ## Loaded modules use strict; use Getopt::Long; use Text::Wrap; use File::Basename; my $must_end_tag = -1; my $last_depth = -1; my $translation_depth = -1; my @tag_stack = (); my @entered_tag = (); my @translation_strings = (); my $leading_space = ""; ## Scalars used by the option stuff my $HELP_ARG = 0; my $VERSION_ARG = 0; my $BA_STYLE_ARG = 0; my $XML_STYLE_ARG = 0; my $KEYS_STYLE_ARG = 0; my $DESKTOP_STYLE_ARG = 0; my $SCHEMAS_STYLE_ARG = 0; my $RFC822DEB_STYLE_ARG = 0; my $QUIET_ARG = 0; my $PASS_THROUGH_ARG = 0; my $UTF8_ARG = 0; my $MULTIPLE_OUTPUT = 0; my $cache_file; ## Handle options GetOptions ( "help" => \$HELP_ARG, "version" => \$VERSION_ARG, "quiet|q" => \$QUIET_ARG, "oaf-style|o" => \$BA_STYLE_ARG, ## for compatibility "ba-style|b" => \$BA_STYLE_ARG, "xml-style|x" => \$XML_STYLE_ARG, "keys-style|k" => \$KEYS_STYLE_ARG, "desktop-style|d" => \$DESKTOP_STYLE_ARG, "schemas-style|s" => \$SCHEMAS_STYLE_ARG, "rfc822deb-style|r" => \$RFC822DEB_STYLE_ARG, "pass-through|p" => \$PASS_THROUGH_ARG, "utf8|u" => \$UTF8_ARG, "multiple-output|m" => \$MULTIPLE_OUTPUT, "cache|c=s" => \$cache_file ) or &error; my $PO_DIR; my $FILE; my $OUTFILE; my %po_files_by_lang = (); my %translations = (); my $iconv = $ENV{"ICONV"} || $ENV{"INTLTOOL_ICONV"} || "@INTLTOOL_ICONV@"; my $devnull = ($^O eq 'MSWin32' ? 'NUL:' : '/dev/null'); # Use this instead of \w for XML files to handle more possible characters. my $w = "[-A-Za-z0-9._:]"; # XML quoted string contents my $q = "[^\\\"]*"; ## Check for options. if ($VERSION_ARG) { &print_version; } elsif ($HELP_ARG) { &print_help; } elsif ($BA_STYLE_ARG && @ARGV > 2) { &utf8_sanity_check; &preparation; &print_message; &ba_merge_translations; &finalize; } elsif ($XML_STYLE_ARG && @ARGV > 2) { &utf8_sanity_check; &preparation; &print_message; &xml_merge_output; &finalize; } elsif ($KEYS_STYLE_ARG && @ARGV > 2) { &utf8_sanity_check; &preparation; &print_message; &keys_merge_translations; &finalize; } elsif ($DESKTOP_STYLE_ARG && @ARGV > 2) { &utf8_sanity_check; &preparation; &print_message; &desktop_merge_translations; &finalize; } elsif ($SCHEMAS_STYLE_ARG && @ARGV > 2) { &utf8_sanity_check; &preparation; &print_message; &schemas_merge_translations; &finalize; } elsif ($RFC822DEB_STYLE_ARG && @ARGV > 2) { &preparation; &print_message; &rfc822deb_merge_translations; &finalize; } else { &print_help; } exit; ## Sub for printing release information sub print_version { print <<_EOF_; ${PROGRAM} (${PACKAGE}) ${VERSION} Written by Maciej Stachowiak, Darin Adler and Kenneth Christiansen. Copyright (C) 2000-2003 Free Software Foundation, Inc. Copyright (C) 2000-2001 Eazel, 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. _EOF_ exit; } ## Sub for printing usage information sub print_help { print <<_EOF_; Usage: ${PROGRAM} [OPTION]... PO_DIRECTORY FILENAME OUTPUT_FILE Generates an output file that includes some localized attributes from an untranslated source file. Mandatory options: (exactly one must be specified) -b, --ba-style includes translations in the bonobo-activation style -d, --desktop-style includes translations in the desktop style -k, --keys-style includes translations in the keys style -s, --schemas-style includes translations in the schemas style -r, --rfc822deb-style includes translations in the RFC822 style -x, --xml-style includes translations in the standard xml style Other options: -u, --utf8 convert all strings to UTF-8 before merging (default for everything except RFC822 style) -p, --pass-through deprecated, does nothing and issues a warning -m, --multiple-output output one localized file per locale, instead of a single file containing all localized elements -c, --cache=FILE specify cache file name (usually \$top_builddir/po/.intltool-merge-cache) -q, --quiet suppress most messages --help display this help and exit --version output version information and exit Report bugs to http://bugzilla.gnome.org/ (product name "$PACKAGE") or send email to . _EOF_ exit; } ## Sub for printing error messages sub print_error { print STDERR "Try `${PROGRAM} --help' for more information.\n"; exit; } sub print_message { print "Merging translations into $OUTFILE.\n" unless $QUIET_ARG; } sub preparation { $PO_DIR = $ARGV[0]; $FILE = $ARGV[1]; $OUTFILE = $ARGV[2]; &gather_po_files; &get_translation_database; } # General-purpose code for looking up translations in .po files sub po_file2lang { my ($tmp) = @_; $tmp =~ s/^.*\/(.*)\.po$/$1/; return $tmp; } sub gather_po_files { for my $po_file (glob "$PO_DIR/*.po") { $po_files_by_lang{po_file2lang($po_file)} = $po_file; } } sub get_local_charset { my ($encoding) = @_; my $alias_file = $ENV{"G_CHARSET_ALIAS"} || "@INTLTOOL_LIBDIR@/charset.alias"; # seek character encoding aliases in charset.alias (glib) if (open CHARSET_ALIAS, $alias_file) { while () { next if /^\#/; return $1 if (/^\s*([-._a-zA-Z0-9]+)\s+$encoding\b/i) } close CHARSET_ALIAS; } # if not found, return input string return $encoding; } sub get_po_encoding { my ($in_po_file) = @_; my $encoding = ""; open IN_PO_FILE, $in_po_file or die; while () { ## example: "Content-Type: text/plain; charset=ISO-8859-1\n" if (/Content-Type\:.*charset=([-a-zA-Z0-9]+)\\n/) { $encoding = $1; last; } } close IN_PO_FILE; if (!$encoding) { print STDERR "Warning: no encoding found in $in_po_file. Assuming ISO-8859-1\n" unless $QUIET_ARG; $encoding = "ISO-8859-1"; } system ("$iconv -f $encoding -t UTF-8 <$devnull 2>$devnull"); if ($?) { $encoding = get_local_charset($encoding); } return $encoding } sub utf8_sanity_check { print STDERR "Warning: option --pass-through has been removed.\n" if $PASS_THROUGH_ARG; $UTF8_ARG = 1; } sub get_translation_database { if ($cache_file) { &get_cached_translation_database; } else { &create_translation_database; } } sub get_newest_po_age { my $newest_age; foreach my $file (values %po_files_by_lang) { my $file_age = -M $file; $newest_age = $file_age if !$newest_age || $file_age < $newest_age; } $newest_age = 0 if !$newest_age; return $newest_age; } sub create_cache { print "Generating and caching the translation database\n" unless $QUIET_ARG; &create_translation_database; open CACHE, ">$cache_file" || die; print CACHE join "\x01", %translations; close CACHE; } sub load_cache { print "Found cached translation database\n" unless $QUIET_ARG; my $contents; open CACHE, "<$cache_file" || die; { local $/; $contents = ; } close CACHE; %translations = split "\x01", $contents; } sub get_cached_translation_database { my $cache_file_age = -M $cache_file; if (defined $cache_file_age) { if ($cache_file_age <= &get_newest_po_age) { &load_cache; return; } print "Found too-old cached translation database\n" unless $QUIET_ARG; } &create_cache; } sub create_translation_database { for my $lang (keys %po_files_by_lang) { my $po_file = $po_files_by_lang{$lang}; if ($UTF8_ARG) { my $encoding = get_po_encoding ($po_file); if (lc $encoding eq "utf-8") { open PO_FILE, "<$po_file"; } else { print "NOTICE: $po_file is not in UTF-8 but $encoding, converting...\n" unless $QUIET_ARG;; open PO_FILE, "$iconv -f $encoding -t UTF-8 $po_file|"; } } else { open PO_FILE, "<$po_file"; } my $nextfuzzy = 0; my $inmsgid = 0; my $inmsgstr = 0; my $msgid = ""; my $msgstr = ""; while () { $nextfuzzy = 1 if /^#, fuzzy/; if (/^msgid "((\\.|[^\\])*)"/ ) { $translations{$lang, $msgid} = $msgstr if $inmsgstr && $msgid && $msgstr; $msgid = ""; $msgstr = ""; if ($nextfuzzy) { $inmsgid = 0; } else { $msgid = unescape_po_string($1); $inmsgid = 1; } $inmsgstr = 0; $nextfuzzy = 0; } if (/^msgstr "((\\.|[^\\])*)"/) { $msgstr = unescape_po_string($1); $inmsgstr = 1; $inmsgid = 0; } if (/^"((\\.|[^\\])*)"/) { $msgid .= unescape_po_string($1) if $inmsgid; $msgstr .= unescape_po_string($1) if $inmsgstr; } } $translations{$lang, $msgid} = $msgstr if $inmsgstr && $msgid && $msgstr; } } sub finalize { } sub unescape_one_sequence { my ($sequence) = @_; return "\\" if $sequence eq "\\\\"; return "\"" if $sequence eq "\\\""; return "\n" if $sequence eq "\\n"; return "\r" if $sequence eq "\\r"; return "\t" if $sequence eq "\\t"; return "\b" if $sequence eq "\\b"; return "\f" if $sequence eq "\\f"; return "\a" if $sequence eq "\\a"; return chr(11) if $sequence eq "\\v"; # vertical tab, see ascii(7) return chr(hex($1)) if ($sequence =~ /\\x([0-9a-fA-F]{2})/); return chr(oct($1)) if ($sequence =~ /\\([0-7]{3})/); # FIXME: Is \0 supported as well? Kenneth and Rodney don't want it, see bug #48489 return $sequence; } sub unescape_po_string { my ($string) = @_; $string =~ s/(\\x[0-9a-fA-F]{2}|\\[0-7]{3}|\\.)/unescape_one_sequence($1)/eg; return $string; } ## NOTE: deal with < - < but not > - > because it seems its ok to have ## > in the entity. For further info please look at #84738. sub entity_decode { local ($_) = @_; s/'/'/g; # ' s/"/"/g; # " s/&/&/g; s/</; close INPUT; } open OUTPUT, ">$OUTFILE" or die "can't open $OUTFILE: $!"; # Binmode so that selftest works ok if using a native Win32 Perl... binmode (OUTPUT) if $^O eq 'MSWin32'; while ($source =~ s|^(.*?)([ \t]*<\s*$w+\s+($w+\s*=\s*"$q"\s*)+/?>)([ \t]*\n)?||s) { print OUTPUT $1; my $node = $2 . "\n"; my @strings = (); $_ = $node; while (s/(\s)_($w+\s*=\s*"($q)")/$1$2/s) { push @strings, entity_decode($3); } print OUTPUT; my %langs; for my $string (@strings) { for my $lang (keys %po_files_by_lang) { $langs{$lang} = 1 if $translations{$lang, $string}; } } for my $lang (sort keys %langs) { $_ = $node; s/(\sname\s*=\s*)"($q)"/$1"$2-$lang"/s; s/(\s)_($w+\s*=\s*")($q)"/$1 . $2 . entity_encoded_translation($lang, $3) . '"'/seg; print OUTPUT; } } print OUTPUT $source; close OUTPUT; } ## XML (non-bonobo-activation) merge code # Process tag attributes # Only parameter is a HASH containing attributes -> values mapping sub getAttributeString { my $sub = shift; my $do_translate = shift || 0; my $language = shift || ""; my $result = ""; my $translate = shift; foreach my $e (reverse(sort(keys %{ $sub }))) { my $key = $e; my $string = $sub->{$e}; my $quote = '"'; $string =~ s/^[\s]+//; $string =~ s/[\s]+$//; if ($string =~ /^'.*'$/) { $quote = "'"; } $string =~ s/^['"]//g; $string =~ s/['"]$//g; if ($do_translate && $key =~ /^_/) { $key =~ s|^_||g; if ($language) { # Handle translation my $decode_string = entity_decode($string); my $translation = $translations{$language, $decode_string}; if ($translation) { $translation = entity_encode($translation); $string = $translation; } $$translate = 2; } else { $$translate = 2 if ($translate && (!$$translate)); # watch not to "overwrite" $translate } } $result .= " $key=$quote$string$quote"; } return $result; } # Returns a translatable string from XML node, it works on contents of every node in XML::Parser tree sub getXMLstring { my $ref = shift; my $spacepreserve = shift || 0; my @list = @{ $ref }; my $result = ""; my $count = scalar(@list); my $attrs = $list[0]; my $index = 1; $spacepreserve = 1 if ((exists $attrs->{"xml:space"}) && ($attrs->{"xml:space"} =~ /^["']?preserve["']?$/)); $spacepreserve = 0 if ((exists $attrs->{"xml:space"}) && ($attrs->{"xml:space"} =~ /^["']?default["']?$/)); while ($index < $count) { my $type = $list[$index]; my $content = $list[$index+1]; if (! $type ) { # We've got CDATA if ($content) { # lets strip the whitespace here, and *ONLY* here $content =~ s/\s+/ /gs if (!$spacepreserve); $result .= $content; } } elsif ( "$type" ne "1" ) { # We've got another element $result .= "<$type"; $result .= getAttributeString(@{$content}[0], 0); # no nested translatable elements if ($content) { my $subresult = getXMLstring($content, $spacepreserve); if ($subresult) { $result .= ">".$subresult . ""; } else { $result .= "/>"; } } else { $result .= "/>"; } } $index += 2; } return $result; } # Translate list of nodes if necessary sub translate_subnodes { my $fh = shift; my $content = shift; my $language = shift || ""; my $singlelang = shift || 0; my $spacepreserve = shift || 0; my @nodes = @{ $content }; my $count = scalar(@nodes); my $index = 0; while ($index < $count) { my $type = $nodes[$index]; my $rest = $nodes[$index+1]; if ($singlelang) { my $oldMO = $MULTIPLE_OUTPUT; $MULTIPLE_OUTPUT = 1; traverse($fh, $type, $rest, $language, $spacepreserve); $MULTIPLE_OUTPUT = $oldMO; } else { traverse($fh, $type, $rest, $language, $spacepreserve); } $index += 2; } } sub isWellFormedXmlFragment { my $ret = eval 'require XML::Parser'; if(!$ret) { die "You must have XML::Parser installed to run $0\n\n"; } my $fragment = shift; return 0 if (!$fragment); $fragment = "$fragment"; my $xp = new XML::Parser(Style => 'Tree'); my $tree = 0; eval { $tree = $xp->parse($fragment); }; return $tree; } sub traverse { my $fh = shift; my $nodename = shift; my $content = shift; my $language = shift || ""; my $spacepreserve = shift || 0; if (!$nodename) { if ($content =~ /^[\s]*$/) { $leading_space .= $content; } print $fh $content; } else { # element my @all = @{ $content }; my $attrs = shift @all; my $translate = 0; my $outattr = getAttributeString($attrs, 1, $language, \$translate); if ($nodename =~ /^_/) { $translate = 1; $nodename =~ s/^_//; } my $lookup = ''; $spacepreserve = 0 if ((exists $attrs->{"xml:space"}) && ($attrs->{"xml:space"} =~ /^["']?default["']?$/)); $spacepreserve = 1 if ((exists $attrs->{"xml:space"}) && ($attrs->{"xml:space"} =~ /^["']?preserve["']?$/)); print $fh "<$nodename", $outattr; if ($translate) { $lookup = getXMLstring($content, $spacepreserve); if (!$spacepreserve) { $lookup =~ s/^\s+//s; $lookup =~ s/\s+$//s; } if ($lookup || $translate == 2) { my $translation = $translations{$language, $lookup} if isWellFormedXmlFragment($translations{$language, $lookup}); if ($MULTIPLE_OUTPUT && ($translation || $translate == 2)) { $translation = $lookup if (!$translation); print $fh " xml:lang=\"", $language, "\"" if $language; print $fh ">"; if ($translate == 2) { translate_subnodes($fh, \@all, $language, 1, $spacepreserve); } else { print $fh $translation; } print $fh ""; return; # this means there will be no same translation with xml:lang="$language"... # if we want them both, just remove this "return" } else { print $fh ">"; if ($translate == 2) { translate_subnodes($fh, \@all, $language, 1, $spacepreserve); } else { print $fh $lookup; } print $fh ""; } } else { print $fh "/>"; } for my $lang (sort keys %po_files_by_lang) { if ($MULTIPLE_OUTPUT && $lang ne "$language") { next; } if ($lang) { # Handle translation # my $translate = 0; my $localattrs = getAttributeString($attrs, 1, $lang, \$translate); my $translation = $translations{$lang, $lookup} if isWellFormedXmlFragment($translations{$lang, $lookup}); if ($translate && !$translation) { $translation = $lookup; } if ($translation || $translate) { print $fh "\n"; $leading_space =~ s/.*\n//g; print $fh $leading_space; print $fh "<", $nodename, " xml:lang=\"", $lang, "\"", $localattrs, ">"; if ($translate == 2) { translate_subnodes($fh, \@all, $lang, 1, $spacepreserve); } else { print $fh $translation; } print $fh ""; } } } } else { my $count = scalar(@all); if ($count > 0) { print $fh ">"; my $index = 0; while ($index < $count) { my $type = $all[$index]; my $rest = $all[$index+1]; traverse($fh, $type, $rest, $language, $spacepreserve); $index += 2; } print $fh ""; } else { print $fh "/>"; } } } } sub intltool_tree_comment { my $expat = shift; my $data = shift; my $clist = $expat->{Curlist}; my $pos = $#$clist; push @$clist, 1 => $data; } sub intltool_tree_cdatastart { my $expat = shift; my $clist = $expat->{Curlist}; my $pos = $#$clist; push @$clist, 0 => $expat->original_string(); } sub intltool_tree_cdataend { my $expat = shift; my $clist = $expat->{Curlist}; my $pos = $#$clist; $clist->[$pos] .= $expat->original_string(); } sub intltool_tree_char { my $expat = shift; my $text = shift; my $clist = $expat->{Curlist}; my $pos = $#$clist; # Use original_string so that we retain escaped entities # in CDATA sections. # if ($pos > 0 and $clist->[$pos - 1] eq '0') { $clist->[$pos] .= $expat->original_string(); } else { push @$clist, 0 => $expat->original_string(); } } sub intltool_tree_start { my $expat = shift; my $tag = shift; my @origlist = (); # Use original_string so that we retain escaped entities # in attribute values. We must convert the string to an # @origlist array to conform to the structure of the Tree # Style. # my @original_array = split /\x/, $expat->original_string(); my $source = $expat->original_string(); # Remove leading tag. # $source =~ s|^\s*<\s*(\S+)||s; # Grab attribute key/value pairs and push onto @origlist array. # while ($source) { if ($source =~ /^\s*([\w:-]+)\s*[=]\s*["]/) { $source =~ s|^\s*([\w:-]+)\s*[=]\s*["]([^"]*)["]||s; push @origlist, $1; push @origlist, '"' . $2 . '"'; } elsif ($source =~ /^\s*([\w:-]+)\s*[=]\s*[']/) { $source =~ s|^\s*([\w:-]+)\s*[=]\s*[']([^']*)[']||s; push @origlist, $1; push @origlist, "'" . $2 . "'"; } else { last; } } my $ol = [ { @origlist } ]; push @{ $expat->{Lists} }, $expat->{Curlist}; push @{ $expat->{Curlist} }, $tag => $ol; $expat->{Curlist} = $ol; } sub readXml { my $filename = shift || return; if(!-f $filename) { die "ERROR Cannot find filename: $filename\n"; } my $ret = eval 'require XML::Parser'; if(!$ret) { die "You must have XML::Parser installed to run $0\n\n"; } my $xp = new XML::Parser(Style => 'Tree'); $xp->setHandlers(Char => \&intltool_tree_char); $xp->setHandlers(Start => \&intltool_tree_start); $xp->setHandlers(CdataStart => \&intltool_tree_cdatastart); $xp->setHandlers(CdataEnd => \&intltool_tree_cdataend); my $tree = $xp->parsefile($filename); # Hello thereHowdydo # would be: # [foo, [{}, head, [{id => "a"}, 0, "Hello ", em, [{}, 0, "there"]], bar, [{}, # 0, "Howdy", ref, [{}]], 0, "do" ] ] return $tree; } sub print_header { my $infile = shift; my $fh = shift; my $source; if(!-f $infile) { die "ERROR Cannot find filename: $infile\n"; } print $fh qq{\n}; { local $/; open DOCINPUT, "<${FILE}" or die; $source = ; close DOCINPUT; } if ($source =~ /()/s) { print $fh "$1\n"; } elsif ($source =~ /(]*>)/s) { print $fh "$1\n"; } } sub parseTree { my $fh = shift; my $ref = shift; my $language = shift || ""; my $name = shift @{ $ref }; my $cont = shift @{ $ref }; while (!$name || "$name" eq "1") { $name = shift @{ $ref }; $cont = shift @{ $ref }; } my $spacepreserve = 0; my $attrs = @{$cont}[0]; $spacepreserve = 1 if ((exists $attrs->{"xml:space"}) && ($attrs->{"xml:space"} =~ /^["']?preserve["']?$/)); traverse($fh, $name, $cont, $language, $spacepreserve); } sub xml_merge_output { my $source; if ($MULTIPLE_OUTPUT) { for my $lang (sort keys %po_files_by_lang) { if ( ! -e $lang ) { mkdir $lang or die "Cannot create subdirectory $lang: $!\n"; } open OUTPUT, ">$lang/$OUTFILE" or die "Cannot open $lang/$OUTFILE: $!\n"; binmode (OUTPUT) if $^O eq 'MSWin32'; my $tree = readXml($FILE); print_header($FILE, \*OUTPUT); parseTree(\*OUTPUT, $tree, $lang); close OUTPUT; print "CREATED $lang/$OUTFILE\n" unless $QUIET_ARG; } } open OUTPUT, ">$OUTFILE" or die "Cannot open $OUTFILE: $!\n"; binmode (OUTPUT) if $^O eq 'MSWin32'; my $tree = readXml($FILE); print_header($FILE, \*OUTPUT); parseTree(\*OUTPUT, $tree); close OUTPUT; print "CREATED $OUTFILE\n" unless $QUIET_ARG; } sub keys_merge_translations { open INPUT, "<${FILE}" or die; open OUTPUT, ">${OUTFILE}" or die; binmode (OUTPUT) if $^O eq 'MSWin32'; while () { if (s/^(\s*)_(\w+=(.*))/$1$2/) { my $string = $3; print OUTPUT; my $non_translated_line = $_; for my $lang (sort keys %po_files_by_lang) { my $translation = $translations{$lang, $string}; next if !$translation; $_ = $non_translated_line; s/(\w+)=.*/[$lang]$1=$translation/; print OUTPUT; } } else { print OUTPUT; } } close OUTPUT; close INPUT; } sub desktop_merge_translations { open INPUT, "<${FILE}" or die; open OUTPUT, ">${OUTFILE}" or die; binmode (OUTPUT) if $^O eq 'MSWin32'; while () { if (s/^(\s*)_(\w+=(.*))/$1$2/) { my $string = $3; print OUTPUT; my $non_translated_line = $_; for my $lang (sort keys %po_files_by_lang) { my $translation = $translations{$lang, $string}; next if !$translation; $_ = $non_translated_line; s/(\w+)=.*/${1}[$lang]=$translation/; print OUTPUT; } } else { print OUTPUT; } } close OUTPUT; close INPUT; } sub schemas_merge_translations { my $source; { local $/; # slurp mode open INPUT, "<$FILE" or die "can't open $FILE: $!"; $source = ; close INPUT; } open OUTPUT, ">$OUTFILE" or die; binmode (OUTPUT) if $^O eq 'MSWin32'; # FIXME: support attribute translations # Empty nodes never need translation, so unmark all of them. # For example, <_foo/> is just replaced by . $source =~ s|<\s*_($w+)\s*/>|<$1/>|g; while ($source =~ s/ (.*?) (\s+)((\s*) (\s*(?:\s*)?(.*?)\s*<\/default>)?(\s*) (\s*(?:\s*)?(.*?)\s*<\/short>)?(\s*) (\s*(?:\s*)?(.*?)\s*<\/long>)?(\s*) <\/locale>) //sx) { print OUTPUT $1; my $locale_start_spaces = $2 ? $2 : ''; my $default_spaces = $4 ? $4 : ''; my $short_spaces = $7 ? $7 : ''; my $long_spaces = $10 ? $10 : ''; my $locale_end_spaces = $13 ? $13 : ''; my $c_default_block = $3 ? $3 : ''; my $default_string = $6 ? $6 : ''; my $short_string = $9 ? $9 : ''; my $long_string = $12 ? $12 : ''; print OUTPUT "$locale_start_spaces$c_default_block"; $default_string =~ s/\s+/ /g; $default_string = entity_decode($default_string); $short_string =~ s/\s+/ /g; $short_string = entity_decode($short_string); $long_string =~ s/\s+/ /g; $long_string = entity_decode($long_string); for my $lang (sort keys %po_files_by_lang) { my $default_translation = $translations{$lang, $default_string}; my $short_translation = $translations{$lang, $short_string}; my $long_translation = $translations{$lang, $long_string}; next if (!$default_translation && !$short_translation && !$long_translation); print OUTPUT "\n$locale_start_spaces"; print OUTPUT "$default_spaces"; if ($default_translation) { $default_translation = entity_encode($default_translation); print OUTPUT "$default_translation"; } print OUTPUT "$short_spaces"; if ($short_translation) { $short_translation = entity_encode($short_translation); print OUTPUT "$short_translation"; } print OUTPUT "$long_spaces"; if ($long_translation) { $long_translation = entity_encode($long_translation); print OUTPUT "$long_translation"; } print OUTPUT "$locale_end_spaces"; } } print OUTPUT $source; close OUTPUT; } sub rfc822deb_merge_translations { my %encodings = (); for my $lang (keys %po_files_by_lang) { $encodings{$lang} = ($UTF8_ARG ? 'UTF-8' : get_po_encoding($po_files_by_lang{$lang})); } my $source; $Text::Wrap::huge = 'overflow'; $Text::Wrap::break = qr/\n|\s(?=\S)/; { local $/; # slurp mode open INPUT, "<$FILE" or die "can't open $FILE: $!"; $source = ; close INPUT; } open OUTPUT, ">${OUTFILE}" or die; binmode (OUTPUT) if $^O eq 'MSWin32'; while ($source =~ /(^|\n+)(_*)([^:\s]+)(:[ \t]*)(.*?)(?=\n[\S\n]|$)/sg) { my $sep = $1; my $non_translated_line = $3.$4; my $string = $5; my $underscore = length($2); next if $underscore eq 0 && $non_translated_line =~ /^#/; # Remove [] dummy strings my $stripped = $string; $stripped =~ s/\[\s[^\[\]]*\],/,/g if $underscore eq 2; $stripped =~ s/\[\s[^\[\]]*\]$//; $non_translated_line .= $stripped; print OUTPUT $sep.$non_translated_line; if ($underscore) { my @str_list = rfc822deb_split($underscore, $string); for my $lang (sort keys %po_files_by_lang) { my $is_translated = 1; my $str_translated = ''; my $first = 1; for my $str (@str_list) { my $translation = $translations{$lang, $str}; if (!$translation) { $is_translated = 0; last; } # $translation may also contain [] dummy # strings, mostly to indicate an empty string $translation =~ s/\[\s[^\[\]]*\]$//; if ($first) { if ($underscore eq 2) { $str_translated .= $translation; } else { $str_translated .= Text::Tabs::expand($translation) . "\n"; } } else { if ($underscore eq 2) { $str_translated .= ', ' . $translation; } else { $str_translated .= Text::Tabs::expand( Text::Wrap::wrap(' ', ' ', $translation)) . "\n .\n"; } } $first = 0; # To fix some problems with Text::Wrap::wrap $str_translated =~ s/(\n )+\n/\n .\n/g; } next unless $is_translated; $str_translated =~ s/\n \.\n$//; $str_translated =~ s/\s+$//; $_ = $non_translated_line; s/^(\w+):\s*.*/$sep${1}-$lang.$encodings{$lang}: $str_translated/s; print OUTPUT; } } } print OUTPUT "\n"; close OUTPUT; close INPUT; } sub rfc822deb_split { # Debian defines a special way to deal with rfc822-style files: # when a value contain newlines, it consists of # 1. a short form (first line) # 2. a long description, all lines begin with a space, # and paragraphs are separated by a single dot on a line # This routine returns an array of all paragraphs, and reformat # them. # When first argument is 2, the string is a comma separated list of # values. my $type = shift; my $text = shift; $text =~ s/^[ \t]//mg; return (split(/, */, $text, 0)) if $type ne 1; return ($text) if $text !~ /\n/; $text =~ s/([^\n]*)\n//; my @list = ($1); my $str = ''; for my $line (split (/\n/, $text)) { chomp $line; if ($line =~ /^\.\s*$/) { # New paragraph $str =~ s/\s*$//; push(@list, $str); $str = ''; } elsif ($line =~ /^\s/) { # Line which must not be reformatted $str .= "\n" if length ($str) && $str !~ /\n$/; $line =~ s/\s+$//; $str .= $line."\n"; } else { # Continuation line, remove newline $str .= " " if length ($str) && $str !~ /\n$/; $str .= $line; } } $str =~ s/\s*$//; push(@list, $str) if length ($str); return @list; } gnome-blog-0.9.1/rich_entry.py0000664000076500007650000002602310446065510013230 00000000000000import gtk import gtk.gdk import pango import gobject import gnome import gnomevfs import gettext _ = gettext.gettext from gnomeblog import html_converter from gnomeblog import hig_alert class RichEntry(gtk.TextView): def __init__(self): self.buffer = gtk.TextBuffer() gtk.TextView.__init__(self, self.buffer) self._initDND() self.set_editable(True) self.set_wrap_mode(gtk.WRAP_WORD) self.set_pixels_below_lines(16) html_converter.para_tag = self.buffer.create_tag("p") html_converter.para_tag.opening_tag = "

" html_converter.para_tag.closing_tag = "

" self.connect("event-after", self._onEventAfter) self.buffer.connect_after("insert_text", self._onInsertText) self.toggle_list = [] # Hack for addHyperlink with old pygtk's self.linknum = 0 self.images = [ ] def _initDND(self): # GtkTextView already defines drag and drop targets, get them old_targets = self.drag_dest_get_target_list() # Unfortunately old_targets string field has a funny type # that needs to be explicitly converted to string targets = [] for target in old_targets: targets.append((str(target[0]), target[1], target[2])) # Add the DND type that we support and set the new list of types targets.insert(0, ("text/uri-list", 0, 398)) self.drag_dest_set_target_list(targets) self.connect("drag-data-received", self._onDragDataReceived) def _getUniqueTag(self): if (gtk.pygtk_version[0] < 2 and gtk.pygtk_version[1] < 100 and gtk.pygtk_version[2] < 16): # this is an older version of pygtk that doesn't # have a way to create anonymous tags, hack around it link_tag = self.buffer.create_tag("unique%d" % (self.linknum)) self.linknum = self.linknum + 1 print "Old Pygtk, using hack to work around lack of anonymous tags" else: link_tag = self.buffer.create_tag() return link_tag def addHyperlink(self, iter, text, uri, on_activate): link_tag = self._getUniqueTag() link_tag.set_property("underline", pango.UNDERLINE_SINGLE) link_tag.set_property("foreground", "#0000FF") link_tag.opening_tag = '' % (uri) link_tag.closing_tag = '' link_tag.uri = uri link_tag.on_activate = on_activate link_tag.hyperlink = True self.buffer.insert_with_tags(iter, text, link_tag) def applyHyperlink(self, selection, uri, on_activate): link_tag = self._getUniqueTag() link_tag.set_property("underline", pango.UNDERLINE_SINGLE) link_tag.set_property("foreground", "#0000FF") link_tag.opening_tag = '' % (uri) link_tag.closing_tag = '' link_tag.uri = uri link_tag.on_activate = on_activate link_tag.hyperlink = True self.buffer.apply_tag(link_tag, selection[0], selection[1]) def getImages(self): return self.images def getHTML(self): return html_converter.getHTML(self.buffer) def clear(self): self.buffer.delete(self.buffer.get_start_iter(), self.buffer.get_end_iter()) def createStyleToggle(self, pango_markup_properties, stock_button, html_tag): tag = self.buffer.create_tag(html_tag) for property in pango_markup_properties: tag.set_property(property[0], property[1]) toggle = StyleToggle(stock_button, tag, html_tag, self) self.toggle_list.append(toggle) return toggle def _onDragDataReceived(self, widget, drag_context, window_x, window_y, selection_data, info, timestamp): if (info == 398): # 398 means text/uri-list assert(selection_data.format == 8) uri_list = selection_data.data uris = uri_list.split('\r\n') (buffer_x, buffer_y) = self.window_to_buffer_coords(gtk.TEXT_WINDOW_WIDGET, window_x, window_y) dnd_iter = self.get_iter_at_location(buffer_x, buffer_y) for uri in uris: if (len(uri) <= 0): continue loader = gtk.gdk.PixbufLoader() try: file_info = gnomevfs.get_file_info(uri, gnomevfs.FILE_INFO_GET_MIME_TYPE) file_contents = gnomevfs.read_entire_file(uri) except gnomevfs.Error, e: hig_alert.reportError(_("Could not load dragged in image"), _("Error loading %s was: %s") % (hig_alert.italic(uri), e)) loader.write(file_contents) try: loader.close() pixbuf = loader.get_pixbuf() except gobject.GError, e: pixbuf = None hig_alert.reportError(_("Could not load dragged in image"), _("Error loading %s was: %s") % (hig_alert.italic(uri), e)) if (pixbuf): # Create a new image tag image_tag = self._getUniqueTag() image_tag.opening_tag = "" image_tag.closing_tag = "" image_tag.file_contents = file_contents paths = uri.split('/') image_tag.name = paths[len(paths) - 1] image_tag.mime_type = file_info.mime_type self.images.append(image_tag) # Insert the pixbuf, and then set the new image # tag around it so that we can generate its HTML later start_offset = dnd_iter.get_offset() self.buffer.insert_pixbuf(dnd_iter, pixbuf) start = self.buffer.get_iter_at_offset(start_offset) self.buffer.apply_tag(image_tag, start, dnd_iter) else: print ("Some other sort of data received") def _onInsertText(self, widget, pos, text, length): for style in self.toggle_list: if (style.get_active() == True): pos_end = pos.copy() pos_end.backward_chars(length) self.buffer.apply_tag(style.style_tag, pos, pos_end) def _onEventAfter(self, widget, event): if event.type != gtk.gdk.BUTTON_RELEASE or event.button != 1: return False bounds = self.buffer.get_selection_bounds() if not bounds: return False x, y = self.window_to_buffer_coords (gtk.TEXT_WINDOW_WIDGET, int(event.x), int(event.y)) iter = self.get_iter_at_location(x, y) for tag in iter.get_tags(): try: if tag.hyperlink == True: # Found Hyperlink, activating tag.on_activate(tag.uri) except AttributeError: pass return False class InsertHyperlinkButton(gtk.Button): def __init__(self, rich_entry): gtk.Button.__init__(self, _("Add _Link...")) self.rich_entry = rich_entry self.connect("clicked", self._onClicked) def _onClicked(self, button): dialog = gtk.Dialog(_("Add Link"), parent=self.get_toplevel(), buttons=(gtk.STOCK_CANCEL, gtk.RESPONSE_REJECT, _("_Add Link"), gtk.RESPONSE_ACCEPT)) dialog.set_default_response(gtk.RESPONSE_ACCEPT) dialog.set_has_separator(False) dialog.set_resizable(False) dialog.set_border_width(5) dialog.vbox.set_spacing(2) textLabel = gtk.Label(_("Text:")) textLabel.set_alignment(0.0, 0.5) urlLabel = gtk.Label(_("URL:")) urlLabel.set_alignment(0.0, 0.5) textEntry = gtk.Entry() urlEntry = gtk.Entry() urlEntry.set_activates_default(True) selection = self.rich_entry.buffer.get_selection_bounds() if selection: textEntry.set_text(self.rich_entry.buffer.get_text(selection[0],selection[1])) table = gtk.Table(rows=2, columns=2) table.set_border_width(5) table.set_row_spacings(6) table.set_col_spacings(12) table.attach(textLabel, 0, 1, 0, 1, xoptions=gtk.FILL) table.attach(urlLabel, 0, 1, 1, 2, xoptions=gtk.FILL) table.attach(textEntry, 1, 2, 0, 1) table.attach(urlEntry, 1, 2, 1, 2) dialog.vbox.pack_start(table) table.show_all() if selection: urlEntry.grab_focus() else: textEntry.grab_focus() response = dialog.run() if response == gtk.RESPONSE_ACCEPT: if selection: self.rich_entry.applyHyperlink(selection, urlEntry.get_text(), self._onHyperlinkClicked) else: iter = self.rich_entry.buffer.get_iter_at_mark(self.rich_entry.buffer.get_mark("insert")) self.rich_entry.addHyperlink(iter, textEntry.get_text(), urlEntry.get_text(), self._onHyperlinkClicked) dialog.hide() self.rich_entry.grab_focus() def _onHyperlinkClicked(self, uri): print "Clicked %s" % (uri) class StyleToggle(gtk.ToggleButton): def __init__(self, stock_icon_id, tag, htmltag, text_view): gtk.ToggleButton.__init__(self) tag.opening_tag = '<%s>' % (htmltag) tag.closing_tag = '' % (htmltag) self.style_tag = tag self.text_view = text_view self.text_buffer = text_view.get_buffer() self.cursor_mark = self.text_buffer.get_mark("insert") self.connect("clicked", self._onStyleToggleActivate) image = gtk.Image() image.set_from_stock(stock_icon_id, gtk.ICON_SIZE_SMALL_TOOLBAR) self.add(image) image.show() self.text_buffer.connect("mark-set", self._onMarkSet) def _onStyleToggleActivate(self, toggle): if self.programmatic_toggle: return selection = self.text_buffer.get_selection_bounds() if selection: # There's a selection, apply/remove style tag to it if self.get_active(): self.text_buffer.apply_tag(self.style_tag, selection[0], selection[1]) else: self.text_buffer.remove_tag(self.style_tag, selection[0], selection[1]) self.text_view.grab_focus() def _onMarkSet(self, textbuffer, iter, mark): if mark == self.cursor_mark: self.programmatic_toggle = True if iter.has_tag(self.style_tag): self.set_active(True) else: self.set_active(False) self.programmatic_toggle = False gnome-blog-0.9.1/blog.py0000664000076500007650000000435710171353756012022 00000000000000import gconf class FeatureNotSupported(Exception): def __init__(self, unknownMethod): Exception.__init__(self, "Blog protocol does not support '%s'" % (unknownMethod)) def getBlogList (gconf_prefix): client = gconf.client_get_default() username, password, protocol, url = _getSettings(client, gconf_prefix) blog_backend = _getBlogBackend(protocol) try: return blog_backend.getBlogList(username, password, url, client, gconf_prefix) except AttributeError, e: raise FeatureNotSupported("getBlogList") def postEntry (title, entry, gconf_prefix): client = gconf.client_get_default() username, password, protocol, url = _getSettings(client, gconf_prefix) blog_backend = _getBlogBackend(protocol) return blog_backend.postEntry(username, password, url, title, entry, client, gconf_prefix) def uploadImage (image, gconf_prefix): client = gconf.client_get_default() username, password, protocol, url = _getSettings(client, gconf_prefix) blog_backend = _getBlogBackend(protocol) try: imageurl = blog_backend.uploadImage(username, password, url, image.name, image.file_contents, image.mime_type, client, gconf_prefix) if imageurl == None: raise FeatureNotSupported("uploadImage") except AttributeError, e: raise FeatureNotSupported("uploadImage") return imageurl def _getSettings(client, gconf_prefix): print "Using prefix %s" % (gconf_prefix) username = client.get_string(gconf_prefix + "/blog_username") password = client.get_string(gconf_prefix + "/blog_password") protocol = client.get_string(gconf_prefix + "/blog_protocol") url = client.get_string(gconf_prefix + "/xmlrpc_url") return username, password, protocol, url def _getBlogBackend(protocol): modulename = "gnomeblog.%s" % (protocol) protocolModule = __import__(modulename, globals(), locals(), ['blog']) return protocolModule.blog gnome-blog-0.9.1/__init__.py0000664000076500007650000000004507726025344012625 00000000000000# Init file for the gnomeblog module gnome-blog-0.9.1/ChangeLog0000664000076500007650000006371610446321257012277 000000000000002006-06-21 Olav Vitters * configure.in: Version 0.9.1. Fix ALL_LINGUAS 2006-06-21 Olav Vitters * aligned_window.py: gtk.gdk.WINDOW_TYPE_HINT_DOCK causes applet window not to receive focus. 2006-04-17 Kjartan Maraas * configure.in: Remove obsolete entry for no_NO * po/no.po: And the translation. 2006-04-13 Behdad Esfahbod * blogger_prefs.py, blog_poster.py, hig_alert.py, proxy.py, rich_entry.py: Replace tabs with spaces. (bug #338153, patch from Matthew Good.) 2006-01-24 Clytie Siddall * configure.in Added vi in ALL_LINGUAS line. 2006-01-09 Olav Vitters * configure.in: Require at least pygtk 2.6. 2006-01-07 Ilkka Tuohela * configure.in: Added fi to ALL_LINGUAS. 2006-01-02 Olav Vitters * MAINTAINERS: Add file. 2005-11-21 Ignacio Casal Quinteiro * configure-in: Added 'gl' to ALL_LINGUAS. 2005-09-20 Olav Vitters * blogger_prefs.py: Change "Blog Base URL:" instance to "Base Blog URL:" for consistency and at the request of the Vietnamese translator Clytie Siddall. Fixes bug #313933. 2005-08-24 Pawan Chitrakar * configure.in: Added ne in ALL_LINGUAS 2005-08-01 Olav Vitters * blog_poster.py: Disable gtkspell when gtkspell.Spell() fails. This can happen when gtkspell is installed but lacks the dictionary for the current LANGuage. Patch from Jan Alonzo. Fixes bug #309279. 2005-06-23 Chao-Hsiung Liao * configure.in: Add "zh_TW" to ALL_LINGUAS. 2005-06-23 Abel Cheung * configure.in: Add "bg" "zh_CN" to ALL_LINGUAS. 2005-06-11 Olav Vitters * blog_applet.py: Do not set the blog applet window to be modal. This prevents the about and preference windows to be closed if the blog applet window is shown. Fixes bug #148078. 2005-06-10 Olav Vitters * blogger_prefs.py: Update blogs.gnome.org xmlrpc URL. Fixes bug #307113. 2005-06-10 Olav Vitters * aligned_window.py: Fix typos 2005-05-25 Olav Vitters * blog_poster.py: Change constructor to add accel_group argument. Pass that to BlogPoster. * blog_applet.py: Pass accel_group to BlogPosterSimple. Allows CTRL-B, CTRL-I to work from the applet. Fixes bug #305474. 2005-05-22 Tommi Komulainen * rich_entry.py: Make "Add Link" dialog transient for the poster window. Fixes bug #304985. 2005-05-21 Olav Vitters * aligned_window.py: Stay on top, skip task bar and pager. Fixes bug #125535. 2005-05-20 Olav Vitters * proxy.py: Do not solely rely on the use http_proxy flag; also ensure host isn't blank and port isn't 0. Fixes bug #164151. 2005-05-20 Olav Vitters * blog_applet.py: Expand applet to follow Fitt's law. This is required to correctly determine where the window should popup. * aligned_window.py: Use the code from clock.c applet (function position_calendar_popup) to position the window. Fixes bug #168202. 2005-05-19 Olav Vitters * blog_poster.py: Do not expand the titleBox and buttonBox. Ensures these boxes stay the same size when the window is re-sized. Fixes bug #133267. 2005-05-12 Seth Nickell * configure.in: * rich_entry.py: Fix gnome.vfs to be gnomevfs (gnome-python change). Bump version to 0.8.5. 2005-05-12 Seth Nickell * blogger_prefs.py: * hig_alert.py: * protocols/MetaWeblog.py: * protocols/bloggerAPI.py: * proxy.py: * rich_entry.py: More gtk.TRUE/FALSE => True/False fixes. Add lookup so you can set the right blog to post to. Sat May 7 16:59:22 2005 Jonathan Blandford * *.py: gtk.TRUE/FALSE => True/False * blogger_prefs.py: Add blogs.gnome.org to the preset list. 2005-04-01 Steve Murphy * configure.in: Added "rw" to ALL_LINGUAS. 2005-01-12 Seth Nickell * blog_poster.py: * html_converter.py: Decode python strings pulled from GTK widgets as UTF-8. With GTK+ they'll be UTF-8 anyway (not sure why PyGTK doesn't just hand them back as type 'unicode') 2005-01-12 Seth Nickell * blogger_prefs.py: Change path to wordpress xml-rpc interface to include a beginning slash. * configure.in: Bump version to 0.8.1 * protocols/MetaWeblog.py: Fix image upload. * blog.py: Return an error message if imageUpload does not succeed on a particular blog type. 2005-01-12 John (J5) Palmieri * gnome-blog-poster: Rearange code so poster is initilized before it is used to display the pref dialog. This is why we need static typing. To catch bugs like this. Release 0.8 2005-01-12 Seth Nickell * rich_entry.py: Prepend (rather than appending) our "text/uri-list" target to the list of DND targets on the TextView. Otherwise it comes in as as string :-) 2005-01-04 Seth Nickell * blog.py: And... remove the hack :-) 2005-01-04 Seth Nickell * blog.py: Work around... a buggy python? If I do __import__ on bloggerAPI.py before "import xmlrpclib", the "import xmlrpclib" in bloggerAPI.py dies with horrible C exceptions in the Python interpreter. Ugh. So we now do an unnecessary "import xmlrpclib" in blog.py. * blogger_prefs.py: Go back to using "wordpress/xmlrpc.php" as before. We'll address xmlrpc address alternatives better in a future release... 2005-01-02 Seth Nickell * Makefile.am: Fix distcheck errors. 2004-07-08 Caleb Groom * blogger_prefs.py: HIGAlert dialog now displays 'unknown blog type' error and plays well with others if the blog type is invalid. 2005-01-02 Seth Nickell Patch from Brian Pepple . Also, thanks to Chris Shaffer for separately adding Wordpress support. * blogger_prefs.py: Only append "xmlrpc.php" for Wordpress installs, not "wordpress/xmlrpc.php" as we did before. 2005-01-02 Seth Nickell Patch from Tommi Komulainen * blog_applet.py: * gnome-blog-poster: Set the default window icons. 2004-12-25 Kjartan Maraas * configure.in: Add «nb» to ALL_LINGUAS. 2004-10-26 Seth Nickell * blogger_prefs.py: Add WordPress to the list of known blog types, using MetawebLog. 2004-10-26 Seth Nickell * acinclude.m4: Remove this, we no longer include any C Python modules. 2004-10-26 Seth Nickell Patch from Maciej Katafiasz * blog_applet.py: * blog_poster.py: * gnome-blog-poster: Add CTRL-I and CTRL-B accelerators for Italics and Bold. 2004-10-26 Seth Nickell * autogen.sh: Hardcode 'automake-1.8' instead of just calling 'automake'. Fixes #139648. Thanks to Alvaro del Castillo for tracking down the issue 2004-10-26 Seth Nickell Patch from Toshio Kuratomi * GNOME_BlogApplet.server.in: * GNOME_BlogApplet.server.in.in: * Makefile.am: Install applet into LIBEXECDIR instead of BINDIR 2004-10-26 Seth Nickell Patch from Brian Pepple * gnome-blog.spec.in: Patch to add BuildReq for gettext, along with removing files not needed (INSTALL, NEWS). Also, ghosting of *.pyo files. 2004-09-28 Maxim Dziumanenko * configure.in: Added uk to ALL_LINGUAS. 2004-09-16 Luis Villa * MetaWeblog.py: fix obvious typo. I'm probably the first person to try image upload, it looks like :) 2004-09-14 Seth Nickell * blogger_prefs.py: Use correct /RPC path for Pybloxsom 1.x. 2004-05-03 John (J5) Palmieri * rich_entry: style toggles now work correctly (RichEntry.__init__) registered text_insert signal and added toggle_list property (RichEntry.createStyleToggle) style toggle now appended to the toggle_list property (RichEntry._onInsertText) signal handler added (StyleToggle.__init__) text_view is now saved as a property (StyleToggle._onStyleToggleActivate) text_view is given back focus after style button is toggled 2004-05-01 Adam Weinberger * configure.in: Added en_CA to ALL_LINGUAS. 2004-04-09 Gareth Owen * configure.in: Added en_GB to ALL_LINGUAS 2004-04-08 Seth Nickell * configure.in: Bump version number to 0.8 2004-03-16 Bryan W Clark * blogger_prefs.py (BloggerPrefs._updateBlogType): fixed bug #136787 2004-03-08 John (J5) Palmieri * blog_poster.py: spell checking is now enabled if pygtkspell is installed 2004-02-26 John (J5) Palmieri * protocols/livejournal.py: * protocols/bloggerAPI.py: * protocols/advogato.py: * protocols/MetaWeblog.py: Added code to allow posting through a web proxy using GNOME proxy settings * proxy.py: Proxy code taken from PyBLO and modified to use GNOME proxy settings 2004-02-05 Robert Sedak * configure.in: Added "hr" (Croatian) to ALL_LINGUAS. 2004-01-25 Kjartan Maraas * configure.in: Added "no" to ALL_LINGUAS. 2004-01-15 * blogger_prefs.py: removed useless translation 2004-01-13 Tommi Komulainen * blog_poster.py: Disable post button until there's an entry to post. (#131377) 2004-01-11 * TODO: updated the TODO * rich_entry.py: use new hig_alert methods for styled text * protocols/livejournal.py: * protocols/bloggerAPI.py: * protocols/advogato.py: * protocols/MetaWeblog.py: use new hig_alert methods lightened gtk import * hig_alert.py: new italic and bold methods to handle markup for alerts replaced all markup in translatable text and moved to new methods 2004-01-09 * gnomeblog.schemas.in: removed the useless use_blogger_dot_com entry 2004-01-08 * gnomeblog.schemas.in: s/gnome-blogger/gnome-blog 2004-01-04 Rob Love * gnome-blog.spec.in: add missing dependency 2004-01-01 Rachel Hestilow * blogger_prefs.py: Add livejournal backend option * protocols/Makefile.am: Install livejournal.py * protocols/livejournal.py: Added. 2003-11-16 Bryan W Clark * rich_entry.py (RichEntry._onDragDataReceived): fixed L10N errors reported in bug # 125352 (InsertHyperlinkButton.__init__): Added some default handlers for the add link button, this should make it easier to add links using only the keyboard. Also moved the DnD init stuff to _initDND(), that's Seth's mojo and I don't want to play with right now. 2003-11-14 Bryan W Clark * gnome-blog-poster (BloggerApp.__init__): Bug fix for initial preferences on the reg app. * blogger_prefs.py: String "Pybloxsom" should be "Pyblosxom" bug # 126508 2003-11-13 Bryan W Clark * blog_applet.py: fixed traslation bug #126509 2003-11-07 Bryan W Clark * rich_entry.py: added ellipsis to Add Link button > HIG compiance * gnome-blog-poster: Ripped out the pref button from here and moved it to BlogPoster class. * blog_applet.py: Uses the BlogPosterSimple class to clear out the pref button, tried to reuse as much of the poster class stuff as possible in this file. * blog_poster.py (BlogPoster.__init__): Created a BlogPosterSimple class that hides the pref button, which has now been moved into the BlogPoster class * blog_applet.py: missed a string for translation 2003-11-03 Bryan W Clark * blog_applet.py: Added tooltip to applet button, on hover the applet now reads "Create a blog entry for $user at $blog_url" 2003-11-03 Hasbullah Bin Pit * configure.in: Added 'ms' (Malay) to ALL_LINGUAS. 2003-10-29 Jordi Mallach * configure.in (ALL_LINGUAS): Added "ca" (Catalan). 2003-10-26 Bastien Nocera * aligned_window.py: Set the blogging window as sticky, still need to set it on top and skip the pager and the taskbar (not wrapped in pygtk) 2003-10-25 Metin Amiroff * configure.in: Added az to ALL_LINGUAS. 2003-10-23 Seth Nickell * blog.py: Add support for the new uploadImage API * blog_poster.py: * html_converter.py: * rich_entry.py: Go through and upload any images that have been dragged into the rich text area.... At this point MetaWeblog should work "in theory" though of course it won't actually since I haven't tested it. Need to get a metaweblog API supporting blog working for testing purposes anyway. * protocols/MetaWeblog.py: * protocols/advogato.py: * protocols/bloggerAPI.py: Mark a bunch of strings for translation. Add 10x error checking for Gman 2003-10-23 Seth Nickell * protocols/MetaWeblog.py: Add skeleton for uploading images to MetaWeblog 2003-10-22 Seth Nickell * blogger_prefs.py: * rich_entry.py: Phase 1 complete... Can now DND images into the text view. Phase 2 is to add support to appropriate backends to actually upload images. Also... to incentivize myself I'll need to add metaweblog API support to pyblosxom so I can use/test the feature :-) 2003-09-19 Christophe Merlet * configure.in (ALL_LINGUAS): Added French (fr). 2003-09-16 Johan Dahlin * configure.in: Add de to ALL_LINGUAS. * blogger_prefs.py: * blog_poster.py: * rich_entry.py: HIG work here and there, mark some missing strings for translation. 2003-09-13 Seth Nickell * configure.in: Add pt_BR translation (Brazilian Portuguese) from: Andre Filipe de Assuno e Brito 2003-09-13 Seth Nickell * blog_applet.py: Hide the applet posting window after a successful post. 2003-09-13 Seth Nickell * blog_poster.py: * gnome-blog-poster: Close the standalone app after "Post Entry" is clicked... probably need more feedback really. * rich_entry.py: Hack around a lack of anonymous tags in RH9's version of gnome-python. Nasty, but we just create a new tag name for every link they insert. 2003-09-13 Seth Nickell * blog.py: * blog_poster.py: * blogger_prefs.py: * gnome-blog-poster: * protocols/bloggerAPI.py: * rich_entry.py: Work out little kinks with RH9 support and the standalone blog poster. 2003-09-13 Seth Nickell * Makefile.am: Pass "make distcheck". 2003-09-13 Seth Nickell * gnome-blog.spec.in: Add the new binary and desktop entry. 2003-09-13 Seth Nickell * configure.in: Bump version to 0.7 * Makefile.am: * gnome-blog-poster: * blog_poster.py: * gnome-blog.desktop.in: Create a little standalone blog posting application. Its not really well designed interface for now, but it basically works. * GNOME_BlogApplet.server.in: Use a different name, mark strings for translation. * gnomeblog.schemas.in: * protocols/MetaWeblog.py: * protocols/bloggerAPI.py: * blogger_prefs.py: Fix stupid bug that prevented people from posting to blogger.com. * rich_entry.py: Remove use of gnome-python API stuff that's not in RedHat 9. 2003-09-13 Seth Nickell reviewed by: * GNOME_BlogApplet.server.in: * Makefile.am: * blog_poster.py: * blogger_prefs.py: * configure.in: * gnome-blog-poster: * gnomeblog.schemas.in: * protocols/MetaWeblog.py: * protocols/bloggerAPI.py: * rich_entry.py: 2003-09-11 Seth Nickell * configure.in: Add Italian translation courtesy of: Frencesco Gigli 2003-09-11 Seth Nickell * configure.in: Bump version number to 0.6, release 2003-09-11 Seth Nickell * protocols/bloggerAPI.py: Import the appkey from the global namespace. * rich_entry.py: Insert a fixed number of pixels after each newline. This is not a great solution, but it'll at least provide basic feedback so people don't insert extra newlines. 2003-09-09 Duarte Loreto * configure.in: Added Portuguese (pt) to ALL_LINGUAS. 2003-09-05 James Willcox * protocols/MetaWeblog.py: Fix the metaweblog backend 2003-09-05 Seth Nickell * blog_applet.py: Fix dumb typo. 2003-09-05 Seth Nickell * blog_applet.py: * blog_poster.py: * blogger_prefs.py: * gnome_blog_globals.py.in: * hig_alert.py: Try to use gettext to allow localization of all the strings in the python code...not sure if this works. 2003-09-04 Seth Nickell * blogger_prefs.py: * protocols/MetaWeblog.py: * protocols/bloggerAPI.py: Switch to using the blog's base URL rather than requiring typing the whole XML-RPC cgi script path (which nobody knew anyway). This'll break if you don't follow the install instructions...but you can still use the "Custom Blog" thing to hardcode an XML-RPC URL, protocol, etc. 2003-09-04 Seth Nickell * configure.in: Remove unnecessary statements (that were causing problems on Debian too) * Makefile.am: * __init__.py: * rich_entry.py: * blogger_prefs.py: * blog_applet.py: Create a gnomeblog namespace so we don't flood the site-packages directory with our crap :-) * blog.py: * blog_poster.py: * blogger_prefs.py: * protocols/.cvsignore: * protocols/Makefile.am: * protocols/MetaWeblog.py: * protocols/advogato.py: * protocols/bloggerAPI.py: Move protocols out into their own modules. Neat trick is that now MetaWeblog can inherit from bloggerAPI. 2003-09-04 Seth Nickell * blog_poster.py: * rich_entry.py: Add support for inserting links. Hadess, I luv U. 2003-09-04 Seth Nickell * Makefile.am: * blog_poster.py: * html_converter.py: * rich_entry.py: * style_toggle.py: Create a new RichEntry widget which is a sub-class of TextView but provides the sort of nice HTML editing features we want. Abstract style_toggles further and move them into this class, and add preliminary support for hyperlinks. 2003-09-04 James Willcox * blog.py: * blogger_prefs.py: * gnomeblog.schemas.in: Fixup the metaweblog support a bit 2003-09-04 Seth Nickell * blog.py: Add preliminary support for metaweblog API. 2003-09-03 Bastien Nocera * blog.py: better error handling with the advogato API, actually connect to the server before making any calls * blogger_prefs.py: make the "lookup blogs" button unsensitive when the advogato API is selected 2003-09-03 Takeshi AIHANA * configure.in: Added "ja" (Japanese) to ALL_LINGUAS. 2003-09-03 Pablo Gonzalo del Campo * configure.in: Added "es" (Spanish) to ALL_LINGUAS. 2003-09-02 Artur Flinta * configure.in: Added "pl" to ALL_LINGUAS. 2003-09-02 Alex Duggan * GNOME_BlogApplet.xml: * Makefile.am: * blog_applet.py: * configure.in: * gnome_blog_globals.py.in: * .cvsignore: Add an about dialog and a global variables script * blogger_applet.py: Removed from cvs * autogen.sh: s/applet/gnome-blog/ 2003-09-02 Seth Nickell * blogger_prefs.py: Get James' password box back. 2003-09-02 Seth Nickell * Makefile.am: * blog.py: * blog_poster.py: Add a tiny bit of abstraction for handling protocol and servers. You need to edit both blogger_prefs.py and a bit in blog.py to add a new type. * blogger_prefs.py: * gconf_widgets.py: Improve Prefs dialog handling of different servers and protocols. 2003-09-02 James Willcox * blogger_prefs.py: * gconf_widgets.py: Make the password entry show asterisks instead of the actual password 2003-09-02 Seth Nickell * blog_poster.py: Fix bug that caused it to post the entry twice. 2003-09-02 Seth Nickell * blog_poster.py: Add a "Title" entry instead of relying on the good graces of my users to follow pybloxsom standards ;-) 2003-09-02 Seth Nickell * TODO: Brief sketch of some things I'm interested in doing next. 2003-09-02 Seth Nickell * HACKING: Clarify commit stuff (if you know what you're doing, and you're pretty sure its right, just commit). If I don't like it, I'll change it. 2003-09-02 Bastien Nocera * blog_poster.py: use the advogato API if the server url is http://www.advogato.org/XMLRPC 2003-09-02 Bastien Nocera * .cvsignore: updated for the gnome-blogger -> gnome-blog changes 2003-09-02 James Willcox * aligned_window.py: Show the window after moving it, not before 2003-09-02 Danilo Šegan * configure.in: Added "sr" and "sr@Latn" to ALL_LINGUAS. 2003-09-01 Seth Nickell * blog_applet.py: Open preferences dialog automatically the first time the applet is launched. * gnome-blog.png: Create a not-horrible icon. * GNOME_BlogApplet.server.in: Use the correct filename for the icon. * configure.in: Drop version number to 0.5 * gnome-blog.spec.in: Fix typo so correct version of pygtk2 is required. 2003-09-01 Seth Nickell * GNOME_BlogApplet.server.in: * aligned_window.py: * blog_applet.py: * blog_poster.py: * blogger_prefs.py: * gconf_widgets.py: * hig_alert.py: * style_toggle.py: Remove dependency on CVS gnome-python so that it'll work on (at least) RH9. 2003-09-01 Seth Nickell * gnome-blog.spec.in: Make it so we can build RPMS. 2003-09-01 Seth Nickell * Makefile.am: * configure.in: Finally get l10n working... 2003-09-01 Seth Nickell * GNOME_BlogApplet.server.in: * blogger_applet.py: gnome-blogger now in its new home gnome-blog... 2003-09-01 Seth Nickell * README: Appease the auto* gods and add a README. 2003-09-01 Seth Nickell * Makefile.am: * configure.in: Finish rennaming, remove all instances of "blogger" except in internal files (can worry about those later if anyone actually cares) 2003-09-01 Seth Nickell * AUTHORS: * GNOME_BlogApplet.server.in: * GNOME_BlogApplet.xml: * GNOME_BloggerApplet.xml: * Makefile.am: * blog_applet.py: * configure.in: * gnome-blog.png: * gnome-blog.spec.in: * gnome-blogger.png: * gnomeblog.schemas.in: * gnomeblogger.schemas.in: Do some rennaming to avoid violating the Blogger trademark. 2003-08-31 Seth Nickell * blog_poster.py: * blogger_applet.py: Automatically insert

tags where newlines are. 2003-08-31 Seth Nickell * blog_poster.py: * blogger_applet.py: * blogger_prefs.py: * gconf_widgets.py: Integrate with Panel prefs, don't hardcode a prefs directory. Eventually we'll also have an application version (should be really easy). 2003-08-31 Seth Nickell * hig_alert.py: More rewording of alerts. 2003-08-31 Seth Nickell * blog_poster.py: * blogger_prefs.py: * hig_alert.py: Lots more error messages make it easier both to debug problems and help people fix issues themselves (wrong url, username, etc) 2003-08-31 Seth Nickell * Makefile.am: * blog_poster.py: * blogger_applet.py: * blogger_prefs.py: * gconf_widgets.py: * gnomeblogger.schemas.in: * hig_alert.py: Add support for getting a list of Blogs at the address so people don't have to know the ID. 2003-08-29 Seth Nickell * blog_poster.py: Fix more dumb bugs. 2003-08-29 Seth Nickell * blog_poster.py: Forget self argument to member function :-P 2003-08-29 Seth Nickell * Makefile.am: Make applet run from "system path" again. * blog_poster.py: Screw up posting part. Do not pass go, do not collect $200. 2003-08-29 Seth Nickell * GNOME_BloggerApplet.server: * gnome-blogger.png: * Makefile.am: Use the "new icon" (which is crap, I know) * GNOME_BloggerApplet.xml: * blogger_applet.py: * blogger_prefs.py: Preferences dialog... point Blogger at the appropriate URL, username, password, etc. * blog_poster.py: * style_toggle.py: Initial support for rich text formatting (bold and italic). 2003-08-28 Seth Nickell * blog_poster.py: Wrap text in the blog entry, and make the window wider. * gnomeblogger.schemas.in: Add GConf schemas. 2003-08-26 Seth Nickell * .cvsignore: * GNOME_BloggerApplet.server: * Makefile.am: * blog_poster.py: * configure.in: * hig_alert.py: Add better error handling. 2003-08-26 Seth Nickell * aligned_window.py: Don't use a POPUP. Instead just turn off decorations. * blogger_applet.py: Move window before showing it... maybe stop the flashing. gnome-blog-0.9.1/COPYING0000644000076500007650000004312210360725552011544 00000000000000 GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) 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 this service 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 make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. 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. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute 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 and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), 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 distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the 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 a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, 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. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE 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. 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 convey 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 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision 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, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This 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 Library General Public License instead of this License. gnome-blog-0.9.1/protocols/0000777000076500007650000000000010446321305012610 500000000000000gnome-blog-0.9.1/protocols/advogato.py0000664000076500007650000000313410017517046014710 00000000000000import xmlrpclib from gtk import TRUE, FALSE import gettext _ = gettext.gettext from gnomeblog import hig_alert from gnomeblog import proxy appkey = "6BF507937414229AEB450AB075001667C8BC8338" class Blog: def __init__(self): pass def postEntry (self, username, password, url, title, entry, client, gconf_prefix): #check for GNOME proxy configurations and use if required proxy_transport = proxy.GnomeProxyTransport(client) server = proxy_transport.get_server(url); try: cookie = server.authenticate(username, password) except xmlrpclib.Fault, e: if (server.user.exists (username) == 0): hig_alert.reportError(_("Could not post Blog entry"), _("Your username is invalid. Please double-check the preferences.")) return FALSE else: hig_alert.reportError(_("Could not post Blog entry"), _("Your username or password is invalid. Please double-check the preferences.")) return FALSE success = TRUE try: server.diary.set(cookie, -1, entry) except xmlrpclib.Fault, e: hig_alert.handleBloggerAPIFault(e, _("Could not post blog entry"), username, blog_id, url) success = FALSE except xmlrpclib.ProtocolError, e: hig_alert.reportError(_("Could not post Blog entry"), _('URL \'%s\' does not seem to be a valid bloggerAPI XML-RPC server. Web server reported: %s.') % (url, hig_alert.italic(e.errmsg))) success = FALSE print ("Success is....") print (success) return success blog = Blog() gnome-blog-0.9.1/protocols/bloggerAPI.py0000664000076500007650000000650210240715776015071 00000000000000import xmlrpclib import gconf import gettext _ = gettext.gettext from gnomeblog import hig_alert from gnomeblog import proxy appkey = "6BF507937414229AEB450AB075001667C8BC8338" class Blog: def __init__(self): pass def _getURL(self, base_url, client, gconf_prefix): url_ending = client.get_string (gconf_prefix + "/url_ending") return base_url + url_ending def getBlogList(self, username, password, base_url, client, gconf_prefix): global appkey url = self._getURL(base_url, client, gconf_prefix) print ("Getting list for RPC interface %s" % (url)) #check for GNOME proxy configurations and use if required proxy_transport = proxy.GnomeProxyTransport(client) server = proxy_transport.get_server(url); try: bloglist = server.blogger.getUsersBlogs(appkey, username, password) except xmlrpclib.Fault, e: hig_alert.handleBloggerAPIFault(e, _("Could not get list of blogs"), username, None, url) return except xmlrpclib.ProtocolError, e: hig_alert.reportError(_("Could not get list of blogs"), _('URL \'%s\' does not seem to be a valid bloggerAPI XML-RPC server. Web server reported: %s.') % (url, hig_alert.italic(e.errmsg))) return if ((bloglist == None) or (len(bloglist) == 0)): # No blogs found! hig_alert.reportError("No Blogs Found", "No errors were reported, but no blogs were found at %s for username %s\n" % ( url, username)) return string_value_pairs = [] for blog in bloglist: string_value_pairs.append((blog["blogName"], blog["blogid"])) return string_value_pairs def postEntry (self, username, password, base_url, title, entry, client, gconf_prefix): global appkey url = self._getURL(base_url, client, gconf_prefix) if (base_url == None): hig_alert.reportError(_("Could not post Blog entry"), _("No XML-RPC server URL to post blog entries to is set, or the value could not be retrieved from GConf. Your entry will remain in the blogger window.")) return False blog_id = client.get_string(gconf_prefix + "/blog_id") if (blog_id == None): blog_id = "" if (username == None): username = "" if (password == None): password = "" content = title + "\n" + entry success = True #check for GNOME proxy configurations and use if required proxy_transport = proxy.GnomeProxyTransport(client) server = proxy_transport.get_server(url); try: server.blogger.newPost(appkey, blog_id, username, password, content, xmlrpclib.True) except xmlrpclib.Fault, e: hig_alert.handleBloggerAPIFault(e, _("Could not post blog entry"), username, blog_id, url) success = False except xmlrpclib.ProtocolError, e: hig_alert.reportError(_("Could not post Blog entry"), _('URL \'%s\' does not seem to be a valid bloggerAPI XML-RPC server. Web server reported: %s.') % (url, hig_alert.italic(e.errmsg))) success = False print ("Success is....") print (success) return success blog = Blog() gnome-blog-0.9.1/protocols/Makefile.am0000664000076500007650000000022507775144616014604 00000000000000NULL= gnomeblogdir = $(pythondir)/gnomeblog gnomeblog_PYTHON = \ bloggerAPI.py \ MetaWeblog.py \ advogato.py \ livejournal.py \ $(NULL) gnome-blog-0.9.1/protocols/Makefile.in0000664000076500007650000002673210446321172014607 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 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@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = .. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ 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 = : subdir = protocols DIST_COMMON = $(gnomeblog_PYTHON) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = 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 = `echo $$p | sed -e 's|^.*/||'`; am__installdirs = "$(DESTDIR)$(gnomeblogdir)" gnomeblogPYTHON_INSTALL = $(INSTALL_DATA) py_compile = $(top_srcdir)/py-compile DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ 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@ GCONFTOOL = @GCONFTOOL@ GCONF_SCHEMAS_INSTALL_FALSE = @GCONF_SCHEMAS_INSTALL_FALSE@ GCONF_SCHEMAS_INSTALL_TRUE = @GCONF_SCHEMAS_INSTALL_TRUE@ GCONF_SCHEMA_CONFIG_SOURCE = @GCONF_SCHEMA_CONFIG_SOURCE@ GCONF_SCHEMA_FILE_DIR = @GCONF_SCHEMA_FILE_DIR@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLLIBS = @INTLLIBS@ INTLTOOL_CAVES_RULE = @INTLTOOL_CAVES_RULE@ INTLTOOL_DESKTOP_RULE = @INTLTOOL_DESKTOP_RULE@ INTLTOOL_DIRECTORY_RULE = @INTLTOOL_DIRECTORY_RULE@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_ICONV = @INTLTOOL_ICONV@ INTLTOOL_KBD_RULE = @INTLTOOL_KBD_RULE@ INTLTOOL_KEYS_RULE = @INTLTOOL_KEYS_RULE@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_MSGFMT = @INTLTOOL_MSGFMT@ INTLTOOL_MSGMERGE = @INTLTOOL_MSGMERGE@ INTLTOOL_OAF_RULE = @INTLTOOL_OAF_RULE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_PONG_RULE = @INTLTOOL_PONG_RULE@ INTLTOOL_PROP_RULE = @INTLTOOL_PROP_RULE@ INTLTOOL_SCHEMAS_RULE = @INTLTOOL_SCHEMAS_RULE@ INTLTOOL_SERVER_RULE = @INTLTOOL_SERVER_RULE@ INTLTOOL_SERVICE_RULE = @INTLTOOL_SERVICE_RULE@ INTLTOOL_SHEET_RULE = @INTLTOOL_SHEET_RULE@ INTLTOOL_SOUNDLIST_RULE = @INTLTOOL_SOUNDLIST_RULE@ INTLTOOL_THEME_RULE = @INTLTOOL_THEME_RULE@ INTLTOOL_UI_RULE = @INTLTOOL_UI_RULE@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_XAM_RULE = @INTLTOOL_XAM_RULE@ INTLTOOL_XGETTEXT = @INTLTOOL_XGETTEXT@ INTLTOOL_XML_NOMERGE_RULE = @INTLTOOL_XML_NOMERGE_RULE@ INTLTOOL_XML_RULE = @INTLTOOL_XML_RULE@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ PYGTK_CFLAGS = @PYGTK_CFLAGS@ PYGTK_LIBS = @PYGTK_LIBS@ PYTHON = @PYTHON@ PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ PYTHON_PLATFORM = @PYTHON_PLATFORM@ PYTHON_PREFIX = @PYTHON_PREFIX@ PYTHON_VERSION = @PYTHON_VERSION@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ ac_ct_CC = @ac_ct_CC@ ac_ct_STRIP = @ac_ct_STRIP@ ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ 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_alias = @build_alias@ datadir = @datadir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pkgpyexecdir = @pkgpyexecdir@ pkgpythondir = @pkgpythondir@ prefix = @prefix@ program_transform_name = @program_transform_name@ pyexecdir = @pyexecdir@ pythondir = @pythondir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ NULL = gnomeblogdir = $(pythondir)/gnomeblog gnomeblog_PYTHON = \ bloggerAPI.py \ MetaWeblog.py \ advogato.py \ livejournal.py \ $(NULL) all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu protocols/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu protocols/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: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh uninstall-info-am: install-gnomeblogPYTHON: $(gnomeblog_PYTHON) @$(NORMAL_INSTALL) test -z "$(gnomeblogdir)" || $(mkdir_p) "$(DESTDIR)$(gnomeblogdir)" @list='$(gnomeblog_PYTHON)'; dlist=''; for p in $$list; do\ if test -f "$$p"; then b=; else b="$(srcdir)/"; fi; \ if test -f $$b$$p; then \ f=$(am__strip_dir) \ dlist="$$dlist $$f"; \ echo " $(gnomeblogPYTHON_INSTALL) '$$b$$p' '$(DESTDIR)$(gnomeblogdir)/$$f'"; \ $(gnomeblogPYTHON_INSTALL) "$$b$$p" "$(DESTDIR)$(gnomeblogdir)/$$f"; \ else :; fi; \ done; \ if test -n "$$dlist"; then \ if test -z "$(DESTDIR)"; then \ PYTHON=$(PYTHON) $(py_compile) --basedir "$(gnomeblogdir)" $$dlist; \ else \ PYTHON=$(PYTHON) $(py_compile) --destdir "$(DESTDIR)" --basedir "$(gnomeblogdir)" $$dlist; \ fi; \ else :; fi uninstall-gnomeblogPYTHON: @$(NORMAL_UNINSTALL) @list='$(gnomeblog_PYTHON)'; dlist=''; for p in $$list; do\ f=$(am__strip_dir) \ rm -f "$(DESTDIR)$(gnomeblogdir)/$$f"; \ rm -f "$(DESTDIR)$(gnomeblogdir)/$${f}c"; \ rm -f "$(DESTDIR)$(gnomeblogdir)/$${f}o"; \ done tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$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 installdirs: for dir in "$(DESTDIR)$(gnomeblogdir)"; 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: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_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-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 info: info-am info-am: install-data-am: install-gnomeblogPYTHON install-exec-am: install-info: install-info-am install-man: 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-gnomeblogPYTHON uninstall-info-am .PHONY: all all-am check check-am clean clean-generic distclean \ distclean-generic distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-exec \ install-exec-am install-gnomeblogPYTHON install-info \ install-info-am install-man install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ pdf-am ps ps-am uninstall uninstall-am \ uninstall-gnomeblogPYTHON uninstall-info-am # 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: gnome-blog-0.9.1/protocols/MetaWeblog.py0000664000076500007650000000575710240715776015157 00000000000000import xmlrpclib import base64 import gconf import gettext _ = gettext.gettext from gnomeblog import hig_alert from gnomeblog import bloggerAPI from gnomeblog import proxy from gnomeblog import blog class Blog(bloggerAPI.Blog): def __init__(self): bloggerAPI.Blog.__init__(self) def postEntry (self, username, password, base_url, title, entry, client, gconf_prefix): url = self._getURL(base_url, client, gconf_prefix) if (base_url == None): hig_alert.reportError("Could not post Blog entry", "No XML-RPC server URL to post blog entries to is set, or the value could not be retrieved from GConf. Your entry will remain in the blogger window.") return False blog_id = client.get_string(gconf_prefix + "/blog_id") success = True #check for GNOME proxy configurations and use if required proxy_transport = proxy.GnomeProxyTransport(client) server = proxy_transport.get_server(url); content = {} content['title'] = title content['description'] = entry try: server.metaWeblog.newPost(blog_id, username, password, content, xmlrpclib.True) except xmlrpclib.Fault, e: hig_alert.handleBloggerAPIFault(e, "Could not post blog entry", username, blog_id, url) success = False except xmlrpclib.ResponseError, e: hig_alert.reportError("Could not post Blog entry", 'Received an invalid response: %s posting to URL %s.' % (hig_alert.italic(e), url)) success = False except xmlrpclib.ProtocolError, e: hig_alert.reportError("Could not post Blog entry", 'URL \'%s\' does not seem to be a valid bloggerAPI XML-RPC server. Web server reported: %s.' % (url, hig_alert.italic(e.errmsg))) success = False return success def uploadImage (self, username, password, base_url, file_name, file_contents, mime_type, client, gconf_prefix): url = self._getURL(base_url, client, gconf_prefix) blog_id = client.get_string(gconf_prefix + "/blog_id") success = True #check for GNOME proxy configurations and use if required proxy_transport = proxy.GnomeProxyTransport(client) server = proxy_transport.get_server(url); content = {} content['name'] = file_name content['type'] = mime_type content['bits'] = base64.encodestring(file_contents) imageurl = None try: imageurl = (server.metaWeblog.newMediaObject(blog_id, username, password, content))['url'] except xmlrpclib.Fault, e: hig_alert.handleBloggerAPIFault(e, "Could not post Image", username, blog_id, url) except xmlrpclib.ProtocolError, e: hig_alert.reportError("Could not post Blog entry", 'URL \'%s\' does not seem to be a valid bloggerAPI XML-RPC server. Web server reported: %s.' % (url, hig_alert.italic(e.errmsg))) return imageurl blog = Blog() gnome-blog-0.9.1/protocols/livejournal.py0000664000076500007650000000400110017517046015430 00000000000000import xmlrpclib import time from gtk import TRUE, FALSE import gettext _ = gettext.gettext from gnomeblog import hig_alert from gnomeblog import gnome_blog_globals from gnomeblog import proxy appkey = "6BF507937414229AEB450AB075001667C8BC8338" ver = 'GNOME-gnome-blog/' + gnome_blog_globals.version class Blog: def __init__(self): pass def postEntry (self, username, password, url, title, entry, client, gconf_prefix): #check for GNOME proxy configurations and use if required proxy_transport = proxy.GnomeProxyTransport(client) server = proxy_transport.get_server(url); info = { 'username': username, 'password': password, 'clientversion': ver } try: cookie = server.LJ.XMLRPC.login(info) except xmlrpclib.Fault, e: hig_alert.reportError(_("Could not post Blog entry"), _("Your username or password is invalid. Please double-check the preferences.")) return FALSE success = TRUE curtime = time.localtime() info = { 'username': username, 'password': password, 'subject': title, 'event': entry, 'lineendings': 'unix', 'year': curtime[0], 'mon': curtime[1], 'day': curtime[2], 'hour': curtime[3], 'min': curtime[4], 'props': { 'opt_preformatted': 1, } } try: server.LJ.XMLRPC.postevent(info) except xmlrpclib.Fault, e: hig_alert.handleBloggerAPIFault(e, _("Could not post blog entry"), username, username, url) success = FALSE except xmlrpclib.ProtocolError, e: hig_alert.reportError(_("Could not post Blog entry"), _('URL \'%s\' does not seem to be a valid LiveJournal XML-RPC server. Web server reported: %s.') % (url, hig_alert.italic(e.errmsg))) success = FALSE print ("Success is....") print (success) return success blog = Blog() gnome-blog-0.9.1/aligned_window.py0000664000076500007650000000616410446073516014065 00000000000000#!/usr/bin/python import gtk import gnomeapplet class AlignedWindow(gtk.Window): def __init__(self, widgetToAlignWith, orient_func): gtk.Window.__init__(self, gtk.WINDOW_TOPLEVEL) self.set_decorated(False) self.widgetToAlignWith = widgetToAlignWith self.get_orient = orient_func def positionWindow(self): # Get our own dimensions & position self.realize() gtk.gdk.flush() ourWidth = (self.window.get_geometry())[2] ourHeight = (self.window.get_geometry())[3] # Skip the taskbar, and the pager, stick and stay on top self.stick() self.set_keep_above(True) self.set_skip_pager_hint(True) self.set_skip_taskbar_hint(True) # Get the dimensions/position of the widgetToAlignWith self.widgetToAlignWith.realize() (x, y) = self.widgetToAlignWith.window.get_origin() (w, h) = self.get_size() (w, h) = self.size_request() button_w = self.widgetToAlignWith.allocation.width button_h = self.widgetToAlignWith.allocation.height screen = self.get_screen() found_monitor = False n = screen.get_n_monitors() for i in range(0, n): monitor = screen.get_monitor_geometry(i) if (x >= monitor.x and x <= monitor.x + monitor.width and \ y >= monitor.y and y <= monitor.y + monitor.height): found_monitor = True break if not found_monitor: monitor = gtk.gdk.Rectangle(0, 0, screen.get_width(), screen.get_width()) orient = self.get_orient() if orient == gnomeapplet.ORIENT_RIGHT: x += button_w if ((y + h) > monitor.y + monitor.height): y -= (y + h) - (monitor.y + monitor.height) if ((y + h) > (monitor.height / 2)): gravity = gtk.gdk.GRAVITY_SOUTH_WEST else: gravity = gtk.gdk.GRAVITY_NORTH_WEST elif orient == gnomeapplet.ORIENT_LEFT: x -= w if ((y + h) > monitor.y + monitor.height): y -= (y + h) - (monitor.y + monitor.height) if ((y + h) > (monitor.height / 2)): gravity = gtk.gdk.GRAVITY_SOUTH_EAST else: gravity = gtk.gdk.GRAVITY_NORTH_EAST elif orient == gnomeapplet.ORIENT_DOWN: y += button_h if ((x + w) > monitor.x + monitor.width): x -= (x + w) - (monitor.x + monitor.width) gravity = gtk.gdk.GRAVITY_NORTH_WEST elif orient == gnomeapplet.ORIENT_UP: y -= h if ((x + w) > monitor.x + monitor.width): x -= (x + w) - (monitor.x + monitor.width) gravity = gtk.gdk.GRAVITY_SOUTH_WEST # -"Coordinates locked in captain." # -"Engage." self.move(x, y) self.set_gravity(gravity) self.show() gnome-blog-0.9.1/py-compile0000755000076500007650000001005610360725552012515 00000000000000#!/bin/sh # py-compile - Compile a Python program scriptversion=2005-05-14.22 # Copyright (C) 2000, 2001, 2003, 2004, 2005 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, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA # 02110-1301, USA. # 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 # . if [ -z "$PYTHON" ]; then PYTHON=python fi basedir= destdir= files= while test $# -ne 0; do case "$1" in --basedir) basedir=$2 if test -z "$basedir"; then echo "$0: Missing argument to --basedir." 1>&2 exit 1 fi shift ;; --destdir) destdir=$2 if test -z "$destdir"; then echo "$0: Missing argument to --destdir." 1>&2 exit 1 fi shift ;; -h|--h*) cat <<\EOF Usage: py-compile [--help] [--version] [--basedir DIR] [--destdir DIR] FILES..." Byte compile some python scripts FILES. Use --destdir to specify any leading directory path to the FILES that you don't want to include in the byte compiled file. Specify --basedir for any additional path information you do want to be shown in the byte compiled file. Example: py-compile --destdir /tmp/pkg-root --basedir /usr/share/test test.py test2.py Report bugs to . EOF exit $? ;; -v|--v*) echo "py-compile $scriptversion" exit $? ;; *) files="$files $1" ;; esac shift done if test -z "$files"; then echo "$0: No files given. Try \`$0 --help' for more information." 1>&2 exit 1 fi # if basedir was given, then it should be prepended to filenames before # byte compilation. if [ -z "$basedir" ]; then pathtrans="path = file" else pathtrans="path = os.path.join('$basedir', file)" fi # if destdir was given, then it needs to be prepended to the filename to # byte compile but not go into the compiled file. if [ -z "$destdir" ]; then filetrans="filepath = path" else filetrans="filepath = os.path.normpath('$destdir' + os.sep + path)" fi $PYTHON -c " import sys, os, string, py_compile files = '''$files''' print 'Byte-compiling python modules...' for file in string.split(files): $pathtrans $filetrans if not os.path.exists(filepath) or not (len(filepath) >= 3 and filepath[-3:] == '.py'): continue print file, sys.stdout.flush() py_compile.compile(filepath, filepath + 'c', path) print" || exit $? # this will fail for python < 1.5, but that doesn't matter ... $PYTHON -O -c " import sys, os, string, py_compile files = '''$files''' print 'Byte-compiling python modules (optimized versions) ...' for file in string.split(files): $pathtrans $filetrans if not os.path.exists(filepath) or not (len(filepath) >= 3 and filepath[-3:] == '.py'): continue print file, sys.stdout.flush() py_compile.compile(filepath, filepath + 'o', path) print" 2>/dev/null || : # 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-end: "$" # End: gnome-blog-0.9.1/gnome-blog.desktop0000664000076500007650000000527110446321216014131 00000000000000[Desktop Entry] Encoding=UTF-8 Name=Blog Entry Poster Name[az]=Qeyd Girişi Göndəricisi Name[bg]=Интерфейс за публикуване в блогове Name[ca]=Envia entrades de bloc Name[cs]=Odesílač položek blogu Name[de]=Blog-Einträge verfassen Name[en_CA]=Blog Entry Poster Name[en_GB]=Blog Entry Poster Name[es]=Publicador de entradas a blogs Name[et]=Blogisissekande postitaja Name[fi]=Blog-merkinnän lähettäjä Name[fr]=Posteur de l'entrée du blog Name[gl]=A persoa que enviou a entrada Name[hu]=Blogbejegyzés-feladó Name[ja]=ブログ・エントリ投稿ツール Name[ms]=Pengepos Kemasukan Blog Name[nb]=Publisering av bloggoppføring Name[ne]=ब्लग प्रविष्ट गर्ने पोस्टर Name[nl]=Blog-aantekeningen plaatsen Name[pt]=Colocador Entrada de Blog Name[pt_BR]=Publicação de Postagens para o Blog Name[sr]=Слање уноса у блогче Name[sr@Latn]=Slanje unosa u blogče Name[sv]=Postare av blogginlägg Name[uk]=Програма надсилання веб-щоденника Name[vi]=Bộ gởi bài vào Nhật ký Mạng Name[zh_CN]=Blog 条目张贴器 Name[zh_TW]=撰寫網誌 Comment=Post an entry to a web log Comment[az]=Veb üstündə tutulan qeydə giriş göndər Comment[bg]=Публикуване в блога Comment[ca]=Envia una entrada a un bloc Comment[cs]=Odeslat položku do web logu Comment[de]=Einträge in einem Web-Log veröffentlichen Comment[en_CA]=Post an entry to a web log Comment[en_GB]=Post an entry to a web log Comment[es]=Publicar una entrada en un weblog Comment[et]=Postita veebilogisse sissekanne Comment[fi]=Lähetä viestisi web-logiin Comment[fr]=Postez une entrée dans un web log Comment[gl]=Publicar unha entrada nun weblog Comment[hu]=Bejegyzés feladása egy webes naplóra (blogra) Comment[ja]=エントリをウェブ・ログへ投稿します Comment[ms]=Pos kemasukan ke log web Comment[ne]=वेव लगमा प्रविष्ट पोस्ट गर्नुहोस् Comment[nl]=Een aantekening plaatsen in een weblog Comment[pt]=Colocar entradas num log web Comment[pt_BR]=Publicar uma postagem em um diário da web Comment[sr]=Пошаљите унос у блогче Comment[sr@Latn]=Pošaljite unos u blogče Comment[sv]=Posta ett inlägg i en webblogg Comment[uk]=Надсилає елемент на веб-журнал Comment[vi]=Gởi bài vào nhật ký Mạng Comment[zh_CN]=记录一个条目到 web blog Comment[zh_TW]=在網誌張貼文章 Exec=gnome-blog-poster Terminal=false Type=Application Icon=gnome-blog.png StartupNotify=true Categories=GNOME;Application;Utility; X-GNOME-Bugzilla-Bugzilla=GNOME X-GNOME-Bugzilla-Product=gnome-blog X-GNOME-Bugzilla-Component=general gnome-blog-0.9.1/gnome-blog.desktop.in0000664000076500007650000000050607730724636014551 00000000000000[Desktop Entry] Encoding=UTF-8 _Name=Blog Entry Poster _Comment=Post an entry to a web log Exec=gnome-blog-poster Terminal=false Type=Application Icon=gnome-blog.png StartupNotify=true Categories=GNOME;Application;Utility; X-GNOME-Bugzilla-Bugzilla=GNOME X-GNOME-Bugzilla-Product=gnome-blog X-GNOME-Bugzilla-Component=general