gmtp-1.3.10/0000755000175000001440000000000012660314456007547 500000000000000gmtp-1.3.10/ChangeLog0000644000175000001440000002702312655605137011250 00000000000000-- v1.3.10 - + Add system to keep device timestamp on downloaded files. * Correct alignment/padding for newer GTK+3 versions. * Correct recursive folder download for some devices that require alternate access mode and don't enumerate folders correctly. -- v1.3.9 - 12 Jan 2015 + Add pt_BR translation -- v1.3.8 - 30 Sep 2014 + Update Alibum Art dialog to display all albums in alphabetical order. -- v1.3.7 - 24 Jul 2014 + Update Italian translation, thank you to Muflone. * Remove query for Secure Time. Most devices no longer support the call, and some devices have been found to crash when running query. * Remove "/web" folder from source distribution. -- v1.3.6 - 10 Mar 2014 + Add Russian Translation -- v1.3.5 - 25 Jan 2014 * Move from CVS to git. (what took so long)? No history was imported into the git repository due unusual artifacts in the CVS repo. The CVS repo will be left for historical records only, but all new development will be done against the git repo. * Change to using autotools for build (replaces custom Makefile). GTK version is now autodetected. (GTK3 will use gsettings, GTK2 will use gconf backends as before). + Update the progress dialog to display friendly sizes instead of sizes in just KB. + Added preference to send all media files via the regular file API. Note: updated gconf/gsettings schema. (Android enhancement). + Set the progress dialog to be reused for each file being transferred. + Fix crash on deleting last playlist on device (GTK3). + Correct intermittent issue with Find operation when using Alternate Access Method and Android devices. -- v1.3.4 - 14 Nov 2012 + Add new preference to ignore album handling errors (Android enhancement). Note: updated gconf/gsettings schema. + Add new preference to use alternate access method for devices (uncached mode and as needed file data). (Android enhancement). This may slow done gMTP as it no longer caches file information and will get file information each time the folder is changed. + Added note for new Slackware version on gMTP home page. * Fix date handling for some devices, ensuring date format is as per MTP v1.0 Specification Section 3.2.5. * Modify GTK3 version to remove some depreciated GTK widgets. (Still have to consider boxes vs grid). * WARNING: gMTP now requires libmtp 1.1.5 or newer due to the alternate access method. -- v1.3.3 - 15 Jun 2012 * Correct handling of delete and download operation when '..' folder is selected. -- v1.3.2 - 14 Jun 2012 * Correct Makefile to fix when building with GTK+-3.4. (Missing gthread-2.0 from pkg-config). * Reworked pkg-config handling to respect $(PKG_CONFIG) in Makefile. (Thank you Mike Frysinger for pointing this out, and supplying a patch). * Add additional error checking on connection of new devices, to hopefully avoid seg-fault with some very problematic devices. (Ubuntu Bug #917314, #948621, #968798, #995503) * Fix issue with some Android 3.2 implementations and GetStorage() MTP API function. (Uses cached information, rather than full item rescan in some instances). (Debian bug #667795 - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=667795 ) * Correct German Translations. (Something went wrong in saving the file, and was changed from being recognised as UTF-8 to being recognised as ASCII - My apologies). (Debian bug #672298 - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=672298) * Fix FLAC file handling. (Bug only showed up in Gentoo Linux for some reason)? (Thank you Martin Benirschka for helping troubleshoot this one). -- v1.3.1 - 20 Feb 2012 * Change default to ask for Download folder upon initial installation. * Fix folder view on devices with multiple storage pools (Android enhancement). * Change album metadata update error only once during file upload session. (Android enhancement). -- v1.3.0 - 25 Dec 2011 + Added folder name to title bar as per Gnome 2.0 HIG Section 2.1. + Added search toolbar for searching for files/tracks/folders on the device. + Added add to playlist and remove from playlist options in context menu. + Added column selection context menu. + Added folder view to main window pane. (updated gconf/gsetting schema). + Extended drag'n'drop support to include folder view. ie, drag files/folders from Nautilus onto a folder in the folder view, and upload to that particular folder. + Added support for Solaris 11. + Updated German translation - thanks to Laurenz Kamp. + Added a few keyboard shortcuts. + Added Select All function. * Fix javascript issue on website (duplicate function name with an imported JS library). * Fix mp3 track length calculation on "MPEG2 - Layer 3" files. (All others were correct). * Fix 'doesn't prompt for download path on doubleclick when prompt for download path option enabled'. * Fix non-display of default image art if album has no album art attached, in cases when album representative data is found, but is not valid image data. * Fix WM_CLASS for Gnome 3 environments. * Fix Properties dialog with GTK 3.2+. * Fix a few very minor compiler warnings. * Using GTK About Dialog on supported platforms. * SYSV Solaris package is now for Solaris 11. -- v1.2.0 - 4 Aug 2011 + Added ability to download entire folder tree in one operation. + Added import and export of playlists in m3u format. (updated gconf/gsetting schema). * Disallowed upload of *.PLA or *.ALB files as these map directly to Playlists and Album metadata pointers on the device. (Allowing this may result in corrupt metadata on the device). * New website design... (hope you like it). -- v1.1.0 - 5 Jul 2011 * Fix Solaris SYSV Package (fix missing image files). * Fix potential double-free memory error in mtp.c. reported here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=632454 * Fixed filename when downloading files from device to PC. (Bug introduced in v1.0.0). + Added automatic add new track to playlist option. (updated gconf/gsetting schema). -- v1.0.1 - 27 Jun 2011 * Fix application icon size with Window Maker. + Added Format Device Option. - General code cleanup. -- v1.0.0 - 18 Jun 2011 * Fix compile issues with GTK3 based systems. * Fix segfault if user closes progress dialog mid-transfer. * Added TEXT file type detection. + Add Cancel button to stop download/upload of files. (Needed for GNOME3 (gnome-shell)). + In Album Art Dialog, show current Album Art File if present. + In Album Art Dialog, allow removal or download of Album Art. + Rework Album Art Dialog to improve workflow. + Added ability to rename files/folders on the device. + Added icons within file view. + Updated Properties Window layout to better suit smaller screens. -- v0.9.1 - 28 Apr 2011 * Fix "File continues to be uploaded, even if cancelling the upload" bug, reported here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=624117 -- v0.9 - 18 Feb 2011 + Add experimental GNOME 3.0 support. Use 'gmake gtk3' to build using GTK3 and GSettings instead of GTK2 and GConf. * Fix some minor memleaks in mtp.c * Add in check for album name only when looking for an album when updating album info. -- v0.8.1 - 25 Jan 2011 * Update Italian Translation - thanks to Francesca Ciceri ! * Modify Makefile for separate GConf schema installation. -- v0.8 -23 Jan 2011 + Licence change from CDDL to BSD. Updated all source files to include licence notice. + Added basic playlist support. + "make install" no longer installation documentation, use "make install-doc" instead. (As requested for inclusion in some Linux distributions). + Multilingual support in UI - currently English, French, German, Spanish, Italian and Danish Translations. + Add in additional columns in main view to show audio file information. Columns shown can be selected using the 'View' menu. + Updated gconf schema file. * Restructured directory setup for source code. * Fixed Makefile build option for some Linux systems that use "--as-needed" flag. * Changed extension of GConf schema file to be inline with GConf documentation. * Fixed possible buffer overflow in WMA metatag code. (This would be result of malformed header object fields). * Ensured all errors to console are displayed to stderr. * Fixed track length metadata for all file audio file types. * Fixed sorting of columns for filename, so that folders are always first/last. -- v0.7 - 25 Nov 2010 + Added FLAC metadata support (required FLAC 1.2+) + Added OggVorbis metadata support (requires vorbis 1.0.1+) + Added WMA metadata support. * Fixed missing header in mtp.c for some Linux distro's (string.h). * Made application and file paths all lower case inline with freedesktop guidelines. * Changed *.desktop file inline with freedesktop guidelines. * Fixed NULL pointer fault with MP3's that have no TRACKNUMBER tag. -- v0.6 - 23 Jun 2010 + Added abilty to Drag'n'Drop in Folders and have them upload entire folder structure. * Fixed compliation issue on Linux based systems. * Updated gconf handling. * Fixed gconf schema installation. (You need to logout and login on Solaris 10 for the schema to be made available to the application after installation). -- v0.5 - 1 Jun 2010 + Added Tooltips to toolbar buttons. * Made default window size now 760px to handle JDS default DPI setting of 96. -- v0.4 - 12 Jan 2010 + Added right click interace on the main file display area. + Added check to see if we are about to overwrite a file on the devices filesystem, and prompt user to overwrite file? + Added support for Albums and Album Art. (Albums are created automatically, while art is uploaded by user). * Fixed if no lines selected, then display info box to user indicating this on file delete, file download and folder delete operation. (Rather than asking the user to confirm operation on selection and then not doing anything). * Cleaned up the find_filetype() function. * Fixed column sorting for file size column. * Fixed reading MP3 ID3 Tags in relation to the artist. (Now scan all 5 fields that the artist can live in, rather than just the one it should be in). -- v0.3 - 8 Jan 2010 + gMTP is now relocatable within a filesytem. At startup, it will look at the command used to invoke it, and if an absolute path was used, it will find it's image data from that otherwise will attempt to find itself in the filesystem using the %PATH variable. Just make sure that you copy "../share/gMTP/*" to be relative to the binary if moved, otherwise no pretty icons. You can override any file paths with --datapath option at the CLI. (This was done to allow the SYSV and IPS packages to be relocatable). See main.c (last 2 functions) to see how this is done. If you know a better way that works everywhere, please let me know. + Added check to see if we are about to overwrite a file on the hosts filesystem, and prompt user to overwrite file? + Added Drag'n'Drop interface (well only drop into gMTP at this time). * Changed Toolbar button for connect device description. * Fixed process when uploading mp3 to a device to include file metadata as well. eg Artist, Album, Track, etc. (requires libid3tag). -- v0.2 - 30 Dec 2009 + Added new menu items to mimic toolbar options, eg file upload, file download, etc. + Added ability to add and remove folders. + Added confirm delete file/folder option when removing files/folder from device. + Added ability to change device name. + Added in icon for application. + Added in SYSV pkg creation in Makefile. + Added support for multiple device detection and storage device detection, and selection of device during connection. + Updated schema for gconf for new options (confirm remove of file/folders). + Updated About Dialog Box. -- v0.1 - 16 Dec 2009 + Initial version for public. Only does basic items such as upload, download and remove files. gmtp-1.3.10/INSTALL0000644000175000001440000000316012655605137010523 00000000000000gMTP 1.3.10 - a basic MTP GUI client. Requirements: ------------- gtk+2.0 v2.4+ OR gtk+3.0 (for GNOME 3.0). Gconf-2.0 OR GSettings (for GNOME 3.0). libmtp libid3tag libflac (FLAC) v1.2+ libvorbis v1.0.1+ Installation. ------------- gMTP build can auto-detect the version of GTK to use, and build appropriately. Typically, a user can: $ ./configure $ make # make install And gMTP will be installed into /usr/local/ To manually select the GTK version to build with, the following ./configure options are available: --with-gtk2 - Build with GTK2 and gconf --with-gtk3 - Build with GTK3 and gsettings To override installation location, use the --prefix option, and compiler selection may be made using environment variables as passed to ./configure. eg. to use Solaris Studio on Solaris 11, (and as long as the compiler is in our path) $ CC=cc ./configure On all systems, the application should build using the native version of Make, (There should be no requirement on GNU Make, but if the build fails, please trying using GNU Make to build, and let me know what systems fail using the default make installation). Note: Solaris 10 does not ship with a PKGCONFIG file for libusb. One can be found in this package in the 'misc' directory. Note: libid3tag does not provide a PKGCONFIG file. One can be found in this package in the 'misc' directory. Known to compile with: gcc v3.4.3 gcc v4.2.1 gcc v4.5.0 gcc v4.5.2 gcc v4.6.2 Sun Studio 12u1 Oracle Studio 12.2 Oracle Studio 12.3 clang 3.1 Known to work on: Solaris 10 u8 and Solaris 10 u9 Solaris 11 11/11 OpenSolaris 2009.06 Arch Linux Ubuntu 10.04 Debian Sid Gentoo Linux FreeBSD 8.1 gmtp-1.3.10/postinstall0000644000175000001440000000014312655605137011767 00000000000000#!/bin/bash /usr/bin/gconftool-2 --install-schema-file=/usr/local/share/gconf/schemas/gmtp.schemas gmtp-1.3.10/config.h.in0000644000175000001440000001027512655605167011525 00000000000000/* config.h.in. Generated from configure.ac by autoheader. */ /* Define to 1 if translation of program messages to the user's native language is requested. */ #undef ENABLE_NLS /* GCONF Schema */ #undef GMTP_GSETTINGS_SCHEMA /* Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the CoreFoundation framework. */ #undef HAVE_CFLOCALECOPYCURRENT /* Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in the CoreFoundation framework. */ #undef HAVE_CFPREFERENCESCOPYAPPVALUE /* Define if the GNU dcgettext() function is already present or preinstalled. */ #undef HAVE_DCGETTEXT /* Define if the GNU gettext() function is already present or preinstalled. */ #undef HAVE_GETTEXT /* Define if using GTK+3 */ #undef HAVE_GTK3 /* Define if you have the iconv() function. */ #undef HAVE_ICONV /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H /* Define to 1 if you have the header file. */ #undef HAVE_LIBGEN_H /* Define to 1 if you have the header file. */ #undef HAVE_LIBINTL_H /* 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 `mkdir' function. */ #undef HAVE_MKDIR /* 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 `strchr' function. */ #undef HAVE_STRCHR /* 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 /* Define to the address where bug reports for this package should be sent. */ #undef PACKAGE_BUGREPORT /* Define to the full name of this package. */ #undef PACKAGE_NAME /* Define to the full name and version of this package. */ #undef PACKAGE_STRING /* Define to the one symbol short name of this package. */ #undef PACKAGE_TARNAME /* Define to the home page for this package. */ #undef PACKAGE_URL /* Define to the version of this package. */ #undef PACKAGE_VERSION /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS /* Set POSIX Level */ #undef _POSIX_C_SOURCE /* Ensure libraries are C99 */ #undef _STDC_C99 /* Define for Solaris 2.5.1 so the uint32_t typedef from , , or is not used. If the typedef were allowed, the #define below would cause a syntax error. */ #undef _UINT32_T /* Define for Solaris 2.5.1 so the uint64_t typedef from , , or is not used. If the typedef were allowed, the #define below would cause a syntax error. */ #undef _UINT64_T /* Define for Solaris 2.5.1 so the uint8_t typedef from , , or is not used. If the typedef were allowed, the #define below would cause a syntax error. */ #undef _UINT8_T /* Set XOPEN Source Level */ #undef _XOPEN_SOURCE /* Define to the type of a signed integer type of width exactly 32 bits if such a type exists and the standard includes do not define it. */ #undef int32_t /* Define to the type of a signed integer type of width exactly 64 bits if such a type exists and the standard includes do not define it. */ #undef int64_t /* Define to the type of an unsigned integer type of width exactly 16 bits if such a type exists and the standard includes do not define it. */ #undef uint16_t /* Define to the type of an unsigned integer type of width exactly 32 bits if such a type exists and the standard includes do not define it. */ #undef uint32_t /* Define to the type of an unsigned integer type of width exactly 64 bits if such a type exists and the standard includes do not define it. */ #undef uint64_t /* Define to the type of an unsigned integer type of width exactly 8 bits if such a type exists and the standard includes do not define it. */ #undef uint8_t gmtp-1.3.10/pkginfo0000644000175000001440000000046412655605137011056 00000000000000CLASSES=none BASEDIR=/usr/local TZ=PST PATH=/sbin:/usr/sbin:/usr/bin:/usr/sadm/install/bin PKG=gmtp NAME=gMTP - A Simple MTP Client for Solaris VERSION=1.3.10 CATEGORY=application DESC=gMTP - A Simple MTP Client for Solaris VENDOR=Darran Kartaschew EMAIL=chewy509@mailcity.com PKGSAV=/var/sadm/pkg/gMTP/save gmtp-1.3.10/COPYING0000644000175000001440000000306612655605137010532 00000000000000 gMTP License ------------ Copyright (C) 2009-2016, Darran Kartaschew. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of "gMTP Development Team" nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. gmtp-1.3.10/images/0000775000175000001440000000000012660313600011004 500000000000000gmtp-1.3.10/images/stock-about-16.png0000644000175000001440000000050012655605137014117 00000000000000PNG  IHDRabKGDIDATxݓNAݸ0[ AYBԉT$[z ֊@ea A2ս6ݛ;73=9lT! oK7_,tmڏ[9|_O.m~{-bq^mlF+`:q:Z%kH gƨrxl_J<HSqzHD ?Xh0[h6+׵0A2} F_W~J,U6sIENDB`gmtp-1.3.10/images/logo.png0000644000175000001440000003364212655605137012415 00000000000000PNG  IHDR>abKGDtIME   / IDATxy%W}o|g֒/ $v `c>bǞcO7#g趙h|l`f7YLI@T*Ts̪|"qeTU9{/7"]t.EH"]t.EH"]΁zRQﯸvκ;x tOD6KN?3r{nۺ7/J%|G)=J) *)+BqWRzx~TN((PR_/JIT(RJHYFAZ9V?6]3Bp?2|)%(3y@as>0(}^3W`٤T0P !N'NUZotj|Svoz>J*X(v_#1䕅a>*RaK!4/Su^-(i `+  ڍ_Q-C<ˮ֑DR3=|{:fĹ@)E2H~OdOj!Bx[ ;yM \sUN)ČwU+ìW3)F╈H}5*a$:+αXC {EOO;^;#Z(J=oEi !-`]_RiIaԾ/_2שX(Tt`*WV9T /^;#ʜ1D:NݷϘl,4:<7FȺSf 61Y w>i " $Hf~mZ7bz暩khp(7#a#FTy'K=P46!@I)cD 1<_fX+q?d+̶ҏs. ai5=9JT4"w#3&܏f(|t9i.'5'*|F$_3 (hjpV𘩷9xI;>vAlDU @y>|| g-SIaEa36@D @j-%N5ovL'̠L˜ ^\.P4W/t0>H{ [ YA $4ǭ8bˤy=-qH(5 vSnu2o[XO_޽ HD UwwZCAM2Jv&sF5Mk:[h[f%WX2$Z@伖lЍ ˝*m K<" (D26@EivhM@Kt9@|6ou Jzڅ.-`9kQ< 6PߓW@Zo3D0eNg:ϋ}j 1㕗&g| %!RppWt < UP?@K=+qȤ%8yG g4V3t7q$ N#-#tQ8i8l9@IIݾh\3cٌ@O֮IHhKzVHPqp13:h?az9.BTq߀สn_4+Q\~oEZA-K< H%bPMi[GOYw0a&yp3 "6gZl0; p:%0%ڧ5pqŎoG|/B_4Y+&&.dA7m ߍזԢd)acr(i[{I>f~]&g4MbĴ`@~$^ZɎﭠ浶hK|a%۱h~.a4-ϸ&K@08lo]ArKxnQIfp O/I$hMZ2Ξi(žs4p`miBb3A\'.)`si *uֶYկ0Ԓ.TJ#$9dI.Q=z| Z`m@I9 RTzps-l^|/ǔ.G& YƮp#ĮXXsh6Q,u>iMu60mL^0.@lsBVLTHE=0X{A T /U ݵUAsD ػM:vڑIpWҟZ4盁YNJ?Vv?J%Ƭ=?H}Mk& cfJR%9|n+JD(1Zxgu0e~uJ`fcag4W5 L>BX0"1v0z%p-AKN0jw]#9aLrwނxҚ1IL@=Htb5"N馎cJD.>V!}lZ K(%gn&㦃mܬ-ݬ)cP玱J!+7)c \tS7o}!C@%ủ8V "LHwnf˜ %Q-\Rbt J+b-Bb0USaƭM9N= iZd֥B)NTl#^iWseW*wG)05HgT/:RJbY_I4!KZV'޵^;˝Xb VC0>KRF`5]5NH򃒊Pc GJp)(Wc`yŹ ZMf$7 BzZJfHFqp|_Yj I_f0)|`4 W!of̻+_]M7BV7 t2_uAkq; Db?~?x A%鄡 V':ӷglrƫR*(` Y 5 (J7ڦc˨5.ƛ%3IӅ3kʍ&S'%xBkꁢ$]r?=f?Ltίb ̹:~.t=pmeO$OԀal'i AiGV\@tE+ H3.$ 49 6Z׿tտ\qL[ۢsb&p5r~vt IIgٷnإ?fVw%<-_<2S0yLJh.XH(ɆMzvrcf'i#Xi]i8Y%`@UmVF/i($M?L4 X@ 2 .o'pJBH q$Z-.l:CˇX+$VK"a}DWLq ]l ЎsɠRͩ.poi`9ӏ $:|m@'T$i淣0$ $`o+fNB%0uL6| `#lePL>c7-2JFP.KE}sZ5 p}.;cUnװRΕd>)y~@0y:h AkSAbRߴw)|}M"Q{RК,g2󍪏T;]EZ' AtBJj%B7Ꝿ? ZX]+zOb;@ ~ť2j)M?њ@@%M$VTcIjjh5[M :,N0ҙ|@XP(; |`InC)eAFJԺ!] AkU }}ח8\ E癞VS맷unu{UKy%"{)YTh5ꌏoKvQ,r ^nJZرcL?FR@m,ULe~0B86_ƞl,:wn'"R@&)O||+_ZO,!۷og>|'O2ac~au~/.h<ȼ8`]9m 367i}K># C CNOG?O\0 ^6vmo{[j-5Jr\.?>55(?珝muTY#=;BRn):u:VQq`l7a%ĀW\ 4Mn("JARJfffɍ4TJRi.~>"2r^.4R/U\t;oAk JT*e;_" ht˞3JFN'&saEGLjfrWcm |gdd^Fr333{OkF*0u{èBH;B|O)WpMeKs4?Ǎ:z|/CUQVQ׿ }cЮ'TO%W݀0X'xbs||[ߟŕ\.E??s^я:66v熍Loo2f|ߧ\P(|Ζ!sɞ'la=/цRSsvm)=M~ze[288ȩS8qbborfgKYWK/<(o]z_~PJ1==g?YOVC=;yGy׿l/g9ȦM(!/BrBT+.:JAtDO٤M~HIGĩ1fr92ϐfd3f}} "O"EWrerQCxl>/;yH)rO 8; o|WJQT;Ї><kчĉIٱc;W^uOZ޽{d2|Az{{o?aKV.j0De;"?/[L&͒1f 3FcO6@g»P#Soqr\|>OEt#Č7N".:Ύ}zs9oկ~?Jq P \)AW)E~2Z|JEwfnլ|G61fd}L|'*8mݺ08QH!0 Cc+]|NOO|+ I)y'_}{﹏uFٱs 4s=d-߰Y9Ft~̾'i8##z0GO?MoooZ]<2bƍJZ%J3L׉gԾ$߷o~&K6f!O nhM=û^LX qر8g\'Z$UfKsCCCqHКM`YR cGPٱc;l!>37O%.O ]-=|<#h4Bp嗑꯼+RgeDaD$%$I{N0Bʈ[6Cj4Lu3zqCL8Y($tZD?d2xվI??!plR[B=/yrk@\fKvGFF_X`箝ܵ6/URFaTP޼Wzj뮻gffo禧p*GV-[PJya/|O C=/{A|k==c{B'֒9~ 7蜀B$K[Rt:}#zp˳{Ʊc~sB@ /|G}KMuR:'/@-NW勄A@WRl߱_j"@\=& B;;RG?ގR׾}Ǚѩ)ѵ^Gyhhϳ9~o;΃{333z\~~ocjj; R={.7q$_o {Fo&&!yfW&(}G4z8)%o}7n8IDATh4j5xeԮ%uvr9fme Y?Bk03)@ *yȐޑ<\1B)j/,TYI:Jy8pQQ~T^Xx>:==}LMMn'**Bn_TeM<>:@oźuxLMNi87z .[Tf_!<ǹ桇iP2B6k&yZ,3IH U_Y+D"h'~=_N@EQ$919 zͤ#d?vd}_!(dtd7rľ}.rGA۔R}&<=+{}Ew£ZR,2h ZF!'vBI|d$鴃\ԉ{I@϶!Ge~~Y7=&!=o Ir f@h{"̳=x2=,!#G␮9H jߴ/*"Nfhp__f8ك}MA/(əpmeƣ(صLk^k1::0 `jj߸\.){/ȑc/,0:6J6srvj۹FPaƂfb`Ϗ::L_~@Wh5h=_ l[C+ͺ8)ēORVMHIdӾ 샪6[^u+y7h48pVPvѳz}2GQDQ!C2릍=jk8O ~4M -gn 5)0'a@<3T*>X.RJvؽs' 277'&&1?-[ι2BD*RxQn0ku{5Ogd|0bKy_ƩS߻W|WsvfN_VyWѬ7xXRGtiGfpp0u?zĶkh>,`|I',ӌI<<$ O;B h03= 7"cq4E!CC+jTX+ ZmRy~qL@QRS,d8qdK3݁vASE]IbPwc&ZE|lS(q$V7jVlߺj,,,O"uSF̝:4!Y0雐6MlY?$rx_ bHO1-xr͝ZiFs7qzF9ai4޽kuFLOR^l<%w248H$ 4M)ozkaZrL٤f?q] #)+躀il!$!'ǎgbbB;`~{>Nw17WѣGw/R.Y\\V:oP̝N$;ML)E?w:e?Gg /?p!==):OHۛ>W-PP, $\.'GN" 肠 Z4 |s}ي֏⽟R9L__R(ff%"FP|~-(E~P A{&ZQ(ó+Ҏ*$RRT0"^ṁ0ԦW)EEW<~Y6lߺuE)yϏ|7 qҤR1<4OTQ3nsf"a299'f| 0 $NJtdsxn$Cm_@6&R.3??333vF  NlAvw Ț [gO;JgEpR*pj$^s%r{S@d^uM<;4B:>Αckw(J P.ffYFGRWCb@Vyy !eyOU5f 2"}2z"roF\F OZx /"; y; Zn{cB г/ l8$J`5 =s:wnxŮ\.w@XZZ$GOj%}h ÐY(y@J*0`~'u0}sBfE"ɛ]q%N8 zGQ&LIؤ˫&w ?ř}}L|.4(J?}V ~rȖF?zNkJ}JA~|=,ˌ嘛gedhFI;0MqW7?Kz K|s;q cT(r+nF-Q1 "Fqǒ2Ձ!7mBI)['iBwtM5z,-.A~p4B?ή]ݻu088uӏ0c-TDJhZDX K]mΔ"/ɠܾ}U1n-\fTAoBRj-iGBRB0\ѱul߱a(":LMMNU+Iɥ^FV#NM{'|(LOH.chhjݲe ׯP(,[8~8GgnSW%~:!`sc< @|>w 6"HN,-TPT "BR/===(EA0}b>бJٻuHzvEFjB&cK"XQ2<<CCCz"H33G֎]ӧ9}Z)t2vjjv%|\>x>z%\kR$y"~n]%I _S9f_[*}xXP3m(4}~^vKRFy(=t[F,*\ Qq; Ty`<|B ̷].۲S*_9 9̏n5'9psssx\B>qtR$[6'&VrR 010mN^ h {1~WXz-\s>-_- cŞ顷l6h!b l p4} (i Bt1+Ş&NzP7kwnЏ/uhVL_/dA @I0^eE$Gs4f~7> ؐt58<3AyC1?g:J4SC48%$1>F:EL&Ng2Z7nDc@~N amVs/ ? O2VV5Dp͆D'vd'2\1q# д *fH=*FzyIkh ;9#Z+y,{7vOY# 󻁐iOhߋ]iTJa gH"eREw<;,@(zy9rbC?k \U:{˵@1b>vSxW{_Y?_ F7~3 ^|;ygq)ȣWYeX =vxA} (YK+3ߚ𳜯h+wP9 ZI4KγnϜ4\fBLΒfpSHf|xєH 5Xr…5.Y0pn͖] i$* 9J! Misսx]KDE$l KHoeXlEtn[ $W]\h D?mvRwXw.KK#<IENDB`gmtp-1.3.10/images/audio-x-mp3-playlist.png0000644000175000001440000000114212655605137015345 00000000000000PNG  IHDRasBIT|d pHYs B(xtEXtSoftwarewww.inkscape.org<IDAT8kAǿNM 5v%'؋^`"AOD xJ5-T؍`n&ȧ{X4Wß¶kZ\Bܶ?}cJ\_tZoճXFRfNPT5a3fyf˖z(ۈ9031ZiH_Hq$D)qDA5$Q㌣!>bݕ]Nk 8xt:3@&I-h Mg z{g_ Y >0ŝX %DQD[̌WX쎃qV@!Jp\&xrsKF N17SL!Ta03fK. ED&' r'h[J)x!Ěq-7 KblzX&t ET:IENDB`gmtp-1.3.10/images/Makefile0000644000175000001440000004172012660313600012366 00000000000000# Makefile.in generated by automake 1.15 from Makefile.am. # images/Makefile. Generated from Makefile.in by configure. # Copyright (C) 1994-2014 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. # Application icons am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/gmtp pkgincludedir = $(includedir)/gmtp pkglibdir = $(libdir)/gmtp pkglibexecdir = $(libexecdir)/gmtp am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = x86_64-unknown-linux-gnu host_triplet = x86_64-unknown-linux-gnu subdir = images ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/lib-ld.m4 \ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ $(top_srcdir)/m4/m4_ax_check_compile_flag.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \ $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_$(V)) am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY)) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_$(V)) am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_$(V)) am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(gmtpdir)" "$(DESTDIR)$(icondir)" DATA = $(gmtp_DATA) $(icon_DATA) am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = ${SHELL} /home/darran/Projects/gmtp-code/config/missing aclocal-1.15 AMTAR = $${TAR-tar} AM_DEFAULT_VERBOSITY = 1 ARCH = host_cpu AUTOCONF = ${SHELL} /home/darran/Projects/gmtp-code/config/missing autoconf AUTOHEADER = ${SHELL} /home/darran/Projects/gmtp-code/config/missing autoheader AUTOMAKE = ${SHELL} /home/darran/Projects/gmtp-code/config/missing automake-1.15 AWK = gawk CC = gcc CCDEPMODE = depmode=gcc3 CFLAGS = -g3 -O0 -Wall -Wextra -Wpedantic CPP = gcc -E CPPFLAGS = CYGPATH_W = echo DEFS = -DHAVE_CONFIG_H DEPDIR = .deps ECHO_C = ECHO_N = -n ECHO_T = EGREP = /usr/bin/grep -E EXEEXT = FLAC_CFLAGS = FLAC_LIBS = -lFLAC GCONFTOOL = GCONF_CFLAGS = GCONF_LIBS = GCONF_SCHEMA_CONFIG_SOURCE = GCONF_SCHEMA_FILE_DIR = GIO_CFLAGS = -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include GIO_LIBS = -lgio-2.0 -lgobject-2.0 -lglib-2.0 GLIB_COMPILE_SCHEMAS = glib-compile-schemas GMSGFMT = /usr/bin/msgfmt GMSGFMT_015 = /usr/bin/msgfmt GREP = /usr/bin/grep GSETTINGS_DISABLE_SCHEMAS_COMPILE = GTHREAD_CFLAGS = -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include GTHREAD_LIBS = -lgthread-2.0 -pthread -lglib-2.0 GTK2_CFLAGS = GTK2_LIBS = GTK3_CFLAGS = -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include GTK3_LIBS = -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 ID3TAG_CFLAGS = ID3TAG_LIBS = -lid3tag -lz INSTALL = /usr/bin/install -c INSTALL_DATA = ${INSTALL} -m 644 INSTALL_PROGRAM = ${INSTALL} INSTALL_SCRIPT = ${INSTALL} INSTALL_STRIP_PROGRAM = $(install_sh) -c -s INTLLIBS = INTL_MACOSX_LIBS = LDFLAGS = LIBICONV = -liconv LIBINTL = LIBMTP_CFLAGS = -I/usr/include/libusb-1.0 LIBMTP_LIBS = -lmtp LIBOBJS = LIBS = LN_S = ln -s LTLIBICONV = -liconv LTLIBINTL = LTLIBOBJS = MAKEINFO = ${SHELL} /home/darran/Projects/gmtp-code/config/missing makeinfo MKDIR_P = /usr/bin/mkdir -p MSGFMT = /usr/bin/msgfmt MSGFMT_015 = /usr/bin/msgfmt MSGMERGE = /usr/bin/msgmerge OBJEXT = o PACKAGE = gmtp PACKAGE_BUGREPORT = chewy509@mailcity.com PACKAGE_NAME = gmtp PACKAGE_STRING = gmtp 1.3.10 PACKAGE_TARNAME = gmtp PACKAGE_URL = PACKAGE_VERSION = 1.3.10 PATH_SEPARATOR = : PKG_CONFIG = /usr/bin/pkg-config PKG_CONFIG_LIBDIR = PKG_CONFIG_PATH = POSUB = po SET_MAKE = SHELL = /bin/sh STRIP = USE_NLS = yes VERSION = 1.3.10 VORBISFILE_CFLAGS = VORBISFILE_LIBS = -lvorbisfile XGETTEXT = /usr/bin/xgettext XGETTEXT_015 = /usr/bin/xgettext abs_builddir = /home/darran/Projects/gmtp-code/images abs_srcdir = /home/darran/Projects/gmtp-code/images abs_top_builddir = /home/darran/Projects/gmtp-code abs_top_srcdir = /home/darran/Projects/gmtp-code ac_ct_CC = gcc am__include = include am__leading_dot = . am__quote = am__tar = $${TAR-tar} chof - "$$tardir" am__untar = $${TAR-tar} xf - bindir = ${exec_prefix}/bin build = x86_64-unknown-linux-gnu build_alias = build_cpu = x86_64 build_os = linux-gnu build_vendor = unknown builddir = . datadir = ${datarootdir} datarootdir = ${prefix}/share docdir = ${datarootdir}/doc/${PACKAGE_TARNAME} dvidir = ${docdir} exec_prefix = ${prefix} gsettingsschemadir = ${datarootdir}/glib-2.0/schemas host = x86_64-unknown-linux-gnu host_alias = host_cpu = x86_64 host_os = linux-gnu host_vendor = unknown htmldir = ${docdir} includedir = ${prefix}/include infodir = ${datarootdir}/info install_sh = ${SHELL} /home/darran/Projects/gmtp-code/config/install-sh libdir = ${exec_prefix}/lib libexecdir = ${exec_prefix}/libexec localedir = ${datarootdir}/locale localstatedir = ${prefix}/var mandir = ${datarootdir}/man mkdir_p = /usr/bin/mkdir -p oldincludedir = /usr/include pdfdir = ${docdir} prefix = /usr/local program_transform_name = s,x,x, psdir = ${docdir} sbindir = ${exec_prefix}/sbin sharedstatedir = ${prefix}/com srcdir = . sysconfdir = ${prefix}/etc target_alias = top_build_prefix = ../ top_builddir = .. top_srcdir = .. gmtpdir = $(datadir)/gmtp gmtp_DATA = \ audio-x-mp3-playlist.png \ audio-x-mpeg.png \ empty.png \ folder.png \ gmtpicon.png \ icon-16.png \ image-x-generic.png \ logo.png \ media-cdrom-audio.png \ stock-about-16.png \ text-plain.png \ video-x-generic.png \ view-refresh.png #Desktop shortcut icon. icondir = $(datadir)/pixmaps icon_DATA = \ gmtpicon.png EXTRA_DIST = \ audio-x-mp3-playlist.png \ audio-x-mpeg.png \ empty.png \ folder.png \ gmtpicon.png \ icon-16.png \ image-x-generic.png \ logo.png \ media-cdrom-audio.png \ stock-about-16.png \ text-plain.png \ video-x-generic.png \ view-refresh.png all: all-am .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign images/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign images/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-gmtpDATA: $(gmtp_DATA) @$(NORMAL_INSTALL) @list='$(gmtp_DATA)'; test -n "$(gmtpdir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(gmtpdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(gmtpdir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(gmtpdir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(gmtpdir)" || exit $$?; \ done uninstall-gmtpDATA: @$(NORMAL_UNINSTALL) @list='$(gmtp_DATA)'; test -n "$(gmtpdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(gmtpdir)'; $(am__uninstall_files_from_dir) install-iconDATA: $(icon_DATA) @$(NORMAL_INSTALL) @list='$(icon_DATA)'; test -n "$(icondir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(icondir)'"; \ $(MKDIR_P) "$(DESTDIR)$(icondir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(icondir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(icondir)" || exit $$?; \ done uninstall-iconDATA: @$(NORMAL_UNINSTALL) @list='$(icon_DATA)'; test -n "$(icondir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(icondir)'; $(am__uninstall_files_from_dir) tags TAGS: ctags CTAGS: cscope cscopelist: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(DATA) installdirs: for dir in "$(DESTDIR)$(gmtpdir)" "$(DESTDIR)$(icondir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-gmtpDATA install-iconDATA install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-gmtpDATA uninstall-iconDATA .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic cscopelist-am \ ctags-am distclean distclean-generic distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-gmtpDATA install-html install-html-am \ install-iconDATA install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic pdf pdf-am ps ps-am tags-am uninstall \ uninstall-am uninstall-gmtpDATA uninstall-iconDATA .PRECIOUS: Makefile # 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: gmtp-1.3.10/images/image-x-generic.png0000644000175000001440000000123712655605137014411 00000000000000PNG  IHDRasBIT|d pHYs B(xtEXtSoftwarewww.inkscape.org<IDAT8MNSan/p QӠ!:e7"Ld N@H#Z~`w~#ό11Mf89HtKvvvF@)u#q^G9L1ycyn7y-V!jL=2vHI@&e@,޼zs9Gw0`~-L/ АZ*#ad WY̼r$ZTFNUN;|G iõY s?nUUEV,$[{MIkz} K(GS!%ĂȼPqb%7Hq~%L ~XZw~HeE^|2"_&0Tί!IENDB`gmtp-1.3.10/images/Makefile.am0000644000175000001440000000122212655605137012770 00000000000000# Application icons gmtpdir = $(datadir)/gmtp gmtp_DATA = \ audio-x-mp3-playlist.png \ audio-x-mpeg.png \ empty.png \ folder.png \ gmtpicon.png \ icon-16.png \ image-x-generic.png \ logo.png \ media-cdrom-audio.png \ stock-about-16.png \ text-plain.png \ video-x-generic.png \ view-refresh.png #Desktop shortcut icon. icondir = $(datadir)/pixmaps icon_DATA = \ gmtpicon.png EXTRA_DIST = \ audio-x-mp3-playlist.png \ audio-x-mpeg.png \ empty.png \ folder.png \ gmtpicon.png \ icon-16.png \ image-x-generic.png \ logo.png \ media-cdrom-audio.png \ stock-about-16.png \ text-plain.png \ video-x-generic.png \ view-refresh.png gmtp-1.3.10/images/view-refresh.png0000644000175000001440000000121112655605137014046 00000000000000PNG  IHDRasBIT|d pHYs B(xtEXtSoftwarewww.inkscape.org<IDAT8OHa?9c Ѓ$!O Ayc7Ib;y a`Sf({`A+h n| }^58<' w{~uֿz|t0m}i)Zkl6tUO1+[cDI~x3>>~ggg窤r11YINAg,KFqQR$[dr$H HTD` -..ncjZ'a}<xG$jL8XkW$ڻm`9S^^^~ |k355T*h3 hZ]]-XkL&ldddw@9:88ѺuIˇRԄ8w]]]7b_SHVqI&~& s\RRE-b$ ]MJKb)npXj7gqS%IENDB`gmtp-1.3.10/images/media-cdrom-audio.png0000644000175000001440000000176212655605137014733 00000000000000PNG  IHDRasBIT|d pHYs B(xtEXtSoftwarewww.inkscape.org<oIDAT8]K#W9I&7M2ys3/n,ELK W$I[!!DW*NN{zz⊢D766)"H7HFQj 9Oٶ]S{{-..?zŻ}{c>ͫ+:R۷m9OIP]bO@݁J$IM&Sϟ?dP(wJd΂+ H c sʘMTATF:.;8:Todx, !(eROҩxZm\}'eJdRޘ1y`QIp~xU?zZ~ϞyHx-Q%P(ʲ ۣ F@뺄n jz,0 nXxPx^W/FF0?R4Xa$ɔsN `_앇_4c5<eøsN3x\ػZ խ*u0=\mX57L95MfpƢm7DV&n5wK6 YN&T*L%յm.GQ|REeh12Y9|>ёs^L񩩩~!w&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = images ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/lib-ld.m4 \ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ $(top_srcdir)/m4/m4_ax_check_compile_flag.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \ $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(gmtpdir)" "$(DESTDIR)$(icondir)" DATA = $(gmtp_DATA) $(icon_DATA) am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ ARCH = @ARCH@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FLAC_CFLAGS = @FLAC_CFLAGS@ FLAC_LIBS = @FLAC_LIBS@ GCONFTOOL = @GCONFTOOL@ GCONF_CFLAGS = @GCONF_CFLAGS@ GCONF_LIBS = @GCONF_LIBS@ GCONF_SCHEMA_CONFIG_SOURCE = @GCONF_SCHEMA_CONFIG_SOURCE@ GCONF_SCHEMA_FILE_DIR = @GCONF_SCHEMA_FILE_DIR@ GIO_CFLAGS = @GIO_CFLAGS@ GIO_LIBS = @GIO_LIBS@ GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@ GTHREAD_CFLAGS = @GTHREAD_CFLAGS@ GTHREAD_LIBS = @GTHREAD_LIBS@ GTK2_CFLAGS = @GTK2_CFLAGS@ GTK2_LIBS = @GTK2_LIBS@ GTK3_CFLAGS = @GTK3_CFLAGS@ GTK3_LIBS = @GTK3_LIBS@ ID3TAG_CFLAGS = @ID3TAG_CFLAGS@ ID3TAG_LIBS = @ID3TAG_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LDFLAGS = @LDFLAGS@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBMTP_CFLAGS = @LIBMTP_CFLAGS@ LIBMTP_LIBS = @LIBMTP_LIBS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LN_S = @LN_S@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POSUB = @POSUB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ VORBISFILE_CFLAGS = @VORBISFILE_CFLAGS@ VORBISFILE_LIBS = @VORBISFILE_LIBS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ gsettingsschemadir = @gsettingsschemadir@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ gmtpdir = $(datadir)/gmtp gmtp_DATA = \ audio-x-mp3-playlist.png \ audio-x-mpeg.png \ empty.png \ folder.png \ gmtpicon.png \ icon-16.png \ image-x-generic.png \ logo.png \ media-cdrom-audio.png \ stock-about-16.png \ text-plain.png \ video-x-generic.png \ view-refresh.png #Desktop shortcut icon. icondir = $(datadir)/pixmaps icon_DATA = \ gmtpicon.png EXTRA_DIST = \ audio-x-mp3-playlist.png \ audio-x-mpeg.png \ empty.png \ folder.png \ gmtpicon.png \ icon-16.png \ image-x-generic.png \ logo.png \ media-cdrom-audio.png \ stock-about-16.png \ text-plain.png \ video-x-generic.png \ view-refresh.png all: all-am .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign images/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign images/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-gmtpDATA: $(gmtp_DATA) @$(NORMAL_INSTALL) @list='$(gmtp_DATA)'; test -n "$(gmtpdir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(gmtpdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(gmtpdir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(gmtpdir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(gmtpdir)" || exit $$?; \ done uninstall-gmtpDATA: @$(NORMAL_UNINSTALL) @list='$(gmtp_DATA)'; test -n "$(gmtpdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(gmtpdir)'; $(am__uninstall_files_from_dir) install-iconDATA: $(icon_DATA) @$(NORMAL_INSTALL) @list='$(icon_DATA)'; test -n "$(icondir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(icondir)'"; \ $(MKDIR_P) "$(DESTDIR)$(icondir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(icondir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(icondir)" || exit $$?; \ done uninstall-iconDATA: @$(NORMAL_UNINSTALL) @list='$(icon_DATA)'; test -n "$(icondir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(icondir)'; $(am__uninstall_files_from_dir) tags TAGS: ctags CTAGS: cscope cscopelist: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(DATA) installdirs: for dir in "$(DESTDIR)$(gmtpdir)" "$(DESTDIR)$(icondir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-gmtpDATA install-iconDATA install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-gmtpDATA uninstall-iconDATA .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic cscopelist-am \ ctags-am distclean distclean-generic distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-gmtpDATA install-html install-html-am \ install-iconDATA install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic pdf pdf-am ps ps-am tags-am uninstall \ uninstall-am uninstall-gmtpDATA uninstall-iconDATA .PRECIOUS: Makefile # 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: gmtp-1.3.10/images/empty.png0000644000175000001440000000046712655605137012612 00000000000000PNG  IHDRasBIT|d pHYs B(xtEXtSoftwarewww.inkscape.org<IDAT8-0DH! [Ta ߏ]T^W;4sYjfR/BH$oeY4M8!Rp'1FHsp&^ f Tt߹/@UA639ARJ }Ƕm?- ۇa?K<IENDB`gmtp-1.3.10/images/gmtpicon.png0000644000175000001440000000645712655605137013301 00000000000000PNG  IHDR00WbKGD pHYs  tIME 2x/ IDAThy]}?yo3=v0;)$R *jT'j?"O )U7PUjVmQPKl"lv0^d88ؓ& iA.uIdZhkLR8T*wy5P*;kqQיVQOξ+g} ?"\5 8܎:|f&,¢q}WX+ 'B*`%c.* E$I0`)];0׊yo1$[Qe' "8٭tU&q9T1R-Nyx( IE+C9D2 8ୃW&#FoZ(PdD8I"&͢N{$lnp)Cf6yiJQKkn8k/?r dQC@ o|"6\sBN%8eH0m 8Աa=TрHJv"E@ p *<RՆD4N4V'PwPM3ւNɟ4Hծ *7!&BMJPCH#i6,f33+aBfBdK VZdo(ɀOI$4oYU"YV#uj1R:R.#\kdeRWƄ2Gvh(I9&CV5F"Mpkf U.4ڌ4M #b3AB$6h8EQW dTLIl-aG+ysLI?a  QEB}ڎ|. hy+.8]aTg{R7JkP [Bʓ˳9D([F^(Ch^DiM~j6I? M$!ISl"EUJg (áצ qG_CHP6`O]hqVhkϫ 6!s:::B6>Y^V$KE aqAHڠTpF<+>oݲ﮻522ruooo^74. iɈTzmK| j@glw^"OncaFFFZvhvvggg_hZ ~ik׮6m= m}0;;'x;ƶ=TJ㜣P,roz'}4< ݨ]{6CY)mg1gwPRJtV080@>j?؇zbDT<< Nu`6@,"Bd$7) FGG`tt ?rȃaڏSO=#ۓ:=rAcZ˔(T*N<8kg)Njʝ oX\ZbA_{I^}lzǵu7xmc|iV sj}n'AhR(j7ZH+xxy` g5VCgdx&'YZ1q""T;s{N8ɓDQt9ܿ9G(s~Cs3iWYݳ02v` Jg5J:+L#'So6)xǍBWBﰲqSNM7'i"FgGx#LL=|t ؾ} g3233Kx@rX e&;'099,Lgvv$N(Ħ;vǏ1=3$gϞ-q͟oV%C_}^8}fm[8}zUbn&~M MU),MR.g0`br_ckpĻIz4a!sDQD$h+Ƙ?9C/~i+J?5g\,>55啃bxhj Q& JkjJYAkCϒ^ؾ-B19G_ai@aA)'YV>wȫns;ipX~T,0`vvMC]aaVT*tvuZN}==vyԱm%v ;) 0V4IqbSN23=5`/dW}_-[䖳gIZ{|.Iʥ2V`yi5ژ-}}\}f "z (B+EEa&<?]Ҡ HO 9~hquuޟV+xﱵJ b*tV+'4k:qf\C]hkѥ!%cG{pRR5ʹM8[لfZS5{=]Mixn?{5"* )Х,e{@PT6S1(޳\.פH1R"Ō )beVg "qp>"G@\>lr!E{PĄ-"HbXBnnn8::btmϊ} : |j6YkDs.+nLS~[M mKtY|a_yxxiLCUUkֹEe FapTF!rGUU>w]tY~`9RJ֯s\6IENDB`gmtp-1.3.10/images/audio-x-mpeg.png0000644000175000001440000000105212655605137013737 00000000000000PNG  IHDRasBIT|d pHYs B(xtEXtSoftwarewww.inkscape.org<IDAT8OkQόW& R J7Bgh@ ?B]Y7uiƝݸ+mwt*Pg`;3\%:st:Ƙ4Mp+nE^oTU{4M1 >RyRW ~f a8:S!mqa}1` 0AƐaz1 u.@ ꓌۵"KwGy km. cy:]AIn=…蚀xO : ǐR:gqP#31oWJm̌0J܉%>2s6ݛ٢˳`f.UT5+M+M/1+/R\qO)!ȧR `_8.GB!(˭OIENDB`gmtp-1.3.10/images/icon-16.png0000644000175000001440000000130612655605137012621 00000000000000PNG  IHDRabKGD pHYs  tIME oJ SIDAT8˥KTa93sMď jSA-D m*@Z2"6m 2JIm$sۢE?'i1r0O+ MQ- }QV[9Лžsm?ceې.)J xOR˷rv[-2޼@A*NdXFcggca2LtHQ)%L"ւ%%2GM`MPJ)jU2"4la{i'W LKy\LMMeFGg8F*EP tPJs\.ZNhJ<95(tgHmy0UL<<\}R{.wq-ӲT._PS*8ʲ,$76yh?@e1UOIENDB`gmtp-1.3.10/ABOUT-NLS0000644000175000001440000023334012655605137010726 000000000000001 Notes on the Free Translation Project *************************************** Free software is going international! The Free Translation Project is a way to get maintainers of free software, translators, and users all together, so that free software will gradually become able to speak many languages. A few packages already provide translations for their messages. If you found this `ABOUT-NLS' file inside a distribution, you may assume that the distributed package does use GNU `gettext' internally, itself available at your nearest GNU archive site. But you do _not_ need to install GNU `gettext' prior to configuring, installing or using this package with messages translated. Installers will find here some useful hints. These notes also explain how users should proceed for getting the programs to use the available translations. They tell how people wanting to contribute and work on translations can contact the appropriate team. When reporting bugs in the `intl/' directory or bugs which may be related to internationalization, you should tell about the version of `gettext' which is used. The information can be found in the `intl/VERSION' file, in internationalized packages. 1.1 Quick configuration advice ============================== If you want to exploit the full power of internationalization, you should configure it using ./configure --with-included-gettext to force usage of internationalizing routines provided within this package, despite the existence of internationalizing capabilities in the operating system where this package is being installed. So far, only the `gettext' implementation in the GNU C library version 2 provides as many features (such as locale alias, message inheritance, automatic charset conversion or plural form handling) as the implementation here. It is also not possible to offer this additional functionality on top of a `catgets' implementation. Future versions of GNU `gettext' will very likely convey even more functionality. So it might be a good idea to change to GNU `gettext' as soon as possible. So you need _not_ provide this option if you are using GNU libc 2 or you have installed a recent copy of the GNU gettext package with the included `libintl'. 1.2 INSTALL Matters =================== Some packages are "localizable" when properly installed; the programs they contain can be made to speak your own native language. Most such packages use GNU `gettext'. Other packages have their own ways to internationalization, predating GNU `gettext'. By default, this package will be installed to allow translation of messages. It will automatically detect whether the system already provides the GNU `gettext' functions. If not, the included GNU `gettext' library will be used. This library is wholly contained within this package, usually in the `intl/' subdirectory, so prior installation of the GNU `gettext' package is _not_ required. Installers may use special options at configuration time for changing the default behaviour. The commands: ./configure --with-included-gettext ./configure --disable-nls will, respectively, bypass any pre-existing `gettext' to use the internationalizing routines provided within this package, or else, _totally_ disable translation of messages. When you already have GNU `gettext' installed on your system and run configure without an option for your new package, `configure' will probably detect the previously built and installed `libintl.a' file and will decide to use this. This might not be desirable. You should use the more recent version of the GNU `gettext' library. I.e. if the file `intl/VERSION' shows that the library which comes with this package is more recent, you should use ./configure --with-included-gettext to prevent auto-detection. The configuration process will not test for the `catgets' function and therefore it will not be used. The reason is that even an emulation of `gettext' on top of `catgets' could not provide all the extensions of the GNU `gettext' library. Internationalized packages usually have many `po/LL.po' files, where LL gives an ISO 639 two-letter code identifying the language. Unless translations have been forbidden at `configure' time by using the `--disable-nls' switch, all available translations are installed together with the package. However, the environment variable `LINGUAS' may be set, prior to configuration, to limit the installed set. `LINGUAS' should then contain a space separated list of two-letter codes, stating which languages are allowed. 1.3 Using This Package ====================== As a user, if your language has been installed for this package, you only have to set the `LANG' environment variable to the appropriate `LL_CC' combination. Here `LL' is an ISO 639 two-letter language code, and `CC' is an ISO 3166 two-letter country code. For example, let's suppose that you speak German and live in Germany. At the shell prompt, merely execute `setenv LANG de_DE' (in `csh'), `export LANG; LANG=de_DE' (in `sh') or `export LANG=de_DE' (in `bash'). This can be done from your `.login' or `.profile' file, once and for all. You might think that the country code specification is redundant. But in fact, some languages have dialects in different countries. For example, `de_AT' is used for Austria, and `pt_BR' for Brazil. The country code serves to distinguish the dialects. The locale naming convention of `LL_CC', with `LL' denoting the language and `CC' denoting the country, is the one use on systems based on GNU libc. On other systems, some variations of this scheme are used, such as `LL' or `LL_CC.ENCODING'. You can get the list of locales supported by your system for your language by running the command `locale -a | grep '^LL''. Not all programs have translations for all languages. By default, an English message is shown in place of a nonexistent translation. If you understand other languages, you can set up a priority list of languages. This is done through a different environment variable, called `LANGUAGE'. GNU `gettext' gives preference to `LANGUAGE' over `LANG' for the purpose of message handling, but you still need to have `LANG' set to the primary language; this is required by other parts of the system libraries. For example, some Swedish users who would rather read translations in German than English for when Swedish is not available, set `LANGUAGE' to `sv:de' while leaving `LANG' to `sv_SE'. Special advice for Norwegian users: The language code for Norwegian bokma*l changed from `no' to `nb' recently (in 2003). During the transition period, while some message catalogs for this language are installed under `nb' and some older ones under `no', it's recommended for Norwegian users to set `LANGUAGE' to `nb:no' so that both newer and older translations are used. In the `LANGUAGE' environment variable, but not in the `LANG' environment variable, `LL_CC' combinations can be abbreviated as `LL' to denote the language's main dialect. For example, `de' is equivalent to `de_DE' (German as spoken in Germany), and `pt' to `pt_PT' (Portuguese as spoken in Portugal) in this context. 1.4 Translating Teams ===================== For the Free Translation Project to be a success, we need interested people who like their own language and write it well, and who are also able to synergize with other translators speaking the same language. Each translation team has its own mailing list. The up-to-date list of teams can be found at the Free Translation Project's homepage, `http://www.iro.umontreal.ca/contrib/po/HTML/', in the "National teams" area. If you'd like to volunteer to _work_ at translating messages, you should become a member of the translating team for your own language. The subscribing address is _not_ the same as the list itself, it has `-request' appended. For example, speakers of Swedish can send a message to `sv-request@li.org', having this message body: subscribe Keep in mind that team members are expected to participate _actively_ in translations, or at solving translational difficulties, rather than merely lurking around. If your team does not exist yet and you want to start one, or if you are unsure about what to do or how to get started, please write to `translation@iro.umontreal.ca' to reach the coordinator for all translator teams. The English team is special. It works at improving and uniformizing the terminology in use. Proven linguistic skills are praised more than programming skills, here. 1.5 Available Packages ====================== Languages are not equally supported in all packages. The following matrix shows the current state of internationalization, as of October 2006. The matrix shows, in regard of each package, for which languages PO files have been submitted to translation coordination, with a translation percentage of at least 50%. Ready PO files af am ar az be bg bs ca cs cy da de el en en_GB eo +----------------------------------------------------+ GNUnet | [] | a2ps | [] [] [] [] [] | aegis | () | ant-phone | () | anubis | [] | ap-utils | | aspell | [] [] [] [] [] | bash | [] [] [] | batchelor | [] | bfd | | bibshelf | [] | binutils | [] | bison | [] [] | bison-runtime | | bluez-pin | [] [] [] [] [] | cflow | [] | clisp | [] [] | console-tools | [] [] | coreutils | [] [] [] | cpio | | cpplib | [] [] [] | cryptonit | [] | darkstat | [] () [] | dialog | [] [] [] [] [] [] | diffutils | [] [] [] [] [] [] | doodle | [] | e2fsprogs | [] [] | enscript | [] [] [] [] | error | [] [] [] [] | fetchmail | [] [] () [] | fileutils | [] [] | findutils | [] [] [] | flex | [] [] [] | fslint | [] | gas | | gawk | [] [] [] | gbiff | [] | gcal | [] | gcc | [] | gettext-examples | [] [] [] [] [] | gettext-runtime | [] [] [] [] [] | gettext-tools | [] [] | gimp-print | [] [] [] [] | gip | [] | gliv | [] | glunarclock | [] | gmult | [] [] | gnubiff | () | gnucash | () () [] | gnucash-glossary | [] () | gnuedu | | gnulib | [] [] [] [] [] [] | gnunet-gtk | | gnutls | | gpe-aerial | [] [] | gpe-beam | [] [] | gpe-calendar | | gpe-clock | [] [] | gpe-conf | [] [] | gpe-contacts | | gpe-edit | [] | gpe-filemanager | | gpe-go | [] | gpe-login | [] [] | gpe-ownerinfo | [] [] | gpe-package | | gpe-sketchbook | [] [] | gpe-su | [] [] | gpe-taskmanager | [] [] | gpe-timesheet | [] | gpe-today | [] [] | gpe-todo | | gphoto2 | [] [] [] [] | gprof | [] [] | gpsdrive | () () | gramadoir | [] [] | grep | [] [] [] [] [] [] | gretl | | gsasl | | gss | | gst-plugins | [] [] [] [] | gst-plugins-base | [] [] [] | gst-plugins-good | [] [] [] [] [] [] [] | gstreamer | [] [] [] [] [] [] [] | gtick | () | gtkam | [] [] [] | gtkorphan | [] [] | gtkspell | [] [] [] [] | gutenprint | [] | hello | [] [] [] [] [] | id-utils | [] [] | impost | | indent | [] [] [] | iso_3166 | [] [] | iso_3166_2 | | iso_4217 | [] | iso_639 | [] [] | jpilot | [] | jtag | | jwhois | | kbd | [] [] [] [] | keytouch | | keytouch-editor | | keytouch-keyboa... | | latrine | () | ld | [] | leafpad | [] [] [] [] [] | libc | [] [] [] [] [] | libexif | [] | libextractor | [] | libgpewidget | [] [] [] | libgpg-error | [] | libgphoto2 | [] [] | libgphoto2_port | [] [] | libgsasl | | libiconv | [] [] | libidn | [] [] | lifelines | [] () | lilypond | [] | lingoteach | | lynx | [] [] [] [] | m4 | [] [] [] [] | mailutils | [] | make | [] [] | man-db | [] () [] [] | minicom | [] [] [] | mysecretdiary | [] [] | nano | [] [] [] | nano_1_0 | [] () [] [] | opcodes | [] | parted | | pilot-qof | [] | psmisc | [] | pwdutils | | python | | qof | | radius | [] | recode | [] [] [] [] [] [] | rpm | [] [] | screem | | scrollkeeper | [] [] [] [] [] [] [] [] | sed | [] [] [] | sh-utils | [] [] | shared-mime-info | [] [] [] [] | sharutils | [] [] [] [] [] [] | shishi | | silky | | skencil | [] () | sketch | [] () | solfege | | soundtracker | [] [] | sp | [] | stardict | [] | system-tools-ba... | [] [] [] [] [] [] [] [] [] | tar | [] | texinfo | [] [] [] | textutils | [] [] [] | tin | () () | tp-robot | [] | tuxpaint | [] [] [] [] [] | unicode-han-tra... | | unicode-transla... | | util-linux | [] [] [] [] | vorbis-tools | [] [] [] [] | wastesedge | () | wdiff | [] [] [] [] | wget | [] [] | xchat | [] [] [] [] [] [] | xkeyboard-config | | xpad | [] [] | +----------------------------------------------------+ af am ar az be bg bs ca cs cy da de el en en_GB eo 10 0 1 2 9 22 1 42 41 2 60 95 16 1 17 16 es et eu fa fi fr ga gl gu he hi hr hu id is it +--------------------------------------------------+ GNUnet | | a2ps | [] [] [] () | aegis | | ant-phone | [] | anubis | [] | ap-utils | [] [] | aspell | [] [] [] | bash | [] [] [] | batchelor | [] [] | bfd | [] | bibshelf | [] [] [] | binutils | [] [] [] | bison | [] [] [] [] [] [] | bison-runtime | [] [] [] [] [] | bluez-pin | [] [] [] [] [] | cflow | [] | clisp | [] [] | console-tools | | coreutils | [] [] [] [] [] [] | cpio | [] [] [] | cpplib | [] [] | cryptonit | [] | darkstat | [] () [] [] [] | dialog | [] [] [] [] [] [] [] [] | diffutils | [] [] [] [] [] [] [] [] [] | doodle | [] [] | e2fsprogs | [] [] [] | enscript | [] [] [] | error | [] [] [] [] [] | fetchmail | [] | fileutils | [] [] [] [] [] [] | findutils | [] [] [] [] | flex | [] [] [] | fslint | [] | gas | [] [] | gawk | [] [] [] [] | gbiff | [] | gcal | [] [] | gcc | [] | gettext-examples | [] [] [] [] [] [] | gettext-runtime | [] [] [] [] [] [] | gettext-tools | [] [] [] | gimp-print | [] [] | gip | [] [] [] | gliv | () | glunarclock | [] [] [] | gmult | [] [] [] | gnubiff | () () | gnucash | () () () | gnucash-glossary | [] [] | gnuedu | [] | gnulib | [] [] [] [] [] [] [] [] | gnunet-gtk | | gnutls | | gpe-aerial | [] [] | gpe-beam | [] [] | gpe-calendar | | gpe-clock | [] [] [] [] | gpe-conf | [] | gpe-contacts | [] [] | gpe-edit | [] [] [] [] | gpe-filemanager | [] | gpe-go | [] [] [] | gpe-login | [] [] [] | gpe-ownerinfo | [] [] [] [] [] | gpe-package | [] | gpe-sketchbook | [] [] | gpe-su | [] [] [] [] | gpe-taskmanager | [] [] [] | gpe-timesheet | [] [] [] [] | gpe-today | [] [] [] [] | gpe-todo | [] | gphoto2 | [] [] [] [] [] | gprof | [] [] [] [] | gpsdrive | () () [] () | gramadoir | [] [] | grep | [] [] [] [] [] [] [] [] [] [] [] [] | gretl | [] [] [] | gsasl | [] [] | gss | [] | gst-plugins | [] [] [] | gst-plugins-base | [] [] | gst-plugins-good | [] [] [] | gstreamer | [] [] [] | gtick | [] | gtkam | [] [] [] [] | gtkorphan | [] [] | gtkspell | [] [] [] [] [] [] | gutenprint | [] | hello | [] [] [] [] [] [] [] [] [] [] [] [] [] | id-utils | [] [] [] [] [] | impost | [] [] | indent | [] [] [] [] [] [] [] [] [] [] | iso_3166 | [] [] [] | iso_3166_2 | [] | iso_4217 | [] [] [] [] | iso_639 | [] [] [] [] [] | jpilot | [] [] | jtag | [] | jwhois | [] [] [] [] [] | kbd | [] [] | keytouch | [] | keytouch-editor | [] | keytouch-keyboa... | [] | latrine | [] [] [] | ld | [] [] | leafpad | [] [] [] [] [] [] | libc | [] [] [] [] [] | libexif | [] | libextractor | [] | libgpewidget | [] [] [] [] [] | libgpg-error | | libgphoto2 | [] [] [] | libgphoto2_port | [] [] | libgsasl | [] [] | libiconv | [] [] | libidn | [] [] | lifelines | () | lilypond | [] | lingoteach | [] [] [] | lynx | [] [] [] | m4 | [] [] [] [] | mailutils | [] [] | make | [] [] [] [] [] [] [] [] | man-db | () | minicom | [] [] [] [] | mysecretdiary | [] [] [] | nano | [] [] [] [] [] [] | nano_1_0 | [] [] [] [] [] | opcodes | [] [] [] [] | parted | [] [] [] [] | pilot-qof | | psmisc | [] [] [] | pwdutils | | python | | qof | [] | radius | [] [] | recode | [] [] [] [] [] [] [] [] | rpm | [] [] | screem | | scrollkeeper | [] [] [] | sed | [] [] [] [] [] | sh-utils | [] [] [] [] [] [] [] | shared-mime-info | [] [] [] [] [] [] | sharutils | [] [] [] [] [] [] [] [] | shishi | | silky | [] | skencil | [] [] | sketch | [] [] | solfege | [] | soundtracker | [] [] [] | sp | [] | stardict | [] | system-tools-ba... | [] [] [] [] [] [] [] [] | tar | [] [] [] [] [] [] [] | texinfo | [] [] | textutils | [] [] [] [] [] | tin | [] () | tp-robot | [] [] [] [] | tuxpaint | [] [] | unicode-han-tra... | | unicode-transla... | [] [] | util-linux | [] [] [] [] [] [] [] | vorbis-tools | [] [] | wastesedge | () | wdiff | [] [] [] [] [] [] [] [] | wget | [] [] [] [] [] [] [] [] | xchat | [] [] [] [] [] [] [] [] | xkeyboard-config | [] [] [] [] | xpad | [] [] [] | +--------------------------------------------------+ es et eu fa fi fr ga gl gu he hi hr hu id is it 88 22 14 2 40 115 61 14 1 8 1 6 59 31 0 52 ja ko ku ky lg lt lv mk mn ms mt nb ne nl nn no +-------------------------------------------------+ GNUnet | | a2ps | () [] [] () | aegis | () | ant-phone | [] | anubis | [] [] [] | ap-utils | [] | aspell | [] [] | bash | [] | batchelor | [] [] | bfd | | bibshelf | [] | binutils | | bison | [] [] [] | bison-runtime | [] [] [] | bluez-pin | [] [] [] | cflow | | clisp | [] | console-tools | | coreutils | [] | cpio | | cpplib | [] | cryptonit | [] | darkstat | [] [] | dialog | [] [] | diffutils | [] [] [] | doodle | | e2fsprogs | [] | enscript | [] | error | [] | fetchmail | [] [] | fileutils | [] [] | findutils | [] | flex | [] [] | fslint | [] [] | gas | | gawk | [] [] | gbiff | [] | gcal | | gcc | | gettext-examples | [] [] | gettext-runtime | [] [] [] | gettext-tools | [] [] | gimp-print | [] [] | gip | [] [] | gliv | [] | glunarclock | [] [] | gmult | [] [] | gnubiff | | gnucash | () () | gnucash-glossary | [] | gnuedu | | gnulib | [] [] [] [] | gnunet-gtk | | gnutls | | gpe-aerial | [] | gpe-beam | [] | gpe-calendar | [] | gpe-clock | [] [] [] | gpe-conf | [] [] | gpe-contacts | [] | gpe-edit | [] [] [] | gpe-filemanager | [] [] | gpe-go | [] [] [] | gpe-login | [] [] [] | gpe-ownerinfo | [] [] | gpe-package | [] [] | gpe-sketchbook | [] [] | gpe-su | [] [] [] | gpe-taskmanager | [] [] [] [] | gpe-timesheet | [] | gpe-today | [] [] | gpe-todo | [] | gphoto2 | [] [] | gprof | | gpsdrive | () () () | gramadoir | () | grep | [] [] [] [] | gretl | | gsasl | [] | gss | | gst-plugins | [] | gst-plugins-base | | gst-plugins-good | [] | gstreamer | [] | gtick | | gtkam | [] | gtkorphan | [] | gtkspell | [] [] | gutenprint | | hello | [] [] [] [] [] [] | id-utils | [] | impost | | indent | [] [] | iso_3166 | [] | iso_3166_2 | [] | iso_4217 | [] [] [] | iso_639 | [] [] | jpilot | () () () | jtag | | jwhois | [] | kbd | [] | keytouch | [] | keytouch-editor | | keytouch-keyboa... | | latrine | [] | ld | | leafpad | [] [] | libc | [] [] [] [] [] | libexif | | libextractor | | libgpewidget | [] | libgpg-error | | libgphoto2 | [] | libgphoto2_port | [] | libgsasl | [] | libiconv | | libidn | [] [] | lifelines | [] | lilypond | | lingoteach | [] | lynx | [] [] | m4 | [] [] | mailutils | | make | [] [] [] | man-db | () | minicom | [] | mysecretdiary | [] | nano | [] [] [] | nano_1_0 | [] [] [] | opcodes | [] | parted | [] [] | pilot-qof | | psmisc | [] [] [] | pwdutils | | python | | qof | | radius | | recode | [] | rpm | [] [] | screem | [] | scrollkeeper | [] [] [] [] | sed | [] [] | sh-utils | [] [] | shared-mime-info | [] [] [] [] [] | sharutils | [] [] | shishi | | silky | [] | skencil | | sketch | | solfege | | soundtracker | | sp | () | stardict | [] [] | system-tools-ba... | [] [] [] [] | tar | [] [] [] | texinfo | [] [] [] | textutils | [] [] [] | tin | | tp-robot | [] | tuxpaint | [] | unicode-han-tra... | | unicode-transla... | | util-linux | [] [] | vorbis-tools | [] | wastesedge | [] | wdiff | [] [] | wget | [] [] | xchat | [] [] [] [] | xkeyboard-config | [] | xpad | [] [] [] | +-------------------------------------------------+ ja ko ku ky lg lt lv mk mn ms mt nb ne nl nn no 52 24 2 2 1 3 0 2 3 21 0 15 1 97 5 1 nso or pa pl pt pt_BR rm ro ru rw sk sl sq sr sv ta +------------------------------------------------------+ GNUnet | | a2ps | () [] [] [] [] [] [] | aegis | () () | ant-phone | [] [] | anubis | [] [] [] | ap-utils | () | aspell | [] [] | bash | [] [] [] | batchelor | [] [] | bfd | | bibshelf | [] | binutils | [] [] | bison | [] [] [] [] [] | bison-runtime | [] [] [] [] | bluez-pin | [] [] [] [] [] [] [] [] [] | cflow | [] | clisp | [] | console-tools | [] | coreutils | [] [] [] [] | cpio | [] [] [] | cpplib | [] | cryptonit | [] [] | darkstat | [] [] [] [] [] [] | dialog | [] [] [] [] [] [] [] [] [] | diffutils | [] [] [] [] [] [] | doodle | [] [] | e2fsprogs | [] [] | enscript | [] [] [] [] [] | error | [] [] [] [] | fetchmail | [] [] [] | fileutils | [] [] [] [] [] | findutils | [] [] [] [] [] [] | flex | [] [] [] [] [] | fslint | [] [] [] [] | gas | | gawk | [] [] [] [] | gbiff | [] | gcal | [] | gcc | [] | gettext-examples | [] [] [] [] [] [] [] [] | gettext-runtime | [] [] [] [] [] [] [] [] | gettext-tools | [] [] [] [] [] [] [] | gimp-print | [] [] | gip | [] [] [] [] | gliv | [] [] [] [] | glunarclock | [] [] [] [] [] [] | gmult | [] [] [] [] | gnubiff | () | gnucash | () [] | gnucash-glossary | [] [] [] | gnuedu | | gnulib | [] [] [] [] [] | gnunet-gtk | [] | gnutls | [] [] | gpe-aerial | [] [] [] [] [] [] [] | gpe-beam | [] [] [] [] [] [] [] | gpe-calendar | [] | gpe-clock | [] [] [] [] [] [] [] [] | gpe-conf | [] [] [] [] [] [] [] | gpe-contacts | [] [] [] [] [] | gpe-edit | [] [] [] [] [] [] [] [] | gpe-filemanager | [] [] | gpe-go | [] [] [] [] [] [] | gpe-login | [] [] [] [] [] [] [] [] | gpe-ownerinfo | [] [] [] [] [] [] [] [] | gpe-package | [] [] | gpe-sketchbook | [] [] [] [] [] [] [] [] | gpe-su | [] [] [] [] [] [] [] [] | gpe-taskmanager | [] [] [] [] [] [] [] [] | gpe-timesheet | [] [] [] [] [] [] [] [] | gpe-today | [] [] [] [] [] [] [] [] | gpe-todo | [] [] [] [] | gphoto2 | [] [] [] [] [] | gprof | [] [] [] | gpsdrive | [] [] [] | gramadoir | [] [] | grep | [] [] [] [] [] [] [] [] | gretl | [] | gsasl | [] [] [] | gss | [] [] [] | gst-plugins | [] [] [] [] | gst-plugins-base | [] | gst-plugins-good | [] [] [] [] | gstreamer | [] [] [] | gtick | [] | gtkam | [] [] [] [] | gtkorphan | [] | gtkspell | [] [] [] [] [] [] [] [] | gutenprint | [] | hello | [] [] [] [] [] [] [] [] | id-utils | [] [] [] [] | impost | [] | indent | [] [] [] [] [] [] | iso_3166 | [] [] [] [] [] [] | iso_3166_2 | | iso_4217 | [] [] [] [] | iso_639 | [] [] [] [] | jpilot | | jtag | [] | jwhois | [] [] [] [] | kbd | [] [] [] | keytouch | [] | keytouch-editor | [] | keytouch-keyboa... | [] | latrine | [] [] | ld | [] | leafpad | [] [] [] [] [] [] | libc | [] [] [] [] [] | libexif | [] | libextractor | [] [] | libgpewidget | [] [] [] [] [] [] [] | libgpg-error | [] [] | libgphoto2 | [] | libgphoto2_port | [] [] [] | libgsasl | [] [] [] [] | libiconv | [] [] | libidn | [] [] () | lifelines | [] [] | lilypond | | lingoteach | [] | lynx | [] [] [] | m4 | [] [] [] [] [] | mailutils | [] [] [] [] | make | [] [] [] [] | man-db | [] [] | minicom | [] [] [] [] [] | mysecretdiary | [] [] [] [] | nano | [] [] [] | nano_1_0 | [] [] [] [] | opcodes | [] [] | parted | [] | pilot-qof | [] | psmisc | [] [] | pwdutils | [] [] | python | | qof | [] [] | radius | [] [] | recode | [] [] [] [] [] [] [] | rpm | [] [] [] [] | screem | | scrollkeeper | [] [] [] [] [] [] [] | sed | [] [] [] [] [] [] [] [] [] | sh-utils | [] [] [] | shared-mime-info | [] [] [] [] [] | sharutils | [] [] [] [] | shishi | [] | silky | [] | skencil | [] [] [] | sketch | [] [] [] | solfege | [] | soundtracker | [] [] | sp | | stardict | [] [] [] | system-tools-ba... | [] [] [] [] [] [] [] [] [] | tar | [] [] [] [] [] | texinfo | [] [] [] [] | textutils | [] [] [] | tin | () | tp-robot | [] | tuxpaint | [] [] [] [] [] | unicode-han-tra... | | unicode-transla... | | util-linux | [] [] [] [] | vorbis-tools | [] [] | wastesedge | | wdiff | [] [] [] [] [] [] | wget | [] [] [] [] | xchat | [] [] [] [] [] [] [] | xkeyboard-config | [] [] | xpad | [] [] [] | +------------------------------------------------------+ nso or pa pl pt pt_BR rm ro ru rw sk sl sq sr sv ta 0 2 3 58 30 54 5 73 72 4 40 46 11 50 128 2 tg th tk tr uk ven vi wa xh zh_CN zh_HK zh_TW zu +---------------------------------------------------+ GNUnet | [] | 2 a2ps | [] [] [] | 19 aegis | | 0 ant-phone | [] [] | 6 anubis | [] [] [] | 11 ap-utils | () [] | 4 aspell | [] [] [] | 15 bash | [] | 11 batchelor | [] [] | 9 bfd | | 1 bibshelf | [] | 7 binutils | [] [] [] | 9 bison | [] [] [] | 19 bison-runtime | [] [] [] | 15 bluez-pin | [] [] [] [] [] [] | 28 cflow | [] [] | 5 clisp | | 6 console-tools | [] [] | 5 coreutils | [] [] | 16 cpio | [] [] [] | 9 cpplib | [] [] [] [] | 11 cryptonit | | 5 darkstat | [] () () | 15 dialog | [] [] [] [] [] | 30 diffutils | [] [] [] [] | 28 doodle | [] | 6 e2fsprogs | [] [] | 10 enscript | [] [] [] | 16 error | [] [] [] [] | 18 fetchmail | [] [] | 12 fileutils | [] [] [] | 18 findutils | [] [] [] | 17 flex | [] [] | 15 fslint | [] | 9 gas | [] | 3 gawk | [] [] | 15 gbiff | [] | 5 gcal | [] | 5 gcc | [] [] [] | 6 gettext-examples | [] [] [] [] [] [] | 27 gettext-runtime | [] [] [] [] [] [] | 28 gettext-tools | [] [] [] [] [] | 19 gimp-print | [] [] | 12 gip | [] [] | 12 gliv | [] [] | 8 glunarclock | [] [] [] | 15 gmult | [] [] [] [] | 15 gnubiff | [] | 1 gnucash | () | 2 gnucash-glossary | [] [] | 9 gnuedu | [] | 2 gnulib | [] [] [] [] [] | 28 gnunet-gtk | | 1 gnutls | | 2 gpe-aerial | [] [] | 14 gpe-beam | [] [] | 14 gpe-calendar | [] | 3 gpe-clock | [] [] [] [] | 21 gpe-conf | [] [] | 14 gpe-contacts | [] [] | 10 gpe-edit | [] [] [] [] | 20 gpe-filemanager | [] | 6 gpe-go | [] [] | 15 gpe-login | [] [] [] [] [] | 21 gpe-ownerinfo | [] [] [] [] | 21 gpe-package | [] | 6 gpe-sketchbook | [] [] | 16 gpe-su | [] [] [] | 20 gpe-taskmanager | [] [] [] | 20 gpe-timesheet | [] [] [] [] | 18 gpe-today | [] [] [] [] [] | 21 gpe-todo | [] | 7 gphoto2 | [] [] [] [] | 20 gprof | [] [] | 11 gpsdrive | | 4 gramadoir | [] | 7 grep | [] [] [] [] | 34 gretl | | 4 gsasl | [] [] | 8 gss | [] | 5 gst-plugins | [] [] [] | 15 gst-plugins-base | [] [] [] | 9 gst-plugins-good | [] [] [] [] [] | 20 gstreamer | [] [] [] | 17 gtick | [] | 3 gtkam | [] | 13 gtkorphan | [] | 7 gtkspell | [] [] [] [] [] [] | 26 gutenprint | | 3 hello | [] [] [] [] [] | 37 id-utils | [] [] | 14 impost | [] | 4 indent | [] [] [] [] | 25 iso_3166 | [] [] [] [] | 16 iso_3166_2 | | 2 iso_4217 | [] [] | 14 iso_639 | [] | 14 jpilot | [] [] [] [] | 7 jtag | [] | 3 jwhois | [] [] [] | 13 kbd | [] [] | 12 keytouch | [] | 4 keytouch-editor | | 2 keytouch-keyboa... | [] | 3 latrine | [] [] | 8 ld | [] [] [] [] | 8 leafpad | [] [] [] [] | 23 libc | [] [] [] | 23 libexif | [] | 4 libextractor | [] | 5 libgpewidget | [] [] [] | 19 libgpg-error | [] | 4 libgphoto2 | [] | 8 libgphoto2_port | [] [] [] | 11 libgsasl | [] | 8 libiconv | [] | 7 libidn | [] [] | 10 lifelines | | 4 lilypond | | 2 lingoteach | [] | 6 lynx | [] [] [] | 15 m4 | [] [] [] | 18 mailutils | [] | 8 make | [] [] [] | 20 man-db | [] | 6 minicom | [] | 14 mysecretdiary | [] [] | 12 nano | [] [] | 17 nano_1_0 | [] [] [] | 18 opcodes | [] [] | 10 parted | [] [] [] | 10 pilot-qof | [] | 3 psmisc | [] | 10 pwdutils | [] | 3 python | | 0 qof | [] | 4 radius | [] | 6 recode | [] [] [] | 25 rpm | [] [] [] [] | 14 screem | [] | 2 scrollkeeper | [] [] [] [] | 26 sed | [] [] [] | 22 sh-utils | [] | 15 shared-mime-info | [] [] [] [] | 24 sharutils | [] [] [] | 23 shishi | | 1 silky | [] | 4 skencil | [] | 7 sketch | | 6 solfege | | 2 soundtracker | [] [] | 9 sp | [] | 3 stardict | [] [] [] [] | 11 system-tools-ba... | [] [] [] [] [] [] [] | 37 tar | [] [] [] [] | 20 texinfo | [] [] [] | 15 textutils | [] [] [] | 17 tin | | 1 tp-robot | [] [] [] | 10 tuxpaint | [] [] [] | 16 unicode-han-tra... | | 0 unicode-transla... | | 2 util-linux | [] [] [] | 20 vorbis-tools | [] [] | 11 wastesedge | | 1 wdiff | [] [] | 22 wget | [] [] [] | 19 xchat | [] [] [] [] | 29 xkeyboard-config | [] [] [] [] | 11 xpad | [] [] [] | 14 +---------------------------------------------------+ 77 teams tg th tk tr uk ven vi wa xh zh_CN zh_HK zh_TW zu 170 domains 0 1 1 77 39 0 136 10 1 48 5 54 0 2028 Some counters in the preceding matrix are higher than the number of visible blocks let us expect. This is because a few extra PO files are used for implementing regional variants of languages, or language dialects. For a PO file in the matrix above to be effective, the package to which it applies should also have been internationalized and distributed as such by its maintainer. There might be an observable lag between the mere existence a PO file and its wide availability in a distribution. If October 2006 seems to be old, you may fetch a more recent copy of this `ABOUT-NLS' file on most GNU archive sites. The most up-to-date matrix with full percentage details can be found at `http://www.iro.umontreal.ca/contrib/po/HTML/matrix.html'. 1.6 Using `gettext' in new packages =================================== If you are writing a freely available program and want to internationalize it you are welcome to use GNU `gettext' in your package. Of course you have to respect the GNU Library General Public License which covers the use of the GNU `gettext' library. This means in particular that even non-free programs can use `libintl' as a shared library, whereas only free software can use `libintl' as a static library or use modified versions of `libintl'. Once the sources are changed appropriately and the setup can handle the use of `gettext' the only thing missing are the translations. The Free Translation Project is also available for packages which are not developed inside the GNU project. Therefore the information given above applies also for every other Free Software Project. Contact `translation@iro.umontreal.ca' to make the `.pot' files available to the translation teams. gmtp-1.3.10/prototype0000644000175000001440000000535312655605137011470 00000000000000i pkginfo i postinstall d none bin 0755 root root d none share 0755 root root d none share/gmtp 0755 root root d none share/pixmaps 0755 root root d none share/applications 0755 root root d none share/gconf 0755 root root d none share/gconf/schemas 0755 root root d none share/locale 0755 root root d none share/locale/es 0755 root root d none share/locale/fr 0755 root root d none share/locale/it 0755 root root d none share/locale/da 0755 root root d none share/locale/de 0755 root root d none share/locale/ru 0755 root root d none share/locale/en_AU 0755 root root d none share/locale/es/LC_MESSAGES 0755 root root d none share/locale/fr/LC_MESSAGES 0755 root root d none share/locale/it/LC_MESSAGES 0755 root root d none share/locale/da/LC_MESSAGES 0755 root root d none share/locale/de/LC_MESSAGES 0755 root root d none share/locale/ru/LC_MESSAGES 0755 root root d none share/locale/en_AU/LC_MESSAGES 0755 root root f none bin/gmtp=src/gmtp 0755 root root f none share/gmtp/gmtpicon.png=images/gmtpicon.png 0644 root root f none share/gmtp/icon-16.png=images/icon-16.png 0644 root root f none share/gmtp/stock-about-16.png=images/stock-about-16.png 0644 root root f none share/gmtp/audio-x-mp3-playlist.png=images/audio-x-mp3-playlist.png 0644 root root f none share/gmtp/audio-x-mpeg.png=images/audio-x-mpeg.png 0644 root root f none share/gmtp/folder.png=images/folder.png 0644 root root f none share/gmtp/image-x-generic.png=images/image-x-generic.png 0644 root root f none share/gmtp/media-cdrom-audio.png=images/media-cdrom-audio.png 0644 root root f none share/gmtp/text-plain.png=images/text-plain.png 0644 root root f none share/gmtp/video-x-generic.png=images/video-x-generic.png 0644 root root f none share/gmtp/empty.png=images/empty.png 0644 root root f none share/gmtp/view-refresh.png=images/view-refresh.png 0644 root root f none share/gmtp/logo.png=images/logo.png 0644 root root f none share/gmtp/README=README 0644 root root f none share/gmtp/COPYING=COPYING 0644 root root f none share/gmtp/ChangeLog=ChangeLog 0644 root root f none share/gmtp/AUTHORS=AUTHORS 0644 root root f none share/gconf/schemas/gmtp.schemas=misc/gmtp.schemas 0644 root root f none share/pixmaps/gmtpicon.png=images/gmtpicon.png 0644 root root f none share/applications/gmtp.desktop=misc/gmtp.desktop 0644 root root f none share/locale/es/LC_MESSAGES/gmtp.mo=po/es.gmo 0644 root root f none share/locale/fr/LC_MESSAGES/gmtp.mo=po/fr.gmo 0644 root root f none share/locale/it/LC_MESSAGES/gmtp.mo=po/it.gmo 0644 root root f none share/locale/da/LC_MESSAGES/gmtp.mo=po/da.gmo 0644 root root f none share/locale/de/LC_MESSAGES/gmtp.mo=po/de.gmo 0644 root root f none share/locale/ru/LC_MESSAGES/gmtp.mo=po/ru.gmo 0644 root root f none share/locale/en_AU/LC_MESSAGES/gmtp.mo=po/en_AU.gmo 0644 root root gmtp-1.3.10/config/0000755000175000001440000000000012660314456011014 500000000000000gmtp-1.3.10/config/config.rpath0000755000175000001440000003744412637435103013255 00000000000000#! /bin/sh # Output a system dependent set of variables, describing how to set the # run time search path of shared libraries in an executable. # # Copyright 1996-2006 Free Software Foundation, Inc. # Taken from GNU libtool, 2001 # Originally by Gordon Matzigkeit , 1996 # # 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. # # The first argument passed to this file is the canonical host specification, # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM # or # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM # The environment variables CC, GCC, LDFLAGS, LD, with_gnu_ld # should be set by the caller. # # The set of defined variables is at the end of this script. # Known limitations: # - On IRIX 6.5 with CC="cc", the run time search patch must not be longer # than 256 bytes, otherwise the compiler driver will dump core. The only # known workaround is to choose shorter directory names for the build # directory and/or the installation directory. # All known linkers require a `.a' archive for static linking (except MSVC, # which needs '.lib'). libext=a shrext=.so host="$1" host_cpu=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` host_vendor=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` host_os=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` # Code taken from libtool.m4's _LT_CC_BASENAME. for cc_temp in $CC""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`echo "$cc_temp" | sed -e 's%^.*/%%'` # Code taken from libtool.m4's AC_LIBTOOL_PROG_COMPILER_PIC. wl= if test "$GCC" = yes; then wl='-Wl,' else case "$host_os" in aix*) wl='-Wl,' ;; darwin*) case $cc_basename in xlc*) wl='-Wl,' ;; esac ;; mingw* | pw32* | os2*) ;; hpux9* | hpux10* | hpux11*) wl='-Wl,' ;; irix5* | irix6* | nonstopux*) wl='-Wl,' ;; newsos6) ;; linux*) case $cc_basename in icc* | ecc*) wl='-Wl,' ;; pgcc | pgf77 | pgf90) wl='-Wl,' ;; ccc*) wl='-Wl,' ;; como) wl='-lopt=' ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) wl='-Wl,' ;; esac ;; esac ;; osf3* | osf4* | osf5*) wl='-Wl,' ;; sco3.2v5*) ;; solaris*) wl='-Wl,' ;; sunos4*) wl='-Qoption ld ' ;; sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) wl='-Wl,' ;; sysv4*MP*) ;; unicos*) wl='-Wl,' ;; uts4*) ;; esac fi # Code taken from libtool.m4's AC_LIBTOOL_PROG_LD_SHLIBS. hardcode_libdir_flag_spec= hardcode_libdir_separator= hardcode_direct=no hardcode_minus_L=no case "$host_os" in cygwin* | mingw* | pw32*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. if test "$GCC" != yes; then with_gnu_ld=no fi ;; interix*) # we just hope/assume this is gcc and not c89 (= MSVC++) with_gnu_ld=yes ;; openbsd*) with_gnu_ld=no ;; esac ld_shlibs=yes if test "$with_gnu_ld" = yes; then # Set some defaults for GNU ld with shared library support. These # are reset later if shared libraries are not supported. Putting them # here allows them to be overridden if necessary. # Unlike libtool, we use -rpath here, not --rpath, since the documented # option of GNU ld is called -rpath, not --rpath. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' case "$host_os" in aix3* | aix4* | aix5*) # On AIX/PPC, the GNU linker is very broken if test "$host_cpu" != ia64; then ld_shlibs=no fi ;; amigaos*) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes # Samuel A. Falvo II reports # that the semantics of dynamic libraries on AmigaOS, at least up # to version 4, is to share data among multiple programs linked # with the same dynamic library. Since this doesn't match the # behavior of shared libraries on other platforms, we cannot use # them. ld_shlibs=no ;; beos*) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then : else ld_shlibs=no fi ;; cygwin* | mingw* | pw32*) # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. hardcode_libdir_flag_spec='-L$libdir' if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then : else ld_shlibs=no fi ;; interix3*) hardcode_direct=no hardcode_libdir_flag_spec='${wl}-rpath,$libdir' ;; linux*) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then : else ld_shlibs=no fi ;; netbsd*) ;; solaris*) if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then ld_shlibs=no elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then : else ld_shlibs=no fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) case `$LD -v 2>&1` in *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) ld_shlibs=no ;; *) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' else ld_shlibs=no fi ;; esac ;; sunos4*) hardcode_direct=yes ;; *) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then : else ld_shlibs=no fi ;; esac if test "$ld_shlibs" = no; then hardcode_libdir_flag_spec= fi else case "$host_os" in aix3*) # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. hardcode_minus_L=yes if test "$GCC" = yes; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. hardcode_direct=unsupported fi ;; aix4* | aix5*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no else aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[23]|aix4.[23].*|aix5*) for ld_flag in $LDFLAGS; do if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then aix_use_runtimelinking=yes break fi done ;; esac fi hardcode_direct=yes hardcode_libdir_separator=':' if test "$GCC" = yes; then case $host_os in aix4.[012]|aix4.[012].*) collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && \ strings "$collect2name" | grep resolve_lib_name >/dev/null then # We have reworked collect2 hardcode_direct=yes else # We have old collect2 hardcode_direct=unsupported hardcode_minus_L=yes hardcode_libdir_flag_spec='-L$libdir' hardcode_libdir_separator= fi ;; esac fi # Begin _LT_AC_SYS_LIBPATH_AIX. echo 'int main () { return 0; }' > conftest.c ${CC} ${LDFLAGS} conftest.c -o conftest aix_libpath=`dump -H conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'` if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'` fi if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib" fi rm -f conftest.c conftest # End _LT_AC_SYS_LIBPATH_AIX. if test "$aix_use_runtimelinking" = yes; then hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" else if test "$host_cpu" = ia64; then hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' else hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" fi fi ;; amigaos*) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes # see comment about different semantics on the GNU ld section ld_shlibs=no ;; bsdi[45]*) ;; cygwin* | mingw* | pw32*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. hardcode_libdir_flag_spec=' ' libext=lib ;; darwin* | rhapsody*) hardcode_direct=no if test "$GCC" = yes ; then : else case $cc_basename in xlc*) ;; *) ld_shlibs=no ;; esac fi ;; dgux*) hardcode_libdir_flag_spec='-L$libdir' ;; freebsd1*) ld_shlibs=no ;; freebsd2.2*) hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes ;; freebsd2*) hardcode_direct=yes hardcode_minus_L=yes ;; freebsd* | kfreebsd*-gnu | dragonfly*) hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes ;; hpux9*) hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: hardcode_direct=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes ;; hpux10*) if test "$with_gnu_ld" = no; then hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: hardcode_direct=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes fi ;; hpux11*) if test "$with_gnu_ld" = no; then hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: case $host_cpu in hppa*64*|ia64*) hardcode_direct=no ;; *) hardcode_direct=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes ;; esac fi ;; irix5* | irix6* | nonstopux*) hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: ;; netbsd*) hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes ;; newsos6) hardcode_direct=yes hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: ;; openbsd*) hardcode_direct=yes if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then hardcode_libdir_flag_spec='${wl}-rpath,$libdir' else case "$host_os" in openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) hardcode_libdir_flag_spec='-R$libdir' ;; *) hardcode_libdir_flag_spec='${wl}-rpath,$libdir' ;; esac fi ;; os2*) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes ;; osf3*) hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: ;; osf4* | osf5*) if test "$GCC" = yes; then hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' else # Both cc and cxx compiler support -rpath directly hardcode_libdir_flag_spec='-rpath $libdir' fi hardcode_libdir_separator=: ;; solaris*) hardcode_libdir_flag_spec='-R$libdir' ;; sunos4*) hardcode_libdir_flag_spec='-L$libdir' hardcode_direct=yes hardcode_minus_L=yes ;; sysv4) case $host_vendor in sni) hardcode_direct=yes # is this really true??? ;; siemens) hardcode_direct=no ;; motorola) hardcode_direct=no #Motorola manual says yes, but my tests say they lie ;; esac ;; sysv4.3*) ;; sysv4*MP*) if test -d /usr/nec; then ld_shlibs=yes fi ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*) ;; sysv5* | sco3.2v5* | sco5v6*) hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' hardcode_libdir_separator=':' ;; uts4*) hardcode_libdir_flag_spec='-L$libdir' ;; *) ld_shlibs=no ;; esac fi # Check dynamic linker characteristics # Code taken from libtool.m4's AC_LIBTOOL_SYS_DYNAMIC_LINKER. libname_spec='lib$name' case "$host_os" in aix3*) ;; aix4* | aix5*) ;; amigaos*) ;; beos*) ;; bsdi[45]*) ;; cygwin* | mingw* | pw32*) shrext=.dll ;; darwin* | rhapsody*) shrext=.dylib ;; dgux*) ;; freebsd1*) ;; kfreebsd*-gnu) ;; freebsd* | dragonfly*) ;; gnu*) ;; hpux9* | hpux10* | hpux11*) case $host_cpu in ia64*) shrext=.so ;; hppa*64*) shrext=.sl ;; *) shrext=.sl ;; esac ;; interix3*) ;; irix5* | irix6* | nonstopux*) case "$host_os" in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= ;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 ;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 ;; *) libsuff= shlibsuff= ;; esac ;; esac ;; linux*oldld* | linux*aout* | linux*coff*) ;; linux*) ;; knetbsd*-gnu) ;; netbsd*) ;; newsos6) ;; nto-qnx*) ;; openbsd*) ;; os2*) libname_spec='$name' shrext=.dll ;; osf3* | osf4* | osf5*) ;; solaris*) ;; sunos4*) ;; sysv4 | sysv4.3*) ;; sysv4*MP*) ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) ;; uts4*) ;; esac sed_quote_subst='s/\(["`$\\]\)/\\\1/g' escaped_wl=`echo "X$wl" | sed -e 's/^X//' -e "$sed_quote_subst"` shlibext=`echo "$shrext" | sed -e 's,^\.,,'` escaped_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` LC_ALL=C sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that # program. This Exception is an additional permission under section 7 # of the GNU General Public License, version 3 ("GPLv3"). # Please send patches to . # # Configuration subroutine to validate and canonicalize a configuration type. # Supply the specified configuration type as an argument. # If it is invalid, we print an error message on stderr and exit with code 1. # Otherwise, we print the canonical config type on stdout and succeed. # You can get the latest version of this script from: # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD # This file is supposed to be the same for all GNU packages # and recognize all the CPU types, system types and aliases # that are meaningful with *any* GNU software. # Each package is responsible for reporting which valid configurations # it does not support. The user should be able to distinguish # a failure to support a valid configuration from a meaningless # configuration. # The goal of this file is to map all the various variations of a given # machine specification into a single specification in the form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM # or in some cases, the newer four-part form: # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM # It is wrong to echo any other type of specification. me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] CPU-MFR-OPSYS $0 [OPTION] ALIAS Canonicalize a configuration name. Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.sub ($timestamp) Copyright 1992-2014 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit ;; --version | -v ) echo "$version" ; exit ;; --help | --h* | -h ) echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" exit 1 ;; *local*) # First pass through any local machine types. echo $1 exit ;; * ) break ;; esac done case $# in 0) echo "$me: missing argument$help" >&2 exit 1;; 1) ;; *) echo "$me: too many arguments$help" >&2 exit 1;; esac # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). # Here we must recognize all the valid KERNEL-OS combinations. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ knetbsd*-gnu* | netbsd*-gnu* | \ kopensolaris*-gnu* | \ storm-chaos* | os2-emx* | rtmk-nova*) os=-$maybe_os basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` ;; android-linux) os=-linux-android basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown ;; *) basic_machine=`echo $1 | sed 's/-[^-]*$//'` if [ $basic_machine != $1 ] then os=`echo $1 | sed 's/.*-/-/'` else os=; fi ;; esac ### Let's recognize common machines as not being operating systems so ### that things like config.sub decstation-3100 work. We also ### recognize some manufacturers as not being operating systems, so we ### can provide default operating systems below. case $os in -sun*os*) # Prevent following clause from handling this invalid input. ;; -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ -apple | -axis | -knuth | -cray | -microblaze*) os= basic_machine=$1 ;; -bluegene*) os=-cnk ;; -sim | -cisco | -oki | -wec | -winbond) os= basic_machine=$1 ;; -scout) ;; -wrs) os=-vxworks basic_machine=$1 ;; -chorusos*) os=-chorusos basic_machine=$1 ;; -chorusrdb) os=-chorusrdb basic_machine=$1 ;; -hiux*) os=-hiuxwe2 ;; -sco6) os=-sco5v6 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco5) os=-sco3.2v5 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco4) os=-sco3.2v4 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco3.2.[4-9]*) os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco3.2v[4-9]*) # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco5v6*) # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco*) os=-sco3.2v2 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -udk*) basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -isc) os=-isc2.2 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -clix*) basic_machine=clipper-intergraph ;; -isc*) basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -lynx*178) os=-lynxos178 ;; -lynx*5) os=-lynxos5 ;; -lynx*) os=-lynxos ;; -ptx*) basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` ;; -windowsnt*) os=`echo $os | sed -e 's/windowsnt/winnt/'` ;; -psos*) os=-psos ;; -mint | -mint[0-9]*) basic_machine=m68k-atari os=-mint ;; esac # Decode aliases for certain CPU-COMPANY combinations. case $basic_machine in # Recognize the basic CPU types without company name. # Some are omitted here because they have special meanings below. 1750a | 580 \ | a29k \ | aarch64 | aarch64_be \ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | am33_2.0 \ | arc | arceb \ | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \ | avr | avr32 \ | be32 | be64 \ | bfin \ | c4x | c8051 | clipper \ | d10v | d30v | dlx | dsp16xx \ | epiphany \ | fido | fr30 | frv \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | hexagon \ | i370 | i860 | i960 | ia64 \ | ip2k | iq2000 \ | k1om \ | le32 | le64 \ | lm32 \ | m32c | m32r | m32rle | m68000 | m68k | m88k \ | maxq | mb | microblaze | microblazeel | mcore | mep | metag \ | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ | mips64octeon | mips64octeonel \ | mips64orion | mips64orionel \ | mips64r5900 | mips64r5900el \ | mips64vr | mips64vrel \ | mips64vr4100 | mips64vr4100el \ | mips64vr4300 | mips64vr4300el \ | mips64vr5000 | mips64vr5000el \ | mips64vr5900 | mips64vr5900el \ | mipsisa32 | mipsisa32el \ | mipsisa32r2 | mipsisa32r2el \ | mipsisa32r6 | mipsisa32r6el \ | mipsisa64 | mipsisa64el \ | mipsisa64r2 | mipsisa64r2el \ | mipsisa64r6 | mipsisa64r6el \ | mipsisa64sb1 | mipsisa64sb1el \ | mipsisa64sr71k | mipsisa64sr71kel \ | mipsr5900 | mipsr5900el \ | mipstx39 | mipstx39el \ | mn10200 | mn10300 \ | moxie \ | mt \ | msp430 \ | nds32 | nds32le | nds32be \ | nios | nios2 | nios2eb | nios2el \ | ns16k | ns32k \ | open8 | or1k | or1knd | or32 \ | pdp10 | pdp11 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle \ | pyramid \ | riscv32 | riscv64 \ | rl78 | rx \ | score \ | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ | sh64 | sh64le \ | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ | spu \ | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ | ubicom32 \ | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \ | visium \ | we32k \ | x86 | xc16x | xstormy16 | xtensa \ | z8k | z80) basic_machine=$basic_machine-unknown ;; c54x) basic_machine=tic54x-unknown ;; c55x) basic_machine=tic55x-unknown ;; c6x) basic_machine=tic6x-unknown ;; leon|leon[3-9]) basic_machine=sparc-$basic_machine ;; m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip) basic_machine=$basic_machine-unknown os=-none ;; m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) ;; ms1) basic_machine=mt-unknown ;; strongarm | thumb | xscale) basic_machine=arm-unknown ;; xgate) basic_machine=$basic_machine-unknown os=-none ;; xscaleeb) basic_machine=armeb-unknown ;; xscaleel) basic_machine=armel-unknown ;; # We use `pc' rather than `unknown' # because (1) that's what they normally are, and # (2) the word "unknown" tends to confuse beginning users. i*86 | x86_64) basic_machine=$basic_machine-pc ;; # Object if more than one company name word. *-*-*) echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 exit 1 ;; # Recognize the basic CPU types with company name. 580-* \ | a29k-* \ | aarch64-* | aarch64_be-* \ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | avr-* | avr32-* \ | be32-* | be64-* \ | bfin-* | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* \ | c8051-* | clipper-* | craynv-* | cydra-* \ | d10v-* | d30v-* | dlx-* \ | elxsi-* \ | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ | h8300-* | h8500-* \ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | hexagon-* \ | i*86-* | i860-* | i960-* | ia64-* \ | ip2k-* | iq2000-* \ | k1om-* \ | le32-* | le64-* \ | lm32-* \ | m32c-* | m32r-* | m32rle-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ | microblaze-* | microblazeel-* \ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | mips16-* \ | mips64-* | mips64el-* \ | mips64octeon-* | mips64octeonel-* \ | mips64orion-* | mips64orionel-* \ | mips64r5900-* | mips64r5900el-* \ | mips64vr-* | mips64vrel-* \ | mips64vr4100-* | mips64vr4100el-* \ | mips64vr4300-* | mips64vr4300el-* \ | mips64vr5000-* | mips64vr5000el-* \ | mips64vr5900-* | mips64vr5900el-* \ | mipsisa32-* | mipsisa32el-* \ | mipsisa32r2-* | mipsisa32r2el-* \ | mipsisa32r6-* | mipsisa32r6el-* \ | mipsisa64-* | mipsisa64el-* \ | mipsisa64r2-* | mipsisa64r2el-* \ | mipsisa64r6-* | mipsisa64r6el-* \ | mipsisa64sb1-* | mipsisa64sb1el-* \ | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | mipsr5900-* | mipsr5900el-* \ | mipstx39-* | mipstx39el-* \ | mmix-* \ | mt-* \ | msp430-* \ | nds32-* | nds32le-* | nds32be-* \ | nios-* | nios2-* | nios2eb-* | nios2el-* \ | none-* | np1-* | ns16k-* | ns32k-* \ | open8-* \ | or1k*-* \ | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ | pyramid-* \ | rl78-* | romp-* | rs6000-* | rx-* \ | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ | sparclite-* \ | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \ | tahoe-* \ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | tile*-* \ | tron-* \ | ubicom32-* \ | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \ | vax-* \ | visium-* \ | we32k-* \ | x86-* | x86_64-* | xc16x-* | xps100-* \ | xstormy16-* | xtensa*-* \ | ymp-* \ | z8k-* | z80-*) ;; # Recognize the basic CPU types without company name, with glob match. xtensa*) basic_machine=$basic_machine-unknown ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS. 386bsd) basic_machine=i386-unknown os=-bsd ;; 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) basic_machine=m68000-att ;; 3b*) basic_machine=we32k-att ;; a29khif) basic_machine=a29k-amd os=-udi ;; abacus) basic_machine=abacus-unknown ;; adobe68k) basic_machine=m68010-adobe os=-scout ;; alliant | fx80) basic_machine=fx80-alliant ;; altos | altos3068) basic_machine=m68k-altos ;; am29k) basic_machine=a29k-none os=-bsd ;; amd64) basic_machine=x86_64-pc ;; amd64-*) basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` ;; amdahl) basic_machine=580-amdahl os=-sysv ;; amiga | amiga-*) basic_machine=m68k-unknown ;; amigaos | amigados) basic_machine=m68k-unknown os=-amigaos ;; amigaunix | amix) basic_machine=m68k-unknown os=-sysv4 ;; apollo68) basic_machine=m68k-apollo os=-sysv ;; apollo68bsd) basic_machine=m68k-apollo os=-bsd ;; aros) basic_machine=i386-pc os=-aros ;; aux) basic_machine=m68k-apple os=-aux ;; balance) basic_machine=ns32k-sequent os=-dynix ;; blackfin) basic_machine=bfin-unknown os=-linux ;; blackfin-*) basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` os=-linux ;; bluegene*) basic_machine=powerpc-ibm os=-cnk ;; c54x-*) basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'` ;; c55x-*) basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'` ;; c6x-*) basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'` ;; c90) basic_machine=c90-cray os=-unicos ;; cegcc) basic_machine=arm-unknown os=-cegcc ;; convex-c1) basic_machine=c1-convex os=-bsd ;; convex-c2) basic_machine=c2-convex os=-bsd ;; convex-c32) basic_machine=c32-convex os=-bsd ;; convex-c34) basic_machine=c34-convex os=-bsd ;; convex-c38) basic_machine=c38-convex os=-bsd ;; cray | j90) basic_machine=j90-cray os=-unicos ;; craynv) basic_machine=craynv-cray os=-unicosmp ;; cr16 | cr16-*) basic_machine=cr16-unknown os=-elf ;; crds | unos) basic_machine=m68k-crds ;; crisv32 | crisv32-* | etraxfs*) basic_machine=crisv32-axis ;; cris | cris-* | etrax*) basic_machine=cris-axis ;; crx) basic_machine=crx-unknown os=-elf ;; da30 | da30-*) basic_machine=m68k-da30 ;; decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) basic_machine=mips-dec ;; decsystem10* | dec10*) basic_machine=pdp10-dec os=-tops10 ;; decsystem20* | dec20*) basic_machine=pdp10-dec os=-tops20 ;; delta | 3300 | motorola-3300 | motorola-delta \ | 3300-motorola | delta-motorola) basic_machine=m68k-motorola ;; delta88) basic_machine=m88k-motorola os=-sysv3 ;; dicos) basic_machine=i686-pc os=-dicos ;; djgpp) basic_machine=i586-pc os=-msdosdjgpp ;; dpx20 | dpx20-*) basic_machine=rs6000-bull os=-bosx ;; dpx2* | dpx2*-bull) basic_machine=m68k-bull os=-sysv3 ;; ebmon29k) basic_machine=a29k-amd os=-ebmon ;; elxsi) basic_machine=elxsi-elxsi os=-bsd ;; encore | umax | mmax) basic_machine=ns32k-encore ;; es1800 | OSE68k | ose68k | ose | OSE) basic_machine=m68k-ericsson os=-ose ;; fx2800) basic_machine=i860-alliant ;; genix) basic_machine=ns32k-ns ;; gmicro) basic_machine=tron-gmicro os=-sysv ;; go32) basic_machine=i386-pc os=-go32 ;; h3050r* | hiux*) basic_machine=hppa1.1-hitachi os=-hiuxwe2 ;; h8300hms) basic_machine=h8300-hitachi os=-hms ;; h8300xray) basic_machine=h8300-hitachi os=-xray ;; h8500hms) basic_machine=h8500-hitachi os=-hms ;; harris) basic_machine=m88k-harris os=-sysv3 ;; hp300-*) basic_machine=m68k-hp ;; hp300bsd) basic_machine=m68k-hp os=-bsd ;; hp300hpux) basic_machine=m68k-hp os=-hpux ;; hp3k9[0-9][0-9] | hp9[0-9][0-9]) basic_machine=hppa1.0-hp ;; hp9k2[0-9][0-9] | hp9k31[0-9]) basic_machine=m68000-hp ;; hp9k3[2-9][0-9]) basic_machine=m68k-hp ;; hp9k6[0-9][0-9] | hp6[0-9][0-9]) basic_machine=hppa1.0-hp ;; hp9k7[0-79][0-9] | hp7[0-79][0-9]) basic_machine=hppa1.1-hp ;; hp9k78[0-9] | hp78[0-9]) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[0-9][13679] | hp8[0-9][13679]) basic_machine=hppa1.1-hp ;; hp9k8[0-9][0-9] | hp8[0-9][0-9]) basic_machine=hppa1.0-hp ;; hppa-next) os=-nextstep3 ;; hppaosf) basic_machine=hppa1.1-hp os=-osf ;; hppro) basic_machine=hppa1.1-hp os=-proelf ;; i370-ibm* | ibm*) basic_machine=i370-ibm ;; i*86v32) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv32 ;; i*86v4*) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv4 ;; i*86v) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv ;; i*86sol2) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-solaris2 ;; i386mach) basic_machine=i386-mach os=-mach ;; i386-vsta | vsta) basic_machine=i386-unknown os=-vsta ;; iris | iris4d) basic_machine=mips-sgi case $os in -irix*) ;; *) os=-irix4 ;; esac ;; isi68 | isi) basic_machine=m68k-isi os=-sysv ;; leon-*|leon[3-9]-*) basic_machine=sparc-`echo $basic_machine | sed 's/-.*//'` ;; m68knommu) basic_machine=m68k-unknown os=-linux ;; m68knommu-*) basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` os=-linux ;; m88k-omron*) basic_machine=m88k-omron ;; magnum | m3230) basic_machine=mips-mips os=-sysv ;; merlin) basic_machine=ns32k-utek os=-sysv ;; microblaze*) basic_machine=microblaze-xilinx ;; mingw64) basic_machine=x86_64-pc os=-mingw64 ;; mingw32) basic_machine=i686-pc os=-mingw32 ;; mingw32ce) basic_machine=arm-unknown os=-mingw32ce ;; miniframe) basic_machine=m68000-convergent ;; *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) basic_machine=m68k-atari os=-mint ;; mips3*-*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` ;; mips3*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown ;; monitor) basic_machine=m68k-rom68k os=-coff ;; morphos) basic_machine=powerpc-unknown os=-morphos ;; moxiebox) basic_machine=moxie-unknown os=-moxiebox ;; msdos) basic_machine=i386-pc os=-msdos ;; ms1-*) basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` ;; msys) basic_machine=i686-pc os=-msys ;; mvs) basic_machine=i370-ibm os=-mvs ;; nacl) basic_machine=le32-unknown os=-nacl ;; ncr3000) basic_machine=i486-ncr os=-sysv4 ;; netbsd386) basic_machine=i386-unknown os=-netbsd ;; netwinder) basic_machine=armv4l-rebel os=-linux ;; news | news700 | news800 | news900) basic_machine=m68k-sony os=-newsos ;; news1000) basic_machine=m68030-sony os=-newsos ;; news-3600 | risc-news) basic_machine=mips-sony os=-newsos ;; necv70) basic_machine=v70-nec os=-sysv ;; next | m*-next ) basic_machine=m68k-next case $os in -nextstep* ) ;; -ns2*) os=-nextstep2 ;; *) os=-nextstep3 ;; esac ;; nh3000) basic_machine=m68k-harris os=-cxux ;; nh[45]000) basic_machine=m88k-harris os=-cxux ;; nindy960) basic_machine=i960-intel os=-nindy ;; mon960) basic_machine=i960-intel os=-mon960 ;; nonstopux) basic_machine=mips-compaq os=-nonstopux ;; np1) basic_machine=np1-gould ;; neo-tandem) basic_machine=neo-tandem ;; nse-tandem) basic_machine=nse-tandem ;; nsr-tandem) basic_machine=nsr-tandem ;; op50n-* | op60c-*) basic_machine=hppa1.1-oki os=-proelf ;; openrisc | openrisc-*) basic_machine=or32-unknown ;; os400) basic_machine=powerpc-ibm os=-os400 ;; OSE68000 | ose68000) basic_machine=m68000-ericsson os=-ose ;; os68k) basic_machine=m68k-none os=-os68k ;; pa-hitachi) basic_machine=hppa1.1-hitachi os=-hiuxwe2 ;; paragon) basic_machine=i860-intel os=-osf ;; parisc) basic_machine=hppa-unknown os=-linux ;; parisc-*) basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'` os=-linux ;; pbd) basic_machine=sparc-tti ;; pbb) basic_machine=m68k-tti ;; pc532 | pc532-*) basic_machine=ns32k-pc532 ;; pc98) basic_machine=i386-pc ;; pc98-*) basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentium | p5 | k5 | k6 | nexgen | viac3) basic_machine=i586-pc ;; pentiumpro | p6 | 6x86 | athlon | athlon_*) basic_machine=i686-pc ;; pentiumii | pentium2 | pentiumiii | pentium3) basic_machine=i686-pc ;; pentium4) basic_machine=i786-pc ;; pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentiumpro-* | p6-* | 6x86-* | athlon-*) basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentium4-*) basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pn) basic_machine=pn-gould ;; power) basic_machine=power-ibm ;; ppc | ppcbe) basic_machine=powerpc-unknown ;; ppc-* | ppcbe-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppcle | powerpclittle | ppc-le | powerpc-little) basic_machine=powerpcle-unknown ;; ppcle-* | powerpclittle-*) basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppc64) basic_machine=powerpc64-unknown ;; ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppc64le | powerpc64little | ppc64-le | powerpc64-little) basic_machine=powerpc64le-unknown ;; ppc64le-* | powerpc64little-*) basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ps2) basic_machine=i386-ibm ;; pw32) basic_machine=i586-unknown os=-pw32 ;; rdos | rdos64) basic_machine=x86_64-pc os=-rdos ;; rdos32) basic_machine=i386-pc os=-rdos ;; rom68k) basic_machine=m68k-rom68k os=-coff ;; rm[46]00) basic_machine=mips-siemens ;; rtpc | rtpc-*) basic_machine=romp-ibm ;; s390 | s390-*) basic_machine=s390-ibm ;; s390x | s390x-*) basic_machine=s390x-ibm ;; sa29200) basic_machine=a29k-amd os=-udi ;; sb1) basic_machine=mipsisa64sb1-unknown ;; sb1el) basic_machine=mipsisa64sb1el-unknown ;; sde) basic_machine=mipsisa32-sde os=-elf ;; sei) basic_machine=mips-sei os=-seiux ;; sequent) basic_machine=i386-sequent ;; sh) basic_machine=sh-hitachi os=-hms ;; sh5el) basic_machine=sh5le-unknown ;; sh64) basic_machine=sh64-unknown ;; sparclite-wrs | simso-wrs) basic_machine=sparclite-wrs os=-vxworks ;; sps7) basic_machine=m68k-bull os=-sysv2 ;; spur) basic_machine=spur-unknown ;; st2000) basic_machine=m68k-tandem ;; stratus) basic_machine=i860-stratus os=-sysv4 ;; strongarm-* | thumb-*) basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'` ;; sun2) basic_machine=m68000-sun ;; sun2os3) basic_machine=m68000-sun os=-sunos3 ;; sun2os4) basic_machine=m68000-sun os=-sunos4 ;; sun3os3) basic_machine=m68k-sun os=-sunos3 ;; sun3os4) basic_machine=m68k-sun os=-sunos4 ;; sun4os3) basic_machine=sparc-sun os=-sunos3 ;; sun4os4) basic_machine=sparc-sun os=-sunos4 ;; sun4sol2) basic_machine=sparc-sun os=-solaris2 ;; sun3 | sun3-*) basic_machine=m68k-sun ;; sun4) basic_machine=sparc-sun ;; sun386 | sun386i | roadrunner) basic_machine=i386-sun ;; sv1) basic_machine=sv1-cray os=-unicos ;; symmetry) basic_machine=i386-sequent os=-dynix ;; t3e) basic_machine=alphaev5-cray os=-unicos ;; t90) basic_machine=t90-cray os=-unicos ;; tile*) basic_machine=$basic_machine-unknown os=-linux-gnu ;; tx39) basic_machine=mipstx39-unknown ;; tx39el) basic_machine=mipstx39el-unknown ;; toad1) basic_machine=pdp10-xkl os=-tops20 ;; tower | tower-32) basic_machine=m68k-ncr ;; tpf) basic_machine=s390x-ibm os=-tpf ;; udi29k) basic_machine=a29k-amd os=-udi ;; ultra3) basic_machine=a29k-nyu os=-sym1 ;; v810 | necv810) basic_machine=v810-nec os=-none ;; vaxv) basic_machine=vax-dec os=-sysv ;; vms) basic_machine=vax-dec os=-vms ;; vpp*|vx|vx-*) basic_machine=f301-fujitsu ;; vxworks960) basic_machine=i960-wrs os=-vxworks ;; vxworks68) basic_machine=m68k-wrs os=-vxworks ;; vxworks29k) basic_machine=a29k-wrs os=-vxworks ;; w65*) basic_machine=w65-wdc os=-none ;; w89k-*) basic_machine=hppa1.1-winbond os=-proelf ;; xbox) basic_machine=i686-pc os=-mingw32 ;; xps | xps100) basic_machine=xps100-honeywell ;; xscale-* | xscalee[bl]-*) basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'` ;; ymp) basic_machine=ymp-cray os=-unicos ;; z8k-*-coff) basic_machine=z8k-unknown os=-sim ;; z80-*-coff) basic_machine=z80-unknown os=-sim ;; none) basic_machine=none-none os=-none ;; # Here we handle the default manufacturer of certain CPU types. It is in # some cases the only manufacturer, in others, it is the most popular. w89k) basic_machine=hppa1.1-winbond ;; op50n) basic_machine=hppa1.1-oki ;; op60c) basic_machine=hppa1.1-oki ;; romp) basic_machine=romp-ibm ;; mmix) basic_machine=mmix-knuth ;; rs6000) basic_machine=rs6000-ibm ;; vax) basic_machine=vax-dec ;; pdp10) # there are many clones, so DEC is not a safe bet basic_machine=pdp10-unknown ;; pdp11) basic_machine=pdp11-dec ;; we32k) basic_machine=we32k-att ;; sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele) basic_machine=sh-unknown ;; sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) basic_machine=sparc-sun ;; cydra) basic_machine=cydra-cydrome ;; orion) basic_machine=orion-highlevel ;; orion105) basic_machine=clipper-highlevel ;; mac | mpw | mac-mpw) basic_machine=m68k-apple ;; pmac | pmac-mpw) basic_machine=powerpc-apple ;; *-unknown) # Make sure to match an already-canonicalized machine name. ;; *) echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 exit 1 ;; esac # Here we canonicalize certain aliases for manufacturers. case $basic_machine in *-digital*) basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` ;; *-commodore*) basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` ;; *) ;; esac # Decode manufacturer-specific aliases for certain operating systems. if [ x"$os" != x"" ] then case $os in # First match some system type aliases # that might get confused with valid system types. # -solaris* is a basic system type, with this one exception. -auroraux) os=-auroraux ;; -solaris1 | -solaris1.*) os=`echo $os | sed -e 's|solaris1|sunos4|'` ;; -solaris) os=-solaris2 ;; -svr4*) os=-sysv4 ;; -unixware*) os=-sysv4.2uw ;; -gnu/linux*) os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` ;; # First accept the basic system types. # The portable systems comes first. # Each alternative MUST END IN A *, to match a version number. # -sysv* is not here because it comes later, after sysvr4. -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ | -sym* | -kopensolaris* | -plan9* \ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ | -aos* | -aros* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ | -bitrig* | -openbsd* | -solidbsd* \ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | -chorusos* | -chorusrdb* | -cegcc* \ | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ | -linux-newlib* | -linux-musl* | -linux-uclibc* \ | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* | -tirtos*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) case $basic_machine in x86-* | i*86-*) ;; *) os=-nto$os ;; esac ;; -nto-qnx*) ;; -nto*) os=`echo $os | sed -e 's|nto|nto-qnx|'` ;; -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) ;; -mac*) os=`echo $os | sed -e 's|mac|macos|'` ;; -linux-dietlibc) os=-linux-dietlibc ;; -linux*) os=`echo $os | sed -e 's|linux|linux-gnu|'` ;; -sunos5*) os=`echo $os | sed -e 's|sunos5|solaris2|'` ;; -sunos6*) os=`echo $os | sed -e 's|sunos6|solaris3|'` ;; -opened*) os=-openedition ;; -os400*) os=-os400 ;; -wince*) os=-wince ;; -osfrose*) os=-osfrose ;; -osf*) os=-osf ;; -utek*) os=-bsd ;; -dynix*) os=-bsd ;; -acis*) os=-aos ;; -atheos*) os=-atheos ;; -syllable*) os=-syllable ;; -386bsd) os=-bsd ;; -ctix* | -uts*) os=-sysv ;; -nova*) os=-rtmk-nova ;; -ns2 ) os=-nextstep2 ;; -nsk*) os=-nsk ;; # Preserve the version number of sinix5. -sinix5.*) os=`echo $os | sed -e 's|sinix|sysv|'` ;; -sinix*) os=-sysv4 ;; -tpf*) os=-tpf ;; -triton*) os=-sysv3 ;; -oss*) os=-sysv3 ;; -svr4) os=-sysv4 ;; -svr3) os=-sysv3 ;; -sysvr4) os=-sysv4 ;; # This must come after -sysvr4. -sysv*) ;; -ose*) os=-ose ;; -es1800*) os=-ose ;; -xenix) os=-xenix ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) os=-mint ;; -aros*) os=-aros ;; -zvmoe) os=-zvmoe ;; -dicos*) os=-dicos ;; -nacl*) ;; -none) ;; *) # Get rid of the `-' at the beginning of $os. os=`echo $os | sed 's/[^-]*-//'` echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 exit 1 ;; esac else # Here we handle the default operating systems that come with various machines. # The value should be what the vendor currently ships out the door with their # machine or put another way, the most popular os provided with the machine. # Note that if you're going to try to match "-MANUFACTURER" here (say, # "-sun"), then you have to tell the case statement up towards the top # that MANUFACTURER isn't an operating system. Otherwise, code above # will signal an error saying that MANUFACTURER isn't an operating # system, and we'll never get to this point. case $basic_machine in score-*) os=-elf ;; spu-*) os=-elf ;; *-acorn) os=-riscix1.2 ;; arm*-rebel) os=-linux ;; arm*-semi) os=-aout ;; c4x-* | tic4x-*) os=-coff ;; c8051-*) os=-elf ;; hexagon-*) os=-elf ;; tic54x-*) os=-coff ;; tic55x-*) os=-coff ;; tic6x-*) os=-coff ;; # This must come before the *-dec entry. pdp10-*) os=-tops20 ;; pdp11-*) os=-none ;; *-dec | vax-*) os=-ultrix4.2 ;; m68*-apollo) os=-domain ;; i386-sun) os=-sunos4.0.2 ;; m68000-sun) os=-sunos3 ;; m68*-cisco) os=-aout ;; mep-*) os=-elf ;; mips*-cisco) os=-elf ;; mips*-*) os=-elf ;; or32-*) os=-coff ;; *-tti) # must be before sparc entry or we get the wrong os. os=-sysv3 ;; sparc-* | *-sun) os=-sunos4.1.1 ;; *-be) os=-beos ;; *-haiku) os=-haiku ;; *-ibm) os=-aix ;; *-knuth) os=-mmixware ;; *-wec) os=-proelf ;; *-winbond) os=-proelf ;; *-oki) os=-proelf ;; *-hp) os=-hpux ;; *-hitachi) os=-hiux ;; i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) os=-sysv ;; *-cbm) os=-amigaos ;; *-dg) os=-dgux ;; *-dolphin) os=-sysv3 ;; m68k-ccur) os=-rtu ;; m88k-omron*) os=-luna ;; *-next ) os=-nextstep ;; *-sequent) os=-ptx ;; *-crds) os=-unos ;; *-ns) os=-genix ;; i370-*) os=-mvs ;; *-next) os=-nextstep3 ;; *-gould) os=-sysv ;; *-highlevel) os=-bsd ;; *-encore) os=-bsd ;; *-sgi) os=-irix ;; *-siemens) os=-sysv4 ;; *-masscomp) os=-rtu ;; f30[01]-fujitsu | f700-fujitsu) os=-uxpv ;; *-rom68k) os=-coff ;; *-*bug) os=-coff ;; *-apple) os=-macos ;; *-atari*) os=-mint ;; *) os=-none ;; esac fi # Here we handle the case where we know the os, and the CPU type, but not the # manufacturer. We pick the logical manufacturer. vendor=unknown case $basic_machine in *-unknown) case $os in -riscix*) vendor=acorn ;; -sunos*) vendor=sun ;; -cnk*|-aix*) vendor=ibm ;; -beos*) vendor=be ;; -hpux*) vendor=hp ;; -mpeix*) vendor=hp ;; -hiux*) vendor=hitachi ;; -unos*) vendor=crds ;; -dgux*) vendor=dg ;; -luna*) vendor=omron ;; -genix*) vendor=ns ;; -mvs* | -opened*) vendor=ibm ;; -os400*) vendor=ibm ;; -ptx*) vendor=sequent ;; -tpf*) vendor=ibm ;; -vxsim* | -vxworks* | -windiss*) vendor=wrs ;; -aux*) vendor=apple ;; -hms*) vendor=hitachi ;; -mpw* | -macos*) vendor=apple ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) vendor=atari ;; -vos*) vendor=stratus ;; esac basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` ;; esac echo $basic_machine$os exit # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: gmtp-1.3.10/config/missing0000755000175000001440000001533012637435146012341 00000000000000#! /bin/sh # Common wrapper for a few potentially missing GNU programs. scriptversion=2013-10-28.13; # UTC # Copyright (C) 1996-2014 Free Software Foundation, Inc. # Originally written by Fran,cois Pinard , 1996. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. if test $# -eq 0; then echo 1>&2 "Try '$0 --help' for more information" exit 1 fi case $1 in --is-lightweight) # Used by our autoconf macros to check whether the available missing # script is modern enough. exit 0 ;; --run) # Back-compat with the calling convention used by older automake. shift ;; -h|--h|--he|--hel|--help) echo "\ $0 [OPTION]... PROGRAM [ARGUMENT]... Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due to PROGRAM being missing or too old. Options: -h, --help display this help and exit -v, --version output version information and exit Supported PROGRAM values: aclocal autoconf autoheader autom4te automake makeinfo bison yacc flex lex help2man Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and 'g' are ignored when checking the name. Send bug reports to ." exit $? ;; -v|--v|--ve|--ver|--vers|--versi|--versio|--version) echo "missing $scriptversion (GNU Automake)" exit $? ;; -*) echo 1>&2 "$0: unknown '$1' option" echo 1>&2 "Try '$0 --help' for more information" exit 1 ;; esac # Run the given program, remember its exit status. "$@"; st=$? # If it succeeded, we are done. test $st -eq 0 && exit 0 # Also exit now if we it failed (or wasn't found), and '--version' was # passed; such an option is passed most likely to detect whether the # program is present and works. case $2 in --version|--help) exit $st;; esac # Exit code 63 means version mismatch. This often happens when the user # tries to use an ancient version of a tool on a file that requires a # minimum version. if test $st -eq 63; then msg="probably too old" elif test $st -eq 127; then # Program was missing. msg="missing on your system" else # Program was found and executed, but failed. Give up. exit $st fi perl_URL=http://www.perl.org/ flex_URL=http://flex.sourceforge.net/ gnu_software_URL=http://www.gnu.org/software program_details () { case $1 in aclocal|automake) echo "The '$1' program is part of the GNU Automake package:" echo "<$gnu_software_URL/automake>" echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:" echo "<$gnu_software_URL/autoconf>" echo "<$gnu_software_URL/m4/>" echo "<$perl_URL>" ;; autoconf|autom4te|autoheader) echo "The '$1' program is part of the GNU Autoconf package:" echo "<$gnu_software_URL/autoconf/>" echo "It also requires GNU m4 and Perl in order to run:" echo "<$gnu_software_URL/m4/>" echo "<$perl_URL>" ;; esac } give_advice () { # Normalize program name to check for. normalized_program=`echo "$1" | sed ' s/^gnu-//; t s/^gnu//; t s/^g//; t'` printf '%s\n' "'$1' is $msg." configure_deps="'configure.ac' or m4 files included by 'configure.ac'" case $normalized_program in autoconf*) echo "You should only need it if you modified 'configure.ac'," echo "or m4 files included by it." program_details 'autoconf' ;; autoheader*) echo "You should only need it if you modified 'acconfig.h' or" echo "$configure_deps." program_details 'autoheader' ;; automake*) echo "You should only need it if you modified 'Makefile.am' or" echo "$configure_deps." program_details 'automake' ;; aclocal*) echo "You should only need it if you modified 'acinclude.m4' or" echo "$configure_deps." program_details 'aclocal' ;; autom4te*) echo "You might have modified some maintainer files that require" echo "the 'autom4te' program to be rebuilt." program_details 'autom4te' ;; bison*|yacc*) echo "You should only need it if you modified a '.y' file." echo "You may want to install the GNU Bison package:" echo "<$gnu_software_URL/bison/>" ;; lex*|flex*) echo "You should only need it if you modified a '.l' file." echo "You may want to install the Fast Lexical Analyzer package:" echo "<$flex_URL>" ;; help2man*) echo "You should only need it if you modified a dependency" \ "of a man page." echo "You may want to install the GNU Help2man package:" echo "<$gnu_software_URL/help2man/>" ;; makeinfo*) echo "You should only need it if you modified a '.texi' file, or" echo "any other file indirectly affecting the aspect of the manual." echo "You might want to install the Texinfo package:" echo "<$gnu_software_URL/texinfo/>" echo "The spurious makeinfo call might also be the consequence of" echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might" echo "want to install GNU make:" echo "<$gnu_software_URL/make/>" ;; *) echo "You might have modified some files without having the proper" echo "tools for further handling them. Check the 'README' file, it" echo "often tells you about the needed prerequisites for installing" echo "this package. You may also peek at any GNU archive site, in" echo "case some other package contains this missing '$1' program." ;; esac } give_advice "$1" | sed -e '1s/^/WARNING: /' \ -e '2,$s/^/ /' >&2 # Propagate the correct exit status (expected to be 127 for a program # not found, 63 for a program that failed due to version mismatch). exit $st # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: gmtp-1.3.10/config/config.guess0000755000175000001440000012367212637435146013273 00000000000000#! /bin/sh # Attempt to guess a canonical system name. # Copyright 1992-2014 Free Software Foundation, Inc. timestamp='2014-11-04' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, see . # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that # program. This Exception is an additional permission under section 7 # of the GNU General Public License, version 3 ("GPLv3"). # # Originally written by Per Bothner; maintained since 2000 by Ben Elliston. # # You can get the latest version of this script from: # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD # # Please send patches to . me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] Output the configuration name of the system \`$me' is run on. Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.guess ($timestamp) Originally written by Per Bothner. Copyright 1992-2014 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit ;; --version | -v ) echo "$version" ; exit ;; --help | --h* | -h ) echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" >&2 exit 1 ;; * ) break ;; esac done if test $# != 0; then echo "$me: too many arguments$help" >&2 exit 1 fi trap 'exit 1' 1 2 15 # CC_FOR_BUILD -- compiler used by this script. Note that the use of a # compiler to aid in system detection is discouraged as it requires # temporary files to be created and, as you can see below, it is a # headache to deal with in a portable fashion. # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still # use `HOST_CC' if defined, but it is deprecated. # Portable tmp directory creation inspired by the Autoconf team. set_cc_for_build=' trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; : ${TMPDIR=/tmp} ; { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; dummy=$tmp/dummy ; tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; case $CC_FOR_BUILD,$HOST_CC,$CC in ,,) echo "int x;" > $dummy.c ; for c in cc gcc c89 c99 ; do if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then CC_FOR_BUILD="$c"; break ; fi ; done ; if test x"$CC_FOR_BUILD" = x ; then CC_FOR_BUILD=no_compiler_found ; fi ;; ,,*) CC_FOR_BUILD=$CC ;; ,*,*) CC_FOR_BUILD=$HOST_CC ;; esac ; set_cc_for_build= ;' # This is needed to find uname on a Pyramid OSx when run in the BSD universe. # (ghazi@noc.rutgers.edu 1994-08-24) if (test -f /.attbin/uname) >/dev/null 2>&1 ; then PATH=$PATH:/.attbin ; export PATH fi UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown case "${UNAME_SYSTEM}" in Linux|GNU|GNU/*) # If the system lacks a compiler, then just pick glibc. # We could probably try harder. LIBC=gnu eval $set_cc_for_build cat <<-EOF > $dummy.c #include #if defined(__UCLIBC__) LIBC=uclibc #elif defined(__dietlibc__) LIBC=dietlibc #else LIBC=gnu #endif EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC' | sed 's, ,,g'` ;; esac # Note: order is significant - the case branches are not exclusive. case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in *:NetBSD:*:*) # NetBSD (nbsd) targets should (where applicable) match one or # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*, # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently # switched to ELF, *-*-netbsd* would select the old # object file format. This provides both forward # compatibility and a consistent mechanism for selecting the # object file format. # # Note: NetBSD doesn't particularly care about the vendor # portion of the name. We always set it to "unknown". sysctl="sysctl -n hw.machine_arch" UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ /usr/sbin/$sysctl 2>/dev/null || echo unknown)` case "${UNAME_MACHINE_ARCH}" in armeb) machine=armeb-unknown ;; arm*) machine=arm-unknown ;; sh3el) machine=shl-unknown ;; sh3eb) machine=sh-unknown ;; sh5el) machine=sh5le-unknown ;; *) machine=${UNAME_MACHINE_ARCH}-unknown ;; esac # The Operating System including object format, if it has switched # to ELF recently, or will in the future. case "${UNAME_MACHINE_ARCH}" in arm*|i386|m68k|ns32k|sh3*|sparc|vax) eval $set_cc_for_build if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ELF__ then # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). # Return netbsd for either. FIX? os=netbsd else os=netbsdelf fi ;; *) os=netbsd ;; esac # The OS release # Debian GNU/NetBSD machines have a different userland, and # thus, need a distinct triplet. However, they do not need # kernel version information, so it can be replaced with a # suitable tag, in the style of linux-gnu. case "${UNAME_VERSION}" in Debian*) release='-gnu' ;; *) release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` ;; esac # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: # contains redundant information, the shorter form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. echo "${machine}-${os}${release}" exit ;; *:Bitrig:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'` echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE} exit ;; *:OpenBSD:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} exit ;; *:ekkoBSD:*:*) echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} exit ;; *:SolidBSD:*:*) echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} exit ;; macppc:MirBSD:*:*) echo powerpc-unknown-mirbsd${UNAME_RELEASE} exit ;; *:MirBSD:*:*) echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} exit ;; alpha:OSF1:*:*) case $UNAME_RELEASE in *4.0) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` ;; *5.*) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` ;; esac # According to Compaq, /usr/sbin/psrinfo has been available on # OSF/1 and Tru64 systems produced since 1995. I hope that # covers most systems running today. This code pipes the CPU # types through head -n 1, so we only detect the type of CPU 0. ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` case "$ALPHA_CPU_TYPE" in "EV4 (21064)") UNAME_MACHINE="alpha" ;; "EV4.5 (21064)") UNAME_MACHINE="alpha" ;; "LCA4 (21066/21068)") UNAME_MACHINE="alpha" ;; "EV5 (21164)") UNAME_MACHINE="alphaev5" ;; "EV5.6 (21164A)") UNAME_MACHINE="alphaev56" ;; "EV5.6 (21164PC)") UNAME_MACHINE="alphapca56" ;; "EV5.7 (21164PC)") UNAME_MACHINE="alphapca57" ;; "EV6 (21264)") UNAME_MACHINE="alphaev6" ;; "EV6.7 (21264A)") UNAME_MACHINE="alphaev67" ;; "EV6.8CB (21264C)") UNAME_MACHINE="alphaev68" ;; "EV6.8AL (21264B)") UNAME_MACHINE="alphaev68" ;; "EV6.8CX (21264D)") UNAME_MACHINE="alphaev68" ;; "EV6.9A (21264/EV69A)") UNAME_MACHINE="alphaev69" ;; "EV7 (21364)") UNAME_MACHINE="alphaev7" ;; "EV7.9 (21364A)") UNAME_MACHINE="alphaev79" ;; esac # A Pn.n version is a patched version. # A Vn.n version is a released version. # A Tn.n version is a released field test version. # A Xn.n version is an unreleased experimental baselevel. # 1.2 uses "1.2" for uname -r. echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` # Reset EXIT trap before exiting to avoid spurious non-zero exit code. exitcode=$? trap '' 0 exit $exitcode ;; Alpha\ *:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # Should we change UNAME_MACHINE based on the output of uname instead # of the specific Alpha model? echo alpha-pc-interix exit ;; 21064:Windows_NT:50:3) echo alpha-dec-winnt3.5 exit ;; Amiga*:UNIX_System_V:4.0:*) echo m68k-unknown-sysv4 exit ;; *:[Aa]miga[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-amigaos exit ;; *:[Mm]orph[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-morphos exit ;; *:OS/390:*:*) echo i370-ibm-openedition exit ;; *:z/VM:*:*) echo s390-ibm-zvmoe exit ;; *:OS400:*:*) echo powerpc-ibm-os400 exit ;; arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) echo arm-acorn-riscix${UNAME_RELEASE} exit ;; arm*:riscos:*:*|arm*:RISCOS:*:*) echo arm-unknown-riscos exit ;; SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) echo hppa1.1-hitachi-hiuxmpp exit ;; Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. if test "`(/bin/universe) 2>/dev/null`" = att ; then echo pyramid-pyramid-sysv3 else echo pyramid-pyramid-bsd fi exit ;; NILE*:*:*:dcosx) echo pyramid-pyramid-svr4 exit ;; DRS?6000:unix:4.0:6*) echo sparc-icl-nx6 exit ;; DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) case `/usr/bin/uname -p` in sparc) echo sparc-icl-nx7; exit ;; esac ;; s390x:SunOS:*:*) echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4H:SunOS:5.*:*) echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) echo i386-pc-auroraux${UNAME_RELEASE} exit ;; i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) eval $set_cc_for_build SUN_ARCH="i386" # If there is a compiler, see if it is configured for 64-bit objects. # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. # This test works for both compilers. if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ grep IS_64BIT_ARCH >/dev/null then SUN_ARCH="x86_64" fi fi echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:6*:*) # According to config.sub, this is the proper way to canonicalize # SunOS6. Hard to guess exactly what SunOS6 will be like, but # it's likely to be more like Solaris than SunOS4. echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:*:*) case "`/usr/bin/arch -k`" in Series*|S4*) UNAME_RELEASE=`uname -v` ;; esac # Japanese Language versions have a version number like `4.1.3-JL'. echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` exit ;; sun3*:SunOS:*:*) echo m68k-sun-sunos${UNAME_RELEASE} exit ;; sun*:*:4.2BSD:*) UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 case "`/bin/arch`" in sun3) echo m68k-sun-sunos${UNAME_RELEASE} ;; sun4) echo sparc-sun-sunos${UNAME_RELEASE} ;; esac exit ;; aushp:SunOS:*:*) echo sparc-auspex-sunos${UNAME_RELEASE} exit ;; # The situation for MiNT is a little confusing. The machine name # can be virtually everything (everything which is not # "atarist" or "atariste" at least should have a processor # > m68000). The system name ranges from "MiNT" over "FreeMiNT" # to the lowercase version "mint" (or "freemint"). Finally # the system name "TOS" denotes a system which is actually not # MiNT. But MiNT is downward compatible to TOS, so this should # be no problem. atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) echo m68k-milan-mint${UNAME_RELEASE} exit ;; hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) echo m68k-hades-mint${UNAME_RELEASE} exit ;; *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) echo m68k-unknown-mint${UNAME_RELEASE} exit ;; m68k:machten:*:*) echo m68k-apple-machten${UNAME_RELEASE} exit ;; powerpc:machten:*:*) echo powerpc-apple-machten${UNAME_RELEASE} exit ;; RISC*:Mach:*:*) echo mips-dec-mach_bsd4.3 exit ;; RISC*:ULTRIX:*:*) echo mips-dec-ultrix${UNAME_RELEASE} exit ;; VAX*:ULTRIX*:*:*) echo vax-dec-ultrix${UNAME_RELEASE} exit ;; 2020:CLIX:*:* | 2430:CLIX:*:*) echo clipper-intergraph-clix${UNAME_RELEASE} exit ;; mips:*:*:UMIPS | mips:*:*:RISCos) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #ifdef __cplusplus #include /* for printf() prototype */ int main (int argc, char *argv[]) { #else int main (argc, argv) int argc; char *argv[]; { #endif #if defined (host_mips) && defined (MIPSEB) #if defined (SYSTYPE_SYSV) printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_SVR4) printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); #endif #endif exit (-1); } EOF $CC_FOR_BUILD -o $dummy $dummy.c && dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` && SYSTEM_NAME=`$dummy $dummyarg` && { echo "$SYSTEM_NAME"; exit; } echo mips-mips-riscos${UNAME_RELEASE} exit ;; Motorola:PowerMAX_OS:*:*) echo powerpc-motorola-powermax exit ;; Motorola:*:4.3:PL8-*) echo powerpc-harris-powermax exit ;; Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) echo powerpc-harris-powermax exit ;; Night_Hawk:Power_UNIX:*:*) echo powerpc-harris-powerunix exit ;; m88k:CX/UX:7*:*) echo m88k-harris-cxux7 exit ;; m88k:*:4*:R4*) echo m88k-motorola-sysv4 exit ;; m88k:*:3*:R3*) echo m88k-motorola-sysv3 exit ;; AViiON:dgux:*:*) # DG/UX returns AViiON for all architectures UNAME_PROCESSOR=`/usr/bin/uname -p` if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] then if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ [ ${TARGET_BINARY_INTERFACE}x = x ] then echo m88k-dg-dgux${UNAME_RELEASE} else echo m88k-dg-dguxbcs${UNAME_RELEASE} fi else echo i586-dg-dgux${UNAME_RELEASE} fi exit ;; M88*:DolphinOS:*:*) # DolphinOS (SVR3) echo m88k-dolphin-sysv3 exit ;; M88*:*:R3*:*) # Delta 88k system running SVR3 echo m88k-motorola-sysv3 exit ;; XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) echo m88k-tektronix-sysv3 exit ;; Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) echo m68k-tektronix-bsd exit ;; *:IRIX*:*:*) echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` exit ;; ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' i*86:AIX:*:*) echo i386-ibm-aix exit ;; ia64:AIX:*:*) if [ -x /usr/bin/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` else IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} exit ;; *:AIX:2:3) if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include main() { if (!__power_pc()) exit(1); puts("powerpc-ibm-aix3.2.5"); exit(0); } EOF if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` then echo "$SYSTEM_NAME" else echo rs6000-ibm-aix3.2.5 fi elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then echo rs6000-ibm-aix3.2.4 else echo rs6000-ibm-aix3.2 fi exit ;; *:AIX:*:[4567]) IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then IBM_ARCH=rs6000 else IBM_ARCH=powerpc fi if [ -x /usr/bin/lslpp ] ; then IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc | awk -F: '{ print $3 }' | sed s/[0-9]*$/0/` else IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${IBM_ARCH}-ibm-aix${IBM_REV} exit ;; *:AIX:*:*) echo rs6000-ibm-aix exit ;; ibmrt:4.4BSD:*|romp-ibm:BSD:*) echo romp-ibm-bsd4.4 exit ;; ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to exit ;; # report: romp-ibm BSD 4.3 *:BOSX:*:*) echo rs6000-bull-bosx exit ;; DPX/2?00:B.O.S.:*:*) echo m68k-bull-sysv3 exit ;; 9000/[34]??:4.3bsd:1.*:*) echo m68k-hp-bsd exit ;; hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) echo m68k-hp-bsd4.4 exit ;; 9000/[34678]??:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` case "${UNAME_MACHINE}" in 9000/31? ) HP_ARCH=m68000 ;; 9000/[34]?? ) HP_ARCH=m68k ;; 9000/[678][0-9][0-9]) if [ -x /usr/bin/getconf ]; then sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` case "${sc_cpu_version}" in 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 532) # CPU_PA_RISC2_0 case "${sc_kernel_bits}" in 32) HP_ARCH="hppa2.0n" ;; 64) HP_ARCH="hppa2.0w" ;; '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 esac ;; esac fi if [ "${HP_ARCH}" = "" ]; then eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #define _HPUX_SOURCE #include #include int main () { #if defined(_SC_KERNEL_BITS) long bits = sysconf(_SC_KERNEL_BITS); #endif long cpu = sysconf (_SC_CPU_VERSION); switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0"); break; case CPU_PA_RISC1_1: puts ("hppa1.1"); break; case CPU_PA_RISC2_0: #if defined(_SC_KERNEL_BITS) switch (bits) { case 64: puts ("hppa2.0w"); break; case 32: puts ("hppa2.0n"); break; default: puts ("hppa2.0"); break; } break; #else /* !defined(_SC_KERNEL_BITS) */ puts ("hppa2.0"); break; #endif default: puts ("hppa1.0"); break; } exit (0); } EOF (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` test -z "$HP_ARCH" && HP_ARCH=hppa fi ;; esac if [ ${HP_ARCH} = "hppa2.0w" ] then eval $set_cc_for_build # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler # generating 64-bit code. GNU and HP use different nomenclature: # # $ CC_FOR_BUILD=cc ./config.guess # => hppa2.0w-hp-hpux11.23 # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess # => hppa64-hp-hpux11.23 if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | grep -q __LP64__ then HP_ARCH="hppa2.0w" else HP_ARCH="hppa64" fi fi echo ${HP_ARCH}-hp-hpux${HPUX_REV} exit ;; ia64:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` echo ia64-hp-hpux${HPUX_REV} exit ;; 3050*:HI-UX:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include int main () { long cpu = sysconf (_SC_CPU_VERSION); /* The order matters, because CPU_IS_HP_MC68K erroneously returns true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct results, however. */ if (CPU_IS_PA_RISC (cpu)) { switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; default: puts ("hppa-hitachi-hiuxwe2"); break; } } else if (CPU_IS_HP_MC68K (cpu)) puts ("m68k-hitachi-hiuxwe2"); else puts ("unknown-hitachi-hiuxwe2"); exit (0); } EOF $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && { echo "$SYSTEM_NAME"; exit; } echo unknown-hitachi-hiuxwe2 exit ;; 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) echo hppa1.1-hp-bsd exit ;; 9000/8??:4.3bsd:*:*) echo hppa1.0-hp-bsd exit ;; *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) echo hppa1.0-hp-mpeix exit ;; hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) echo hppa1.1-hp-osf exit ;; hp8??:OSF1:*:*) echo hppa1.0-hp-osf exit ;; i*86:OSF1:*:*) if [ -x /usr/sbin/sysversion ] ; then echo ${UNAME_MACHINE}-unknown-osf1mk else echo ${UNAME_MACHINE}-unknown-osf1 fi exit ;; parisc*:Lites*:*:*) echo hppa1.1-hp-lites exit ;; C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) echo c1-convex-bsd exit ;; C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit ;; C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) echo c34-convex-bsd exit ;; C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) echo c38-convex-bsd exit ;; C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) echo c4-convex-bsd exit ;; CRAY*Y-MP:*:*:*) echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*[A-Z]90:*:*:*) echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ -e 's/\.[^.]*$/.X/' exit ;; CRAY*TS:*:*:*) echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*T3E:*:*:*) echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*SV1:*:*:*) echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; *:UNICOS/mp:*:*) echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; 5000:UNIX_System_V:4.*:*) FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} exit ;; sparc*:BSD/OS:*:*) echo sparc-unknown-bsdi${UNAME_RELEASE} exit ;; *:BSD/OS:*:*) echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit ;; *:FreeBSD:*:*) UNAME_PROCESSOR=`/usr/bin/uname -p` case ${UNAME_PROCESSOR} in amd64) echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; *) echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; esac exit ;; i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin exit ;; *:MINGW64*:*) echo ${UNAME_MACHINE}-pc-mingw64 exit ;; *:MINGW*:*) echo ${UNAME_MACHINE}-pc-mingw32 exit ;; *:MSYS*:*) echo ${UNAME_MACHINE}-pc-msys exit ;; i*:windows32*:*) # uname -m includes "-pc" on this system. echo ${UNAME_MACHINE}-mingw32 exit ;; i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 exit ;; *:Interix*:*) case ${UNAME_MACHINE} in x86) echo i586-pc-interix${UNAME_RELEASE} exit ;; authenticamd | genuineintel | EM64T) echo x86_64-unknown-interix${UNAME_RELEASE} exit ;; IA64) echo ia64-unknown-interix${UNAME_RELEASE} exit ;; esac ;; [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) echo i${UNAME_MACHINE}-pc-mks exit ;; 8664:Windows_NT:*) echo x86_64-pc-mks exit ;; i*:Windows_NT*:* | Pentium*:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we # UNAME_MACHINE based on the output of uname instead of i386? echo i586-pc-interix exit ;; i*:UWIN*:*) echo ${UNAME_MACHINE}-pc-uwin exit ;; amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) echo x86_64-unknown-cygwin exit ;; p*:CYGWIN*:*) echo powerpcle-unknown-cygwin exit ;; prep*:SunOS:5.*:*) echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; *:GNU:*:*) # the GNU system echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` exit ;; *:GNU/*:*:*) # other systems with GNU libc and userland echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC} exit ;; i*86:Minix:*:*) echo ${UNAME_MACHINE}-pc-minix exit ;; aarch64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; aarch64_be:Linux:*:*) UNAME_MACHINE=aarch64_be echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; alpha:Linux:*:*) case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in EV5) UNAME_MACHINE=alphaev5 ;; EV56) UNAME_MACHINE=alphaev56 ;; PCA56) UNAME_MACHINE=alphapca56 ;; PCA57) UNAME_MACHINE=alphapca56 ;; EV6) UNAME_MACHINE=alphaev6 ;; EV67) UNAME_MACHINE=alphaev67 ;; EV68*) UNAME_MACHINE=alphaev68 ;; esac objdump --private-headers /bin/sh | grep -q ld.so.1 if test "$?" = 0 ; then LIBC="gnulibc1" ; fi echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; arc:Linux:*:* | arceb:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; arm*:Linux:*:*) eval $set_cc_for_build if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ARM_EABI__ then echo ${UNAME_MACHINE}-unknown-linux-${LIBC} else if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ARM_PCS_VFP then echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi else echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf fi fi exit ;; avr32*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; cris:Linux:*:*) echo ${UNAME_MACHINE}-axis-linux-${LIBC} exit ;; crisv32:Linux:*:*) echo ${UNAME_MACHINE}-axis-linux-${LIBC} exit ;; frv:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; hexagon:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; i*86:Linux:*:*) echo ${UNAME_MACHINE}-pc-linux-${LIBC} exit ;; ia64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; m32r*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; m68*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; mips:Linux:*:* | mips64:Linux:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #undef CPU #undef ${UNAME_MACHINE} #undef ${UNAME_MACHINE}el #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) CPU=${UNAME_MACHINE}el #else #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) CPU=${UNAME_MACHINE} #else CPU= #endif #endif EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; } ;; openrisc*:Linux:*:*) echo or1k-unknown-linux-${LIBC} exit ;; or32:Linux:*:* | or1k*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; padre:Linux:*:*) echo sparc-unknown-linux-${LIBC} exit ;; parisc64:Linux:*:* | hppa64:Linux:*:*) echo hppa64-unknown-linux-${LIBC} exit ;; parisc:Linux:*:* | hppa:Linux:*:*) # Look for CPU level case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in PA7*) echo hppa1.1-unknown-linux-${LIBC} ;; PA8*) echo hppa2.0-unknown-linux-${LIBC} ;; *) echo hppa-unknown-linux-${LIBC} ;; esac exit ;; ppc64:Linux:*:*) echo powerpc64-unknown-linux-${LIBC} exit ;; ppc:Linux:*:*) echo powerpc-unknown-linux-${LIBC} exit ;; ppc64le:Linux:*:*) echo powerpc64le-unknown-linux-${LIBC} exit ;; ppcle:Linux:*:*) echo powerpcle-unknown-linux-${LIBC} exit ;; s390:Linux:*:* | s390x:Linux:*:*) echo ${UNAME_MACHINE}-ibm-linux-${LIBC} exit ;; sh64*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; sh*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; sparc:Linux:*:* | sparc64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; tile*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; vax:Linux:*:*) echo ${UNAME_MACHINE}-dec-linux-${LIBC} exit ;; x86_64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; xtensa*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; i*86:DYNIX/ptx:4*:*) # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. # earlier versions are messed up and put the nodename in both # sysname and nodename. echo i386-sequent-sysv4 exit ;; i*86:UNIX_SV:4.2MP:2.*) # Unixware is an offshoot of SVR4, but it has its own version # number series starting with 2... # I am not positive that other SVR4 systems won't match this, # I just have to hope. -- rms. # Use sysv4.2uw... so that sysv4* matches it. echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} exit ;; i*86:OS/2:*:*) # If we were able to find `uname', then EMX Unix compatibility # is probably installed. echo ${UNAME_MACHINE}-pc-os2-emx exit ;; i*86:XTS-300:*:STOP) echo ${UNAME_MACHINE}-unknown-stop exit ;; i*86:atheos:*:*) echo ${UNAME_MACHINE}-unknown-atheos exit ;; i*86:syllable:*:*) echo ${UNAME_MACHINE}-pc-syllable exit ;; i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*) echo i386-unknown-lynxos${UNAME_RELEASE} exit ;; i*86:*DOS:*:*) echo ${UNAME_MACHINE}-pc-msdosdjgpp exit ;; i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} else echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} fi exit ;; i*86:*:5:[678]*) # UnixWare 7.x, OpenUNIX and OpenServer 6. case `/bin/uname -X | grep "^Machine"` in *486*) UNAME_MACHINE=i486 ;; *Pentium) UNAME_MACHINE=i586 ;; *Pent*|*Celeron) UNAME_MACHINE=i686 ;; esac echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} exit ;; i*86:*:3.2:*) if test -f /usr/options/cb.name; then UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ && UNAME_MACHINE=i586 (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ && UNAME_MACHINE=i686 (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ && UNAME_MACHINE=i686 echo ${UNAME_MACHINE}-pc-sco$UNAME_REL else echo ${UNAME_MACHINE}-pc-sysv32 fi exit ;; pc:*:*:*) # Left here for compatibility: # uname -m prints for DJGPP always 'pc', but it prints nothing about # the processor, so we play safe by assuming i586. # Note: whatever this is, it MUST be the same as what config.sub # prints for the "djgpp" host, or else GDB configury will decide that # this is a cross-build. echo i586-pc-msdosdjgpp exit ;; Intel:Mach:3*:*) echo i386-pc-mach3 exit ;; paragon:*:*:*) echo i860-intel-osf1 exit ;; i860:*:4.*:*) # i860-SVR4 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 else # Add other i860-SVR4 vendors below as they are discovered. echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 fi exit ;; mini*:CTIX:SYS*5:*) # "miniframe" echo m68010-convergent-sysv exit ;; mc68k:UNIX:SYSTEM5:3.51m) echo m68k-convergent-sysv exit ;; M680?0:D-NIX:5.3:*) echo m68k-diab-dnix exit ;; M68*:*:R3V[5678]*:*) test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) OS_REL='' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4.3${OS_REL}; exit; } /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4; exit; } ;; NCR*:*:4.2:* | MPRAS*:*:4.2:*) OS_REL='.3' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4.3${OS_REL}; exit; } /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) echo m68k-unknown-lynxos${UNAME_RELEASE} exit ;; mc68030:UNIX_System_V:4.*:*) echo m68k-atari-sysv4 exit ;; TSUNAMI:LynxOS:2.*:*) echo sparc-unknown-lynxos${UNAME_RELEASE} exit ;; rs6000:LynxOS:2.*:*) echo rs6000-unknown-lynxos${UNAME_RELEASE} exit ;; PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*) echo powerpc-unknown-lynxos${UNAME_RELEASE} exit ;; SM[BE]S:UNIX_SV:*:*) echo mips-dde-sysv${UNAME_RELEASE} exit ;; RM*:ReliantUNIX-*:*:*) echo mips-sni-sysv4 exit ;; RM*:SINIX-*:*:*) echo mips-sni-sysv4 exit ;; *:SINIX-*:*:*) if uname -p 2>/dev/null >/dev/null ; then UNAME_MACHINE=`(uname -p) 2>/dev/null` echo ${UNAME_MACHINE}-sni-sysv4 else echo ns32k-sni-sysv fi exit ;; PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort # says echo i586-unisys-sysv4 exit ;; *:UNIX_System_V:4*:FTX*) # From Gerald Hewes . # How about differentiating between stratus architectures? -djm echo hppa1.1-stratus-sysv4 exit ;; *:*:*:FTX*) # From seanf@swdc.stratus.com. echo i860-stratus-sysv4 exit ;; i*86:VOS:*:*) # From Paul.Green@stratus.com. echo ${UNAME_MACHINE}-stratus-vos exit ;; *:VOS:*:*) # From Paul.Green@stratus.com. echo hppa1.1-stratus-vos exit ;; mc68*:A/UX:*:*) echo m68k-apple-aux${UNAME_RELEASE} exit ;; news*:NEWS-OS:6*:*) echo mips-sony-newsos6 exit ;; R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) if [ -d /usr/nec ]; then echo mips-nec-sysv${UNAME_RELEASE} else echo mips-unknown-sysv${UNAME_RELEASE} fi exit ;; BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. echo powerpc-be-beos exit ;; BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. echo powerpc-apple-beos exit ;; BePC:BeOS:*:*) # BeOS running on Intel PC compatible. echo i586-pc-beos exit ;; BePC:Haiku:*:*) # Haiku running on Intel PC compatible. echo i586-pc-haiku exit ;; x86_64:Haiku:*:*) echo x86_64-unknown-haiku exit ;; SX-4:SUPER-UX:*:*) echo sx4-nec-superux${UNAME_RELEASE} exit ;; SX-5:SUPER-UX:*:*) echo sx5-nec-superux${UNAME_RELEASE} exit ;; SX-6:SUPER-UX:*:*) echo sx6-nec-superux${UNAME_RELEASE} exit ;; SX-7:SUPER-UX:*:*) echo sx7-nec-superux${UNAME_RELEASE} exit ;; SX-8:SUPER-UX:*:*) echo sx8-nec-superux${UNAME_RELEASE} exit ;; SX-8R:SUPER-UX:*:*) echo sx8r-nec-superux${UNAME_RELEASE} exit ;; Power*:Rhapsody:*:*) echo powerpc-apple-rhapsody${UNAME_RELEASE} exit ;; *:Rhapsody:*:*) echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} exit ;; *:Darwin:*:*) UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown eval $set_cc_for_build if test "$UNAME_PROCESSOR" = unknown ; then UNAME_PROCESSOR=powerpc fi if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ grep IS_64BIT_ARCH >/dev/null then case $UNAME_PROCESSOR in i386) UNAME_PROCESSOR=x86_64 ;; powerpc) UNAME_PROCESSOR=powerpc64 ;; esac fi fi elif test "$UNAME_PROCESSOR" = i386 ; then # Avoid executing cc on OS X 10.9, as it ships with a stub # that puts up a graphical alert prompting to install # developer tools. Any system running Mac OS X 10.7 or # later (Darwin 11 and later) is required to have a 64-bit # processor. This is not true of the ARM version of Darwin # that Apple uses in portable devices. UNAME_PROCESSOR=x86_64 fi echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} exit ;; *:procnto*:*:* | *:QNX:[0123456789]*:*) UNAME_PROCESSOR=`uname -p` if test "$UNAME_PROCESSOR" = "x86"; then UNAME_PROCESSOR=i386 UNAME_MACHINE=pc fi echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} exit ;; *:QNX:*:4*) echo i386-pc-qnx exit ;; NEO-?:NONSTOP_KERNEL:*:*) echo neo-tandem-nsk${UNAME_RELEASE} exit ;; NSE-*:NONSTOP_KERNEL:*:*) echo nse-tandem-nsk${UNAME_RELEASE} exit ;; NSR-?:NONSTOP_KERNEL:*:*) echo nsr-tandem-nsk${UNAME_RELEASE} exit ;; *:NonStop-UX:*:*) echo mips-compaq-nonstopux exit ;; BS2000:POSIX*:*:*) echo bs2000-siemens-sysv exit ;; DS/*:UNIX_System_V:*:*) echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} exit ;; *:Plan9:*:*) # "uname -m" is not consistent, so use $cputype instead. 386 # is converted to i386 for consistency with other x86 # operating systems. if test "$cputype" = "386"; then UNAME_MACHINE=i386 else UNAME_MACHINE="$cputype" fi echo ${UNAME_MACHINE}-unknown-plan9 exit ;; *:TOPS-10:*:*) echo pdp10-unknown-tops10 exit ;; *:TENEX:*:*) echo pdp10-unknown-tenex exit ;; KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) echo pdp10-dec-tops20 exit ;; XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) echo pdp10-xkl-tops20 exit ;; *:TOPS-20:*:*) echo pdp10-unknown-tops20 exit ;; *:ITS:*:*) echo pdp10-unknown-its exit ;; SEI:*:*:SEIUX) echo mips-sei-seiux${UNAME_RELEASE} exit ;; *:DragonFly:*:*) echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` exit ;; *:*VMS:*:*) UNAME_MACHINE=`(uname -p) 2>/dev/null` case "${UNAME_MACHINE}" in A*) echo alpha-dec-vms ; exit ;; I*) echo ia64-dec-vms ; exit ;; V*) echo vax-dec-vms ; exit ;; esac ;; *:XENIX:*:SysV) echo i386-pc-xenix exit ;; i*86:skyos:*:*) echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' exit ;; i*86:rdos:*:*) echo ${UNAME_MACHINE}-pc-rdos exit ;; i*86:AROS:*:*) echo ${UNAME_MACHINE}-pc-aros exit ;; x86_64:VMkernel:*:*) echo ${UNAME_MACHINE}-unknown-esx exit ;; esac cat >&2 < in order to provide the needed information to handle your system. config.guess timestamp = $timestamp uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` /bin/uname -X = `(/bin/uname -X) 2>/dev/null` hostinfo = `(hostinfo) 2>/dev/null` /bin/universe = `(/bin/universe) 2>/dev/null` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` /bin/arch = `(/bin/arch) 2>/dev/null` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` UNAME_MACHINE = ${UNAME_MACHINE} UNAME_RELEASE = ${UNAME_RELEASE} UNAME_SYSTEM = ${UNAME_SYSTEM} UNAME_VERSION = ${UNAME_VERSION} EOF exit 1 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: gmtp-1.3.10/config/compile0000755000175000001440000001624512637435146012326 00000000000000#! /bin/sh # Wrapper for compilers which do not understand '-c -o'. scriptversion=2012-10-14.11; # UTC # Copyright (C) 1999-2014 Free Software Foundation, Inc. # Written by Tom Tromey . # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # This file is maintained in Automake, please report # bugs to or send patches to # . nl=' ' # We need space, tab and new line, in precisely that order. Quoting is # there to prevent tools from complaining about whitespace usage. IFS=" "" $nl" file_conv= # func_file_conv build_file lazy # Convert a $build file to $host form and store it in $file # Currently only supports Windows hosts. If the determined conversion # type is listed in (the comma separated) LAZY, no conversion will # take place. func_file_conv () { file=$1 case $file in / | /[!/]*) # absolute file, and not a UNC file if test -z "$file_conv"; then # lazily determine how to convert abs files case `uname -s` in MINGW*) file_conv=mingw ;; CYGWIN*) file_conv=cygwin ;; *) file_conv=wine ;; esac fi case $file_conv/,$2, in *,$file_conv,*) ;; mingw/*) file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` ;; cygwin/*) file=`cygpath -m "$file" || echo "$file"` ;; wine/*) file=`winepath -w "$file" || echo "$file"` ;; esac ;; esac } # func_cl_dashL linkdir # Make cl look for libraries in LINKDIR func_cl_dashL () { func_file_conv "$1" if test -z "$lib_path"; then lib_path=$file else lib_path="$lib_path;$file" fi linker_opts="$linker_opts -LIBPATH:$file" } # func_cl_dashl library # Do a library search-path lookup for cl func_cl_dashl () { lib=$1 found=no save_IFS=$IFS IFS=';' for dir in $lib_path $LIB do IFS=$save_IFS if $shared && test -f "$dir/$lib.dll.lib"; then found=yes lib=$dir/$lib.dll.lib break fi if test -f "$dir/$lib.lib"; then found=yes lib=$dir/$lib.lib break fi if test -f "$dir/lib$lib.a"; then found=yes lib=$dir/lib$lib.a break fi done IFS=$save_IFS if test "$found" != yes; then lib=$lib.lib fi } # func_cl_wrapper cl arg... # Adjust compile command to suit cl func_cl_wrapper () { # Assume a capable shell lib_path= shared=: linker_opts= for arg do if test -n "$eat"; then eat= else case $1 in -o) # configure might choose to run compile as 'compile cc -o foo foo.c'. eat=1 case $2 in *.o | *.[oO][bB][jJ]) func_file_conv "$2" set x "$@" -Fo"$file" shift ;; *) func_file_conv "$2" set x "$@" -Fe"$file" shift ;; esac ;; -I) eat=1 func_file_conv "$2" mingw set x "$@" -I"$file" shift ;; -I*) func_file_conv "${1#-I}" mingw set x "$@" -I"$file" shift ;; -l) eat=1 func_cl_dashl "$2" set x "$@" "$lib" shift ;; -l*) func_cl_dashl "${1#-l}" set x "$@" "$lib" shift ;; -L) eat=1 func_cl_dashL "$2" ;; -L*) func_cl_dashL "${1#-L}" ;; -static) shared=false ;; -Wl,*) arg=${1#-Wl,} save_ifs="$IFS"; IFS=',' for flag in $arg; do IFS="$save_ifs" linker_opts="$linker_opts $flag" done IFS="$save_ifs" ;; -Xlinker) eat=1 linker_opts="$linker_opts $2" ;; -*) set x "$@" "$1" shift ;; *.cc | *.CC | *.cxx | *.CXX | *.[cC]++) func_file_conv "$1" set x "$@" -Tp"$file" shift ;; *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO]) func_file_conv "$1" mingw set x "$@" "$file" shift ;; *) set x "$@" "$1" shift ;; esac fi shift done if test -n "$linker_opts"; then linker_opts="-link$linker_opts" fi exec "$@" $linker_opts exit 1 } eat= case $1 in '') echo "$0: No command. Try '$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: compile [--help] [--version] PROGRAM [ARGS] Wrapper for compilers which do not understand '-c -o'. Remove '-o dest.o' from ARGS, run PROGRAM with the remaining arguments, and rename the output as expected. If you are trying to build a whole package this is not the right script to run: please start by reading the file 'INSTALL'. Report bugs to . EOF exit $? ;; -v | --v*) echo "compile $scriptversion" exit $? ;; cl | *[/\\]cl | cl.exe | *[/\\]cl.exe ) func_cl_wrapper "$@" # Doesn't return... ;; esac ofile= cfile= for arg do if test -n "$eat"; then eat= else case $1 in -o) # configure might choose to run compile as 'compile cc -o foo foo.c'. # So we strip '-o arg' only if arg is an object. eat=1 case $2 in *.o | *.obj) ofile=$2 ;; *) set x "$@" -o "$2" shift ;; esac ;; *.c) cfile=$1 set x "$@" "$1" shift ;; *) set x "$@" "$1" shift ;; esac fi shift done if test -z "$ofile" || test -z "$cfile"; then # If no '-o' option was seen then we might have been invoked from a # pattern rule where we don't need one. That is ok -- this is a # normal compilation that the losing compiler can handle. If no # '.c' file was seen then we are probably linking. That is also # ok. exec "$@" fi # Name of file we expect compiler to create. cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'` # Create the lock directory. # Note: use '[/\\:.-]' here to ensure that we don't use the same name # that we are using for the .o file. Also, base the name on the expected # object file name, since that is what matters with a parallel build. lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d while true; do if mkdir "$lockdir" >/dev/null 2>&1; then break fi sleep 1 done # FIXME: race condition here if user kills between mkdir and trap. trap "rmdir '$lockdir'; exit 1" 1 2 15 # Run the compile. "$@" ret=$? if test -f "$cofile"; then test "$cofile" = "$ofile" || mv "$cofile" "$ofile" elif test -f "${cofile}bj"; then test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile" fi rmdir "$lockdir" exit $ret # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: gmtp-1.3.10/config/depcomp0000755000175000001440000005601612637435146012325 00000000000000#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2013-05-30.07; # UTC # Copyright (C) 1999-2014 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Originally written by Alexandre Oliva . case $1 in '') echo "$0: No command. Try '$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: depcomp [--help] [--version] PROGRAM [ARGS] Run PROGRAMS ARGS to compile a file, generating dependencies as side-effects. Environment variables: depmode Dependency tracking mode. source Source file read by 'PROGRAMS ARGS'. object Object file output by 'PROGRAMS ARGS'. DEPDIR directory where to store dependencies. depfile Dependency file to output. tmpdepfile Temporary file to use when outputting dependencies. libtool Whether libtool is used (yes/no). Report bugs to . EOF exit $? ;; -v | --v*) echo "depcomp $scriptversion" exit $? ;; esac # Get the directory component of the given path, and save it in the # global variables '$dir'. Note that this directory component will # be either empty or ending with a '/' character. This is deliberate. set_dir_from () { case $1 in */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;; *) dir=;; esac } # Get the suffix-stripped basename of the given path, and save it the # global variable '$base'. set_base_from () { base=`echo "$1" | sed -e 's|^.*/||' -e 's/\.[^.]*$//'` } # If no dependency file was actually created by the compiler invocation, # we still have to create a dummy depfile, to avoid errors with the # Makefile "include basename.Plo" scheme. make_dummy_depfile () { echo "#dummy" > "$depfile" } # Factor out some common post-processing of the generated depfile. # Requires the auxiliary global variable '$tmpdepfile' to be set. aix_post_process_depfile () { # If the compiler actually managed to produce a dependency file, # post-process it. if test -f "$tmpdepfile"; then # Each line is of the form 'foo.o: dependency.h'. # Do two passes, one to just change these to # $object: dependency.h # and one to simply output # dependency.h: # which is needed to avoid the deleted-header problem. { sed -e "s,^.*\.[$lower]*:,$object:," < "$tmpdepfile" sed -e "s,^.*\.[$lower]*:[$tab ]*,," -e 's,$,:,' < "$tmpdepfile" } > "$depfile" rm -f "$tmpdepfile" else make_dummy_depfile fi } # A tabulation character. tab=' ' # A newline character. nl=' ' # Character ranges might be problematic outside the C locale. # These definitions help. upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ lower=abcdefghijklmnopqrstuvwxyz digits=0123456789 alpha=${upper}${lower} if test -z "$depmode" || test -z "$source" || test -z "$object"; then echo "depcomp: Variables source, object and depmode must be set" 1>&2 exit 1 fi # Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. depfile=${depfile-`echo "$object" | sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} rm -f "$tmpdepfile" # Avoid interferences from the environment. gccflag= dashmflag= # Some modes work just like other modes, but use different flags. We # parameterize here, but still list the modes in the big case below, # to make depend.m4 easier to write. Note that we *cannot* use a case # here, because this file can only contain one case statement. if test "$depmode" = hp; then # HP compiler uses -M and no extra arg. gccflag=-M depmode=gcc fi if test "$depmode" = dashXmstdout; then # This is just like dashmstdout with a different argument. dashmflag=-xM depmode=dashmstdout fi cygpath_u="cygpath -u -f -" if test "$depmode" = msvcmsys; then # This is just like msvisualcpp but w/o cygpath translation. # Just convert the backslash-escaped backslashes to single forward # slashes to satisfy depend.m4 cygpath_u='sed s,\\\\,/,g' depmode=msvisualcpp fi if test "$depmode" = msvc7msys; then # This is just like msvc7 but w/o cygpath translation. # Just convert the backslash-escaped backslashes to single forward # slashes to satisfy depend.m4 cygpath_u='sed s,\\\\,/,g' depmode=msvc7 fi if test "$depmode" = xlc; then # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency information. gccflag=-qmakedep=gcc,-MF depmode=gcc fi case "$depmode" in gcc3) ## gcc 3 implements dependency tracking that does exactly what ## we want. Yay! Note: for some reason libtool 1.4 doesn't like ## it if -MD -MP comes after the -MF stuff. Hmm. ## Unfortunately, FreeBSD c89 acceptance of flags depends upon ## the command line argument order; so add the flags where they ## appear in depend2.am. Note that the slowdown incurred here ## affects only configure: in makefiles, %FASTDEP% shortcuts this. for arg do case $arg in -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; *) set fnord "$@" "$arg" ;; esac shift # fnord shift # $arg done "$@" stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi mv "$tmpdepfile" "$depfile" ;; gcc) ## Note that this doesn't just cater to obsosete pre-3.x GCC compilers. ## but also to in-use compilers like IMB xlc/xlC and the HP C compiler. ## (see the conditional assignment to $gccflag above). ## There are various ways to get dependency output from gcc. Here's ## why we pick this rather obscure method: ## - Don't want to use -MD because we'd like the dependencies to end ## up in a subdir. Having to rename by hand is ugly. ## (We might end up doing this anyway to support other compilers.) ## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like ## -MM, not -M (despite what the docs say). Also, it might not be ## supported by the other compilers which use the 'gcc' depmode. ## - Using -M directly means running the compiler twice (even worse ## than renaming). if test -z "$gccflag"; then gccflag=-MD, fi "$@" -Wp,"$gccflag$tmpdepfile" stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" # The second -e expression handles DOS-style file names with drive # letters. sed -e 's/^[^:]*: / /' \ -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" ## This next piece of magic avoids the "deleted header file" problem. ## The problem is that when a header file which appears in a .P file ## is deleted, the dependency causes make to die (because there is ## typically no way to rebuild the header). We avoid this by adding ## dummy dependencies for each header file. Too bad gcc doesn't do ## this for us directly. ## Some versions of gcc put a space before the ':'. On the theory ## that the space means something, we add a space to the output as ## well. hp depmode also adds that space, but also prefixes the VPATH ## to the object. Take care to not repeat it in the output. ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; sgi) if test "$libtool" = yes; then "$@" "-Wp,-MDupdate,$tmpdepfile" else "$@" -MDupdate "$tmpdepfile" fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files echo "$object : \\" > "$depfile" # Clip off the initial element (the dependent). Don't try to be # clever and replace this with sed code, as IRIX sed won't handle # lines with more than a fixed number of characters (4096 in # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; # the IRIX cc adds comments like '#:fec' to the end of the # dependency line. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' \ | tr "$nl" ' ' >> "$depfile" echo >> "$depfile" # The second pass generates a dummy entry for each header file. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ >> "$depfile" else make_dummy_depfile fi rm -f "$tmpdepfile" ;; xlc) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; aix) # The C for AIX Compiler uses -M and outputs the dependencies # in a .u file. In older versions, this file always lives in the # current directory. Also, the AIX compiler puts '$object:' at the # start of each line; $object doesn't have directory information. # Version 6 uses the directory in both cases. set_dir_from "$object" set_base_from "$object" if test "$libtool" = yes; then tmpdepfile1=$dir$base.u tmpdepfile2=$base.u tmpdepfile3=$dir.libs/$base.u "$@" -Wc,-M else tmpdepfile1=$dir$base.u tmpdepfile2=$dir$base.u tmpdepfile3=$dir$base.u "$@" -M fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" do test -f "$tmpdepfile" && break done aix_post_process_depfile ;; tcc) # tcc (Tiny C Compiler) understand '-MD -MF file' since version 0.9.26 # FIXME: That version still under development at the moment of writing. # Make that this statement remains true also for stable, released # versions. # It will wrap lines (doesn't matter whether long or short) with a # trailing '\', as in: # # foo.o : \ # foo.c \ # foo.h \ # # It will put a trailing '\' even on the last line, and will use leading # spaces rather than leading tabs (at least since its commit 0394caf7 # "Emit spaces for -MD"). "$@" -MD -MF "$tmpdepfile" stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" # Each non-empty line is of the form 'foo.o : \' or ' dep.h \'. # We have to change lines of the first kind to '$object: \'. sed -e "s|.*:|$object :|" < "$tmpdepfile" > "$depfile" # And for each line of the second kind, we have to emit a 'dep.h:' # dummy dependency, to avoid the deleted-header problem. sed -n -e 's|^ *\(.*\) *\\$|\1:|p' < "$tmpdepfile" >> "$depfile" rm -f "$tmpdepfile" ;; ## The order of this option in the case statement is important, since the ## shell code in configure will try each of these formats in the order ## listed in this file. A plain '-MD' option would be understood by many ## compilers, so we must ensure this comes after the gcc and icc options. pgcc) # Portland's C compiler understands '-MD'. # Will always output deps to 'file.d' where file is the root name of the # source file under compilation, even if file resides in a subdirectory. # The object file name does not affect the name of the '.d' file. # pgcc 10.2 will output # foo.o: sub/foo.c sub/foo.h # and will wrap long lines using '\' : # foo.o: sub/foo.c ... \ # sub/foo.h ... \ # ... set_dir_from "$object" # Use the source, not the object, to determine the base name, since # that's sadly what pgcc will do too. set_base_from "$source" tmpdepfile=$base.d # For projects that build the same source file twice into different object # files, the pgcc approach of using the *source* file root name can cause # problems in parallel builds. Use a locking strategy to avoid stomping on # the same $tmpdepfile. lockdir=$base.d-lock trap " echo '$0: caught signal, cleaning up...' >&2 rmdir '$lockdir' exit 1 " 1 2 13 15 numtries=100 i=$numtries while test $i -gt 0; do # mkdir is a portable test-and-set. if mkdir "$lockdir" 2>/dev/null; then # This process acquired the lock. "$@" -MD stat=$? # Release the lock. rmdir "$lockdir" break else # If the lock is being held by a different process, wait # until the winning process is done or we timeout. while test -d "$lockdir" && test $i -gt 0; do sleep 1 i=`expr $i - 1` done fi i=`expr $i - 1` done trap - 1 2 13 15 if test $i -le 0; then echo "$0: failed to acquire lock after $numtries attempts" >&2 echo "$0: check lockdir '$lockdir'" >&2 exit 1 fi if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" # Each line is of the form `foo.o: dependent.h', # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. # Do two passes, one to just change these to # `$object: dependent.h' and one to simply `dependent.h:'. sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process this invocation # correctly. Breaking it into two sed invocations is a workaround. sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp2) # The "hp" stanza above does not work with aCC (C++) and HP's ia64 # compilers, which have integrated preprocessors. The correct option # to use with these is +Maked; it writes dependencies to a file named # 'foo.d', which lands next to the object file, wherever that # happens to be. # Much of this is similar to the tru64 case; see comments there. set_dir_from "$object" set_base_from "$object" if test "$libtool" = yes; then tmpdepfile1=$dir$base.d tmpdepfile2=$dir.libs/$base.d "$@" -Wc,+Maked else tmpdepfile1=$dir$base.d tmpdepfile2=$dir$base.d "$@" +Maked fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile1" "$tmpdepfile2" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" do test -f "$tmpdepfile" && break done if test -f "$tmpdepfile"; then sed -e "s,^.*\.[$lower]*:,$object:," "$tmpdepfile" > "$depfile" # Add 'dependent.h:' lines. sed -ne '2,${ s/^ *// s/ \\*$// s/$/:/ p }' "$tmpdepfile" >> "$depfile" else make_dummy_depfile fi rm -f "$tmpdepfile" "$tmpdepfile2" ;; tru64) # The Tru64 compiler uses -MD to generate dependencies as a side # effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'. # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put # dependencies in 'foo.d' instead, so we check for that too. # Subdirectories are respected. set_dir_from "$object" set_base_from "$object" if test "$libtool" = yes; then # Libtool generates 2 separate objects for the 2 libraries. These # two compilations output dependencies in $dir.libs/$base.o.d and # in $dir$base.o.d. We have to check for both files, because # one of the two compilations can be disabled. We should prefer # $dir$base.o.d over $dir.libs/$base.o.d because the latter is # automatically cleaned when .libs/ is deleted, while ignoring # the former would cause a distcleancheck panic. tmpdepfile1=$dir$base.o.d # libtool 1.5 tmpdepfile2=$dir.libs/$base.o.d # Likewise. tmpdepfile3=$dir.libs/$base.d # Compaq CCC V6.2-504 "$@" -Wc,-MD else tmpdepfile1=$dir$base.d tmpdepfile2=$dir$base.d tmpdepfile3=$dir$base.d "$@" -MD fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" do test -f "$tmpdepfile" && break done # Same post-processing that is required for AIX mode. aix_post_process_depfile ;; msvc7) if test "$libtool" = yes; then showIncludes=-Wc,-showIncludes else showIncludes=-showIncludes fi "$@" $showIncludes > "$tmpdepfile" stat=$? grep -v '^Note: including file: ' "$tmpdepfile" if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" # The first sed program below extracts the file names and escapes # backslashes for cygpath. The second sed program outputs the file # name when reading, but also accumulates all include files in the # hold buffer in order to output them again at the end. This only # works with sed implementations that can handle large buffers. sed < "$tmpdepfile" -n ' /^Note: including file: *\(.*\)/ { s//\1/ s/\\/\\\\/g p }' | $cygpath_u | sort -u | sed -n ' s/ /\\ /g s/\(.*\)/'"$tab"'\1 \\/p s/.\(.*\) \\/\1:/ H $ { s/.*/'"$tab"'/ G p }' >> "$depfile" echo >> "$depfile" # make sure the fragment doesn't end with a backslash rm -f "$tmpdepfile" ;; msvc7msys) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; #nosideeffect) # This comment above is used by automake to tell side-effect # dependency tracking mechanisms from slower ones. dashmstdout) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout, regardless of -o. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # Remove '-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done test -z "$dashmflag" && dashmflag=-M # Require at least two characters before searching for ':' # in the target name. This is to cope with DOS-style filenames: # a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise. "$@" $dashmflag | sed "s|^[$tab ]*[^:$tab ][^:][^:]*:[$tab ]*|$object: |" > "$tmpdepfile" rm -f "$depfile" cat < "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process this sed invocation # correctly. Breaking it into two sed invocations is a workaround. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; dashXmstdout) # This case only exists to satisfy depend.m4. It is never actually # run, as this mode is specially recognized in the preamble. exit 1 ;; makedepend) "$@" || exit $? # Remove any Libtool call if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # X makedepend shift cleared=no eat=no for arg do case $cleared in no) set ""; shift cleared=yes ;; esac if test $eat = yes; then eat=no continue fi case "$arg" in -D*|-I*) set fnord "$@" "$arg"; shift ;; # Strip any option that makedepend may not understand. Remove # the object too, otherwise makedepend will parse it as a source file. -arch) eat=yes ;; -*|$object) ;; *) set fnord "$@" "$arg"; shift ;; esac done obj_suffix=`echo "$object" | sed 's/^.*\././'` touch "$tmpdepfile" ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" rm -f "$depfile" # makedepend may prepend the VPATH from the source file name to the object. # No need to regex-escape $object, excess matching of '.' is harmless. sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process the last invocation # correctly. Breaking it into two sed invocations is a workaround. sed '1,2d' "$tmpdepfile" \ | tr ' ' "$nl" \ | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" "$tmpdepfile".bak ;; cpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # Remove '-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done "$@" -E \ | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ | sed '$ s: \\$::' > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" cat < "$tmpdepfile" >> "$depfile" sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; msvisualcpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi IFS=" " for arg do case "$arg" in -o) shift ;; $object) shift ;; "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") set fnord "$@" shift shift ;; *) set fnord "$@" "$arg" shift shift ;; esac done "$@" -E 2>/dev/null | sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$tab"'\1 \\:p' >> "$depfile" echo "$tab" >> "$depfile" sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile" rm -f "$tmpdepfile" ;; msvcmsys) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; none) exec "$@" ;; *) echo "Unknown depmode $depmode" 1>&2 exit 1 ;; esac exit 0 # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: gmtp-1.3.10/config/install-sh0000755000175000001440000003452312637435146012753 00000000000000#!/bin/sh # install - install a program, script, or datafile scriptversion=2013-12-25.23; # UTC # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or # sell copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- # TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # # Except as contained in this notice, the name of the X Consortium shall not # be used in advertising or otherwise to promote the sale, use or other deal- # ings in this Software without prior written authorization from the X Consor- # tium. # # # FSF changes to this file are in the public domain. # # Calling this script install-sh is preferred over install.sh, to prevent # 'make' implicit rules from creating a file called install from it # when there is no Makefile. # # This script is compatible with the BSD install script, but was written # from scratch. tab=' ' nl=' ' IFS=" $tab$nl" # Set DOITPROG to "echo" to test this script. doit=${DOITPROG-} doit_exec=${doit:-exec} # Put in absolute file names if you don't have them in your path; # or use environment vars. chgrpprog=${CHGRPPROG-chgrp} chmodprog=${CHMODPROG-chmod} chownprog=${CHOWNPROG-chown} cmpprog=${CMPPROG-cmp} cpprog=${CPPROG-cp} mkdirprog=${MKDIRPROG-mkdir} mvprog=${MVPROG-mv} rmprog=${RMPROG-rm} stripprog=${STRIPPROG-strip} posix_mkdir= # Desired mode of installed file. mode=0755 chgrpcmd= chmodcmd=$chmodprog chowncmd= mvcmd=$mvprog rmcmd="$rmprog -f" stripcmd= src= dst= dir_arg= dst_arg= copy_on_change=false is_target_a_directory=possibly usage="\ Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE or: $0 [OPTION]... SRCFILES... DIRECTORY or: $0 [OPTION]... -t DIRECTORY SRCFILES... or: $0 [OPTION]... -d DIRECTORIES... In the 1st form, copy SRCFILE to DSTFILE. In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. In the 4th, create DIRECTORIES. Options: --help display this help and exit. --version display version info and exit. -c (ignored) -C install only if different (preserve the last data modification time) -d create directories instead of installing files. -g GROUP $chgrpprog installed files to GROUP. -m MODE $chmodprog installed files to MODE. -o USER $chownprog installed files to USER. -s $stripprog installed files. -t DIRECTORY install into DIRECTORY. -T report an error if DSTFILE is a directory. Environment variables override the default commands: CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG " while test $# -ne 0; do case $1 in -c) ;; -C) copy_on_change=true;; -d) dir_arg=true;; -g) chgrpcmd="$chgrpprog $2" shift;; --help) echo "$usage"; exit $?;; -m) mode=$2 case $mode in *' '* | *"$tab"* | *"$nl"* | *'*'* | *'?'* | *'['*) echo "$0: invalid mode: $mode" >&2 exit 1;; esac shift;; -o) chowncmd="$chownprog $2" shift;; -s) stripcmd=$stripprog;; -t) is_target_a_directory=always dst_arg=$2 # Protect names problematic for 'test' and other utilities. case $dst_arg in -* | [=\(\)!]) dst_arg=./$dst_arg;; esac shift;; -T) is_target_a_directory=never;; --version) echo "$0 $scriptversion"; exit $?;; --) shift break;; -*) echo "$0: invalid option: $1" >&2 exit 1;; *) break;; esac shift done # We allow the use of options -d and -T together, by making -d # take the precedence; this is for compatibility with GNU install. if test -n "$dir_arg"; then if test -n "$dst_arg"; then echo "$0: target directory not allowed when installing a directory." >&2 exit 1 fi fi if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then # When -d is used, all remaining arguments are directories to create. # When -t is used, the destination is already specified. # Otherwise, the last argument is the destination. Remove it from $@. for arg do if test -n "$dst_arg"; then # $@ is not empty: it contains at least $arg. set fnord "$@" "$dst_arg" shift # fnord fi shift # arg dst_arg=$arg # Protect names problematic for 'test' and other utilities. case $dst_arg in -* | [=\(\)!]) dst_arg=./$dst_arg;; esac done fi if test $# -eq 0; then if test -z "$dir_arg"; then echo "$0: no input file specified." >&2 exit 1 fi # It's OK to call 'install-sh -d' without argument. # This can happen when creating conditional directories. exit 0 fi if test -z "$dir_arg"; then if test $# -gt 1 || test "$is_target_a_directory" = always; then if test ! -d "$dst_arg"; then echo "$0: $dst_arg: Is not a directory." >&2 exit 1 fi fi fi if test -z "$dir_arg"; then do_exit='(exit $ret); exit $ret' trap "ret=129; $do_exit" 1 trap "ret=130; $do_exit" 2 trap "ret=141; $do_exit" 13 trap "ret=143; $do_exit" 15 # Set umask so as not to create temps with too-generous modes. # However, 'strip' requires both read and write access to temps. case $mode in # Optimize common cases. *644) cp_umask=133;; *755) cp_umask=22;; *[0-7]) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw='% 200' fi cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; *) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw=,u+rw fi cp_umask=$mode$u_plus_rw;; esac fi for src do # Protect names problematic for 'test' and other utilities. case $src in -* | [=\(\)!]) src=./$src;; esac if test -n "$dir_arg"; then dst=$src dstdir=$dst test -d "$dstdir" dstdir_status=$? else # Waiting for this to be detected by the "$cpprog $src $dsttmp" command # might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. if test ! -f "$src" && test ! -d "$src"; then echo "$0: $src does not exist." >&2 exit 1 fi if test -z "$dst_arg"; then echo "$0: no destination specified." >&2 exit 1 fi dst=$dst_arg # If destination is a directory, append the input filename; won't work # if double slashes aren't ignored. if test -d "$dst"; then if test "$is_target_a_directory" = never; then echo "$0: $dst_arg: Is a directory" >&2 exit 1 fi dstdir=$dst dst=$dstdir/`basename "$src"` dstdir_status=0 else dstdir=`dirname "$dst"` test -d "$dstdir" dstdir_status=$? fi fi obsolete_mkdir_used=false if test $dstdir_status != 0; then case $posix_mkdir in '') # Create intermediate dirs using mode 755 as modified by the umask. # This is like FreeBSD 'install' as of 1997-10-28. umask=`umask` case $stripcmd.$umask in # Optimize common cases. *[2367][2367]) mkdir_umask=$umask;; .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; *[0-7]) mkdir_umask=`expr $umask + 22 \ - $umask % 100 % 40 + $umask % 20 \ - $umask % 10 % 4 + $umask % 2 `;; *) mkdir_umask=$umask,go-w;; esac # With -d, create the new directory with the user-specified mode. # Otherwise, rely on $mkdir_umask. if test -n "$dir_arg"; then mkdir_mode=-m$mode else mkdir_mode= fi posix_mkdir=false case $umask in *[123567][0-7][0-7]) # POSIX mkdir -p sets u+wx bits regardless of umask, which # is incompatible with FreeBSD 'install' when (umask & 300) != 0. ;; *) tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 if (umask $mkdir_umask && exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 then if test -z "$dir_arg" || { # Check for POSIX incompatibilities with -m. # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or # other-writable bit of parent directory when it shouldn't. # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. ls_ld_tmpdir=`ls -ld "$tmpdir"` case $ls_ld_tmpdir in d????-?r-*) different_mode=700;; d????-?--*) different_mode=755;; *) false;; esac && $mkdirprog -m$different_mode -p -- "$tmpdir" && { ls_ld_tmpdir_1=`ls -ld "$tmpdir"` test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" } } then posix_mkdir=: fi rmdir "$tmpdir/d" "$tmpdir" else # Remove any dirs left behind by ancient mkdir implementations. rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null fi trap '' 0;; esac;; esac if $posix_mkdir && ( umask $mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" ) then : else # The umask is ridiculous, or mkdir does not conform to POSIX, # or it failed possibly due to a race condition. Create the # directory the slow way, step by step, checking for races as we go. case $dstdir in /*) prefix='/';; [-=\(\)!]*) prefix='./';; *) prefix='';; esac oIFS=$IFS IFS=/ set -f set fnord $dstdir shift set +f IFS=$oIFS prefixes= for d do test X"$d" = X && continue prefix=$prefix$d if test -d "$prefix"; then prefixes= else if $posix_mkdir; then (umask=$mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break # Don't fail if two instances are running concurrently. test -d "$prefix" || exit 1 else case $prefix in *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; *) qprefix=$prefix;; esac prefixes="$prefixes '$qprefix'" fi fi prefix=$prefix/ done if test -n "$prefixes"; then # Don't fail if two instances are running concurrently. (umask $mkdir_umask && eval "\$doit_exec \$mkdirprog $prefixes") || test -d "$dstdir" || exit 1 obsolete_mkdir_used=true fi fi fi if test -n "$dir_arg"; then { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 else # Make a couple of temp file names in the proper directory. dsttmp=$dstdir/_inst.$$_ rmtmp=$dstdir/_rm.$$_ # Trap to clean up those temp files at exit. trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 # Copy the file name to the temp name. (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && # and set any options; do chmod last to preserve setuid bits. # # If any of these fail, we abort the whole thing. If we want to # ignore errors from any of these, just make sure not to ignore # errors from the above "$doit $cpprog $src $dsttmp" command. # { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } && { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && # If -C, don't bother to copy if it wouldn't change the file. if $copy_on_change && old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && set -f && set X $old && old=:$2:$4:$5:$6 && set X $new && new=:$2:$4:$5:$6 && set +f && test "$old" = "$new" && $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 then rm -f "$dsttmp" else # Rename the file to the real destination. $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || # The rename failed, perhaps because mv can't rename something else # to itself, or perhaps because mv is so ancient that it does not # support -f. { # Now remove or move aside any old file at destination location. # We try this two ways since rm can't unlink itself on some # systems and the destination file might be busy for other # reasons. In this case, the final cleanup might fail but the new # file should still install successfully. { test ! -f "$dst" || $doit $rmcmd -f "$dst" 2>/dev/null || { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } } || { echo "$0: cannot unlink or rename $dst" >&2 (exit 1); exit 1 } } && # Now rename the file to the real destination. $doit $mvcmd "$dsttmp" "$dst" } fi || exit 1 trap '' 0 fi done # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: gmtp-1.3.10/Makefile.am0000644000175000001440000000063612655605137011533 00000000000000AUTOMAKE_OPTIONS = subdir-objects ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} EXTRA_DIST = autogen.sh po images misc pkginfo prototype postinstall SUBDIRS = src po images misc sysv-pkg: all pkgmk -o -d /tmp -a @host_cpu@ touch @PACKAGE@-@PACKAGE_VERSION@-@host_cpu@.pkg pkgtrans -s /tmp @PACKAGE@-@PACKAGE_VERSION@-@host_cpu@.pkg @PACKAGE@ rm -r /tmp/@PACKAGE@ gzip @PACKAGE@-@PACKAGE_VERSION@-@host_cpu@.pkg gmtp-1.3.10/configure0000755000175000001440000111730612655605165011413 00000000000000#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.69 for gmtp 1.3.10. # # Report bugs to . # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. # # # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in #( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # Use a proper internal environment variable to ensure we don't fall # into an infinite loop, continuously re-executing ourselves. if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then _as_can_reexec=no; export _as_can_reexec; # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also # works around shells that cannot unset nonexistent variables. # Preserve -v and -x to the replacement shell. BASH_ENV=/dev/null ENV=/dev/null (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV case $- in # (((( *v*x* | *x*v* ) as_opts=-vx ;; *v* ) as_opts=-v ;; *x* ) as_opts=-x ;; * ) as_opts= ;; esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 as_fn_exit 255 fi # We don't want this to propagate to other subprocesses. { _as_can_reexec=; unset _as_can_reexec;} if test "x$CONFIG_SHELL" = x; then as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which # is contrary to our usage. Disable this feature. alias -g '\${1+\"\$@\"}'='\"\$@\"' setopt NO_GLOB_SUBST else case \`(set -o) 2>/dev/null\` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi " as_required="as_fn_return () { (exit \$1); } as_fn_success () { as_fn_return 0; } as_fn_failure () { as_fn_return 1; } as_fn_ret_success () { return 0; } as_fn_ret_failure () { return 1; } exitcode=0 as_fn_success || { exitcode=1; echo as_fn_success failed.; } as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : else exitcode=1; echo positional parameters were not saved. fi test x\$exitcode = x0 || exit 1 test -x / || exit 1" as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 test \$(( 1 + 1 )) = 2 || exit 1" if (eval "$as_required") 2>/dev/null; then : as_have_required=yes else as_have_required=no fi if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_found=false for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. as_found=: case $as_dir in #( /*) for as_base in sh bash ksh sh5; do # Try only shells that exist, to save several forks. as_shell=$as_dir/$as_base if { test -f "$as_shell" || test -f "$as_shell.exe"; } && { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : CONFIG_SHELL=$as_shell as_have_required=yes if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : break 2 fi fi done;; esac as_found=false done $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : CONFIG_SHELL=$SHELL as_have_required=yes fi; } IFS=$as_save_IFS if test "x$CONFIG_SHELL" != x; then : export CONFIG_SHELL # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also # works around shells that cannot unset nonexistent variables. # Preserve -v and -x to the replacement shell. BASH_ENV=/dev/null ENV=/dev/null (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV case $- in # (((( *v*x* | *x*v* ) as_opts=-vx ;; *v* ) as_opts=-v ;; *x* ) as_opts=-x ;; * ) as_opts= ;; esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 exit 255 fi if test x$as_have_required = xno; then : $as_echo "$0: This script requires a shell more modern than all" $as_echo "$0: the shells that I found on your system." if test x${ZSH_VERSION+set} = xset ; then $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" $as_echo "$0: be upgraded to zsh 4.3.4 or later." else $as_echo "$0: Please tell bug-autoconf@gnu.org and $0: chewy509@mailcity.com about your system, including any $0: error possibly output before this message. Then install $0: a modern shell, or manually run the script under such a $0: shell if you do have one." fi exit 1 fi fi fi SHELL=${CONFIG_SHELL-/bin/sh} export SHELL # Unset more variables known to interfere with behavior of common tools. CLICOLOR_FORCE= GREP_OPTIONS= unset CLICOLOR_FORCE GREP_OPTIONS ## --------------------- ## ## M4sh Shell Functions. ## ## --------------------- ## # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p # as_fn_executable_p FILE # ----------------------- # Test if FILE is an executable regular file. as_fn_executable_p () { test -f "$1" && test -x "$1" } # as_fn_executable_p # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append # as_fn_arith ARG... # ------------------ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits as_lineno_1=$LINENO as_lineno_1a=$LINENO as_lineno_2=$LINENO as_lineno_2a=$LINENO eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= ' <$as_myself | sed ' s/[$]LINENO.*/&-/ t lineno b :lineno N :loop s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ t loop s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } # If we had to re-execute with $CONFIG_SHELL, we're ensured to have # already done that, so ensure we don't try to do so again and fall # in an infinite loop. This has already happened in practice. _as_can_reexec=no; export _as_can_reexec # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). . "./$as_me.lineno" # Exit status is that of the last command. exit } ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -pR' fi else as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi as_test_x='test -x' as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" test -n "$DJDIR" || exec 7<&0 &1 # Name of the host. # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` # # Initializations. # ac_default_prefix=/usr/local ac_clean_files= ac_config_libobj_dir=. LIBOBJS= cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= # Identity of this package. PACKAGE_NAME='gmtp' PACKAGE_TARNAME='gmtp' PACKAGE_VERSION='1.3.10' PACKAGE_STRING='gmtp 1.3.10' PACKAGE_BUGREPORT='chewy509@mailcity.com' PACKAGE_URL='' ac_unique_file="src/main.c" gt_needs= # Factoring default headers for most tests. ac_includes_default="\ #include #ifdef HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_SYS_STAT_H # include #endif #ifdef STDC_HEADERS # include # include #else # ifdef HAVE_STDLIB_H # include # endif #endif #ifdef HAVE_STRING_H # if !defined STDC_HEADERS && defined HAVE_MEMORY_H # include # endif # include #endif #ifdef HAVE_STRINGS_H # include #endif #ifdef HAVE_INTTYPES_H # include #endif #ifdef HAVE_STDINT_H # include #endif #ifdef HAVE_UNISTD_H # include #endif" ac_subst_vars='am__EXEEXT_FALSE am__EXEEXT_TRUE LTLIBOBJS LIBOBJS VORBISFILE_LIBS VORBISFILE_CFLAGS ID3TAG_LIBS ID3TAG_CFLAGS FLAC_LIBS FLAC_CFLAGS LIBMTP_LIBS LIBMTP_CFLAGS GTHREAD_LIBS GTHREAD_CFLAGS GSETTINGS_RULES GLIB_COMPILE_SCHEMAS gsettingsschemadir GSETTINGS_DISABLE_SCHEMAS_COMPILE GIO_LIBS GIO_CFLAGS GCONFTOOL GCONF_SCHEMAS_INSTALL_FALSE GCONF_SCHEMAS_INSTALL_TRUE GCONF_SCHEMA_FILE_DIR GCONF_SCHEMA_CONFIG_SOURCE GCONF_LIBS GCONF_CFLAGS GTK2_LIBS GTK2_CFLAGS GTK3_LIBS GTK3_CFLAGS PKG_CONFIG_LIBDIR PKG_CONFIG_PATH PKG_CONFIG EGREP GREP CPP POSUB LTLIBINTL LIBINTL INTLLIBS LTLIBICONV LIBICONV INTL_MACOSX_LIBS MSGMERGE XGETTEXT_015 XGETTEXT GMSGFMT_015 MSGFMT_015 GMSGFMT MSGFMT USE_NLS LN_S am__fastdepCC_FALSE am__fastdepCC_TRUE CCDEPMODE am__nodep AMDEPBACKSLASH AMDEP_FALSE AMDEP_TRUE am__quote am__include DEPDIR OBJEXT EXEEXT ac_ct_CC CPPFLAGS LDFLAGS CFLAGS CC AM_BACKSLASH AM_DEFAULT_VERBOSITY AM_DEFAULT_V AM_V am__untar am__tar AMTAR am__leading_dot SET_MAKE AWK mkdir_p MKDIR_P INSTALL_STRIP_PROGRAM STRIP install_sh MAKEINFO AUTOHEADER AUTOMAKE AUTOCONF ACLOCAL VERSION PACKAGE CYGPATH_W am__isrc INSTALL_DATA INSTALL_SCRIPT INSTALL_PROGRAM ARCH host_os host_vendor host_cpu host build_os build_vendor build_cpu build target_alias host_alias build_alias LIBS ECHO_T ECHO_N ECHO_C DEFS mandir localedir libdir psdir pdfdir dvidir htmldir infodir docdir oldincludedir includedir localstatedir sharedstatedir sysconfdir datadir datarootdir libexecdir sbindir bindir program_transform_name prefix exec_prefix PACKAGE_URL PACKAGE_BUGREPORT PACKAGE_STRING PACKAGE_VERSION PACKAGE_TARNAME PACKAGE_NAME PATH_SEPARATOR SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking enable_silent_rules enable_dependency_tracking enable_nls with_gnu_ld enable_rpath with_libiconv_prefix with_libintl_prefix with_gtk3 with_gtk2 with_gconf_source with_gconf_schema_file_dir enable_schemas_install enable_schemas_compile ' ac_precious_vars='build_alias host_alias target_alias CC CFLAGS LDFLAGS LIBS CPPFLAGS CPP PKG_CONFIG PKG_CONFIG_PATH PKG_CONFIG_LIBDIR GTK3_CFLAGS GTK3_LIBS GTK2_CFLAGS GTK2_LIBS GCONF_CFLAGS GCONF_LIBS GIO_CFLAGS GIO_LIBS GTHREAD_CFLAGS GTHREAD_LIBS LIBMTP_CFLAGS LIBMTP_LIBS FLAC_CFLAGS FLAC_LIBS ID3TAG_CFLAGS ID3TAG_LIBS VORBISFILE_CFLAGS VORBISFILE_LIBS' # Initialize some variables set by options. ac_init_help= ac_init_version=false ac_unrecognized_opts= ac_unrecognized_sep= # The variables have the same names as the options, with # dashes changed to underlines. cache_file=/dev/null exec_prefix=NONE no_create= no_recursion= prefix=NONE program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, silent= site= srcdir= verbose= x_includes=NONE x_libraries=NONE # Installation directory options. # These are left unexpanded so users can "make install exec_prefix=/foo" # and all the variables that are supposed to be based on exec_prefix # by default will actually change. # Use braces instead of parens because sh, perl, etc. also accept them. # (The list follows the same order as the GNU Coding Standards.) bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datarootdir='${prefix}/share' datadir='${datarootdir}' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' includedir='${prefix}/include' oldincludedir='/usr/include' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' infodir='${datarootdir}/info' htmldir='${docdir}' dvidir='${docdir}' pdfdir='${docdir}' psdir='${docdir}' libdir='${exec_prefix}/lib' localedir='${datarootdir}/locale' mandir='${datarootdir}/man' ac_prev= ac_dashdash= for ac_option do # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then eval $ac_prev=\$ac_option ac_prev= continue fi case $ac_option in *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; *=) ac_optarg= ;; *) ac_optarg=yes ;; esac # Accept the important Cygnus configure options, so we can diagnose typos. case $ac_dashdash$ac_option in --) ac_dashdash=yes ;; -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) bindir=$ac_optarg ;; -build | --build | --buil | --bui | --bu) ac_prev=build_alias ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) build_alias=$ac_optarg ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) cache_file=$ac_optarg ;; --config-cache | -C) cache_file=config.cache ;; -datadir | --datadir | --datadi | --datad) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=*) datadir=$ac_optarg ;; -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | --dataroo | --dataro | --datar) ac_prev=datarootdir ;; -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) datarootdir=$ac_optarg ;; -disable-* | --disable-*) ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=no ;; -docdir | --docdir | --docdi | --doc | --do) ac_prev=docdir ;; -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) docdir=$ac_optarg ;; -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) ac_prev=dvidir ;; -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) dvidir=$ac_optarg ;; -enable-* | --enable-*) ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=\$ac_optarg ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | --exec | --exe | --ex) ac_prev=exec_prefix ;; -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) exec_prefix=$ac_optarg ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; -help | --help | --hel | --he | -h) ac_init_help=long ;; -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ac_init_help=recursive ;; -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ac_init_help=short ;; -host | --host | --hos | --ho) ac_prev=host_alias ;; -host=* | --host=* | --hos=* | --ho=*) host_alias=$ac_optarg ;; -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) ac_prev=htmldir ;; -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | --ht=*) htmldir=$ac_optarg ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) includedir=$ac_optarg ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) infodir=$ac_optarg ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) libdir=$ac_optarg ;; -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | --libexe | --libex | --libe) ac_prev=libexecdir ;; -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | --libexe=* | --libex=* | --libe=*) libexecdir=$ac_optarg ;; -localedir | --localedir | --localedi | --localed | --locale) ac_prev=localedir ;; -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) localedir=$ac_optarg ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst | --locals) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) localstatedir=$ac_optarg ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) mandir=$ac_optarg ;; -nfp | --nfp | --nf) # Obsolete; use --without-fp. with_fp=no ;; -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c | -n) no_create=yes ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) no_recursion=yes ;; -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | --oldin | --oldi | --old | --ol | --o) ac_prev=oldincludedir ;; -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) oldincludedir=$ac_optarg ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) prefix=$ac_optarg ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p) ac_prev=program_prefix ;; -program-prefix=* | --program-prefix=* | --program-prefi=* \ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) program_prefix=$ac_optarg ;; -program-suffix | --program-suffix | --program-suffi | --program-suff \ | --program-suf | --program-su | --program-s) ac_prev=program_suffix ;; -program-suffix=* | --program-suffix=* | --program-suffi=* \ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) program_suffix=$ac_optarg ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ | --program-transform-n | --program-transform- \ | --program-transform | --program-transfor \ | --program-transfo | --program-transf \ | --program-trans | --program-tran \ | --progr-tra | --program-tr | --program-t) ac_prev=program_transform_name ;; -program-transform-name=* | --program-transform-name=* \ | --program-transform-nam=* | --program-transform-na=* \ | --program-transform-n=* | --program-transform-=* \ | --program-transform=* | --program-transfor=* \ | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) program_transform_name=$ac_optarg ;; -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) ac_prev=pdfdir ;; -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) pdfdir=$ac_optarg ;; -psdir | --psdir | --psdi | --psd | --ps) ac_prev=psdir ;; -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) psdir=$ac_optarg ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) silent=yes ;; -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) sbindir=$ac_optarg ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | --sharedst | --shareds | --shared | --share | --shar \ | --sha | --sh) ac_prev=sharedstatedir ;; -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) sharedstatedir=$ac_optarg ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) site=$ac_optarg ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) srcdir=$ac_optarg ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) sysconfdir=$ac_optarg ;; -target | --target | --targe | --targ | --tar | --ta | --t) ac_prev=target_alias ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) target_alias=$ac_optarg ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; -version | --version | --versio | --versi | --vers | -V) ac_init_version=: ;; -with-* | --with-*) ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=\$ac_optarg ;; -without-* | --without-*) ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=no ;; --x) # Obsolete; use --with-x. with_x=yes ;; -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | --x-incl | --x-inc | --x-in | --x-i) ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) x_includes=$ac_optarg ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; -*) as_fn_error $? "unrecognized option: \`$ac_option' Try \`$0 --help' for more information" ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. case $ac_envvar in #( '' | [0-9]* | *[!_$as_cr_alnum]* ) as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; esac eval $ac_envvar=\$ac_optarg export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" ;; esac done if test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` as_fn_error $? "missing argument to $ac_option" fi if test -n "$ac_unrecognized_opts"; then case $enable_option_checking in no) ;; fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; esac fi # Check all directory arguments for consistency. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ datadir sysconfdir sharedstatedir localstatedir includedir \ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ libdir localedir mandir do eval ac_val=\$$ac_var # Remove trailing slashes. case $ac_val in */ ) ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` eval $ac_var=\$ac_val;; esac # Be sure to have absolute directory names. case $ac_val in [\\/$]* | ?:[\\/]* ) continue;; NONE | '' ) case $ac_var in *prefix ) continue;; esac;; esac as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" done # There might be people who depend on the old broken behavior: `$host' # used to hold the argument of --host etc. # FIXME: To remove some day. build=$build_alias host=$host_alias target=$target_alias # FIXME: To remove some day. if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi fi ac_tool_prefix= test -n "$host_alias" && ac_tool_prefix=$host_alias- test "$silent" = yes && exec 6>/dev/null ac_pwd=`pwd` && test -n "$ac_pwd" && ac_ls_di=`ls -di .` && ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || as_fn_error $? "working directory cannot be determined" test "X$ac_ls_di" = "X$ac_pwd_ls_di" || as_fn_error $? "pwd does not report name of working directory" # Find the source files, if location was not specified. if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then the parent directory. ac_confdir=`$as_dirname -- "$as_myself" || $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_myself" : 'X\(//\)[^/]' \| \ X"$as_myself" : 'X\(//\)$' \| \ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_myself" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` srcdir=$ac_confdir if test ! -r "$srcdir/$ac_unique_file"; then srcdir=.. fi else ac_srcdir_defaulted=no fi if test ! -r "$srcdir/$ac_unique_file"; then test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" fi ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ac_abs_confdir=`( cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" pwd)` # When building in place, set srcdir=. if test "$ac_abs_confdir" = "$ac_pwd"; then srcdir=. fi # Remove unnecessary trailing slashes from srcdir. # Double slashes in file names in object file debugging info # mess up M-x gdb in Emacs. case $srcdir in */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; esac for ac_var in $ac_precious_vars; do eval ac_env_${ac_var}_set=\${${ac_var}+set} eval ac_env_${ac_var}_value=\$${ac_var} eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} eval ac_cv_env_${ac_var}_value=\$${ac_var} done # # Report the --help message. # if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF \`configure' configures gmtp 1.3.10 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print \`checking ...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for \`--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or \`..'] Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX [$ac_default_prefix] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] By default, \`make install' will install all the files in \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify an installation prefix other than \`$ac_default_prefix' using \`--prefix', for instance \`--prefix=\$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] --datadir=DIR read-only architecture-independent data [DATAROOTDIR] --infodir=DIR info documentation [DATAROOTDIR/info] --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] --docdir=DIR documentation root [DATAROOTDIR/doc/gmtp] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] --psdir=DIR ps documentation [DOCDIR] _ACEOF cat <<\_ACEOF Program names: --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names System types: --build=BUILD configure for building on BUILD [guessed] --host=HOST cross-compile to build programs to run on HOST [BUILD] _ACEOF fi if test -n "$ac_init_help"; then case $ac_init_help in short | recursive ) echo "Configuration of gmtp 1.3.10:";; esac cat <<\_ACEOF Optional Features: --disable-option-checking ignore unrecognized --enable/--with options --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-silent-rules less verbose build output (undo: "make V=1") --disable-silent-rules verbose build output (undo: "make V=0") --enable-dependency-tracking do not reject slow dependency extractors --disable-dependency-tracking speeds up one-time build --disable-nls do not use Native Language Support --disable-rpath do not hardcode runtime library paths --disable-schemas-install Disable the schemas installation --disable-schemas-compile Disable regeneration of gschemas.compiled on install Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-gnu-ld assume the C compiler uses GNU ld default=no --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib --without-libiconv-prefix don't search for libiconv in includedir and libdir --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib --without-libintl-prefix don't search for libintl in includedir and libdir --with-gtk3 Build using GTK+ 3.0 (default) --with-gtk2 Build using GTK+ 2.0 --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: CC C compiler command CFLAGS C compiler flags LDFLAGS linker flags, e.g. -L if you have libraries in a nonstandard directory LIBS libraries to pass to the linker, e.g. -l CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if you have headers in a nonstandard directory CPP C preprocessor PKG_CONFIG path to pkg-config utility PKG_CONFIG_PATH directories to add to pkg-config's search path PKG_CONFIG_LIBDIR path overriding pkg-config's built-in search path GTK3_CFLAGS C compiler flags for GTK3, overriding pkg-config GTK3_LIBS linker flags for GTK3, overriding pkg-config GTK2_CFLAGS C compiler flags for GTK2, overriding pkg-config GTK2_LIBS linker flags for GTK2, overriding pkg-config GCONF_CFLAGS C compiler flags for GCONF, overriding pkg-config GCONF_LIBS linker flags for GCONF, overriding pkg-config GIO_CFLAGS C compiler flags for GIO, overriding pkg-config GIO_LIBS linker flags for GIO, overriding pkg-config GTHREAD_CFLAGS C compiler flags for GTHREAD, overriding pkg-config GTHREAD_LIBS linker flags for GTHREAD, overriding pkg-config LIBMTP_CFLAGS C compiler flags for LIBMTP, overriding pkg-config LIBMTP_LIBS linker flags for LIBMTP, overriding pkg-config FLAC_CFLAGS C compiler flags for FLAC, overriding pkg-config FLAC_LIBS linker flags for FLAC, overriding pkg-config ID3TAG_CFLAGS C compiler flags for ID3TAG, overriding pkg-config ID3TAG_LIBS linker flags for ID3TAG, overriding pkg-config VORBISFILE_CFLAGS C compiler flags for VORBISFILE, overriding pkg-config VORBISFILE_LIBS linker flags for VORBISFILE, overriding pkg-config Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. Report bugs to . _ACEOF ac_status=$? fi if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue test -d "$ac_dir" || { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || continue ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix cd "$ac_dir" || { ac_status=$?; continue; } # Check for guested configure. if test -f "$ac_srcdir/configure.gnu"; then echo && $SHELL "$ac_srcdir/configure.gnu" --help=recursive elif test -f "$ac_srcdir/configure"; then echo && $SHELL "$ac_srcdir/configure" --help=recursive else $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi || ac_status=$? cd "$ac_pwd" || { ac_status=$?; break; } done fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF gmtp configure 1.3.10 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF exit fi ## ------------------------ ## ## Autoconf initialization. ## ## ------------------------ ## # ac_fn_c_try_compile LINENO # -------------------------- # Try to compile conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_compile # ac_fn_c_try_link LINENO # ----------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_link () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext conftest$ac_exeext if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || test -x conftest$ac_exeext }; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would # interfere with the next link command; also delete a directory that is # left behind by Apple's compiler. We do this before executing the actions. rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_link # ac_fn_c_try_cpp LINENO # ---------------------- # Try to preprocess conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_cpp () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if { { ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } > conftest.i && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_cpp # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES # ------------------------------------------------------- # Tests whether HEADER exists, giving a warning if it cannot be compiled using # the include files in INCLUDES and setting the cache variable VAR # accordingly. ac_fn_c_check_header_mongrel () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if eval \${$3+:} false; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } else # Is the header compilable? { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 $as_echo_n "checking $2 usability... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 #include <$2> _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_header_compiler=yes else ac_header_compiler=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 $as_echo "$ac_header_compiler" >&6; } # Is the header present? { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 $as_echo_n "checking $2 presence... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include <$2> _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : ac_header_preproc=yes else ac_header_preproc=no fi rm -f conftest.err conftest.i conftest.$ac_ext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 $as_echo "$ac_header_preproc" >&6; } # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( yes:no: ) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ;; no:yes:* ) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ( $as_echo "## ------------------------------------ ## ## Report this to chewy509@mailcity.com ## ## ------------------------------------ ##" ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else eval "$3=\$ac_header_compiler" fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_header_mongrel # ac_fn_c_try_run LINENO # ---------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes # that executables *can* be run. ac_fn_c_try_run () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then : ac_retval=0 else $as_echo "$as_me: program exited with status $ac_status" >&5 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=$ac_status fi rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_run # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES # ------------------------------------------------------- # Tests whether HEADER exists and can be compiled using the include files in # INCLUDES, setting the cache variable VAR accordingly. ac_fn_c_check_header_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 #include <$2> _ACEOF if ac_fn_c_try_compile "$LINENO"; then : eval "$3=yes" else eval "$3=no" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_header_compile # ac_fn_c_find_intX_t LINENO BITS VAR # ----------------------------------- # Finds a signed integer type with width BITS, setting cache variable VAR # accordingly. ac_fn_c_find_intX_t () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5 $as_echo_n "checking for int$2_t... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else eval "$3=no" # Order is important - never check a type that is potentially smaller # than half of the expected target width. for ac_type in int$2_t 'int' 'long int' \ 'long long int' 'short int' 'signed char'; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default enum { N = $2 / 2 - 1 }; int main () { static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))]; test_array [0] = 0; return test_array [0]; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default enum { N = $2 / 2 - 1 }; int main () { static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1) < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))]; test_array [0] = 0; return test_array [0]; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : else case $ac_type in #( int$2_t) : eval "$3=yes" ;; #( *) : eval "$3=\$ac_type" ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if eval test \"x\$"$3"\" = x"no"; then : else break fi done fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_find_intX_t # ac_fn_c_find_uintX_t LINENO BITS VAR # ------------------------------------ # Finds an unsigned integer type with width BITS, setting cache variable VAR # accordingly. ac_fn_c_find_uintX_t () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 $as_echo_n "checking for uint$2_t... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else eval "$3=no" # Order is important - never check a type that is potentially smaller # than half of the expected target width. for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \ 'unsigned long long int' 'unsigned short int' 'unsigned char'; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)]; test_array [0] = 0; return test_array [0]; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : case $ac_type in #( uint$2_t) : eval "$3=yes" ;; #( *) : eval "$3=\$ac_type" ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if eval test \"x\$"$3"\" = x"no"; then : else break fi done fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_find_uintX_t # ac_fn_c_check_func LINENO FUNC VAR # ---------------------------------- # Tests whether FUNC exists, setting the cache variable VAR accordingly ac_fn_c_check_func () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Define $2 to an innocuous variant, in case declares $2. For example, HP-UX 11i declares gettimeofday. */ #define $2 innocuous_$2 /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $2 (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $2 /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_$2 || defined __stub___$2 choke me #endif int main () { return $2 (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : eval "$3=yes" else eval "$3=no" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_func cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by gmtp $as_me 1.3.10, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ _ACEOF exec 5>>config.log { cat <<_ASUNAME ## --------- ## ## Platform. ## ## --------- ## hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` _ASUNAME as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. $as_echo "PATH: $as_dir" done IFS=$as_save_IFS } >&5 cat >&5 <<_ACEOF ## ----------- ## ## Core tests. ## ## ----------- ## _ACEOF # Keep a trace of the command line. # Strip out --no-create and --no-recursion so they do not pile up. # Strip out --silent because we don't want to record it for future runs. # Also quote any args containing shell meta-characters. # Make two passes to allow for proper duplicate-argument suppression. ac_configure_args= ac_configure_args0= ac_configure_args1= ac_must_keep_next=false for ac_pass in 1 2 do for ac_arg do case $ac_arg in -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) continue ;; *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2) as_fn_append ac_configure_args1 " '$ac_arg'" if test $ac_must_keep_next = true; then ac_must_keep_next=false # Got value, back to normal. else case $ac_arg in *=* | --config-cache | -C | -disable-* | --disable-* \ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | -with-* | --with-* | -without-* | --without-* | --x) case "$ac_configure_args0 " in "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; esac ;; -* ) ac_must_keep_next=true ;; esac fi as_fn_append ac_configure_args " '$ac_arg'" ;; esac done done { ac_configure_args0=; unset ac_configure_args0;} { ac_configure_args1=; unset ac_configure_args1;} # When interrupted or exit'd, cleanup temporary files, and complete # config.log. We remove comments because anyway the quotes in there # would cause problems or look ugly. # WARNING: Use '\'' to represent an apostrophe within the trap. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. trap 'exit_status=$? # Save into config.log some information that might help in debugging. { echo $as_echo "## ---------------- ## ## Cache variables. ## ## ---------------- ##" echo # The following way of writing the cache mishandles newlines in values, ( for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( *${as_nl}ac_space=\ *) sed -n \ "s/'\''/'\''\\\\'\'''\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" ;; #( *) sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) echo $as_echo "## ----------------- ## ## Output variables. ## ## ----------------- ##" echo for ac_var in $ac_subst_vars do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo if test -n "$ac_subst_files"; then $as_echo "## ------------------- ## ## File substitutions. ## ## ------------------- ##" echo for ac_var in $ac_subst_files do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo fi if test -s confdefs.h; then $as_echo "## ----------- ## ## confdefs.h. ## ## ----------- ##" echo cat confdefs.h echo fi test "$ac_signal" != 0 && $as_echo "$as_me: caught signal $ac_signal" $as_echo "$as_me: exit $exit_status" } >&5 rm -f core *.core core.conftest.* && rm -f -r conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status ' 0 for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h $as_echo "/* confdefs.h */" > confdefs.h # Predefined preprocessor variables. cat >>confdefs.h <<_ACEOF #define PACKAGE_NAME "$PACKAGE_NAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_TARNAME "$PACKAGE_TARNAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_VERSION "$PACKAGE_VERSION" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_STRING "$PACKAGE_STRING" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_URL "$PACKAGE_URL" _ACEOF # Let the site file select an alternate cache file if it wants to. # Prefer an explicitly selected file to automatically selected ones. ac_site_file1=NONE ac_site_file2=NONE if test -n "$CONFIG_SITE"; then # We do not want a PATH search for config.site. case $CONFIG_SITE in #(( -*) ac_site_file1=./$CONFIG_SITE;; */*) ac_site_file1=$CONFIG_SITE;; *) ac_site_file1=./$CONFIG_SITE;; esac elif test "x$prefix" != xNONE; then ac_site_file1=$prefix/share/config.site ac_site_file2=$prefix/etc/config.site else ac_site_file1=$ac_default_prefix/share/config.site ac_site_file2=$ac_default_prefix/etc/config.site fi for ac_site_file in "$ac_site_file1" "$ac_site_file2" do test "x$ac_site_file" = xNONE && continue if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 $as_echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" \ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "failed to load site script $ac_site_file See \`config.log' for more details" "$LINENO" 5; } fi done if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special files # actually), so we avoid doing that. DJGPP emulates it as a regular file. if test /dev/null != "$cache_file" && test -f "$cache_file"; then { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 $as_echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fi else { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi gt_needs="$gt_needs " # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false for ac_var in $ac_precious_vars; do eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set eval ac_old_val=\$ac_cv_env_${ac_var}_value eval ac_new_val=\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then # differences in whitespace do not lead to failure. ac_old_val_w=`echo x $ac_old_val` ac_new_val_w=`echo x $ac_new_val` if test "$ac_old_val_w" != "$ac_new_val_w"; then { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} ac_cache_corrupted=: else { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} eval $ac_var=\$ac_old_val fi { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. *) as_fn_append ac_configure_args " '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 fi ## -------------------- ## ## Main body of script. ## ## -------------------- ## ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_config_headers="$ac_config_headers config.h" ac_aux_dir= for ac_dir in config "$srcdir"/config; do if test -f "$ac_dir/install-sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install-sh -c" break elif test -f "$ac_dir/install.sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install.sh -c" break elif test -f "$ac_dir/shtool"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/shtool install -c" break fi done if test -z "$ac_aux_dir"; then as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5 fi # These three variables are undocumented and unsupported, # and are intended to be withdrawn in a future Autoconf release. # They can cause serious problems if a builder's source tree is in a directory # whose full name contains unusual characters. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. # Make sure we can run config.sub. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 $as_echo_n "checking build system type... " >&6; } if ${ac_cv_build+:} false; then : $as_echo_n "(cached) " >&6 else ac_build_alias=$build_alias test "x$ac_build_alias" = x && ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` test "x$ac_build_alias" = x && as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 $as_echo "$ac_cv_build" >&6; } case $ac_cv_build in *-*-*) ;; *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; esac build=$ac_cv_build ac_save_IFS=$IFS; IFS='-' set x $ac_cv_build shift build_cpu=$1 build_vendor=$2 shift; shift # Remember, the first character of IFS is used to create $*, # except with old shells: build_os=$* IFS=$ac_save_IFS case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 $as_echo_n "checking host system type... " >&6; } if ${ac_cv_host+:} false; then : $as_echo_n "(cached) " >&6 else if test "x$host_alias" = x; then ac_cv_host=$ac_cv_build else ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 $as_echo "$ac_cv_host" >&6; } case $ac_cv_host in *-*-*) ;; *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; esac host=$ac_cv_host ac_save_IFS=$IFS; IFS='-' set x $ac_cv_host shift host_cpu=$1 host_vendor=$2 shift; shift # Remember, the first character of IFS is used to create $*, # except with old shells: host_os=$* IFS=$ac_save_IFS case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac ARCH=host_cpu am__api_version='1.15' # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. # Reject install programs that cannot install multiple files. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 $as_echo_n "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then if ${ac_cv_path_install+:} false; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. # Account for people who put trailing slashes in PATH elements. case $as_dir/ in #(( ./ | .// | /[cC]/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else rm -rf conftest.one conftest.two conftest.dir echo one > conftest.one echo two > conftest.two mkdir conftest.dir if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && test -s conftest.one && test -s conftest.two && test -s conftest.dir/conftest.one && test -s conftest.dir/conftest.two then ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi fi done done ;; esac done IFS=$as_save_IFS rm -rf conftest.one conftest.two conftest.dir fi if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. Don't cache a # value for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. INSTALL=$ac_install_sh fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 $as_echo "$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 $as_echo_n "checking whether build environment is sane... " >&6; } # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' ' case `pwd` in *[\\\"\#\$\&\'\`$am_lf]*) as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; esac case $srcdir in *[\\\"\#\$\&\'\`$am_lf\ \ ]*) as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; esac # Do 'set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( am_has_slept=no for am_try in 1 2; do echo "timestamp, slept: $am_has_slept" > conftest.file set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` if test "$*" = "X"; then # -L didn't work. set X `ls -t "$srcdir/configure" conftest.file` fi if test "$*" != "X $srcdir/configure conftest.file" \ && test "$*" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". as_fn_error $? "ls -t appears to fail. Make sure there is not a broken alias in your environment" "$LINENO" 5 fi if test "$2" = conftest.file || test $am_try -eq 2; then break fi # Just in case. sleep 1 am_has_slept=yes done test "$2" = conftest.file ) then # Ok. : else as_fn_error $? "newly created file is older than distributed files! Check your system clock" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } # If we didn't sleep, we still need to ensure time stamps of config.status and # generated files are strictly newer. am_sleep_pid= if grep 'slept: no' conftest.file >/dev/null 2>&1; then ( sleep 1 ) & am_sleep_pid=$! fi rm -f conftest.file test "$program_prefix" != NONE && program_transform_name="s&^&$program_prefix&;$program_transform_name" # Use a double $ so make ignores it. test "$program_suffix" != NONE && program_transform_name="s&\$&$program_suffix&;$program_transform_name" # Double any \ or $. # By default was `s,x,x', remove it if useless. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` # Expand $ac_aux_dir to an absolute path. am_aux_dir=`cd "$ac_aux_dir" && pwd` if test x"${MISSING+set}" != xset; then case $am_aux_dir in *\ * | *\ *) MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; *) MISSING="\${SHELL} $am_aux_dir/missing" ;; esac fi # Use eval to expand $SHELL if eval "$MISSING --is-lightweight"; then am_missing_run="$MISSING " else am_missing_run= { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} fi if test x"${install_sh+set}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; *) install_sh="\${SHELL} $am_aux_dir/install-sh" esac fi # Installed binaries are usually stripped using 'strip' when the user # run "make install-strip". However 'strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the 'STRIP' environment variable to overrule this program. if test "$cross_compiling" != no; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 $as_echo "$STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 $as_echo "$ac_ct_STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_STRIP" = x; then STRIP=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP fi else STRIP="$ac_cv_prog_STRIP" fi fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } if test -z "$MKDIR_P"; then if ${ac_cv_path_mkdir+:} false; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in mkdir gmkdir; do for ac_exec_ext in '' $ac_executable_extensions; do as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 'mkdir (GNU coreutils) '* | \ 'mkdir (coreutils) '* | \ 'mkdir (fileutils) '4.1*) ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext break 3;; esac done done done IFS=$as_save_IFS fi test -d ./--version && rmdir ./--version if test "${ac_cv_path_mkdir+set}" = set; then MKDIR_P="$ac_cv_path_mkdir -p" else # As a last resort, use the slow shell script. Don't cache a # value for MKDIR_P within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. MKDIR_P="$ac_install_sh -d" fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 $as_echo "$MKDIR_P" >&6; } for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_AWK+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AWK="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 $as_echo "$AWK" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$AWK" && break done { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } set x ${MAKE-make} ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : $as_echo_n "(cached) " >&6 else cat >conftest.make <<\_ACEOF SHELL = /bin/sh all: @echo '@@@%%%=$(MAKE)=@@@%%%' _ACEOF # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. case `${MAKE-make} -f conftest.make 2>/dev/null` in *@@@%%%=?*=@@@%%%*) eval ac_cv_prog_make_${ac_make}_set=yes;; *) eval ac_cv_prog_make_${ac_make}_set=no;; esac rm -f conftest.make fi if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } SET_MAKE= else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null # Check whether --enable-silent-rules was given. if test "${enable_silent_rules+set}" = set; then : enableval=$enable_silent_rules; fi case $enable_silent_rules in # ((( yes) AM_DEFAULT_VERBOSITY=0;; no) AM_DEFAULT_VERBOSITY=1;; *) AM_DEFAULT_VERBOSITY=1;; esac am_make=${MAKE-make} { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 $as_echo_n "checking whether $am_make supports nested variables... " >&6; } if ${am_cv_make_support_nested_variables+:} false; then : $as_echo_n "(cached) " >&6 else if $as_echo 'TRUE=$(BAR$(V)) BAR0=false BAR1=true V=1 am__doit: @$(TRUE) .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then am_cv_make_support_nested_variables=yes else am_cv_make_support_nested_variables=no fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 $as_echo "$am_cv_make_support_nested_variables" >&6; } if test $am_cv_make_support_nested_variables = yes; then AM_V='$(V)' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' else AM_V=$AM_DEFAULT_VERBOSITY AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY fi AM_BACKSLASH='\' if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." am__isrc=' -I$(srcdir)' # test to see if srcdir already configured if test -f $srcdir/config.status; then as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi # Define the identity of the package. PACKAGE='gmtp' VERSION='1.3.10' # Some tools Automake needs. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} # For better backward compatibility. To be removed once Automake 1.9.x # dies out for good. For more background, see: # # mkdir_p='$(MKDIR_P)' # We need awk for the "check" target (and possibly the TAP driver). The # system "awk" is bad on some platforms. # Always define AMTAR for backward compatibility. Yes, it's still used # in the wild :-( We should find a proper way to deprecate it ... AMTAR='$${TAR-tar}' # We'll loop over all known methods to create a tar archive until one works. _am_tools='gnutar pax cpio none' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' # POSIX will say in a future version that running "rm -f" with no argument # is OK; and we want to be able to make that assumption in our Makefile # recipes. So use an aggressive probe to check that the usage we want is # actually supported "in the wild" to an acceptable degree. # See automake bug#10828. # To make any issue more visible, cause the running configure to be aborted # by default if the 'rm' program in use doesn't match our expectations; the # user can still override this though. if rm -f && rm -fr && rm -rf; then : OK; else cat >&2 <<'END' Oops! Your 'rm' program seems unable to run without file operands specified on the command line, even when the '-f' option is present. This is contrary to the behaviour of most rm programs out there, and not conforming with the upcoming POSIX standard: Please tell bug-automake@gnu.org about your system, including the value of your $PATH and any error possibly output before this message. This can help us improve future automake versions. END if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then echo 'Configuration will proceed anyway, since you have set the' >&2 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 echo >&2 else cat >&2 <<'END' Aborting the configuration process, to ensure you take notice of the issue. You can download and install GNU coreutils to get an 'rm' implementation that behaves properly: . If you want to complete the configuration process using your problematic 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM to "yes", and re-run configure. END as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 fi fi # Checks for programs. 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 for ac_prog in gcc cc do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in gcc cc do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_CC" && break done if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi fi test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "no acceptable C compiler found in \$PATH See \`config.log' for more details" "$LINENO" 5; } # Provide some information about the compiler. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 set X $ac_compile ac_compiler=$2 for ac_option in --version -v -V -qversion; do { { ac_try="$ac_compiler $ac_option >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? if test -s conftest.err; then sed '10a\ ... rest of stderr output deleted ... 10q' conftest.err >conftest.er1 cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } done cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 $as_echo_n "checking whether the C compiler works... " >&6; } ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` # The possible output files: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" ac_rmfiles= for ac_file in $ac_files do case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; * ) ac_rmfiles="$ac_rmfiles $ac_file";; esac done rm -f $ac_rmfiles if { { ac_try="$ac_link_default" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link_default") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' # in a Makefile. We should not override ac_cv_exeext if it was cached, # so that the user can short-circuit this test for compilers unknown to # Autoconf. for ac_file in $ac_files '' do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; [ab].out ) # We found the default executable, but exeext='' is most # certainly right. break;; *.* ) if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; then :; else ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` fi # We set ac_cv_exeext here because the later test for it is not # safe: cross compilers may not add the suffix if given an `-o' # argument, so we may need to know it at that point already. # Even if this section looks crufty: it has the advantage of # actually working. break;; * ) break;; esac done test "$ac_cv_exeext" = no && ac_cv_exeext= else ac_file='' fi if test -z "$ac_file"; then : { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "C compiler cannot create executables See \`config.log' for more details" "$LINENO" 5; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 $as_echo_n "checking for C compiler default output file name... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 $as_echo "$ac_file" >&6; } ac_exeext=$ac_cv_exeext rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 $as_echo_n "checking for suffix of executables... " >&6; } if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will # work properly (i.e., refer to `conftest.exe'), while it won't with # `rm'. for ac_file in conftest.exe conftest conftest.*; do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` break;; * ) break;; esac done else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of executables: cannot compile and link See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest conftest$ac_cv_exeext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 $as_echo "$ac_cv_exeext" >&6; } rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { FILE *f = fopen ("conftest.out", "w"); return ferror (f) || fclose (f) != 0; ; return 0; } _ACEOF ac_clean_files="$ac_clean_files conftest.out" # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 $as_echo_n "checking whether we are cross compiling... " >&6; } if test "$cross_compiling" != yes; then { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if { ac_try='./conftest$ac_cv_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details" "$LINENO" 5; } fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 $as_echo "$cross_compiling" >&6; } rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 $as_echo_n "checking for suffix of object files... " >&6; } if ${ac_cv_objext+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.o conftest.obj if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : for ac_file in conftest.o conftest.obj conftest.*; do test -f "$ac_file" || continue; case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` break;; esac done else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of object files: cannot compile See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 $as_echo "$ac_cv_objext" >&6; } OBJEXT=$ac_cv_objext ac_objext=$OBJEXT { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } if ${ac_cv_c_compiler_gnu+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_compiler_gnu=yes else ac_compiler_gnu=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 $as_echo "$ac_cv_c_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GCC=yes else GCC= fi ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 $as_echo_n "checking whether $CC accepts -g... " >&6; } if ${ac_cv_prog_cc_g+:} false; then : $as_echo_n "(cached) " >&6 else ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes else CFLAGS="" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : else ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 $as_echo "$ac_cv_prog_cc_g" >&6; } if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" else CFLAGS="-g" fi else if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } if ${ac_cv_prog_cc_c89+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include struct stat; /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std is added to get proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an array size at least. It's necessary to write '\x00'==0 to get something that's true only with -std. */ int osf4_cc_array ['\x00' == 0 ? 1 : -1]; /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters inside strings and character constants. */ #define FOO(x) 'x' int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_c89=$ac_arg fi rm -f core conftest.err conftest.$ac_objext test "x$ac_cv_prog_cc_c89" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC fi # AC_CACHE_VAL case "x$ac_cv_prog_cc_c89" in x) { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 $as_echo "none needed" >&6; } ;; xno) { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 $as_echo "unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c89" { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; esac if test "x$ac_cv_prog_cc_c89" != xno; then : fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; } if ${am_cv_prog_cc_c_o+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF # Make sure it works both with $CC and with simple cc. # Following AC_PROG_CC_C_O, we do the test twice because some # compilers refuse to overwrite an existing .o file with -o, # though they will create one. am_cv_prog_cc_c_o=yes for am_i in 1 2; do if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } \ && test -f conftest2.$ac_objext; then : OK else am_cv_prog_cc_c_o=no break fi done rm -f core conftest* unset am_i fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 $as_echo "$am_cv_prog_cc_c_o" >&6; } if test "$am_cv_prog_cc_c_o" != yes; then # Losing compiler, so override with the script. # FIXME: It is wrong to rewrite CC. # But if we don't then we get into trouble of one sort or another. # A longer-term fix would be to have automake use am__CC in this case, # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" CC="$am_aux_dir/compile $CC" fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo this is the am__doit target .PHONY: am__doit END # If we don't find an include directive, just comment out the code. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 $as_echo_n "checking for style of include used by $am_make... " >&6; } am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # Ignore all kinds of additional output from 'make'. case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=include am__quote= _am_result=GNU ;; esac # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=.include am__quote="\"" _am_result=BSD ;; esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 $as_echo "$_am_result" >&6; } rm -f confinc confmf # Check whether --enable-dependency-tracking was given. if test "${enable_dependency_tracking+set}" = set; then : enableval=$enable_dependency_tracking; fi if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' am__nodep='_no' fi if test "x$enable_dependency_tracking" != xno; then AMDEP_TRUE= AMDEP_FALSE='#' else AMDEP_TRUE='#' AMDEP_FALSE= fi depcc="$CC" am_compiler_list= { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 $as_echo_n "checking dependency style of $depcc... " >&6; } if ${am_cv_CC_dependencies_compiler_type+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named 'D' -- because '-MD' means "put the output # in D". rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_CC_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi am__universal=false case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with # Solaris 10 /bin/sh. echo '/* dummy */' > sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf # We check with '-c' and '-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle '-M -o', and we need to detect this. Also, some Intel # versions had trouble with output in subdirs. am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in gcc) # This depmode causes a compiler race in universal mode. test "$am__universal" = false || continue ;; nosideeffect) # After this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested. if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; msvc7 | msvc7msys | msvisualcpp | msvcmsys) # This compiler won't grok '-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} am__minus_obj= ;; none) break ;; esac if depmode=$depmode \ source=sub/conftest.c object=$am__obj \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_CC_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CC_dependencies_compiler_type=none fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then am__fastdepCC_TRUE= am__fastdepCC_FALSE='#' else am__fastdepCC_TRUE='#' am__fastdepCC_FALSE= fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; } if ${ac_cv_prog_cc_c99+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c99=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include #include // Check varargs macros. These examples are taken from C99 6.10.3.5. #define debug(...) fprintf (stderr, __VA_ARGS__) #define showlist(...) puts (#__VA_ARGS__) #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) static void test_varargs_macros (void) { int x = 1234; int y = 5678; debug ("Flag"); debug ("X = %d\n", x); showlist (The first, second, and third items.); report (x>y, "x is %d but y is %d", x, y); } // Check long long types. #define BIG64 18446744073709551615ull #define BIG32 4294967295ul #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) #if !BIG_OK your preprocessor is broken; #endif #if BIG_OK #else your preprocessor is broken; #endif static long long int bignum = -9223372036854775807LL; static unsigned long long int ubignum = BIG64; struct incomplete_array { int datasize; double data[]; }; struct named_init { int number; const wchar_t *name; double average; }; typedef const char *ccp; static inline int test_restrict (ccp restrict text) { // See if C++-style comments work. // Iterate through items via the restricted pointer. // Also check for declarations in for loops. for (unsigned int i = 0; *(text+i) != '\0'; ++i) continue; return 0; } // Check varargs and va_copy. static void test_varargs (const char *format, ...) { va_list args; va_start (args, format); va_list args_copy; va_copy (args_copy, args); const char *str; int number; float fnumber; while (*format) { switch (*format++) { case 's': // string str = va_arg (args_copy, const char *); break; case 'd': // int number = va_arg (args_copy, int); break; case 'f': // float fnumber = va_arg (args_copy, double); break; default: break; } } va_end (args_copy); va_end (args); } int main () { // Check bool. _Bool success = false; // Check restrict. if (test_restrict ("String literal") == 0) success = true; char *restrict newvar = "Another string"; // Check varargs. test_varargs ("s, d' f .", "string", 65, 34.234); test_varargs_macros (); // Check flexible array members. struct incomplete_array *ia = malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); ia->datasize = 10; for (int i = 0; i < ia->datasize; ++i) ia->data[i] = i * 1.234; // Check named initializers. struct named_init ni = { .number = 34, .name = L"Test wide string", .average = 543.34343, }; ni.number = 58; int dynamic_array[ni.number]; dynamic_array[ni.number - 1] = 543; // work around unused variable warnings return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' || dynamic_array[ni.number - 1] != 543); ; return 0; } _ACEOF for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 do CC="$ac_save_CC $ac_arg" if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_c99=$ac_arg fi rm -f core conftest.err conftest.$ac_objext test "x$ac_cv_prog_cc_c99" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC fi # AC_CACHE_VAL case "x$ac_cv_prog_cc_c99" in x) { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 $as_echo "none needed" >&6; } ;; xno) { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 $as_echo "unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c99" { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;; esac if test "x$ac_cv_prog_cc_c99" != xno; then : fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 $as_echo_n "checking whether ln -s works... " >&6; } LN_S=$as_ln_s if test "$LN_S" = "ln -s"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 $as_echo "no, using $LN_S" >&6; } fi mkdir_p="$MKDIR_P" case $mkdir_p in [\\/$]* | ?:[\\/]*) ;; */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 $as_echo_n "checking whether NLS is requested... " >&6; } # Check whether --enable-nls was given. if test "${enable_nls+set}" = set; then : enableval=$enable_nls; USE_NLS=$enableval else USE_NLS=yes fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 $as_echo "$USE_NLS" >&6; } # Prepare PATH_SEPARATOR. # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi # Find out how to test for executable files. Don't use a zero-byte file, # as systems may use methods other than mode bits to determine executability. cat >conf$$.file <<_ASEOF #! /bin/sh exit 0 _ASEOF chmod +x conf$$.file if test -x conf$$.file >/dev/null 2>&1; then ac_executable_p="test -x" else ac_executable_p="test -f" fi rm -f conf$$.file # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_MSGFMT+:} false; then : $as_echo_n "(cached) " >&6 else case "$MSGFMT" in [\\/]* | ?:[\\/]*) ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. ;; *) ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$ac_save_IFS" test -z "$ac_dir" && ac_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then echo "$as_me: trying $ac_dir/$ac_word..." >&5 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 && (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" break 2 fi fi done done IFS="$ac_save_IFS" test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" ;; esac fi MSGFMT="$ac_cv_path_MSGFMT" if test "$MSGFMT" != ":"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 $as_echo "$MSGFMT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "gmsgfmt", so it can be a program name with args. set dummy gmsgfmt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_GMSGFMT+:} false; then : $as_echo_n "(cached) " >&6 else case $GMSGFMT in [\\/]* | ?:[\\/]*) ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" ;; esac fi GMSGFMT=$ac_cv_path_GMSGFMT if test -n "$GMSGFMT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 $as_echo "$GMSGFMT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; *) MSGFMT_015=$MSGFMT ;; esac case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; *) GMSGFMT_015=$GMSGFMT ;; esac # Prepare PATH_SEPARATOR. # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi # Find out how to test for executable files. Don't use a zero-byte file, # as systems may use methods other than mode bits to determine executability. cat >conf$$.file <<_ASEOF #! /bin/sh exit 0 _ASEOF chmod +x conf$$.file if test -x conf$$.file >/dev/null 2>&1; then ac_executable_p="test -x" else ac_executable_p="test -f" fi rm -f conf$$.file # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_XGETTEXT+:} false; then : $as_echo_n "(cached) " >&6 else case "$XGETTEXT" in [\\/]* | ?:[\\/]*) ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. ;; *) ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$ac_save_IFS" test -z "$ac_dir" && ac_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then echo "$as_me: trying $ac_dir/$ac_word..." >&5 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 && (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" break 2 fi fi done done IFS="$ac_save_IFS" test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" ;; esac fi XGETTEXT="$ac_cv_path_XGETTEXT" if test "$XGETTEXT" != ":"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 $as_echo "$XGETTEXT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi rm -f messages.po case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; *) XGETTEXT_015=$XGETTEXT ;; esac # Prepare PATH_SEPARATOR. # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi # Find out how to test for executable files. Don't use a zero-byte file, # as systems may use methods other than mode bits to determine executability. cat >conf$$.file <<_ASEOF #! /bin/sh exit 0 _ASEOF chmod +x conf$$.file if test -x conf$$.file >/dev/null 2>&1; then ac_executable_p="test -x" else ac_executable_p="test -f" fi rm -f conf$$.file # Extract the first word of "msgmerge", so it can be a program name with args. set dummy msgmerge; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_MSGMERGE+:} false; then : $as_echo_n "(cached) " >&6 else case "$MSGMERGE" in [\\/]* | ?:[\\/]*) ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. ;; *) ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$ac_save_IFS" test -z "$ac_dir" && ac_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then echo "$as_me: trying $ac_dir/$ac_word..." >&5 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" break 2 fi fi done done IFS="$ac_save_IFS" test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" ;; esac fi MSGMERGE="$ac_cv_path_MSGMERGE" if test "$MSGMERGE" != ":"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 $as_echo "$MSGMERGE" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$localedir" || localedir='${datadir}/locale' ac_config_commands="$ac_config_commands po-directories" if test "X$prefix" = "XNONE"; then acl_final_prefix="$ac_default_prefix" else acl_final_prefix="$prefix" fi if test "X$exec_prefix" = "XNONE"; then acl_final_exec_prefix='${prefix}' else acl_final_exec_prefix="$exec_prefix" fi acl_save_prefix="$prefix" prefix="$acl_final_prefix" eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" prefix="$acl_save_prefix" # Check whether --with-gnu-ld was given. if test "${with_gnu_ld+set}" = set; then : withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes else with_gnu_ld=no fi # Prepare PATH_SEPARATOR. # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 $as_echo_n "checking for ld used by GCC... " >&6; } case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [\\/]* | [A-Za-z]:[\\/]*) re_direlt='/[^/][^/]*/\.\./' # Canonicalize the path of ld ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test "$with_gnu_ld" = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 $as_echo_n "checking for GNU ld... " >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 $as_echo_n "checking for non-GNU ld... " >&6; } fi if ${acl_cv_path_LD+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$LD"; then IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then acl_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some GNU ld's only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in *GNU* | *'with BFD'*) test "$with_gnu_ld" != no && break ;; *) test "$with_gnu_ld" != yes && break ;; esac fi done IFS="$ac_save_ifs" else acl_cv_path_LD="$LD" # Let the user override the test with a path. fi fi LD="$acl_cv_path_LD" if test -n "$LD"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 $as_echo "$LD" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } if ${acl_cv_prog_gnu_ld+:} false; then : $as_echo_n "(cached) " >&6 else # I'd rather use --version here, but apparently some GNU ld's only accept -v. case `$LD -v 2>&1 &5 $as_echo "$acl_cv_prog_gnu_ld" >&6; } with_gnu_ld=$acl_cv_prog_gnu_ld { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 $as_echo_n "checking for shared library run path origin... " >&6; } if ${acl_cv_rpath+:} false; then : $as_echo_n "(cached) " >&6 else CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh . ./conftest.sh rm -f ./conftest.sh acl_cv_rpath=done fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 $as_echo "$acl_cv_rpath" >&6; } wl="$acl_cv_wl" libext="$acl_cv_libext" shlibext="$acl_cv_shlibext" hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" hardcode_direct="$acl_cv_hardcode_direct" hardcode_minus_L="$acl_cv_hardcode_minus_L" # Check whether --enable-rpath was given. if test "${enable_rpath+set}" = set; then : enableval=$enable_rpath; : else enable_rpath=yes fi acl_libdirstem=lib searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` if test -n "$searchpath"; then acl_save_IFS="${IFS= }"; IFS=":" for searchdir in $searchpath; do if test -d "$searchdir"; then case "$searchdir" in */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; *) searchdir=`cd "$searchdir" && pwd` case "$searchdir" in */lib64 ) acl_libdirstem=lib64 ;; esac ;; esac fi done IFS="$acl_save_IFS" fi use_additional=yes acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" # Check whether --with-libiconv-prefix was given. if test "${with_libiconv_prefix+set}" = set; then : withval=$with_libiconv_prefix; if test "X$withval" = "Xno"; then use_additional=no else if test "X$withval" = "X"; then acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" else additional_includedir="$withval/include" additional_libdir="$withval/$acl_libdirstem" fi fi fi LIBICONV= LTLIBICONV= INCICONV= rpathdirs= ltrpathdirs= names_already_handled= names_next_round='iconv ' while test -n "$names_next_round"; do names_this_round="$names_next_round" names_next_round= for name in $names_this_round; do already_handled= for n in $names_already_handled; do if test "$n" = "$name"; then already_handled=yes break fi done if test -z "$already_handled"; then names_already_handled="$names_already_handled $name" uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` eval value=\"\$HAVE_LIB$uppername\" if test -n "$value"; then if test "$value" = yes; then eval value=\"\$LIB$uppername\" test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" eval value=\"\$LTLIB$uppername\" test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" else : fi else found_dir= found_la= found_so= found_a= if test $use_additional = yes; then if test -n "$shlibext" \ && { test -f "$additional_libdir/lib$name.$shlibext" \ || { test "$shlibext" = dll \ && test -f "$additional_libdir/lib$name.dll.a"; }; }; then found_dir="$additional_libdir" if test -f "$additional_libdir/lib$name.$shlibext"; then found_so="$additional_libdir/lib$name.$shlibext" else found_so="$additional_libdir/lib$name.dll.a" fi if test -f "$additional_libdir/lib$name.la"; then found_la="$additional_libdir/lib$name.la" fi else if test -f "$additional_libdir/lib$name.$libext"; then found_dir="$additional_libdir" found_a="$additional_libdir/lib$name.$libext" if test -f "$additional_libdir/lib$name.la"; then found_la="$additional_libdir/lib$name.la" fi fi fi fi if test "X$found_dir" = "X"; then for x in $LDFLAGS $LTLIBICONV; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" case "$x" in -L*) dir=`echo "X$x" | sed -e 's/^X-L//'` if test -n "$shlibext" \ && { test -f "$dir/lib$name.$shlibext" \ || { test "$shlibext" = dll \ && test -f "$dir/lib$name.dll.a"; }; }; then found_dir="$dir" if test -f "$dir/lib$name.$shlibext"; then found_so="$dir/lib$name.$shlibext" else found_so="$dir/lib$name.dll.a" fi if test -f "$dir/lib$name.la"; then found_la="$dir/lib$name.la" fi else if test -f "$dir/lib$name.$libext"; then found_dir="$dir" found_a="$dir/lib$name.$libext" if test -f "$dir/lib$name.la"; then found_la="$dir/lib$name.la" fi fi fi ;; esac if test "X$found_dir" != "X"; then break fi done fi if test "X$found_dir" != "X"; then LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" if test "X$found_so" != "X"; then if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" else haveit= for x in $ltrpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $found_dir" fi if test "$hardcode_direct" = yes; then LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" else if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" haveit= for x in $rpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $found_dir" fi else haveit= for x in $LDFLAGS $LIBICONV; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" fi if test "$hardcode_minus_L" != no; then LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" else LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" fi fi fi fi else if test "X$found_a" != "X"; then LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" else LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" fi fi additional_includedir= case "$found_dir" in */$acl_libdirstem | */$acl_libdirstem/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` additional_includedir="$basedir/include" ;; esac if test "X$additional_includedir" != "X"; then if test "X$additional_includedir" != "X/usr/include"; then haveit= if test "X$additional_includedir" = "X/usr/local/include"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then for x in $CPPFLAGS $INCICONV; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-I$additional_includedir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_includedir"; then INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" fi fi fi fi fi if test -n "$found_la"; then save_libdir="$libdir" case "$found_la" in */* | *\\*) . "$found_la" ;; *) . "./$found_la" ;; esac libdir="$save_libdir" for dep in $dependency_libs; do case "$dep" in -L*) additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then haveit= if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then haveit= for x in $LDFLAGS $LIBICONV; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" fi fi haveit= for x in $LDFLAGS $LTLIBICONV; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" fi fi fi fi ;; -R*) dir=`echo "X$dep" | sed -e 's/^X-R//'` if test "$enable_rpath" != no; then haveit= for x in $rpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $dir" fi haveit= for x in $ltrpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $dir" fi fi ;; -l*) names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` ;; *.la) names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` ;; *) LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" ;; esac done fi else LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" fi fi fi done done if test "X$rpathdirs" != "X"; then if test -n "$hardcode_libdir_separator"; then alldirs= for found_dir in $rpathdirs; do alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" done acl_save_libdir="$libdir" libdir="$alldirs" eval flag=\"$hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" else for found_dir in $rpathdirs; do acl_save_libdir="$libdir" libdir="$found_dir" eval flag=\"$hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" done fi fi if test "X$ltrpathdirs" != "X"; then for found_dir in $ltrpathdirs; do LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" done fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : $as_echo_n "(cached) " >&6 else gt_save_LIBS="$LIBS" LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { CFPreferencesCopyAppValue(NULL, NULL) ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gt_cv_func_CFPreferencesCopyAppValue=yes else gt_cv_func_CFPreferencesCopyAppValue=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS="$gt_save_LIBS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; } if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then : $as_echo_n "(cached) " >&6 else gt_save_LIBS="$LIBS" LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { CFLocaleCopyCurrent(); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gt_cv_func_CFLocaleCopyCurrent=yes else gt_cv_func_CFLocaleCopyCurrent=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS="$gt_save_LIBS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; } if test $gt_cv_func_CFLocaleCopyCurrent = yes; then $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h fi INTL_MACOSX_LIBS= if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" fi LIBINTL= LTLIBINTL= POSUB= case " $gt_needs " in *" need-formatstring-macros "*) gt_api_version=3 ;; *" need-ngettext "*) gt_api_version=2 ;; *) gt_api_version=1 ;; esac gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" if test "$USE_NLS" = "yes"; then gt_use_preinstalled_gnugettext=no if test $gt_api_version -ge 3; then gt_revision_test_code=' #ifndef __GNU_GETTEXT_SUPPORTED_REVISION #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) #endif typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; ' else gt_revision_test_code= fi if test $gt_api_version -ge 2; then gt_expression_test_code=' + * ngettext ("", "", 0)' else gt_expression_test_code= fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 $as_echo_n "checking for GNU gettext in libc... " >&6; } if eval \${$gt_func_gnugettext_libc+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include $gt_revision_test_code extern int _nl_msg_cat_cntr; extern int *_nl_domain_bindings; int main () { bindtextdomain ("", ""); return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : eval "$gt_func_gnugettext_libc=yes" else eval "$gt_func_gnugettext_libc=no" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$$gt_func_gnugettext_libc { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then am_save_CPPFLAGS="$CPPFLAGS" for element in $INCICONV; do haveit= for x in $CPPFLAGS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X$element"; then haveit=yes break fi done if test -z "$haveit"; then CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" fi done { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 $as_echo_n "checking for iconv... " >&6; } if ${am_cv_func_iconv+:} false; then : $as_echo_n "(cached) " >&6 else am_cv_func_iconv="no, consider installing GNU libiconv" am_cv_lib_iconv=no cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); iconv_close(cd); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : am_cv_func_iconv=yes fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test "$am_cv_func_iconv" != yes; then am_save_LIBS="$LIBS" LIBS="$LIBS $LIBICONV" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); iconv_close(cd); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : am_cv_lib_iconv=yes am_cv_func_iconv=yes fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS="$am_save_LIBS" fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 $as_echo "$am_cv_func_iconv" >&6; } if test "$am_cv_func_iconv" = yes; then $as_echo "#define HAVE_ICONV 1" >>confdefs.h fi if test "$am_cv_lib_iconv" = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 $as_echo_n "checking how to link with libiconv... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 $as_echo "$LIBICONV" >&6; } else CPPFLAGS="$am_save_CPPFLAGS" LIBICONV= LTLIBICONV= fi use_additional=yes acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" # Check whether --with-libintl-prefix was given. if test "${with_libintl_prefix+set}" = set; then : withval=$with_libintl_prefix; if test "X$withval" = "Xno"; then use_additional=no else if test "X$withval" = "X"; then acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" else additional_includedir="$withval/include" additional_libdir="$withval/$acl_libdirstem" fi fi fi LIBINTL= LTLIBINTL= INCINTL= rpathdirs= ltrpathdirs= names_already_handled= names_next_round='intl ' while test -n "$names_next_round"; do names_this_round="$names_next_round" names_next_round= for name in $names_this_round; do already_handled= for n in $names_already_handled; do if test "$n" = "$name"; then already_handled=yes break fi done if test -z "$already_handled"; then names_already_handled="$names_already_handled $name" uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` eval value=\"\$HAVE_LIB$uppername\" if test -n "$value"; then if test "$value" = yes; then eval value=\"\$LIB$uppername\" test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" eval value=\"\$LTLIB$uppername\" test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value" else : fi else found_dir= found_la= found_so= found_a= if test $use_additional = yes; then if test -n "$shlibext" \ && { test -f "$additional_libdir/lib$name.$shlibext" \ || { test "$shlibext" = dll \ && test -f "$additional_libdir/lib$name.dll.a"; }; }; then found_dir="$additional_libdir" if test -f "$additional_libdir/lib$name.$shlibext"; then found_so="$additional_libdir/lib$name.$shlibext" else found_so="$additional_libdir/lib$name.dll.a" fi if test -f "$additional_libdir/lib$name.la"; then found_la="$additional_libdir/lib$name.la" fi else if test -f "$additional_libdir/lib$name.$libext"; then found_dir="$additional_libdir" found_a="$additional_libdir/lib$name.$libext" if test -f "$additional_libdir/lib$name.la"; then found_la="$additional_libdir/lib$name.la" fi fi fi fi if test "X$found_dir" = "X"; then for x in $LDFLAGS $LTLIBINTL; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" case "$x" in -L*) dir=`echo "X$x" | sed -e 's/^X-L//'` if test -n "$shlibext" \ && { test -f "$dir/lib$name.$shlibext" \ || { test "$shlibext" = dll \ && test -f "$dir/lib$name.dll.a"; }; }; then found_dir="$dir" if test -f "$dir/lib$name.$shlibext"; then found_so="$dir/lib$name.$shlibext" else found_so="$dir/lib$name.dll.a" fi if test -f "$dir/lib$name.la"; then found_la="$dir/lib$name.la" fi else if test -f "$dir/lib$name.$libext"; then found_dir="$dir" found_a="$dir/lib$name.$libext" if test -f "$dir/lib$name.la"; then found_la="$dir/lib$name.la" fi fi fi ;; esac if test "X$found_dir" != "X"; then break fi done fi if test "X$found_dir" != "X"; then LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" if test "X$found_so" != "X"; then if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" else haveit= for x in $ltrpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $found_dir" fi if test "$hardcode_direct" = yes; then LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" else if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" haveit= for x in $rpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $found_dir" fi else haveit= for x in $LDFLAGS $LIBINTL; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" fi if test "$hardcode_minus_L" != no; then LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" else LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" fi fi fi fi else if test "X$found_a" != "X"; then LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" else LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name" fi fi additional_includedir= case "$found_dir" in */$acl_libdirstem | */$acl_libdirstem/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` additional_includedir="$basedir/include" ;; esac if test "X$additional_includedir" != "X"; then if test "X$additional_includedir" != "X/usr/include"; then haveit= if test "X$additional_includedir" = "X/usr/local/include"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then for x in $CPPFLAGS $INCINTL; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-I$additional_includedir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_includedir"; then INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir" fi fi fi fi fi if test -n "$found_la"; then save_libdir="$libdir" case "$found_la" in */* | *\\*) . "$found_la" ;; *) . "./$found_la" ;; esac libdir="$save_libdir" for dep in $dependency_libs; do case "$dep" in -L*) additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then haveit= if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then haveit= for x in $LDFLAGS $LIBINTL; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir" fi fi haveit= for x in $LDFLAGS $LTLIBINTL; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir" fi fi fi fi ;; -R*) dir=`echo "X$dep" | sed -e 's/^X-R//'` if test "$enable_rpath" != no; then haveit= for x in $rpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $dir" fi haveit= for x in $ltrpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $dir" fi fi ;; -l*) names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` ;; *.la) names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` ;; *) LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" ;; esac done fi else LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" fi fi fi done done if test "X$rpathdirs" != "X"; then if test -n "$hardcode_libdir_separator"; then alldirs= for found_dir in $rpathdirs; do alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" done acl_save_libdir="$libdir" libdir="$alldirs" eval flag=\"$hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" else for found_dir in $rpathdirs; do acl_save_libdir="$libdir" libdir="$found_dir" eval flag=\"$hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" done fi fi if test "X$ltrpathdirs" != "X"; then for found_dir in $ltrpathdirs; do LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" done fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 $as_echo_n "checking for GNU gettext in libintl... " >&6; } if eval \${$gt_func_gnugettext_libintl+:} false; then : $as_echo_n "(cached) " >&6 else gt_save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $INCINTL" gt_save_LIBS="$LIBS" LIBS="$LIBS $LIBINTL" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include $gt_revision_test_code extern int _nl_msg_cat_cntr; extern #ifdef __cplusplus "C" #endif const char *_nl_expand_alias (const char *); int main () { bindtextdomain ("", ""); return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : eval "$gt_func_gnugettext_libintl=yes" else eval "$gt_func_gnugettext_libintl=no" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then LIBS="$LIBS $LIBICONV" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include $gt_revision_test_code extern int _nl_msg_cat_cntr; extern #ifdef __cplusplus "C" #endif const char *_nl_expand_alias (const char *); int main () { bindtextdomain ("", ""); return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : LIBINTL="$LIBINTL $LIBICONV" LTLIBINTL="$LTLIBINTL $LTLIBICONV" eval "$gt_func_gnugettext_libintl=yes" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi CPPFLAGS="$gt_save_CPPFLAGS" LIBS="$gt_save_LIBS" fi eval ac_res=\$$gt_func_gnugettext_libintl { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } fi if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ && test "$PACKAGE" != gettext-runtime \ && test "$PACKAGE" != gettext-tools; }; then gt_use_preinstalled_gnugettext=yes else LIBINTL= LTLIBINTL= INCINTL= fi if test -n "$INTL_MACOSX_LIBS"; then if test "$gt_use_preinstalled_gnugettext" = "yes" \ || test "$nls_cv_use_gnu_gettext" = "yes"; then LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" fi fi if test "$gt_use_preinstalled_gnugettext" = "yes" \ || test "$nls_cv_use_gnu_gettext" = "yes"; then $as_echo "#define ENABLE_NLS 1" >>confdefs.h else USE_NLS=no fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 $as_echo_n "checking whether to use NLS... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 $as_echo "$USE_NLS" >&6; } if test "$USE_NLS" = "yes"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 $as_echo_n "checking where the gettext function comes from... " >&6; } if test "$gt_use_preinstalled_gnugettext" = "yes"; then if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then gt_source="external libintl" else gt_source="libc" fi else gt_source="included intl directory" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 $as_echo "$gt_source" >&6; } fi if test "$USE_NLS" = "yes"; then if test "$gt_use_preinstalled_gnugettext" = "yes"; then if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 $as_echo_n "checking how to link with libintl... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 $as_echo "$LIBINTL" >&6; } for element in $INCINTL; do haveit= for x in $CPPFLAGS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X$element"; then haveit=yes break fi done if test -z "$haveit"; then CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" fi done fi $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h fi POSUB=po fi INTLLIBS="$LIBINTL" # Checks for header files. ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 $as_echo_n "checking how to run the C preprocessor... " >&6; } # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then if ${ac_cv_prog_CPP+:} false; then : $as_echo_n "(cached) " >&6 else # Double quotes because CPP needs to be expanded for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" do ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok; then : break fi done ac_cv_prog_CPP=$CPP fi CPP=$ac_cv_prog_CPP else ac_cv_prog_CPP=$CPP fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 $as_echo "$CPP" >&6; } ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details" "$LINENO" 5; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } if ${ac_cv_path_GREP+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$GREP"; then ac_path_GREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in grep ggrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_GREP" || continue # Check for GNU ac_path_GREP and select it if it is found. # Check for GNU $ac_path_GREP case `"$ac_path_GREP" --version 2>&1` in *GNU*) ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'GREP' >> "conftest.nl" "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_GREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_GREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_GREP"; then as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_GREP=$GREP fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 $as_echo "$ac_cv_path_GREP" >&6; } GREP="$ac_cv_path_GREP" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 $as_echo_n "checking for egrep... " >&6; } if ${ac_cv_path_EGREP+:} false; then : $as_echo_n "(cached) " >&6 else if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 then ac_cv_path_EGREP="$GREP -E" else if test -z "$EGREP"; then ac_path_EGREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in egrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_EGREP" || continue # Check for GNU ac_path_EGREP and select it if it is found. # Check for GNU $ac_path_EGREP case `"$ac_path_EGREP" --version 2>&1` in *GNU*) ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'EGREP' >> "conftest.nl" "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_EGREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_EGREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_EGREP"; then as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_EGREP=$EGREP fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 $as_echo "$ac_cv_path_EGREP" >&6; } EGREP="$ac_cv_path_EGREP" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 $as_echo_n "checking for ANSI C header files... " >&6; } if ${ac_cv_header_stdc+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_header_stdc=yes else ac_cv_header_stdc=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "memchr" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "free" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. if test "$cross_compiling" = yes; then : : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if ((' ' & 0x0FF) == 0x020) # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #else # define ISLOWER(c) \ (('a' <= (c) && (c) <= 'i') \ || ('j' <= (c) && (c) <= 'r') \ || ('s' <= (c) && (c) <= 'z')) # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) #endif #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main () { int i; for (i = 0; i < 256; i++) if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) return 2; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : else ac_cv_header_stdc=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 $as_echo "$ac_cv_header_stdc" >&6; } if test $ac_cv_header_stdc = yes; then $as_echo "#define STDC_HEADERS 1" >>confdefs.h fi # On IRIX 5.3, sys/types and inttypes.h are conflicting. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ inttypes.h stdint.h unistd.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default " if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done for ac_header in libintl.h locale.h stdlib.h string.h strings.h unistd.h libgen.h sys/types.h sys/stat.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done # Stick in "-Werror" if you want to be more aggressive. # (No need to use AC_SUBST on this default substituted environment variable.) # Only add these additional CFLAGS if we are using GCC. Other C compilers may # not support them. if test x"$GCC" == "xyes" ; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Wall -Wextra -Wpedantic " >&5 $as_echo_n "checking whether C compiler accepts -Wall -Wextra -Wpedantic ... " >&6; } if ${ax_cv_check_cflags____Wall__Wextra__Wpedantic_+:} false; then : $as_echo_n "(cached) " >&6 else ax_check_save_flags=$CFLAGS CFLAGS="$CFLAGS -Wall -Wextra -Wpedantic " cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ax_cv_check_cflags____Wall__Wextra__Wpedantic_=yes else ax_cv_check_cflags____Wall__Wextra__Wpedantic_=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext CFLAGS=$ax_check_save_flags fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags____Wall__Wextra__Wpedantic_" >&5 $as_echo "$ax_cv_check_cflags____Wall__Wextra__Wpedantic_" >&6; } if test "x$ax_cv_check_cflags____Wall__Wextra__Wpedantic_" = xyes; then : CFLAGS="$CFLAGS -Wall -Wextra -Wpedantic " else : fi fi # Checks for typedefs, structures, and compiler characteristics. #AC_CHECK_HEADER_STDBOOL ac_fn_c_find_intX_t "$LINENO" "32" "ac_cv_c_int32_t" case $ac_cv_c_int32_t in #( no|yes) ;; #( *) cat >>confdefs.h <<_ACEOF #define int32_t $ac_cv_c_int32_t _ACEOF ;; esac ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t" case $ac_cv_c_int64_t in #( no|yes) ;; #( *) cat >>confdefs.h <<_ACEOF #define int64_t $ac_cv_c_int64_t _ACEOF ;; esac ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t" case $ac_cv_c_uint16_t in #( no|yes) ;; #( *) cat >>confdefs.h <<_ACEOF #define uint16_t $ac_cv_c_uint16_t _ACEOF ;; esac ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t" case $ac_cv_c_uint32_t in #( no|yes) ;; #( *) $as_echo "#define _UINT32_T 1" >>confdefs.h cat >>confdefs.h <<_ACEOF #define uint32_t $ac_cv_c_uint32_t _ACEOF ;; esac ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t" case $ac_cv_c_uint64_t in #( no|yes) ;; #( *) $as_echo "#define _UINT64_T 1" >>confdefs.h cat >>confdefs.h <<_ACEOF #define uint64_t $ac_cv_c_uint64_t _ACEOF ;; esac ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t" case $ac_cv_c_uint8_t in #( no|yes) ;; #( *) $as_echo "#define _UINT8_T 1" >>confdefs.h cat >>confdefs.h <<_ACEOF #define uint8_t $ac_cv_c_uint8_t _ACEOF ;; esac # Checks for library functions. for ac_func in mkdir strchr do : as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" if eval test \"x\$"$as_ac_var"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done # Some common needed definitions. $as_echo "#define GMTP_GSETTINGS_SCHEMA \"org.gnome.gmtp\"" >>confdefs.h $as_echo "#define _STDC_C99 /**/" >>confdefs.h $as_echo "#define _POSIX_C_SOURCE 200112L" >>confdefs.h $as_echo "#define _XOPEN_SOURCE 600" >>confdefs.h #AC_ARG_ENABLE([nls], AS_HELP_STRING([--disable-nls], [Disable NLS]), AC_DEFINE([ENABLE_NLS], [1] , AC_DEFINE([ENABLE_NLS], [0]) # Checks for libraries. # Check whether --with-gtk3 was given. if test "${with_gtk3+set}" = set; then : withval=$with_gtk3; else with_gtk3=yes fi # Check whether --with-gtk2 was given. if test "${with_gtk2+set}" = set; then : withval=$with_gtk2; else with_gtk2=no 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&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_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 $as_echo "$PKG_CONFIG" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&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_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG if test -n "$ac_pt_PKG_CONFIG"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 $as_echo "$ac_pt_PKG_CONFIG" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_pt_PKG_CONFIG" = x; then PKG_CONFIG="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac PKG_CONFIG=$ac_pt_PKG_CONFIG fi else PKG_CONFIG="$ac_cv_path_PKG_CONFIG" fi fi if test -n "$PKG_CONFIG"; then _pkg_min_version=0.9.0 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } PKG_CONFIG="" fi fi if test "x$with_gtk2" = "xno" ; then : if test "x$with_gtk3" = "xyes"; then : pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK3" >&5 $as_echo_n "checking for GTK3... " >&6; } if test -n "$GTK3_CFLAGS"; then pkg_cv_GTK3_CFLAGS="$GTK3_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= 3.0.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 3.0.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GTK3_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= 3.0.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$GTK3_LIBS"; then pkg_cv_GTK3_LIBS="$GTK3_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= 3.0.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 3.0.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GTK3_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= 3.0.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } 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 GTK3_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0 >= 3.0.0" 2>&1` else GTK3_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0 >= 3.0.0" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$GTK3_PKG_ERRORS" >&5 $as_echo "#define HAVE_GTK3 0" >>confdefs.h # GTK3 not found, try GTK2 pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK2" >&5 $as_echo_n "checking for GTK2... " >&6; } if test -n "$GTK2_CFLAGS"; then pkg_cv_GTK2_CFLAGS="$GTK2_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.4.9\""; } >&5 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.4.9") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GTK2_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4.9" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$GTK2_LIBS"; then pkg_cv_GTK2_LIBS="$GTK2_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.4.9\""; } >&5 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.4.9") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GTK2_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4.9" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } 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 GTK2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.4.9" 2>&1` else GTK2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.4.9" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$GTK2_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (gtk+-2.0 >= 2.4.9) were not met: $GTK2_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 GTK2_CFLAGS and GTK2_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_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 GTK2_CFLAGS and GTK2_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" "$LINENO" 5; } else GTK2_CFLAGS=$pkg_cv_GTK2_CFLAGS GTK2_LIBS=$pkg_cv_GTK2_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCONF" >&5 $as_echo_n "checking for GCONF... " >&6; } if test -n "$GCONF_CFLAGS"; then pkg_cv_GCONF_CFLAGS="$GCONF_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "gconf-2.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$GCONF_LIBS"; then pkg_cv_GCONF_LIBS="$GCONF_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "gconf-2.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } 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 GCONF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gconf-2.0" 2>&1` else GCONF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gconf-2.0" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$GCONF_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (gconf-2.0) were not met: $GCONF_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 GCONF_CFLAGS and GCONF_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_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 GCONF_CFLAGS and GCONF_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" "$LINENO" 5; } else GCONF_CFLAGS=$pkg_cv_GCONF_CFLAGS GCONF_LIBS=$pkg_cv_GCONF_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&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 was given. if test "${with_gconf_source+set}" = set; then : withval=$with_gconf_source; GCONF_SCHEMA_CONFIG_SOURCE="$withval" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5 $as_echo "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 was given. if test "${with_gconf_schema_file_dir+set}" = set; then : withval=$with_gconf_schema_file_dir; GCONF_SCHEMA_FILE_DIR="$withval" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5 $as_echo "Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6; } # Check whether --enable-schemas-install was given. if test "${enable_schemas_install+set}" = set; then : enableval=$enable_schemas_install; case ${enableval} in yes|no) ;; *) as_fn_error $? "bad value ${enableval} for --enable-schemas-install" "$LINENO" 5 ;; 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 # Extract the first word of "gconftool-2", so it can be a program name with args. set dummy gconftool-2; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_GCONFTOOL+:} false; then : $as_echo_n "(cached) " >&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_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_GCONFTOOL="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi GCONFTOOL=$ac_cv_path_GCONFTOOL if test -n "$GCONFTOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONFTOOL" >&5 $as_echo "$GCONFTOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } $as_echo "#define HAVE_GTK3 0" >>confdefs.h # GTK3 not found, try GTK2 pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK2" >&5 $as_echo_n "checking for GTK2... " >&6; } if test -n "$GTK2_CFLAGS"; then pkg_cv_GTK2_CFLAGS="$GTK2_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.4.9\""; } >&5 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.4.9") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GTK2_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4.9" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$GTK2_LIBS"; then pkg_cv_GTK2_LIBS="$GTK2_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.4.9\""; } >&5 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.4.9") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GTK2_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4.9" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } 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 GTK2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.4.9" 2>&1` else GTK2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.4.9" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$GTK2_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (gtk+-2.0 >= 2.4.9) were not met: $GTK2_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 GTK2_CFLAGS and GTK2_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_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 GTK2_CFLAGS and GTK2_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" "$LINENO" 5; } else GTK2_CFLAGS=$pkg_cv_GTK2_CFLAGS GTK2_LIBS=$pkg_cv_GTK2_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCONF" >&5 $as_echo_n "checking for GCONF... " >&6; } if test -n "$GCONF_CFLAGS"; then pkg_cv_GCONF_CFLAGS="$GCONF_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "gconf-2.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$GCONF_LIBS"; then pkg_cv_GCONF_LIBS="$GCONF_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "gconf-2.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } 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 GCONF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gconf-2.0" 2>&1` else GCONF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gconf-2.0" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$GCONF_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (gconf-2.0) were not met: $GCONF_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 GCONF_CFLAGS and GCONF_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_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 GCONF_CFLAGS and GCONF_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" "$LINENO" 5; } else GCONF_CFLAGS=$pkg_cv_GCONF_CFLAGS GCONF_LIBS=$pkg_cv_GCONF_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&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 was given. if test "${with_gconf_source+set}" = set; then : withval=$with_gconf_source; GCONF_SCHEMA_CONFIG_SOURCE="$withval" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5 $as_echo "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 was given. if test "${with_gconf_schema_file_dir+set}" = set; then : withval=$with_gconf_schema_file_dir; GCONF_SCHEMA_FILE_DIR="$withval" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5 $as_echo "Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6; } # Check whether --enable-schemas-install was given. if test "${enable_schemas_install+set}" = set; then : enableval=$enable_schemas_install; case ${enableval} in yes|no) ;; *) as_fn_error $? "bad value ${enableval} for --enable-schemas-install" "$LINENO" 5 ;; 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 # Extract the first word of "gconftool-2", so it can be a program name with args. set dummy gconftool-2; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_GCONFTOOL+:} false; then : $as_echo_n "(cached) " >&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_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_GCONFTOOL="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi GCONFTOOL=$ac_cv_path_GCONFTOOL if test -n "$GCONFTOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONFTOOL" >&5 $as_echo "$GCONFTOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi else GTK3_CFLAGS=$pkg_cv_GTK3_CFLAGS GTK3_LIBS=$pkg_cv_GTK3_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } $as_echo "#define HAVE_GTK3 1" >>confdefs.h pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5 $as_echo_n "checking for GIO... " >&6; } if test -n "$GIO_CFLAGS"; then pkg_cv_GIO_CFLAGS="$GIO_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$GIO_LIBS"; then pkg_cv_GIO_LIBS="$GIO_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } 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 GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0" 2>&1` else GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$GIO_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (gio-2.0) were not met: $GIO_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 GIO_CFLAGS and GIO_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_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 GIO_CFLAGS and GIO_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" "$LINENO" 5; } else GIO_CFLAGS=$pkg_cv_GIO_CFLAGS GIO_LIBS=$pkg_cv_GIO_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi # Check whether --enable-schemas-compile was given. if test "${enable_schemas_compile+set}" = set; then : enableval=$enable_schemas_compile; case ${enableval} in yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;; no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;; *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;; esac 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&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_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 $as_echo "$PKG_CONFIG" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&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_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG if test -n "$ac_pt_PKG_CONFIG"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 $as_echo "$ac_pt_PKG_CONFIG" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_pt_PKG_CONFIG" = x; then PKG_CONFIG="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac PKG_CONFIG=$ac_pt_PKG_CONFIG fi else PKG_CONFIG="$ac_cv_path_PKG_CONFIG" fi fi if test -n "$PKG_CONFIG"; then _pkg_min_version=0.16 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } PKG_CONFIG="" fi fi gsettingsschemadir=${datadir}/glib-2.0/schemas if test x$cross_compiling != xyes; then GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0` else # Extract the first word of "glib-compile-schemas", so it can be a program name with args. set dummy glib-compile-schemas; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then : $as_echo_n "(cached) " >&6 else case $GLIB_COMPILE_SCHEMAS in [\\/]* | ?:[\\/]*) ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS if test -n "$GLIB_COMPILE_SCHEMAS"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5 $as_echo "$GLIB_COMPILE_SCHEMAS" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5 else : fi GSETTINGS_RULES=' .PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas mostlyclean-am: clean-gsettings-schemas gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE)) %.gschema.valid: %.gschema.xml $(gsettings__enum_file) $(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$< && mkdir -p $(@D) && touch $@ all-am: $(gsettings_SCHEMAS:.xml=.valid) uninstall-am: uninstall-gsettings-schemas install-data-am: install-gsettings-schemas .SECONDARY: $(gsettings_SCHEMAS) install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file) @$(NORMAL_INSTALL) if test -n "$^"; then \ test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \ $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \ test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \ fi uninstall-gsettings-schemas: @$(NORMAL_UNINSTALL) @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \ test -n "$$files" || exit 0; \ echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir) clean-gsettings-schemas: rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file) ifdef gsettings_ENUM_NAMESPACE $(gsettings__enum_file): $(gsettings_ENUM_FILES) $(AM_V_GEN) glib-mkenums --comments '\'''\'' --fhead "" --vhead " <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod " " --vtail " " --ftail "" $^ > $@.tmp && mv $@.tmp $@ endif ' GCONF_SCHEMAS_INSTALL_FALSE='#' GCONF_SCHEMAS_INSTALL_TRUE= fi fi fi if test "x$with_gtk2" = "xyes"; then : $as_echo "#define HAVE_GTK3 0" >>confdefs.h pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK2" >&5 $as_echo_n "checking for GTK2... " >&6; } if test -n "$GTK2_CFLAGS"; then pkg_cv_GTK2_CFLAGS="$GTK2_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.4.9\""; } >&5 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.4.9") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GTK2_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4.9" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$GTK2_LIBS"; then pkg_cv_GTK2_LIBS="$GTK2_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.4.9\""; } >&5 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.4.9") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GTK2_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4.9" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } 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 GTK2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.4.9" 2>&1` else GTK2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.4.9" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$GTK2_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (gtk+-2.0 >= 2.4.9) were not met: $GTK2_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 GTK2_CFLAGS and GTK2_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_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 GTK2_CFLAGS and GTK2_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" "$LINENO" 5; } else GTK2_CFLAGS=$pkg_cv_GTK2_CFLAGS GTK2_LIBS=$pkg_cv_GTK2_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCONF" >&5 $as_echo_n "checking for GCONF... " >&6; } if test -n "$GCONF_CFLAGS"; then pkg_cv_GCONF_CFLAGS="$GCONF_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "gconf-2.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$GCONF_LIBS"; then pkg_cv_GCONF_LIBS="$GCONF_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "gconf-2.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } 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 GCONF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gconf-2.0" 2>&1` else GCONF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gconf-2.0" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$GCONF_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (gconf-2.0) were not met: $GCONF_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 GCONF_CFLAGS and GCONF_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_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 GCONF_CFLAGS and GCONF_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" "$LINENO" 5; } else GCONF_CFLAGS=$pkg_cv_GCONF_CFLAGS GCONF_LIBS=$pkg_cv_GCONF_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&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 was given. if test "${with_gconf_source+set}" = set; then : withval=$with_gconf_source; GCONF_SCHEMA_CONFIG_SOURCE="$withval" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5 $as_echo "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 was given. if test "${with_gconf_schema_file_dir+set}" = set; then : withval=$with_gconf_schema_file_dir; GCONF_SCHEMA_FILE_DIR="$withval" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5 $as_echo "Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6; } # Check whether --enable-schemas-install was given. if test "${enable_schemas_install+set}" = set; then : enableval=$enable_schemas_install; case ${enableval} in yes|no) ;; *) as_fn_error $? "bad value ${enableval} for --enable-schemas-install" "$LINENO" 5 ;; 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 # Extract the first word of "gconftool-2", so it can be a program name with args. set dummy gconftool-2; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_GCONFTOOL+:} false; then : $as_echo_n "(cached) " >&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_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_GCONFTOOL="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi GCONFTOOL=$ac_cv_path_GCONFTOOL if test -n "$GCONFTOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONFTOOL" >&5 $as_echo "$GCONFTOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi # Common libraries pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTHREAD" >&5 $as_echo_n "checking for GTHREAD... " >&6; } if test -n "$GTHREAD_CFLAGS"; then pkg_cv_GTHREAD_CFLAGS="$GTHREAD_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "gthread-2.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GTHREAD_CFLAGS=`$PKG_CONFIG --cflags "gthread-2.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$GTHREAD_LIBS"; then pkg_cv_GTHREAD_LIBS="$GTHREAD_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "gthread-2.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GTHREAD_LIBS=`$PKG_CONFIG --libs "gthread-2.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } 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 GTHREAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gthread-2.0" 2>&1` else GTHREAD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gthread-2.0" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$GTHREAD_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (gthread-2.0) were not met: $GTHREAD_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 GTHREAD_CFLAGS and GTHREAD_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_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 GTHREAD_CFLAGS and GTHREAD_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" "$LINENO" 5; } else GTHREAD_CFLAGS=$pkg_cv_GTHREAD_CFLAGS GTHREAD_LIBS=$pkg_cv_GTHREAD_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBMTP" >&5 $as_echo_n "checking for LIBMTP... " >&6; } if test -n "$LIBMTP_CFLAGS"; then pkg_cv_LIBMTP_CFLAGS="$LIBMTP_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmtp >= 1.1.6\""; } >&5 ($PKG_CONFIG --exists --print-errors "libmtp >= 1.1.6") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBMTP_CFLAGS=`$PKG_CONFIG --cflags "libmtp >= 1.1.6" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$LIBMTP_LIBS"; then pkg_cv_LIBMTP_LIBS="$LIBMTP_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmtp >= 1.1.6\""; } >&5 ($PKG_CONFIG --exists --print-errors "libmtp >= 1.1.6") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBMTP_LIBS=`$PKG_CONFIG --libs "libmtp >= 1.1.6" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } 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 LIBMTP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libmtp >= 1.1.6" 2>&1` else LIBMTP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libmtp >= 1.1.6" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$LIBMTP_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (libmtp >= 1.1.6) were not met: $LIBMTP_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 LIBMTP_CFLAGS and LIBMTP_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_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 LIBMTP_CFLAGS and LIBMTP_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" "$LINENO" 5; } else LIBMTP_CFLAGS=$pkg_cv_LIBMTP_CFLAGS LIBMTP_LIBS=$pkg_cv_LIBMTP_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FLAC" >&5 $as_echo_n "checking for FLAC... " >&6; } if test -n "$FLAC_CFLAGS"; then pkg_cv_FLAC_CFLAGS="$FLAC_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"flac\""; } >&5 ($PKG_CONFIG --exists --print-errors "flac") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_FLAC_CFLAGS=`$PKG_CONFIG --cflags "flac" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$FLAC_LIBS"; then pkg_cv_FLAC_LIBS="$FLAC_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"flac\""; } >&5 ($PKG_CONFIG --exists --print-errors "flac") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_FLAC_LIBS=`$PKG_CONFIG --libs "flac" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } 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 FLAC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "flac" 2>&1` else FLAC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "flac" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$FLAC_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (flac) were not met: $FLAC_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 FLAC_CFLAGS and FLAC_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_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 FLAC_CFLAGS and FLAC_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" "$LINENO" 5; } else FLAC_CFLAGS=$pkg_cv_FLAC_CFLAGS FLAC_LIBS=$pkg_cv_FLAC_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ID3TAG" >&5 $as_echo_n "checking for ID3TAG... " >&6; } if test -n "$ID3TAG_CFLAGS"; then pkg_cv_ID3TAG_CFLAGS="$ID3TAG_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"id3tag\""; } >&5 ($PKG_CONFIG --exists --print-errors "id3tag") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_ID3TAG_CFLAGS=`$PKG_CONFIG --cflags "id3tag" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$ID3TAG_LIBS"; then pkg_cv_ID3TAG_LIBS="$ID3TAG_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"id3tag\""; } >&5 ($PKG_CONFIG --exists --print-errors "id3tag") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_ID3TAG_LIBS=`$PKG_CONFIG --libs "id3tag" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } 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 ID3TAG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "id3tag" 2>&1` else ID3TAG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "id3tag" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$ID3TAG_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (id3tag) were not met: $ID3TAG_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 ID3TAG_CFLAGS and ID3TAG_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_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 ID3TAG_CFLAGS and ID3TAG_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" "$LINENO" 5; } else ID3TAG_CFLAGS=$pkg_cv_ID3TAG_CFLAGS ID3TAG_LIBS=$pkg_cv_ID3TAG_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VORBISFILE" >&5 $as_echo_n "checking for VORBISFILE... " >&6; } if test -n "$VORBISFILE_CFLAGS"; then pkg_cv_VORBISFILE_CFLAGS="$VORBISFILE_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vorbisfile\""; } >&5 ($PKG_CONFIG --exists --print-errors "vorbisfile") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_VORBISFILE_CFLAGS=`$PKG_CONFIG --cflags "vorbisfile" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$VORBISFILE_LIBS"; then pkg_cv_VORBISFILE_LIBS="$VORBISFILE_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vorbisfile\""; } >&5 ($PKG_CONFIG --exists --print-errors "vorbisfile") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_VORBISFILE_LIBS=`$PKG_CONFIG --libs "vorbisfile" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } 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 VORBISFILE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "vorbisfile" 2>&1` else VORBISFILE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "vorbisfile" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$VORBISFILE_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (vorbisfile) were not met: $VORBISFILE_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 VORBISFILE_CFLAGS and VORBISFILE_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_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 VORBISFILE_CFLAGS and VORBISFILE_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" "$LINENO" 5; } else VORBISFILE_CFLAGS=$pkg_cv_VORBISFILE_CFLAGS VORBISFILE_LIBS=$pkg_cv_VORBISFILE_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi ac_config_files="$ac_config_files Makefile src/Makefile images/Makefile po/Makefile.in misc/gmtp.desktop misc/org.gnome.gmtp.gschema.xml misc/Makefile" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs, see configure's option --config-cache. # It is not useful on other systems. If it contains results you don't # want to keep, you may remove or edit it. # # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # # `ac_cv_env_foo' variables (set or unset) will be overridden when # loading this file, other *unset* `ac_cv_foo' will be assigned the # following values. _ACEOF # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, we kill variables containing newlines. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. ( for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space=' '; set) 2>&1` in #( *${as_nl}ac_space=\ *) # `set' does not quote correctly, so add quotes: double-quote # substitution turns \\\\ into \\, and sed turns \\ into \. sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; #( *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) | sed ' /^ac_cv_env_/b end t clear :clear s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ t end s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then if test "x$cache_file" != "x/dev/null"; then { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 $as_echo "$as_me: updating cache $cache_file" >&6;} if test ! -f "$cache_file" || test -h "$cache_file"; then cat confcache >"$cache_file" else case $cache_file in #( */* | ?:*) mv -f confcache "$cache_file"$$ && mv -f "$cache_file"$$ "$cache_file" ;; #( *) mv -f confcache "$cache_file" ;; esac fi fi else { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' DEFS=-DHAVE_CONFIG_H ac_libobjs= ac_ltlibobjs= U= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' ac_i=`$as_echo "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' done LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 $as_echo_n "checking that generated files are newer than configure... " >&6; } if test -n "$am_sleep_pid"; then # Hide warnings about reused PIDs. wait $am_sleep_pid 2>/dev/null fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 $as_echo "done" >&6; } if test -n "$EXEEXT"; then am__EXEEXT_TRUE= am__EXEEXT_FALSE='#' else am__EXEEXT_TRUE='#' am__EXEEXT_FALSE= fi if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then as_fn_error $? "conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then as_fn_error $? "conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then as_fn_error $? "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then as_fn_error $? "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then as_fn_error $? "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi : "${CONFIG_STATUS=./config.status}" ac_write_fail=0 ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} as_write_fail=0 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. # Compiler output produced by configure, useful for debugging # configure, is in config.log if it exists. debug=false ac_cs_recheck=false ac_cs_silent=false SHELL=\${CONFIG_SHELL-$SHELL} export SHELL _ASEOF cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in #( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append # as_fn_arith ARG... # ------------------ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -pR' fi else as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi # as_fn_executable_p FILE # ----------------------- # Test if FILE is an executable regular file. as_fn_executable_p () { test -f "$1" && test -x "$1" } # as_fn_executable_p as_test_x='test -x' as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" exec 6>&1 ## ----------------------------------- ## ## Main body of $CONFIG_STATUS script. ## ## ----------------------------------- ## _ASEOF test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Save the log message, to keep $0 and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" This file was extended by gmtp $as_me 1.3.10, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS $ $0 $@ on `(hostname || uname -n) 2>/dev/null | sed 1q` " _ACEOF case $ac_config_files in *" "*) set x $ac_config_files; shift; ac_config_files=$*;; esac case $ac_config_headers in *" "*) set x $ac_config_headers; shift; ac_config_headers=$*;; esac cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # Files that config.status was made for. config_files="$ac_config_files" config_headers="$ac_config_headers" config_commands="$ac_config_commands" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ac_cs_usage="\ \`$as_me' instantiates files and other configuration actions from templates according to the current configuration. Unless the files and actions are specified as TAGs, all are instantiated by default. Usage: $0 [OPTION]... [TAG]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit --config print configuration, then exit -q, --quiet, --silent do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions --file=FILE[:TEMPLATE] instantiate the configuration file FILE --header=FILE[:TEMPLATE] instantiate the configuration header FILE Configuration files: $config_files Configuration headers: $config_headers Configuration commands: $config_commands Report bugs to ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ gmtp config.status 1.3.10 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" Copyright (C) 2012 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." ac_pwd='$ac_pwd' srcdir='$srcdir' INSTALL='$INSTALL' MKDIR_P='$MKDIR_P' AWK='$AWK' test -n "\$AWK" || AWK=awk _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # The default lists apply if the user does not specify any file. ac_need_defaults=: while test $# != 0 do case $1 in --*=?*) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ac_shift=: ;; --*=) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg= ac_shift=: ;; *) ac_option=$1 ac_optarg=$2 ac_shift=shift ;; esac case $ac_option in # Handling of the options. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) $as_echo "$ac_cs_version"; exit ;; --config | --confi | --conf | --con | --co | --c ) $as_echo "$ac_cs_config"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; '') as_fn_error $? "missing file argument" ;; esac as_fn_append CONFIG_FILES " '$ac_optarg'" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; esac as_fn_append CONFIG_HEADERS " '$ac_optarg'" ac_need_defaults=false;; --he | --h) # Conflict between --help and --header as_fn_error $? "ambiguous option: \`$1' Try \`$0 --help' for more information.";; --help | --hel | -h ) $as_echo "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. -*) as_fn_error $? "unrecognized option: \`$1' Try \`$0 --help' for more information." ;; *) as_fn_append ac_config_targets " $1" ac_need_defaults=false ;; esac shift done ac_configure_extra_args= if $ac_cs_silent; then exec 6>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent" fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 if \$ac_cs_recheck; then set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion shift \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 CONFIG_SHELL='$SHELL' export CONFIG_SHELL exec "\$@" fi _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX $as_echo "$ac_log" } >&5 _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # # INIT-COMMANDS # AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" # Capture the value of obsolete ALL_LINGUAS because we need it to compute # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it # from automake < 1.5. eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' # Capture the value of LINGUAS because we need it to compute CATALOGS. LINGUAS="${LINGUAS-%UNSET%}" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Handling of arguments. for ac_config_target in $ac_config_targets do case $ac_config_target in "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; "images/Makefile") CONFIG_FILES="$CONFIG_FILES images/Makefile" ;; "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; "misc/gmtp.desktop") CONFIG_FILES="$CONFIG_FILES misc/gmtp.desktop" ;; "misc/org.gnome.gmtp.gschema.xml") CONFIG_FILES="$CONFIG_FILES misc/org.gnome.gmtp.gschema.xml" ;; "misc/Makefile") CONFIG_FILES="$CONFIG_FILES misc/Makefile" ;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; esac done # If the user did not use the arguments to specify the items to instantiate, # then the envvar interface is used. Set only those that are not. # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands fi # Have a temporary directory for convenience. Make it in the build tree # simply because there is no reason against having it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Hook for its removal unless debugging. # Note that there is a small window in which the directory will not be cleaned: # after its creation but before its name has been assigned to `$tmp'. $debug || { tmp= ac_tmp= trap 'exit_status=$? : "${ac_tmp:=$tmp}" { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status ' 0 trap 'as_fn_exit 1' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 ac_tmp=$tmp # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. # This happens for instance with `./config.status config.h'. if test -n "$CONFIG_FILES"; then ac_cr=`echo X | tr X '\015'` # On cygwin, bash can eat \r inside `` if the user requested igncr. # But we know of no other shell where ac_cr would be empty at this # point, so we can use a bashism as a fallback. if test "x$ac_cr" = x; then eval ac_cr=\$\'\\r\' fi ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ac_cs_awk_cr='\\r' else ac_cs_awk_cr=$ac_cr fi echo 'BEGIN {' >"$ac_tmp/subs1.awk" && _ACEOF { echo "cat >conf$$subs.awk <<_ACEOF" && echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && echo "_ACEOF" } >conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` ac_delim='%!_!# ' for ac_last_try in false false false false false :; do . ./conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` if test $ac_delim_n = $ac_delim_num; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done rm -f conf$$subs.sh cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && _ACEOF sed -n ' h s/^/S["/; s/!.*/"]=/ p g s/^[^!]*!// :repl t repl s/'"$ac_delim"'$// t delim :nl h s/\(.\{148\}\)..*/\1/ t more1 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ p n b repl :more1 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t nl :delim h s/\(.\{148\}\)..*/\1/ t more2 s/["\\]/\\&/g; s/^/"/; s/$/"/ p b :more2 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t delim ' >$CONFIG_STATUS || ac_write_fail=1 rm -f conf$$subs.awk cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACAWK cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && for (key in S) S_is_set[key] = 1 FS = "" } { line = $ 0 nfields = split(line, field, "@") substed = 0 len = length(field[1]) for (i = 2; i < nfields; i++) { key = field[i] keylen = length(key) if (S_is_set[key]) { value = S[key] line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) len += length(value) + length(field[++i]) substed = 1 } else len += 1 + keylen } print line } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" else cat fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 _ACEOF # VPATH may cause trouble with some makes, so we remove sole $(srcdir), # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and # trailing colons and then remove the whole line if VPATH becomes empty # (actually we leave an empty line to preserve line numbers). if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ h s/// s/^/:/ s/[ ]*$/:/ s/:\$(srcdir):/:/g s/:\${srcdir}:/:/g s/:@srcdir@:/:/g s/^:*// s/:*$// x s/\(=[ ]*\).*/\1/ G s/\n// s/^[^=]*=[ ]*$// }' fi cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 fi # test -n "$CONFIG_FILES" # Set up the scripts for CONFIG_HEADERS section. # No need to generate them if there are no CONFIG_HEADERS. # This happens for instance with `./config.status Makefile'. if test -n "$CONFIG_HEADERS"; then cat >"$ac_tmp/defines.awk" <<\_ACAWK || BEGIN { _ACEOF # Transform confdefs.h into an awk script `defines.awk', embedded as # here-document in config.status, that substitutes the proper values into # config.h.in to produce config.h. # Create a delimiter string that does not exist in confdefs.h, to ease # handling of long lines. ac_delim='%!_!# ' for ac_last_try in false false :; do ac_tt=`sed -n "/$ac_delim/p" confdefs.h` if test -z "$ac_tt"; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done # For the awk script, D is an array of macro values keyed by name, # likewise P contains macro parameters if any. Preserve backslash # newline sequences. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* sed -n ' s/.\{148\}/&'"$ac_delim"'/g t rset :rset s/^[ ]*#[ ]*define[ ][ ]*/ / t def d :def s/\\$// t bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3"/p s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p d :bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3\\\\\\n"\\/p t cont s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p t cont d :cont n s/.\{148\}/&'"$ac_delim"'/g t clear :clear s/\\$// t bsnlc s/["\\]/\\&/g; s/^/"/; s/$/"/p d :bsnlc s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p b cont ' >$CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 for (key in D) D_is_set[key] = 1 FS = "" } /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { line = \$ 0 split(line, arg, " ") if (arg[1] == "#") { defundef = arg[2] mac1 = arg[3] } else { defundef = substr(arg[1], 2) mac1 = arg[2] } split(mac1, mac2, "(") #) macro = mac2[1] prefix = substr(line, 1, index(line, defundef) - 1) if (D_is_set[macro]) { # Preserve the white space surrounding the "#". print prefix "define", macro P[macro] D[macro] next } else { # Replace #undef with comments. This is necessary, for example, # in the case of _POSIX_SOURCE, which is predefined and required # on some systems where configure will not decide to define it. if (defundef == "undef") { print "/*", prefix defundef, macro, "*/" next } } } { print } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 fi # test -n "$CONFIG_HEADERS" eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" shift for ac_tag do case $ac_tag in :[FHLC]) ac_mode=$ac_tag; continue;; esac case $ac_mode$ac_tag in :[FHL]*:*);; :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac ac_save_IFS=$IFS IFS=: set x $ac_tag IFS=$ac_save_IFS shift ac_file=$1 shift case $ac_mode in :L) ac_source=$1;; :[FH]) ac_file_inputs= for ac_f do case $ac_f in -) ac_f="$ac_tmp/stdin";; *) # Look for the file first in the build tree, then in the source tree # (if the path is not absolute). The absolute path cannot be DOS-style, # because $ac_f cannot contain `:'. test -f "$ac_f" || case $ac_f in [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; esac case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac as_fn_append ac_file_inputs " '$ac_f'" done # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ configure_input='Generated from '` $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' `' by configure.' if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 $as_echo "$as_me: creating $ac_file" >&6;} fi # Neutralize special characters interpreted by sed in replacement strings. case $configure_input in #( *\&* | *\|* | *\\* ) ac_sed_conf_input=`$as_echo "$configure_input" | sed 's/[\\\\&|]/\\\\&/g'`;; #( *) ac_sed_conf_input=$configure_input;; esac case $ac_tag in *:-:* | *:-) cat >"$ac_tmp/stdin" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; esac ;; esac ac_dir=`$as_dirname -- "$ac_file" || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` as_dir="$ac_dir"; as_fn_mkdir_p ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix case $ac_mode in :F) # # CONFIG_FILE # case $INSTALL in [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; esac ac_MKDIR_P=$MKDIR_P case $MKDIR_P in [\\/$]* | ?:[\\/]* ) ;; */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; esac _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # If the template does not know about datarootdir, expand it. # FIXME: This hack should be removed a few years after 2.60. ac_datarootdir_hack=; ac_datarootdir_seen= ac_sed_dataroot=' /datarootdir/ { p q } /@datadir@/p /@docdir@/p /@infodir@/p /@localedir@/p /@mandir@/p' case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_datarootdir_hack=' s&@datadir@&$datadir&g s&@docdir@&$docdir&g s&@infodir@&$infodir&g s&@localedir@&$localedir&g s&@mandir@&$mandir&g s&\\\${datarootdir}&$datarootdir&g' ;; esac _ACEOF # Neutralize VPATH when `$srcdir' = `.'. # Shell code in configure.ac might set extrasub. # FIXME: do we really want to maintain this feature? cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_sed_extra="$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s|@configure_input@|$ac_sed_conf_input|;t t s&@top_builddir@&$ac_top_builddir_sub&;t t s&@top_build_prefix@&$ac_top_build_prefix&;t t s&@srcdir@&$ac_srcdir&;t t s&@abs_srcdir@&$ac_abs_srcdir&;t t s&@top_srcdir@&$ac_top_srcdir&;t t s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t s&@builddir@&$ac_builddir&;t t s&@abs_builddir@&$ac_abs_builddir&;t t s&@abs_top_builddir@&$ac_abs_top_builddir&;t t s&@INSTALL@&$ac_INSTALL&;t t s&@MKDIR_P@&$ac_MKDIR_P&;t t $ac_datarootdir_hack " eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ "$ac_tmp/out"`; test -z "$ac_out"; } && { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&5 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&2;} rm -f "$ac_tmp/stdin" case $ac_file in -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; esac \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; :H) # # CONFIG_HEADER # if test x"$ac_file" != x-; then { $as_echo "/* $configure_input */" \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" } >"$ac_tmp/config.h" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 $as_echo "$as_me: $ac_file is unchanged" >&6;} else rm -f "$ac_file" mv "$ac_tmp/config.h" "$ac_file" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 fi else $as_echo "/* $configure_input */" \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ || as_fn_error $? "could not create -" "$LINENO" 5 fi # Compute "$ac_file"'s index in $config_headers. _am_arg="$ac_file" _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$_am_arg" : 'X\(//\)[^/]' \| \ X"$_am_arg" : 'X\(//\)$' \| \ X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$_am_arg" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'`/stamp-h$_am_stamp_count ;; :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 $as_echo "$as_me: executing $ac_file commands" >&6;} ;; esac case $ac_file$ac_mode in "depfiles":C) test x"$AMDEP_TRUE" != x"" || { # Older Autoconf quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. case $CONFIG_FILES in *\'*) eval set x "$CONFIG_FILES" ;; *) set x $CONFIG_FILES ;; esac shift for mf do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named 'Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # Grep'ing the whole file is not good either: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then dirpart=`$as_dirname -- "$mf" || $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$mf" : 'X\(//\)[^/]' \| \ X"$mf" : 'X\(//\)$' \| \ X"$mf" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$mf" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running 'make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "$am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`$as_dirname -- "$file" || $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$file" : 'X\(//\)[^/]' \| \ X"$file" : 'X\(//\)$' \| \ X"$file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` as_dir=$dirpart/$fdir; as_fn_mkdir_p # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done } ;; "po-directories":C) for ac_file in $CONFIG_FILES; do # Support "outfile[:infile[:infile...]]" case "$ac_file" in *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; esac # PO directories have a Makefile.in generated from Makefile.in.in. case "$ac_file" in */Makefile.in) # Adjust a relative srcdir. ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` # In autoconf-2.13 it is called $ac_given_srcdir. # In autoconf-2.50 it is called $srcdir. test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" case "$ac_given_srcdir" in .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; /*) top_srcdir="$ac_given_srcdir" ;; *) top_srcdir="$ac_dots$ac_given_srcdir" ;; esac # Treat a directory as a PO directory if and only if it has a # POTFILES.in file. This allows packages to have multiple PO # directories under different names or in different locations. if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then rm -f "$ac_dir/POTFILES" test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" POMAKEFILEDEPS="POTFILES.in" # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend # on $ac_dir but don't depend on user-specified configuration # parameters. if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then # The LINGUAS file contains the set of available languages. if test -n "$OBSOLETE_ALL_LINGUAS"; then test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" fi ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` # Hide the ALL_LINGUAS assigment from automake < 1.5. eval 'ALL_LINGUAS''=$ALL_LINGUAS_' POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" else # The set of available languages was given in configure.in. # Hide the ALL_LINGUAS assigment from automake < 1.5. eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' fi # Compute POFILES # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) # Compute UPDATEPOFILES # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) # Compute DUMMYPOFILES # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) # Compute GMOFILES # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) case "$ac_given_srcdir" in .) srcdirpre= ;; *) srcdirpre='$(srcdir)/' ;; esac POFILES= UPDATEPOFILES= DUMMYPOFILES= GMOFILES= for lang in $ALL_LINGUAS; do POFILES="$POFILES $srcdirpre$lang.po" UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" DUMMYPOFILES="$DUMMYPOFILES $lang.nop" GMOFILES="$GMOFILES $srcdirpre$lang.gmo" done # CATALOGS depends on both $ac_dir and the user's LINGUAS # environment variable. INST_LINGUAS= if test -n "$ALL_LINGUAS"; then for presentlang in $ALL_LINGUAS; do useit=no if test "%UNSET%" != "$LINGUAS"; then desiredlanguages="$LINGUAS" else desiredlanguages="$ALL_LINGUAS" fi for desiredlang in $desiredlanguages; do # Use the presentlang catalog if desiredlang is # a. equal to presentlang, or # b. a variant of presentlang (because in this case, # presentlang can be used as a fallback for messages # which are not translated in the desiredlang catalog). case "$desiredlang" in "$presentlang"*) useit=yes;; esac done if test $useit = yes; then INST_LINGUAS="$INST_LINGUAS $presentlang" fi done fi CATALOGS= if test -n "$INST_LINGUAS"; then for lang in $INST_LINGUAS; do CATALOGS="$CATALOGS $lang.gmo" done fi test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do if test -f "$f"; then case "$f" in *.orig | *.bak | *~) ;; *) cat "$f" >> "$ac_dir/Makefile" ;; esac fi done fi ;; esac done ;; esac done # for ac_tag as_fn_exit 0 _ACEOF ac_clean_files=$ac_clean_files_save test $ac_write_fail = 0 || as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 # configure is writing to config.log, and then calls config.status. # config.status does its own redirection, appending to config.log. # Unfortunately, on DOS this fails, as config.log is still kept open # by configure, so config.status won't be able to write to it; its # output is simply discarded. So we exec the FD to /dev/null, # effectively closing config.log, so it can be properly (re)opened and # appended to by config.status. When coming back to configure, we # need to make the FD available again. if test "$no_create" != yes; then ac_cs_success=: ac_config_status_args= test "$silent" = yes && ac_config_status_args="$ac_config_status_args --quiet" exec 5>/dev/null $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. $ac_cs_success || as_fn_exit 1 fi if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi gmtp-1.3.10/aclocal.m40000644000175000001440000016300212655605165011335 00000000000000# generated automatically by aclocal 1.15 -*- Autoconf -*- # Copyright (C) 1996-2014 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, [m4_warning([this file was generated for autoconf 2.69. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically 'autoreconf'.])]) dnl 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], AC_HELP_STRING([--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], AC_HELP_STRING([--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, AC_HELP_STRING([--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]) ]) dnl GLIB_GSETTINGS dnl Defines GSETTINGS_SCHEMAS_INSTALL which controls whether dnl the schema should be compiled dnl AC_DEFUN([GLIB_GSETTINGS], [ m4_pattern_allow([AM_V_GEN]) AC_ARG_ENABLE(schemas-compile, AS_HELP_STRING([--disable-schemas-compile], [Disable regeneration of gschemas.compiled on install]), [case ${enableval} in yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;; no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;; *) AC_MSG_ERROR([bad value ${enableval} for --enable-schemas-compile]) ;; esac]) AC_SUBST([GSETTINGS_DISABLE_SCHEMAS_COMPILE]) PKG_PROG_PKG_CONFIG([0.16]) AC_SUBST(gsettingsschemadir, [${datadir}/glib-2.0/schemas]) if test x$cross_compiling != xyes; then GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0` else AC_PATH_PROG(GLIB_COMPILE_SCHEMAS, glib-compile-schemas) fi AC_SUBST(GLIB_COMPILE_SCHEMAS) if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then ifelse([$2],,[AC_MSG_ERROR([glib-compile-schemas not found.])],[$2]) else ifelse([$1],,[:],[$1]) fi GSETTINGS_RULES=' .PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas mostlyclean-am: clean-gsettings-schemas gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE)) %.gschema.valid: %.gschema.xml $(gsettings__enum_file) $(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$< && mkdir -p [$](@D) && touch [$]@ all-am: $(gsettings_SCHEMAS:.xml=.valid) uninstall-am: uninstall-gsettings-schemas install-data-am: install-gsettings-schemas .SECONDARY: $(gsettings_SCHEMAS) install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file) @$(NORMAL_INSTALL) if test -n "$^"; then \ test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \ $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \ test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \ fi uninstall-gsettings-schemas: @$(NORMAL_UNINSTALL) @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \ test -n "$$files" || exit 0; \ echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir) clean-gsettings-schemas: rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file) ifdef gsettings_ENUM_NAMESPACE $(gsettings__enum_file): $(gsettings_ENUM_FILES) $(AM_V_GEN) glib-mkenums --comments '\'''\'' --fhead "" --vhead " <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod " " --vtail " " --ftail "" [$]^ > [$]@.tmp && mv [$]@.tmp [$]@ endif ' _GSETTINGS_SUBST(GSETTINGS_RULES) ]) dnl _GSETTINGS_SUBST(VARIABLE) dnl Abstract macro to do either _AM_SUBST_NOTMAKE or AC_SUBST AC_DEFUN([_GSETTINGS_SUBST], [ AC_SUBST([$1]) m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])]) ] ) dnl pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- dnl serial 11 (pkg-config-0.29) dnl dnl Copyright © 2004 Scott James Remnant . dnl Copyright © 2012-2015 Dan Nicholson dnl dnl This program is free software; you can redistribute it and/or modify dnl it under the terms of the GNU General Public License as published by dnl the Free Software Foundation; either version 2 of the License, or dnl (at your option) any later version. dnl dnl This program is distributed in the hope that it will be useful, but dnl WITHOUT ANY WARRANTY; without even the implied warranty of dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU dnl General Public License for more details. dnl dnl You should have received a copy of the GNU General Public License dnl along with this program; if not, write to the Free Software dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA dnl 02111-1307, USA. dnl dnl As a special exception to the GNU General Public License, if you dnl distribute this file as part of a program that contains a dnl configuration script generated by Autoconf, you may include it under dnl the same distribution terms that you use for the rest of that dnl program. dnl PKG_PREREQ(MIN-VERSION) dnl ----------------------- dnl Since: 0.29 dnl dnl Verify that the version of the pkg-config macros are at least dnl MIN-VERSION. Unlike PKG_PROG_PKG_CONFIG, which checks the user's dnl installed version of pkg-config, this checks the developer's version dnl of pkg.m4 when generating configure. dnl dnl To ensure that this macro is defined, also add: dnl m4_ifndef([PKG_PREREQ], dnl [m4_fatal([must install pkg-config 0.29 or later before running autoconf/autogen])]) dnl dnl See the "Since" comment for each macro you use to see what version dnl of the macros you require. m4_defun([PKG_PREREQ], [m4_define([PKG_MACROS_VERSION], [0.29]) m4_if(m4_version_compare(PKG_MACROS_VERSION, [$1]), -1, [m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])]) ])dnl PKG_PREREQ dnl PKG_PROG_PKG_CONFIG([MIN-VERSION]) dnl ---------------------------------- dnl Since: 0.16 dnl dnl Search for the pkg-config tool and set the PKG_CONFIG variable to dnl first found in the path. Checks that the version of pkg-config found dnl is at least MIN-VERSION. If MIN-VERSION is not specified, 0.9.0 is dnl used since that's the first version where most current features of dnl pkg-config existed. AC_DEFUN([PKG_PROG_PKG_CONFIG], [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$]) m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$]) AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path]) AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path]) 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 ])dnl PKG_PROG_PKG_CONFIG dnl PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) dnl ------------------------------------------------------------------- dnl Since: 0.18 dnl dnl Check to see whether a particular set of modules exists. Similar to dnl PKG_CHECK_MODULES(), but does not set variables or print errors. dnl dnl Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) dnl only at the first occurence in configure.ac, so if the first place dnl it's called might be skipped (such as if it is within an "if", you dnl have 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_default([$2], [:]) m4_ifvaln([$3], [else $3])dnl fi]) dnl _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) dnl --------------------------------------------- dnl Internal wrapper calling pkg-config via PKG_CONFIG and setting dnl pkg_failed based on the result. m4_define([_PKG_CONFIG], [if test -n "$$1"; then pkg_cv_[]$1="$$1" elif test -n "$PKG_CONFIG"; then PKG_CHECK_EXISTS([$3], [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes]) else pkg_failed=untried fi[]dnl ])dnl _PKG_CONFIG dnl _PKG_SHORT_ERRORS_SUPPORTED dnl --------------------------- dnl Internal check to see if pkg-config supports short errors. 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 ])dnl _PKG_SHORT_ERRORS_SUPPORTED dnl PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], dnl [ACTION-IF-NOT-FOUND]) dnl -------------------------------------------------------------- dnl Since: 0.4.0 dnl dnl Note that if there is a possibility the first call to dnl PKG_CHECK_MODULES might not happen, you should be sure to include an dnl 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 AC_MSG_RESULT([no]) _PKG_SHORT_ERRORS_SUPPORTED if test $_pkg_short_errors_supported = yes; then $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` else $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD m4_default([$4], [AC_MSG_ERROR( [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])[]dnl ]) elif test $pkg_failed = untried; then AC_MSG_RESULT([no]) m4_default([$4], [AC_MSG_FAILURE( [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 .])[]dnl ]) else $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS $1[]_LIBS=$pkg_cv_[]$1[]_LIBS AC_MSG_RESULT([yes]) $3 fi[]dnl ])dnl PKG_CHECK_MODULES dnl PKG_CHECK_MODULES_STATIC(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], dnl [ACTION-IF-NOT-FOUND]) dnl --------------------------------------------------------------------- dnl Since: 0.29 dnl dnl Checks for existence of MODULES and gathers its build flags with dnl static libraries enabled. Sets VARIABLE-PREFIX_CFLAGS from --cflags dnl and VARIABLE-PREFIX_LIBS from --libs. dnl dnl Note that if there is a possibility the first call to dnl PKG_CHECK_MODULES_STATIC might not happen, you should be sure to dnl include an explicit call to PKG_PROG_PKG_CONFIG in your dnl configure.ac. AC_DEFUN([PKG_CHECK_MODULES_STATIC], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl _save_PKG_CONFIG=$PKG_CONFIG PKG_CONFIG="$PKG_CONFIG --static" PKG_CHECK_MODULES($@) PKG_CONFIG=$_save_PKG_CONFIG[]dnl ])dnl PKG_CHECK_MODULES_STATIC dnl PKG_INSTALLDIR([DIRECTORY]) dnl ------------------------- dnl Since: 0.27 dnl dnl Substitutes the variable pkgconfigdir as the location where a module dnl should install pkg-config .pc files. By default the directory is dnl $libdir/pkgconfig, but the default can be changed by passing dnl DIRECTORY. The user can override through the --with-pkgconfigdir dnl parameter. AC_DEFUN([PKG_INSTALLDIR], [m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])]) m4_pushdef([pkg_description], [pkg-config installation directory @<:@]pkg_default[@:>@]) AC_ARG_WITH([pkgconfigdir], [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],, [with_pkgconfigdir=]pkg_default) AC_SUBST([pkgconfigdir], [$with_pkgconfigdir]) m4_popdef([pkg_default]) m4_popdef([pkg_description]) ])dnl PKG_INSTALLDIR dnl PKG_NOARCH_INSTALLDIR([DIRECTORY]) dnl -------------------------------- dnl Since: 0.27 dnl dnl Substitutes the variable noarch_pkgconfigdir as the location where a dnl module should install arch-independent pkg-config .pc files. By dnl default the directory is $datadir/pkgconfig, but the default can be dnl changed by passing DIRECTORY. The user can override through the dnl --with-noarch-pkgconfigdir parameter. AC_DEFUN([PKG_NOARCH_INSTALLDIR], [m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])]) m4_pushdef([pkg_description], [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@]) AC_ARG_WITH([noarch-pkgconfigdir], [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],, [with_noarch_pkgconfigdir=]pkg_default) AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir]) m4_popdef([pkg_default]) m4_popdef([pkg_description]) ])dnl PKG_NOARCH_INSTALLDIR dnl PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE, dnl [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) dnl ------------------------------------------- dnl Since: 0.28 dnl dnl Retrieves the value of the pkg-config variable for the given module. AC_DEFUN([PKG_CHECK_VAR], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl _PKG_CONFIG([$1], [variable="][$3]["], [$2]) AS_VAR_COPY([$1], [pkg_cv_][$1]) AS_VAR_IF([$1], [""], [$5], [$4])dnl ])dnl PKG_CHECK_VAR # Copyright (C) 2002-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_AUTOMAKE_VERSION(VERSION) # ---------------------------- # Automake X.Y traces this macro to ensure aclocal.m4 has been # generated from the m4 files accompanying Automake X.Y. # (This private macro should not be called outside this file.) AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.15' dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to dnl require some minimum version. Point them to the right macro. m4_if([$1], [1.15], [], [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ]) # _AM_AUTOCONF_VERSION(VERSION) # ----------------------------- # aclocal traces this macro to find the Autoconf version. # This is a private macro too. Using m4_define simplifies # the logic in aclocal, which can simply ignore this definition. m4_define([_AM_AUTOCONF_VERSION], []) # AM_SET_CURRENT_AUTOMAKE_VERSION # ------------------------------- # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.15])dnl m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- # Copyright (C) 2001-2014 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], [AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl # Expand $ac_aux_dir to an absolute path. am_aux_dir=`cd "$ac_aux_dir" && pwd` ]) # AM_CONDITIONAL -*- Autoconf -*- # Copyright (C) 1997-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_CONDITIONAL(NAME, SHELL-CONDITION) # ------------------------------------- # Define a conditional. AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ([2.52])dnl m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl AC_SUBST([$1_TRUE])dnl AC_SUBST([$1_FALSE])dnl _AM_SUBST_NOTMAKE([$1_TRUE])dnl _AM_SUBST_NOTMAKE([$1_FALSE])dnl m4_define([_AM_COND_VALUE_$1], [$2])dnl if $2; then $1_TRUE= $1_FALSE='#' else $1_TRUE='#' $1_FALSE= fi AC_CONFIG_COMMANDS_PRE( [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then AC_MSG_ERROR([[conditional "$1" was never defined. Usually this means the macro was only invoked conditionally.]]) fi])]) # Copyright (C) 1999-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be # written in clear, in which case automake, when reading aclocal.m4, # will think it sees a *use*, and therefore will trigger all it's # C support machinery. Also note that it means that autoscan, seeing # CC etc. in the Makefile, will ask for an AC_PROG_CC use... # _AM_DEPENDENCIES(NAME) # ---------------------- # See how the compiler implements dependency checking. # NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC". # We try a few techniques and use that to set a single cache variable. # # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular # dependency, and given that the user is not expected to run this macro, # just rely on AC_PROG_CC. AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl AC_REQUIRE([AM_MAKE_INCLUDE])dnl AC_REQUIRE([AM_DEP_TRACK])dnl m4_if([$1], [CC], [depcc="$CC" am_compiler_list=], [$1], [CXX], [depcc="$CXX" am_compiler_list=], [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'], [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'], [$1], [UPC], [depcc="$UPC" am_compiler_list=], [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'], [depcc="$$1" am_compiler_list=]) AC_CACHE_CHECK([dependency style of $depcc], [am_cv_$1_dependencies_compiler_type], [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named 'D' -- because '-MD' means "put the output # in D". rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_$1_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` fi am__universal=false m4_case([$1], [CC], [case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac], [CXX], [case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac]) for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with # Solaris 10 /bin/sh. echo '/* dummy */' > sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf # We check with '-c' and '-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle '-M -o', and we need to detect this. Also, some Intel # versions had trouble with output in subdirs. am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in gcc) # This depmode causes a compiler race in universal mode. test "$am__universal" = false || continue ;; nosideeffect) # After this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested. if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; msvc7 | msvc7msys | msvisualcpp | msvcmsys) # This compiler won't grok '-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} am__minus_obj= ;; none) break ;; esac if depmode=$depmode \ source=sub/conftest.c object=$am__obj \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_$1_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_$1_dependencies_compiler_type=none fi ]) AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) AM_CONDITIONAL([am__fastdep$1], [ test "x$enable_dependency_tracking" != xno \ && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) ]) # AM_SET_DEPDIR # ------------- # Choose a directory name for dependency files. # This macro is AC_REQUIREd in _AM_DEPENDENCIES. AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl ]) # AM_DEP_TRACK # ------------ AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE([dependency-tracking], [dnl AS_HELP_STRING( [--enable-dependency-tracking], [do not reject slow dependency extractors]) AS_HELP_STRING( [--disable-dependency-tracking], [speeds up one-time build])]) if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' am__nodep='_no' fi AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) AC_SUBST([AMDEPBACKSLASH])dnl _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl AC_SUBST([am__nodep])dnl _AM_SUBST_NOTMAKE([am__nodep])dnl ]) # Generate code to set up dependency tracking. -*- Autoconf -*- # Copyright (C) 1999-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_OUTPUT_DEPENDENCY_COMMANDS # ------------------------------ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{ # Older Autoconf quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. case $CONFIG_FILES in *\'*) eval set x "$CONFIG_FILES" ;; *) set x $CONFIG_FILES ;; esac shift for mf do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named 'Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # Grep'ing the whole file is not good either: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then dirpart=`AS_DIRNAME("$mf")` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running 'make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "$am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`AS_DIRNAME(["$file"])` AS_MKDIR_P([$dirpart/$fdir]) # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done } ])# _AM_OUTPUT_DEPENDENCY_COMMANDS # AM_OUTPUT_DEPENDENCY_COMMANDS # ----------------------------- # This macro should only be invoked once -- use via AC_REQUIRE. # # This code is only required when automatic dependency tracking # is enabled. FIXME. This creates each '.P' file that we will # need in order to bootstrap the dependency handling code. AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles], [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) ]) # Do all the work for Automake. -*- Autoconf -*- # Copyright (C) 1996-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This macro actually does too much. Some checks are only needed if # your package does certain things. But this isn't really a big deal. dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O. m4_define([AC_PROG_CC], m4_defn([AC_PROG_CC]) [_AM_PROG_CC_C_O ]) # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) # AM_INIT_AUTOMAKE([OPTIONS]) # ----------------------------------------------- # The call with PACKAGE and VERSION arguments is the old style # call (pre autoconf-2.50), which is being phased out. PACKAGE # and VERSION should now be passed to AC_INIT and removed from # the call to AM_INIT_AUTOMAKE. # We support both call styles for the transition. After # the next Automake release, Autoconf can make the AC_INIT # arguments mandatory, and then we can depend on a new Autoconf # release and drop the old call support. AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.65])dnl dnl Autoconf wants to disallow AM_ names. We explicitly allow dnl the ones we care about. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl # test to see if srcdir already configured if test -f $srcdir/config.status; then AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi AC_SUBST([CYGPATH_W]) # Define the identity of the package. dnl Distinguish between old-style and new-style calls. m4_ifval([$2], [AC_DIAGNOSE([obsolete], [$0: two- and three-arguments forms are deprecated.]) m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl AC_SUBST([PACKAGE], [$1])dnl AC_SUBST([VERSION], [$2])], [_AM_SET_OPTIONS([$1])dnl dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. m4_if( m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), [ok:ok],, [m4_fatal([AC_INIT should be called with package and version arguments])])dnl AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl _AM_IF_OPTION([no-define],, [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl # Some tools Automake needs. AC_REQUIRE([AM_SANITY_CHECK])dnl AC_REQUIRE([AC_ARG_PROGRAM])dnl AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) AM_MISSING_PROG([AUTOCONF], [autoconf]) AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) AM_MISSING_PROG([AUTOHEADER], [autoheader]) AM_MISSING_PROG([MAKEINFO], [makeinfo]) AC_REQUIRE([AM_PROG_INSTALL_SH])dnl AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl AC_REQUIRE([AC_PROG_MKDIR_P])dnl # For better backward compatibility. To be removed once Automake 1.9.x # dies out for good. For more background, see: # # AC_SUBST([mkdir_p], ['$(MKDIR_P)']) # We need awk for the "check" target (and possibly the TAP driver). The # system "awk" is bad on some platforms. AC_REQUIRE([AC_PROG_AWK])dnl AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AM_SET_LEADING_DOT])dnl _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])]) _AM_IF_OPTION([no-dependencies],, [AC_PROVIDE_IFELSE([AC_PROG_CC], [_AM_DEPENDENCIES([CC])], [m4_define([AC_PROG_CC], m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl AC_PROVIDE_IFELSE([AC_PROG_CXX], [_AM_DEPENDENCIES([CXX])], [m4_define([AC_PROG_CXX], m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl AC_PROVIDE_IFELSE([AC_PROG_OBJC], [_AM_DEPENDENCIES([OBJC])], [m4_define([AC_PROG_OBJC], m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], [_AM_DEPENDENCIES([OBJCXX])], [m4_define([AC_PROG_OBJCXX], m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl ]) AC_REQUIRE([AM_SILENT_RULES])dnl dnl The testsuite driver may need to know about EXEEXT, so add the dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below. AC_CONFIG_COMMANDS_PRE(dnl [m4_provide_if([_AM_COMPILER_EXEEXT], [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl # POSIX will say in a future version that running "rm -f" with no argument # is OK; and we want to be able to make that assumption in our Makefile # recipes. So use an aggressive probe to check that the usage we want is # actually supported "in the wild" to an acceptable degree. # See automake bug#10828. # To make any issue more visible, cause the running configure to be aborted # by default if the 'rm' program in use doesn't match our expectations; the # user can still override this though. if rm -f && rm -fr && rm -rf; then : OK; else cat >&2 <<'END' Oops! Your 'rm' program seems unable to run without file operands specified on the command line, even when the '-f' option is present. This is contrary to the behaviour of most rm programs out there, and not conforming with the upcoming POSIX standard: Please tell bug-automake@gnu.org about your system, including the value of your $PATH and any error possibly output before this message. This can help us improve future automake versions. END if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then echo 'Configuration will proceed anyway, since you have set the' >&2 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 echo >&2 else cat >&2 <<'END' Aborting the configuration process, to ensure you take notice of the issue. You can download and install GNU coreutils to get an 'rm' implementation that behaves properly: . If you want to complete the configuration process using your problematic 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM to "yes", and re-run configure. END AC_MSG_ERROR([Your 'rm' program is bad, sorry.]) fi fi dnl The trailing newline in this macro's definition is deliberate, for dnl backward compatibility and to allow trailing 'dnl'-style comments dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841. ]) dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further dnl mangled by Autoconf and run in a shell conditional statement. m4_define([_AC_COMPILER_EXEEXT], m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) # When config.status generates a header, we must update the stamp-h file. # This file resides in the same directory as the config header # that is generated. The stamp files are numbered to have different names. # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the # loop where config.status creates the headers, so we can generate # our stamp files there. AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers. _am_arg=$1 _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) # Copyright (C) 2001-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_INSTALL_SH # ------------------ # Define $install_sh. AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl if test x"${install_sh+set}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; *) install_sh="\${SHELL} $am_aux_dir/install-sh" esac fi AC_SUBST([install_sh])]) # Copyright (C) 2003-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # Check whether the underlying file-system supports filenames # with a leading dot. For instance MS-DOS doesn't. AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null AC_SUBST([am__leading_dot])]) # Check to see how 'make' treats includes. -*- Autoconf -*- # Copyright (C) 2001-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_MAKE_INCLUDE() # ----------------- # Check to see how make treats includes. AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo this is the am__doit target .PHONY: am__doit END # If we don't find an include directive, just comment out the code. AC_MSG_CHECKING([for style of include used by $am_make]) am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # Ignore all kinds of additional output from 'make'. case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=include am__quote= _am_result=GNU ;; esac # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=.include am__quote="\"" _am_result=BSD ;; esac fi AC_SUBST([am__include]) AC_SUBST([am__quote]) AC_MSG_RESULT([$_am_result]) rm -f confinc confmf ]) # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- # Copyright (C) 1997-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_MISSING_PROG(NAME, PROGRAM) # ------------------------------ AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN]) $1=${$1-"${am_missing_run}$2"} AC_SUBST($1)]) # AM_MISSING_HAS_RUN # ------------------ # Define MISSING if not defined so far and test if it is modern enough. # If it is, set am_missing_run to use it, otherwise, to nothing. AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([missing])dnl if test x"${MISSING+set}" != xset; then case $am_aux_dir in *\ * | *\ *) MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; *) MISSING="\${SHELL} $am_aux_dir/missing" ;; esac fi # Use eval to expand $SHELL if eval "$MISSING --is-lightweight"; then am_missing_run="$MISSING " else am_missing_run= AC_MSG_WARN(['missing' script is too old or missing]) fi ]) # Copyright (C) 2003-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_MKDIR_P # --------------- # Check for 'mkdir -p'. AC_DEFUN([AM_PROG_MKDIR_P], [AC_PREREQ([2.60])dnl AC_REQUIRE([AC_PROG_MKDIR_P])dnl dnl FIXME we are no longer going to remove this! adjust warning dnl FIXME message accordingly. AC_DIAGNOSE([obsolete], [$0: this macro is deprecated, and will soon be removed. You should use the Autoconf-provided 'AC][_PROG_MKDIR_P' macro instead, and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files.]) dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, dnl while keeping a definition of mkdir_p for backward compatibility. dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of dnl Makefile.ins that do not define MKDIR_P, so we do our own dnl adjustment using top_builddir (which is defined more often than dnl MKDIR_P). AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl case $mkdir_p in [[\\/$]]* | ?:[[\\/]]*) ;; */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; esac ]) # Helper functions for option handling. -*- Autoconf -*- # Copyright (C) 2001-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_MANGLE_OPTION(NAME) # ----------------------- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) # _AM_SET_OPTION(NAME) # -------------------- # Set option NAME. Presently that only means defining a flag for this option. AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), [1])]) # _AM_SET_OPTIONS(OPTIONS) # ------------------------ # OPTIONS is a space-separated list of Automake options. AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) # ------------------------------------------- # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) # Copyright (C) 1999-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_PROG_CC_C_O # --------------- # Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC # to automatically call this. AC_DEFUN([_AM_PROG_CC_C_O], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([compile])dnl AC_LANG_PUSH([C])dnl AC_CACHE_CHECK( [whether $CC understands -c and -o together], [am_cv_prog_cc_c_o], [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])]) # Make sure it works both with $CC and with simple cc. # Following AC_PROG_CC_C_O, we do the test twice because some # compilers refuse to overwrite an existing .o file with -o, # though they will create one. am_cv_prog_cc_c_o=yes for am_i in 1 2; do if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \ && test -f conftest2.$ac_objext; then : OK else am_cv_prog_cc_c_o=no break fi done rm -f core conftest* unset am_i]) if test "$am_cv_prog_cc_c_o" != yes; then # Losing compiler, so override with the script. # FIXME: It is wrong to rewrite CC. # But if we don't then we get into trouble of one sort or another. # A longer-term fix would be to have automake use am__CC in this case, # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" CC="$am_aux_dir/compile $CC" fi AC_LANG_POP([C])]) # For backward compatibility. AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) # Copyright (C) 2001-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_RUN_LOG(COMMAND) # ------------------- # Run COMMAND, save the exit status in ac_status, and log it. # (This has been adapted from Autoconf's _AC_RUN_LOG macro.) AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD (exit $ac_status); }]) # Check to make sure that the build environment is sane. -*- Autoconf -*- # Copyright (C) 1996-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_SANITY_CHECK # --------------- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' ' case `pwd` in *[[\\\"\#\$\&\'\`$am_lf]]*) AC_MSG_ERROR([unsafe absolute working directory name]);; esac case $srcdir in *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);; esac # Do 'set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( am_has_slept=no for am_try in 1 2; do echo "timestamp, slept: $am_has_slept" > conftest.file set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` if test "$[*]" = "X"; then # -L didn't work. set X `ls -t "$srcdir/configure" conftest.file` fi if test "$[*]" != "X $srcdir/configure conftest.file" \ && test "$[*]" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken alias in your environment]) fi if test "$[2]" = conftest.file || test $am_try -eq 2; then break fi # Just in case. sleep 1 am_has_slept=yes done test "$[2]" = conftest.file ) then # Ok. : else AC_MSG_ERROR([newly created file is older than distributed files! Check your system clock]) fi AC_MSG_RESULT([yes]) # If we didn't sleep, we still need to ensure time stamps of config.status and # generated files are strictly newer. am_sleep_pid= if grep 'slept: no' conftest.file >/dev/null 2>&1; then ( sleep 1 ) & am_sleep_pid=$! fi AC_CONFIG_COMMANDS_PRE( [AC_MSG_CHECKING([that generated files are newer than configure]) if test -n "$am_sleep_pid"; then # Hide warnings about reused PIDs. wait $am_sleep_pid 2>/dev/null fi AC_MSG_RESULT([done])]) rm -f conftest.file ]) # Copyright (C) 2009-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_SILENT_RULES([DEFAULT]) # -------------------------- # Enable less verbose build rules; with the default set to DEFAULT # ("yes" being less verbose, "no" or empty being verbose). AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules], [dnl AS_HELP_STRING( [--enable-silent-rules], [less verbose build output (undo: "make V=1")]) AS_HELP_STRING( [--disable-silent-rules], [verbose build output (undo: "make V=0")])dnl ]) case $enable_silent_rules in @%:@ ((( yes) AM_DEFAULT_VERBOSITY=0;; no) AM_DEFAULT_VERBOSITY=1;; *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; esac dnl dnl A few 'make' implementations (e.g., NonStop OS and NextStep) dnl do not support nested variable expansions. dnl See automake bug#9928 and bug#10237. am_make=${MAKE-make} AC_CACHE_CHECK([whether $am_make supports nested variables], [am_cv_make_support_nested_variables], [if AS_ECHO([['TRUE=$(BAR$(V)) BAR0=false BAR1=true V=1 am__doit: @$(TRUE) .PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then am_cv_make_support_nested_variables=yes else am_cv_make_support_nested_variables=no fi]) if test $am_cv_make_support_nested_variables = yes; then dnl Using '$V' instead of '$(V)' breaks IRIX make. AM_V='$(V)' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' else AM_V=$AM_DEFAULT_VERBOSITY AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY fi AC_SUBST([AM_V])dnl AM_SUBST_NOTMAKE([AM_V])dnl AC_SUBST([AM_DEFAULT_V])dnl AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl AC_SUBST([AM_DEFAULT_VERBOSITY])dnl AM_BACKSLASH='\' AC_SUBST([AM_BACKSLASH])dnl _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl ]) # Copyright (C) 2001-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_INSTALL_STRIP # --------------------- # One issue with vendor 'install' (even GNU) is that you can't # specify the program used to strip binaries. This is especially # annoying in cross-compiling environments, where the build's strip # is unlikely to handle the host's binaries. # Fortunately install-sh will honor a STRIPPROG variable, so we # always use install-sh in "make install-strip", and initialize # STRIPPROG with the value of the STRIP variable (set by the user). AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl # Installed binaries are usually stripped using 'strip' when the user # run "make install-strip". However 'strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the 'STRIP' environment variable to overrule this program. dnl Don't test for $cross_compiling = yes, because it might be 'maybe'. if test "$cross_compiling" != no; then AC_CHECK_TOOL([STRIP], [strip], :) fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) # Copyright (C) 2006-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_SUBST_NOTMAKE(VARIABLE) # --------------------------- # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. # This macro is traced by Automake. AC_DEFUN([_AM_SUBST_NOTMAKE]) # AM_SUBST_NOTMAKE(VARIABLE) # -------------------------- # Public sister of _AM_SUBST_NOTMAKE. AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) # Check how to create a tarball. -*- Autoconf -*- # Copyright (C) 2004-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_PROG_TAR(FORMAT) # -------------------- # Check how to create a tarball in format FORMAT. # FORMAT should be one of 'v7', 'ustar', or 'pax'. # # Substitute a variable $(am__tar) that is a command # writing to stdout a FORMAT-tarball containing the directory # $tardir. # tardir=directory && $(am__tar) > result.tar # # Substitute a variable $(am__untar) that extract such # a tarball read from stdin. # $(am__untar) < result.tar # AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. Yes, it's still used # in the wild :-( We should find a proper way to deprecate it ... AC_SUBST([AMTAR], ['$${TAR-tar}']) # We'll loop over all known methods to create a tar archive until one works. _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' m4_if([$1], [v7], [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], [m4_case([$1], [ustar], [# The POSIX 1988 'ustar' format is defined with fixed-size fields. # There is notably a 21 bits limit for the UID and the GID. In fact, # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 # and bug#13588). am_max_uid=2097151 # 2^21 - 1 am_max_gid=$am_max_uid # The $UID and $GID variables are not portable, so we need to resort # to the POSIX-mandated id(1) utility. Errors in the 'id' calls # below are definitely unexpected, so allow the users to see them # (that is, avoid stderr redirection). am_uid=`id -u || echo unknown` am_gid=`id -g || echo unknown` AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format]) if test $am_uid -le $am_max_uid; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) _am_tools=none fi AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format]) if test $am_gid -le $am_max_gid; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) _am_tools=none fi], [pax], [], [m4_fatal([Unknown tar format])]) AC_MSG_CHECKING([how to create a $1 tar archive]) # Go ahead even if we have the value already cached. We do so because we # need to set the values for the 'am__tar' and 'am__untar' variables. _am_tools=${am_cv_prog_tar_$1-$_am_tools} for _am_tool in $_am_tools; do case $_am_tool in gnutar) for _am_tar in tar gnutar gtar; do AM_RUN_LOG([$_am_tar --version]) && break done am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' am__untar="$_am_tar -xf -" ;; plaintar) # Must skip GNU tar: if it does not support --format= it doesn't create # ustar tarball either. (tar --version) >/dev/null 2>&1 && continue am__tar='tar chf - "$$tardir"' am__tar_='tar chf - "$tardir"' am__untar='tar xf -' ;; pax) am__tar='pax -L -x $1 -w "$$tardir"' am__tar_='pax -L -x $1 -w "$tardir"' am__untar='pax -r' ;; cpio) am__tar='find "$$tardir" -print | cpio -o -H $1 -L' am__tar_='find "$tardir" -print | cpio -o -H $1 -L' am__untar='cpio -i -H $1 -d' ;; none) am__tar=false am__tar_=false am__untar=false ;; esac # If the value was cached, stop now. We just wanted to have am__tar # and am__untar set. test -n "${am_cv_prog_tar_$1}" && break # tar/untar a dummy directory, and stop if the command works. rm -rf conftest.dir mkdir conftest.dir echo GrepMe > conftest.dir/file AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) rm -rf conftest.dir if test -s conftest.tar; then AM_RUN_LOG([$am__untar /dev/null 2>&1 && break fi done rm -rf conftest.dir AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) AC_MSG_RESULT([$am_cv_prog_tar_$1])]) AC_SUBST([am__tar]) AC_SUBST([am__untar]) ]) # _AM_PROG_TAR m4_include([m4/gettext.m4]) m4_include([m4/iconv.m4]) m4_include([m4/lib-ld.m4]) m4_include([m4/lib-link.m4]) m4_include([m4/lib-prefix.m4]) m4_include([m4/m4_ax_check_compile_flag.m4]) m4_include([m4/nls.m4]) m4_include([m4/po.m4]) m4_include([m4/progtest.m4]) gmtp-1.3.10/README0000644000175000001440000002211012655605137010346 00000000000000gMTP v1.3.10 A basic MTP client for Oracle Solaris 10. Supports MTP devices including those with multiple storage devices (typically mobile phones). Supports Drag'n'Drop interface for upload/download of files. See INSTALL for build/install instructions. FAQ Q. What is MTP? A. MTP = Media Transfer Protocol. MTP has been adopted by most major MP3 and Mobile Phone manufacturers as the method of talking to devices to upload/download files to/from a PC. See http://en.wikipedia.org/wiki/Media_Transfer_Protocol for more information. Q. Why doesn't gMTP support my iPod or Creative Nomad player? A. These devices do not use MTP for moving data to/from a device. Apple iPod uses it's own custom protocol in additional to USB Mass Storage and Creative devices use NJB. Q. I have a MTP enabled device and it is connected to my PC, but it doesn't get detected by gMTP? A. Most devices are capable of using different modes to talk to your PC, so ensure that the device is in MTP mode.
A. Or, libmtp doesn't know about your device or how to handle it correctly. Run '$ mtp-detect' to see if it can be found. Q. I get asked which storage device to connect to when I connect to my mobile phone? A. Some devices (notably mobile phones), have both internal storage (non-removable) and external storage (removable storage) in the form of a micro-SD card or M2 card, and gMTP will treat these as different storage devices. Q. Does gMTP support Albums and uploading Album Art? A. Yes. Album data is autocreated/updated when you upload a MP3 (or other supported audio file) by using information contained within the audio file, eg. Using the ID3 Tag information in an MP3 file. Once the Album has been created, you can upload the album art via the 'Edit / Album Art' menu option. Q. Will this software work on OpenSolaris, Linux, *BSD or other POSIX Operating System? A. I have reports that it runs successfully on OpenSolaris, Arch Linux, Debian and Ubuntu. Q. What about SPARC, ARM or other non-x86 systems? A. It should work fine but is untested. (If libmtp and libid3tag work fine on your platform, then gMTP should as well). Q. Do I need root access to use gMTP? A. On Solaris 10, in general No. (If you do need root access, then double check your RBAC setup for your user then). On Linux, in general No, as libmtp should have set your udev rules correctly for libmtp known devices. Q. In the file view or playlist editor, tracks have a length of 0:00? A. The length field displayed is reliant on the track data being set correctly when the audio file was uploaded. Some file transfer utilies do not set this information correctly (and earlier versions of gMTP are also guilty of this). Simply download and re-upload the audio file using gMTP to correct the track data on the player. Q. I have the same audio file loaded on my device in different formats, but the song duration is different between them? A. WMA, FLAC and OGG all store the song duration in header information, and this is set by the encoder used to create the file. It may be a bug with the encoder? With MP3 files, the track duration is calculated when the file is uploaded, so this information should be correct unless you have a corrupt MP3 file. Q. The translations are pretty awful or just plain wrong, or why don't you have xyz language? A. The initial translations were done using Google Translate services, so accuracy is not 100%. Please email me with corrections to existing translations. If you would like a particular language added, and are happy to assist, please let me know or simply email me with the correct *.po file with the translations for your langauge. Q. I'm using French Canadian (fr_CA.UTF-8) as my locale on Solaris 10, but I don't get French translations? A. This is due to an idiosyncrasy on Solaris 10 and language translations. Either: 1. Copy the gmtp.mo file from /usr/local/share/locale/fr/LC_MESSAGES to /usr/local/share/locale/fr.UTF-8/LC_MESSAGES, and restart gmtp. 2. or, create a symlink fr.UTF-8 pointing to fr in /usr/local/share/locale using 'ln -s fr fr.UTF-8'. French translations should now be present. (Technical information: On Solaris, the gettext() call will only look in the current locale folder as defined by the LC_MESSAGES environment variable and not the base language folder as well for translations, so if the locale is set to 'fr.UTF-8', gettext() will only look in that locale folder and not 'fr' as well - which is what the GNU version of gettext() does). This applies to all languages on Solaris 10. For Linux/FreeBSD uses this should not be an issue as most will use the GNU version of gettext(). Q. The column view options do not appear to be working? A. The gconf schema was updated in v0.8. Please update your local schema file. Q. I'm attempting to move some files, and I always get an error. What's the issue? A. gMTP uses the MTP function 'moveObject' to perform move operations. However only a few devices actually support this function, and if they do actually advertise it supports the function, it may be horribly broken. Basically complain to your device manufacturer that it doesn't support this function, and that they should add it in. To see if you device has this option available, run 'mtp-detect' and look under the supported commands for command '1019: MoveObject'. The other method I could use is to download the files/folders to your PC, re-upload them again and delete the originals, however this is very time intensive, and in these cases it's better than the user do this themselves. Q. I have an Android device and .... isn't working? A. There are a few answers or explanations with Android. 1. Some device vendors have opted to use their own MTP software stack with their device, and some of these implementations are horribly broken. Contact your device manufacturer for further assistance. (AFAIK, this is primarily Samsung with Android 2.x devices, and some lesser known Chinese developed handsets often rebadged as Carrier own-brand handsets). 2. Android 1.x-2.x doesn't have a native MTP implementation, so if your device has MTP functionality, see the above comment. 3. Android 3.x-4.x has native MTP functionality, but is missing some features and does have some bugs in the implementation. Some noted issues: a. Does not support albums or album metadata. So you can't upload custom album art. b. Some users have reported issues with Playlist support. (Try to get a newer revision of your version of Android). c. Android 3.2 has a nasty bug, in that an application is unable to call the Storage APIs more than once in a session. gMTP 1.3.2 works around this by caching the device storage information. (but not the file listing or related metadata). d. Samsung Galaxy and Google Nexus devices have connectivity issues, that I'm hoping can be resolved via patches to libmtp. Sorry, there is nothing I can do about that situation. Complain to Samsung and Google, and try to get them actively involved in libmtp. Also try the alternate access method, as this may improve things. Q. What is the alternate access method? A. There are two main methods of accessing MTP based devices, either cached or uncached. gMTP originally only used the cached method as this worked well for the majority of devices. (All device information including file/track information was cached in the application for performance reasons). With the introduction of Google's MTP stack in Android 3.x, it changed many things, in particular that it only worked well in uncached mode. (Android's MTP stack as far as I know is server implementation that shares the underlying resource with the device and the host PC, unlike the usual MP3 scenario, where the once the host device took connect it was given sole access to the media storage). Because of this shared nature, using cached information in the application is a "really bad idea", since you're relying on information that may change. So gMTP now has the ability to use the uncached mode as well, which should improve stability with Android 3.x and newer devices that use MTP. The downside to the uncached mode, is that every action now requires getting data from the device, which may be painful on slower or congested USB busses... (I would rather stability for users, and have them wait 0.5secs over an unstable and poor experience using the application). (Alternate access method = uncached mode). Q. What does the "g" part in gMTP stand for? It isn't to denote that you're a GNOME based application, is it? (If it does, that's lame). A. While many GNOME applications have a leading G, and likewise many KDE applications have a K, the "g" actually stands for "graphical", as in: "graphical MTP", since its a graphical interface for MTP based devices... Sorry to disappoint people. TODO List 1. Bugfixes as needed. 2. Further translations. gmtp-1.3.10/misc/0000775000175000001440000000000012660313607010501 500000000000000gmtp-1.3.10/misc/org.gnome.gmtp.gschema.xml0000644000175000001440000001347012660313607015415 00000000000000 false Auto Connect Device on Start Auto Connect Device on Start true Always Prompt for Download Path Always Prompt for Download Path true Prompt if file exists and about to overwrite Prompt if file exists and about to overwrite false Confirm File Delete Operations Confirm File Delete Operations '/' Download Path Download Path '/' Upload Path Upload Path true Toggle to view file size in main window Toggle to view file size in main window false Toggle to view file type in main window Toggle to view file type in main window false Toggle to view track number in main window Toggle to view track number in main window false Toggle to view track title in main window Toggle to view track title in main window false Toggle to view track artist in main window Toggle to view track artist in main window false Toggle to view track album in main window Toggle to view track album in main window false Toggle to view track year in main window Toggle to view track year in main window false Toggle to view track genre in main window Toggle to view track genre in main window false Toggle to view track duration in main window Toggle to view track duration in main window false Toggle to view folder tree list in main window Toggle to view folder tree list in main window false Toggle to automatically add a new track to a playlist Toggle to automatically add a new track to a playlist false Ignore path in playlist file when importing a playlist Ignore path in playlist file when importing a playlist false Suppress Album related errors for some devices Suppress Album related errors for some devices false Use alternate access method for Android based devices. Use alternate access method for Android based devices. false Treat all media files as regular files. Treat all media files as regular files. true View toolbar. View toolbar. 'both' Toolbar style. Toolbar style - both/icon/text. false Retain Source timestamp Retain Source timestamp on file download gmtp-1.3.10/misc/libusb.pc0000644000175000001440000000035712655605137012236 00000000000000prefix=/usr/sfw exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir=${prefix}/include Name: libusb Description: libusb (Native Solaris 10 library) Requires: Version: 0.15 Libs: -L${libdir} -R${libdir} -lusb Cflags: -I${includedir} gmtp-1.3.10/misc/Makefile0000644000175000001440000004743712660313600012067 00000000000000# Makefile.in generated by automake 1.15 from Makefile.am. # misc/Makefile. Generated from Makefile.in by configure. # Copyright (C) 1994-2014 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. am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/gmtp pkgincludedir = $(includedir)/gmtp pkglibdir = $(libdir)/gmtp pkglibexecdir = $(libexecdir)/gmtp am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = x86_64-unknown-linux-gnu host_triplet = x86_64-unknown-linux-gnu subdir = misc ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/lib-ld.m4 \ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ $(top_srcdir)/m4/m4_ax_check_compile_flag.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \ $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = gmtp.desktop org.gnome.gmtp.gschema.xml CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_$(V)) am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY)) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_$(V)) am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_$(V)) am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(desktopdir)" "$(DESTDIR)$(schemasdir)" DATA = $(desktop_DATA) $(schemas_DATA) am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/gmtp.desktop.in \ $(srcdir)/org.gnome.gmtp.gschema.xml.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = ${SHELL} /home/darran/Projects/gmtp-code/config/missing aclocal-1.15 AMTAR = $${TAR-tar} AM_DEFAULT_VERBOSITY = 1 ARCH = host_cpu AUTOCONF = ${SHELL} /home/darran/Projects/gmtp-code/config/missing autoconf AUTOHEADER = ${SHELL} /home/darran/Projects/gmtp-code/config/missing autoheader AUTOMAKE = ${SHELL} /home/darran/Projects/gmtp-code/config/missing automake-1.15 AWK = gawk CC = gcc CCDEPMODE = depmode=gcc3 CFLAGS = -g3 -O0 -Wall -Wextra -Wpedantic CPP = gcc -E CPPFLAGS = CYGPATH_W = echo DEFS = -DHAVE_CONFIG_H DEPDIR = .deps ECHO_C = ECHO_N = -n ECHO_T = EGREP = /usr/bin/grep -E EXEEXT = FLAC_CFLAGS = FLAC_LIBS = -lFLAC GCONFTOOL = GCONF_CFLAGS = GCONF_LIBS = GCONF_SCHEMA_CONFIG_SOURCE = GCONF_SCHEMA_FILE_DIR = GIO_CFLAGS = -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include GIO_LIBS = -lgio-2.0 -lgobject-2.0 -lglib-2.0 GLIB_COMPILE_SCHEMAS = glib-compile-schemas GMSGFMT = /usr/bin/msgfmt GMSGFMT_015 = /usr/bin/msgfmt GREP = /usr/bin/grep GSETTINGS_DISABLE_SCHEMAS_COMPILE = GTHREAD_CFLAGS = -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include GTHREAD_LIBS = -lgthread-2.0 -pthread -lglib-2.0 GTK2_CFLAGS = GTK2_LIBS = GTK3_CFLAGS = -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include GTK3_LIBS = -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 ID3TAG_CFLAGS = ID3TAG_LIBS = -lid3tag -lz INSTALL = /usr/bin/install -c INSTALL_DATA = ${INSTALL} -m 644 INSTALL_PROGRAM = ${INSTALL} INSTALL_SCRIPT = ${INSTALL} INSTALL_STRIP_PROGRAM = $(install_sh) -c -s INTLLIBS = INTL_MACOSX_LIBS = LDFLAGS = LIBICONV = -liconv LIBINTL = LIBMTP_CFLAGS = -I/usr/include/libusb-1.0 LIBMTP_LIBS = -lmtp LIBOBJS = LIBS = LN_S = ln -s LTLIBICONV = -liconv LTLIBINTL = LTLIBOBJS = MAKEINFO = ${SHELL} /home/darran/Projects/gmtp-code/config/missing makeinfo MKDIR_P = /usr/bin/mkdir -p MSGFMT = /usr/bin/msgfmt MSGFMT_015 = /usr/bin/msgfmt MSGMERGE = /usr/bin/msgmerge OBJEXT = o PACKAGE = gmtp PACKAGE_BUGREPORT = chewy509@mailcity.com PACKAGE_NAME = gmtp PACKAGE_STRING = gmtp 1.3.10 PACKAGE_TARNAME = gmtp PACKAGE_URL = PACKAGE_VERSION = 1.3.10 PATH_SEPARATOR = : PKG_CONFIG = /usr/bin/pkg-config PKG_CONFIG_LIBDIR = PKG_CONFIG_PATH = POSUB = po SET_MAKE = SHELL = /bin/sh STRIP = USE_NLS = yes VERSION = 1.3.10 VORBISFILE_CFLAGS = VORBISFILE_LIBS = -lvorbisfile XGETTEXT = /usr/bin/xgettext XGETTEXT_015 = /usr/bin/xgettext abs_builddir = /home/darran/Projects/gmtp-code/misc abs_srcdir = /home/darran/Projects/gmtp-code/misc abs_top_builddir = /home/darran/Projects/gmtp-code abs_top_srcdir = /home/darran/Projects/gmtp-code ac_ct_CC = gcc am__include = include am__leading_dot = . am__quote = am__tar = $${TAR-tar} chof - "$$tardir" am__untar = $${TAR-tar} xf - bindir = ${exec_prefix}/bin build = x86_64-unknown-linux-gnu build_alias = build_cpu = x86_64 build_os = linux-gnu build_vendor = unknown builddir = . datadir = ${datarootdir} datarootdir = ${prefix}/share docdir = ${datarootdir}/doc/${PACKAGE_TARNAME} dvidir = ${docdir} exec_prefix = ${prefix} gsettingsschemadir = ${datarootdir}/glib-2.0/schemas host = x86_64-unknown-linux-gnu host_alias = host_cpu = x86_64 host_os = linux-gnu host_vendor = unknown htmldir = ${docdir} includedir = ${prefix}/include infodir = ${datarootdir}/info install_sh = ${SHELL} /home/darran/Projects/gmtp-code/config/install-sh libdir = ${exec_prefix}/lib libexecdir = ${exec_prefix}/libexec localedir = ${datarootdir}/locale localstatedir = ${prefix}/var mandir = ${datarootdir}/man mkdir_p = /usr/bin/mkdir -p oldincludedir = /usr/include pdfdir = ${docdir} prefix = /usr/local program_transform_name = s,x,x, psdir = ${docdir} sbindir = ${exec_prefix}/sbin sharedstatedir = ${prefix}/com srcdir = . sysconfdir = ${prefix}/etc target_alias = top_build_prefix = ../ top_builddir = .. top_srcdir = .. desktopdir = $(datadir)/applications desktop_in_files = gmtp.desktop desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) gsettings_SCHEMAS = org.gnome.gmtp.gschema.xml schemasdir = $(GCONF_SCHEMA_FILE_DIR) schemas_DATA = gmtp.schemas EXTRA_DIST = \ $(desktop_in_files) \ org.gnome.gmtp.gschema.xml.in CLEANFILES = \ $(desktop_DATA) \ $(gsettings_SCHEMAS) DISTCLEANFILES = \ $(desktop_DATA) \ $(gsettings_SCHEMAS) MAINTAINERCLEANFILES = $(gsettings_SCHEMAS:.xml=.valid) all: all-am .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign misc/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign misc/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): gmtp.desktop: $(top_builddir)/config.status $(srcdir)/gmtp.desktop.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ org.gnome.gmtp.gschema.xml: $(top_builddir)/config.status $(srcdir)/org.gnome.gmtp.gschema.xml.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ install-desktopDATA: $(desktop_DATA) @$(NORMAL_INSTALL) @list='$(desktop_DATA)'; test -n "$(desktopdir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(desktopdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(desktopdir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(desktopdir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(desktopdir)" || exit $$?; \ done uninstall-desktopDATA: @$(NORMAL_UNINSTALL) @list='$(desktop_DATA)'; test -n "$(desktopdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(desktopdir)'; $(am__uninstall_files_from_dir) install-schemasDATA: $(schemas_DATA) @$(NORMAL_INSTALL) @list='$(schemas_DATA)'; test -n "$(schemasdir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(schemasdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(schemasdir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(schemasdir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(schemasdir)" || exit $$?; \ done uninstall-schemasDATA: @$(NORMAL_UNINSTALL) @list='$(schemas_DATA)'; test -n "$(schemasdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(schemasdir)'; $(am__uninstall_files_from_dir) tags TAGS: ctags CTAGS: cscope cscopelist: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(DATA) installdirs: for dir in "$(DESTDIR)$(desktopdir)" "$(DESTDIR)$(schemasdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) -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." -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) clean: clean-am clean-am: clean-generic mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-desktopDATA install-schemasDATA install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-desktopDATA uninstall-schemasDATA .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic cscopelist-am \ ctags-am distclean distclean-generic distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-desktopDATA install-dvi install-dvi-am \ install-exec install-exec-am install-html install-html-am \ install-info install-info-am install-man install-pdf \ install-pdf-am install-ps install-ps-am install-schemasDATA \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic pdf pdf-am ps ps-am tags-am uninstall \ uninstall-am uninstall-desktopDATA uninstall-schemasDATA .PRECIOUS: Makefile .PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas mostlyclean-am: clean-gsettings-schemas gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE)) %.gschema.valid: %.gschema.xml $(gsettings__enum_file) $(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$< && mkdir -p $(@D) && touch $@ all-am: $(gsettings_SCHEMAS:.xml=.valid) uninstall-am: uninstall-gsettings-schemas install-data-am: install-gsettings-schemas .SECONDARY: $(gsettings_SCHEMAS) install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file) @$(NORMAL_INSTALL) if test -n "$^"; then \ test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \ $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \ test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \ fi uninstall-gsettings-schemas: @$(NORMAL_UNINSTALL) @list='$(gsettings_SCHEMAS) $(gsettings__enum_file)'; test -n "$(gsettingsschemadir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ test -n "$$files" || exit 0; \ echo " ( cd '$(DESTDIR)$(gsettingsschemadir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir) clean-gsettings-schemas: rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file) ifdef gsettings_ENUM_NAMESPACE $(gsettings__enum_file): $(gsettings_ENUM_FILES) $(AM_V_GEN) glib-mkenums --comments '' --fhead "" --vhead " <@type@ id='$(gsettings_ENUM_NAMESPACE).@EnumName@'>" --vprod " " --vtail " " --ftail "" $^ > $@.tmp && mv $@.tmp $@ endif register-gsettings-schemas: $(INSTALL) -m 644 org.gnome.gmtp.gschema.xml $(DESTDIR)$(PREFIX)/share/glib-2.0/schemas glib-compile-schemas $(DESTDIR)$(PREFIX)/share/glib-2.0/schemas register-gconf-schemas: GCONF_CONFIG_SOURCE=`$(GCONFTOOL) --get-default-source` $(GCONFTOOL) --makefile-install-rule $(DESTDIR)$(PREFIX)/share/gconf/schemas/gmtp.schemas install-local-data: GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) \ $(GCONFTOOL) --makefile-install-rule $(schemas_DATA) # 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: gmtp-1.3.10/misc/org.gnome.gmtp.gschema.xml.in0000644000175000001440000001347012655605137016030 00000000000000 false Auto Connect Device on Start Auto Connect Device on Start true Always Prompt for Download Path Always Prompt for Download Path true Prompt if file exists and about to overwrite Prompt if file exists and about to overwrite false Confirm File Delete Operations Confirm File Delete Operations '/' Download Path Download Path '/' Upload Path Upload Path true Toggle to view file size in main window Toggle to view file size in main window false Toggle to view file type in main window Toggle to view file type in main window false Toggle to view track number in main window Toggle to view track number in main window false Toggle to view track title in main window Toggle to view track title in main window false Toggle to view track artist in main window Toggle to view track artist in main window false Toggle to view track album in main window Toggle to view track album in main window false Toggle to view track year in main window Toggle to view track year in main window false Toggle to view track genre in main window Toggle to view track genre in main window false Toggle to view track duration in main window Toggle to view track duration in main window false Toggle to view folder tree list in main window Toggle to view folder tree list in main window false Toggle to automatically add a new track to a playlist Toggle to automatically add a new track to a playlist false Ignore path in playlist file when importing a playlist Ignore path in playlist file when importing a playlist false Suppress Album related errors for some devices Suppress Album related errors for some devices false Use alternate access method for Android based devices. Use alternate access method for Android based devices. false Treat all media files as regular files. Treat all media files as regular files. true View toolbar. View toolbar. 'both' Toolbar style. Toolbar style - both/icon/text. false Retain Source timestamp Retain Source timestamp on file download gmtp-1.3.10/misc/Makefile.am0000644000175000001440000000203212655605137012456 00000000000000desktopdir = $(datadir)/applications desktop_in_files = gmtp.desktop desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) gsettings_SCHEMAS = org.gnome.gmtp.gschema.xml @GSETTINGS_RULES@ schemasdir = $(GCONF_SCHEMA_FILE_DIR) schemas_DATA = gmtp.schemas EXTRA_DIST = \ $(desktop_in_files) \ org.gnome.gmtp.gschema.xml.in CLEANFILES = \ $(desktop_DATA) \ $(gsettings_SCHEMAS) DISTCLEANFILES = \ $(desktop_DATA) \ $(gsettings_SCHEMAS) MAINTAINERCLEANFILES = $(gsettings_SCHEMAS:.xml=.valid) register-gsettings-schemas: $(INSTALL) -m 644 org.gnome.gmtp.gschema.xml $(DESTDIR)$(PREFIX)/share/glib-2.0/schemas glib-compile-schemas $(DESTDIR)$(PREFIX)/share/glib-2.0/schemas register-gconf-schemas: GCONF_CONFIG_SOURCE=`$(GCONFTOOL) --get-default-source` $(GCONFTOOL) --makefile-install-rule $(DESTDIR)$(PREFIX)/share/gconf/schemas/gmtp.schemas if GCONF_SCHEMAS_INSTALL install-local-data: GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) \ $(GCONFTOOL) --makefile-install-rule $(schemas_DATA) endif gmtp-1.3.10/misc/gmtp.desktop.in.in0000644000175000001440000000067612655605137014012 00000000000000[Desktop Entry] Version=1.0 Name=gMTP Comment=A simple MTP Client for MP3 Players Comment[es]=Un sencillo cliente de plan de mediano plazo para los reproductores de MP3 Comment[fr]=Un simple MTP Client pour Lecteurs MP3 Comment[da]=En simpel MTP Client for MP3-afspillere Comment[de]=Eine einfache MTP-Client für MP3-Player Comment[it]=Un semplice client per MTP Lettori MP3 Exec=gmtp Icon=gmtpicon Type=Application Categories=AudioVideo;Audio; gmtp-1.3.10/misc/id3tag.pc0000644000175000001440000000032612655605137012125 00000000000000prefix=/usr/local exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir=${prefix}/include Name: id3tag Description: id3tag Library Requires: Version: 0.15.1 Libs: -L${libdir} -lid3tag Cflags: -I${includedir} gmtp-1.3.10/misc/Makefile.in0000644000175000001440000004226512655605165012504 00000000000000# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2014 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = misc ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/lib-ld.m4 \ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ $(top_srcdir)/m4/m4_ax_check_compile_flag.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \ $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = gmtp.desktop org.gnome.gmtp.gschema.xml CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(desktopdir)" "$(DESTDIR)$(schemasdir)" DATA = $(desktop_DATA) $(schemas_DATA) am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/gmtp.desktop.in \ $(srcdir)/org.gnome.gmtp.gschema.xml.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ ARCH = @ARCH@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FLAC_CFLAGS = @FLAC_CFLAGS@ FLAC_LIBS = @FLAC_LIBS@ GCONFTOOL = @GCONFTOOL@ GCONF_CFLAGS = @GCONF_CFLAGS@ GCONF_LIBS = @GCONF_LIBS@ GCONF_SCHEMA_CONFIG_SOURCE = @GCONF_SCHEMA_CONFIG_SOURCE@ GCONF_SCHEMA_FILE_DIR = @GCONF_SCHEMA_FILE_DIR@ GIO_CFLAGS = @GIO_CFLAGS@ GIO_LIBS = @GIO_LIBS@ GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@ GTHREAD_CFLAGS = @GTHREAD_CFLAGS@ GTHREAD_LIBS = @GTHREAD_LIBS@ GTK2_CFLAGS = @GTK2_CFLAGS@ GTK2_LIBS = @GTK2_LIBS@ GTK3_CFLAGS = @GTK3_CFLAGS@ GTK3_LIBS = @GTK3_LIBS@ ID3TAG_CFLAGS = @ID3TAG_CFLAGS@ ID3TAG_LIBS = @ID3TAG_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LDFLAGS = @LDFLAGS@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBMTP_CFLAGS = @LIBMTP_CFLAGS@ LIBMTP_LIBS = @LIBMTP_LIBS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LN_S = @LN_S@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POSUB = @POSUB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ VORBISFILE_CFLAGS = @VORBISFILE_CFLAGS@ VORBISFILE_LIBS = @VORBISFILE_LIBS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ gsettingsschemadir = @gsettingsschemadir@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ desktopdir = $(datadir)/applications desktop_in_files = gmtp.desktop desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) gsettings_SCHEMAS = org.gnome.gmtp.gschema.xml schemasdir = $(GCONF_SCHEMA_FILE_DIR) schemas_DATA = gmtp.schemas EXTRA_DIST = \ $(desktop_in_files) \ org.gnome.gmtp.gschema.xml.in CLEANFILES = \ $(desktop_DATA) \ $(gsettings_SCHEMAS) DISTCLEANFILES = \ $(desktop_DATA) \ $(gsettings_SCHEMAS) MAINTAINERCLEANFILES = $(gsettings_SCHEMAS:.xml=.valid) all: all-am .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign misc/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign misc/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): gmtp.desktop: $(top_builddir)/config.status $(srcdir)/gmtp.desktop.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ org.gnome.gmtp.gschema.xml: $(top_builddir)/config.status $(srcdir)/org.gnome.gmtp.gschema.xml.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ install-desktopDATA: $(desktop_DATA) @$(NORMAL_INSTALL) @list='$(desktop_DATA)'; test -n "$(desktopdir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(desktopdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(desktopdir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(desktopdir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(desktopdir)" || exit $$?; \ done uninstall-desktopDATA: @$(NORMAL_UNINSTALL) @list='$(desktop_DATA)'; test -n "$(desktopdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(desktopdir)'; $(am__uninstall_files_from_dir) install-schemasDATA: $(schemas_DATA) @$(NORMAL_INSTALL) @list='$(schemas_DATA)'; test -n "$(schemasdir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(schemasdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(schemasdir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(schemasdir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(schemasdir)" || exit $$?; \ done uninstall-schemasDATA: @$(NORMAL_UNINSTALL) @list='$(schemas_DATA)'; test -n "$(schemasdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(schemasdir)'; $(am__uninstall_files_from_dir) tags TAGS: ctags CTAGS: cscope cscopelist: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(DATA) installdirs: for dir in "$(DESTDIR)$(desktopdir)" "$(DESTDIR)$(schemasdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) -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." -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) clean: clean-am clean-am: clean-generic mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-desktopDATA install-schemasDATA install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-desktopDATA uninstall-schemasDATA .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic cscopelist-am \ ctags-am distclean distclean-generic distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-desktopDATA install-dvi install-dvi-am \ install-exec install-exec-am install-html install-html-am \ install-info install-info-am install-man install-pdf \ install-pdf-am install-ps install-ps-am install-schemasDATA \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic pdf pdf-am ps ps-am tags-am uninstall \ uninstall-am uninstall-desktopDATA uninstall-schemasDATA .PRECIOUS: Makefile @GSETTINGS_RULES@ register-gsettings-schemas: $(INSTALL) -m 644 org.gnome.gmtp.gschema.xml $(DESTDIR)$(PREFIX)/share/glib-2.0/schemas glib-compile-schemas $(DESTDIR)$(PREFIX)/share/glib-2.0/schemas register-gconf-schemas: GCONF_CONFIG_SOURCE=`$(GCONFTOOL) --get-default-source` $(GCONFTOOL) --makefile-install-rule $(DESTDIR)$(PREFIX)/share/gconf/schemas/gmtp.schemas @GCONF_SCHEMAS_INSTALL_TRUE@install-local-data: @GCONF_SCHEMAS_INSTALL_TRUE@ GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) \ @GCONF_SCHEMAS_INSTALL_TRUE@ $(GCONFTOOL) --makefile-install-rule $(schemas_DATA) # 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: gmtp-1.3.10/misc/gmtp.schemas0000644000175000001440000002142412655605137012744 00000000000000 /schemas/apps/gMTP/autoconnectdevice /apps/gMTP/autoconnectdevice gMTP bool false Auto Connect Device on Start Auto Connect Device on Start /schemas/apps/gMTP/promptDownloadPath /apps/gMTP/promptDownloadPath gMTP bool true Always Prompt for Download Path Always Prompt for Download Path /schemas/apps/gMTP/promptOverwriteFile /apps/gMTP/promptOverwriteFile gMTP bool true Prompt if file exists and about to overwrite Prompt if file exists and about to overwrite /schemas/apps/gMTP/confirmFileDelete /apps/gMTP/confirmFileDelete gMTP bool false Confirm File Delete Operations Confirm File Delete Operations /schemas/apps/gMTP/DownloadPath /apps/gMTP/DownloadPath gMTP string / Download Path Download Path /schemas/apps/gMTP/UploadPath /apps/gMTP/UploadPath gMTP string / Upload Path Upload Path /schemas/apps/gMTP/viewFileSize /apps/gMTP/viewFileSize gMTP bool true Toggle to view file size in main window Toggle to view file size in main window /schemas/apps/gMTP/viewFileType /apps/gMTP/viewFileType gMTP bool false Toggle to view file type in main window Toggle to view file type in main window /schemas/apps/gMTP/viewTrackNumber /apps/gMTP/viewTrackNumber gMTP bool false Toggle to view track number in main window Toggle to view track number in main window /schemas/apps/gMTP/viewTitle /apps/gMTP/viewTitle gMTP bool false Toggle to view track title in main window Toggle to view track title in main window /schemas/apps/gMTP/viewArtist /apps/gMTP/viewArtist gMTP bool false Toggle to view track artist in main window Toggle to view track artist in main window /schemas/apps/gMTP/viewAlbum /apps/gMTP/viewAlbum gMTP bool false Toggle to view track album in main window Toggle to view track album in main window /schemas/apps/gMTP/viewYear /apps/gMTP/viewYear gMTP bool false Toggle to view track year in main window Toggle to view track year in main window /schemas/apps/gMTP/viewGenre /apps/gMTP/viewGenre gMTP bool false Toggle to view track genre in main window Toggle to view track genre in main window /schemas/apps/gMTP/viewDuration /apps/gMTP/viewDuration gMTP bool false Toggle to view track duration in main window Toggle to view track duration in main window /schemas/apps/gMTP/viewFolders /apps/gMTP/viewFolders gMTP bool false Toggle to view folder tree list in main window Toggle to view folder tree list in main window /schemas/apps/gMTP/autoAddTrackPlaylist /apps/gMTP/autoAddTrackPlaylist gMTP bool false Toggle to automatically add a new track to a playlist Toggle to automatically add a new track to a playlist /schemas/apps/gMTP/ignorepathinplaylist /apps/gMTP/ignorepathinplaylist gMTP bool false Ignore path in playlist file when importing a playlist Ignore path in playlist file when importing a playlist /schemas/apps/gMTP/suppressalbumerrors /apps/gMTP/suppressalbumerrors gMTP bool false Suppress Album related errors for some devices Suppress Album related errors for some devices /schemas/apps/gMTP/alternateaccessmethod /apps/gMTP/alternateaccessmethod gMTP bool false Use alternate access method for Android based devices. Use alternate access method for Android based devices. /schemas/apps/gMTP/allmediaasfiles /apps/gMTP/allmediaasfiles gMTP bool false Treat all media files as regular files. Treat all media files as regular files. /schemas/apps/gMTP/viewtoolbar /apps/gMTP/viewtoolbar gMTP bool true View toolbar. Enable toolbar. /schemas/apps/gMTP/toolbarstyle /apps/gMTP/toolbarstyle gMTP string both Toolbar style. Toolbar style - both/icon/text. /schemas/apps/gMTP/retaintimestamp /apps/gMTP/retaintimestamp gMTP bool false Retain Source timestamp Retain Source timestamp on file download gmtp-1.3.10/misc/gmtp.desktop.in0000644000175000001440000000067612655605137013405 00000000000000[Desktop Entry] Version=1.0 Name=gMTP Comment=A simple MTP Client for MP3 Players Comment[es]=Un sencillo cliente de plan de mediano plazo para los reproductores de MP3 Comment[fr]=Un simple MTP Client pour Lecteurs MP3 Comment[da]=En simpel MTP Client for MP3-afspillere Comment[de]=Eine einfache MTP-Client für MP3-Player Comment[it]=Un semplice client per MTP Lettori MP3 Exec=gmtp Icon=gmtpicon Type=Application Categories=AudioVideo;Audio; gmtp-1.3.10/misc/gmtp.desktop0000644000175000001440000000067612660313607012772 00000000000000[Desktop Entry] Version=1.0 Name=gMTP Comment=A simple MTP Client for MP3 Players Comment[es]=Un sencillo cliente de plan de mediano plazo para los reproductores de MP3 Comment[fr]=Un simple MTP Client pour Lecteurs MP3 Comment[da]=En simpel MTP Client for MP3-afspillere Comment[de]=Eine einfache MTP-Client für MP3-Player Comment[it]=Un semplice client per MTP Lettori MP3 Exec=gmtp Icon=gmtpicon Type=Application Categories=AudioVideo;Audio; gmtp-1.3.10/misc/org.gnome.gmtp.gschema.valid0000644000175000001440000000000012660313607015675 00000000000000gmtp-1.3.10/Makefile.in0000644000175000001440000006415412655605165011552 00000000000000# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2014 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/lib-ld.m4 \ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ $(top_srcdir)/m4/m4_ax_check_compile_flag.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \ $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \ $(am__configure_deps) $(am__DIST_COMMON) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ configure.lineno config.status.lineno mkinstalldirs = $(install_sh) -d CONFIG_HEADER = config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ ctags-recursive dvi-recursive html-recursive info-recursive \ install-data-recursive install-dvi-recursive \ install-exec-recursive install-html-recursive \ install-info-recursive install-pdf-recursive \ install-ps-recursive install-recursive installcheck-recursive \ installdirs-recursive pdf-recursive ps-recursive \ tags-recursive uninstall-recursive am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive am__recursive_targets = \ $(RECURSIVE_TARGETS) \ $(RECURSIVE_CLEAN_TARGETS) \ $(am__extra_recursive_targets) AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ cscope distdir dist dist-all distcheck am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \ $(LISP)config.h.in # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags CSCOPE = cscope DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \ $(top_srcdir)/config/compile $(top_srcdir)/config/config.guess \ $(top_srcdir)/config/config.rpath \ $(top_srcdir)/config/config.sub \ $(top_srcdir)/config/install-sh $(top_srcdir)/config/missing \ ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README \ config/compile config/config.guess config/config.rpath \ config/config.sub config/depcomp config/install-sh \ config/missing DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) am__remove_distdir = \ if test -d "$(distdir)"; then \ find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ && rm -rf "$(distdir)" \ || { sleep 5 && rm -rf "$(distdir)"; }; \ else :; fi am__post_remove_distdir = $(am__remove_distdir) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" DIST_ARCHIVES = $(distdir).tar.gz GZIP_ENV = --best DIST_TARGETS = dist-gzip distuninstallcheck_listfiles = find . -type f -print am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' distcleancheck_listfiles = find . -type f -print ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ ARCH = @ARCH@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FLAC_CFLAGS = @FLAC_CFLAGS@ FLAC_LIBS = @FLAC_LIBS@ GCONFTOOL = @GCONFTOOL@ GCONF_CFLAGS = @GCONF_CFLAGS@ GCONF_LIBS = @GCONF_LIBS@ GCONF_SCHEMA_CONFIG_SOURCE = @GCONF_SCHEMA_CONFIG_SOURCE@ GCONF_SCHEMA_FILE_DIR = @GCONF_SCHEMA_FILE_DIR@ GIO_CFLAGS = @GIO_CFLAGS@ GIO_LIBS = @GIO_LIBS@ GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@ GTHREAD_CFLAGS = @GTHREAD_CFLAGS@ GTHREAD_LIBS = @GTHREAD_LIBS@ GTK2_CFLAGS = @GTK2_CFLAGS@ GTK2_LIBS = @GTK2_LIBS@ GTK3_CFLAGS = @GTK3_CFLAGS@ GTK3_LIBS = @GTK3_LIBS@ ID3TAG_CFLAGS = @ID3TAG_CFLAGS@ ID3TAG_LIBS = @ID3TAG_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LDFLAGS = @LDFLAGS@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBMTP_CFLAGS = @LIBMTP_CFLAGS@ LIBMTP_LIBS = @LIBMTP_LIBS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LN_S = @LN_S@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POSUB = @POSUB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ VORBISFILE_CFLAGS = @VORBISFILE_CFLAGS@ VORBISFILE_LIBS = @VORBISFILE_LIBS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ gsettingsschemadir = @gsettingsschemadir@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ AUTOMAKE_OPTIONS = subdir-objects ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} EXTRA_DIST = autogen.sh po images misc pkginfo prototype postinstall SUBDIRS = src po images misc all: config.h $(MAKE) $(AM_MAKEFLAGS) all-recursive .SUFFIXES: am--refresh: Makefile @: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \ $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ echo ' $(SHELL) ./config.status'; \ $(SHELL) ./config.status;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(top_srcdir)/configure: $(am__configure_deps) $(am__cd) $(srcdir) && $(AUTOCONF) $(ACLOCAL_M4): $(am__aclocal_m4_deps) $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) $(am__aclocal_m4_deps): config.h: stamp-h1 @test -f $@ || rm -f stamp-h1 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status @rm -f stamp-h1 cd $(top_builddir) && $(SHELL) ./config.status config.h $(srcdir)/config.h.in: $(am__configure_deps) ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) rm -f stamp-h1 touch $@ distclean-hdr: -rm -f config.h stamp-h1 # This directory's subdirectories are mostly independent; you can cd # into them and run 'make' without going through this Makefile. # To change the values of 'make' variables: instead of editing Makefiles, # (1) if the variable is set in 'config.status', edit 'config.status' # (which will cause the Makefiles to be regenerated when you run 'make'); # (2) otherwise, pass the desired values on the 'make' command line. $(am__recursive_targets): @fail=; \ if $(am__make_keepgoing); then \ failcom='fail=yes'; \ else \ failcom='exit 1'; \ fi; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-recursive TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-recursive CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscope: cscope.files test ! -s cscope.files \ || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) clean-cscope: -rm -f cscope.files cscope.files: clean-cscope cscopelist cscopelist: cscopelist-recursive cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags -rm -f cscope.out cscope.in.out cscope.po.out cscope.files distdir: $(DISTFILES) $(am__remove_distdir) test -d "$(distdir)" || mkdir "$(distdir)" @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ $(am__make_dryrun) \ || test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done -test -n "$(am__skip_mode_fix)" \ || find "$(distdir)" -type d ! -perm -755 \ -exec chmod u+rwx,go+rx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ || chmod -R a+r "$(distdir)" dist-gzip: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__post_remove_distdir) dist-bzip2: distdir tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 $(am__post_remove_distdir) dist-lzip: distdir tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz $(am__post_remove_distdir) dist-xz: distdir tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz $(am__post_remove_distdir) dist-tarZ: distdir @echo WARNING: "Support for distribution archives compressed with" \ "legacy program 'compress' is deprecated." >&2 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z $(am__post_remove_distdir) dist-shar: distdir @echo WARNING: "Support for shar distribution archives is" \ "deprecated." >&2 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz $(am__post_remove_distdir) dist-zip: distdir -rm -f $(distdir).zip zip -rq $(distdir).zip $(distdir) $(am__post_remove_distdir) dist dist-all: $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:' $(am__post_remove_distdir) # This target untars the dist file and tries a VPATH configuration. Then # it guarantees that the distribution is self-contained by making another # tarfile. distcheck: dist case '$(DIST_ARCHIVES)' in \ *.tar.gz*) \ GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ *.tar.bz2*) \ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ *.tar.lz*) \ lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ *.tar.xz*) \ xz -dc $(distdir).tar.xz | $(am__untar) ;;\ *.tar.Z*) \ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ *.shar.gz*) \ GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ esac chmod -R a-w $(distdir) chmod u+w $(distdir) mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst chmod a-w $(distdir) test -d $(distdir)/_build || exit 0; \ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ && am__cwd=`pwd` \ && $(am__cd) $(distdir)/_build/sub \ && ../../configure \ $(AM_DISTCHECK_CONFIGURE_FLAGS) \ $(DISTCHECK_CONFIGURE_FLAGS) \ --srcdir=../.. --prefix="$$dc_install_base" \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(MAKE) $(AM_MAKEFLAGS) check \ && $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ && $(MAKE) $(AM_MAKEFLAGS) uninstall \ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ distuninstallcheck \ && chmod -R a-w "$$dc_install_base" \ && ({ \ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ } || { rm -rf "$$dc_destdir"; exit 1; }) \ && rm -rf "$$dc_destdir" \ && $(MAKE) $(AM_MAKEFLAGS) dist \ && rm -rf $(DIST_ARCHIVES) \ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ && cd "$$am__cwd" \ || exit 1 $(am__post_remove_distdir) @(echo "$(distdir) archives ready for distribution: "; \ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' distuninstallcheck: @test -n '$(distuninstallcheck_dir)' || { \ echo 'ERROR: trying to run $@ with an empty' \ '$$(distuninstallcheck_dir)' >&2; \ exit 1; \ }; \ $(am__cd) '$(distuninstallcheck_dir)' || { \ echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ exit 1; \ }; \ test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left after uninstall:" ; \ if test -n "$(DESTDIR)"; then \ echo " (check DESTDIR support)"; \ fi ; \ $(distuninstallcheck_listfiles) ; \ exit 1; } >&2 distcleancheck: distclean @if test '$(srcdir)' = . ; then \ echo "ERROR: distcleancheck can only run from a VPATH build" ; \ exit 1 ; \ fi @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left in build directory after distclean:" ; \ $(distcleancheck_listfiles) ; \ exit 1; } >&2 check-am: all-am check: check-recursive all-am: Makefile config.h installdirs: installdirs-recursive installdirs-am: install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic mostlyclean-am distclean: distclean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -f Makefile distclean-am: clean-am distclean-generic distclean-hdr distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf $(top_srcdir)/autom4te.cache -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: .MAKE: $(am__recursive_targets) all install-am install-strip .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ am--refresh check check-am clean clean-cscope clean-generic \ cscope cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \ dist-gzip dist-lzip dist-shar dist-tarZ dist-xz dist-zip \ distcheck distclean distclean-generic distclean-hdr \ distclean-tags distcleancheck distdir distuninstallcheck dvi \ dvi-am html html-am info info-am install install-am \ install-data install-data-am install-dvi install-dvi-am \ install-exec install-exec-am install-html install-html-am \ install-info install-info-am install-man install-pdf \ install-pdf-am install-ps install-ps-am install-strip \ installcheck installcheck-am installdirs installdirs-am \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \ uninstall-am .PRECIOUS: Makefile sysv-pkg: all pkgmk -o -d /tmp -a @host_cpu@ touch @PACKAGE@-@PACKAGE_VERSION@-@host_cpu@.pkg pkgtrans -s /tmp @PACKAGE@-@PACKAGE_VERSION@-@host_cpu@.pkg @PACKAGE@ rm -r /tmp/@PACKAGE@ gzip @PACKAGE@-@PACKAGE_VERSION@-@host_cpu@.pkg # 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: gmtp-1.3.10/configure.ac0000644000175000001440000000610112655605137011756 00000000000000# -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_PREREQ([2.59]) AC_INIT([gmtp], [1.3.10], [chewy509@mailcity.com]) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_SRCDIR([src/main.c]) AC_CONFIG_AUX_DIR([config]) AC_CANONICAL_HOST AC_SUBST(ARCH,[host_cpu]) AM_INIT_AUTOMAKE([1.10 no-define foreign]) # Checks for programs. AC_PROG_CC([gcc cc]) AC_PROG_CC_C99 AC_PROG_INSTALL AC_PROG_LN_S AM_GNU_GETTEXT_VERSION([0.16.1]) AM_GNU_GETTEXT([external]) # Checks for header files. AC_CHECK_HEADERS([libintl.h locale.h stdlib.h string.h strings.h unistd.h libgen.h sys/types.h sys/stat.h]) # Stick in "-Werror" if you want to be more aggressive. # (No need to use AC_SUBST on this default substituted environment variable.) # Only add these additional CFLAGS if we are using GCC. Other C compilers may # not support them. if test x"$GCC" == "xyes" ; then AX_CHECK_COMPILE_FLAG([ -Wall -Wextra -Wpedantic ], [CFLAGS="$CFLAGS -Wall -Wextra -Wpedantic "]) fi # Checks for typedefs, structures, and compiler characteristics. #AC_CHECK_HEADER_STDBOOL AC_TYPE_INT32_T AC_TYPE_INT64_T AC_TYPE_UINT16_T AC_TYPE_UINT32_T AC_TYPE_UINT64_T AC_TYPE_UINT8_T # Checks for library functions. AC_CHECK_FUNCS([mkdir strchr]) # Some common needed definitions. AC_DEFINE([GMTP_GSETTINGS_SCHEMA], ["org.gnome.gmtp"], [GCONF Schema]) AC_DEFINE([_STDC_C99], [], [Ensure libraries are C99]) AC_DEFINE([_POSIX_C_SOURCE], [200112L], [Set POSIX Level]) AC_DEFINE([_XOPEN_SOURCE], [600], [Set XOPEN Source Level]) #AC_ARG_ENABLE([nls], AS_HELP_STRING([--disable-nls], [Disable NLS]), AC_DEFINE([ENABLE_NLS], [1] , AC_DEFINE([ENABLE_NLS], [0]) # Checks for libraries. AC_ARG_WITH([gtk3], AS_HELP_STRING([--with-gtk3], [Build using GTK+ 3.0 (default)]), [], [with_gtk3=yes]) AC_ARG_WITH([gtk2], AS_HELP_STRING([--with-gtk2], [Build using GTK+ 2.0]), [], [with_gtk2=no]) AS_IF([test "x$with_gtk2" = "xno"] ,[ AS_IF([test "x$with_gtk3" = "xyes"], [ PKG_CHECK_MODULES([GTK3], [gtk+-3.0 >= 3.0.0], [AC_DEFINE([HAVE_GTK3], [1], [Define if using GTK+3]) PKG_CHECK_MODULES([GIO], [gio-2.0]) GLIB_GSETTINGS GCONF_SCHEMAS_INSTALL_FALSE='#' GCONF_SCHEMAS_INSTALL_TRUE= ], [AC_DEFINE([HAVE_GTK3], [0], [Define if using GTK+3]) # GTK3 not found, try GTK2 PKG_CHECK_MODULES([GTK2], [gtk+-2.0 >= 2.4.9]) PKG_CHECK_MODULES([GCONF], [gconf-2.0]) AM_GCONF_SOURCE_2 AC_PATH_PROG(GCONFTOOL, gconftool-2) ]) ]) ]) AS_IF([test "x$with_gtk2" = "xyes"], [ AC_DEFINE([HAVE_GTK3], [0], [Define if using GTK+3]) PKG_CHECK_MODULES([GTK2], [gtk+-2.0 >= 2.4.9]) PKG_CHECK_MODULES([GCONF], [gconf-2.0]) AM_GCONF_SOURCE_2 AC_PATH_PROG(GCONFTOOL, gconftool-2) ]) # Common libraries PKG_CHECK_MODULES([GTHREAD], [gthread-2.0]) PKG_CHECK_MODULES([LIBMTP], [libmtp >= 1.1.6]) PKG_CHECK_MODULES([FLAC], [flac]) PKG_CHECK_MODULES([ID3TAG], [id3tag]) PKG_CHECK_MODULES([VORBISFILE], [vorbisfile]) AC_CONFIG_FILES([ Makefile src/Makefile images/Makefile po/Makefile.in misc/gmtp.desktop misc/org.gnome.gmtp.gschema.xml misc/Makefile]) AC_OUTPUT gmtp-1.3.10/autogen.sh0000755000175000001440000000063612655605137011500 00000000000000#!/bin/sh # Run this to generate all the initial makefiles, etc. test -n "$srcdir" || srcdir=`dirname "$0"` test -n "$srcdir" || srcdir=. olddir=`pwd` cd $srcdir AUTORECONF=`which autoreconf` if test -z $AUTORECONF; then echo "*** No autoreconf found, please intall it ***" exit 1 fi autoreconf --force --install --verbose cd $olddir chmod +x configure test -n "$NOCONFIGURE" || "$srcdir/configure" "$@" gmtp-1.3.10/NEWS0000644000175000001440000000000012655605137010157 00000000000000gmtp-1.3.10/po/0000775000175000001440000000000012660313600010155 500000000000000gmtp-1.3.10/po/es.po0000644000175000001440000007747512660314456011100 00000000000000# gmtp Language POT file. # Copyright (C) 2103 Darran Kartaschew # This file is distributed under the same license as the gmtp package. # Darran Kartaschew, 2013, chewy509@mailcity.com. # msgid "" msgstr "" "Project-Id-Version: gmtp 1.3.6\n" "Report-Msgid-Bugs-To: chewy509@mailcity.com\n" "POT-Creation-Date: 2016-02-15 19:23+1000\n" "PO-Revision-Date: 2014-01-17 12:47+1000\n" "Last-Translator: \n" "Language-Team: chewy509@mailcity.com\n" "Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Poedit 1.6.3\n" #: src/about.c:46 src/about.c:123 msgid "" "A simple MTP Client for Solaris 10\n" "and other UNIX / UNIX-like systems\n" msgstr "" "Un sencillo reproductor de mp3 de cliente para\n" "Solaris 10 y otros sistemas UNIX / similar a UNIX\n" #: src/about.c:77 msgid "translator-credits" msgstr "Google" #: src/about.c:88 msgid "About gMTP" msgstr "Acerca de gMTP" #: src/about.c:90 src/albumart.c:47 src/preferences.c:431 src/properties.c:159 msgid "_Close" msgstr "_Cerrar" #: src/about.c:135 #, fuzzy msgid "" "Copyright 2009-2016, Darran Kartaschew\n" "Released under the BSD License" msgstr "" "Copyright 2009-2014, Darran Kartaschew\n" "Distribuido bajo la BSD Licence" #: src/albumart.c:45 src/interface.c:331 src/interface.c:531 msgid "Album Art" msgstr "Album Art" #: src/albumart.c:77 msgid "Album:" msgstr "Álbum:" #: src/albumart.c:110 msgid "" "No Albums available to set Album Art with. Either:\n" "1. You have no music files uploaded?\n" "2. Your device does not support Albums?\n" "3. Previous applications used to upload files do not autocreate albums for " "you or support the metadata for those files in order to create the albums " "for you?\n" msgstr "" "No hay álbumes disponibles para crear carátulas con. O bien:\n" "1. Usted no tiene archivos de música subido?\n" "2. Su dispositivo no es compatible con Picasa?\n" "3. Solicitudes anteriores para subir archivos no autocreate álbumes para " "usted o apoyar a los metadatos de los archivos a fin de crear los discos " "para usted?\n" #: src/albumart.c:163 msgid "Upload" msgstr "Subir" #: src/albumart.c:167 msgid "Remove" msgstr "Eliminar" #: src/albumart.c:172 src/interface.c:511 msgid "Download" msgstr "Descargar" #: src/albumart.c:293 msgid "Select Album Art File" msgstr "Album Art Seleccione Archivo" #: src/albumart.c:295 src/albumart.c:406 src/callbacks.c:362 #: src/interface.c:1380 src/interface.c:1928 src/interface.c:1961 #: src/interface.c:2401 src/interface.c:2456 src/interface.c:2514 #: src/interface.c:3014 src/interface.c:3198 src/playlist.c:882 #: src/playlist.c:1255 src/playlist.c:1337 src/preferences.c:701 #: src/preferences.c:731 src/progress.c:108 msgid "_Cancel" msgstr "_Cancelar" #: src/albumart.c:296 src/callbacks.c:363 src/interface.c:1381 #: src/interface.c:1929 src/interface.c:1962 src/playlist.c:1256 #: src/playlist.c:1338 src/preferences.c:702 src/preferences.c:732 msgid "_Open" msgstr "_Abrir" # ########################################## #: src/albumart.c:404 msgid "Save Album Art File" msgstr "Guardar archivo de Album Art" #: src/albumart.c:407 msgid "_Save" msgstr "_Guardar" #: src/albumart.c:426 #, c-format msgid "Couldn't save image file %s\n" msgstr "No se pudo guardar el archivo de imagen %s\n" #: src/albumart.c:427 msgid "Couldn't save image file\n" msgstr "No se pudo guardar el archivo de imagen\n" #: src/callbacks.c:87 src/dnd.c:63 src/dnd.c:136 msgid "File Upload" msgstr "Carga de archivos" #: src/callbacks.c:125 src/callbacks.c:178 src/callbacks.c:211 #: src/callbacks.c:251 src/callbacks.c:496 src/callbacks.c:540 #: src/callbacks.c:610 src/callbacks.c:643 src/playlist.c:487 #: src/playlist.c:506 msgid "No files/folders selected?" msgstr "No hay archivos / carpetas seleccionadas?" #: src/callbacks.c:144 msgid "Unable to rename parent folder\n" msgstr "No se puede mover la carpeta seleccionada?\n" #: src/callbacks.c:145 msgid "Unable to rename this folder" msgstr "No se puede mover la carpeta seleccionada?" #: src/callbacks.c:169 msgid "" "The move function is disabled when using the alternate access method for " "your device." msgstr "" "La función de desplazamiento se desactiva cuando se utiliza el método de " "acceso alternativo para el dispositivo." #: src/callbacks.c:225 msgid "Are you sure you want to delete these files?" msgstr "¿Está seguro que desea eliminar estos archivos?" #: src/callbacks.c:226 src/callbacks.c:515 src/callbacks.c:658 msgid "Confirm Delete" msgstr "Confirmar eliminación" #: src/callbacks.c:247 src/callbacks.c:257 src/callbacks.c:356 #: src/callbacks.c:372 src/callbacks.c:379 src/interface.c:1972 #: src/interface.c:1980 msgid "File download" msgstr "Descarga de archivos" #: src/callbacks.c:277 msgid "Disconnect" msgstr "Desconectar" #: src/callbacks.c:281 src/callbacks.c:290 src/callbacks.c:817 #: src/callbacks.c:825 src/mtp.c:451 src/mtp.c:459 src/properties.c:261 #: src/properties.c:270 #, c-format msgid "Connected to %s - %d MB free" msgstr "Conectado a %s - %d MB de espacio libre" #: src/callbacks.c:285 src/callbacks.c:821 src/mtp.c:455 src/properties.c:265 #, c-format msgid "Connected to %s (%s) - %d MB free" msgstr "Conectado a %s (%s) - %d MB de espacio libre" #: src/callbacks.c:300 msgid "Disconnect Device" msgstr "Desconecte el dispositivo" #: src/callbacks.c:309 src/interface.c:463 msgid "Connect" msgstr "Conectar" #: src/callbacks.c:312 src/main.c:109 msgid "No device attached" msgstr "No hay ningún dispositivo conectado" #: src/callbacks.c:316 msgid "Connect Device" msgstr "Conecte el dispositivo" #: src/callbacks.c:360 src/interface.c:1926 src/interface.c:1959 msgid "Select Path to Download" msgstr "Seleccionar ruta para descargar" #: src/callbacks.c:514 src/callbacks.c:657 msgid "Are you sure you want to delete this folder (and all contents)?" msgstr "¿Está seguro que quiere borrar esta carpeta (y todo su contenido)?" #: src/callbacks.c:561 src/callbacks.c:562 src/interface.c:2088 #: src/interface.c:2089 msgid "Unable to move the selected folder into itself?\n" msgstr "No se puede mover la carpeta seleccionada en sí mismo?\n" #: src/callbacks.c:580 src/interface.c:2106 msgid "Unable to move the selected folder?\n" msgstr "No se puede mover la carpeta seleccionada?\n" #: src/callbacks.c:586 src/callbacks.c:587 src/interface.c:2112 #: src/interface.c:2113 msgid "Unable to move the selected folder underneath itself?\n" msgstr "No se puede mover la carpeta seleccionada por debajo de sí mismo?\n" #: src/callbacks.c:685 src/mtp.c:258 src/mtp.c:276 src/mtp.c:285 src/mtp.c:294 #: src/mtp.c:303 msgid "N/A" msgstr "N/A" #: src/callbacks.c:758 msgid "Please enter search item." msgstr "Por favor, introduzca el punto de búsqueda." #: src/callbacks.c:759 msgid "Search" msgstr "búsqueda" #: src/callbacks.c:857 msgid "Searching..." msgstr "búsqueda..." #: src/formatdevice.c:56 msgid "Formatting..." msgstr "" #: src/formatdevice.c:87 msgid "Are you sure you want to format this device?" msgstr "¿Está seguro que desea formatear el dispositivo?" #: src/formatdevice.c:88 src/interface.c:323 msgid "Format Device" msgstr "Formato de dispositivos" #: src/interface.c:225 msgid "_File" msgstr "A_rchivo" #: src/interface.c:232 msgid "_Connect Device" msgstr "Conecte el dispositivo" #: src/interface.c:240 src/interface.c:2759 msgid "Add Files" msgstr "Agregar archivos" #: src/interface.c:244 src/interface.c:2763 msgid "Delete Files" msgstr "Eliminar archivos" #: src/interface.c:248 msgid "Rename Files" msgstr "Cambiar el nombre del archivo" #: src/interface.c:252 src/interface.c:2775 src/interface.c:2962 #: src/interface.c:3195 msgid "Move To..." msgstr "Mover a..." #: src/interface.c:256 src/interface.c:2767 msgid "Download Files" msgstr "Descargar archivos" #: src/interface.c:264 src/interface.c:2795 src/interface.c:2950 msgid "Create Folder" msgstr "Crear carpeta" #: src/interface.c:268 src/interface.c:2799 src/interface.c:2958 msgid "Delete Folder" msgstr "Eliminar carpeta" #: src/interface.c:276 msgid "Refresh Folder" msgstr "Cambiar el nombre de la carpeta" #: src/interface.c:282 msgid "Device Properties" msgstr "Propiedades del dispositivo" #: src/interface.c:292 msgid "_Quit" msgstr "_Salir" #: src/interface.c:296 msgid "_Edit" msgstr "_Editar" #: src/interface.c:303 msgid "Select All" msgstr "Seleccionar todo" # ########################################################## #: src/interface.c:311 msgid "Find" msgstr "Buscar" #: src/interface.c:319 src/interface.c:2453 msgid "Change Device Name" msgstr "Cambio de nombre de dispositivo" #: src/interface.c:335 msgid "Edit Playlist(s)" msgstr "Editar lista de reproducción(s)" #: src/interface.c:343 msgid "_Preferences" msgstr "_Preferencias" #: src/interface.c:347 msgid "_View" msgstr "_Ver" #: src/interface.c:355 msgid "Toolbar" msgstr "" # ########################################################## #: src/interface.c:363 msgid "Folders" msgstr "Carpetas" #: src/interface.c:371 src/interface.c:2862 msgid "File Size" msgstr "Tamaño del archivo" #: src/interface.c:375 src/interface.c:1138 src/interface.c:1147 #: src/interface.c:2866 msgid "File Type" msgstr "Tipo de Archivo" #: src/interface.c:379 src/interface.c:2870 msgid "Track Number" msgstr "Número de pista" #: src/interface.c:383 src/interface.c:1183 src/interface.c:1192 #: src/interface.c:2874 msgid "Track Name" msgstr "Nombre de pista" #: src/interface.c:387 src/interface.c:1202 src/interface.c:1211 #: src/interface.c:2878 src/playlist.c:654 src/playlist.c:718 msgid "Artist" msgstr "Artista" #: src/interface.c:391 src/interface.c:1221 src/interface.c:1230 #: src/interface.c:2882 src/playlist.c:664 src/playlist.c:728 msgid "Album" msgstr "Álbum" #: src/interface.c:395 src/interface.c:1240 src/interface.c:1249 #: src/interface.c:2886 msgid "Year" msgstr "Año" #: src/interface.c:399 src/interface.c:1259 src/interface.c:1268 #: src/interface.c:2890 msgid "Genre" msgstr "Género" #: src/interface.c:403 src/interface.c:1278 src/interface.c:1287 #: src/interface.c:2894 src/playlist.c:692 src/playlist.c:756 msgid "Duration" msgstr "Duración" #: src/interface.c:407 msgid "_Help" msgstr "A_yuda" #: src/interface.c:414 msgid "_About" msgstr "_Acerca de" #: src/interface.c:467 src/interface.c:469 msgid "Connect/Disconnect to your device." msgstr "Conectar / desconectar el dispositivo." #: src/interface.c:483 src/interface.c:3066 src/playlist.c:176 msgid "Add" msgstr "Agregar" #: src/interface.c:487 src/interface.c:489 msgid "Add Files to your device." msgstr "Agregar archivos a su dispositivo." #: src/interface.c:487 msgid "Add a varity of Files to your device in the current folder." msgstr "" "Añadir una variedad de archivos en el dispositivo en la carpeta actual." #: src/interface.c:497 msgid "Delete" msgstr "Eliminar" #: src/interface.c:501 src/interface.c:503 msgid "Delete Files/Folders from your device." msgstr "Eliminar archivos / carpetas desde el dispositivo." #: src/interface.c:501 msgid "" "Permanently remove files/folders from your device. Note: Albums are stored " "as *.alb files." msgstr "" "Permanente eliminar los archivos / carpetas desde el dispositivo. Nota: Los " "álbumes se guardan como archivos *. alb." #: src/interface.c:515 src/interface.c:517 msgid "Download Files from your device to your Host PC." msgstr "Descargar archivos desde el dispositivo al PC host." #: src/interface.c:515 msgid "" "Download files from your device to your PC. Default Download path is set in " "the preferences dialog." msgstr "" "Descarga de archivos desde el dispositivo a su PC. Descargar ruta " "predeterminada se establece en el cuadro de diálogo prefernces" #: src/interface.c:535 src/interface.c:537 msgid "Upload an image file as Album Art." msgstr "Subir un archivo de imagen como carátula del álbum." #: src/interface.c:535 msgid "Upload a JPG file and assign it as Album Art." msgstr "Subir un archivo JPG y asignarlo como Album Art." #: src/interface.c:545 src/interface.c:3011 msgid "Playlists" msgstr "Listas de reproducción" #: src/interface.c:549 src/interface.c:551 msgid "Add and Modify Playlists." msgstr "Añadir y modificar las listas de reproducción." #: src/interface.c:559 msgid "Refresh" msgstr "Actualizar" #: src/interface.c:563 src/interface.c:565 msgid "Refresh File/Folder listing." msgstr "Actualizar Archivo / lista de carpetas." #: src/interface.c:579 msgid "Properties" msgstr "Propiedades" #: src/interface.c:583 src/interface.c:585 msgid "View Device Properties." msgstr "Propiedades de la vista de dispositivos." #: src/interface.c:593 msgid "Preferences" msgstr "Preferencias" #: src/interface.c:597 src/interface.c:599 msgid "View/Change gMTP Preferences." msgstr "Ver / Cambiar preferencias gMTP." # ########################################################## #: src/interface.c:644 msgid "Find:" msgstr "Buscar:" #: src/interface.c:666 msgid "Filenames" msgstr "Los nombres de archivo" #: src/interface.c:671 msgid "Track Information" msgstr "Información Musical" #: src/interface.c:1053 src/interface.c:1068 msgid "Filename" msgstr "Nombre de archivo" #: src/interface.c:1094 src/interface.c:1103 msgid "Size" msgstr "Tamaño" #: src/interface.c:1157 src/interface.c:1166 src/playlist.c:682 #: src/playlist.c:746 msgid "Track" msgstr "Pista" #: src/interface.c:1305 src/interface.c:1314 msgid "Location" msgstr "Ubicación" #: src/interface.c:1331 msgid "Folder" msgstr "Carpeta" #: src/interface.c:1378 msgid "Select Files to Add" msgstr "Seleccione los archivos para agregar" #: src/interface.c:1857 #, c-format msgid "Found %d items" msgstr "Se han encontrado %d artículos" #: src/interface.c:1859 #, c-format msgid "Found %d item" msgstr "Encontrado (%d) un elemento" # ########################################################## #: src/interface.c:2053 src/interface.c:2054 msgid "I don't know how to download a parent folder reference?\n" msgstr "No sé cómo descargar una referencia carpeta principal?\n" #: src/interface.c:2080 msgid "Unable to move the selected file?\n" msgstr "No se puede mover el archivo seleccionado?\n" #: src/interface.c:2203 src/interface.c:2204 msgid "I don't know how to delete a parent folder reference?\n" msgstr "No sé cómo eliminar una referencia carpeta principal?\n" #: src/interface.c:2371 msgid "Error" msgstr "Error" #: src/interface.c:2387 msgid "Information" msgstr "Información" #: src/interface.c:2398 msgid "New Folder" msgstr "Nueva carpeta" #: src/interface.c:2400 src/interface.c:2455 src/interface.c:2513 #: src/interface.c:2573 src/interface.c:2653 src/interface.c:3013 #: src/interface.c:3197 src/playlist.c:881 msgid "_OK" msgstr "_Aceptar" #: src/interface.c:2420 msgid "Folder Name:" msgstr "Nombre de la carpeta:" #: src/interface.c:2475 msgid "Device Name:" msgstr "Nombre del dispositivo:" #: src/interface.c:2511 msgid "Rename File/Folder" msgstr "Cambiar el nombre de archivo / carpeta" #: src/interface.c:2533 msgid "File Name:" msgstr "Nombre del archivo:" #: src/interface.c:2571 msgid "Connect to which device?" msgstr "Conectar con el dispositivo?" #: src/interface.c:2592 msgid "Device:" msgstr "Dispositivo:" #: src/interface.c:2618 #, c-format msgid "Unknown : %04x:%04x @ bus %d, dev %d" msgstr "Desconocida: %04x:%04x @ bus %d, dev %d" #: src/interface.c:2651 msgid "Connect to which storage device?" msgstr "Conectar con el dispositivo de almacenamiento?" #: src/interface.c:2673 msgid "Storage Device:" msgstr "Dispositivo de almacenamiento:" #: src/interface.c:2694 #, c-format msgid "Unknown id: %d, %s" msgstr "Desconocida id: %d, %s" #: src/interface.c:2724 #, c-format msgid "" "File %s already exists in target folder.\n" "Do you want to:" msgstr "Archivo %s ya existe en la carpeta de destino. ¿Desea:" #: src/interface.c:2726 msgid "Skip" msgstr "Omitir" #: src/interface.c:2727 msgid "Skip All" msgstr "Omitir todo" #: src/interface.c:2728 msgid "Overwrite" msgstr "Sobrescribir" #: src/interface.c:2729 msgid "Overwrite All" msgstr "Sobrescribir todos" #: src/interface.c:2731 msgid "Question: Confirm Overwrite of Existing File?" msgstr "Pregunta: Confirmar la sobrescritura del archivo existente?" #: src/interface.c:2771 msgid "Rename File" msgstr "Cambiar el nombre del archivo" #: src/interface.c:2783 msgid "Add To Playlist" msgstr "Añadir a la lista de reproducción" #: src/interface.c:2787 msgid "Remove From Playlist" msgstr "Eliminar de la lista de reproducción" #: src/interface.c:2807 src/interface.c:2970 msgid "Refresh Device" msgstr "Actualizar dispositivo" #: src/interface.c:2954 msgid "Rename Folder" msgstr "Cambiar el nombre de la carpeta" #: src/interface.c:3035 src/playlist.c:902 msgid "Playlist Name:" msgstr "Lista Nombre:" #: src/interface.c:3075 src/interface.c:3077 src/playlist.c:153 #: src/playlist.c:155 msgid "Add New Playlist" msgstr "Añadir nueva lista de reproducción" #: src/mtp.c:104 src/mtp.c:105 msgid "Detect: No raw devices found.\n" msgstr "Detectar: No hay dispositivos en bruto que se encuentran.\n" #: src/mtp.c:108 src/mtp.c:109 src/mtp.c:117 src/mtp.c:118 msgid "Detect: There has been an error connecting. \n" msgstr "Detección: Se ha producido un error de conexión.\n" #: src/mtp.c:112 src/mtp.c:113 msgid "Detect: Encountered a Memory Allocation Error. \n" msgstr "Detección: Se ha encontrado un error de asignación de memoria. \n" #: src/mtp.c:142 src/mtp.c:143 msgid "Detect: Unable to open raw device?\n" msgstr "Detectar: No se puede abrir el dispositivo de primas?\n" #: src/mtp.c:156 src/mtp.c:157 msgid "Detect: No available Storage found on device?\n" msgstr "" "Detectar: No disponible de almacenamiento se encuentra en el dispositivo?\n" #: src/mtp.c:238 src/mtp.c:244 msgid "Unknown" msgstr "Desconocida" #: src/mtp.c:330 msgid "DevicePropeties: How did I get called?\n" msgstr "DevicePropeties: ¿Cómo me llaman?\n" #: src/mtp.c:438 msgid "Failed to get storage parameters from the device - need to disconnect." msgstr "" "No se pudo obtener los parámetros de almacenamiento del dispositivo - que " "desconectar." #: src/mtp.c:466 msgid "Rescan: How did I get called?\n" msgstr "Volver a explorar: ¿Cómo me llaman?\n" #: src/mtp.c:574 #, c-format msgid "" "Unable to add %s due to insufficient space: filesize = %llu, freespace = " "%llu\n" msgstr "" "No se puede añadir %s debido a la falta de espacio: %llu = tamaño del " "archivo, %llu = espacio libre\n" #: src/mtp.c:578 msgid "Unable to add file due to insufficient space" msgstr "No se puede agregar el archivo debido a la falta de espacio" #: src/mtp.c:644 src/mtp.c:654 msgid "" msgstr "" #: src/mtp.c:675 msgid "Error sending track.\n" msgstr "Error al enviar el tema.\n" #: src/mtp.c:676 #, fuzzy, c-format msgid "Error code %d sending track to device: %s" msgstr "Error de código %d pista enviar al dispositivo: %s" #: src/mtp.c:680 src/mtp.c:681 src/mtp.c:737 src/mtp.c:738 src/mtp.c:845 #: src/mtp.c:846 msgid "Transfer canceled." msgstr "" #: src/mtp.c:732 #, c-format msgid "Error sending file %s.\n" msgstr "Error al enviar el archivo %s.\n" #: src/mtp.c:733 #, fuzzy msgid "Error sending file: " msgstr "Error al enviar el archivo:" #: src/mtp.c:811 #, c-format msgid "" "\n" "Failed to delete file %s\n" msgstr "" "\n" "No se pudo eliminar el archivo %s\n" #: src/mtp.c:812 #, fuzzy msgid "Failed to delete file: " msgstr "No se pudo eliminar el archivo" #: src/mtp.c:840 msgid "" "\n" "Error getting file from MTP device.\n" msgstr "" "\n" "Error al obtener el fichero de dispositivo MTP.\n" #: src/mtp.c:841 msgid "Error getting file from MTP device." msgstr "Error al obtener el fichero de dispositivo MTP." #: src/mtp.c:964 src/mtp.c:1045 #, c-format msgid "Folder creation failed: %s\n" msgstr "La creación de carpetas no: %s\n" #: src/mtp.c:965 msgid "Folder creation failed:" msgstr "La creación de carpetas no:" #: src/mtp.c:1010 #, c-format msgid "Couldn't delete folder %s (%x)\n" msgstr "No se puede eliminar la carpeta %s (%x)\n" #: src/mtp.c:1046 #, fuzzy msgid "Folder creation failed: " msgstr "La creación de carpetas no:" #: src/mtp.c:1259 #, c-format msgid "Error: Couldn't set device name to %s\n" msgstr "Error: No se pudo establecer el nombre del dispositivo para %s\n" #: src/mtp.c:1265 msgid "setDeviceName: How did I get called?\n" msgstr "setDeviceName: ¿Cómo me llaman?\n" #: src/mtp.c:1462 msgid "ERROR: Failed memory allocation in albumAddTrackToAlbum()\n" msgstr "ERROR: Error de asignación de memoria en albumAddTrackToAlbum()\n" #: src/mtp.c:1491 src/mtp.c:1492 msgid "" "Error creating or updating album.\n" "(This could be due to that your device does not support albums.)\n" msgstr "" "Error al crear o actualizar álbum.\n" " (Esto puede ser debido a que el dispositivo no es compatible con discos.)\n" #: src/mtp.c:1520 msgid "ERROR: Failed memory allocation in albumAddArt()\n" msgstr "ERROR: Error de asignación de memoria en albumAddArt()\n" #: src/mtp.c:1525 src/mtp.c:1532 #, c-format msgid "Couldn't open image file %s\n" msgstr "No se pudo abrir archivo de imagen %s\n" #: src/mtp.c:1545 src/mtp.c:1546 msgid "Couldn't send album art\n" msgstr "No se pudo enviar el álbum de arte\n" #: src/mtp.c:1590 src/mtp.c:1591 msgid "Couldn't remove album art\n" msgstr "No se pudo quitar la carátula del álbum\n" #: src/mtp.c:1642 src/mtp.c:1744 msgid "Couldn't create playlist object\n" msgstr "No se pudo crear el objeto lista de reproducción\n" #: src/mtp.c:1654 msgid "Deleting playlist failed?\n" msgstr "Borrar lista de temas no?\n" #: src/mtp.c:1665 msgid "Updating playlist failed?\n" msgstr "Actualizar lista de temas no?\n" #: src/mtp.c:1690 #, c-format msgid "Couldn't open playlist file %s\n" msgstr "No se pudo abrir el archivo de lista de reproducción %s\n" #: src/mtp.c:1691 msgid "Couldn't open playlist file\n" msgstr "No se pudo abrir el archivo de lista de reproducción\n" #: src/mtp.c:1713 msgid "realloc in playlistImport failed\n" msgstr "realloc en savePlayList no\n" #: src/mtp.c:1714 msgid "Updating playlist failed? 'realloc in playlistImport'\n" msgstr "Actualizar lista de temas no? 'realloc en savePlayList'\n" #: src/mtp.c:1750 msgid "Playlist imported.\n" msgstr "Lista de importación.\n" #: src/mtp.c:1754 src/mtp.c:1755 msgid "" "Found no tracks within the playlist that exist on this device. Did not " "import the playlist.\n" msgstr "" "No encontraron pistas de la lista de reproducción que existen en este " "dispositivo. No importar la lista de reproducción.\n" #: src/mtp.c:1780 #, c-format msgid "Couldn't save playlist file %s\n" msgstr "No se pudo guardar el archivo de lista de reproducción %s\n" #: src/mtp.c:1781 msgid "Couldn't save playlist file\n" msgstr "No se pudo guardar el archivo de lista de reproducción\n" #: src/mtp.c:1806 msgid "Format Device failed?\n" msgstr "Dispositivo de formato no?\n" #: src/mtp.c:1824 src/mtp.c:1878 src/playlist.c:1158 src/playlist.c:1170 msgid "realloc in savePlayList failed\n" msgstr "realloc en savePlayList no\n" #: src/mtp.c:1825 src/mtp.c:1879 src/playlist.c:1159 src/playlist.c:1171 msgid "Updating playlist failed? 'realloc in savePlayList'\n" msgstr "Actualizar lista de temas no? 'realloc en savePlayList'\n" #: src/mtp.c:2096 src/mtp.c:2152 src/mtp.c:2238 msgid "malloc in filesSearch failed\n" msgstr "realloc en savePlayList no\n" #: src/mtp.c:2097 src/mtp.c:2153 src/mtp.c:2239 msgid "Failed searching? 'malloc in filesSearch'\n" msgstr "" #: src/mtp.c:2303 msgid "malloc in foldersearch failed\n" msgstr "realloc en savePlayList no\n" #: src/mtp.c:2304 msgid "Failed searching? 'malloc in foldersearch'\n" msgstr "" #: src/playlist.c:98 msgid " Playlists" msgstr " Lista de reproducción" #: src/playlist.c:124 msgid "Current Playlist: " msgstr "Actual lista de reproducción: " #: src/playlist.c:185 src/playlist.c:187 msgid "Remove Current Selected Playlist" msgstr "Borrar lista de reproducción seleccionada actual" #: src/playlist.c:209 msgid "Del" msgstr "Del" #: src/playlist.c:217 msgid "Open" msgstr "Abrir" # ########################################################## #: src/playlist.c:223 src/playlist.c:225 msgid "Import Playlist" msgstr "Importar lista de reproducción" #: src/playlist.c:232 msgid "Save" msgstr "Guardar" #: src/playlist.c:238 src/playlist.c:240 msgid "Export Playlist" msgstr "Exportar lista de reproducción" #: src/playlist.c:262 src/playlist.c:264 msgid "Device Audio Tracks" msgstr "Dispositivo de audio temas" #: src/playlist.c:287 src/playlist.c:289 msgid "Add file to playlist" msgstr "Agregar archivo a la lista" #: src/playlist.c:310 msgid "Add File" msgstr "Agregar archivo" #: src/playlist.c:318 src/playlist.c:320 msgid "Remove file from playlist" msgstr "Eliminar el archivo de lista de reproducción" #: src/playlist.c:341 msgid "Del File" msgstr "Eliminar archivos" #: src/playlist.c:355 src/playlist.c:357 msgid "Playlist Audio Tracks" msgstr "Lista pistas de audio" #: src/playlist.c:387 src/playlist.c:389 msgid "Move selected file up in the playlist" msgstr "Mover archivo seleccionado en la lista de temas" #: src/playlist.c:404 src/playlist.c:406 msgid "Move selected file down in the playlist" msgstr "Mover archivo seleccionado en la lista de temas" #: src/playlist.c:419 msgid "Close" msgstr "Cerrar" #: src/playlist.c:708 msgid "Num" msgstr "Número" #: src/playlist.c:879 msgid "New Playlist" msgstr "Nueva lista de reproducción" #: src/playlist.c:1253 msgid "Select Playlist to Import" msgstr "Seleccione Importar lista de reproducción" #: src/playlist.c:1303 src/playlist.c:1304 msgid "The playlist failed to import correctly.\n" msgstr "La lista no se importan correctamente.\n" #: src/playlist.c:1335 msgid "Save as..." msgstr "Guardar como..." #: src/preferences.c:72 msgid " Preferences" msgstr " Preferencias" #: src/preferences.c:97 msgid "Application" msgstr "Application:" #: src/preferences.c:124 msgid "Toolbar Style:" msgstr "" #: src/preferences.c:132 src/preferences.c:139 src/preferences.c:771 #: src/preferences.c:805 msgid "both" msgstr "" #: src/preferences.c:133 src/preferences.c:140 src/preferences.c:773 #: src/preferences.c:807 msgid "icon" msgstr "" #: src/preferences.c:134 src/preferences.c:141 src/preferences.c:775 #: src/preferences.c:809 msgid "text" msgstr "" #: src/preferences.c:184 msgid "Device" msgstr "Dispositivo:" #: src/preferences.c:189 msgid "Attempt to connect to Device on startup" msgstr "Intenta conectarse a dispositivos en el arranque" #: src/preferences.c:193 msgid "Utilize alternate access method" msgstr "Utilizar el método de acceso alternativo" #: src/preferences.c:202 msgid "File Operations" msgstr "Operaciones con archivos:" #: src/preferences.c:229 msgid "Confirm File/Folder Delete" msgstr "Archivo Confirmar / eliminación de carpetas" #: src/preferences.c:233 msgid "Prompt if to Overwrite file if already exists" msgstr "Preguntar si el archivo para sobrescribir si ya existe" #: src/preferences.c:237 msgid "Suppress Album Errors" msgstr "Suprimir errores Album" # ########################################################## #: src/preferences.c:241 msgid "Treat all media as regular files" msgstr "Tratar a todos los archivos multimedia como archivos normales" #: src/preferences.c:245 msgid "Preserve file timestamps (during download)" msgstr "" #: src/preferences.c:256 msgid "Playlist" msgstr "lista de reproducción" #: src/preferences.c:282 msgid "Prompt to add New Music track to existing playlist" msgstr "" "Del sistema para agregar nueva pista de música a lista de reproducción " "existente" #: src/preferences.c:286 msgid "Ignore path information when importing playlist" msgstr "" "No haga caso de información de la ruta al importar lista de reproducción" #: src/preferences.c:297 msgid "Filepaths on PC" msgstr "Rutas de archivos en el PC:" #: src/preferences.c:324 msgid "Always show Download Path?" msgstr "Siempre mostrar el camino de descarga?" #: src/preferences.c:344 msgid "Download Path:" msgstr "Descargar Ruta de acceso:" #: src/preferences.c:360 msgid "Upload Path:" msgstr "Subir Ruta de acceso:" #: src/preferences.c:699 msgid "Select Path to Download to" msgstr "Seleccionar ruta para descargar a" #: src/preferences.c:729 msgid "Select Path to Upload From" msgstr "Seleccionar ruta para subir de" #: src/prefs.c:102 msgid "" "WARNING: gconf schema invalid, reverting to defaults. Please ensure schema " "is loaded in gconf database.\n" msgstr "" "ADVERTENCIA: El esquema de GConf no válido, volviendo a los valores " "predeterminados. Por favor, asegúrese de esquema se carga en base de datos " "de GConf.\n" #: src/prefs.c:241 msgid "" "WARNING: gconf schema invalid, unable to save! Please ensure schema is " "loaded in gconf database.\n" msgstr "" "ADVERTENCIA: El esquema de GConf inválida, incapaz de guardar! Por favor, " "asegúrese de esquema se carga en base de datos de GConf.\n" #: src/prefs.c:445 src/prefs.c:685 msgid "Disconnected device due to access method change" msgstr "Dispositivo desconectado debido a acceder a cambio de método" #: src/prefs.c:504 msgid "" "WARNING: gconf_callback_func() failed - we got a callback for a key thats " "not ours?\n" msgstr "" "ADVERTENCIA: gconf_callback_func () no - tenemos una devolución de llamada " "de eso no es nuestra clave?\n" #: src/prefs.c:734 msgid "" "WARNING: gsettings_callback_func() failed - we got a callback for a key " "thats not ours?\n" msgstr "" "ADVERTENCIA: gsettings_callback_func () no - tenemos una devolución de " "llamada de eso no es nuestra clave?\n" #: src/progress.c:79 msgid "file = ( x / x ) x %" msgstr "archivo = ( x / x ) x %" #: src/progress.c:194 #, c-format msgid "" "%s\n" "%s of %s (%d%%)" msgstr "" "%s\n" "%s de %s (%d%%)" #: src/progress.c:197 #, c-format msgid "%s of %s (%d%%)" msgstr "%s de %s (%d%%)" #: src/properties.c:69 msgid " Properties" msgstr " Propiedades" #: src/properties.c:91 msgid "MTP Device Properties" msgstr "Propiedades del dispositivo MTP:" #: src/properties.c:96 msgid "Raw Device Information" msgstr "Prima la información del dispositivo:" #: src/properties.c:138 msgid "Name:" msgstr "Nombre:" #: src/properties.c:139 msgid "Model Number:" msgstr "Número de modelo:" #: src/properties.c:140 msgid "Serial Number:" msgstr "Número de serie:" #: src/properties.c:141 msgid "Device Version:" msgstr "Versión del dispositivo:" #: src/properties.c:142 msgid "Manufacturer:" msgstr "Fabricante:" #: src/properties.c:143 msgid "Battery Level:" msgstr "De nivel de batería:" #: src/properties.c:144 msgid "Storage:" msgstr "Almacenamiento:" #: src/properties.c:145 msgid "Supported Formats:" msgstr "Formatos:" #: src/properties.c:147 msgid "Vendor:" msgstr "Proveedor:" #: src/properties.c:148 msgid "Product:" msgstr "Producto:" #: src/properties.c:149 msgid "Vendor ID:" msgstr "Vendor ID:" #: src/properties.c:150 msgid "Product ID:" msgstr "Identificación de producto:" #: src/properties.c:151 msgid "Device Number:" msgstr "Número de dispositivo:" #: src/properties.c:152 msgid "Bus Location:" msgstr "Autobús Ubicación:" #: src/properties.c:191 #, c-format msgid "%d MB (free) / %d MB (total)" msgstr "%d MB (gratis) / %d MB (total)" #~ msgid "Secure Time:" #~ msgstr "Asegure Tiempo:" #~ msgid "Sync Partner:" #~ msgstr "Sincronización Partner:" #~ msgid "Quit" #~ msgstr "Salir" #~ msgid "Quit gMTP." #~ msgstr "Salir gMTP." #~ msgid "%s - %s of %s (%d%%)" #~ msgstr "%s - %s de %s (%d%%)" #~ msgid " %s %s : (%04x:%04x) @ bus %d, dev %d" #~ msgstr " %s %s : (%04x:%04x) @ bus %d, dev %d" #~ msgid " : %d MB (free) / %d MB (total)" #~ msgstr " : %d MB (gratis) / %d MB (total)" #~ msgid "" #~ msgstr "" #~ msgid "Add Album Art" #~ msgstr "Añadir Album Art" #~ msgid "FileSize Hidden" #~ msgstr "Tamaño del archivo oculto" #~ msgid "Filename:" #~ msgstr "Nombre del archivo:" #~ msgid "Object ID" #~ msgstr "ID del objeto" #~ msgid "file://" #~ msgstr "file://" #~ msgid "Columns" #~ msgstr "Columnas" gmtp-1.3.10/po/new_da.po0000644000175000001440000006662412655605137011723 00000000000000domain "gmtp" #: src/mtp.c:722 #, fuzzy msgid "" msgstr "" "Project-Id-Version: gmtp 1.3.5\n" "Report-Msgid-Bugs-To: chewy509@mailcity.com\n" "POT-Creation-Date: 2013-12-06 21:51+1000\n" "PO-Revision-Date: 2013-12-04 20:20+1000\n" "Last-Translator: Cai Andersen\n" "Language-Team: chewy509@mailcity.com\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: da\n" #: src/main.c:127 src/callbacks.c:396 msgid "No device attached" msgstr "Ingen tilsluttede enhed" #: src/interface.c:289 msgid "_File" msgstr "_Fil" #: src/interface.c:298 src/callbacks.c:400 msgid "Connect Device" msgstr "Tilslut enheden" #: src/interface.c:308 src/interface.c:4146 msgid "Add Files" msgstr "Tilføj filer" #: src/interface.c:314 src/interface.c:4150 msgid "Delete Files" msgstr "Slette filer" #: src/interface.c:320 src/interface.c:4158 msgid "Rename File" msgstr "Omdøb fil" #: src/interface.c:326 src/interface.c:4162 src/interface.c:4356 #: src/interface.c:5737 msgid "Move To..." msgstr "Flyt til" #: src/interface.c:332 src/interface.c:4154 msgid "Download Files" msgstr "Download filer" #: src/interface.c:340 src/interface.c:4182 src/interface.c:4344 msgid "Create Folder" msgstr "Opret mappe" #: src/interface.c:347 src/interface.c:4186 src/interface.c:4352 msgid "Delete Folder" msgstr "Slet mappe" #: src/interface.c:357 src/interface.c:4194 src/interface.c:4364 msgid "Refresh Device" msgstr "Genopfriske enhed" #: src/interface.c:363 msgid "Device Properties" msgstr "Enhed Egenskaber" #: src/interface.c:375 msgid "_Edit" msgstr "_Rediger" #: src/interface.c:385 msgid "Select All" msgstr "Vælg alle" #: src/interface.c:402 src/interface.c:3618 msgid "Change Device Name" msgstr "Skift Enhedsnavn" #: src/interface.c:408 src/callbacks.c:1119 msgid "Format Device" msgstr "Format enhed" #: src/interface.c:420 src/interface.c:583 src/interface.c:3918 msgid "Album Art" msgstr "Albumcover" #: src/interface.c:426 msgid "Edit Playlist(s)" msgstr "Rediger afspilningsliste(r)" #: src/interface.c:438 msgid "_View" msgstr "_Vis" #: src/interface.c:446 msgid "Folders" msgstr "Folders" #: src/interface.c:454 src/interface.c:4254 msgid "File Size" msgstr "Filstørrelse" #: src/interface.c:458 src/interface.c:1158 src/interface.c:1167 #: src/interface.c:4258 msgid "File Type" msgstr "Filtype" #: src/interface.c:462 src/interface.c:4262 msgid "Track Number" msgstr "Spornummer" #: src/interface.c:466 src/interface.c:1203 src/interface.c:1212 #: src/interface.c:4266 msgid "Track Name" msgstr "Spor Navn" #: src/interface.c:470 src/interface.c:1222 src/interface.c:1231 #: src/interface.c:4270 src/interface.c:4802 src/interface.c:4872 msgid "Artist" msgstr "Kunstner" #: src/interface.c:474 src/interface.c:1241 src/interface.c:1250 #: src/interface.c:4274 src/interface.c:4812 src/interface.c:4882 msgid "Album" msgstr "Album" #: src/interface.c:478 src/interface.c:1260 src/interface.c:1269 #: src/interface.c:4278 msgid "Year" msgstr "År" #: src/interface.c:482 src/interface.c:1279 src/interface.c:1288 #: src/interface.c:4282 msgid "Genre" msgstr "Genren" #: src/interface.c:486 src/interface.c:1298 src/interface.c:1307 #: src/interface.c:4286 src/interface.c:4840 src/interface.c:4910 msgid "Duration" msgstr "Varighed" #: src/interface.c:490 msgid "_Help" msgstr "_Hjælp" #: src/interface.c:500 msgid "_About" msgstr "_Om" #: src/interface.c:529 src/callbacks.c:393 msgid "Connect" msgstr "Tilslut" #: src/interface.c:533 src/interface.c:535 msgid "Connect/Disconnect to your device." msgstr "Tilslut / Afbryd til enheden." #: src/interface.c:545 src/interface.c:4504 msgid "Add" msgstr "Tilføj" #: src/interface.c:549 src/interface.c:551 msgid "Add Files to your device." msgstr "Tilføj filer til enheden." #: src/interface.c:549 msgid "Add a varity of Files to your device in the current folder." msgstr "Tilføj en række filer til din enhed i den nuværende mappe." #: src/interface.c:556 msgid "Delete" msgstr "Slet" #: src/interface.c:560 src/interface.c:562 msgid "Delete Files/Folders from your device." msgstr "Slet filer / mapper fra enheden." #: src/interface.c:560 msgid "" "Permanently remove files/folders from your device. Note: Albums are stored " "as *.alb files." msgstr "" "Permanent fjerne filer / mapper fra enheden. Bemærk: Albums gemmes som *. " "alb-filer." #: src/interface.c:567 src/interface.c:4015 msgid "Download" msgstr "Download" #: src/interface.c:571 src/interface.c:573 msgid "Download Files from your device to your Host PC." msgstr "Download filer fra enheden til din Host PC." #: src/interface.c:571 msgid "" "Download files from your device to your PC. Default Download path is set in " "the preferences dialog." msgstr "" "Downloade filer fra din enhed til din pc. Standard Download sti er fastsat " "i preferences dialogen." #: src/interface.c:587 src/interface.c:589 msgid "Upload an image file as Album Art." msgstr "Upload en billedfil som albumcover." #: src/interface.c:587 msgid "Upload a JPG file and assign it as Album Art." msgstr "Upload en JPG-fil og tildele den som albumcover." #: src/interface.c:594 src/interface.c:5448 msgid "Playlists" msgstr "Afspilningslister" #: src/interface.c:598 src/interface.c:600 msgid "Add and Modify Playlists." msgstr "Tilføj og rediger afspilningslister." #: src/interface.c:605 msgid "Refresh" msgstr "Genopfriske" #: src/interface.c:609 src/interface.c:611 msgid "Refresh File/Folder listing." msgstr "Genopfriske fil / Mappe notering." #: src/interface.c:621 msgid "Properties" msgstr "Egenskaber" #: src/interface.c:625 src/interface.c:627 msgid "View Device Properties." msgstr "Se Enhed Egenskaber." #: src/interface.c:632 msgid "Preferences" msgstr "Indstillinger" #: src/interface.c:636 src/interface.c:638 msgid "View/Change gMTP Preferences." msgstr "Se / Ændre gMTP indstillinger." #: src/interface.c:648 src/interface.c:652 msgid "Quit" msgstr "Afslut" #: src/interface.c:652 src/interface.c:654 msgid "Quit gMTP." msgstr "Afslut gMTP." #: src/interface.c:672 msgid "Find:" msgstr "Find:" #: src/interface.c:687 msgid "Filenames" msgstr "Filnavne" #: src/interface.c:692 msgid "Track Information" msgstr "spor Information" #: src/interface.c:1073 src/interface.c:1088 msgid "Filename" msgstr "Filnavn" #: src/interface.c:1114 src/interface.c:1123 msgid "Size" msgstr "Størrelse" #: src/interface.c:1177 src/interface.c:1186 src/interface.c:4830 #: src/interface.c:4900 msgid "Track" msgstr "Spor" #: src/interface.c:1325 src/interface.c:1334 msgid "Location" msgstr "Placering" #: src/interface.c:1351 msgid "Folder" msgstr "Folder" #: src/interface.c:1414 msgid "Select Files to Add" msgstr "Vælge filer at tilføje" #: src/interface.c:1877 #, c-format msgid "Found %d items" msgstr "Fandt %d emner" #: src/interface.c:1879 #, c-format msgid "Found %d item" msgstr "Fandt %d emne" #: src/interface.c:1958 src/interface.c:2000 src/callbacks.c:738 msgid "Select Path to Download" msgstr "Vælg sti til Download" #: src/interface.c:2091 src/interface.c:2092 msgid "I don't know how to download a parent folder reference?\n" msgstr "Jeg ved ikke, hvordan du henter en overordnet mappe reference?\n" #: src/interface.c:2124 msgid "Unable to move the selected file?\n" msgstr "Kan ikke flytte den valgte fil?\n" #: src/interface.c:2132 src/interface.c:2133 src/callbacks.c:959 #: src/callbacks.c:960 msgid "Unable to move the selected folder into itself?\n" msgstr "Kan ikke flytte den valgte mappe ind i sig selv?\n" #: src/interface.c:2150 src/callbacks.c:977 msgid "Unable to move the selected folder?\n" msgstr "Ude af stand til at flytte den valgte mappe?\n" #: src/interface.c:2156 src/interface.c:2157 src/callbacks.c:983 #: src/callbacks.c:984 msgid "Unable to move the selected folder underneath itself?\n" msgstr "Kan ikke flytte den valgte mappe nedenunder sig selv?\n" #: src/interface.c:2257 src/interface.c:2258 msgid "I don't know how to delete a parent folder reference?\n" msgstr "Jeg ved ikke, hvordan man sletter en overordnet mappe reference?\n" #: src/interface.c:2464 msgid " Preferences" msgstr " Indstillinger" #: src/interface.c:2497 msgid "Attempt to connect to Device on startup" msgstr "Forsøg at oprette forbindelse til enheden ved opstart" #: src/interface.c:2501 msgid "Utilize alternate access method" msgstr "Udnyt alternativ adgang metode" #: src/interface.c:2505 msgid "Device" msgstr "Enhed" #: src/interface.c:2539 msgid "Confirm File/Folder Delete" msgstr "Bekræft fil / mappe Slet" #: src/interface.c:2543 msgid "Prompt if to Overwrite file if already exists" msgstr "Spørg hvis du vil overskrive filen, hvis der allerede eksisterer" #: src/interface.c:2547 msgid "Suppress Album Errors" msgstr "Undertryk Album Fejl" #: src/interface.c:2551 msgid "Treat all media as regular files" msgstr "Behandl alle medier som almindelige filer" #: src/interface.c:2562 msgid "Playlist" msgstr "Playlist" #: src/interface.c:2581 msgid "Prompt to add New Music track to existing playlist" msgstr "Spørg for at tilføje New Music spor til eksisterende afspilningsliste" #: src/interface.c:2585 msgid "Ignore path information when importing playlist" msgstr "Ignorer stioplysninger ved import afspilningsliste" #: src/interface.c:2589 msgid "File Operations" msgstr "Filhandlinger" #: src/interface.c:2608 msgid "Always show Download Path?" msgstr "Vis altid download sti?" #: src/interface.c:2619 msgid "Download Path:" msgstr "Download-sti:" #: src/interface.c:2626 msgid "Upload Path:" msgstr "Upload Sti:" #: src/interface.c:2659 msgid "Filepaths on PC" msgstr "Filstier på PC" #: src/interface.c:2807 msgid " Properties" msgstr " Egenskaber" #: src/interface.c:2824 msgid "MTP Device Properties" msgstr "MTP enhed egenskaber" #: src/interface.c:2833 msgid "Raw Device Information" msgstr "Rå enhedsoplysninger" #: src/interface.c:2856 msgid "Name:" msgstr "Navn:" #: src/interface.c:2907 msgid "Model Number:" msgstr "Model nummer:" #: src/interface.c:2916 msgid "Serial Number:" msgstr "Serienummer:" #: src/interface.c:2925 msgid "Device Version:" msgstr "Enhed version:" #: src/interface.c:2934 msgid "Manufacturer:" msgstr "Producent:" #: src/interface.c:2943 msgid "Battery Level:" msgstr "Batterilevel:" #: src/interface.c:2952 msgid "Storage:" msgstr "Opbevaring:" #: src/interface.c:2968 msgid "Supported Formats:" msgstr "Understøttede formater:" #: src/interface.c:2983 msgid "Secure Time:" msgstr "Sikker Tid:" #: src/interface.c:2992 msgid "Sync Partner:" msgstr "Synkronisering partner:" #: src/interface.c:3039 msgid "Vendor:" msgstr "Leverandør:" #: src/interface.c:3048 msgid "Product:" msgstr "Produkt:" #: src/interface.c:3057 msgid "Vendor ID:" msgstr "Leverandør-id:" #: src/interface.c:3066 msgid "Product ID:" msgstr "Produkt-ID:" #: src/interface.c:3075 msgid "Device Number:" msgstr "Enhed nummer:" #: src/interface.c:3084 msgid "Bus Location:" msgstr "Bus Beliggenhed:" #: src/interface.c:3166 #, c-format msgid "%d MB (free) / %d MB (total)" msgstr "%d MB (gratis) / %d MB (samlede)" #: src/interface.c:3261 msgid "file = ( x / x ) x %" msgstr "file = ( x / x ) x %" #: src/interface.c:3366 #, c-format msgid "%s - %s of %s (%d%%)" msgstr "%s - %s af %s (%d%%)" #: src/interface.c:3369 #, c-format msgid "%s of %s (%d%%)" msgstr "%s af %s (%d%%)" #: src/interface.c:3412 src/interface.c:3481 msgid "" "A simple MTP Client for Solaris 10\n" "and other UNIX / UNIX-like systems\n" msgstr "" "En simpel MTP Client til Solaris 10\n" "og andre UNIX / UNIX-lignende systemer\n" #: src/interface.c:3443 msgid "translator-credits" msgstr "Cai Andersen" #: src/interface.c:3451 msgid "About gMTP" msgstr "Om gMTP" #: src/interface.c:3493 #, fuzzy msgid "" "Copyright 2009-2013, Darran Kartaschew\n" "Released under the BSD Licence" msgstr "" "Copyright 2009-2011, Darran Kartaschew\n" "Udgivet under BSD Licence\n" #: src/interface.c:3525 msgid "Error" msgstr "Fejl" #: src/interface.c:3545 msgid "Information" msgstr "Informationer" #: src/interface.c:3561 msgid "New Folder" msgstr "Ny Mappe" #: src/interface.c:3579 msgid "Folder Name:" msgstr "Mappe Navn:" #: src/interface.c:3636 msgid "Device Name:" msgstr "Enhedens navn:" #: src/interface.c:3678 msgid "Rename File/Folder" msgstr "Rename File/Folder" #: src/interface.c:3696 msgid "File Name:" msgstr "File Name:" #: src/interface.c:3738 msgid "Connect to which device?" msgstr "Tilslut til hvilken enhed?" #: src/interface.c:3754 msgid "Device:" msgstr "Enhed:" #: src/interface.c:3780 #, c-format msgid "Unknown : %04x:%04x @ bus %d, dev %d" msgstr "Ukendt : %04x:%04x @ bus %d, dev %d" #: src/interface.c:3817 msgid "Connect to which storage device?" msgstr "Tilslut som lagerenhed?" #: src/interface.c:3834 msgid "Storage Device:" msgstr "Lagerenhed:" #: src/interface.c:3855 #, fuzzy, c-format msgid "Unknown id: %d, %llu MB" msgstr "Ukendt ID: %d, %lu MB" #: src/interface.c:3890 #, c-format msgid "" "File %s already exists in target folder.\n" "Do you want to:" msgstr "Fil %s eksisterer allerede i destinationsmappen. Ønsker du at:" #: src/interface.c:3892 msgid "Skip" msgstr "Spring" #: src/interface.c:3893 msgid "Skip All" msgstr "Spring Alle" #: src/interface.c:3894 msgid "Overwrite" msgstr "Overskriv" #: src/interface.c:3895 msgid "Overwrite All" msgstr "Overskriv alle" #: src/interface.c:3897 msgid "Question: Confirm Overwrite of Existing File?" msgstr "Spørgsmål: Bekræft Overskriv af eksisterende fil?" #: src/interface.c:3945 msgid "Album:" msgstr "Album:" #: src/interface.c:3963 msgid "" "No Albums available to set Album Art with. Either:\n" "1. You have no music files uploaded?\n" "2. Your device does not support Albums?\n" "3. Previous applications used to upload files do not autocreate albums for " "you or support the metadata for those files in order to create the albums " "for you?\n" msgstr "" "Ingen Albums rådighed for at indstille Album Art med. Enten:\n" "1. Du har ingen musikfiler uploadet?\n" "2. Enheden understøtter ikke albums?\n" "3. Tidligere programmer, der bruges til at uploade filer ikke autocreate " "album for dig eller støtter metadata for disse filer for at skabe album " "for dig?\n" #: src/interface.c:4006 msgid "Upload" msgstr "Upload" #: src/interface.c:4010 msgid "Remove" msgstr "Fjern" #: src/interface.c:4170 msgid "Add To Playlist" msgstr "Add To Playlist" #: src/interface.c:4174 msgid "Remove From Playlist" msgstr "Fjern fra afspilningsliste" #: src/interface.c:4348 msgid "Rename Folder" msgstr "Omdøb mappe" #: src/interface.c:4450 msgid " Playlists" msgstr " Afspilningslister" #: src/interface.c:4468 msgid "Current Playlist: " msgstr "Nuværende spilleliste: " #: src/interface.c:4487 src/interface.c:4489 src/interface.c:5491 #: src/interface.c:5493 msgid "Add New Playlist" msgstr "Tilføj Ny afspilningsliste" #: src/interface.c:4513 src/interface.c:4515 msgid "Remove Current Selected Playlist" msgstr "Fjern aktuelt valgte spilleliste" #: src/interface.c:4530 msgid "Del" msgstr "Slet" #: src/interface.c:4541 src/interface.c:4543 msgid "Import Playlist" msgstr "Import Playlist" #: src/interface.c:4553 src/interface.c:4555 msgid "Export Playlist" msgstr "Eksport Playlist" #: src/interface.c:4574 src/interface.c:4576 msgid "Device Audio Tracks" msgstr "Enhed lydspor" #: src/interface.c:4596 src/interface.c:4598 msgid "Add file to playlist" msgstr "Tilføj afspilningslisten " #: src/interface.c:4613 msgid "Add File" msgstr "Tilføj fil" #: src/interface.c:4621 src/interface.c:4623 msgid "Remove file from playlist" msgstr "Fjern fil fra afspilningslisten" #: src/interface.c:4638 msgid "Del File" msgstr "Slet fil" #: src/interface.c:4652 src/interface.c:4654 msgid "Playlist Audio Tracks" msgstr "Afspilningsliste lydspor" #: src/interface.c:4674 src/interface.c:4676 msgid "Move selected file up in the playlist" msgstr "Flyt valgte fil op i spillelisten" #: src/interface.c:4683 src/interface.c:4685 msgid "Move selected file down in the playlist" msgstr "Flyt valgte fil ned i spillelisten" #: src/interface.c:4862 msgid "Num" msgstr "Nummer" #: src/interface.c:5038 msgid "New Playlist" msgstr "Ny spilleliste" #: src/interface.c:5056 src/interface.c:5467 msgid "Playlist Name:" msgstr "Afspilningsliste Navn:" #: src/interface.c:5360 src/interface.c:5372 src/mtp.c:1769 src/mtp.c:1829 msgid "realloc in savePlayList failed\n" msgstr "realloc i savePlayList mislykkedes\n" #: src/interface.c:5361 src/interface.c:5373 src/mtp.c:1770 src/mtp.c:1830 msgid "Updating playlist failed? 'realloc in savePlayList'\n" msgstr "Opdatering afspilningsliste mislykkedes? 'realloc i savePlayList'\n" #: src/mtp.c:120 src/mtp.c:121 msgid "Detect: No raw devices found.\n" msgstr "Detect: Ingen rå enheder fundet.\n" #: src/mtp.c:124 src/mtp.c:125 src/mtp.c:133 src/mtp.c:134 msgid "Detect: There has been an error connecting. \n" msgstr "Detect: Der har været en fejl forbinder.\n" #: src/mtp.c:128 src/mtp.c:129 msgid "Detect: Encountered a Memory Allocation Error. \n" msgstr "Detect: Der opstod en Memory Fordeling Fejl. \n" #: src/mtp.c:155 src/mtp.c:156 msgid "Detect: Unable to open raw device?\n" msgstr "Detect: Kan ikke åbne rå enhed?\n" #: src/mtp.c:169 src/mtp.c:170 msgid "Detect: No available Storage found on device?\n" msgstr "Detect: Ingen tilgængelig opbevaring findes på enhed?\n" #: src/mtp.c:253 src/mtp.c:258 msgid "Unknown" msgstr "Ukendt" #: src/mtp.c:271 src/mtp.c:279 src/mtp.c:296 src/mtp.c:304 src/mtp.c:312 #: src/mtp.c:320 src/mtp.c:333 src/callbacks.c:1095 msgid "N/A" msgstr "ikke relevant" #: src/mtp.c:359 msgid "DevicePropeties: How did I get called?\n" msgstr "DevicePropeties: Hvordan fik jeg hedder?\n" #: src/mtp.c:484 msgid "Failed to get storage parameters from the device - need to disconnect." msgstr "Kunne ikke få storage parametre fra enheden - har brug for at afbryde." #: src/mtp.c:496 src/mtp.c:504 src/callbacks.c:80 src/callbacks.c:89 #: src/callbacks.c:365 src/callbacks.c:374 src/callbacks.c:1312 #: src/callbacks.c:1320 #, c-format msgid "Connected to %s - %d MB free" msgstr "Forbundet til %s - %d MB fri" #: src/mtp.c:500 src/callbacks.c:84 src/callbacks.c:369 src/callbacks.c:1316 #, c-format msgid "Connected to %s (%s) - %d MB free" msgstr "Forbundet til %s (%s) - %d MB fri" #: src/mtp.c:511 msgid "Rescan: How did I get called?\n" msgstr "Genskan: Hvordan fik jeg hedder?\n" #: src/mtp.c:652 #, fuzzy, c-format msgid "" "Unable to add %s due to insufficient space: filesize = %llu, freespace = %" "llu\n" msgstr "" "Kan ikke tilføje %s på grund af utilstrækkelig plads: Filstørrelse = %lu, " "ledig plads = %lu\n" #: src/mtp.c:654 msgid "Unable to add file due to insufficient space" msgstr "Kunne ikke tilføje filen på grund af utilstrækkelig plads" #: src/mtp.c:659 msgid "File Upload" msgstr "Fil Upload" #: src/mtp.c:720 src/mtp.c:730 msgid "" msgstr "" #: src/mtp.c:749 msgid "Error sending track.\n" msgstr "Fejl under afsendelse spor.\n" #: src/mtp.c:750 #, c-format msgid "Error code %d sending track to device: %s" msgstr "Fejlkode %d sendes spor til enheden: %s" #: src/mtp.c:797 #, c-format msgid "Error sending file %s.\n" msgstr "Fejl ved afsendelse af filen %s.\n" #: src/mtp.c:798 msgid "Error sending file:" msgstr "Fejl ved afsendelse af fil:" #: src/mtp.c:876 #, c-format msgid "" "\n" "Failed to delete file %s\n" msgstr "" "\n" "Kunne ikke slette fil %s\n" #: src/mtp.c:877 msgid "Failed to delete file" msgstr "Kunne ikke slette fil" #: src/mtp.c:899 msgid "File download" msgstr "Fil download" #: src/mtp.c:904 msgid "" "\n" "Error getting file from MTP device.\n" msgstr "" "\n" "Fejl ved hentning af filen fra MTP enhed.\n" #: src/mtp.c:905 msgid "Error getting file from MTP device." msgstr "Fejl ved hentning af filen fra MTP enhed." #: src/mtp.c:1014 src/mtp.c:1113 #, c-format msgid "Folder creation failed: %s\n" msgstr "Oprettelse af mapper mislykkedes: %s\n" #: src/mtp.c:1015 src/mtp.c:1114 msgid "Folder creation failed:" msgstr "Oprettelse af mapper mislykkedes:" #: src/mtp.c:1068 #, c-format msgid "Couldn't delete folder %s (%x)\n" msgstr "Kunne ikke slette mappe %s (%x)\n" #: src/mtp.c:1271 #, c-format msgid "Error: Couldn't set device name to %s\n" msgstr "Fejl: Kunne ikke sætte enheden navn til %s\n" #: src/mtp.c:1277 msgid "setDeviceName: How did I get called?\n" msgstr "setDeviceName: Hvordan fik jeg hedder?\n" #: src/mtp.c:1356 msgid "ERROR: Failed memory allocation in albumAddTrackToAlbum()\n" msgstr "FEJL: Kunne ikke hukommelse tildeling i albumAddTrackToAlbum ()\n" #: src/mtp.c:1385 src/mtp.c:1386 msgid "" "Error creating or updating album.\n" "(This could be due to that your device does not support albums.)\n" msgstr "" "Fejl ved oprettelse eller opdatering album.\n" "(Dette kunne skyldes, at enheden ikke understøtter album.)\n" #: src/mtp.c:1419 msgid "ERROR: Failed memory allocation in albumAddArt()\n" msgstr "FEJL: Kunne ikke hukommelse tildeling i albumAddArt ()\n" #: src/mtp.c:1424 #, c-format msgid "Couldn't open image file %s\n" msgstr "Kunne ikke åbne billedfil %s\n" #: src/mtp.c:1439 src/mtp.c:1440 msgid "Couldn't send album art\n" msgstr "Kunne ikke sende albumcover\n" #: src/mtp.c:1492 src/mtp.c:1493 msgid "Couldn't remove album art\n" msgstr "Kunne ikke fjerne albumcover\n" #: src/mtp.c:1556 src/mtp.c:1674 msgid "Couldn't create playlist object\n" msgstr "Kunne ikke oprette afspilningsliste objekt\n" #: src/mtp.c:1572 msgid "Deleting playlist failed?\n" msgstr "Sletning afspilningsliste mislykkedes?\n" #: src/mtp.c:1587 msgid "Updating playlist failed?\n" msgstr "Opdatering afspilningsliste mislykkedes?\n" #: src/mtp.c:1620 #, c-format msgid "Couldn't open playlist file %s\n" msgstr "Kunne ikke åbne filen med afspilningslisten %s\n" #: src/mtp.c:1621 msgid "Couldn't open playlist file\n" msgstr "Kunne ikke åbne filen med afspilningslisten\n" #: src/mtp.c:1643 #, fuzzy msgid "realloc in playlistImport failed\n" msgstr "realloc i savePlayList mislykkedes\n" #: src/mtp.c:1644 #, fuzzy msgid "Updating playlist failed? 'realloc in playlistImport'\n" msgstr "Opdatering afspilningsliste mislykkedes? 'realloc i savePlayList'\n" #: src/mtp.c:1680 msgid "Playlist imported.\n" msgstr "Playlist importeret.\n" #: src/mtp.c:1684 src/mtp.c:1685 msgid "" "Found no tracks within the playlist that exist on this device. Did not " "import the playlist.\n" msgstr "" "Fandt ingen spor i spillelisten, der findes på denne enhed. Har ikke " "importere afspilningslisten.\n" #: src/mtp.c:1717 #, c-format msgid "Couldn't save playlist file %s\n" msgstr "Kunne ikke gemme playlist fil %s\n" #: src/mtp.c:1718 msgid "Couldn't save playlist file\n" msgstr "Kunne ikke gemme playlist fil\n" #: src/mtp.c:1746 msgid "Format Device failed?\n" msgstr "Format Enhed mislykkedes?\n" #: src/mtp.c:2063 src/mtp.c:2119 src/mtp.c:2203 #, fuzzy msgid "malloc in filesSearch failed\n" msgstr "realloc i savePlayList mislykkedes\n" #: src/mtp.c:2064 src/mtp.c:2120 src/mtp.c:2204 msgid "Failed searching? 'malloc in filesSearch'\n" msgstr "" #: src/mtp.c:2280 #, fuzzy msgid "malloc in foldersearch failed\n" msgstr "realloc i savePlayList mislykkedes\n" #: src/mtp.c:2281 msgid "Failed searching? 'malloc in foldersearch'\n" msgstr "" #: src/callbacks.c:199 src/callbacks.c:253 src/callbacks.c:291 #: src/callbacks.c:332 src/callbacks.c:885 src/callbacks.c:938 #: src/callbacks.c:1012 src/callbacks.c:1050 src/callbacks.c:2012 #: src/callbacks.c:2035 msgid "No files/folders selected?" msgstr "Ingen filer / mapper valgt?" #: src/callbacks.c:216 #, fuzzy msgid "Unable to rename parent folder\n" msgstr "Ude af stand til at flytte den valgte mappe?\n" #: src/callbacks.c:217 #, fuzzy msgid "Unable to rename this folder" msgstr "Ude af stand til at flytte den valgte mappe?\n" #: src/callbacks.c:244 msgid "" "The move function is disabled when using the alternate access method for " "your device." msgstr "" "Flytningen er deaktiveret, når du bruger den alternative adgang for enheden." #: src/callbacks.c:305 msgid "Are you sure you want to delete these files?" msgstr "Er du sikker på du vil slette disse filer?" #: src/callbacks.c:306 src/callbacks.c:904 src/callbacks.c:1065 msgid "Confirm Delete" msgstr "Bekræft sletning" #: src/callbacks.c:361 msgid "Disconnect" msgstr "Afbryd" #: src/callbacks.c:384 msgid "Disconnect Device" msgstr "Afbryd enhed" #: src/callbacks.c:647 msgid "Select Path to Download to" msgstr "Vælg Sti til Download til" #: src/callbacks.c:682 msgid "Select Path to Upload From" msgstr "Vælg sti til Upload Fra" #: src/callbacks.c:903 src/callbacks.c:1064 msgid "Are you sure you want to delete this folder (and all contents)?" msgstr "Er du sikker på du vil slette denne mappe (og hele indholdet)?" #: src/callbacks.c:1118 msgid "Are you sure you want to format this device?" msgstr "Er du sikker på du vil formatere denne enhed?" #: src/callbacks.c:1247 msgid "Please enter search item." msgstr "Indtast venligst søgeemnet." #: src/callbacks.c:1248 msgid "Search" msgstr "Søg" #: src/callbacks.c:1356 msgid "Searching..." msgstr "Søger ..." #: src/callbacks.c:1412 msgid "Select Album Art File" msgstr "Vælg albumcover fil" #: src/callbacks.c:1514 msgid "Save Album Art File" msgstr "Gem Album Art fil" #: src/callbacks.c:1536 #, c-format msgid "Couldn't save image file %s\n" msgstr "Kunne ikke gemme billedfil %s\n" #: src/callbacks.c:1537 msgid "Couldn't save image file\n" msgstr "Kunne ikke gemme billedfil\n" #: src/callbacks.c:1669 msgid "Select Playlist to Import" msgstr "Vælg Spilleliste til Import" #: src/callbacks.c:1719 src/callbacks.c:1720 msgid "The playlist failed to import correctly.\n" msgstr "Afspilningslisten undladt at importere korrekt.\n" #: src/callbacks.c:1756 #, fuzzy msgid "Save as..." msgstr "Flyt til" #: src/prefs.c:117 msgid "" "WARNING: gconf schema invalid, reverting to defaults. Please ensure schema " "is loaded in gconf database.\n" msgstr "" "ADVARSEL: GConf skema ugyldig, vender tilbage til standardindstillinger. Du " "sikre skema er lagt i GConf database.\n" #: src/prefs.c:221 msgid "" "WARNING: gconf schema invalid, unable to save! Please ensure schema is " "loaded in gconf database.\n" msgstr "" "ADVARSEL: GConf skema ugyldig, ude af stand til at redde! Du sikre skema er " "lagt i GConf database.\n" #: src/prefs.c:425 src/prefs.c:615 msgid "Disconnected device due to access method change" msgstr "Afbrudt enhed på grund af adgang metode forandring" #: src/prefs.c:441 msgid "" "WARNING: gconf_callback_func() failed - we got a callback for a key thats " "not ours?\n" msgstr "" "ADVARSEL: gconf_callback_func () mislykkedes - vi fik en " "tilbagekaldsanmodning for en nøgle thats ikke vores?\n" #: src/prefs.c:625 #, fuzzy msgid "" "WARNING: gsettings_callback_func() failed - we got a callback for a key " "thats not ours?\n" msgstr "" "ADVARSEL: gconf_callback_func () mislykkedes - vi fik en " "tilbagekaldsanmodning for en nøgle thats ikke vores?\n" #~ msgid " %s %s : (%04x:%04x) @ bus %d, dev %d" #~ msgstr " %s %s : (%04x:%04x) @ bus %d, dev %d" #~ msgid " : %d MB (free) / %d MB (total)" #~ msgstr " : %d MB (gratis) / %d MB (samlede)" #~ msgid "" #~ msgstr "" #~ msgid "Add Album Art" #~ msgstr "Tilføj albumcover" #~ msgid "FileSize Hidden" #~ msgstr "FileSize Hidden" #~ msgid "Filename:" #~ msgstr "Filnavn:" #~ msgid "Object ID" #~ msgstr "Object ID" #~ msgid "file://" #~ msgstr "file://" #~ msgid "Columns" #~ msgstr "Kolonner" gmtp-1.3.10/po/ChangeLog0000644000175000001440000000025212655605137011661 000000000000002013-12-04 gettextize * Makefile.in.in: New file, from gettext-0.18.3. * Rules-quot: Upgrade to gettext-0.18.3. * POTFILES.in: New file. gmtp-1.3.10/po/stamp-po0000644000175000001440000000001212660314456011561 00000000000000timestamp gmtp-1.3.10/po/ru.gmo0000644000175000001440000005622412660314456011250 00000000000000Q0%1W r }   4 KYp ,BRl~F  !;1m ,?,;h'o "+!Np (C]z  & 9G0b.-#3 GTf'n /0,c;1:&c,#& * +D Fp ? ! ! ! "!0! 9!C!H!N! U!b!z!! !! !!\!="6C"8z"/"" "" #'#%;#a# e# p#}#$$$$ $ $Z$F%\%k% %% %-%2% &-&I&Q&`&}&& &&& && ' ''<'A' U'`' g't' ''''''((($(4(UJ()((((( ( ) )N2),)")0)6*$9*^*~**$***6*4-+b+ i+-v+"++++h,a,T,X=----------- -----...9.!X.z.%....G0-01(1<1&N1u1111!112)2B2)^2202"223363I3&Y3#333333g4v444464! 5$,5;Q5?5-5 56 6;%63a6a6\6 T7Fa7,77+7I8Z8+o8:8:8<98N939C9:9/::?j:B:2:0 ;3Q;8;;;6;1<#O<s<<<<C<=6%=F\=>=D=<'>Td>>>%>?'(?P?)c?/???S? :@[@A16AAhA+A AAEB-B*CUDC!C*C+C|DVDDDE$E@E\EnE E EEE2E6E)F:FWFnF$F\FGNGNgGWGH.HCH\H5{H5HHHI!I6 K0CKtK|KKKK cL#LLL0LLPMkbMMVM6N)GN>qN#NN2N&O&=OdO2O%O)OP!P*4P_P |PP-PP3P1Q9BQ5|Q3Q QQR$R:RPRTR RS_StS}SSSKSTUTGTM,U[zU:U>V=PVV1V!V:V62W4iWW WdWO5XOX4X6 YhAYaYT ZXaZZZ ZZZ [ [ $[2[8[H[ \[h[|[[[ [[[![ \%@\ f\"q\m0GC'jN >{UPHeE?iIt5O.AW a8,:! `|c#JS)K6YB9^"o7<;2MX]bvwTx= / %[n k-FZD+u$q_13L*Vsh@lrQ&gz(}R~4dyp\f Error getting file from MTP device. Failed to delete file %s Playlists Preferences Properties%d MB (free) / %d MB (total)%s %s of %s (%d%%)%s of %s (%d%%)ApplicationBattery Level:Bus Location:Device Number:Device Version:DeviceFile OperationsFilepaths on PCMTP Device PropertiesManufacturer:Model Number:Name:PlaylistProduct ID:Product:Raw Device InformationSerial Number:Storage:Supported Formats:Vendor ID:Vendor:A simple MTP Client for Solaris 10 and other UNIX / UNIX-like systems About gMTPAddAdd FileAdd FilesAdd Files to your device.Add New PlaylistAdd To PlaylistAdd a varity of Files to your device in the current folder.Add and Modify Playlists.Add file to playlistAlbumAlbum ArtAlbum:Always show Download Path?Are you sure you want to delete these files?Are you sure you want to delete this folder (and all contents)?Are you sure you want to format this device?ArtistAttempt to connect to Device on startupChange Device NameCloseConfirm DeleteConfirm File/Folder DeleteConnectConnect DeviceConnect to which device?Connect to which storage device?Connect/Disconnect to your device.Connected to %s (%s) - %d MB freeConnected to %s - %d MB freeCouldn't create playlist object Couldn't delete folder %s (%x) Couldn't open image file %s Couldn't open playlist file Couldn't open playlist file %s Couldn't remove album art Couldn't save image file Couldn't save image file %s Couldn't save playlist file Couldn't save playlist file %s Couldn't send album art Create FolderCurrent Playlist: DelDel FileDeleteDelete FilesDelete Files/Folders from your device.Delete FolderDeleting playlist failed? Detect: Encountered a Memory Allocation Error. Detect: No available Storage found on device? Detect: No raw devices found. Detect: There has been an error connecting. Detect: Unable to open raw device? Device Audio TracksDevice Name:Device PropertiesDevice:DevicePropeties: How did I get called? DisconnectDisconnect DeviceDisconnected device due to access method changeDownloadDownload FilesDownload Files from your device to your Host PC.Download Path:Download files from your device to your PC. Default Download path is set in the preferences dialog.DurationERROR: Failed memory allocation in albumAddArt() ERROR: Failed memory allocation in albumAddTrackToAlbum() Edit Playlist(s)ErrorError creating or updating album. (This could be due to that your device does not support albums.) Error getting file from MTP device.Error sending file %s. Error sending track. Error: Couldn't set device name to %s Export PlaylistFailed searching? 'malloc in filesSearch' Failed searching? 'malloc in foldersearch' Failed to get storage parameters from the device - need to disconnect.File %s already exists in target folder. Do you want to:File Name:File SizeFile TypeFile UploadFile downloadFilenameFilenamesFindFind:FolderFolder Name:Folder creation failed:Folder creation failed: %s FoldersFormat DeviceFormat Device failed? Found %d itemFound %d itemsFound no tracks within the playlist that exist on this device. Did not import the playlist. GenreI don't know how to delete a parent folder reference? I don't know how to download a parent folder reference? Ignore path information when importing playlistImport PlaylistInformationLocationMove To...Move selected file down in the playlistMove selected file up in the playlistN/ANew FolderNew PlaylistNo Albums available to set Album Art with. Either: 1. You have no music files uploaded? 2. Your device does not support Albums? 3. Previous applications used to upload files do not autocreate albums for you or support the metadata for those files in order to create the albums for you? No device attachedNo files/folders selected?NumOpenOverwriteOverwrite AllPermanently remove files/folders from your device. Note: Albums are stored as *.alb files.Playlist Audio TracksPlaylist Name:Playlist imported. PlaylistsPlease enter search item.PreferencesPrompt if to Overwrite file if already existsPrompt to add New Music track to existing playlistPropertiesQuestion: Confirm Overwrite of Existing File?RefreshRefresh DeviceRefresh File/Folder listing.Refresh FolderRemoveRemove Current Selected PlaylistRemove From PlaylistRemove file from playlistRename FileRename File/FolderRename FilesRename FolderRescan: How did I get called? SaveSave Album Art FileSave as...SearchSearching...Select Album Art FileSelect AllSelect Files to AddSelect Path to DownloadSelect Path to Download toSelect Path to Upload FromSelect Playlist to ImportSizeSkipSkip AllStorage Device:Suppress Album ErrorsThe move function is disabled when using the alternate access method for your device.The playlist failed to import correctly. ToolbarToolbar Style:TrackTrack InformationTrack NameTrack NumberTreat all media as regular filesUnable to add %s due to insufficient space: filesize = %llu, freespace = %llu Unable to add file due to insufficient spaceUnable to move the selected file? Unable to move the selected folder into itself? Unable to move the selected folder underneath itself? Unable to move the selected folder? Unable to rename parent folder Unable to rename this folderUnknownUnknown : %04x:%04x @ bus %d, dev %dUnknown id: %d, %sUpdating playlist failed? Updating playlist failed? 'realloc in playlistImport' Updating playlist failed? 'realloc in savePlayList' UploadUpload Path:Upload a JPG file and assign it as Album Art.Upload an image file as Album Art.Utilize alternate access methodView Device Properties.View/Change gMTP Preferences.WARNING: gconf schema invalid, reverting to defaults. Please ensure schema is loaded in gconf database. WARNING: gconf schema invalid, unable to save! Please ensure schema is loaded in gconf database. WARNING: gconf_callback_func() failed - we got a callback for a key thats not ours? WARNING: gsettings_callback_func() failed - we got a callback for a key thats not ours? Year_About_Cancel_Close_Connect Device_Edit_File_Help_OK_Open_Preferences_Quit_Save_Viewbothfile = ( x / x ) x %iconmalloc in filesSearch failed malloc in foldersearch failed realloc in playlistImport failed realloc in savePlayList failed setDeviceName: How did I get called? texttranslator-creditsProject-Id-Version: 1.3.6 Report-Msgid-Bugs-To: chewy509@mailcity.com POT-Creation-Date: 2016-02-15 19:23+1000 PO-Revision-Date: 2014-03-03 10:46+0400 Last-Translator: PuppyRus linux Team Language-Team: Russian Language: ru MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2); Ошибка получения файла от устройства. Ошибка удаления файла %s Плейлисты Настройки Свойства%d MB (своб.) / %d MB (всего)%s %s of %s (%d%%)%s of %s (%d%%)<Неизвестно>ПриложениеЗаряд батареи:Bus Location:Device Number:Версия устройства:УстройствоОперации с файламиПути на ПКСвойства MTP устройстваПроизводитель:Номер модели:Имя:ПлейлистProduct ID:Product:Raw Device информацияСерийный номер:Память:поддерживаемые форматы:Vendor ID:Vendor:Простой клиент MTP устройств для Solaris 10 и других Unix систем О программеДобавитьДобавить файлДобавить файлыДобавить файлы на устройство.Добавить плейлистДобавить в плейлистAdd a varity of Files to your device in the current folder.Добавить и редактировать плейлистДобавить файл в плейлистАльбомОбложкаАльбом:Всегда показывать путь загрузкиВы хотите удалить этот файл?Вы хотите удалить этот каталог (и все его содержимое)?Вы уверены что хотите отформатировать устройство?АртистПодключаться к устройству при запускеИзменить имя устройстваЗакрытьПодтверждение удаленияПодтверждать удаление файлов/каталоговПодключитьПодключение устройстваСоединиться с этим устройством?Соединиться с этим устройством?Подключить/отключить устройствоПодключено к %s (%s) - %d MB свободноПодключено к %s - %d MB свободноНе удается создать объект плейлиста Не удается удалить каталог %s (%x) Не удается открыть файл %s Не удается открыть файл плейлиста Не удается открыть файл плейлиста %s Не удается удалить обложку Не удается сохранить файл Не удается сохранить файл %s Не удается сохранить плейлист Не удается сохранить плейлист %s Не удается отправить обложку Создать каталогАктивный плейлист: УдалитьУдалить файлУдалитьУдалить файлыУдалить файлы/каталоги с устройства.Удалить каталогудаление плейлиста неудачно? Обнаружение: ошибка выделения памяти. Обнаружение: No available Storage found on device? Обнаружение: не найдено raw устройств. Обнаружение: ошибка соединения. Обнаружение: не удается открыть raw устройство Аудио трекиИмя устройства:Свойства устройстваУстройство:DevicePropeties: How did I get called? РазорватьОтключение устройстваDisconnected device due to access method changeСкачатьСкачать файлыСкачать файлы из устройства на Ваш компьютер.Каталог загрузки:Скачать файлы из устройства на Ваш компьютер. Путь для сохранения файловзадается в настройках программы.ДлительностьERROR: Failed memory allocation in albumAddArt() ОШИБКА: Failed memory allocation in albumAddTrackToAlbum() Редактировать плейлистОшибкаОшибка создания или обновления альбома. (может появляться если ваше устройство не поддерживает альбомы.) Ошибка получения файла от устройства.Ошибка передачи файла %s. Ошибка передачи трека. Ошибка: не удается сменить имя устройства на %s Экспорт плейлистаFailed searching? 'malloc in filesSearch' Failed searching? 'malloc in foldersearch' Не удалось получить параметры из устройства - требуется отключение.Файл %s уже существует в каталоге. Вы хотите:Имя файла:Размер файлаТип файлаПередача файлаЗагрузка файлаИмя файлаИмя файлаНайтиПоиск:КаталогИмя каталога:Не удается создать каталог:Не удается создать каталог: %s КаталогиФорматированиеFormat Device failed? Найден %d элементНайдено %d элементовFound no tracks within the playlist that exist on this device. Did not import the playlist. ЖанрЯ незнаю как удалить родительский каталог Я незнаю как скачать родительский каталог Игнорировать пути файлов при импорте плейлистаИмпорт плейлистаИнформацияРасположениеПереместить на...Переместить Ниже в плейлистеПереместить Выше в плейлистеN/AНовый каталогНовый плейлистНет альбомов для которых можно применить обложку. Варианты:1. У вас на загружены музыкальные файлы? 2. Ваше устройство не поддерживает Альбомы 3. Программа использовавшаяся для загрузки файлов не создалаальбомы или не добавила метаданные позволяющие создать альбомы. Нет подключенного устройстваНе выбраны файлы/каталоги?Ном.ОткрытьПереписатьПереписать всеУдалит файлы/каталоги из устройства. Замечание: альбомы хранятсяв файлах с расширением .alb Треки в плейлистеНазвание плейлистаPlaylist imported. ПлейлистВведите строку для поиска.НастройкиЗапрос на перезапись файла, если существуетЗапрос на добавление новой музыки в существующий плейлистСвойстваПодтверждение перезаписи существующего файла.ОбновитьПеречитать устройствоОбновить список файлов/каталогов.Перечитать каталогУдалитьУдалить выбранный плейлистудалить из плейлистаУдалить из плейлистаПереименоватьПереименовать файл/каталогПереименовать файлыПереименовать каталогRescan: How did I get called? СохранитьСохранить файл обложкиСохранить как...ПоискИщется....Выбрать файл для обложкиВыбрать всеВыбор файлов для добавленияВыберите путь для загрузкиВыбрать каталог для сохраненияВыбрать каталог для отправкиВыбор плейлиста для импортаРазмерПропуститьПропустить всеУстройство:Suppress Album ErrorsФункция перемещения выключена при использовании альтернативного методадоступа к устройствуНе удается правильно импортировать плейлист. ПанельВид панели:ТрекИнфо трекаИмя трекаНомер трекаОбрабатывать все медиа-файлы как обычныеНе удается добавить %s нет свободного места: размер файла = %llu, свободно = %llu Не удается добавить файл, нет свободного местаНе удается переместить выбранный файл Не удается переместить каталог сам в себя Не удается переместить каталог в свой подкаталог Не удается переместить каталог Не удается переименовать каталог Не удается переименовать каталогНеизвестноНеизвестно : %04x:%04x @ bus %d, dev %dНеизвестный id: %d, %sОбновление плейлиста неудачно? Updating playlist failed? 'realloc in playlistImport' Updating playlist failed? 'realloc in savePlayList' ПередатьКаталог отправки:Загрузить JPG файл и установить его как Обложку альбома.Загрузить изображение как Обложку альбома.Использовать альтернативный метод доступаПросмотр свойств устройстваИзменение настроек программыWARNING: gconf schema invalid, reverting to defaults. Please ensure schema is loaded in gconf database. WARNING: gconf schema invalid, unable to save! Please ensure schema is loaded in gconf database. WARNING: gconf_callback_func() failed - we got a callback for a key thats not ours? WARNING: gsettings_callback_func() failed - we got a callback for a key thats not ours? Год_О программе_Отмена_Закрыть_Подключить_Правка_Файл_Помощь_ОК_Открыть_Настройки_Выход_Сохранить_Видзначки и текстfile = ( x / x ) x %значкиmalloc in filesSearch failed malloc in foldersearch failed realloc in playlistImport failed realloc in savePlayList failed setDeviceName: How did I get called? текстПеревод PuppyRus linux teamgmtp-1.3.10/po/POTFILES0000644000175000001440000000053212660313600011243 00000000000000 ../src/about.c \ ../src/albumart.c \ ../src/callbacks.c \ ../src/dnd.c \ ../src/formatdevice.c \ ../src/interface.c \ ../src/main.c \ ../src/metatag_info.c \ ../src/mtp.c \ ../src/playlist.c \ ../src/preferences.c \ ../src/prefs.c \ ../src/progress.c \ ../src/properties.c gmtp-1.3.10/po/Rules-quot0000644000175000001440000000337612655605137012124 00000000000000# Special Makefile rules for English message catalogs with quotation marks. DISTFILES.common.extra1 = quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot .SUFFIXES: .insert-header .po-update-en en@quot.po-create: $(MAKE) en@quot.po-update en@boldquot.po-create: $(MAKE) en@boldquot.po-update en@quot.po-update: en@quot.po-update-en en@boldquot.po-update: en@boldquot.po-update-en .insert-header.po-update-en: @lang=`echo $@ | sed -e 's/\.po-update-en$$//'`; \ if test "$(PACKAGE)" = "gettext"; then PATH=`pwd`/../src:$$PATH; GETTEXTLIBDIR=`cd $(top_srcdir)/src && pwd`; export GETTEXTLIBDIR; fi; \ tmpdir=`pwd`; \ echo "$$lang:"; \ ll=`echo $$lang | sed -e 's/@.*//'`; \ LC_ALL=C; export LC_ALL; \ cd $(srcdir); \ if $(MSGINIT) -i $(DOMAIN).pot --no-translator -l $$ll -o - 2>/dev/null | sed -f $$tmpdir/$$lang.insert-header | $(MSGCONV) -t UTF-8 | $(MSGFILTER) sed -f `echo $$lang | sed -e 's/.*@//'`.sed 2>/dev/null > $$tmpdir/$$lang.new.po; then \ if cmp $$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 "creation of $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ exit 1; \ fi; \ fi; \ else \ echo "creation of $$lang.po failed!" 1>&2; \ rm -f $$tmpdir/$$lang.new.po; \ fi en@quot.insert-header: insert-header.sin sed -e '/^#/d' -e 's/HEADER/en@quot.header/g' $(srcdir)/insert-header.sin > en@quot.insert-header en@boldquot.insert-header: insert-header.sin sed -e '/^#/d' -e 's/HEADER/en@boldquot.header/g' $(srcdir)/insert-header.sin > en@boldquot.insert-header mostlyclean: mostlyclean-quot mostlyclean-quot: rm -f *.insert-header gmtp-1.3.10/po/da.po~0000664000175000001440000007300312266214712011230 00000000000000# gmtp Language POT file. # Copyright (C) 2103 Darran Kartaschew # This file is distributed under the same license as the gmtp package. # Darran Kartaschew, 2013, chewy509@mailcity.com. # msgid "" msgstr "" "Project-Id-Version: gmtp 1.3.5\n" "Report-Msgid-Bugs-To: chewy509@mailcity.com\n" "POT-Creation-Date: 2014-01-17 12:42+1000\n" "PO-Revision-Date: 2014-01-17 12:44+1000\n" "Last-Translator: \n" "Language-Team: chewy509@mailcity.com\n" "Language: da\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Poedit 1.6.3\n" #: src/about.c:75 src/about.c:148 msgid "" "A simple MTP Client for Solaris 10\n" "and other UNIX / UNIX-like systems\n" msgstr "" "En simpel MTP Client til Solaris 10\n" "og andre UNIX / UNIX-lignende systemer\n" #: src/about.c:106 msgid "translator-credits" msgstr "Cai Andersen" #: src/about.c:114 msgid "About gMTP" msgstr "Om gMTP" #: src/about.c:116 src/albumart.c:78 src/preferences.c:427 #: src/properties.c:603 msgid "_Close" msgstr "_Luk" #: src/about.c:160 msgid "" "Copyright 2009-2014, Darran Kartaschew\n" "Released under the BSD License" msgstr "" "Copyright 2009-2014, Darran Kartaschew\n" "Udgivet under BSD Licence" #: src/albumart.c:76 src/interface.c:346 src/interface.c:546 msgid "Album Art" msgstr "Albumcover" #: src/albumart.c:106 msgid "Album:" msgstr "Album:" #: src/albumart.c:124 msgid "" "No Albums available to set Album Art with. Either:\n" "1. You have no music files uploaded?\n" "2. Your device does not support Albums?\n" "3. Previous applications used to upload files do not autocreate albums for " "you or support the metadata for those files in order to create the albums " "for you?\n" msgstr "" "Ingen Albums rådighed for at indstille Album Art med. Enten:\n" "1. Du har ingen musikfiler uploadet?\n" "2. Enheden understøtter ikke albums?\n" "3. Tidligere programmer, der bruges til at uploade filer ikke autocreate " "album for dig eller støtter metadata for disse filer for at skabe album " "for dig?\n" #: src/albumart.c:175 msgid "Upload" msgstr "Upload" #: src/albumart.c:179 msgid "Remove" msgstr "Fjern" #: src/albumart.c:184 src/interface.c:526 msgid "Download" msgstr "Download" #: src/albumart.c:321 msgid "Select Album Art File" msgstr "Vælg albumcover fil" #: src/albumart.c:323 src/albumart.c:425 src/callbacks.c:415 #: src/interface.c:1422 src/interface.c:1973 src/interface.c:2015 #: src/interface.c:2513 src/interface.c:2573 src/interface.c:2636 #: src/interface.c:3163 src/interface.c:3360 src/playlist.c:953 #: src/playlist.c:1386 src/playlist.c:1473 src/preferences.c:727 #: src/preferences.c:762 src/progress.c:128 msgid "_Cancel" msgstr "_Annullér" #: src/albumart.c:324 src/callbacks.c:416 src/interface.c:1423 #: src/interface.c:1974 src/interface.c:2016 src/playlist.c:1387 #: src/playlist.c:1474 src/preferences.c:728 src/preferences.c:763 msgid "_Open" msgstr "_Åbn" #: src/albumart.c:423 msgid "Save Album Art File" msgstr "Gem Album Art fil" #: src/albumart.c:426 msgid "_Save" msgstr "_Gem" #: src/albumart.c:445 #, c-format msgid "Couldn't save image file %s\n" msgstr "Kunne ikke gemme billedfil %s\n" #: src/albumart.c:446 msgid "Couldn't save image file\n" msgstr "Kunne ikke gemme billedfil\n" #: src/callbacks.c:114 src/dnd.c:72 src/dnd.c:137 msgid "File Upload" msgstr "Fil Upload" #: src/callbacks.c:156 src/callbacks.c:210 src/callbacks.c:248 #: src/callbacks.c:291 src/callbacks.c:565 src/callbacks.c:618 #: src/callbacks.c:692 src/callbacks.c:730 src/playlist.c:510 #: src/playlist.c:533 msgid "No files/folders selected?" msgstr "Ingen filer / mapper valgt?" #: src/callbacks.c:173 msgid "Unable to rename parent folder\n" msgstr "Ude af stand til at flytte den valgte mappe?\n" #: src/callbacks.c:174 msgid "Unable to rename this folder" msgstr "Ude af stand til at flytte den valgte mappe?" #: src/callbacks.c:201 msgid "" "The move function is disabled when using the alternate access method for " "your device." msgstr "" "Flytningen er deaktiveret, når du bruger den alternative adgang for enheden." #: src/callbacks.c:262 msgid "Are you sure you want to delete these files?" msgstr "Er du sikker på du vil slette disse filer?" #: src/callbacks.c:263 src/callbacks.c:584 src/callbacks.c:745 msgid "Confirm Delete" msgstr "Bekræft sletning" #: src/callbacks.c:287 src/callbacks.c:297 src/callbacks.c:409 #: src/callbacks.c:425 src/callbacks.c:432 src/interface.c:2026 #: src/interface.c:2034 msgid "File download" msgstr "Fil download" #: src/callbacks.c:322 msgid "Disconnect" msgstr "Afbryd" #: src/callbacks.c:326 src/callbacks.c:335 src/callbacks.c:926 #: src/callbacks.c:934 src/mtp.c:497 src/mtp.c:505 src/properties.c:700 #: src/properties.c:709 #, c-format msgid "Connected to %s - %d MB free" msgstr "Forbundet til %s - %d MB fri" #: src/callbacks.c:330 src/callbacks.c:930 src/mtp.c:501 src/properties.c:704 #, c-format msgid "Connected to %s (%s) - %d MB free" msgstr "Forbundet til %s (%s) - %d MB fri" #: src/callbacks.c:345 msgid "Disconnect Device" msgstr "Afbryd enhed" #: src/callbacks.c:354 src/interface.c:478 msgid "Connect" msgstr "Tilslut" #: src/callbacks.c:357 src/main.c:124 msgid "No device attached" msgstr "Ingen tilsluttede enhed" #: src/callbacks.c:361 msgid "Connect Device" msgstr "Tilslut enheden" #: src/callbacks.c:413 src/interface.c:1971 src/interface.c:2013 msgid "Select Path to Download" msgstr "Vælg sti til Download" #: src/callbacks.c:583 src/callbacks.c:744 msgid "Are you sure you want to delete this folder (and all contents)?" msgstr "Er du sikker på du vil slette denne mappe (og hele indholdet)?" #: src/callbacks.c:639 src/callbacks.c:640 src/interface.c:2149 #: src/interface.c:2150 msgid "Unable to move the selected folder into itself?\n" msgstr "Kan ikke flytte den valgte mappe ind i sig selv?\n" #: src/callbacks.c:657 src/interface.c:2167 msgid "Unable to move the selected folder?\n" msgstr "Ude af stand til at flytte den valgte mappe?\n" #: src/callbacks.c:663 src/callbacks.c:664 src/interface.c:2173 #: src/interface.c:2174 msgid "Unable to move the selected folder underneath itself?\n" msgstr "Kan ikke flytte den valgte mappe nedenunder sig selv?\n" #: src/callbacks.c:775 src/mtp.c:272 src/mtp.c:280 src/mtp.c:297 src/mtp.c:305 #: src/mtp.c:313 src/mtp.c:321 src/mtp.c:334 msgid "N/A" msgstr "ikke relevant" #: src/callbacks.c:861 msgid "Please enter search item." msgstr "Indtast venligst søgeemnet." #: src/callbacks.c:862 msgid "Search" msgstr "Søg" #: src/callbacks.c:970 msgid "Searching..." msgstr "Søger ..." #: src/formatdevice.c:120 msgid "Are you sure you want to format this device?" msgstr "Er du sikker på du vil formatere denne enhed?" #: src/formatdevice.c:121 src/interface.c:338 msgid "Format Device" msgstr "Format enhed" #: src/interface.c:240 msgid "_File" msgstr "_Fil" #: src/interface.c:247 msgid "_Connect Device" msgstr "Tilslut enheden" #: src/interface.c:255 src/interface.c:2893 msgid "Add Files" msgstr "Tilføj filer" #: src/interface.c:259 src/interface.c:2897 msgid "Delete Files" msgstr "Slette filer" #: src/interface.c:263 msgid "Rename Files" msgstr "Omdøb fil" #: src/interface.c:267 src/interface.c:2909 src/interface.c:3103 #: src/interface.c:3357 msgid "Move To..." msgstr "Flyt til" #: src/interface.c:271 src/interface.c:2901 msgid "Download Files" msgstr "Download filer" #: src/interface.c:279 src/interface.c:2929 src/interface.c:3091 msgid "Create Folder" msgstr "Opret mappe" #: src/interface.c:283 src/interface.c:2933 src/interface.c:3099 msgid "Delete Folder" msgstr "Slet mappe" #: src/interface.c:291 msgid "Refresh Folder" msgstr "Omdøb mappe" #: src/interface.c:297 msgid "Device Properties" msgstr "Enhed Egenskaber" #: src/interface.c:307 msgid "_Quit" msgstr "Afslut" #: src/interface.c:311 msgid "_Edit" msgstr "_Rediger" #: src/interface.c:318 msgid "Select All" msgstr "Vælg alle" #: src/interface.c:326 msgid "Find" msgstr "Find" #: src/interface.c:334 src/interface.c:2570 msgid "Change Device Name" msgstr "Skift Enhedsnavn" #: src/interface.c:350 msgid "Edit Playlist(s)" msgstr "Rediger afspilningsliste(r)" #: src/interface.c:358 msgid "_Preferences" msgstr "Indstillinger" #: src/interface.c:362 msgid "_View" msgstr "_Vis" #: src/interface.c:370 msgid "Toolbar" msgstr "" #: src/interface.c:378 msgid "Folders" msgstr "Folders" #: src/interface.c:386 src/interface.c:3001 msgid "File Size" msgstr "Filstørrelse" #: src/interface.c:390 src/interface.c:1164 src/interface.c:1173 #: src/interface.c:3005 msgid "File Type" msgstr "Filtype" #: src/interface.c:394 src/interface.c:3009 msgid "Track Number" msgstr "Spornummer" #: src/interface.c:398 src/interface.c:1209 src/interface.c:1218 #: src/interface.c:3013 msgid "Track Name" msgstr "Spor Navn" #: src/interface.c:402 src/interface.c:1228 src/interface.c:1237 #: src/interface.c:3017 src/playlist.c:704 src/playlist.c:774 msgid "Artist" msgstr "Kunstner" #: src/interface.c:406 src/interface.c:1247 src/interface.c:1256 #: src/interface.c:3021 src/playlist.c:714 src/playlist.c:784 msgid "Album" msgstr "Album" #: src/interface.c:410 src/interface.c:1266 src/interface.c:1275 #: src/interface.c:3025 msgid "Year" msgstr "År" #: src/interface.c:414 src/interface.c:1285 src/interface.c:1294 #: src/interface.c:3029 msgid "Genre" msgstr "Genren" #: src/interface.c:418 src/interface.c:1304 src/interface.c:1313 #: src/interface.c:3033 src/playlist.c:742 src/playlist.c:812 msgid "Duration" msgstr "Varighed" #: src/interface.c:422 msgid "_Help" msgstr "_Hjælp" #: src/interface.c:429 msgid "_About" msgstr "_Om" #: src/interface.c:482 src/interface.c:484 msgid "Connect/Disconnect to your device." msgstr "Tilslut / Afbryd til enheden." #: src/interface.c:498 src/interface.c:3202 src/playlist.c:192 msgid "Add" msgstr "Tilføj" #: src/interface.c:502 src/interface.c:504 msgid "Add Files to your device." msgstr "Tilføj filer til enheden." #: src/interface.c:502 msgid "Add a varity of Files to your device in the current folder." msgstr "Tilføj en række filer til din enhed i den nuværende mappe." #: src/interface.c:512 msgid "Delete" msgstr "Slet" #: src/interface.c:516 src/interface.c:518 msgid "Delete Files/Folders from your device." msgstr "Slet filer / mapper fra enheden." #: src/interface.c:516 msgid "" "Permanently remove files/folders from your device. Note: Albums are stored " "as *.alb files." msgstr "" "Permanent fjerne filer / mapper fra enheden. Bemærk: Albums gemmes som *. " "alb-filer." #: src/interface.c:530 src/interface.c:532 msgid "Download Files from your device to your Host PC." msgstr "Download filer fra enheden til din Host PC." #: src/interface.c:530 msgid "" "Download files from your device to your PC. Default Download path is set in " "the preferences dialog." msgstr "" "Downloade filer fra din enhed til din pc. Standard Download sti er fastsat " "i preferences dialogen." #: src/interface.c:550 src/interface.c:552 msgid "Upload an image file as Album Art." msgstr "Upload en billedfil som albumcover." #: src/interface.c:550 msgid "Upload a JPG file and assign it as Album Art." msgstr "Upload en JPG-fil og tildele den som albumcover." #: src/interface.c:560 src/interface.c:3160 msgid "Playlists" msgstr "Afspilningslister" #: src/interface.c:564 src/interface.c:566 msgid "Add and Modify Playlists." msgstr "Tilføj og rediger afspilningslister." #: src/interface.c:574 msgid "Refresh" msgstr "Genopfriske" #: src/interface.c:578 src/interface.c:580 msgid "Refresh File/Folder listing." msgstr "Genopfriske fil / Mappe notering." #: src/interface.c:594 msgid "Properties" msgstr "Egenskaber" #: src/interface.c:598 src/interface.c:600 msgid "View Device Properties." msgstr "Se Enhed Egenskaber." #: src/interface.c:608 msgid "Preferences" msgstr "Indstillinger" #: src/interface.c:612 src/interface.c:614 msgid "View/Change gMTP Preferences." msgstr "Se / Ændre gMTP indstillinger." #: src/interface.c:659 msgid "Find:" msgstr "Find:" #: src/interface.c:681 msgid "Filenames" msgstr "Filnavne" #: src/interface.c:686 msgid "Track Information" msgstr "spor Information" #: src/interface.c:1079 src/interface.c:1094 msgid "Filename" msgstr "Filnavn" #: src/interface.c:1120 src/interface.c:1129 msgid "Size" msgstr "Størrelse" #: src/interface.c:1183 src/interface.c:1192 src/playlist.c:732 #: src/playlist.c:802 msgid "Track" msgstr "Spor" #: src/interface.c:1331 src/interface.c:1340 msgid "Location" msgstr "Placering" #: src/interface.c:1357 msgid "Folder" msgstr "Folder" #: src/interface.c:1420 msgid "Select Files to Add" msgstr "Vælge filer at tilføje" #: src/interface.c:1890 #, c-format msgid "Found %d items" msgstr "Fandt %d emner" #: src/interface.c:1892 #, c-format msgid "Found %d item" msgstr "Fandt %d emne" #: src/interface.c:2108 src/interface.c:2109 msgid "I don't know how to download a parent folder reference?\n" msgstr "Jeg ved ikke, hvordan du henter en overordnet mappe reference?\n" #: src/interface.c:2141 msgid "Unable to move the selected file?\n" msgstr "Kan ikke flytte den valgte fil?\n" #: src/interface.c:2274 src/interface.c:2275 msgid "I don't know how to delete a parent folder reference?\n" msgstr "Jeg ved ikke, hvordan man sletter en overordnet mappe reference?\n" #: src/interface.c:2474 msgid "Error" msgstr "Fejl" #: src/interface.c:2494 msgid "Information" msgstr "Informationer" #: src/interface.c:2510 msgid "New Folder" msgstr "Ny Mappe" #: src/interface.c:2512 src/interface.c:2572 src/interface.c:2635 #: src/interface.c:2698 src/interface.c:2780 src/interface.c:3162 #: src/interface.c:3359 src/playlist.c:952 msgid "_OK" msgstr "_O.k." #: src/interface.c:2531 msgid "Folder Name:" msgstr "Mappe Navn:" #: src/interface.c:2591 msgid "Device Name:" msgstr "Enhedens navn:" #: src/interface.c:2633 msgid "Rename File/Folder" msgstr "Rename File/Folder" #: src/interface.c:2654 msgid "File Name:" msgstr "File Name:" #: src/interface.c:2696 msgid "Connect to which device?" msgstr "Tilslut til hvilken enhed?" #: src/interface.c:2715 msgid "Device:" msgstr "Enhed:" #: src/interface.c:2741 #, c-format msgid "Unknown : %04x:%04x @ bus %d, dev %d" msgstr "Ukendt : %04x:%04x @ bus %d, dev %d" #: src/interface.c:2778 msgid "Connect to which storage device?" msgstr "Tilslut som lagerenhed?" #: src/interface.c:2798 msgid "Storage Device:" msgstr "Lagerenhed:" #: src/interface.c:2819 #, c-format msgid "Unknown id: %d, %s" msgstr "Ukendt ID: %d, %s" #: src/interface.c:2854 #, c-format msgid "" "File %s already exists in target folder.\n" "Do you want to:" msgstr "Fil %s eksisterer allerede i destinationsmappen. Ønsker du at:" #: src/interface.c:2856 msgid "Skip" msgstr "Spring" #: src/interface.c:2857 msgid "Skip All" msgstr "Spring Alle" #: src/interface.c:2858 msgid "Overwrite" msgstr "Overskriv" #: src/interface.c:2859 msgid "Overwrite All" msgstr "Overskriv alle" #: src/interface.c:2861 msgid "Question: Confirm Overwrite of Existing File?" msgstr "Spørgsmål: Bekræft Overskriv af eksisterende fil?" #: src/interface.c:2905 msgid "Rename File" msgstr "Omdøb fil" #: src/interface.c:2917 msgid "Add To Playlist" msgstr "Add To Playlist" #: src/interface.c:2921 msgid "Remove From Playlist" msgstr "Fjern fra afspilningsliste" #: src/interface.c:2941 src/interface.c:3111 msgid "Refresh Device" msgstr "Genopfriske enhed" #: src/interface.c:3095 msgid "Rename Folder" msgstr "Omdøb mappe" #: src/interface.c:3183 src/playlist.c:971 msgid "Playlist Name:" msgstr "Afspilningsliste Navn:" #: src/interface.c:3211 src/interface.c:3213 src/playlist.c:169 #: src/playlist.c:171 msgid "Add New Playlist" msgstr "Tilføj Ny afspilningsliste" #: src/mtp.c:121 src/mtp.c:122 msgid "Detect: No raw devices found.\n" msgstr "Detect: Ingen rå enheder fundet.\n" #: src/mtp.c:125 src/mtp.c:126 src/mtp.c:134 src/mtp.c:135 msgid "Detect: There has been an error connecting. \n" msgstr "Detect: Der har været en fejl forbinder.\n" #: src/mtp.c:129 src/mtp.c:130 msgid "Detect: Encountered a Memory Allocation Error. \n" msgstr "Detect: Der opstod en Memory Fordeling Fejl. \n" #: src/mtp.c:156 src/mtp.c:157 msgid "Detect: Unable to open raw device?\n" msgstr "Detect: Kan ikke åbne rå enhed?\n" #: src/mtp.c:170 src/mtp.c:171 msgid "Detect: No available Storage found on device?\n" msgstr "Detect: Ingen tilgængelig opbevaring findes på enhed?\n" #: src/mtp.c:254 src/mtp.c:259 msgid "Unknown" msgstr "Ukendt" #: src/mtp.c:360 msgid "DevicePropeties: How did I get called?\n" msgstr "DevicePropeties: Hvordan fik jeg hedder?\n" #: src/mtp.c:485 msgid "Failed to get storage parameters from the device - need to disconnect." msgstr "Kunne ikke få storage parametre fra enheden - har brug for at afbryde." #: src/mtp.c:512 msgid "Rescan: How did I get called?\n" msgstr "Genskan: Hvordan fik jeg hedder?\n" #: src/mtp.c:658 #, c-format msgid "" "Unable to add %s due to insufficient space: filesize = %llu, freespace = " "%llu\n" msgstr "" "Kan ikke tilføje %s på grund af utilstrækkelig plads: Filstørrelse = %llu, " "ledig plads = %llu\n" #: src/mtp.c:662 msgid "Unable to add file due to insufficient space" msgstr "Kunne ikke tilføje filen på grund af utilstrækkelig plads" #: src/mtp.c:728 src/mtp.c:738 msgid "" msgstr "" #: src/mtp.c:757 msgid "Error sending track.\n" msgstr "Fejl under afsendelse spor.\n" #: src/mtp.c:758 #, c-format msgid "Error code %d sending track to device: %s" msgstr "Fejlkode %d sendes spor til enheden: %s" #: src/mtp.c:805 #, c-format msgid "Error sending file %s.\n" msgstr "Fejl ved afsendelse af filen %s.\n" #: src/mtp.c:806 msgid "Error sending file:" msgstr "Fejl ved afsendelse af fil:" #: src/mtp.c:884 #, c-format msgid "" "\n" "Failed to delete file %s\n" msgstr "" "\n" "Kunne ikke slette fil %s\n" #: src/mtp.c:885 msgid "Failed to delete file" msgstr "Kunne ikke slette fil" #: src/mtp.c:916 msgid "" "\n" "Error getting file from MTP device.\n" msgstr "" "\n" "Fejl ved hentning af filen fra MTP enhed.\n" #: src/mtp.c:917 msgid "Error getting file from MTP device." msgstr "Fejl ved hentning af filen fra MTP enhed." #: src/mtp.c:1026 src/mtp.c:1125 #, c-format msgid "Folder creation failed: %s\n" msgstr "Oprettelse af mapper mislykkedes: %s\n" #: src/mtp.c:1027 src/mtp.c:1126 msgid "Folder creation failed:" msgstr "Oprettelse af mapper mislykkedes:" #: src/mtp.c:1080 #, c-format msgid "Couldn't delete folder %s (%x)\n" msgstr "Kunne ikke slette mappe %s (%x)\n" #: src/mtp.c:1283 #, c-format msgid "Error: Couldn't set device name to %s\n" msgstr "Fejl: Kunne ikke sætte enheden navn til %s\n" #: src/mtp.c:1289 msgid "setDeviceName: How did I get called?\n" msgstr "setDeviceName: Hvordan fik jeg hedder?\n" #: src/mtp.c:1436 msgid "ERROR: Failed memory allocation in albumAddTrackToAlbum()\n" msgstr "FEJL: Kunne ikke hukommelse tildeling i albumAddTrackToAlbum ()\n" #: src/mtp.c:1465 src/mtp.c:1466 msgid "" "Error creating or updating album.\n" "(This could be due to that your device does not support albums.)\n" msgstr "" "Fejl ved oprettelse eller opdatering album.\n" "(Dette kunne skyldes, at enheden ikke understøtter album.)\n" #: src/mtp.c:1499 msgid "ERROR: Failed memory allocation in albumAddArt()\n" msgstr "FEJL: Kunne ikke hukommelse tildeling i albumAddArt ()\n" #: src/mtp.c:1504 src/mtp.c:1511 #, c-format msgid "Couldn't open image file %s\n" msgstr "Kunne ikke åbne billedfil %s\n" #: src/mtp.c:1524 src/mtp.c:1525 msgid "Couldn't send album art\n" msgstr "Kunne ikke sende albumcover\n" #: src/mtp.c:1577 src/mtp.c:1578 msgid "Couldn't remove album art\n" msgstr "Kunne ikke fjerne albumcover\n" #: src/mtp.c:1641 src/mtp.c:1759 msgid "Couldn't create playlist object\n" msgstr "Kunne ikke oprette afspilningsliste objekt\n" #: src/mtp.c:1657 msgid "Deleting playlist failed?\n" msgstr "Sletning afspilningsliste mislykkedes?\n" #: src/mtp.c:1672 msgid "Updating playlist failed?\n" msgstr "Opdatering afspilningsliste mislykkedes?\n" #: src/mtp.c:1705 #, c-format msgid "Couldn't open playlist file %s\n" msgstr "Kunne ikke åbne filen med afspilningslisten %s\n" #: src/mtp.c:1706 msgid "Couldn't open playlist file\n" msgstr "Kunne ikke åbne filen med afspilningslisten\n" #: src/mtp.c:1728 msgid "realloc in playlistImport failed\n" msgstr "realloc i savePlayList mislykkedes\n" #: src/mtp.c:1729 msgid "Updating playlist failed? 'realloc in playlistImport'\n" msgstr "Opdatering afspilningsliste mislykkedes? 'realloc i savePlayList'\n" #: src/mtp.c:1765 msgid "Playlist imported.\n" msgstr "Playlist importeret.\n" #: src/mtp.c:1769 src/mtp.c:1770 msgid "" "Found no tracks within the playlist that exist on this device. Did not " "import the playlist.\n" msgstr "" "Fandt ingen spor i spillelisten, der findes på denne enhed. Har ikke " "importere afspilningslisten.\n" #: src/mtp.c:1802 #, c-format msgid "Couldn't save playlist file %s\n" msgstr "Kunne ikke gemme playlist fil %s\n" #: src/mtp.c:1803 msgid "Couldn't save playlist file\n" msgstr "Kunne ikke gemme playlist fil\n" #: src/mtp.c:1831 msgid "Format Device failed?\n" msgstr "Format Enhed mislykkedes?\n" #: src/mtp.c:1854 src/mtp.c:1914 src/playlist.c:1275 src/playlist.c:1287 msgid "realloc in savePlayList failed\n" msgstr "realloc i savePlayList mislykkedes\n" #: src/mtp.c:1855 src/mtp.c:1915 src/playlist.c:1276 src/playlist.c:1288 msgid "Updating playlist failed? 'realloc in savePlayList'\n" msgstr "Opdatering afspilningsliste mislykkedes? 'realloc i savePlayList'\n" #: src/mtp.c:2166 src/mtp.c:2222 src/mtp.c:2308 msgid "malloc in filesSearch failed\n" msgstr "realloc i savePlayList mislykkedes\n" #: src/mtp.c:2167 src/mtp.c:2223 src/mtp.c:2309 msgid "Failed searching? 'malloc in filesSearch'\n" msgstr "" #: src/mtp.c:2385 msgid "malloc in foldersearch failed\n" msgstr "realloc i savePlayList mislykkedes\n" #: src/mtp.c:2386 msgid "Failed searching? 'malloc in foldersearch'\n" msgstr "" #: src/playlist.c:125 msgid " Playlists" msgstr " Afspilningslister" #: src/playlist.c:150 msgid "Current Playlist: " msgstr "Nuværende spilleliste: " #: src/playlist.c:201 src/playlist.c:203 msgid "Remove Current Selected Playlist" msgstr "Fjern aktuelt valgte spilleliste" #: src/playlist.c:225 msgid "Del" msgstr "Slet" #: src/playlist.c:233 msgid "Open" msgstr "Open" #: src/playlist.c:239 src/playlist.c:241 msgid "Import Playlist" msgstr "Import Playlist" #: src/playlist.c:248 msgid "Save" msgstr "Gem" #: src/playlist.c:254 src/playlist.c:256 msgid "Export Playlist" msgstr "Eksport Playlist" #: src/playlist.c:278 src/playlist.c:280 msgid "Device Audio Tracks" msgstr "Enhed lydspor" #: src/playlist.c:303 src/playlist.c:305 msgid "Add file to playlist" msgstr "Tilføj afspilningslisten " #: src/playlist.c:326 msgid "Add File" msgstr "Tilføj fil" #: src/playlist.c:334 src/playlist.c:336 msgid "Remove file from playlist" msgstr "Fjern fil fra afspilningslisten" #: src/playlist.c:357 msgid "Del File" msgstr "Slet fil" #: src/playlist.c:371 src/playlist.c:373 msgid "Playlist Audio Tracks" msgstr "Afspilningsliste lydspor" #: src/playlist.c:403 src/playlist.c:405 msgid "Move selected file up in the playlist" msgstr "Flyt valgte fil op i spillelisten" #: src/playlist.c:420 src/playlist.c:422 msgid "Move selected file down in the playlist" msgstr "Flyt valgte fil ned i spillelisten" #: src/playlist.c:435 msgid "Close" msgstr "Luk" #: src/playlist.c:764 msgid "Num" msgstr "Nummer" #: src/playlist.c:950 msgid "New Playlist" msgstr "Ny spilleliste" #: src/playlist.c:1384 msgid "Select Playlist to Import" msgstr "Vælg Spilleliste til Import" #: src/playlist.c:1434 src/playlist.c:1435 msgid "The playlist failed to import correctly.\n" msgstr "Afspilningslisten undladt at importere korrekt.\n" #: src/playlist.c:1471 msgid "Save as..." msgstr "Gem som..." #: src/preferences.c:108 msgid " Preferences" msgstr " Indstillinger" #: src/preferences.c:132 msgid "Application" msgstr "Application:" #: src/preferences.c:149 msgid "Toolbar Style:" msgstr "" #: src/preferences.c:157 src/preferences.c:164 src/preferences.c:810 #: src/preferences.c:825 msgid "both" msgstr "" #: src/preferences.c:158 src/preferences.c:165 src/preferences.c:812 #: src/preferences.c:827 msgid "icon" msgstr "" #: src/preferences.c:159 src/preferences.c:166 src/preferences.c:814 #: src/preferences.c:829 msgid "text" msgstr "" #: src/preferences.c:206 msgid "Attempt to connect to Device on startup" msgstr "Forsøg at oprette forbindelse til enheden ved opstart" #: src/preferences.c:210 msgid "Utilize alternate access method" msgstr "Udnyt alternativ adgang metode" #: src/preferences.c:214 msgid "Device" msgstr "Enhed" #: src/preferences.c:251 msgid "Confirm File/Folder Delete" msgstr "Bekræft fil / mappe Slet" #: src/preferences.c:255 msgid "Prompt if to Overwrite file if already exists" msgstr "Spørg hvis du vil overskrive filen, hvis der allerede eksisterer" #: src/preferences.c:259 msgid "Suppress Album Errors" msgstr "Undertryk Album Fejl" #: src/preferences.c:263 msgid "Treat all media as regular files" msgstr "Behandl alle medier som almindelige filer" #: src/preferences.c:274 msgid "Playlist" msgstr "Playlist" #: src/preferences.c:296 msgid "Prompt to add New Music track to existing playlist" msgstr "Spørg for at tilføje New Music spor til eksisterende afspilningsliste" #: src/preferences.c:300 msgid "Ignore path information when importing playlist" msgstr "Ignorer stioplysninger ved import afspilningsliste" #: src/preferences.c:304 msgid "File Operations" msgstr "Filhandlinger" #: src/preferences.c:326 msgid "Always show Download Path?" msgstr "Vis altid download sti?" #: src/preferences.c:346 msgid "Download Path:" msgstr "Download-sti:" #: src/preferences.c:357 msgid "Upload Path:" msgstr "Upload Sti:" #: src/preferences.c:411 msgid "Filepaths on PC" msgstr "Filstier på PC" #: src/preferences.c:725 msgid "Select Path to Download to" msgstr "Vælg Sti til Download til" #: src/preferences.c:760 msgid "Select Path to Upload From" msgstr "Vælg sti til Upload Fra" #: src/prefs.c:120 msgid "" "WARNING: gconf schema invalid, reverting to defaults. Please ensure schema " "is loaded in gconf database.\n" msgstr "" "ADVARSEL: GConf skema ugyldig, vender tilbage til standardindstillinger. Du " "sikre skema er lagt i GConf database.\n" #: src/prefs.c:255 msgid "" "WARNING: gconf schema invalid, unable to save! Please ensure schema is " "loaded in gconf database.\n" msgstr "" "ADVARSEL: GConf skema ugyldig, ude af stand til at redde! Du sikre skema er " "lagt i GConf database.\n" #: src/prefs.c:461 src/prefs.c:693 msgid "Disconnected device due to access method change" msgstr "Afbrudt enhed på grund af adgang metode forandring" #: src/prefs.c:513 msgid "" "WARNING: gconf_callback_func() failed - we got a callback for a key thats " "not ours?\n" msgstr "" "ADVARSEL: gconf_callback_func () mislykkedes - vi fik en " "tilbagekaldsanmodning for en nøgle thats ikke vores?\n" #: src/prefs.c:733 msgid "" "WARNING: gsettings_callback_func() failed - we got a callback for a key " "thats not ours?\n" msgstr "" "ADVARSEL: gsettings_callback_func () mislykkedes - vi fik en " "tilbagekaldsanmodning for en nøgle thats ikke vores?\n" #: src/progress.c:104 msgid "file = ( x / x ) x %" msgstr "file = ( x / x ) x %" #: src/progress.c:219 #, c-format msgid "" "%s\n" "%s of %s (%d%%)" msgstr "" "%s\n" "%s af %s (%d%%)" #: src/progress.c:222 #, c-format msgid "%s of %s (%d%%)" msgstr "%s af %s (%d%%)" #: src/properties.c:111 msgid " Properties" msgstr " Egenskaber" #: src/properties.c:132 msgid "MTP Device Properties" msgstr "MTP enhed egenskaber" #: src/properties.c:141 msgid "Raw Device Information" msgstr "Rå enhedsoplysninger" #: src/properties.c:174 msgid "Name:" msgstr "Navn:" #: src/properties.c:253 msgid "Model Number:" msgstr "Model nummer:" #: src/properties.c:266 msgid "Serial Number:" msgstr "Serienummer:" #: src/properties.c:279 msgid "Device Version:" msgstr "Enhed version:" #: src/properties.c:292 msgid "Manufacturer:" msgstr "Producent:" #: src/properties.c:305 msgid "Battery Level:" msgstr "Batterilevel:" #: src/properties.c:318 msgid "Storage:" msgstr "Opbevaring:" #: src/properties.c:344 msgid "Supported Formats:" msgstr "Understøttede formater:" #: src/properties.c:359 msgid "Secure Time:" msgstr "Sikker Tid:" #: src/properties.c:372 msgid "Sync Partner:" msgstr "Synkronisering partner:" #: src/properties.c:449 msgid "Vendor:" msgstr "Leverandør:" #: src/properties.c:462 msgid "Product:" msgstr "Produkt:" #: src/properties.c:475 msgid "Vendor ID:" msgstr "Leverandør-id:" #: src/properties.c:488 msgid "Product ID:" msgstr "Produkt-ID:" #: src/properties.c:501 msgid "Device Number:" msgstr "Enhed nummer:" #: src/properties.c:514 msgid "Bus Location:" msgstr "Bus Beliggenhed:" #: src/properties.c:632 #, c-format msgid "%d MB (free) / %d MB (total)" msgstr "%d MB (gratis) / %d MB (samlede)" #~ msgid "Quit" #~ msgstr "Afslut" #~ msgid "Quit gMTP." #~ msgstr "Afslut gMTP." #~ msgid "%s - %s of %s (%d%%)" #~ msgstr "%s - %s af %s (%d%%)" #~ msgid " %s %s : (%04x:%04x) @ bus %d, dev %d" #~ msgstr " %s %s : (%04x:%04x) @ bus %d, dev %d" #~ msgid " : %d MB (free) / %d MB (total)" #~ msgstr " : %d MB (gratis) / %d MB (samlede)" #~ msgid "" #~ msgstr "" #~ msgid "Add Album Art" #~ msgstr "Tilføj albumcover" #~ msgid "FileSize Hidden" #~ msgstr "FileSize Hidden" #~ msgid "Filename:" #~ msgstr "Filnavn:" #~ msgid "Object ID" #~ msgstr "Object ID" #~ msgid "file://" #~ msgstr "file://" #~ msgid "Columns" #~ msgstr "Kolonner" gmtp-1.3.10/po/en@boldquot.header0000644000175000001440000000247112655605137013542 00000000000000# All this catalog "translates" are quotation characters. # The msgids must be ASCII and therefore cannot contain real quotation # characters, only substitutes like grave accent (0x60), apostrophe (0x27) # and double quote (0x22). These substitutes look strange; see # http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html # # This catalog translates grave accent (0x60) and apostrophe (0x27) to # left single quotation mark (U+2018) and right single quotation mark (U+2019). # It also translates pairs of apostrophe (0x27) to # left single quotation mark (U+2018) and right single quotation mark (U+2019) # and pairs of quotation mark (0x22) to # left double quotation mark (U+201C) and right double quotation mark (U+201D). # # When output to an UTF-8 terminal, the quotation characters appear perfectly. # When output to an ISO-8859-1 terminal, the single quotation marks are # transliterated to apostrophes (by iconv in glibc 2.2 or newer) or to # grave/acute accent (by libiconv), and the double quotation marks are # transliterated to 0x22. # When output to an ASCII terminal, the single quotation marks are # transliterated to apostrophes, and the double quotation marks are # transliterated to 0x22. # # This catalog furthermore displays the text between the quotation marks in # bold face, assuming the VT100/XTerm escape sequences. # gmtp-1.3.10/po/Makefile0000644000175000001440000004367512660313600011552 00000000000000# Makefile for PO directory in any package using GNU gettext. # Copyright (C) 1995-1997, 2000-2006 by Ulrich Drepper # # This file can be copied and used freely without restrictions. It can # be used in projects which are not available under the GNU General Public # License but which still want to provide support for the GNU gettext # functionality. # Please note that the actual code of GNU gettext is covered by the GNU # General Public License and is *not* in the public domain. # # Origin: gettext-0.16 PACKAGE = gmtp VERSION = 1.3.10 PACKAGE_BUGREPORT = chewy509@mailcity.com SHELL = /bin/sh srcdir = . top_srcdir = .. prefix = /usr/local exec_prefix = ${prefix} datarootdir = ${prefix}/share datadir = ${datarootdir} localedir = ${datarootdir}/locale gettextsrcdir = $(datadir)/gettext/po INSTALL = /usr/bin/install -c INSTALL_DATA = ${INSTALL} -m 644 # We use $(mkdir_p). # In automake <= 1.9.x, $(mkdir_p) is defined either as "mkdir -p --" or as # "$(mkinstalldirs)" or as "$(install_sh) -d". For these automake versions, # ${SHELL} /home/darran/Projects/gmtp-code/config/install-sh does not start with $(SHELL), so we add it. # In automake >= 1.10, /usr/bin/mkdir -p is derived from ${MKDIR_P}, which is defined # either as "/path/to/mkdir -p" or ".../install-sh -c -d". For these automake # versions, $(mkinstalldirs) and $(install_sh) are unused. mkinstalldirs = $(SHELL) ${SHELL} /home/darran/Projects/gmtp-code/config/install-sh -d install_sh = $(SHELL) ${SHELL} /home/darran/Projects/gmtp-code/config/install-sh MKDIR_P = /usr/bin/mkdir -p mkdir_p = /usr/bin/mkdir -p GMSGFMT_ = /usr/bin/msgfmt GMSGFMT_no = /usr/bin/msgfmt GMSGFMT_yes = /usr/bin/msgfmt GMSGFMT = $(GMSGFMT_$(USE_MSGCTXT)) MSGFMT_ = /usr/bin/msgfmt MSGFMT_no = /usr/bin/msgfmt MSGFMT_yes = /usr/bin/msgfmt MSGFMT = $(MSGFMT_$(USE_MSGCTXT)) XGETTEXT_ = /usr/bin/xgettext XGETTEXT_no = /usr/bin/xgettext XGETTEXT_yes = /usr/bin/xgettext XGETTEXT = $(XGETTEXT_$(USE_MSGCTXT)) MSGMERGE = msgmerge MSGMERGE_UPDATE = /usr/bin/msgmerge --update MSGINIT = msginit MSGCONV = msgconv MSGFILTER = msgfilter POFILES = da.po de.po en_AU.po es.po fr.po it.po ru.po pt_BR.po GMOFILES = da.gmo de.gmo en_AU.gmo es.gmo fr.gmo it.gmo ru.gmo pt_BR.gmo UPDATEPOFILES = da.po-update de.po-update en_AU.po-update es.po-update fr.po-update it.po-update ru.po-update pt_BR.po-update DUMMYPOFILES = da.nop de.nop en_AU.nop es.nop fr.nop it.nop ru.nop pt_BR.nop DISTFILES.common = Makefile.in.in remove-potcdate.sin \ $(DISTFILES.common.extra1) $(DISTFILES.common.extra2) $(DISTFILES.common.extra3) DISTFILES = $(DISTFILES.common) Makevars POTFILES.in \ $(POFILES) $(GMOFILES) \ $(DISTFILES.extra1) $(DISTFILES.extra2) $(DISTFILES.extra3) POTFILES = \ ../src/about.c \ ../src/albumart.c \ ../src/callbacks.c \ ../src/dnd.c \ ../src/formatdevice.c \ ../src/interface.c \ ../src/main.c \ ../src/metatag_info.c \ ../src/mtp.c \ ../src/playlist.c \ ../src/preferences.c \ ../src/prefs.c \ ../src/progress.c \ ../src/properties.c CATALOGS = da.gmo de.gmo en_AU.gmo es.gmo fr.gmo it.gmo ru.gmo pt_BR.gmo # Makevars gets inserted here. (Don't remove this line!) # Makefile variables for PO directory in any package using GNU gettext. # Usually the message domain is the same as the package name. DOMAIN = $(PACKAGE) # These two variables depend on the location of this directory. subdir = po top_builddir = .. # These options get passed to xgettext. XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ # This is the copyright holder that gets inserted into the header of the # $(DOMAIN).pot file. Set this to the copyright holder of the surrounding # package. (Note that the msgstr strings, extracted from the package's # sources, belong to the copyright holder of the package.) Translators are # expected to transfer the copyright for their translations to this person # or entity, or to disclaim their copyright. The empty string stands for # the public domain; in this case the translators are expected to disclaim # their copyright. COPYRIGHT_HOLDER = Darran Kartaschew # This is the email address or URL to which the translators shall report # bugs in the untranslated strings: # - Strings which are not entire sentences, see the maintainer guidelines # in the GNU gettext documentation, section 'Preparing Strings'. # - Strings which use unclear terms or require additional context to be # understood. # - Strings which make invalid assumptions about notation of date, time or # money. # - Pluralisation problems. # - Incorrect English spelling. # - Incorrect formatting. # It can be your email address, or a mailing list address where translators # can write to without being subscribed, or the URL of a web page through # which the translators can contact you. MSGID_BUGS_ADDRESS = # This is the list of locale categories, beyond LC_MESSAGES, for which the # message catalogs shall be used. It is usually empty. EXTRA_LOCALE_CATEGORIES = .SUFFIXES: .SUFFIXES: .po .gmo .mo .sed .sin .nop .po-create .po-update .po.mo: @echo "$(MSGFMT) -c -o $@ $<"; \ $(MSGFMT) -c -o t-$@ $< && mv t-$@ $@ .po.gmo: @lang=`echo $* | sed -e 's,.*/,,'`; \ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o $${lang}.gmo $${lang}.po"; \ cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo .sin.sed: sed -e '/^#/d' $< > t-$@ mv t-$@ $@ all: all-yes all-yes: stamp-po all-no: # $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no # internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because # we don't want to bother translators with empty POT files). We assume that # LINGUAS is empty in this case, i.e. $(POFILES) and $(GMOFILES) are empty. # In this case, stamp-po is a nop (i.e. a phony target). # stamp-po is a timestamp denoting the last time at which the CATALOGS have # been loosely updated. Its purpose is that when a developer or translator # checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS, # "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent # invocations of "make" will do nothing. This timestamp would not be necessary # if updating the $(CATALOGS) would always touch them; however, the rule for # $(POFILES) has been designed to not touch files that don't need to be # changed. stamp-po: $(srcdir)/$(DOMAIN).pot test ! -f $(srcdir)/$(DOMAIN).pot || \ test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES) @test ! -f $(srcdir)/$(DOMAIN).pot || { \ echo "touch stamp-po" && \ echo timestamp > stamp-poT && \ mv stamp-poT stamp-po; \ } # Note: Target 'all' must not depend on target '$(DOMAIN).pot-update', # otherwise packages like GCC can not be built if only parts of the source # have been downloaded. # This target rebuilds $(DOMAIN).pot; it is an expensive operation. # Note that $(DOMAIN).pot is not touched if it doesn't need to be changed. $(DOMAIN).pot-update: $(POTFILES) $(srcdir)/POTFILES.in remove-potcdate.sed if test -n '$(MSGID_BUGS_ADDRESS)' || test '$(PACKAGE_BUGREPORT)' = '@'PACKAGE_BUGREPORT'@'; then \ msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \ else \ msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \ fi; \ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) \ --files-from=$(srcdir)/POTFILES.in \ --copyright-holder='$(COPYRIGHT_HOLDER)' \ --msgid-bugs-address="$$msgid_bugs_address" test ! -f $(DOMAIN).po || { \ if test -f $(srcdir)/$(DOMAIN).pot; then \ sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \ sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \ if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \ rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \ else \ rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \ fi; \ else \ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \ fi; \ } # This rule has no dependencies: we don't need to update $(DOMAIN).pot at # every "make" invocation, only create it when it is missing. # Only "make $(DOMAIN).pot-update" or "make dist" will force an update. $(srcdir)/$(DOMAIN).pot: $(MAKE) $(DOMAIN).pot-update # This target rebuilds a PO file if $(DOMAIN).pot has changed. # Note that a PO file is not touched if it doesn't need to be changed. $(POFILES): $(srcdir)/$(DOMAIN).pot @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \ if test -f "$(srcdir)/$${lang}.po"; then \ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ echo "$${cdcmd}$(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot"; \ cd $(srcdir) && $(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot; \ else \ $(MAKE) $${lang}.po-create; \ fi install: install-exec install-data install-exec: install-data: install-data-yes if test "$(PACKAGE)" = "gettext-tools"; then \ $(mkdir_p) $(DESTDIR)$(gettextsrcdir); \ for file in $(DISTFILES.common) Makevars.template; do \ $(INSTALL_DATA) $(srcdir)/$$file \ $(DESTDIR)$(gettextsrcdir)/$$file; \ done; \ for file in Makevars; do \ rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \ done; \ else \ : ; \ fi install-data-no: all install-data-yes: all $(mkdir_p) $(DESTDIR)$(datadir) @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ dir=$(localedir)/$$lang/LC_MESSAGES; \ $(mkdir_p) $(DESTDIR)$$dir; \ if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \ $(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \ echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \ for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \ if test -n "$$lc"; then \ if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \ link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \ mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \ for file in *; do \ if test -f $$file; then \ ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \ fi; \ done); \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ else \ if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \ :; \ else \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ fi; \ fi; \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ ln -s ../LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \ ln $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \ cp -p $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ echo "installing $$realcat link as $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo"; \ fi; \ done; \ done install-strip: install installdirs: installdirs-exec installdirs-data installdirs-exec: installdirs-data: installdirs-data-yes if test "$(PACKAGE)" = "gettext-tools"; then \ $(mkdir_p) $(DESTDIR)$(gettextsrcdir); \ else \ : ; \ fi installdirs-data-no: installdirs-data-yes: $(mkdir_p) $(DESTDIR)$(datadir) @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ dir=$(localedir)/$$lang/LC_MESSAGES; \ $(mkdir_p) $(DESTDIR)$$dir; \ for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \ if test -n "$$lc"; then \ if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \ link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \ mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \ for file in *; do \ if test -f $$file; then \ ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \ fi; \ done); \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ else \ if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \ :; \ else \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ fi; \ fi; \ fi; \ done; \ done # Define this as empty until I found a useful application. installcheck: uninstall: uninstall-exec uninstall-data uninstall-exec: uninstall-data: uninstall-data-yes if test "$(PACKAGE)" = "gettext-tools"; then \ for file in $(DISTFILES.common) Makevars.template; do \ rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \ done; \ else \ : ; \ fi uninstall-data-no: uninstall-data-yes: catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ for lc in LC_MESSAGES $(EXTRA_LOCALE_CATEGORIES); do \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ done; \ done check: all info dvi ps pdf html tags TAGS ctags CTAGS ID: mostlyclean: rm -f remove-potcdate.sed rm -f stamp-poT rm -f core core.* $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po rm -fr *.o clean: mostlyclean distclean: clean rm -f Makefile Makefile.in POTFILES *.mo 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 stamp-po $(GMOFILES) distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) dist distdir: $(MAKE) update-po @$(MAKE) dist2 # This is a separate target because 'update-po' must be executed before. dist2: stamp-po $(DISTFILES) dists="$(DISTFILES)"; \ if test "$(PACKAGE)" = "gettext-tools"; then \ dists="$$dists Makevars.template"; \ fi; \ if test -f $(srcdir)/$(DOMAIN).pot; then \ dists="$$dists $(DOMAIN).pot stamp-po"; \ fi; \ if test -f $(srcdir)/ChangeLog; then \ dists="$$dists ChangeLog"; \ fi; \ for i in 0 1 2 3 4 5 6 7 8 9; do \ if test -f $(srcdir)/ChangeLog.$$i; then \ dists="$$dists ChangeLog.$$i"; \ fi; \ done; \ if test -f $(srcdir)/LINGUAS; then dists="$$dists LINGUAS"; fi; \ for file in $$dists; do \ if test -f $$file; then \ cp -p $$file $(distdir) || exit 1; \ else \ cp -p $(srcdir)/$$file $(distdir) || exit 1; \ fi; \ done update-po: Makefile $(MAKE) $(DOMAIN).pot-update test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES) $(MAKE) update-gmo # General rule for creating PO files. .nop.po-create: @lang=`echo $@ | sed -e 's/\.po-create$$//'`; \ echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'." 1>&2; \ exit 1 # General rule for updating PO files. .nop.po-update: @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \ if test "$(PACKAGE)" = "gettext-tools"; then PATH=`pwd`/../src:$$PATH; fi; \ tmpdir=`pwd`; \ echo "$$lang:"; \ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ echo "$${cdcmd}$(MSGMERGE) $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \ cd $(srcdir); \ if $(MSGMERGE) $$lang.po $(DOMAIN).pot -o $$tmpdir/$$lang.new.po; then \ if cmp $$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; \ exit 1; \ fi; \ fi; \ else \ echo "msgmerge for $$lang.po failed!" 1>&2; \ rm -f $$tmpdir/$$lang.new.po; \ fi $(DUMMYPOFILES): update-gmo: Makefile $(GMOFILES) @: Makefile: Makefile.in.in Makevars $(top_builddir)/config.status POTFILES.in LINGUAS cd $(top_builddir) \ && $(SHELL) ./config.status $(subdir)/$@.in po-directories force: # 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: # Special Makefile rules for English message catalogs with quotation marks. DISTFILES.common.extra1 = quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot .SUFFIXES: .insert-header .po-update-en en@quot.po-create: $(MAKE) en@quot.po-update en@boldquot.po-create: $(MAKE) en@boldquot.po-update en@quot.po-update: en@quot.po-update-en en@boldquot.po-update: en@boldquot.po-update-en .insert-header.po-update-en: @lang=`echo $@ | sed -e 's/\.po-update-en$$//'`; \ if test "$(PACKAGE)" = "gettext"; then PATH=`pwd`/../src:$$PATH; GETTEXTLIBDIR=`cd $(top_srcdir)/src && pwd`; export GETTEXTLIBDIR; fi; \ tmpdir=`pwd`; \ echo "$$lang:"; \ ll=`echo $$lang | sed -e 's/@.*//'`; \ LC_ALL=C; export LC_ALL; \ cd $(srcdir); \ if $(MSGINIT) -i $(DOMAIN).pot --no-translator -l $$ll -o - 2>/dev/null | sed -f $$tmpdir/$$lang.insert-header | $(MSGCONV) -t UTF-8 | $(MSGFILTER) sed -f `echo $$lang | sed -e 's/.*@//'`.sed 2>/dev/null > $$tmpdir/$$lang.new.po; then \ if cmp $$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 "creation of $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ exit 1; \ fi; \ fi; \ else \ echo "creation of $$lang.po failed!" 1>&2; \ rm -f $$tmpdir/$$lang.new.po; \ fi en@quot.insert-header: insert-header.sin sed -e '/^#/d' -e 's/HEADER/en@quot.header/g' $(srcdir)/insert-header.sin > en@quot.insert-header en@boldquot.insert-header: insert-header.sin sed -e '/^#/d' -e 's/HEADER/en@boldquot.header/g' $(srcdir)/insert-header.sin > en@boldquot.insert-header mostlyclean: mostlyclean-quot mostlyclean-quot: rm -f *.insert-header gmtp-1.3.10/po/LINGUAS0000644000175000001440000000003612655605137011134 00000000000000da de en_AU es fr it ru pt_BR gmtp-1.3.10/po/de.po0000644000175000001440000007556312660314456011055 00000000000000# gmtp Language POT file. # Copyright (C) 2103 Darran Kartaschew # This file is distributed under the same license as the gmtp package. # Darran Kartaschew, 2013, chewy509@mailcity.com. # msgid "" msgstr "" "Project-Id-Version: gmtp 1.3.6\n" "Report-Msgid-Bugs-To: chewy509@mailcity.com\n" "POT-Creation-Date: 2016-02-15 19:23+1000\n" "PO-Revision-Date: 2014-01-17 12:45+1000\n" "Last-Translator: \n" "Language-Team: chewy509@mailcity.com\n" "Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Poedit 1.6.3\n" #: src/about.c:46 src/about.c:123 msgid "" "A simple MTP Client for Solaris 10\n" "and other UNIX / UNIX-like systems\n" msgstr "" "Ein einfacher MTP-Client für Solaris 10\n" "und andere UNIX/UNIX-ähnlichen Systeme\n" #: src/about.c:77 msgid "translator-credits" msgstr "Laurenz Kamp" #: src/about.c:88 msgid "About gMTP" msgstr "Über gMTP" #: src/about.c:90 src/albumart.c:47 src/preferences.c:431 src/properties.c:159 msgid "_Close" msgstr "_Schließen" #: src/about.c:135 #, fuzzy msgid "" "Copyright 2009-2016, Darran Kartaschew\n" "Released under the BSD License" msgstr "" "Copyright 2009-2014, Darran Kartaschew\n" "unter der BSD Licence veröffentlicht" #: src/albumart.c:45 src/interface.c:331 src/interface.c:531 msgid "Album Art" msgstr "Album Cover" #: src/albumart.c:77 msgid "Album:" msgstr "Album:" #: src/albumart.c:110 msgid "" "No Albums available to set Album Art with. Either:\n" "1. You have no music files uploaded?\n" "2. Your device does not support Albums?\n" "3. Previous applications used to upload files do not autocreate albums for " "you or support the metadata for those files in order to create the albums " "for you?\n" msgstr "" "Keine Alben zur Verfügung um Cover zu ändern. Entweder:\n" "1. Sie haben keine Musik-Dateien hochgeladen?\n" "2. Ihr Gerät unterstützt keine Alben?\n" "3. Vorherige Anwendungen haben Dateien hochgeladen ohne Alben zu erstellen " "oder unterstützen keine Meta-Daten, um Alben zu erstellen?\n" #: src/albumart.c:163 msgid "Upload" msgstr "Hochladen" #: src/albumart.c:167 msgid "Remove" msgstr "Entfernen" #: src/albumart.c:172 src/interface.c:511 msgid "Download" msgstr "Download" #: src/albumart.c:293 msgid "Select Album Art File" msgstr "Wählen Sie die Cover-Datei" #: src/albumart.c:295 src/albumart.c:406 src/callbacks.c:362 #: src/interface.c:1380 src/interface.c:1928 src/interface.c:1961 #: src/interface.c:2401 src/interface.c:2456 src/interface.c:2514 #: src/interface.c:3014 src/interface.c:3198 src/playlist.c:882 #: src/playlist.c:1255 src/playlist.c:1337 src/preferences.c:701 #: src/preferences.c:731 src/progress.c:108 msgid "_Cancel" msgstr "_Abbrechen" #: src/albumart.c:296 src/callbacks.c:363 src/interface.c:1381 #: src/interface.c:1929 src/interface.c:1962 src/playlist.c:1256 #: src/playlist.c:1338 src/preferences.c:702 src/preferences.c:732 msgid "_Open" msgstr "Öffnen" # ########################################## #: src/albumart.c:404 msgid "Save Album Art File" msgstr "Album-Cover speichern" #: src/albumart.c:407 msgid "_Save" msgstr "_Speichern" #: src/albumart.c:426 #, c-format msgid "Couldn't save image file %s\n" msgstr "Konnte Bild-Datei %s nicht speichern\n" #: src/albumart.c:427 msgid "Couldn't save image file\n" msgstr "Konnte Bild-Datei nicht speichern\n" #: src/callbacks.c:87 src/dnd.c:63 src/dnd.c:136 msgid "File Upload" msgstr "Datei-Upload" #: src/callbacks.c:125 src/callbacks.c:178 src/callbacks.c:211 #: src/callbacks.c:251 src/callbacks.c:496 src/callbacks.c:540 #: src/callbacks.c:610 src/callbacks.c:643 src/playlist.c:487 #: src/playlist.c:506 msgid "No files/folders selected?" msgstr "Keine Dateien/Ordner ausgewählt?" #: src/callbacks.c:144 msgid "Unable to rename parent folder\n" msgstr "Unfähig, die ausgewählten Ordner zu verschieben?\n" #: src/callbacks.c:145 msgid "Unable to rename this folder" msgstr "Unfähig, die ausgewählten Ordner zu verschieben?" #: src/callbacks.c:169 msgid "" "The move function is disabled when using the alternate access method for " "your device." msgstr "" "Die Move-Funktion ist deaktiviert, wenn die alternative Zugriffsmethode für " "Ihr Gerät." #: src/callbacks.c:225 msgid "Are you sure you want to delete these files?" msgstr "Sind Sie sicher, dass Sie diese Dateien löschen möchten?" #: src/callbacks.c:226 src/callbacks.c:515 src/callbacks.c:658 msgid "Confirm Delete" msgstr "Löschen bestätigen" #: src/callbacks.c:247 src/callbacks.c:257 src/callbacks.c:356 #: src/callbacks.c:372 src/callbacks.c:379 src/interface.c:1972 #: src/interface.c:1980 msgid "File download" msgstr "Datei herunterladen" #: src/callbacks.c:277 msgid "Disconnect" msgstr "Trennen" #: src/callbacks.c:281 src/callbacks.c:290 src/callbacks.c:817 #: src/callbacks.c:825 src/mtp.c:451 src/mtp.c:459 src/properties.c:261 #: src/properties.c:270 #, c-format msgid "Connected to %s - %d MB free" msgstr "Verbunden mit %s - %d MB frei" #: src/callbacks.c:285 src/callbacks.c:821 src/mtp.c:455 src/properties.c:265 #, c-format msgid "Connected to %s (%s) - %d MB free" msgstr "Verbunden mit %s (%s) - %d MB frei" #: src/callbacks.c:300 msgid "Disconnect Device" msgstr "Gerät trennen" #: src/callbacks.c:309 src/interface.c:463 msgid "Connect" msgstr "Verbinden" #: src/callbacks.c:312 src/main.c:109 msgid "No device attached" msgstr "Kein Gerät angeschlossen" #: src/callbacks.c:316 msgid "Connect Device" msgstr "Gerät verbinden" #: src/callbacks.c:360 src/interface.c:1926 src/interface.c:1959 msgid "Select Path to Download" msgstr "Wählen Sie den Pfad zum Herunterladen" #: src/callbacks.c:514 src/callbacks.c:657 msgid "Are you sure you want to delete this folder (and all contents)?" msgstr "" "Sie sind sicher, dass Sie diesen Ordner löschen möchten (und alle Inhalte)?" #: src/callbacks.c:561 src/callbacks.c:562 src/interface.c:2088 #: src/interface.c:2089 msgid "Unable to move the selected folder into itself?\n" msgstr "Unfähig, die ausgewählten Ordner in sich selbst zu bewegen?\n" #: src/callbacks.c:580 src/interface.c:2106 msgid "Unable to move the selected folder?\n" msgstr "Unfähig, die ausgewählten Ordner zu verschieben?\n" #: src/callbacks.c:586 src/callbacks.c:587 src/interface.c:2112 #: src/interface.c:2113 msgid "Unable to move the selected folder underneath itself?\n" msgstr "Unfähig, die ausgewählten Ordner unter sich zu bewegen?\n" #: src/callbacks.c:685 src/mtp.c:258 src/mtp.c:276 src/mtp.c:285 src/mtp.c:294 #: src/mtp.c:303 msgid "N/A" msgstr "N/A" #: src/callbacks.c:758 msgid "Please enter search item." msgstr "" #: src/callbacks.c:759 msgid "Search" msgstr "Suchen" #: src/callbacks.c:857 msgid "Searching..." msgstr "Suchen …" #: src/formatdevice.c:56 msgid "Formatting..." msgstr "" #: src/formatdevice.c:87 msgid "Are you sure you want to format this device?" msgstr "Sind Sie sicher, dass Sie dieses Gerät formatieren möchten?" #: src/formatdevice.c:88 src/interface.c:323 msgid "Format Device" msgstr "Gerät formatieren" #: src/interface.c:225 msgid "_File" msgstr "_Datei" #: src/interface.c:232 msgid "_Connect Device" msgstr "Gerät verbinden" #: src/interface.c:240 src/interface.c:2759 msgid "Add Files" msgstr "Dateien hinzufügen" #: src/interface.c:244 src/interface.c:2763 msgid "Delete Files" msgstr "Dateien löschen" #: src/interface.c:248 msgid "Rename Files" msgstr "Datei umbenennen" #: src/interface.c:252 src/interface.c:2775 src/interface.c:2962 #: src/interface.c:3195 msgid "Move To..." msgstr "Umzug nach..." #: src/interface.c:256 src/interface.c:2767 msgid "Download Files" msgstr "Dateien herunterladen" #: src/interface.c:264 src/interface.c:2795 src/interface.c:2950 msgid "Create Folder" msgstr "Ordner erstellen" #: src/interface.c:268 src/interface.c:2799 src/interface.c:2958 msgid "Delete Folder" msgstr "Ordner löschen" #: src/interface.c:276 msgid "Refresh Folder" msgstr "Ordner umbenennen" #: src/interface.c:282 msgid "Device Properties" msgstr "Geräteeigenschaften" #: src/interface.c:292 msgid "_Quit" msgstr "Beenden" #: src/interface.c:296 msgid "_Edit" msgstr "_Bearbeiten" #: src/interface.c:303 msgid "Select All" msgstr "Select All" #: src/interface.c:311 msgid "Find" msgstr "Suchen" #: src/interface.c:319 src/interface.c:2453 msgid "Change Device Name" msgstr "Geräte-Namen ändern" #: src/interface.c:335 msgid "Edit Playlist(s)" msgstr "Playliste bearbeiten" #: src/interface.c:343 msgid "_Preferences" msgstr "Einstellungen" #: src/interface.c:347 msgid "_View" msgstr "_Anzeigen" #: src/interface.c:355 msgid "Toolbar" msgstr "" # ########################################################## #: src/interface.c:363 msgid "Folders" msgstr "Ordnern" #: src/interface.c:371 src/interface.c:2862 msgid "File Size" msgstr "Datei-Größe" #: src/interface.c:375 src/interface.c:1138 src/interface.c:1147 #: src/interface.c:2866 msgid "File Type" msgstr "Dateityp" #: src/interface.c:379 src/interface.c:2870 msgid "Track Number" msgstr "Titelnummer" #: src/interface.c:383 src/interface.c:1183 src/interface.c:1192 #: src/interface.c:2874 msgid "Track Name" msgstr "Titelname" #: src/interface.c:387 src/interface.c:1202 src/interface.c:1211 #: src/interface.c:2878 src/playlist.c:654 src/playlist.c:718 msgid "Artist" msgstr "Künstler" #: src/interface.c:391 src/interface.c:1221 src/interface.c:1230 #: src/interface.c:2882 src/playlist.c:664 src/playlist.c:728 msgid "Album" msgstr "Album" #: src/interface.c:395 src/interface.c:1240 src/interface.c:1249 #: src/interface.c:2886 msgid "Year" msgstr "Jahr" #: src/interface.c:399 src/interface.c:1259 src/interface.c:1268 #: src/interface.c:2890 msgid "Genre" msgstr "Genre" #: src/interface.c:403 src/interface.c:1278 src/interface.c:1287 #: src/interface.c:2894 src/playlist.c:692 src/playlist.c:756 msgid "Duration" msgstr "Dauer" #: src/interface.c:407 msgid "_Help" msgstr "_Hilfe" #: src/interface.c:414 msgid "_About" msgstr "_Über" #: src/interface.c:467 src/interface.c:469 msgid "Connect/Disconnect to your device." msgstr "Verbinden/Trennen von Gerät." #: src/interface.c:483 src/interface.c:3066 src/playlist.c:176 msgid "Add" msgstr "Hinzufügen" #: src/interface.c:487 src/interface.c:489 msgid "Add Files to your device." msgstr "Hinzufügen von Dateien zu Ihrem Gerät." #: src/interface.c:487 msgid "Add a varity of Files to your device in the current folder." msgstr "Füge mehrere Dateien auf Ihr Gerät im aktuellen Ordner hinzu." #: src/interface.c:497 msgid "Delete" msgstr "Löschen" #: src/interface.c:501 src/interface.c:503 msgid "Delete Files/Folders from your device." msgstr "Löschen von Dateien/Ordnern vom Gerät." #: src/interface.c:501 msgid "" "Permanently remove files/folders from your device. Note: Albums are stored " "as *.alb files." msgstr "" "Dateien/Ordner dauerhaft von Ihrem Gerät entfernen. Hinweis: Die Alben " "werden als *.alb-Dateien gespeichert." #: src/interface.c:515 src/interface.c:517 msgid "Download Files from your device to your Host PC." msgstr "Dateien vom Gerät zum PC herunterladen." #: src/interface.c:515 msgid "" "Download files from your device to your PC. Default Download path is set in " "the preferences dialog." msgstr "" "Herunterladen von Dateien von Ihrem Gerät auf Ihren PC. Standard Download-" "Pfad ist im Einstellungen-Dialog eingestellt." #: src/interface.c:535 src/interface.c:537 msgid "Upload an image file as Album Art." msgstr "Hochladen einer Bilddatei als Album-Cover." #: src/interface.c:535 msgid "Upload a JPG file and assign it as Album Art." msgstr "Laden Sie ein JPG-Datei hoch und weisen Sie es als Album-Cover zu." #: src/interface.c:545 src/interface.c:3011 msgid "Playlists" msgstr "Playlisten" #: src/interface.c:549 src/interface.c:551 msgid "Add and Modify Playlists." msgstr "Hinzufügen und Ändern von Playlisten." #: src/interface.c:559 msgid "Refresh" msgstr "Aktualisieren" #: src/interface.c:563 src/interface.c:565 msgid "Refresh File/Folder listing." msgstr "Aktualisieren von Dateien und Ordnern." #: src/interface.c:579 msgid "Properties" msgstr "Eigenschaften" #: src/interface.c:583 src/interface.c:585 msgid "View Device Properties." msgstr "Geräte Eigenschaften." #: src/interface.c:593 msgid "Preferences" msgstr "Einstellungen" #: src/interface.c:597 src/interface.c:599 msgid "View/Change gMTP Preferences." msgstr "Anzeigen/ändern von gMTP Einstellungen." #: src/interface.c:644 msgid "Find:" msgstr "Suchen:" #: src/interface.c:666 msgid "Filenames" msgstr "Dateiname" #: src/interface.c:671 msgid "Track Information" msgstr "Information" #: src/interface.c:1053 src/interface.c:1068 msgid "Filename" msgstr "Dateiname" #: src/interface.c:1094 src/interface.c:1103 msgid "Size" msgstr "Größe" #: src/interface.c:1157 src/interface.c:1166 src/playlist.c:682 #: src/playlist.c:746 msgid "Track" msgstr "Titel" #: src/interface.c:1305 src/interface.c:1314 msgid "Location" msgstr "Information" #: src/interface.c:1331 msgid "Folder" msgstr "Ordner" #: src/interface.c:1378 msgid "Select Files to Add" msgstr "Dateien zum Hinzufügen auswählen" #: src/interface.c:1857 #, c-format msgid "Found %d items" msgstr "%d Objekt gefunden" #: src/interface.c:1859 #, c-format msgid "Found %d item" msgstr "%d Objekt gefunden" # ########################################################## #: src/interface.c:2053 src/interface.c:2054 msgid "I don't know how to download a parent folder reference?\n" msgstr "" "Ich weiß nicht, wie man einen übergeordneten Ordner Referenz herunterladen?\n" #: src/interface.c:2080 msgid "Unable to move the selected file?\n" msgstr "Unfähig, die ausgewählte Datei zu bewegen?\n" #: src/interface.c:2203 src/interface.c:2204 msgid "I don't know how to delete a parent folder reference?\n" msgstr "Ich weiß nicht, wie man einen übergeordneten Ordnerverweis lösche?\n" #: src/interface.c:2371 msgid "Error" msgstr "Fehler" #: src/interface.c:2387 msgid "Information" msgstr "Information" #: src/interface.c:2398 msgid "New Folder" msgstr "Neuer Ordner" #: src/interface.c:2400 src/interface.c:2455 src/interface.c:2513 #: src/interface.c:2573 src/interface.c:2653 src/interface.c:3013 #: src/interface.c:3197 src/playlist.c:881 msgid "_OK" msgstr "_OK" #: src/interface.c:2420 msgid "Folder Name:" msgstr "Ordnername:" #: src/interface.c:2475 msgid "Device Name:" msgstr "Gerätename:" #: src/interface.c:2511 msgid "Rename File/Folder" msgstr "Datei/Ordner umbenennen" #: src/interface.c:2533 msgid "File Name:" msgstr "Dateiname:" #: src/interface.c:2571 msgid "Connect to which device?" msgstr "Verbinden mit welchem Gerät?" #: src/interface.c:2592 msgid "Device:" msgstr "Gerät:" #: src/interface.c:2618 #, c-format msgid "Unknown : %04x:%04x @ bus %d, dev %d" msgstr "Unbekannt : %04x:%04x @ bus %d, dev %d" #: src/interface.c:2651 msgid "Connect to which storage device?" msgstr "Verbinden mit welchem Speichergerät?" #: src/interface.c:2673 msgid "Storage Device:" msgstr "Speichergerät:" #: src/interface.c:2694 #, c-format msgid "Unknown id: %d, %s" msgstr "Unbekannt id: %d, %s" #: src/interface.c:2724 #, c-format msgid "" "File %s already exists in target folder.\n" "Do you want to:" msgstr "" "Datei %s existiert bereits in Zielordner.\n" "Wollen Sie:" #: src/interface.c:2726 msgid "Skip" msgstr "Überspringen" #: src/interface.c:2727 msgid "Skip All" msgstr "Alle überspringen" #: src/interface.c:2728 msgid "Overwrite" msgstr "Überschreiben" #: src/interface.c:2729 msgid "Overwrite All" msgstr "Alle überschreiben" #: src/interface.c:2731 msgid "Question: Confirm Overwrite of Existing File?" msgstr "Frage: Bestätigen beim Überschreiben von Dateien?" #: src/interface.c:2771 msgid "Rename File" msgstr "Datei umbenennen" #: src/interface.c:2783 msgid "Add To Playlist" msgstr "Neue Playlist einfügen" #: src/interface.c:2787 msgid "Remove From Playlist" msgstr "Entferne Datei von Playlist" #: src/interface.c:2807 src/interface.c:2970 msgid "Refresh Device" msgstr "Gerät aktualisieren" #: src/interface.c:2954 msgid "Rename Folder" msgstr "Ordner umbenennen" #: src/interface.c:3035 src/playlist.c:902 msgid "Playlist Name:" msgstr "Name der Playlist:" #: src/interface.c:3075 src/interface.c:3077 src/playlist.c:153 #: src/playlist.c:155 msgid "Add New Playlist" msgstr "Neue Playlist einfügen" #: src/mtp.c:104 src/mtp.c:105 msgid "Detect: No raw devices found.\n" msgstr "Fehler: Kein Gerät gefunden.\n" #: src/mtp.c:108 src/mtp.c:109 src/mtp.c:117 src/mtp.c:118 msgid "Detect: There has been an error connecting. \n" msgstr "Fehler: Fehler beim verbinden.\n" #: src/mtp.c:112 src/mtp.c:113 msgid "Detect: Encountered a Memory Allocation Error. \n" msgstr "Fehler: Speicherzugriffsfehler.\n" #: src/mtp.c:142 src/mtp.c:143 msgid "Detect: Unable to open raw device?\n" msgstr "Fehler: Verbindung zu Gerät nicht möglich.\n" #: src/mtp.c:156 src/mtp.c:157 msgid "Detect: No available Storage found on device?\n" msgstr "Fehler: Keine verfügbaren Speicher gefunden auf device \n" #: src/mtp.c:238 src/mtp.c:244 msgid "Unknown" msgstr "Unbekannt" #: src/mtp.c:330 msgid "DevicePropeties: How did I get called?\n" msgstr "Geräteeigenschaften: Wie werde ich genannt?\n" #: src/mtp.c:438 msgid "Failed to get storage parameters from the device - need to disconnect." msgstr "" "Fehler beim Abrufen von Speicher-Parametern vom Gerät - Verbindung muss " "getrennt werden." #: src/mtp.c:466 msgid "Rescan: How did I get called?\n" msgstr "Rescan: Wie wurde ich genannt?\n" #: src/mtp.c:574 #, c-format msgid "" "Unable to add %s due to insufficient space: filesize = %llu, freespace = " "%llu\n" msgstr "" "Kann %s nicht hinzuzufügen wegen Platzmangels: Dateigröße = %llu, freier " "Speicherplatz = %llu\n" #: src/mtp.c:578 msgid "Unable to add file due to insufficient space" msgstr "Datei konnte wegen Platzmangels nicht hinzugefügt werden" #: src/mtp.c:644 src/mtp.c:654 msgid "" msgstr "" #: src/mtp.c:675 msgid "Error sending track.\n" msgstr "Fehler beim Senden der Musiktitel.\n" #: src/mtp.c:676 #, fuzzy, c-format msgid "Error code %d sending track to device: %s" msgstr "Fehlercode %d beim Senden zum Gerät: %s" #: src/mtp.c:680 src/mtp.c:681 src/mtp.c:737 src/mtp.c:738 src/mtp.c:845 #: src/mtp.c:846 msgid "Transfer canceled." msgstr "" #: src/mtp.c:732 #, c-format msgid "Error sending file %s.\n" msgstr "Fehler beim Senden der Datei %s.\n" #: src/mtp.c:733 #, fuzzy msgid "Error sending file: " msgstr "Fehler beim Senden der Datei:" #: src/mtp.c:811 #, c-format msgid "" "\n" "Failed to delete file %s\n" msgstr "" "\n" "Konnte die Datei nicht löschen %s\n" #: src/mtp.c:812 #, fuzzy msgid "Failed to delete file: " msgstr "Konnte die Datei nicht löschen" #: src/mtp.c:840 msgid "" "\n" "Error getting file from MTP device.\n" msgstr "" "\n" "Fehler beim Abrufen der Datei aus MTP-Gerät.\n" #: src/mtp.c:841 msgid "Error getting file from MTP device." msgstr "Fehler beim Abrufen der Datei vom MTP-Gerät." #: src/mtp.c:964 src/mtp.c:1045 #, c-format msgid "Folder creation failed: %s\n" msgstr "Ordner erstellen fehlgeschlagen: %s\n" #: src/mtp.c:965 msgid "Folder creation failed:" msgstr "Ordner erstellen fehlgeschlagen:" #: src/mtp.c:1010 #, c-format msgid "Couldn't delete folder %s (%x)\n" msgstr "Ordner konnte nicht gelöscht werden %s (%x)\n" #: src/mtp.c:1046 #, fuzzy msgid "Folder creation failed: " msgstr "Ordner erstellen fehlgeschlagen:" #: src/mtp.c:1259 #, c-format msgid "Error: Couldn't set device name to %s\n" msgstr "Fehler: Konnte Gerätenamen nicht setzen zu %s\n" #: src/mtp.c:1265 msgid "setDeviceName: How did I get called?\n" msgstr "setDeviceName: Wie wurde ich genannt?\n" #: src/mtp.c:1462 msgid "ERROR: Failed memory allocation in albumAddTrackToAlbum()\n" msgstr "ERROR: Speicherzuweisung in albumAddTrackToAlbum() gescheitert\n" #: src/mtp.c:1491 src/mtp.c:1492 msgid "" "Error creating or updating album.\n" "(This could be due to that your device does not support albums.)\n" msgstr "" "Fehler beim Erstellen oder Aktualisieren von Album.\n" "(Dies könnte darauf zurückzuführen sein, dass Ihr Gerät keine Alben " "unterstützt.)\n" #: src/mtp.c:1520 msgid "ERROR: Failed memory allocation in albumAddArt()\n" msgstr "ERROR: Speicherzuweisung in albumAddArt() gescheitert\n" #: src/mtp.c:1525 src/mtp.c:1532 #, c-format msgid "Couldn't open image file %s\n" msgstr "Bild-Datei konnte nicht geöffnet werden %s\n" #: src/mtp.c:1545 src/mtp.c:1546 msgid "Couldn't send album art\n" msgstr "Album-Cover konnte nicht gesendet werden\n" #: src/mtp.c:1590 src/mtp.c:1591 msgid "Couldn't remove album art\n" msgstr "Konnte Album-Cover nicht entfernen\n" #: src/mtp.c:1642 src/mtp.c:1744 msgid "Couldn't create playlist object\n" msgstr "Playlist konnte nicht erstellt werden\n" #: src/mtp.c:1654 msgid "Deleting playlist failed?\n" msgstr "Löschen von Playlist gescheitert?\n" #: src/mtp.c:1665 msgid "Updating playlist failed?\n" msgstr "Aktualisieren der Playlist gescheitert?\n" #: src/mtp.c:1690 #, c-format msgid "Couldn't open playlist file %s\n" msgstr "Konnte Playlist-Datei %s nicht öffnen\n" #: src/mtp.c:1691 msgid "Couldn't open playlist file\n" msgstr "Konnte Playlist-Datei nicht öffnen\n" #: src/mtp.c:1713 msgid "realloc in playlistImport failed\n" msgstr "realloc in savePlayList gescheitert\n" #: src/mtp.c:1714 msgid "Updating playlist failed? 'realloc in playlistImport'\n" msgstr "Aktualisieren der Playlist gescheitert? 'realloc in savePlayList'\n" #: src/mtp.c:1750 msgid "Playlist imported.\n" msgstr "Playlist importiert.\n" #: src/mtp.c:1754 src/mtp.c:1755 msgid "" "Found no tracks within the playlist that exist on this device. Did not " "import the playlist.\n" msgstr "" "Konnte keine Titel in der Playlist finden, die auf dem Gerät existieren. " "Playlist wurde nicht importiert.\n" #: src/mtp.c:1780 #, c-format msgid "Couldn't save playlist file %s\n" msgstr "Konnte Playlist-Datei %s nicht speichern\n" #: src/mtp.c:1781 msgid "Couldn't save playlist file\n" msgstr "Konnte Playlist-Datei nicht speichern\n" #: src/mtp.c:1806 msgid "Format Device failed?\n" msgstr "Formatierung gescheitert?\n" #: src/mtp.c:1824 src/mtp.c:1878 src/playlist.c:1158 src/playlist.c:1170 msgid "realloc in savePlayList failed\n" msgstr "realloc in savePlayList gescheitert\n" #: src/mtp.c:1825 src/mtp.c:1879 src/playlist.c:1159 src/playlist.c:1171 msgid "Updating playlist failed? 'realloc in savePlayList'\n" msgstr "Aktualisieren der Playlist gescheitert? 'realloc in savePlayList'\n" #: src/mtp.c:2096 src/mtp.c:2152 src/mtp.c:2238 msgid "malloc in filesSearch failed\n" msgstr "realloc in savePlayList gescheitert\n" #: src/mtp.c:2097 src/mtp.c:2153 src/mtp.c:2239 msgid "Failed searching? 'malloc in filesSearch'\n" msgstr "" #: src/mtp.c:2303 msgid "malloc in foldersearch failed\n" msgstr "realloc in savePlayList gescheitert\n" #: src/mtp.c:2304 msgid "Failed searching? 'malloc in foldersearch'\n" msgstr "" #: src/playlist.c:98 msgid " Playlists" msgstr " Playlisten" #: src/playlist.c:124 msgid "Current Playlist: " msgstr "Aktuelle Playlist: " #: src/playlist.c:185 src/playlist.c:187 msgid "Remove Current Selected Playlist" msgstr "Entfernen Sie aktuell ausgewählte Playlist" #: src/playlist.c:209 msgid "Del" msgstr "Löschen" #: src/playlist.c:217 msgid "Open" msgstr "Öffnen" # ########################################################## #: src/playlist.c:223 src/playlist.c:225 msgid "Import Playlist" msgstr "Playlist importieren" #: src/playlist.c:232 msgid "Save" msgstr "Speichern" #: src/playlist.c:238 src/playlist.c:240 msgid "Export Playlist" msgstr "Playlist exportieren" #: src/playlist.c:262 src/playlist.c:264 msgid "Device Audio Tracks" msgstr "Audio-Dateien" #: src/playlist.c:287 src/playlist.c:289 msgid "Add file to playlist" msgstr "Datei zu Playlist hinzufügen" #: src/playlist.c:310 msgid "Add File" msgstr "Datei hinzufügen" #: src/playlist.c:318 src/playlist.c:320 msgid "Remove file from playlist" msgstr "Entferne Datei von Playlist" #: src/playlist.c:341 msgid "Del File" msgstr "Datei löschen" #: src/playlist.c:355 src/playlist.c:357 msgid "Playlist Audio Tracks" msgstr "Titel in Playlist" #: src/playlist.c:387 src/playlist.c:389 msgid "Move selected file up in the playlist" msgstr "Bewege die ausgewählte Datei herauf in der Playlist" #: src/playlist.c:404 src/playlist.c:406 msgid "Move selected file down in the playlist" msgstr "Bewege die ausgewählte Datei herunter in der Playlist" #: src/playlist.c:419 msgid "Close" msgstr "Schließen" #: src/playlist.c:708 msgid "Num" msgstr "Nummer" #: src/playlist.c:879 msgid "New Playlist" msgstr "Neue Playlist" #: src/playlist.c:1253 msgid "Select Playlist to Import" msgstr "Wählen Sie die zu importierende Playlist" #: src/playlist.c:1303 src/playlist.c:1304 msgid "The playlist failed to import correctly.\n" msgstr "Die Playlist konnte nicht korrekt importiert werden.\n" #: src/playlist.c:1335 msgid "Save as..." msgstr "Speichern unter..." #: src/preferences.c:72 msgid " Preferences" msgstr " Einstellungen" #: src/preferences.c:97 msgid "Application" msgstr "Application" #: src/preferences.c:124 msgid "Toolbar Style:" msgstr "" #: src/preferences.c:132 src/preferences.c:139 src/preferences.c:771 #: src/preferences.c:805 msgid "both" msgstr "" #: src/preferences.c:133 src/preferences.c:140 src/preferences.c:773 #: src/preferences.c:807 msgid "icon" msgstr "" #: src/preferences.c:134 src/preferences.c:141 src/preferences.c:775 #: src/preferences.c:809 msgid "text" msgstr "" #: src/preferences.c:184 msgid "Device" msgstr "Device" #: src/preferences.c:189 msgid "Attempt to connect to Device on startup" msgstr "Versuchen, beim Start zum Gerät zu verbinden" #: src/preferences.c:193 msgid "Utilize alternate access method" msgstr "Nutzen Sie alternative Zugriffsmethode" #: src/preferences.c:202 msgid "File Operations" msgstr "Dateioperationen" #: src/preferences.c:229 msgid "Confirm File/Folder Delete" msgstr "Löschen von Datei/Ordner bestätigen" #: src/preferences.c:233 msgid "Prompt if to Overwrite file if already exists" msgstr "Fragen, wenn Dateien überschrieben werden, die bereits existieren" #: src/preferences.c:237 msgid "Suppress Album Errors" msgstr "Unterdrückt Album Errors" # ########################################################## #: src/preferences.c:241 msgid "Treat all media as regular files" msgstr "Behandeln Sie alle Mediendateien wie reguläre Dateien" #: src/preferences.c:245 msgid "Preserve file timestamps (during download)" msgstr "" #: src/preferences.c:256 msgid "Playlist" msgstr "Playlist" #: src/preferences.c:282 msgid "Prompt to add New Music track to existing playlist" msgstr "Fragen beim Hinzufügen von neuen Titeln zu bestehender Playlist" #: src/preferences.c:286 msgid "Ignore path information when importing playlist" msgstr "Pfadinformationen beim Importieren der Playlist ignorieren" #: src/preferences.c:297 msgid "Filepaths on PC" msgstr "Dateipfade auf dem PC" #: src/preferences.c:324 msgid "Always show Download Path?" msgstr "Download-Pfad immer anzeigen?" #: src/preferences.c:344 msgid "Download Path:" msgstr "Download-Pfad:" #: src/preferences.c:360 msgid "Upload Path:" msgstr "Upload Pfad:" #: src/preferences.c:699 msgid "Select Path to Download to" msgstr "Wählen Sie Pfad, zu dem heruntergeladen werden soll" #: src/preferences.c:729 msgid "Select Path to Upload From" msgstr "Wählen Sie Pfad, von dem hochgeladen werden soll" #: src/prefs.c:102 msgid "" "WARNING: gconf schema invalid, reverting to defaults. Please ensure schema " "is loaded in gconf database.\n" msgstr "" "WARNUNG: gconf Schema ungültig, Rückgriff auf Standardwerte. Bitte stellen " "Sie sicher dass das Schema in der gconf-Datenbank geladen ist.\n" #: src/prefs.c:241 msgid "" "WARNING: gconf schema invalid, unable to save! Please ensure schema is " "loaded in gconf database.\n" msgstr "" "WARNUNG: gconf Schema ungültig, kann nicht speichern! Bitte stellen Sie " "sicher dass das Schema in der gconf-Datenbank geladen ist.\n" #: src/prefs.c:445 src/prefs.c:685 msgid "Disconnected device due to access method change" msgstr "Getrennt Geräts durch Methodenwechsel zugreifen" #: src/prefs.c:504 msgid "" "WARNING: gconf_callback_func() failed - we got a callback for a key thats " "not ours?\n" msgstr "" "WARNUNG: gconf_callback_func () failed - wir haben einen Callback für einen " "Key der nicht uns gehört?\n" #: src/prefs.c:734 msgid "" "WARNING: gsettings_callback_func() failed - we got a callback for a key " "thats not ours?\n" msgstr "" "WARNUNG: gsettings_callback_func () failed - wir haben einen Callback für " "einen Key der nicht uns gehört?\n" #: src/progress.c:79 msgid "file = ( x / x ) x %" msgstr "file = ( x / x ) x %" #: src/progress.c:194 #, c-format msgid "" "%s\n" "%s of %s (%d%%)" msgstr "" "%s\n" "%s von %s (%d%%)" #: src/progress.c:197 #, c-format msgid "%s of %s (%d%%)" msgstr "%s von %s (%d%%)" #: src/properties.c:69 msgid " Properties" msgstr " Eigenschaften" #: src/properties.c:91 msgid "MTP Device Properties" msgstr "MTP-Gerät Eigenschaften" #: src/properties.c:96 msgid "Raw Device Information" msgstr "Rohe Geräte-Informationen" #: src/properties.c:138 msgid "Name:" msgstr "Name:" #: src/properties.c:139 msgid "Model Number:" msgstr "Modellnummer:" #: src/properties.c:140 msgid "Serial Number:" msgstr "Seriennummer:" #: src/properties.c:141 msgid "Device Version:" msgstr "Device Version:" #: src/properties.c:142 msgid "Manufacturer:" msgstr "Hersteller:" #: src/properties.c:143 msgid "Battery Level:" msgstr "Batterie-Füllstand:" #: src/properties.c:144 msgid "Storage:" msgstr "Speicherplatz:" #: src/properties.c:145 msgid "Supported Formats:" msgstr "Unterstützte Formate:" #: src/properties.c:147 msgid "Vendor:" msgstr "Hersteller:" #: src/properties.c:148 msgid "Product:" msgstr "Produkt:" #: src/properties.c:149 msgid "Vendor ID:" msgstr "Vendor-ID:" #: src/properties.c:150 msgid "Product ID:" msgstr "Produkt-ID:" #: src/properties.c:151 msgid "Device Number:" msgstr "Device-Nummer:" #: src/properties.c:152 msgid "Bus Location:" msgstr "Bus Adresse:" #: src/properties.c:191 #, c-format msgid "%d MB (free) / %d MB (total)" msgstr "%d MB (frei) / %d MB (gesamt)" #~ msgid "Secure Time:" #~ msgstr "Sichere Zeit:" #~ msgid "Sync Partner:" #~ msgstr "Synchronisations-Partner:" #~ msgid "Quit" #~ msgstr "Beenden" #~ msgid "Quit gMTP." #~ msgstr "gMTP beenden" #~ msgid "%s - %s of %s (%d%%)" #~ msgstr "%s - %s von %s (%d%%)" #~ msgid " %s %s : (%04x:%04x) @ bus %d, dev %d" #~ msgstr " %s %s : (%04x:%04x) @ bus %d, dev %d" #~ msgid " : %d MB (free) / %d MB (total)" #~ msgstr " : %d MB (frei) / %d MB (gesamt)" #~ msgid "" #~ msgstr "" #~ msgid "Add Album Art" #~ msgstr "Album-Cover hinzufügen" #~ msgid "FileSize Hidden" #~ msgstr "Dateigröße versteckt" #~ msgid "Filename:" #~ msgstr "Dateiname:" #~ msgid "Object ID" #~ msgstr "Objekt-ID" #~ msgid "file://" #~ msgstr "file://" gmtp-1.3.10/po/de.po~0000664000175000001440000007507712266214712011251 00000000000000# gmtp Language POT file. # Copyright (C) 2103 Darran Kartaschew # This file is distributed under the same license as the gmtp package. # Darran Kartaschew, 2013, chewy509@mailcity.com. # msgid "" msgstr "" "Project-Id-Version: gmtp 1.3.5\n" "Report-Msgid-Bugs-To: chewy509@mailcity.com\n" "POT-Creation-Date: 2014-01-17 12:42+1000\n" "PO-Revision-Date: 2014-01-17 12:45+1000\n" "Last-Translator: \n" "Language-Team: chewy509@mailcity.com\n" "Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Poedit 1.6.3\n" #: src/about.c:75 src/about.c:148 msgid "" "A simple MTP Client for Solaris 10\n" "and other UNIX / UNIX-like systems\n" msgstr "" "Ein einfacher MTP-Client für Solaris 10\n" "und andere UNIX/UNIX-ähnlichen Systeme\n" #: src/about.c:106 msgid "translator-credits" msgstr "Laurenz Kamp" #: src/about.c:114 msgid "About gMTP" msgstr "Über gMTP" #: src/about.c:116 src/albumart.c:78 src/preferences.c:427 #: src/properties.c:603 msgid "_Close" msgstr "_Schließen" #: src/about.c:160 msgid "" "Copyright 2009-2014, Darran Kartaschew\n" "Released under the BSD License" msgstr "" "Copyright 2009-2014, Darran Kartaschew\n" "unter der BSD Licence veröffentlicht" #: src/albumart.c:76 src/interface.c:346 src/interface.c:546 msgid "Album Art" msgstr "Album Cover" #: src/albumart.c:106 msgid "Album:" msgstr "Album:" #: src/albumart.c:124 msgid "" "No Albums available to set Album Art with. Either:\n" "1. You have no music files uploaded?\n" "2. Your device does not support Albums?\n" "3. Previous applications used to upload files do not autocreate albums for " "you or support the metadata for those files in order to create the albums " "for you?\n" msgstr "" "Keine Alben zur Verfügung um Cover zu ändern. Entweder:\n" "1. Sie haben keine Musik-Dateien hochgeladen?\n" "2. Ihr Gerät unterstützt keine Alben?\n" "3. Vorherige Anwendungen haben Dateien hochgeladen ohne Alben zu erstellen " "oder unterstützen keine Meta-Daten, um Alben zu erstellen?\n" #: src/albumart.c:175 msgid "Upload" msgstr "Hochladen" #: src/albumart.c:179 msgid "Remove" msgstr "Entfernen" #: src/albumart.c:184 src/interface.c:526 msgid "Download" msgstr "Download" #: src/albumart.c:321 msgid "Select Album Art File" msgstr "Wählen Sie die Cover-Datei" #: src/albumart.c:323 src/albumart.c:425 src/callbacks.c:415 #: src/interface.c:1422 src/interface.c:1973 src/interface.c:2015 #: src/interface.c:2513 src/interface.c:2573 src/interface.c:2636 #: src/interface.c:3163 src/interface.c:3360 src/playlist.c:953 #: src/playlist.c:1386 src/playlist.c:1473 src/preferences.c:727 #: src/preferences.c:762 src/progress.c:128 msgid "_Cancel" msgstr "_Abbrechen" #: src/albumart.c:324 src/callbacks.c:416 src/interface.c:1423 #: src/interface.c:1974 src/interface.c:2016 src/playlist.c:1387 #: src/playlist.c:1474 src/preferences.c:728 src/preferences.c:763 msgid "_Open" msgstr "Öffnen" # ########################################## #: src/albumart.c:423 msgid "Save Album Art File" msgstr "Album-Cover speichern" #: src/albumart.c:426 msgid "_Save" msgstr "_Speichern" #: src/albumart.c:445 #, c-format msgid "Couldn't save image file %s\n" msgstr "Konnte Bild-Datei %s nicht speichern\n" #: src/albumart.c:446 msgid "Couldn't save image file\n" msgstr "Konnte Bild-Datei nicht speichern\n" #: src/callbacks.c:114 src/dnd.c:72 src/dnd.c:137 msgid "File Upload" msgstr "Datei-Upload" #: src/callbacks.c:156 src/callbacks.c:210 src/callbacks.c:248 #: src/callbacks.c:291 src/callbacks.c:565 src/callbacks.c:618 #: src/callbacks.c:692 src/callbacks.c:730 src/playlist.c:510 #: src/playlist.c:533 msgid "No files/folders selected?" msgstr "Keine Dateien/Ordner ausgewählt?" #: src/callbacks.c:173 msgid "Unable to rename parent folder\n" msgstr "Unfähig, die ausgewählten Ordner zu verschieben?\n" #: src/callbacks.c:174 msgid "Unable to rename this folder" msgstr "Unfähig, die ausgewählten Ordner zu verschieben?" #: src/callbacks.c:201 msgid "" "The move function is disabled when using the alternate access method for " "your device." msgstr "" "Die Move-Funktion ist deaktiviert, wenn die alternative Zugriffsmethode für " "Ihr Gerät." #: src/callbacks.c:262 msgid "Are you sure you want to delete these files?" msgstr "Sind Sie sicher, dass Sie diese Dateien löschen möchten?" #: src/callbacks.c:263 src/callbacks.c:584 src/callbacks.c:745 msgid "Confirm Delete" msgstr "Löschen bestätigen" #: src/callbacks.c:287 src/callbacks.c:297 src/callbacks.c:409 #: src/callbacks.c:425 src/callbacks.c:432 src/interface.c:2026 #: src/interface.c:2034 msgid "File download" msgstr "Datei herunterladen" #: src/callbacks.c:322 msgid "Disconnect" msgstr "Trennen" #: src/callbacks.c:326 src/callbacks.c:335 src/callbacks.c:926 #: src/callbacks.c:934 src/mtp.c:497 src/mtp.c:505 src/properties.c:700 #: src/properties.c:709 #, c-format msgid "Connected to %s - %d MB free" msgstr "Verbunden mit %s - %d MB frei" #: src/callbacks.c:330 src/callbacks.c:930 src/mtp.c:501 src/properties.c:704 #, c-format msgid "Connected to %s (%s) - %d MB free" msgstr "Verbunden mit %s (%s) - %d MB frei" #: src/callbacks.c:345 msgid "Disconnect Device" msgstr "Gerät trennen" #: src/callbacks.c:354 src/interface.c:478 msgid "Connect" msgstr "Verbinden" #: src/callbacks.c:357 src/main.c:124 msgid "No device attached" msgstr "Kein Gerät angeschlossen" #: src/callbacks.c:361 msgid "Connect Device" msgstr "Gerät verbinden" #: src/callbacks.c:413 src/interface.c:1971 src/interface.c:2013 msgid "Select Path to Download" msgstr "Wählen Sie den Pfad zum Herunterladen" #: src/callbacks.c:583 src/callbacks.c:744 msgid "Are you sure you want to delete this folder (and all contents)?" msgstr "" "Sie sind sicher, dass Sie diesen Ordner löschen möchten (und alle Inhalte)?" #: src/callbacks.c:639 src/callbacks.c:640 src/interface.c:2149 #: src/interface.c:2150 msgid "Unable to move the selected folder into itself?\n" msgstr "Unfähig, die ausgewählten Ordner in sich selbst zu bewegen?\n" #: src/callbacks.c:657 src/interface.c:2167 msgid "Unable to move the selected folder?\n" msgstr "Unfähig, die ausgewählten Ordner zu verschieben?\n" #: src/callbacks.c:663 src/callbacks.c:664 src/interface.c:2173 #: src/interface.c:2174 msgid "Unable to move the selected folder underneath itself?\n" msgstr "Unfähig, die ausgewählten Ordner unter sich zu bewegen?\n" #: src/callbacks.c:775 src/mtp.c:272 src/mtp.c:280 src/mtp.c:297 src/mtp.c:305 #: src/mtp.c:313 src/mtp.c:321 src/mtp.c:334 msgid "N/A" msgstr "N/A" #: src/callbacks.c:861 msgid "Please enter search item." msgstr "" #: src/callbacks.c:862 msgid "Search" msgstr "Suchen" #: src/callbacks.c:970 msgid "Searching..." msgstr "Suchen …" #: src/formatdevice.c:120 msgid "Are you sure you want to format this device?" msgstr "Sind Sie sicher, dass Sie dieses Gerät formatieren möchten?" #: src/formatdevice.c:121 src/interface.c:338 msgid "Format Device" msgstr "Gerät formatieren" #: src/interface.c:240 msgid "_File" msgstr "_Datei" #: src/interface.c:247 msgid "_Connect Device" msgstr "Gerät verbinden" #: src/interface.c:255 src/interface.c:2893 msgid "Add Files" msgstr "Dateien hinzufügen" #: src/interface.c:259 src/interface.c:2897 msgid "Delete Files" msgstr "Dateien löschen" #: src/interface.c:263 msgid "Rename Files" msgstr "Datei umbenennen" #: src/interface.c:267 src/interface.c:2909 src/interface.c:3103 #: src/interface.c:3357 msgid "Move To..." msgstr "Umzug nach..." #: src/interface.c:271 src/interface.c:2901 msgid "Download Files" msgstr "Dateien herunterladen" #: src/interface.c:279 src/interface.c:2929 src/interface.c:3091 msgid "Create Folder" msgstr "Ordner erstellen" #: src/interface.c:283 src/interface.c:2933 src/interface.c:3099 msgid "Delete Folder" msgstr "Ordner löschen" #: src/interface.c:291 msgid "Refresh Folder" msgstr "Ordner umbenennen" #: src/interface.c:297 msgid "Device Properties" msgstr "Geräteeigenschaften" #: src/interface.c:307 msgid "_Quit" msgstr "Beenden" #: src/interface.c:311 msgid "_Edit" msgstr "_Bearbeiten" #: src/interface.c:318 msgid "Select All" msgstr "Select All" #: src/interface.c:326 msgid "Find" msgstr "Suchen" #: src/interface.c:334 src/interface.c:2570 msgid "Change Device Name" msgstr "Geräte-Namen ändern" #: src/interface.c:350 msgid "Edit Playlist(s)" msgstr "Playliste bearbeiten" #: src/interface.c:358 msgid "_Preferences" msgstr "Einstellungen" #: src/interface.c:362 msgid "_View" msgstr "_Anzeigen" #: src/interface.c:370 msgid "Toolbar" msgstr "" # ########################################################## #: src/interface.c:378 msgid "Folders" msgstr "Ordnern" #: src/interface.c:386 src/interface.c:3001 msgid "File Size" msgstr "Datei-Größe" #: src/interface.c:390 src/interface.c:1164 src/interface.c:1173 #: src/interface.c:3005 msgid "File Type" msgstr "Dateityp" #: src/interface.c:394 src/interface.c:3009 msgid "Track Number" msgstr "Titelnummer" #: src/interface.c:398 src/interface.c:1209 src/interface.c:1218 #: src/interface.c:3013 msgid "Track Name" msgstr "Titelname" #: src/interface.c:402 src/interface.c:1228 src/interface.c:1237 #: src/interface.c:3017 src/playlist.c:704 src/playlist.c:774 msgid "Artist" msgstr "Künstler" #: src/interface.c:406 src/interface.c:1247 src/interface.c:1256 #: src/interface.c:3021 src/playlist.c:714 src/playlist.c:784 msgid "Album" msgstr "Album" #: src/interface.c:410 src/interface.c:1266 src/interface.c:1275 #: src/interface.c:3025 msgid "Year" msgstr "Jahr" #: src/interface.c:414 src/interface.c:1285 src/interface.c:1294 #: src/interface.c:3029 msgid "Genre" msgstr "Genre" #: src/interface.c:418 src/interface.c:1304 src/interface.c:1313 #: src/interface.c:3033 src/playlist.c:742 src/playlist.c:812 msgid "Duration" msgstr "Dauer" #: src/interface.c:422 msgid "_Help" msgstr "_Hilfe" #: src/interface.c:429 msgid "_About" msgstr "_Über" #: src/interface.c:482 src/interface.c:484 msgid "Connect/Disconnect to your device." msgstr "Verbinden/Trennen von Gerät." #: src/interface.c:498 src/interface.c:3202 src/playlist.c:192 msgid "Add" msgstr "Hinzufügen" #: src/interface.c:502 src/interface.c:504 msgid "Add Files to your device." msgstr "Hinzufügen von Dateien zu Ihrem Gerät." #: src/interface.c:502 msgid "Add a varity of Files to your device in the current folder." msgstr "Füge mehrere Dateien auf Ihr Gerät im aktuellen Ordner hinzu." #: src/interface.c:512 msgid "Delete" msgstr "Löschen" #: src/interface.c:516 src/interface.c:518 msgid "Delete Files/Folders from your device." msgstr "Löschen von Dateien/Ordnern vom Gerät." #: src/interface.c:516 msgid "" "Permanently remove files/folders from your device. Note: Albums are stored " "as *.alb files." msgstr "" "Dateien/Ordner dauerhaft von Ihrem Gerät entfernen. Hinweis: Die Alben " "werden als *.alb-Dateien gespeichert." #: src/interface.c:530 src/interface.c:532 msgid "Download Files from your device to your Host PC." msgstr "Dateien vom Gerät zum PC herunterladen." #: src/interface.c:530 msgid "" "Download files from your device to your PC. Default Download path is set in " "the preferences dialog." msgstr "" "Herunterladen von Dateien von Ihrem Gerät auf Ihren PC. Standard Download-" "Pfad ist im Einstellungen-Dialog eingestellt." #: src/interface.c:550 src/interface.c:552 msgid "Upload an image file as Album Art." msgstr "Hochladen einer Bilddatei als Album-Cover." #: src/interface.c:550 msgid "Upload a JPG file and assign it as Album Art." msgstr "Laden Sie ein JPG-Datei hoch und weisen Sie es als Album-Cover zu." #: src/interface.c:560 src/interface.c:3160 msgid "Playlists" msgstr "Playlisten" #: src/interface.c:564 src/interface.c:566 msgid "Add and Modify Playlists." msgstr "Hinzufügen und Ändern von Playlisten." #: src/interface.c:574 msgid "Refresh" msgstr "Aktualisieren" #: src/interface.c:578 src/interface.c:580 msgid "Refresh File/Folder listing." msgstr "Aktualisieren von Dateien und Ordnern." #: src/interface.c:594 msgid "Properties" msgstr "Eigenschaften" #: src/interface.c:598 src/interface.c:600 msgid "View Device Properties." msgstr "Geräte Eigenschaften." #: src/interface.c:608 msgid "Preferences" msgstr "Einstellungen" #: src/interface.c:612 src/interface.c:614 msgid "View/Change gMTP Preferences." msgstr "Anzeigen/ändern von gMTP Einstellungen." #: src/interface.c:659 msgid "Find:" msgstr "Suchen:" #: src/interface.c:681 msgid "Filenames" msgstr "Dateiname" #: src/interface.c:686 msgid "Track Information" msgstr "Information" #: src/interface.c:1079 src/interface.c:1094 msgid "Filename" msgstr "Dateiname" #: src/interface.c:1120 src/interface.c:1129 msgid "Size" msgstr "Größe" #: src/interface.c:1183 src/interface.c:1192 src/playlist.c:732 #: src/playlist.c:802 msgid "Track" msgstr "Titel" #: src/interface.c:1331 src/interface.c:1340 msgid "Location" msgstr "Information" #: src/interface.c:1357 msgid "Folder" msgstr "Ordner" #: src/interface.c:1420 msgid "Select Files to Add" msgstr "Dateien zum Hinzufügen auswählen" #: src/interface.c:1890 #, c-format msgid "Found %d items" msgstr "%d Objekt gefunden" #: src/interface.c:1892 #, c-format msgid "Found %d item" msgstr "%d Objekt gefunden" # ########################################################## #: src/interface.c:2108 src/interface.c:2109 msgid "I don't know how to download a parent folder reference?\n" msgstr "" "Ich weiß nicht, wie man einen übergeordneten Ordner Referenz herunterladen?\n" #: src/interface.c:2141 msgid "Unable to move the selected file?\n" msgstr "Unfähig, die ausgewählte Datei zu bewegen?\n" #: src/interface.c:2274 src/interface.c:2275 msgid "I don't know how to delete a parent folder reference?\n" msgstr "Ich weiß nicht, wie man einen übergeordneten Ordnerverweis lösche?\n" #: src/interface.c:2474 msgid "Error" msgstr "Fehler" #: src/interface.c:2494 msgid "Information" msgstr "Information" #: src/interface.c:2510 msgid "New Folder" msgstr "Neuer Ordner" #: src/interface.c:2512 src/interface.c:2572 src/interface.c:2635 #: src/interface.c:2698 src/interface.c:2780 src/interface.c:3162 #: src/interface.c:3359 src/playlist.c:952 msgid "_OK" msgstr "_OK" #: src/interface.c:2531 msgid "Folder Name:" msgstr "Ordnername:" #: src/interface.c:2591 msgid "Device Name:" msgstr "Gerätename:" #: src/interface.c:2633 msgid "Rename File/Folder" msgstr "Datei/Ordner umbenennen" #: src/interface.c:2654 msgid "File Name:" msgstr "Dateiname:" #: src/interface.c:2696 msgid "Connect to which device?" msgstr "Verbinden mit welchem Gerät?" #: src/interface.c:2715 msgid "Device:" msgstr "Gerät:" #: src/interface.c:2741 #, c-format msgid "Unknown : %04x:%04x @ bus %d, dev %d" msgstr "Unbekannt : %04x:%04x @ bus %d, dev %d" #: src/interface.c:2778 msgid "Connect to which storage device?" msgstr "Verbinden mit welchem Speichergerät?" #: src/interface.c:2798 msgid "Storage Device:" msgstr "Speichergerät:" #: src/interface.c:2819 #, c-format msgid "Unknown id: %d, %s" msgstr "Unbekannt id: %d, %s" #: src/interface.c:2854 #, c-format msgid "" "File %s already exists in target folder.\n" "Do you want to:" msgstr "" "Datei %s existiert bereits in Zielordner.\n" "Wollen Sie:" #: src/interface.c:2856 msgid "Skip" msgstr "Überspringen" #: src/interface.c:2857 msgid "Skip All" msgstr "Alle überspringen" #: src/interface.c:2858 msgid "Overwrite" msgstr "Überschreiben" #: src/interface.c:2859 msgid "Overwrite All" msgstr "Alle überschreiben" #: src/interface.c:2861 msgid "Question: Confirm Overwrite of Existing File?" msgstr "Frage: Bestätigen beim Überschreiben von Dateien?" #: src/interface.c:2905 msgid "Rename File" msgstr "Datei umbenennen" #: src/interface.c:2917 msgid "Add To Playlist" msgstr "Neue Playlist einfügen" #: src/interface.c:2921 msgid "Remove From Playlist" msgstr "Entferne Datei von Playlist" #: src/interface.c:2941 src/interface.c:3111 msgid "Refresh Device" msgstr "Gerät aktualisieren" #: src/interface.c:3095 msgid "Rename Folder" msgstr "Ordner umbenennen" #: src/interface.c:3183 src/playlist.c:971 msgid "Playlist Name:" msgstr "Name der Playlist:" #: src/interface.c:3211 src/interface.c:3213 src/playlist.c:169 #: src/playlist.c:171 msgid "Add New Playlist" msgstr "Neue Playlist einfügen" #: src/mtp.c:121 src/mtp.c:122 msgid "Detect: No raw devices found.\n" msgstr "Fehler: Kein Gerät gefunden.\n" #: src/mtp.c:125 src/mtp.c:126 src/mtp.c:134 src/mtp.c:135 msgid "Detect: There has been an error connecting. \n" msgstr "Fehler: Fehler beim verbinden.\n" #: src/mtp.c:129 src/mtp.c:130 msgid "Detect: Encountered a Memory Allocation Error. \n" msgstr "Fehler: Speicherzugriffsfehler.\n" #: src/mtp.c:156 src/mtp.c:157 msgid "Detect: Unable to open raw device?\n" msgstr "Fehler: Verbindung zu Gerät nicht möglich.\n" #: src/mtp.c:170 src/mtp.c:171 msgid "Detect: No available Storage found on device?\n" msgstr "Fehler: Keine verfügbaren Speicher gefunden auf device \n" #: src/mtp.c:254 src/mtp.c:259 msgid "Unknown" msgstr "Unbekannt" #: src/mtp.c:360 msgid "DevicePropeties: How did I get called?\n" msgstr "Geräteeigenschaften: Wie werde ich genannt?\n" #: src/mtp.c:485 msgid "Failed to get storage parameters from the device - need to disconnect." msgstr "" "Fehler beim Abrufen von Speicher-Parametern vom Gerät - Verbindung muss " "getrennt werden." #: src/mtp.c:512 msgid "Rescan: How did I get called?\n" msgstr "Rescan: Wie wurde ich genannt?\n" #: src/mtp.c:658 #, c-format msgid "" "Unable to add %s due to insufficient space: filesize = %llu, freespace = " "%llu\n" msgstr "" "Kann %s nicht hinzuzufügen wegen Platzmangels: Dateigröße = %llu, freier " "Speicherplatz = %llu\n" #: src/mtp.c:662 msgid "Unable to add file due to insufficient space" msgstr "Datei konnte wegen Platzmangels nicht hinzugefügt werden" #: src/mtp.c:728 src/mtp.c:738 msgid "" msgstr "" #: src/mtp.c:757 msgid "Error sending track.\n" msgstr "Fehler beim Senden der Musiktitel.\n" #: src/mtp.c:758 #, c-format msgid "Error code %d sending track to device: %s" msgstr "Fehlercode %d beim Senden zum Gerät: %s" #: src/mtp.c:805 #, c-format msgid "Error sending file %s.\n" msgstr "Fehler beim Senden der Datei %s.\n" #: src/mtp.c:806 msgid "Error sending file:" msgstr "Fehler beim Senden der Datei:" #: src/mtp.c:884 #, c-format msgid "" "\n" "Failed to delete file %s\n" msgstr "" "\n" "Konnte die Datei nicht löschen %s\n" #: src/mtp.c:885 msgid "Failed to delete file" msgstr "Konnte die Datei nicht löschen" #: src/mtp.c:916 msgid "" "\n" "Error getting file from MTP device.\n" msgstr "" "\n" "Fehler beim Abrufen der Datei aus MTP-Gerät.\n" #: src/mtp.c:917 msgid "Error getting file from MTP device." msgstr "Fehler beim Abrufen der Datei vom MTP-Gerät." #: src/mtp.c:1026 src/mtp.c:1125 #, c-format msgid "Folder creation failed: %s\n" msgstr "Ordner erstellen fehlgeschlagen: %s\n" #: src/mtp.c:1027 src/mtp.c:1126 msgid "Folder creation failed:" msgstr "Ordner erstellen fehlgeschlagen:" #: src/mtp.c:1080 #, c-format msgid "Couldn't delete folder %s (%x)\n" msgstr "Ordner konnte nicht gelöscht werden %s (%x)\n" #: src/mtp.c:1283 #, c-format msgid "Error: Couldn't set device name to %s\n" msgstr "Fehler: Konnte Gerätenamen nicht setzen zu %s\n" #: src/mtp.c:1289 msgid "setDeviceName: How did I get called?\n" msgstr "setDeviceName: Wie wurde ich genannt?\n" #: src/mtp.c:1436 msgid "ERROR: Failed memory allocation in albumAddTrackToAlbum()\n" msgstr "ERROR: Speicherzuweisung in albumAddTrackToAlbum() gescheitert\n" #: src/mtp.c:1465 src/mtp.c:1466 msgid "" "Error creating or updating album.\n" "(This could be due to that your device does not support albums.)\n" msgstr "" "Fehler beim Erstellen oder Aktualisieren von Album.\n" "(Dies könnte darauf zurückzuführen sein, dass Ihr Gerät keine Alben " "unterstützt.)\n" #: src/mtp.c:1499 msgid "ERROR: Failed memory allocation in albumAddArt()\n" msgstr "ERROR: Speicherzuweisung in albumAddArt() gescheitert\n" #: src/mtp.c:1504 src/mtp.c:1511 #, c-format msgid "Couldn't open image file %s\n" msgstr "Bild-Datei konnte nicht geöffnet werden %s\n" #: src/mtp.c:1524 src/mtp.c:1525 msgid "Couldn't send album art\n" msgstr "Album-Cover konnte nicht gesendet werden\n" #: src/mtp.c:1577 src/mtp.c:1578 msgid "Couldn't remove album art\n" msgstr "Konnte Album-Cover nicht entfernen\n" #: src/mtp.c:1641 src/mtp.c:1759 msgid "Couldn't create playlist object\n" msgstr "Playlist konnte nicht erstellt werden\n" #: src/mtp.c:1657 msgid "Deleting playlist failed?\n" msgstr "Löschen von Playlist gescheitert?\n" #: src/mtp.c:1672 msgid "Updating playlist failed?\n" msgstr "Aktualisieren der Playlist gescheitert?\n" #: src/mtp.c:1705 #, c-format msgid "Couldn't open playlist file %s\n" msgstr "Konnte Playlist-Datei %s nicht öffnen\n" #: src/mtp.c:1706 msgid "Couldn't open playlist file\n" msgstr "Konnte Playlist-Datei nicht öffnen\n" #: src/mtp.c:1728 msgid "realloc in playlistImport failed\n" msgstr "realloc in savePlayList gescheitert\n" #: src/mtp.c:1729 msgid "Updating playlist failed? 'realloc in playlistImport'\n" msgstr "Aktualisieren der Playlist gescheitert? 'realloc in savePlayList'\n" #: src/mtp.c:1765 msgid "Playlist imported.\n" msgstr "Playlist importiert.\n" #: src/mtp.c:1769 src/mtp.c:1770 msgid "" "Found no tracks within the playlist that exist on this device. Did not " "import the playlist.\n" msgstr "" "Konnte keine Titel in der Playlist finden, die auf dem Gerät existieren. " "Playlist wurde nicht importiert.\n" #: src/mtp.c:1802 #, c-format msgid "Couldn't save playlist file %s\n" msgstr "Konnte Playlist-Datei %s nicht speichern\n" #: src/mtp.c:1803 msgid "Couldn't save playlist file\n" msgstr "Konnte Playlist-Datei nicht speichern\n" #: src/mtp.c:1831 msgid "Format Device failed?\n" msgstr "Formatierung gescheitert?\n" #: src/mtp.c:1854 src/mtp.c:1914 src/playlist.c:1275 src/playlist.c:1287 msgid "realloc in savePlayList failed\n" msgstr "realloc in savePlayList gescheitert\n" #: src/mtp.c:1855 src/mtp.c:1915 src/playlist.c:1276 src/playlist.c:1288 msgid "Updating playlist failed? 'realloc in savePlayList'\n" msgstr "Aktualisieren der Playlist gescheitert? 'realloc in savePlayList'\n" #: src/mtp.c:2166 src/mtp.c:2222 src/mtp.c:2308 msgid "malloc in filesSearch failed\n" msgstr "realloc in savePlayList gescheitert\n" #: src/mtp.c:2167 src/mtp.c:2223 src/mtp.c:2309 msgid "Failed searching? 'malloc in filesSearch'\n" msgstr "" #: src/mtp.c:2385 msgid "malloc in foldersearch failed\n" msgstr "realloc in savePlayList gescheitert\n" #: src/mtp.c:2386 msgid "Failed searching? 'malloc in foldersearch'\n" msgstr "" #: src/playlist.c:125 msgid " Playlists" msgstr " Playlisten" #: src/playlist.c:150 msgid "Current Playlist: " msgstr "Aktuelle Playlist: " #: src/playlist.c:201 src/playlist.c:203 msgid "Remove Current Selected Playlist" msgstr "Entfernen Sie aktuell ausgewählte Playlist" #: src/playlist.c:225 msgid "Del" msgstr "Löschen" #: src/playlist.c:233 msgid "Open" msgstr "Öffnen" # ########################################################## #: src/playlist.c:239 src/playlist.c:241 msgid "Import Playlist" msgstr "Playlist importieren" #: src/playlist.c:248 msgid "Save" msgstr "Speichern" #: src/playlist.c:254 src/playlist.c:256 msgid "Export Playlist" msgstr "Playlist exportieren" #: src/playlist.c:278 src/playlist.c:280 msgid "Device Audio Tracks" msgstr "Audio-Dateien" #: src/playlist.c:303 src/playlist.c:305 msgid "Add file to playlist" msgstr "Datei zu Playlist hinzufügen" #: src/playlist.c:326 msgid "Add File" msgstr "Datei hinzufügen" #: src/playlist.c:334 src/playlist.c:336 msgid "Remove file from playlist" msgstr "Entferne Datei von Playlist" #: src/playlist.c:357 msgid "Del File" msgstr "Datei löschen" #: src/playlist.c:371 src/playlist.c:373 msgid "Playlist Audio Tracks" msgstr "Titel in Playlist" #: src/playlist.c:403 src/playlist.c:405 msgid "Move selected file up in the playlist" msgstr "Bewege die ausgewählte Datei herauf in der Playlist" #: src/playlist.c:420 src/playlist.c:422 msgid "Move selected file down in the playlist" msgstr "Bewege die ausgewählte Datei herunter in der Playlist" #: src/playlist.c:435 msgid "Close" msgstr "Schließen" #: src/playlist.c:764 msgid "Num" msgstr "Nummer" #: src/playlist.c:950 msgid "New Playlist" msgstr "Neue Playlist" #: src/playlist.c:1384 msgid "Select Playlist to Import" msgstr "Wählen Sie die zu importierende Playlist" #: src/playlist.c:1434 src/playlist.c:1435 msgid "The playlist failed to import correctly.\n" msgstr "Die Playlist konnte nicht korrekt importiert werden.\n" #: src/playlist.c:1471 msgid "Save as..." msgstr "Speichern unter..." #: src/preferences.c:108 msgid " Preferences" msgstr " Einstellungen" #: src/preferences.c:132 msgid "Application" msgstr "Application" #: src/preferences.c:149 msgid "Toolbar Style:" msgstr "" #: src/preferences.c:157 src/preferences.c:164 src/preferences.c:810 #: src/preferences.c:825 msgid "both" msgstr "" #: src/preferences.c:158 src/preferences.c:165 src/preferences.c:812 #: src/preferences.c:827 msgid "icon" msgstr "" #: src/preferences.c:159 src/preferences.c:166 src/preferences.c:814 #: src/preferences.c:829 msgid "text" msgstr "" #: src/preferences.c:206 msgid "Attempt to connect to Device on startup" msgstr "Versuchen, beim Start zum Gerät zu verbinden" #: src/preferences.c:210 msgid "Utilize alternate access method" msgstr "Nutzen Sie alternative Zugriffsmethode" #: src/preferences.c:214 msgid "Device" msgstr "Device" #: src/preferences.c:251 msgid "Confirm File/Folder Delete" msgstr "Löschen von Datei/Ordner bestätigen" #: src/preferences.c:255 msgid "Prompt if to Overwrite file if already exists" msgstr "Fragen, wenn Dateien überschrieben werden, die bereits existieren" #: src/preferences.c:259 msgid "Suppress Album Errors" msgstr "Unterdrückt Album Errors" # ########################################################## #: src/preferences.c:263 msgid "Treat all media as regular files" msgstr "Behandeln Sie alle Mediendateien wie reguläre Dateien" #: src/preferences.c:274 msgid "Playlist" msgstr "Playlist" #: src/preferences.c:296 msgid "Prompt to add New Music track to existing playlist" msgstr "Fragen beim Hinzufügen von neuen Titeln zu bestehender Playlist" #: src/preferences.c:300 msgid "Ignore path information when importing playlist" msgstr "Pfadinformationen beim Importieren der Playlist ignorieren" #: src/preferences.c:304 msgid "File Operations" msgstr "Dateioperationen" #: src/preferences.c:326 msgid "Always show Download Path?" msgstr "Download-Pfad immer anzeigen?" #: src/preferences.c:346 msgid "Download Path:" msgstr "Download-Pfad:" #: src/preferences.c:357 msgid "Upload Path:" msgstr "Upload Pfad:" #: src/preferences.c:411 msgid "Filepaths on PC" msgstr "Dateipfade auf dem PC" #: src/preferences.c:725 msgid "Select Path to Download to" msgstr "Wählen Sie Pfad, zu dem heruntergeladen werden soll" #: src/preferences.c:760 msgid "Select Path to Upload From" msgstr "Wählen Sie Pfad, von dem hochgeladen werden soll" #: src/prefs.c:120 msgid "" "WARNING: gconf schema invalid, reverting to defaults. Please ensure schema " "is loaded in gconf database.\n" msgstr "" "WARNUNG: gconf Schema ungültig, Rückgriff auf Standardwerte. Bitte stellen " "Sie sicher dass das Schema in der gconf-Datenbank geladen ist.\n" #: src/prefs.c:255 msgid "" "WARNING: gconf schema invalid, unable to save! Please ensure schema is " "loaded in gconf database.\n" msgstr "" "WARNUNG: gconf Schema ungültig, kann nicht speichern! Bitte stellen Sie " "sicher dass das Schema in der gconf-Datenbank geladen ist.\n" #: src/prefs.c:461 src/prefs.c:693 msgid "Disconnected device due to access method change" msgstr "Getrennt Geräts durch Methodenwechsel zugreifen" #: src/prefs.c:513 msgid "" "WARNING: gconf_callback_func() failed - we got a callback for a key thats " "not ours?\n" msgstr "" "WARNUNG: gconf_callback_func () failed - wir haben einen Callback für einen " "Key der nicht uns gehört?\n" #: src/prefs.c:733 msgid "" "WARNING: gsettings_callback_func() failed - we got a callback for a key " "thats not ours?\n" msgstr "" "WARNUNG: gsettings_callback_func () failed - wir haben einen Callback für " "einen Key der nicht uns gehört?\n" #: src/progress.c:104 msgid "file = ( x / x ) x %" msgstr "file = ( x / x ) x %" #: src/progress.c:219 #, c-format msgid "" "%s\n" "%s of %s (%d%%)" msgstr "" "%s\n" "%s von %s (%d%%)" #: src/progress.c:222 #, c-format msgid "%s of %s (%d%%)" msgstr "%s von %s (%d%%)" #: src/properties.c:111 msgid " Properties" msgstr " Eigenschaften" #: src/properties.c:132 msgid "MTP Device Properties" msgstr "MTP-Gerät Eigenschaften" #: src/properties.c:141 msgid "Raw Device Information" msgstr "Rohe Geräte-Informationen" #: src/properties.c:174 msgid "Name:" msgstr "Name:" #: src/properties.c:253 msgid "Model Number:" msgstr "Modellnummer:" #: src/properties.c:266 msgid "Serial Number:" msgstr "Seriennummer:" #: src/properties.c:279 msgid "Device Version:" msgstr "Device Version:" #: src/properties.c:292 msgid "Manufacturer:" msgstr "Hersteller:" #: src/properties.c:305 msgid "Battery Level:" msgstr "Batterie-Füllstand:" #: src/properties.c:318 msgid "Storage:" msgstr "Speicherplatz:" #: src/properties.c:344 msgid "Supported Formats:" msgstr "Unterstützte Formate:" #: src/properties.c:359 msgid "Secure Time:" msgstr "Sichere Zeit:" #: src/properties.c:372 msgid "Sync Partner:" msgstr "Synchronisations-Partner:" #: src/properties.c:449 msgid "Vendor:" msgstr "Hersteller:" #: src/properties.c:462 msgid "Product:" msgstr "Produkt:" #: src/properties.c:475 msgid "Vendor ID:" msgstr "Vendor-ID:" #: src/properties.c:488 msgid "Product ID:" msgstr "Produkt-ID:" #: src/properties.c:501 msgid "Device Number:" msgstr "Device-Nummer:" #: src/properties.c:514 msgid "Bus Location:" msgstr "Bus Adresse:" #: src/properties.c:632 #, c-format msgid "%d MB (free) / %d MB (total)" msgstr "%d MB (frei) / %d MB (gesamt)" #~ msgid "Quit" #~ msgstr "Beenden" #~ msgid "Quit gMTP." #~ msgstr "gMTP beenden" #~ msgid "%s - %s of %s (%d%%)" #~ msgstr "%s - %s von %s (%d%%)" #~ msgid " %s %s : (%04x:%04x) @ bus %d, dev %d" #~ msgstr " %s %s : (%04x:%04x) @ bus %d, dev %d" #~ msgid " : %d MB (free) / %d MB (total)" #~ msgstr " : %d MB (frei) / %d MB (gesamt)" #~ msgid "" #~ msgstr "" #~ msgid "Add Album Art" #~ msgstr "Album-Cover hinzufügen" #~ msgid "FileSize Hidden" #~ msgstr "Dateigröße versteckt" #~ msgid "Filename:" #~ msgstr "Dateiname:" #~ msgid "Object ID" #~ msgstr "Objekt-ID" #~ msgid "file://" #~ msgstr "file://" gmtp-1.3.10/po/es.po~0000664000175000001440000007701512266214712011262 00000000000000# gmtp Language POT file. # Copyright (C) 2103 Darran Kartaschew # This file is distributed under the same license as the gmtp package. # Darran Kartaschew, 2013, chewy509@mailcity.com. # msgid "" msgstr "" "Project-Id-Version: gmtp 1.3.5\n" "Report-Msgid-Bugs-To: chewy509@mailcity.com\n" "POT-Creation-Date: 2014-01-17 12:42+1000\n" "PO-Revision-Date: 2014-01-17 12:47+1000\n" "Last-Translator: \n" "Language-Team: chewy509@mailcity.com\n" "Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Poedit 1.6.3\n" #: src/about.c:75 src/about.c:148 msgid "" "A simple MTP Client for Solaris 10\n" "and other UNIX / UNIX-like systems\n" msgstr "" "Un sencillo reproductor de mp3 de cliente para\n" "Solaris 10 y otros sistemas UNIX / similar a UNIX\n" #: src/about.c:106 msgid "translator-credits" msgstr "Google" #: src/about.c:114 msgid "About gMTP" msgstr "Acerca de gMTP" #: src/about.c:116 src/albumart.c:78 src/preferences.c:427 #: src/properties.c:603 msgid "_Close" msgstr "_Cerrar" #: src/about.c:160 msgid "" "Copyright 2009-2014, Darran Kartaschew\n" "Released under the BSD License" msgstr "" "Copyright 2009-2014, Darran Kartaschew\n" "Distribuido bajo la BSD Licence" #: src/albumart.c:76 src/interface.c:346 src/interface.c:546 msgid "Album Art" msgstr "Album Art" #: src/albumart.c:106 msgid "Album:" msgstr "Álbum:" #: src/albumart.c:124 msgid "" "No Albums available to set Album Art with. Either:\n" "1. You have no music files uploaded?\n" "2. Your device does not support Albums?\n" "3. Previous applications used to upload files do not autocreate albums for " "you or support the metadata for those files in order to create the albums " "for you?\n" msgstr "" "No hay álbumes disponibles para crear carátulas con. O bien:\n" "1. Usted no tiene archivos de música subido?\n" "2. Su dispositivo no es compatible con Picasa?\n" "3. Solicitudes anteriores para subir archivos no autocreate álbumes para " "usted o apoyar a los metadatos de los archivos a fin de crear los discos " "para usted?\n" #: src/albumart.c:175 msgid "Upload" msgstr "Subir" #: src/albumart.c:179 msgid "Remove" msgstr "Eliminar" #: src/albumart.c:184 src/interface.c:526 msgid "Download" msgstr "Descargar" #: src/albumart.c:321 msgid "Select Album Art File" msgstr "Album Art Seleccione Archivo" #: src/albumart.c:323 src/albumart.c:425 src/callbacks.c:415 #: src/interface.c:1422 src/interface.c:1973 src/interface.c:2015 #: src/interface.c:2513 src/interface.c:2573 src/interface.c:2636 #: src/interface.c:3163 src/interface.c:3360 src/playlist.c:953 #: src/playlist.c:1386 src/playlist.c:1473 src/preferences.c:727 #: src/preferences.c:762 src/progress.c:128 msgid "_Cancel" msgstr "_Cancelar" #: src/albumart.c:324 src/callbacks.c:416 src/interface.c:1423 #: src/interface.c:1974 src/interface.c:2016 src/playlist.c:1387 #: src/playlist.c:1474 src/preferences.c:728 src/preferences.c:763 msgid "_Open" msgstr "_Abrir" # ########################################## #: src/albumart.c:423 msgid "Save Album Art File" msgstr "Guardar archivo de Album Art" #: src/albumart.c:426 msgid "_Save" msgstr "_Guardar" #: src/albumart.c:445 #, c-format msgid "Couldn't save image file %s\n" msgstr "No se pudo guardar el archivo de imagen %s\n" #: src/albumart.c:446 msgid "Couldn't save image file\n" msgstr "No se pudo guardar el archivo de imagen\n" #: src/callbacks.c:114 src/dnd.c:72 src/dnd.c:137 msgid "File Upload" msgstr "Carga de archivos" #: src/callbacks.c:156 src/callbacks.c:210 src/callbacks.c:248 #: src/callbacks.c:291 src/callbacks.c:565 src/callbacks.c:618 #: src/callbacks.c:692 src/callbacks.c:730 src/playlist.c:510 #: src/playlist.c:533 msgid "No files/folders selected?" msgstr "No hay archivos / carpetas seleccionadas?" #: src/callbacks.c:173 msgid "Unable to rename parent folder\n" msgstr "No se puede mover la carpeta seleccionada?\n" #: src/callbacks.c:174 msgid "Unable to rename this folder" msgstr "No se puede mover la carpeta seleccionada?" #: src/callbacks.c:201 msgid "" "The move function is disabled when using the alternate access method for " "your device." msgstr "" "La función de desplazamiento se desactiva cuando se utiliza el método de " "acceso alternativo para el dispositivo." #: src/callbacks.c:262 msgid "Are you sure you want to delete these files?" msgstr "¿Está seguro que desea eliminar estos archivos?" #: src/callbacks.c:263 src/callbacks.c:584 src/callbacks.c:745 msgid "Confirm Delete" msgstr "Confirmar eliminación" #: src/callbacks.c:287 src/callbacks.c:297 src/callbacks.c:409 #: src/callbacks.c:425 src/callbacks.c:432 src/interface.c:2026 #: src/interface.c:2034 msgid "File download" msgstr "Descarga de archivos" #: src/callbacks.c:322 msgid "Disconnect" msgstr "Desconectar" #: src/callbacks.c:326 src/callbacks.c:335 src/callbacks.c:926 #: src/callbacks.c:934 src/mtp.c:497 src/mtp.c:505 src/properties.c:700 #: src/properties.c:709 #, c-format msgid "Connected to %s - %d MB free" msgstr "Conectado a %s - %d MB de espacio libre" #: src/callbacks.c:330 src/callbacks.c:930 src/mtp.c:501 src/properties.c:704 #, c-format msgid "Connected to %s (%s) - %d MB free" msgstr "Conectado a %s (%s) - %d MB de espacio libre" #: src/callbacks.c:345 msgid "Disconnect Device" msgstr "Desconecte el dispositivo" #: src/callbacks.c:354 src/interface.c:478 msgid "Connect" msgstr "Conectar" #: src/callbacks.c:357 src/main.c:124 msgid "No device attached" msgstr "No hay ningún dispositivo conectado" #: src/callbacks.c:361 msgid "Connect Device" msgstr "Conecte el dispositivo" #: src/callbacks.c:413 src/interface.c:1971 src/interface.c:2013 msgid "Select Path to Download" msgstr "Seleccionar ruta para descargar" #: src/callbacks.c:583 src/callbacks.c:744 msgid "Are you sure you want to delete this folder (and all contents)?" msgstr "¿Está seguro que quiere borrar esta carpeta (y todo su contenido)?" #: src/callbacks.c:639 src/callbacks.c:640 src/interface.c:2149 #: src/interface.c:2150 msgid "Unable to move the selected folder into itself?\n" msgstr "No se puede mover la carpeta seleccionada en sí mismo?\n" #: src/callbacks.c:657 src/interface.c:2167 msgid "Unable to move the selected folder?\n" msgstr "No se puede mover la carpeta seleccionada?\n" #: src/callbacks.c:663 src/callbacks.c:664 src/interface.c:2173 #: src/interface.c:2174 msgid "Unable to move the selected folder underneath itself?\n" msgstr "No se puede mover la carpeta seleccionada por debajo de sí mismo?\n" #: src/callbacks.c:775 src/mtp.c:272 src/mtp.c:280 src/mtp.c:297 src/mtp.c:305 #: src/mtp.c:313 src/mtp.c:321 src/mtp.c:334 msgid "N/A" msgstr "N/A" #: src/callbacks.c:861 msgid "Please enter search item." msgstr "Por favor, introduzca el punto de búsqueda." #: src/callbacks.c:862 msgid "Search" msgstr "búsqueda" #: src/callbacks.c:970 msgid "Searching..." msgstr "búsqueda..." #: src/formatdevice.c:120 msgid "Are you sure you want to format this device?" msgstr "¿Está seguro que desea formatear el dispositivo?" #: src/formatdevice.c:121 src/interface.c:338 msgid "Format Device" msgstr "Formato de dispositivos" #: src/interface.c:240 msgid "_File" msgstr "A_rchivo" #: src/interface.c:247 msgid "_Connect Device" msgstr "Conecte el dispositivo" #: src/interface.c:255 src/interface.c:2893 msgid "Add Files" msgstr "Agregar archivos" #: src/interface.c:259 src/interface.c:2897 msgid "Delete Files" msgstr "Eliminar archivos" #: src/interface.c:263 msgid "Rename Files" msgstr "Cambiar el nombre del archivo" #: src/interface.c:267 src/interface.c:2909 src/interface.c:3103 #: src/interface.c:3357 msgid "Move To..." msgstr "Mover a..." #: src/interface.c:271 src/interface.c:2901 msgid "Download Files" msgstr "Descargar archivos" #: src/interface.c:279 src/interface.c:2929 src/interface.c:3091 msgid "Create Folder" msgstr "Crear carpeta" #: src/interface.c:283 src/interface.c:2933 src/interface.c:3099 msgid "Delete Folder" msgstr "Eliminar carpeta" #: src/interface.c:291 msgid "Refresh Folder" msgstr "Cambiar el nombre de la carpeta" #: src/interface.c:297 msgid "Device Properties" msgstr "Propiedades del dispositivo" #: src/interface.c:307 msgid "_Quit" msgstr "_Salir" #: src/interface.c:311 msgid "_Edit" msgstr "_Editar" #: src/interface.c:318 msgid "Select All" msgstr "Seleccionar todo" # ########################################################## #: src/interface.c:326 msgid "Find" msgstr "Buscar" #: src/interface.c:334 src/interface.c:2570 msgid "Change Device Name" msgstr "Cambio de nombre de dispositivo" #: src/interface.c:350 msgid "Edit Playlist(s)" msgstr "Editar lista de reproducción(s)" #: src/interface.c:358 msgid "_Preferences" msgstr "_Preferencias" #: src/interface.c:362 msgid "_View" msgstr "_Ver" #: src/interface.c:370 msgid "Toolbar" msgstr "" # ########################################################## #: src/interface.c:378 msgid "Folders" msgstr "Carpetas" #: src/interface.c:386 src/interface.c:3001 msgid "File Size" msgstr "Tamaño del archivo" #: src/interface.c:390 src/interface.c:1164 src/interface.c:1173 #: src/interface.c:3005 msgid "File Type" msgstr "Tipo de Archivo" #: src/interface.c:394 src/interface.c:3009 msgid "Track Number" msgstr "Número de pista" #: src/interface.c:398 src/interface.c:1209 src/interface.c:1218 #: src/interface.c:3013 msgid "Track Name" msgstr "Nombre de pista" #: src/interface.c:402 src/interface.c:1228 src/interface.c:1237 #: src/interface.c:3017 src/playlist.c:704 src/playlist.c:774 msgid "Artist" msgstr "Artista" #: src/interface.c:406 src/interface.c:1247 src/interface.c:1256 #: src/interface.c:3021 src/playlist.c:714 src/playlist.c:784 msgid "Album" msgstr "Álbum" #: src/interface.c:410 src/interface.c:1266 src/interface.c:1275 #: src/interface.c:3025 msgid "Year" msgstr "Año" #: src/interface.c:414 src/interface.c:1285 src/interface.c:1294 #: src/interface.c:3029 msgid "Genre" msgstr "Género" #: src/interface.c:418 src/interface.c:1304 src/interface.c:1313 #: src/interface.c:3033 src/playlist.c:742 src/playlist.c:812 msgid "Duration" msgstr "Duración" #: src/interface.c:422 msgid "_Help" msgstr "A_yuda" #: src/interface.c:429 msgid "_About" msgstr "_Acerca de" #: src/interface.c:482 src/interface.c:484 msgid "Connect/Disconnect to your device." msgstr "Conectar / desconectar el dispositivo." #: src/interface.c:498 src/interface.c:3202 src/playlist.c:192 msgid "Add" msgstr "Agregar" #: src/interface.c:502 src/interface.c:504 msgid "Add Files to your device." msgstr "Agregar archivos a su dispositivo." #: src/interface.c:502 msgid "Add a varity of Files to your device in the current folder." msgstr "" "Añadir una variedad de archivos en el dispositivo en la carpeta actual." #: src/interface.c:512 msgid "Delete" msgstr "Eliminar" #: src/interface.c:516 src/interface.c:518 msgid "Delete Files/Folders from your device." msgstr "Eliminar archivos / carpetas desde el dispositivo." #: src/interface.c:516 msgid "" "Permanently remove files/folders from your device. Note: Albums are stored " "as *.alb files." msgstr "" "Permanente eliminar los archivos / carpetas desde el dispositivo. Nota: Los " "álbumes se guardan como archivos *. alb." #: src/interface.c:530 src/interface.c:532 msgid "Download Files from your device to your Host PC." msgstr "Descargar archivos desde el dispositivo al PC host." #: src/interface.c:530 msgid "" "Download files from your device to your PC. Default Download path is set in " "the preferences dialog." msgstr "" "Descarga de archivos desde el dispositivo a su PC. Descargar ruta " "predeterminada se establece en el cuadro de diálogo prefernces" #: src/interface.c:550 src/interface.c:552 msgid "Upload an image file as Album Art." msgstr "Subir un archivo de imagen como carátula del álbum." #: src/interface.c:550 msgid "Upload a JPG file and assign it as Album Art." msgstr "Subir un archivo JPG y asignarlo como Album Art." #: src/interface.c:560 src/interface.c:3160 msgid "Playlists" msgstr "Listas de reproducción" #: src/interface.c:564 src/interface.c:566 msgid "Add and Modify Playlists." msgstr "Añadir y modificar las listas de reproducción." #: src/interface.c:574 msgid "Refresh" msgstr "Actualizar" #: src/interface.c:578 src/interface.c:580 msgid "Refresh File/Folder listing." msgstr "Actualizar Archivo / lista de carpetas." #: src/interface.c:594 msgid "Properties" msgstr "Propiedades" #: src/interface.c:598 src/interface.c:600 msgid "View Device Properties." msgstr "Propiedades de la vista de dispositivos." #: src/interface.c:608 msgid "Preferences" msgstr "Preferencias" #: src/interface.c:612 src/interface.c:614 msgid "View/Change gMTP Preferences." msgstr "Ver / Cambiar preferencias gMTP." # ########################################################## #: src/interface.c:659 msgid "Find:" msgstr "Buscar:" #: src/interface.c:681 msgid "Filenames" msgstr "Los nombres de archivo" #: src/interface.c:686 msgid "Track Information" msgstr "Información Musical" #: src/interface.c:1079 src/interface.c:1094 msgid "Filename" msgstr "Nombre de archivo" #: src/interface.c:1120 src/interface.c:1129 msgid "Size" msgstr "Tamaño" #: src/interface.c:1183 src/interface.c:1192 src/playlist.c:732 #: src/playlist.c:802 msgid "Track" msgstr "Pista" #: src/interface.c:1331 src/interface.c:1340 msgid "Location" msgstr "Ubicación" #: src/interface.c:1357 msgid "Folder" msgstr "Carpeta" #: src/interface.c:1420 msgid "Select Files to Add" msgstr "Seleccione los archivos para agregar" #: src/interface.c:1890 #, c-format msgid "Found %d items" msgstr "Se han encontrado %d artículos" #: src/interface.c:1892 #, c-format msgid "Found %d item" msgstr "Encontrado (%d) un elemento" # ########################################################## #: src/interface.c:2108 src/interface.c:2109 msgid "I don't know how to download a parent folder reference?\n" msgstr "No sé cómo descargar una referencia carpeta principal?\n" #: src/interface.c:2141 msgid "Unable to move the selected file?\n" msgstr "No se puede mover el archivo seleccionado?\n" #: src/interface.c:2274 src/interface.c:2275 msgid "I don't know how to delete a parent folder reference?\n" msgstr "No sé cómo eliminar una referencia carpeta principal?\n" #: src/interface.c:2474 msgid "Error" msgstr "Error" #: src/interface.c:2494 msgid "Information" msgstr "Información" #: src/interface.c:2510 msgid "New Folder" msgstr "Nueva carpeta" #: src/interface.c:2512 src/interface.c:2572 src/interface.c:2635 #: src/interface.c:2698 src/interface.c:2780 src/interface.c:3162 #: src/interface.c:3359 src/playlist.c:952 msgid "_OK" msgstr "_Aceptar" #: src/interface.c:2531 msgid "Folder Name:" msgstr "Nombre de la carpeta:" #: src/interface.c:2591 msgid "Device Name:" msgstr "Nombre del dispositivo:" #: src/interface.c:2633 msgid "Rename File/Folder" msgstr "Cambiar el nombre de archivo / carpeta" #: src/interface.c:2654 msgid "File Name:" msgstr "Nombre del archivo:" #: src/interface.c:2696 msgid "Connect to which device?" msgstr "Conectar con el dispositivo?" #: src/interface.c:2715 msgid "Device:" msgstr "Dispositivo:" #: src/interface.c:2741 #, c-format msgid "Unknown : %04x:%04x @ bus %d, dev %d" msgstr "Desconocida: %04x:%04x @ bus %d, dev %d" #: src/interface.c:2778 msgid "Connect to which storage device?" msgstr "Conectar con el dispositivo de almacenamiento?" #: src/interface.c:2798 msgid "Storage Device:" msgstr "Dispositivo de almacenamiento:" #: src/interface.c:2819 #, c-format msgid "Unknown id: %d, %s" msgstr "Desconocida id: %d, %s" #: src/interface.c:2854 #, c-format msgid "" "File %s already exists in target folder.\n" "Do you want to:" msgstr "Archivo %s ya existe en la carpeta de destino. ¿Desea:" #: src/interface.c:2856 msgid "Skip" msgstr "Omitir" #: src/interface.c:2857 msgid "Skip All" msgstr "Omitir todo" #: src/interface.c:2858 msgid "Overwrite" msgstr "Sobrescribir" #: src/interface.c:2859 msgid "Overwrite All" msgstr "Sobrescribir todos" #: src/interface.c:2861 msgid "Question: Confirm Overwrite of Existing File?" msgstr "Pregunta: Confirmar la sobrescritura del archivo existente?" #: src/interface.c:2905 msgid "Rename File" msgstr "Cambiar el nombre del archivo" #: src/interface.c:2917 msgid "Add To Playlist" msgstr "Añadir a la lista de reproducción" #: src/interface.c:2921 msgid "Remove From Playlist" msgstr "Eliminar de la lista de reproducción" #: src/interface.c:2941 src/interface.c:3111 msgid "Refresh Device" msgstr "Actualizar dispositivo" #: src/interface.c:3095 msgid "Rename Folder" msgstr "Cambiar el nombre de la carpeta" #: src/interface.c:3183 src/playlist.c:971 msgid "Playlist Name:" msgstr "Lista Nombre:" #: src/interface.c:3211 src/interface.c:3213 src/playlist.c:169 #: src/playlist.c:171 msgid "Add New Playlist" msgstr "Añadir nueva lista de reproducción" #: src/mtp.c:121 src/mtp.c:122 msgid "Detect: No raw devices found.\n" msgstr "Detectar: No hay dispositivos en bruto que se encuentran.\n" #: src/mtp.c:125 src/mtp.c:126 src/mtp.c:134 src/mtp.c:135 msgid "Detect: There has been an error connecting. \n" msgstr "Detección: Se ha producido un error de conexión.\n" #: src/mtp.c:129 src/mtp.c:130 msgid "Detect: Encountered a Memory Allocation Error. \n" msgstr "Detección: Se ha encontrado un error de asignación de memoria. \n" #: src/mtp.c:156 src/mtp.c:157 msgid "Detect: Unable to open raw device?\n" msgstr "Detectar: No se puede abrir el dispositivo de primas?\n" #: src/mtp.c:170 src/mtp.c:171 msgid "Detect: No available Storage found on device?\n" msgstr "" "Detectar: No disponible de almacenamiento se encuentra en el dispositivo?\n" #: src/mtp.c:254 src/mtp.c:259 msgid "Unknown" msgstr "Desconocida" #: src/mtp.c:360 msgid "DevicePropeties: How did I get called?\n" msgstr "DevicePropeties: ¿Cómo me llaman?\n" #: src/mtp.c:485 msgid "Failed to get storage parameters from the device - need to disconnect." msgstr "" "No se pudo obtener los parámetros de almacenamiento del dispositivo - que " "desconectar." #: src/mtp.c:512 msgid "Rescan: How did I get called?\n" msgstr "Volver a explorar: ¿Cómo me llaman?\n" #: src/mtp.c:658 #, c-format msgid "" "Unable to add %s due to insufficient space: filesize = %llu, freespace = " "%llu\n" msgstr "" "No se puede añadir %s debido a la falta de espacio: %llu = tamaño del " "archivo, %llu = espacio libre\n" #: src/mtp.c:662 msgid "Unable to add file due to insufficient space" msgstr "No se puede agregar el archivo debido a la falta de espacio" #: src/mtp.c:728 src/mtp.c:738 msgid "" msgstr "" #: src/mtp.c:757 msgid "Error sending track.\n" msgstr "Error al enviar el tema.\n" #: src/mtp.c:758 #, c-format msgid "Error code %d sending track to device: %s" msgstr "Error de código %d pista enviar al dispositivo: %s" #: src/mtp.c:805 #, c-format msgid "Error sending file %s.\n" msgstr "Error al enviar el archivo %s.\n" #: src/mtp.c:806 msgid "Error sending file:" msgstr "Error al enviar el archivo:" #: src/mtp.c:884 #, c-format msgid "" "\n" "Failed to delete file %s\n" msgstr "" "\n" "No se pudo eliminar el archivo %s\n" #: src/mtp.c:885 msgid "Failed to delete file" msgstr "No se pudo eliminar el archivo" #: src/mtp.c:916 msgid "" "\n" "Error getting file from MTP device.\n" msgstr "" "\n" "Error al obtener el fichero de dispositivo MTP.\n" #: src/mtp.c:917 msgid "Error getting file from MTP device." msgstr "Error al obtener el fichero de dispositivo MTP." #: src/mtp.c:1026 src/mtp.c:1125 #, c-format msgid "Folder creation failed: %s\n" msgstr "La creación de carpetas no: %s\n" #: src/mtp.c:1027 src/mtp.c:1126 msgid "Folder creation failed:" msgstr "La creación de carpetas no:" #: src/mtp.c:1080 #, c-format msgid "Couldn't delete folder %s (%x)\n" msgstr "No se puede eliminar la carpeta %s (%x)\n" #: src/mtp.c:1283 #, c-format msgid "Error: Couldn't set device name to %s\n" msgstr "Error: No se pudo establecer el nombre del dispositivo para %s\n" #: src/mtp.c:1289 msgid "setDeviceName: How did I get called?\n" msgstr "setDeviceName: ¿Cómo me llaman?\n" #: src/mtp.c:1436 msgid "ERROR: Failed memory allocation in albumAddTrackToAlbum()\n" msgstr "ERROR: Error de asignación de memoria en albumAddTrackToAlbum()\n" #: src/mtp.c:1465 src/mtp.c:1466 msgid "" "Error creating or updating album.\n" "(This could be due to that your device does not support albums.)\n" msgstr "" "Error al crear o actualizar álbum.\n" " (Esto puede ser debido a que el dispositivo no es compatible con discos.)\n" #: src/mtp.c:1499 msgid "ERROR: Failed memory allocation in albumAddArt()\n" msgstr "ERROR: Error de asignación de memoria en albumAddArt()\n" #: src/mtp.c:1504 src/mtp.c:1511 #, c-format msgid "Couldn't open image file %s\n" msgstr "No se pudo abrir archivo de imagen %s\n" #: src/mtp.c:1524 src/mtp.c:1525 msgid "Couldn't send album art\n" msgstr "No se pudo enviar el álbum de arte\n" #: src/mtp.c:1577 src/mtp.c:1578 msgid "Couldn't remove album art\n" msgstr "No se pudo quitar la carátula del álbum\n" #: src/mtp.c:1641 src/mtp.c:1759 msgid "Couldn't create playlist object\n" msgstr "No se pudo crear el objeto lista de reproducción\n" #: src/mtp.c:1657 msgid "Deleting playlist failed?\n" msgstr "Borrar lista de temas no?\n" #: src/mtp.c:1672 msgid "Updating playlist failed?\n" msgstr "Actualizar lista de temas no?\n" #: src/mtp.c:1705 #, c-format msgid "Couldn't open playlist file %s\n" msgstr "No se pudo abrir el archivo de lista de reproducción %s\n" #: src/mtp.c:1706 msgid "Couldn't open playlist file\n" msgstr "No se pudo abrir el archivo de lista de reproducción\n" #: src/mtp.c:1728 msgid "realloc in playlistImport failed\n" msgstr "realloc en savePlayList no\n" #: src/mtp.c:1729 msgid "Updating playlist failed? 'realloc in playlistImport'\n" msgstr "Actualizar lista de temas no? 'realloc en savePlayList'\n" #: src/mtp.c:1765 msgid "Playlist imported.\n" msgstr "Lista de importación.\n" #: src/mtp.c:1769 src/mtp.c:1770 msgid "" "Found no tracks within the playlist that exist on this device. Did not " "import the playlist.\n" msgstr "" "No encontraron pistas de la lista de reproducción que existen en este " "dispositivo. No importar la lista de reproducción.\n" #: src/mtp.c:1802 #, c-format msgid "Couldn't save playlist file %s\n" msgstr "No se pudo guardar el archivo de lista de reproducción %s\n" #: src/mtp.c:1803 msgid "Couldn't save playlist file\n" msgstr "No se pudo guardar el archivo de lista de reproducción\n" #: src/mtp.c:1831 msgid "Format Device failed?\n" msgstr "Dispositivo de formato no?\n" #: src/mtp.c:1854 src/mtp.c:1914 src/playlist.c:1275 src/playlist.c:1287 msgid "realloc in savePlayList failed\n" msgstr "realloc en savePlayList no\n" #: src/mtp.c:1855 src/mtp.c:1915 src/playlist.c:1276 src/playlist.c:1288 msgid "Updating playlist failed? 'realloc in savePlayList'\n" msgstr "Actualizar lista de temas no? 'realloc en savePlayList'\n" #: src/mtp.c:2166 src/mtp.c:2222 src/mtp.c:2308 msgid "malloc in filesSearch failed\n" msgstr "realloc en savePlayList no\n" #: src/mtp.c:2167 src/mtp.c:2223 src/mtp.c:2309 msgid "Failed searching? 'malloc in filesSearch'\n" msgstr "" #: src/mtp.c:2385 msgid "malloc in foldersearch failed\n" msgstr "realloc en savePlayList no\n" #: src/mtp.c:2386 msgid "Failed searching? 'malloc in foldersearch'\n" msgstr "" #: src/playlist.c:125 msgid " Playlists" msgstr " Lista de reproducción" #: src/playlist.c:150 msgid "Current Playlist: " msgstr "Actual lista de reproducción: " #: src/playlist.c:201 src/playlist.c:203 msgid "Remove Current Selected Playlist" msgstr "Borrar lista de reproducción seleccionada actual" #: src/playlist.c:225 msgid "Del" msgstr "Del" #: src/playlist.c:233 msgid "Open" msgstr "Abrir" # ########################################################## #: src/playlist.c:239 src/playlist.c:241 msgid "Import Playlist" msgstr "Importar lista de reproducción" #: src/playlist.c:248 msgid "Save" msgstr "Guardar" #: src/playlist.c:254 src/playlist.c:256 msgid "Export Playlist" msgstr "Exportar lista de reproducción" #: src/playlist.c:278 src/playlist.c:280 msgid "Device Audio Tracks" msgstr "Dispositivo de audio temas" #: src/playlist.c:303 src/playlist.c:305 msgid "Add file to playlist" msgstr "Agregar archivo a la lista" #: src/playlist.c:326 msgid "Add File" msgstr "Agregar archivo" #: src/playlist.c:334 src/playlist.c:336 msgid "Remove file from playlist" msgstr "Eliminar el archivo de lista de reproducción" #: src/playlist.c:357 msgid "Del File" msgstr "Eliminar archivos" #: src/playlist.c:371 src/playlist.c:373 msgid "Playlist Audio Tracks" msgstr "Lista pistas de audio" #: src/playlist.c:403 src/playlist.c:405 msgid "Move selected file up in the playlist" msgstr "Mover archivo seleccionado en la lista de temas" #: src/playlist.c:420 src/playlist.c:422 msgid "Move selected file down in the playlist" msgstr "Mover archivo seleccionado en la lista de temas" #: src/playlist.c:435 msgid "Close" msgstr "Cerrar" #: src/playlist.c:764 msgid "Num" msgstr "Número" #: src/playlist.c:950 msgid "New Playlist" msgstr "Nueva lista de reproducción" #: src/playlist.c:1384 msgid "Select Playlist to Import" msgstr "Seleccione Importar lista de reproducción" #: src/playlist.c:1434 src/playlist.c:1435 msgid "The playlist failed to import correctly.\n" msgstr "La lista no se importan correctamente.\n" #: src/playlist.c:1471 msgid "Save as..." msgstr "Guardar como..." #: src/preferences.c:108 msgid " Preferences" msgstr " Preferencias" #: src/preferences.c:132 msgid "Application" msgstr "Application:" #: src/preferences.c:149 msgid "Toolbar Style:" msgstr "" #: src/preferences.c:157 src/preferences.c:164 src/preferences.c:810 #: src/preferences.c:825 msgid "both" msgstr "" #: src/preferences.c:158 src/preferences.c:165 src/preferences.c:812 #: src/preferences.c:827 msgid "icon" msgstr "" #: src/preferences.c:159 src/preferences.c:166 src/preferences.c:814 #: src/preferences.c:829 msgid "text" msgstr "" #: src/preferences.c:206 msgid "Attempt to connect to Device on startup" msgstr "Intenta conectarse a dispositivos en el arranque" #: src/preferences.c:210 msgid "Utilize alternate access method" msgstr "Utilizar el método de acceso alternativo" #: src/preferences.c:214 msgid "Device" msgstr "Dispositivo:" #: src/preferences.c:251 msgid "Confirm File/Folder Delete" msgstr "Archivo Confirmar / eliminación de carpetas" #: src/preferences.c:255 msgid "Prompt if to Overwrite file if already exists" msgstr "Preguntar si el archivo para sobrescribir si ya existe" #: src/preferences.c:259 msgid "Suppress Album Errors" msgstr "Suprimir errores Album" # ########################################################## #: src/preferences.c:263 msgid "Treat all media as regular files" msgstr "Tratar a todos los archivos multimedia como archivos normales" #: src/preferences.c:274 msgid "Playlist" msgstr "lista de reproducción" #: src/preferences.c:296 msgid "Prompt to add New Music track to existing playlist" msgstr "" "Del sistema para agregar nueva pista de música a lista de reproducción " "existente" #: src/preferences.c:300 msgid "Ignore path information when importing playlist" msgstr "" "No haga caso de información de la ruta al importar lista de reproducción" #: src/preferences.c:304 msgid "File Operations" msgstr "Operaciones con archivos:" #: src/preferences.c:326 msgid "Always show Download Path?" msgstr "Siempre mostrar el camino de descarga?" #: src/preferences.c:346 msgid "Download Path:" msgstr "Descargar Ruta de acceso:" #: src/preferences.c:357 msgid "Upload Path:" msgstr "Subir Ruta de acceso:" #: src/preferences.c:411 msgid "Filepaths on PC" msgstr "Rutas de archivos en el PC:" #: src/preferences.c:725 msgid "Select Path to Download to" msgstr "Seleccionar ruta para descargar a" #: src/preferences.c:760 msgid "Select Path to Upload From" msgstr "Seleccionar ruta para subir de" #: src/prefs.c:120 msgid "" "WARNING: gconf schema invalid, reverting to defaults. Please ensure schema " "is loaded in gconf database.\n" msgstr "" "ADVERTENCIA: El esquema de GConf no válido, volviendo a los valores " "predeterminados. Por favor, asegúrese de esquema se carga en base de datos " "de GConf.\n" #: src/prefs.c:255 msgid "" "WARNING: gconf schema invalid, unable to save! Please ensure schema is " "loaded in gconf database.\n" msgstr "" "ADVERTENCIA: El esquema de GConf inválida, incapaz de guardar! Por favor, " "asegúrese de esquema se carga en base de datos de GConf.\n" #: src/prefs.c:461 src/prefs.c:693 msgid "Disconnected device due to access method change" msgstr "Dispositivo desconectado debido a acceder a cambio de método" #: src/prefs.c:513 msgid "" "WARNING: gconf_callback_func() failed - we got a callback for a key thats " "not ours?\n" msgstr "" "ADVERTENCIA: gconf_callback_func () no - tenemos una devolución de llamada " "de eso no es nuestra clave?\n" #: src/prefs.c:733 msgid "" "WARNING: gsettings_callback_func() failed - we got a callback for a key " "thats not ours?\n" msgstr "" "ADVERTENCIA: gsettings_callback_func () no - tenemos una devolución de " "llamada de eso no es nuestra clave?\n" #: src/progress.c:104 msgid "file = ( x / x ) x %" msgstr "archivo = ( x / x ) x %" #: src/progress.c:219 #, c-format msgid "" "%s\n" "%s of %s (%d%%)" msgstr "" "%s\n" "%s de %s (%d%%)" #: src/progress.c:222 #, c-format msgid "%s of %s (%d%%)" msgstr "%s de %s (%d%%)" #: src/properties.c:111 msgid " Properties" msgstr " Propiedades" #: src/properties.c:132 msgid "MTP Device Properties" msgstr "Propiedades del dispositivo MTP:" #: src/properties.c:141 msgid "Raw Device Information" msgstr "Prima la información del dispositivo:" #: src/properties.c:174 msgid "Name:" msgstr "Nombre:" #: src/properties.c:253 msgid "Model Number:" msgstr "Número de modelo:" #: src/properties.c:266 msgid "Serial Number:" msgstr "Número de serie:" #: src/properties.c:279 msgid "Device Version:" msgstr "Versión del dispositivo:" #: src/properties.c:292 msgid "Manufacturer:" msgstr "Fabricante:" #: src/properties.c:305 msgid "Battery Level:" msgstr "De nivel de batería:" #: src/properties.c:318 msgid "Storage:" msgstr "Almacenamiento:" #: src/properties.c:344 msgid "Supported Formats:" msgstr "Formatos:" #: src/properties.c:359 msgid "Secure Time:" msgstr "Asegure Tiempo:" #: src/properties.c:372 msgid "Sync Partner:" msgstr "Sincronización Partner:" #: src/properties.c:449 msgid "Vendor:" msgstr "Proveedor:" #: src/properties.c:462 msgid "Product:" msgstr "Producto:" #: src/properties.c:475 msgid "Vendor ID:" msgstr "Vendor ID:" #: src/properties.c:488 msgid "Product ID:" msgstr "Identificación de producto:" #: src/properties.c:501 msgid "Device Number:" msgstr "Número de dispositivo:" #: src/properties.c:514 msgid "Bus Location:" msgstr "Autobús Ubicación:" #: src/properties.c:632 #, c-format msgid "%d MB (free) / %d MB (total)" msgstr "%d MB (gratis) / %d MB (total)" #~ msgid "Quit" #~ msgstr "Salir" #~ msgid "Quit gMTP." #~ msgstr "Salir gMTP." #~ msgid "%s - %s of %s (%d%%)" #~ msgstr "%s - %s de %s (%d%%)" #~ msgid " %s %s : (%04x:%04x) @ bus %d, dev %d" #~ msgstr " %s %s : (%04x:%04x) @ bus %d, dev %d" #~ msgid " : %d MB (free) / %d MB (total)" #~ msgstr " : %d MB (gratis) / %d MB (total)" #~ msgid "" #~ msgstr "" #~ msgid "Add Album Art" #~ msgstr "Añadir Album Art" #~ msgid "FileSize Hidden" #~ msgstr "Tamaño del archivo oculto" #~ msgid "Filename:" #~ msgstr "Nombre del archivo:" #~ msgid "Object ID" #~ msgstr "ID del objeto" #~ msgid "file://" #~ msgstr "file://" #~ msgid "Columns" #~ msgstr "Columnas" gmtp-1.3.10/po/Makevars0000644000175000001440000000340112655605137011602 00000000000000# Makefile variables for PO directory in any package using GNU gettext. # Usually the message domain is the same as the package name. DOMAIN = $(PACKAGE) # These two variables depend on the location of this directory. subdir = po top_builddir = .. # These options get passed to xgettext. XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ # This is the copyright holder that gets inserted into the header of the # $(DOMAIN).pot file. Set this to the copyright holder of the surrounding # package. (Note that the msgstr strings, extracted from the package's # sources, belong to the copyright holder of the package.) Translators are # expected to transfer the copyright for their translations to this person # or entity, or to disclaim their copyright. The empty string stands for # the public domain; in this case the translators are expected to disclaim # their copyright. COPYRIGHT_HOLDER = Darran Kartaschew # This is the email address or URL to which the translators shall report # bugs in the untranslated strings: # - Strings which are not entire sentences, see the maintainer guidelines # in the GNU gettext documentation, section 'Preparing Strings'. # - Strings which use unclear terms or require additional context to be # understood. # - Strings which make invalid assumptions about notation of date, time or # money. # - Pluralisation problems. # - Incorrect English spelling. # - Incorrect formatting. # It can be your email address, or a mailing list address where translators # can write to without being subscribed, or the URL of a web page through # which the translators can contact you. MSGID_BUGS_ADDRESS = # This is the list of locale categories, beyond LC_MESSAGES, for which the # message catalogs shall be used. It is usually empty. EXTRA_LOCALE_CATEGORIES = gmtp-1.3.10/po/ru.po0000644000175000001440000010315112660314456011074 00000000000000# Russian translations for PACKAGE package # Английские переводы для пакета PACKAGE. # Copyright (C) 2014 Darran Kartaschew # This file is distributed under the same license as the PACKAGE package. # root , 2014. # msgid "" msgstr "" "Project-Id-Version: 1.3.6\n" "Report-Msgid-Bugs-To: chewy509@mailcity.com\n" "POT-Creation-Date: 2016-02-15 19:23+1000\n" "PO-Revision-Date: 2014-03-03 10:46+0400\n" "Last-Translator: PuppyRus linux Team\n" "Language-Team: Russian \n" "Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #: src/about.c:46 src/about.c:123 msgid "" "A simple MTP Client for Solaris 10\n" "and other UNIX / UNIX-like systems\n" msgstr "" "Простой клиент MTP устройств для\n" "Solaris 10 и других Unix систем\n" #: src/about.c:77 msgid "translator-credits" msgstr "Перевод PuppyRus linux team" #: src/about.c:88 msgid "About gMTP" msgstr "О программе" #: src/about.c:90 src/albumart.c:47 src/preferences.c:431 src/properties.c:159 msgid "_Close" msgstr "_Закрыть" #: src/about.c:135 #, fuzzy msgid "" "Copyright 2009-2016, Darran Kartaschew\n" "Released under the BSD License" msgstr "" "Copyright 2009-2014, Darran Kartaschew\n" "Распространяется под лицензией BSD License" #: src/albumart.c:45 src/interface.c:331 src/interface.c:531 msgid "Album Art" msgstr "Обложка" #: src/albumart.c:77 msgid "Album:" msgstr "Альбом:" #: src/albumart.c:110 msgid "" "No Albums available to set Album Art with. Either:\n" "1. You have no music files uploaded?\n" "2. Your device does not support Albums?\n" "3. Previous applications used to upload files do not autocreate albums for " "you or support the metadata for those files in order to create the albums " "for you?\n" msgstr "" "Нет альбомов для которых можно применить обложку. Варианты:1. У вас на " "загружены музыкальные файлы?\n" "2. Ваше устройство не поддерживает Альбомы\n" "3. Программа использовавшаяся для загрузки файлов не создалаальбомы или не " "добавила метаданные позволяющие создать альбомы. \n" #: src/albumart.c:163 msgid "Upload" msgstr "Передать" #: src/albumart.c:167 msgid "Remove" msgstr "Удалить" #: src/albumart.c:172 src/interface.c:511 msgid "Download" msgstr "Скачать" #: src/albumart.c:293 msgid "Select Album Art File" msgstr "Выбрать файл для обложки" #: src/albumart.c:295 src/albumart.c:406 src/callbacks.c:362 #: src/interface.c:1380 src/interface.c:1928 src/interface.c:1961 #: src/interface.c:2401 src/interface.c:2456 src/interface.c:2514 #: src/interface.c:3014 src/interface.c:3198 src/playlist.c:882 #: src/playlist.c:1255 src/playlist.c:1337 src/preferences.c:701 #: src/preferences.c:731 src/progress.c:108 msgid "_Cancel" msgstr "_Отмена" #: src/albumart.c:296 src/callbacks.c:363 src/interface.c:1381 #: src/interface.c:1929 src/interface.c:1962 src/playlist.c:1256 #: src/playlist.c:1338 src/preferences.c:702 src/preferences.c:732 msgid "_Open" msgstr "_Открыть" #: src/albumart.c:404 msgid "Save Album Art File" msgstr "Сохранить файл обложки" #: src/albumart.c:407 msgid "_Save" msgstr "_Сохранить" #: src/albumart.c:426 #, c-format msgid "Couldn't save image file %s\n" msgstr "Не удается сохранить файл %s\n" #: src/albumart.c:427 msgid "Couldn't save image file\n" msgstr "Не удается сохранить файл\n" #: src/callbacks.c:87 src/dnd.c:63 src/dnd.c:136 msgid "File Upload" msgstr "Передача файла" #: src/callbacks.c:125 src/callbacks.c:178 src/callbacks.c:211 #: src/callbacks.c:251 src/callbacks.c:496 src/callbacks.c:540 #: src/callbacks.c:610 src/callbacks.c:643 src/playlist.c:487 #: src/playlist.c:506 msgid "No files/folders selected?" msgstr "Не выбраны файлы/каталоги?" #: src/callbacks.c:144 msgid "Unable to rename parent folder\n" msgstr "Не удается переименовать каталог\n" #: src/callbacks.c:145 msgid "Unable to rename this folder" msgstr "Не удается переименовать каталог" #: src/callbacks.c:169 msgid "" "The move function is disabled when using the alternate access method for " "your device." msgstr "" "Функция перемещения выключена при использовании альтернативного " "методадоступа к устройству" #: src/callbacks.c:225 msgid "Are you sure you want to delete these files?" msgstr "Вы хотите удалить этот файл?" #: src/callbacks.c:226 src/callbacks.c:515 src/callbacks.c:658 msgid "Confirm Delete" msgstr "Подтверждение удаления" #: src/callbacks.c:247 src/callbacks.c:257 src/callbacks.c:356 #: src/callbacks.c:372 src/callbacks.c:379 src/interface.c:1972 #: src/interface.c:1980 msgid "File download" msgstr "Загрузка файла" #: src/callbacks.c:277 msgid "Disconnect" msgstr "Разорвать" #: src/callbacks.c:281 src/callbacks.c:290 src/callbacks.c:817 #: src/callbacks.c:825 src/mtp.c:451 src/mtp.c:459 src/properties.c:261 #: src/properties.c:270 #, c-format msgid "Connected to %s - %d MB free" msgstr "Подключено к %s - %d MB свободно" #: src/callbacks.c:285 src/callbacks.c:821 src/mtp.c:455 src/properties.c:265 #, c-format msgid "Connected to %s (%s) - %d MB free" msgstr "Подключено к %s (%s) - %d MB свободно" #: src/callbacks.c:300 msgid "Disconnect Device" msgstr "Отключение устройства" #: src/callbacks.c:309 src/interface.c:463 msgid "Connect" msgstr "Подключить" #: src/callbacks.c:312 src/main.c:109 msgid "No device attached" msgstr "Нет подключенного устройства" #: src/callbacks.c:316 msgid "Connect Device" msgstr "Подключение устройства" #: src/callbacks.c:360 src/interface.c:1926 src/interface.c:1959 msgid "Select Path to Download" msgstr "Выберите путь для загрузки" #: src/callbacks.c:514 src/callbacks.c:657 msgid "Are you sure you want to delete this folder (and all contents)?" msgstr "Вы хотите удалить этот каталог (и все его содержимое)?" #: src/callbacks.c:561 src/callbacks.c:562 src/interface.c:2088 #: src/interface.c:2089 msgid "Unable to move the selected folder into itself?\n" msgstr "Не удается переместить каталог сам в себя\n" #: src/callbacks.c:580 src/interface.c:2106 msgid "Unable to move the selected folder?\n" msgstr "Не удается переместить каталог\n" #: src/callbacks.c:586 src/callbacks.c:587 src/interface.c:2112 #: src/interface.c:2113 msgid "Unable to move the selected folder underneath itself?\n" msgstr "Не удается переместить каталог в свой подкаталог\n" #: src/callbacks.c:685 src/mtp.c:258 src/mtp.c:276 src/mtp.c:285 src/mtp.c:294 #: src/mtp.c:303 msgid "N/A" msgstr "N/A" #: src/callbacks.c:758 msgid "Please enter search item." msgstr "Введите строку для поиска." #: src/callbacks.c:759 msgid "Search" msgstr "Поиск" #: src/callbacks.c:857 msgid "Searching..." msgstr "Ищется...." #: src/formatdevice.c:56 msgid "Formatting..." msgstr "" #: src/formatdevice.c:87 msgid "Are you sure you want to format this device?" msgstr "Вы уверены что хотите отформатировать устройство?" #: src/formatdevice.c:88 src/interface.c:323 msgid "Format Device" msgstr "Форматирование" #: src/interface.c:225 msgid "_File" msgstr "_Файл" #: src/interface.c:232 msgid "_Connect Device" msgstr "_Подключить" #: src/interface.c:240 src/interface.c:2759 msgid "Add Files" msgstr "Добавить файлы" #: src/interface.c:244 src/interface.c:2763 msgid "Delete Files" msgstr "Удалить файлы" #: src/interface.c:248 msgid "Rename Files" msgstr "Переименовать файлы" #: src/interface.c:252 src/interface.c:2775 src/interface.c:2962 #: src/interface.c:3195 msgid "Move To..." msgstr "Переместить на..." #: src/interface.c:256 src/interface.c:2767 msgid "Download Files" msgstr "Скачать файлы" #: src/interface.c:264 src/interface.c:2795 src/interface.c:2950 msgid "Create Folder" msgstr "Создать каталог" #: src/interface.c:268 src/interface.c:2799 src/interface.c:2958 msgid "Delete Folder" msgstr "Удалить каталог" #: src/interface.c:276 msgid "Refresh Folder" msgstr "Перечитать каталог" #: src/interface.c:282 msgid "Device Properties" msgstr "Свойства устройства" #: src/interface.c:292 msgid "_Quit" msgstr "_Выход" #: src/interface.c:296 msgid "_Edit" msgstr "_Правка" #: src/interface.c:303 msgid "Select All" msgstr "Выбрать все" #: src/interface.c:311 msgid "Find" msgstr "Найти" #: src/interface.c:319 src/interface.c:2453 msgid "Change Device Name" msgstr "Изменить имя устройства" #: src/interface.c:335 msgid "Edit Playlist(s)" msgstr "Редактировать плейлист" #: src/interface.c:343 msgid "_Preferences" msgstr "_Настройки" #: src/interface.c:347 msgid "_View" msgstr "_Вид" #: src/interface.c:355 msgid "Toolbar" msgstr "Панель" #: src/interface.c:363 msgid "Folders" msgstr "Каталоги" #: src/interface.c:371 src/interface.c:2862 msgid "File Size" msgstr "Размер файла" #: src/interface.c:375 src/interface.c:1138 src/interface.c:1147 #: src/interface.c:2866 msgid "File Type" msgstr "Тип файла" #: src/interface.c:379 src/interface.c:2870 msgid "Track Number" msgstr "Номер трека" #: src/interface.c:383 src/interface.c:1183 src/interface.c:1192 #: src/interface.c:2874 msgid "Track Name" msgstr "Имя трека" #: src/interface.c:387 src/interface.c:1202 src/interface.c:1211 #: src/interface.c:2878 src/playlist.c:654 src/playlist.c:718 msgid "Artist" msgstr "Артист" #: src/interface.c:391 src/interface.c:1221 src/interface.c:1230 #: src/interface.c:2882 src/playlist.c:664 src/playlist.c:728 msgid "Album" msgstr "Альбом" #: src/interface.c:395 src/interface.c:1240 src/interface.c:1249 #: src/interface.c:2886 msgid "Year" msgstr "Год" #: src/interface.c:399 src/interface.c:1259 src/interface.c:1268 #: src/interface.c:2890 msgid "Genre" msgstr "Жанр" #: src/interface.c:403 src/interface.c:1278 src/interface.c:1287 #: src/interface.c:2894 src/playlist.c:692 src/playlist.c:756 msgid "Duration" msgstr "Длительность" #: src/interface.c:407 msgid "_Help" msgstr "_Помощь" #: src/interface.c:414 msgid "_About" msgstr "_О программе" #: src/interface.c:467 src/interface.c:469 msgid "Connect/Disconnect to your device." msgstr "Подключить/отключить устройство" #: src/interface.c:483 src/interface.c:3066 src/playlist.c:176 msgid "Add" msgstr "Добавить" #: src/interface.c:487 src/interface.c:489 msgid "Add Files to your device." msgstr "Добавить файлы на устройство." #: src/interface.c:487 msgid "Add a varity of Files to your device in the current folder." msgstr "Add a varity of Files to your device in the current folder." #: src/interface.c:497 msgid "Delete" msgstr "Удалить" #: src/interface.c:501 src/interface.c:503 msgid "Delete Files/Folders from your device." msgstr "Удалить файлы/каталоги с устройства." #: src/interface.c:501 msgid "" "Permanently remove files/folders from your device. Note: Albums are stored " "as *.alb files." msgstr "" "Удалит файлы/каталоги из устройства. Замечание: альбомы хранятсяв файлах с " "расширением .alb " #: src/interface.c:515 src/interface.c:517 msgid "Download Files from your device to your Host PC." msgstr "Скачать файлы из устройства на Ваш компьютер." #: src/interface.c:515 msgid "" "Download files from your device to your PC. Default Download path is set in " "the preferences dialog." msgstr "" "Скачать файлы из устройства на Ваш компьютер. Путь для сохранения " "файловзадается в настройках программы." #: src/interface.c:535 src/interface.c:537 msgid "Upload an image file as Album Art." msgstr "Загрузить изображение как Обложку альбома." #: src/interface.c:535 msgid "Upload a JPG file and assign it as Album Art." msgstr "Загрузить JPG файл и установить его как Обложку альбома." #: src/interface.c:545 src/interface.c:3011 msgid "Playlists" msgstr "Плейлист" #: src/interface.c:549 src/interface.c:551 msgid "Add and Modify Playlists." msgstr "Добавить и редактировать плейлист" #: src/interface.c:559 msgid "Refresh" msgstr "Обновить" #: src/interface.c:563 src/interface.c:565 msgid "Refresh File/Folder listing." msgstr "Обновить список файлов/каталогов." #: src/interface.c:579 msgid "Properties" msgstr "Свойства" #: src/interface.c:583 src/interface.c:585 msgid "View Device Properties." msgstr "Просмотр свойств устройства" #: src/interface.c:593 msgid "Preferences" msgstr "Настройки" #: src/interface.c:597 src/interface.c:599 msgid "View/Change gMTP Preferences." msgstr "Изменение настроек программы" #: src/interface.c:644 msgid "Find:" msgstr "Поиск:" #: src/interface.c:666 msgid "Filenames" msgstr "Имя файла" #: src/interface.c:671 msgid "Track Information" msgstr "Инфо трека" #: src/interface.c:1053 src/interface.c:1068 msgid "Filename" msgstr "Имя файла" #: src/interface.c:1094 src/interface.c:1103 msgid "Size" msgstr "Размер" #: src/interface.c:1157 src/interface.c:1166 src/playlist.c:682 #: src/playlist.c:746 msgid "Track" msgstr "Трек" #: src/interface.c:1305 src/interface.c:1314 msgid "Location" msgstr "Расположение" #: src/interface.c:1331 msgid "Folder" msgstr "Каталог" #: src/interface.c:1378 msgid "Select Files to Add" msgstr "Выбор файлов для добавления" #: src/interface.c:1857 #, c-format msgid "Found %d items" msgstr "Найдено %d элементов" #: src/interface.c:1859 #, c-format msgid "Found %d item" msgstr "Найден %d элемент" #: src/interface.c:2053 src/interface.c:2054 msgid "I don't know how to download a parent folder reference?\n" msgstr "Я незнаю как скачать родительский каталог\n" #: src/interface.c:2080 msgid "Unable to move the selected file?\n" msgstr "Не удается переместить выбранный файл\n" #: src/interface.c:2203 src/interface.c:2204 msgid "I don't know how to delete a parent folder reference?\n" msgstr "Я незнаю как удалить родительский каталог\n" #: src/interface.c:2371 msgid "Error" msgstr "Ошибка" #: src/interface.c:2387 msgid "Information" msgstr "Информация" #: src/interface.c:2398 msgid "New Folder" msgstr "Новый каталог" #: src/interface.c:2400 src/interface.c:2455 src/interface.c:2513 #: src/interface.c:2573 src/interface.c:2653 src/interface.c:3013 #: src/interface.c:3197 src/playlist.c:881 msgid "_OK" msgstr "_ОК" #: src/interface.c:2420 msgid "Folder Name:" msgstr "Имя каталога:" #: src/interface.c:2475 msgid "Device Name:" msgstr "Имя устройства:" #: src/interface.c:2511 msgid "Rename File/Folder" msgstr "Переименовать файл/каталог" #: src/interface.c:2533 msgid "File Name:" msgstr "Имя файла:" #: src/interface.c:2571 msgid "Connect to which device?" msgstr "Соединиться с этим устройством?" #: src/interface.c:2592 msgid "Device:" msgstr "Устройство:" #: src/interface.c:2618 #, c-format msgid "Unknown : %04x:%04x @ bus %d, dev %d" msgstr "Неизвестно : %04x:%04x @ bus %d, dev %d" #: src/interface.c:2651 msgid "Connect to which storage device?" msgstr "Соединиться с этим устройством?" #: src/interface.c:2673 msgid "Storage Device:" msgstr "Устройство:" #: src/interface.c:2694 #, c-format msgid "Unknown id: %d, %s" msgstr "Неизвестный id: %d, %s" #: src/interface.c:2724 #, c-format msgid "" "File %s already exists in target folder.\n" "Do you want to:" msgstr "" "Файл %s уже существует в каталоге.\n" "Вы хотите:" #: src/interface.c:2726 msgid "Skip" msgstr "Пропустить" #: src/interface.c:2727 msgid "Skip All" msgstr "Пропустить все" #: src/interface.c:2728 msgid "Overwrite" msgstr "Переписать" #: src/interface.c:2729 msgid "Overwrite All" msgstr "Переписать все" #: src/interface.c:2731 msgid "Question: Confirm Overwrite of Existing File?" msgstr "Подтверждение перезаписи существующего файла." #: src/interface.c:2771 msgid "Rename File" msgstr "Переименовать" #: src/interface.c:2783 msgid "Add To Playlist" msgstr "Добавить в плейлист" #: src/interface.c:2787 msgid "Remove From Playlist" msgstr "удалить из плейлиста" #: src/interface.c:2807 src/interface.c:2970 msgid "Refresh Device" msgstr "Перечитать устройство" #: src/interface.c:2954 msgid "Rename Folder" msgstr "Переименовать каталог" #: src/interface.c:3035 src/playlist.c:902 msgid "Playlist Name:" msgstr "Название плейлиста" #: src/interface.c:3075 src/interface.c:3077 src/playlist.c:153 #: src/playlist.c:155 msgid "Add New Playlist" msgstr "Добавить плейлист" #: src/mtp.c:104 src/mtp.c:105 msgid "Detect: No raw devices found.\n" msgstr "Обнаружение: не найдено raw устройств.\n" #: src/mtp.c:108 src/mtp.c:109 src/mtp.c:117 src/mtp.c:118 msgid "Detect: There has been an error connecting. \n" msgstr "Обнаружение: ошибка соединения. \n" #: src/mtp.c:112 src/mtp.c:113 msgid "Detect: Encountered a Memory Allocation Error. \n" msgstr "Обнаружение: ошибка выделения памяти.\n" #: src/mtp.c:142 src/mtp.c:143 msgid "Detect: Unable to open raw device?\n" msgstr "Обнаружение: не удается открыть raw устройство\n" #: src/mtp.c:156 src/mtp.c:157 msgid "Detect: No available Storage found on device?\n" msgstr "Обнаружение: No available Storage found on device?\n" #: src/mtp.c:238 src/mtp.c:244 msgid "Unknown" msgstr "Неизвестно" #: src/mtp.c:330 msgid "DevicePropeties: How did I get called?\n" msgstr "DevicePropeties: How did I get called?\n" #: src/mtp.c:438 msgid "Failed to get storage parameters from the device - need to disconnect." msgstr "Не удалось получить параметры из устройства - требуется отключение." #: src/mtp.c:466 msgid "Rescan: How did I get called?\n" msgstr "Rescan: How did I get called?\n" #: src/mtp.c:574 #, c-format msgid "" "Unable to add %s due to insufficient space: filesize = %llu, freespace = " "%llu\n" msgstr "" "Не удается добавить %s нет свободного места: размер файла = %llu, свободно = " "%llu\n" #: src/mtp.c:578 msgid "Unable to add file due to insufficient space" msgstr "Не удается добавить файл, нет свободного места" #: src/mtp.c:644 src/mtp.c:654 msgid "" msgstr "<Неизвестно>" #: src/mtp.c:675 msgid "Error sending track.\n" msgstr "Ошибка передачи трека.\n" #: src/mtp.c:676 #, fuzzy, c-format msgid "Error code %d sending track to device: %s" msgstr "Ошибка %d передачи трека на устройство: %s" #: src/mtp.c:680 src/mtp.c:681 src/mtp.c:737 src/mtp.c:738 src/mtp.c:845 #: src/mtp.c:846 msgid "Transfer canceled." msgstr "" #: src/mtp.c:732 #, c-format msgid "Error sending file %s.\n" msgstr "Ошибка передачи файла %s.\n" #: src/mtp.c:733 #, fuzzy msgid "Error sending file: " msgstr "Ошибка передачи файла:" #: src/mtp.c:811 #, c-format msgid "" "\n" "Failed to delete file %s\n" msgstr "" "\n" "Ошибка удаления файла %s\n" #: src/mtp.c:812 #, fuzzy msgid "Failed to delete file: " msgstr "Ошибка удаления файла" #: src/mtp.c:840 msgid "" "\n" "Error getting file from MTP device.\n" msgstr "" "\n" "Ошибка получения файла от устройства.\n" #: src/mtp.c:841 msgid "Error getting file from MTP device." msgstr "Ошибка получения файла от устройства." #: src/mtp.c:964 src/mtp.c:1045 #, c-format msgid "Folder creation failed: %s\n" msgstr "Не удается создать каталог: %s\n" #: src/mtp.c:965 msgid "Folder creation failed:" msgstr "Не удается создать каталог:" #: src/mtp.c:1010 #, c-format msgid "Couldn't delete folder %s (%x)\n" msgstr "Не удается удалить каталог %s (%x)\n" #: src/mtp.c:1046 #, fuzzy msgid "Folder creation failed: " msgstr "Не удается создать каталог:" #: src/mtp.c:1259 #, c-format msgid "Error: Couldn't set device name to %s\n" msgstr "Ошибка: не удается сменить имя устройства на %s\n" #: src/mtp.c:1265 msgid "setDeviceName: How did I get called?\n" msgstr "setDeviceName: How did I get called?\n" #: src/mtp.c:1462 msgid "ERROR: Failed memory allocation in albumAddTrackToAlbum()\n" msgstr "ОШИБКА: Failed memory allocation in albumAddTrackToAlbum()\n" #: src/mtp.c:1491 src/mtp.c:1492 msgid "" "Error creating or updating album.\n" "(This could be due to that your device does not support albums.)\n" msgstr "" "Ошибка создания или обновления альбома.\n" "(может появляться если ваше устройство не поддерживает альбомы.)\n" #: src/mtp.c:1520 msgid "ERROR: Failed memory allocation in albumAddArt()\n" msgstr "ERROR: Failed memory allocation in albumAddArt()\n" #: src/mtp.c:1525 src/mtp.c:1532 #, c-format msgid "Couldn't open image file %s\n" msgstr "Не удается открыть файл %s\n" #: src/mtp.c:1545 src/mtp.c:1546 msgid "Couldn't send album art\n" msgstr "Не удается отправить обложку\n" #: src/mtp.c:1590 src/mtp.c:1591 msgid "Couldn't remove album art\n" msgstr "Не удается удалить обложку\n" #: src/mtp.c:1642 src/mtp.c:1744 msgid "Couldn't create playlist object\n" msgstr "Не удается создать объект плейлиста\n" #: src/mtp.c:1654 msgid "Deleting playlist failed?\n" msgstr "удаление плейлиста неудачно?\n" #: src/mtp.c:1665 msgid "Updating playlist failed?\n" msgstr "Обновление плейлиста неудачно?\n" #: src/mtp.c:1690 #, c-format msgid "Couldn't open playlist file %s\n" msgstr "Не удается открыть файл плейлиста %s\n" #: src/mtp.c:1691 msgid "Couldn't open playlist file\n" msgstr "Не удается открыть файл плейлиста\n" #: src/mtp.c:1713 msgid "realloc in playlistImport failed\n" msgstr "realloc in playlistImport failed\n" #: src/mtp.c:1714 msgid "Updating playlist failed? 'realloc in playlistImport'\n" msgstr "Updating playlist failed? 'realloc in playlistImport'\n" #: src/mtp.c:1750 msgid "Playlist imported.\n" msgstr "Playlist imported.\n" #: src/mtp.c:1754 src/mtp.c:1755 msgid "" "Found no tracks within the playlist that exist on this device. Did not " "import the playlist.\n" msgstr "" "Found no tracks within the playlist that exist on this device. Did not " "import the playlist.\n" #: src/mtp.c:1780 #, c-format msgid "Couldn't save playlist file %s\n" msgstr "Не удается сохранить плейлист %s\n" #: src/mtp.c:1781 msgid "Couldn't save playlist file\n" msgstr "Не удается сохранить плейлист\n" #: src/mtp.c:1806 msgid "Format Device failed?\n" msgstr "Format Device failed?\n" #: src/mtp.c:1824 src/mtp.c:1878 src/playlist.c:1158 src/playlist.c:1170 msgid "realloc in savePlayList failed\n" msgstr "realloc in savePlayList failed\n" #: src/mtp.c:1825 src/mtp.c:1879 src/playlist.c:1159 src/playlist.c:1171 msgid "Updating playlist failed? 'realloc in savePlayList'\n" msgstr "Updating playlist failed? 'realloc in savePlayList'\n" #: src/mtp.c:2096 src/mtp.c:2152 src/mtp.c:2238 msgid "malloc in filesSearch failed\n" msgstr "malloc in filesSearch failed\n" #: src/mtp.c:2097 src/mtp.c:2153 src/mtp.c:2239 msgid "Failed searching? 'malloc in filesSearch'\n" msgstr "Failed searching? 'malloc in filesSearch'\n" #: src/mtp.c:2303 msgid "malloc in foldersearch failed\n" msgstr "malloc in foldersearch failed\n" #: src/mtp.c:2304 msgid "Failed searching? 'malloc in foldersearch'\n" msgstr "Failed searching? 'malloc in foldersearch'\n" #: src/playlist.c:98 msgid " Playlists" msgstr " Плейлисты" #: src/playlist.c:124 msgid "Current Playlist: " msgstr "Активный плейлист: " #: src/playlist.c:185 src/playlist.c:187 msgid "Remove Current Selected Playlist" msgstr "Удалить выбранный плейлист" #: src/playlist.c:209 msgid "Del" msgstr "Удалить" #: src/playlist.c:217 msgid "Open" msgstr "Открыть" #: src/playlist.c:223 src/playlist.c:225 msgid "Import Playlist" msgstr "Импорт плейлиста" #: src/playlist.c:232 msgid "Save" msgstr "Сохранить" #: src/playlist.c:238 src/playlist.c:240 msgid "Export Playlist" msgstr "Экспорт плейлиста" #: src/playlist.c:262 src/playlist.c:264 msgid "Device Audio Tracks" msgstr "Аудио треки" #: src/playlist.c:287 src/playlist.c:289 msgid "Add file to playlist" msgstr "Добавить файл в плейлист" #: src/playlist.c:310 msgid "Add File" msgstr "Добавить файл" #: src/playlist.c:318 src/playlist.c:320 msgid "Remove file from playlist" msgstr "Удалить из плейлиста" #: src/playlist.c:341 msgid "Del File" msgstr "Удалить файл" #: src/playlist.c:355 src/playlist.c:357 msgid "Playlist Audio Tracks" msgstr "Треки в плейлисте" #: src/playlist.c:387 src/playlist.c:389 msgid "Move selected file up in the playlist" msgstr "Переместить Выше в плейлисте" #: src/playlist.c:404 src/playlist.c:406 msgid "Move selected file down in the playlist" msgstr "Переместить Ниже в плейлисте" #: src/playlist.c:419 msgid "Close" msgstr "Закрыть" #: src/playlist.c:708 msgid "Num" msgstr "Ном." #: src/playlist.c:879 msgid "New Playlist" msgstr "Новый плейлист" #: src/playlist.c:1253 msgid "Select Playlist to Import" msgstr "Выбор плейлиста для импорта" #: src/playlist.c:1303 src/playlist.c:1304 msgid "The playlist failed to import correctly.\n" msgstr "Не удается правильно импортировать плейлист.\n" #: src/playlist.c:1335 msgid "Save as..." msgstr "Сохранить как..." #: src/preferences.c:72 msgid " Preferences" msgstr " Настройки" #: src/preferences.c:97 msgid "Application" msgstr "Приложение" #: src/preferences.c:124 msgid "Toolbar Style:" msgstr "Вид панели:" #: src/preferences.c:132 src/preferences.c:139 src/preferences.c:771 #: src/preferences.c:805 msgid "both" msgstr "значки и текст" #: src/preferences.c:133 src/preferences.c:140 src/preferences.c:773 #: src/preferences.c:807 msgid "icon" msgstr "значки" #: src/preferences.c:134 src/preferences.c:141 src/preferences.c:775 #: src/preferences.c:809 msgid "text" msgstr "текст" #: src/preferences.c:184 msgid "Device" msgstr "Устройство" #: src/preferences.c:189 msgid "Attempt to connect to Device on startup" msgstr "Подключаться к устройству при запуске" #: src/preferences.c:193 msgid "Utilize alternate access method" msgstr "Использовать альтернативный метод доступа" #: src/preferences.c:202 msgid "File Operations" msgstr "Операции с файлами" #: src/preferences.c:229 msgid "Confirm File/Folder Delete" msgstr "Подтверждать удаление файлов/каталогов" #: src/preferences.c:233 msgid "Prompt if to Overwrite file if already exists" msgstr "Запрос на перезапись файла, если существует" #: src/preferences.c:237 msgid "Suppress Album Errors" msgstr "Suppress Album Errors" #: src/preferences.c:241 msgid "Treat all media as regular files" msgstr "Обрабатывать все медиа-файлы как обычные" #: src/preferences.c:245 msgid "Preserve file timestamps (during download)" msgstr "" #: src/preferences.c:256 msgid "Playlist" msgstr "Плейлист" #: src/preferences.c:282 msgid "Prompt to add New Music track to existing playlist" msgstr "Запрос на добавление новой музыки в существующий плейлист" #: src/preferences.c:286 msgid "Ignore path information when importing playlist" msgstr "Игнорировать пути файлов при импорте плейлиста" #: src/preferences.c:297 msgid "Filepaths on PC" msgstr "Пути на ПК" #: src/preferences.c:324 msgid "Always show Download Path?" msgstr "Всегда показывать путь загрузки" #: src/preferences.c:344 msgid "Download Path:" msgstr "Каталог загрузки:" #: src/preferences.c:360 msgid "Upload Path:" msgstr "Каталог отправки:" #: src/preferences.c:699 msgid "Select Path to Download to" msgstr "Выбрать каталог для сохранения" #: src/preferences.c:729 msgid "Select Path to Upload From" msgstr "Выбрать каталог для отправки" #: src/prefs.c:102 msgid "" "WARNING: gconf schema invalid, reverting to defaults. Please ensure schema " "is loaded in gconf database.\n" msgstr "" "WARNING: gconf schema invalid, reverting to defaults. Please ensure schema " "is loaded in gconf database.\n" #: src/prefs.c:241 msgid "" "WARNING: gconf schema invalid, unable to save! Please ensure schema is " "loaded in gconf database.\n" msgstr "" "WARNING: gconf schema invalid, unable to save! Please ensure schema is " "loaded in gconf database.\n" #: src/prefs.c:445 src/prefs.c:685 msgid "Disconnected device due to access method change" msgstr "Disconnected device due to access method change" #: src/prefs.c:504 msgid "" "WARNING: gconf_callback_func() failed - we got a callback for a key thats " "not ours?\n" msgstr "" "WARNING: gconf_callback_func() failed - we got a callback for a key thats " "not ours?\n" #: src/prefs.c:734 msgid "" "WARNING: gsettings_callback_func() failed - we got a callback for a key " "thats not ours?\n" msgstr "" "WARNING: gsettings_callback_func() failed - we got a callback for a key " "thats not ours?\n" #: src/progress.c:79 msgid "file = ( x / x ) x %" msgstr "file = ( x / x ) x %" #: src/progress.c:194 #, c-format msgid "" "%s\n" "%s of %s (%d%%)" msgstr "" "%s\n" "%s of %s (%d%%)" #: src/progress.c:197 #, c-format msgid "%s of %s (%d%%)" msgstr "%s of %s (%d%%)" #: src/properties.c:69 msgid " Properties" msgstr " Свойства" #: src/properties.c:91 msgid "MTP Device Properties" msgstr "Свойства MTP устройства" #: src/properties.c:96 msgid "Raw Device Information" msgstr "Raw Device информация" #: src/properties.c:138 msgid "Name:" msgstr "Имя:" #: src/properties.c:139 msgid "Model Number:" msgstr "Номер модели:" #: src/properties.c:140 msgid "Serial Number:" msgstr "Серийный номер:" #: src/properties.c:141 msgid "Device Version:" msgstr "Версия устройства:" #: src/properties.c:142 msgid "Manufacturer:" msgstr "Производитель:" #: src/properties.c:143 msgid "Battery Level:" msgstr "Заряд батареи:" #: src/properties.c:144 msgid "Storage:" msgstr "Память:" #: src/properties.c:145 msgid "Supported Formats:" msgstr "поддерживаемые форматы:" #: src/properties.c:147 msgid "Vendor:" msgstr "Vendor:" #: src/properties.c:148 msgid "Product:" msgstr "Product:" #: src/properties.c:149 msgid "Vendor ID:" msgstr "Vendor ID:" #: src/properties.c:150 msgid "Product ID:" msgstr "Product ID:" #: src/properties.c:151 msgid "Device Number:" msgstr "Device Number:" #: src/properties.c:152 msgid "Bus Location:" msgstr "Bus Location:" #: src/properties.c:191 #, c-format msgid "%d MB (free) / %d MB (total)" msgstr "%d MB (своб.) / %d MB (всего)" #~ msgid "Secure Time:" #~ msgstr "Secure Time:" #~ msgid "Sync Partner:" #~ msgstr "Sync Partner:" gmtp-1.3.10/po/insert-header.sin0000644000175000001440000000124012655605137013352 00000000000000# Sed script that inserts the file called HEADER before the header entry. # # At each occurrence of a line starting with "msgid ", we execute the following # commands. At the first occurrence, insert the file. At the following # occurrences, do nothing. The distinction between the first and the following # occurrences is achieved by looking at the hold space. /^msgid /{ x # Test if the hold space is empty. s/m/m/ ta # Yes it was empty. First occurrence. Read the file. r HEADER # Output the file's contents by reading the next line. But don't lose the # current line while doing this. g N bb :a # The hold space was nonempty. Following occurrences. Do nothing. x :b } gmtp-1.3.10/po/es.gmo0000644000175000001440000005025612660314456011230 00000000000000K|%   +> NXk 1 FScvF LW[ dn; $+,F?s,'"(7RZi "! &Fc/ HVimv }& 0. :-Y# ' /+[d0sc1 :Rc#,D&ZF?  # - 7 C Q Z d i o v      \!^!6d!8!/!" " " )"'4"%\"" " ""#### # #Z $g$}$$ $$ $-$2$ 1%-<%j%r%%%% %%% && #& 0&>&]&b& v&& && &&&&&'2'7'<'E'U'Uk')''' ( ( (N<(,("(0(6 )$C)h)))$)))6*47*l* s*-*"*** +h'+a+T+XG,,,,,,,,,,, ,,,---9-!X-z-%--T-1(/#Z/~/ / //// /0020N0 m00 0"0'01!1;1J1#h11-1111 22a022222"2$2#3I630333 33&31 4D>424404455,-5Z5c5z5.5&5,5'62B6(u6&66696*67(a7+787;7$+8 P8^8~88882888C9JR9:9396 :C:^:v: :$: ::=: (;2;3E;y;; <8<AX< <<o</1=a==?==W=>S>>>>>>>??!?)?1?G? d??????{?z@8@9@J@@A `A mA xA0A0AA AA=B%RC)xCCC CCvCGD ]DkDD,D D6DR E _E<kE EE'EEF2F%NF-tFF&FFG&%GLGTGqG G GGG%GG! H.H*MHxHH HHHrH'S?p2/8V_xWrZ`zG-Y:s5\.MmLX  +DjUbf$=!#u&^4 Error getting file from MTP device. Failed to delete file %s Playlists Preferences Properties%d MB (free) / %d MB (total)%s %s of %s (%d%%)%s of %s (%d%%)ApplicationBattery Level:Bus Location:Device Number:Device Version:DeviceFile OperationsFilepaths on PCMTP Device PropertiesManufacturer:Model Number:Name:PlaylistProduct ID:Product:Raw Device InformationSerial Number:Storage:Supported Formats:Vendor ID:Vendor:A simple MTP Client for Solaris 10 and other UNIX / UNIX-like systems About gMTPAddAdd FileAdd FilesAdd Files to your device.Add New PlaylistAdd To PlaylistAdd a varity of Files to your device in the current folder.Add and Modify Playlists.Add file to playlistAlbumAlbum ArtAlbum:Always show Download Path?Are you sure you want to delete these files?Are you sure you want to delete this folder (and all contents)?Are you sure you want to format this device?ArtistAttempt to connect to Device on startupChange Device NameCloseConfirm DeleteConfirm File/Folder DeleteConnectConnect DeviceConnect to which device?Connect to which storage device?Connect/Disconnect to your device.Connected to %s (%s) - %d MB freeConnected to %s - %d MB freeCouldn't create playlist object Couldn't delete folder %s (%x) Couldn't open image file %s Couldn't open playlist file Couldn't open playlist file %s Couldn't remove album art Couldn't save image file Couldn't save image file %s Couldn't save playlist file Couldn't save playlist file %s Couldn't send album art Create FolderCurrent Playlist: DelDel FileDeleteDelete FilesDelete Files/Folders from your device.Delete FolderDeleting playlist failed? Detect: Encountered a Memory Allocation Error. Detect: No available Storage found on device? Detect: No raw devices found. Detect: There has been an error connecting. Detect: Unable to open raw device? Device Audio TracksDevice Name:Device PropertiesDevice:DevicePropeties: How did I get called? DisconnectDisconnect DeviceDisconnected device due to access method changeDownloadDownload FilesDownload Files from your device to your Host PC.Download Path:Download files from your device to your PC. Default Download path is set in the preferences dialog.DurationERROR: Failed memory allocation in albumAddArt() ERROR: Failed memory allocation in albumAddTrackToAlbum() Edit Playlist(s)ErrorError creating or updating album. (This could be due to that your device does not support albums.) Error getting file from MTP device.Error sending file %s. Error sending track. Error: Couldn't set device name to %s Export PlaylistFailed to get storage parameters from the device - need to disconnect.File %s already exists in target folder. Do you want to:File Name:File SizeFile TypeFile UploadFile downloadFilenameFilenamesFindFind:FolderFolder Name:Folder creation failed:Folder creation failed: %s FoldersFormat DeviceFormat Device failed? Found %d itemFound %d itemsFound no tracks within the playlist that exist on this device. Did not import the playlist. GenreI don't know how to delete a parent folder reference? I don't know how to download a parent folder reference? Ignore path information when importing playlistImport PlaylistInformationLocationMove To...Move selected file down in the playlistMove selected file up in the playlistN/ANew FolderNew PlaylistNo Albums available to set Album Art with. Either: 1. You have no music files uploaded? 2. Your device does not support Albums? 3. Previous applications used to upload files do not autocreate albums for you or support the metadata for those files in order to create the albums for you? No device attachedNo files/folders selected?NumOpenOverwriteOverwrite AllPermanently remove files/folders from your device. Note: Albums are stored as *.alb files.Playlist Audio TracksPlaylist Name:Playlist imported. PlaylistsPlease enter search item.PreferencesPrompt if to Overwrite file if already existsPrompt to add New Music track to existing playlistPropertiesQuestion: Confirm Overwrite of Existing File?RefreshRefresh DeviceRefresh File/Folder listing.Refresh FolderRemoveRemove Current Selected PlaylistRemove From PlaylistRemove file from playlistRename FileRename File/FolderRename FilesRename FolderRescan: How did I get called? SaveSave Album Art FileSave as...SearchSearching...Select Album Art FileSelect AllSelect Files to AddSelect Path to DownloadSelect Path to Download toSelect Path to Upload FromSelect Playlist to ImportSizeSkipSkip AllStorage Device:Suppress Album ErrorsThe move function is disabled when using the alternate access method for your device.The playlist failed to import correctly. TrackTrack InformationTrack NameTrack NumberTreat all media as regular filesUnable to add %s due to insufficient space: filesize = %llu, freespace = %llu Unable to add file due to insufficient spaceUnable to move the selected file? Unable to move the selected folder into itself? Unable to move the selected folder underneath itself? Unable to move the selected folder? Unable to rename parent folder Unable to rename this folderUnknownUnknown : %04x:%04x @ bus %d, dev %dUnknown id: %d, %sUpdating playlist failed? Updating playlist failed? 'realloc in playlistImport' Updating playlist failed? 'realloc in savePlayList' UploadUpload Path:Upload a JPG file and assign it as Album Art.Upload an image file as Album Art.Utilize alternate access methodView Device Properties.View/Change gMTP Preferences.WARNING: gconf schema invalid, reverting to defaults. Please ensure schema is loaded in gconf database. WARNING: gconf schema invalid, unable to save! Please ensure schema is loaded in gconf database. WARNING: gconf_callback_func() failed - we got a callback for a key thats not ours? WARNING: gsettings_callback_func() failed - we got a callback for a key thats not ours? Year_About_Cancel_Close_Connect Device_Edit_File_Help_OK_Open_Preferences_Quit_Save_Viewfile = ( x / x ) x %malloc in filesSearch failed malloc in foldersearch failed realloc in playlistImport failed realloc in savePlayList failed setDeviceName: How did I get called? translator-creditsProject-Id-Version: gmtp 1.3.6 Report-Msgid-Bugs-To: chewy509@mailcity.com POT-Creation-Date: 2016-02-15 19:23+1000 PO-Revision-Date: 2014-01-17 12:47+1000 Last-Translator: Language-Team: chewy509@mailcity.com Language: es MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Generator: Poedit 1.6.3 Error al obtener el fichero de dispositivo MTP. No se pudo eliminar el archivo %s Lista de reproducción Preferencias Propiedades%d MB (gratis) / %d MB (total)%s %s de %s (%d%%)%s de %s (%d%%)Application:De nivel de batería:Autobús Ubicación:Número de dispositivo:Versión del dispositivo:Dispositivo:Operaciones con archivos:Rutas de archivos en el PC:Propiedades del dispositivo MTP:Fabricante:Número de modelo:Nombre:lista de reproducciónIdentificación de producto:Producto:Prima la información del dispositivo:Número de serie:Almacenamiento:Formatos:Vendor ID:Proveedor:Un sencillo reproductor de mp3 de cliente para Solaris 10 y otros sistemas UNIX / similar a UNIX Acerca de gMTPAgregarAgregar archivoAgregar archivosAgregar archivos a su dispositivo.Añadir nueva lista de reproducciónAñadir a la lista de reproducciónAñadir una variedad de archivos en el dispositivo en la carpeta actual.Añadir y modificar las listas de reproducción.Agregar archivo a la listaÁlbumAlbum ArtÁlbum:Siempre mostrar el camino de descarga?¿Está seguro que desea eliminar estos archivos?¿Está seguro que quiere borrar esta carpeta (y todo su contenido)?¿Está seguro que desea formatear el dispositivo?ArtistaIntenta conectarse a dispositivos en el arranqueCambio de nombre de dispositivoCerrarConfirmar eliminaciónArchivo Confirmar / eliminación de carpetasConectarConecte el dispositivoConectar con el dispositivo?Conectar con el dispositivo de almacenamiento?Conectar / desconectar el dispositivo.Conectado a %s (%s) - %d MB de espacio libreConectado a %s - %d MB de espacio libreNo se pudo crear el objeto lista de reproducción No se puede eliminar la carpeta %s (%x) No se pudo abrir archivo de imagen %s No se pudo abrir el archivo de lista de reproducción No se pudo abrir el archivo de lista de reproducción %s No se pudo quitar la carátula del álbum No se pudo guardar el archivo de imagen No se pudo guardar el archivo de imagen %s No se pudo guardar el archivo de lista de reproducción No se pudo guardar el archivo de lista de reproducción %s No se pudo enviar el álbum de arte Crear carpetaActual lista de reproducción: DelEliminar archivosEliminarEliminar archivosEliminar archivos / carpetas desde el dispositivo.Eliminar carpetaBorrar lista de temas no? Detección: Se ha encontrado un error de asignación de memoria. Detectar: No disponible de almacenamiento se encuentra en el dispositivo? Detectar: No hay dispositivos en bruto que se encuentran. Detección: Se ha producido un error de conexión. Detectar: No se puede abrir el dispositivo de primas? Dispositivo de audio temasNombre del dispositivo:Propiedades del dispositivoDispositivo:DevicePropeties: ¿Cómo me llaman? DesconectarDesconecte el dispositivoDispositivo desconectado debido a acceder a cambio de métodoDescargarDescargar archivosDescargar archivos desde el dispositivo al PC host.Descargar Ruta de acceso:Descarga de archivos desde el dispositivo a su PC. Descargar ruta predeterminada se establece en el cuadro de diálogo preferncesDuraciónERROR: Error de asignación de memoria en albumAddArt() ERROR: Error de asignación de memoria en albumAddTrackToAlbum() Editar lista de reproducción(s)ErrorError al crear o actualizar álbum. (Esto puede ser debido a que el dispositivo no es compatible con discos.) Error al obtener el fichero de dispositivo MTP.Error al enviar el archivo %s. Error al enviar el tema. Error: No se pudo establecer el nombre del dispositivo para %s Exportar lista de reproducciónNo se pudo obtener los parámetros de almacenamiento del dispositivo - que desconectar.Archivo %s ya existe en la carpeta de destino. ¿Desea:Nombre del archivo:Tamaño del archivoTipo de ArchivoCarga de archivosDescarga de archivosNombre de archivoLos nombres de archivoBuscarBuscar:CarpetaNombre de la carpeta:La creación de carpetas no:La creación de carpetas no: %s CarpetasFormato de dispositivosDispositivo de formato no? Encontrado (%d) un elementoSe han encontrado %d artículosNo encontraron pistas de la lista de reproducción que existen en este dispositivo. No importar la lista de reproducción. GéneroNo sé cómo eliminar una referencia carpeta principal? No sé cómo descargar una referencia carpeta principal? No haga caso de información de la ruta al importar lista de reproducciónImportar lista de reproducciónInformaciónUbicaciónMover a...Mover archivo seleccionado en la lista de temasMover archivo seleccionado en la lista de temasN/ANueva carpetaNueva lista de reproducciónNo hay álbumes disponibles para crear carátulas con. O bien: 1. Usted no tiene archivos de música subido? 2. Su dispositivo no es compatible con Picasa? 3. Solicitudes anteriores para subir archivos no autocreate álbumes para usted o apoyar a los metadatos de los archivos a fin de crear los discos para usted? No hay ningún dispositivo conectadoNo hay archivos / carpetas seleccionadas?NúmeroAbrirSobrescribirSobrescribir todosPermanente eliminar los archivos / carpetas desde el dispositivo. Nota: Los álbumes se guardan como archivos *. alb.Lista pistas de audioLista Nombre:Lista de importación. Listas de reproducciónPor favor, introduzca el punto de búsqueda.PreferenciasPreguntar si el archivo para sobrescribir si ya existeDel sistema para agregar nueva pista de música a lista de reproducción existentePropiedadesPregunta: Confirmar la sobrescritura del archivo existente?ActualizarActualizar dispositivoActualizar Archivo / lista de carpetas.Cambiar el nombre de la carpetaEliminarBorrar lista de reproducción seleccionada actualEliminar de la lista de reproducciónEliminar el archivo de lista de reproducciónCambiar el nombre del archivoCambiar el nombre de archivo / carpetaCambiar el nombre del archivoCambiar el nombre de la carpetaVolver a explorar: ¿Cómo me llaman? GuardarGuardar archivo de Album ArtGuardar como...búsquedabúsqueda...Album Art Seleccione ArchivoSeleccionar todoSeleccione los archivos para agregarSeleccionar ruta para descargarSeleccionar ruta para descargar aSeleccionar ruta para subir deSeleccione Importar lista de reproducciónTamañoOmitirOmitir todoDispositivo de almacenamiento:Suprimir errores AlbumLa función de desplazamiento se desactiva cuando se utiliza el método de acceso alternativo para el dispositivo.La lista no se importan correctamente. PistaInformación MusicalNombre de pistaNúmero de pistaTratar a todos los archivos multimedia como archivos normalesNo se puede añadir %s debido a la falta de espacio: %llu = tamaño del archivo, %llu = espacio libre No se puede agregar el archivo debido a la falta de espacioNo se puede mover el archivo seleccionado? No se puede mover la carpeta seleccionada en sí mismo? No se puede mover la carpeta seleccionada por debajo de sí mismo? No se puede mover la carpeta seleccionada? No se puede mover la carpeta seleccionada? No se puede mover la carpeta seleccionada?DesconocidaDesconocida: %04x:%04x @ bus %d, dev %dDesconocida id: %d, %sActualizar lista de temas no? Actualizar lista de temas no? 'realloc en savePlayList' Actualizar lista de temas no? 'realloc en savePlayList' SubirSubir Ruta de acceso:Subir un archivo JPG y asignarlo como Album Art.Subir un archivo de imagen como carátula del álbum.Utilizar el método de acceso alternativoPropiedades de la vista de dispositivos.Ver / Cambiar preferencias gMTP.ADVERTENCIA: El esquema de GConf no válido, volviendo a los valores predeterminados. Por favor, asegúrese de esquema se carga en base de datos de GConf. ADVERTENCIA: El esquema de GConf inválida, incapaz de guardar! Por favor, asegúrese de esquema se carga en base de datos de GConf. ADVERTENCIA: gconf_callback_func () no - tenemos una devolución de llamada de eso no es nuestra clave? ADVERTENCIA: gsettings_callback_func () no - tenemos una devolución de llamada de eso no es nuestra clave? Año_Acerca de_Cancelar_CerrarConecte el dispositivo_EditarA_rchivoA_yuda_Aceptar_Abrir_Preferencias_Salir_Guardar_Verarchivo = ( x / x ) x %realloc en savePlayList no realloc en savePlayList no realloc en savePlayList no realloc en savePlayList no setDeviceName: ¿Cómo me llaman? Googlegmtp-1.3.10/po/Makefile.am0000644000175000001440000000010612655605137012141 00000000000000AUTOMAKE_OPTIONS = subdir-objects ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS} gmtp-1.3.10/po/fr.po0000644000175000001440000010076412660314456011064 00000000000000# gmtp Language POT file. # Copyright (C) 2103 Darran Kartaschew # This file is distributed under the same license as the gmtp package. # Darran Kartaschew, 2013, chewy509@mailcity.com. # msgid "" msgstr "" "Project-Id-Version: gmtp 1.3.6\n" "Report-Msgid-Bugs-To: chewy509@mailcity.com\n" "POT-Creation-Date: 2016-02-15 19:23+1000\n" "PO-Revision-Date: 2014-01-17 12:47+1000\n" "Last-Translator: \n" "Language-Team: chewy509@mailcity.com\n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Poedit 1.6.3\n" #: src/about.c:46 src/about.c:123 msgid "" "A simple MTP Client for Solaris 10\n" "and other UNIX / UNIX-like systems\n" msgstr "" "Un client MTP simple pour Solaris 10\n" "et d'autres UNIX / systèmes de type UNIX\n" #: src/about.c:77 msgid "translator-credits" msgstr "Coug" #: src/about.c:88 msgid "About gMTP" msgstr "A propos de gMTP" #: src/about.c:90 src/albumart.c:47 src/preferences.c:431 src/properties.c:159 msgid "_Close" msgstr "_Fermer" #: src/about.c:135 #, fuzzy msgid "" "Copyright 2009-2016, Darran Kartaschew\n" "Released under the BSD License" msgstr "" "Copyright 2009-2014, Darran Kartaschew\n" "Paru sous la Licence BSD" #: src/albumart.c:45 src/interface.c:331 src/interface.c:531 msgid "Album Art" msgstr "Pochette d'album" #: src/albumart.c:77 msgid "Album:" msgstr "Album:" #: src/albumart.c:110 msgid "" "No Albums available to set Album Art with. Either:\n" "1. You have no music files uploaded?\n" "2. Your device does not support Albums?\n" "3. Previous applications used to upload files do not autocreate albums for " "you or support the metadata for those files in order to create the albums " "for you?\n" msgstr "" "Aucun album disponible pour définir la pochette d'album. Soit:\n" "1. Vous n'avez pas de fichier de musique exporté?\n" "2. Votre périphérique ne supporte pas les albums?\n" "3. Les applications précédentes utilisées pour exporter des fichiers ne " "crées pas automatiquement d'albums pour vous ou ne supportent pas les " "métadonnées pour ces fichiers afin de créer des albums pour vous?\n" #: src/albumart.c:163 msgid "Upload" msgstr "Exporter" #: src/albumart.c:167 msgid "Remove" msgstr "Retirer" #: src/albumart.c:172 src/interface.c:511 msgid "Download" msgstr "Télécharger" #: src/albumart.c:293 msgid "Select Album Art File" msgstr "Choisir le fichier de la pochette d'album" #: src/albumart.c:295 src/albumart.c:406 src/callbacks.c:362 #: src/interface.c:1380 src/interface.c:1928 src/interface.c:1961 #: src/interface.c:2401 src/interface.c:2456 src/interface.c:2514 #: src/interface.c:3014 src/interface.c:3198 src/playlist.c:882 #: src/playlist.c:1255 src/playlist.c:1337 src/preferences.c:701 #: src/preferences.c:731 src/progress.c:108 msgid "_Cancel" msgstr "A_nnuler" #: src/albumart.c:296 src/callbacks.c:363 src/interface.c:1381 #: src/interface.c:1929 src/interface.c:1962 src/playlist.c:1256 #: src/playlist.c:1338 src/preferences.c:702 src/preferences.c:732 msgid "_Open" msgstr "_Ouvrir" # ########################################## #: src/albumart.c:404 msgid "Save Album Art File" msgstr "Enregistrer le fichier de la pochette d'album" #: src/albumart.c:407 msgid "_Save" msgstr "_Enregistrer" #: src/albumart.c:426 #, c-format msgid "Couldn't save image file %s\n" msgstr "Impossible d'enregistrer un fichier image %s\n" #: src/albumart.c:427 msgid "Couldn't save image file\n" msgstr "Impossible d'enregistrer un fichier image\n" #: src/callbacks.c:87 src/dnd.c:63 src/dnd.c:136 msgid "File Upload" msgstr "Exportation de fichier" #: src/callbacks.c:125 src/callbacks.c:178 src/callbacks.c:211 #: src/callbacks.c:251 src/callbacks.c:496 src/callbacks.c:540 #: src/callbacks.c:610 src/callbacks.c:643 src/playlist.c:487 #: src/playlist.c:506 msgid "No files/folders selected?" msgstr "Pas de fichiers/dossiers sélectionnés?" #: src/callbacks.c:144 msgid "Unable to rename parent folder\n" msgstr "Impossible de déplacer le dossier sélectionné?\n" #: src/callbacks.c:145 msgid "Unable to rename this folder" msgstr "Impossible de déplacer le dossier sélectionné?" #: src/callbacks.c:169 msgid "" "The move function is disabled when using the alternate access method for " "your device." msgstr "" "La fonction de déplacement est désactivée lorsque vous utilisez la méthode " "d'accès de rechange pour votre appareil." #: src/callbacks.c:225 msgid "Are you sure you want to delete these files?" msgstr "Êtes-vous sûr de vouloir supprimer ces fichiers?" #: src/callbacks.c:226 src/callbacks.c:515 src/callbacks.c:658 msgid "Confirm Delete" msgstr "Confirmer la suppression" #: src/callbacks.c:247 src/callbacks.c:257 src/callbacks.c:356 #: src/callbacks.c:372 src/callbacks.c:379 src/interface.c:1972 #: src/interface.c:1980 msgid "File download" msgstr "Téléchargement de fichier" #: src/callbacks.c:277 msgid "Disconnect" msgstr "Déconnecter" #: src/callbacks.c:281 src/callbacks.c:290 src/callbacks.c:817 #: src/callbacks.c:825 src/mtp.c:451 src/mtp.c:459 src/properties.c:261 #: src/properties.c:270 #, c-format msgid "Connected to %s - %d MB free" msgstr "Connecté à %s - %d Mo d'espace libre" #: src/callbacks.c:285 src/callbacks.c:821 src/mtp.c:455 src/properties.c:265 #, c-format msgid "Connected to %s (%s) - %d MB free" msgstr "Connecté à %s (%s) - %d Mo d'espace libre" #: src/callbacks.c:300 msgid "Disconnect Device" msgstr "Déconnecter le périphérique" #: src/callbacks.c:309 src/interface.c:463 msgid "Connect" msgstr "Connecter" #: src/callbacks.c:312 src/main.c:109 msgid "No device attached" msgstr "Aucun périphérique connecté" #: src/callbacks.c:316 msgid "Connect Device" msgstr "Connecter le périphérique" #: src/callbacks.c:360 src/interface.c:1926 src/interface.c:1959 msgid "Select Path to Download" msgstr "Choisir le chemin du téléchargement" #: src/callbacks.c:514 src/callbacks.c:657 msgid "Are you sure you want to delete this folder (and all contents)?" msgstr "Êtes-vous sûr de vouloir supprimer ce dossier (et tout son contenu)?" #: src/callbacks.c:561 src/callbacks.c:562 src/interface.c:2088 #: src/interface.c:2089 msgid "Unable to move the selected folder into itself?\n" msgstr "Impossible de déplacer le dossier sélectionné sur lui-même?\n" #: src/callbacks.c:580 src/interface.c:2106 msgid "Unable to move the selected folder?\n" msgstr "Impossible de déplacer le dossier sélectionné?\n" #: src/callbacks.c:586 src/callbacks.c:587 src/interface.c:2112 #: src/interface.c:2113 msgid "Unable to move the selected folder underneath itself?\n" msgstr "Impossible de déplacer le dossier sélectionné sous lui-même?\n" #: src/callbacks.c:685 src/mtp.c:258 src/mtp.c:276 src/mtp.c:285 src/mtp.c:294 #: src/mtp.c:303 msgid "N/A" msgstr "Non applicable" #: src/callbacks.c:758 msgid "Please enter search item." msgstr "S'il vous plaît entrez élément recherché." #: src/callbacks.c:759 msgid "Search" msgstr "Rechercher" #: src/callbacks.c:857 msgid "Searching..." msgstr "Recherche" #: src/formatdevice.c:56 msgid "Formatting..." msgstr "" #: src/formatdevice.c:87 msgid "Are you sure you want to format this device?" msgstr "Êtes-vous sûr de vouloir formater ce périphérique?" #: src/formatdevice.c:88 src/interface.c:323 msgid "Format Device" msgstr "Formatage du périphérique" #: src/interface.c:225 msgid "_File" msgstr "_Fichier" #: src/interface.c:232 msgid "_Connect Device" msgstr "Connecter le périphérique" #: src/interface.c:240 src/interface.c:2759 msgid "Add Files" msgstr "Ajouter des fichiers" #: src/interface.c:244 src/interface.c:2763 msgid "Delete Files" msgstr "Supprimer les fichiers" #: src/interface.c:248 msgid "Rename Files" msgstr "Renommer le fichier" #: src/interface.c:252 src/interface.c:2775 src/interface.c:2962 #: src/interface.c:3195 msgid "Move To..." msgstr "Déplacer vers..." #: src/interface.c:256 src/interface.c:2767 msgid "Download Files" msgstr "Télécharger des fichiers" #: src/interface.c:264 src/interface.c:2795 src/interface.c:2950 msgid "Create Folder" msgstr "Créer un dossier" #: src/interface.c:268 src/interface.c:2799 src/interface.c:2958 msgid "Delete Folder" msgstr "Supprimer le dossier" #: src/interface.c:276 msgid "Refresh Folder" msgstr "Renommer le dossier" #: src/interface.c:282 msgid "Device Properties" msgstr "Propriétés du périphérique" #: src/interface.c:292 msgid "_Quit" msgstr "_Quitter" #: src/interface.c:296 msgid "_Edit" msgstr "_Modifier" #: src/interface.c:303 msgid "Select All" msgstr "Sélectionner tout" # ########################################################## #: src/interface.c:311 msgid "Find" msgstr "Trouver" #: src/interface.c:319 src/interface.c:2453 msgid "Change Device Name" msgstr "Changer le nom du périphérique" #: src/interface.c:335 msgid "Edit Playlist(s)" msgstr "Éditer la/les liste(s) d'écoute" #: src/interface.c:343 msgid "_Preferences" msgstr "_Préférences" #: src/interface.c:347 msgid "_View" msgstr "_Voir" #: src/interface.c:355 msgid "Toolbar" msgstr "" # ########################################################## #: src/interface.c:363 msgid "Folders" msgstr "Dossiers" #: src/interface.c:371 src/interface.c:2862 msgid "File Size" msgstr "Taille du fichier" #: src/interface.c:375 src/interface.c:1138 src/interface.c:1147 #: src/interface.c:2866 msgid "File Type" msgstr "Type de fichier" #: src/interface.c:379 src/interface.c:2870 msgid "Track Number" msgstr "Numéro de piste" #: src/interface.c:383 src/interface.c:1183 src/interface.c:1192 #: src/interface.c:2874 msgid "Track Name" msgstr "Nom de la piste" #: src/interface.c:387 src/interface.c:1202 src/interface.c:1211 #: src/interface.c:2878 src/playlist.c:654 src/playlist.c:718 msgid "Artist" msgstr "Artiste" #: src/interface.c:391 src/interface.c:1221 src/interface.c:1230 #: src/interface.c:2882 src/playlist.c:664 src/playlist.c:728 msgid "Album" msgstr "Album" #: src/interface.c:395 src/interface.c:1240 src/interface.c:1249 #: src/interface.c:2886 msgid "Year" msgstr "Année" #: src/interface.c:399 src/interface.c:1259 src/interface.c:1268 #: src/interface.c:2890 msgid "Genre" msgstr "Genre" #: src/interface.c:403 src/interface.c:1278 src/interface.c:1287 #: src/interface.c:2894 src/playlist.c:692 src/playlist.c:756 msgid "Duration" msgstr "Durée" #: src/interface.c:407 msgid "_Help" msgstr "_Aide" #: src/interface.c:414 msgid "_About" msgstr "_A propos de" #: src/interface.c:467 src/interface.c:469 msgid "Connect/Disconnect to your device." msgstr "Connexion/déconnexion à votre périphérique." #: src/interface.c:483 src/interface.c:3066 src/playlist.c:176 msgid "Add" msgstr "Ajouter" #: src/interface.c:487 src/interface.c:489 msgid "Add Files to your device." msgstr "Ajouter des fichiers à votre périphérique." #: src/interface.c:487 msgid "Add a varity of Files to your device in the current folder." msgstr "" "Ajouter une variété de fichiers sur votre périphérique dans le dossier " "courant." #: src/interface.c:497 msgid "Delete" msgstr "Supprimer" #: src/interface.c:501 src/interface.c:503 msgid "Delete Files/Folders from your device." msgstr "Supprimer les fichiers/dossiers de votre périphérique." #: src/interface.c:501 msgid "" "Permanently remove files/folders from your device. Note: Albums are stored " "as *.alb files." msgstr "" "Supprimer définitivement les fichiers / dossiers de votre périphérique. " "Note: Les albums sont stockés dans des fichiers *. alb." #: src/interface.c:515 src/interface.c:517 msgid "Download Files from your device to your Host PC." msgstr "Télécharger des fichiers de votre périphérique à votre PC hôte." #: src/interface.c:515 msgid "" "Download files from your device to your PC. Default Download path is set in " "the preferences dialog." msgstr "" "Télécharger des fichiers de votre périphérique à votre PC. Le chemin de " "téléchargement par défaut est défini dans la boîte de dialogue préférences." #: src/interface.c:535 src/interface.c:537 msgid "Upload an image file as Album Art." msgstr "Exporter un fichier image comme pochette d'album." #: src/interface.c:535 msgid "Upload a JPG file and assign it as Album Art." msgstr "Exporter un fichier JPG et l'assigner comme pochette d'album." #: src/interface.c:545 src/interface.c:3011 msgid "Playlists" msgstr "Listes d'écoute" #: src/interface.c:549 src/interface.c:551 msgid "Add and Modify Playlists." msgstr "Ajouter et modifier des listes d'écoute." #: src/interface.c:559 msgid "Refresh" msgstr "Actualiser" #: src/interface.c:563 src/interface.c:565 msgid "Refresh File/Folder listing." msgstr "Actualiser les fichiers/dossiers de la liste d'écoute." #: src/interface.c:579 msgid "Properties" msgstr "Propriétés" #: src/interface.c:583 src/interface.c:585 msgid "View Device Properties." msgstr "Voir les propriétés du périphérique." #: src/interface.c:593 msgid "Preferences" msgstr "Préférences" #: src/interface.c:597 src/interface.c:599 msgid "View/Change gMTP Preferences." msgstr "Voir/Modifier les préférences gMTP." # ########################################################## #: src/interface.c:644 msgid "Find:" msgstr "Trouver:" #: src/interface.c:666 msgid "Filenames" msgstr "Noms de fichiers" #: src/interface.c:671 msgid "Track Information" msgstr "Information de la piste" #: src/interface.c:1053 src/interface.c:1068 msgid "Filename" msgstr "Nom de fichier" #: src/interface.c:1094 src/interface.c:1103 msgid "Size" msgstr "Taille" #: src/interface.c:1157 src/interface.c:1166 src/playlist.c:682 #: src/playlist.c:746 msgid "Track" msgstr "Piste" #: src/interface.c:1305 src/interface.c:1314 msgid "Location" msgstr "Lieu" #: src/interface.c:1331 msgid "Folder" msgstr "Dossier" #: src/interface.c:1378 msgid "Select Files to Add" msgstr "Choisir les fichiers à ajouter" #: src/interface.c:1857 #, c-format msgid "Found %d items" msgstr "Trouvé %d articles" #: src/interface.c:1859 #, c-format msgid "Found %d item" msgstr "%d objets trouvés" # ########################################################## #: src/interface.c:2053 src/interface.c:2054 msgid "I don't know how to download a parent folder reference?\n" msgstr "Je ne sais pas comment télécharger un dossier parent de référence?\n" #: src/interface.c:2080 msgid "Unable to move the selected file?\n" msgstr "Impossible de déplacer le fichier sélectionné?\n" #: src/interface.c:2203 src/interface.c:2204 msgid "I don't know how to delete a parent folder reference?\n" msgstr "Je ne sais pas comment supprimer une référence à un dossier parent?\n" #: src/interface.c:2371 msgid "Error" msgstr "Erreur" #: src/interface.c:2387 msgid "Information" msgstr "Information" #: src/interface.c:2398 msgid "New Folder" msgstr "Nouveau dossier" #: src/interface.c:2400 src/interface.c:2455 src/interface.c:2513 #: src/interface.c:2573 src/interface.c:2653 src/interface.c:3013 #: src/interface.c:3197 src/playlist.c:881 msgid "_OK" msgstr "_Valider" #: src/interface.c:2420 msgid "Folder Name:" msgstr "Nom du dossier:" #: src/interface.c:2475 msgid "Device Name:" msgstr "Nom du périphérique:" #: src/interface.c:2511 msgid "Rename File/Folder" msgstr "Renommer le fichier/dossier" #: src/interface.c:2533 msgid "File Name:" msgstr "Nom du fichier:" #: src/interface.c:2571 msgid "Connect to which device?" msgstr "Connecter à quel périphérique?" #: src/interface.c:2592 msgid "Device:" msgstr "Périphérique:" #: src/interface.c:2618 #, c-format msgid "Unknown : %04x:%04x @ bus %d, dev %d" msgstr "Inconnu : %04x:%04x @ bus %d, dev %d" #: src/interface.c:2651 msgid "Connect to which storage device?" msgstr "Connecter à quel périphérique de stockage?" #: src/interface.c:2673 msgid "Storage Device:" msgstr "Périphérique de stockage:" #: src/interface.c:2694 #, c-format msgid "Unknown id: %d, %s" msgstr "Identifiant inconnu: %d, %s" #: src/interface.c:2724 #, c-format msgid "" "File %s already exists in target folder.\n" "Do you want to:" msgstr "" "Le fichier %s existe déjà dans le dossier cible.\n" "Voulez-vous:" #: src/interface.c:2726 msgid "Skip" msgstr "Sauter" #: src/interface.c:2727 msgid "Skip All" msgstr "Sauter tous" #: src/interface.c:2728 msgid "Overwrite" msgstr "Écraser" #: src/interface.c:2729 msgid "Overwrite All" msgstr "Remplacer tous" #: src/interface.c:2731 msgid "Question: Confirm Overwrite of Existing File?" msgstr "Question: Confirmer l'écrasement du fichier existant?" #: src/interface.c:2771 msgid "Rename File" msgstr "Renommer le fichier" #: src/interface.c:2783 msgid "Add To Playlist" msgstr "Ajouter à la liste d'écoute" #: src/interface.c:2787 msgid "Remove From Playlist" msgstr "Supprimer de la liste d'écoute" #: src/interface.c:2807 src/interface.c:2970 msgid "Refresh Device" msgstr "Actualiser le périphérique" #: src/interface.c:2954 msgid "Rename Folder" msgstr "Renommer le dossier" #: src/interface.c:3035 src/playlist.c:902 msgid "Playlist Name:" msgstr "Nom de la liste d'écoute:" #: src/interface.c:3075 src/interface.c:3077 src/playlist.c:153 #: src/playlist.c:155 msgid "Add New Playlist" msgstr "Ajouter une nouvelle liste d'écoute" #: src/mtp.c:104 src/mtp.c:105 msgid "Detect: No raw devices found.\n" msgstr "Détecté: Aucun périphérique brut trouvé.\n" #: src/mtp.c:108 src/mtp.c:109 src/mtp.c:117 src/mtp.c:118 msgid "Detect: There has been an error connecting. \n" msgstr "Détecté: Il ya eu une erreur de connexion.\n" #: src/mtp.c:112 src/mtp.c:113 msgid "Detect: Encountered a Memory Allocation Error. \n" msgstr "Détecté: une erreur d'allocation de mémoire a été rencontrée. \n" #: src/mtp.c:142 src/mtp.c:143 msgid "Detect: Unable to open raw device?\n" msgstr "Détecté: Impossible d'ouvrir le périphérique brut?\n" #: src/mtp.c:156 src/mtp.c:157 msgid "Detect: No available Storage found on device?\n" msgstr "Détecter: Non disponible Entreposage trouvant sur le périphérique?\n" #: src/mtp.c:238 src/mtp.c:244 msgid "Unknown" msgstr "Inconnu" #: src/mtp.c:330 msgid "DevicePropeties: How did I get called?\n" msgstr "DevicePropeties: Comment ai-je été appelé?\n" #: src/mtp.c:438 msgid "Failed to get storage parameters from the device - need to disconnect." msgstr "" "Impossible d'obtenir les paramètres de stockage du périphérique - besoin de " "déconnecter." #: src/mtp.c:466 msgid "Rescan: How did I get called?\n" msgstr "Rescan: Comment ai-je été appelé?\n" #: src/mtp.c:574 #, c-format msgid "" "Unable to add %s due to insufficient space: filesize = %llu, freespace = " "%llu\n" msgstr "" "Impossible d'ajouter %s car l'espace est insuffisant: taille du fichier = " "%llu, espace libre = %llu\n" #: src/mtp.c:578 msgid "Unable to add file due to insufficient space" msgstr "Impossible d'ajouter le fichier car l'espace est insuffisant" #: src/mtp.c:644 src/mtp.c:654 msgid "" msgstr "" #: src/mtp.c:675 msgid "Error sending track.\n" msgstr "Erreur en envoyant la piste.\n" #: src/mtp.c:676 #, fuzzy, c-format msgid "Error code %d sending track to device: %s" msgstr "Code d'erreur %d d'envoi de la piste au périphérique: %s" #: src/mtp.c:680 src/mtp.c:681 src/mtp.c:737 src/mtp.c:738 src/mtp.c:845 #: src/mtp.c:846 msgid "Transfer canceled." msgstr "" #: src/mtp.c:732 #, c-format msgid "Error sending file %s.\n" msgstr "Erreur d'envoi du fichier %s.\n" #: src/mtp.c:733 #, fuzzy msgid "Error sending file: " msgstr "Erreur d'envoi du fichier:" #: src/mtp.c:811 #, c-format msgid "" "\n" "Failed to delete file %s\n" msgstr "" "\n" "Impossible de supprimer le fichier %s\n" #: src/mtp.c:812 #, fuzzy msgid "Failed to delete file: " msgstr "Impossible de supprimer le fichier" #: src/mtp.c:840 msgid "" "\n" "Error getting file from MTP device.\n" msgstr "" "\n" "Erreur de récupération des fichiers à partir du périphérique MTP.\n" #: src/mtp.c:841 msgid "Error getting file from MTP device." msgstr "Erreur de récupération des fichiers du périphérique MTP." #: src/mtp.c:964 src/mtp.c:1045 #, c-format msgid "Folder creation failed: %s\n" msgstr "Échec de la création du dossier: %s\n" #: src/mtp.c:965 msgid "Folder creation failed:" msgstr "Échec de la création du dossier:" #: src/mtp.c:1010 #, c-format msgid "Couldn't delete folder %s (%x)\n" msgstr "Impossible de supprimer le dossier %s (%x)\n" #: src/mtp.c:1046 #, fuzzy msgid "Folder creation failed: " msgstr "Échec de la création du dossier:" #: src/mtp.c:1259 #, c-format msgid "Error: Couldn't set device name to %s\n" msgstr "Erreur: Impossible de définir le nom du périphérique à %s\n" #: src/mtp.c:1265 msgid "setDeviceName: How did I get called?\n" msgstr "setDeviceName: Comment ai-je été appelé?\n" #: src/mtp.c:1462 msgid "ERROR: Failed memory allocation in albumAddTrackToAlbum()\n" msgstr "Échec d'allocation de mémoire dans albumAddTrackToAlbum (): ERREUR\n" #: src/mtp.c:1491 src/mtp.c:1492 msgid "" "Error creating or updating album.\n" "(This could be due to that your device does not support albums.)\n" msgstr "" "Erreur de création ou de mise à jour de l'album.\n" "(Cela pourrait être dû au fait que votre périphérique ne supporte pas les " "albums.)\n" #: src/mtp.c:1520 msgid "ERROR: Failed memory allocation in albumAddArt()\n" msgstr "Échec d'allocation de mémoire dans albumAddArt (): ERREUR\n" #: src/mtp.c:1525 src/mtp.c:1532 #, c-format msgid "Couldn't open image file %s\n" msgstr "Impossible d'ouvrir le fichier image %s\n" #: src/mtp.c:1545 src/mtp.c:1546 msgid "Couldn't send album art\n" msgstr "Impossible d'envoyer des pochettes d'album\n" #: src/mtp.c:1590 src/mtp.c:1591 msgid "Couldn't remove album art\n" msgstr "Impossible de supprimer la pochette d'album\n" #: src/mtp.c:1642 src/mtp.c:1744 msgid "Couldn't create playlist object\n" msgstr "Impossible de créer l'objet dans la liste d'écoute\n" #: src/mtp.c:1654 msgid "Deleting playlist failed?\n" msgstr "Échec de la suppression de la liste d'écoute?\n" #: src/mtp.c:1665 msgid "Updating playlist failed?\n" msgstr "Échec de la mise à jour de la liste d'écoute?\n" #: src/mtp.c:1690 #, c-format msgid "Couldn't open playlist file %s\n" msgstr "Impossible d'ouvrir le fichier de la liste d'écoute %s\n" #: src/mtp.c:1691 msgid "Couldn't open playlist file\n" msgstr "Impossible d'ouvrir le fichier de la liste d'écoute\n" #: src/mtp.c:1713 msgid "realloc in playlistImport failed\n" msgstr "Échec de la relocalisation dans savePlayList\n" #: src/mtp.c:1714 msgid "Updating playlist failed? 'realloc in playlistImport'\n" msgstr "" "Échec de la mise à jour de la liste d'écoute? 'relocalisation dans " "savePlayList '\n" #: src/mtp.c:1750 msgid "Playlist imported.\n" msgstr "Listes d'écoute importées.\n" #: src/mtp.c:1754 src/mtp.c:1755 msgid "" "Found no tracks within the playlist that exist on this device. Did not " "import the playlist.\n" msgstr "" "Aucune piste trouvée dans la liste d'écoute qui existe sur ce périphérique. " "N'a pas importé la liste d'écoute.\n" #: src/mtp.c:1780 #, c-format msgid "Couldn't save playlist file %s\n" msgstr "Impossible d'enregistrer le fichier de la liste d'écoute %s\n" #: src/mtp.c:1781 msgid "Couldn't save playlist file\n" msgstr "Impossible d'enregistrer le fichier de la liste d'écoute\n" #: src/mtp.c:1806 msgid "Format Device failed?\n" msgstr "Échec du formatage du périphérique?\n" #: src/mtp.c:1824 src/mtp.c:1878 src/playlist.c:1158 src/playlist.c:1170 msgid "realloc in savePlayList failed\n" msgstr "Échec de la relocalisation dans savePlayList\n" #: src/mtp.c:1825 src/mtp.c:1879 src/playlist.c:1159 src/playlist.c:1171 msgid "Updating playlist failed? 'realloc in savePlayList'\n" msgstr "" "Échec de la mise à jour de la liste d'écoute? 'relocalisation dans " "savePlayList '\n" #: src/mtp.c:2096 src/mtp.c:2152 src/mtp.c:2238 msgid "malloc in filesSearch failed\n" msgstr "" #: src/mtp.c:2097 src/mtp.c:2153 src/mtp.c:2239 msgid "Failed searching? 'malloc in filesSearch'\n" msgstr "" #: src/mtp.c:2303 msgid "malloc in foldersearch failed\n" msgstr "" #: src/mtp.c:2304 msgid "Failed searching? 'malloc in foldersearch'\n" msgstr "" #: src/playlist.c:98 msgid " Playlists" msgstr " Liste d'écoute" #: src/playlist.c:124 msgid "Current Playlist: " msgstr "Liste d'écoute actuelle: " #: src/playlist.c:185 src/playlist.c:187 msgid "Remove Current Selected Playlist" msgstr "Supprimer la liste d'écoute présentement sélectionnée" #: src/playlist.c:209 msgid "Del" msgstr "Supprimer" #: src/playlist.c:217 msgid "Open" msgstr "Ouvrir" # ########################################################## #: src/playlist.c:223 src/playlist.c:225 msgid "Import Playlist" msgstr "Importer la liste d'écoute" #: src/playlist.c:232 msgid "Save" msgstr "Enregistrer" #: src/playlist.c:238 src/playlist.c:240 msgid "Export Playlist" msgstr "Exporter la liste d'écoute" #: src/playlist.c:262 src/playlist.c:264 msgid "Device Audio Tracks" msgstr "Pistes audio du périphérique" #: src/playlist.c:287 src/playlist.c:289 msgid "Add file to playlist" msgstr "Ajouter un fichier à la liste d'écoute" #: src/playlist.c:310 msgid "Add File" msgstr "Ajouter un fichier" #: src/playlist.c:318 src/playlist.c:320 msgid "Remove file from playlist" msgstr "Supprimer le fichier de la liste d'écoute" #: src/playlist.c:341 msgid "Del File" msgstr "Supprimer le fichier" #: src/playlist.c:355 src/playlist.c:357 msgid "Playlist Audio Tracks" msgstr "Audio des pistes de la liste d'écoute" #: src/playlist.c:387 src/playlist.c:389 msgid "Move selected file up in the playlist" msgstr "Monter le fichier choisi dans la liste d'écoute" #: src/playlist.c:404 src/playlist.c:406 msgid "Move selected file down in the playlist" msgstr "Descendre le fichier choisi dans la liste d'écoute" #: src/playlist.c:419 msgid "Close" msgstr "Fermer" #: src/playlist.c:708 msgid "Num" msgstr "Nombre" #: src/playlist.c:879 msgid "New Playlist" msgstr "Nouvelle liste d'écoute" #: src/playlist.c:1253 msgid "Select Playlist to Import" msgstr "Sélectionner la liste d'écoute à importer" #: src/playlist.c:1303 src/playlist.c:1304 msgid "The playlist failed to import correctly.\n" msgstr "La liste d'écoute ne s'est pas importée correctement.\n" #: src/playlist.c:1335 msgid "Save as..." msgstr "Enregistrer sous..." #: src/preferences.c:72 msgid " Preferences" msgstr " Préférences" #: src/preferences.c:97 msgid "Application" msgstr "Application" #: src/preferences.c:124 msgid "Toolbar Style:" msgstr "" #: src/preferences.c:132 src/preferences.c:139 src/preferences.c:771 #: src/preferences.c:805 msgid "both" msgstr "" #: src/preferences.c:133 src/preferences.c:140 src/preferences.c:773 #: src/preferences.c:807 msgid "icon" msgstr "" #: src/preferences.c:134 src/preferences.c:141 src/preferences.c:775 #: src/preferences.c:809 msgid "text" msgstr "" #: src/preferences.c:184 msgid "Device" msgstr "Périphérique" #: src/preferences.c:189 msgid "Attempt to connect to Device on startup" msgstr "Tentative de connexion au périphérique lors du démarrage" #: src/preferences.c:193 msgid "Utilize alternate access method" msgstr "Utiliser la méthode d'accès de substitution" #: src/preferences.c:202 msgid "File Operations" msgstr "Opérations sur les fichiers" #: src/preferences.c:229 msgid "Confirm File/Folder Delete" msgstr "Confirmer la suppression du fichier/dossier" #: src/preferences.c:233 msgid "Prompt if to Overwrite file if already exists" msgstr "Demander pour écraser le fichier s'il existe déjà" #: src/preferences.c:237 msgid "Suppress Album Errors" msgstr "Supprimer les erreurs de l'album" # ########################################################## #: src/preferences.c:241 msgid "Treat all media as regular files" msgstr "Traiter tous les fichiers multimédias comme des fichiers réguliers" #: src/preferences.c:245 msgid "Preserve file timestamps (during download)" msgstr "" #: src/preferences.c:256 msgid "Playlist" msgstr "Liste d'écoute" #: src/preferences.c:282 msgid "Prompt to add New Music track to existing playlist" msgstr "Demander l'ajout de la piste New Music à une liste d'écoute existante" #: src/preferences.c:286 msgid "Ignore path information when importing playlist" msgstr "" "Ignorer les informations du chemin lors de l'importation de la liste d'écoute" #: src/preferences.c:297 msgid "Filepaths on PC" msgstr "Chemin de fichiers sur PC" #: src/preferences.c:324 msgid "Always show Download Path?" msgstr "Toujours afficher le chemin de téléchargement?" #: src/preferences.c:344 msgid "Download Path:" msgstr "Chemin de téléchargement:" #: src/preferences.c:360 msgid "Upload Path:" msgstr "Chemin d'exportation:" #: src/preferences.c:699 msgid "Select Path to Download to" msgstr "Choisir le chemin du téléchargement sur" #: src/preferences.c:729 msgid "Select Path to Upload From" msgstr "Choisir le chemin d'exportation à partir de" #: src/prefs.c:102 msgid "" "WARNING: gconf schema invalid, reverting to defaults. Please ensure schema " "is loaded in gconf database.\n" msgstr "" "AVERTISSEMENT: schéma gconf invalide, revenir aux réglages par défaut. S'il " "vous plaît s'assurer que schéma est chargé dans la base de données gconf.\n" #: src/prefs.c:241 msgid "" "WARNING: gconf schema invalid, unable to save! Please ensure schema is " "loaded in gconf database.\n" msgstr "" "AVERTISSEMENT: schéma gconf invalide, incapable de sauver! S'il vous plaît " "s'assurer que le schéma est chargé dans la base de données gconf.\n" #: src/prefs.c:445 src/prefs.c:685 msgid "Disconnected device due to access method change" msgstr "Périphérique déconnecté en raison d'accéder à un changement de méthode" #: src/prefs.c:504 msgid "" "WARNING: gconf_callback_func() failed - we got a callback for a key thats " "not ours?\n" msgstr "" "AVERTISSEMENT: gconf_callback_func () a échoué - nous avons eu un rappel " "pour une clé qui ne nous appartient pas?\n" #: src/prefs.c:734 msgid "" "WARNING: gsettings_callback_func() failed - we got a callback for a key " "thats not ours?\n" msgstr "" "AVERTISSEMENT: gsettings_callback_func () a échoué - nous avons eu un rappel " "pour une clé qui ne nous appartient pas?\n" #: src/progress.c:79 msgid "file = ( x / x ) x %" msgstr "fichier = ( x / x ) x %" #: src/progress.c:194 #, c-format msgid "" "%s\n" "%s of %s (%d%%)" msgstr "" "%s\n" "%s de %s (%d%%)" #: src/progress.c:197 #, c-format msgid "%s of %s (%d%%)" msgstr "%s de %s (%d%%)" #: src/properties.c:69 msgid " Properties" msgstr " Propriétés" #: src/properties.c:91 msgid "MTP Device Properties" msgstr "Propriétés du périphérique MTP" #: src/properties.c:96 msgid "Raw Device Information" msgstr "Information brute sur le périphérique" #: src/properties.c:138 msgid "Name:" msgstr "Nom:" #: src/properties.c:139 msgid "Model Number:" msgstr "Numéro de modèle:" #: src/properties.c:140 msgid "Serial Number:" msgstr "Numéro de série:" #: src/properties.c:141 msgid "Device Version:" msgstr "Version de l'appareil:" #: src/properties.c:142 msgid "Manufacturer:" msgstr "Fabricant:" #: src/properties.c:143 msgid "Battery Level:" msgstr "Niveau de la batterie:" #: src/properties.c:144 msgid "Storage:" msgstr "Stockage:" #: src/properties.c:145 msgid "Supported Formats:" msgstr "Formats supportés:" #: src/properties.c:147 msgid "Vendor:" msgstr "Vendeur:" #: src/properties.c:148 msgid "Product:" msgstr "Produit:" #: src/properties.c:149 msgid "Vendor ID:" msgstr "Identifiant vendeur:" #: src/properties.c:150 msgid "Product ID:" msgstr "Identifiant du produit:" #: src/properties.c:151 msgid "Device Number:" msgstr "Numéro du périphérique:" #: src/properties.c:152 msgid "Bus Location:" msgstr "Situation Bus:" #: src/properties.c:191 #, c-format msgid "%d MB (free) / %d MB (total)" msgstr "%d Mo (libre) / %d Mo (total)" #~ msgid "Secure Time:" #~ msgstr "Temps sécuritaire:" #~ msgid "Sync Partner:" #~ msgstr "Partenaire de synchronisation:" #~ msgid "Quit" #~ msgstr "Quitter" #~ msgid "Quit gMTP." #~ msgstr "Quitter gMTP." #~ msgid "%s - %s of %s (%d%%)" #~ msgstr "%s - %s de %s (%d%%)" #~ msgid " %s %s : (%04x:%04x) @ bus %d, dev %d" #~ msgstr " %s %s : (%04x:%04x) @ bus %d, dev %d" #~ msgid " : %d MB (free) / %d MB (total)" #~ msgstr " : %d Mo (gratuit) / %d Mo (total)" #~ msgid "" #~ msgstr "" #~ msgid "Add Album Art" #~ msgstr "Ajouter une pochette d'album" #~ msgid "FileSize Hidden" #~ msgstr "Cacher la taile du fichier" #~ msgid "Filename:" #~ msgstr "Nom de fichier:" #~ msgid "Object ID" #~ msgstr "Identifiant d'objet" #~ msgid "file://" #~ msgstr "fichier://" #~ msgid "Columns" #~ msgstr "Colonnes" gmtp-1.3.10/po/fr.gmo0000644000175000001440000005132312660314456011224 00000000000000K\%     .8Kav  &3CVfF ,7; DNhy;  ,&?S,'2:I b"! &C` (6IMV ]&j 0.-9#g ' / ;D0Sc1:2m~c# $&:aFq?    # 1 : D I O V c {    \ >!6D!8{!/!! !" "'"%<"b" f" q"~"#### # #Z#G$]$l$ $$ $-$2$ %-%J%R%a%~%% %%% %% & &&=&B& V&a& h&u& &&&&&&'''%'5'UK')''' ' ' 'N(,k("(0(6($#)H)h))$)))6)4*L* S*-`*"****h+ap+T+X',,,,,,,,,,, ,,,,,!,-%=-c-Tv-H.'/;>>Y>>\>F?X?h?z?????????"@&)@P@Y@'u@@@u@:AG@AGANAB ;BGBLB3^B0BBBB~BzD(DDDDDD&lEEEE-E F4FGNF F6F FF7G:GNG9VGG*GGG HH%3H YH-eHH H H)HHH%I)?I,iI,III II IxJ8JJJJJD KePK<K2K@&LAgL2L2L1MAM$IMnM1MUMUNhNqN=N1N-N(%O%NOtOPuPyQQ QQQQ QQQQQRR R%R+R.CR.rR,RR<w~yFn*}ABciQa3Ioh]l J1) NPHk;%e 7O(9g"'E6{|qd,K0[@C RTtv>S?p2/8V_xWrZ`zG-Y:s5\.MmLX  +DjUbf$=!#u&^4 Error getting file from MTP device. Failed to delete file %s Playlists Preferences Properties%d MB (free) / %d MB (total)%s %s of %s (%d%%)%s of %s (%d%%)ApplicationBattery Level:Bus Location:Device Number:Device Version:DeviceFile OperationsFilepaths on PCMTP Device PropertiesManufacturer:Model Number:Name:PlaylistProduct ID:Product:Raw Device InformationSerial Number:Storage:Supported Formats:Vendor ID:Vendor:A simple MTP Client for Solaris 10 and other UNIX / UNIX-like systems About gMTPAddAdd FileAdd FilesAdd Files to your device.Add New PlaylistAdd To PlaylistAdd a varity of Files to your device in the current folder.Add and Modify Playlists.Add file to playlistAlbumAlbum ArtAlbum:Always show Download Path?Are you sure you want to delete these files?Are you sure you want to delete this folder (and all contents)?Are you sure you want to format this device?ArtistAttempt to connect to Device on startupChange Device NameCloseConfirm DeleteConfirm File/Folder DeleteConnectConnect DeviceConnect to which device?Connect to which storage device?Connect/Disconnect to your device.Connected to %s (%s) - %d MB freeConnected to %s - %d MB freeCouldn't create playlist object Couldn't delete folder %s (%x) Couldn't open image file %s Couldn't open playlist file Couldn't open playlist file %s Couldn't remove album art Couldn't save image file Couldn't save image file %s Couldn't save playlist file Couldn't save playlist file %s Couldn't send album art Create FolderCurrent Playlist: DelDel FileDeleteDelete FilesDelete Files/Folders from your device.Delete FolderDeleting playlist failed? Detect: Encountered a Memory Allocation Error. Detect: No available Storage found on device? Detect: No raw devices found. Detect: There has been an error connecting. Detect: Unable to open raw device? Device Audio TracksDevice Name:Device PropertiesDevice:DevicePropeties: How did I get called? DisconnectDisconnect DeviceDisconnected device due to access method changeDownloadDownload FilesDownload Files from your device to your Host PC.Download Path:Download files from your device to your PC. Default Download path is set in the preferences dialog.DurationERROR: Failed memory allocation in albumAddArt() ERROR: Failed memory allocation in albumAddTrackToAlbum() Edit Playlist(s)ErrorError creating or updating album. (This could be due to that your device does not support albums.) Error getting file from MTP device.Error sending file %s. Error sending track. Error: Couldn't set device name to %s Export PlaylistFailed to get storage parameters from the device - need to disconnect.File %s already exists in target folder. Do you want to:File Name:File SizeFile TypeFile UploadFile downloadFilenameFilenamesFindFind:FolderFolder Name:Folder creation failed:Folder creation failed: %s FoldersFormat DeviceFormat Device failed? Found %d itemFound %d itemsFound no tracks within the playlist that exist on this device. Did not import the playlist. GenreI don't know how to delete a parent folder reference? I don't know how to download a parent folder reference? Ignore path information when importing playlistImport PlaylistInformationLocationMove To...Move selected file down in the playlistMove selected file up in the playlistN/ANew FolderNew PlaylistNo Albums available to set Album Art with. Either: 1. You have no music files uploaded? 2. Your device does not support Albums? 3. Previous applications used to upload files do not autocreate albums for you or support the metadata for those files in order to create the albums for you? No device attachedNo files/folders selected?NumOpenOverwriteOverwrite AllPermanently remove files/folders from your device. Note: Albums are stored as *.alb files.Playlist Audio TracksPlaylist Name:Playlist imported. PlaylistsPlease enter search item.PreferencesPrompt if to Overwrite file if already existsPrompt to add New Music track to existing playlistPropertiesQuestion: Confirm Overwrite of Existing File?RefreshRefresh DeviceRefresh File/Folder listing.Refresh FolderRemoveRemove Current Selected PlaylistRemove From PlaylistRemove file from playlistRename FileRename File/FolderRename FilesRename FolderRescan: How did I get called? SaveSave Album Art FileSave as...SearchSearching...Select Album Art FileSelect AllSelect Files to AddSelect Path to DownloadSelect Path to Download toSelect Path to Upload FromSelect Playlist to ImportSizeSkipSkip AllStorage Device:Suppress Album ErrorsThe move function is disabled when using the alternate access method for your device.The playlist failed to import correctly. TrackTrack InformationTrack NameTrack NumberTreat all media as regular filesUnable to add %s due to insufficient space: filesize = %llu, freespace = %llu Unable to add file due to insufficient spaceUnable to move the selected file? Unable to move the selected folder into itself? Unable to move the selected folder underneath itself? Unable to move the selected folder? Unable to rename parent folder Unable to rename this folderUnknownUnknown : %04x:%04x @ bus %d, dev %dUnknown id: %d, %sUpdating playlist failed? Updating playlist failed? 'realloc in playlistImport' Updating playlist failed? 'realloc in savePlayList' UploadUpload Path:Upload a JPG file and assign it as Album Art.Upload an image file as Album Art.Utilize alternate access methodView Device Properties.View/Change gMTP Preferences.WARNING: gconf schema invalid, reverting to defaults. Please ensure schema is loaded in gconf database. WARNING: gconf schema invalid, unable to save! Please ensure schema is loaded in gconf database. WARNING: gconf_callback_func() failed - we got a callback for a key thats not ours? WARNING: gsettings_callback_func() failed - we got a callback for a key thats not ours? Year_About_Cancel_Close_Connect Device_Edit_File_Help_OK_Open_Preferences_Quit_Save_Viewfile = ( x / x ) x %realloc in playlistImport failed realloc in savePlayList failed setDeviceName: How did I get called? translator-creditsProject-Id-Version: gmtp 1.3.6 Report-Msgid-Bugs-To: chewy509@mailcity.com POT-Creation-Date: 2016-02-15 19:23+1000 PO-Revision-Date: 2014-01-17 12:47+1000 Last-Translator: Language-Team: chewy509@mailcity.com Language: fr MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Generator: Poedit 1.6.3 Erreur de récupération des fichiers à partir du périphérique MTP. Impossible de supprimer le fichier %s Liste d'écoute Préférences Propriétés%d Mo (libre) / %d Mo (total)%s %s de %s (%d%%)%s de %s (%d%%)ApplicationNiveau de la batterie:Situation Bus:Numéro du périphérique:Version de l'appareil:PériphériqueOpérations sur les fichiersChemin de fichiers sur PCPropriétés du périphérique MTPFabricant:Numéro de modèle:Nom:Liste d'écouteIdentifiant du produit:Produit:Information brute sur le périphériqueNuméro de série:Stockage:Formats supportés:Identifiant vendeur:Vendeur:Un client MTP simple pour Solaris 10 et d'autres UNIX / systèmes de type UNIX A propos de gMTPAjouterAjouter un fichierAjouter des fichiersAjouter des fichiers à votre périphérique.Ajouter une nouvelle liste d'écouteAjouter à la liste d'écouteAjouter une variété de fichiers sur votre périphérique dans le dossier courant.Ajouter et modifier des listes d'écoute.Ajouter un fichier à la liste d'écouteAlbumPochette d'albumAlbum:Toujours afficher le chemin de téléchargement?Êtes-vous sûr de vouloir supprimer ces fichiers?Êtes-vous sûr de vouloir supprimer ce dossier (et tout son contenu)?Êtes-vous sûr de vouloir formater ce périphérique?ArtisteTentative de connexion au périphérique lors du démarrageChanger le nom du périphériqueFermerConfirmer la suppressionConfirmer la suppression du fichier/dossierConnecterConnecter le périphériqueConnecter à quel périphérique?Connecter à quel périphérique de stockage?Connexion/déconnexion à votre périphérique.Connecté à %s (%s) - %d Mo d'espace libreConnecté à %s - %d Mo d'espace libreImpossible de créer l'objet dans la liste d'écoute Impossible de supprimer le dossier %s (%x) Impossible d'ouvrir le fichier image %s Impossible d'ouvrir le fichier de la liste d'écoute Impossible d'ouvrir le fichier de la liste d'écoute %s Impossible de supprimer la pochette d'album Impossible d'enregistrer un fichier image Impossible d'enregistrer un fichier image %s Impossible d'enregistrer le fichier de la liste d'écoute Impossible d'enregistrer le fichier de la liste d'écoute %s Impossible d'envoyer des pochettes d'album Créer un dossierListe d'écoute actuelle: SupprimerSupprimer le fichierSupprimerSupprimer les fichiersSupprimer les fichiers/dossiers de votre périphérique.Supprimer le dossierÉchec de la suppression de la liste d'écoute? Détecté: une erreur d'allocation de mémoire a été rencontrée. Détecter: Non disponible Entreposage trouvant sur le périphérique? Détecté: Aucun périphérique brut trouvé. Détecté: Il ya eu une erreur de connexion. Détecté: Impossible d'ouvrir le périphérique brut? Pistes audio du périphériqueNom du périphérique:Propriétés du périphériquePériphérique:DevicePropeties: Comment ai-je été appelé? DéconnecterDéconnecter le périphériquePériphérique déconnecté en raison d'accéder à un changement de méthodeTéléchargerTélécharger des fichiersTélécharger des fichiers de votre périphérique à votre PC hôte.Chemin de téléchargement:Télécharger des fichiers de votre périphérique à votre PC. Le chemin de téléchargement par défaut est défini dans la boîte de dialogue préférences.DuréeÉchec d'allocation de mémoire dans albumAddArt (): ERREUR Échec d'allocation de mémoire dans albumAddTrackToAlbum (): ERREUR Éditer la/les liste(s) d'écouteErreurErreur de création ou de mise à jour de l'album. (Cela pourrait être dû au fait que votre périphérique ne supporte pas les albums.) Erreur de récupération des fichiers du périphérique MTP.Erreur d'envoi du fichier %s. Erreur en envoyant la piste. Erreur: Impossible de définir le nom du périphérique à %s Exporter la liste d'écouteImpossible d'obtenir les paramètres de stockage du périphérique - besoin de déconnecter.Le fichier %s existe déjà dans le dossier cible. Voulez-vous:Nom du fichier:Taille du fichierType de fichierExportation de fichierTéléchargement de fichierNom de fichierNoms de fichiersTrouverTrouver:DossierNom du dossier:Échec de la création du dossier:Échec de la création du dossier: %s DossiersFormatage du périphériqueÉchec du formatage du périphérique? %d objets trouvésTrouvé %d articlesAucune piste trouvée dans la liste d'écoute qui existe sur ce périphérique. N'a pas importé la liste d'écoute. GenreJe ne sais pas comment supprimer une référence à un dossier parent? Je ne sais pas comment télécharger un dossier parent de référence? Ignorer les informations du chemin lors de l'importation de la liste d'écouteImporter la liste d'écouteInformationLieuDéplacer vers...Descendre le fichier choisi dans la liste d'écouteMonter le fichier choisi dans la liste d'écouteNon applicableNouveau dossierNouvelle liste d'écouteAucun album disponible pour définir la pochette d'album. Soit: 1. Vous n'avez pas de fichier de musique exporté? 2. Votre périphérique ne supporte pas les albums? 3. Les applications précédentes utilisées pour exporter des fichiers ne crées pas automatiquement d'albums pour vous ou ne supportent pas les métadonnées pour ces fichiers afin de créer des albums pour vous? Aucun périphérique connectéPas de fichiers/dossiers sélectionnés?NombreOuvrirÉcraserRemplacer tousSupprimer définitivement les fichiers / dossiers de votre périphérique. Note: Les albums sont stockés dans des fichiers *. alb.Audio des pistes de la liste d'écouteNom de la liste d'écoute:Listes d'écoute importées. Listes d'écouteS'il vous plaît entrez élément recherché.PréférencesDemander pour écraser le fichier s'il existe déjàDemander l'ajout de la piste New Music à une liste d'écoute existantePropriétésQuestion: Confirmer l'écrasement du fichier existant?ActualiserActualiser le périphériqueActualiser les fichiers/dossiers de la liste d'écoute.Renommer le dossierRetirerSupprimer la liste d'écoute présentement sélectionnéeSupprimer de la liste d'écouteSupprimer le fichier de la liste d'écouteRenommer le fichierRenommer le fichier/dossierRenommer le fichierRenommer le dossierRescan: Comment ai-je été appelé? EnregistrerEnregistrer le fichier de la pochette d'albumEnregistrer sous...RechercherRechercheChoisir le fichier de la pochette d'albumSélectionner toutChoisir les fichiers à ajouterChoisir le chemin du téléchargementChoisir le chemin du téléchargement surChoisir le chemin d'exportation à partir deSélectionner la liste d'écoute à importerTailleSauterSauter tousPériphérique de stockage:Supprimer les erreurs de l'albumLa fonction de déplacement est désactivée lorsque vous utilisez la méthode d'accès de rechange pour votre appareil.La liste d'écoute ne s'est pas importée correctement. PisteInformation de la pisteNom de la pisteNuméro de pisteTraiter tous les fichiers multimédias comme des fichiers réguliersImpossible d'ajouter %s car l'espace est insuffisant: taille du fichier = %llu, espace libre = %llu Impossible d'ajouter le fichier car l'espace est insuffisantImpossible de déplacer le fichier sélectionné? Impossible de déplacer le dossier sélectionné sur lui-même? Impossible de déplacer le dossier sélectionné sous lui-même? Impossible de déplacer le dossier sélectionné? Impossible de déplacer le dossier sélectionné? Impossible de déplacer le dossier sélectionné?InconnuInconnu : %04x:%04x @ bus %d, dev %dIdentifiant inconnu: %d, %sÉchec de la mise à jour de la liste d'écoute? Échec de la mise à jour de la liste d'écoute? 'relocalisation dans savePlayList ' Échec de la mise à jour de la liste d'écoute? 'relocalisation dans savePlayList ' ExporterChemin d'exportation:Exporter un fichier JPG et l'assigner comme pochette d'album.Exporter un fichier image comme pochette d'album.Utiliser la méthode d'accès de substitutionVoir les propriétés du périphérique.Voir/Modifier les préférences gMTP.AVERTISSEMENT: schéma gconf invalide, revenir aux réglages par défaut. S'il vous plaît s'assurer que schéma est chargé dans la base de données gconf. AVERTISSEMENT: schéma gconf invalide, incapable de sauver! S'il vous plaît s'assurer que le schéma est chargé dans la base de données gconf. AVERTISSEMENT: gconf_callback_func () a échoué - nous avons eu un rappel pour une clé qui ne nous appartient pas? AVERTISSEMENT: gsettings_callback_func () a échoué - nous avons eu un rappel pour une clé qui ne nous appartient pas? Année_A propos deA_nnuler_FermerConnecter le périphérique_Modifier_Fichier_Aide_Valider_Ouvrir_Préférences_Quitter_Enregistrer_Voirfichier = ( x / x ) x %Échec de la relocalisation dans savePlayList Échec de la relocalisation dans savePlayList setDeviceName: Comment ai-je été appelé? Couggmtp-1.3.10/po/Makevars.template0000644000175000001440000000341612655605137013422 00000000000000# Makefile variables for PO directory in any package using GNU gettext. # Usually the message domain is the same as the package name. DOMAIN = $(PACKAGE) # These two variables depend on the location of this directory. subdir = po top_builddir = .. # These options get passed to xgettext. XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ # This is the copyright holder that gets inserted into the header of the # $(DOMAIN).pot file. Set this to the copyright holder of the surrounding # package. (Note that the msgstr strings, extracted from the package's # sources, belong to the copyright holder of the package.) Translators are # expected to transfer the copyright for their translations to this person # or entity, or to disclaim their copyright. The empty string stands for # the public domain; in this case the translators are expected to disclaim # their copyright. COPYRIGHT_HOLDER = Free Software Foundation, Inc. # This is the email address or URL to which the translators shall report # bugs in the untranslated strings: # - Strings which are not entire sentences, see the maintainer guidelines # in the GNU gettext documentation, section 'Preparing Strings'. # - Strings which use unclear terms or require additional context to be # understood. # - Strings which make invalid assumptions about notation of date, time or # money. # - Pluralisation problems. # - Incorrect English spelling. # - Incorrect formatting. # It can be your email address, or a mailing list address where translators # can write to without being subscribed, or the URL of a web page through # which the translators can contact you. MSGID_BUGS_ADDRESS = # This is the list of locale categories, beyond LC_MESSAGES, for which the # message catalogs shall be used. It is usually empty. EXTRA_LOCALE_CATEGORIES = gmtp-1.3.10/po/de.gmo0000644000175000001440000004656712660314456011223 00000000000000Kl%   . >H[q  ! 6CSfvF <GK T^x; ,6?c,''BJY r"! 6Sp 8FY]f m&z 0.*-I#w '  /KT0cc1:B}c#4&JqF?    ' 3 A J T Y _ f s     \ N!6T!8!/!! "" "'$"%L"r" v" ""#### # #Z#W$m$|$ $ $-$2$ %-%@%H%W%t%% %%% %% % &&3&8& L&W& ^&k& &&&&&&' '''+'UA')''' ' ' 'N(,a("(0(6($)>)^){)$)))6)4 *B* I*-V*"****h*af+T+X,v,{,,,,,,,,, ,,,,,,-!.-P-%p--T-/.$./ S/_/n/}/// ////0%0 <0J0b0000 0000!1)1>1T1r11Q1 1 122(&2O2g2?2'223 333:<3Mw3=3 4- 4;4 Q4\4%q4 444%44"575&U5-|5,5$5'5#$6"H6%k6&6*6)6 7727;7J7S7(d77#7 7978;8-[8 8 888-8880979@9(V99x9:6 :?D::::-,;!Z;#|;/;;Y;<?< |< << << < <<<< < <$=;=C=V=q==k=>F >NP>:>> > > ?6?4L?? ? ??@!@@@AAm&AAAA A ABA@+B lB3zB BB&BB C+C@C\CxCCCCC CCDD D)D ED"PD&sD4D1D)E+E 3EAETEdEX~E5E F F F )F65FalF9F-G>6G:uG3G3G2H KH&UH|H(HBHBH @I JIBWI*I&II(J,JJh>KlKLL L +L7L HLTL[LbLfL nL|L L LL$L$L$L$M'BM jM<w~yFn*}ABciQa3Ioh]l J1) NPHk;%e 7O(9g"'E6{|qd,K0[@C RTtv>S?p2/8V_xWrZ`zG-Y:s5\.MmLX  +DjUbf$=!#u&^4 Error getting file from MTP device. Failed to delete file %s Playlists Preferences Properties%d MB (free) / %d MB (total)%s %s of %s (%d%%)%s of %s (%d%%)ApplicationBattery Level:Bus Location:Device Number:Device Version:DeviceFile OperationsFilepaths on PCMTP Device PropertiesManufacturer:Model Number:Name:PlaylistProduct ID:Product:Raw Device InformationSerial Number:Storage:Supported Formats:Vendor ID:Vendor:A simple MTP Client for Solaris 10 and other UNIX / UNIX-like systems About gMTPAddAdd FileAdd FilesAdd Files to your device.Add New PlaylistAdd To PlaylistAdd a varity of Files to your device in the current folder.Add and Modify Playlists.Add file to playlistAlbumAlbum ArtAlbum:Always show Download Path?Are you sure you want to delete these files?Are you sure you want to delete this folder (and all contents)?Are you sure you want to format this device?ArtistAttempt to connect to Device on startupChange Device NameCloseConfirm DeleteConfirm File/Folder DeleteConnectConnect DeviceConnect to which device?Connect to which storage device?Connect/Disconnect to your device.Connected to %s (%s) - %d MB freeConnected to %s - %d MB freeCouldn't create playlist object Couldn't delete folder %s (%x) Couldn't open image file %s Couldn't open playlist file Couldn't open playlist file %s Couldn't remove album art Couldn't save image file Couldn't save image file %s Couldn't save playlist file Couldn't save playlist file %s Couldn't send album art Create FolderCurrent Playlist: DelDel FileDeleteDelete FilesDelete Files/Folders from your device.Delete FolderDeleting playlist failed? Detect: Encountered a Memory Allocation Error. Detect: No available Storage found on device? Detect: No raw devices found. Detect: There has been an error connecting. Detect: Unable to open raw device? Device Audio TracksDevice Name:Device PropertiesDevice:DevicePropeties: How did I get called? DisconnectDisconnect DeviceDisconnected device due to access method changeDownloadDownload FilesDownload Files from your device to your Host PC.Download Path:Download files from your device to your PC. Default Download path is set in the preferences dialog.DurationERROR: Failed memory allocation in albumAddArt() ERROR: Failed memory allocation in albumAddTrackToAlbum() Edit Playlist(s)ErrorError creating or updating album. (This could be due to that your device does not support albums.) Error getting file from MTP device.Error sending file %s. Error sending track. Error: Couldn't set device name to %s Export PlaylistFailed to get storage parameters from the device - need to disconnect.File %s already exists in target folder. Do you want to:File Name:File SizeFile TypeFile UploadFile downloadFilenameFilenamesFindFind:FolderFolder Name:Folder creation failed:Folder creation failed: %s FoldersFormat DeviceFormat Device failed? Found %d itemFound %d itemsFound no tracks within the playlist that exist on this device. Did not import the playlist. GenreI don't know how to delete a parent folder reference? I don't know how to download a parent folder reference? Ignore path information when importing playlistImport PlaylistInformationLocationMove To...Move selected file down in the playlistMove selected file up in the playlistN/ANew FolderNew PlaylistNo Albums available to set Album Art with. Either: 1. You have no music files uploaded? 2. Your device does not support Albums? 3. Previous applications used to upload files do not autocreate albums for you or support the metadata for those files in order to create the albums for you? No device attachedNo files/folders selected?NumOpenOverwriteOverwrite AllPermanently remove files/folders from your device. Note: Albums are stored as *.alb files.Playlist Audio TracksPlaylist Name:Playlist imported. PlaylistsPreferencesPrompt if to Overwrite file if already existsPrompt to add New Music track to existing playlistPropertiesQuestion: Confirm Overwrite of Existing File?RefreshRefresh DeviceRefresh File/Folder listing.Refresh FolderRemoveRemove Current Selected PlaylistRemove From PlaylistRemove file from playlistRename FileRename File/FolderRename FilesRename FolderRescan: How did I get called? SaveSave Album Art FileSave as...SearchSearching...Select Album Art FileSelect AllSelect Files to AddSelect Path to DownloadSelect Path to Download toSelect Path to Upload FromSelect Playlist to ImportSizeSkipSkip AllStorage Device:Suppress Album ErrorsThe move function is disabled when using the alternate access method for your device.The playlist failed to import correctly. TrackTrack InformationTrack NameTrack NumberTreat all media as regular filesUnable to add %s due to insufficient space: filesize = %llu, freespace = %llu Unable to add file due to insufficient spaceUnable to move the selected file? Unable to move the selected folder into itself? Unable to move the selected folder underneath itself? Unable to move the selected folder? Unable to rename parent folder Unable to rename this folderUnknownUnknown : %04x:%04x @ bus %d, dev %dUnknown id: %d, %sUpdating playlist failed? Updating playlist failed? 'realloc in playlistImport' Updating playlist failed? 'realloc in savePlayList' UploadUpload Path:Upload a JPG file and assign it as Album Art.Upload an image file as Album Art.Utilize alternate access methodView Device Properties.View/Change gMTP Preferences.WARNING: gconf schema invalid, reverting to defaults. Please ensure schema is loaded in gconf database. WARNING: gconf schema invalid, unable to save! Please ensure schema is loaded in gconf database. WARNING: gconf_callback_func() failed - we got a callback for a key thats not ours? WARNING: gsettings_callback_func() failed - we got a callback for a key thats not ours? Year_About_Cancel_Close_Connect Device_Edit_File_Help_OK_Open_Preferences_Quit_Save_Viewfile = ( x / x ) x %malloc in filesSearch failed malloc in foldersearch failed realloc in playlistImport failed realloc in savePlayList failed setDeviceName: How did I get called? translator-creditsProject-Id-Version: gmtp 1.3.6 Report-Msgid-Bugs-To: chewy509@mailcity.com POT-Creation-Date: 2016-02-15 19:23+1000 PO-Revision-Date: 2014-01-17 12:45+1000 Last-Translator: Language-Team: chewy509@mailcity.com Language: de MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Generator: Poedit 1.6.3 Fehler beim Abrufen der Datei aus MTP-Gerät. Konnte die Datei nicht löschen %s Playlisten Einstellungen Eigenschaften%d MB (frei) / %d MB (gesamt)%s %s von %s (%d%%)%s von %s (%d%%)ApplicationBatterie-Füllstand:Bus Adresse:Device-Nummer:Device Version:DeviceDateioperationenDateipfade auf dem PCMTP-Gerät EigenschaftenHersteller:Modellnummer:Name:PlaylistProdukt-ID:Produkt:Rohe Geräte-InformationenSeriennummer:Speicherplatz:Unterstützte Formate:Vendor-ID:Hersteller:Ein einfacher MTP-Client für Solaris 10 und andere UNIX/UNIX-ähnlichen Systeme Über gMTPHinzufügenDatei hinzufügenDateien hinzufügenHinzufügen von Dateien zu Ihrem Gerät.Neue Playlist einfügenNeue Playlist einfügenFüge mehrere Dateien auf Ihr Gerät im aktuellen Ordner hinzu.Hinzufügen und Ändern von Playlisten.Datei zu Playlist hinzufügenAlbumAlbum CoverAlbum:Download-Pfad immer anzeigen?Sind Sie sicher, dass Sie diese Dateien löschen möchten?Sie sind sicher, dass Sie diesen Ordner löschen möchten (und alle Inhalte)?Sind Sie sicher, dass Sie dieses Gerät formatieren möchten?KünstlerVersuchen, beim Start zum Gerät zu verbindenGeräte-Namen ändernSchließenLöschen bestätigenLöschen von Datei/Ordner bestätigenVerbindenGerät verbindenVerbinden mit welchem Gerät?Verbinden mit welchem Speichergerät?Verbinden/Trennen von Gerät.Verbunden mit %s (%s) - %d MB freiVerbunden mit %s - %d MB freiPlaylist konnte nicht erstellt werden Ordner konnte nicht gelöscht werden %s (%x) Bild-Datei konnte nicht geöffnet werden %s Konnte Playlist-Datei nicht öffnen Konnte Playlist-Datei %s nicht öffnen Konnte Album-Cover nicht entfernen Konnte Bild-Datei nicht speichern Konnte Bild-Datei %s nicht speichern Konnte Playlist-Datei nicht speichern Konnte Playlist-Datei %s nicht speichern Album-Cover konnte nicht gesendet werden Ordner erstellenAktuelle Playlist: LöschenDatei löschenLöschenDateien löschenLöschen von Dateien/Ordnern vom Gerät.Ordner löschenLöschen von Playlist gescheitert? Fehler: Speicherzugriffsfehler. Fehler: Keine verfügbaren Speicher gefunden auf device Fehler: Kein Gerät gefunden. Fehler: Fehler beim verbinden. Fehler: Verbindung zu Gerät nicht möglich. Audio-DateienGerätename:GeräteeigenschaftenGerät:Geräteeigenschaften: Wie werde ich genannt? TrennenGerät trennenGetrennt Geräts durch Methodenwechsel zugreifenDownloadDateien herunterladenDateien vom Gerät zum PC herunterladen.Download-Pfad:Herunterladen von Dateien von Ihrem Gerät auf Ihren PC. Standard Download-Pfad ist im Einstellungen-Dialog eingestellt.DauerERROR: Speicherzuweisung in albumAddArt() gescheitert ERROR: Speicherzuweisung in albumAddTrackToAlbum() gescheitert Playliste bearbeitenFehlerFehler beim Erstellen oder Aktualisieren von Album. (Dies könnte darauf zurückzuführen sein, dass Ihr Gerät keine Alben unterstützt.) Fehler beim Abrufen der Datei vom MTP-Gerät.Fehler beim Senden der Datei %s. Fehler beim Senden der Musiktitel. Fehler: Konnte Gerätenamen nicht setzen zu %s Playlist exportierenFehler beim Abrufen von Speicher-Parametern vom Gerät - Verbindung muss getrennt werden.Datei %s existiert bereits in Zielordner. Wollen Sie:Dateiname:Datei-GrößeDateitypDatei-UploadDatei herunterladenDateinameDateinameSuchenSuchen:OrdnerOrdnername:Ordner erstellen fehlgeschlagen:Ordner erstellen fehlgeschlagen: %s OrdnernGerät formatierenFormatierung gescheitert? %d Objekt gefunden%d Objekt gefundenKonnte keine Titel in der Playlist finden, die auf dem Gerät existieren. Playlist wurde nicht importiert. GenreIch weiß nicht, wie man einen übergeordneten Ordnerverweis lösche? Ich weiß nicht, wie man einen übergeordneten Ordner Referenz herunterladen? Pfadinformationen beim Importieren der Playlist ignorierenPlaylist importierenInformationInformationUmzug nach...Bewege die ausgewählte Datei herunter in der PlaylistBewege die ausgewählte Datei herauf in der PlaylistN/ANeuer OrdnerNeue PlaylistKeine Alben zur Verfügung um Cover zu ändern. Entweder: 1. Sie haben keine Musik-Dateien hochgeladen? 2. Ihr Gerät unterstützt keine Alben? 3. Vorherige Anwendungen haben Dateien hochgeladen ohne Alben zu erstellen oder unterstützen keine Meta-Daten, um Alben zu erstellen? Kein Gerät angeschlossenKeine Dateien/Ordner ausgewählt?NummerÖffnenÜberschreibenAlle überschreibenDateien/Ordner dauerhaft von Ihrem Gerät entfernen. Hinweis: Die Alben werden als *.alb-Dateien gespeichert.Titel in PlaylistName der Playlist:Playlist importiert. PlaylistenEinstellungenFragen, wenn Dateien überschrieben werden, die bereits existierenFragen beim Hinzufügen von neuen Titeln zu bestehender PlaylistEigenschaftenFrage: Bestätigen beim Überschreiben von Dateien?AktualisierenGerät aktualisierenAktualisieren von Dateien und Ordnern.Ordner umbenennenEntfernenEntfernen Sie aktuell ausgewählte PlaylistEntferne Datei von PlaylistEntferne Datei von PlaylistDatei umbenennenDatei/Ordner umbenennenDatei umbenennenOrdner umbenennenRescan: Wie wurde ich genannt? SpeichernAlbum-Cover speichernSpeichern unter...SuchenSuchen …Wählen Sie die Cover-DateiSelect AllDateien zum Hinzufügen auswählenWählen Sie den Pfad zum HerunterladenWählen Sie Pfad, zu dem heruntergeladen werden sollWählen Sie Pfad, von dem hochgeladen werden sollWählen Sie die zu importierende PlaylistGrößeÜberspringenAlle überspringenSpeichergerät:Unterdrückt Album ErrorsDie Move-Funktion ist deaktiviert, wenn die alternative Zugriffsmethode für Ihr Gerät.Die Playlist konnte nicht korrekt importiert werden. TitelInformationTitelnameTitelnummerBehandeln Sie alle Mediendateien wie reguläre DateienKann %s nicht hinzuzufügen wegen Platzmangels: Dateigröße = %llu, freier Speicherplatz = %llu Datei konnte wegen Platzmangels nicht hinzugefügt werdenUnfähig, die ausgewählte Datei zu bewegen? Unfähig, die ausgewählten Ordner in sich selbst zu bewegen? Unfähig, die ausgewählten Ordner unter sich zu bewegen? Unfähig, die ausgewählten Ordner zu verschieben? Unfähig, die ausgewählten Ordner zu verschieben? Unfähig, die ausgewählten Ordner zu verschieben?UnbekanntUnbekannt : %04x:%04x @ bus %d, dev %dUnbekannt id: %d, %sAktualisieren der Playlist gescheitert? Aktualisieren der Playlist gescheitert? 'realloc in savePlayList' Aktualisieren der Playlist gescheitert? 'realloc in savePlayList' HochladenUpload Pfad:Laden Sie ein JPG-Datei hoch und weisen Sie es als Album-Cover zu.Hochladen einer Bilddatei als Album-Cover.Nutzen Sie alternative ZugriffsmethodeGeräte Eigenschaften.Anzeigen/ändern von gMTP Einstellungen.WARNUNG: gconf Schema ungültig, Rückgriff auf Standardwerte. Bitte stellen Sie sicher dass das Schema in der gconf-Datenbank geladen ist. WARNUNG: gconf Schema ungültig, kann nicht speichern! Bitte stellen Sie sicher dass das Schema in der gconf-Datenbank geladen ist. WARNUNG: gconf_callback_func () failed - wir haben einen Callback für einen Key der nicht uns gehört? WARNUNG: gsettings_callback_func () failed - wir haben einen Callback für einen Key der nicht uns gehört? Jahr_Über_Abbrechen_SchließenGerät verbinden_Bearbeiten_Datei_Hilfe_OKÖffnenEinstellungenBeenden_Speichern_Anzeigenfile = ( x / x ) x %realloc in savePlayList gescheitert realloc in savePlayList gescheitert realloc in savePlayList gescheitert realloc in savePlayList gescheitert setDeviceName: Wie wurde ich genannt? Laurenz Kampgmtp-1.3.10/po/gmtp.pot0000644000175000001440000005375512660314456011617 00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR Darran Kartaschew # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: chewy509@mailcity.com\n" "POT-Creation-Date: 2016-02-15 19:23+1000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #: src/about.c:46 src/about.c:123 msgid "" "A simple MTP Client for Solaris 10\n" "and other UNIX / UNIX-like systems\n" msgstr "" #: src/about.c:77 msgid "translator-credits" msgstr "" #: src/about.c:88 msgid "About gMTP" msgstr "" #: src/about.c:90 src/albumart.c:47 src/preferences.c:431 src/properties.c:159 msgid "_Close" msgstr "" #: src/about.c:135 msgid "" "Copyright 2009-2016, Darran Kartaschew\n" "Released under the BSD License" msgstr "" #: src/albumart.c:45 src/interface.c:331 src/interface.c:531 msgid "Album Art" msgstr "" #: src/albumart.c:77 msgid "Album:" msgstr "" #: src/albumart.c:110 msgid "" "No Albums available to set Album Art with. Either:\n" "1. You have no music files uploaded?\n" "2. Your device does not support Albums?\n" "3. Previous applications used to upload files do not autocreate albums for " "you or support the metadata for those files in order to create the albums " "for you?\n" msgstr "" #: src/albumart.c:163 msgid "Upload" msgstr "" #: src/albumart.c:167 msgid "Remove" msgstr "" #: src/albumart.c:172 src/interface.c:511 msgid "Download" msgstr "" #: src/albumart.c:293 msgid "Select Album Art File" msgstr "" #: src/albumart.c:295 src/albumart.c:406 src/callbacks.c:362 #: src/interface.c:1380 src/interface.c:1928 src/interface.c:1961 #: src/interface.c:2401 src/interface.c:2456 src/interface.c:2514 #: src/interface.c:3014 src/interface.c:3198 src/playlist.c:882 #: src/playlist.c:1255 src/playlist.c:1337 src/preferences.c:701 #: src/preferences.c:731 src/progress.c:108 msgid "_Cancel" msgstr "" #: src/albumart.c:296 src/callbacks.c:363 src/interface.c:1381 #: src/interface.c:1929 src/interface.c:1962 src/playlist.c:1256 #: src/playlist.c:1338 src/preferences.c:702 src/preferences.c:732 msgid "_Open" msgstr "" #: src/albumart.c:404 msgid "Save Album Art File" msgstr "" #: src/albumart.c:407 msgid "_Save" msgstr "" #: src/albumart.c:426 #, c-format msgid "Couldn't save image file %s\n" msgstr "" #: src/albumart.c:427 msgid "Couldn't save image file\n" msgstr "" #: src/callbacks.c:87 src/dnd.c:63 src/dnd.c:136 msgid "File Upload" msgstr "" #: src/callbacks.c:125 src/callbacks.c:178 src/callbacks.c:211 #: src/callbacks.c:251 src/callbacks.c:496 src/callbacks.c:540 #: src/callbacks.c:610 src/callbacks.c:643 src/playlist.c:487 #: src/playlist.c:506 msgid "No files/folders selected?" msgstr "" #: src/callbacks.c:144 msgid "Unable to rename parent folder\n" msgstr "" #: src/callbacks.c:145 msgid "Unable to rename this folder" msgstr "" #: src/callbacks.c:169 msgid "" "The move function is disabled when using the alternate access method for " "your device." msgstr "" #: src/callbacks.c:225 msgid "Are you sure you want to delete these files?" msgstr "" #: src/callbacks.c:226 src/callbacks.c:515 src/callbacks.c:658 msgid "Confirm Delete" msgstr "" #: src/callbacks.c:247 src/callbacks.c:257 src/callbacks.c:356 #: src/callbacks.c:372 src/callbacks.c:379 src/interface.c:1972 #: src/interface.c:1980 msgid "File download" msgstr "" #: src/callbacks.c:277 msgid "Disconnect" msgstr "" #: src/callbacks.c:281 src/callbacks.c:290 src/callbacks.c:817 #: src/callbacks.c:825 src/mtp.c:451 src/mtp.c:459 src/properties.c:261 #: src/properties.c:270 #, c-format msgid "Connected to %s - %d MB free" msgstr "" #: src/callbacks.c:285 src/callbacks.c:821 src/mtp.c:455 src/properties.c:265 #, c-format msgid "Connected to %s (%s) - %d MB free" msgstr "" #: src/callbacks.c:300 msgid "Disconnect Device" msgstr "" #: src/callbacks.c:309 src/interface.c:463 msgid "Connect" msgstr "" #: src/callbacks.c:312 src/main.c:109 msgid "No device attached" msgstr "" #: src/callbacks.c:316 msgid "Connect Device" msgstr "" #: src/callbacks.c:360 src/interface.c:1926 src/interface.c:1959 msgid "Select Path to Download" msgstr "" #: src/callbacks.c:514 src/callbacks.c:657 msgid "Are you sure you want to delete this folder (and all contents)?" msgstr "" #: src/callbacks.c:561 src/callbacks.c:562 src/interface.c:2088 #: src/interface.c:2089 msgid "Unable to move the selected folder into itself?\n" msgstr "" #: src/callbacks.c:580 src/interface.c:2106 msgid "Unable to move the selected folder?\n" msgstr "" #: src/callbacks.c:586 src/callbacks.c:587 src/interface.c:2112 #: src/interface.c:2113 msgid "Unable to move the selected folder underneath itself?\n" msgstr "" #: src/callbacks.c:685 src/mtp.c:258 src/mtp.c:276 src/mtp.c:285 src/mtp.c:294 #: src/mtp.c:303 msgid "N/A" msgstr "" #: src/callbacks.c:758 msgid "Please enter search item." msgstr "" #: src/callbacks.c:759 msgid "Search" msgstr "" #: src/callbacks.c:857 msgid "Searching..." msgstr "" #: src/formatdevice.c:56 msgid "Formatting..." msgstr "" #: src/formatdevice.c:87 msgid "Are you sure you want to format this device?" msgstr "" #: src/formatdevice.c:88 src/interface.c:323 msgid "Format Device" msgstr "" #: src/interface.c:225 msgid "_File" msgstr "" #: src/interface.c:232 msgid "_Connect Device" msgstr "" #: src/interface.c:240 src/interface.c:2759 msgid "Add Files" msgstr "" #: src/interface.c:244 src/interface.c:2763 msgid "Delete Files" msgstr "" #: src/interface.c:248 msgid "Rename Files" msgstr "" #: src/interface.c:252 src/interface.c:2775 src/interface.c:2962 #: src/interface.c:3195 msgid "Move To..." msgstr "" #: src/interface.c:256 src/interface.c:2767 msgid "Download Files" msgstr "" #: src/interface.c:264 src/interface.c:2795 src/interface.c:2950 msgid "Create Folder" msgstr "" #: src/interface.c:268 src/interface.c:2799 src/interface.c:2958 msgid "Delete Folder" msgstr "" #: src/interface.c:276 msgid "Refresh Folder" msgstr "" #: src/interface.c:282 msgid "Device Properties" msgstr "" #: src/interface.c:292 msgid "_Quit" msgstr "" #: src/interface.c:296 msgid "_Edit" msgstr "" #: src/interface.c:303 msgid "Select All" msgstr "" #: src/interface.c:311 msgid "Find" msgstr "" #: src/interface.c:319 src/interface.c:2453 msgid "Change Device Name" msgstr "" #: src/interface.c:335 msgid "Edit Playlist(s)" msgstr "" #: src/interface.c:343 msgid "_Preferences" msgstr "" #: src/interface.c:347 msgid "_View" msgstr "" #: src/interface.c:355 msgid "Toolbar" msgstr "" #: src/interface.c:363 msgid "Folders" msgstr "" #: src/interface.c:371 src/interface.c:2862 msgid "File Size" msgstr "" #: src/interface.c:375 src/interface.c:1138 src/interface.c:1147 #: src/interface.c:2866 msgid "File Type" msgstr "" #: src/interface.c:379 src/interface.c:2870 msgid "Track Number" msgstr "" #: src/interface.c:383 src/interface.c:1183 src/interface.c:1192 #: src/interface.c:2874 msgid "Track Name" msgstr "" #: src/interface.c:387 src/interface.c:1202 src/interface.c:1211 #: src/interface.c:2878 src/playlist.c:654 src/playlist.c:718 msgid "Artist" msgstr "" #: src/interface.c:391 src/interface.c:1221 src/interface.c:1230 #: src/interface.c:2882 src/playlist.c:664 src/playlist.c:728 msgid "Album" msgstr "" #: src/interface.c:395 src/interface.c:1240 src/interface.c:1249 #: src/interface.c:2886 msgid "Year" msgstr "" #: src/interface.c:399 src/interface.c:1259 src/interface.c:1268 #: src/interface.c:2890 msgid "Genre" msgstr "" #: src/interface.c:403 src/interface.c:1278 src/interface.c:1287 #: src/interface.c:2894 src/playlist.c:692 src/playlist.c:756 msgid "Duration" msgstr "" #: src/interface.c:407 msgid "_Help" msgstr "" #: src/interface.c:414 msgid "_About" msgstr "" #: src/interface.c:467 src/interface.c:469 msgid "Connect/Disconnect to your device." msgstr "" #: src/interface.c:483 src/interface.c:3066 src/playlist.c:176 msgid "Add" msgstr "" #: src/interface.c:487 src/interface.c:489 msgid "Add Files to your device." msgstr "" #: src/interface.c:487 msgid "Add a varity of Files to your device in the current folder." msgstr "" #: src/interface.c:497 msgid "Delete" msgstr "" #: src/interface.c:501 src/interface.c:503 msgid "Delete Files/Folders from your device." msgstr "" #: src/interface.c:501 msgid "" "Permanently remove files/folders from your device. Note: Albums are stored " "as *.alb files." msgstr "" #: src/interface.c:515 src/interface.c:517 msgid "Download Files from your device to your Host PC." msgstr "" #: src/interface.c:515 msgid "" "Download files from your device to your PC. Default Download path is set in " "the preferences dialog." msgstr "" #: src/interface.c:535 src/interface.c:537 msgid "Upload an image file as Album Art." msgstr "" #: src/interface.c:535 msgid "Upload a JPG file and assign it as Album Art." msgstr "" #: src/interface.c:545 src/interface.c:3011 msgid "Playlists" msgstr "" #: src/interface.c:549 src/interface.c:551 msgid "Add and Modify Playlists." msgstr "" #: src/interface.c:559 msgid "Refresh" msgstr "" #: src/interface.c:563 src/interface.c:565 msgid "Refresh File/Folder listing." msgstr "" #: src/interface.c:579 msgid "Properties" msgstr "" #: src/interface.c:583 src/interface.c:585 msgid "View Device Properties." msgstr "" #: src/interface.c:593 msgid "Preferences" msgstr "" #: src/interface.c:597 src/interface.c:599 msgid "View/Change gMTP Preferences." msgstr "" #: src/interface.c:644 msgid "Find:" msgstr "" #: src/interface.c:666 msgid "Filenames" msgstr "" #: src/interface.c:671 msgid "Track Information" msgstr "" #: src/interface.c:1053 src/interface.c:1068 msgid "Filename" msgstr "" #: src/interface.c:1094 src/interface.c:1103 msgid "Size" msgstr "" #: src/interface.c:1157 src/interface.c:1166 src/playlist.c:682 #: src/playlist.c:746 msgid "Track" msgstr "" #: src/interface.c:1305 src/interface.c:1314 msgid "Location" msgstr "" #: src/interface.c:1331 msgid "Folder" msgstr "" #: src/interface.c:1378 msgid "Select Files to Add" msgstr "" #: src/interface.c:1857 #, c-format msgid "Found %d items" msgstr "" #: src/interface.c:1859 #, c-format msgid "Found %d item" msgstr "" #: src/interface.c:2053 src/interface.c:2054 msgid "I don't know how to download a parent folder reference?\n" msgstr "" #: src/interface.c:2080 msgid "Unable to move the selected file?\n" msgstr "" #: src/interface.c:2203 src/interface.c:2204 msgid "I don't know how to delete a parent folder reference?\n" msgstr "" #: src/interface.c:2371 msgid "Error" msgstr "" #: src/interface.c:2387 msgid "Information" msgstr "" #: src/interface.c:2398 msgid "New Folder" msgstr "" #: src/interface.c:2400 src/interface.c:2455 src/interface.c:2513 #: src/interface.c:2573 src/interface.c:2653 src/interface.c:3013 #: src/interface.c:3197 src/playlist.c:881 msgid "_OK" msgstr "" #: src/interface.c:2420 msgid "Folder Name:" msgstr "" #: src/interface.c:2475 msgid "Device Name:" msgstr "" #: src/interface.c:2511 msgid "Rename File/Folder" msgstr "" #: src/interface.c:2533 msgid "File Name:" msgstr "" #: src/interface.c:2571 msgid "Connect to which device?" msgstr "" #: src/interface.c:2592 msgid "Device:" msgstr "" #: src/interface.c:2618 #, c-format msgid "Unknown : %04x:%04x @ bus %d, dev %d" msgstr "" #: src/interface.c:2651 msgid "Connect to which storage device?" msgstr "" #: src/interface.c:2673 msgid "Storage Device:" msgstr "" #: src/interface.c:2694 #, c-format msgid "Unknown id: %d, %s" msgstr "" #: src/interface.c:2724 #, c-format msgid "" "File %s already exists in target folder.\n" "Do you want to:" msgstr "" #: src/interface.c:2726 msgid "Skip" msgstr "" #: src/interface.c:2727 msgid "Skip All" msgstr "" #: src/interface.c:2728 msgid "Overwrite" msgstr "" #: src/interface.c:2729 msgid "Overwrite All" msgstr "" #: src/interface.c:2731 msgid "Question: Confirm Overwrite of Existing File?" msgstr "" #: src/interface.c:2771 msgid "Rename File" msgstr "" #: src/interface.c:2783 msgid "Add To Playlist" msgstr "" #: src/interface.c:2787 msgid "Remove From Playlist" msgstr "" #: src/interface.c:2807 src/interface.c:2970 msgid "Refresh Device" msgstr "" #: src/interface.c:2954 msgid "Rename Folder" msgstr "" #: src/interface.c:3035 src/playlist.c:902 msgid "Playlist Name:" msgstr "" #: src/interface.c:3075 src/interface.c:3077 src/playlist.c:153 #: src/playlist.c:155 msgid "Add New Playlist" msgstr "" #: src/mtp.c:104 src/mtp.c:105 msgid "Detect: No raw devices found.\n" msgstr "" #: src/mtp.c:108 src/mtp.c:109 src/mtp.c:117 src/mtp.c:118 msgid "Detect: There has been an error connecting. \n" msgstr "" #: src/mtp.c:112 src/mtp.c:113 msgid "Detect: Encountered a Memory Allocation Error. \n" msgstr "" #: src/mtp.c:142 src/mtp.c:143 msgid "Detect: Unable to open raw device?\n" msgstr "" #: src/mtp.c:156 src/mtp.c:157 msgid "Detect: No available Storage found on device?\n" msgstr "" #: src/mtp.c:238 src/mtp.c:244 msgid "Unknown" msgstr "" #: src/mtp.c:330 msgid "DevicePropeties: How did I get called?\n" msgstr "" #: src/mtp.c:438 msgid "Failed to get storage parameters from the device - need to disconnect." msgstr "" #: src/mtp.c:466 msgid "Rescan: How did I get called?\n" msgstr "" #: src/mtp.c:574 #, c-format msgid "" "Unable to add %s due to insufficient space: filesize = %llu, freespace = " "%llu\n" msgstr "" #: src/mtp.c:578 msgid "Unable to add file due to insufficient space" msgstr "" #: src/mtp.c:644 src/mtp.c:654 msgid "" msgstr "" #: src/mtp.c:675 msgid "Error sending track.\n" msgstr "" #: src/mtp.c:676 #, c-format msgid "Error code %d sending track to device: %s" msgstr "" #: src/mtp.c:680 src/mtp.c:681 src/mtp.c:737 src/mtp.c:738 src/mtp.c:845 #: src/mtp.c:846 msgid "Transfer canceled." msgstr "" #: src/mtp.c:732 #, c-format msgid "Error sending file %s.\n" msgstr "" #: src/mtp.c:733 msgid "Error sending file: " msgstr "" #: src/mtp.c:811 #, c-format msgid "" "\n" "Failed to delete file %s\n" msgstr "" #: src/mtp.c:812 msgid "Failed to delete file: " msgstr "" #: src/mtp.c:840 msgid "" "\n" "Error getting file from MTP device.\n" msgstr "" #: src/mtp.c:841 msgid "Error getting file from MTP device." msgstr "" #: src/mtp.c:964 src/mtp.c:1045 #, c-format msgid "Folder creation failed: %s\n" msgstr "" #: src/mtp.c:965 msgid "Folder creation failed:" msgstr "" #: src/mtp.c:1010 #, c-format msgid "Couldn't delete folder %s (%x)\n" msgstr "" #: src/mtp.c:1046 msgid "Folder creation failed: " msgstr "" #: src/mtp.c:1259 #, c-format msgid "Error: Couldn't set device name to %s\n" msgstr "" #: src/mtp.c:1265 msgid "setDeviceName: How did I get called?\n" msgstr "" #: src/mtp.c:1462 msgid "ERROR: Failed memory allocation in albumAddTrackToAlbum()\n" msgstr "" #: src/mtp.c:1491 src/mtp.c:1492 msgid "" "Error creating or updating album.\n" "(This could be due to that your device does not support albums.)\n" msgstr "" #: src/mtp.c:1520 msgid "ERROR: Failed memory allocation in albumAddArt()\n" msgstr "" #: src/mtp.c:1525 src/mtp.c:1532 #, c-format msgid "Couldn't open image file %s\n" msgstr "" #: src/mtp.c:1545 src/mtp.c:1546 msgid "Couldn't send album art\n" msgstr "" #: src/mtp.c:1590 src/mtp.c:1591 msgid "Couldn't remove album art\n" msgstr "" #: src/mtp.c:1642 src/mtp.c:1744 msgid "Couldn't create playlist object\n" msgstr "" #: src/mtp.c:1654 msgid "Deleting playlist failed?\n" msgstr "" #: src/mtp.c:1665 msgid "Updating playlist failed?\n" msgstr "" #: src/mtp.c:1690 #, c-format msgid "Couldn't open playlist file %s\n" msgstr "" #: src/mtp.c:1691 msgid "Couldn't open playlist file\n" msgstr "" #: src/mtp.c:1713 msgid "realloc in playlistImport failed\n" msgstr "" #: src/mtp.c:1714 msgid "Updating playlist failed? 'realloc in playlistImport'\n" msgstr "" #: src/mtp.c:1750 msgid "Playlist imported.\n" msgstr "" #: src/mtp.c:1754 src/mtp.c:1755 msgid "" "Found no tracks within the playlist that exist on this device. Did not " "import the playlist.\n" msgstr "" #: src/mtp.c:1780 #, c-format msgid "Couldn't save playlist file %s\n" msgstr "" #: src/mtp.c:1781 msgid "Couldn't save playlist file\n" msgstr "" #: src/mtp.c:1806 msgid "Format Device failed?\n" msgstr "" #: src/mtp.c:1824 src/mtp.c:1878 src/playlist.c:1158 src/playlist.c:1170 msgid "realloc in savePlayList failed\n" msgstr "" #: src/mtp.c:1825 src/mtp.c:1879 src/playlist.c:1159 src/playlist.c:1171 msgid "Updating playlist failed? 'realloc in savePlayList'\n" msgstr "" #: src/mtp.c:2096 src/mtp.c:2152 src/mtp.c:2238 msgid "malloc in filesSearch failed\n" msgstr "" #: src/mtp.c:2097 src/mtp.c:2153 src/mtp.c:2239 msgid "Failed searching? 'malloc in filesSearch'\n" msgstr "" #: src/mtp.c:2303 msgid "malloc in foldersearch failed\n" msgstr "" #: src/mtp.c:2304 msgid "Failed searching? 'malloc in foldersearch'\n" msgstr "" #: src/playlist.c:98 msgid " Playlists" msgstr "" #: src/playlist.c:124 msgid "Current Playlist: " msgstr "" #: src/playlist.c:185 src/playlist.c:187 msgid "Remove Current Selected Playlist" msgstr "" #: src/playlist.c:209 msgid "Del" msgstr "" #: src/playlist.c:217 msgid "Open" msgstr "" #: src/playlist.c:223 src/playlist.c:225 msgid "Import Playlist" msgstr "" #: src/playlist.c:232 msgid "Save" msgstr "" #: src/playlist.c:238 src/playlist.c:240 msgid "Export Playlist" msgstr "" #: src/playlist.c:262 src/playlist.c:264 msgid "Device Audio Tracks" msgstr "" #: src/playlist.c:287 src/playlist.c:289 msgid "Add file to playlist" msgstr "" #: src/playlist.c:310 msgid "Add File" msgstr "" #: src/playlist.c:318 src/playlist.c:320 msgid "Remove file from playlist" msgstr "" #: src/playlist.c:341 msgid "Del File" msgstr "" #: src/playlist.c:355 src/playlist.c:357 msgid "Playlist Audio Tracks" msgstr "" #: src/playlist.c:387 src/playlist.c:389 msgid "Move selected file up in the playlist" msgstr "" #: src/playlist.c:404 src/playlist.c:406 msgid "Move selected file down in the playlist" msgstr "" #: src/playlist.c:419 msgid "Close" msgstr "" #: src/playlist.c:708 msgid "Num" msgstr "" #: src/playlist.c:879 msgid "New Playlist" msgstr "" #: src/playlist.c:1253 msgid "Select Playlist to Import" msgstr "" #: src/playlist.c:1303 src/playlist.c:1304 msgid "The playlist failed to import correctly.\n" msgstr "" #: src/playlist.c:1335 msgid "Save as..." msgstr "" #: src/preferences.c:72 msgid " Preferences" msgstr "" #: src/preferences.c:97 msgid "Application" msgstr "" #: src/preferences.c:124 msgid "Toolbar Style:" msgstr "" #: src/preferences.c:132 src/preferences.c:139 src/preferences.c:771 #: src/preferences.c:805 msgid "both" msgstr "" #: src/preferences.c:133 src/preferences.c:140 src/preferences.c:773 #: src/preferences.c:807 msgid "icon" msgstr "" #: src/preferences.c:134 src/preferences.c:141 src/preferences.c:775 #: src/preferences.c:809 msgid "text" msgstr "" #: src/preferences.c:184 msgid "Device" msgstr "" #: src/preferences.c:189 msgid "Attempt to connect to Device on startup" msgstr "" #: src/preferences.c:193 msgid "Utilize alternate access method" msgstr "" #: src/preferences.c:202 msgid "File Operations" msgstr "" #: src/preferences.c:229 msgid "Confirm File/Folder Delete" msgstr "" #: src/preferences.c:233 msgid "Prompt if to Overwrite file if already exists" msgstr "" #: src/preferences.c:237 msgid "Suppress Album Errors" msgstr "" #: src/preferences.c:241 msgid "Treat all media as regular files" msgstr "" #: src/preferences.c:245 msgid "Preserve file timestamps (during download)" msgstr "" #: src/preferences.c:256 msgid "Playlist" msgstr "" #: src/preferences.c:282 msgid "Prompt to add New Music track to existing playlist" msgstr "" #: src/preferences.c:286 msgid "Ignore path information when importing playlist" msgstr "" #: src/preferences.c:297 msgid "Filepaths on PC" msgstr "" #: src/preferences.c:324 msgid "Always show Download Path?" msgstr "" #: src/preferences.c:344 msgid "Download Path:" msgstr "" #: src/preferences.c:360 msgid "Upload Path:" msgstr "" #: src/preferences.c:699 msgid "Select Path to Download to" msgstr "" #: src/preferences.c:729 msgid "Select Path to Upload From" msgstr "" #: src/prefs.c:102 msgid "" "WARNING: gconf schema invalid, reverting to defaults. Please ensure schema " "is loaded in gconf database.\n" msgstr "" #: src/prefs.c:241 msgid "" "WARNING: gconf schema invalid, unable to save! Please ensure schema is " "loaded in gconf database.\n" msgstr "" #: src/prefs.c:445 src/prefs.c:685 msgid "Disconnected device due to access method change" msgstr "" #: src/prefs.c:504 msgid "" "WARNING: gconf_callback_func() failed - we got a callback for a key thats " "not ours?\n" msgstr "" #: src/prefs.c:734 msgid "" "WARNING: gsettings_callback_func() failed - we got a callback for a key " "thats not ours?\n" msgstr "" #: src/progress.c:79 msgid "file = ( x / x ) x %" msgstr "" #: src/progress.c:194 #, c-format msgid "" "%s\n" "%s of %s (%d%%)" msgstr "" #: src/progress.c:197 #, c-format msgid "%s of %s (%d%%)" msgstr "" #: src/properties.c:69 msgid " Properties" msgstr "" #: src/properties.c:91 msgid "MTP Device Properties" msgstr "" #: src/properties.c:96 msgid "Raw Device Information" msgstr "" #: src/properties.c:138 msgid "Name:" msgstr "" #: src/properties.c:139 msgid "Model Number:" msgstr "" #: src/properties.c:140 msgid "Serial Number:" msgstr "" #: src/properties.c:141 msgid "Device Version:" msgstr "" #: src/properties.c:142 msgid "Manufacturer:" msgstr "" #: src/properties.c:143 msgid "Battery Level:" msgstr "" #: src/properties.c:144 msgid "Storage:" msgstr "" #: src/properties.c:145 msgid "Supported Formats:" msgstr "" #: src/properties.c:147 msgid "Vendor:" msgstr "" #: src/properties.c:148 msgid "Product:" msgstr "" #: src/properties.c:149 msgid "Vendor ID:" msgstr "" #: src/properties.c:150 msgid "Product ID:" msgstr "" #: src/properties.c:151 msgid "Device Number:" msgstr "" #: src/properties.c:152 msgid "Bus Location:" msgstr "" #: src/properties.c:191 #, c-format msgid "%d MB (free) / %d MB (total)" msgstr "" gmtp-1.3.10/po/new_es.po0000644000175000001440000012137012655605137011734 00000000000000#: src/main.c:127 src/callbacks.c:396 msgid "No device attached" msgstr "" #: src/interface.c:289 msgid "_File" msgstr "" #: src/interface.c:298 src/callbacks.c:400 msgid "Connect Device" msgstr "" #: src/interface.c:308 src/interface.c:4146 msgid "Add Files" msgstr "" #: src/interface.c:314 src/interface.c:4150 msgid "Delete Files" msgstr "" #: src/interface.c:320 src/interface.c:4158 msgid "Rename File" msgstr "" #: src/interface.c:326 src/interface.c:4162 src/interface.c:4356 #: src/interface.c:5737 msgid "Move To..." msgstr "" #: src/interface.c:332 src/interface.c:4154 msgid "Download Files" msgstr "" #: src/interface.c:340 src/interface.c:4182 src/interface.c:4344 msgid "Create Folder" msgstr "" #: src/interface.c:347 src/interface.c:4186 src/interface.c:4352 msgid "Delete Folder" msgstr "" #: src/interface.c:357 src/interface.c:4194 src/interface.c:4364 msgid "Refresh Device" msgstr "" #: src/interface.c:363 msgid "Device Properties" msgstr "" #: src/interface.c:375 msgid "_Edit" msgstr "" #: src/interface.c:385 msgid "Select All" msgstr "" #: src/interface.c:402 src/interface.c:3618 msgid "Change Device Name" msgstr "" #: src/interface.c:408 src/callbacks.c:1119 msgid "Format Device" msgstr "" #: src/interface.c:420 src/interface.c:583 src/interface.c:3918 msgid "Album Art" msgstr "" #: src/interface.c:426 msgid "Edit Playlist(s)" msgstr "" #: src/interface.c:438 msgid "_View" msgstr "" #: src/interface.c:446 msgid "Folders" msgstr "" #: src/interface.c:454 src/interface.c:4254 msgid "File Size" msgstr "" #: src/interface.c:458 src/interface.c:1158 src/interface.c:1167 #: src/interface.c:4258 msgid "File Type" msgstr "" #: src/interface.c:462 src/interface.c:4262 msgid "Track Number" msgstr "" #: src/interface.c:466 src/interface.c:1203 src/interface.c:1212 #: src/interface.c:4266 msgid "Track Name" msgstr "" #: src/interface.c:470 src/interface.c:1222 src/interface.c:1231 #: src/interface.c:4270 src/interface.c:4802 src/interface.c:4872 msgid "Artist" msgstr "" #: src/interface.c:474 src/interface.c:1241 src/interface.c:1250 #: src/interface.c:4274 src/interface.c:4812 src/interface.c:4882 msgid "Album" msgstr "" #: src/interface.c:478 src/interface.c:1260 src/interface.c:1269 #: src/interface.c:4278 msgid "Year" msgstr "" #: src/interface.c:482 src/interface.c:1279 src/interface.c:1288 #: src/interface.c:4282 msgid "Genre" msgstr "" #: src/interface.c:486 src/interface.c:1298 src/interface.c:1307 #: src/interface.c:4286 src/interface.c:4840 src/interface.c:4910 msgid "Duration" msgstr "" #: src/interface.c:490 msgid "_Help" msgstr "" #: src/interface.c:500 msgid "_About" msgstr "" #: src/interface.c:529 src/callbacks.c:393 msgid "Connect" msgstr "" #: src/interface.c:533 src/interface.c:535 msgid "Connect/Disconnect to your device." msgstr "" #: src/interface.c:545 src/interface.c:4504 msgid "Add" msgstr "" #: src/interface.c:549 src/interface.c:551 msgid "Add Files to your device." msgstr "" #: src/interface.c:549 msgid "Add a varity of Files to your device in the current folder." msgstr "" #: src/interface.c:556 msgid "Delete" msgstr "" #: src/interface.c:560 src/interface.c:562 msgid "Delete Files/Folders from your device." msgstr "" #: src/interface.c:560 msgid "" "Permanently remove files/folders from your device. Note: Albums are stored " "as *.alb files." msgstr "" #: src/interface.c:567 src/interface.c:4015 msgid "Download" msgstr "" #: src/interface.c:571 src/interface.c:573 msgid "Download Files from your device to your Host PC." msgstr "" #: src/interface.c:571 msgid "" "Download files from your device to your PC. Default Download path is set in " "the preferences dialog." msgstr "" #: src/interface.c:587 src/interface.c:589 msgid "Upload an image file as Album Art." msgstr "" #: src/interface.c:587 msgid "Upload a JPG file and assign it as Album Art." msgstr "" #: src/interface.c:594 src/interface.c:5448 msgid "Playlists" msgstr "" #: src/interface.c:598 src/interface.c:600 msgid "Add and Modify Playlists." msgstr "" #: src/interface.c:605 msgid "Refresh" msgstr "" #: src/interface.c:609 src/interface.c:611 msgid "Refresh File/Folder listing." msgstr "" #: src/interface.c:621 msgid "Properties" msgstr "" #: src/interface.c:625 src/interface.c:627 msgid "View Device Properties." msgstr "" #: src/interface.c:632 msgid "Preferences" msgstr "" #: src/interface.c:636 src/interface.c:638 msgid "View/Change gMTP Preferences." msgstr "" #: src/interface.c:648 src/interface.c:652 msgid "Quit" msgstr "" #: src/interface.c:652 src/interface.c:654 msgid "Quit gMTP." msgstr "" #: src/interface.c:672 msgid "Find:" msgstr "" #: src/interface.c:687 msgid "Filenames" msgstr "" #: src/interface.c:692 msgid "Track Information" msgstr "" #: src/interface.c:1073 src/interface.c:1088 msgid "Filename" msgstr "" #: src/interface.c:1114 src/interface.c:1123 msgid "Size" msgstr "" #: src/interface.c:1177 src/interface.c:1186 src/interface.c:4830 #: src/interface.c:4900 msgid "Track" msgstr "" #: src/interface.c:1325 src/interface.c:1334 msgid "Location" msgstr "" #: src/interface.c:1351 msgid "Folder" msgstr "" #: src/interface.c:1414 msgid "Select Files to Add" msgstr "" #: src/interface.c:1877 #, c-format msgid "Found %d items" msgstr "" #: src/interface.c:1879 #, c-format msgid "Found %d item" msgstr "" #: src/interface.c:1958 src/interface.c:2000 src/callbacks.c:738 msgid "Select Path to Download" msgstr "" #: src/interface.c:2091 src/interface.c:2092 msgid "I don't know how to download a parent folder reference?\n" msgstr "" #: src/interface.c:2124 msgid "Unable to move the selected file?\n" msgstr "" #: src/interface.c:2132 src/interface.c:2133 src/callbacks.c:959 #: src/callbacks.c:960 msgid "Unable to move the selected folder into itself?\n" msgstr "" #: src/interface.c:2150 src/callbacks.c:977 msgid "Unable to move the selected folder?\n" msgstr "" #: src/interface.c:2156 src/interface.c:2157 src/callbacks.c:983 #: src/callbacks.c:984 msgid "Unable to move the selected folder underneath itself?\n" msgstr "" #: src/interface.c:2257 src/interface.c:2258 msgid "I don't know how to delete a parent folder reference?\n" msgstr "" #: src/interface.c:2464 msgid " Preferences" msgstr "" #: src/interface.c:2497 msgid "Attempt to connect to Device on startup" msgstr "" #: src/interface.c:2501 msgid "Utilize alternate access method" msgstr "" #: src/interface.c:2505 msgid "Device" msgstr "" #: src/interface.c:2539 msgid "Confirm File/Folder Delete" msgstr "" #: src/interface.c:2543 msgid "Prompt if to Overwrite file if already exists" msgstr "" #: src/interface.c:2547 msgid "Suppress Album Errors" msgstr "" #: src/interface.c:2551 msgid "Treat all media as regular files" msgstr "" #: src/interface.c:2562 msgid "Playlist" msgstr "" #: src/interface.c:2581 msgid "Prompt to add New Music track to existing playlist" msgstr "" #: src/interface.c:2585 msgid "Ignore path information when importing playlist" msgstr "" #: src/interface.c:2589 msgid "File Operations" msgstr "" #: src/interface.c:2608 msgid "Always show Download Path?" msgstr "" #: src/interface.c:2619 msgid "Download Path:" msgstr "" #: src/interface.c:2626 msgid "Upload Path:" msgstr "" #: src/interface.c:2659 msgid "Filepaths on PC" msgstr "" #: src/interface.c:2807 msgid " Properties" msgstr "" #: src/interface.c:2824 msgid "MTP Device Properties" msgstr "" #: src/interface.c:2833 msgid "Raw Device Information" msgstr "" #: src/interface.c:2856 msgid "Name:" msgstr "" #: src/interface.c:2907 msgid "Model Number:" msgstr "" #: src/interface.c:2916 msgid "Serial Number:" msgstr "" #: src/interface.c:2925 msgid "Device Version:" msgstr "" #: src/interface.c:2934 msgid "Manufacturer:" msgstr "" #: src/interface.c:2943 msgid "Battery Level:" msgstr "" #: src/interface.c:2952 msgid "Storage:" msgstr "" #: src/interface.c:2968 msgid "Supported Formats:" msgstr "" #: src/interface.c:2983 msgid "Secure Time:" msgstr "" #: src/interface.c:2992 msgid "Sync Partner:" msgstr "" #: src/interface.c:3039 msgid "Vendor:" msgstr "" #: src/interface.c:3048 msgid "Product:" msgstr "" #: src/interface.c:3057 msgid "Vendor ID:" msgstr "" #: src/interface.c:3066 msgid "Product ID:" msgstr "" #: src/interface.c:3075 msgid "Device Number:" msgstr "" #: src/interface.c:3084 msgid "Bus Location:" msgstr "" #: src/interface.c:3166 #, c-format msgid "%d MB (free) / %d MB (total)" msgstr "" #: src/interface.c:3261 msgid "file = ( x / x ) x %" msgstr "" #: src/interface.c:3366 #, c-format msgid "%s - %s of %s (%d%%)" msgstr "" #: src/interface.c:3369 #, c-format msgid "%s of %s (%d%%)" msgstr "" #: src/interface.c:3412 src/interface.c:3481 msgid "" "A simple MTP Client for Solaris 10\n" "and other UNIX / UNIX-like systems\n" msgstr "" #: src/interface.c:3443 msgid "translator-credits" msgstr "" #: src/interface.c:3451 msgid "About gMTP" msgstr "" #: src/interface.c:3493 msgid "" "Copyright 2009-2013, Darran Kartaschew\n" "Released under the BSD Licence" msgstr "" #: src/interface.c:3525 msgid "Error" msgstr "" #: src/interface.c:3545 msgid "Information" msgstr "" #: src/interface.c:3561 msgid "New Folder" msgstr "" #: src/interface.c:3579 msgid "Folder Name:" msgstr "" #: src/interface.c:3636 msgid "Device Name:" msgstr "" #: src/interface.c:3678 msgid "Rename File/Folder" msgstr "" #: src/interface.c:3696 msgid "File Name:" msgstr "" #: src/interface.c:3738 msgid "Connect to which device?" msgstr "" #: src/interface.c:3754 msgid "Device:" msgstr "" #: src/interface.c:3780 #, c-format msgid "Unknown : %04x:%04x @ bus %d, dev %d" msgstr "" #: src/interface.c:3817 msgid "Connect to which storage device?" msgstr "" #: src/interface.c:3834 msgid "Storage Device:" msgstr "" #: src/interface.c:3855 #, c-format msgid "Unknown id: %d, %llu MB" msgstr "" #: src/interface.c:3890 #, c-format msgid "" "File %s already exists in target folder.\n" "Do you want to:" msgstr "" #: src/interface.c:3892 msgid "Skip" msgstr "" #: src/interface.c:3893 msgid "Skip All" msgstr "" #: src/interface.c:3894 msgid "Overwrite" msgstr "" #: src/interface.c:3895 msgid "Overwrite All" msgstr "" #: src/interface.c:3897 msgid "Question: Confirm Overwrite of Existing File?" msgstr "" #: src/interface.c:3945 msgid "Album:" msgstr "" #: src/interface.c:3963 msgid "" "No Albums available to set Album Art with. Either:\n" "1. You have no music files uploaded?\n" "2. Your device does not support Albums?\n" "3. Previous applications used to upload files do not autocreate albums for " "you or support the metadata for those files in order to create the albums " "for you?\n" msgstr "" #: src/interface.c:4006 msgid "Upload" msgstr "" #: src/interface.c:4010 msgid "Remove" msgstr "" #: src/interface.c:4170 msgid "Add To Playlist" msgstr "" #: src/interface.c:4174 msgid "Remove From Playlist" msgstr "" #: src/interface.c:4348 msgid "Rename Folder" msgstr "" #: src/interface.c:4450 msgid " Playlists" msgstr "" #: src/interface.c:4468 msgid "Current Playlist: " msgstr "" #: src/interface.c:4487 src/interface.c:4489 src/interface.c:5491 #: src/interface.c:5493 msgid "Add New Playlist" msgstr "" #: src/interface.c:4513 src/interface.c:4515 msgid "Remove Current Selected Playlist" msgstr "" #: src/interface.c:4530 msgid "Del" msgstr "" #: src/interface.c:4541 src/interface.c:4543 msgid "Import Playlist" msgstr "" #: src/interface.c:4553 src/interface.c:4555 msgid "Export Playlist" msgstr "" #: src/interface.c:4574 src/interface.c:4576 msgid "Device Audio Tracks" msgstr "" #: src/interface.c:4596 src/interface.c:4598 msgid "Add file to playlist" msgstr "" #: src/interface.c:4613 msgid "Add File" msgstr "" #: src/interface.c:4621 src/interface.c:4623 msgid "Remove file from playlist" msgstr "" #: src/interface.c:4638 msgid "Del File" msgstr "" #: src/interface.c:4652 src/interface.c:4654 msgid "Playlist Audio Tracks" msgstr "" #: src/interface.c:4674 src/interface.c:4676 msgid "Move selected file up in the playlist" msgstr "" #: src/interface.c:4683 src/interface.c:4685 msgid "Move selected file down in the playlist" msgstr "" #: src/interface.c:4862 msgid "Num" msgstr "" #: src/interface.c:5038 msgid "New Playlist" msgstr "" #: src/interface.c:5056 src/interface.c:5467 msgid "Playlist Name:" msgstr "" #: src/interface.c:5360 src/interface.c:5372 src/mtp.c:1769 src/mtp.c:1829 msgid "realloc in savePlayList failed\n" msgstr "" #: src/interface.c:5361 src/interface.c:5373 src/mtp.c:1770 src/mtp.c:1830 msgid "Updating playlist failed? 'realloc in savePlayList'\n" msgstr "" #: src/mtp.c:120 src/mtp.c:121 msgid "Detect: No raw devices found.\n" msgstr "" #: src/mtp.c:124 src/mtp.c:125 src/mtp.c:133 src/mtp.c:134 msgid "Detect: There has been an error connecting. \n" msgstr "" #: src/mtp.c:128 src/mtp.c:129 msgid "Detect: Encountered a Memory Allocation Error. \n" msgstr "" #: src/mtp.c:155 src/mtp.c:156 msgid "Detect: Unable to open raw device?\n" msgstr "" #: src/mtp.c:169 src/mtp.c:170 msgid "Detect: No available Storage found on device?\n" msgstr "" #: src/mtp.c:253 src/mtp.c:258 msgid "Unknown" msgstr "" #: src/mtp.c:271 src/mtp.c:279 src/mtp.c:296 src/mtp.c:304 src/mtp.c:312 #: src/mtp.c:320 src/mtp.c:333 src/callbacks.c:1095 msgid "N/A" msgstr "" #: src/mtp.c:359 msgid "DevicePropeties: How did I get called?\n" msgstr "" #: src/mtp.c:484 msgid "Failed to get storage parameters from the device - need to disconnect." msgstr "" #: src/mtp.c:496 src/mtp.c:504 src/callbacks.c:80 src/callbacks.c:89 #: src/callbacks.c:365 src/callbacks.c:374 src/callbacks.c:1312 #: src/callbacks.c:1320 #, c-format msgid "Connected to %s - %d MB free" msgstr "" #: src/mtp.c:500 src/callbacks.c:84 src/callbacks.c:369 src/callbacks.c:1316 #, c-format msgid "Connected to %s (%s) - %d MB free" msgstr "" #: src/mtp.c:511 msgid "Rescan: How did I get called?\n" msgstr "" #: src/mtp.c:652 #, c-format msgid "" "Unable to add %s due to insufficient space: filesize = %llu, freespace = %" "llu\n" msgstr "" #: src/mtp.c:654 msgid "Unable to add file due to insufficient space" msgstr "" #: src/mtp.c:659 msgid "File Upload" msgstr "" #: src/mtp.c:720 src/mtp.c:730 msgid "" msgstr "" #: src/mtp.c:749 msgid "Error sending track.\n" msgstr "" #: src/mtp.c:750 #, c-format msgid "Error code %d sending track to device: %s" msgstr "" #: src/mtp.c:797 #, c-format msgid "Error sending file %s.\n" msgstr "" #: src/mtp.c:798 msgid "Error sending file:" msgstr "" #: src/mtp.c:876 #, c-format msgid "" "\n" "Failed to delete file %s\n" msgstr "" #: src/mtp.c:877 msgid "Failed to delete file" msgstr "" #: src/mtp.c:899 msgid "File download" msgstr "" #: src/mtp.c:904 msgid "" "\n" "Error getting file from MTP device.\n" msgstr "" #: src/mtp.c:905 msgid "Error getting file from MTP device." msgstr "" #: src/mtp.c:1014 src/mtp.c:1113 #, c-format msgid "Folder creation failed: %s\n" msgstr "" #: src/mtp.c:1015 src/mtp.c:1114 msgid "Folder creation failed:" msgstr "" #: src/mtp.c:1068 #, c-format msgid "Couldn't delete folder %s (%x)\n" msgstr "" #: src/mtp.c:1271 #, c-format msgid "Error: Couldn't set device name to %s\n" msgstr "" #: src/mtp.c:1277 msgid "setDeviceName: How did I get called?\n" msgstr "" #: src/mtp.c:1356 msgid "ERROR: Failed memory allocation in albumAddTrackToAlbum()\n" msgstr "" #: src/mtp.c:1385 src/mtp.c:1386 msgid "" "Error creating or updating album.\n" "(This could be due to that your device does not support albums.)\n" msgstr "" #: src/mtp.c:1419 msgid "ERROR: Failed memory allocation in albumAddArt()\n" msgstr "" #: src/mtp.c:1424 #, c-format msgid "Couldn't open image file %s\n" msgstr "" #: src/mtp.c:1439 src/mtp.c:1440 msgid "Couldn't send album art\n" msgstr "" #: src/mtp.c:1492 src/mtp.c:1493 msgid "Couldn't remove album art\n" msgstr "" #: src/mtp.c:1556 src/mtp.c:1674 msgid "Couldn't create playlist object\n" msgstr "" #: src/mtp.c:1572 msgid "Deleting playlist failed?\n" msgstr "" #: src/mtp.c:1587 msgid "Updating playlist failed?\n" msgstr "" #: src/mtp.c:1620 #, c-format msgid "Couldn't open playlist file %s\n" msgstr "" #: src/mtp.c:1621 msgid "Couldn't open playlist file\n" msgstr "" #: src/mtp.c:1643 msgid "realloc in playlistImport failed\n" msgstr "" #: src/mtp.c:1644 msgid "Updating playlist failed? 'realloc in playlistImport'\n" msgstr "" #: src/mtp.c:1680 msgid "Playlist imported.\n" msgstr "" #: src/mtp.c:1684 src/mtp.c:1685 msgid "" "Found no tracks within the playlist that exist on this device. Did not " "import the playlist.\n" msgstr "" #: src/mtp.c:1717 #, c-format msgid "Couldn't save playlist file %s\n" msgstr "" #: src/mtp.c:1718 msgid "Couldn't save playlist file\n" msgstr "" #: src/mtp.c:1746 msgid "Format Device failed?\n" msgstr "" #: src/mtp.c:2063 src/mtp.c:2119 src/mtp.c:2203 msgid "malloc in filesSearch failed\n" msgstr "" #: src/mtp.c:2064 src/mtp.c:2120 src/mtp.c:2204 msgid "Failed searching? 'malloc in filesSearch'\n" msgstr "" #: src/mtp.c:2280 msgid "malloc in foldersearch failed\n" msgstr "" #: src/mtp.c:2281 msgid "Failed searching? 'malloc in foldersearch'\n" msgstr "" #: src/callbacks.c:199 src/callbacks.c:253 src/callbacks.c:291 #: src/callbacks.c:332 src/callbacks.c:885 src/callbacks.c:938 #: src/callbacks.c:1012 src/callbacks.c:1050 src/callbacks.c:2012 #: src/callbacks.c:2035 msgid "No files/folders selected?" msgstr "" #: src/callbacks.c:216 msgid "Unable to rename parent folder\n" msgstr "" #: src/callbacks.c:217 msgid "Unable to rename this folder" msgstr "" #: src/callbacks.c:244 msgid "" "The move function is disabled when using the alternate access method for " "your device." msgstr "" #: src/callbacks.c:305 msgid "Are you sure you want to delete these files?" msgstr "" #: src/callbacks.c:306 src/callbacks.c:904 src/callbacks.c:1065 msgid "Confirm Delete" msgstr "" #: src/callbacks.c:361 msgid "Disconnect" msgstr "" #: src/callbacks.c:384 msgid "Disconnect Device" msgstr "" #: src/callbacks.c:647 msgid "Select Path to Download to" msgstr "" #: src/callbacks.c:682 msgid "Select Path to Upload From" msgstr "" #: src/callbacks.c:903 src/callbacks.c:1064 msgid "Are you sure you want to delete this folder (and all contents)?" msgstr "" #: src/callbacks.c:1118 msgid "Are you sure you want to format this device?" msgstr "" #: src/callbacks.c:1247 msgid "Please enter search item." msgstr "" #: src/callbacks.c:1248 msgid "Search" msgstr "" #: src/callbacks.c:1356 msgid "Searching..." msgstr "" #: src/callbacks.c:1412 msgid "Select Album Art File" msgstr "" #: src/callbacks.c:1514 msgid "Save Album Art File" msgstr "" #: src/callbacks.c:1536 #, c-format msgid "Couldn't save image file %s\n" msgstr "" #: src/callbacks.c:1537 msgid "Couldn't save image file\n" msgstr "" #: src/callbacks.c:1669 msgid "Select Playlist to Import" msgstr "" #: src/callbacks.c:1719 src/callbacks.c:1720 msgid "The playlist failed to import correctly.\n" msgstr "" #: src/callbacks.c:1756 msgid "Save as..." msgstr "" #: src/prefs.c:117 msgid "" "WARNING: gconf schema invalid, reverting to defaults. Please ensure schema " "is loaded in gconf database.\n" msgstr "" #: src/prefs.c:221 msgid "" "WARNING: gconf schema invalid, unable to save! Please ensure schema is " "loaded in gconf database.\n" msgstr "" #: src/prefs.c:425 src/prefs.c:615 msgid "Disconnected device due to access method change" msgstr "" #: src/prefs.c:441 msgid "" "WARNING: gconf_callback_func() failed - we got a callback for a key thats " "not ours?\n" msgstr "" #: src/prefs.c:625 msgid "" "WARNING: gsettings_callback_func() failed - we got a callback for a key " "thats not ours?\n" msgstr "" domain "gmtp" #, fuzzy #~ msgid "" #~ msgstr "" #~ "Project-Id-Version: gmtp 1.3.5\n" #~ "Report-Msgid-Bugs-To: chewy509@mailcity.com\n" #~ "POT-Creation-Date: 2013-12-06 21:51+1000\n" #~ "PO-Revision-Date: 2013-12-04 20:20+1000\n" #~ "Last-Translator: Cai Andersen\n" #~ "Language-Team: chewy509@mailcity.com\n" #~ "Language: es\n" #~ "MIME-Version: 1.0\n" #~ "Content-Type: text/plain; charset=UTF-8\n" #~ "Content-Transfer-Encoding: 8bit\n" #~ msgid "" #~ "\n" #~ "Error getting file from MTP device.\n" #~ msgstr "" #~ "\n" #~ "Error al obtener el fichero de dispositivo MTP.\n" #~ msgid "" #~ "\n" #~ "Failed to delete file %s\n" #~ msgstr "" #~ "\n" #~ "No se pudo eliminar el archivo %s\n" #~ msgid " %s %s : (%04x:%04x) @ bus %d, dev %d" #~ msgstr " %s %s : (%04x:%04x) @ bus %d, dev %d" #~ msgid " : %d MB (free) / %d MB (total)" #~ msgstr " : %d MB (gratis) / %d MB (total)" #~ msgid " Playlists" #~ msgstr " Lista de reproduccin" #~ msgid " Preferences" #~ msgstr " Preferencias" #~ msgid " Properties" #~ msgstr " Propiedades" #~ msgid "%d MB (free) / %d MB (total)" #~ msgstr "%d MB (gratis) / %d MB (total)" #~ msgid "%s of %s (%d%%)" #~ msgstr "%s de %s (%d%%)" #~ msgid "%s - %s of %s (%d%%)" #~ msgstr "%s - %s de %s (%d%%)" #~ msgid "" #~ msgstr "" #~ msgid "" #~ msgstr "" #~ msgid "Battery Level:" #~ msgstr "De nivel de batera:" #~ msgid "Bus Location:" #~ msgstr "Autobs Ubicacin:" #~ msgid "Device Number:" #~ msgstr "Nmero de dispositivo:" #~ msgid "Device Version:" #~ msgstr "Versin del dispositivo:" #~ msgid "Device" #~ msgstr "Dispositivo:" #~ msgid "File Operations" #~ msgstr "Operaciones con archivos:" #~ msgid "Filepaths on PC" #~ msgstr "Rutas de archivos en el PC:" #~ msgid "MTP Device Properties" #~ msgstr "Propiedades del dispositivo MTP:" #~ msgid "Manufacturer:" #~ msgstr "Fabricante:" #~ msgid "Model Number:" #~ msgstr "Nmero de modelo:" #~ msgid "Name:" #~ msgstr "Nombre:" #~ msgid "Product ID:" #~ msgstr "Identificacin de producto:" #~ msgid "Product:" #~ msgstr "Producto:" #~ msgid "Raw Device Information" #~ msgstr "Prima la informacin del dispositivo:" #~ msgid "Secure Time:" #~ msgstr "Asegure Tiempo:" #~ msgid "Serial Number:" #~ msgstr "Nmero de serie:" #~ msgid "Storage:" #~ msgstr "Almacenamiento:" #~ msgid "Supported Formats:" #~ msgstr "Formatos:" #~ msgid "Sync Partner:" #~ msgstr "Sincronizacin Partner:" #~ msgid "Vendor ID:" #~ msgstr "Vendor ID:" #~ msgid "Vendor:" #~ msgstr "Proveedor:" #~ msgid "" #~ "Copyright 2009-2011, Darran Kartaschew\n" #~ "Released under the BSD Licence\n" #~ msgstr "" #~ "Copyright 2009-2011, Darran Kartaschew\n" #~ "Distribuido bajo la BSD Licence\n" #~ msgid "" #~ "A simple MTP Client for Solaris 10\n" #~ "and other UNIX / UNIX-like systems\n" #~ msgstr "" #~ "Un sencillo reproductor de mp3 de cliente para\n" #~ "Solaris 10 y otros sistemas UNIX / similar a UNIX\n" #~ msgid "About gMTP" #~ msgstr "Acerca de gMTP" #~ msgid "Add" #~ msgstr "Agregar" #~ msgid "Add Album Art" #~ msgstr "Aadir Album Art" #~ msgid "Add File" #~ msgstr "Agregar archivo" #~ msgid "Add Files" #~ msgstr "Agregar archivos" #~ msgid "Add Files to your device." #~ msgstr "Agregar archivos a su dispositivo." #~ msgid "Add New Playlist" #~ msgstr "Aadir nueva lista de reproduccin" #~ msgid "Add a varity of Files to your device in the current folder." #~ msgstr "" #~ "Aadir una variedad de archivos en el dispositivo en la carpeta actual." #~ msgid "Add and Modify Playlists." #~ msgstr "Aadir y modificar las listas de reproduccin." #~ msgid "Add file to playlist" #~ msgstr "Agregar archivo a la lista" #~ msgid "Album" #~ msgstr "lbum" #~ msgid "Album Art" #~ msgstr "Album Art" #~ msgid "Album:" #~ msgstr "lbum:" #~ msgid "Always show Download Path?" #~ msgstr "Siempre mostrar el camino de descarga?" #~ msgid "Are you sure you want to delete these files?" #~ msgstr "Est seguro que desea eliminar estos archivos?" #~ msgid "Are you sure you want to delete this folder (and all contents)?" #~ msgstr "Est seguro que quiere borrar esta carpeta (y todo su contenido)?" #~ msgid "Artist" #~ msgstr "Artista" #~ msgid "Attempt to connect to Device on startup" #~ msgstr "Intenta conectarse a dispositivos en el arranque" #~ msgid "Change Device Name" #~ msgstr "Cambio de nombre de dispositivo" #~ msgid "Confirm Delete" #~ msgstr "Confirmar eliminacin" #~ msgid "Confirm File/Folder Delete" #~ msgstr "Archivo Confirmar / eliminacin de carpetas" #~ msgid "Connect" #~ msgstr "Conectar" #~ msgid "Connect Device" #~ msgstr "Conecte el dispositivo" #~ msgid "Connect to which device?" #~ msgstr "Conectar con el dispositivo?" #~ msgid "Connect to which storage device?" #~ msgstr "Conectar con el dispositivo de almacenamiento?" #~ msgid "Connect/Disconnect to your device." #~ msgstr "Conectar / desconectar el dispositivo." #~ msgid "Connected to %s (%s) - %d MB free" #~ msgstr "Conectado a %s (%s) - %d MB de espacio libre" #~ msgid "Connected to %s - %d MB free" #~ msgstr "Conectado a %s - %d MB de espacio libre" #~ msgid "Couldn't create playlist object\n" #~ msgstr "No se pudo crear el objeto lista de reproduccin\n" #~ msgid "Couldn't delete folder %s (%x)\n" #~ msgstr "No se puede eliminar la carpeta %s (%x)\n" #~ msgid "Couldn't open image file %s\n" #~ msgstr "No se pudo abrir archivo de imagen %s\n" #~ msgid "Couldn't send album art\n" #~ msgstr "No se pudo enviar el lbum de arte\n" #~ msgid "Create Folder" #~ msgstr "Crear carpeta" #~ msgid "Current Playlist: " #~ msgstr "Actual lista de reproduccin: " #~ msgid "Del" #~ msgstr "Del" #~ msgid "Del File" #~ msgstr "Eliminar archivos" #~ msgid "Delete" #~ msgstr "Eliminar" #~ msgid "Delete Files" #~ msgstr "Eliminar archivos" #~ msgid "Delete Files/Folders from your device." #~ msgstr "Eliminar archivos / carpetas desde el dispositivo." #~ msgid "Delete Folder" #~ msgstr "Eliminar carpeta" #~ msgid "Deleting playlist failed?\n" #~ msgstr "Borrar lista de temas no?\n" #~ msgid "Detect: Encountered a Memory Allocation Error. \n" #~ msgstr "Deteccin: Se ha encontrado un error de asignacin de memoria. \n" #~ msgid "Detect: No raw devices found.\n" #~ msgstr "Detectar: No hay dispositivos en bruto que se encuentran.\n" #~ msgid "Detect: There has been an error connecting. \n" #~ msgstr "Deteccin: Se ha producido un error de conexin.\n" #~ msgid "Detect: Unable to open raw device?\n" #~ msgstr "Detectar: No se puede abrir el dispositivo de primas?\n" #~ msgid "Device Audio Tracks" #~ msgstr "Dispositivo de audio temas" #~ msgid "Device Name:" #~ msgstr "Nombre del dispositivo:" #~ msgid "Device Properties" #~ msgstr "Propiedades del dispositivo" #~ msgid "Device:" #~ msgstr "Dispositivo:" #~ msgid "DevicePropeties: How did I get called?\n" #~ msgstr "DevicePropeties: Cmo me llaman?\n" #~ msgid "Disconnect" #~ msgstr "Desconectar" #~ msgid "Disconnect Device" #~ msgstr "Desconecte el dispositivo" #~ msgid "Download" #~ msgstr "Descargar" #~ msgid "Download Files" #~ msgstr "Descargar archivos" #~ msgid "Download Files from your device to your Host PC." #~ msgstr "Descargar archivos desde el dispositivo al PC host." #~ msgid "Download Path:" #~ msgstr "Descargar Ruta de acceso:" #~ msgid "" #~ "Download files from your device to your PC. Default Download path is set " #~ "in the preferences dialog." #~ msgstr "" #~ "Descarga de archivos desde el dispositivo a su PC. Descargar ruta " #~ "predeterminada se establece en el cuadro de dilogo prefernces" #~ msgid "Duration" #~ msgstr "Duracin" #~ msgid "ERROR: Failed memory allocation in albumAddArt()\n" #~ msgstr "ERROR: Error de asignacin de memoria en albumAddArt()\n" #~ msgid "ERROR: Failed memory allocation in albumAddTrackToAlbum()\n" #~ msgstr "ERROR: Error de asignacin de memoria en albumAddTrackToAlbum()\n" #~ msgid "Edit Playlist(s)" #~ msgstr "Editar lista de reproduccin(s)" #~ msgid "Error" #~ msgstr "Error" #~ msgid "Error code %d sending track to device: %s" #~ msgstr "Error de cdigo %d pista enviar al dispositivo: %s" #~ msgid "" #~ "Error creating or updating album.\n" #~ "(This could be due to that your device does not support albums.)\n" #~ msgstr "" #~ "Error al crear o actualizar lbum.\n" #~ " (Esto puede ser debido a que el dispositivo no es compatible con " #~ "discos.)\n" #~ msgid "Error getting file from MTP device." #~ msgstr "Error al obtener el fichero de dispositivo MTP." #~ msgid "Error sending file %s.\n" #~ msgstr "Error al enviar el archivo %s.\n" #~ msgid "Error sending file:" #~ msgstr "Error al enviar el archivo:" #~ msgid "Error sending track.\n" #~ msgstr "Error al enviar el tema.\n" #~ msgid "Error: Couldn't set device name to %s\n" #~ msgstr "Error: No se pudo establecer el nombre del dispositivo para %s\n" #~ msgid "Failed to delete file" #~ msgstr "No se pudo eliminar el archivo" #~ msgid "" #~ "File %s already exists in target folder.\n" #~ "Do you want to:" #~ msgstr "Archivo %s ya existe en la carpeta de destino. Desea:" #~ msgid "File Upload" #~ msgstr "Carga de archivos" #~ msgid "File download" #~ msgstr "Descarga de archivos" #~ msgid "FileSize Hidden" #~ msgstr "Tamao del archivo oculto" #~ msgid "Filename" #~ msgstr "Nombre de archivo" #~ msgid "Filename:" #~ msgstr "Nombre del archivo:" #~ msgid "Folder Name:" #~ msgstr "Nombre de la carpeta:" #~ msgid "Folder creation failed:" #~ msgstr "La creacin de carpetas no:" #~ msgid "Folder creation failed: %s\n" #~ msgstr "La creacin de carpetas no: %s\n" #~ msgid "I don't know how to delete a parent folder reference?\n" #~ msgstr "No s cmo eliminar una referencia carpeta principal?\n" #~ msgid "Information" #~ msgstr "Informacin" #~ msgid "Move selected file down in the playlist" #~ msgstr "Mover archivo seleccionado en la lista de temas" #~ msgid "Move selected file up in the playlist" #~ msgstr "Mover archivo seleccionado en la lista de temas" #~ msgid "N/A" #~ msgstr "N/A" #~ msgid "New Folder" #~ msgstr "Nueva carpeta" #~ msgid "New Playlist" #~ msgstr "Nueva lista de reproduccin" #~ msgid "" #~ "No Albums available to set Album Art with. Either:\n" #~ "1. You have no music files uploaded?\n" #~ "2. Your device does not support Albums?\n" #~ "3. Previous applications used to upload files do not autocreate albums " #~ "for you or support the metadata for those files in order to create the " #~ "albums for you?\n" #~ msgstr "" #~ "No hay lbumes disponibles para crear cartulas con. O bien:\n" #~ "1. Usted no tiene archivos de msica subido?\n" #~ "2. Su dispositivo no es compatible con Picasa?\n" #~ "3. Solicitudes anteriores para subir archivos no autocreate lbumes para " #~ "usted o apoyar a los metadatos de los archivos a fin de crear los discos " #~ "para usted?\n" #~ msgid "No device attached" #~ msgstr "No hay ningn dispositivo conectado" #~ msgid "No files/folders selected?" #~ msgstr "No hay archivos / carpetas seleccionadas?" #~ msgid "Num" #~ msgstr "Nmero" #~ msgid "Object ID" #~ msgstr "ID del objeto" #~ msgid "Overwrite" #~ msgstr "Sobrescribir" #~ msgid "Overwrite All" #~ msgstr "Sobrescribir todos" #~ msgid "" #~ "Permanently remove files/folders from your device. Note: Albums are " #~ "stored as *.alb files." #~ msgstr "" #~ "Permanente eliminar los archivos / carpetas desde el dispositivo. Nota: " #~ "Los lbumes se guardan como archivos *. alb." #~ msgid "Playlist Audio Tracks" #~ msgstr "Lista pistas de audio" #~ msgid "Playlist Name:" #~ msgstr "Lista Nombre:" #~ msgid "Playlists" #~ msgstr "Listas de reproduccin" #~ msgid "Preferences" #~ msgstr "Preferencias" #~ msgid "Prompt if to Overwrite file if already exists" #~ msgstr "Preguntar si el archivo para sobrescribir si ya existe" #~ msgid "Properties" #~ msgstr "Propiedades" #~ msgid "Question: Confirm Overwrite of Existing File?" #~ msgstr "Pregunta: Confirmar la sobrescritura del archivo existente?" #~ msgid "Quit" #~ msgstr "Salir" #~ msgid "Quit gMTP." #~ msgstr "Salir gMTP." #~ msgid "Refresh" #~ msgstr "Actualizar" #~ msgid "Refresh Device" #~ msgstr "Actualizar dispositivo" #~ msgid "Refresh File/Folder listing." #~ msgstr "Actualizar Archivo / lista de carpetas." #~ msgid "Remove Current Selected Playlist" #~ msgstr "Borrar lista de reproduccin seleccionada actual" #~ msgid "Remove file from playlist" #~ msgstr "Eliminar el archivo de lista de reproduccin" #~ msgid "Rescan: How did I get called?\n" #~ msgstr "Volver a explorar: Cmo me llaman?\n" #~ msgid "Select Album Art File" #~ msgstr "Album Art Seleccione Archivo" #~ msgid "Select Files to Add" #~ msgstr "Seleccione los archivos para agregar" #~ msgid "Select Path to Download" #~ msgstr "Seleccionar ruta para descargar" #~ msgid "Select Path to Download to" #~ msgstr "Seleccionar ruta para descargar a" #~ msgid "Select Path to Upload From" #~ msgstr "Seleccionar ruta para subir de" #~ msgid "Size" #~ msgstr "Tamao" #~ msgid "Skip" #~ msgstr "Omitir" #~ msgid "Skip All" #~ msgstr "Omitir todo" #~ msgid "Storage Device:" #~ msgstr "Dispositivo de almacenamiento:" #~ msgid "Track" #~ msgstr "Pista" #~ msgid "" #~ "Unable to add %s due to insufficient space: filesize = %l, freespace = %" #~ "l\n" #~ msgstr "" #~ "No se puede aadir %s debido a la falta de espacio: %l = tamao del " #~ "archivo, %l = espacio libre\n" #~ msgid "Unable to add file due to insufficient space" #~ msgstr "No se puede agregar el archivo debido a la falta de espacio" #~ msgid "Unknown" #~ msgstr "Desconocida" #~ msgid "Unknown : %04x:%04x @ bus %d, dev %d" #~ msgstr "Desconocida: %04x:%04x @ bus %d, dev %d" #~ msgid "Unknown id: %d, %l MB" #~ msgstr "Desconocida id: %d, %l MB" #~ msgid "Updating playlist failed?\n" #~ msgstr "Actualizar lista de temas no?\n" #~ msgid "Updating playlist failed? 'realloc in savePlayList'\n" #~ msgstr "Actualizar lista de temas no? 'realloc en savePlayList'\n" #~ msgid "Upload Path:" #~ msgstr "Subir Ruta de acceso:" #~ msgid "Upload a JPG file and assign it as Album Art." #~ msgstr "Subir un archivo JPG y asignarlo como Album Art." #~ msgid "Upload an image file as Album Art." #~ msgstr "Subir un archivo de imagen como cartula del lbum." #~ msgid "View Device Properties." #~ msgstr "Propiedades de la vista de dispositivos." #~ msgid "View/Change gMTP Preferences." #~ msgstr "Ver / Cambiar preferencias gMTP." #~ msgid "" #~ "WARNING: gconf schema invalid, reverting to defaults. Please ensure " #~ "schema is loaded in gconf database.\n" #~ msgstr "" #~ "ADVERTENCIA: El esquema de GConf no vlido, volviendo a los valores " #~ "predeterminados. Por favor, asegrese de esquema se carga en base de datos " #~ "de GConf.\n" #~ msgid "" #~ "WARNING: gconf schema invalid, unable to save! Please ensure schema is " #~ "loaded in gconf database.\n" #~ msgstr "" #~ "ADVERTENCIA: El esquema de GConf invlida, incapaz de guardar! Por favor, " #~ "asegrese de esquema se carga en base de datos de GConf.\n" #~ msgid "" #~ "WARNING: gconf_callback_func() failed - we got a callback for a key thats " #~ "not ours?\n" #~ msgstr "" #~ "ADVERTENCIA: gconf_callback_func () no - tenemos una devolucin de llamada " #~ "de eso no es nuestra clave?\n" #~ msgid "_About" #~ msgstr "_Acerca de" #~ msgid "_Edit" #~ msgstr "_Editar" #~ msgid "_File" #~ msgstr "A_rchivo" #~ msgid "_Help" #~ msgstr "A_yuda" #~ msgid "file = ( x / x ) x %" #~ msgstr "archivo = ( x / x ) x %" #~ msgid "file://" #~ msgstr "file://" #~ msgid "realloc in savePlayList failed\n" #~ msgstr "realloc en savePlayList no\n" #~ msgid "setDeviceName: How did I get called?\n" #~ msgstr "setDeviceName: Cmo me llaman?\n" #~ msgid "File Type" #~ msgstr "Tipo de Archivo" #~ msgid "Track Name" #~ msgstr "Nombre de pista" #~ msgid "Year" #~ msgstr "Ao" #~ msgid "_View" #~ msgstr "_Ver" #~ msgid "File Size" #~ msgstr "Tamao del archivo" #~ msgid "Track Number" #~ msgstr "Nmero de pista" #~ msgid "Genre" #~ msgstr "Gnero" # ########################################## #~ msgid "Save Album Art File" #~ msgstr "Guardar archivo de Album Art" #~ msgid "Couldn't save image file %s\n" #~ msgstr "No se pudo guardar el archivo de imagen %s\n" #~ msgid "Couldn't save image file\n" #~ msgstr "No se pudo guardar el archivo de imagen\n" #~ msgid "" #~ "Failed to get storage parameters from the device - need to disconnect." #~ msgstr "" #~ "No se pudo obtener los parmetros de almacenamiento del dispositivo - que " #~ "desconectar." #~ msgid "Couldn't remove album art\n" #~ msgstr "No se pudo quitar la cartula del lbum\n" #~ msgid "Rename File" #~ msgstr "Cambiar el nombre del archivo" #~ msgid "Rename File/Folder" #~ msgstr "Cambiar el nombre de archivo / carpeta" #~ msgid "File Name:" #~ msgstr "Nombre del archivo:" #~ msgid "Upload" #~ msgstr "Subir" #~ msgid "Remove" #~ msgstr "Eliminar" #~ msgid "Format Device" #~ msgstr "Formato de dispositivos" #~ msgid "Are you sure you want to format this device?" #~ msgstr "Est seguro que desea formatear el dispositivo?" #~ msgid "Format Device failed?\n" #~ msgstr "Dispositivo de formato no?\n" #~ msgid "Prompt to add New Music track to existing playlist" #~ msgstr "" #~ "Del sistema para agregar nueva pista de msica a lista de reproduccin " #~ "existente" # ########################################################## #~ msgid "Import Playlist" #~ msgstr "Importar lista de reproduccin" #~ msgid "Export Playlist" #~ msgstr "Exportar lista de reproduccin" #~ msgid "Select Playlist to Import" #~ msgstr "Seleccione Importar lista de reproduccin" #~ msgid "The playlist failed to import correctly.\n" #~ msgstr "La lista no se importan correctamente.\n" #~ msgid "Ignore path information when importing playlist\n" #~ msgstr "" #~ "No haga caso de informacin de la ruta al importar lista de reproduccin\n" #~ msgid "Playlist" #~ msgstr "lista de reproduccin" #~ msgid "Couldn't save playlist file\n" #~ msgstr "No se pudo guardar el archivo de lista de reproduccin\n" #~ msgid "Couldn't save playlist file %s\n" #~ msgstr "No se pudo guardar el archivo de lista de reproduccin %s\n" #~ msgid "Couldn't open playlist file\n" #~ msgstr "No se pudo abrir el archivo de lista de reproduccin\n" #~ msgid "Couldn't open playlist file %s\n" #~ msgstr "No se pudo abrir el archivo de lista de reproduccin %s\n" #~ msgid "" #~ "Found no tracks within the playlist that exist on this device. Did not " #~ "import the playlist.\n" #~ msgstr "" #~ "No encontraron pistas de la lista de reproduccin que existen en este " #~ "dispositivo. No importar la lista de reproduccin.\n" #~ msgid "Playlist imported.\n" #~ msgstr "Lista de importacin.\n" # ########################################################## #~ msgid "Find:" #~ msgstr "Buscar:" #~ msgid "Filenames" #~ msgstr "Los nombres de archivo" #~ msgid "Track Information" #~ msgstr "Informacin Musical" #~ msgid "Please enter search item." #~ msgstr "Por favor, introduzca el punto de bsqueda." #~ msgid "Search" #~ msgstr "bsqueda" #~ msgid "Location" #~ msgstr "Ubicacin" #~ msgid "Found %d items" #~ msgstr "Se han encontrado %d artculos" #~ msgid "Found %d item" #~ msgstr "Encontrado un elemento" #~ msgid "Searching..." #~ msgstr "bsqueda..." #~ msgid "Add To Playlist" #~ msgstr "Aadir a la lista de reproduccin" #~ msgid "Remove From Playlist" #~ msgstr "Eliminar de la lista de reproduccin" #~ msgid "Columns" #~ msgstr "Columnas" # ########################################################## #~ msgid "Folders" #~ msgstr "Carpetas" #~ msgid "Folder" #~ msgstr "Carpeta" #~ msgid "Rename Folder" #~ msgstr "Cambiar el nombre de la carpeta" #~ msgid "Move To..." #~ msgstr "Mover a..." #~ msgid "Unable to move the selected folder underneath itself?\n" #~ msgstr "No se puede mover la carpeta seleccionada por debajo de s mismo?\n" #~ msgid "Unable to move the selected folder into itself?\n" #~ msgstr "No se puede mover la carpeta seleccionada en s mismo?\n" #~ msgid "Unable to move the selected file?\n" #~ msgstr "No se puede mover el archivo seleccionado?\n" #~ msgid "Unable to move the selected folder?\n" #~ msgstr "No se puede mover la carpeta seleccionada?\n" #~ msgid "translator-credits" #~ msgstr "Google" #~ msgid "Select All" #~ msgstr "Seleccionar todo" # ########################################################## #~ msgid "I don't know how to download a parent folder reference?\n" #~ msgstr "No s cmo descargar una referencia carpeta principal?\n" #~ msgid "Suppress Album Errors" #~ msgstr "Suprimir errores Album" #~ msgid "Detect: No available Storage found on device?\n" #~ msgstr "" #~ "Detectar: No disponible de almacenamiento se encuentra en el " #~ "dispositivo?\n" #~ msgid "Utilize alternate access method" #~ msgstr "Utilizar el mtodo de acceso alternativo" #~ msgid "Disconnected device due to access method change" #~ msgstr "Dispositivo desconectado debido a acceder a cambio de mtodo" #~ msgid "" #~ "The move function is disabled when using the alternate access method for " #~ "your device." #~ msgstr "" #~ "La funcin de desplazamiento se desactiva cuando se utiliza el mtodo de " #~ "acceso alternativo para el dispositivo." # ########################################################## #~ msgid "Treat all media as regular files" #~ msgstr "Tratar a todos los archivos multimedia como archivos normales" gmtp-1.3.10/po/new_it.po0000644000175000001440000012061412655605137011741 00000000000000#: src/main.c:127 src/callbacks.c:396 msgid "No device attached" msgstr "" #: src/interface.c:289 msgid "_File" msgstr "" #: src/interface.c:298 src/callbacks.c:400 msgid "Connect Device" msgstr "" #: src/interface.c:308 src/interface.c:4146 msgid "Add Files" msgstr "" #: src/interface.c:314 src/interface.c:4150 msgid "Delete Files" msgstr "" #: src/interface.c:320 src/interface.c:4158 msgid "Rename File" msgstr "" #: src/interface.c:326 src/interface.c:4162 src/interface.c:4356 #: src/interface.c:5737 msgid "Move To..." msgstr "" #: src/interface.c:332 src/interface.c:4154 msgid "Download Files" msgstr "" #: src/interface.c:340 src/interface.c:4182 src/interface.c:4344 msgid "Create Folder" msgstr "" #: src/interface.c:347 src/interface.c:4186 src/interface.c:4352 msgid "Delete Folder" msgstr "" #: src/interface.c:357 src/interface.c:4194 src/interface.c:4364 msgid "Refresh Device" msgstr "" #: src/interface.c:363 msgid "Device Properties" msgstr "" #: src/interface.c:375 msgid "_Edit" msgstr "" #: src/interface.c:385 msgid "Select All" msgstr "" #: src/interface.c:402 src/interface.c:3618 msgid "Change Device Name" msgstr "" #: src/interface.c:408 src/callbacks.c:1119 msgid "Format Device" msgstr "" #: src/interface.c:420 src/interface.c:583 src/interface.c:3918 msgid "Album Art" msgstr "" #: src/interface.c:426 msgid "Edit Playlist(s)" msgstr "" #: src/interface.c:438 msgid "_View" msgstr "" #: src/interface.c:446 msgid "Folders" msgstr "" #: src/interface.c:454 src/interface.c:4254 msgid "File Size" msgstr "" #: src/interface.c:458 src/interface.c:1158 src/interface.c:1167 #: src/interface.c:4258 msgid "File Type" msgstr "" #: src/interface.c:462 src/interface.c:4262 msgid "Track Number" msgstr "" #: src/interface.c:466 src/interface.c:1203 src/interface.c:1212 #: src/interface.c:4266 msgid "Track Name" msgstr "" #: src/interface.c:470 src/interface.c:1222 src/interface.c:1231 #: src/interface.c:4270 src/interface.c:4802 src/interface.c:4872 msgid "Artist" msgstr "" #: src/interface.c:474 src/interface.c:1241 src/interface.c:1250 #: src/interface.c:4274 src/interface.c:4812 src/interface.c:4882 msgid "Album" msgstr "" #: src/interface.c:478 src/interface.c:1260 src/interface.c:1269 #: src/interface.c:4278 msgid "Year" msgstr "" #: src/interface.c:482 src/interface.c:1279 src/interface.c:1288 #: src/interface.c:4282 msgid "Genre" msgstr "" #: src/interface.c:486 src/interface.c:1298 src/interface.c:1307 #: src/interface.c:4286 src/interface.c:4840 src/interface.c:4910 msgid "Duration" msgstr "" #: src/interface.c:490 msgid "_Help" msgstr "" #: src/interface.c:500 msgid "_About" msgstr "" #: src/interface.c:529 src/callbacks.c:393 msgid "Connect" msgstr "" #: src/interface.c:533 src/interface.c:535 msgid "Connect/Disconnect to your device." msgstr "" #: src/interface.c:545 src/interface.c:4504 msgid "Add" msgstr "" #: src/interface.c:549 src/interface.c:551 msgid "Add Files to your device." msgstr "" #: src/interface.c:549 msgid "Add a varity of Files to your device in the current folder." msgstr "" #: src/interface.c:556 msgid "Delete" msgstr "" #: src/interface.c:560 src/interface.c:562 msgid "Delete Files/Folders from your device." msgstr "" #: src/interface.c:560 msgid "" "Permanently remove files/folders from your device. Note: Albums are stored " "as *.alb files." msgstr "" #: src/interface.c:567 src/interface.c:4015 msgid "Download" msgstr "" #: src/interface.c:571 src/interface.c:573 msgid "Download Files from your device to your Host PC." msgstr "" #: src/interface.c:571 msgid "" "Download files from your device to your PC. Default Download path is set in " "the preferences dialog." msgstr "" #: src/interface.c:587 src/interface.c:589 msgid "Upload an image file as Album Art." msgstr "" #: src/interface.c:587 msgid "Upload a JPG file and assign it as Album Art." msgstr "" #: src/interface.c:594 src/interface.c:5448 msgid "Playlists" msgstr "" #: src/interface.c:598 src/interface.c:600 msgid "Add and Modify Playlists." msgstr "" #: src/interface.c:605 msgid "Refresh" msgstr "" #: src/interface.c:609 src/interface.c:611 msgid "Refresh File/Folder listing." msgstr "" #: src/interface.c:621 msgid "Properties" msgstr "" #: src/interface.c:625 src/interface.c:627 msgid "View Device Properties." msgstr "" #: src/interface.c:632 msgid "Preferences" msgstr "" #: src/interface.c:636 src/interface.c:638 msgid "View/Change gMTP Preferences." msgstr "" #: src/interface.c:648 src/interface.c:652 msgid "Quit" msgstr "" #: src/interface.c:652 src/interface.c:654 msgid "Quit gMTP." msgstr "" #: src/interface.c:672 msgid "Find:" msgstr "" #: src/interface.c:687 msgid "Filenames" msgstr "" #: src/interface.c:692 msgid "Track Information" msgstr "" #: src/interface.c:1073 src/interface.c:1088 msgid "Filename" msgstr "" #: src/interface.c:1114 src/interface.c:1123 msgid "Size" msgstr "" #: src/interface.c:1177 src/interface.c:1186 src/interface.c:4830 #: src/interface.c:4900 msgid "Track" msgstr "" #: src/interface.c:1325 src/interface.c:1334 msgid "Location" msgstr "" #: src/interface.c:1351 msgid "Folder" msgstr "" #: src/interface.c:1414 msgid "Select Files to Add" msgstr "" #: src/interface.c:1877 #, c-format msgid "Found %d items" msgstr "" #: src/interface.c:1879 #, c-format msgid "Found %d item" msgstr "" #: src/interface.c:1958 src/interface.c:2000 src/callbacks.c:738 msgid "Select Path to Download" msgstr "" #: src/interface.c:2091 src/interface.c:2092 msgid "I don't know how to download a parent folder reference?\n" msgstr "" #: src/interface.c:2124 msgid "Unable to move the selected file?\n" msgstr "" #: src/interface.c:2132 src/interface.c:2133 src/callbacks.c:959 #: src/callbacks.c:960 msgid "Unable to move the selected folder into itself?\n" msgstr "" #: src/interface.c:2150 src/callbacks.c:977 msgid "Unable to move the selected folder?\n" msgstr "" #: src/interface.c:2156 src/interface.c:2157 src/callbacks.c:983 #: src/callbacks.c:984 msgid "Unable to move the selected folder underneath itself?\n" msgstr "" #: src/interface.c:2257 src/interface.c:2258 msgid "I don't know how to delete a parent folder reference?\n" msgstr "" #: src/interface.c:2464 msgid " Preferences" msgstr "" #: src/interface.c:2497 msgid "Attempt to connect to Device on startup" msgstr "" #: src/interface.c:2501 msgid "Utilize alternate access method" msgstr "" #: src/interface.c:2505 msgid "Device" msgstr "" #: src/interface.c:2539 msgid "Confirm File/Folder Delete" msgstr "" #: src/interface.c:2543 msgid "Prompt if to Overwrite file if already exists" msgstr "" #: src/interface.c:2547 msgid "Suppress Album Errors" msgstr "" #: src/interface.c:2551 msgid "Treat all media as regular files" msgstr "" #: src/interface.c:2562 msgid "Playlist" msgstr "" #: src/interface.c:2581 msgid "Prompt to add New Music track to existing playlist" msgstr "" #: src/interface.c:2585 msgid "Ignore path information when importing playlist" msgstr "" #: src/interface.c:2589 msgid "File Operations" msgstr "" #: src/interface.c:2608 msgid "Always show Download Path?" msgstr "" #: src/interface.c:2619 msgid "Download Path:" msgstr "" #: src/interface.c:2626 msgid "Upload Path:" msgstr "" #: src/interface.c:2659 msgid "Filepaths on PC" msgstr "" #: src/interface.c:2807 msgid " Properties" msgstr "" #: src/interface.c:2824 msgid "MTP Device Properties" msgstr "" #: src/interface.c:2833 msgid "Raw Device Information" msgstr "" #: src/interface.c:2856 msgid "Name:" msgstr "" #: src/interface.c:2907 msgid "Model Number:" msgstr "" #: src/interface.c:2916 msgid "Serial Number:" msgstr "" #: src/interface.c:2925 msgid "Device Version:" msgstr "" #: src/interface.c:2934 msgid "Manufacturer:" msgstr "" #: src/interface.c:2943 msgid "Battery Level:" msgstr "" #: src/interface.c:2952 msgid "Storage:" msgstr "" #: src/interface.c:2968 msgid "Supported Formats:" msgstr "" #: src/interface.c:2983 msgid "Secure Time:" msgstr "" #: src/interface.c:2992 msgid "Sync Partner:" msgstr "" #: src/interface.c:3039 msgid "Vendor:" msgstr "" #: src/interface.c:3048 msgid "Product:" msgstr "" #: src/interface.c:3057 msgid "Vendor ID:" msgstr "" #: src/interface.c:3066 msgid "Product ID:" msgstr "" #: src/interface.c:3075 msgid "Device Number:" msgstr "" #: src/interface.c:3084 msgid "Bus Location:" msgstr "" #: src/interface.c:3166 #, c-format msgid "%d MB (free) / %d MB (total)" msgstr "" #: src/interface.c:3261 msgid "file = ( x / x ) x %" msgstr "" #: src/interface.c:3366 #, c-format msgid "%s - %s of %s (%d%%)" msgstr "" #: src/interface.c:3369 #, c-format msgid "%s of %s (%d%%)" msgstr "" #: src/interface.c:3412 src/interface.c:3481 msgid "" "A simple MTP Client for Solaris 10\n" "and other UNIX / UNIX-like systems\n" msgstr "" #: src/interface.c:3443 msgid "translator-credits" msgstr "" #: src/interface.c:3451 msgid "About gMTP" msgstr "" #: src/interface.c:3493 msgid "" "Copyright 2009-2013, Darran Kartaschew\n" "Released under the BSD Licence" msgstr "" #: src/interface.c:3525 msgid "Error" msgstr "" #: src/interface.c:3545 msgid "Information" msgstr "" #: src/interface.c:3561 msgid "New Folder" msgstr "" #: src/interface.c:3579 msgid "Folder Name:" msgstr "" #: src/interface.c:3636 msgid "Device Name:" msgstr "" #: src/interface.c:3678 msgid "Rename File/Folder" msgstr "" #: src/interface.c:3696 msgid "File Name:" msgstr "" #: src/interface.c:3738 msgid "Connect to which device?" msgstr "" #: src/interface.c:3754 msgid "Device:" msgstr "" #: src/interface.c:3780 #, c-format msgid "Unknown : %04x:%04x @ bus %d, dev %d" msgstr "" #: src/interface.c:3817 msgid "Connect to which storage device?" msgstr "" #: src/interface.c:3834 msgid "Storage Device:" msgstr "" #: src/interface.c:3855 #, c-format msgid "Unknown id: %d, %llu MB" msgstr "" #: src/interface.c:3890 #, c-format msgid "" "File %s already exists in target folder.\n" "Do you want to:" msgstr "" #: src/interface.c:3892 msgid "Skip" msgstr "" #: src/interface.c:3893 msgid "Skip All" msgstr "" #: src/interface.c:3894 msgid "Overwrite" msgstr "" #: src/interface.c:3895 msgid "Overwrite All" msgstr "" #: src/interface.c:3897 msgid "Question: Confirm Overwrite of Existing File?" msgstr "" #: src/interface.c:3945 msgid "Album:" msgstr "" #: src/interface.c:3963 msgid "" "No Albums available to set Album Art with. Either:\n" "1. You have no music files uploaded?\n" "2. Your device does not support Albums?\n" "3. Previous applications used to upload files do not autocreate albums for " "you or support the metadata for those files in order to create the albums " "for you?\n" msgstr "" #: src/interface.c:4006 msgid "Upload" msgstr "" #: src/interface.c:4010 msgid "Remove" msgstr "" #: src/interface.c:4170 msgid "Add To Playlist" msgstr "" #: src/interface.c:4174 msgid "Remove From Playlist" msgstr "" #: src/interface.c:4348 msgid "Rename Folder" msgstr "" #: src/interface.c:4450 msgid " Playlists" msgstr "" #: src/interface.c:4468 msgid "Current Playlist: " msgstr "" #: src/interface.c:4487 src/interface.c:4489 src/interface.c:5491 #: src/interface.c:5493 msgid "Add New Playlist" msgstr "" #: src/interface.c:4513 src/interface.c:4515 msgid "Remove Current Selected Playlist" msgstr "" #: src/interface.c:4530 msgid "Del" msgstr "" #: src/interface.c:4541 src/interface.c:4543 msgid "Import Playlist" msgstr "" #: src/interface.c:4553 src/interface.c:4555 msgid "Export Playlist" msgstr "" #: src/interface.c:4574 src/interface.c:4576 msgid "Device Audio Tracks" msgstr "" #: src/interface.c:4596 src/interface.c:4598 msgid "Add file to playlist" msgstr "" #: src/interface.c:4613 msgid "Add File" msgstr "" #: src/interface.c:4621 src/interface.c:4623 msgid "Remove file from playlist" msgstr "" #: src/interface.c:4638 msgid "Del File" msgstr "" #: src/interface.c:4652 src/interface.c:4654 msgid "Playlist Audio Tracks" msgstr "" #: src/interface.c:4674 src/interface.c:4676 msgid "Move selected file up in the playlist" msgstr "" #: src/interface.c:4683 src/interface.c:4685 msgid "Move selected file down in the playlist" msgstr "" #: src/interface.c:4862 msgid "Num" msgstr "" #: src/interface.c:5038 msgid "New Playlist" msgstr "" #: src/interface.c:5056 src/interface.c:5467 msgid "Playlist Name:" msgstr "" #: src/interface.c:5360 src/interface.c:5372 src/mtp.c:1769 src/mtp.c:1829 msgid "realloc in savePlayList failed\n" msgstr "" #: src/interface.c:5361 src/interface.c:5373 src/mtp.c:1770 src/mtp.c:1830 msgid "Updating playlist failed? 'realloc in savePlayList'\n" msgstr "" #: src/mtp.c:120 src/mtp.c:121 msgid "Detect: No raw devices found.\n" msgstr "" #: src/mtp.c:124 src/mtp.c:125 src/mtp.c:133 src/mtp.c:134 msgid "Detect: There has been an error connecting. \n" msgstr "" #: src/mtp.c:128 src/mtp.c:129 msgid "Detect: Encountered a Memory Allocation Error. \n" msgstr "" #: src/mtp.c:155 src/mtp.c:156 msgid "Detect: Unable to open raw device?\n" msgstr "" #: src/mtp.c:169 src/mtp.c:170 msgid "Detect: No available Storage found on device?\n" msgstr "" #: src/mtp.c:253 src/mtp.c:258 msgid "Unknown" msgstr "" #: src/mtp.c:271 src/mtp.c:279 src/mtp.c:296 src/mtp.c:304 src/mtp.c:312 #: src/mtp.c:320 src/mtp.c:333 src/callbacks.c:1095 msgid "N/A" msgstr "" #: src/mtp.c:359 msgid "DevicePropeties: How did I get called?\n" msgstr "" #: src/mtp.c:484 msgid "Failed to get storage parameters from the device - need to disconnect." msgstr "" #: src/mtp.c:496 src/mtp.c:504 src/callbacks.c:80 src/callbacks.c:89 #: src/callbacks.c:365 src/callbacks.c:374 src/callbacks.c:1312 #: src/callbacks.c:1320 #, c-format msgid "Connected to %s - %d MB free" msgstr "" #: src/mtp.c:500 src/callbacks.c:84 src/callbacks.c:369 src/callbacks.c:1316 #, c-format msgid "Connected to %s (%s) - %d MB free" msgstr "" #: src/mtp.c:511 msgid "Rescan: How did I get called?\n" msgstr "" #: src/mtp.c:652 #, c-format msgid "" "Unable to add %s due to insufficient space: filesize = %llu, freespace = %" "llu\n" msgstr "" #: src/mtp.c:654 msgid "Unable to add file due to insufficient space" msgstr "" #: src/mtp.c:659 msgid "File Upload" msgstr "" #: src/mtp.c:720 src/mtp.c:730 msgid "" msgstr "" #: src/mtp.c:749 msgid "Error sending track.\n" msgstr "" #: src/mtp.c:750 #, c-format msgid "Error code %d sending track to device: %s" msgstr "" #: src/mtp.c:797 #, c-format msgid "Error sending file %s.\n" msgstr "" #: src/mtp.c:798 msgid "Error sending file:" msgstr "" #: src/mtp.c:876 #, c-format msgid "" "\n" "Failed to delete file %s\n" msgstr "" #: src/mtp.c:877 msgid "Failed to delete file" msgstr "" #: src/mtp.c:899 msgid "File download" msgstr "" #: src/mtp.c:904 msgid "" "\n" "Error getting file from MTP device.\n" msgstr "" #: src/mtp.c:905 msgid "Error getting file from MTP device." msgstr "" #: src/mtp.c:1014 src/mtp.c:1113 #, c-format msgid "Folder creation failed: %s\n" msgstr "" #: src/mtp.c:1015 src/mtp.c:1114 msgid "Folder creation failed:" msgstr "" #: src/mtp.c:1068 #, c-format msgid "Couldn't delete folder %s (%x)\n" msgstr "" #: src/mtp.c:1271 #, c-format msgid "Error: Couldn't set device name to %s\n" msgstr "" #: src/mtp.c:1277 msgid "setDeviceName: How did I get called?\n" msgstr "" #: src/mtp.c:1356 msgid "ERROR: Failed memory allocation in albumAddTrackToAlbum()\n" msgstr "" #: src/mtp.c:1385 src/mtp.c:1386 msgid "" "Error creating or updating album.\n" "(This could be due to that your device does not support albums.)\n" msgstr "" #: src/mtp.c:1419 msgid "ERROR: Failed memory allocation in albumAddArt()\n" msgstr "" #: src/mtp.c:1424 #, c-format msgid "Couldn't open image file %s\n" msgstr "" #: src/mtp.c:1439 src/mtp.c:1440 msgid "Couldn't send album art\n" msgstr "" #: src/mtp.c:1492 src/mtp.c:1493 msgid "Couldn't remove album art\n" msgstr "" #: src/mtp.c:1556 src/mtp.c:1674 msgid "Couldn't create playlist object\n" msgstr "" #: src/mtp.c:1572 msgid "Deleting playlist failed?\n" msgstr "" #: src/mtp.c:1587 msgid "Updating playlist failed?\n" msgstr "" #: src/mtp.c:1620 #, c-format msgid "Couldn't open playlist file %s\n" msgstr "" #: src/mtp.c:1621 msgid "Couldn't open playlist file\n" msgstr "" #: src/mtp.c:1643 msgid "realloc in playlistImport failed\n" msgstr "" #: src/mtp.c:1644 msgid "Updating playlist failed? 'realloc in playlistImport'\n" msgstr "" #: src/mtp.c:1680 msgid "Playlist imported.\n" msgstr "" #: src/mtp.c:1684 src/mtp.c:1685 msgid "" "Found no tracks within the playlist that exist on this device. Did not " "import the playlist.\n" msgstr "" #: src/mtp.c:1717 #, c-format msgid "Couldn't save playlist file %s\n" msgstr "" #: src/mtp.c:1718 msgid "Couldn't save playlist file\n" msgstr "" #: src/mtp.c:1746 msgid "Format Device failed?\n" msgstr "" #: src/mtp.c:2063 src/mtp.c:2119 src/mtp.c:2203 msgid "malloc in filesSearch failed\n" msgstr "" #: src/mtp.c:2064 src/mtp.c:2120 src/mtp.c:2204 msgid "Failed searching? 'malloc in filesSearch'\n" msgstr "" #: src/mtp.c:2280 msgid "malloc in foldersearch failed\n" msgstr "" #: src/mtp.c:2281 msgid "Failed searching? 'malloc in foldersearch'\n" msgstr "" #: src/callbacks.c:199 src/callbacks.c:253 src/callbacks.c:291 #: src/callbacks.c:332 src/callbacks.c:885 src/callbacks.c:938 #: src/callbacks.c:1012 src/callbacks.c:1050 src/callbacks.c:2012 #: src/callbacks.c:2035 msgid "No files/folders selected?" msgstr "" #: src/callbacks.c:216 msgid "Unable to rename parent folder\n" msgstr "" #: src/callbacks.c:217 msgid "Unable to rename this folder" msgstr "" #: src/callbacks.c:244 msgid "" "The move function is disabled when using the alternate access method for " "your device." msgstr "" #: src/callbacks.c:305 msgid "Are you sure you want to delete these files?" msgstr "" #: src/callbacks.c:306 src/callbacks.c:904 src/callbacks.c:1065 msgid "Confirm Delete" msgstr "" #: src/callbacks.c:361 msgid "Disconnect" msgstr "" #: src/callbacks.c:384 msgid "Disconnect Device" msgstr "" #: src/callbacks.c:647 msgid "Select Path to Download to" msgstr "" #: src/callbacks.c:682 msgid "Select Path to Upload From" msgstr "" #: src/callbacks.c:903 src/callbacks.c:1064 msgid "Are you sure you want to delete this folder (and all contents)?" msgstr "" #: src/callbacks.c:1118 msgid "Are you sure you want to format this device?" msgstr "" #: src/callbacks.c:1247 msgid "Please enter search item." msgstr "" #: src/callbacks.c:1248 msgid "Search" msgstr "" #: src/callbacks.c:1356 msgid "Searching..." msgstr "" #: src/callbacks.c:1412 msgid "Select Album Art File" msgstr "" #: src/callbacks.c:1514 msgid "Save Album Art File" msgstr "" #: src/callbacks.c:1536 #, c-format msgid "Couldn't save image file %s\n" msgstr "" #: src/callbacks.c:1537 msgid "Couldn't save image file\n" msgstr "" #: src/callbacks.c:1669 msgid "Select Playlist to Import" msgstr "" #: src/callbacks.c:1719 src/callbacks.c:1720 msgid "The playlist failed to import correctly.\n" msgstr "" #: src/callbacks.c:1756 msgid "Save as..." msgstr "" #: src/prefs.c:117 msgid "" "WARNING: gconf schema invalid, reverting to defaults. Please ensure schema " "is loaded in gconf database.\n" msgstr "" #: src/prefs.c:221 msgid "" "WARNING: gconf schema invalid, unable to save! Please ensure schema is " "loaded in gconf database.\n" msgstr "" #: src/prefs.c:425 src/prefs.c:615 msgid "Disconnected device due to access method change" msgstr "" #: src/prefs.c:441 msgid "" "WARNING: gconf_callback_func() failed - we got a callback for a key thats " "not ours?\n" msgstr "" #: src/prefs.c:625 msgid "" "WARNING: gsettings_callback_func() failed - we got a callback for a key " "thats not ours?\n" msgstr "" domain "gmtp" #, fuzzy #~ msgid "" #~ msgstr "" #~ "Project-Id-Version: gmtp 1.3.5\n" #~ "Report-Msgid-Bugs-To: chewy509@mailcity.com\n" #~ "POT-Creation-Date: 2013-12-06 21:51+1000\n" #~ "PO-Revision-Date: 2013-12-04 20:20+1000\n" #~ "Last-Translator: Cai Andersen\n" #~ "Language-Team: chewy509@mailcity.com\n" #~ "Language: it\n" #~ "MIME-Version: 1.0\n" #~ "Content-Type: text/plain; charset=UTF-8\n" #~ "Content-Transfer-Encoding: 8bit\n" #~ msgid "" #~ "\n" #~ "Error getting file from MTP device.\n" #~ msgstr "" #~ "\n" #~ "Errore durante il recupero di file da un dispositivo MTP.\n" #~ msgid "" #~ "\n" #~ "Failed to delete file %s\n" #~ msgstr "" #~ "\n" #~ "Impossibile eliminare il file %s\n" #~ msgid " %s %s : (%04x:%04x) @ bus %d, dev %d" #~ msgstr " %s %s : (%04x:%04x) @ bus %d, dev %d" #~ msgid " : %d MB (free) / %d MB (total)" #~ msgstr " : %d MB (libero) / %d MB (totale)" #~ msgid " Playlists" #~ msgstr " Playlist" #~ msgid " Preferences" #~ msgstr " Preferenze" #~ msgid " Properties" #~ msgstr " Propriet" #~ msgid "%d MB (free) / %d MB (total)" #~ msgstr "%d MB (libero) / %d MB (totale)" #~ msgid "%s of %s (%d%%)" #~ msgstr "%s di %s (%d%%)" #~ msgid "%s - %s of %s (%d%%)" #~ msgstr "%s - %s di %s (%d%%)" #~ msgid "" #~ msgstr "" #~ msgid "" #~ msgstr "" #~ msgid "Battery Level:" #~ msgstr "Livello della batteria:" #~ msgid "Bus Location:" #~ msgstr "Posizione del bus:" #~ msgid "Device Number:" #~ msgstr "Numero del dispositivo:" #~ msgid "Device Version:" #~ msgstr "Versione del dispositivo:" #~ msgid "Device" #~ msgstr "Dispositivo" #~ msgid "File Operations" #~ msgstr "Operazioni su file" #~ msgid "Filepaths on PC" #~ msgstr "Percorsi del file su PC" #~ msgid "MTP Device Properties" #~ msgstr "Propriet del dispositivo MTP" #~ msgid "Manufacturer:" #~ msgstr "Produttore:" #~ msgid "Model Number:" #~ msgstr "Numero del modello:" #~ msgid "Name:" #~ msgstr "Nome:" #~ msgid "Product ID:" #~ msgstr "ID del prodotto:" #~ msgid "Product:" #~ msgstr "Prodotto:" #~ msgid "Raw Device Information" #~ msgstr "Informazioni sui dispositivi raw" #~ msgid "Secure Time:" #~ msgstr "Sicuro Tempo:" #~ msgid "Serial Number:" #~ msgstr "Numero di serie:" #~ msgid "Storage:" #~ msgstr "Memorizzazione:" #~ msgid "Supported Formats:" #~ msgstr "Formati supportati:" #~ msgid "Sync Partner:" #~ msgstr "Sincronizzazione partner:" #~ msgid "Vendor ID:" #~ msgstr "ID venditore:" #~ msgid "Vendor:" #~ msgstr "Venditore:" #~ msgid "" #~ "Copyright 2009-2011, Darran Kartaschew\n" #~ "Released under the BSD Licence\n" #~ msgstr "" #~ "Copyright 2009-2011, Darran Kartaschew\n" #~ "Rilasciato sotto BSD Licence\n" #~ msgid "" #~ "A simple MTP Client for Solaris 10\n" #~ "and other UNIX / UNIX-like systems\n" #~ msgstr "" #~ "Un semplice client MP3 per Solaris 10\n" #~ "e altri sistemi UNIX / UNIX simile\n" #~ msgid "About gMTP" #~ msgstr "Informazioni su gMTP" #~ msgid "Add" #~ msgstr "Aggiungi" #~ msgid "Add Album Art" #~ msgstr "Aggiungi Album Art" #~ msgid "Add File" #~ msgstr "Aggiungi file" #~ msgid "Add Files" #~ msgstr "Aggiungi file" #~ msgid "Add Files to your device." #~ msgstr "Aggiungi file al dispositivo." #~ msgid "Add New Playlist" #~ msgstr "Aggiungi nuova playlist" #~ msgid "Add a varity of Files to your device in the current folder." #~ msgstr "" #~ "Aggiungere una variet di file sul dispositivo nella cartella corrente" #~ msgid "Add and Modify Playlists." #~ msgstr "Aggiungere e modificare playlist." #~ msgid "Add file to playlist" #~ msgstr "Aggiungere file alla playlist" #~ msgid "Album" #~ msgstr "Album" #~ msgid "Album Art" #~ msgstr "Album Art" #~ msgid "Album:" #~ msgstr "Album:" #~ msgid "Always show Download Path?" #~ msgstr "Mostra sempre il percorso di download?" #~ msgid "Are you sure you want to delete these files?" #~ msgstr "Sei sicuro di voler eliminare questi file?" #~ msgid "Are you sure you want to delete this folder (and all contents)?" #~ msgstr "" #~ "Sei sicuro di voler eliminare questa cartella (e tutti i contenuti)?" #~ msgid "Artist" #~ msgstr "Artista" #~ msgid "Attempt to connect to Device on startup" #~ msgstr "Tentativo di connessione a periferica all'avvio" #~ msgid "Change Device Name" #~ msgstr "Cambia nome dispositivo" #~ msgid "Confirm Delete" #~ msgstr "Conferma eliminazione" #~ msgid "Confirm File/Folder Delete" #~ msgstr "Conferma eliminazione file / cartella" #~ msgid "Connect" #~ msgstr "Collegare" #~ msgid "Connect Device" #~ msgstr "Collegare il dispositivo" #~ msgid "Connect to which device?" #~ msgstr "A quale dispositivo ci si desidera collegare?" #~ msgid "Connect to which storage device?" #~ msgstr "A quale periferica di archiviazione ci si desidera collegare?" #~ msgid "Connect/Disconnect to your device." #~ msgstr "Connettersi / disconnettersi al dispositivo." #~ msgid "Connected to %s (%s) - %d MB free" #~ msgstr "Connesso a %s (%s) - %d MB di spazio libero" #~ msgid "Connected to %s - %d MB free" #~ msgstr "Connesso a %s - %d MB di spazio libero" #~ msgid "Couldn't create playlist object\n" #~ msgstr "Impossibile creare l'oggetto playlist\n" #~ msgid "Couldn't delete folder %s (%x)\n" #~ msgstr "Impossibile eliminare cartella %s (%x)\n" #~ msgid "Couldn't open image file %s\n" #~ msgstr "Impossibile aprire il file immagine %s\n" #~ msgid "Couldn't send album art\n" #~ msgstr "Impossibile inviare le copertine degli album\n" #~ msgid "Create Folder" #~ msgstr "Crea cartella" #~ msgid "Current Playlist: " #~ msgstr "Playlist attuale: " #~ msgid "Del" #~ msgstr "Elimina" #~ msgid "Del File" #~ msgstr "Elimina file" #~ msgid "Delete" #~ msgstr "Elimina" #~ msgid "Delete Files" #~ msgstr "Elimina file" #~ msgid "Delete Files/Folders from your device." #~ msgstr "Eliminare i file / cartelle dal dispositivo." #~ msgid "Delete Folder" #~ msgstr "Elimina cartella" #~ msgid "Deleting playlist failed?\n" #~ msgstr "Eliminazione della playlist fallita?\n" #~ msgid "Detect: Encountered a Memory Allocation Error. \n" #~ msgstr "Detect: stato rilevato un errore di allocazione della memoria.\n" #~ msgid "Detect: No raw devices found.\n" #~ msgstr "Detect: Nessun dispositivo raw trovato.\n" #~ msgid "Detect: There has been an error connecting. \n" #~ msgstr "Detect: C' stato un errore di connessione.\n" #~ msgid "Detect: Unable to open raw device?\n" #~ msgstr "Detect: impossibile aprire il dispositivo raw?\n" #~ msgid "Device Audio Tracks" #~ msgstr "Tracce audio del dispositivo" #~ msgid "Device Name:" #~ msgstr "Nome del dispositivo:" #~ msgid "Device Properties" #~ msgstr "Propriet del dispositivo" #~ msgid "Device:" #~ msgstr "Dispositivo:" #~ msgid "DevicePropeties: How did I get called?\n" #~ msgstr "DevicePropeties: Come ho chiamato?\n" #~ msgid "Disconnect" #~ msgstr "Scollegare" #~ msgid "Disconnect Device" #~ msgstr "Disconnettere il dispositivo" #~ msgid "Download" #~ msgstr "Download" #~ msgid "Download Files" #~ msgstr "Download dei file" #~ msgid "Download Files from your device to your Host PC." #~ msgstr "Download di file dal dispositivo al PC host." #~ msgid "Download Path:" #~ msgstr "Percorso del download:" #~ msgid "" #~ "Download files from your device to your PC. Default Download path is set " #~ "in the preferences dialog." #~ msgstr "" #~ "Scaricare file dal dispositivo al PC. Scarica percorso predefinito " #~ "impostato nella finestra di dialogo prefernces." #~ msgid "Duration" #~ msgstr "Durata" #~ msgid "ERROR: Failed memory allocation in albumAddArt()\n" #~ msgstr "Allocazione di memoria non riuscita in albumAddArt(): ERRORE\n" #~ msgid "ERROR: Failed memory allocation in albumAddTrackToAlbum()\n" #~ msgstr "" #~ "Allocazione di memoria non riuscita in albumAddTrackToAlbum(): ERRORE\n" #~ msgid "Edit Playlist(s)" #~ msgstr "Modifica Playlist" #~ msgid "Error" #~ msgstr "Errore" #~ msgid "Error code %d sending track to device: %s" #~ msgstr "Errore codice %d brano inviare al dispositivo: %s" #~ msgid "" #~ "Error creating or updating album.\n" #~ "(This could be due to that your device does not support albums.)\n" #~ msgstr "" #~ "Errore durante la creazione o l'aggiornamento di album.\n" #~ "(Ci potrebbe essere dovuto al fatto che il dispositivo non supporta " #~ "album.)\n" #~ msgid "Error getting file from MTP device." #~ msgstr "Errore durante il recupero di file da un dispositivo MTP." #~ msgid "Error sending file %s.\n" #~ msgstr "Errore durante l'invio del file %s.\n" #~ msgid "Error sending file:" #~ msgstr "Errore nell'invio del file:" #~ msgid "Error sending track.\n" #~ msgstr "Errore durante l'invio traccia.\n" #~ msgid "Error: Couldn't set device name to %s\n" #~ msgstr "Errore: Impossibile impostare il nome del dispositivo per %s\n" #~ msgid "Failed to delete file" #~ msgstr "Impossibile eliminare il file" #~ msgid "" #~ "File %s already exists in target folder.\n" #~ "Do you want to:" #~ msgstr "" #~ "File %s gi presente nella cartella di destinazione.\n" #~ "Vuoi:" #~ msgid "File Upload" #~ msgstr "Carica file" #~ msgid "File download" #~ msgstr "Scarica file" #~ msgid "FileSize Hidden" #~ msgstr "Dimensione del file nascosta" #~ msgid "Filename" #~ msgstr "Nome del file" #~ msgid "Filename:" #~ msgstr "Nome del file:" #~ msgid "Folder Name:" #~ msgstr "Nome cartella:" #~ msgid "Folder creation failed:" #~ msgstr "Creazione della cartella non riuscita:" #~ msgid "Folder creation failed: %s\n" #~ msgstr "Creazione della cartella non riuscita: %s\n" #~ msgid "I don't know how to delete a parent folder reference?\n" #~ msgstr "Non so come eliminare il collegamento alla cartella superiore?\n" #~ msgid "Information" #~ msgstr "Informazioni" #~ msgid "Move selected file down in the playlist" #~ msgstr "Spostare file selezionato dalla playlist" #~ msgid "Move selected file up in the playlist" #~ msgstr "Spostare file selezionato in playlist" #~ msgid "N/A" #~ msgstr "Non applicabile" #~ msgid "New Folder" #~ msgstr "Nuova Cartella" #~ msgid "New Playlist" #~ msgstr "Nuova Playlist" #~ msgid "" #~ "No Albums available to set Album Art with. Either:\n" #~ "1. You have no music files uploaded?\n" #~ "2. Your device does not support Albums?\n" #~ "3. Previous applications used to upload files do not autocreate albums " #~ "for you or support the metadata for those files in order to create the " #~ "albums for you?\n" #~ msgstr "" #~ "Nessun album disponibile per impostare Album Art. O:\n" #~ "1. Non hai i file musicali caricati?\n" #~ "2. Il dispositivo non supporta Album?\n" #~ "3. Domande precedenti utilizzato per caricare i file non autocreate album " #~ "per voi o il supporto di metadati per i file in modo da creare degli " #~ "album per voi?\n" #~ msgid "No device attached" #~ msgstr "Nessun dispositivo collegato" #~ msgid "No files/folders selected?" #~ msgstr "Nessun file / cartella selezionati?" #~ msgid "Num" #~ msgstr "Numero" #~ msgid "Object ID" #~ msgstr "Object ID" #~ msgid "Overwrite" #~ msgstr "Sovrascrivi" #~ msgid "Overwrite All" #~ msgstr "Sovrascrivi tutti" #~ msgid "" #~ "Permanently remove files/folders from your device. Note: Albums are " #~ "stored as *.alb files." #~ msgstr "" #~ "Rimuovere in modo permanente i file / cartelle dal dispositivo. Nota: gli " #~ "album sono archiviati come file *. alb." #~ msgid "Playlist Audio Tracks" #~ msgstr "Tracce audio Playlist" #~ msgid "Playlist Name:" #~ msgstr "Nome della playlist:" #~ msgid "Playlists" #~ msgstr "Playlist" #~ msgid "Preferences" #~ msgstr "Preferenze" #~ msgid "Prompt if to Overwrite file if already exists" #~ msgstr "Avviso se sovrascrivere il file se esiste gi" #~ msgid "Properties" #~ msgstr "Propriet" #~ msgid "Question: Confirm Overwrite of Existing File?" #~ msgstr "Domanda: Conferma la sovrascrittura di file esistente?" #~ msgid "Quit" #~ msgstr "Esci" #~ msgid "Quit gMTP." #~ msgstr "Esci gMTP." #~ msgid "Refresh" #~ msgstr "Aggiorna" #~ msgid "Refresh Device" #~ msgstr "Aggiorna dispositivo" #~ msgid "Refresh File/Folder listing." #~ msgstr "Aggiorna file / elenco di cartelle." #~ msgid "Remove Current Selected Playlist" #~ msgstr "Rimuovere la playlist selezionata" #~ msgid "Remove file from playlist" #~ msgstr "Rimuovere file dalla playlist" #~ msgid "Rescan: How did I get called?\n" #~ msgstr "Rescan: Come ho chiamato?\n" #~ msgid "Select Album Art File" #~ msgstr "Seleziona file Album Art " #~ msgid "Select Files to Add" #~ msgstr "Seleziona i file da aggiungere" #~ msgid "Select Path to Download" #~ msgstr "Selezione del percorso per il download" #~ msgid "Select Path to Download to" #~ msgstr "Selezione del percorso da cui scaricare" #~ msgid "Select Path to Upload From" #~ msgstr "Selezione del percorso da cui caricare le foto" #~ msgid "Size" #~ msgstr "Dimensioni" #~ msgid "Skip" #~ msgstr "Salta" #~ msgid "Skip All" #~ msgstr "Salta tutto" #~ msgid "Storage Device:" #~ msgstr "Dispositivo di memorizzazione:" #~ msgid "Track" #~ msgstr "Traccia" #~ msgid "" #~ "Unable to add %s due to insufficient space: filesize = %lu, freespace = %" #~ "lu\n" #~ msgstr "" #~ "Impossibile aggiungere %s a causa di spazio insufficiente: dimensione del " #~ "file = &lu, spazio libero = %lu\n" #~ msgid "Unable to add file due to insufficient space" #~ msgstr "Impossibile aggiungere file a causa di spazio insufficiente" #~ msgid "Unknown" #~ msgstr "Sconosciuto" #~ msgid "Unknown : %04x:%04x @ bus %d, dev %d" #~ msgstr "Sconosciuto : %04x:%04x @ bus %d, dev %d" #~ msgid "Unknown id: %d, %lu MB" #~ msgstr "Sconosciuto id: %d, %lu MB" #~ msgid "Updating playlist failed?\n" #~ msgstr "Aggiornamento della playlist fallito?\n" #~ msgid "Updating playlist failed? 'realloc in savePlayList'\n" #~ msgstr "Aggiornamento della playlist fallito? 'realloc in savePlayList'\n" #~ msgid "Upload Path:" #~ msgstr "Percorso di upload:" #~ msgid "Upload a JPG file and assign it as Album Art." #~ msgstr "Carica un file JPG e assegnalo come Album Art." #~ msgid "Upload an image file as Album Art." #~ msgstr "Carica un file immagine come Album Art." #~ msgid "View Device Properties." #~ msgstr "Visualizza le propriet del dispositivo." #~ msgid "View/Change gMTP Preferences." #~ msgstr "Visualizza / Cambia preferenze gMTP." #~ msgid "" #~ "WARNING: gconf schema invalid, reverting to defaults. Please ensure " #~ "schema is loaded in gconf database.\n" #~ msgstr "" #~ "ATTENZIONE: schema gconf non valido, tornare ai valori predefiniti. " #~ "Assicurarsi che lo schema venga caricato nel database di GConf.\n" #~ msgid "" #~ "WARNING: gconf schema invalid, unable to save! Please ensure schema is " #~ "loaded in gconf database.\n" #~ msgstr "" #~ "ATTENZIONE: lo schema gconf non valido e non possibile salvare! " #~ "Assicurarsi che lo schema venga caricato nel database di GConf.\n" #~ msgid "" #~ "WARNING: gconf_callback_func() failed - we got a callback for a key thats " #~ "not ours?\n" #~ msgstr "" #~ "ATTENZIONE: gconf_callback_func() non riuscito: abbiamo avuto una " #~ "chiamata per una chiave che non la nostra?\n" #~ msgid "_About" #~ msgstr "_Informazioni" #~ msgid "_Edit" #~ msgstr "_Modifica" #~ msgid "_File" #~ msgstr "_File" #~ msgid "_Help" #~ msgstr "_Aiuto" #~ msgid "file = ( x / x ) x %" #~ msgstr "file = ( x / x ) x %" #~ msgid "file://" #~ msgstr "file://" #~ msgid "realloc in savePlayList failed\n" #~ msgstr "realloc in savePlayList fallito\n" #~ msgid "setDeviceName: How did I get called?\n" #~ msgstr "setDeviceName: Come ho chiamato?\n" #~ msgid "File Type" #~ msgstr "Tipo di file" #~ msgid "Track Name" #~ msgstr "Nome traccia" #~ msgid "Year" #~ msgstr "Anno" #~ msgid "_View" #~ msgstr "_Visualizza" #~ msgid "File Size" #~ msgstr "Dimensione file" #~ msgid "Track Number" #~ msgstr "Numero traccia" #~ msgid "Genre" #~ msgstr "Genere" # ########################################## #~ msgid "Save Album Art File" #~ msgstr "Salva Art File Album" #~ msgid "Couldn't save image file %s\n" #~ msgstr "Impossibile salvare il file immagine %s\n" #~ msgid "Couldn't save image file\n" #~ msgstr "Impossibile salvare il file immagine\n" #~ msgid "" #~ "Failed to get storage parameters from the device - need to disconnect." #~ msgstr "" #~ "Impossibile ottenere i parametri di memoria dal dispositivo - hanno " #~ "bisogno di staccare." #~ msgid "Couldn't remove album art\n" #~ msgstr "Impossibile rimuovere le copertine degli album\n" #~ msgid "Rename File" #~ msgstr "Rinominare file" #~ msgid "Rename File/Folder" #~ msgstr "Rinominare file / cartella" #~ msgid "File Name:" #~ msgstr "Nome del file:" #~ msgid "Upload" #~ msgstr "Caricare" #~ msgid "Remove" #~ msgstr "Rimuovere" #~ msgid "Format Device" #~ msgstr "Formato del dispositivo" #~ msgid "Are you sure you want to format this device?" #~ msgstr "Sei sicuro che si desidera formattare questo dispositivo?" #~ msgid "Format Device failed?\n" #~ msgstr "Dispositivo formato fallito?\n" #~ msgid "Prompt to add New Music track to existing playlist" #~ msgstr "" #~ "Richiesta di aggiungere Nuovo brano musicale alla Playlist esistente" # ########################################################## #~ msgid "Import Playlist" #~ msgstr "Importa Playlist" #~ msgid "Export Playlist" #~ msgstr "Esportazione playlist" #~ msgid "Select Playlist to Import" #~ msgstr "Selezionare playlist da importare" #~ msgid "The playlist failed to import correctly.\n" #~ msgstr "La playlist non riuscito a importare correttamente.\n" #~ msgid "Ignore path information when importing playlist" #~ msgstr "Ignora informazioni sul percorso durante l'importazione di playlist" #~ msgid "Playlist" #~ msgstr "Playlist" #~ msgid "Couldn't save playlist file\n" #~ msgstr "Impossibile salvare il file playlist\n" #~ msgid "Couldn't save playlist file %s\n" #~ msgstr "Impossibile salvare il file playlist %s\n" #~ msgid "Couldn't open playlist file\n" #~ msgstr "Impossibile aprire il file playlist\n" #~ msgid "Couldn't open playlist file %s\n" #~ msgstr "Impossibile aprire il file playlist %s\n" #~ msgid "" #~ "Found no tracks within the playlist that exist on this device. Did not " #~ "import the playlist.\n" #~ msgstr "" #~ "Non ha trovato i brani presenti su questo dispositivo. Non importare la " #~ "playlist.\n" #~ msgid "Playlist imported.\n" #~ msgstr "Playlist importati.\n" # ########################################################## #~ msgid "Find:" #~ msgstr "Cerca:" #~ msgid "Filenames" #~ msgstr "I nomi dei file" #~ msgid "Track Information" #~ msgstr "Musica Informazioni" #~ msgid "Please enter search item." #~ msgstr "Inserisci voce di ricerca." #~ msgid "Search" #~ msgstr "ricerca" #~ msgid "Location" #~ msgstr "Posizione" #~ msgid "Found %d items" #~ msgstr "Trovati %d articoli" #~ msgid "Found %d item" #~ msgstr "Trovati %d punto" #~ msgid "Searching..." #~ msgstr "ricerca..." #~ msgid "Add To Playlist" #~ msgstr "Aggiungi a playlist" #~ msgid "Remove From Playlist" #~ msgstr "Rimuovi dalla playlist" #~ msgid "Columns" #~ msgstr "Colonne" # ########################################################## #~ msgid "Folders" #~ msgstr "Cartelle" #~ msgid "Folder" #~ msgstr "Cartella" #~ msgid "Rename Folder" #~ msgstr "Rinomina cartella" #~ msgid "Move To..." #~ msgstr "Sposta" #~ msgid "Unable to move the selected folder underneath itself?\n" #~ msgstr "Impossibile spostare la cartella selezionata sotto di s?\n" #~ msgid "Unable to move the selected folder into itself?\n" #~ msgstr "Impossibile spostare la cartella selezionata in se stesso?\n" #~ msgid "Unable to move the selected file?\n" #~ msgstr "Impossibile spostare il file selezionato?\n" #~ msgid "Unable to move the selected folder?\n" #~ msgstr "Impossibile spostare la cartella selezionata?\n" #~ msgid "translator-credits" #~ msgstr "Francesca Ciceri" #~ msgid "Select All" #~ msgstr "Seleziona tutto" # ########################################################## #~ msgid "I don't know how to download a parent folder reference?\n" #~ msgstr "Non so come scaricare un riferimento cartella principale?\n" #~ msgid "Suppress Album Errors" #~ msgstr "Eliminare gli errori Album" #~ msgid "Detect: No available Storage found on device?\n" #~ msgstr "Rileva: No Deposito trovato disponibile sul dispositivo?\n" #~ msgid "Utilize alternate access method" #~ msgstr "Utilizzare il metodo di accesso alternativo" #~ msgid "Disconnected device due to access method change" #~ msgstr "Dispositivo disconnesso a causa dell'accesso cambiamento metodo" #~ msgid "" #~ "The move function is disabled when using the alternate access method for " #~ "your device." #~ msgstr "" #~ "La funzione di spostamento disabilitata quando si utilizza il metodo di " #~ "accesso alternativo per il dispositivo." # ########################################################## #~ msgid "Treat all media as regular files" #~ msgstr "Trattare tutti i file multimediali come file normali" gmtp-1.3.10/po/Makefile.in0000644000175000001440000003347512660313600012154 00000000000000# Makefile for PO directory in any package using GNU gettext. # Copyright (C) 1995-1997, 2000-2006 by Ulrich Drepper # # This file can be copied and used freely without restrictions. It can # be used in projects which are not available under the GNU General Public # License but which still want to provide support for the GNU gettext # functionality. # Please note that the actual code of GNU gettext is covered by the GNU # General Public License and is *not* in the public domain. # # Origin: gettext-0.16 PACKAGE = gmtp VERSION = 1.3.10 PACKAGE_BUGREPORT = chewy509@mailcity.com SHELL = /bin/sh srcdir = . top_srcdir = .. prefix = /usr/local exec_prefix = ${prefix} datarootdir = ${prefix}/share datadir = ${datarootdir} localedir = ${datarootdir}/locale gettextsrcdir = $(datadir)/gettext/po INSTALL = /usr/bin/install -c INSTALL_DATA = ${INSTALL} -m 644 # We use $(mkdir_p). # In automake <= 1.9.x, $(mkdir_p) is defined either as "mkdir -p --" or as # "$(mkinstalldirs)" or as "$(install_sh) -d". For these automake versions, # ${SHELL} /home/darran/Projects/gmtp-code/config/install-sh does not start with $(SHELL), so we add it. # In automake >= 1.10, /usr/bin/mkdir -p is derived from ${MKDIR_P}, which is defined # either as "/path/to/mkdir -p" or ".../install-sh -c -d". For these automake # versions, $(mkinstalldirs) and $(install_sh) are unused. mkinstalldirs = $(SHELL) ${SHELL} /home/darran/Projects/gmtp-code/config/install-sh -d install_sh = $(SHELL) ${SHELL} /home/darran/Projects/gmtp-code/config/install-sh MKDIR_P = /usr/bin/mkdir -p mkdir_p = /usr/bin/mkdir -p GMSGFMT_ = /usr/bin/msgfmt GMSGFMT_no = /usr/bin/msgfmt GMSGFMT_yes = /usr/bin/msgfmt GMSGFMT = $(GMSGFMT_$(USE_MSGCTXT)) MSGFMT_ = /usr/bin/msgfmt MSGFMT_no = /usr/bin/msgfmt MSGFMT_yes = /usr/bin/msgfmt MSGFMT = $(MSGFMT_$(USE_MSGCTXT)) XGETTEXT_ = /usr/bin/xgettext XGETTEXT_no = /usr/bin/xgettext XGETTEXT_yes = /usr/bin/xgettext XGETTEXT = $(XGETTEXT_$(USE_MSGCTXT)) MSGMERGE = msgmerge MSGMERGE_UPDATE = /usr/bin/msgmerge --update MSGINIT = msginit MSGCONV = msgconv MSGFILTER = msgfilter POFILES = @POFILES@ GMOFILES = @GMOFILES@ UPDATEPOFILES = @UPDATEPOFILES@ DUMMYPOFILES = @DUMMYPOFILES@ DISTFILES.common = Makefile.in.in remove-potcdate.sin \ $(DISTFILES.common.extra1) $(DISTFILES.common.extra2) $(DISTFILES.common.extra3) DISTFILES = $(DISTFILES.common) Makevars POTFILES.in \ $(POFILES) $(GMOFILES) \ $(DISTFILES.extra1) $(DISTFILES.extra2) $(DISTFILES.extra3) POTFILES = \ CATALOGS = @CATALOGS@ # Makevars gets inserted here. (Don't remove this line!) .SUFFIXES: .SUFFIXES: .po .gmo .mo .sed .sin .nop .po-create .po-update .po.mo: @echo "$(MSGFMT) -c -o $@ $<"; \ $(MSGFMT) -c -o t-$@ $< && mv t-$@ $@ .po.gmo: @lang=`echo $* | sed -e 's,.*/,,'`; \ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o $${lang}.gmo $${lang}.po"; \ cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo .sin.sed: sed -e '/^#/d' $< > t-$@ mv t-$@ $@ all: all-yes all-yes: stamp-po all-no: # $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no # internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because # we don't want to bother translators with empty POT files). We assume that # LINGUAS is empty in this case, i.e. $(POFILES) and $(GMOFILES) are empty. # In this case, stamp-po is a nop (i.e. a phony target). # stamp-po is a timestamp denoting the last time at which the CATALOGS have # been loosely updated. Its purpose is that when a developer or translator # checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS, # "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent # invocations of "make" will do nothing. This timestamp would not be necessary # if updating the $(CATALOGS) would always touch them; however, the rule for # $(POFILES) has been designed to not touch files that don't need to be # changed. stamp-po: $(srcdir)/$(DOMAIN).pot test ! -f $(srcdir)/$(DOMAIN).pot || \ test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES) @test ! -f $(srcdir)/$(DOMAIN).pot || { \ echo "touch stamp-po" && \ echo timestamp > stamp-poT && \ mv stamp-poT stamp-po; \ } # Note: Target 'all' must not depend on target '$(DOMAIN).pot-update', # otherwise packages like GCC can not be built if only parts of the source # have been downloaded. # This target rebuilds $(DOMAIN).pot; it is an expensive operation. # Note that $(DOMAIN).pot is not touched if it doesn't need to be changed. $(DOMAIN).pot-update: $(POTFILES) $(srcdir)/POTFILES.in remove-potcdate.sed if test -n '$(MSGID_BUGS_ADDRESS)' || test '$(PACKAGE_BUGREPORT)' = '@'PACKAGE_BUGREPORT'@'; then \ msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \ else \ msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \ fi; \ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) \ --files-from=$(srcdir)/POTFILES.in \ --copyright-holder='$(COPYRIGHT_HOLDER)' \ --msgid-bugs-address="$$msgid_bugs_address" test ! -f $(DOMAIN).po || { \ if test -f $(srcdir)/$(DOMAIN).pot; then \ sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \ sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \ if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \ rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \ else \ rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \ fi; \ else \ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \ fi; \ } # This rule has no dependencies: we don't need to update $(DOMAIN).pot at # every "make" invocation, only create it when it is missing. # Only "make $(DOMAIN).pot-update" or "make dist" will force an update. $(srcdir)/$(DOMAIN).pot: $(MAKE) $(DOMAIN).pot-update # This target rebuilds a PO file if $(DOMAIN).pot has changed. # Note that a PO file is not touched if it doesn't need to be changed. $(POFILES): $(srcdir)/$(DOMAIN).pot @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \ if test -f "$(srcdir)/$${lang}.po"; then \ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ echo "$${cdcmd}$(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot"; \ cd $(srcdir) && $(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot; \ else \ $(MAKE) $${lang}.po-create; \ fi install: install-exec install-data install-exec: install-data: install-data-yes if test "$(PACKAGE)" = "gettext-tools"; then \ $(mkdir_p) $(DESTDIR)$(gettextsrcdir); \ for file in $(DISTFILES.common) Makevars.template; do \ $(INSTALL_DATA) $(srcdir)/$$file \ $(DESTDIR)$(gettextsrcdir)/$$file; \ done; \ for file in Makevars; do \ rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \ done; \ else \ : ; \ fi install-data-no: all install-data-yes: all $(mkdir_p) $(DESTDIR)$(datadir) @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ dir=$(localedir)/$$lang/LC_MESSAGES; \ $(mkdir_p) $(DESTDIR)$$dir; \ if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \ $(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \ echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \ for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \ if test -n "$$lc"; then \ if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \ link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \ mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \ for file in *; do \ if test -f $$file; then \ ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \ fi; \ done); \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ else \ if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \ :; \ else \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ fi; \ fi; \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ ln -s ../LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \ ln $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \ cp -p $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ echo "installing $$realcat link as $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo"; \ fi; \ done; \ done install-strip: install installdirs: installdirs-exec installdirs-data installdirs-exec: installdirs-data: installdirs-data-yes if test "$(PACKAGE)" = "gettext-tools"; then \ $(mkdir_p) $(DESTDIR)$(gettextsrcdir); \ else \ : ; \ fi installdirs-data-no: installdirs-data-yes: $(mkdir_p) $(DESTDIR)$(datadir) @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ dir=$(localedir)/$$lang/LC_MESSAGES; \ $(mkdir_p) $(DESTDIR)$$dir; \ for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \ if test -n "$$lc"; then \ if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \ link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \ mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \ for file in *; do \ if test -f $$file; then \ ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \ fi; \ done); \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ else \ if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \ :; \ else \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ fi; \ fi; \ fi; \ done; \ done # Define this as empty until I found a useful application. installcheck: uninstall: uninstall-exec uninstall-data uninstall-exec: uninstall-data: uninstall-data-yes if test "$(PACKAGE)" = "gettext-tools"; then \ for file in $(DISTFILES.common) Makevars.template; do \ rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \ done; \ else \ : ; \ fi uninstall-data-no: uninstall-data-yes: catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ for lc in LC_MESSAGES $(EXTRA_LOCALE_CATEGORIES); do \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ done; \ done check: all info dvi ps pdf html tags TAGS ctags CTAGS ID: mostlyclean: rm -f remove-potcdate.sed rm -f stamp-poT rm -f core core.* $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po rm -fr *.o clean: mostlyclean distclean: clean rm -f Makefile Makefile.in POTFILES *.mo 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 stamp-po $(GMOFILES) distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) dist distdir: $(MAKE) update-po @$(MAKE) dist2 # This is a separate target because 'update-po' must be executed before. dist2: stamp-po $(DISTFILES) dists="$(DISTFILES)"; \ if test "$(PACKAGE)" = "gettext-tools"; then \ dists="$$dists Makevars.template"; \ fi; \ if test -f $(srcdir)/$(DOMAIN).pot; then \ dists="$$dists $(DOMAIN).pot stamp-po"; \ fi; \ if test -f $(srcdir)/ChangeLog; then \ dists="$$dists ChangeLog"; \ fi; \ for i in 0 1 2 3 4 5 6 7 8 9; do \ if test -f $(srcdir)/ChangeLog.$$i; then \ dists="$$dists ChangeLog.$$i"; \ fi; \ done; \ if test -f $(srcdir)/LINGUAS; then dists="$$dists LINGUAS"; fi; \ for file in $$dists; do \ if test -f $$file; then \ cp -p $$file $(distdir) || exit 1; \ else \ cp -p $(srcdir)/$$file $(distdir) || exit 1; \ fi; \ done update-po: Makefile $(MAKE) $(DOMAIN).pot-update test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES) $(MAKE) update-gmo # General rule for creating PO files. .nop.po-create: @lang=`echo $@ | sed -e 's/\.po-create$$//'`; \ echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'." 1>&2; \ exit 1 # General rule for updating PO files. .nop.po-update: @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \ if test "$(PACKAGE)" = "gettext-tools"; then PATH=`pwd`/../src:$$PATH; fi; \ tmpdir=`pwd`; \ echo "$$lang:"; \ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ echo "$${cdcmd}$(MSGMERGE) $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \ cd $(srcdir); \ if $(MSGMERGE) $$lang.po $(DOMAIN).pot -o $$tmpdir/$$lang.new.po; then \ if cmp $$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; \ exit 1; \ fi; \ fi; \ else \ echo "msgmerge for $$lang.po failed!" 1>&2; \ rm -f $$tmpdir/$$lang.new.po; \ fi $(DUMMYPOFILES): update-gmo: Makefile $(GMOFILES) @: Makefile: Makefile.in.in Makevars $(top_builddir)/config.status @POMAKEFILEDEPS@ cd $(top_builddir) \ && $(SHELL) ./config.status $(subdir)/$@.in po-directories force: # 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: gmtp-1.3.10/po/new_fr.po0000644000175000001440000012164412655605137011740 00000000000000#: src/main.c:127 src/callbacks.c:396 msgid "No device attached" msgstr "" #: src/interface.c:289 msgid "_File" msgstr "" #: src/interface.c:298 src/callbacks.c:400 msgid "Connect Device" msgstr "" #: src/interface.c:308 src/interface.c:4146 msgid "Add Files" msgstr "" #: src/interface.c:314 src/interface.c:4150 msgid "Delete Files" msgstr "" #: src/interface.c:320 src/interface.c:4158 msgid "Rename File" msgstr "" #: src/interface.c:326 src/interface.c:4162 src/interface.c:4356 #: src/interface.c:5737 msgid "Move To..." msgstr "" #: src/interface.c:332 src/interface.c:4154 msgid "Download Files" msgstr "" #: src/interface.c:340 src/interface.c:4182 src/interface.c:4344 msgid "Create Folder" msgstr "" #: src/interface.c:347 src/interface.c:4186 src/interface.c:4352 msgid "Delete Folder" msgstr "" #: src/interface.c:357 src/interface.c:4194 src/interface.c:4364 msgid "Refresh Device" msgstr "" #: src/interface.c:363 msgid "Device Properties" msgstr "" #: src/interface.c:375 msgid "_Edit" msgstr "" #: src/interface.c:385 msgid "Select All" msgstr "" #: src/interface.c:402 src/interface.c:3618 msgid "Change Device Name" msgstr "" #: src/interface.c:408 src/callbacks.c:1119 msgid "Format Device" msgstr "" #: src/interface.c:420 src/interface.c:583 src/interface.c:3918 msgid "Album Art" msgstr "" #: src/interface.c:426 msgid "Edit Playlist(s)" msgstr "" #: src/interface.c:438 msgid "_View" msgstr "" #: src/interface.c:446 msgid "Folders" msgstr "" #: src/interface.c:454 src/interface.c:4254 msgid "File Size" msgstr "" #: src/interface.c:458 src/interface.c:1158 src/interface.c:1167 #: src/interface.c:4258 msgid "File Type" msgstr "" #: src/interface.c:462 src/interface.c:4262 msgid "Track Number" msgstr "" #: src/interface.c:466 src/interface.c:1203 src/interface.c:1212 #: src/interface.c:4266 msgid "Track Name" msgstr "" #: src/interface.c:470 src/interface.c:1222 src/interface.c:1231 #: src/interface.c:4270 src/interface.c:4802 src/interface.c:4872 msgid "Artist" msgstr "" #: src/interface.c:474 src/interface.c:1241 src/interface.c:1250 #: src/interface.c:4274 src/interface.c:4812 src/interface.c:4882 msgid "Album" msgstr "" #: src/interface.c:478 src/interface.c:1260 src/interface.c:1269 #: src/interface.c:4278 msgid "Year" msgstr "" #: src/interface.c:482 src/interface.c:1279 src/interface.c:1288 #: src/interface.c:4282 msgid "Genre" msgstr "" #: src/interface.c:486 src/interface.c:1298 src/interface.c:1307 #: src/interface.c:4286 src/interface.c:4840 src/interface.c:4910 msgid "Duration" msgstr "" #: src/interface.c:490 msgid "_Help" msgstr "" #: src/interface.c:500 msgid "_About" msgstr "" #: src/interface.c:529 src/callbacks.c:393 msgid "Connect" msgstr "" #: src/interface.c:533 src/interface.c:535 msgid "Connect/Disconnect to your device." msgstr "" #: src/interface.c:545 src/interface.c:4504 msgid "Add" msgstr "" #: src/interface.c:549 src/interface.c:551 msgid "Add Files to your device." msgstr "" #: src/interface.c:549 msgid "Add a varity of Files to your device in the current folder." msgstr "" #: src/interface.c:556 msgid "Delete" msgstr "" #: src/interface.c:560 src/interface.c:562 msgid "Delete Files/Folders from your device." msgstr "" #: src/interface.c:560 msgid "" "Permanently remove files/folders from your device. Note: Albums are stored " "as *.alb files." msgstr "" #: src/interface.c:567 src/interface.c:4015 msgid "Download" msgstr "" #: src/interface.c:571 src/interface.c:573 msgid "Download Files from your device to your Host PC." msgstr "" #: src/interface.c:571 msgid "" "Download files from your device to your PC. Default Download path is set in " "the preferences dialog." msgstr "" #: src/interface.c:587 src/interface.c:589 msgid "Upload an image file as Album Art." msgstr "" #: src/interface.c:587 msgid "Upload a JPG file and assign it as Album Art." msgstr "" #: src/interface.c:594 src/interface.c:5448 msgid "Playlists" msgstr "" #: src/interface.c:598 src/interface.c:600 msgid "Add and Modify Playlists." msgstr "" #: src/interface.c:605 msgid "Refresh" msgstr "" #: src/interface.c:609 src/interface.c:611 msgid "Refresh File/Folder listing." msgstr "" #: src/interface.c:621 msgid "Properties" msgstr "" #: src/interface.c:625 src/interface.c:627 msgid "View Device Properties." msgstr "" #: src/interface.c:632 msgid "Preferences" msgstr "" #: src/interface.c:636 src/interface.c:638 msgid "View/Change gMTP Preferences." msgstr "" #: src/interface.c:648 src/interface.c:652 msgid "Quit" msgstr "" #: src/interface.c:652 src/interface.c:654 msgid "Quit gMTP." msgstr "" #: src/interface.c:672 msgid "Find:" msgstr "" #: src/interface.c:687 msgid "Filenames" msgstr "" #: src/interface.c:692 msgid "Track Information" msgstr "" #: src/interface.c:1073 src/interface.c:1088 msgid "Filename" msgstr "" #: src/interface.c:1114 src/interface.c:1123 msgid "Size" msgstr "" #: src/interface.c:1177 src/interface.c:1186 src/interface.c:4830 #: src/interface.c:4900 msgid "Track" msgstr "" #: src/interface.c:1325 src/interface.c:1334 msgid "Location" msgstr "" #: src/interface.c:1351 msgid "Folder" msgstr "" #: src/interface.c:1414 msgid "Select Files to Add" msgstr "" #: src/interface.c:1877 #, c-format msgid "Found %d items" msgstr "" #: src/interface.c:1879 #, c-format msgid "Found %d item" msgstr "" #: src/interface.c:1958 src/interface.c:2000 src/callbacks.c:738 msgid "Select Path to Download" msgstr "" #: src/interface.c:2091 src/interface.c:2092 msgid "I don't know how to download a parent folder reference?\n" msgstr "" #: src/interface.c:2124 msgid "Unable to move the selected file?\n" msgstr "" #: src/interface.c:2132 src/interface.c:2133 src/callbacks.c:959 #: src/callbacks.c:960 msgid "Unable to move the selected folder into itself?\n" msgstr "" #: src/interface.c:2150 src/callbacks.c:977 msgid "Unable to move the selected folder?\n" msgstr "" #: src/interface.c:2156 src/interface.c:2157 src/callbacks.c:983 #: src/callbacks.c:984 msgid "Unable to move the selected folder underneath itself?\n" msgstr "" #: src/interface.c:2257 src/interface.c:2258 msgid "I don't know how to delete a parent folder reference?\n" msgstr "" #: src/interface.c:2464 msgid " Preferences" msgstr "" #: src/interface.c:2497 msgid "Attempt to connect to Device on startup" msgstr "" #: src/interface.c:2501 msgid "Utilize alternate access method" msgstr "" #: src/interface.c:2505 msgid "Device" msgstr "" #: src/interface.c:2539 msgid "Confirm File/Folder Delete" msgstr "" #: src/interface.c:2543 msgid "Prompt if to Overwrite file if already exists" msgstr "" #: src/interface.c:2547 msgid "Suppress Album Errors" msgstr "" #: src/interface.c:2551 msgid "Treat all media as regular files" msgstr "" #: src/interface.c:2562 msgid "Playlist" msgstr "" #: src/interface.c:2581 msgid "Prompt to add New Music track to existing playlist" msgstr "" #: src/interface.c:2585 msgid "Ignore path information when importing playlist" msgstr "" #: src/interface.c:2589 msgid "File Operations" msgstr "" #: src/interface.c:2608 msgid "Always show Download Path?" msgstr "" #: src/interface.c:2619 msgid "Download Path:" msgstr "" #: src/interface.c:2626 msgid "Upload Path:" msgstr "" #: src/interface.c:2659 msgid "Filepaths on PC" msgstr "" #: src/interface.c:2807 msgid " Properties" msgstr "" #: src/interface.c:2824 msgid "MTP Device Properties" msgstr "" #: src/interface.c:2833 msgid "Raw Device Information" msgstr "" #: src/interface.c:2856 msgid "Name:" msgstr "" #: src/interface.c:2907 msgid "Model Number:" msgstr "" #: src/interface.c:2916 msgid "Serial Number:" msgstr "" #: src/interface.c:2925 msgid "Device Version:" msgstr "" #: src/interface.c:2934 msgid "Manufacturer:" msgstr "" #: src/interface.c:2943 msgid "Battery Level:" msgstr "" #: src/interface.c:2952 msgid "Storage:" msgstr "" #: src/interface.c:2968 msgid "Supported Formats:" msgstr "" #: src/interface.c:2983 msgid "Secure Time:" msgstr "" #: src/interface.c:2992 msgid "Sync Partner:" msgstr "" #: src/interface.c:3039 msgid "Vendor:" msgstr "" #: src/interface.c:3048 msgid "Product:" msgstr "" #: src/interface.c:3057 msgid "Vendor ID:" msgstr "" #: src/interface.c:3066 msgid "Product ID:" msgstr "" #: src/interface.c:3075 msgid "Device Number:" msgstr "" #: src/interface.c:3084 msgid "Bus Location:" msgstr "" #: src/interface.c:3166 #, c-format msgid "%d MB (free) / %d MB (total)" msgstr "" #: src/interface.c:3261 msgid "file = ( x / x ) x %" msgstr "" #: src/interface.c:3366 #, c-format msgid "%s - %s of %s (%d%%)" msgstr "" #: src/interface.c:3369 #, c-format msgid "%s of %s (%d%%)" msgstr "" #: src/interface.c:3412 src/interface.c:3481 msgid "" "A simple MTP Client for Solaris 10\n" "and other UNIX / UNIX-like systems\n" msgstr "" #: src/interface.c:3443 msgid "translator-credits" msgstr "" #: src/interface.c:3451 msgid "About gMTP" msgstr "" #: src/interface.c:3493 msgid "" "Copyright 2009-2013, Darran Kartaschew\n" "Released under the BSD Licence" msgstr "" #: src/interface.c:3525 msgid "Error" msgstr "" #: src/interface.c:3545 msgid "Information" msgstr "" #: src/interface.c:3561 msgid "New Folder" msgstr "" #: src/interface.c:3579 msgid "Folder Name:" msgstr "" #: src/interface.c:3636 msgid "Device Name:" msgstr "" #: src/interface.c:3678 msgid "Rename File/Folder" msgstr "" #: src/interface.c:3696 msgid "File Name:" msgstr "" #: src/interface.c:3738 msgid "Connect to which device?" msgstr "" #: src/interface.c:3754 msgid "Device:" msgstr "" #: src/interface.c:3780 #, c-format msgid "Unknown : %04x:%04x @ bus %d, dev %d" msgstr "" #: src/interface.c:3817 msgid "Connect to which storage device?" msgstr "" #: src/interface.c:3834 msgid "Storage Device:" msgstr "" #: src/interface.c:3855 #, c-format msgid "Unknown id: %d, %llu MB" msgstr "" #: src/interface.c:3890 #, c-format msgid "" "File %s already exists in target folder.\n" "Do you want to:" msgstr "" #: src/interface.c:3892 msgid "Skip" msgstr "" #: src/interface.c:3893 msgid "Skip All" msgstr "" #: src/interface.c:3894 msgid "Overwrite" msgstr "" #: src/interface.c:3895 msgid "Overwrite All" msgstr "" #: src/interface.c:3897 msgid "Question: Confirm Overwrite of Existing File?" msgstr "" #: src/interface.c:3945 msgid "Album:" msgstr "" #: src/interface.c:3963 msgid "" "No Albums available to set Album Art with. Either:\n" "1. You have no music files uploaded?\n" "2. Your device does not support Albums?\n" "3. Previous applications used to upload files do not autocreate albums for " "you or support the metadata for those files in order to create the albums " "for you?\n" msgstr "" #: src/interface.c:4006 msgid "Upload" msgstr "" #: src/interface.c:4010 msgid "Remove" msgstr "" #: src/interface.c:4170 msgid "Add To Playlist" msgstr "" #: src/interface.c:4174 msgid "Remove From Playlist" msgstr "" #: src/interface.c:4348 msgid "Rename Folder" msgstr "" #: src/interface.c:4450 msgid " Playlists" msgstr "" #: src/interface.c:4468 msgid "Current Playlist: " msgstr "" #: src/interface.c:4487 src/interface.c:4489 src/interface.c:5491 #: src/interface.c:5493 msgid "Add New Playlist" msgstr "" #: src/interface.c:4513 src/interface.c:4515 msgid "Remove Current Selected Playlist" msgstr "" #: src/interface.c:4530 msgid "Del" msgstr "" #: src/interface.c:4541 src/interface.c:4543 msgid "Import Playlist" msgstr "" #: src/interface.c:4553 src/interface.c:4555 msgid "Export Playlist" msgstr "" #: src/interface.c:4574 src/interface.c:4576 msgid "Device Audio Tracks" msgstr "" #: src/interface.c:4596 src/interface.c:4598 msgid "Add file to playlist" msgstr "" #: src/interface.c:4613 msgid "Add File" msgstr "" #: src/interface.c:4621 src/interface.c:4623 msgid "Remove file from playlist" msgstr "" #: src/interface.c:4638 msgid "Del File" msgstr "" #: src/interface.c:4652 src/interface.c:4654 msgid "Playlist Audio Tracks" msgstr "" #: src/interface.c:4674 src/interface.c:4676 msgid "Move selected file up in the playlist" msgstr "" #: src/interface.c:4683 src/interface.c:4685 msgid "Move selected file down in the playlist" msgstr "" #: src/interface.c:4862 msgid "Num" msgstr "" #: src/interface.c:5038 msgid "New Playlist" msgstr "" #: src/interface.c:5056 src/interface.c:5467 msgid "Playlist Name:" msgstr "" #: src/interface.c:5360 src/interface.c:5372 src/mtp.c:1769 src/mtp.c:1829 msgid "realloc in savePlayList failed\n" msgstr "" #: src/interface.c:5361 src/interface.c:5373 src/mtp.c:1770 src/mtp.c:1830 msgid "Updating playlist failed? 'realloc in savePlayList'\n" msgstr "" #: src/mtp.c:120 src/mtp.c:121 msgid "Detect: No raw devices found.\n" msgstr "" #: src/mtp.c:124 src/mtp.c:125 src/mtp.c:133 src/mtp.c:134 msgid "Detect: There has been an error connecting. \n" msgstr "" #: src/mtp.c:128 src/mtp.c:129 msgid "Detect: Encountered a Memory Allocation Error. \n" msgstr "" #: src/mtp.c:155 src/mtp.c:156 msgid "Detect: Unable to open raw device?\n" msgstr "" #: src/mtp.c:169 src/mtp.c:170 msgid "Detect: No available Storage found on device?\n" msgstr "" #: src/mtp.c:253 src/mtp.c:258 msgid "Unknown" msgstr "" #: src/mtp.c:271 src/mtp.c:279 src/mtp.c:296 src/mtp.c:304 src/mtp.c:312 #: src/mtp.c:320 src/mtp.c:333 src/callbacks.c:1095 msgid "N/A" msgstr "" #: src/mtp.c:359 msgid "DevicePropeties: How did I get called?\n" msgstr "" #: src/mtp.c:484 msgid "Failed to get storage parameters from the device - need to disconnect." msgstr "" #: src/mtp.c:496 src/mtp.c:504 src/callbacks.c:80 src/callbacks.c:89 #: src/callbacks.c:365 src/callbacks.c:374 src/callbacks.c:1312 #: src/callbacks.c:1320 #, c-format msgid "Connected to %s - %d MB free" msgstr "" #: src/mtp.c:500 src/callbacks.c:84 src/callbacks.c:369 src/callbacks.c:1316 #, c-format msgid "Connected to %s (%s) - %d MB free" msgstr "" #: src/mtp.c:511 msgid "Rescan: How did I get called?\n" msgstr "" #: src/mtp.c:652 #, c-format msgid "" "Unable to add %s due to insufficient space: filesize = %llu, freespace = %" "llu\n" msgstr "" #: src/mtp.c:654 msgid "Unable to add file due to insufficient space" msgstr "" #: src/mtp.c:659 msgid "File Upload" msgstr "" #: src/mtp.c:720 src/mtp.c:730 msgid "" msgstr "" #: src/mtp.c:749 msgid "Error sending track.\n" msgstr "" #: src/mtp.c:750 #, c-format msgid "Error code %d sending track to device: %s" msgstr "" #: src/mtp.c:797 #, c-format msgid "Error sending file %s.\n" msgstr "" #: src/mtp.c:798 msgid "Error sending file:" msgstr "" #: src/mtp.c:876 #, c-format msgid "" "\n" "Failed to delete file %s\n" msgstr "" #: src/mtp.c:877 msgid "Failed to delete file" msgstr "" #: src/mtp.c:899 msgid "File download" msgstr "" #: src/mtp.c:904 msgid "" "\n" "Error getting file from MTP device.\n" msgstr "" #: src/mtp.c:905 msgid "Error getting file from MTP device." msgstr "" #: src/mtp.c:1014 src/mtp.c:1113 #, c-format msgid "Folder creation failed: %s\n" msgstr "" #: src/mtp.c:1015 src/mtp.c:1114 msgid "Folder creation failed:" msgstr "" #: src/mtp.c:1068 #, c-format msgid "Couldn't delete folder %s (%x)\n" msgstr "" #: src/mtp.c:1271 #, c-format msgid "Error: Couldn't set device name to %s\n" msgstr "" #: src/mtp.c:1277 msgid "setDeviceName: How did I get called?\n" msgstr "" #: src/mtp.c:1356 msgid "ERROR: Failed memory allocation in albumAddTrackToAlbum()\n" msgstr "" #: src/mtp.c:1385 src/mtp.c:1386 msgid "" "Error creating or updating album.\n" "(This could be due to that your device does not support albums.)\n" msgstr "" #: src/mtp.c:1419 msgid "ERROR: Failed memory allocation in albumAddArt()\n" msgstr "" #: src/mtp.c:1424 #, c-format msgid "Couldn't open image file %s\n" msgstr "" #: src/mtp.c:1439 src/mtp.c:1440 msgid "Couldn't send album art\n" msgstr "" #: src/mtp.c:1492 src/mtp.c:1493 msgid "Couldn't remove album art\n" msgstr "" #: src/mtp.c:1556 src/mtp.c:1674 msgid "Couldn't create playlist object\n" msgstr "" #: src/mtp.c:1572 msgid "Deleting playlist failed?\n" msgstr "" #: src/mtp.c:1587 msgid "Updating playlist failed?\n" msgstr "" #: src/mtp.c:1620 #, c-format msgid "Couldn't open playlist file %s\n" msgstr "" #: src/mtp.c:1621 msgid "Couldn't open playlist file\n" msgstr "" #: src/mtp.c:1643 msgid "realloc in playlistImport failed\n" msgstr "" #: src/mtp.c:1644 msgid "Updating playlist failed? 'realloc in playlistImport'\n" msgstr "" #: src/mtp.c:1680 msgid "Playlist imported.\n" msgstr "" #: src/mtp.c:1684 src/mtp.c:1685 msgid "" "Found no tracks within the playlist that exist on this device. Did not " "import the playlist.\n" msgstr "" #: src/mtp.c:1717 #, c-format msgid "Couldn't save playlist file %s\n" msgstr "" #: src/mtp.c:1718 msgid "Couldn't save playlist file\n" msgstr "" #: src/mtp.c:1746 msgid "Format Device failed?\n" msgstr "" #: src/mtp.c:2063 src/mtp.c:2119 src/mtp.c:2203 msgid "malloc in filesSearch failed\n" msgstr "" #: src/mtp.c:2064 src/mtp.c:2120 src/mtp.c:2204 msgid "Failed searching? 'malloc in filesSearch'\n" msgstr "" #: src/mtp.c:2280 msgid "malloc in foldersearch failed\n" msgstr "" #: src/mtp.c:2281 msgid "Failed searching? 'malloc in foldersearch'\n" msgstr "" #: src/callbacks.c:199 src/callbacks.c:253 src/callbacks.c:291 #: src/callbacks.c:332 src/callbacks.c:885 src/callbacks.c:938 #: src/callbacks.c:1012 src/callbacks.c:1050 src/callbacks.c:2012 #: src/callbacks.c:2035 msgid "No files/folders selected?" msgstr "" #: src/callbacks.c:216 msgid "Unable to rename parent folder\n" msgstr "" #: src/callbacks.c:217 msgid "Unable to rename this folder" msgstr "" #: src/callbacks.c:244 msgid "" "The move function is disabled when using the alternate access method for " "your device." msgstr "" #: src/callbacks.c:305 msgid "Are you sure you want to delete these files?" msgstr "" #: src/callbacks.c:306 src/callbacks.c:904 src/callbacks.c:1065 msgid "Confirm Delete" msgstr "" #: src/callbacks.c:361 msgid "Disconnect" msgstr "" #: src/callbacks.c:384 msgid "Disconnect Device" msgstr "" #: src/callbacks.c:647 msgid "Select Path to Download to" msgstr "" #: src/callbacks.c:682 msgid "Select Path to Upload From" msgstr "" #: src/callbacks.c:903 src/callbacks.c:1064 msgid "Are you sure you want to delete this folder (and all contents)?" msgstr "" #: src/callbacks.c:1118 msgid "Are you sure you want to format this device?" msgstr "" #: src/callbacks.c:1247 msgid "Please enter search item." msgstr "" #: src/callbacks.c:1248 msgid "Search" msgstr "" #: src/callbacks.c:1356 msgid "Searching..." msgstr "" #: src/callbacks.c:1412 msgid "Select Album Art File" msgstr "" #: src/callbacks.c:1514 msgid "Save Album Art File" msgstr "" #: src/callbacks.c:1536 #, c-format msgid "Couldn't save image file %s\n" msgstr "" #: src/callbacks.c:1537 msgid "Couldn't save image file\n" msgstr "" #: src/callbacks.c:1669 msgid "Select Playlist to Import" msgstr "" #: src/callbacks.c:1719 src/callbacks.c:1720 msgid "The playlist failed to import correctly.\n" msgstr "" #: src/callbacks.c:1756 msgid "Save as..." msgstr "" #: src/prefs.c:117 msgid "" "WARNING: gconf schema invalid, reverting to defaults. Please ensure schema " "is loaded in gconf database.\n" msgstr "" #: src/prefs.c:221 msgid "" "WARNING: gconf schema invalid, unable to save! Please ensure schema is " "loaded in gconf database.\n" msgstr "" #: src/prefs.c:425 src/prefs.c:615 msgid "Disconnected device due to access method change" msgstr "" #: src/prefs.c:441 msgid "" "WARNING: gconf_callback_func() failed - we got a callback for a key thats " "not ours?\n" msgstr "" #: src/prefs.c:625 msgid "" "WARNING: gsettings_callback_func() failed - we got a callback for a key " "thats not ours?\n" msgstr "" domain "gmtp" #, fuzzy #~ msgid "" #~ msgstr "" #~ "Project-Id-Version: gmtp 1.3.5\n" #~ "Report-Msgid-Bugs-To: chewy509@mailcity.com\n" #~ "POT-Creation-Date: 2013-12-06 21:51+1000\n" #~ "PO-Revision-Date: 2013-12-04 20:20+1000\n" #~ "Last-Translator: Cai Andersen\n" #~ "Language-Team: chewy509@mailcity.com\n" #~ "Language: fr\n" #~ "MIME-Version: 1.0\n" #~ "Content-Type: text/plain; charset=UTF-8\n" #~ "Content-Transfer-Encoding: 8bit\n" #~ msgid "" #~ "\n" #~ "Error getting file from MTP device.\n" #~ msgstr "" #~ "\n" #~ "Erreur de rcupration des fichiers partir du priphrique MTP.\n" #~ msgid "" #~ "\n" #~ "Failed to delete file %s\n" #~ msgstr "" #~ "\n" #~ "Impossible de supprimer le fichier %s\n" #~ msgid " %s %s : (%04x:%04x) @ bus %d, dev %d" #~ msgstr " %s %s : (%04x:%04x) @ bus %d, dev %d" #~ msgid " : %d MB (free) / %d MB (total)" #~ msgstr " : %d Mo (gratuit) / %d Mo (total)" #~ msgid " Playlists" #~ msgstr " Liste d'coute" #~ msgid " Preferences" #~ msgstr " Prfrences" #~ msgid " Properties" #~ msgstr " Proprits" #~ msgid "%d MB (free) / %d MB (total)" #~ msgstr "%d Mo (libre) / %d Mo (total)" #~ msgid "%s of %s (%d%%)" #~ msgstr "%s de %s (%d%%)" #~ msgid "%s - %s of %s (%d%%)" #~ msgstr "%s - %s de %s (%d%%)" #~ msgid "" #~ msgstr "" #~ msgid "" #~ msgstr "" #~ msgid "Battery Level:" #~ msgstr "Niveau de la batterie:" #~ msgid "Bus Location:" #~ msgstr "Situation Bus:" #~ msgid "Device Number:" #~ msgstr "Numro du priphrique:" #~ msgid "Device Version:" #~ msgstr "Version de l'appareil:" #~ msgid "Device" #~ msgstr "Priphrique" #~ msgid "File Operations" #~ msgstr "Oprations sur les fichiers" #~ msgid "Filepaths on PC" #~ msgstr "Chemin de fichiers sur PC" #~ msgid "MTP Device Properties" #~ msgstr "Proprits du priphrique MTP" #~ msgid "Manufacturer:" #~ msgstr "Fabricant:" #~ msgid "Model Number:" #~ msgstr "Numro de modle:" #~ msgid "Name:" #~ msgstr "Nom:" #~ msgid "Product ID:" #~ msgstr "Identifiant du produit:" #~ msgid "Product:" #~ msgstr "Produit:" #~ msgid "Raw Device Information" #~ msgstr "Information brute sur le priphrique" #~ msgid "Secure Time:" #~ msgstr "Temps scuritaire:" #~ msgid "Serial Number:" #~ msgstr "Numro de srie:" #~ msgid "Storage:" #~ msgstr "Stockage:" #~ msgid "Supported Formats:" #~ msgstr "Formats supports:" #~ msgid "Sync Partner:" #~ msgstr "Partenaire de synchronisation:" #~ msgid "Vendor ID:" #~ msgstr "Identifiant vendeur:" #~ msgid "Vendor:" #~ msgstr "Vendeur:" #~ msgid "" #~ "Copyright 2009-2011, Darran Kartaschew\n" #~ "Released under the BSD Licence\n" #~ msgstr "" #~ "Copyright 2009-2011, Darran Kartaschew\n" #~ "Paru sous la Licence BSD\n" #~ msgid "" #~ "A simple MTP Client for Solaris 10\n" #~ "and other UNIX / UNIX-like systems\n" #~ msgstr "" #~ "Un client MTP simple pour Solaris 10\n" #~ "et d'autres UNIX / systmes de type UNIX\n" #~ msgid "About gMTP" #~ msgstr "A propos de gMTP" #~ msgid "Add" #~ msgstr "Ajouter" #~ msgid "Add Album Art" #~ msgstr "Ajouter une pochette d'album" #~ msgid "Add File" #~ msgstr "Ajouter un fichier" #~ msgid "Add Files" #~ msgstr "Ajouter des fichiers" #~ msgid "Add Files to your device." #~ msgstr "Ajouter des fichiers votre priphrique." #~ msgid "Add New Playlist" #~ msgstr "Ajouter une nouvelle liste d'coute" #~ msgid "Add a varity of Files to your device in the current folder." #~ msgstr "" #~ "Ajouter une varit de fichiers sur votre priphrique dans le dossier " #~ "courant." #~ msgid "Add and Modify Playlists." #~ msgstr "Ajouter et modifier des listes d'coute." #~ msgid "Add file to playlist" #~ msgstr "Ajouter un fichier la liste d'coute" #~ msgid "Album" #~ msgstr "Album" #~ msgid "Album Art" #~ msgstr "Pochette d'album" #~ msgid "Album:" #~ msgstr "Album:" #~ msgid "Always show Download Path?" #~ msgstr "Toujours afficher le chemin de tlchargement?" #~ msgid "Are you sure you want to delete these files?" #~ msgstr "tes-vous sr de vouloir supprimer ces fichiers?" #~ msgid "Are you sure you want to delete this folder (and all contents)?" #~ msgstr "tes-vous sr de vouloir supprimer ce dossier (et tout son contenu)?" #~ msgid "Artist" #~ msgstr "Artiste" #~ msgid "Attempt to connect to Device on startup" #~ msgstr "Tentative de connexion au priphrique lors du dmarrage" #~ msgid "Change Device Name" #~ msgstr "Changer le nom du priphrique" #~ msgid "Confirm Delete" #~ msgstr "Confirmer la suppression" #~ msgid "Confirm File/Folder Delete" #~ msgstr "Confirmer la suppression du fichier/dossier" #~ msgid "Connect" #~ msgstr "Connecter" #~ msgid "Connect Device" #~ msgstr "Connecter le priphrique" #~ msgid "Connect to which device?" #~ msgstr "Connecter quel priphrique?" #~ msgid "Connect to which storage device?" #~ msgstr "Connecter quel priphrique de stockage?" #~ msgid "Connect/Disconnect to your device." #~ msgstr "Connexion/dconnexion votre priphrique." #~ msgid "Connected to %s (%s) - %d MB free" #~ msgstr "Connect %s (%s) - %d Mo d'espace libre" #~ msgid "Connected to %s - %d MB free" #~ msgstr "Connect %s - %d Mo d'espace libre" #~ msgid "Couldn't create playlist object\n" #~ msgstr "Impossible de crer l'objet dans la liste d'coute\n" #~ msgid "Couldn't delete folder %s (%x)\n" #~ msgstr "Impossible de supprimer le dossier %s (%x)\n" #~ msgid "Couldn't open image file %s\n" #~ msgstr "Impossible d'ouvrir le fichier image %s\n" #~ msgid "Couldn't send album art\n" #~ msgstr "Impossible d'envoyer des pochettes d'album\n" #~ msgid "Create Folder" #~ msgstr "Crer un dossier" #~ msgid "Current Playlist: " #~ msgstr "Liste d'coute actuelle: " #~ msgid "Del" #~ msgstr "Supprimer" #~ msgid "Del File" #~ msgstr "Supprimer le fichier" #~ msgid "Delete" #~ msgstr "Supprimer" #~ msgid "Delete Files" #~ msgstr "Supprimer les fichiers" #~ msgid "Delete Files/Folders from your device." #~ msgstr "Supprimer les fichiers/dossiers de votre priphrique." #~ msgid "Delete Folder" #~ msgstr "Supprimer le dossier" #~ msgid "Deleting playlist failed?\n" #~ msgstr "chec de la suppression de la liste d'coute?\n" #~ msgid "Detect: Encountered a Memory Allocation Error. \n" #~ msgstr "Dtect: une erreur d'allocation de mmoire a t rencontre. \n" #~ msgid "Detect: No raw devices found.\n" #~ msgstr "Dtect: Aucun priphrique brut trouv.\n" #~ msgid "Detect: There has been an error connecting. \n" #~ msgstr "Dtect: Il ya eu une erreur de connexion.\n" #~ msgid "Detect: Unable to open raw device?\n" #~ msgstr "Dtect: Impossible d'ouvrir le priphrique brut?\n" #~ msgid "Device Audio Tracks" #~ msgstr "Pistes audio du priphrique" #~ msgid "Device Name:" #~ msgstr "Nom du priphrique:" #~ msgid "Device Properties" #~ msgstr "Proprits du priphrique" #~ msgid "Device:" #~ msgstr "Priphrique:" #~ msgid "DevicePropeties: How did I get called?\n" #~ msgstr "DevicePropeties: Comment ai-je t appel?\n" #~ msgid "Disconnect" #~ msgstr "Dconnecter" #~ msgid "Disconnect Device" #~ msgstr "Dconnecter le priphrique" #~ msgid "Download" #~ msgstr "Tlcharger" #~ msgid "Download Files" #~ msgstr "Tlcharger des fichiers" #~ msgid "Download Files from your device to your Host PC." #~ msgstr "Tlcharger des fichiers de votre priphrique votre PC hte." #~ msgid "Download Path:" #~ msgstr "Chemin de tlchargement:" #~ msgid "" #~ "Download files from your device to your PC. Default Download path is set " #~ "in the preferences dialog." #~ msgstr "" #~ "Tlcharger des fichiers de votre priphrique votre PC. Le chemin de " #~ "tlchargement par dfaut est dfini dans la bote de dialogue prfrences." #~ msgid "Duration" #~ msgstr "Dure" #~ msgid "ERROR: Failed memory allocation in albumAddArt()\n" #~ msgstr "chec d'allocation de mmoire dans albumAddArt (): ERREUR\n" #~ msgid "ERROR: Failed memory allocation in albumAddTrackToAlbum()\n" #~ msgstr "chec d'allocation de mmoire dans albumAddTrackToAlbum (): ERREUR\n" #~ msgid "Edit Playlist(s)" #~ msgstr "diter la/les liste(s) d'coute" #~ msgid "Error" #~ msgstr "Erreur" #~ msgid "Error code %d sending track to device: %s" #~ msgstr "Code d'erreur %d d'envoi de la piste au priphrique: %s" #~ msgid "" #~ "Error creating or updating album.\n" #~ "(This could be due to that your device does not support albums.)\n" #~ msgstr "" #~ "Erreur de cration ou de mise jour de l'album.\n" #~ "(Cela pourrait tre d au fait que votre priphrique ne supporte pas les " #~ "albums.)\n" #~ msgid "Error getting file from MTP device." #~ msgstr "Erreur de rcupration des fichiers du priphrique MTP." #~ msgid "Error sending file %s.\n" #~ msgstr "Erreur d'envoi du fichier %s.\n" #~ msgid "Error sending file:" #~ msgstr "Erreur d'envoi du fichier:" #~ msgid "Error sending track.\n" #~ msgstr "Erreur en envoyant la piste.\n" #~ msgid "Error: Couldn't set device name to %s\n" #~ msgstr "Erreur: Impossible de dfinir le nom du priphrique %s\n" #~ msgid "Failed to delete file" #~ msgstr "Impossible de supprimer le fichier" #~ msgid "" #~ "File %s already exists in target folder.\n" #~ "Do you want to:" #~ msgstr "" #~ "Le fichier %s existe dj dans le dossier cible.\n" #~ "Voulez-vous:" #~ msgid "File Upload" #~ msgstr "Exportation de fichier" #~ msgid "File download" #~ msgstr "Tlchargement de fichier" #~ msgid "FileSize Hidden" #~ msgstr "Cacher la taile du fichier" #~ msgid "Filename" #~ msgstr "Nom de fichier" #~ msgid "Filename:" #~ msgstr "Nom de fichier:" #~ msgid "Folder Name:" #~ msgstr "Nom du dossier:" #~ msgid "Folder creation failed:" #~ msgstr "chec de la cration du dossier:" #~ msgid "Folder creation failed: %s\n" #~ msgstr "chec de la cration du dossier: %s\n" #~ msgid "I don't know how to delete a parent folder reference?\n" #~ msgstr "Je ne sais pas comment supprimer une rfrence un dossier parent?\n" #~ msgid "Information" #~ msgstr "Information" #~ msgid "Move selected file down in the playlist" #~ msgstr "Descendre le fichier choisi dans la liste d'coute" #~ msgid "Move selected file up in the playlist" #~ msgstr "Monter le fichier choisi dans la liste d'coute" #~ msgid "N/A" #~ msgstr "Non applicable" #~ msgid "New Folder" #~ msgstr "Nouveau dossier" #~ msgid "New Playlist" #~ msgstr "Nouvelle liste d'coute" #~ msgid "" #~ "No Albums available to set Album Art with. Either:\n" #~ "1. You have no music files uploaded?\n" #~ "2. Your device does not support Albums?\n" #~ "3. Previous applications used to upload files do not autocreate albums " #~ "for you or support the metadata for those files in order to create the " #~ "albums for you?\n" #~ msgstr "" #~ "Aucun album disponible pour dfinir la pochette d'album. Soit:\n" #~ "1. Vous n'avez pas de fichier de musique export?\n" #~ "2. Votre priphrique ne supporte pas les albums?\n" #~ "3. Les applications prcdentes utilises pour exporter des fichiers ne cres " #~ "pas automatiquement d'albums pour vous ou ne supportent pas les mtadonnes " #~ "pour ces fichiers afin de crer des albums pour vous?\n" #~ msgid "No device attached" #~ msgstr "Aucun priphrique connect" #~ msgid "No files/folders selected?" #~ msgstr "Pas de fichiers/dossiers slectionns?" #~ msgid "Num" #~ msgstr "Nombre" #~ msgid "Object ID" #~ msgstr "Identifiant d'objet" #~ msgid "Overwrite" #~ msgstr "craser" #~ msgid "Overwrite All" #~ msgstr "Remplacer tous" #~ msgid "" #~ "Permanently remove files/folders from your device. Note: Albums are " #~ "stored as *.alb files." #~ msgstr "" #~ "Supprimer dfinitivement les fichiers / dossiers de votre priphrique. " #~ "Note: Les albums sont stocks dans des fichiers *. alb." #~ msgid "Playlist Audio Tracks" #~ msgstr "Audio des pistes de la liste d'coute" #~ msgid "Playlist Name:" #~ msgstr "Nom de la liste d'coute:" #~ msgid "Playlists" #~ msgstr "Listes d'coute" #~ msgid "Preferences" #~ msgstr "Prfrences" #~ msgid "Prompt if to Overwrite file if already exists" #~ msgstr "Demander pour craser le fichier s'il existe dj" #~ msgid "Properties" #~ msgstr "Proprits" #~ msgid "Question: Confirm Overwrite of Existing File?" #~ msgstr "Question: Confirmer l'crasement du fichier existant?" #~ msgid "Quit" #~ msgstr "Quitter" #~ msgid "Quit gMTP." #~ msgstr "Quitter gMTP." #~ msgid "Refresh" #~ msgstr "Actualiser" #~ msgid "Refresh Device" #~ msgstr "Actualiser le priphrique" #~ msgid "Refresh File/Folder listing." #~ msgstr "Actualiser les fichiers/dossiers de la liste d'coute." #~ msgid "Remove Current Selected Playlist" #~ msgstr "Supprimer la liste d'coute prsentement slectionne" #~ msgid "Remove file from playlist" #~ msgstr "Supprimer le fichier de la liste d'coute" #~ msgid "Rescan: How did I get called?\n" #~ msgstr "Rescan: Comment ai-je t appel?\n" #~ msgid "Select Album Art File" #~ msgstr "Choisir le fichier de la pochette d'album" #~ msgid "Select Files to Add" #~ msgstr "Choisir les fichiers ajouter" #~ msgid "Select Path to Download" #~ msgstr "Choisir le chemin du tlchargement" #~ msgid "Select Path to Download to" #~ msgstr "Choisir le chemin du tlchargement sur" #~ msgid "Select Path to Upload From" #~ msgstr "Choisir le chemin d'exportation partir de" #~ msgid "Size" #~ msgstr "Taille" #~ msgid "Skip" #~ msgstr "Sauter" #~ msgid "Skip All" #~ msgstr "Sauter tous" #~ msgid "Storage Device:" #~ msgstr "Priphrique de stockage:" #~ msgid "Track" #~ msgstr "Piste" #~ msgid "" #~ "Unable to add %s due to insufficient space: filesize = %l, freespace = %" #~ "l\n" #~ msgstr "" #~ "Impossible d'ajouter %s car l'espace est insuffisant: taille du fichier = " #~ "%lu, espace libre = %lu\n" #~ msgid "Unable to add file due to insufficient space" #~ msgstr "Impossible d'ajouter le fichier car l'espace est insuffisant" #~ msgid "Unknown" #~ msgstr "Inconnu" #~ msgid "Unknown : %04x:%04x @ bus %d, dev %d" #~ msgstr "Inconnu : %04x:%04x @ bus %d, dev %d" #~ msgid "Unknown id: %d, %l MB" #~ msgstr "Identifiant inconnu: %d, %l MB" #~ msgid "Updating playlist failed?\n" #~ msgstr "chec de la mise jour de la liste d'coute?\n" #~ msgid "Updating playlist failed? 'realloc in savePlayList'\n" #~ msgstr "" #~ "chec de la mise jour de la liste d'coute? 'relocalisation dans " #~ "savePlayList '\n" #~ msgid "Upload Path:" #~ msgstr "Chemin d'exportation:" #~ msgid "Upload a JPG file and assign it as Album Art." #~ msgstr "Exporter un fichier JPG et l'assigner comme pochette d'album." #~ msgid "Upload an image file as Album Art." #~ msgstr "Exporter un fichier image comme pochette d'album." #~ msgid "View Device Properties." #~ msgstr "Voir les proprits du priphrique." #~ msgid "View/Change gMTP Preferences." #~ msgstr "Voir/Modifier les prfrences gMTP." #~ msgid "" #~ "WARNING: gconf schema invalid, reverting to defaults. Please ensure " #~ "schema is loaded in gconf database.\n" #~ msgstr "" #~ "AVERTISSEMENT: schma gconf invalide, revenir aux rglages par dfaut. S'il " #~ "vous plat s'assurer que schma est charg dans la base de donnes gconf.\n" #~ msgid "" #~ "WARNING: gconf schema invalid, unable to save! Please ensure schema is " #~ "loaded in gconf database.\n" #~ msgstr "" #~ "AVERTISSEMENT: schma gconf invalide, incapable de sauver! S'il vous plat " #~ "s'assurer que le schma est charg dans la base de donnes gconf.\n" #~ msgid "" #~ "WARNING: gconf_callback_func() failed - we got a callback for a key thats " #~ "not ours?\n" #~ msgstr "" #~ "AVERTISSEMENT: gconf_callback_func () a chou - nous avons eu un rappel " #~ "pour une cl qui ne nous appartient pas?\n" #~ msgid "_About" #~ msgstr "_A propos de" #~ msgid "_Edit" #~ msgstr "_Modifier" #~ msgid "_File" #~ msgstr "_Fichier" #~ msgid "_Help" #~ msgstr "_Aide" #~ msgid "file = ( x / x ) x %" #~ msgstr "fichier = ( x / x ) x %" #~ msgid "file://" #~ msgstr "fichier://" #~ msgid "realloc in savePlayList failed\n" #~ msgstr "chec de la relocalisation dans savePlayList\n" #~ msgid "setDeviceName: How did I get called?\n" #~ msgstr "setDeviceName: Comment ai-je t appel?\n" #~ msgid "File Type" #~ msgstr "Type de fichier" #~ msgid "Track Name" #~ msgstr "Nom de la piste" #~ msgid "Year" #~ msgstr "Anne" #~ msgid "_View" #~ msgstr "_Voir" #~ msgid "File Size" #~ msgstr "Taille du fichier" #~ msgid "Track Number" #~ msgstr "Numro de piste" #~ msgid "Genre" #~ msgstr "Genre" # ########################################## #~ msgid "Save Album Art File" #~ msgstr "Enregistrer le fichier de la pochette d'album" #~ msgid "Couldn't save image file %s\n" #~ msgstr "Impossible d'enregistrer un fichier image %s\n" #~ msgid "Couldn't save image file\n" #~ msgstr "Impossible d'enregistrer un fichier image\n" #~ msgid "" #~ "Failed to get storage parameters from the device - need to disconnect." #~ msgstr "" #~ "Impossible d'obtenir les paramtres de stockage du priphrique - besoin de " #~ "dconnecter." #~ msgid "Couldn't remove album art\n" #~ msgstr "Impossible de supprimer la pochette d'album\n" #~ msgid "Rename File" #~ msgstr "Renommer le fichier" #~ msgid "Rename File/Folder" #~ msgstr "Renommer le fichier/dossier" #~ msgid "File Name:" #~ msgstr "Nom du fichier:" #~ msgid "Upload" #~ msgstr "Exporter" #~ msgid "Remove" #~ msgstr "Retirer" #~ msgid "Format Device" #~ msgstr "Formatage du priphrique" #~ msgid "Are you sure you want to format this device?" #~ msgstr "tes-vous sr de vouloir formater ce priphrique?" #~ msgid "Format Device failed?\n" #~ msgstr "chec du formatage du priphrique?\n" #~ msgid "Prompt to add New Music track to existing playlist" #~ msgstr "Demander l'ajout de la piste New Music une liste d'coute existante" # ########################################################## #~ msgid "Import Playlist" #~ msgstr "Importer la liste d'coute" #~ msgid "Export Playlist" #~ msgstr "Exporter la liste d'coute" #~ msgid "Select Playlist to Import" #~ msgstr "Slectionner la liste d'coute importer" #~ msgid "The playlist failed to import correctly.\n" #~ msgstr "La liste d'coute ne s'est pas importe correctement.\n" #~ msgid "Ignore path information when importing playlist" #~ msgstr "" #~ "Ignorer les informations du chemin lors de l'importation de la liste " #~ "d'coute" #~ msgid "Playlist" #~ msgstr "Liste d'coute" #~ msgid "Couldn't save playlist file\n" #~ msgstr "Impossible d'enregistrer le fichier de la liste d'coute\n" #~ msgid "Couldn't save playlist file %s\n" #~ msgstr "Impossible d'enregistrer le fichier de la liste d'coute %s\n" #~ msgid "Couldn't open playlist file\n" #~ msgstr "Impossible d'ouvrir le fichier de la liste d'coute\n" #~ msgid "Couldn't open playlist file %s\n" #~ msgstr "Impossible d'ouvrir le fichier de la liste d'coute %s\n" #~ msgid "" #~ "Found no tracks within the playlist that exist on this device. Did not " #~ "import the playlist.\n" #~ msgstr "" #~ "Aucune piste trouve dans la liste d'coute qui existe sur ce priphrique. " #~ "N'a pas import la liste d'coute.\n" #~ msgid "Playlist imported.\n" #~ msgstr "Listes d'coute importes.\n" # ########################################################## #~ msgid "Find:" #~ msgstr "Trouver:" #~ msgid "Filenames" #~ msgstr "Noms de fichiers" #~ msgid "Track Information" #~ msgstr "Information de la piste" #~ msgid "Please enter search item." #~ msgstr "S'il vous plat entrez lment recherch." #~ msgid "Search" #~ msgstr "Rechercher" #~ msgid "Location" #~ msgstr "Lieu" #~ msgid "Found %d items" #~ msgstr "Trouv %d articles" #~ msgid "Found %d item" #~ msgstr "%d objets trouvs" #~ msgid "Searching..." #~ msgstr "Recherche" #~ msgid "Add To Playlist" #~ msgstr "Ajouter la liste d'coute" #~ msgid "Remove From Playlist" #~ msgstr "Supprimer de la liste d'coute" #~ msgid "Columns" #~ msgstr "Colonnes" # ########################################################## #~ msgid "Folders" #~ msgstr "Dossiers" #~ msgid "Folder" #~ msgstr "Dossier" #~ msgid "Rename Folder" #~ msgstr "Renommer le dossier" #~ msgid "Move To..." #~ msgstr "Dplacer vers..." #~ msgid "Unable to move the selected folder underneath itself?\n" #~ msgstr "Impossible de dplacer le dossier slectionn sous lui-mme?\n" #~ msgid "Unable to move the selected folder into itself?\n" #~ msgstr "Impossible de dplacer le dossier slectionn sur lui-mme?\n" #~ msgid "Unable to move the selected file?\n" #~ msgstr "Impossible de dplacer le fichier slectionn?\n" #~ msgid "Unable to move the selected folder?\n" #~ msgstr "Impossible de dplacer le dossier slectionn?\n" #~ msgid "Select All" #~ msgstr "Slectionner tout" # ########################################################## #~ msgid "I don't know how to download a parent folder reference?\n" #~ msgstr "Je ne sais pas comment tlcharger un dossier parent de rfrence?\n" #~ msgid "Suppress Album Errors" #~ msgstr "Supprimer les erreurs de l'album" #~ msgid "Detect: No available Storage found on device?\n" #~ msgstr "Dtecter: Non disponible Entreposage trouvant sur le priphrique?\n" #~ msgid "Utilize alternate access method" #~ msgstr "Utiliser la mthode d'accs de substitution" #~ msgid "Disconnected device due to access method change" #~ msgstr "Priphrique dconnect en raison d'accder un changement de mthode" #~ msgid "" #~ "The move function is disabled when using the alternate access method for " #~ "your device." #~ msgstr "" #~ "La fonction de dplacement est dsactive lorsque vous utilisez la mthode " #~ "d'accs de rechange pour votre appareil." # ########################################################## #~ msgid "Treat all media as regular files" #~ msgstr "Traiter tous les fichiers multimdias comme des fichiers rguliers" gmtp-1.3.10/po/it.gmo0000644000175000001440000005060212660314456011230 00000000000000Q0%1W r }   4 KYp ,BRl~F  !;1m ,?,;h'o "+!Np (C]z  & 9G0b.-#3 GTf'n /0,c;1:&c,#& * +D Fp ? ! ! ! "!0! 9!C!H!N! U!b!z!! !! !!\!="6C"8z"/"" "" #'#%;#a# e# p#}#$$$$ $ $Z$F%\%k% %% %-%2% &-&I&Q&`&}&& &&& && ' ''<'A' U'`' g't' ''''''((($(4(UJ()((((( ( ) )N2),)")0)6*$9*^*~**$***6*4-+b+ i+-v+"++++h,a,T,X=----------- -----...9.!X.z.%...Z.930"m0 0 0 0000 01161P1 o1111%122 02=2M2e2'v222222H3X3m3 v3 3333H3!(4J4h4n44,4*4D42$5W50_5555(5 55-6=?6*}6+6&6&6*"7'M7$u7'7+7%7(8%=8(c8)8 888 88 8&9(9%99G_9V9(92':4Z:::: :+: ;!;E>; ; ;0;;;o<=v<F<< ==7=$=&=;>[>.l>/>W>H#?l?{? ? ? ? ? ?????&?*@J@S@,q@@@{@BA>IA>AHAB !B .B 8B1EB1wBBBB&BC#D?DFD KDYDnmDDD E"E+E FE0QEGE E7E FF!+FMF _F!iFFFFF FF' G1G7G TGbG jG!vGGG$G$G&H!8H ZHeH mH{H!HrH=/ImI!III II5IlJ;J*J;J>*K.iK-K,K K(K(L&?LGfLELLL6M/QM+M)M%MMNp OtzOO OP PP ,P6P{UPHeE?iIt5O.AW a8,:! `|c#JS)K6YB9^"o7<;2MX]bvwTx= / %[n k-FZD+u$q_13L*Vsh@lrQ&gz(}R~4dyp\f Error getting file from MTP device. Failed to delete file %s Playlists Preferences Properties%d MB (free) / %d MB (total)%s %s of %s (%d%%)%s of %s (%d%%)ApplicationBattery Level:Bus Location:Device Number:Device Version:DeviceFile OperationsFilepaths on PCMTP Device PropertiesManufacturer:Model Number:Name:PlaylistProduct ID:Product:Raw Device InformationSerial Number:Storage:Supported Formats:Vendor ID:Vendor:A simple MTP Client for Solaris 10 and other UNIX / UNIX-like systems About gMTPAddAdd FileAdd FilesAdd Files to your device.Add New PlaylistAdd To PlaylistAdd a varity of Files to your device in the current folder.Add and Modify Playlists.Add file to playlistAlbumAlbum ArtAlbum:Always show Download Path?Are you sure you want to delete these files?Are you sure you want to delete this folder (and all contents)?Are you sure you want to format this device?ArtistAttempt to connect to Device on startupChange Device NameCloseConfirm DeleteConfirm File/Folder DeleteConnectConnect DeviceConnect to which device?Connect to which storage device?Connect/Disconnect to your device.Connected to %s (%s) - %d MB freeConnected to %s - %d MB freeCouldn't create playlist object Couldn't delete folder %s (%x) Couldn't open image file %s Couldn't open playlist file Couldn't open playlist file %s Couldn't remove album art Couldn't save image file Couldn't save image file %s Couldn't save playlist file Couldn't save playlist file %s Couldn't send album art Create FolderCurrent Playlist: DelDel FileDeleteDelete FilesDelete Files/Folders from your device.Delete FolderDeleting playlist failed? Detect: Encountered a Memory Allocation Error. Detect: No available Storage found on device? Detect: No raw devices found. Detect: There has been an error connecting. Detect: Unable to open raw device? Device Audio TracksDevice Name:Device PropertiesDevice:DevicePropeties: How did I get called? DisconnectDisconnect DeviceDisconnected device due to access method changeDownloadDownload FilesDownload Files from your device to your Host PC.Download Path:Download files from your device to your PC. Default Download path is set in the preferences dialog.DurationERROR: Failed memory allocation in albumAddArt() ERROR: Failed memory allocation in albumAddTrackToAlbum() Edit Playlist(s)ErrorError creating or updating album. (This could be due to that your device does not support albums.) Error getting file from MTP device.Error sending file %s. Error sending track. Error: Couldn't set device name to %s Export PlaylistFailed searching? 'malloc in filesSearch' Failed searching? 'malloc in foldersearch' Failed to get storage parameters from the device - need to disconnect.File %s already exists in target folder. Do you want to:File Name:File SizeFile TypeFile UploadFile downloadFilenameFilenamesFindFind:FolderFolder Name:Folder creation failed:Folder creation failed: %s FoldersFormat DeviceFormat Device failed? Found %d itemFound %d itemsFound no tracks within the playlist that exist on this device. Did not import the playlist. GenreI don't know how to delete a parent folder reference? I don't know how to download a parent folder reference? Ignore path information when importing playlistImport PlaylistInformationLocationMove To...Move selected file down in the playlistMove selected file up in the playlistN/ANew FolderNew PlaylistNo Albums available to set Album Art with. Either: 1. You have no music files uploaded? 2. Your device does not support Albums? 3. Previous applications used to upload files do not autocreate albums for you or support the metadata for those files in order to create the albums for you? No device attachedNo files/folders selected?NumOpenOverwriteOverwrite AllPermanently remove files/folders from your device. Note: Albums are stored as *.alb files.Playlist Audio TracksPlaylist Name:Playlist imported. PlaylistsPlease enter search item.PreferencesPrompt if to Overwrite file if already existsPrompt to add New Music track to existing playlistPropertiesQuestion: Confirm Overwrite of Existing File?RefreshRefresh DeviceRefresh File/Folder listing.Refresh FolderRemoveRemove Current Selected PlaylistRemove From PlaylistRemove file from playlistRename FileRename File/FolderRename FilesRename FolderRescan: How did I get called? SaveSave Album Art FileSave as...SearchSearching...Select Album Art FileSelect AllSelect Files to AddSelect Path to DownloadSelect Path to Download toSelect Path to Upload FromSelect Playlist to ImportSizeSkipSkip AllStorage Device:Suppress Album ErrorsThe move function is disabled when using the alternate access method for your device.The playlist failed to import correctly. ToolbarToolbar Style:TrackTrack InformationTrack NameTrack NumberTreat all media as regular filesUnable to add %s due to insufficient space: filesize = %llu, freespace = %llu Unable to add file due to insufficient spaceUnable to move the selected file? Unable to move the selected folder into itself? Unable to move the selected folder underneath itself? Unable to move the selected folder? Unable to rename parent folder Unable to rename this folderUnknownUnknown : %04x:%04x @ bus %d, dev %dUnknown id: %d, %sUpdating playlist failed? Updating playlist failed? 'realloc in playlistImport' Updating playlist failed? 'realloc in savePlayList' UploadUpload Path:Upload a JPG file and assign it as Album Art.Upload an image file as Album Art.Utilize alternate access methodView Device Properties.View/Change gMTP Preferences.WARNING: gconf schema invalid, reverting to defaults. Please ensure schema is loaded in gconf database. WARNING: gconf schema invalid, unable to save! Please ensure schema is loaded in gconf database. WARNING: gconf_callback_func() failed - we got a callback for a key thats not ours? WARNING: gsettings_callback_func() failed - we got a callback for a key thats not ours? Year_About_Cancel_Close_Connect Device_Edit_File_Help_OK_Open_Preferences_Quit_Save_Viewbothfile = ( x / x ) x %iconmalloc in filesSearch failed malloc in foldersearch failed realloc in playlistImport failed realloc in savePlayList failed setDeviceName: How did I get called? texttranslator-creditsProject-Id-Version: gmtp 1.3.6 Report-Msgid-Bugs-To: chewy509@mailcity.com POT-Creation-Date: 2016-02-15 19:23+1000 PO-Revision-Date: 2014-07-14 01:08+0200 Last-Translator: Fabio Castelli (Muflone) Language-Team: Italian Language: it MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Errore durante il recupero di file dal dispositivo MTP. Impossibile eliminare il file %s Playlist Preferenze Proprietà%d MB (libero) / %d MB (totale)%s %s di %s (%d%%)%s di %s (%d%%)ApplicazioneLivello della batteria:Posizione del bus:Numero del dispositivo:Versione del dispositivo:DispositivoOperazioni su filePercorsi del file su PCProprietà del dispositivo MTPProduttore:Numero del modello:Nome:PlaylistID del prodotto:Prodotto:Informazioni sui dispositivi rawNumero di serie:Memorizzazione:Formati supportati:ID venditore:Venditore:Un semplice client MTP per Solaris 10 e altri sistemi UNIX / simil UNIX Informazioni su gMTPAggiungiAggiungi fileAggiungi fileAggiungi file al dispositivo.Aggiungi nuova playlistAggiungi alla playlistAggiungere una varietà di file sul dispositivo nella cartella corrente.Aggiungere e modificare playlist.Aggiungere file alla playlistAlbumCopertina d'albumAlbum:Mostrare sempre il percorso di scaricamento?Sei sicuro di voler eliminare questi file?Sei sicuro di voler eliminare questa cartella (e tutti i contenuti)?Sei sicuro di voler formattare questo dispositivo?ArtistaTentare la connessione alla periferica all'avvioCambia nome dispositivoChiudiConferma eliminazioneConfermare eliminazione di file/cartelleCollegareCollegare il dispositivoA quale dispositivo ci si desidera collegare?A quale periferica di archiviazione ci si desidera collegare?Connettersi/Disconnettersi al dispositivo.Connesso a %s (%s) - %d MB di spazio liberoConnesso a %s - %d MB di spazio liberoImpossibile creare l'oggetto playlist Impossibile eliminare la cartella %s (%x) Impossibile aprire il file immagine %s Impossibile aprire il file playlist Impossibile aprire il file playlist %s Impossibile rimuovere la copertina d'album Impossibile salvare il file immagine Impossibile salvare il file immagine %s Impossibile salvare il file playlist Impossibile salvare il file playlist %s Impossibile inviare la copertina d'album Crea cartellaPlaylist attuale: EliminaElimina fileEliminaElimina fileElimina file/cartelle dal dispositivo.Elimina cartellaEliminazione della playlist fallita? Rilevazione: È stato rilevato un errore di allocazione della memoria. Rilevazione: Nessuna periferica di archiviazione disponibile trovata sul dispositivo? Detect: Nessun dispositivo raw trovato. Rilevazione: C'è stato un errore di connessione. Rilevazione: Impossibile aprire il dispositivo raw? Tracce audio del dispositivoNome del dispositivo:Proprietà del dispositivoDispositivo:DevicePropeties: Come sono stato chiamato? ScollegareDisconnettere il dispositivoDispositivo disconnesso a causa del cambiamento del metodo di accessoScaricareScarica fileScaricamento di file dal dispositivo al PC host.Percorso per lo scaricamento:Scaricare file dal dispositivo al PC. Il percorso predefinito per scaricare è impostato nella finestra di dialogo delle preferenze.DurataERRORE: Allocazione di memoria non riuscita in albumAddArt() ERRORE: Allocazione di memoria non riuscita in albumAddTrackToAlbum() Modifica PlaylistErroreErrore durante la creazione o l'aggiornamento di album. (Ciò potrebbe essere dovuto al fatto che il dispositivo non supporta album.) Errore durante il recupero di file dal dispositivo MTP.Errore durante l'invio del file %s. Errore durante l'invio della traccia. Errore: Impossibile impostare il nome del dispositivo a %s Esporta playlistRicerca non riuscita? 'malloc in filesSearch' Ricerca non riuscita? 'malloc in foldersearch' Impossibile ottenere i parametri di memoria dal dispositivo - è necessario scollegare.Il file %s è già presente nella cartella di destinazione. Vuoi:Nome del file:Dimensione fileTipo di fileCarica fileScarica fileNome del fileNomi dei fileCercaCerca:CartellaNome della cartella:Creazione della cartella non riuscita:Creazione della cartella non riuscita: %s CartelleFormattazione del dispositivoFormattazione del dispositivo non riuscita? Trovati %d elementiTrovati %d elementiNon sono stati trovate tracce all'interno della playlist che esistano sul dispositivo. La playlist non è stata importata. GenereNon so come eliminare un riferimento alla cartella superiore? Non so come scaricare un riferimento alla cartella superiore? Ignorare le informazioni sul percorso durante l'importazione di playlistImporta PlaylistInformazioniPosizioneSposta su...Spostare sotto il file selezionato nella playlistSpostare sopra il file selezionato nella playlistNon applicabileNuova CartellaNuova PlaylistNessun album disponibile per impostare la copertina d'album. O: 1. Non hai i file musicali caricati? 2. Il dispositivo non supporta album? 3. Le applicazioni utilizzate in precedenza per caricare i file non hanno creato automaticamente per te gli album o il supporto ai metadati per quei file? Nessun dispositivo collegatoNessun file / cartella selezionati?NumeroApriSovrascrivereSovrascrivere tuttiRimuovere in modo permanente i file/cartelle dal dispositivo. Nota: gli album sono archiviati come file *.alb.Tracce audio della PlaylistNome della playlist:Playlist importate. PlaylistInserisci voce di ricerca.PreferenzeAvvisare se sovrascrivere il file se esiste giàAvvisare per aggiungere nuove tracce musicali ad una playlist esistenteProprietàDomanda: Confermi la sovrascrittura del file esistente?AggiornaAggiorna dispositivoAggiorna file/elenco di cartelle.Rinomina cartellaRimuovereRimuovere la playlist selezionataRimuovi dalla playlistRimuovere file dalla playlistRinominare fileRinominare file/cartellaRinomina fileRinomina cartellaRiscansione: Come sono stato chiamato? SalvaSalva file copertina d'albumSalva come...RicercaCercando...Seleziona file copertina d'album Seleziona tuttoSeleziona i file da aggiungereSelezione del percorso per scaricareSeleziona il percorso dove scaricareSeleziona il percorso da dove caricareSelezionare playlist da importareDimensioniSaltareSaltare tuttiDispositivo di memorizzazione:Sopprimere gli errori sugli albumLa funzione di spostamento è disabilitata quando si utilizza il metodo di accesso alternativo per il dispositivo.L'importazione della playlist non è riuscita correttamente. Barra degli strumentiStile dalla barra degli strumentiTracciaInformazioni sulla tracciaNome tracciaNumero tracciaTrattare tutti i file multimediali come file regolariImpossibile aggiungere %s a causa di spazio insufficiente: dimensione del file = %llu, spazio libero = %llu Impossibile aggiungere file a causa di spazio insufficienteImpossibile spostare il file selezionato? Impossibile spostare la cartella selezionata in se stesso? Impossibile spostare la cartella selezionata sotto se stessa? Impossibile spostare la cartella selezionata? Impossibile rinominare la cartella superiore Impossibile rinominare la cartella superioreSconosciutoSconosciuto : %04x:%04x @ bus %d, dev %dSconosciuto id: %d, %sAggiornamento della playlist fallito? Aggiornamento della playlist non riuscito? 'realloc in playlistImport' Aggiornamento della playlist non riuscito? 'realloc in savePlayList' CaricarePercorso per il caricamento:Carica un file JPG e assegnalo come copertina d'album.Carica un file immagine come copertina d'album.Utilizzare il metodo di accesso alternativoVisualizza le proprietà del dispositivo.Visualizza/Cambia preferenze di gMTP.ATTENZIONE: schema gconf non valido, ritorno ai valori predefiniti. Assicurarsi che lo schema venga caricato nel database di GConf. ATTENZIONE: lo schema gconf non è valido e non è possibile salvare! Assicurarsi che lo schema venga caricato nel database di GConf. ATTENZIONE: gconf_callback_func() non riuscito: abbiamo avuto una chiamata per una chiave che non è la nostra? ATTENZIONE: gsettings_callback_func() non riuscito: abbiamo avuto una chiamata per una chiave che non è la nostra? Anno_InformazioniA_nnulla_ChiudiCollegare il dispositivo_Modifica_File_Aiuto_OK_ApriPreferen_ze_Esci_Salva_Visualizzaentrambifile = ( x / x ) x %iconemalloc in filesSearch non riuscito malloc in foldersearch non riuscito realloc in playlistImport non riuscito realloc in savePlayList non riuscita setDeviceName: Come sono stato chiamato? solo testoFrancesca Ciceri Fabio Castelligmtp-1.3.10/po/boldquot.sed0000644000175000001440000000033112655605137012433 00000000000000s/"\([^"]*\)"/“\1”/g s/`\([^`']*\)'/‘\1’/g s/ '\([^`']*\)' / ‘\1’ /g s/ '\([^`']*\)'$/ ‘\1’/g s/^'\([^`']*\)' /‘\1’ /g s/“”/""/g s/“/“/g s/”/”/g s/‘/‘/g s/’/’/g gmtp-1.3.10/po/en@quot.header0000644000175000001440000000226312655605137012700 00000000000000# All this catalog "translates" are quotation characters. # The msgids must be ASCII and therefore cannot contain real quotation # characters, only substitutes like grave accent (0x60), apostrophe (0x27) # and double quote (0x22). These substitutes look strange; see # http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html # # This catalog translates grave accent (0x60) and apostrophe (0x27) to # left single quotation mark (U+2018) and right single quotation mark (U+2019). # It also translates pairs of apostrophe (0x27) to # left single quotation mark (U+2018) and right single quotation mark (U+2019) # and pairs of quotation mark (0x22) to # left double quotation mark (U+201C) and right double quotation mark (U+201D). # # When output to an UTF-8 terminal, the quotation characters appear perfectly. # When output to an ISO-8859-1 terminal, the single quotation marks are # transliterated to apostrophes (by iconv in glibc 2.2 or newer) or to # grave/acute accent (by libiconv), and the double quotation marks are # transliterated to 0x22. # When output to an ASCII terminal, the single quotation marks are # transliterated to apostrophes, and the double quotation marks are # transliterated to 0x22. # gmtp-1.3.10/po/en_AU.po0000644000175000001440000007141212660314456011441 00000000000000# gmtp Language POT file. # Copyright (C) 2103 Darran Kartaschew # This file is distributed under the same license as the gmtp package. # Darran Kartaschew, 2013, chewy509@mailcity.com. # msgid "" msgstr "" "Project-Id-Version: gmtp v1.3.6\n" "Report-Msgid-Bugs-To: chewy509@mailcity.com\n" "POT-Creation-Date: 2016-02-15 19:23+1000\n" "PO-Revision-Date: 2014-01-17 12:46+1000\n" "Last-Translator: \n" "Language-Team: \n" "Language: en_AU\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Poedit 1.6.3\n" #: src/about.c:46 src/about.c:123 msgid "" "A simple MTP Client for Solaris 10\n" "and other UNIX / UNIX-like systems\n" msgstr "" "A simple MTP Client for Solaris 10\n" "and other UNIX / UNIX-like systems\n" #: src/about.c:77 msgid "translator-credits" msgstr "Darran Kartaschew" #: src/about.c:88 msgid "About gMTP" msgstr "About gMTP" #: src/about.c:90 src/albumart.c:47 src/preferences.c:431 src/properties.c:159 msgid "_Close" msgstr "_Close" #: src/about.c:135 #, fuzzy msgid "" "Copyright 2009-2016, Darran Kartaschew\n" "Released under the BSD License" msgstr "" "Copyright 2009-2014, Darran Kartaschew\n" "Released under the BSD License" #: src/albumart.c:45 src/interface.c:331 src/interface.c:531 msgid "Album Art" msgstr "Album Art" #: src/albumart.c:77 msgid "Album:" msgstr "Album:" #: src/albumart.c:110 msgid "" "No Albums available to set Album Art with. Either:\n" "1. You have no music files uploaded?\n" "2. Your device does not support Albums?\n" "3. Previous applications used to upload files do not autocreate albums for " "you or support the metadata for those files in order to create the albums " "for you?\n" msgstr "" "No Albums available to set Album Art with. Either:\n" "1. You have no music files uploaded?\n" "2. Your device does not support Albums?\n" "3. Previous applications used to upload files do not autocreate albums for " "you or support the metadata for those files in order to create the albums " "for you?\n" #: src/albumart.c:163 msgid "Upload" msgstr "Upload" #: src/albumart.c:167 msgid "Remove" msgstr "Remove" #: src/albumart.c:172 src/interface.c:511 msgid "Download" msgstr "Download" #: src/albumart.c:293 msgid "Select Album Art File" msgstr "Select Album Art File" #: src/albumart.c:295 src/albumart.c:406 src/callbacks.c:362 #: src/interface.c:1380 src/interface.c:1928 src/interface.c:1961 #: src/interface.c:2401 src/interface.c:2456 src/interface.c:2514 #: src/interface.c:3014 src/interface.c:3198 src/playlist.c:882 #: src/playlist.c:1255 src/playlist.c:1337 src/preferences.c:701 #: src/preferences.c:731 src/progress.c:108 msgid "_Cancel" msgstr "_Cancel" #: src/albumart.c:296 src/callbacks.c:363 src/interface.c:1381 #: src/interface.c:1929 src/interface.c:1962 src/playlist.c:1256 #: src/playlist.c:1338 src/preferences.c:702 src/preferences.c:732 msgid "_Open" msgstr "_Open" #: src/albumart.c:404 msgid "Save Album Art File" msgstr "Save Album Art File" #: src/albumart.c:407 msgid "_Save" msgstr "_Save" #: src/albumart.c:426 #, c-format msgid "Couldn't save image file %s\n" msgstr "Couldn't save image file %s\n" #: src/albumart.c:427 msgid "Couldn't save image file\n" msgstr "Couldn't save image file\n" #: src/callbacks.c:87 src/dnd.c:63 src/dnd.c:136 msgid "File Upload" msgstr "File Upload" #: src/callbacks.c:125 src/callbacks.c:178 src/callbacks.c:211 #: src/callbacks.c:251 src/callbacks.c:496 src/callbacks.c:540 #: src/callbacks.c:610 src/callbacks.c:643 src/playlist.c:487 #: src/playlist.c:506 msgid "No files/folders selected?" msgstr "No files/folders selected?" #: src/callbacks.c:144 msgid "Unable to rename parent folder\n" msgstr "Unable to rename parent folder\n" #: src/callbacks.c:145 msgid "Unable to rename this folder" msgstr "Unable to rename this folder" #: src/callbacks.c:169 msgid "" "The move function is disabled when using the alternate access method for " "your device." msgstr "" "The move function is disabled when using the alternate access method for " "your device." #: src/callbacks.c:225 msgid "Are you sure you want to delete these files?" msgstr "Are you sure you want to delete these files?" #: src/callbacks.c:226 src/callbacks.c:515 src/callbacks.c:658 msgid "Confirm Delete" msgstr "Confirm Delete" #: src/callbacks.c:247 src/callbacks.c:257 src/callbacks.c:356 #: src/callbacks.c:372 src/callbacks.c:379 src/interface.c:1972 #: src/interface.c:1980 msgid "File download" msgstr "File download" #: src/callbacks.c:277 msgid "Disconnect" msgstr "Disconnect" #: src/callbacks.c:281 src/callbacks.c:290 src/callbacks.c:817 #: src/callbacks.c:825 src/mtp.c:451 src/mtp.c:459 src/properties.c:261 #: src/properties.c:270 #, c-format msgid "Connected to %s - %d MB free" msgstr "Connected to %s - %d MB free" #: src/callbacks.c:285 src/callbacks.c:821 src/mtp.c:455 src/properties.c:265 #, c-format msgid "Connected to %s (%s) - %d MB free" msgstr "Connected to %s (%s) - %d MB free" #: src/callbacks.c:300 msgid "Disconnect Device" msgstr "Disconnect Device" #: src/callbacks.c:309 src/interface.c:463 msgid "Connect" msgstr "Connect" #: src/callbacks.c:312 src/main.c:109 msgid "No device attached" msgstr "No device attached" #: src/callbacks.c:316 msgid "Connect Device" msgstr "Connect Device" #: src/callbacks.c:360 src/interface.c:1926 src/interface.c:1959 msgid "Select Path to Download" msgstr "Select Path to Download" #: src/callbacks.c:514 src/callbacks.c:657 msgid "Are you sure you want to delete this folder (and all contents)?" msgstr "Are you sure you want to delete this folder (and all contents)?" #: src/callbacks.c:561 src/callbacks.c:562 src/interface.c:2088 #: src/interface.c:2089 msgid "Unable to move the selected folder into itself?\n" msgstr "Unable to move the selected folder into itself?\n" #: src/callbacks.c:580 src/interface.c:2106 msgid "Unable to move the selected folder?\n" msgstr "Unable to move the selected folder?\n" #: src/callbacks.c:586 src/callbacks.c:587 src/interface.c:2112 #: src/interface.c:2113 msgid "Unable to move the selected folder underneath itself?\n" msgstr "Unable to move the selected folder underneath itself?\n" #: src/callbacks.c:685 src/mtp.c:258 src/mtp.c:276 src/mtp.c:285 src/mtp.c:294 #: src/mtp.c:303 msgid "N/A" msgstr "N/A" #: src/callbacks.c:758 msgid "Please enter search item." msgstr "Please enter search item." #: src/callbacks.c:759 msgid "Search" msgstr "Search" #: src/callbacks.c:857 msgid "Searching..." msgstr "Searching..." #: src/formatdevice.c:56 msgid "Formatting..." msgstr "" #: src/formatdevice.c:87 msgid "Are you sure you want to format this device?" msgstr "Are you sure you want to format this device?" #: src/formatdevice.c:88 src/interface.c:323 msgid "Format Device" msgstr "Format Device" #: src/interface.c:225 msgid "_File" msgstr "_File" #: src/interface.c:232 msgid "_Connect Device" msgstr "_Connect Device" #: src/interface.c:240 src/interface.c:2759 msgid "Add Files" msgstr "Add Files" #: src/interface.c:244 src/interface.c:2763 msgid "Delete Files" msgstr "Delete Files" #: src/interface.c:248 msgid "Rename Files" msgstr "Rename Files" #: src/interface.c:252 src/interface.c:2775 src/interface.c:2962 #: src/interface.c:3195 msgid "Move To..." msgstr "Move To..." #: src/interface.c:256 src/interface.c:2767 msgid "Download Files" msgstr "Download Files" #: src/interface.c:264 src/interface.c:2795 src/interface.c:2950 msgid "Create Folder" msgstr "Create Folder" #: src/interface.c:268 src/interface.c:2799 src/interface.c:2958 msgid "Delete Folder" msgstr "Delete Folder" #: src/interface.c:276 msgid "Refresh Folder" msgstr "Refresh Folder" #: src/interface.c:282 msgid "Device Properties" msgstr "Device Properties" #: src/interface.c:292 msgid "_Quit" msgstr "_Quit" #: src/interface.c:296 msgid "_Edit" msgstr "_Edit" #: src/interface.c:303 msgid "Select All" msgstr "Select All" #: src/interface.c:311 msgid "Find" msgstr "Find" #: src/interface.c:319 src/interface.c:2453 msgid "Change Device Name" msgstr "Change Device Name" #: src/interface.c:335 msgid "Edit Playlist(s)" msgstr "Edit Playlist(s)" #: src/interface.c:343 msgid "_Preferences" msgstr "_Preferences" #: src/interface.c:347 msgid "_View" msgstr "_View" #: src/interface.c:355 msgid "Toolbar" msgstr "Toolbar" #: src/interface.c:363 msgid "Folders" msgstr "Folders" #: src/interface.c:371 src/interface.c:2862 msgid "File Size" msgstr "File Size" #: src/interface.c:375 src/interface.c:1138 src/interface.c:1147 #: src/interface.c:2866 msgid "File Type" msgstr "File Type" #: src/interface.c:379 src/interface.c:2870 msgid "Track Number" msgstr "Track Number" #: src/interface.c:383 src/interface.c:1183 src/interface.c:1192 #: src/interface.c:2874 msgid "Track Name" msgstr "Track Name" #: src/interface.c:387 src/interface.c:1202 src/interface.c:1211 #: src/interface.c:2878 src/playlist.c:654 src/playlist.c:718 msgid "Artist" msgstr "Artist" #: src/interface.c:391 src/interface.c:1221 src/interface.c:1230 #: src/interface.c:2882 src/playlist.c:664 src/playlist.c:728 msgid "Album" msgstr "Album" #: src/interface.c:395 src/interface.c:1240 src/interface.c:1249 #: src/interface.c:2886 msgid "Year" msgstr "Year" #: src/interface.c:399 src/interface.c:1259 src/interface.c:1268 #: src/interface.c:2890 msgid "Genre" msgstr "Genre" #: src/interface.c:403 src/interface.c:1278 src/interface.c:1287 #: src/interface.c:2894 src/playlist.c:692 src/playlist.c:756 msgid "Duration" msgstr "Duration" #: src/interface.c:407 msgid "_Help" msgstr "_Help" #: src/interface.c:414 msgid "_About" msgstr "_About" #: src/interface.c:467 src/interface.c:469 msgid "Connect/Disconnect to your device." msgstr "Connect/Disconnect to your device." #: src/interface.c:483 src/interface.c:3066 src/playlist.c:176 msgid "Add" msgstr "Add" #: src/interface.c:487 src/interface.c:489 msgid "Add Files to your device." msgstr "Add Files to your device." #: src/interface.c:487 msgid "Add a varity of Files to your device in the current folder." msgstr "Add a varity of Files to your device in the current folder." #: src/interface.c:497 msgid "Delete" msgstr "Delete" #: src/interface.c:501 src/interface.c:503 msgid "Delete Files/Folders from your device." msgstr "Delete Files/Folders from your device." #: src/interface.c:501 msgid "" "Permanently remove files/folders from your device. Note: Albums are stored " "as *.alb files." msgstr "" "Permanently remove files/folders from your device. Note: Albums are stored " "as *.alb files." #: src/interface.c:515 src/interface.c:517 msgid "Download Files from your device to your Host PC." msgstr "Download Files from your device to your Host PC." #: src/interface.c:515 msgid "" "Download files from your device to your PC. Default Download path is set in " "the preferences dialog." msgstr "" "Download files from your device to your PC. Default Download path is set in " "the preferences dialog." #: src/interface.c:535 src/interface.c:537 msgid "Upload an image file as Album Art." msgstr "Upload an image file as Album Art." #: src/interface.c:535 msgid "Upload a JPG file and assign it as Album Art." msgstr "Upload a JPG file and assign it as Album Art." #: src/interface.c:545 src/interface.c:3011 msgid "Playlists" msgstr "Playlists" #: src/interface.c:549 src/interface.c:551 msgid "Add and Modify Playlists." msgstr "Add and Modify Playlists." #: src/interface.c:559 msgid "Refresh" msgstr "Refresh" #: src/interface.c:563 src/interface.c:565 msgid "Refresh File/Folder listing." msgstr "Refresh File/Folder listing." #: src/interface.c:579 msgid "Properties" msgstr "Properties" #: src/interface.c:583 src/interface.c:585 msgid "View Device Properties." msgstr "View Device Properties." #: src/interface.c:593 msgid "Preferences" msgstr "Preferences" #: src/interface.c:597 src/interface.c:599 msgid "View/Change gMTP Preferences." msgstr "View/Change gMTP Preferences." #: src/interface.c:644 msgid "Find:" msgstr "Find:" #: src/interface.c:666 msgid "Filenames" msgstr "Filenames" #: src/interface.c:671 msgid "Track Information" msgstr "Track Information" #: src/interface.c:1053 src/interface.c:1068 msgid "Filename" msgstr "Filename" #: src/interface.c:1094 src/interface.c:1103 msgid "Size" msgstr "Size" #: src/interface.c:1157 src/interface.c:1166 src/playlist.c:682 #: src/playlist.c:746 msgid "Track" msgstr "Track" #: src/interface.c:1305 src/interface.c:1314 msgid "Location" msgstr "Location" #: src/interface.c:1331 msgid "Folder" msgstr "Folder" #: src/interface.c:1378 msgid "Select Files to Add" msgstr "Select Files to Add" #: src/interface.c:1857 #, c-format msgid "Found %d items" msgstr "Found %d items" #: src/interface.c:1859 #, c-format msgid "Found %d item" msgstr "Found %d item" #: src/interface.c:2053 src/interface.c:2054 msgid "I don't know how to download a parent folder reference?\n" msgstr "I don't know how to download a parent folder reference?\n" #: src/interface.c:2080 msgid "Unable to move the selected file?\n" msgstr "Unable to move the selected file?\n" #: src/interface.c:2203 src/interface.c:2204 msgid "I don't know how to delete a parent folder reference?\n" msgstr "I don't know how to delete a parent folder reference?\n" #: src/interface.c:2371 msgid "Error" msgstr "Error" #: src/interface.c:2387 msgid "Information" msgstr "Information" #: src/interface.c:2398 msgid "New Folder" msgstr "New Folder" #: src/interface.c:2400 src/interface.c:2455 src/interface.c:2513 #: src/interface.c:2573 src/interface.c:2653 src/interface.c:3013 #: src/interface.c:3197 src/playlist.c:881 msgid "_OK" msgstr "_OK" #: src/interface.c:2420 msgid "Folder Name:" msgstr "Folder Name:" #: src/interface.c:2475 msgid "Device Name:" msgstr "Device Name:" #: src/interface.c:2511 msgid "Rename File/Folder" msgstr "Rename File/Folder" #: src/interface.c:2533 msgid "File Name:" msgstr "File Name:" #: src/interface.c:2571 msgid "Connect to which device?" msgstr "Connect to which device?" #: src/interface.c:2592 msgid "Device:" msgstr "Device:" #: src/interface.c:2618 #, c-format msgid "Unknown : %04x:%04x @ bus %d, dev %d" msgstr "Unknown : %04x:%04x @ bus %d, dev %d" #: src/interface.c:2651 msgid "Connect to which storage device?" msgstr "Connect to which storage device?" #: src/interface.c:2673 msgid "Storage Device:" msgstr "Storage Device:" #: src/interface.c:2694 #, c-format msgid "Unknown id: %d, %s" msgstr "Unknown id: %d, %s" #: src/interface.c:2724 #, c-format msgid "" "File %s already exists in target folder.\n" "Do you want to:" msgstr "" "File %s already exists in target folder.\n" "Do you want to:" #: src/interface.c:2726 msgid "Skip" msgstr "Skip" #: src/interface.c:2727 msgid "Skip All" msgstr "Skip All" #: src/interface.c:2728 msgid "Overwrite" msgstr "Overwrite" #: src/interface.c:2729 msgid "Overwrite All" msgstr "Overwrite All" #: src/interface.c:2731 msgid "Question: Confirm Overwrite of Existing File?" msgstr "Question: Confirm Overwrite of Existing File?" #: src/interface.c:2771 msgid "Rename File" msgstr "Rename File" #: src/interface.c:2783 msgid "Add To Playlist" msgstr "Add To Playlist" #: src/interface.c:2787 msgid "Remove From Playlist" msgstr "Remove From Playlist" #: src/interface.c:2807 src/interface.c:2970 msgid "Refresh Device" msgstr "Refresh Device" #: src/interface.c:2954 msgid "Rename Folder" msgstr "Rename Folder" #: src/interface.c:3035 src/playlist.c:902 msgid "Playlist Name:" msgstr "Playlist Name:" #: src/interface.c:3075 src/interface.c:3077 src/playlist.c:153 #: src/playlist.c:155 msgid "Add New Playlist" msgstr "Add New Playlist" #: src/mtp.c:104 src/mtp.c:105 msgid "Detect: No raw devices found.\n" msgstr "Detect: No raw devices found.\n" #: src/mtp.c:108 src/mtp.c:109 src/mtp.c:117 src/mtp.c:118 msgid "Detect: There has been an error connecting. \n" msgstr "Detect: There has been an error connecting. \n" #: src/mtp.c:112 src/mtp.c:113 msgid "Detect: Encountered a Memory Allocation Error. \n" msgstr "Detect: Encountered a Memory Allocation Error. \n" #: src/mtp.c:142 src/mtp.c:143 msgid "Detect: Unable to open raw device?\n" msgstr "Detect: Unable to open raw device?\n" #: src/mtp.c:156 src/mtp.c:157 msgid "Detect: No available Storage found on device?\n" msgstr "Detect: No available Storage found on device?\n" #: src/mtp.c:238 src/mtp.c:244 msgid "Unknown" msgstr "Unknown" #: src/mtp.c:330 msgid "DevicePropeties: How did I get called?\n" msgstr "DevicePropeties: How did I get called?\n" #: src/mtp.c:438 msgid "Failed to get storage parameters from the device - need to disconnect." msgstr "Failed to get storage parameters from the device - need to disconnect." #: src/mtp.c:466 msgid "Rescan: How did I get called?\n" msgstr "Rescan: How did I get called?\n" #: src/mtp.c:574 #, c-format msgid "" "Unable to add %s due to insufficient space: filesize = %llu, freespace = " "%llu\n" msgstr "" "Unable to add %s due to insufficient space: filesize = %llu, freespace = " "%llu\n" #: src/mtp.c:578 msgid "Unable to add file due to insufficient space" msgstr "Unable to add file due to insufficient space" #: src/mtp.c:644 src/mtp.c:654 msgid "" msgstr "" #: src/mtp.c:675 msgid "Error sending track.\n" msgstr "Error sending track.\n" #: src/mtp.c:676 #, fuzzy, c-format msgid "Error code %d sending track to device: %s" msgstr "Error code %d sending track to device: %s" #: src/mtp.c:680 src/mtp.c:681 src/mtp.c:737 src/mtp.c:738 src/mtp.c:845 #: src/mtp.c:846 msgid "Transfer canceled." msgstr "" #: src/mtp.c:732 #, c-format msgid "Error sending file %s.\n" msgstr "Error sending file %s.\n" #: src/mtp.c:733 #, fuzzy msgid "Error sending file: " msgstr "Error sending file:" #: src/mtp.c:811 #, c-format msgid "" "\n" "Failed to delete file %s\n" msgstr "" "\n" "Failed to delete file %s\n" #: src/mtp.c:812 #, fuzzy msgid "Failed to delete file: " msgstr "Failed to delete file" #: src/mtp.c:840 msgid "" "\n" "Error getting file from MTP device.\n" msgstr "" "\n" "Error getting file from MTP device.\n" #: src/mtp.c:841 msgid "Error getting file from MTP device." msgstr "Error getting file from MTP device." #: src/mtp.c:964 src/mtp.c:1045 #, c-format msgid "Folder creation failed: %s\n" msgstr "Folder creation failed: %s\n" #: src/mtp.c:965 msgid "Folder creation failed:" msgstr "Folder creation failed:" #: src/mtp.c:1010 #, c-format msgid "Couldn't delete folder %s (%x)\n" msgstr "Couldn't delete folder %s (%x)\n" #: src/mtp.c:1046 #, fuzzy msgid "Folder creation failed: " msgstr "Folder creation failed:" #: src/mtp.c:1259 #, c-format msgid "Error: Couldn't set device name to %s\n" msgstr "Error: Couldn't set device name to %s\n" #: src/mtp.c:1265 msgid "setDeviceName: How did I get called?\n" msgstr "setDeviceName: How did I get called?\n" #: src/mtp.c:1462 msgid "ERROR: Failed memory allocation in albumAddTrackToAlbum()\n" msgstr "ERROR: Failed memory allocation in albumAddTrackToAlbum()\n" #: src/mtp.c:1491 src/mtp.c:1492 msgid "" "Error creating or updating album.\n" "(This could be due to that your device does not support albums.)\n" msgstr "" "Error creating or updating album.\n" "(This could be due to that your device does not support albums.)\n" #: src/mtp.c:1520 msgid "ERROR: Failed memory allocation in albumAddArt()\n" msgstr "ERROR: Failed memory allocation in albumAddArt()\n" #: src/mtp.c:1525 src/mtp.c:1532 #, c-format msgid "Couldn't open image file %s\n" msgstr "Couldn't open image file %s\n" #: src/mtp.c:1545 src/mtp.c:1546 msgid "Couldn't send album art\n" msgstr "Couldn't send album art\n" #: src/mtp.c:1590 src/mtp.c:1591 msgid "Couldn't remove album art\n" msgstr "Couldn't remove album art\n" #: src/mtp.c:1642 src/mtp.c:1744 msgid "Couldn't create playlist object\n" msgstr "Couldn't create playlist object\n" #: src/mtp.c:1654 msgid "Deleting playlist failed?\n" msgstr "Deleting playlist failed?\n" #: src/mtp.c:1665 msgid "Updating playlist failed?\n" msgstr "Updating playlist failed?\n" #: src/mtp.c:1690 #, c-format msgid "Couldn't open playlist file %s\n" msgstr "Couldn't open playlist file %s\n" #: src/mtp.c:1691 msgid "Couldn't open playlist file\n" msgstr "Couldn't open playlist file\n" #: src/mtp.c:1713 msgid "realloc in playlistImport failed\n" msgstr "realloc in playlistImport failed\n" #: src/mtp.c:1714 msgid "Updating playlist failed? 'realloc in playlistImport'\n" msgstr "Updating playlist failed? 'realloc in playlistImport'\n" #: src/mtp.c:1750 msgid "Playlist imported.\n" msgstr "Playlist imported.\n" #: src/mtp.c:1754 src/mtp.c:1755 msgid "" "Found no tracks within the playlist that exist on this device. Did not " "import the playlist.\n" msgstr "" "Found no tracks within the playlist that exist on this device. Did not " "import the playlist.\n" #: src/mtp.c:1780 #, c-format msgid "Couldn't save playlist file %s\n" msgstr "Couldn't save playlist file %s\n" #: src/mtp.c:1781 msgid "Couldn't save playlist file\n" msgstr "Couldn't save playlist file\n" #: src/mtp.c:1806 msgid "Format Device failed?\n" msgstr "Format Device failed?\n" #: src/mtp.c:1824 src/mtp.c:1878 src/playlist.c:1158 src/playlist.c:1170 msgid "realloc in savePlayList failed\n" msgstr "realloc in savePlayList failed\n" #: src/mtp.c:1825 src/mtp.c:1879 src/playlist.c:1159 src/playlist.c:1171 msgid "Updating playlist failed? 'realloc in savePlayList'\n" msgstr "Updating playlist failed? 'realloc in savePlayList'\n" #: src/mtp.c:2096 src/mtp.c:2152 src/mtp.c:2238 msgid "malloc in filesSearch failed\n" msgstr "malloc in filesSearch failed\n" #: src/mtp.c:2097 src/mtp.c:2153 src/mtp.c:2239 msgid "Failed searching? 'malloc in filesSearch'\n" msgstr "Failed searching? 'malloc in filesSearch'\n" #: src/mtp.c:2303 msgid "malloc in foldersearch failed\n" msgstr "malloc in foldersearch failed\n" #: src/mtp.c:2304 msgid "Failed searching? 'malloc in foldersearch'\n" msgstr "Failed searching? 'malloc in foldersearch'\n" #: src/playlist.c:98 msgid " Playlists" msgstr " Playlists" #: src/playlist.c:124 msgid "Current Playlist: " msgstr "Current Playlist: " #: src/playlist.c:185 src/playlist.c:187 msgid "Remove Current Selected Playlist" msgstr "Remove Current Selected Playlist" #: src/playlist.c:209 msgid "Del" msgstr "Del" #: src/playlist.c:217 msgid "Open" msgstr "Open" #: src/playlist.c:223 src/playlist.c:225 msgid "Import Playlist" msgstr "Import Playlist" #: src/playlist.c:232 msgid "Save" msgstr "Save" #: src/playlist.c:238 src/playlist.c:240 msgid "Export Playlist" msgstr "Export Playlist" #: src/playlist.c:262 src/playlist.c:264 msgid "Device Audio Tracks" msgstr "Device Audio Tracks" #: src/playlist.c:287 src/playlist.c:289 msgid "Add file to playlist" msgstr "Add file to playlist" #: src/playlist.c:310 msgid "Add File" msgstr "Add File" #: src/playlist.c:318 src/playlist.c:320 msgid "Remove file from playlist" msgstr "Remove file from playlist" #: src/playlist.c:341 msgid "Del File" msgstr "Del File" #: src/playlist.c:355 src/playlist.c:357 msgid "Playlist Audio Tracks" msgstr "Playlist Audio Tracks" #: src/playlist.c:387 src/playlist.c:389 msgid "Move selected file up in the playlist" msgstr "Move selected file up in the playlist" #: src/playlist.c:404 src/playlist.c:406 msgid "Move selected file down in the playlist" msgstr "Move selected file down in the playlist" #: src/playlist.c:419 msgid "Close" msgstr "Close" #: src/playlist.c:708 msgid "Num" msgstr "Num" #: src/playlist.c:879 msgid "New Playlist" msgstr "New Playlist" #: src/playlist.c:1253 msgid "Select Playlist to Import" msgstr "Select Playlist to Import" #: src/playlist.c:1303 src/playlist.c:1304 msgid "The playlist failed to import correctly.\n" msgstr "The playlist failed to import correctly.\n" #: src/playlist.c:1335 msgid "Save as..." msgstr "Save as..." #: src/preferences.c:72 msgid " Preferences" msgstr " Preferences" #: src/preferences.c:97 msgid "Application" msgstr "Application" #: src/preferences.c:124 msgid "Toolbar Style:" msgstr "Toolbar Style:" #: src/preferences.c:132 src/preferences.c:139 src/preferences.c:771 #: src/preferences.c:805 msgid "both" msgstr "both" #: src/preferences.c:133 src/preferences.c:140 src/preferences.c:773 #: src/preferences.c:807 msgid "icon" msgstr "icon" #: src/preferences.c:134 src/preferences.c:141 src/preferences.c:775 #: src/preferences.c:809 msgid "text" msgstr "text" #: src/preferences.c:184 msgid "Device" msgstr "Device" #: src/preferences.c:189 msgid "Attempt to connect to Device on startup" msgstr "Attempt to connect to Device on startup" #: src/preferences.c:193 msgid "Utilize alternate access method" msgstr "Utilise alternate access method" #: src/preferences.c:202 msgid "File Operations" msgstr "File Operations" #: src/preferences.c:229 msgid "Confirm File/Folder Delete" msgstr "Confirm File/Folder Delete" #: src/preferences.c:233 msgid "Prompt if to Overwrite file if already exists" msgstr "Prompt if to Overwrite file if already exists" #: src/preferences.c:237 msgid "Suppress Album Errors" msgstr "Suppress Album Errors" #: src/preferences.c:241 msgid "Treat all media as regular files" msgstr "Treat all media as regular files" #: src/preferences.c:245 msgid "Preserve file timestamps (during download)" msgstr "" #: src/preferences.c:256 msgid "Playlist" msgstr "Playlist" #: src/preferences.c:282 msgid "Prompt to add New Music track to existing playlist" msgstr "Prompt to add New Music track to existing playlist" #: src/preferences.c:286 msgid "Ignore path information when importing playlist" msgstr "Ignore path information when importing playlist" #: src/preferences.c:297 msgid "Filepaths on PC" msgstr "Filepaths on PC" #: src/preferences.c:324 msgid "Always show Download Path?" msgstr "Always show Download Path?" #: src/preferences.c:344 msgid "Download Path:" msgstr "Download Path:" #: src/preferences.c:360 msgid "Upload Path:" msgstr "Upload Path:" #: src/preferences.c:699 msgid "Select Path to Download to" msgstr "Select Path to Download to" #: src/preferences.c:729 msgid "Select Path to Upload From" msgstr "Select Path to Upload From" #: src/prefs.c:102 msgid "" "WARNING: gconf schema invalid, reverting to defaults. Please ensure schema " "is loaded in gconf database.\n" msgstr "" "WARNING: gconf schema invalid, reverting to defaults. Please ensure schema " "is loaded in gconf database.\n" #: src/prefs.c:241 msgid "" "WARNING: gconf schema invalid, unable to save! Please ensure schema is " "loaded in gconf database.\n" msgstr "" "WARNING: gconf schema invalid, unable to save! Please ensure schema is " "loaded in gconf database.\n" #: src/prefs.c:445 src/prefs.c:685 msgid "Disconnected device due to access method change" msgstr "Disconnected device due to access method change" #: src/prefs.c:504 msgid "" "WARNING: gconf_callback_func() failed - we got a callback for a key thats " "not ours?\n" msgstr "" "WARNING: gconf_callback_func() failed - we got a callback for a key thats " "not ours?\n" #: src/prefs.c:734 msgid "" "WARNING: gsettings_callback_func() failed - we got a callback for a key " "thats not ours?\n" msgstr "" "WARNING: gsettings_callback_func() failed - we got a callback for a key " "thats not ours?\n" #: src/progress.c:79 msgid "file = ( x / x ) x %" msgstr "file = ( x / x ) x %" #: src/progress.c:194 #, c-format msgid "" "%s\n" "%s of %s (%d%%)" msgstr "" "%s\n" "%s of %s (%d%%)" #: src/progress.c:197 #, c-format msgid "%s of %s (%d%%)" msgstr "%s of %s (%d%%)" #: src/properties.c:69 msgid " Properties" msgstr " Properties" #: src/properties.c:91 msgid "MTP Device Properties" msgstr "MTP Device Properties" #: src/properties.c:96 msgid "Raw Device Information" msgstr "Raw Device Information" #: src/properties.c:138 msgid "Name:" msgstr "Name:" #: src/properties.c:139 msgid "Model Number:" msgstr "Model Number:" #: src/properties.c:140 msgid "Serial Number:" msgstr "Serial Number:" #: src/properties.c:141 msgid "Device Version:" msgstr "Device Version:" #: src/properties.c:142 msgid "Manufacturer:" msgstr "Manufacturer:" #: src/properties.c:143 msgid "Battery Level:" msgstr "Battery Level:" #: src/properties.c:144 msgid "Storage:" msgstr "Storage:" #: src/properties.c:145 msgid "Supported Formats:" msgstr "Supported Formats:" #: src/properties.c:147 msgid "Vendor:" msgstr "Vendor:" #: src/properties.c:148 msgid "Product:" msgstr "Product:" #: src/properties.c:149 msgid "Vendor ID:" msgstr "Vendor ID:" #: src/properties.c:150 msgid "Product ID:" msgstr "Product ID:" #: src/properties.c:151 msgid "Device Number:" msgstr "Device Number:" #: src/properties.c:152 msgid "Bus Location:" msgstr "Bus Location:" #: src/properties.c:191 #, c-format msgid "%d MB (free) / %d MB (total)" msgstr "%d MB (free) / %d MB (total)" #~ msgid "Secure Time:" #~ msgstr "Secure Time:" #~ msgid "Sync Partner:" #~ msgstr "Sync Partner:" #~ msgid "Quit" #~ msgstr "Quit" #~ msgid "Quit gMTP." #~ msgstr "Quit gMTP." gmtp-1.3.10/po/pt_BR.gmo0000644000175000001440000005105612660314456011626 00000000000000Q0%1W r }   4 KYp ,BRl~F  !;1m ,?,;h'o "+!Np (C]z  & 9G0b.-#3 GTf'n /0,c;1:&c,#& * +D Fp ? ! ! ! "!0! 9!C!H!N! U!b!z!! !! !!\!="6C"8z"/"" "" #'#%;#a# e# p#}#$$$$ $ $Z$F%\%k% %% %-%2% &-&I&Q&`&}&& &&& && ' ''<'A' U'`' g't' ''''''((($(4(UJ()((((( ( ) )N2),)")0)6*$9*^*~**$***6*4-+b+ i+-v+"++++h,a,T,X=----------- -----...9.!X.z.%....+0000 01111A1P1b1#|11111 2&12X2k2 2222/23(3>3!Z3|3K3 3 334%4$=4!b4E4,4*4"5)585#@5.d5L5556)6H6d6k6$6666-6(7!=7_79|7+7.7:8=L8,8.818;9>T9+9 9999: :*: E:(S:7|:D:/:$);7N;;;; ;'; <<F)<p<w<.<<v< A=0K=9|===f=*B>m>>=>>,>-*?QX?;??? @@+@:@J@ [@ e@p@v@@@@@!@@AtAA3A2AABBB aB oB }B=B<BC CCR0CD!DDD DDnD)^EE!EE(E F5FRMF F2F FF%G&G6G6>G uG(GGGGGH&H -HNH ]HgH$vHH!H H,H,I.HIwII IIIdI4-JbJwJJJ JJ,JsJFsK0K=K9)L.cL(L&L L)LM*1MD\MDMMM5M/5N&eN"N&NNdO^ObQPPP PPPPPPPQ QQQ'Q/Q5QMQTQ tQ#Q!Q$QR'Rm0GC'jN >{UPHeE?iIt5O.AW a8,:! `|c#JS)K6YB9^"o7<;2MX]bvwTx= / %[n k-FZD+u$q_13L*Vsh@lrQ&gz(}R~4dyp\f Error getting file from MTP device. Failed to delete file %s Playlists Preferences Properties%d MB (free) / %d MB (total)%s %s of %s (%d%%)%s of %s (%d%%)ApplicationBattery Level:Bus Location:Device Number:Device Version:DeviceFile OperationsFilepaths on PCMTP Device PropertiesManufacturer:Model Number:Name:PlaylistProduct ID:Product:Raw Device InformationSerial Number:Storage:Supported Formats:Vendor ID:Vendor:A simple MTP Client for Solaris 10 and other UNIX / UNIX-like systems About gMTPAddAdd FileAdd FilesAdd Files to your device.Add New PlaylistAdd To PlaylistAdd a varity of Files to your device in the current folder.Add and Modify Playlists.Add file to playlistAlbumAlbum ArtAlbum:Always show Download Path?Are you sure you want to delete these files?Are you sure you want to delete this folder (and all contents)?Are you sure you want to format this device?ArtistAttempt to connect to Device on startupChange Device NameCloseConfirm DeleteConfirm File/Folder DeleteConnectConnect DeviceConnect to which device?Connect to which storage device?Connect/Disconnect to your device.Connected to %s (%s) - %d MB freeConnected to %s - %d MB freeCouldn't create playlist object Couldn't delete folder %s (%x) Couldn't open image file %s Couldn't open playlist file Couldn't open playlist file %s Couldn't remove album art Couldn't save image file Couldn't save image file %s Couldn't save playlist file Couldn't save playlist file %s Couldn't send album art Create FolderCurrent Playlist: DelDel FileDeleteDelete FilesDelete Files/Folders from your device.Delete FolderDeleting playlist failed? Detect: Encountered a Memory Allocation Error. Detect: No available Storage found on device? Detect: No raw devices found. Detect: There has been an error connecting. Detect: Unable to open raw device? Device Audio TracksDevice Name:Device PropertiesDevice:DevicePropeties: How did I get called? DisconnectDisconnect DeviceDisconnected device due to access method changeDownloadDownload FilesDownload Files from your device to your Host PC.Download Path:Download files from your device to your PC. Default Download path is set in the preferences dialog.DurationERROR: Failed memory allocation in albumAddArt() ERROR: Failed memory allocation in albumAddTrackToAlbum() Edit Playlist(s)ErrorError creating or updating album. (This could be due to that your device does not support albums.) Error getting file from MTP device.Error sending file %s. Error sending track. Error: Couldn't set device name to %s Export PlaylistFailed searching? 'malloc in filesSearch' Failed searching? 'malloc in foldersearch' Failed to get storage parameters from the device - need to disconnect.File %s already exists in target folder. Do you want to:File Name:File SizeFile TypeFile UploadFile downloadFilenameFilenamesFindFind:FolderFolder Name:Folder creation failed:Folder creation failed: %s FoldersFormat DeviceFormat Device failed? Found %d itemFound %d itemsFound no tracks within the playlist that exist on this device. Did not import the playlist. GenreI don't know how to delete a parent folder reference? I don't know how to download a parent folder reference? Ignore path information when importing playlistImport PlaylistInformationLocationMove To...Move selected file down in the playlistMove selected file up in the playlistN/ANew FolderNew PlaylistNo Albums available to set Album Art with. Either: 1. You have no music files uploaded? 2. Your device does not support Albums? 3. Previous applications used to upload files do not autocreate albums for you or support the metadata for those files in order to create the albums for you? No device attachedNo files/folders selected?NumOpenOverwriteOverwrite AllPermanently remove files/folders from your device. Note: Albums are stored as *.alb files.Playlist Audio TracksPlaylist Name:Playlist imported. PlaylistsPlease enter search item.PreferencesPrompt if to Overwrite file if already existsPrompt to add New Music track to existing playlistPropertiesQuestion: Confirm Overwrite of Existing File?RefreshRefresh DeviceRefresh File/Folder listing.Refresh FolderRemoveRemove Current Selected PlaylistRemove From PlaylistRemove file from playlistRename FileRename File/FolderRename FilesRename FolderRescan: How did I get called? SaveSave Album Art FileSave as...SearchSearching...Select Album Art FileSelect AllSelect Files to AddSelect Path to DownloadSelect Path to Download toSelect Path to Upload FromSelect Playlist to ImportSizeSkipSkip AllStorage Device:Suppress Album ErrorsThe move function is disabled when using the alternate access method for your device.The playlist failed to import correctly. ToolbarToolbar Style:TrackTrack InformationTrack NameTrack NumberTreat all media as regular filesUnable to add %s due to insufficient space: filesize = %llu, freespace = %llu Unable to add file due to insufficient spaceUnable to move the selected file? Unable to move the selected folder into itself? Unable to move the selected folder underneath itself? Unable to move the selected folder? Unable to rename parent folder Unable to rename this folderUnknownUnknown : %04x:%04x @ bus %d, dev %dUnknown id: %d, %sUpdating playlist failed? Updating playlist failed? 'realloc in playlistImport' Updating playlist failed? 'realloc in savePlayList' UploadUpload Path:Upload a JPG file and assign it as Album Art.Upload an image file as Album Art.Utilize alternate access methodView Device Properties.View/Change gMTP Preferences.WARNING: gconf schema invalid, reverting to defaults. Please ensure schema is loaded in gconf database. WARNING: gconf schema invalid, unable to save! Please ensure schema is loaded in gconf database. WARNING: gconf_callback_func() failed - we got a callback for a key thats not ours? WARNING: gsettings_callback_func() failed - we got a callback for a key thats not ours? Year_About_Cancel_Close_Connect Device_Edit_File_Help_OK_Open_Preferences_Quit_Save_Viewbothfile = ( x / x ) x %iconmalloc in filesSearch failed malloc in foldersearch failed realloc in playlistImport failed realloc in savePlayList failed setDeviceName: How did I get called? texttranslator-creditsProject-Id-Version: gmtp v1.3.8 Report-Msgid-Bugs-To: chewy509@mailcity.com POT-Creation-Date: 2016-02-15 19:23+1000 PO-Revision-Date: 2015-01-10 16:41-0300 Last-Translator: Rafael Ferreira Language-Team: Brazilian Portuguese Language: pt_BR MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Generator: Poedit 1.7.1 Plural-Forms: nplurals=2; plural=(n > 1); Erro ao obter arquivo do dispositivo MTP. Falha ao excluir arquivo %s Listas de reprodução Preferências Propriedades%d MB (livre) / %d MB (total)%s %s de %s (%d%%)%s de %s (%d%%)AplicativoNível da bateria:Localização do barramento:Número do dispositivo:Versão do dispositivo:DispositivoOperações de arquivosCaminhos de arquivo no PCPropriedades de dispositivo MTPFabricante:Número de modelo:Nome:Lista de reproduçãoID do produto (Product):Produto:Informação de dispositivo não-tratadoNúmero de sérieArmazenamento:Formatos suportados:ID do fornecedor (Vendor):Fornecedor:Um simples cliente MTP para Solaris 10 e outros sistemas UNIX ou similares Sobre o gMTPAdicionarAdicionar arquivoAdicionar arquivosAdiciona arquivos ao seu dispositivo.Adicionar nova lista de reproduçãoAdicionar a lista de reproduçãoAdicione uma variedade de arquivos ao seu dispositivo na pasta atual.Adiciona ou modifica listas de reprodução.Adicionar arquivo à lista de reproduçãoÁlbumArte do álbumÁlbum:Sempre mostrar caminho do download?Tem certeza que deseja excluir esses arquivos?Você tem certeza de que deseja excluir esta pasta (e todo o seu conteúdo)?Você tem certeza que quer formatar este dispositivo?ArtistaTentar conectar ao dispositivo ao iniciarAlterar nome do dispositivoFecharConfirmação exclusãoConfirmar exclusão de arquivo/pastaConectarConectar ao dispositivoConectar a qual dispositivo?Conectar a qual dispositivo de armazenamento?Conecta/Desconecta a/de seu dispositivo.Conectado a %s (%s) - %d MB livreConectado a %s - %d MB livreNão foi possível criar objeto de lista de reprodução Não foi possível excluir a pasta %s (%x) Não foi possível abrir arquivo de imagem %s Não foi possível abrir arquivo de lista de reprodução Não foi possível abrir arquivo de lista de reprodução %s Não foi possível remover a arte do álbum Não foi possível salvar o arquivo de imagem Não foi possível salvar o arquivo de imagem %s Não foi possível salvar arquivo de lista de reprodução Não foi possível salvar arquivo de lista de reprodução %s Não foi possível enviar a arte de álbum Criar pastaLista de reprodução atual: ExcluirExcluir arquivoExcluirExcluir arquivosExclui arquivos/pastas do seu dispositivo.Excluir pastaFalha ao excluir lista de reprodução? Detect: Encontrado um erro de alocação de memória. Detect: Nenhum armazenamento disponível encontrado no dispositivo? Detecção: nenhum dispositivo raw encontrado. Detect: Houve um erro de conexão. Detect: Não foi possível abrir dispositivo de bloco? Excluir faixas de áudioNome de dispositivo:Propriedades do dispositivoDispositivo:DeviceProperties: Como eu fui chamado? DesconectarDesconectar dispositivoDispositivo desconectado por causa de alteração no método de acessoBaixarBaixa arquivosBaixe arquivos do seu dispositivo para seu PC.Caminho de download:Baixe arquivos do seu dispositivo para seu PC. O caminho de download padrão é definido no diálogo de preferências.DuraçãoERRO: Falha ao alocar memória em albumAddArt() ERRO: Falha ao alocar memória em albumAddTrackToAlbum() Editar lista(s) de reproduçãoErroErro ao criar ou atualizar álbum. (Isso pode ter sido causado por seu dispositivo suportar álbuns.) Falha ao obter arquivo do dispositivo MTP.Erro ao enviar arquivo %s. Erro ao enviar faixa. Erro: Não foi possível definir nome do dispositivo para %s Exportar lista de reproduçãoFalha ao pesquisar? 'malloc em filesSearch' Falha ao pesquisar? 'malloc em foldersearch' Falha ao obter parâmetros de armazenamento do dispositivo - precisa desconectar.O arquivo %s já existe na pasta alvo. Você deseja:Nome do arquivo:Tamanho do arquivoTipo de arquivoEnvio de arquivoBaixar arquivoNome de arquivoNomes de arquivoLocalizarLocalizar:PastaNome da pasta:Falha ao criar pasta:Falha ao criar pasta: %s PastasFormatar dispositivoFalha ao formatar o dispositivo? Encontrados %d itemEncontrados %d itensEncontrou nenhuma faixa na lista de reprodução existente neste dispositivo. Lista de reprodução não importada. GêneroNão sei como excluir uma referência a pasta pai? Não sei como baixar uma referência a pasta pai? Ignorar informação de caminho ao importar lista de reproduçãoImportar lista de reproduçãoInformaçõesLocalizaçãoMover para...Mover arquivo selecionado para baixo na lista de reproduçãoMover arquivo selecionado para cima na lista de reproduçãoN/DNova pastaNova lista de reproduçãoNenhum álbum disponível para se definir arte de álbum. Possivelmente: 1. Você não tem arquivos de música enviadas? 2. Seu dispositivo não suporta álbuns? 3. Aplicativos usados antes para enviar arquivos não criaram álbuns automaticamente para você ou não suportavam metadados desses arquivos para criar os álbuns para você? Nenhum dispositivo conectadoNenhum arquivo/pasta selecionada?NúmeroAbrirSobrescreverSobrescrever tudoRemova permanentemente arquivos/pastas a seu dispositivo. Nota: álbuns estão armazenados como arquivos *.albFaixas de áudio de lista de reproduçãoNome da lista de reprodução:Lista de reprodução importada. Listas de reproduçãoPor favor, digite o item para pesquisar.PreferênciasPerguntar se deve sobrescrever arquivo se já existirPerguntar ao adicionar faixa de nova música a uma lista de reprodução existentePropriedadesPergunta: Confirma sobrescrever arquivo existente?AtualizarAtualizar dispositivoAtualiza listagem de arquivos/pastas.Atualizar pastaRemoverRemover a lista de reprodução atualmente selecionadaRemover de lista de reproduçãoRemover arquivo da lista de reproduçãoRenomear arquivoRenomear arquivo/pastaRenomear arquivosRenomear pastaRescan: Como eu fui chamado? SalvarSalvar arquivo de arte do álbumSalvar como...PesquisarPesquisando...Selecionar arquivo da arte do álbumSelecionar tudoSelecione arquivos para adicionarSelecione um caminho para salvarSelecione um caminho para onde será baixadoSelecione um caminho para onde será enviadoSelecionar lista de reprodução para importarTamanhoPularPular tudoDispositivo de armazenamento:Suprimir erros de álbunsA função de mover está desabilitada ao usar o método de acesso alternativo para seu dispositivo.A lista de reprodução não importou corretamente. Barra de ferramentasEstilo da barra de ferramentas:FaixaInformação de faixaNome da faixaNúmero da faixaTratar todas as mídias como arquivos comunsNão foi possível adicionar %s por não haver espaço suficiente: tamanho do arquivo = %llu; espaço livre = %llu Não foi possível adicionar arquivo por não haver espaço suficienteNão foi possível mover o arquivo selecionado? Não foi possível mover a pasta selecionada para ela mesmo? Não foi possível mover a pasta para dentro dela mesmo? Não foi possível mover a pasta selecionada? Não foi possível renomear a pasta pai Não foi possível renomear esta pastaDesconhecidoDesconhecido : %04x:%04x @ bus %d, dev %dID desconhecida: %d, %sFalha ao atualizar lista de reprodução? Falha ao atualizar lista de reprodução? realloc em playlistImport Falha ao atualizar lista de reprodução? 'realloc em savePlayList' EnviarCaminho de envio:Envia um arquivo JPG e o atribui como arte de álbum.Envia um arquivo de imagem como arte de álbum.Utilizar método de acesso alternativoExibe propriedades do dispositivo.Exibe/Altera as preferências do gMTP.AVISO: gconf schema inválido, revertendo para o padrão! Por favor, certifique-se de que o schema esteja carregado no banco de dados gconf. AVISO: gconf schema inválido, não foi possível salvar! Por favor, certifique-se de que o schema esteja carregado no banco de dados gconf. AVISO: gconf_callback_func() falhou - obtivemos uma chamada para uma chave que não é nossa? AVISO: gsettings_callback_func() falhou - obtivemos uma chamada para uma chave que não é nossa? Ano_Sobre_Cancelar_Fechar_Conectar dispositivo_Editar_ArquivoA_juda_OK_Abrir_Preferências_Sair_SalvarE_xibirambosarquivo = ( x / x ) x %íconeFalha no malloc em filesSearch Falha no malloc em foldersearch Falha no realloc em playlistImport Falha no realloc em savePlayList setDeviceName: Como eu fui chamado? textoRafael Ferreira gmtp-1.3.10/po/it.po0000644000175000001440000007735212660314456011077 00000000000000# gmtp Language POT file. # Copyright (C) 2103 Darran Kartaschew # This file is distributed under the same license as the gmtp package. # Darran Kartaschew, 2013, chewy509@mailcity.com. # msgid "" msgstr "" "Project-Id-Version: gmtp 1.3.6\n" "Report-Msgid-Bugs-To: chewy509@mailcity.com\n" "POT-Creation-Date: 2016-02-15 19:23+1000\n" "PO-Revision-Date: 2014-07-14 01:08+0200\n" "Last-Translator: Fabio Castelli (Muflone) \n" "Language-Team: Italian\n" "Language: it\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: src/about.c:46 src/about.c:123 msgid "" "A simple MTP Client for Solaris 10\n" "and other UNIX / UNIX-like systems\n" msgstr "" "Un semplice client MTP per Solaris 10\n" "e altri sistemi UNIX / simil UNIX\n" #: src/about.c:77 msgid "translator-credits" msgstr "" "Francesca Ciceri\n" "Fabio Castelli" #: src/about.c:88 msgid "About gMTP" msgstr "Informazioni su gMTP" #: src/about.c:90 src/albumart.c:47 src/preferences.c:431 src/properties.c:159 msgid "_Close" msgstr "_Chiudi" #: src/about.c:135 #, fuzzy msgid "" "Copyright 2009-2016, Darran Kartaschew\n" "Released under the BSD License" msgstr "" "Copyright 2009-2014, Darran Kartaschew\n" "Rilasciato sotto licenza BSD" #: src/albumart.c:45 src/interface.c:331 src/interface.c:531 msgid "Album Art" msgstr "Copertina d'album" #: src/albumart.c:77 msgid "Album:" msgstr "Album:" #: src/albumart.c:110 msgid "" "No Albums available to set Album Art with. Either:\n" "1. You have no music files uploaded?\n" "2. Your device does not support Albums?\n" "3. Previous applications used to upload files do not autocreate albums for " "you or support the metadata for those files in order to create the albums " "for you?\n" msgstr "" "Nessun album disponibile per impostare la copertina d'album. O:\n" "1. Non hai i file musicali caricati?\n" "2. Il dispositivo non supporta album?\n" "3. Le applicazioni utilizzate in precedenza per caricare i file non hanno " "creato automaticamente per te gli album o il supporto ai metadati per quei " "file?\n" #: src/albumart.c:163 msgid "Upload" msgstr "Caricare" #: src/albumart.c:167 msgid "Remove" msgstr "Rimuovere" #: src/albumart.c:172 src/interface.c:511 msgid "Download" msgstr "Scaricare" #: src/albumart.c:293 msgid "Select Album Art File" msgstr "Seleziona file copertina d'album " #: src/albumart.c:295 src/albumart.c:406 src/callbacks.c:362 #: src/interface.c:1380 src/interface.c:1928 src/interface.c:1961 #: src/interface.c:2401 src/interface.c:2456 src/interface.c:2514 #: src/interface.c:3014 src/interface.c:3198 src/playlist.c:882 #: src/playlist.c:1255 src/playlist.c:1337 src/preferences.c:701 #: src/preferences.c:731 src/progress.c:108 msgid "_Cancel" msgstr "A_nnulla" #: src/albumart.c:296 src/callbacks.c:363 src/interface.c:1381 #: src/interface.c:1929 src/interface.c:1962 src/playlist.c:1256 #: src/playlist.c:1338 src/preferences.c:702 src/preferences.c:732 msgid "_Open" msgstr "_Apri" # ########################################## #: src/albumart.c:404 msgid "Save Album Art File" msgstr "Salva file copertina d'album" #: src/albumart.c:407 msgid "_Save" msgstr "_Salva" #: src/albumart.c:426 #, c-format msgid "Couldn't save image file %s\n" msgstr "Impossibile salvare il file immagine %s\n" #: src/albumart.c:427 msgid "Couldn't save image file\n" msgstr "Impossibile salvare il file immagine\n" #: src/callbacks.c:87 src/dnd.c:63 src/dnd.c:136 msgid "File Upload" msgstr "Carica file" #: src/callbacks.c:125 src/callbacks.c:178 src/callbacks.c:211 #: src/callbacks.c:251 src/callbacks.c:496 src/callbacks.c:540 #: src/callbacks.c:610 src/callbacks.c:643 src/playlist.c:487 #: src/playlist.c:506 msgid "No files/folders selected?" msgstr "Nessun file / cartella selezionati?" #: src/callbacks.c:144 msgid "Unable to rename parent folder\n" msgstr "Impossibile rinominare la cartella superiore\n" #: src/callbacks.c:145 msgid "Unable to rename this folder" msgstr "Impossibile rinominare la cartella superiore" #: src/callbacks.c:169 msgid "" "The move function is disabled when using the alternate access method for " "your device." msgstr "" "La funzione di spostamento è disabilitata quando si utilizza il metodo di " "accesso alternativo per il dispositivo." #: src/callbacks.c:225 msgid "Are you sure you want to delete these files?" msgstr "Sei sicuro di voler eliminare questi file?" #: src/callbacks.c:226 src/callbacks.c:515 src/callbacks.c:658 msgid "Confirm Delete" msgstr "Conferma eliminazione" #: src/callbacks.c:247 src/callbacks.c:257 src/callbacks.c:356 #: src/callbacks.c:372 src/callbacks.c:379 src/interface.c:1972 #: src/interface.c:1980 msgid "File download" msgstr "Scarica file" #: src/callbacks.c:277 msgid "Disconnect" msgstr "Scollegare" #: src/callbacks.c:281 src/callbacks.c:290 src/callbacks.c:817 #: src/callbacks.c:825 src/mtp.c:451 src/mtp.c:459 src/properties.c:261 #: src/properties.c:270 #, c-format msgid "Connected to %s - %d MB free" msgstr "Connesso a %s - %d MB di spazio libero" #: src/callbacks.c:285 src/callbacks.c:821 src/mtp.c:455 src/properties.c:265 #, c-format msgid "Connected to %s (%s) - %d MB free" msgstr "Connesso a %s (%s) - %d MB di spazio libero" #: src/callbacks.c:300 msgid "Disconnect Device" msgstr "Disconnettere il dispositivo" #: src/callbacks.c:309 src/interface.c:463 msgid "Connect" msgstr "Collegare" #: src/callbacks.c:312 src/main.c:109 msgid "No device attached" msgstr "Nessun dispositivo collegato" #: src/callbacks.c:316 msgid "Connect Device" msgstr "Collegare il dispositivo" #: src/callbacks.c:360 src/interface.c:1926 src/interface.c:1959 msgid "Select Path to Download" msgstr "Selezione del percorso per scaricare" #: src/callbacks.c:514 src/callbacks.c:657 msgid "Are you sure you want to delete this folder (and all contents)?" msgstr "Sei sicuro di voler eliminare questa cartella (e tutti i contenuti)?" #: src/callbacks.c:561 src/callbacks.c:562 src/interface.c:2088 #: src/interface.c:2089 msgid "Unable to move the selected folder into itself?\n" msgstr "Impossibile spostare la cartella selezionata in se stesso?\n" #: src/callbacks.c:580 src/interface.c:2106 msgid "Unable to move the selected folder?\n" msgstr "Impossibile spostare la cartella selezionata?\n" #: src/callbacks.c:586 src/callbacks.c:587 src/interface.c:2112 #: src/interface.c:2113 msgid "Unable to move the selected folder underneath itself?\n" msgstr "Impossibile spostare la cartella selezionata sotto se stessa?\n" #: src/callbacks.c:685 src/mtp.c:258 src/mtp.c:276 src/mtp.c:285 src/mtp.c:294 #: src/mtp.c:303 msgid "N/A" msgstr "Non applicabile" #: src/callbacks.c:758 msgid "Please enter search item." msgstr "Inserisci voce di ricerca." #: src/callbacks.c:759 msgid "Search" msgstr "Ricerca" #: src/callbacks.c:857 msgid "Searching..." msgstr "Cercando..." #: src/formatdevice.c:56 msgid "Formatting..." msgstr "" #: src/formatdevice.c:87 msgid "Are you sure you want to format this device?" msgstr "Sei sicuro di voler formattare questo dispositivo?" #: src/formatdevice.c:88 src/interface.c:323 msgid "Format Device" msgstr "Formattazione del dispositivo" #: src/interface.c:225 msgid "_File" msgstr "_File" #: src/interface.c:232 msgid "_Connect Device" msgstr "Collegare il dispositivo" #: src/interface.c:240 src/interface.c:2759 msgid "Add Files" msgstr "Aggiungi file" #: src/interface.c:244 src/interface.c:2763 msgid "Delete Files" msgstr "Elimina file" #: src/interface.c:248 msgid "Rename Files" msgstr "Rinomina file" #: src/interface.c:252 src/interface.c:2775 src/interface.c:2962 #: src/interface.c:3195 msgid "Move To..." msgstr "Sposta su..." #: src/interface.c:256 src/interface.c:2767 msgid "Download Files" msgstr "Scarica file" #: src/interface.c:264 src/interface.c:2795 src/interface.c:2950 msgid "Create Folder" msgstr "Crea cartella" #: src/interface.c:268 src/interface.c:2799 src/interface.c:2958 msgid "Delete Folder" msgstr "Elimina cartella" #: src/interface.c:276 msgid "Refresh Folder" msgstr "Rinomina cartella" #: src/interface.c:282 msgid "Device Properties" msgstr "Proprietà del dispositivo" #: src/interface.c:292 msgid "_Quit" msgstr "_Esci" #: src/interface.c:296 msgid "_Edit" msgstr "_Modifica" #: src/interface.c:303 msgid "Select All" msgstr "Seleziona tutto" # ########################################################## #: src/interface.c:311 msgid "Find" msgstr "Cerca" #: src/interface.c:319 src/interface.c:2453 msgid "Change Device Name" msgstr "Cambia nome dispositivo" #: src/interface.c:335 msgid "Edit Playlist(s)" msgstr "Modifica Playlist" #: src/interface.c:343 msgid "_Preferences" msgstr "Preferen_ze" #: src/interface.c:347 msgid "_View" msgstr "_Visualizza" #: src/interface.c:355 msgid "Toolbar" msgstr "Barra degli strumenti" # ########################################################## #: src/interface.c:363 msgid "Folders" msgstr "Cartelle" #: src/interface.c:371 src/interface.c:2862 msgid "File Size" msgstr "Dimensione file" #: src/interface.c:375 src/interface.c:1138 src/interface.c:1147 #: src/interface.c:2866 msgid "File Type" msgstr "Tipo di file" #: src/interface.c:379 src/interface.c:2870 msgid "Track Number" msgstr "Numero traccia" #: src/interface.c:383 src/interface.c:1183 src/interface.c:1192 #: src/interface.c:2874 msgid "Track Name" msgstr "Nome traccia" #: src/interface.c:387 src/interface.c:1202 src/interface.c:1211 #: src/interface.c:2878 src/playlist.c:654 src/playlist.c:718 msgid "Artist" msgstr "Artista" #: src/interface.c:391 src/interface.c:1221 src/interface.c:1230 #: src/interface.c:2882 src/playlist.c:664 src/playlist.c:728 msgid "Album" msgstr "Album" #: src/interface.c:395 src/interface.c:1240 src/interface.c:1249 #: src/interface.c:2886 msgid "Year" msgstr "Anno" #: src/interface.c:399 src/interface.c:1259 src/interface.c:1268 #: src/interface.c:2890 msgid "Genre" msgstr "Genere" #: src/interface.c:403 src/interface.c:1278 src/interface.c:1287 #: src/interface.c:2894 src/playlist.c:692 src/playlist.c:756 msgid "Duration" msgstr "Durata" #: src/interface.c:407 msgid "_Help" msgstr "_Aiuto" #: src/interface.c:414 msgid "_About" msgstr "_Informazioni" #: src/interface.c:467 src/interface.c:469 msgid "Connect/Disconnect to your device." msgstr "Connettersi/Disconnettersi al dispositivo." #: src/interface.c:483 src/interface.c:3066 src/playlist.c:176 msgid "Add" msgstr "Aggiungi" #: src/interface.c:487 src/interface.c:489 msgid "Add Files to your device." msgstr "Aggiungi file al dispositivo." #: src/interface.c:487 msgid "Add a varity of Files to your device in the current folder." msgstr "" "Aggiungere una varietà di file sul dispositivo nella cartella corrente." #: src/interface.c:497 msgid "Delete" msgstr "Elimina" #: src/interface.c:501 src/interface.c:503 msgid "Delete Files/Folders from your device." msgstr "Elimina file/cartelle dal dispositivo." #: src/interface.c:501 msgid "" "Permanently remove files/folders from your device. Note: Albums are stored " "as *.alb files." msgstr "" "Rimuovere in modo permanente i file/cartelle dal dispositivo. Nota: gli " "album sono archiviati come file *.alb." #: src/interface.c:515 src/interface.c:517 msgid "Download Files from your device to your Host PC." msgstr "Scaricamento di file dal dispositivo al PC host." #: src/interface.c:515 msgid "" "Download files from your device to your PC. Default Download path is set in " "the preferences dialog." msgstr "" "Scaricare file dal dispositivo al PC. Il percorso predefinito per scaricare " "è impostato nella finestra di dialogo delle preferenze." #: src/interface.c:535 src/interface.c:537 msgid "Upload an image file as Album Art." msgstr "Carica un file immagine come copertina d'album." #: src/interface.c:535 msgid "Upload a JPG file and assign it as Album Art." msgstr "Carica un file JPG e assegnalo come copertina d'album." #: src/interface.c:545 src/interface.c:3011 msgid "Playlists" msgstr "Playlist" #: src/interface.c:549 src/interface.c:551 msgid "Add and Modify Playlists." msgstr "Aggiungere e modificare playlist." #: src/interface.c:559 msgid "Refresh" msgstr "Aggiorna" #: src/interface.c:563 src/interface.c:565 msgid "Refresh File/Folder listing." msgstr "Aggiorna file/elenco di cartelle." #: src/interface.c:579 msgid "Properties" msgstr "Proprietà" #: src/interface.c:583 src/interface.c:585 msgid "View Device Properties." msgstr "Visualizza le proprietà del dispositivo." #: src/interface.c:593 msgid "Preferences" msgstr "Preferenze" #: src/interface.c:597 src/interface.c:599 msgid "View/Change gMTP Preferences." msgstr "Visualizza/Cambia preferenze di gMTP." # ########################################################## #: src/interface.c:644 msgid "Find:" msgstr "Cerca:" #: src/interface.c:666 msgid "Filenames" msgstr "Nomi dei file" #: src/interface.c:671 msgid "Track Information" msgstr "Informazioni sulla traccia" #: src/interface.c:1053 src/interface.c:1068 msgid "Filename" msgstr "Nome del file" #: src/interface.c:1094 src/interface.c:1103 msgid "Size" msgstr "Dimensioni" #: src/interface.c:1157 src/interface.c:1166 src/playlist.c:682 #: src/playlist.c:746 msgid "Track" msgstr "Traccia" #: src/interface.c:1305 src/interface.c:1314 msgid "Location" msgstr "Posizione" #: src/interface.c:1331 msgid "Folder" msgstr "Cartella" #: src/interface.c:1378 msgid "Select Files to Add" msgstr "Seleziona i file da aggiungere" #: src/interface.c:1857 #, c-format msgid "Found %d items" msgstr "Trovati %d elementi" #: src/interface.c:1859 #, c-format msgid "Found %d item" msgstr "Trovati %d elementi" # ########################################################## #: src/interface.c:2053 src/interface.c:2054 msgid "I don't know how to download a parent folder reference?\n" msgstr "Non so come scaricare un riferimento alla cartella superiore?\n" #: src/interface.c:2080 msgid "Unable to move the selected file?\n" msgstr "Impossibile spostare il file selezionato?\n" #: src/interface.c:2203 src/interface.c:2204 msgid "I don't know how to delete a parent folder reference?\n" msgstr "Non so come eliminare un riferimento alla cartella superiore?\n" #: src/interface.c:2371 msgid "Error" msgstr "Errore" #: src/interface.c:2387 msgid "Information" msgstr "Informazioni" #: src/interface.c:2398 msgid "New Folder" msgstr "Nuova Cartella" #: src/interface.c:2400 src/interface.c:2455 src/interface.c:2513 #: src/interface.c:2573 src/interface.c:2653 src/interface.c:3013 #: src/interface.c:3197 src/playlist.c:881 msgid "_OK" msgstr "_OK" #: src/interface.c:2420 msgid "Folder Name:" msgstr "Nome della cartella:" #: src/interface.c:2475 msgid "Device Name:" msgstr "Nome del dispositivo:" #: src/interface.c:2511 msgid "Rename File/Folder" msgstr "Rinominare file/cartella" #: src/interface.c:2533 msgid "File Name:" msgstr "Nome del file:" #: src/interface.c:2571 msgid "Connect to which device?" msgstr "A quale dispositivo ci si desidera collegare?" #: src/interface.c:2592 msgid "Device:" msgstr "Dispositivo:" #: src/interface.c:2618 #, c-format msgid "Unknown : %04x:%04x @ bus %d, dev %d" msgstr "Sconosciuto : %04x:%04x @ bus %d, dev %d" #: src/interface.c:2651 msgid "Connect to which storage device?" msgstr "A quale periferica di archiviazione ci si desidera collegare?" #: src/interface.c:2673 msgid "Storage Device:" msgstr "Dispositivo di memorizzazione:" #: src/interface.c:2694 #, c-format msgid "Unknown id: %d, %s" msgstr "Sconosciuto id: %d, %s" #: src/interface.c:2724 #, c-format msgid "" "File %s already exists in target folder.\n" "Do you want to:" msgstr "" "Il file %s è già presente nella cartella di destinazione.\n" "Vuoi:" #: src/interface.c:2726 msgid "Skip" msgstr "Saltare" #: src/interface.c:2727 msgid "Skip All" msgstr "Saltare tutti" #: src/interface.c:2728 msgid "Overwrite" msgstr "Sovrascrivere" #: src/interface.c:2729 msgid "Overwrite All" msgstr "Sovrascrivere tutti" #: src/interface.c:2731 msgid "Question: Confirm Overwrite of Existing File?" msgstr "Domanda: Confermi la sovrascrittura del file esistente?" #: src/interface.c:2771 msgid "Rename File" msgstr "Rinominare file" #: src/interface.c:2783 msgid "Add To Playlist" msgstr "Aggiungi alla playlist" #: src/interface.c:2787 msgid "Remove From Playlist" msgstr "Rimuovi dalla playlist" #: src/interface.c:2807 src/interface.c:2970 msgid "Refresh Device" msgstr "Aggiorna dispositivo" #: src/interface.c:2954 msgid "Rename Folder" msgstr "Rinomina cartella" #: src/interface.c:3035 src/playlist.c:902 msgid "Playlist Name:" msgstr "Nome della playlist:" #: src/interface.c:3075 src/interface.c:3077 src/playlist.c:153 #: src/playlist.c:155 msgid "Add New Playlist" msgstr "Aggiungi nuova playlist" #: src/mtp.c:104 src/mtp.c:105 msgid "Detect: No raw devices found.\n" msgstr "Detect: Nessun dispositivo raw trovato.\n" #: src/mtp.c:108 src/mtp.c:109 src/mtp.c:117 src/mtp.c:118 msgid "Detect: There has been an error connecting. \n" msgstr "Rilevazione: C'è stato un errore di connessione.\n" #: src/mtp.c:112 src/mtp.c:113 msgid "Detect: Encountered a Memory Allocation Error. \n" msgstr "" "Rilevazione: È stato rilevato un errore di allocazione della memoria.\n" #: src/mtp.c:142 src/mtp.c:143 msgid "Detect: Unable to open raw device?\n" msgstr "Rilevazione: Impossibile aprire il dispositivo raw?\n" #: src/mtp.c:156 src/mtp.c:157 msgid "Detect: No available Storage found on device?\n" msgstr "" "Rilevazione: Nessuna periferica di archiviazione disponibile trovata sul " "dispositivo?\n" #: src/mtp.c:238 src/mtp.c:244 msgid "Unknown" msgstr "Sconosciuto" #: src/mtp.c:330 msgid "DevicePropeties: How did I get called?\n" msgstr "DevicePropeties: Come sono stato chiamato?\n" #: src/mtp.c:438 msgid "Failed to get storage parameters from the device - need to disconnect." msgstr "" "Impossibile ottenere i parametri di memoria dal dispositivo - è necessario " "scollegare." #: src/mtp.c:466 msgid "Rescan: How did I get called?\n" msgstr "Riscansione: Come sono stato chiamato?\n" #: src/mtp.c:574 #, c-format msgid "" "Unable to add %s due to insufficient space: filesize = %llu, freespace = " "%llu\n" msgstr "" "Impossibile aggiungere %s a causa di spazio insufficiente: dimensione del " "file = %llu, spazio libero = %llu\n" #: src/mtp.c:578 msgid "Unable to add file due to insufficient space" msgstr "Impossibile aggiungere file a causa di spazio insufficiente" #: src/mtp.c:644 src/mtp.c:654 msgid "" msgstr "" #: src/mtp.c:675 msgid "Error sending track.\n" msgstr "Errore durante l'invio della traccia.\n" #: src/mtp.c:676 #, fuzzy, c-format msgid "Error code %d sending track to device: %s" msgstr "Errore codice %d nell'invio della traccia al dispositivo: %s" #: src/mtp.c:680 src/mtp.c:681 src/mtp.c:737 src/mtp.c:738 src/mtp.c:845 #: src/mtp.c:846 msgid "Transfer canceled." msgstr "" #: src/mtp.c:732 #, c-format msgid "Error sending file %s.\n" msgstr "Errore durante l'invio del file %s.\n" #: src/mtp.c:733 #, fuzzy msgid "Error sending file: " msgstr "Errore nell'invio del file:" #: src/mtp.c:811 #, c-format msgid "" "\n" "Failed to delete file %s\n" msgstr "" "\n" "Impossibile eliminare il file %s\n" #: src/mtp.c:812 #, fuzzy msgid "Failed to delete file: " msgstr "Impossibile eliminare il file" #: src/mtp.c:840 msgid "" "\n" "Error getting file from MTP device.\n" msgstr "" "\n" "Errore durante il recupero di file dal dispositivo MTP.\n" #: src/mtp.c:841 msgid "Error getting file from MTP device." msgstr "Errore durante il recupero di file dal dispositivo MTP." #: src/mtp.c:964 src/mtp.c:1045 #, c-format msgid "Folder creation failed: %s\n" msgstr "Creazione della cartella non riuscita: %s\n" #: src/mtp.c:965 msgid "Folder creation failed:" msgstr "Creazione della cartella non riuscita:" #: src/mtp.c:1010 #, c-format msgid "Couldn't delete folder %s (%x)\n" msgstr "Impossibile eliminare la cartella %s (%x)\n" #: src/mtp.c:1046 #, fuzzy msgid "Folder creation failed: " msgstr "Creazione della cartella non riuscita:" #: src/mtp.c:1259 #, c-format msgid "Error: Couldn't set device name to %s\n" msgstr "Errore: Impossibile impostare il nome del dispositivo a %s\n" #: src/mtp.c:1265 msgid "setDeviceName: How did I get called?\n" msgstr "setDeviceName: Come sono stato chiamato?\n" #: src/mtp.c:1462 msgid "ERROR: Failed memory allocation in albumAddTrackToAlbum()\n" msgstr "" "ERRORE: Allocazione di memoria non riuscita in albumAddTrackToAlbum()\n" #: src/mtp.c:1491 src/mtp.c:1492 msgid "" "Error creating or updating album.\n" "(This could be due to that your device does not support albums.)\n" msgstr "" "Errore durante la creazione o l'aggiornamento di album.\n" "(Ciò potrebbe essere dovuto al fatto che il dispositivo non supporta " "album.)\n" #: src/mtp.c:1520 msgid "ERROR: Failed memory allocation in albumAddArt()\n" msgstr "ERRORE: Allocazione di memoria non riuscita in albumAddArt()\n" #: src/mtp.c:1525 src/mtp.c:1532 #, c-format msgid "Couldn't open image file %s\n" msgstr "Impossibile aprire il file immagine %s\n" #: src/mtp.c:1545 src/mtp.c:1546 msgid "Couldn't send album art\n" msgstr "Impossibile inviare la copertina d'album\n" #: src/mtp.c:1590 src/mtp.c:1591 msgid "Couldn't remove album art\n" msgstr "Impossibile rimuovere la copertina d'album\n" #: src/mtp.c:1642 src/mtp.c:1744 msgid "Couldn't create playlist object\n" msgstr "Impossibile creare l'oggetto playlist\n" #: src/mtp.c:1654 msgid "Deleting playlist failed?\n" msgstr "Eliminazione della playlist fallita?\n" #: src/mtp.c:1665 msgid "Updating playlist failed?\n" msgstr "Aggiornamento della playlist fallito?\n" #: src/mtp.c:1690 #, c-format msgid "Couldn't open playlist file %s\n" msgstr "Impossibile aprire il file playlist %s\n" #: src/mtp.c:1691 msgid "Couldn't open playlist file\n" msgstr "Impossibile aprire il file playlist\n" #: src/mtp.c:1713 msgid "realloc in playlistImport failed\n" msgstr "realloc in playlistImport non riuscito\n" #: src/mtp.c:1714 msgid "Updating playlist failed? 'realloc in playlistImport'\n" msgstr "" "Aggiornamento della playlist non riuscito? 'realloc in playlistImport'\n" #: src/mtp.c:1750 msgid "Playlist imported.\n" msgstr "Playlist importate.\n" #: src/mtp.c:1754 src/mtp.c:1755 msgid "" "Found no tracks within the playlist that exist on this device. Did not " "import the playlist.\n" msgstr "" "Non sono stati trovate tracce all'interno della playlist che esistano sul " "dispositivo. La playlist non è stata importata.\n" #: src/mtp.c:1780 #, c-format msgid "Couldn't save playlist file %s\n" msgstr "Impossibile salvare il file playlist %s\n" #: src/mtp.c:1781 msgid "Couldn't save playlist file\n" msgstr "Impossibile salvare il file playlist\n" #: src/mtp.c:1806 msgid "Format Device failed?\n" msgstr "Formattazione del dispositivo non riuscita?\n" #: src/mtp.c:1824 src/mtp.c:1878 src/playlist.c:1158 src/playlist.c:1170 msgid "realloc in savePlayList failed\n" msgstr "realloc in savePlayList non riuscita\n" #: src/mtp.c:1825 src/mtp.c:1879 src/playlist.c:1159 src/playlist.c:1171 msgid "Updating playlist failed? 'realloc in savePlayList'\n" msgstr "Aggiornamento della playlist non riuscito? 'realloc in savePlayList'\n" #: src/mtp.c:2096 src/mtp.c:2152 src/mtp.c:2238 msgid "malloc in filesSearch failed\n" msgstr "malloc in filesSearch non riuscito\n" #: src/mtp.c:2097 src/mtp.c:2153 src/mtp.c:2239 msgid "Failed searching? 'malloc in filesSearch'\n" msgstr "Ricerca non riuscita? 'malloc in filesSearch'\n" #: src/mtp.c:2303 msgid "malloc in foldersearch failed\n" msgstr "malloc in foldersearch non riuscito\n" #: src/mtp.c:2304 msgid "Failed searching? 'malloc in foldersearch'\n" msgstr "Ricerca non riuscita? 'malloc in foldersearch'\n" #: src/playlist.c:98 msgid " Playlists" msgstr " Playlist" #: src/playlist.c:124 msgid "Current Playlist: " msgstr "Playlist attuale: " #: src/playlist.c:185 src/playlist.c:187 msgid "Remove Current Selected Playlist" msgstr "Rimuovere la playlist selezionata" #: src/playlist.c:209 msgid "Del" msgstr "Elimina" #: src/playlist.c:217 msgid "Open" msgstr "Apri" # ########################################################## #: src/playlist.c:223 src/playlist.c:225 msgid "Import Playlist" msgstr "Importa Playlist" #: src/playlist.c:232 msgid "Save" msgstr "Salva" #: src/playlist.c:238 src/playlist.c:240 msgid "Export Playlist" msgstr "Esporta playlist" #: src/playlist.c:262 src/playlist.c:264 msgid "Device Audio Tracks" msgstr "Tracce audio del dispositivo" #: src/playlist.c:287 src/playlist.c:289 msgid "Add file to playlist" msgstr "Aggiungere file alla playlist" #: src/playlist.c:310 msgid "Add File" msgstr "Aggiungi file" #: src/playlist.c:318 src/playlist.c:320 msgid "Remove file from playlist" msgstr "Rimuovere file dalla playlist" #: src/playlist.c:341 msgid "Del File" msgstr "Elimina file" #: src/playlist.c:355 src/playlist.c:357 msgid "Playlist Audio Tracks" msgstr "Tracce audio della Playlist" #: src/playlist.c:387 src/playlist.c:389 msgid "Move selected file up in the playlist" msgstr "Spostare sopra il file selezionato nella playlist" #: src/playlist.c:404 src/playlist.c:406 msgid "Move selected file down in the playlist" msgstr "Spostare sotto il file selezionato nella playlist" #: src/playlist.c:419 msgid "Close" msgstr "Chiudi" #: src/playlist.c:708 msgid "Num" msgstr "Numero" #: src/playlist.c:879 msgid "New Playlist" msgstr "Nuova Playlist" #: src/playlist.c:1253 msgid "Select Playlist to Import" msgstr "Selezionare playlist da importare" #: src/playlist.c:1303 src/playlist.c:1304 msgid "The playlist failed to import correctly.\n" msgstr "L'importazione della playlist non è riuscita correttamente.\n" #: src/playlist.c:1335 msgid "Save as..." msgstr "Salva come..." #: src/preferences.c:72 msgid " Preferences" msgstr " Preferenze" #: src/preferences.c:97 msgid "Application" msgstr "Applicazione" #: src/preferences.c:124 msgid "Toolbar Style:" msgstr "Stile dalla barra degli strumenti" #: src/preferences.c:132 src/preferences.c:139 src/preferences.c:771 #: src/preferences.c:805 msgid "both" msgstr "entrambi" #: src/preferences.c:133 src/preferences.c:140 src/preferences.c:773 #: src/preferences.c:807 msgid "icon" msgstr "icone" #: src/preferences.c:134 src/preferences.c:141 src/preferences.c:775 #: src/preferences.c:809 msgid "text" msgstr "solo testo" #: src/preferences.c:184 msgid "Device" msgstr "Dispositivo" #: src/preferences.c:189 msgid "Attempt to connect to Device on startup" msgstr "Tentare la connessione alla periferica all'avvio" #: src/preferences.c:193 msgid "Utilize alternate access method" msgstr "Utilizzare il metodo di accesso alternativo" #: src/preferences.c:202 msgid "File Operations" msgstr "Operazioni su file" #: src/preferences.c:229 msgid "Confirm File/Folder Delete" msgstr "Confermare eliminazione di file/cartelle" #: src/preferences.c:233 msgid "Prompt if to Overwrite file if already exists" msgstr "Avvisare se sovrascrivere il file se esiste già" #: src/preferences.c:237 msgid "Suppress Album Errors" msgstr "Sopprimere gli errori sugli album" # ########################################################## #: src/preferences.c:241 msgid "Treat all media as regular files" msgstr "Trattare tutti i file multimediali come file regolari" #: src/preferences.c:245 msgid "Preserve file timestamps (during download)" msgstr "" #: src/preferences.c:256 msgid "Playlist" msgstr "Playlist" #: src/preferences.c:282 msgid "Prompt to add New Music track to existing playlist" msgstr "" "Avvisare per aggiungere nuove tracce musicali ad una playlist esistente" #: src/preferences.c:286 msgid "Ignore path information when importing playlist" msgstr "" "Ignorare le informazioni sul percorso durante l'importazione di playlist" #: src/preferences.c:297 msgid "Filepaths on PC" msgstr "Percorsi del file su PC" #: src/preferences.c:324 msgid "Always show Download Path?" msgstr "Mostrare sempre il percorso di scaricamento?" #: src/preferences.c:344 msgid "Download Path:" msgstr "Percorso per lo scaricamento:" #: src/preferences.c:360 msgid "Upload Path:" msgstr "Percorso per il caricamento:" #: src/preferences.c:699 msgid "Select Path to Download to" msgstr "Seleziona il percorso dove scaricare" #: src/preferences.c:729 msgid "Select Path to Upload From" msgstr "Seleziona il percorso da dove caricare" #: src/prefs.c:102 msgid "" "WARNING: gconf schema invalid, reverting to defaults. Please ensure schema " "is loaded in gconf database.\n" msgstr "" "ATTENZIONE: schema gconf non valido, ritorno ai valori predefiniti. " "Assicurarsi che lo schema venga caricato nel database di GConf.\n" #: src/prefs.c:241 msgid "" "WARNING: gconf schema invalid, unable to save! Please ensure schema is " "loaded in gconf database.\n" msgstr "" "ATTENZIONE: lo schema gconf non è valido e non è possibile salvare! " "Assicurarsi che lo schema venga caricato nel database di GConf.\n" #: src/prefs.c:445 src/prefs.c:685 msgid "Disconnected device due to access method change" msgstr "Dispositivo disconnesso a causa del cambiamento del metodo di accesso" #: src/prefs.c:504 msgid "" "WARNING: gconf_callback_func() failed - we got a callback for a key thats " "not ours?\n" msgstr "" "ATTENZIONE: gconf_callback_func() non riuscito: abbiamo avuto una chiamata " "per una chiave che non è la nostra?\n" #: src/prefs.c:734 msgid "" "WARNING: gsettings_callback_func() failed - we got a callback for a key " "thats not ours?\n" msgstr "" "ATTENZIONE: gsettings_callback_func() non riuscito: abbiamo avuto una " "chiamata per una chiave che non è la nostra?\n" #: src/progress.c:79 msgid "file = ( x / x ) x %" msgstr "file = ( x / x ) x %" #: src/progress.c:194 #, c-format msgid "" "%s\n" "%s of %s (%d%%)" msgstr "" "%s\n" "%s di %s (%d%%)" #: src/progress.c:197 #, c-format msgid "%s of %s (%d%%)" msgstr "%s di %s (%d%%)" #: src/properties.c:69 msgid " Properties" msgstr " Proprietà" #: src/properties.c:91 msgid "MTP Device Properties" msgstr "Proprietà del dispositivo MTP" #: src/properties.c:96 msgid "Raw Device Information" msgstr "Informazioni sui dispositivi raw" #: src/properties.c:138 msgid "Name:" msgstr "Nome:" #: src/properties.c:139 msgid "Model Number:" msgstr "Numero del modello:" #: src/properties.c:140 msgid "Serial Number:" msgstr "Numero di serie:" #: src/properties.c:141 msgid "Device Version:" msgstr "Versione del dispositivo:" #: src/properties.c:142 msgid "Manufacturer:" msgstr "Produttore:" #: src/properties.c:143 msgid "Battery Level:" msgstr "Livello della batteria:" #: src/properties.c:144 msgid "Storage:" msgstr "Memorizzazione:" #: src/properties.c:145 msgid "Supported Formats:" msgstr "Formati supportati:" #: src/properties.c:147 msgid "Vendor:" msgstr "Venditore:" #: src/properties.c:148 msgid "Product:" msgstr "Prodotto:" #: src/properties.c:149 msgid "Vendor ID:" msgstr "ID venditore:" #: src/properties.c:150 msgid "Product ID:" msgstr "ID del prodotto:" #: src/properties.c:151 msgid "Device Number:" msgstr "Numero del dispositivo:" #: src/properties.c:152 msgid "Bus Location:" msgstr "Posizione del bus:" #: src/properties.c:191 #, c-format msgid "%d MB (free) / %d MB (total)" msgstr "%d MB (libero) / %d MB (totale)" #~ msgid "Sync Partner:" #~ msgstr "Sincronizzazione partner:" #~ msgid "Quit" #~ msgstr "Esci" #~ msgid "Quit gMTP." #~ msgstr "Esci da gMTP." #~ msgid "%s - %s of %s (%d%%)" #~ msgstr "%s - %s di %s (%d%%)" #~ msgid " %s %s : (%04x:%04x) @ bus %d, dev %d" #~ msgstr " %s %s : (%04x:%04x) @ bus %d, dev %d" #~ msgid " : %d MB (free) / %d MB (total)" #~ msgstr " : %d MB (libero) / %d MB (totale)" #~ msgid "" #~ msgstr "" #~ msgid "Add Album Art" #~ msgstr "Aggiungi copertina d'album" #~ msgid "FileSize Hidden" #~ msgstr "Dimensione del file nascosta" #~ msgid "Filename:" #~ msgstr "Nome del file:" #~ msgid "Object ID" #~ msgstr "Object ID" #~ msgid "file://" #~ msgstr "file://" #~ msgid "Columns" #~ msgstr "Colonne" gmtp-1.3.10/po/da.po0000644000175000001440000007347012660314456011044 00000000000000# gmtp Language POT file. # Copyright (C) 2103 Darran Kartaschew # This file is distributed under the same license as the gmtp package. # Darran Kartaschew, 2013, chewy509@mailcity.com. # msgid "" msgstr "" "Project-Id-Version: gmtp 1.3.6\n" "Report-Msgid-Bugs-To: chewy509@mailcity.com\n" "POT-Creation-Date: 2016-02-15 19:23+1000\n" "PO-Revision-Date: 2014-01-17 12:44+1000\n" "Last-Translator: \n" "Language-Team: chewy509@mailcity.com\n" "Language: da\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Poedit 1.6.3\n" #: src/about.c:46 src/about.c:123 msgid "" "A simple MTP Client for Solaris 10\n" "and other UNIX / UNIX-like systems\n" msgstr "" "En simpel MTP Client til Solaris 10\n" "og andre UNIX / UNIX-lignende systemer\n" #: src/about.c:77 msgid "translator-credits" msgstr "Cai Andersen" #: src/about.c:88 msgid "About gMTP" msgstr "Om gMTP" #: src/about.c:90 src/albumart.c:47 src/preferences.c:431 src/properties.c:159 msgid "_Close" msgstr "_Luk" #: src/about.c:135 #, fuzzy msgid "" "Copyright 2009-2016, Darran Kartaschew\n" "Released under the BSD License" msgstr "" "Copyright 2009-2014, Darran Kartaschew\n" "Udgivet under BSD Licence" #: src/albumart.c:45 src/interface.c:331 src/interface.c:531 msgid "Album Art" msgstr "Albumcover" #: src/albumart.c:77 msgid "Album:" msgstr "Album:" #: src/albumart.c:110 msgid "" "No Albums available to set Album Art with. Either:\n" "1. You have no music files uploaded?\n" "2. Your device does not support Albums?\n" "3. Previous applications used to upload files do not autocreate albums for " "you or support the metadata for those files in order to create the albums " "for you?\n" msgstr "" "Ingen Albums rådighed for at indstille Album Art med. Enten:\n" "1. Du har ingen musikfiler uploadet?\n" "2. Enheden understøtter ikke albums?\n" "3. Tidligere programmer, der bruges til at uploade filer ikke autocreate " "album for dig eller støtter metadata for disse filer for at skabe album " "for dig?\n" #: src/albumart.c:163 msgid "Upload" msgstr "Upload" #: src/albumart.c:167 msgid "Remove" msgstr "Fjern" #: src/albumart.c:172 src/interface.c:511 msgid "Download" msgstr "Download" #: src/albumart.c:293 msgid "Select Album Art File" msgstr "Vælg albumcover fil" #: src/albumart.c:295 src/albumart.c:406 src/callbacks.c:362 #: src/interface.c:1380 src/interface.c:1928 src/interface.c:1961 #: src/interface.c:2401 src/interface.c:2456 src/interface.c:2514 #: src/interface.c:3014 src/interface.c:3198 src/playlist.c:882 #: src/playlist.c:1255 src/playlist.c:1337 src/preferences.c:701 #: src/preferences.c:731 src/progress.c:108 msgid "_Cancel" msgstr "_Annullér" #: src/albumart.c:296 src/callbacks.c:363 src/interface.c:1381 #: src/interface.c:1929 src/interface.c:1962 src/playlist.c:1256 #: src/playlist.c:1338 src/preferences.c:702 src/preferences.c:732 msgid "_Open" msgstr "_Åbn" #: src/albumart.c:404 msgid "Save Album Art File" msgstr "Gem Album Art fil" #: src/albumart.c:407 msgid "_Save" msgstr "_Gem" #: src/albumart.c:426 #, c-format msgid "Couldn't save image file %s\n" msgstr "Kunne ikke gemme billedfil %s\n" #: src/albumart.c:427 msgid "Couldn't save image file\n" msgstr "Kunne ikke gemme billedfil\n" #: src/callbacks.c:87 src/dnd.c:63 src/dnd.c:136 msgid "File Upload" msgstr "Fil Upload" #: src/callbacks.c:125 src/callbacks.c:178 src/callbacks.c:211 #: src/callbacks.c:251 src/callbacks.c:496 src/callbacks.c:540 #: src/callbacks.c:610 src/callbacks.c:643 src/playlist.c:487 #: src/playlist.c:506 msgid "No files/folders selected?" msgstr "Ingen filer / mapper valgt?" #: src/callbacks.c:144 msgid "Unable to rename parent folder\n" msgstr "Ude af stand til at flytte den valgte mappe?\n" #: src/callbacks.c:145 msgid "Unable to rename this folder" msgstr "Ude af stand til at flytte den valgte mappe?" #: src/callbacks.c:169 msgid "" "The move function is disabled when using the alternate access method for " "your device." msgstr "" "Flytningen er deaktiveret, når du bruger den alternative adgang for enheden." #: src/callbacks.c:225 msgid "Are you sure you want to delete these files?" msgstr "Er du sikker på du vil slette disse filer?" #: src/callbacks.c:226 src/callbacks.c:515 src/callbacks.c:658 msgid "Confirm Delete" msgstr "Bekræft sletning" #: src/callbacks.c:247 src/callbacks.c:257 src/callbacks.c:356 #: src/callbacks.c:372 src/callbacks.c:379 src/interface.c:1972 #: src/interface.c:1980 msgid "File download" msgstr "Fil download" #: src/callbacks.c:277 msgid "Disconnect" msgstr "Afbryd" #: src/callbacks.c:281 src/callbacks.c:290 src/callbacks.c:817 #: src/callbacks.c:825 src/mtp.c:451 src/mtp.c:459 src/properties.c:261 #: src/properties.c:270 #, c-format msgid "Connected to %s - %d MB free" msgstr "Forbundet til %s - %d MB fri" #: src/callbacks.c:285 src/callbacks.c:821 src/mtp.c:455 src/properties.c:265 #, c-format msgid "Connected to %s (%s) - %d MB free" msgstr "Forbundet til %s (%s) - %d MB fri" #: src/callbacks.c:300 msgid "Disconnect Device" msgstr "Afbryd enhed" #: src/callbacks.c:309 src/interface.c:463 msgid "Connect" msgstr "Tilslut" #: src/callbacks.c:312 src/main.c:109 msgid "No device attached" msgstr "Ingen tilsluttede enhed" #: src/callbacks.c:316 msgid "Connect Device" msgstr "Tilslut enheden" #: src/callbacks.c:360 src/interface.c:1926 src/interface.c:1959 msgid "Select Path to Download" msgstr "Vælg sti til Download" #: src/callbacks.c:514 src/callbacks.c:657 msgid "Are you sure you want to delete this folder (and all contents)?" msgstr "Er du sikker på du vil slette denne mappe (og hele indholdet)?" #: src/callbacks.c:561 src/callbacks.c:562 src/interface.c:2088 #: src/interface.c:2089 msgid "Unable to move the selected folder into itself?\n" msgstr "Kan ikke flytte den valgte mappe ind i sig selv?\n" #: src/callbacks.c:580 src/interface.c:2106 msgid "Unable to move the selected folder?\n" msgstr "Ude af stand til at flytte den valgte mappe?\n" #: src/callbacks.c:586 src/callbacks.c:587 src/interface.c:2112 #: src/interface.c:2113 msgid "Unable to move the selected folder underneath itself?\n" msgstr "Kan ikke flytte den valgte mappe nedenunder sig selv?\n" #: src/callbacks.c:685 src/mtp.c:258 src/mtp.c:276 src/mtp.c:285 src/mtp.c:294 #: src/mtp.c:303 msgid "N/A" msgstr "ikke relevant" #: src/callbacks.c:758 msgid "Please enter search item." msgstr "Indtast venligst søgeemnet." #: src/callbacks.c:759 msgid "Search" msgstr "Søg" #: src/callbacks.c:857 msgid "Searching..." msgstr "Søger ..." #: src/formatdevice.c:56 msgid "Formatting..." msgstr "" #: src/formatdevice.c:87 msgid "Are you sure you want to format this device?" msgstr "Er du sikker på du vil formatere denne enhed?" #: src/formatdevice.c:88 src/interface.c:323 msgid "Format Device" msgstr "Format enhed" #: src/interface.c:225 msgid "_File" msgstr "_Fil" #: src/interface.c:232 msgid "_Connect Device" msgstr "Tilslut enheden" #: src/interface.c:240 src/interface.c:2759 msgid "Add Files" msgstr "Tilføj filer" #: src/interface.c:244 src/interface.c:2763 msgid "Delete Files" msgstr "Slette filer" #: src/interface.c:248 msgid "Rename Files" msgstr "Omdøb fil" #: src/interface.c:252 src/interface.c:2775 src/interface.c:2962 #: src/interface.c:3195 msgid "Move To..." msgstr "Flyt til" #: src/interface.c:256 src/interface.c:2767 msgid "Download Files" msgstr "Download filer" #: src/interface.c:264 src/interface.c:2795 src/interface.c:2950 msgid "Create Folder" msgstr "Opret mappe" #: src/interface.c:268 src/interface.c:2799 src/interface.c:2958 msgid "Delete Folder" msgstr "Slet mappe" #: src/interface.c:276 msgid "Refresh Folder" msgstr "Omdøb mappe" #: src/interface.c:282 msgid "Device Properties" msgstr "Enhed Egenskaber" #: src/interface.c:292 msgid "_Quit" msgstr "Afslut" #: src/interface.c:296 msgid "_Edit" msgstr "_Rediger" #: src/interface.c:303 msgid "Select All" msgstr "Vælg alle" #: src/interface.c:311 msgid "Find" msgstr "Find" #: src/interface.c:319 src/interface.c:2453 msgid "Change Device Name" msgstr "Skift Enhedsnavn" #: src/interface.c:335 msgid "Edit Playlist(s)" msgstr "Rediger afspilningsliste(r)" #: src/interface.c:343 msgid "_Preferences" msgstr "Indstillinger" #: src/interface.c:347 msgid "_View" msgstr "_Vis" #: src/interface.c:355 msgid "Toolbar" msgstr "" #: src/interface.c:363 msgid "Folders" msgstr "Folders" #: src/interface.c:371 src/interface.c:2862 msgid "File Size" msgstr "Filstørrelse" #: src/interface.c:375 src/interface.c:1138 src/interface.c:1147 #: src/interface.c:2866 msgid "File Type" msgstr "Filtype" #: src/interface.c:379 src/interface.c:2870 msgid "Track Number" msgstr "Spornummer" #: src/interface.c:383 src/interface.c:1183 src/interface.c:1192 #: src/interface.c:2874 msgid "Track Name" msgstr "Spor Navn" #: src/interface.c:387 src/interface.c:1202 src/interface.c:1211 #: src/interface.c:2878 src/playlist.c:654 src/playlist.c:718 msgid "Artist" msgstr "Kunstner" #: src/interface.c:391 src/interface.c:1221 src/interface.c:1230 #: src/interface.c:2882 src/playlist.c:664 src/playlist.c:728 msgid "Album" msgstr "Album" #: src/interface.c:395 src/interface.c:1240 src/interface.c:1249 #: src/interface.c:2886 msgid "Year" msgstr "År" #: src/interface.c:399 src/interface.c:1259 src/interface.c:1268 #: src/interface.c:2890 msgid "Genre" msgstr "Genren" #: src/interface.c:403 src/interface.c:1278 src/interface.c:1287 #: src/interface.c:2894 src/playlist.c:692 src/playlist.c:756 msgid "Duration" msgstr "Varighed" #: src/interface.c:407 msgid "_Help" msgstr "_Hjælp" #: src/interface.c:414 msgid "_About" msgstr "_Om" #: src/interface.c:467 src/interface.c:469 msgid "Connect/Disconnect to your device." msgstr "Tilslut / Afbryd til enheden." #: src/interface.c:483 src/interface.c:3066 src/playlist.c:176 msgid "Add" msgstr "Tilføj" #: src/interface.c:487 src/interface.c:489 msgid "Add Files to your device." msgstr "Tilføj filer til enheden." #: src/interface.c:487 msgid "Add a varity of Files to your device in the current folder." msgstr "Tilføj en række filer til din enhed i den nuværende mappe." #: src/interface.c:497 msgid "Delete" msgstr "Slet" #: src/interface.c:501 src/interface.c:503 msgid "Delete Files/Folders from your device." msgstr "Slet filer / mapper fra enheden." #: src/interface.c:501 msgid "" "Permanently remove files/folders from your device. Note: Albums are stored " "as *.alb files." msgstr "" "Permanent fjerne filer / mapper fra enheden. Bemærk: Albums gemmes som *. " "alb-filer." #: src/interface.c:515 src/interface.c:517 msgid "Download Files from your device to your Host PC." msgstr "Download filer fra enheden til din Host PC." #: src/interface.c:515 msgid "" "Download files from your device to your PC. Default Download path is set in " "the preferences dialog." msgstr "" "Downloade filer fra din enhed til din pc. Standard Download sti er fastsat " "i preferences dialogen." #: src/interface.c:535 src/interface.c:537 msgid "Upload an image file as Album Art." msgstr "Upload en billedfil som albumcover." #: src/interface.c:535 msgid "Upload a JPG file and assign it as Album Art." msgstr "Upload en JPG-fil og tildele den som albumcover." #: src/interface.c:545 src/interface.c:3011 msgid "Playlists" msgstr "Afspilningslister" #: src/interface.c:549 src/interface.c:551 msgid "Add and Modify Playlists." msgstr "Tilføj og rediger afspilningslister." #: src/interface.c:559 msgid "Refresh" msgstr "Genopfriske" #: src/interface.c:563 src/interface.c:565 msgid "Refresh File/Folder listing." msgstr "Genopfriske fil / Mappe notering." #: src/interface.c:579 msgid "Properties" msgstr "Egenskaber" #: src/interface.c:583 src/interface.c:585 msgid "View Device Properties." msgstr "Se Enhed Egenskaber." #: src/interface.c:593 msgid "Preferences" msgstr "Indstillinger" #: src/interface.c:597 src/interface.c:599 msgid "View/Change gMTP Preferences." msgstr "Se / Ændre gMTP indstillinger." #: src/interface.c:644 msgid "Find:" msgstr "Find:" #: src/interface.c:666 msgid "Filenames" msgstr "Filnavne" #: src/interface.c:671 msgid "Track Information" msgstr "spor Information" #: src/interface.c:1053 src/interface.c:1068 msgid "Filename" msgstr "Filnavn" #: src/interface.c:1094 src/interface.c:1103 msgid "Size" msgstr "Størrelse" #: src/interface.c:1157 src/interface.c:1166 src/playlist.c:682 #: src/playlist.c:746 msgid "Track" msgstr "Spor" #: src/interface.c:1305 src/interface.c:1314 msgid "Location" msgstr "Placering" #: src/interface.c:1331 msgid "Folder" msgstr "Folder" #: src/interface.c:1378 msgid "Select Files to Add" msgstr "Vælge filer at tilføje" #: src/interface.c:1857 #, c-format msgid "Found %d items" msgstr "Fandt %d emner" #: src/interface.c:1859 #, c-format msgid "Found %d item" msgstr "Fandt %d emne" #: src/interface.c:2053 src/interface.c:2054 msgid "I don't know how to download a parent folder reference?\n" msgstr "Jeg ved ikke, hvordan du henter en overordnet mappe reference?\n" #: src/interface.c:2080 msgid "Unable to move the selected file?\n" msgstr "Kan ikke flytte den valgte fil?\n" #: src/interface.c:2203 src/interface.c:2204 msgid "I don't know how to delete a parent folder reference?\n" msgstr "Jeg ved ikke, hvordan man sletter en overordnet mappe reference?\n" #: src/interface.c:2371 msgid "Error" msgstr "Fejl" #: src/interface.c:2387 msgid "Information" msgstr "Informationer" #: src/interface.c:2398 msgid "New Folder" msgstr "Ny Mappe" #: src/interface.c:2400 src/interface.c:2455 src/interface.c:2513 #: src/interface.c:2573 src/interface.c:2653 src/interface.c:3013 #: src/interface.c:3197 src/playlist.c:881 msgid "_OK" msgstr "_O.k." #: src/interface.c:2420 msgid "Folder Name:" msgstr "Mappe Navn:" #: src/interface.c:2475 msgid "Device Name:" msgstr "Enhedens navn:" #: src/interface.c:2511 msgid "Rename File/Folder" msgstr "Rename File/Folder" #: src/interface.c:2533 msgid "File Name:" msgstr "File Name:" #: src/interface.c:2571 msgid "Connect to which device?" msgstr "Tilslut til hvilken enhed?" #: src/interface.c:2592 msgid "Device:" msgstr "Enhed:" #: src/interface.c:2618 #, c-format msgid "Unknown : %04x:%04x @ bus %d, dev %d" msgstr "Ukendt : %04x:%04x @ bus %d, dev %d" #: src/interface.c:2651 msgid "Connect to which storage device?" msgstr "Tilslut som lagerenhed?" #: src/interface.c:2673 msgid "Storage Device:" msgstr "Lagerenhed:" #: src/interface.c:2694 #, c-format msgid "Unknown id: %d, %s" msgstr "Ukendt ID: %d, %s" #: src/interface.c:2724 #, c-format msgid "" "File %s already exists in target folder.\n" "Do you want to:" msgstr "Fil %s eksisterer allerede i destinationsmappen. Ønsker du at:" #: src/interface.c:2726 msgid "Skip" msgstr "Spring" #: src/interface.c:2727 msgid "Skip All" msgstr "Spring Alle" #: src/interface.c:2728 msgid "Overwrite" msgstr "Overskriv" #: src/interface.c:2729 msgid "Overwrite All" msgstr "Overskriv alle" #: src/interface.c:2731 msgid "Question: Confirm Overwrite of Existing File?" msgstr "Spørgsmål: Bekræft Overskriv af eksisterende fil?" #: src/interface.c:2771 msgid "Rename File" msgstr "Omdøb fil" #: src/interface.c:2783 msgid "Add To Playlist" msgstr "Add To Playlist" #: src/interface.c:2787 msgid "Remove From Playlist" msgstr "Fjern fra afspilningsliste" #: src/interface.c:2807 src/interface.c:2970 msgid "Refresh Device" msgstr "Genopfriske enhed" #: src/interface.c:2954 msgid "Rename Folder" msgstr "Omdøb mappe" #: src/interface.c:3035 src/playlist.c:902 msgid "Playlist Name:" msgstr "Afspilningsliste Navn:" #: src/interface.c:3075 src/interface.c:3077 src/playlist.c:153 #: src/playlist.c:155 msgid "Add New Playlist" msgstr "Tilføj Ny afspilningsliste" #: src/mtp.c:104 src/mtp.c:105 msgid "Detect: No raw devices found.\n" msgstr "Detect: Ingen rå enheder fundet.\n" #: src/mtp.c:108 src/mtp.c:109 src/mtp.c:117 src/mtp.c:118 msgid "Detect: There has been an error connecting. \n" msgstr "Detect: Der har været en fejl forbinder.\n" #: src/mtp.c:112 src/mtp.c:113 msgid "Detect: Encountered a Memory Allocation Error. \n" msgstr "Detect: Der opstod en Memory Fordeling Fejl. \n" #: src/mtp.c:142 src/mtp.c:143 msgid "Detect: Unable to open raw device?\n" msgstr "Detect: Kan ikke åbne rå enhed?\n" #: src/mtp.c:156 src/mtp.c:157 msgid "Detect: No available Storage found on device?\n" msgstr "Detect: Ingen tilgængelig opbevaring findes på enhed?\n" #: src/mtp.c:238 src/mtp.c:244 msgid "Unknown" msgstr "Ukendt" #: src/mtp.c:330 msgid "DevicePropeties: How did I get called?\n" msgstr "DevicePropeties: Hvordan fik jeg hedder?\n" #: src/mtp.c:438 msgid "Failed to get storage parameters from the device - need to disconnect." msgstr "Kunne ikke få storage parametre fra enheden - har brug for at afbryde." #: src/mtp.c:466 msgid "Rescan: How did I get called?\n" msgstr "Genskan: Hvordan fik jeg hedder?\n" #: src/mtp.c:574 #, c-format msgid "" "Unable to add %s due to insufficient space: filesize = %llu, freespace = " "%llu\n" msgstr "" "Kan ikke tilføje %s på grund af utilstrækkelig plads: Filstørrelse = %llu, " "ledig plads = %llu\n" #: src/mtp.c:578 msgid "Unable to add file due to insufficient space" msgstr "Kunne ikke tilføje filen på grund af utilstrækkelig plads" #: src/mtp.c:644 src/mtp.c:654 msgid "" msgstr "" #: src/mtp.c:675 msgid "Error sending track.\n" msgstr "Fejl under afsendelse spor.\n" #: src/mtp.c:676 #, fuzzy, c-format msgid "Error code %d sending track to device: %s" msgstr "Fejlkode %d sendes spor til enheden: %s" #: src/mtp.c:680 src/mtp.c:681 src/mtp.c:737 src/mtp.c:738 src/mtp.c:845 #: src/mtp.c:846 msgid "Transfer canceled." msgstr "" #: src/mtp.c:732 #, c-format msgid "Error sending file %s.\n" msgstr "Fejl ved afsendelse af filen %s.\n" #: src/mtp.c:733 #, fuzzy msgid "Error sending file: " msgstr "Fejl ved afsendelse af fil:" #: src/mtp.c:811 #, c-format msgid "" "\n" "Failed to delete file %s\n" msgstr "" "\n" "Kunne ikke slette fil %s\n" #: src/mtp.c:812 #, fuzzy msgid "Failed to delete file: " msgstr "Kunne ikke slette fil" #: src/mtp.c:840 msgid "" "\n" "Error getting file from MTP device.\n" msgstr "" "\n" "Fejl ved hentning af filen fra MTP enhed.\n" #: src/mtp.c:841 msgid "Error getting file from MTP device." msgstr "Fejl ved hentning af filen fra MTP enhed." #: src/mtp.c:964 src/mtp.c:1045 #, c-format msgid "Folder creation failed: %s\n" msgstr "Oprettelse af mapper mislykkedes: %s\n" #: src/mtp.c:965 msgid "Folder creation failed:" msgstr "Oprettelse af mapper mislykkedes:" #: src/mtp.c:1010 #, c-format msgid "Couldn't delete folder %s (%x)\n" msgstr "Kunne ikke slette mappe %s (%x)\n" #: src/mtp.c:1046 #, fuzzy msgid "Folder creation failed: " msgstr "Oprettelse af mapper mislykkedes:" #: src/mtp.c:1259 #, c-format msgid "Error: Couldn't set device name to %s\n" msgstr "Fejl: Kunne ikke sætte enheden navn til %s\n" #: src/mtp.c:1265 msgid "setDeviceName: How did I get called?\n" msgstr "setDeviceName: Hvordan fik jeg hedder?\n" #: src/mtp.c:1462 msgid "ERROR: Failed memory allocation in albumAddTrackToAlbum()\n" msgstr "FEJL: Kunne ikke hukommelse tildeling i albumAddTrackToAlbum ()\n" #: src/mtp.c:1491 src/mtp.c:1492 msgid "" "Error creating or updating album.\n" "(This could be due to that your device does not support albums.)\n" msgstr "" "Fejl ved oprettelse eller opdatering album.\n" "(Dette kunne skyldes, at enheden ikke understøtter album.)\n" #: src/mtp.c:1520 msgid "ERROR: Failed memory allocation in albumAddArt()\n" msgstr "FEJL: Kunne ikke hukommelse tildeling i albumAddArt ()\n" #: src/mtp.c:1525 src/mtp.c:1532 #, c-format msgid "Couldn't open image file %s\n" msgstr "Kunne ikke åbne billedfil %s\n" #: src/mtp.c:1545 src/mtp.c:1546 msgid "Couldn't send album art\n" msgstr "Kunne ikke sende albumcover\n" #: src/mtp.c:1590 src/mtp.c:1591 msgid "Couldn't remove album art\n" msgstr "Kunne ikke fjerne albumcover\n" #: src/mtp.c:1642 src/mtp.c:1744 msgid "Couldn't create playlist object\n" msgstr "Kunne ikke oprette afspilningsliste objekt\n" #: src/mtp.c:1654 msgid "Deleting playlist failed?\n" msgstr "Sletning afspilningsliste mislykkedes?\n" #: src/mtp.c:1665 msgid "Updating playlist failed?\n" msgstr "Opdatering afspilningsliste mislykkedes?\n" #: src/mtp.c:1690 #, c-format msgid "Couldn't open playlist file %s\n" msgstr "Kunne ikke åbne filen med afspilningslisten %s\n" #: src/mtp.c:1691 msgid "Couldn't open playlist file\n" msgstr "Kunne ikke åbne filen med afspilningslisten\n" #: src/mtp.c:1713 msgid "realloc in playlistImport failed\n" msgstr "realloc i savePlayList mislykkedes\n" #: src/mtp.c:1714 msgid "Updating playlist failed? 'realloc in playlistImport'\n" msgstr "Opdatering afspilningsliste mislykkedes? 'realloc i savePlayList'\n" #: src/mtp.c:1750 msgid "Playlist imported.\n" msgstr "Playlist importeret.\n" #: src/mtp.c:1754 src/mtp.c:1755 msgid "" "Found no tracks within the playlist that exist on this device. Did not " "import the playlist.\n" msgstr "" "Fandt ingen spor i spillelisten, der findes på denne enhed. Har ikke " "importere afspilningslisten.\n" #: src/mtp.c:1780 #, c-format msgid "Couldn't save playlist file %s\n" msgstr "Kunne ikke gemme playlist fil %s\n" #: src/mtp.c:1781 msgid "Couldn't save playlist file\n" msgstr "Kunne ikke gemme playlist fil\n" #: src/mtp.c:1806 msgid "Format Device failed?\n" msgstr "Format Enhed mislykkedes?\n" #: src/mtp.c:1824 src/mtp.c:1878 src/playlist.c:1158 src/playlist.c:1170 msgid "realloc in savePlayList failed\n" msgstr "realloc i savePlayList mislykkedes\n" #: src/mtp.c:1825 src/mtp.c:1879 src/playlist.c:1159 src/playlist.c:1171 msgid "Updating playlist failed? 'realloc in savePlayList'\n" msgstr "Opdatering afspilningsliste mislykkedes? 'realloc i savePlayList'\n" #: src/mtp.c:2096 src/mtp.c:2152 src/mtp.c:2238 msgid "malloc in filesSearch failed\n" msgstr "realloc i savePlayList mislykkedes\n" #: src/mtp.c:2097 src/mtp.c:2153 src/mtp.c:2239 msgid "Failed searching? 'malloc in filesSearch'\n" msgstr "" #: src/mtp.c:2303 msgid "malloc in foldersearch failed\n" msgstr "realloc i savePlayList mislykkedes\n" #: src/mtp.c:2304 msgid "Failed searching? 'malloc in foldersearch'\n" msgstr "" #: src/playlist.c:98 msgid " Playlists" msgstr " Afspilningslister" #: src/playlist.c:124 msgid "Current Playlist: " msgstr "Nuværende spilleliste: " #: src/playlist.c:185 src/playlist.c:187 msgid "Remove Current Selected Playlist" msgstr "Fjern aktuelt valgte spilleliste" #: src/playlist.c:209 msgid "Del" msgstr "Slet" #: src/playlist.c:217 msgid "Open" msgstr "Open" #: src/playlist.c:223 src/playlist.c:225 msgid "Import Playlist" msgstr "Import Playlist" #: src/playlist.c:232 msgid "Save" msgstr "Gem" #: src/playlist.c:238 src/playlist.c:240 msgid "Export Playlist" msgstr "Eksport Playlist" #: src/playlist.c:262 src/playlist.c:264 msgid "Device Audio Tracks" msgstr "Enhed lydspor" #: src/playlist.c:287 src/playlist.c:289 msgid "Add file to playlist" msgstr "Tilføj afspilningslisten " #: src/playlist.c:310 msgid "Add File" msgstr "Tilføj fil" #: src/playlist.c:318 src/playlist.c:320 msgid "Remove file from playlist" msgstr "Fjern fil fra afspilningslisten" #: src/playlist.c:341 msgid "Del File" msgstr "Slet fil" #: src/playlist.c:355 src/playlist.c:357 msgid "Playlist Audio Tracks" msgstr "Afspilningsliste lydspor" #: src/playlist.c:387 src/playlist.c:389 msgid "Move selected file up in the playlist" msgstr "Flyt valgte fil op i spillelisten" #: src/playlist.c:404 src/playlist.c:406 msgid "Move selected file down in the playlist" msgstr "Flyt valgte fil ned i spillelisten" #: src/playlist.c:419 msgid "Close" msgstr "Luk" #: src/playlist.c:708 msgid "Num" msgstr "Nummer" #: src/playlist.c:879 msgid "New Playlist" msgstr "Ny spilleliste" #: src/playlist.c:1253 msgid "Select Playlist to Import" msgstr "Vælg Spilleliste til Import" #: src/playlist.c:1303 src/playlist.c:1304 msgid "The playlist failed to import correctly.\n" msgstr "Afspilningslisten undladt at importere korrekt.\n" #: src/playlist.c:1335 msgid "Save as..." msgstr "Gem som..." #: src/preferences.c:72 msgid " Preferences" msgstr " Indstillinger" #: src/preferences.c:97 msgid "Application" msgstr "Application:" #: src/preferences.c:124 msgid "Toolbar Style:" msgstr "" #: src/preferences.c:132 src/preferences.c:139 src/preferences.c:771 #: src/preferences.c:805 msgid "both" msgstr "" #: src/preferences.c:133 src/preferences.c:140 src/preferences.c:773 #: src/preferences.c:807 msgid "icon" msgstr "" #: src/preferences.c:134 src/preferences.c:141 src/preferences.c:775 #: src/preferences.c:809 msgid "text" msgstr "" #: src/preferences.c:184 msgid "Device" msgstr "Enhed" #: src/preferences.c:189 msgid "Attempt to connect to Device on startup" msgstr "Forsøg at oprette forbindelse til enheden ved opstart" #: src/preferences.c:193 msgid "Utilize alternate access method" msgstr "Udnyt alternativ adgang metode" #: src/preferences.c:202 msgid "File Operations" msgstr "Filhandlinger" #: src/preferences.c:229 msgid "Confirm File/Folder Delete" msgstr "Bekræft fil / mappe Slet" #: src/preferences.c:233 msgid "Prompt if to Overwrite file if already exists" msgstr "Spørg hvis du vil overskrive filen, hvis der allerede eksisterer" #: src/preferences.c:237 msgid "Suppress Album Errors" msgstr "Undertryk Album Fejl" #: src/preferences.c:241 msgid "Treat all media as regular files" msgstr "Behandl alle medier som almindelige filer" #: src/preferences.c:245 msgid "Preserve file timestamps (during download)" msgstr "" #: src/preferences.c:256 msgid "Playlist" msgstr "Playlist" #: src/preferences.c:282 msgid "Prompt to add New Music track to existing playlist" msgstr "Spørg for at tilføje New Music spor til eksisterende afspilningsliste" #: src/preferences.c:286 msgid "Ignore path information when importing playlist" msgstr "Ignorer stioplysninger ved import afspilningsliste" #: src/preferences.c:297 msgid "Filepaths on PC" msgstr "Filstier på PC" #: src/preferences.c:324 msgid "Always show Download Path?" msgstr "Vis altid download sti?" #: src/preferences.c:344 msgid "Download Path:" msgstr "Download-sti:" #: src/preferences.c:360 msgid "Upload Path:" msgstr "Upload Sti:" #: src/preferences.c:699 msgid "Select Path to Download to" msgstr "Vælg Sti til Download til" #: src/preferences.c:729 msgid "Select Path to Upload From" msgstr "Vælg sti til Upload Fra" #: src/prefs.c:102 msgid "" "WARNING: gconf schema invalid, reverting to defaults. Please ensure schema " "is loaded in gconf database.\n" msgstr "" "ADVARSEL: GConf skema ugyldig, vender tilbage til standardindstillinger. Du " "sikre skema er lagt i GConf database.\n" #: src/prefs.c:241 msgid "" "WARNING: gconf schema invalid, unable to save! Please ensure schema is " "loaded in gconf database.\n" msgstr "" "ADVARSEL: GConf skema ugyldig, ude af stand til at redde! Du sikre skema er " "lagt i GConf database.\n" #: src/prefs.c:445 src/prefs.c:685 msgid "Disconnected device due to access method change" msgstr "Afbrudt enhed på grund af adgang metode forandring" #: src/prefs.c:504 msgid "" "WARNING: gconf_callback_func() failed - we got a callback for a key thats " "not ours?\n" msgstr "" "ADVARSEL: gconf_callback_func () mislykkedes - vi fik en " "tilbagekaldsanmodning for en nøgle thats ikke vores?\n" #: src/prefs.c:734 msgid "" "WARNING: gsettings_callback_func() failed - we got a callback for a key " "thats not ours?\n" msgstr "" "ADVARSEL: gsettings_callback_func () mislykkedes - vi fik en " "tilbagekaldsanmodning for en nøgle thats ikke vores?\n" #: src/progress.c:79 msgid "file = ( x / x ) x %" msgstr "file = ( x / x ) x %" #: src/progress.c:194 #, c-format msgid "" "%s\n" "%s of %s (%d%%)" msgstr "" "%s\n" "%s af %s (%d%%)" #: src/progress.c:197 #, c-format msgid "%s of %s (%d%%)" msgstr "%s af %s (%d%%)" #: src/properties.c:69 msgid " Properties" msgstr " Egenskaber" #: src/properties.c:91 msgid "MTP Device Properties" msgstr "MTP enhed egenskaber" #: src/properties.c:96 msgid "Raw Device Information" msgstr "Rå enhedsoplysninger" #: src/properties.c:138 msgid "Name:" msgstr "Navn:" #: src/properties.c:139 msgid "Model Number:" msgstr "Model nummer:" #: src/properties.c:140 msgid "Serial Number:" msgstr "Serienummer:" #: src/properties.c:141 msgid "Device Version:" msgstr "Enhed version:" #: src/properties.c:142 msgid "Manufacturer:" msgstr "Producent:" #: src/properties.c:143 msgid "Battery Level:" msgstr "Batterilevel:" #: src/properties.c:144 msgid "Storage:" msgstr "Opbevaring:" #: src/properties.c:145 msgid "Supported Formats:" msgstr "Understøttede formater:" #: src/properties.c:147 msgid "Vendor:" msgstr "Leverandør:" #: src/properties.c:148 msgid "Product:" msgstr "Produkt:" #: src/properties.c:149 msgid "Vendor ID:" msgstr "Leverandør-id:" #: src/properties.c:150 msgid "Product ID:" msgstr "Produkt-ID:" #: src/properties.c:151 msgid "Device Number:" msgstr "Enhed nummer:" #: src/properties.c:152 msgid "Bus Location:" msgstr "Bus Beliggenhed:" #: src/properties.c:191 #, c-format msgid "%d MB (free) / %d MB (total)" msgstr "%d MB (gratis) / %d MB (samlede)" #~ msgid "Secure Time:" #~ msgstr "Sikker Tid:" #~ msgid "Sync Partner:" #~ msgstr "Synkronisering partner:" #~ msgid "Quit" #~ msgstr "Afslut" #~ msgid "Quit gMTP." #~ msgstr "Afslut gMTP." #~ msgid "%s - %s of %s (%d%%)" #~ msgstr "%s - %s af %s (%d%%)" #~ msgid " %s %s : (%04x:%04x) @ bus %d, dev %d" #~ msgstr " %s %s : (%04x:%04x) @ bus %d, dev %d" #~ msgid " : %d MB (free) / %d MB (total)" #~ msgstr " : %d MB (gratis) / %d MB (samlede)" #~ msgid "" #~ msgstr "" #~ msgid "Add Album Art" #~ msgstr "Tilføj albumcover" #~ msgid "FileSize Hidden" #~ msgstr "FileSize Hidden" #~ msgid "Filename:" #~ msgstr "Filnavn:" #~ msgid "Object ID" #~ msgstr "Object ID" #~ msgid "file://" #~ msgstr "file://" #~ msgid "Columns" #~ msgstr "Kolonner" gmtp-1.3.10/po/fr.po~0000664000175000001440000010027612266214712011256 00000000000000# gmtp Language POT file. # Copyright (C) 2103 Darran Kartaschew # This file is distributed under the same license as the gmtp package. # Darran Kartaschew, 2013, chewy509@mailcity.com. # msgid "" msgstr "" "Project-Id-Version: gmtp 1.3.5\n" "Report-Msgid-Bugs-To: chewy509@mailcity.com\n" "POT-Creation-Date: 2014-01-17 12:42+1000\n" "PO-Revision-Date: 2014-01-17 12:47+1000\n" "Last-Translator: \n" "Language-Team: chewy509@mailcity.com\n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Poedit 1.6.3\n" #: src/about.c:75 src/about.c:148 msgid "" "A simple MTP Client for Solaris 10\n" "and other UNIX / UNIX-like systems\n" msgstr "" "Un client MTP simple pour Solaris 10\n" "et d'autres UNIX / systèmes de type UNIX\n" #: src/about.c:106 msgid "translator-credits" msgstr "Coug" #: src/about.c:114 msgid "About gMTP" msgstr "A propos de gMTP" #: src/about.c:116 src/albumart.c:78 src/preferences.c:427 #: src/properties.c:603 msgid "_Close" msgstr "_Fermer" #: src/about.c:160 msgid "" "Copyright 2009-2014, Darran Kartaschew\n" "Released under the BSD License" msgstr "" "Copyright 2009-2014, Darran Kartaschew\n" "Paru sous la Licence BSD" #: src/albumart.c:76 src/interface.c:346 src/interface.c:546 msgid "Album Art" msgstr "Pochette d'album" #: src/albumart.c:106 msgid "Album:" msgstr "Album:" #: src/albumart.c:124 msgid "" "No Albums available to set Album Art with. Either:\n" "1. You have no music files uploaded?\n" "2. Your device does not support Albums?\n" "3. Previous applications used to upload files do not autocreate albums for " "you or support the metadata for those files in order to create the albums " "for you?\n" msgstr "" "Aucun album disponible pour définir la pochette d'album. Soit:\n" "1. Vous n'avez pas de fichier de musique exporté?\n" "2. Votre périphérique ne supporte pas les albums?\n" "3. Les applications précédentes utilisées pour exporter des fichiers ne " "crées pas automatiquement d'albums pour vous ou ne supportent pas les " "métadonnées pour ces fichiers afin de créer des albums pour vous?\n" #: src/albumart.c:175 msgid "Upload" msgstr "Exporter" #: src/albumart.c:179 msgid "Remove" msgstr "Retirer" #: src/albumart.c:184 src/interface.c:526 msgid "Download" msgstr "Télécharger" #: src/albumart.c:321 msgid "Select Album Art File" msgstr "Choisir le fichier de la pochette d'album" #: src/albumart.c:323 src/albumart.c:425 src/callbacks.c:415 #: src/interface.c:1422 src/interface.c:1973 src/interface.c:2015 #: src/interface.c:2513 src/interface.c:2573 src/interface.c:2636 #: src/interface.c:3163 src/interface.c:3360 src/playlist.c:953 #: src/playlist.c:1386 src/playlist.c:1473 src/preferences.c:727 #: src/preferences.c:762 src/progress.c:128 msgid "_Cancel" msgstr "A_nnuler" #: src/albumart.c:324 src/callbacks.c:416 src/interface.c:1423 #: src/interface.c:1974 src/interface.c:2016 src/playlist.c:1387 #: src/playlist.c:1474 src/preferences.c:728 src/preferences.c:763 msgid "_Open" msgstr "_Ouvrir" # ########################################## #: src/albumart.c:423 msgid "Save Album Art File" msgstr "Enregistrer le fichier de la pochette d'album" #: src/albumart.c:426 msgid "_Save" msgstr "_Enregistrer" #: src/albumart.c:445 #, c-format msgid "Couldn't save image file %s\n" msgstr "Impossible d'enregistrer un fichier image %s\n" #: src/albumart.c:446 msgid "Couldn't save image file\n" msgstr "Impossible d'enregistrer un fichier image\n" #: src/callbacks.c:114 src/dnd.c:72 src/dnd.c:137 msgid "File Upload" msgstr "Exportation de fichier" #: src/callbacks.c:156 src/callbacks.c:210 src/callbacks.c:248 #: src/callbacks.c:291 src/callbacks.c:565 src/callbacks.c:618 #: src/callbacks.c:692 src/callbacks.c:730 src/playlist.c:510 #: src/playlist.c:533 msgid "No files/folders selected?" msgstr "Pas de fichiers/dossiers sélectionnés?" #: src/callbacks.c:173 msgid "Unable to rename parent folder\n" msgstr "Impossible de déplacer le dossier sélectionné?\n" #: src/callbacks.c:174 msgid "Unable to rename this folder" msgstr "Impossible de déplacer le dossier sélectionné?" #: src/callbacks.c:201 msgid "" "The move function is disabled when using the alternate access method for " "your device." msgstr "" "La fonction de déplacement est désactivée lorsque vous utilisez la méthode " "d'accès de rechange pour votre appareil." #: src/callbacks.c:262 msgid "Are you sure you want to delete these files?" msgstr "Êtes-vous sûr de vouloir supprimer ces fichiers?" #: src/callbacks.c:263 src/callbacks.c:584 src/callbacks.c:745 msgid "Confirm Delete" msgstr "Confirmer la suppression" #: src/callbacks.c:287 src/callbacks.c:297 src/callbacks.c:409 #: src/callbacks.c:425 src/callbacks.c:432 src/interface.c:2026 #: src/interface.c:2034 msgid "File download" msgstr "Téléchargement de fichier" #: src/callbacks.c:322 msgid "Disconnect" msgstr "Déconnecter" #: src/callbacks.c:326 src/callbacks.c:335 src/callbacks.c:926 #: src/callbacks.c:934 src/mtp.c:497 src/mtp.c:505 src/properties.c:700 #: src/properties.c:709 #, c-format msgid "Connected to %s - %d MB free" msgstr "Connecté à %s - %d Mo d'espace libre" #: src/callbacks.c:330 src/callbacks.c:930 src/mtp.c:501 src/properties.c:704 #, c-format msgid "Connected to %s (%s) - %d MB free" msgstr "Connecté à %s (%s) - %d Mo d'espace libre" #: src/callbacks.c:345 msgid "Disconnect Device" msgstr "Déconnecter le périphérique" #: src/callbacks.c:354 src/interface.c:478 msgid "Connect" msgstr "Connecter" #: src/callbacks.c:357 src/main.c:124 msgid "No device attached" msgstr "Aucun périphérique connecté" #: src/callbacks.c:361 msgid "Connect Device" msgstr "Connecter le périphérique" #: src/callbacks.c:413 src/interface.c:1971 src/interface.c:2013 msgid "Select Path to Download" msgstr "Choisir le chemin du téléchargement" #: src/callbacks.c:583 src/callbacks.c:744 msgid "Are you sure you want to delete this folder (and all contents)?" msgstr "Êtes-vous sûr de vouloir supprimer ce dossier (et tout son contenu)?" #: src/callbacks.c:639 src/callbacks.c:640 src/interface.c:2149 #: src/interface.c:2150 msgid "Unable to move the selected folder into itself?\n" msgstr "Impossible de déplacer le dossier sélectionné sur lui-même?\n" #: src/callbacks.c:657 src/interface.c:2167 msgid "Unable to move the selected folder?\n" msgstr "Impossible de déplacer le dossier sélectionné?\n" #: src/callbacks.c:663 src/callbacks.c:664 src/interface.c:2173 #: src/interface.c:2174 msgid "Unable to move the selected folder underneath itself?\n" msgstr "Impossible de déplacer le dossier sélectionné sous lui-même?\n" #: src/callbacks.c:775 src/mtp.c:272 src/mtp.c:280 src/mtp.c:297 src/mtp.c:305 #: src/mtp.c:313 src/mtp.c:321 src/mtp.c:334 msgid "N/A" msgstr "Non applicable" #: src/callbacks.c:861 msgid "Please enter search item." msgstr "S'il vous plaît entrez élément recherché." #: src/callbacks.c:862 msgid "Search" msgstr "Rechercher" #: src/callbacks.c:970 msgid "Searching..." msgstr "Recherche" #: src/formatdevice.c:120 msgid "Are you sure you want to format this device?" msgstr "Êtes-vous sûr de vouloir formater ce périphérique?" #: src/formatdevice.c:121 src/interface.c:338 msgid "Format Device" msgstr "Formatage du périphérique" #: src/interface.c:240 msgid "_File" msgstr "_Fichier" #: src/interface.c:247 msgid "_Connect Device" msgstr "Connecter le périphérique" #: src/interface.c:255 src/interface.c:2893 msgid "Add Files" msgstr "Ajouter des fichiers" #: src/interface.c:259 src/interface.c:2897 msgid "Delete Files" msgstr "Supprimer les fichiers" #: src/interface.c:263 msgid "Rename Files" msgstr "Renommer le fichier" #: src/interface.c:267 src/interface.c:2909 src/interface.c:3103 #: src/interface.c:3357 msgid "Move To..." msgstr "Déplacer vers..." #: src/interface.c:271 src/interface.c:2901 msgid "Download Files" msgstr "Télécharger des fichiers" #: src/interface.c:279 src/interface.c:2929 src/interface.c:3091 msgid "Create Folder" msgstr "Créer un dossier" #: src/interface.c:283 src/interface.c:2933 src/interface.c:3099 msgid "Delete Folder" msgstr "Supprimer le dossier" #: src/interface.c:291 msgid "Refresh Folder" msgstr "Renommer le dossier" #: src/interface.c:297 msgid "Device Properties" msgstr "Propriétés du périphérique" #: src/interface.c:307 msgid "_Quit" msgstr "_Quitter" #: src/interface.c:311 msgid "_Edit" msgstr "_Modifier" #: src/interface.c:318 msgid "Select All" msgstr "Sélectionner tout" # ########################################################## #: src/interface.c:326 msgid "Find" msgstr "Trouver" #: src/interface.c:334 src/interface.c:2570 msgid "Change Device Name" msgstr "Changer le nom du périphérique" #: src/interface.c:350 msgid "Edit Playlist(s)" msgstr "Éditer la/les liste(s) d'écoute" #: src/interface.c:358 msgid "_Preferences" msgstr "_Préférences" #: src/interface.c:362 msgid "_View" msgstr "_Voir" #: src/interface.c:370 msgid "Toolbar" msgstr "" # ########################################################## #: src/interface.c:378 msgid "Folders" msgstr "Dossiers" #: src/interface.c:386 src/interface.c:3001 msgid "File Size" msgstr "Taille du fichier" #: src/interface.c:390 src/interface.c:1164 src/interface.c:1173 #: src/interface.c:3005 msgid "File Type" msgstr "Type de fichier" #: src/interface.c:394 src/interface.c:3009 msgid "Track Number" msgstr "Numéro de piste" #: src/interface.c:398 src/interface.c:1209 src/interface.c:1218 #: src/interface.c:3013 msgid "Track Name" msgstr "Nom de la piste" #: src/interface.c:402 src/interface.c:1228 src/interface.c:1237 #: src/interface.c:3017 src/playlist.c:704 src/playlist.c:774 msgid "Artist" msgstr "Artiste" #: src/interface.c:406 src/interface.c:1247 src/interface.c:1256 #: src/interface.c:3021 src/playlist.c:714 src/playlist.c:784 msgid "Album" msgstr "Album" #: src/interface.c:410 src/interface.c:1266 src/interface.c:1275 #: src/interface.c:3025 msgid "Year" msgstr "Année" #: src/interface.c:414 src/interface.c:1285 src/interface.c:1294 #: src/interface.c:3029 msgid "Genre" msgstr "Genre" #: src/interface.c:418 src/interface.c:1304 src/interface.c:1313 #: src/interface.c:3033 src/playlist.c:742 src/playlist.c:812 msgid "Duration" msgstr "Durée" #: src/interface.c:422 msgid "_Help" msgstr "_Aide" #: src/interface.c:429 msgid "_About" msgstr "_A propos de" #: src/interface.c:482 src/interface.c:484 msgid "Connect/Disconnect to your device." msgstr "Connexion/déconnexion à votre périphérique." #: src/interface.c:498 src/interface.c:3202 src/playlist.c:192 msgid "Add" msgstr "Ajouter" #: src/interface.c:502 src/interface.c:504 msgid "Add Files to your device." msgstr "Ajouter des fichiers à votre périphérique." #: src/interface.c:502 msgid "Add a varity of Files to your device in the current folder." msgstr "" "Ajouter une variété de fichiers sur votre périphérique dans le dossier " "courant." #: src/interface.c:512 msgid "Delete" msgstr "Supprimer" #: src/interface.c:516 src/interface.c:518 msgid "Delete Files/Folders from your device." msgstr "Supprimer les fichiers/dossiers de votre périphérique." #: src/interface.c:516 msgid "" "Permanently remove files/folders from your device. Note: Albums are stored " "as *.alb files." msgstr "" "Supprimer définitivement les fichiers / dossiers de votre périphérique. " "Note: Les albums sont stockés dans des fichiers *. alb." #: src/interface.c:530 src/interface.c:532 msgid "Download Files from your device to your Host PC." msgstr "Télécharger des fichiers de votre périphérique à votre PC hôte." #: src/interface.c:530 msgid "" "Download files from your device to your PC. Default Download path is set in " "the preferences dialog." msgstr "" "Télécharger des fichiers de votre périphérique à votre PC. Le chemin de " "téléchargement par défaut est défini dans la boîte de dialogue préférences." #: src/interface.c:550 src/interface.c:552 msgid "Upload an image file as Album Art." msgstr "Exporter un fichier image comme pochette d'album." #: src/interface.c:550 msgid "Upload a JPG file and assign it as Album Art." msgstr "Exporter un fichier JPG et l'assigner comme pochette d'album." #: src/interface.c:560 src/interface.c:3160 msgid "Playlists" msgstr "Listes d'écoute" #: src/interface.c:564 src/interface.c:566 msgid "Add and Modify Playlists." msgstr "Ajouter et modifier des listes d'écoute." #: src/interface.c:574 msgid "Refresh" msgstr "Actualiser" #: src/interface.c:578 src/interface.c:580 msgid "Refresh File/Folder listing." msgstr "Actualiser les fichiers/dossiers de la liste d'écoute." #: src/interface.c:594 msgid "Properties" msgstr "Propriétés" #: src/interface.c:598 src/interface.c:600 msgid "View Device Properties." msgstr "Voir les propriétés du périphérique." #: src/interface.c:608 msgid "Preferences" msgstr "Préférences" #: src/interface.c:612 src/interface.c:614 msgid "View/Change gMTP Preferences." msgstr "Voir/Modifier les préférences gMTP." # ########################################################## #: src/interface.c:659 msgid "Find:" msgstr "Trouver:" #: src/interface.c:681 msgid "Filenames" msgstr "Noms de fichiers" #: src/interface.c:686 msgid "Track Information" msgstr "Information de la piste" #: src/interface.c:1079 src/interface.c:1094 msgid "Filename" msgstr "Nom de fichier" #: src/interface.c:1120 src/interface.c:1129 msgid "Size" msgstr "Taille" #: src/interface.c:1183 src/interface.c:1192 src/playlist.c:732 #: src/playlist.c:802 msgid "Track" msgstr "Piste" #: src/interface.c:1331 src/interface.c:1340 msgid "Location" msgstr "Lieu" #: src/interface.c:1357 msgid "Folder" msgstr "Dossier" #: src/interface.c:1420 msgid "Select Files to Add" msgstr "Choisir les fichiers à ajouter" #: src/interface.c:1890 #, c-format msgid "Found %d items" msgstr "Trouvé %d articles" #: src/interface.c:1892 #, c-format msgid "Found %d item" msgstr "%d objets trouvés" # ########################################################## #: src/interface.c:2108 src/interface.c:2109 msgid "I don't know how to download a parent folder reference?\n" msgstr "Je ne sais pas comment télécharger un dossier parent de référence?\n" #: src/interface.c:2141 msgid "Unable to move the selected file?\n" msgstr "Impossible de déplacer le fichier sélectionné?\n" #: src/interface.c:2274 src/interface.c:2275 msgid "I don't know how to delete a parent folder reference?\n" msgstr "Je ne sais pas comment supprimer une référence à un dossier parent?\n" #: src/interface.c:2474 msgid "Error" msgstr "Erreur" #: src/interface.c:2494 msgid "Information" msgstr "Information" #: src/interface.c:2510 msgid "New Folder" msgstr "Nouveau dossier" #: src/interface.c:2512 src/interface.c:2572 src/interface.c:2635 #: src/interface.c:2698 src/interface.c:2780 src/interface.c:3162 #: src/interface.c:3359 src/playlist.c:952 msgid "_OK" msgstr "_Valider" #: src/interface.c:2531 msgid "Folder Name:" msgstr "Nom du dossier:" #: src/interface.c:2591 msgid "Device Name:" msgstr "Nom du périphérique:" #: src/interface.c:2633 msgid "Rename File/Folder" msgstr "Renommer le fichier/dossier" #: src/interface.c:2654 msgid "File Name:" msgstr "Nom du fichier:" #: src/interface.c:2696 msgid "Connect to which device?" msgstr "Connecter à quel périphérique?" #: src/interface.c:2715 msgid "Device:" msgstr "Périphérique:" #: src/interface.c:2741 #, c-format msgid "Unknown : %04x:%04x @ bus %d, dev %d" msgstr "Inconnu : %04x:%04x @ bus %d, dev %d" #: src/interface.c:2778 msgid "Connect to which storage device?" msgstr "Connecter à quel périphérique de stockage?" #: src/interface.c:2798 msgid "Storage Device:" msgstr "Périphérique de stockage:" #: src/interface.c:2819 #, c-format msgid "Unknown id: %d, %s" msgstr "Identifiant inconnu: %d, %s" #: src/interface.c:2854 #, c-format msgid "" "File %s already exists in target folder.\n" "Do you want to:" msgstr "" "Le fichier %s existe déjà dans le dossier cible.\n" "Voulez-vous:" #: src/interface.c:2856 msgid "Skip" msgstr "Sauter" #: src/interface.c:2857 msgid "Skip All" msgstr "Sauter tous" #: src/interface.c:2858 msgid "Overwrite" msgstr "Écraser" #: src/interface.c:2859 msgid "Overwrite All" msgstr "Remplacer tous" #: src/interface.c:2861 msgid "Question: Confirm Overwrite of Existing File?" msgstr "Question: Confirmer l'écrasement du fichier existant?" #: src/interface.c:2905 msgid "Rename File" msgstr "Renommer le fichier" #: src/interface.c:2917 msgid "Add To Playlist" msgstr "Ajouter à la liste d'écoute" #: src/interface.c:2921 msgid "Remove From Playlist" msgstr "Supprimer de la liste d'écoute" #: src/interface.c:2941 src/interface.c:3111 msgid "Refresh Device" msgstr "Actualiser le périphérique" #: src/interface.c:3095 msgid "Rename Folder" msgstr "Renommer le dossier" #: src/interface.c:3183 src/playlist.c:971 msgid "Playlist Name:" msgstr "Nom de la liste d'écoute:" #: src/interface.c:3211 src/interface.c:3213 src/playlist.c:169 #: src/playlist.c:171 msgid "Add New Playlist" msgstr "Ajouter une nouvelle liste d'écoute" #: src/mtp.c:121 src/mtp.c:122 msgid "Detect: No raw devices found.\n" msgstr "Détecté: Aucun périphérique brut trouvé.\n" #: src/mtp.c:125 src/mtp.c:126 src/mtp.c:134 src/mtp.c:135 msgid "Detect: There has been an error connecting. \n" msgstr "Détecté: Il ya eu une erreur de connexion.\n" #: src/mtp.c:129 src/mtp.c:130 msgid "Detect: Encountered a Memory Allocation Error. \n" msgstr "Détecté: une erreur d'allocation de mémoire a été rencontrée. \n" #: src/mtp.c:156 src/mtp.c:157 msgid "Detect: Unable to open raw device?\n" msgstr "Détecté: Impossible d'ouvrir le périphérique brut?\n" #: src/mtp.c:170 src/mtp.c:171 msgid "Detect: No available Storage found on device?\n" msgstr "Détecter: Non disponible Entreposage trouvant sur le périphérique?\n" #: src/mtp.c:254 src/mtp.c:259 msgid "Unknown" msgstr "Inconnu" #: src/mtp.c:360 msgid "DevicePropeties: How did I get called?\n" msgstr "DevicePropeties: Comment ai-je été appelé?\n" #: src/mtp.c:485 msgid "Failed to get storage parameters from the device - need to disconnect." msgstr "" "Impossible d'obtenir les paramètres de stockage du périphérique - besoin de " "déconnecter." #: src/mtp.c:512 msgid "Rescan: How did I get called?\n" msgstr "Rescan: Comment ai-je été appelé?\n" #: src/mtp.c:658 #, c-format msgid "" "Unable to add %s due to insufficient space: filesize = %llu, freespace = " "%llu\n" msgstr "" "Impossible d'ajouter %s car l'espace est insuffisant: taille du fichier = " "%llu, espace libre = %llu\n" #: src/mtp.c:662 msgid "Unable to add file due to insufficient space" msgstr "Impossible d'ajouter le fichier car l'espace est insuffisant" #: src/mtp.c:728 src/mtp.c:738 msgid "" msgstr "" #: src/mtp.c:757 msgid "Error sending track.\n" msgstr "Erreur en envoyant la piste.\n" #: src/mtp.c:758 #, c-format msgid "Error code %d sending track to device: %s" msgstr "Code d'erreur %d d'envoi de la piste au périphérique: %s" #: src/mtp.c:805 #, c-format msgid "Error sending file %s.\n" msgstr "Erreur d'envoi du fichier %s.\n" #: src/mtp.c:806 msgid "Error sending file:" msgstr "Erreur d'envoi du fichier:" #: src/mtp.c:884 #, c-format msgid "" "\n" "Failed to delete file %s\n" msgstr "" "\n" "Impossible de supprimer le fichier %s\n" #: src/mtp.c:885 msgid "Failed to delete file" msgstr "Impossible de supprimer le fichier" #: src/mtp.c:916 msgid "" "\n" "Error getting file from MTP device.\n" msgstr "" "\n" "Erreur de récupération des fichiers à partir du périphérique MTP.\n" #: src/mtp.c:917 msgid "Error getting file from MTP device." msgstr "Erreur de récupération des fichiers du périphérique MTP." #: src/mtp.c:1026 src/mtp.c:1125 #, c-format msgid "Folder creation failed: %s\n" msgstr "Échec de la création du dossier: %s\n" #: src/mtp.c:1027 src/mtp.c:1126 msgid "Folder creation failed:" msgstr "Échec de la création du dossier:" #: src/mtp.c:1080 #, c-format msgid "Couldn't delete folder %s (%x)\n" msgstr "Impossible de supprimer le dossier %s (%x)\n" #: src/mtp.c:1283 #, c-format msgid "Error: Couldn't set device name to %s\n" msgstr "Erreur: Impossible de définir le nom du périphérique à %s\n" #: src/mtp.c:1289 msgid "setDeviceName: How did I get called?\n" msgstr "setDeviceName: Comment ai-je été appelé?\n" #: src/mtp.c:1436 msgid "ERROR: Failed memory allocation in albumAddTrackToAlbum()\n" msgstr "Échec d'allocation de mémoire dans albumAddTrackToAlbum (): ERREUR\n" #: src/mtp.c:1465 src/mtp.c:1466 msgid "" "Error creating or updating album.\n" "(This could be due to that your device does not support albums.)\n" msgstr "" "Erreur de création ou de mise à jour de l'album.\n" "(Cela pourrait être dû au fait que votre périphérique ne supporte pas les " "albums.)\n" #: src/mtp.c:1499 msgid "ERROR: Failed memory allocation in albumAddArt()\n" msgstr "Échec d'allocation de mémoire dans albumAddArt (): ERREUR\n" #: src/mtp.c:1504 src/mtp.c:1511 #, c-format msgid "Couldn't open image file %s\n" msgstr "Impossible d'ouvrir le fichier image %s\n" #: src/mtp.c:1524 src/mtp.c:1525 msgid "Couldn't send album art\n" msgstr "Impossible d'envoyer des pochettes d'album\n" #: src/mtp.c:1577 src/mtp.c:1578 msgid "Couldn't remove album art\n" msgstr "Impossible de supprimer la pochette d'album\n" #: src/mtp.c:1641 src/mtp.c:1759 msgid "Couldn't create playlist object\n" msgstr "Impossible de créer l'objet dans la liste d'écoute\n" #: src/mtp.c:1657 msgid "Deleting playlist failed?\n" msgstr "Échec de la suppression de la liste d'écoute?\n" #: src/mtp.c:1672 msgid "Updating playlist failed?\n" msgstr "Échec de la mise à jour de la liste d'écoute?\n" #: src/mtp.c:1705 #, c-format msgid "Couldn't open playlist file %s\n" msgstr "Impossible d'ouvrir le fichier de la liste d'écoute %s\n" #: src/mtp.c:1706 msgid "Couldn't open playlist file\n" msgstr "Impossible d'ouvrir le fichier de la liste d'écoute\n" #: src/mtp.c:1728 msgid "realloc in playlistImport failed\n" msgstr "Échec de la relocalisation dans savePlayList\n" #: src/mtp.c:1729 msgid "Updating playlist failed? 'realloc in playlistImport'\n" msgstr "" "Échec de la mise à jour de la liste d'écoute? 'relocalisation dans " "savePlayList '\n" #: src/mtp.c:1765 msgid "Playlist imported.\n" msgstr "Listes d'écoute importées.\n" #: src/mtp.c:1769 src/mtp.c:1770 msgid "" "Found no tracks within the playlist that exist on this device. Did not " "import the playlist.\n" msgstr "" "Aucune piste trouvée dans la liste d'écoute qui existe sur ce périphérique. " "N'a pas importé la liste d'écoute.\n" #: src/mtp.c:1802 #, c-format msgid "Couldn't save playlist file %s\n" msgstr "Impossible d'enregistrer le fichier de la liste d'écoute %s\n" #: src/mtp.c:1803 msgid "Couldn't save playlist file\n" msgstr "Impossible d'enregistrer le fichier de la liste d'écoute\n" #: src/mtp.c:1831 msgid "Format Device failed?\n" msgstr "Échec du formatage du périphérique?\n" #: src/mtp.c:1854 src/mtp.c:1914 src/playlist.c:1275 src/playlist.c:1287 msgid "realloc in savePlayList failed\n" msgstr "Échec de la relocalisation dans savePlayList\n" #: src/mtp.c:1855 src/mtp.c:1915 src/playlist.c:1276 src/playlist.c:1288 msgid "Updating playlist failed? 'realloc in savePlayList'\n" msgstr "" "Échec de la mise à jour de la liste d'écoute? 'relocalisation dans " "savePlayList '\n" #: src/mtp.c:2166 src/mtp.c:2222 src/mtp.c:2308 msgid "malloc in filesSearch failed\n" msgstr "" #: src/mtp.c:2167 src/mtp.c:2223 src/mtp.c:2309 msgid "Failed searching? 'malloc in filesSearch'\n" msgstr "" #: src/mtp.c:2385 msgid "malloc in foldersearch failed\n" msgstr "" #: src/mtp.c:2386 msgid "Failed searching? 'malloc in foldersearch'\n" msgstr "" #: src/playlist.c:125 msgid " Playlists" msgstr " Liste d'écoute" #: src/playlist.c:150 msgid "Current Playlist: " msgstr "Liste d'écoute actuelle: " #: src/playlist.c:201 src/playlist.c:203 msgid "Remove Current Selected Playlist" msgstr "Supprimer la liste d'écoute présentement sélectionnée" #: src/playlist.c:225 msgid "Del" msgstr "Supprimer" #: src/playlist.c:233 msgid "Open" msgstr "Ouvrir" # ########################################################## #: src/playlist.c:239 src/playlist.c:241 msgid "Import Playlist" msgstr "Importer la liste d'écoute" #: src/playlist.c:248 msgid "Save" msgstr "Enregistrer" #: src/playlist.c:254 src/playlist.c:256 msgid "Export Playlist" msgstr "Exporter la liste d'écoute" #: src/playlist.c:278 src/playlist.c:280 msgid "Device Audio Tracks" msgstr "Pistes audio du périphérique" #: src/playlist.c:303 src/playlist.c:305 msgid "Add file to playlist" msgstr "Ajouter un fichier à la liste d'écoute" #: src/playlist.c:326 msgid "Add File" msgstr "Ajouter un fichier" #: src/playlist.c:334 src/playlist.c:336 msgid "Remove file from playlist" msgstr "Supprimer le fichier de la liste d'écoute" #: src/playlist.c:357 msgid "Del File" msgstr "Supprimer le fichier" #: src/playlist.c:371 src/playlist.c:373 msgid "Playlist Audio Tracks" msgstr "Audio des pistes de la liste d'écoute" #: src/playlist.c:403 src/playlist.c:405 msgid "Move selected file up in the playlist" msgstr "Monter le fichier choisi dans la liste d'écoute" #: src/playlist.c:420 src/playlist.c:422 msgid "Move selected file down in the playlist" msgstr "Descendre le fichier choisi dans la liste d'écoute" #: src/playlist.c:435 msgid "Close" msgstr "Fermer" #: src/playlist.c:764 msgid "Num" msgstr "Nombre" #: src/playlist.c:950 msgid "New Playlist" msgstr "Nouvelle liste d'écoute" #: src/playlist.c:1384 msgid "Select Playlist to Import" msgstr "Sélectionner la liste d'écoute à importer" #: src/playlist.c:1434 src/playlist.c:1435 msgid "The playlist failed to import correctly.\n" msgstr "La liste d'écoute ne s'est pas importée correctement.\n" #: src/playlist.c:1471 msgid "Save as..." msgstr "Enregistrer sous..." #: src/preferences.c:108 msgid " Preferences" msgstr " Préférences" #: src/preferences.c:132 msgid "Application" msgstr "Application" #: src/preferences.c:149 msgid "Toolbar Style:" msgstr "" #: src/preferences.c:157 src/preferences.c:164 src/preferences.c:810 #: src/preferences.c:825 msgid "both" msgstr "" #: src/preferences.c:158 src/preferences.c:165 src/preferences.c:812 #: src/preferences.c:827 msgid "icon" msgstr "" #: src/preferences.c:159 src/preferences.c:166 src/preferences.c:814 #: src/preferences.c:829 msgid "text" msgstr "" #: src/preferences.c:206 msgid "Attempt to connect to Device on startup" msgstr "Tentative de connexion au périphérique lors du démarrage" #: src/preferences.c:210 msgid "Utilize alternate access method" msgstr "Utiliser la méthode d'accès de substitution" #: src/preferences.c:214 msgid "Device" msgstr "Périphérique" #: src/preferences.c:251 msgid "Confirm File/Folder Delete" msgstr "Confirmer la suppression du fichier/dossier" #: src/preferences.c:255 msgid "Prompt if to Overwrite file if already exists" msgstr "Demander pour écraser le fichier s'il existe déjà" #: src/preferences.c:259 msgid "Suppress Album Errors" msgstr "Supprimer les erreurs de l'album" # ########################################################## #: src/preferences.c:263 msgid "Treat all media as regular files" msgstr "Traiter tous les fichiers multimédias comme des fichiers réguliers" #: src/preferences.c:274 msgid "Playlist" msgstr "Liste d'écoute" #: src/preferences.c:296 msgid "Prompt to add New Music track to existing playlist" msgstr "Demander l'ajout de la piste New Music à une liste d'écoute existante" #: src/preferences.c:300 msgid "Ignore path information when importing playlist" msgstr "" "Ignorer les informations du chemin lors de l'importation de la liste d'écoute" #: src/preferences.c:304 msgid "File Operations" msgstr "Opérations sur les fichiers" #: src/preferences.c:326 msgid "Always show Download Path?" msgstr "Toujours afficher le chemin de téléchargement?" #: src/preferences.c:346 msgid "Download Path:" msgstr "Chemin de téléchargement:" #: src/preferences.c:357 msgid "Upload Path:" msgstr "Chemin d'exportation:" #: src/preferences.c:411 msgid "Filepaths on PC" msgstr "Chemin de fichiers sur PC" #: src/preferences.c:725 msgid "Select Path to Download to" msgstr "Choisir le chemin du téléchargement sur" #: src/preferences.c:760 msgid "Select Path to Upload From" msgstr "Choisir le chemin d'exportation à partir de" #: src/prefs.c:120 msgid "" "WARNING: gconf schema invalid, reverting to defaults. Please ensure schema " "is loaded in gconf database.\n" msgstr "" "AVERTISSEMENT: schéma gconf invalide, revenir aux réglages par défaut. S'il " "vous plaît s'assurer que schéma est chargé dans la base de données gconf.\n" #: src/prefs.c:255 msgid "" "WARNING: gconf schema invalid, unable to save! Please ensure schema is " "loaded in gconf database.\n" msgstr "" "AVERTISSEMENT: schéma gconf invalide, incapable de sauver! S'il vous plaît " "s'assurer que le schéma est chargé dans la base de données gconf.\n" #: src/prefs.c:461 src/prefs.c:693 msgid "Disconnected device due to access method change" msgstr "Périphérique déconnecté en raison d'accéder à un changement de méthode" #: src/prefs.c:513 msgid "" "WARNING: gconf_callback_func() failed - we got a callback for a key thats " "not ours?\n" msgstr "" "AVERTISSEMENT: gconf_callback_func () a échoué - nous avons eu un rappel " "pour une clé qui ne nous appartient pas?\n" #: src/prefs.c:733 msgid "" "WARNING: gsettings_callback_func() failed - we got a callback for a key " "thats not ours?\n" msgstr "" "AVERTISSEMENT: gsettings_callback_func () a échoué - nous avons eu un rappel " "pour une clé qui ne nous appartient pas?\n" #: src/progress.c:104 msgid "file = ( x / x ) x %" msgstr "fichier = ( x / x ) x %" #: src/progress.c:219 #, c-format msgid "" "%s\n" "%s of %s (%d%%)" msgstr "" "%s\n" "%s de %s (%d%%)" #: src/progress.c:222 #, c-format msgid "%s of %s (%d%%)" msgstr "%s de %s (%d%%)" #: src/properties.c:111 msgid " Properties" msgstr " Propriétés" #: src/properties.c:132 msgid "MTP Device Properties" msgstr "Propriétés du périphérique MTP" #: src/properties.c:141 msgid "Raw Device Information" msgstr "Information brute sur le périphérique" #: src/properties.c:174 msgid "Name:" msgstr "Nom:" #: src/properties.c:253 msgid "Model Number:" msgstr "Numéro de modèle:" #: src/properties.c:266 msgid "Serial Number:" msgstr "Numéro de série:" #: src/properties.c:279 msgid "Device Version:" msgstr "Version de l'appareil:" #: src/properties.c:292 msgid "Manufacturer:" msgstr "Fabricant:" #: src/properties.c:305 msgid "Battery Level:" msgstr "Niveau de la batterie:" #: src/properties.c:318 msgid "Storage:" msgstr "Stockage:" #: src/properties.c:344 msgid "Supported Formats:" msgstr "Formats supportés:" #: src/properties.c:359 msgid "Secure Time:" msgstr "Temps sécuritaire:" #: src/properties.c:372 msgid "Sync Partner:" msgstr "Partenaire de synchronisation:" #: src/properties.c:449 msgid "Vendor:" msgstr "Vendeur:" #: src/properties.c:462 msgid "Product:" msgstr "Produit:" #: src/properties.c:475 msgid "Vendor ID:" msgstr "Identifiant vendeur:" #: src/properties.c:488 msgid "Product ID:" msgstr "Identifiant du produit:" #: src/properties.c:501 msgid "Device Number:" msgstr "Numéro du périphérique:" #: src/properties.c:514 msgid "Bus Location:" msgstr "Situation Bus:" #: src/properties.c:632 #, c-format msgid "%d MB (free) / %d MB (total)" msgstr "%d Mo (libre) / %d Mo (total)" #~ msgid "Quit" #~ msgstr "Quitter" #~ msgid "Quit gMTP." #~ msgstr "Quitter gMTP." #~ msgid "%s - %s of %s (%d%%)" #~ msgstr "%s - %s de %s (%d%%)" #~ msgid " %s %s : (%04x:%04x) @ bus %d, dev %d" #~ msgstr " %s %s : (%04x:%04x) @ bus %d, dev %d" #~ msgid " : %d MB (free) / %d MB (total)" #~ msgstr " : %d Mo (gratuit) / %d Mo (total)" #~ msgid "" #~ msgstr "" #~ msgid "Add Album Art" #~ msgstr "Ajouter une pochette d'album" #~ msgid "FileSize Hidden" #~ msgstr "Cacher la taile du fichier" #~ msgid "Filename:" #~ msgstr "Nom de fichier:" #~ msgid "Object ID" #~ msgstr "Identifiant d'objet" #~ msgid "file://" #~ msgstr "fichier://" #~ msgid "Columns" #~ msgstr "Colonnes" gmtp-1.3.10/po/Makefile.in.in0000644000175000001440000003322112655605137012563 00000000000000# Makefile for PO directory in any package using GNU gettext. # Copyright (C) 1995-1997, 2000-2006 by Ulrich Drepper # # This file can be copied and used freely without restrictions. It can # be used in projects which are not available under the GNU General Public # License but which still want to provide support for the GNU gettext # functionality. # Please note that the actual code of GNU gettext is covered by the GNU # General Public License and is *not* in the public domain. # # Origin: gettext-0.16 PACKAGE = @PACKAGE@ VERSION = @VERSION@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ SHELL = /bin/sh @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ datarootdir = @datarootdir@ datadir = @datadir@ localedir = @localedir@ gettextsrcdir = $(datadir)/gettext/po INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ # We use $(mkdir_p). # In automake <= 1.9.x, $(mkdir_p) is defined either as "mkdir -p --" or as # "$(mkinstalldirs)" or as "$(install_sh) -d". For these automake versions, # @install_sh@ does not start with $(SHELL), so we add it. # In automake >= 1.10, @mkdir_p@ is derived from ${MKDIR_P}, which is defined # either as "/path/to/mkdir -p" or ".../install-sh -c -d". For these automake # versions, $(mkinstalldirs) and $(install_sh) are unused. mkinstalldirs = $(SHELL) @install_sh@ -d install_sh = $(SHELL) @install_sh@ MKDIR_P = @MKDIR_P@ mkdir_p = @mkdir_p@ GMSGFMT_ = @GMSGFMT@ GMSGFMT_no = @GMSGFMT@ GMSGFMT_yes = @GMSGFMT_015@ GMSGFMT = $(GMSGFMT_$(USE_MSGCTXT)) MSGFMT_ = @MSGFMT@ MSGFMT_no = @MSGFMT@ MSGFMT_yes = @MSGFMT_015@ MSGFMT = $(MSGFMT_$(USE_MSGCTXT)) XGETTEXT_ = @XGETTEXT@ XGETTEXT_no = @XGETTEXT@ XGETTEXT_yes = @XGETTEXT_015@ XGETTEXT = $(XGETTEXT_$(USE_MSGCTXT)) MSGMERGE = msgmerge MSGMERGE_UPDATE = @MSGMERGE@ --update MSGINIT = msginit MSGCONV = msgconv MSGFILTER = msgfilter POFILES = @POFILES@ GMOFILES = @GMOFILES@ UPDATEPOFILES = @UPDATEPOFILES@ DUMMYPOFILES = @DUMMYPOFILES@ DISTFILES.common = Makefile.in.in remove-potcdate.sin \ $(DISTFILES.common.extra1) $(DISTFILES.common.extra2) $(DISTFILES.common.extra3) DISTFILES = $(DISTFILES.common) Makevars POTFILES.in \ $(POFILES) $(GMOFILES) \ $(DISTFILES.extra1) $(DISTFILES.extra2) $(DISTFILES.extra3) POTFILES = \ CATALOGS = @CATALOGS@ # Makevars gets inserted here. (Don't remove this line!) .SUFFIXES: .SUFFIXES: .po .gmo .mo .sed .sin .nop .po-create .po-update .po.mo: @echo "$(MSGFMT) -c -o $@ $<"; \ $(MSGFMT) -c -o t-$@ $< && mv t-$@ $@ .po.gmo: @lang=`echo $* | sed -e 's,.*/,,'`; \ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o $${lang}.gmo $${lang}.po"; \ cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo .sin.sed: sed -e '/^#/d' $< > t-$@ mv t-$@ $@ all: all-@USE_NLS@ all-yes: stamp-po all-no: # $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no # internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because # we don't want to bother translators with empty POT files). We assume that # LINGUAS is empty in this case, i.e. $(POFILES) and $(GMOFILES) are empty. # In this case, stamp-po is a nop (i.e. a phony target). # stamp-po is a timestamp denoting the last time at which the CATALOGS have # been loosely updated. Its purpose is that when a developer or translator # checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS, # "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent # invocations of "make" will do nothing. This timestamp would not be necessary # if updating the $(CATALOGS) would always touch them; however, the rule for # $(POFILES) has been designed to not touch files that don't need to be # changed. stamp-po: $(srcdir)/$(DOMAIN).pot test ! -f $(srcdir)/$(DOMAIN).pot || \ test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES) @test ! -f $(srcdir)/$(DOMAIN).pot || { \ echo "touch stamp-po" && \ echo timestamp > stamp-poT && \ mv stamp-poT stamp-po; \ } # Note: Target 'all' must not depend on target '$(DOMAIN).pot-update', # otherwise packages like GCC can not be built if only parts of the source # have been downloaded. # This target rebuilds $(DOMAIN).pot; it is an expensive operation. # Note that $(DOMAIN).pot is not touched if it doesn't need to be changed. $(DOMAIN).pot-update: $(POTFILES) $(srcdir)/POTFILES.in remove-potcdate.sed if test -n '$(MSGID_BUGS_ADDRESS)' || test '$(PACKAGE_BUGREPORT)' = '@'PACKAGE_BUGREPORT'@'; then \ msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \ else \ msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \ fi; \ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) \ --files-from=$(srcdir)/POTFILES.in \ --copyright-holder='$(COPYRIGHT_HOLDER)' \ --msgid-bugs-address="$$msgid_bugs_address" test ! -f $(DOMAIN).po || { \ if test -f $(srcdir)/$(DOMAIN).pot; then \ sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \ sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \ if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \ rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \ else \ rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \ fi; \ else \ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \ fi; \ } # This rule has no dependencies: we don't need to update $(DOMAIN).pot at # every "make" invocation, only create it when it is missing. # Only "make $(DOMAIN).pot-update" or "make dist" will force an update. $(srcdir)/$(DOMAIN).pot: $(MAKE) $(DOMAIN).pot-update # This target rebuilds a PO file if $(DOMAIN).pot has changed. # Note that a PO file is not touched if it doesn't need to be changed. $(POFILES): $(srcdir)/$(DOMAIN).pot @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \ if test -f "$(srcdir)/$${lang}.po"; then \ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ echo "$${cdcmd}$(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot"; \ cd $(srcdir) && $(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot; \ else \ $(MAKE) $${lang}.po-create; \ fi install: install-exec install-data install-exec: install-data: install-data-@USE_NLS@ if test "$(PACKAGE)" = "gettext-tools"; then \ $(mkdir_p) $(DESTDIR)$(gettextsrcdir); \ for file in $(DISTFILES.common) Makevars.template; do \ $(INSTALL_DATA) $(srcdir)/$$file \ $(DESTDIR)$(gettextsrcdir)/$$file; \ done; \ for file in Makevars; do \ rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \ done; \ else \ : ; \ fi install-data-no: all install-data-yes: all $(mkdir_p) $(DESTDIR)$(datadir) @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ dir=$(localedir)/$$lang/LC_MESSAGES; \ $(mkdir_p) $(DESTDIR)$$dir; \ if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \ $(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \ echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \ for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \ if test -n "$$lc"; then \ if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \ link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \ mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \ for file in *; do \ if test -f $$file; then \ ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \ fi; \ done); \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ else \ if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \ :; \ else \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ fi; \ fi; \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ ln -s ../LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \ ln $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \ cp -p $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ echo "installing $$realcat link as $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo"; \ fi; \ done; \ done install-strip: install installdirs: installdirs-exec installdirs-data installdirs-exec: installdirs-data: installdirs-data-@USE_NLS@ if test "$(PACKAGE)" = "gettext-tools"; then \ $(mkdir_p) $(DESTDIR)$(gettextsrcdir); \ else \ : ; \ fi installdirs-data-no: installdirs-data-yes: $(mkdir_p) $(DESTDIR)$(datadir) @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ dir=$(localedir)/$$lang/LC_MESSAGES; \ $(mkdir_p) $(DESTDIR)$$dir; \ for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \ if test -n "$$lc"; then \ if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \ link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \ mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \ for file in *; do \ if test -f $$file; then \ ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \ fi; \ done); \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ else \ if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \ :; \ else \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ fi; \ fi; \ fi; \ done; \ done # Define this as empty until I found a useful application. installcheck: uninstall: uninstall-exec uninstall-data uninstall-exec: uninstall-data: uninstall-data-@USE_NLS@ if test "$(PACKAGE)" = "gettext-tools"; then \ for file in $(DISTFILES.common) Makevars.template; do \ rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \ done; \ else \ : ; \ fi uninstall-data-no: uninstall-data-yes: catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ for lc in LC_MESSAGES $(EXTRA_LOCALE_CATEGORIES); do \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ done; \ done check: all info dvi ps pdf html tags TAGS ctags CTAGS ID: mostlyclean: rm -f remove-potcdate.sed rm -f stamp-poT rm -f core core.* $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po rm -fr *.o clean: mostlyclean distclean: clean rm -f Makefile Makefile.in POTFILES *.mo 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 stamp-po $(GMOFILES) distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) dist distdir: $(MAKE) update-po @$(MAKE) dist2 # This is a separate target because 'update-po' must be executed before. dist2: stamp-po $(DISTFILES) dists="$(DISTFILES)"; \ if test "$(PACKAGE)" = "gettext-tools"; then \ dists="$$dists Makevars.template"; \ fi; \ if test -f $(srcdir)/$(DOMAIN).pot; then \ dists="$$dists $(DOMAIN).pot stamp-po"; \ fi; \ if test -f $(srcdir)/ChangeLog; then \ dists="$$dists ChangeLog"; \ fi; \ for i in 0 1 2 3 4 5 6 7 8 9; do \ if test -f $(srcdir)/ChangeLog.$$i; then \ dists="$$dists ChangeLog.$$i"; \ fi; \ done; \ if test -f $(srcdir)/LINGUAS; then dists="$$dists LINGUAS"; fi; \ for file in $$dists; do \ if test -f $$file; then \ cp -p $$file $(distdir) || exit 1; \ else \ cp -p $(srcdir)/$$file $(distdir) || exit 1; \ fi; \ done update-po: Makefile $(MAKE) $(DOMAIN).pot-update test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES) $(MAKE) update-gmo # General rule for creating PO files. .nop.po-create: @lang=`echo $@ | sed -e 's/\.po-create$$//'`; \ echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'." 1>&2; \ exit 1 # General rule for updating PO files. .nop.po-update: @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \ if test "$(PACKAGE)" = "gettext-tools"; then PATH=`pwd`/../src:$$PATH; fi; \ tmpdir=`pwd`; \ echo "$$lang:"; \ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ echo "$${cdcmd}$(MSGMERGE) $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \ cd $(srcdir); \ if $(MSGMERGE) $$lang.po $(DOMAIN).pot -o $$tmpdir/$$lang.new.po; then \ if cmp $$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; \ exit 1; \ fi; \ fi; \ else \ echo "msgmerge for $$lang.po failed!" 1>&2; \ rm -f $$tmpdir/$$lang.new.po; \ fi $(DUMMYPOFILES): update-gmo: Makefile $(GMOFILES) @: Makefile: Makefile.in.in Makevars $(top_builddir)/config.status @POMAKEFILEDEPS@ cd $(top_builddir) \ && $(SHELL) ./config.status $(subdir)/$@.in po-directories force: # 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: gmtp-1.3.10/po/POTFILES.in0000644000175000001440000000041312655605137011663 00000000000000# List of source files which contain translatable strings. src/about.c src/albumart.c src/callbacks.c src/dnd.c src/formatdevice.c src/interface.c src/main.c src/metatag_info.c src/mtp.c src/playlist.c src/preferences.c src/prefs.c src/progress.c src/properties.c gmtp-1.3.10/po/quot.sed0000644000175000001440000000023112655605137011571 00000000000000s/"\([^"]*\)"/“\1”/g s/`\([^`']*\)'/‘\1’/g s/ '\([^`']*\)' / ‘\1’ /g s/ '\([^`']*\)'$/ ‘\1’/g s/^'\([^`']*\)' /‘\1’ /g s/“”/""/g gmtp-1.3.10/po/new_de.po0000644000175000001440000011630312655605137011715 00000000000000#: src/main.c:127 src/callbacks.c:396 msgid "No device attached" msgstr "" #: src/interface.c:289 msgid "_File" msgstr "" #: src/interface.c:298 src/callbacks.c:400 msgid "Connect Device" msgstr "" #: src/interface.c:308 src/interface.c:4146 msgid "Add Files" msgstr "" #: src/interface.c:314 src/interface.c:4150 msgid "Delete Files" msgstr "" #: src/interface.c:320 src/interface.c:4158 msgid "Rename File" msgstr "" #: src/interface.c:326 src/interface.c:4162 src/interface.c:4356 #: src/interface.c:5737 msgid "Move To..." msgstr "" #: src/interface.c:332 src/interface.c:4154 msgid "Download Files" msgstr "" #: src/interface.c:340 src/interface.c:4182 src/interface.c:4344 msgid "Create Folder" msgstr "" #: src/interface.c:347 src/interface.c:4186 src/interface.c:4352 msgid "Delete Folder" msgstr "" #: src/interface.c:357 src/interface.c:4194 src/interface.c:4364 msgid "Refresh Device" msgstr "" #: src/interface.c:363 msgid "Device Properties" msgstr "" #: src/interface.c:375 msgid "_Edit" msgstr "" #: src/interface.c:385 msgid "Select All" msgstr "" #: src/interface.c:402 src/interface.c:3618 msgid "Change Device Name" msgstr "" #: src/interface.c:408 src/callbacks.c:1119 msgid "Format Device" msgstr "" #: src/interface.c:420 src/interface.c:583 src/interface.c:3918 msgid "Album Art" msgstr "" #: src/interface.c:426 msgid "Edit Playlist(s)" msgstr "" #: src/interface.c:438 msgid "_View" msgstr "" #: src/interface.c:446 msgid "Folders" msgstr "" #: src/interface.c:454 src/interface.c:4254 msgid "File Size" msgstr "" #: src/interface.c:458 src/interface.c:1158 src/interface.c:1167 #: src/interface.c:4258 msgid "File Type" msgstr "" #: src/interface.c:462 src/interface.c:4262 msgid "Track Number" msgstr "" #: src/interface.c:466 src/interface.c:1203 src/interface.c:1212 #: src/interface.c:4266 msgid "Track Name" msgstr "" #: src/interface.c:470 src/interface.c:1222 src/interface.c:1231 #: src/interface.c:4270 src/interface.c:4802 src/interface.c:4872 msgid "Artist" msgstr "" #: src/interface.c:474 src/interface.c:1241 src/interface.c:1250 #: src/interface.c:4274 src/interface.c:4812 src/interface.c:4882 msgid "Album" msgstr "" #: src/interface.c:478 src/interface.c:1260 src/interface.c:1269 #: src/interface.c:4278 msgid "Year" msgstr "" #: src/interface.c:482 src/interface.c:1279 src/interface.c:1288 #: src/interface.c:4282 msgid "Genre" msgstr "" #: src/interface.c:486 src/interface.c:1298 src/interface.c:1307 #: src/interface.c:4286 src/interface.c:4840 src/interface.c:4910 msgid "Duration" msgstr "" #: src/interface.c:490 msgid "_Help" msgstr "" #: src/interface.c:500 msgid "_About" msgstr "" #: src/interface.c:529 src/callbacks.c:393 msgid "Connect" msgstr "" #: src/interface.c:533 src/interface.c:535 msgid "Connect/Disconnect to your device." msgstr "" #: src/interface.c:545 src/interface.c:4504 msgid "Add" msgstr "" #: src/interface.c:549 src/interface.c:551 msgid "Add Files to your device." msgstr "" #: src/interface.c:549 msgid "Add a varity of Files to your device in the current folder." msgstr "" #: src/interface.c:556 msgid "Delete" msgstr "" #: src/interface.c:560 src/interface.c:562 msgid "Delete Files/Folders from your device." msgstr "" #: src/interface.c:560 msgid "" "Permanently remove files/folders from your device. Note: Albums are stored " "as *.alb files." msgstr "" #: src/interface.c:567 src/interface.c:4015 msgid "Download" msgstr "" #: src/interface.c:571 src/interface.c:573 msgid "Download Files from your device to your Host PC." msgstr "" #: src/interface.c:571 msgid "" "Download files from your device to your PC. Default Download path is set in " "the preferences dialog." msgstr "" #: src/interface.c:587 src/interface.c:589 msgid "Upload an image file as Album Art." msgstr "" #: src/interface.c:587 msgid "Upload a JPG file and assign it as Album Art." msgstr "" #: src/interface.c:594 src/interface.c:5448 msgid "Playlists" msgstr "" #: src/interface.c:598 src/interface.c:600 msgid "Add and Modify Playlists." msgstr "" #: src/interface.c:605 msgid "Refresh" msgstr "" #: src/interface.c:609 src/interface.c:611 msgid "Refresh File/Folder listing." msgstr "" #: src/interface.c:621 msgid "Properties" msgstr "" #: src/interface.c:625 src/interface.c:627 msgid "View Device Properties." msgstr "" #: src/interface.c:632 msgid "Preferences" msgstr "" #: src/interface.c:636 src/interface.c:638 msgid "View/Change gMTP Preferences." msgstr "" #: src/interface.c:648 src/interface.c:652 msgid "Quit" msgstr "" #: src/interface.c:652 src/interface.c:654 msgid "Quit gMTP." msgstr "" #: src/interface.c:672 msgid "Find:" msgstr "" #: src/interface.c:687 msgid "Filenames" msgstr "" #: src/interface.c:692 msgid "Track Information" msgstr "" #: src/interface.c:1073 src/interface.c:1088 msgid "Filename" msgstr "" #: src/interface.c:1114 src/interface.c:1123 msgid "Size" msgstr "" #: src/interface.c:1177 src/interface.c:1186 src/interface.c:4830 #: src/interface.c:4900 msgid "Track" msgstr "" #: src/interface.c:1325 src/interface.c:1334 msgid "Location" msgstr "" #: src/interface.c:1351 msgid "Folder" msgstr "" #: src/interface.c:1414 msgid "Select Files to Add" msgstr "" #: src/interface.c:1877 #, c-format msgid "Found %d items" msgstr "" #: src/interface.c:1879 #, c-format msgid "Found %d item" msgstr "" #: src/interface.c:1958 src/interface.c:2000 src/callbacks.c:738 msgid "Select Path to Download" msgstr "" #: src/interface.c:2091 src/interface.c:2092 msgid "I don't know how to download a parent folder reference?\n" msgstr "" #: src/interface.c:2124 msgid "Unable to move the selected file?\n" msgstr "" #: src/interface.c:2132 src/interface.c:2133 src/callbacks.c:959 #: src/callbacks.c:960 msgid "Unable to move the selected folder into itself?\n" msgstr "" #: src/interface.c:2150 src/callbacks.c:977 msgid "Unable to move the selected folder?\n" msgstr "" #: src/interface.c:2156 src/interface.c:2157 src/callbacks.c:983 #: src/callbacks.c:984 msgid "Unable to move the selected folder underneath itself?\n" msgstr "" #: src/interface.c:2257 src/interface.c:2258 msgid "I don't know how to delete a parent folder reference?\n" msgstr "" #: src/interface.c:2464 msgid " Preferences" msgstr "" #: src/interface.c:2497 msgid "Attempt to connect to Device on startup" msgstr "" #: src/interface.c:2501 msgid "Utilize alternate access method" msgstr "" #: src/interface.c:2505 msgid "Device" msgstr "" #: src/interface.c:2539 msgid "Confirm File/Folder Delete" msgstr "" #: src/interface.c:2543 msgid "Prompt if to Overwrite file if already exists" msgstr "" #: src/interface.c:2547 msgid "Suppress Album Errors" msgstr "" #: src/interface.c:2551 msgid "Treat all media as regular files" msgstr "" #: src/interface.c:2562 msgid "Playlist" msgstr "" #: src/interface.c:2581 msgid "Prompt to add New Music track to existing playlist" msgstr "" #: src/interface.c:2585 msgid "Ignore path information when importing playlist" msgstr "" #: src/interface.c:2589 msgid "File Operations" msgstr "" #: src/interface.c:2608 msgid "Always show Download Path?" msgstr "" #: src/interface.c:2619 msgid "Download Path:" msgstr "" #: src/interface.c:2626 msgid "Upload Path:" msgstr "" #: src/interface.c:2659 msgid "Filepaths on PC" msgstr "" #: src/interface.c:2807 msgid " Properties" msgstr "" #: src/interface.c:2824 msgid "MTP Device Properties" msgstr "" #: src/interface.c:2833 msgid "Raw Device Information" msgstr "" #: src/interface.c:2856 msgid "Name:" msgstr "" #: src/interface.c:2907 msgid "Model Number:" msgstr "" #: src/interface.c:2916 msgid "Serial Number:" msgstr "" #: src/interface.c:2925 msgid "Device Version:" msgstr "" #: src/interface.c:2934 msgid "Manufacturer:" msgstr "" #: src/interface.c:2943 msgid "Battery Level:" msgstr "" #: src/interface.c:2952 msgid "Storage:" msgstr "" #: src/interface.c:2968 msgid "Supported Formats:" msgstr "" #: src/interface.c:2983 msgid "Secure Time:" msgstr "" #: src/interface.c:2992 msgid "Sync Partner:" msgstr "" #: src/interface.c:3039 msgid "Vendor:" msgstr "" #: src/interface.c:3048 msgid "Product:" msgstr "" #: src/interface.c:3057 msgid "Vendor ID:" msgstr "" #: src/interface.c:3066 msgid "Product ID:" msgstr "" #: src/interface.c:3075 msgid "Device Number:" msgstr "" #: src/interface.c:3084 msgid "Bus Location:" msgstr "" #: src/interface.c:3166 #, c-format msgid "%d MB (free) / %d MB (total)" msgstr "" #: src/interface.c:3261 msgid "file = ( x / x ) x %" msgstr "" #: src/interface.c:3366 #, c-format msgid "%s - %s of %s (%d%%)" msgstr "" #: src/interface.c:3369 #, c-format msgid "%s of %s (%d%%)" msgstr "" #: src/interface.c:3412 src/interface.c:3481 msgid "" "A simple MTP Client for Solaris 10\n" "and other UNIX / UNIX-like systems\n" msgstr "" #: src/interface.c:3443 msgid "translator-credits" msgstr "" #: src/interface.c:3451 msgid "About gMTP" msgstr "" #: src/interface.c:3493 msgid "" "Copyright 2009-2013, Darran Kartaschew\n" "Released under the BSD Licence" msgstr "" #: src/interface.c:3525 msgid "Error" msgstr "" #: src/interface.c:3545 msgid "Information" msgstr "" #: src/interface.c:3561 msgid "New Folder" msgstr "" #: src/interface.c:3579 msgid "Folder Name:" msgstr "" #: src/interface.c:3636 msgid "Device Name:" msgstr "" #: src/interface.c:3678 msgid "Rename File/Folder" msgstr "" #: src/interface.c:3696 msgid "File Name:" msgstr "" #: src/interface.c:3738 msgid "Connect to which device?" msgstr "" #: src/interface.c:3754 msgid "Device:" msgstr "" #: src/interface.c:3780 #, c-format msgid "Unknown : %04x:%04x @ bus %d, dev %d" msgstr "" #: src/interface.c:3817 msgid "Connect to which storage device?" msgstr "" #: src/interface.c:3834 msgid "Storage Device:" msgstr "" #: src/interface.c:3855 #, c-format msgid "Unknown id: %d, %llu MB" msgstr "" #: src/interface.c:3890 #, c-format msgid "" "File %s already exists in target folder.\n" "Do you want to:" msgstr "" #: src/interface.c:3892 msgid "Skip" msgstr "" #: src/interface.c:3893 msgid "Skip All" msgstr "" #: src/interface.c:3894 msgid "Overwrite" msgstr "" #: src/interface.c:3895 msgid "Overwrite All" msgstr "" #: src/interface.c:3897 msgid "Question: Confirm Overwrite of Existing File?" msgstr "" #: src/interface.c:3945 msgid "Album:" msgstr "" #: src/interface.c:3963 msgid "" "No Albums available to set Album Art with. Either:\n" "1. You have no music files uploaded?\n" "2. Your device does not support Albums?\n" "3. Previous applications used to upload files do not autocreate albums for " "you or support the metadata for those files in order to create the albums " "for you?\n" msgstr "" #: src/interface.c:4006 msgid "Upload" msgstr "" #: src/interface.c:4010 msgid "Remove" msgstr "" #: src/interface.c:4170 msgid "Add To Playlist" msgstr "" #: src/interface.c:4174 msgid "Remove From Playlist" msgstr "" #: src/interface.c:4348 msgid "Rename Folder" msgstr "" #: src/interface.c:4450 msgid " Playlists" msgstr "" #: src/interface.c:4468 msgid "Current Playlist: " msgstr "" #: src/interface.c:4487 src/interface.c:4489 src/interface.c:5491 #: src/interface.c:5493 msgid "Add New Playlist" msgstr "" #: src/interface.c:4513 src/interface.c:4515 msgid "Remove Current Selected Playlist" msgstr "" #: src/interface.c:4530 msgid "Del" msgstr "" #: src/interface.c:4541 src/interface.c:4543 msgid "Import Playlist" msgstr "" #: src/interface.c:4553 src/interface.c:4555 msgid "Export Playlist" msgstr "" #: src/interface.c:4574 src/interface.c:4576 msgid "Device Audio Tracks" msgstr "" #: src/interface.c:4596 src/interface.c:4598 msgid "Add file to playlist" msgstr "" #: src/interface.c:4613 msgid "Add File" msgstr "" #: src/interface.c:4621 src/interface.c:4623 msgid "Remove file from playlist" msgstr "" #: src/interface.c:4638 msgid "Del File" msgstr "" #: src/interface.c:4652 src/interface.c:4654 msgid "Playlist Audio Tracks" msgstr "" #: src/interface.c:4674 src/interface.c:4676 msgid "Move selected file up in the playlist" msgstr "" #: src/interface.c:4683 src/interface.c:4685 msgid "Move selected file down in the playlist" msgstr "" #: src/interface.c:4862 msgid "Num" msgstr "" #: src/interface.c:5038 msgid "New Playlist" msgstr "" #: src/interface.c:5056 src/interface.c:5467 msgid "Playlist Name:" msgstr "" #: src/interface.c:5360 src/interface.c:5372 src/mtp.c:1769 src/mtp.c:1829 msgid "realloc in savePlayList failed\n" msgstr "" #: src/interface.c:5361 src/interface.c:5373 src/mtp.c:1770 src/mtp.c:1830 msgid "Updating playlist failed? 'realloc in savePlayList'\n" msgstr "" #: src/mtp.c:120 src/mtp.c:121 msgid "Detect: No raw devices found.\n" msgstr "" #: src/mtp.c:124 src/mtp.c:125 src/mtp.c:133 src/mtp.c:134 msgid "Detect: There has been an error connecting. \n" msgstr "" #: src/mtp.c:128 src/mtp.c:129 msgid "Detect: Encountered a Memory Allocation Error. \n" msgstr "" #: src/mtp.c:155 src/mtp.c:156 msgid "Detect: Unable to open raw device?\n" msgstr "" #: src/mtp.c:169 src/mtp.c:170 msgid "Detect: No available Storage found on device?\n" msgstr "" #: src/mtp.c:253 src/mtp.c:258 msgid "Unknown" msgstr "" #: src/mtp.c:271 src/mtp.c:279 src/mtp.c:296 src/mtp.c:304 src/mtp.c:312 #: src/mtp.c:320 src/mtp.c:333 src/callbacks.c:1095 msgid "N/A" msgstr "" #: src/mtp.c:359 msgid "DevicePropeties: How did I get called?\n" msgstr "" #: src/mtp.c:484 msgid "Failed to get storage parameters from the device - need to disconnect." msgstr "" #: src/mtp.c:496 src/mtp.c:504 src/callbacks.c:80 src/callbacks.c:89 #: src/callbacks.c:365 src/callbacks.c:374 src/callbacks.c:1312 #: src/callbacks.c:1320 #, c-format msgid "Connected to %s - %d MB free" msgstr "" #: src/mtp.c:500 src/callbacks.c:84 src/callbacks.c:369 src/callbacks.c:1316 #, c-format msgid "Connected to %s (%s) - %d MB free" msgstr "" #: src/mtp.c:511 msgid "Rescan: How did I get called?\n" msgstr "" #: src/mtp.c:652 #, c-format msgid "" "Unable to add %s due to insufficient space: filesize = %llu, freespace = %" "llu\n" msgstr "" #: src/mtp.c:654 msgid "Unable to add file due to insufficient space" msgstr "" #: src/mtp.c:659 msgid "File Upload" msgstr "" #: src/mtp.c:720 src/mtp.c:730 msgid "" msgstr "" #: src/mtp.c:749 msgid "Error sending track.\n" msgstr "" #: src/mtp.c:750 #, c-format msgid "Error code %d sending track to device: %s" msgstr "" #: src/mtp.c:797 #, c-format msgid "Error sending file %s.\n" msgstr "" #: src/mtp.c:798 msgid "Error sending file:" msgstr "" #: src/mtp.c:876 #, c-format msgid "" "\n" "Failed to delete file %s\n" msgstr "" #: src/mtp.c:877 msgid "Failed to delete file" msgstr "" #: src/mtp.c:899 msgid "File download" msgstr "" #: src/mtp.c:904 msgid "" "\n" "Error getting file from MTP device.\n" msgstr "" #: src/mtp.c:905 msgid "Error getting file from MTP device." msgstr "" #: src/mtp.c:1014 src/mtp.c:1113 #, c-format msgid "Folder creation failed: %s\n" msgstr "" #: src/mtp.c:1015 src/mtp.c:1114 msgid "Folder creation failed:" msgstr "" #: src/mtp.c:1068 #, c-format msgid "Couldn't delete folder %s (%x)\n" msgstr "" #: src/mtp.c:1271 #, c-format msgid "Error: Couldn't set device name to %s\n" msgstr "" #: src/mtp.c:1277 msgid "setDeviceName: How did I get called?\n" msgstr "" #: src/mtp.c:1356 msgid "ERROR: Failed memory allocation in albumAddTrackToAlbum()\n" msgstr "" #: src/mtp.c:1385 src/mtp.c:1386 msgid "" "Error creating or updating album.\n" "(This could be due to that your device does not support albums.)\n" msgstr "" #: src/mtp.c:1419 msgid "ERROR: Failed memory allocation in albumAddArt()\n" msgstr "" #: src/mtp.c:1424 #, c-format msgid "Couldn't open image file %s\n" msgstr "" #: src/mtp.c:1439 src/mtp.c:1440 msgid "Couldn't send album art\n" msgstr "" #: src/mtp.c:1492 src/mtp.c:1493 msgid "Couldn't remove album art\n" msgstr "" #: src/mtp.c:1556 src/mtp.c:1674 msgid "Couldn't create playlist object\n" msgstr "" #: src/mtp.c:1572 msgid "Deleting playlist failed?\n" msgstr "" #: src/mtp.c:1587 msgid "Updating playlist failed?\n" msgstr "" #: src/mtp.c:1620 #, c-format msgid "Couldn't open playlist file %s\n" msgstr "" #: src/mtp.c:1621 msgid "Couldn't open playlist file\n" msgstr "" #: src/mtp.c:1643 msgid "realloc in playlistImport failed\n" msgstr "" #: src/mtp.c:1644 msgid "Updating playlist failed? 'realloc in playlistImport'\n" msgstr "" #: src/mtp.c:1680 msgid "Playlist imported.\n" msgstr "" #: src/mtp.c:1684 src/mtp.c:1685 msgid "" "Found no tracks within the playlist that exist on this device. Did not " "import the playlist.\n" msgstr "" #: src/mtp.c:1717 #, c-format msgid "Couldn't save playlist file %s\n" msgstr "" #: src/mtp.c:1718 msgid "Couldn't save playlist file\n" msgstr "" #: src/mtp.c:1746 msgid "Format Device failed?\n" msgstr "" #: src/mtp.c:2063 src/mtp.c:2119 src/mtp.c:2203 msgid "malloc in filesSearch failed\n" msgstr "" #: src/mtp.c:2064 src/mtp.c:2120 src/mtp.c:2204 msgid "Failed searching? 'malloc in filesSearch'\n" msgstr "" #: src/mtp.c:2280 msgid "malloc in foldersearch failed\n" msgstr "" #: src/mtp.c:2281 msgid "Failed searching? 'malloc in foldersearch'\n" msgstr "" #: src/callbacks.c:199 src/callbacks.c:253 src/callbacks.c:291 #: src/callbacks.c:332 src/callbacks.c:885 src/callbacks.c:938 #: src/callbacks.c:1012 src/callbacks.c:1050 src/callbacks.c:2012 #: src/callbacks.c:2035 msgid "No files/folders selected?" msgstr "" #: src/callbacks.c:216 msgid "Unable to rename parent folder\n" msgstr "" #: src/callbacks.c:217 msgid "Unable to rename this folder" msgstr "" #: src/callbacks.c:244 msgid "" "The move function is disabled when using the alternate access method for " "your device." msgstr "" #: src/callbacks.c:305 msgid "Are you sure you want to delete these files?" msgstr "" #: src/callbacks.c:306 src/callbacks.c:904 src/callbacks.c:1065 msgid "Confirm Delete" msgstr "" #: src/callbacks.c:361 msgid "Disconnect" msgstr "" #: src/callbacks.c:384 msgid "Disconnect Device" msgstr "" #: src/callbacks.c:647 msgid "Select Path to Download to" msgstr "" #: src/callbacks.c:682 msgid "Select Path to Upload From" msgstr "" #: src/callbacks.c:903 src/callbacks.c:1064 msgid "Are you sure you want to delete this folder (and all contents)?" msgstr "" #: src/callbacks.c:1118 msgid "Are you sure you want to format this device?" msgstr "" #: src/callbacks.c:1247 msgid "Please enter search item." msgstr "" #: src/callbacks.c:1248 msgid "Search" msgstr "" #: src/callbacks.c:1356 msgid "Searching..." msgstr "" #: src/callbacks.c:1412 msgid "Select Album Art File" msgstr "" #: src/callbacks.c:1514 msgid "Save Album Art File" msgstr "" #: src/callbacks.c:1536 #, c-format msgid "Couldn't save image file %s\n" msgstr "" #: src/callbacks.c:1537 msgid "Couldn't save image file\n" msgstr "" #: src/callbacks.c:1669 msgid "Select Playlist to Import" msgstr "" #: src/callbacks.c:1719 src/callbacks.c:1720 msgid "The playlist failed to import correctly.\n" msgstr "" #: src/callbacks.c:1756 msgid "Save as..." msgstr "" #: src/prefs.c:117 msgid "" "WARNING: gconf schema invalid, reverting to defaults. Please ensure schema " "is loaded in gconf database.\n" msgstr "" #: src/prefs.c:221 msgid "" "WARNING: gconf schema invalid, unable to save! Please ensure schema is " "loaded in gconf database.\n" msgstr "" #: src/prefs.c:425 src/prefs.c:615 msgid "Disconnected device due to access method change" msgstr "" #: src/prefs.c:441 msgid "" "WARNING: gconf_callback_func() failed - we got a callback for a key thats " "not ours?\n" msgstr "" #: src/prefs.c:625 msgid "" "WARNING: gsettings_callback_func() failed - we got a callback for a key " "thats not ours?\n" msgstr "" domain "gmtp" #, fuzzy #~ msgid "" #~ msgstr "" #~ "Project-Id-Version: gmtp 1.3.5\n" #~ "Report-Msgid-Bugs-To: chewy509@mailcity.com\n" #~ "POT-Creation-Date: 2013-12-06 21:51+1000\n" #~ "PO-Revision-Date: 2013-12-04 20:20+1000\n" #~ "Last-Translator: Cai Andersen\n" #~ "Language-Team: chewy509@mailcity.com\n" #~ "Language: de\n" #~ "MIME-Version: 1.0\n" #~ "Content-Type: text/plain; charset=UTF-8\n" #~ "Content-Transfer-Encoding: 8bit\n" #~ msgid "" #~ "\n" #~ "Error getting file from MTP device.\n" #~ msgstr "" #~ "\n" #~ "Fehler beim Abrufen der Datei aus MTP-Gert.\n" #~ msgid "" #~ "\n" #~ "Failed to delete file %s\n" #~ msgstr "" #~ "\n" #~ "Konnte die Datei nicht lschen %s\n" #~ msgid " %s %s : (%04x:%04x) @ bus %d, dev %d" #~ msgstr " %s %s : (%04x:%04x) @ bus %d, dev %d" #~ msgid " : %d MB (free) / %d MB (total)" #~ msgstr " : %d MB (frei) / %d MB (gesamt)" #~ msgid " Playlists" #~ msgstr " Playlisten" #~ msgid " Preferences" #~ msgstr " Einstellungen" #~ msgid " Properties" #~ msgstr " Eigenschaften" #~ msgid "%d MB (free) / %d MB (total)" #~ msgstr "%d MB (frei) / %d MB (gesamt)" #~ msgid "%s of %s (%d%%)" #~ msgstr "%s von %s (%d%%)" #~ msgid "%s - %s of %s (%d%%)" #~ msgstr "%s - %s von %s (%d%%)" #~ msgid "" #~ msgstr "" #~ msgid "" #~ msgstr "" #~ msgid "Battery Level:" #~ msgstr "Batterie-Fllstand:" #~ msgid "Bus Location:" #~ msgstr "Bus Adresse:" #~ msgid "Device Number:" #~ msgstr "Device-Nummer:" #~ msgid "Device Version:" #~ msgstr "Device Version:" #~ msgid "Device" #~ msgstr "Device" #~ msgid "File Operations" #~ msgstr "Dateioperationen" #~ msgid "Filepaths on PC" #~ msgstr "Dateipfade auf dem PC" #~ msgid "MTP Device Properties" #~ msgstr "MTP-Gert Eigenschaften" #~ msgid "Manufacturer:" #~ msgstr "Hersteller:" #~ msgid "Model Number:" #~ msgstr "Modellnummer:" #~ msgid "Name:" #~ msgstr "Name:" #~ msgid "Product ID:" #~ msgstr "Produkt-ID:" #~ msgid "Product:" #~ msgstr "Produkt:" #~ msgid "Raw Device Information" #~ msgstr "Rohe Gerte-Informationen" #~ msgid "Secure Time:" #~ msgstr "Sichere Zeit:" #~ msgid "Serial Number:" #~ msgstr "Seriennummer:" #~ msgid "Storage:" #~ msgstr "Speicherplatz:" #~ msgid "Supported Formats:" #~ msgstr "Untersttzte Formate:" #~ msgid "Sync Partner:" #~ msgstr "Synchronisations-Partner:" #~ msgid "Vendor ID:" #~ msgstr "Vendor-ID:" #~ msgid "Vendor:" #~ msgstr "Hersteller:" #~ msgid "" #~ "Copyright 2009-2011, Darran Kartaschew\n" #~ "Released under the BSD Licence\n" #~ msgstr "" #~ "Copyright 2009-2011, Darran Kartaschew\n" #~ "unter der BSD Licence verffentlicht\n" #~ msgid "" #~ "A simple MTP Client for Solaris 10\n" #~ "and other UNIX / UNIX-like systems\n" #~ msgstr "" #~ "Ein einfacher MTP-Client fr Solaris 10\n" #~ "und andere UNIX/UNIX-hnlichen Systeme\n" #~ msgid "About gMTP" #~ msgstr "ber gMTP" #~ msgid "Add" #~ msgstr "Hinzufgen" #~ msgid "Add Album Art" #~ msgstr "Album-Cover hinzufgen" #~ msgid "Add File" #~ msgstr "Datei hinzufgen" #~ msgid "Add Files" #~ msgstr "Dateien hinzufgen" #~ msgid "Add Files to your device." #~ msgstr "Hinzufgen von Dateien zu Ihrem Gert." #~ msgid "Add New Playlist" #~ msgstr "Neue Playlist einfgen" #~ msgid "Add a varity of Files to your device in the current folder." #~ msgstr "Fge mehrere Dateien auf Ihr Gert im aktuellen Ordner hinzu." #~ msgid "Add and Modify Playlists." #~ msgstr "Hinzufgen und ndern von Playlisten." #~ msgid "Add file to playlist" #~ msgstr "Datei zu Playlist hinzufgen" #~ msgid "Album" #~ msgstr "Album" #~ msgid "Album Art" #~ msgstr "Album Cover" #~ msgid "Album:" #~ msgstr "Album:" #~ msgid "Always show Download Path?" #~ msgstr "Download-Pfad immer anzeigen?" #~ msgid "Are you sure you want to delete these files?" #~ msgstr "Sind Sie sicher, dass Sie diese Dateien lschen mchten?" #~ msgid "Are you sure you want to delete this folder (and all contents)?" #~ msgstr "" #~ "Sie sind sicher, dass Sie diesen Ordner lschen mchten (und alle Inhalte)?" #~ msgid "Artist" #~ msgstr "Knstler" #~ msgid "Attempt to connect to Device on startup" #~ msgstr "Versuchen, beim Start zum Gert zu verbinden" #~ msgid "Change Device Name" #~ msgstr "Gerte-Namen ndern" #~ msgid "Confirm Delete" #~ msgstr "Lschen besttigen" #~ msgid "Confirm File/Folder Delete" #~ msgstr "Lschen von Datei/Ordner besttigen" #~ msgid "Connect" #~ msgstr "Verbinden" #~ msgid "Connect Device" #~ msgstr "Gert verbinden" #~ msgid "Connect to which device?" #~ msgstr "Verbinden mit welchem Gert?" #~ msgid "Connect to which storage device?" #~ msgstr "Verbinden mit welchem Speichergert?" #~ msgid "Connect/Disconnect to your device." #~ msgstr "Verbinden/Trennen von Gert." #~ msgid "Connected to %s (%s) - %d MB free" #~ msgstr "Verbunden mit %s (%s) - %d MB frei" #~ msgid "Connected to %s - %d MB free" #~ msgstr "Verbunden mit %s - %d MB frei" #~ msgid "Couldn't create playlist object\n" #~ msgstr "Playlist konnte nicht erstellt werden\n" #~ msgid "Couldn't delete folder %s (%x)\n" #~ msgstr "Ordner konnte nicht gelscht werden %s (%x)\n" #~ msgid "Couldn't open image file %s\n" #~ msgstr "Bild-Datei konnte nicht geffnet werden %s\n" #~ msgid "Couldn't send album art\n" #~ msgstr "Album-Cover konnte nicht gesendet werden\n" #~ msgid "Create Folder" #~ msgstr "Ordner erstellen" #~ msgid "Current Playlist: " #~ msgstr "Aktuelle Playlist: " #~ msgid "Del" #~ msgstr "Lschen" #~ msgid "Del File" #~ msgstr "Datei lschen" #~ msgid "Delete" #~ msgstr "Lschen" #~ msgid "Delete Files" #~ msgstr "Dateien lschen" #~ msgid "Delete Files/Folders from your device." #~ msgstr "Lschen von Dateien/Ordnern vom Gert." #~ msgid "Delete Folder" #~ msgstr "Ordner lschen" #~ msgid "Deleting playlist failed?\n" #~ msgstr "Lschen von Playlist gescheitert?\n" #~ msgid "Detect: Encountered a Memory Allocation Error. \n" #~ msgstr "Fehler: Speicherzugriffsfehler.\n" #~ msgid "Detect: No raw devices found.\n" #~ msgstr "Fehler: Kein Gert gefunden.\n" #~ msgid "Detect: There has been an error connecting. \n" #~ msgstr "Fehler: Fehler beim verbinden.\n" #~ msgid "Detect: Unable to open raw device?\n" #~ msgstr "Fehler: Verbindung zu Gert nicht mglich.\n" #~ msgid "Device Audio Tracks" #~ msgstr "Audio-Dateien" #~ msgid "Device Name:" #~ msgstr "Gertename:" #~ msgid "Device Properties" #~ msgstr "Gerteeigenschaften" #~ msgid "Device:" #~ msgstr "Gert:" #~ msgid "DevicePropeties: How did I get called?\n" #~ msgstr "Gerteeigenschaften: Wie werde ich genannt?\n" #~ msgid "Disconnect" #~ msgstr "Trennen" #~ msgid "Disconnect Device" #~ msgstr "Gert trennen" #~ msgid "Download" #~ msgstr "Download" #~ msgid "Download Files" #~ msgstr "Dateien herunterladen" #~ msgid "Download Files from your device to your Host PC." #~ msgstr "Dateien vom Gert zum PC herunterladen." #~ msgid "Download Path:" #~ msgstr "Download-Pfad:" #~ msgid "" #~ "Download files from your device to your PC. Default Download path is set " #~ "in the prefernces dialog." #~ msgstr "" #~ "Herunterladen von Dateien von Ihrem Gert auf Ihren PC. Standard Download-" #~ "Pfad ist im Einstellungen-Dialog eingestellt." #~ msgid "Duration" #~ msgstr "Dauer" #~ msgid "ERROR: Failed memory allocation in albumAddArt()\n" #~ msgstr "ERROR: Speicherzuweisung in albumAddArt() gescheitert\n" #~ msgid "ERROR: Failed memory allocation in albumAddTrackToAlbum()\n" #~ msgstr "ERROR: Speicherzuweisung in albumAddTrackToAlbum() gescheitert\n" #~ msgid "Edit Playlist(s)" #~ msgstr "Playliste bearbeiten" #~ msgid "Error" #~ msgstr "Fehler" #~ msgid "Error code %d sending track to device: %s" #~ msgstr "Fehlercode %d beim Senden zum Gert: %s" #~ msgid "" #~ "Error creating or updating album.\n" #~ "(This could be due to that your device does not support albums.)\n" #~ msgstr "" #~ "Fehler beim Erstellen oder Aktualisieren von Album.\n" #~ "(Dies knnte darauf zurckzufhren sein, dass Ihr Gert keine Alben " #~ "untersttzt.)\n" #~ msgid "Error getting file from MTP device." #~ msgstr "Fehler beim Abrufen der Datei vom MTP-Gert." #~ msgid "Error sending file %s.\n" #~ msgstr "Fehler beim Senden der Datei %s.\n" #~ msgid "Error sending file:" #~ msgstr "Fehler beim Senden der Datei:" #~ msgid "Error sending track.\n" #~ msgstr "Fehler beim Senden der Musiktitel.\n" #~ msgid "Error: Couldn't set device name to %s\n" #~ msgstr "Fehler: Konnte Gertenamen nicht setzen zu %s\n" #~ msgid "Failed to delete file" #~ msgstr "Konnte die Datei nicht lschen" #~ msgid "" #~ "File %s already exists in target folder.\n" #~ "Do you want to:" #~ msgstr "" #~ "Datei %s existiert bereits in Zielordner.\n" #~ "Wollen Sie:" #~ msgid "File Upload" #~ msgstr "Datei-Upload" #~ msgid "File download" #~ msgstr "Datei herunterladen" #~ msgid "FileSize Hidden" #~ msgstr "Dateigre versteckt" #~ msgid "Filename" #~ msgstr "Dateiname" #~ msgid "Filename:" #~ msgstr "Dateiname:" #~ msgid "Folder Name:" #~ msgstr "Ordnername:" #~ msgid "Folder creation failed:" #~ msgstr "Ordner erstellen fehlgeschlagen:" #~ msgid "Folder creation failed: %s\n" #~ msgstr "Ordner erstellen fehlgeschlagen: %s\n" #~ msgid "I don't know how to delete a parent folder reference?\n" #~ msgstr "Ich wei nicht, wie man einen bergeordneten Ordnerverweis lsche?\n" #~ msgid "Information" #~ msgstr "Information" #~ msgid "Move selected file down in the playlist" #~ msgstr "Bewege die ausgewhlte Datei herunter in der Playlist" #~ msgid "Move selected file up in the playlist" #~ msgstr "Bewege die ausgewhlte Datei herauf in der Playlist" #~ msgid "N/A" #~ msgstr "N/A" #~ msgid "New Folder" #~ msgstr "Neuer Ordner" #~ msgid "New Playlist" #~ msgstr "Neue Playlist" #~ msgid "" #~ "No Albums available to set Album Art with. Either:\n" #~ "1. You have no music files uploaded?\n" #~ "2. Your device does not support Albums?\n" #~ "3. Previous applications used to upload files do not autocreate albums " #~ "for you or support the metadata for those files in order to create the " #~ "albums for you?\n" #~ msgstr "" #~ "Keine Alben zur Verfgung um Cover zu ndern. Entweder:\n" #~ "1. Sie haben keine Musik-Dateien hochgeladen?\n" #~ "2. Ihr Gert untersttzt keine Alben?\n" #~ "3. Vorherige Anwendungen haben Dateien hochgeladen ohne Alben zu " #~ "erstellen oder untersttzen keine Meta-Daten, um Alben zu erstellen?\n" #~ msgid "No device attached" #~ msgstr "Kein Gert angeschlossen" #~ msgid "No files/folders selected?" #~ msgstr "Keine Dateien/Ordner ausgewhlt?" #~ msgid "Num" #~ msgstr "Nummer" #~ msgid "Object ID" #~ msgstr "Objekt-ID" #~ msgid "Overwrite" #~ msgstr "berschreiben" #~ msgid "Overwrite All" #~ msgstr "Alle berschreiben" #~ msgid "" #~ "Permanently remove files/folders from your device. Note: Albums are " #~ "stored as *.alb files." #~ msgstr "" #~ "Dateien/Ordner dauerhaft von Ihrem Gert entfernen. Hinweis: Die Alben " #~ "werden als *.alb-Dateien gespeichert." #~ msgid "Playlist Audio Tracks" #~ msgstr "Titel in Playlist" #~ msgid "Playlist Name:" #~ msgstr "Name der Playlist:" #~ msgid "Playlists" #~ msgstr "Playlisten" #~ msgid "Preferences" #~ msgstr "Einstellungen" #~ msgid "Prompt if to Overwrite file if already exists" #~ msgstr "Fragen, wenn Dateien berschrieben werden, die bereits existieren" #~ msgid "Properties" #~ msgstr "Eigenschaften" #~ msgid "Question: Confirm Overwrite of Existing File?" #~ msgstr "Frage: Besttigen beim berschreiben von Dateien?" #~ msgid "Quit" #~ msgstr "Beenden" #~ msgid "Quit gMTP." #~ msgstr "gMTP beenden" #~ msgid "Refresh" #~ msgstr "Aktualisieren" #~ msgid "Refresh Device" #~ msgstr "Gert aktualisieren" #~ msgid "Refresh File/Folder listing." #~ msgstr "Aktualisieren von Dateien und Ordnern." #~ msgid "Remove Current Selected Playlist" #~ msgstr "Entfernen Sie aktuell ausgewhlte Playlist" #~ msgid "Remove file from playlist" #~ msgstr "Entferne Datei von Playlist" #~ msgid "Rescan: How did I get called?\n" #~ msgstr "Rescan: Wie wurde ich genannt?\n" #~ msgid "Select Album Art File" #~ msgstr "Whlen Sie die Cover-Datei" #~ msgid "Select Files to Add" #~ msgstr "Dateien zum Hinzufgen auswhlen" #~ msgid "Select Path to Download" #~ msgstr "Whlen Sie den Pfad zum Herunterladen" #~ msgid "Select Path to Download to" #~ msgstr "Whlen Sie Pfad, zu dem heruntergeladen werden soll" #~ msgid "Select Path to Upload From" #~ msgstr "Whlen Sie Pfad, von dem hochgeladen werden soll" #~ msgid "Size" #~ msgstr "Gre" #~ msgid "Skip" #~ msgstr "berspringen" #~ msgid "Skip All" #~ msgstr "Alle berspringen" #~ msgid "Storage Device:" #~ msgstr "Speichergert:" #~ msgid "Track" #~ msgstr "Titel" #~ msgid "" #~ "Unable to add %s due to insufficient space: filesize = %lu, freespace = %" #~ "lu\n" #~ msgstr "" #~ "Kann %s nicht hinzuzufgen wegen Platzmangels: Dateigre = %lu, freier " #~ "Speicherplatz = %lu\n" #~ msgid "Unable to add file due to insufficient space" #~ msgstr "Datei konnte wegen Platzmangels nicht hinzugefgt werden" #~ msgid "Unknown" #~ msgstr "Unbekannt" #~ msgid "Unknown : %04x:%04x @ bus %d, dev %d" #~ msgstr "Unbekannt : %04x:%04x @ bus %d, dev %d" #~ msgid "Unknown id: %d, %lu MB" #~ msgstr "Unbekannt id: %d, %lu MB" #~ msgid "Updating playlist failed?\n" #~ msgstr "Aktualisieren der Playlist gescheitert?\n" #~ msgid "Updating playlist failed? 'realloc in savePlayList'\n" #~ msgstr "Aktualisieren der Playlist gescheitert? 'realloc in savePlayList'\n" #~ msgid "Upload Path:" #~ msgstr "Upload Pfad:" #~ msgid "Upload a JPG file and assign it as Album Art." #~ msgstr "Laden Sie ein JPG-Datei hoch und weisen Sie es als Album-Cover zu." #~ msgid "Upload an image file as Album Art." #~ msgstr "Hochladen einer Bilddatei als Album-Cover." #~ msgid "View Device Properties." #~ msgstr "Gerte Eigenschaften." #~ msgid "View/Change gMTP Preferences." #~ msgstr "Anzeigen/ndern von gMTP Einstellungen." #~ msgid "" #~ "WARNING: gconf schema invalid, reverting to defaults. Please ensure " #~ "schema is loaded in gconf database.\n" #~ msgstr "" #~ "WARNUNG: gconf Schema ungltig, Rckgriff auf Standardwerte. Bitte stellen " #~ "Sie sicher dass das Schema in der gconf-Datenbank geladen ist.\n" #~ msgid "" #~ "WARNING: gconf schema invalid, unable to save! Please ensure schema is " #~ "loaded in gconf database.\n" #~ msgstr "" #~ "WARNUNG: gconf Schema ungltig, kann nicht speichern! Bitte stellen Sie " #~ "sicher dass das Schema in der gconf-Datenbank geladen ist.\n" #~ msgid "" #~ "WARNING: gconf_callback_func() failed - we got a callback for a key thats " #~ "not ours?\n" #~ msgstr "" #~ "WARNUNG: gconf_callback_func () failed - wir haben einen Callback fr " #~ "einen Key der nicht uns gehrt?\n" #~ msgid "_About" #~ msgstr "_ber" #~ msgid "_Edit" #~ msgstr "_Bearbeiten" #~ msgid "_File" #~ msgstr "_Datei" #~ msgid "_Help" #~ msgstr "_Hilfe" #~ msgid "file = ( x / x ) x %" #~ msgstr "file = ( x / x ) x %" #~ msgid "file://" #~ msgstr "file://" #~ msgid "realloc in savePlayList failed\n" #~ msgstr "realloc in savePlayList gescheitert\n" #~ msgid "setDeviceName: How did I get called?\n" #~ msgstr "setDeviceName: Wie wurde ich genannt?\n" #~ msgid "File Type" #~ msgstr "Dateityp" #~ msgid "Track Name" #~ msgstr "Titelname" #~ msgid "Year" #~ msgstr "Jahr" #~ msgid "_View" #~ msgstr "_Anzeigen" #~ msgid "File Size" #~ msgstr "Datei-Gre" #~ msgid "Track Number" #~ msgstr "Titelnummer" #~ msgid "Genre" #~ msgstr "Genre" # ########################################## #~ msgid "Save Album Art File" #~ msgstr "Album-Cover speichern" #~ msgid "Couldn't save image file %s\n" #~ msgstr "Konnte Bild-Datei %s nicht speichern\n" #~ msgid "Couldn't save image file\n" #~ msgstr "Konnte Bild-Datei nicht speichern\n" #~ msgid "" #~ "Failed to get storage parameters from the device - need to disconnect." #~ msgstr "" #~ "Fehler beim Abrufen von Speicher-Parametern vom Gert - Verbindung muss " #~ "getrennt werden." #~ msgid "Couldn't remove album art\n" #~ msgstr "Konnte Album-Cover nicht entfernen\n" #~ msgid "Rename File" #~ msgstr "Datei umbenennen" #~ msgid "Rename File/Folder" #~ msgstr "Datei/Ordner umbenennen" #~ msgid "File Name:" #~ msgstr "Dateiname:" #~ msgid "Upload" #~ msgstr "Hochladen" #~ msgid "Remove" #~ msgstr "Entfernen" #~ msgid "Format Device" #~ msgstr "Gert formatieren" #~ msgid "Are you sure you want to format this device?" #~ msgstr "Sind Sie sicher, dass Sie dieses Gert formatieren mchten?" #~ msgid "Format Device failed?\n" #~ msgstr "Formatierung gescheitert?\n" #~ msgid "Prompt to add New Music track to existing playlist" #~ msgstr "Fragen beim Hinzufgen von neuen Titeln zu bestehender Playlist" # ########################################################## #~ msgid "Import Playlist" #~ msgstr "Playlist importieren" #~ msgid "Export Playlist" #~ msgstr "Playlist exportieren" #~ msgid "Select Playlist to Import" #~ msgstr "Whlen Sie die zu importierende Playlist" #~ msgid "The playlist failed to import correctly.\n" #~ msgstr "Die Playlist konnte nicht korrekt importiert werden.\n" #~ msgid "Ignore path information when importing playlist" #~ msgstr "Pfadinformationen beim Importieren der Playlist ignorieren" #~ msgid "Playlist" #~ msgstr "Playlist" #~ msgid "Couldn't save playlist file\n" #~ msgstr "Konnte Playlist-Datei nicht speichern\n" #~ msgid "Couldn't save playlist file %s\n" #~ msgstr "Konnte Playlist-Datei %s nicht speichern\n" #~ msgid "Couldn't open playlist file\n" #~ msgstr "Konnte Playlist-Datei nicht ffnen\n" #~ msgid "Couldn't open playlist file %s\n" #~ msgstr "Konnte Playlist-Datei %s nicht ffnen\n" #~ msgid "" #~ "Found no tracks within the playlist that exist on this device. Did not " #~ "import the playlist.\n" #~ msgstr "" #~ "Konnte keine Titel in der Playlist finden, die auf dem Gert existieren. " #~ "Playlist wurde nicht importiert.\n" #~ msgid "Playlist imported.\n" #~ msgstr "Playlist importiert.\n" # ########################################################## #~ msgid "Folders" #~ msgstr "Ordnern" #~ msgid "Folder" #~ msgstr "Ordner" #~ msgid "Rename Folder" #~ msgstr "Ordner umbenennen" #~ msgid "Move To..." #~ msgstr "Umzug nach..." #~ msgid "Unable to move the selected folder underneath itself?\n" #~ msgstr "Unfhig, die ausgewhlten Ordner unter sich zu bewegen?\n" #~ msgid "Unable to move the selected folder into itself?\n" #~ msgstr "Unfhig, die ausgewhlten Ordner in sich selbst zu bewegen?\n" #~ msgid "Unable to move the selected file?\n" #~ msgstr "Unfhig, die ausgewhlte Datei zu bewegen?\n" #~ msgid "Unable to move the selected folder?\n" #~ msgstr "Unfhig, die ausgewhlten Ordner zu verschieben?\n" #~ msgid "translator-credits" #~ msgstr "Laurenz Kamp" #~ msgid "Select All" #~ msgstr "Select All" # ########################################################## #~ msgid "I don't know how to download a parent folder reference?\n" #~ msgstr "" #~ "Ich wei nicht, wie man einen bergeordneten Ordner Referenz " #~ "herunterladen?\n" #~ msgid "Suppress Album Errors" #~ msgstr "Unterdrckt Album Errors" #~ msgid "Detect: No available Storage found on device?\n" #~ msgstr "Fehler: Keine verfgbaren Speicher gefunden auf device \n" #~ msgid "Utilize alternate access method" #~ msgstr "Nutzen Sie alternative Zugriffsmethode" #~ msgid "Disconnected device due to access method change" #~ msgstr "Getrennt Gerts durch Methodenwechsel zugreifen" #~ msgid "" #~ "The move function is disabled when using the alternate access method for " #~ "your device." #~ msgstr "" #~ "Die Move-Funktion ist deaktiviert, wenn die alternative Zugriffsmethode " #~ "fr Ihr Gert." # ########################################################## #~ msgid "Treat all media as regular files" #~ msgstr "Behandeln Sie alle Mediendateien wie regulre Dateien" gmtp-1.3.10/po/en_AU.gmo0000644000175000001440000004470212660314456011607 00000000000000Q0%1W r }   4 KYp ,BRl~F  !;1m ,?,;h'o "+!Np (C]z  & 9G0b.-#3 GTf'n /0,c;1:&c,#& * +D Fp ? ! ! ! "!0! 9!C!H!N! U!b!z!! !! !!\!="6C"8z"/"" "" #'#%;#a# e# p#}#$$$$ $ $Z$F%\%k% %% %-%2% &-&I&Q&`&}&& &&& && ' ''<'A' U'`' g't' ''''''((($(4(UJ()((((( ( ) )N2),)")0)6*$9*^*~**$***6*4-+b+ i+-v+"++++h,a,T,X=----------- -----...9.!X.z.%...C.%0B0 ]0 h0 u0000 0000 11 61D1[1r111 111112-2=2W2i2Fx2 222 222 3;3X3r33 333,3?3,&4S4'Z44444444 4"5!95[5 x555556.6H6e666 66666 6&6 $7270M7.~77-7#78 28?8Q8'Y8 88/888089c&9919:9::c:#{:::&::*;+/;F[;?; ; ; ; < << $<.<3<9< @<M<e<< << <<\<(=6.=8e=/== == ='=%&>L> P> [>h>???? ? ?Z?1@G@V@ j@t@ @-@2@ @-A4A{UPHeE?iIt5O.AW a8,:! `|c#JS)K6YB9^"o7<;2MX]bvwTx= / %[n k-FZD+u$q_13L*Vsh@lrQ&gz(}R~4dyp\f Error getting file from MTP device. Failed to delete file %s Playlists Preferences Properties%d MB (free) / %d MB (total)%s %s of %s (%d%%)%s of %s (%d%%)ApplicationBattery Level:Bus Location:Device Number:Device Version:DeviceFile OperationsFilepaths on PCMTP Device PropertiesManufacturer:Model Number:Name:PlaylistProduct ID:Product:Raw Device InformationSerial Number:Storage:Supported Formats:Vendor ID:Vendor:A simple MTP Client for Solaris 10 and other UNIX / UNIX-like systems About gMTPAddAdd FileAdd FilesAdd Files to your device.Add New PlaylistAdd To PlaylistAdd a varity of Files to your device in the current folder.Add and Modify Playlists.Add file to playlistAlbumAlbum ArtAlbum:Always show Download Path?Are you sure you want to delete these files?Are you sure you want to delete this folder (and all contents)?Are you sure you want to format this device?ArtistAttempt to connect to Device on startupChange Device NameCloseConfirm DeleteConfirm File/Folder DeleteConnectConnect DeviceConnect to which device?Connect to which storage device?Connect/Disconnect to your device.Connected to %s (%s) - %d MB freeConnected to %s - %d MB freeCouldn't create playlist object Couldn't delete folder %s (%x) Couldn't open image file %s Couldn't open playlist file Couldn't open playlist file %s Couldn't remove album art Couldn't save image file Couldn't save image file %s Couldn't save playlist file Couldn't save playlist file %s Couldn't send album art Create FolderCurrent Playlist: DelDel FileDeleteDelete FilesDelete Files/Folders from your device.Delete FolderDeleting playlist failed? Detect: Encountered a Memory Allocation Error. Detect: No available Storage found on device? Detect: No raw devices found. Detect: There has been an error connecting. Detect: Unable to open raw device? Device Audio TracksDevice Name:Device PropertiesDevice:DevicePropeties: How did I get called? DisconnectDisconnect DeviceDisconnected device due to access method changeDownloadDownload FilesDownload Files from your device to your Host PC.Download Path:Download files from your device to your PC. Default Download path is set in the preferences dialog.DurationERROR: Failed memory allocation in albumAddArt() ERROR: Failed memory allocation in albumAddTrackToAlbum() Edit Playlist(s)ErrorError creating or updating album. (This could be due to that your device does not support albums.) Error getting file from MTP device.Error sending file %s. Error sending track. Error: Couldn't set device name to %s Export PlaylistFailed searching? 'malloc in filesSearch' Failed searching? 'malloc in foldersearch' Failed to get storage parameters from the device - need to disconnect.File %s already exists in target folder. Do you want to:File Name:File SizeFile TypeFile UploadFile downloadFilenameFilenamesFindFind:FolderFolder Name:Folder creation failed:Folder creation failed: %s FoldersFormat DeviceFormat Device failed? Found %d itemFound %d itemsFound no tracks within the playlist that exist on this device. Did not import the playlist. GenreI don't know how to delete a parent folder reference? I don't know how to download a parent folder reference? Ignore path information when importing playlistImport PlaylistInformationLocationMove To...Move selected file down in the playlistMove selected file up in the playlistN/ANew FolderNew PlaylistNo Albums available to set Album Art with. Either: 1. You have no music files uploaded? 2. Your device does not support Albums? 3. Previous applications used to upload files do not autocreate albums for you or support the metadata for those files in order to create the albums for you? No device attachedNo files/folders selected?NumOpenOverwriteOverwrite AllPermanently remove files/folders from your device. Note: Albums are stored as *.alb files.Playlist Audio TracksPlaylist Name:Playlist imported. PlaylistsPlease enter search item.PreferencesPrompt if to Overwrite file if already existsPrompt to add New Music track to existing playlistPropertiesQuestion: Confirm Overwrite of Existing File?RefreshRefresh DeviceRefresh File/Folder listing.Refresh FolderRemoveRemove Current Selected PlaylistRemove From PlaylistRemove file from playlistRename FileRename File/FolderRename FilesRename FolderRescan: How did I get called? SaveSave Album Art FileSave as...SearchSearching...Select Album Art FileSelect AllSelect Files to AddSelect Path to DownloadSelect Path to Download toSelect Path to Upload FromSelect Playlist to ImportSizeSkipSkip AllStorage Device:Suppress Album ErrorsThe move function is disabled when using the alternate access method for your device.The playlist failed to import correctly. ToolbarToolbar Style:TrackTrack InformationTrack NameTrack NumberTreat all media as regular filesUnable to add %s due to insufficient space: filesize = %llu, freespace = %llu Unable to add file due to insufficient spaceUnable to move the selected file? Unable to move the selected folder into itself? Unable to move the selected folder underneath itself? Unable to move the selected folder? Unable to rename parent folder Unable to rename this folderUnknownUnknown : %04x:%04x @ bus %d, dev %dUnknown id: %d, %sUpdating playlist failed? Updating playlist failed? 'realloc in playlistImport' Updating playlist failed? 'realloc in savePlayList' UploadUpload Path:Upload a JPG file and assign it as Album Art.Upload an image file as Album Art.Utilize alternate access methodView Device Properties.View/Change gMTP Preferences.WARNING: gconf schema invalid, reverting to defaults. Please ensure schema is loaded in gconf database. WARNING: gconf schema invalid, unable to save! Please ensure schema is loaded in gconf database. WARNING: gconf_callback_func() failed - we got a callback for a key thats not ours? WARNING: gsettings_callback_func() failed - we got a callback for a key thats not ours? Year_About_Cancel_Close_Connect Device_Edit_File_Help_OK_Open_Preferences_Quit_Save_Viewbothfile = ( x / x ) x %iconmalloc in filesSearch failed malloc in foldersearch failed realloc in playlistImport failed realloc in savePlayList failed setDeviceName: How did I get called? texttranslator-creditsProject-Id-Version: gmtp v1.3.6 Report-Msgid-Bugs-To: chewy509@mailcity.com POT-Creation-Date: 2016-02-15 19:23+1000 PO-Revision-Date: 2014-01-17 12:46+1000 Last-Translator: Language-Team: Language: en_AU MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Generator: Poedit 1.6.3 Error getting file from MTP device. Failed to delete file %s Playlists Preferences Properties%d MB (free) / %d MB (total)%s %s of %s (%d%%)%s of %s (%d%%)ApplicationBattery Level:Bus Location:Device Number:Device Version:DeviceFile OperationsFilepaths on PCMTP Device PropertiesManufacturer:Model Number:Name:PlaylistProduct ID:Product:Raw Device InformationSerial Number:Storage:Supported Formats:Vendor ID:Vendor:A simple MTP Client for Solaris 10 and other UNIX / UNIX-like systems About gMTPAddAdd FileAdd FilesAdd Files to your device.Add New PlaylistAdd To PlaylistAdd a varity of Files to your device in the current folder.Add and Modify Playlists.Add file to playlistAlbumAlbum ArtAlbum:Always show Download Path?Are you sure you want to delete these files?Are you sure you want to delete this folder (and all contents)?Are you sure you want to format this device?ArtistAttempt to connect to Device on startupChange Device NameCloseConfirm DeleteConfirm File/Folder DeleteConnectConnect DeviceConnect to which device?Connect to which storage device?Connect/Disconnect to your device.Connected to %s (%s) - %d MB freeConnected to %s - %d MB freeCouldn't create playlist object Couldn't delete folder %s (%x) Couldn't open image file %s Couldn't open playlist file Couldn't open playlist file %s Couldn't remove album art Couldn't save image file Couldn't save image file %s Couldn't save playlist file Couldn't save playlist file %s Couldn't send album art Create FolderCurrent Playlist: DelDel FileDeleteDelete FilesDelete Files/Folders from your device.Delete FolderDeleting playlist failed? Detect: Encountered a Memory Allocation Error. Detect: No available Storage found on device? Detect: No raw devices found. Detect: There has been an error connecting. Detect: Unable to open raw device? Device Audio TracksDevice Name:Device PropertiesDevice:DevicePropeties: How did I get called? DisconnectDisconnect DeviceDisconnected device due to access method changeDownloadDownload FilesDownload Files from your device to your Host PC.Download Path:Download files from your device to your PC. Default Download path is set in the preferences dialog.DurationERROR: Failed memory allocation in albumAddArt() ERROR: Failed memory allocation in albumAddTrackToAlbum() Edit Playlist(s)ErrorError creating or updating album. (This could be due to that your device does not support albums.) Error getting file from MTP device.Error sending file %s. Error sending track. Error: Couldn't set device name to %s Export PlaylistFailed searching? 'malloc in filesSearch' Failed searching? 'malloc in foldersearch' Failed to get storage parameters from the device - need to disconnect.File %s already exists in target folder. Do you want to:File Name:File SizeFile TypeFile UploadFile downloadFilenameFilenamesFindFind:FolderFolder Name:Folder creation failed:Folder creation failed: %s FoldersFormat DeviceFormat Device failed? Found %d itemFound %d itemsFound no tracks within the playlist that exist on this device. Did not import the playlist. GenreI don't know how to delete a parent folder reference? I don't know how to download a parent folder reference? Ignore path information when importing playlistImport PlaylistInformationLocationMove To...Move selected file down in the playlistMove selected file up in the playlistN/ANew FolderNew PlaylistNo Albums available to set Album Art with. Either: 1. You have no music files uploaded? 2. Your device does not support Albums? 3. Previous applications used to upload files do not autocreate albums for you or support the metadata for those files in order to create the albums for you? No device attachedNo files/folders selected?NumOpenOverwriteOverwrite AllPermanently remove files/folders from your device. Note: Albums are stored as *.alb files.Playlist Audio TracksPlaylist Name:Playlist imported. PlaylistsPlease enter search item.PreferencesPrompt if to Overwrite file if already existsPrompt to add New Music track to existing playlistPropertiesQuestion: Confirm Overwrite of Existing File?RefreshRefresh DeviceRefresh File/Folder listing.Refresh FolderRemoveRemove Current Selected PlaylistRemove From PlaylistRemove file from playlistRename FileRename File/FolderRename FilesRename FolderRescan: How did I get called? SaveSave Album Art FileSave as...SearchSearching...Select Album Art FileSelect AllSelect Files to AddSelect Path to DownloadSelect Path to Download toSelect Path to Upload FromSelect Playlist to ImportSizeSkipSkip AllStorage Device:Suppress Album ErrorsThe move function is disabled when using the alternate access method for your device.The playlist failed to import correctly. ToolbarToolbar Style:TrackTrack InformationTrack NameTrack NumberTreat all media as regular filesUnable to add %s due to insufficient space: filesize = %llu, freespace = %llu Unable to add file due to insufficient spaceUnable to move the selected file? Unable to move the selected folder into itself? Unable to move the selected folder underneath itself? Unable to move the selected folder? Unable to rename parent folder Unable to rename this folderUnknownUnknown : %04x:%04x @ bus %d, dev %dUnknown id: %d, %sUpdating playlist failed? Updating playlist failed? 'realloc in playlistImport' Updating playlist failed? 'realloc in savePlayList' UploadUpload Path:Upload a JPG file and assign it as Album Art.Upload an image file as Album Art.Utilise alternate access methodView Device Properties.View/Change gMTP Preferences.WARNING: gconf schema invalid, reverting to defaults. Please ensure schema is loaded in gconf database. WARNING: gconf schema invalid, unable to save! Please ensure schema is loaded in gconf database. WARNING: gconf_callback_func() failed - we got a callback for a key thats not ours? WARNING: gsettings_callback_func() failed - we got a callback for a key thats not ours? Year_About_Cancel_Close_Connect Device_Edit_File_Help_OK_Open_Preferences_Quit_Save_Viewbothfile = ( x / x ) x %iconmalloc in filesSearch failed malloc in foldersearch failed realloc in playlistImport failed realloc in savePlayList failed setDeviceName: How did I get called? textDarran Kartaschewgmtp-1.3.10/po/en_AU.po~0000664000175000001440000007073712266214712011646 00000000000000# gmtp Language POT file. # Copyright (C) 2103 Darran Kartaschew # This file is distributed under the same license as the gmtp package. # Darran Kartaschew, 2013, chewy509@mailcity.com. # msgid "" msgstr "" "Project-Id-Version: gmtp v1.3.5\n" "Report-Msgid-Bugs-To: chewy509@mailcity.com\n" "POT-Creation-Date: 2014-01-17 12:42+1000\n" "PO-Revision-Date: 2014-01-17 12:46+1000\n" "Last-Translator: \n" "Language-Team: \n" "Language: en_AU\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Poedit 1.6.3\n" #: src/about.c:75 src/about.c:148 msgid "" "A simple MTP Client for Solaris 10\n" "and other UNIX / UNIX-like systems\n" msgstr "" "A simple MTP Client for Solaris 10\n" "and other UNIX / UNIX-like systems\n" #: src/about.c:106 msgid "translator-credits" msgstr "Darran Kartaschew" #: src/about.c:114 msgid "About gMTP" msgstr "About gMTP" #: src/about.c:116 src/albumart.c:78 src/preferences.c:427 #: src/properties.c:603 msgid "_Close" msgstr "_Close" #: src/about.c:160 msgid "" "Copyright 2009-2014, Darran Kartaschew\n" "Released under the BSD License" msgstr "" "Copyright 2009-2014, Darran Kartaschew\n" "Released under the BSD License" #: src/albumart.c:76 src/interface.c:346 src/interface.c:546 msgid "Album Art" msgstr "Album Art" #: src/albumart.c:106 msgid "Album:" msgstr "Album:" #: src/albumart.c:124 msgid "" "No Albums available to set Album Art with. Either:\n" "1. You have no music files uploaded?\n" "2. Your device does not support Albums?\n" "3. Previous applications used to upload files do not autocreate albums for " "you or support the metadata for those files in order to create the albums " "for you?\n" msgstr "" "No Albums available to set Album Art with. Either:\n" "1. You have no music files uploaded?\n" "2. Your device does not support Albums?\n" "3. Previous applications used to upload files do not autocreate albums for " "you or support the metadata for those files in order to create the albums " "for you?\n" #: src/albumart.c:175 msgid "Upload" msgstr "Upload" #: src/albumart.c:179 msgid "Remove" msgstr "Remove" #: src/albumart.c:184 src/interface.c:526 msgid "Download" msgstr "Download" #: src/albumart.c:321 msgid "Select Album Art File" msgstr "Select Album Art File" #: src/albumart.c:323 src/albumart.c:425 src/callbacks.c:415 #: src/interface.c:1422 src/interface.c:1973 src/interface.c:2015 #: src/interface.c:2513 src/interface.c:2573 src/interface.c:2636 #: src/interface.c:3163 src/interface.c:3360 src/playlist.c:953 #: src/playlist.c:1386 src/playlist.c:1473 src/preferences.c:727 #: src/preferences.c:762 src/progress.c:128 msgid "_Cancel" msgstr "_Cancel" #: src/albumart.c:324 src/callbacks.c:416 src/interface.c:1423 #: src/interface.c:1974 src/interface.c:2016 src/playlist.c:1387 #: src/playlist.c:1474 src/preferences.c:728 src/preferences.c:763 msgid "_Open" msgstr "_Open" #: src/albumart.c:423 msgid "Save Album Art File" msgstr "Save Album Art File" #: src/albumart.c:426 msgid "_Save" msgstr "_Save" #: src/albumart.c:445 #, c-format msgid "Couldn't save image file %s\n" msgstr "Couldn't save image file %s\n" #: src/albumart.c:446 msgid "Couldn't save image file\n" msgstr "Couldn't save image file\n" #: src/callbacks.c:114 src/dnd.c:72 src/dnd.c:137 msgid "File Upload" msgstr "File Upload" #: src/callbacks.c:156 src/callbacks.c:210 src/callbacks.c:248 #: src/callbacks.c:291 src/callbacks.c:565 src/callbacks.c:618 #: src/callbacks.c:692 src/callbacks.c:730 src/playlist.c:510 #: src/playlist.c:533 msgid "No files/folders selected?" msgstr "No files/folders selected?" #: src/callbacks.c:173 msgid "Unable to rename parent folder\n" msgstr "Unable to rename parent folder\n" #: src/callbacks.c:174 msgid "Unable to rename this folder" msgstr "Unable to rename this folder" #: src/callbacks.c:201 msgid "" "The move function is disabled when using the alternate access method for " "your device." msgstr "" "The move function is disabled when using the alternate access method for " "your device." #: src/callbacks.c:262 msgid "Are you sure you want to delete these files?" msgstr "Are you sure you want to delete these files?" #: src/callbacks.c:263 src/callbacks.c:584 src/callbacks.c:745 msgid "Confirm Delete" msgstr "Confirm Delete" #: src/callbacks.c:287 src/callbacks.c:297 src/callbacks.c:409 #: src/callbacks.c:425 src/callbacks.c:432 src/interface.c:2026 #: src/interface.c:2034 msgid "File download" msgstr "File download" #: src/callbacks.c:322 msgid "Disconnect" msgstr "Disconnect" #: src/callbacks.c:326 src/callbacks.c:335 src/callbacks.c:926 #: src/callbacks.c:934 src/mtp.c:497 src/mtp.c:505 src/properties.c:700 #: src/properties.c:709 #, c-format msgid "Connected to %s - %d MB free" msgstr "Connected to %s - %d MB free" #: src/callbacks.c:330 src/callbacks.c:930 src/mtp.c:501 src/properties.c:704 #, c-format msgid "Connected to %s (%s) - %d MB free" msgstr "Connected to %s (%s) - %d MB free" #: src/callbacks.c:345 msgid "Disconnect Device" msgstr "Disconnect Device" #: src/callbacks.c:354 src/interface.c:478 msgid "Connect" msgstr "Connect" #: src/callbacks.c:357 src/main.c:124 msgid "No device attached" msgstr "No device attached" #: src/callbacks.c:361 msgid "Connect Device" msgstr "Connect Device" #: src/callbacks.c:413 src/interface.c:1971 src/interface.c:2013 msgid "Select Path to Download" msgstr "Select Path to Download" #: src/callbacks.c:583 src/callbacks.c:744 msgid "Are you sure you want to delete this folder (and all contents)?" msgstr "Are you sure you want to delete this folder (and all contents)?" #: src/callbacks.c:639 src/callbacks.c:640 src/interface.c:2149 #: src/interface.c:2150 msgid "Unable to move the selected folder into itself?\n" msgstr "Unable to move the selected folder into itself?\n" #: src/callbacks.c:657 src/interface.c:2167 msgid "Unable to move the selected folder?\n" msgstr "Unable to move the selected folder?\n" #: src/callbacks.c:663 src/callbacks.c:664 src/interface.c:2173 #: src/interface.c:2174 msgid "Unable to move the selected folder underneath itself?\n" msgstr "Unable to move the selected folder underneath itself?\n" #: src/callbacks.c:775 src/mtp.c:272 src/mtp.c:280 src/mtp.c:297 src/mtp.c:305 #: src/mtp.c:313 src/mtp.c:321 src/mtp.c:334 msgid "N/A" msgstr "N/A" #: src/callbacks.c:861 msgid "Please enter search item." msgstr "Please enter search item." #: src/callbacks.c:862 msgid "Search" msgstr "Search" #: src/callbacks.c:970 msgid "Searching..." msgstr "Searching..." #: src/formatdevice.c:120 msgid "Are you sure you want to format this device?" msgstr "Are you sure you want to format this device?" #: src/formatdevice.c:121 src/interface.c:338 msgid "Format Device" msgstr "Format Device" #: src/interface.c:240 msgid "_File" msgstr "_File" #: src/interface.c:247 msgid "_Connect Device" msgstr "_Connect Device" #: src/interface.c:255 src/interface.c:2893 msgid "Add Files" msgstr "Add Files" #: src/interface.c:259 src/interface.c:2897 msgid "Delete Files" msgstr "Delete Files" #: src/interface.c:263 msgid "Rename Files" msgstr "Rename Files" #: src/interface.c:267 src/interface.c:2909 src/interface.c:3103 #: src/interface.c:3357 msgid "Move To..." msgstr "Move To..." #: src/interface.c:271 src/interface.c:2901 msgid "Download Files" msgstr "Download Files" #: src/interface.c:279 src/interface.c:2929 src/interface.c:3091 msgid "Create Folder" msgstr "Create Folder" #: src/interface.c:283 src/interface.c:2933 src/interface.c:3099 msgid "Delete Folder" msgstr "Delete Folder" #: src/interface.c:291 msgid "Refresh Folder" msgstr "Refresh Folder" #: src/interface.c:297 msgid "Device Properties" msgstr "Device Properties" #: src/interface.c:307 msgid "_Quit" msgstr "_Quit" #: src/interface.c:311 msgid "_Edit" msgstr "_Edit" #: src/interface.c:318 msgid "Select All" msgstr "Select All" #: src/interface.c:326 msgid "Find" msgstr "Find" #: src/interface.c:334 src/interface.c:2570 msgid "Change Device Name" msgstr "Change Device Name" #: src/interface.c:350 msgid "Edit Playlist(s)" msgstr "Edit Playlist(s)" #: src/interface.c:358 msgid "_Preferences" msgstr "_Preferences" #: src/interface.c:362 msgid "_View" msgstr "_View" #: src/interface.c:370 msgid "Toolbar" msgstr "Toolbar" #: src/interface.c:378 msgid "Folders" msgstr "Folders" #: src/interface.c:386 src/interface.c:3001 msgid "File Size" msgstr "File Size" #: src/interface.c:390 src/interface.c:1164 src/interface.c:1173 #: src/interface.c:3005 msgid "File Type" msgstr "File Type" #: src/interface.c:394 src/interface.c:3009 msgid "Track Number" msgstr "Track Number" #: src/interface.c:398 src/interface.c:1209 src/interface.c:1218 #: src/interface.c:3013 msgid "Track Name" msgstr "Track Name" #: src/interface.c:402 src/interface.c:1228 src/interface.c:1237 #: src/interface.c:3017 src/playlist.c:704 src/playlist.c:774 msgid "Artist" msgstr "Artist" #: src/interface.c:406 src/interface.c:1247 src/interface.c:1256 #: src/interface.c:3021 src/playlist.c:714 src/playlist.c:784 msgid "Album" msgstr "Album" #: src/interface.c:410 src/interface.c:1266 src/interface.c:1275 #: src/interface.c:3025 msgid "Year" msgstr "Year" #: src/interface.c:414 src/interface.c:1285 src/interface.c:1294 #: src/interface.c:3029 msgid "Genre" msgstr "Genre" #: src/interface.c:418 src/interface.c:1304 src/interface.c:1313 #: src/interface.c:3033 src/playlist.c:742 src/playlist.c:812 msgid "Duration" msgstr "Duration" #: src/interface.c:422 msgid "_Help" msgstr "_Help" #: src/interface.c:429 msgid "_About" msgstr "_About" #: src/interface.c:482 src/interface.c:484 msgid "Connect/Disconnect to your device." msgstr "Connect/Disconnect to your device." #: src/interface.c:498 src/interface.c:3202 src/playlist.c:192 msgid "Add" msgstr "Add" #: src/interface.c:502 src/interface.c:504 msgid "Add Files to your device." msgstr "Add Files to your device." #: src/interface.c:502 msgid "Add a varity of Files to your device in the current folder." msgstr "Add a varity of Files to your device in the current folder." #: src/interface.c:512 msgid "Delete" msgstr "Delete" #: src/interface.c:516 src/interface.c:518 msgid "Delete Files/Folders from your device." msgstr "Delete Files/Folders from your device." #: src/interface.c:516 msgid "" "Permanently remove files/folders from your device. Note: Albums are stored " "as *.alb files." msgstr "" "Permanently remove files/folders from your device. Note: Albums are stored " "as *.alb files." #: src/interface.c:530 src/interface.c:532 msgid "Download Files from your device to your Host PC." msgstr "Download Files from your device to your Host PC." #: src/interface.c:530 msgid "" "Download files from your device to your PC. Default Download path is set in " "the preferences dialog." msgstr "" "Download files from your device to your PC. Default Download path is set in " "the preferences dialog." #: src/interface.c:550 src/interface.c:552 msgid "Upload an image file as Album Art." msgstr "Upload an image file as Album Art." #: src/interface.c:550 msgid "Upload a JPG file and assign it as Album Art." msgstr "Upload a JPG file and assign it as Album Art." #: src/interface.c:560 src/interface.c:3160 msgid "Playlists" msgstr "Playlists" #: src/interface.c:564 src/interface.c:566 msgid "Add and Modify Playlists." msgstr "Add and Modify Playlists." #: src/interface.c:574 msgid "Refresh" msgstr "Refresh" #: src/interface.c:578 src/interface.c:580 msgid "Refresh File/Folder listing." msgstr "Refresh File/Folder listing." #: src/interface.c:594 msgid "Properties" msgstr "Properties" #: src/interface.c:598 src/interface.c:600 msgid "View Device Properties." msgstr "View Device Properties." #: src/interface.c:608 msgid "Preferences" msgstr "Preferences" #: src/interface.c:612 src/interface.c:614 msgid "View/Change gMTP Preferences." msgstr "View/Change gMTP Preferences." #: src/interface.c:659 msgid "Find:" msgstr "Find:" #: src/interface.c:681 msgid "Filenames" msgstr "Filenames" #: src/interface.c:686 msgid "Track Information" msgstr "Track Information" #: src/interface.c:1079 src/interface.c:1094 msgid "Filename" msgstr "Filename" #: src/interface.c:1120 src/interface.c:1129 msgid "Size" msgstr "Size" #: src/interface.c:1183 src/interface.c:1192 src/playlist.c:732 #: src/playlist.c:802 msgid "Track" msgstr "Track" #: src/interface.c:1331 src/interface.c:1340 msgid "Location" msgstr "Location" #: src/interface.c:1357 msgid "Folder" msgstr "Folder" #: src/interface.c:1420 msgid "Select Files to Add" msgstr "Select Files to Add" #: src/interface.c:1890 #, c-format msgid "Found %d items" msgstr "Found %d items" #: src/interface.c:1892 #, c-format msgid "Found %d item" msgstr "Found %d item" #: src/interface.c:2108 src/interface.c:2109 msgid "I don't know how to download a parent folder reference?\n" msgstr "I don't know how to download a parent folder reference?\n" #: src/interface.c:2141 msgid "Unable to move the selected file?\n" msgstr "Unable to move the selected file?\n" #: src/interface.c:2274 src/interface.c:2275 msgid "I don't know how to delete a parent folder reference?\n" msgstr "I don't know how to delete a parent folder reference?\n" #: src/interface.c:2474 msgid "Error" msgstr "Error" #: src/interface.c:2494 msgid "Information" msgstr "Information" #: src/interface.c:2510 msgid "New Folder" msgstr "New Folder" #: src/interface.c:2512 src/interface.c:2572 src/interface.c:2635 #: src/interface.c:2698 src/interface.c:2780 src/interface.c:3162 #: src/interface.c:3359 src/playlist.c:952 msgid "_OK" msgstr "_OK" #: src/interface.c:2531 msgid "Folder Name:" msgstr "Folder Name:" #: src/interface.c:2591 msgid "Device Name:" msgstr "Device Name:" #: src/interface.c:2633 msgid "Rename File/Folder" msgstr "Rename File/Folder" #: src/interface.c:2654 msgid "File Name:" msgstr "File Name:" #: src/interface.c:2696 msgid "Connect to which device?" msgstr "Connect to which device?" #: src/interface.c:2715 msgid "Device:" msgstr "Device:" #: src/interface.c:2741 #, c-format msgid "Unknown : %04x:%04x @ bus %d, dev %d" msgstr "Unknown : %04x:%04x @ bus %d, dev %d" #: src/interface.c:2778 msgid "Connect to which storage device?" msgstr "Connect to which storage device?" #: src/interface.c:2798 msgid "Storage Device:" msgstr "Storage Device:" #: src/interface.c:2819 #, c-format msgid "Unknown id: %d, %s" msgstr "Unknown id: %d, %s" #: src/interface.c:2854 #, c-format msgid "" "File %s already exists in target folder.\n" "Do you want to:" msgstr "" "File %s already exists in target folder.\n" "Do you want to:" #: src/interface.c:2856 msgid "Skip" msgstr "Skip" #: src/interface.c:2857 msgid "Skip All" msgstr "Skip All" #: src/interface.c:2858 msgid "Overwrite" msgstr "Overwrite" #: src/interface.c:2859 msgid "Overwrite All" msgstr "Overwrite All" #: src/interface.c:2861 msgid "Question: Confirm Overwrite of Existing File?" msgstr "Question: Confirm Overwrite of Existing File?" #: src/interface.c:2905 msgid "Rename File" msgstr "Rename File" #: src/interface.c:2917 msgid "Add To Playlist" msgstr "Add To Playlist" #: src/interface.c:2921 msgid "Remove From Playlist" msgstr "Remove From Playlist" #: src/interface.c:2941 src/interface.c:3111 msgid "Refresh Device" msgstr "Refresh Device" #: src/interface.c:3095 msgid "Rename Folder" msgstr "Rename Folder" #: src/interface.c:3183 src/playlist.c:971 msgid "Playlist Name:" msgstr "Playlist Name:" #: src/interface.c:3211 src/interface.c:3213 src/playlist.c:169 #: src/playlist.c:171 msgid "Add New Playlist" msgstr "Add New Playlist" #: src/mtp.c:121 src/mtp.c:122 msgid "Detect: No raw devices found.\n" msgstr "Detect: No raw devices found.\n" #: src/mtp.c:125 src/mtp.c:126 src/mtp.c:134 src/mtp.c:135 msgid "Detect: There has been an error connecting. \n" msgstr "Detect: There has been an error connecting. \n" #: src/mtp.c:129 src/mtp.c:130 msgid "Detect: Encountered a Memory Allocation Error. \n" msgstr "Detect: Encountered a Memory Allocation Error. \n" #: src/mtp.c:156 src/mtp.c:157 msgid "Detect: Unable to open raw device?\n" msgstr "Detect: Unable to open raw device?\n" #: src/mtp.c:170 src/mtp.c:171 msgid "Detect: No available Storage found on device?\n" msgstr "Detect: No available Storage found on device?\n" #: src/mtp.c:254 src/mtp.c:259 msgid "Unknown" msgstr "Unknown" #: src/mtp.c:360 msgid "DevicePropeties: How did I get called?\n" msgstr "DevicePropeties: How did I get called?\n" #: src/mtp.c:485 msgid "Failed to get storage parameters from the device - need to disconnect." msgstr "Failed to get storage parameters from the device - need to disconnect." #: src/mtp.c:512 msgid "Rescan: How did I get called?\n" msgstr "Rescan: How did I get called?\n" #: src/mtp.c:658 #, c-format msgid "" "Unable to add %s due to insufficient space: filesize = %llu, freespace = " "%llu\n" msgstr "" "Unable to add %s due to insufficient space: filesize = %llu, freespace = " "%llu\n" #: src/mtp.c:662 msgid "Unable to add file due to insufficient space" msgstr "Unable to add file due to insufficient space" #: src/mtp.c:728 src/mtp.c:738 msgid "" msgstr "" #: src/mtp.c:757 msgid "Error sending track.\n" msgstr "Error sending track.\n" #: src/mtp.c:758 #, c-format msgid "Error code %d sending track to device: %s" msgstr "Error code %d sending track to device: %s" #: src/mtp.c:805 #, c-format msgid "Error sending file %s.\n" msgstr "Error sending file %s.\n" #: src/mtp.c:806 msgid "Error sending file:" msgstr "Error sending file:" #: src/mtp.c:884 #, c-format msgid "" "\n" "Failed to delete file %s\n" msgstr "" "\n" "Failed to delete file %s\n" #: src/mtp.c:885 msgid "Failed to delete file" msgstr "Failed to delete file" #: src/mtp.c:916 msgid "" "\n" "Error getting file from MTP device.\n" msgstr "" "\n" "Error getting file from MTP device.\n" #: src/mtp.c:917 msgid "Error getting file from MTP device." msgstr "Error getting file from MTP device." #: src/mtp.c:1026 src/mtp.c:1125 #, c-format msgid "Folder creation failed: %s\n" msgstr "Folder creation failed: %s\n" #: src/mtp.c:1027 src/mtp.c:1126 msgid "Folder creation failed:" msgstr "Folder creation failed:" #: src/mtp.c:1080 #, c-format msgid "Couldn't delete folder %s (%x)\n" msgstr "Couldn't delete folder %s (%x)\n" #: src/mtp.c:1283 #, c-format msgid "Error: Couldn't set device name to %s\n" msgstr "Error: Couldn't set device name to %s\n" #: src/mtp.c:1289 msgid "setDeviceName: How did I get called?\n" msgstr "setDeviceName: How did I get called?\n" #: src/mtp.c:1436 msgid "ERROR: Failed memory allocation in albumAddTrackToAlbum()\n" msgstr "ERROR: Failed memory allocation in albumAddTrackToAlbum()\n" #: src/mtp.c:1465 src/mtp.c:1466 msgid "" "Error creating or updating album.\n" "(This could be due to that your device does not support albums.)\n" msgstr "" "Error creating or updating album.\n" "(This could be due to that your device does not support albums.)\n" #: src/mtp.c:1499 msgid "ERROR: Failed memory allocation in albumAddArt()\n" msgstr "ERROR: Failed memory allocation in albumAddArt()\n" #: src/mtp.c:1504 src/mtp.c:1511 #, c-format msgid "Couldn't open image file %s\n" msgstr "Couldn't open image file %s\n" #: src/mtp.c:1524 src/mtp.c:1525 msgid "Couldn't send album art\n" msgstr "Couldn't send album art\n" #: src/mtp.c:1577 src/mtp.c:1578 msgid "Couldn't remove album art\n" msgstr "Couldn't remove album art\n" #: src/mtp.c:1641 src/mtp.c:1759 msgid "Couldn't create playlist object\n" msgstr "Couldn't create playlist object\n" #: src/mtp.c:1657 msgid "Deleting playlist failed?\n" msgstr "Deleting playlist failed?\n" #: src/mtp.c:1672 msgid "Updating playlist failed?\n" msgstr "Updating playlist failed?\n" #: src/mtp.c:1705 #, c-format msgid "Couldn't open playlist file %s\n" msgstr "Couldn't open playlist file %s\n" #: src/mtp.c:1706 msgid "Couldn't open playlist file\n" msgstr "Couldn't open playlist file\n" #: src/mtp.c:1728 msgid "realloc in playlistImport failed\n" msgstr "realloc in playlistImport failed\n" #: src/mtp.c:1729 msgid "Updating playlist failed? 'realloc in playlistImport'\n" msgstr "Updating playlist failed? 'realloc in playlistImport'\n" #: src/mtp.c:1765 msgid "Playlist imported.\n" msgstr "Playlist imported.\n" #: src/mtp.c:1769 src/mtp.c:1770 msgid "" "Found no tracks within the playlist that exist on this device. Did not " "import the playlist.\n" msgstr "" "Found no tracks within the playlist that exist on this device. Did not " "import the playlist.\n" #: src/mtp.c:1802 #, c-format msgid "Couldn't save playlist file %s\n" msgstr "Couldn't save playlist file %s\n" #: src/mtp.c:1803 msgid "Couldn't save playlist file\n" msgstr "Couldn't save playlist file\n" #: src/mtp.c:1831 msgid "Format Device failed?\n" msgstr "Format Device failed?\n" #: src/mtp.c:1854 src/mtp.c:1914 src/playlist.c:1275 src/playlist.c:1287 msgid "realloc in savePlayList failed\n" msgstr "realloc in savePlayList failed\n" #: src/mtp.c:1855 src/mtp.c:1915 src/playlist.c:1276 src/playlist.c:1288 msgid "Updating playlist failed? 'realloc in savePlayList'\n" msgstr "Updating playlist failed? 'realloc in savePlayList'\n" #: src/mtp.c:2166 src/mtp.c:2222 src/mtp.c:2308 msgid "malloc in filesSearch failed\n" msgstr "malloc in filesSearch failed\n" #: src/mtp.c:2167 src/mtp.c:2223 src/mtp.c:2309 msgid "Failed searching? 'malloc in filesSearch'\n" msgstr "Failed searching? 'malloc in filesSearch'\n" #: src/mtp.c:2385 msgid "malloc in foldersearch failed\n" msgstr "malloc in foldersearch failed\n" #: src/mtp.c:2386 msgid "Failed searching? 'malloc in foldersearch'\n" msgstr "Failed searching? 'malloc in foldersearch'\n" #: src/playlist.c:125 msgid " Playlists" msgstr " Playlists" #: src/playlist.c:150 msgid "Current Playlist: " msgstr "Current Playlist: " #: src/playlist.c:201 src/playlist.c:203 msgid "Remove Current Selected Playlist" msgstr "Remove Current Selected Playlist" #: src/playlist.c:225 msgid "Del" msgstr "Del" #: src/playlist.c:233 msgid "Open" msgstr "Open" #: src/playlist.c:239 src/playlist.c:241 msgid "Import Playlist" msgstr "Import Playlist" #: src/playlist.c:248 msgid "Save" msgstr "Save" #: src/playlist.c:254 src/playlist.c:256 msgid "Export Playlist" msgstr "Export Playlist" #: src/playlist.c:278 src/playlist.c:280 msgid "Device Audio Tracks" msgstr "Device Audio Tracks" #: src/playlist.c:303 src/playlist.c:305 msgid "Add file to playlist" msgstr "Add file to playlist" #: src/playlist.c:326 msgid "Add File" msgstr "Add File" #: src/playlist.c:334 src/playlist.c:336 msgid "Remove file from playlist" msgstr "Remove file from playlist" #: src/playlist.c:357 msgid "Del File" msgstr "Del File" #: src/playlist.c:371 src/playlist.c:373 msgid "Playlist Audio Tracks" msgstr "Playlist Audio Tracks" #: src/playlist.c:403 src/playlist.c:405 msgid "Move selected file up in the playlist" msgstr "Move selected file up in the playlist" #: src/playlist.c:420 src/playlist.c:422 msgid "Move selected file down in the playlist" msgstr "Move selected file down in the playlist" #: src/playlist.c:435 msgid "Close" msgstr "Close" #: src/playlist.c:764 msgid "Num" msgstr "Num" #: src/playlist.c:950 msgid "New Playlist" msgstr "New Playlist" #: src/playlist.c:1384 msgid "Select Playlist to Import" msgstr "Select Playlist to Import" #: src/playlist.c:1434 src/playlist.c:1435 msgid "The playlist failed to import correctly.\n" msgstr "The playlist failed to import correctly.\n" #: src/playlist.c:1471 msgid "Save as..." msgstr "Save as..." #: src/preferences.c:108 msgid " Preferences" msgstr " Preferences" #: src/preferences.c:132 msgid "Application" msgstr "Application" #: src/preferences.c:149 msgid "Toolbar Style:" msgstr "Toolbar Style:" #: src/preferences.c:157 src/preferences.c:164 src/preferences.c:810 #: src/preferences.c:825 msgid "both" msgstr "both" #: src/preferences.c:158 src/preferences.c:165 src/preferences.c:812 #: src/preferences.c:827 msgid "icon" msgstr "icon" #: src/preferences.c:159 src/preferences.c:166 src/preferences.c:814 #: src/preferences.c:829 msgid "text" msgstr "text" #: src/preferences.c:206 msgid "Attempt to connect to Device on startup" msgstr "Attempt to connect to Device on startup" #: src/preferences.c:210 msgid "Utilize alternate access method" msgstr "Utilise alternate access method" #: src/preferences.c:214 msgid "Device" msgstr "Device" #: src/preferences.c:251 msgid "Confirm File/Folder Delete" msgstr "Confirm File/Folder Delete" #: src/preferences.c:255 msgid "Prompt if to Overwrite file if already exists" msgstr "Prompt if to Overwrite file if already exists" #: src/preferences.c:259 msgid "Suppress Album Errors" msgstr "Suppress Album Errors" #: src/preferences.c:263 msgid "Treat all media as regular files" msgstr "Treat all media as regular files" #: src/preferences.c:274 msgid "Playlist" msgstr "Playlist" #: src/preferences.c:296 msgid "Prompt to add New Music track to existing playlist" msgstr "Prompt to add New Music track to existing playlist" #: src/preferences.c:300 msgid "Ignore path information when importing playlist" msgstr "Ignore path information when importing playlist" #: src/preferences.c:304 msgid "File Operations" msgstr "File Operations" #: src/preferences.c:326 msgid "Always show Download Path?" msgstr "Always show Download Path?" #: src/preferences.c:346 msgid "Download Path:" msgstr "Download Path:" #: src/preferences.c:357 msgid "Upload Path:" msgstr "Upload Path:" #: src/preferences.c:411 msgid "Filepaths on PC" msgstr "Filepaths on PC" #: src/preferences.c:725 msgid "Select Path to Download to" msgstr "Select Path to Download to" #: src/preferences.c:760 msgid "Select Path to Upload From" msgstr "Select Path to Upload From" #: src/prefs.c:120 msgid "" "WARNING: gconf schema invalid, reverting to defaults. Please ensure schema " "is loaded in gconf database.\n" msgstr "" "WARNING: gconf schema invalid, reverting to defaults. Please ensure schema " "is loaded in gconf database.\n" #: src/prefs.c:255 msgid "" "WARNING: gconf schema invalid, unable to save! Please ensure schema is " "loaded in gconf database.\n" msgstr "" "WARNING: gconf schema invalid, unable to save! Please ensure schema is " "loaded in gconf database.\n" #: src/prefs.c:461 src/prefs.c:693 msgid "Disconnected device due to access method change" msgstr "Disconnected device due to access method change" #: src/prefs.c:513 msgid "" "WARNING: gconf_callback_func() failed - we got a callback for a key thats " "not ours?\n" msgstr "" "WARNING: gconf_callback_func() failed - we got a callback for a key thats " "not ours?\n" #: src/prefs.c:733 msgid "" "WARNING: gsettings_callback_func() failed - we got a callback for a key " "thats not ours?\n" msgstr "" "WARNING: gsettings_callback_func() failed - we got a callback for a key " "thats not ours?\n" #: src/progress.c:104 msgid "file = ( x / x ) x %" msgstr "file = ( x / x ) x %" #: src/progress.c:219 #, c-format msgid "" "%s\n" "%s of %s (%d%%)" msgstr "" "%s\n" "%s of %s (%d%%)" #: src/progress.c:222 #, c-format msgid "%s of %s (%d%%)" msgstr "%s of %s (%d%%)" #: src/properties.c:111 msgid " Properties" msgstr " Properties" #: src/properties.c:132 msgid "MTP Device Properties" msgstr "MTP Device Properties" #: src/properties.c:141 msgid "Raw Device Information" msgstr "Raw Device Information" #: src/properties.c:174 msgid "Name:" msgstr "Name:" #: src/properties.c:253 msgid "Model Number:" msgstr "Model Number:" #: src/properties.c:266 msgid "Serial Number:" msgstr "Serial Number:" #: src/properties.c:279 msgid "Device Version:" msgstr "Device Version:" #: src/properties.c:292 msgid "Manufacturer:" msgstr "Manufacturer:" #: src/properties.c:305 msgid "Battery Level:" msgstr "Battery Level:" #: src/properties.c:318 msgid "Storage:" msgstr "Storage:" #: src/properties.c:344 msgid "Supported Formats:" msgstr "Supported Formats:" #: src/properties.c:359 msgid "Secure Time:" msgstr "Secure Time:" #: src/properties.c:372 msgid "Sync Partner:" msgstr "Sync Partner:" #: src/properties.c:449 msgid "Vendor:" msgstr "Vendor:" #: src/properties.c:462 msgid "Product:" msgstr "Product:" #: src/properties.c:475 msgid "Vendor ID:" msgstr "Vendor ID:" #: src/properties.c:488 msgid "Product ID:" msgstr "Product ID:" #: src/properties.c:501 msgid "Device Number:" msgstr "Device Number:" #: src/properties.c:514 msgid "Bus Location:" msgstr "Bus Location:" #: src/properties.c:632 #, c-format msgid "%d MB (free) / %d MB (total)" msgstr "%d MB (free) / %d MB (total)" #~ msgid "Quit" #~ msgstr "Quit" #~ msgid "Quit gMTP." #~ msgstr "Quit gMTP." gmtp-1.3.10/po/remove-potcdate.sin0000644000175000001440000000066012655605137013723 00000000000000# Sed script that remove the POT-Creation-Date line in the header entry # from a POT file. # # The distinction between the first and the following occurrences of the # pattern is achieved by looking at the hold space. /^"POT-Creation-Date: .*"$/{ x # Test if the hold space is empty. s/P/P/ ta # Yes it was empty. First occurrence. Remove the line. g d bb :a # The hold space was nonempty. Following occurrences. Do nothing. x :b } gmtp-1.3.10/po/pt_BR.po0000644000175000001440000007532612660314456011470 00000000000000# Brazilian Portuguese translation for gMTP. # Copyright (C) 2015 Darran Kartaschew # This file is distributed under the same license as the gMTP package. # Rafael Ferreira , 2015. # msgid "" msgstr "" "Project-Id-Version: gmtp v1.3.8\n" "Report-Msgid-Bugs-To: chewy509@mailcity.com\n" "POT-Creation-Date: 2016-02-15 19:23+1000\n" "PO-Revision-Date: 2015-01-10 16:41-0300\n" "Last-Translator: Rafael Ferreira \n" "Language-Team: Brazilian Portuguese\n" "Language: pt_BR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Poedit 1.7.1\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #: src/about.c:46 src/about.c:123 msgid "" "A simple MTP Client for Solaris 10\n" "and other UNIX / UNIX-like systems\n" msgstr "" "Um simples cliente MTP para Solaris 10\n" "e outros sistemas UNIX ou similares\n" #: src/about.c:77 msgid "translator-credits" msgstr "Rafael Ferreira " #: src/about.c:88 msgid "About gMTP" msgstr "Sobre o gMTP" #: src/about.c:90 src/albumart.c:47 src/preferences.c:431 src/properties.c:159 msgid "_Close" msgstr "_Fechar" #: src/about.c:135 #, fuzzy msgid "" "Copyright 2009-2016, Darran Kartaschew\n" "Released under the BSD License" msgstr "" "Copyright 2009-2014, Darran Kartaschew\n" "Lançado sob a Licença BSD" #: src/albumart.c:45 src/interface.c:331 src/interface.c:531 msgid "Album Art" msgstr "Arte do álbum" #: src/albumart.c:77 msgid "Album:" msgstr "Álbum:" #: src/albumart.c:110 msgid "" "No Albums available to set Album Art with. Either:\n" "1. You have no music files uploaded?\n" "2. Your device does not support Albums?\n" "3. Previous applications used to upload files do not autocreate albums for " "you or support the metadata for those files in order to create the albums " "for you?\n" msgstr "" "Nenhum álbum disponível para se definir arte de álbum. Possivelmente:\n" "1. Você não tem arquivos de música enviadas?\n" "2. Seu dispositivo não suporta álbuns?\n" "3. Aplicativos usados antes para enviar arquivos não criaram álbuns " "automaticamente para você ou não suportavam metadados desses arquivos para " "criar os álbuns para você?\n" #: src/albumart.c:163 msgid "Upload" msgstr "Enviar" #: src/albumart.c:167 msgid "Remove" msgstr "Remover" #: src/albumart.c:172 src/interface.c:511 msgid "Download" msgstr "Baixar" #: src/albumart.c:293 msgid "Select Album Art File" msgstr "Selecionar arquivo da arte do álbum" #: src/albumart.c:295 src/albumart.c:406 src/callbacks.c:362 #: src/interface.c:1380 src/interface.c:1928 src/interface.c:1961 #: src/interface.c:2401 src/interface.c:2456 src/interface.c:2514 #: src/interface.c:3014 src/interface.c:3198 src/playlist.c:882 #: src/playlist.c:1255 src/playlist.c:1337 src/preferences.c:701 #: src/preferences.c:731 src/progress.c:108 msgid "_Cancel" msgstr "_Cancelar" #: src/albumart.c:296 src/callbacks.c:363 src/interface.c:1381 #: src/interface.c:1929 src/interface.c:1962 src/playlist.c:1256 #: src/playlist.c:1338 src/preferences.c:702 src/preferences.c:732 msgid "_Open" msgstr "_Abrir" #: src/albumart.c:404 msgid "Save Album Art File" msgstr "Salvar arquivo de arte do álbum" #: src/albumart.c:407 msgid "_Save" msgstr "_Salvar" #: src/albumart.c:426 #, c-format msgid "Couldn't save image file %s\n" msgstr "Não foi possível salvar o arquivo de imagem %s\n" #: src/albumart.c:427 msgid "Couldn't save image file\n" msgstr "Não foi possível salvar o arquivo de imagem\n" #: src/callbacks.c:87 src/dnd.c:63 src/dnd.c:136 msgid "File Upload" msgstr "Envio de arquivo" #: src/callbacks.c:125 src/callbacks.c:178 src/callbacks.c:211 #: src/callbacks.c:251 src/callbacks.c:496 src/callbacks.c:540 #: src/callbacks.c:610 src/callbacks.c:643 src/playlist.c:487 #: src/playlist.c:506 msgid "No files/folders selected?" msgstr "Nenhum arquivo/pasta selecionada?" #: src/callbacks.c:144 msgid "Unable to rename parent folder\n" msgstr "Não foi possível renomear a pasta pai\n" #: src/callbacks.c:145 msgid "Unable to rename this folder" msgstr "Não foi possível renomear esta pasta" #: src/callbacks.c:169 msgid "" "The move function is disabled when using the alternate access method for " "your device." msgstr "" "A função de mover está desabilitada ao usar o método de acesso alternativo " "para seu dispositivo." #: src/callbacks.c:225 msgid "Are you sure you want to delete these files?" msgstr "Tem certeza que deseja excluir esses arquivos?" #: src/callbacks.c:226 src/callbacks.c:515 src/callbacks.c:658 msgid "Confirm Delete" msgstr "Confirmação exclusão" #: src/callbacks.c:247 src/callbacks.c:257 src/callbacks.c:356 #: src/callbacks.c:372 src/callbacks.c:379 src/interface.c:1972 #: src/interface.c:1980 msgid "File download" msgstr "Baixar arquivo" #: src/callbacks.c:277 msgid "Disconnect" msgstr "Desconectar" #: src/callbacks.c:281 src/callbacks.c:290 src/callbacks.c:817 #: src/callbacks.c:825 src/mtp.c:451 src/mtp.c:459 src/properties.c:261 #: src/properties.c:270 #, c-format msgid "Connected to %s - %d MB free" msgstr "Conectado a %s - %d MB livre" #: src/callbacks.c:285 src/callbacks.c:821 src/mtp.c:455 src/properties.c:265 #, c-format msgid "Connected to %s (%s) - %d MB free" msgstr "Conectado a %s (%s) - %d MB livre" #: src/callbacks.c:300 msgid "Disconnect Device" msgstr "Desconectar dispositivo" #: src/callbacks.c:309 src/interface.c:463 msgid "Connect" msgstr "Conectar" #: src/callbacks.c:312 src/main.c:109 msgid "No device attached" msgstr "Nenhum dispositivo conectado" #: src/callbacks.c:316 msgid "Connect Device" msgstr "Conectar ao dispositivo" #: src/callbacks.c:360 src/interface.c:1926 src/interface.c:1959 msgid "Select Path to Download" msgstr "Selecione um caminho para salvar" #: src/callbacks.c:514 src/callbacks.c:657 msgid "Are you sure you want to delete this folder (and all contents)?" msgstr "" "Você tem certeza de que deseja excluir esta pasta (e todo o seu conteúdo)?" #: src/callbacks.c:561 src/callbacks.c:562 src/interface.c:2088 #: src/interface.c:2089 msgid "Unable to move the selected folder into itself?\n" msgstr "Não foi possível mover a pasta selecionada para ela mesmo?\n" #: src/callbacks.c:580 src/interface.c:2106 msgid "Unable to move the selected folder?\n" msgstr "Não foi possível mover a pasta selecionada?\n" #: src/callbacks.c:586 src/callbacks.c:587 src/interface.c:2112 #: src/interface.c:2113 msgid "Unable to move the selected folder underneath itself?\n" msgstr "Não foi possível mover a pasta para dentro dela mesmo?\n" #: src/callbacks.c:685 src/mtp.c:258 src/mtp.c:276 src/mtp.c:285 src/mtp.c:294 #: src/mtp.c:303 msgid "N/A" msgstr "N/D" #: src/callbacks.c:758 msgid "Please enter search item." msgstr "Por favor, digite o item para pesquisar." #: src/callbacks.c:759 msgid "Search" msgstr "Pesquisar" #: src/callbacks.c:857 msgid "Searching..." msgstr "Pesquisando..." #: src/formatdevice.c:56 msgid "Formatting..." msgstr "" #: src/formatdevice.c:87 msgid "Are you sure you want to format this device?" msgstr "Você tem certeza que quer formatar este dispositivo?" #: src/formatdevice.c:88 src/interface.c:323 msgid "Format Device" msgstr "Formatar dispositivo" #: src/interface.c:225 msgid "_File" msgstr "_Arquivo" #: src/interface.c:232 msgid "_Connect Device" msgstr "_Conectar dispositivo" #: src/interface.c:240 src/interface.c:2759 msgid "Add Files" msgstr "Adicionar arquivos" #: src/interface.c:244 src/interface.c:2763 msgid "Delete Files" msgstr "Excluir arquivos" #: src/interface.c:248 msgid "Rename Files" msgstr "Renomear arquivos" #: src/interface.c:252 src/interface.c:2775 src/interface.c:2962 #: src/interface.c:3195 msgid "Move To..." msgstr "Mover para..." #: src/interface.c:256 src/interface.c:2767 msgid "Download Files" msgstr "Baixa arquivos" #: src/interface.c:264 src/interface.c:2795 src/interface.c:2950 msgid "Create Folder" msgstr "Criar pasta" #: src/interface.c:268 src/interface.c:2799 src/interface.c:2958 msgid "Delete Folder" msgstr "Excluir pasta" #: src/interface.c:276 msgid "Refresh Folder" msgstr "Atualizar pasta" #: src/interface.c:282 msgid "Device Properties" msgstr "Propriedades do dispositivo" #: src/interface.c:292 msgid "_Quit" msgstr "_Sair" #: src/interface.c:296 msgid "_Edit" msgstr "_Editar" #: src/interface.c:303 msgid "Select All" msgstr "Selecionar tudo" #: src/interface.c:311 msgid "Find" msgstr "Localizar" #: src/interface.c:319 src/interface.c:2453 msgid "Change Device Name" msgstr "Alterar nome do dispositivo" #: src/interface.c:335 msgid "Edit Playlist(s)" msgstr "Editar lista(s) de reprodução" #: src/interface.c:343 msgid "_Preferences" msgstr "_Preferências" #: src/interface.c:347 msgid "_View" msgstr "E_xibir" #: src/interface.c:355 msgid "Toolbar" msgstr "Barra de ferramentas" #: src/interface.c:363 msgid "Folders" msgstr "Pastas" #: src/interface.c:371 src/interface.c:2862 msgid "File Size" msgstr "Tamanho do arquivo" #: src/interface.c:375 src/interface.c:1138 src/interface.c:1147 #: src/interface.c:2866 msgid "File Type" msgstr "Tipo de arquivo" #: src/interface.c:379 src/interface.c:2870 msgid "Track Number" msgstr "Número da faixa" #: src/interface.c:383 src/interface.c:1183 src/interface.c:1192 #: src/interface.c:2874 msgid "Track Name" msgstr "Nome da faixa" #: src/interface.c:387 src/interface.c:1202 src/interface.c:1211 #: src/interface.c:2878 src/playlist.c:654 src/playlist.c:718 msgid "Artist" msgstr "Artista" #: src/interface.c:391 src/interface.c:1221 src/interface.c:1230 #: src/interface.c:2882 src/playlist.c:664 src/playlist.c:728 msgid "Album" msgstr "Álbum" #: src/interface.c:395 src/interface.c:1240 src/interface.c:1249 #: src/interface.c:2886 msgid "Year" msgstr "Ano" #: src/interface.c:399 src/interface.c:1259 src/interface.c:1268 #: src/interface.c:2890 msgid "Genre" msgstr "Gênero" #: src/interface.c:403 src/interface.c:1278 src/interface.c:1287 #: src/interface.c:2894 src/playlist.c:692 src/playlist.c:756 msgid "Duration" msgstr "Duração" #: src/interface.c:407 msgid "_Help" msgstr "A_juda" #: src/interface.c:414 msgid "_About" msgstr "_Sobre" #: src/interface.c:467 src/interface.c:469 msgid "Connect/Disconnect to your device." msgstr "Conecta/Desconecta a/de seu dispositivo." #: src/interface.c:483 src/interface.c:3066 src/playlist.c:176 msgid "Add" msgstr "Adicionar" #: src/interface.c:487 src/interface.c:489 msgid "Add Files to your device." msgstr "Adiciona arquivos ao seu dispositivo." #: src/interface.c:487 msgid "Add a varity of Files to your device in the current folder." msgstr "Adicione uma variedade de arquivos ao seu dispositivo na pasta atual." #: src/interface.c:497 msgid "Delete" msgstr "Excluir" #: src/interface.c:501 src/interface.c:503 msgid "Delete Files/Folders from your device." msgstr "Exclui arquivos/pastas do seu dispositivo." #: src/interface.c:501 msgid "" "Permanently remove files/folders from your device. Note: Albums are stored " "as *.alb files." msgstr "" "Remova permanentemente arquivos/pastas a seu dispositivo. Nota: álbuns estão " "armazenados como arquivos *.alb" #: src/interface.c:515 src/interface.c:517 msgid "Download Files from your device to your Host PC." msgstr "Baixe arquivos do seu dispositivo para seu PC." #: src/interface.c:515 msgid "" "Download files from your device to your PC. Default Download path is set in " "the preferences dialog." msgstr "" "Baixe arquivos do seu dispositivo para seu PC. O caminho de download padrão " "é definido no diálogo de preferências." #: src/interface.c:535 src/interface.c:537 msgid "Upload an image file as Album Art." msgstr "Envia um arquivo de imagem como arte de álbum." #: src/interface.c:535 msgid "Upload a JPG file and assign it as Album Art." msgstr "Envia um arquivo JPG e o atribui como arte de álbum." #: src/interface.c:545 src/interface.c:3011 msgid "Playlists" msgstr "Listas de reprodução" #: src/interface.c:549 src/interface.c:551 msgid "Add and Modify Playlists." msgstr "Adiciona ou modifica listas de reprodução." #: src/interface.c:559 msgid "Refresh" msgstr "Atualizar" #: src/interface.c:563 src/interface.c:565 msgid "Refresh File/Folder listing." msgstr "Atualiza listagem de arquivos/pastas." #: src/interface.c:579 msgid "Properties" msgstr "Propriedades" #: src/interface.c:583 src/interface.c:585 msgid "View Device Properties." msgstr "Exibe propriedades do dispositivo." #: src/interface.c:593 msgid "Preferences" msgstr "Preferências" #: src/interface.c:597 src/interface.c:599 msgid "View/Change gMTP Preferences." msgstr "Exibe/Altera as preferências do gMTP." #: src/interface.c:644 msgid "Find:" msgstr "Localizar:" #: src/interface.c:666 msgid "Filenames" msgstr "Nomes de arquivo" #: src/interface.c:671 msgid "Track Information" msgstr "Informação de faixa" #: src/interface.c:1053 src/interface.c:1068 msgid "Filename" msgstr "Nome de arquivo" #: src/interface.c:1094 src/interface.c:1103 msgid "Size" msgstr "Tamanho" #: src/interface.c:1157 src/interface.c:1166 src/playlist.c:682 #: src/playlist.c:746 msgid "Track" msgstr "Faixa" #: src/interface.c:1305 src/interface.c:1314 msgid "Location" msgstr "Localização" #: src/interface.c:1331 msgid "Folder" msgstr "Pasta" #: src/interface.c:1378 msgid "Select Files to Add" msgstr "Selecione arquivos para adicionar" #: src/interface.c:1857 #, c-format msgid "Found %d items" msgstr "Encontrados %d itens" #: src/interface.c:1859 #, c-format msgid "Found %d item" msgstr "Encontrados %d item" #: src/interface.c:2053 src/interface.c:2054 msgid "I don't know how to download a parent folder reference?\n" msgstr "Não sei como baixar uma referência a pasta pai?\n" #: src/interface.c:2080 msgid "Unable to move the selected file?\n" msgstr "Não foi possível mover o arquivo selecionado?\n" #: src/interface.c:2203 src/interface.c:2204 msgid "I don't know how to delete a parent folder reference?\n" msgstr "Não sei como excluir uma referência a pasta pai?\n" #: src/interface.c:2371 msgid "Error" msgstr "Erro" #: src/interface.c:2387 msgid "Information" msgstr "Informações" #: src/interface.c:2398 msgid "New Folder" msgstr "Nova pasta" #: src/interface.c:2400 src/interface.c:2455 src/interface.c:2513 #: src/interface.c:2573 src/interface.c:2653 src/interface.c:3013 #: src/interface.c:3197 src/playlist.c:881 msgid "_OK" msgstr "_OK" #: src/interface.c:2420 msgid "Folder Name:" msgstr "Nome da pasta:" #: src/interface.c:2475 msgid "Device Name:" msgstr "Nome de dispositivo:" #: src/interface.c:2511 msgid "Rename File/Folder" msgstr "Renomear arquivo/pasta" #: src/interface.c:2533 msgid "File Name:" msgstr "Nome do arquivo:" #: src/interface.c:2571 msgid "Connect to which device?" msgstr "Conectar a qual dispositivo?" #: src/interface.c:2592 msgid "Device:" msgstr "Dispositivo:" #: src/interface.c:2618 #, c-format msgid "Unknown : %04x:%04x @ bus %d, dev %d" msgstr "Desconhecido : %04x:%04x @ bus %d, dev %d" #: src/interface.c:2651 msgid "Connect to which storage device?" msgstr "Conectar a qual dispositivo de armazenamento?" #: src/interface.c:2673 msgid "Storage Device:" msgstr "Dispositivo de armazenamento:" #: src/interface.c:2694 #, c-format msgid "Unknown id: %d, %s" msgstr "ID desconhecida: %d, %s" #: src/interface.c:2724 #, c-format msgid "" "File %s already exists in target folder.\n" "Do you want to:" msgstr "" "O arquivo %s já existe na pasta alvo.\n" "Você deseja:" #: src/interface.c:2726 msgid "Skip" msgstr "Pular" #: src/interface.c:2727 msgid "Skip All" msgstr "Pular tudo" #: src/interface.c:2728 msgid "Overwrite" msgstr "Sobrescrever" #: src/interface.c:2729 msgid "Overwrite All" msgstr "Sobrescrever tudo" #: src/interface.c:2731 msgid "Question: Confirm Overwrite of Existing File?" msgstr "Pergunta: Confirma sobrescrever arquivo existente?" #: src/interface.c:2771 msgid "Rename File" msgstr "Renomear arquivo" #: src/interface.c:2783 msgid "Add To Playlist" msgstr "Adicionar a lista de reprodução" #: src/interface.c:2787 msgid "Remove From Playlist" msgstr "Remover de lista de reprodução" #: src/interface.c:2807 src/interface.c:2970 msgid "Refresh Device" msgstr "Atualizar dispositivo" #: src/interface.c:2954 msgid "Rename Folder" msgstr "Renomear pasta" #: src/interface.c:3035 src/playlist.c:902 msgid "Playlist Name:" msgstr "Nome da lista de reprodução:" #: src/interface.c:3075 src/interface.c:3077 src/playlist.c:153 #: src/playlist.c:155 msgid "Add New Playlist" msgstr "Adicionar nova lista de reprodução" #: src/mtp.c:104 src/mtp.c:105 msgid "Detect: No raw devices found.\n" msgstr "Detecção: nenhum dispositivo raw encontrado.\n" #: src/mtp.c:108 src/mtp.c:109 src/mtp.c:117 src/mtp.c:118 msgid "Detect: There has been an error connecting. \n" msgstr "Detect: Houve um erro de conexão. \n" #: src/mtp.c:112 src/mtp.c:113 msgid "Detect: Encountered a Memory Allocation Error. \n" msgstr "Detect: Encontrado um erro de alocação de memória. \n" #: src/mtp.c:142 src/mtp.c:143 msgid "Detect: Unable to open raw device?\n" msgstr "Detect: Não foi possível abrir dispositivo de bloco?\n" #: src/mtp.c:156 src/mtp.c:157 msgid "Detect: No available Storage found on device?\n" msgstr "Detect: Nenhum armazenamento disponível encontrado no dispositivo?\n" #: src/mtp.c:238 src/mtp.c:244 msgid "Unknown" msgstr "Desconhecido" #: src/mtp.c:330 msgid "DevicePropeties: How did I get called?\n" msgstr "DeviceProperties: Como eu fui chamado?\n" #: src/mtp.c:438 msgid "Failed to get storage parameters from the device - need to disconnect." msgstr "" "Falha ao obter parâmetros de armazenamento do dispositivo - precisa " "desconectar." #: src/mtp.c:466 msgid "Rescan: How did I get called?\n" msgstr "Rescan: Como eu fui chamado?\n" #: src/mtp.c:574 #, c-format msgid "" "Unable to add %s due to insufficient space: filesize = %llu, freespace = " "%llu\n" msgstr "" "Não foi possível adicionar %s por não haver espaço suficiente: tamanho do " "arquivo = %llu; espaço livre = %llu\n" #: src/mtp.c:578 msgid "Unable to add file due to insufficient space" msgstr "Não foi possível adicionar arquivo por não haver espaço suficiente" #: src/mtp.c:644 src/mtp.c:654 msgid "" msgstr "" #: src/mtp.c:675 msgid "Error sending track.\n" msgstr "Erro ao enviar faixa.\n" #: src/mtp.c:676 #, fuzzy, c-format msgid "Error code %d sending track to device: %s" msgstr "Código de erro %d ao enviar faixa para dispositivo: %s" #: src/mtp.c:680 src/mtp.c:681 src/mtp.c:737 src/mtp.c:738 src/mtp.c:845 #: src/mtp.c:846 msgid "Transfer canceled." msgstr "" #: src/mtp.c:732 #, c-format msgid "Error sending file %s.\n" msgstr "Erro ao enviar arquivo %s.\n" #: src/mtp.c:733 #, fuzzy msgid "Error sending file: " msgstr "Erro ao enviar arquivo:" #: src/mtp.c:811 #, c-format msgid "" "\n" "Failed to delete file %s\n" msgstr "" "\n" "Falha ao excluir arquivo %s\n" #: src/mtp.c:812 #, fuzzy msgid "Failed to delete file: " msgstr "Falha ao excluir file" #: src/mtp.c:840 msgid "" "\n" "Error getting file from MTP device.\n" msgstr "" "\n" "Erro ao obter arquivo do dispositivo MTP.\n" #: src/mtp.c:841 msgid "Error getting file from MTP device." msgstr "Falha ao obter arquivo do dispositivo MTP." #: src/mtp.c:964 src/mtp.c:1045 #, c-format msgid "Folder creation failed: %s\n" msgstr "Falha ao criar pasta: %s\n" #: src/mtp.c:965 msgid "Folder creation failed:" msgstr "Falha ao criar pasta:" #: src/mtp.c:1010 #, c-format msgid "Couldn't delete folder %s (%x)\n" msgstr "Não foi possível excluir a pasta %s (%x)\n" #: src/mtp.c:1046 #, fuzzy msgid "Folder creation failed: " msgstr "Falha ao criar pasta:" #: src/mtp.c:1259 #, c-format msgid "Error: Couldn't set device name to %s\n" msgstr "Erro: Não foi possível definir nome do dispositivo para %s\n" #: src/mtp.c:1265 msgid "setDeviceName: How did I get called?\n" msgstr "setDeviceName: Como eu fui chamado?\n" #: src/mtp.c:1462 msgid "ERROR: Failed memory allocation in albumAddTrackToAlbum()\n" msgstr "ERRO: Falha ao alocar memória em albumAddTrackToAlbum()\n" #: src/mtp.c:1491 src/mtp.c:1492 msgid "" "Error creating or updating album.\n" "(This could be due to that your device does not support albums.)\n" msgstr "" "Erro ao criar ou atualizar álbum.\n" "(Isso pode ter sido causado por seu dispositivo suportar álbuns.)\n" #: src/mtp.c:1520 msgid "ERROR: Failed memory allocation in albumAddArt()\n" msgstr "ERRO: Falha ao alocar memória em albumAddArt()\n" #: src/mtp.c:1525 src/mtp.c:1532 #, c-format msgid "Couldn't open image file %s\n" msgstr "Não foi possível abrir arquivo de imagem %s\n" #: src/mtp.c:1545 src/mtp.c:1546 msgid "Couldn't send album art\n" msgstr "Não foi possível enviar a arte de álbum\n" #: src/mtp.c:1590 src/mtp.c:1591 msgid "Couldn't remove album art\n" msgstr "Não foi possível remover a arte do álbum\n" #: src/mtp.c:1642 src/mtp.c:1744 msgid "Couldn't create playlist object\n" msgstr "Não foi possível criar objeto de lista de reprodução\n" #: src/mtp.c:1654 msgid "Deleting playlist failed?\n" msgstr "Falha ao excluir lista de reprodução?\n" #: src/mtp.c:1665 msgid "Updating playlist failed?\n" msgstr "Falha ao atualizar lista de reprodução?\n" #: src/mtp.c:1690 #, c-format msgid "Couldn't open playlist file %s\n" msgstr "Não foi possível abrir arquivo de lista de reprodução %s\n" #: src/mtp.c:1691 msgid "Couldn't open playlist file\n" msgstr "Não foi possível abrir arquivo de lista de reprodução\n" #: src/mtp.c:1713 msgid "realloc in playlistImport failed\n" msgstr "Falha no realloc em playlistImport\n" #: src/mtp.c:1714 msgid "Updating playlist failed? 'realloc in playlistImport'\n" msgstr "Falha ao atualizar lista de reprodução? realloc em playlistImport\n" #: src/mtp.c:1750 msgid "Playlist imported.\n" msgstr "Lista de reprodução importada.\n" #: src/mtp.c:1754 src/mtp.c:1755 msgid "" "Found no tracks within the playlist that exist on this device. Did not " "import the playlist.\n" msgstr "" "Encontrou nenhuma faixa na lista de reprodução existente neste dispositivo. " "Lista de reprodução não importada.\n" #: src/mtp.c:1780 #, c-format msgid "Couldn't save playlist file %s\n" msgstr "Não foi possível salvar arquivo de lista de reprodução %s\n" #: src/mtp.c:1781 msgid "Couldn't save playlist file\n" msgstr "Não foi possível salvar arquivo de lista de reprodução\n" #: src/mtp.c:1806 msgid "Format Device failed?\n" msgstr "Falha ao formatar o dispositivo?\n" #: src/mtp.c:1824 src/mtp.c:1878 src/playlist.c:1158 src/playlist.c:1170 msgid "realloc in savePlayList failed\n" msgstr "Falha no realloc em savePlayList\n" #: src/mtp.c:1825 src/mtp.c:1879 src/playlist.c:1159 src/playlist.c:1171 msgid "Updating playlist failed? 'realloc in savePlayList'\n" msgstr "Falha ao atualizar lista de reprodução? 'realloc em savePlayList'\n" #: src/mtp.c:2096 src/mtp.c:2152 src/mtp.c:2238 msgid "malloc in filesSearch failed\n" msgstr "Falha no malloc em filesSearch\n" #: src/mtp.c:2097 src/mtp.c:2153 src/mtp.c:2239 msgid "Failed searching? 'malloc in filesSearch'\n" msgstr "Falha ao pesquisar? 'malloc em filesSearch'\n" #: src/mtp.c:2303 msgid "malloc in foldersearch failed\n" msgstr "Falha no malloc em foldersearch\n" #: src/mtp.c:2304 msgid "Failed searching? 'malloc in foldersearch'\n" msgstr "Falha ao pesquisar? 'malloc em foldersearch'\n" #: src/playlist.c:98 msgid " Playlists" msgstr " Listas de reprodução" #: src/playlist.c:124 msgid "Current Playlist: " msgstr "Lista de reprodução atual: " #: src/playlist.c:185 src/playlist.c:187 msgid "Remove Current Selected Playlist" msgstr "Remover a lista de reprodução atualmente selecionada" #: src/playlist.c:209 msgid "Del" msgstr "Excluir" #: src/playlist.c:217 msgid "Open" msgstr "Abrir" #: src/playlist.c:223 src/playlist.c:225 msgid "Import Playlist" msgstr "Importar lista de reprodução" #: src/playlist.c:232 msgid "Save" msgstr "Salvar" #: src/playlist.c:238 src/playlist.c:240 msgid "Export Playlist" msgstr "Exportar lista de reprodução" #: src/playlist.c:262 src/playlist.c:264 msgid "Device Audio Tracks" msgstr "Excluir faixas de áudio" #: src/playlist.c:287 src/playlist.c:289 msgid "Add file to playlist" msgstr "Adicionar arquivo à lista de reprodução" #: src/playlist.c:310 msgid "Add File" msgstr "Adicionar arquivo" #: src/playlist.c:318 src/playlist.c:320 msgid "Remove file from playlist" msgstr "Remover arquivo da lista de reprodução" #: src/playlist.c:341 msgid "Del File" msgstr "Excluir arquivo" #: src/playlist.c:355 src/playlist.c:357 msgid "Playlist Audio Tracks" msgstr "Faixas de áudio de lista de reprodução" #: src/playlist.c:387 src/playlist.c:389 msgid "Move selected file up in the playlist" msgstr "Mover arquivo selecionado para cima na lista de reprodução" #: src/playlist.c:404 src/playlist.c:406 msgid "Move selected file down in the playlist" msgstr "Mover arquivo selecionado para baixo na lista de reprodução" #: src/playlist.c:419 msgid "Close" msgstr "Fechar" #: src/playlist.c:708 msgid "Num" msgstr "Número" #: src/playlist.c:879 msgid "New Playlist" msgstr "Nova lista de reprodução" #: src/playlist.c:1253 msgid "Select Playlist to Import" msgstr "Selecionar lista de reprodução para importar" #: src/playlist.c:1303 src/playlist.c:1304 msgid "The playlist failed to import correctly.\n" msgstr "A lista de reprodução não importou corretamente.\n" #: src/playlist.c:1335 msgid "Save as..." msgstr "Salvar como..." #: src/preferences.c:72 msgid " Preferences" msgstr " Preferências" #: src/preferences.c:97 msgid "Application" msgstr "Aplicativo" #: src/preferences.c:124 msgid "Toolbar Style:" msgstr "Estilo da barra de ferramentas:" #: src/preferences.c:132 src/preferences.c:139 src/preferences.c:771 #: src/preferences.c:805 msgid "both" msgstr "ambos" #: src/preferences.c:133 src/preferences.c:140 src/preferences.c:773 #: src/preferences.c:807 msgid "icon" msgstr "ícone" #: src/preferences.c:134 src/preferences.c:141 src/preferences.c:775 #: src/preferences.c:809 msgid "text" msgstr "texto" #: src/preferences.c:184 msgid "Device" msgstr "Dispositivo" #: src/preferences.c:189 msgid "Attempt to connect to Device on startup" msgstr "Tentar conectar ao dispositivo ao iniciar" #: src/preferences.c:193 msgid "Utilize alternate access method" msgstr "Utilizar método de acesso alternativo" #: src/preferences.c:202 msgid "File Operations" msgstr "Operações de arquivos" #: src/preferences.c:229 msgid "Confirm File/Folder Delete" msgstr "Confirmar exclusão de arquivo/pasta" #: src/preferences.c:233 msgid "Prompt if to Overwrite file if already exists" msgstr "Perguntar se deve sobrescrever arquivo se já existir" #: src/preferences.c:237 msgid "Suppress Album Errors" msgstr "Suprimir erros de álbuns" #: src/preferences.c:241 msgid "Treat all media as regular files" msgstr "Tratar todas as mídias como arquivos comuns" #: src/preferences.c:245 msgid "Preserve file timestamps (during download)" msgstr "" #: src/preferences.c:256 msgid "Playlist" msgstr "Lista de reprodução" #: src/preferences.c:282 msgid "Prompt to add New Music track to existing playlist" msgstr "" "Perguntar ao adicionar faixa de nova música a uma lista de reprodução " "existente" #: src/preferences.c:286 msgid "Ignore path information when importing playlist" msgstr "Ignorar informação de caminho ao importar lista de reprodução" #: src/preferences.c:297 msgid "Filepaths on PC" msgstr "Caminhos de arquivo no PC" #: src/preferences.c:324 msgid "Always show Download Path?" msgstr "Sempre mostrar caminho do download?" #: src/preferences.c:344 msgid "Download Path:" msgstr "Caminho de download:" #: src/preferences.c:360 msgid "Upload Path:" msgstr "Caminho de envio:" #: src/preferences.c:699 msgid "Select Path to Download to" msgstr "Selecione um caminho para onde será baixado" #: src/preferences.c:729 msgid "Select Path to Upload From" msgstr "Selecione um caminho para onde será enviado" #: src/prefs.c:102 msgid "" "WARNING: gconf schema invalid, reverting to defaults. Please ensure schema " "is loaded in gconf database.\n" msgstr "" "AVISO: gconf schema inválido, revertendo para o padrão! Por favor, " "certifique-se de que o schema esteja carregado no banco de dados gconf.\n" #: src/prefs.c:241 msgid "" "WARNING: gconf schema invalid, unable to save! Please ensure schema is " "loaded in gconf database.\n" msgstr "" "AVISO: gconf schema inválido, não foi possível salvar! Por favor, certifique-" "se de que o schema esteja carregado no banco de dados gconf.\n" #: src/prefs.c:445 src/prefs.c:685 msgid "Disconnected device due to access method change" msgstr "Dispositivo desconectado por causa de alteração no método de acesso" #: src/prefs.c:504 msgid "" "WARNING: gconf_callback_func() failed - we got a callback for a key thats " "not ours?\n" msgstr "" "AVISO: gconf_callback_func() falhou - obtivemos uma chamada para uma chave " "que não é nossa?\n" #: src/prefs.c:734 msgid "" "WARNING: gsettings_callback_func() failed - we got a callback for a key " "thats not ours?\n" msgstr "" "AVISO: gsettings_callback_func() falhou - obtivemos uma chamada para uma " "chave que não é nossa?\n" #: src/progress.c:79 msgid "file = ( x / x ) x %" msgstr "arquivo = ( x / x ) x %" #: src/progress.c:194 #, c-format msgid "" "%s\n" "%s of %s (%d%%)" msgstr "" "%s\n" "%s de %s (%d%%)" #: src/progress.c:197 #, c-format msgid "%s of %s (%d%%)" msgstr "%s de %s (%d%%)" #: src/properties.c:69 msgid " Properties" msgstr " Propriedades" #: src/properties.c:91 msgid "MTP Device Properties" msgstr "Propriedades de dispositivo MTP" #: src/properties.c:96 msgid "Raw Device Information" msgstr "Informação de dispositivo não-tratado" #: src/properties.c:138 msgid "Name:" msgstr "Nome:" #: src/properties.c:139 msgid "Model Number:" msgstr "Número de modelo:" #: src/properties.c:140 msgid "Serial Number:" msgstr "Número de série" #: src/properties.c:141 msgid "Device Version:" msgstr "Versão do dispositivo:" #: src/properties.c:142 msgid "Manufacturer:" msgstr "Fabricante:" #: src/properties.c:143 msgid "Battery Level:" msgstr "Nível da bateria:" #: src/properties.c:144 msgid "Storage:" msgstr "Armazenamento:" #: src/properties.c:145 msgid "Supported Formats:" msgstr "Formatos suportados:" #: src/properties.c:147 msgid "Vendor:" msgstr "Fornecedor:" #: src/properties.c:148 msgid "Product:" msgstr "Produto:" #: src/properties.c:149 msgid "Vendor ID:" msgstr "ID do fornecedor (Vendor):" #: src/properties.c:150 msgid "Product ID:" msgstr "ID do produto (Product):" #: src/properties.c:151 msgid "Device Number:" msgstr "Número do dispositivo:" #: src/properties.c:152 msgid "Bus Location:" msgstr "Localização do barramento:" #: src/properties.c:191 #, c-format msgid "%d MB (free) / %d MB (total)" msgstr "%d MB (livre) / %d MB (total)" gmtp-1.3.10/po/da.gmo0000644000175000001440000004521712660314456011206 00000000000000K|%   +> NXk 1 FScvF LW[ dn; $+,F?s,'"(7RZi "! &Fc/ HVimv }& 0. :-Y# ' /+[d0sc1 :Rc#,D&ZF?  # - 7 C Q Z d i o v      \!^!6d!8!/!" " " )"'4"%\"" " ""#### # #Z $g$}$$ $$ $-$2$ 1%-<%j%r%%%% %%% && #& 0&>&]&b& v&& && &&&&&'2'7'<'E'U'Uk')''' ( ( (N<(,("(0(6 )$C)h)))$)))6*47*l* s*-*"*** +h'+a+T+XG,,,,,,,,,,, ,,,---9-!X-z-%--T-+(/T/o// / //////0+0@0 V0c0x0000 00011/1C1V1v11K111 1 2222N2=^2%222 222+ 3?93.y33633334)414A4\4t4!44+4 45-=50k55555!666 S6_6x6}66 6 6 6(6.687"U7*x7"7 7777)7%8 ,8398m8v8+8 8c8#97,9Ad999h9)0:!Z:|:,::G:F; f; q;; ; ;;;;;; ;!;%;< <+< F<T<cc<<A<?=2P== = =="=!= =>>&>F?^?z?? ??U??@%@;@M@ j@Ax@G@ A4 A BANA!`A AA AAA AA B B!'BIBMB _BjB oBzB BBBBBB C&C -C 9CECMZC0CCC C C)Db.D<D D1D6!E-XE-E,EE#E F*FBIFBFF F0F#G7GVGkGrGcGpbHtHHILI PI[I`IpIyI~III IIIII$I$I$J$5J'ZJ J<w~yFn*}ABciQa3Ioh]l J1) NPHk;%e 7O(9g"'E6{|qd,K0[@C RTtv>S?p2/8V_xWrZ`zG-Y:s5\.MmLX  +DjUbf$=!#u&^4 Error getting file from MTP device. Failed to delete file %s Playlists Preferences Properties%d MB (free) / %d MB (total)%s %s of %s (%d%%)%s of %s (%d%%)ApplicationBattery Level:Bus Location:Device Number:Device Version:DeviceFile OperationsFilepaths on PCMTP Device PropertiesManufacturer:Model Number:Name:PlaylistProduct ID:Product:Raw Device InformationSerial Number:Storage:Supported Formats:Vendor ID:Vendor:A simple MTP Client for Solaris 10 and other UNIX / UNIX-like systems About gMTPAddAdd FileAdd FilesAdd Files to your device.Add New PlaylistAdd To PlaylistAdd a varity of Files to your device in the current folder.Add and Modify Playlists.Add file to playlistAlbumAlbum ArtAlbum:Always show Download Path?Are you sure you want to delete these files?Are you sure you want to delete this folder (and all contents)?Are you sure you want to format this device?ArtistAttempt to connect to Device on startupChange Device NameCloseConfirm DeleteConfirm File/Folder DeleteConnectConnect DeviceConnect to which device?Connect to which storage device?Connect/Disconnect to your device.Connected to %s (%s) - %d MB freeConnected to %s - %d MB freeCouldn't create playlist object Couldn't delete folder %s (%x) Couldn't open image file %s Couldn't open playlist file Couldn't open playlist file %s Couldn't remove album art Couldn't save image file Couldn't save image file %s Couldn't save playlist file Couldn't save playlist file %s Couldn't send album art Create FolderCurrent Playlist: DelDel FileDeleteDelete FilesDelete Files/Folders from your device.Delete FolderDeleting playlist failed? Detect: Encountered a Memory Allocation Error. Detect: No available Storage found on device? Detect: No raw devices found. Detect: There has been an error connecting. Detect: Unable to open raw device? Device Audio TracksDevice Name:Device PropertiesDevice:DevicePropeties: How did I get called? DisconnectDisconnect DeviceDisconnected device due to access method changeDownloadDownload FilesDownload Files from your device to your Host PC.Download Path:Download files from your device to your PC. Default Download path is set in the preferences dialog.DurationERROR: Failed memory allocation in albumAddArt() ERROR: Failed memory allocation in albumAddTrackToAlbum() Edit Playlist(s)ErrorError creating or updating album. (This could be due to that your device does not support albums.) Error getting file from MTP device.Error sending file %s. Error sending track. Error: Couldn't set device name to %s Export PlaylistFailed to get storage parameters from the device - need to disconnect.File %s already exists in target folder. Do you want to:File Name:File SizeFile TypeFile UploadFile downloadFilenameFilenamesFindFind:FolderFolder Name:Folder creation failed:Folder creation failed: %s FoldersFormat DeviceFormat Device failed? Found %d itemFound %d itemsFound no tracks within the playlist that exist on this device. Did not import the playlist. GenreI don't know how to delete a parent folder reference? I don't know how to download a parent folder reference? Ignore path information when importing playlistImport PlaylistInformationLocationMove To...Move selected file down in the playlistMove selected file up in the playlistN/ANew FolderNew PlaylistNo Albums available to set Album Art with. Either: 1. You have no music files uploaded? 2. Your device does not support Albums? 3. Previous applications used to upload files do not autocreate albums for you or support the metadata for those files in order to create the albums for you? No device attachedNo files/folders selected?NumOpenOverwriteOverwrite AllPermanently remove files/folders from your device. Note: Albums are stored as *.alb files.Playlist Audio TracksPlaylist Name:Playlist imported. PlaylistsPlease enter search item.PreferencesPrompt if to Overwrite file if already existsPrompt to add New Music track to existing playlistPropertiesQuestion: Confirm Overwrite of Existing File?RefreshRefresh DeviceRefresh File/Folder listing.Refresh FolderRemoveRemove Current Selected PlaylistRemove From PlaylistRemove file from playlistRename FileRename File/FolderRename FilesRename FolderRescan: How did I get called? SaveSave Album Art FileSave as...SearchSearching...Select Album Art FileSelect AllSelect Files to AddSelect Path to DownloadSelect Path to Download toSelect Path to Upload FromSelect Playlist to ImportSizeSkipSkip AllStorage Device:Suppress Album ErrorsThe move function is disabled when using the alternate access method for your device.The playlist failed to import correctly. TrackTrack InformationTrack NameTrack NumberTreat all media as regular filesUnable to add %s due to insufficient space: filesize = %llu, freespace = %llu Unable to add file due to insufficient spaceUnable to move the selected file? Unable to move the selected folder into itself? Unable to move the selected folder underneath itself? Unable to move the selected folder? Unable to rename parent folder Unable to rename this folderUnknownUnknown : %04x:%04x @ bus %d, dev %dUnknown id: %d, %sUpdating playlist failed? Updating playlist failed? 'realloc in playlistImport' Updating playlist failed? 'realloc in savePlayList' UploadUpload Path:Upload a JPG file and assign it as Album Art.Upload an image file as Album Art.Utilize alternate access methodView Device Properties.View/Change gMTP Preferences.WARNING: gconf schema invalid, reverting to defaults. Please ensure schema is loaded in gconf database. WARNING: gconf schema invalid, unable to save! Please ensure schema is loaded in gconf database. WARNING: gconf_callback_func() failed - we got a callback for a key thats not ours? WARNING: gsettings_callback_func() failed - we got a callback for a key thats not ours? Year_About_Cancel_Close_Connect Device_Edit_File_Help_OK_Open_Preferences_Quit_Save_Viewfile = ( x / x ) x %malloc in filesSearch failed malloc in foldersearch failed realloc in playlistImport failed realloc in savePlayList failed setDeviceName: How did I get called? translator-creditsProject-Id-Version: gmtp 1.3.6 Report-Msgid-Bugs-To: chewy509@mailcity.com POT-Creation-Date: 2016-02-15 19:23+1000 PO-Revision-Date: 2014-01-17 12:44+1000 Last-Translator: Language-Team: chewy509@mailcity.com Language: da MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Generator: Poedit 1.6.3 Fejl ved hentning af filen fra MTP enhed. Kunne ikke slette fil %s Afspilningslister Indstillinger Egenskaber%d MB (gratis) / %d MB (samlede)%s %s af %s (%d%%)%s af %s (%d%%)Application:Batterilevel:Bus Beliggenhed:Enhed nummer:Enhed version:EnhedFilhandlingerFilstier på PCMTP enhed egenskaberProducent:Model nummer:Navn:PlaylistProdukt-ID:Produkt:Rå enhedsoplysningerSerienummer:Opbevaring:Understøttede formater:Leverandør-id:Leverandør:En simpel MTP Client til Solaris 10 og andre UNIX / UNIX-lignende systemer Om gMTPTilføjTilføj filTilføj filerTilføj filer til enheden.Tilføj Ny afspilningslisteAdd To PlaylistTilføj en række filer til din enhed i den nuværende mappe.Tilføj og rediger afspilningslister.Tilføj afspilningslisten AlbumAlbumcoverAlbum:Vis altid download sti?Er du sikker på du vil slette disse filer?Er du sikker på du vil slette denne mappe (og hele indholdet)?Er du sikker på du vil formatere denne enhed?KunstnerForsøg at oprette forbindelse til enheden ved opstartSkift EnhedsnavnLukBekræft sletningBekræft fil / mappe SletTilslutTilslut enhedenTilslut til hvilken enhed?Tilslut som lagerenhed?Tilslut / Afbryd til enheden.Forbundet til %s (%s) - %d MB friForbundet til %s - %d MB friKunne ikke oprette afspilningsliste objekt Kunne ikke slette mappe %s (%x) Kunne ikke åbne billedfil %s Kunne ikke åbne filen med afspilningslisten Kunne ikke åbne filen med afspilningslisten %s Kunne ikke fjerne albumcover Kunne ikke gemme billedfil Kunne ikke gemme billedfil %s Kunne ikke gemme playlist fil Kunne ikke gemme playlist fil %s Kunne ikke sende albumcover Opret mappeNuværende spilleliste: SletSlet filSletSlette filerSlet filer / mapper fra enheden.Slet mappeSletning afspilningsliste mislykkedes? Detect: Der opstod en Memory Fordeling Fejl. Detect: Ingen tilgængelig opbevaring findes på enhed? Detect: Ingen rå enheder fundet. Detect: Der har været en fejl forbinder. Detect: Kan ikke åbne rå enhed? Enhed lydsporEnhedens navn:Enhed EgenskaberEnhed:DevicePropeties: Hvordan fik jeg hedder? AfbrydAfbryd enhedAfbrudt enhed på grund af adgang metode forandringDownloadDownload filerDownload filer fra enheden til din Host PC.Download-sti:Downloade filer fra din enhed til din pc. Standard Download sti er fastsat i preferences dialogen.VarighedFEJL: Kunne ikke hukommelse tildeling i albumAddArt () FEJL: Kunne ikke hukommelse tildeling i albumAddTrackToAlbum () Rediger afspilningsliste(r)FejlFejl ved oprettelse eller opdatering album. (Dette kunne skyldes, at enheden ikke understøtter album.) Fejl ved hentning af filen fra MTP enhed.Fejl ved afsendelse af filen %s. Fejl under afsendelse spor. Fejl: Kunne ikke sætte enheden navn til %s Eksport PlaylistKunne ikke få storage parametre fra enheden - har brug for at afbryde.Fil %s eksisterer allerede i destinationsmappen. Ønsker du at:File Name:FilstørrelseFiltypeFil UploadFil downloadFilnavnFilnavneFindFind:FolderMappe Navn:Oprettelse af mapper mislykkedes:Oprettelse af mapper mislykkedes: %s FoldersFormat enhedFormat Enhed mislykkedes? Fandt %d emneFandt %d emnerFandt ingen spor i spillelisten, der findes på denne enhed. Har ikke importere afspilningslisten. GenrenJeg ved ikke, hvordan man sletter en overordnet mappe reference? Jeg ved ikke, hvordan du henter en overordnet mappe reference? Ignorer stioplysninger ved import afspilningslisteImport PlaylistInformationerPlaceringFlyt tilFlyt valgte fil ned i spillelistenFlyt valgte fil op i spillelistenikke relevantNy MappeNy spillelisteIngen Albums rådighed for at indstille Album Art med. Enten: 1. Du har ingen musikfiler uploadet? 2. Enheden understøtter ikke albums? 3. Tidligere programmer, der bruges til at uploade filer ikke autocreate album for dig eller støtter metadata for disse filer for at skabe album for dig? Ingen tilsluttede enhedIngen filer / mapper valgt?NummerOpenOverskrivOverskriv allePermanent fjerne filer / mapper fra enheden. Bemærk: Albums gemmes som *. alb-filer.Afspilningsliste lydsporAfspilningsliste Navn:Playlist importeret. AfspilningslisterIndtast venligst søgeemnet.IndstillingerSpørg hvis du vil overskrive filen, hvis der allerede eksistererSpørg for at tilføje New Music spor til eksisterende afspilningslisteEgenskaberSpørgsmål: Bekræft Overskriv af eksisterende fil?GenopfriskeGenopfriske enhedGenopfriske fil / Mappe notering.Omdøb mappeFjernFjern aktuelt valgte spillelisteFjern fra afspilningslisteFjern fil fra afspilningslistenOmdøb filRename File/FolderOmdøb filOmdøb mappeGenskan: Hvordan fik jeg hedder? GemGem Album Art filGem som...SøgSøger ...Vælg albumcover filVælg alleVælge filer at tilføjeVælg sti til DownloadVælg Sti til Download tilVælg sti til Upload FraVælg Spilleliste til ImportStørrelseSpringSpring AlleLagerenhed:Undertryk Album FejlFlytningen er deaktiveret, når du bruger den alternative adgang for enheden.Afspilningslisten undladt at importere korrekt. Sporspor InformationSpor NavnSpornummerBehandl alle medier som almindelige filerKan ikke tilføje %s på grund af utilstrækkelig plads: Filstørrelse = %llu, ledig plads = %llu Kunne ikke tilføje filen på grund af utilstrækkelig pladsKan ikke flytte den valgte fil? Kan ikke flytte den valgte mappe ind i sig selv? Kan ikke flytte den valgte mappe nedenunder sig selv? Ude af stand til at flytte den valgte mappe? Ude af stand til at flytte den valgte mappe? Ude af stand til at flytte den valgte mappe?UkendtUkendt : %04x:%04x @ bus %d, dev %dUkendt ID: %d, %sOpdatering afspilningsliste mislykkedes? Opdatering afspilningsliste mislykkedes? 'realloc i savePlayList' Opdatering afspilningsliste mislykkedes? 'realloc i savePlayList' UploadUpload Sti:Upload en JPG-fil og tildele den som albumcover.Upload en billedfil som albumcover.Udnyt alternativ adgang metodeSe Enhed Egenskaber.Se / Ændre gMTP indstillinger.ADVARSEL: GConf skema ugyldig, vender tilbage til standardindstillinger. Du sikre skema er lagt i GConf database. ADVARSEL: GConf skema ugyldig, ude af stand til at redde! Du sikre skema er lagt i GConf database. ADVARSEL: gconf_callback_func () mislykkedes - vi fik en tilbagekaldsanmodning for en nøgle thats ikke vores? ADVARSEL: gsettings_callback_func () mislykkedes - vi fik en tilbagekaldsanmodning for en nøgle thats ikke vores? År_Om_Annullér_LukTilslut enheden_Rediger_Fil_Hjælp_O.k._ÅbnIndstillingerAfslut_Gem_Visfile = ( x / x ) x %realloc i savePlayList mislykkedes realloc i savePlayList mislykkedes realloc i savePlayList mislykkedes realloc i savePlayList mislykkedes setDeviceName: Hvordan fik jeg hedder? Cai Andersengmtp-1.3.10/src/0000755000175000001440000000000012660314456010336 500000000000000gmtp-1.3.10/src/mtp.c0000644000175000001440000027033212655605137011234 00000000000000/* * * File: mtp.c * * Copyright (C) 2009-2013 Darran Kartaschew * * This file is part of the gMTP package. * * gMTP is free software; you can redistribute it and/or modify * it under the terms of the BSD License as included within the * file 'COPYING' located in the root directory * */ #include "mtp.h" #include #include #include #include #include #include #include #include #include #include "main.h" #include "callbacks.h" #include "interface.h" #include "prefs.h" #include "metatag_info.h" #include "progress.h" // Array with file extensions matched to internal libmtp file types; // See find_filetype() for usage; MTP_file_ext_struct file_ext[] = { {"wav", LIBMTP_FILETYPE_WAV}, {"mp3", LIBMTP_FILETYPE_MP3}, {"wma", LIBMTP_FILETYPE_WMA}, {"ogg", LIBMTP_FILETYPE_OGG}, {"mp4", LIBMTP_FILETYPE_MP4}, {"wmv", LIBMTP_FILETYPE_WMV}, {"avi", LIBMTP_FILETYPE_AVI}, {"mpeg", LIBMTP_FILETYPE_MPEG}, {"mpg", LIBMTP_FILETYPE_MPEG}, {"asf", LIBMTP_FILETYPE_ASF}, {"qt", LIBMTP_FILETYPE_QT}, {"mov", LIBMTP_FILETYPE_QT}, {"wma", LIBMTP_FILETYPE_WMA}, {"jpg", LIBMTP_FILETYPE_JPEG}, {"jpeg", LIBMTP_FILETYPE_JPEG}, {"jfif", LIBMTP_FILETYPE_JFIF}, {"tif", LIBMTP_FILETYPE_TIFF}, {"tiff", LIBMTP_FILETYPE_TIFF}, {"bmp", LIBMTP_FILETYPE_BMP}, {"gif", LIBMTP_FILETYPE_GIF}, {"pic", LIBMTP_FILETYPE_PICT}, {"pict", LIBMTP_FILETYPE_PICT}, {"png", LIBMTP_FILETYPE_PNG}, {"wmf", LIBMTP_FILETYPE_WINDOWSIMAGEFORMAT}, {"ics", LIBMTP_FILETYPE_VCALENDAR2}, {"exe", LIBMTP_FILETYPE_WINEXEC}, {"com", LIBMTP_FILETYPE_WINEXEC}, {"bat", LIBMTP_FILETYPE_WINEXEC}, {"dll", LIBMTP_FILETYPE_WINEXEC}, {"sys", LIBMTP_FILETYPE_WINEXEC}, {"txt", LIBMTP_FILETYPE_TEXT}, {"aac", LIBMTP_FILETYPE_AAC}, {"mp2", LIBMTP_FILETYPE_MP2}, {"flac", LIBMTP_FILETYPE_FLAC}, {"m4a", LIBMTP_FILETYPE_M4A}, {"doc", LIBMTP_FILETYPE_DOC}, {"xml", LIBMTP_FILETYPE_XML}, {"xls", LIBMTP_FILETYPE_XLS}, {"ppt", LIBMTP_FILETYPE_PPT}, {"mht", LIBMTP_FILETYPE_MHT}, {"jp2", LIBMTP_FILETYPE_JP2}, {"jpx", LIBMTP_FILETYPE_JPX}, {"bin", LIBMTP_FILETYPE_FIRMWARE}, {"vcf", LIBMTP_FILETYPE_VCARD3}, {"alb", LIBMTP_FILETYPE_ALBUM}, {"pla", LIBMTP_FILETYPE_PLAYLIST} }; static gchar* blank_ext = ""; // Ignore Album errors? gboolean AlbumErrorIgnore = FALSE; // ************************************************************************************************ guint deviceConnect() { gint error; if (DeviceMgr.deviceConnected == TRUE) { // We must be wanting to disconnect the device. return deviceDisconnect(); } else { error = LIBMTP_Detect_Raw_Devices(&DeviceMgr.rawdevices, &DeviceMgr.numrawdevices); switch (error) { case LIBMTP_ERROR_NONE: break; case LIBMTP_ERROR_NO_DEVICE_ATTACHED: g_fprintf(stderr, _("Detect: No raw devices found.\n")); displayError(_("Detect: No raw devices found.\n")); return MTP_GENERAL_FAILURE; case LIBMTP_ERROR_CONNECTING: g_fprintf(stderr, _("Detect: There has been an error connecting. \n")); displayError(_("Detect: There has been an error connecting. \n")); return MTP_GENERAL_FAILURE; case LIBMTP_ERROR_MEMORY_ALLOCATION: g_fprintf(stderr, _("Detect: Encountered a Memory Allocation Error. \n")); displayError(_("Detect: Encountered a Memory Allocation Error. \n")); return MTP_GENERAL_FAILURE; default: // Some other generic error, so let's exit. g_fprintf(stderr, _("Detect: There has been an error connecting. \n")); displayError(_("Detect: There has been an error connecting. \n")); return MTP_GENERAL_FAILURE; } // We have at least 1 raw device, so we connect to the first device. if (DeviceMgr.numrawdevices > 1) { DeviceMgr.rawdeviceID = displayMultiDeviceDialog(); if (DeviceMgr.rawdeviceID == -1) { return deviceDisconnect(); } if (!Preferences.use_alt_access_method) { DeviceMgr.device = LIBMTP_Open_Raw_Device(&DeviceMgr.rawdevices[DeviceMgr.rawdeviceID]); } else { DeviceMgr.device = LIBMTP_Open_Raw_Device_Uncached(&DeviceMgr.rawdevices[DeviceMgr.rawdeviceID]); } } else { // Connect to the first device. if (!Preferences.use_alt_access_method) { DeviceMgr.device = LIBMTP_Open_Raw_Device(&DeviceMgr.rawdevices[0]); } else { DeviceMgr.device = LIBMTP_Open_Raw_Device_Uncached(&DeviceMgr.rawdevices[0]); } DeviceMgr.rawdeviceID = 0; } if (DeviceMgr.device == NULL) { g_fprintf(stderr, _("Detect: Unable to open raw device?\n")); displayError(_("Detect: Unable to open raw device?\n")); LIBMTP_Dump_Errorstack(DeviceMgr.device); LIBMTP_Clear_Errorstack(DeviceMgr.device); DeviceMgr.deviceConnected = FALSE; return MTP_GENERAL_FAILURE; } LIBMTP_Dump_Errorstack(DeviceMgr.device); LIBMTP_Clear_Errorstack(DeviceMgr.device); // We have a successful device connect, but lets check for multiple storageIDs. if (DeviceMgr.device->storage == NULL) { g_fprintf(stderr, _("Detect: No available Storage found on device?\n")); displayError(_("Detect: No available Storage found on device?\n")); LIBMTP_Dump_Errorstack(DeviceMgr.device); LIBMTP_Clear_Errorstack(DeviceMgr.device); deviceDisconnect(); return MTP_GENERAL_FAILURE; } if (DeviceMgr.device->storage->next != NULL) { // Oops we have multiple storage IDs. DeviceMgr.storagedeviceID = displayDeviceStorageDialog(); if (DeviceMgr.storagedeviceID == -1) { return deviceDisconnect(); } } else { DeviceMgr.storagedeviceID = MTP_DEVICE_SINGLE_STORAGE; } DeviceMgr.deviceConnected = TRUE; currentFolderID = 0; DeviceMgr.devicename = NULL; DeviceMgr.manufacturername = NULL; DeviceMgr.modelname = NULL; DeviceMgr.serialnumber = NULL; DeviceMgr.deviceversion = NULL; //DeviceMgr.syncpartner = NULL; //DeviceMgr.sectime = NULL; DeviceMgr.devcert = NULL; DeviceMgr.Vendor = NULL; DeviceMgr.Product = NULL; DeviceMgr.devicestorage = NULL; // if in alt connection mode; if (Preferences.use_alt_access_method) { if (stackFolderIDs != NULL) { g_queue_free(stackFolderIDs); } stackFolderIDs = g_queue_new(); if (stackFolderNames != NULL) { g_queue_free(stackFolderNames); } stackFolderNames = g_queue_new(); } return MTP_SUCCESS; } } // ************************************************************************************************ guint deviceDisconnect() { if (DeviceMgr.deviceConnected == FALSE) { DeviceMgr.deviceConnected = FALSE; return MTP_NO_DEVICE; } else { DeviceMgr.deviceConnected = FALSE; LIBMTP_Release_Device(DeviceMgr.device); g_free(DeviceMgr.rawdevices); // Now clean up the dymanic data in struc that get's loaded when displaying the properties dialog. if (DeviceMgr.devicename != NULL) g_string_free(DeviceMgr.devicename, TRUE); if (DeviceMgr.manufacturername != NULL) g_string_free(DeviceMgr.manufacturername, TRUE); if (DeviceMgr.modelname != NULL) g_string_free(DeviceMgr.modelname, TRUE); if (DeviceMgr.serialnumber != NULL) g_string_free(DeviceMgr.serialnumber, TRUE); if (DeviceMgr.deviceversion != NULL) g_string_free(DeviceMgr.deviceversion, TRUE); //if (DeviceMgr.syncpartner != NULL) g_string_free(DeviceMgr.syncpartner, TRUE); //if (DeviceMgr.sectime != NULL) g_string_free(DeviceMgr.sectime, TRUE); if (DeviceMgr.devcert != NULL) g_string_free(DeviceMgr.devcert, TRUE); if (DeviceMgr.Vendor != NULL) g_string_free(DeviceMgr.Vendor, TRUE); if (DeviceMgr.Product != NULL) g_string_free(DeviceMgr.Product, TRUE); g_free(DeviceMgr.filetypes); return MTP_SUCCESS; } } // ************************************************************************************************ void deviceProperties() { gint ret; // We first see if we have a connected device, and then extract the information from it. if (DeviceMgr.deviceConnected == TRUE) { // Lets get our information. Let's start with the raw information. if (DeviceMgr.Vendor != NULL) g_string_free(DeviceMgr.Vendor, TRUE); if (DeviceMgr.rawdevices[DeviceMgr.rawdeviceID].device_entry.vendor == NULL) { DeviceMgr.Vendor = g_string_new(_("Unknown")); } else { DeviceMgr.Vendor = g_string_new(DeviceMgr.rawdevices[DeviceMgr.rawdeviceID].device_entry.vendor); } if (DeviceMgr.Product != NULL) g_string_free(DeviceMgr.Product, TRUE); if (DeviceMgr.rawdevices[DeviceMgr.rawdeviceID].device_entry.product == NULL) { DeviceMgr.Product = g_string_new(_("Unknown")); } else { DeviceMgr.Product = g_string_new(DeviceMgr.rawdevices[DeviceMgr.rawdeviceID].device_entry.product); } DeviceMgr.VendorID = DeviceMgr.rawdevices[DeviceMgr.rawdeviceID].device_entry.vendor_id; DeviceMgr.ProductID = DeviceMgr.rawdevices[DeviceMgr.rawdeviceID].device_entry.product_id; DeviceMgr.BusLoc = DeviceMgr.rawdevices[DeviceMgr.rawdeviceID].bus_location; DeviceMgr.DeviceID = DeviceMgr.rawdevices[DeviceMgr.rawdeviceID].devnum; // Now lets get our other information. // Nice name: gchar *tmp_string = LIBMTP_Get_Friendlyname(DeviceMgr.device); if (DeviceMgr.devicename != NULL) g_string_free(DeviceMgr.devicename, TRUE); if (tmp_string == NULL) { DeviceMgr.devicename = g_string_new(_("N/A")); } else { DeviceMgr.devicename = g_string_new(tmp_string); g_free(tmp_string); } // Battery Level ret = LIBMTP_Get_Batterylevel(DeviceMgr.device, &DeviceMgr.maxbattlevel, &DeviceMgr.currbattlevel); if (ret != 0) { // Silently ignore. Some devices does not support getting the // battery level. DeviceMgr.maxbattlevel = 0; DeviceMgr.currbattlevel = 0; LIBMTP_Clear_Errorstack(DeviceMgr.device); } // Manufacturer Name. tmp_string = LIBMTP_Get_Manufacturername(DeviceMgr.device); if (DeviceMgr.manufacturername != NULL) g_string_free(DeviceMgr.manufacturername, TRUE); if (tmp_string == NULL) { DeviceMgr.manufacturername = g_string_new(_("N/A")); } else { DeviceMgr.manufacturername = g_string_new(tmp_string); g_free(tmp_string); } // Model Number, tmp_string = LIBMTP_Get_Modelname(DeviceMgr.device); if (DeviceMgr.modelname != NULL) g_string_free(DeviceMgr.modelname, TRUE); if (tmp_string == NULL) { DeviceMgr.modelname = g_string_new(_("N/A")); } else { DeviceMgr.modelname = g_string_new(tmp_string); g_free(tmp_string); } // Serial Number. tmp_string = LIBMTP_Get_Serialnumber(DeviceMgr.device); if (DeviceMgr.serialnumber != NULL) g_string_free(DeviceMgr.serialnumber, TRUE); if (tmp_string == NULL) { DeviceMgr.serialnumber = g_string_new(_("N/A")); } else { DeviceMgr.serialnumber = g_string_new(tmp_string); g_free(tmp_string); } // Device Version. tmp_string = LIBMTP_Get_Deviceversion(DeviceMgr.device); if (DeviceMgr.deviceversion != NULL) g_string_free(DeviceMgr.deviceversion, TRUE); if (tmp_string == NULL) { DeviceMgr.deviceversion = g_string_new(_("N/A")); } else { DeviceMgr.deviceversion = g_string_new(tmp_string); g_free(tmp_string); } // Storage. if (DeviceMgr.devicestorage == NULL) { if (LIBMTP_Get_Storage(DeviceMgr.device, 0) < 0) { // We have an error getting our storage, so let the user know and then disconnect the device. displayError("Failed to get storage parameters from the device - need to disconnect."); on_deviceConnect_activate(NULL, NULL); return; } if (DeviceMgr.storagedeviceID == MTP_DEVICE_SINGLE_STORAGE) { DeviceMgr.devicestorage = DeviceMgr.device->storage; } else { DeviceMgr.devicestorage = getCurrentDeviceStoragePtr(DeviceMgr.storagedeviceID); } // Supported filetypes; ret = LIBMTP_Get_Supported_Filetypes(DeviceMgr.device, &DeviceMgr.filetypes, &DeviceMgr.filetypes_len); if (ret != 0) { LIBMTP_Dump_Errorstack(DeviceMgr.device); LIBMTP_Clear_Errorstack(DeviceMgr.device); } } } else { // Set to to none. g_fprintf(stderr, _("DevicePropeties: How did I get called?\n")); DeviceMgr.device = NULL; } } // ************************************************************************************************ void clearDeviceFiles(LIBMTP_file_t * filelist) { if (filelist != NULL) { if (filelist->next != NULL) { clearDeviceFiles(filelist->next); filelist->next = NULL; } LIBMTP_destroy_file_t(filelist); } } // ************************************************************************************************ void clearAlbumStruc(LIBMTP_album_t * albumlist) { if (albumlist != NULL) { if (albumlist->next != NULL) { clearAlbumStruc(albumlist->next); albumlist->next = NULL; } LIBMTP_destroy_album_t(albumlist); } } // ************************************************************************************************ void clearDevicePlaylist(LIBMTP_playlist_t * playlist_list) { if (playlist_list != NULL) { if (playlist_list->next != NULL) { clearDevicePlaylist(playlist_list->next); playlist_list->next = NULL; } LIBMTP_destroy_playlist_t(playlist_list); } } // ************************************************************************************************ void clearDeviceTracks(LIBMTP_track_t * tracklist) { if (tracklist != NULL) { if (tracklist->next != NULL) { clearDeviceTracks(tracklist->next); tracklist->next = NULL; } LIBMTP_destroy_track_t(tracklist); } } // ************************************************************************************************ void printFolders(LIBMTP_folder_t *fold) { while (fold != NULL) { g_printf("folder: %s\n", fold->name); if (fold->child != NULL) { printFolders(fold->child); } fold = fold->sibling; } } // ************************************************************************************************ void deviceRescan() { //g_print("You selected deviceRescan\n"); // First we clear the file and folder list... fileListClear(); folderListClear(); // Now clear the folder/file structures. if (deviceFolders != NULL) LIBMTP_destroy_folder_t(deviceFolders); if (deviceFiles != NULL) clearDeviceFiles(deviceFiles); // Add in track, playlist globals as well. deviceFolders = NULL; deviceFiles = NULL; // Now get started. if (DeviceMgr.deviceConnected) { // Get a list of folder on the device. (Note: this may fail on some devices, and we end up with zero folders being listed) deviceFolders = LIBMTP_Get_Folder_List_For_Storage(DeviceMgr.device, DeviceMgr.devicestorage->id); if (deviceFolders == NULL) { LIBMTP_Dump_Errorstack(DeviceMgr.device); LIBMTP_Clear_Errorstack(DeviceMgr.device); } // Now get a list of files from the device. if (!Preferences.use_alt_access_method) { deviceFiles = LIBMTP_Get_Filelisting_With_Callback(DeviceMgr.device, NULL, NULL); } else { // Alternate access method ONLY gets the files for the CURRENT FOLDER ONLY. This should help some Android based devices. deviceFiles = LIBMTP_Get_Files_And_Folders(DeviceMgr.device, DeviceMgr.devicestorage->id, currentFolderID); } if (deviceFiles == NULL) { LIBMTP_Dump_Errorstack(DeviceMgr.device); LIBMTP_Clear_Errorstack(DeviceMgr.device); } devicePlayLists = getPlaylists(); deviceTracks = getTracks(); fileListAdd(); folderListAdd(deviceFolders, NULL); // Now update the storage... if (DeviceMgr.devicestorage == NULL) { if (LIBMTP_Get_Storage(DeviceMgr.device, 0) < 0) { // We have an error getting our storage, so let the user know and then disconnect the device. displayError(_("Failed to get storage parameters from the device - need to disconnect.")); on_deviceConnect_activate(NULL, NULL); return; } if (DeviceMgr.storagedeviceID == MTP_DEVICE_SINGLE_STORAGE) { DeviceMgr.devicestorage = DeviceMgr.device->storage; } else { DeviceMgr.devicestorage = getCurrentDeviceStoragePtr(DeviceMgr.storagedeviceID); } } // Update the status bar. gchar* tmp_string; if (DeviceMgr.storagedeviceID == MTP_DEVICE_SINGLE_STORAGE) { tmp_string = g_strdup_printf(_("Connected to %s - %d MB free"), DeviceMgr.devicename->str, (int) (DeviceMgr.devicestorage->FreeSpaceInBytes / MEGABYTE)); } else { if (DeviceMgr.devicestorage->StorageDescription != NULL) { tmp_string = g_strdup_printf(_("Connected to %s (%s) - %d MB free"), DeviceMgr.devicename->str, DeviceMgr.devicestorage->StorageDescription, (int) (DeviceMgr.devicestorage->FreeSpaceInBytes / MEGABYTE)); } else { tmp_string = g_strdup_printf(_("Connected to %s - %d MB free"), DeviceMgr.devicename->str, (int) (DeviceMgr.devicestorage->FreeSpaceInBytes / MEGABYTE)); } } statusBarSet(tmp_string); g_free(tmp_string); } else { g_fprintf(stderr, _("Rescan: How did I get called?\n")); } } // ************************************************************************************************ LIBMTP_devicestorage_t* getCurrentDeviceStoragePtr(gint StorageID) { LIBMTP_devicestorage_t* deviceStorage = DeviceMgr.device->storage; gint i = 0; // This is easy, as the gint is the number of hops we need to do to get to our target. if (StorageID == MTP_DEVICE_SINGLE_STORAGE) return DeviceMgr.device->storage; if (StorageID == 0) return DeviceMgr.device->storage; for (i = 0; i < StorageID; i++) { deviceStorage = deviceStorage->next; if (deviceStorage == NULL) // Oops, off the end return DeviceMgr.device->storage; } return deviceStorage; } // ************************************************************************************************ uint32_t getParentFolderID(LIBMTP_folder_t *tmpfolder, uint32_t currentFolderID) { uint32_t parentID = 0; if (tmpfolder == NULL) { return 0; } if (tmpfolder->folder_id == currentFolderID) { parentID = tmpfolder->parent_id; return parentID; } parentID = getParentFolderID(tmpfolder->child, currentFolderID); if (parentID != 0) return parentID; parentID = getParentFolderID(tmpfolder->sibling, currentFolderID); return parentID; } // ************************************************************************************************ LIBMTP_folder_t* getParentFolderPtr(LIBMTP_folder_t *tmpfolder, uint32_t currentFolderID) { LIBMTP_folder_t* parentID = NULL; if (tmpfolder == NULL) { return tmpfolder; } if (tmpfolder->parent_id == currentFolderID) { return tmpfolder; } parentID = getParentFolderPtr(tmpfolder->child, currentFolderID); if (parentID != NULL) return parentID; parentID = getParentFolderPtr(tmpfolder->sibling, currentFolderID); return parentID; } // ************************************************************************************************ LIBMTP_folder_t* getCurrentFolderPtr(LIBMTP_folder_t *tmpfolder, uint32_t FolderID) { LIBMTP_folder_t* parentID = NULL; if (tmpfolder == NULL) { return tmpfolder; } if (tmpfolder->folder_id == FolderID) { return tmpfolder; } parentID = getCurrentFolderPtr(tmpfolder->child, FolderID); if (parentID != NULL) return parentID; parentID = getCurrentFolderPtr(tmpfolder->sibling, FolderID); return parentID; } // ************************************************************************************************ void filesUpateFileList() { if (deviceFiles != NULL) { clearDeviceFiles(deviceFiles); } deviceFiles = LIBMTP_Get_Files_And_Folders(DeviceMgr.device, DeviceMgr.devicestorage->id, currentFolderID); if (deviceFiles == NULL) { LIBMTP_Dump_Errorstack(DeviceMgr.device); LIBMTP_Clear_Errorstack(DeviceMgr.device); } } // ************************************************************************************************ void filesAdd(gchar* filename) { struct stat sb; // Maybe something went wrong, so we disconnected. If so, then simple exit.... if (DeviceMgr.deviceConnected == FALSE) { return; } if (progressDialog_killed == TRUE) { return; } if (stat(filename, &sb) == -1) { perror("stat"); return; } uint64_t filesize = sb.st_size; if (filesize > DeviceMgr.devicestorage->FreeSpaceInBytes) { g_fprintf(stderr, _("Unable to add %s due to insufficient space: filesize = %llu, freespace = %llu\n"), filename, (unsigned long long int) filesize, (unsigned long long int) DeviceMgr.devicestorage->FreeSpaceInBytes); displayError(_("Unable to add file due to insufficient space")); return; } gchar *filename_stripped = basename(filename); //displayProgressBar(_("File Upload")); setProgressFilename((filename_stripped)); // What we need to do is work what type of file we are sending // and either use the general file send, or // use the track send function. gint ret = find_filetype(filename_stripped); gboolean useTrack = (ret == LIBMTP_FILETYPE_MP3) || (ret == LIBMTP_FILETYPE_OGG) || (ret == LIBMTP_FILETYPE_FLAC) || (ret == LIBMTP_FILETYPE_WMA); if (Preferences.allmediaasfiles) { useTrack = FALSE; } if (useTrack) { // We have an MP3/Ogg/FLAC/WMA file. LIBMTP_track_t *trackfile = LIBMTP_new_track_t(); trackfile->filesize = filesize; trackfile->filename = g_strdup(filename_stripped); trackfile->filetype = find_filetype(filename_stripped); trackfile->parent_id = currentFolderID; trackfile->storage_id = DeviceMgr.devicestorage->id; trackfile->album = NULL; trackfile->title = NULL; trackfile->artist = NULL; trackfile->date = NULL; trackfile->genre = NULL; trackfile->tracknumber = 0; LIBMTP_album_t *albuminfo = LIBMTP_new_album_t(); albuminfo->parent_id = currentFolderID; albuminfo->storage_id = DeviceMgr.devicestorage->id; albuminfo->album_id = 0; // Let's collect our metadata from the file, typically id3 tag data. switch (ret) { case LIBMTP_FILETYPE_MP3: // We have an MP3 file, so use id3tag to read the metadata. get_id3_tags(filename, trackfile); break; case LIBMTP_FILETYPE_OGG: get_ogg_tags(filename, trackfile); break; case LIBMTP_FILETYPE_FLAC: get_flac_tags(filename, trackfile); break; case LIBMTP_FILETYPE_WMA: get_asf_tags(filename, trackfile); break; //break; } // Add some data if it's all blank so we don't freak out some players. if (trackfile->album == NULL) trackfile->album = NULL; if (trackfile->title == NULL) trackfile->title = g_strdup(filename_stripped); if (trackfile->artist == NULL) trackfile->artist = g_strdup(_("")); if (trackfile->date == NULL) { trackfile->date = g_strdup(""); } else { if (strlen(trackfile->date) == 4) { // only have year part, so extend it. trackfile->date = g_strconcat(trackfile->date, "0101T000000", NULL); } } if (trackfile->genre == NULL) trackfile->genre = g_strdup(_("")); // Update our album info, if we actually have an album. if (trackfile->album != NULL) { albuminfo->name = g_strdup(trackfile->album); albuminfo->artist = g_strdup(trackfile->artist); albuminfo->composer = NULL; albuminfo->genre = g_strdup(trackfile->genre); } // If we need a playlist, then ask for it. if (addTrackPlaylistID == GMTP_REQUIRE_PLAYLIST) { addTrackPlaylistID = displayAddTrackPlaylistDialog(TRUE); } // Now send the track ret = LIBMTP_Send_Track_From_File(DeviceMgr.device, filename, trackfile, fileprogress, NULL); if (ret != 0) { LIBMTP_error_t* error = LIBMTP_Get_Errorstack(DeviceMgr.device); if (error != NULL && error->errornumber != LIBMTP_ERROR_CANCELLED) { // Report the error in sending the file. g_fprintf(stderr, _("Error sending track.\n")); displayError(g_strdup_printf(_("Error code %d sending track to device: %s"), ret, filename)); destroyProgressBar(); progressDialog_killed = TRUE; } else { g_fprintf(stderr, _("Transfer canceled.")); displayInformation(_("Transfer canceled.")); } LIBMTP_Dump_Errorstack(DeviceMgr.device); LIBMTP_Clear_Errorstack(DeviceMgr.device); } else { // Adjust device storage. DeviceMgr.devicestorage->FreeSpaceInBytes -= filesize; DeviceMgr.devicestorage->FreeSpaceInObjects--; // Only update Album data if transfer was successful. if (trackfile->album != NULL) { albumAddTrackToAlbum(albuminfo, trackfile); } // Now add to playlist if needed... if ((addTrackPlaylistID != GMTP_REQUIRE_PLAYLIST) && (addTrackPlaylistID != GMTP_NO_PLAYLIST)) { // addTrackPlaylistID has the ID of the playlist, and trackfile is the track we need to // add to that playlist. // Find the playlist. LIBMTP_playlist_t* tmpplaylist = devicePlayLists; while (tmpplaylist != NULL) { if (tmpplaylist->playlist_id != (uint32_t) addTrackPlaylistID) { // Don't have it. tmpplaylist = tmpplaylist->next; } else { //We have found it. playlistAddTrack(tmpplaylist, trackfile); tmpplaylist = NULL; } } } } LIBMTP_destroy_track_t(trackfile); LIBMTP_destroy_album_t(albuminfo); } else { // Generic file upload. LIBMTP_file_t *genfile = LIBMTP_new_file_t(); genfile->filesize = filesize; genfile->filename = g_strdup(filename_stripped); genfile->filetype = find_filetype(filename_stripped); genfile->parent_id = currentFolderID; genfile->storage_id = DeviceMgr.devicestorage->id; // Only import the file if it's not a Playlist or Album. (Bad mojo if this happens). if ((genfile->filetype != LIBMTP_FILETYPE_ALBUM) && (genfile->filetype != LIBMTP_FILETYPE_PLAYLIST)) { ret = LIBMTP_Send_File_From_File(DeviceMgr.device, filename, genfile, fileprogress, NULL); if (ret != 0) { LIBMTP_error_t* error = LIBMTP_Get_Errorstack(DeviceMgr.device); if (error != NULL && error->errornumber != LIBMTP_ERROR_CANCELLED) { // Report the error in sending the file. g_fprintf(stderr, _("Error sending file %s.\n"), filename); displayError(g_strconcat(_("Error sending file: "), filename, NULL)); destroyProgressBar(); progressDialog_killed = TRUE; } else { g_fprintf(stderr, _("Transfer canceled.")); displayInformation(_("Transfer canceled.")); } LIBMTP_Dump_Errorstack(DeviceMgr.device); LIBMTP_Clear_Errorstack(DeviceMgr.device); } else { // Adjust device storage. DeviceMgr.devicestorage->FreeSpaceInBytes -= filesize; DeviceMgr.devicestorage->FreeSpaceInObjects--; } } LIBMTP_destroy_file_t(genfile); } // Now update the storage... if (DeviceMgr.devicestorage == NULL) { if (LIBMTP_Get_Storage(DeviceMgr.device, 0) < 0) { // We have an error getting our storage, so let the user know and then disconnect the device. displayError("Failed to get storage parameters from the device - need to disconnect."); on_deviceConnect_activate(NULL, NULL); return; } if (DeviceMgr.storagedeviceID == MTP_DEVICE_SINGLE_STORAGE) { DeviceMgr.devicestorage = DeviceMgr.device->storage; } else { DeviceMgr.devicestorage = getCurrentDeviceStoragePtr(DeviceMgr.storagedeviceID); } } } // ************************************************************************************************ void filesDelete(gchar* filename, uint32_t objectID) { gint ret = 1; GSList *node; //FileListStruc *fileptr; uint64_t filesize = 0; // Maybe something went wrong, so we disconnected. If so, then simple exit.... if (DeviceMgr.deviceConnected == FALSE) return; // Now remove the item from the searchlist if we are in search mode. if (inFindMode == TRUE) { // searchList node = searchList; while (node != NULL) { FileListStruc *fileptr = node->data; if (fileptr->itemid == objectID) { // remove this node from the main list; searchList = g_slist_delete_link(searchList, node); g_free_search(fileptr); node = NULL; } else { node = node->next; } } } // Get the filesize of the object. LIBMTP_file_t * files = deviceFiles; while (files != NULL) { if (files->item_id == objectID) { filesize = files->filesize; files = NULL; } else { files = files->next; } } // Delete the file based on the object ID. ret = LIBMTP_Delete_Object(DeviceMgr.device, objectID); if (ret != 0) { LIBMTP_Dump_Errorstack(DeviceMgr.device); LIBMTP_Clear_Errorstack(DeviceMgr.device); g_fprintf(stderr, _("\nFailed to delete file %s\n"), filename); displayError(g_strconcat(_("Failed to delete file: "), filename, NULL)); } else { // Adjust device storage. DeviceMgr.devicestorage->FreeSpaceInBytes += filesize; DeviceMgr.devicestorage->FreeSpaceInObjects++; } } // ************************************************************************************************ void filesDownload(gchar* filename, uint32_t objectID) { gchar* fullfilename = NULL; // Maybe something went wrong, so we disconnected. If so, then simple exit.... if (DeviceMgr.deviceConnected == FALSE) { return; } if (progressDialog_killed == TRUE) { return; } //displayProgressBar(_("File download")); setProgressFilename(filename); // Download the file based on the objectID. fullfilename = g_strdup_printf("%s/%s", Preferences.fileSystemDownloadPath->str, filename); if ((LIBMTP_Get_File_To_File(DeviceMgr.device, objectID, fullfilename, fileprogress, NULL)) != 0) { LIBMTP_error_t* error = LIBMTP_Get_Errorstack(DeviceMgr.device); if (error != NULL && error->errornumber != LIBMTP_ERROR_CANCELLED) { g_fprintf(stderr, _("\nError getting file from MTP device.\n")); displayError(_("Error getting file from MTP device.")); destroyProgressBar(); progressDialog_killed = TRUE; } else { g_fprintf(stderr, _("Transfer canceled.")); displayInformation(_("Transfer canceled.")); } LIBMTP_Dump_Errorstack(DeviceMgr.device); LIBMTP_Clear_Errorstack(DeviceMgr.device); } else { // Download complete... if (Preferences.retain_timestamp == TRUE) { LIBMTP_file_t *genfile = deviceFiles; while (genfile != NULL) { if (genfile->item_id == objectID) { // We have our file, so update it. time_t modificationdate = genfile->modificationdate; struct utimbuf filetime; filetime.actime = modificationdate; filetime.modtime = modificationdate; utime(fullfilename, &filetime); genfile = NULL; // break our loop... } else { genfile = genfile->next; } } } } //destroyProgressBar(); g_free(fullfilename); } // ************************************************************************************************ void filesRename(gchar* filename, uint32_t ObjectID) { // We must first determine, if this is a file, a folder, playlist or album // and use the correct API. LIBMTP_file_t *genfile = NULL; LIBMTP_album_t *albuminfo = NULL; LIBMTP_album_t *albumlist = NULL; LIBMTP_playlist_t *playlist = NULL; LIBMTP_folder_t *folder = NULL; GSList *node; if (filename == NULL) { return; } if (ObjectID == 0) { return; } // Now remove the item from the searchlist if we are in search mode. if (inFindMode == TRUE) { // searchList node = searchList; while (node != NULL) { FileListStruc *fileptr = node->data; if (fileptr->itemid == ObjectID) { // update the filename appropriately; g_free(fileptr->filename); fileptr->filename = g_strdup(filename); node = NULL; } else { node = node->next; } } } // Lets scan files first. genfile = deviceFiles; while (genfile != NULL) { if (genfile->item_id == ObjectID) { // We have our file, so update it. LIBMTP_Set_File_Name(DeviceMgr.device, genfile, filename); deviceRescan(); return; } genfile = genfile->next; } // Lets scan our albums. albuminfo = LIBMTP_Get_Album_List_For_Storage(DeviceMgr.device, DeviceMgr.devicestorage->id); albumlist = albuminfo; while (albuminfo != NULL) { if (albuminfo->album_id == ObjectID) { LIBMTP_Set_Album_Name(DeviceMgr.device, albuminfo, filename); deviceRescan(); clearAlbumStruc(albumlist); return; } albuminfo = albuminfo->next; } clearAlbumStruc(albumlist); // Let's scan our playlists. playlist = devicePlayLists; while (playlist != NULL) { if (playlist->playlist_id == ObjectID) { // We have our playlist, so update it. LIBMTP_Set_Playlist_Name(DeviceMgr.device, playlist, filename); deviceRescan(); return; } playlist = playlist->next; } // Lets scan our folders; folder = deviceFolders; folder = LIBMTP_Find_Folder(folder, ObjectID); if (folder != NULL) { LIBMTP_Set_Folder_Name(DeviceMgr.device, folder, filename); deviceRescan(); return; } } // ************************************************************************************************ guint32 folderAdd(gchar* foldername) { guint32 res = LIBMTP_Create_Folder(DeviceMgr.device, foldername, currentFolderID, DeviceMgr.devicestorage->id); if (res == 0) { g_fprintf(stderr, _("Folder creation failed: %s\n"), foldername); displayError(g_strconcat(_("Folder creation failed:"), foldername, NULL)); LIBMTP_Dump_Errorstack(DeviceMgr.device); LIBMTP_Clear_Errorstack(DeviceMgr.device); } return res; } // ************************************************************************************************ void folderDelete(LIBMTP_folder_t* folderptr, guint level) { if (folderptr == NULL) { // Sanity check for rogue data or exit here operation, that is no child/sibling to work on. return; } // This is fun, as we have to find all child folders, delete those, as well as all files contained within... // First iterate through all child folders and remove those files in those folders. // But first we need to get the folder structure pointer based on the objectID, so we know where to start. // So now we have our structure to the current select folder, so we need to cycle through all children and remove any files contained within. folderDeleteChildrenFiles(folderptr->folder_id); // Now cycle through folders contained in this folder and delete those; folderDelete(folderptr->child, level + 1); if (level != 0) folderDelete(folderptr->sibling, level + 1); // That should clear all the children. // Now remove the item from the searchlist if we are in search mode. if (inFindMode == TRUE) { // searchList GSList *node = searchList; while (node != NULL) { FileListStruc *fileptr = node->data; if (fileptr->itemid == folderptr->folder_id) { // remove this node from the main list; searchList = g_slist_delete_link(searchList, node); g_free_search(fileptr); node = NULL; } else { node = node->next; } } } // Now do self. guint res = LIBMTP_Delete_Object(DeviceMgr.device, folderptr->folder_id); if (res != 0) { g_fprintf(stderr, _("Couldn't delete folder %s (%x)\n"), folderptr->name, folderptr->folder_id); LIBMTP_Dump_Errorstack(DeviceMgr.device); LIBMTP_Clear_Errorstack(DeviceMgr.device); } else { // Adjust device storage. DeviceMgr.devicestorage->FreeSpaceInObjects++; } } // ************************************************************************************************ void folderDeleteChildrenFiles(guint folderID) { LIBMTP_file_t* files = deviceFiles; while (files != NULL) { if (files->parent_id == folderID) { filesDelete(files->filename, files->item_id); } files = files->next; } } // ************************************************************************************************ void folderDownload(gchar *foldername, uint32_t folderID, gboolean isParent) { gchar* fullfilename = NULL; LIBMTP_folder_t* currentFolder = NULL; LIBMTP_file_t* tmpFiles = NULL; // Store our current path for safe keeping and generate our new path. GString *currentdownload_folder = g_string_new(Preferences.fileSystemDownloadPath->str); fullfilename = g_strdup_printf("%s/%s", Preferences.fileSystemDownloadPath->str, foldername); // See if folder exists, if not create it. if (g_file_test(fullfilename, G_FILE_TEST_IS_DIR) == FALSE) { if (mkdir(fullfilename, S_IRWXU | S_IRWXG | S_IRWXO) != 0) { g_fprintf(stderr, _("Folder creation failed: %s\n"), fullfilename); displayError(g_strconcat(_("Folder creation failed: "), fullfilename, NULL)); // Since we can't create that directory, then we simple return from this call... return; } } if (!Preferences.use_alt_access_method) { // First we scan for all folders in the current folder, and do those first... if (folderID != 0) { currentFolder = getCurrentFolderPtr(deviceFolders, folderID); } else { // If our id = 0 then we are dealing with the root device. currentFolder = deviceFolders; } if (currentFolder == NULL) { // This means we don't exist, so bail out. return; } if (currentFolder->child != NULL) { // Now we can simple set our download path to the new path, and save all folders/files there. Preferences.fileSystemDownloadPath = g_string_assign(Preferences.fileSystemDownloadPath, fullfilename); // Call to download all folder/files in that folder... folderDownload(currentFolder->child->name, currentFolder->child->folder_id, FALSE); // Restore the old download path; Preferences.fileSystemDownloadPath = g_string_assign(Preferences.fileSystemDownloadPath, currentdownload_folder->str); } if ((isParent == FALSE) || (folderID == 0)) { if (currentFolder->sibling != NULL) { folderDownload(currentFolder->sibling->name, currentFolder->sibling->folder_id, FALSE); } } // Now download all the files whose parentID = folderID; // Now we can simple set our download path to the new path, and save all folders/files there. Preferences.fileSystemDownloadPath = g_string_assign(Preferences.fileSystemDownloadPath, fullfilename); // we no longer need the full folder path, so free it's variable. g_free(fullfilename); // Start processing all our files. tmpFiles = deviceFiles; while (tmpFiles != NULL) { if ((tmpFiles->parent_id == folderID) && (tmpFiles->storage_id == DeviceMgr.devicestorage->id)) { // We have a file in this folder, so download it... // But first check to see if it exists, before overwriting it... fullfilename = g_strdup_printf("%s/%s", Preferences.fileSystemDownloadPath->str, tmpFiles->filename); // Check if file exists? if (access(fullfilename, F_OK) != -1) { // We have that file already? if (Preferences.prompt_overwrite_file_op == TRUE) { if (fileoverwriteop == MTP_ASK) { fileoverwriteop = displayFileOverwriteDialog(tmpFiles->filename); } switch (fileoverwriteop) { case MTP_ASK: break; case MTP_SKIP: fileoverwriteop = MTP_ASK; break; case MTP_SKIP_ALL: break; case MTP_OVERWRITE: filesDownload(tmpFiles->filename, tmpFiles->item_id); fileoverwriteop = MTP_ASK; break; case MTP_OVERWRITE_ALL: filesDownload(tmpFiles->filename, tmpFiles->item_id); break; } } else { filesDownload(tmpFiles->filename, tmpFiles->item_id); } } else { filesDownload(tmpFiles->filename, tmpFiles->item_id); } // Free our file name... g_free(fullfilename); } // Start working on the next file... tmpFiles = tmpFiles->next; } } else { // Alt access method, we may have an invalid deviceFolders struct, so ignore for now. LIBMTP_file_t* fileList = LIBMTP_Get_Files_And_Folders(DeviceMgr.device, DeviceMgr.devicestorage->id, folderID); if (fileList == NULL) { LIBMTP_Dump_Errorstack(DeviceMgr.device); LIBMTP_Clear_Errorstack(DeviceMgr.device); return; } // Now we can simple set our download path to the new path, and save all folders/files there. Preferences.fileSystemDownloadPath = g_string_assign(Preferences.fileSystemDownloadPath, fullfilename); tmpFiles = fileList; while (tmpFiles != NULL) { if(tmpFiles->filetype == LIBMTP_FILETYPE_FOLDER){ // Now we can simple set our download path to the new path, and save all folders/files there. Preferences.fileSystemDownloadPath = g_string_assign(Preferences.fileSystemDownloadPath, fullfilename); // Call to download all folder/files in that folder... folderDownload(tmpFiles->filename, tmpFiles->item_id, FALSE); // Restore the old download path; Preferences.fileSystemDownloadPath = g_string_assign(Preferences.fileSystemDownloadPath, currentdownload_folder->str); } else { // We have a file in this folder, so download it... // But first check to see if it exists, before overwriting it... gchar* fullfilename2 = g_strdup_printf("%s/%s", Preferences.fileSystemDownloadPath->str, tmpFiles->filename); // Check if file exists? if (access(fullfilename2, F_OK) != -1) { // We have that file already? if (Preferences.prompt_overwrite_file_op == TRUE) { if (fileoverwriteop == MTP_ASK) { fileoverwriteop = displayFileOverwriteDialog(tmpFiles->filename); } switch (fileoverwriteop) { case MTP_ASK: break; case MTP_SKIP: fileoverwriteop = MTP_ASK; break; case MTP_SKIP_ALL: break; case MTP_OVERWRITE: filesDownload(tmpFiles->filename, tmpFiles->item_id); fileoverwriteop = MTP_ASK; break; case MTP_OVERWRITE_ALL: filesDownload(tmpFiles->filename, tmpFiles->item_id); break; } } else { filesDownload(tmpFiles->filename, tmpFiles->item_id); } } else { filesDownload(tmpFiles->filename, tmpFiles->item_id); } // Free our file name... g_free(fullfilename2); } // Start working on the next file... tmpFiles = tmpFiles->next; } if (fileList != NULL) { clearDeviceFiles(fileList); } // we no longer need the full folder path, so free it's variable. g_free(fullfilename); } // Restore the old download path; Preferences.fileSystemDownloadPath = g_string_assign(Preferences.fileSystemDownloadPath, currentdownload_folder->str); // Clean up any tmp items; g_string_free(currentdownload_folder, TRUE); } // ************************************************************************************************ LIBMTP_filetype_t find_filetype(const gchar * filename) { LIBMTP_filetype_t filetype = LIBMTP_FILETYPE_UNKNOWN; gchar *fileext; gint i; gint j = sizeof (file_ext) / sizeof (MTP_file_ext_struct); fileext = strrchr(filename, '.'); // This accounts for the case with a filename without any "." (period). if (!fileext) { fileext = ""; } else { ++fileext; } // Now cycle through the array of extensions, and get the associated // libmtp filetype. for (i = 0; i < j; i++) { if (g_ascii_strcasecmp(fileext, file_ext[i].file_extension) == 0) { filetype = file_ext[i].file_type; break; } } //if (filetype == 0) { // filetype = LIBMTP_FILETYPE_UNKNOWN; //} return filetype; } // ************************************************************************************************ gchar* find_filetype_ext(LIBMTP_filetype_t filetype) { gint i = 0; gint j = sizeof (file_ext) / sizeof (MTP_file_ext_struct); for (i = 0; i < j; i++) { if (filetype == file_ext[i].file_type) { return file_ext[i].file_extension; } } return blank_ext; } // ************************************************************************************************ void setDeviceName(gchar* devicename) { gint res = 0; if (DeviceMgr.deviceConnected == TRUE) { if (devicename != NULL) res = LIBMTP_Set_Friendlyname(DeviceMgr.device, devicename); if (res != 0) { g_fprintf(stderr, _("Error: Couldn't set device name to %s\n"), devicename); LIBMTP_Dump_Errorstack(DeviceMgr.device); LIBMTP_Clear_Errorstack(DeviceMgr.device); } } else { // Set to to none. g_fprintf(stderr, _("setDeviceName: How did I get called?\n")); } } // ************************************************************************************************ gboolean fileExists(gchar* filename) { // What we have to go is scan the entire file tree looking for // entries in the same folder as the current and the same // storage pool, then we do a string compare (since doing a string // compare is so much slower than comparing a few numbers). LIBMTP_file_t* tmpfile; LIBMTP_file_t* aafile = NULL; if (Preferences.use_alt_access_method) { tmpfile = LIBMTP_Get_Files_And_Folders(DeviceMgr.device, DeviceMgr.devicestorage->id, currentFolderID); aafile = tmpfile; } else { tmpfile = deviceFiles; } while (tmpfile != NULL) { // Check for matching folder ID and storage ID. if ((tmpfile->parent_id == currentFolderID) && (tmpfile->storage_id == DeviceMgr.devicestorage->id)) { // Now test for the file name (do case insensitive cmp for those odd devices); if (g_ascii_strcasecmp(filename, tmpfile->filename) == 0){ if(aafile != NULL){ clearDeviceFiles(aafile); } return TRUE; } } tmpfile = tmpfile->next; } if(aafile != NULL){ clearDeviceFiles(aafile); } return FALSE; } // ************************************************************************************************ uint32_t getFile(gchar* filename, uint32_t folderID) { // What we have to go is scan the entire file tree looking for // entries in the same folder as the current and the same // storage pool, then we do a string compare (since doing a string // compare is so much slower than comparing a few numbers). LIBMTP_file_t* tmpfile; LIBMTP_file_t* aafile = NULL; if (Preferences.use_alt_access_method) { tmpfile = LIBMTP_Get_Files_And_Folders(DeviceMgr.device, DeviceMgr.devicestorage->id, folderID); aafile = tmpfile; } else { tmpfile = deviceFiles; } while (tmpfile != NULL) { // Check for matching folder ID and storage ID. if ((tmpfile->parent_id == currentFolderID) && (tmpfile->storage_id == DeviceMgr.devicestorage->id)) { // Now test for the file name (do case insensitive cmp for those odd devices); if (g_ascii_strcasecmp(filename, tmpfile->filename) == 0){ uint32_t id = tmpfile->item_id; if(aafile != NULL){ clearDeviceFiles(aafile); } return id; } } tmpfile = tmpfile->next; } if(aafile != NULL){ clearDeviceFiles(aafile); } return -1; } // ************************************************************************************************ gboolean folderExists(gchar *foldername, uint32_t folderID) { if (Preferences.use_alt_access_method) { LIBMTP_file_t* tmpfile = LIBMTP_Get_Files_And_Folders(DeviceMgr.device, DeviceMgr.devicestorage->id, folderID); LIBMTP_file_t* aafile = tmpfile; while (tmpfile != NULL) { // Check for matching folder ID and storage ID. if ((tmpfile->parent_id == currentFolderID) && (tmpfile->storage_id == DeviceMgr.devicestorage->id)) { // Now test for the file name (do case insensitive cmp for those odd devices); if (g_ascii_strcasecmp(foldername, tmpfile->filename) == 0){ if(aafile != NULL){ clearDeviceFiles(aafile); } return TRUE; } } tmpfile = tmpfile->next; } if(aafile != NULL){ clearDeviceFiles(aafile); } } else { LIBMTP_folder_t* folder = getCurrentFolderPtr(deviceFolders, folderID); if (folder == NULL) { return FALSE; } // Scan for child folders with the same name. LIBMTP_folder_t* child = folder->child; while (child != NULL) { if (g_ascii_strcasecmp(foldername, child->name) == 0) return TRUE; child = child->sibling; } } return FALSE; } // ************************************************************************************************ uint32_t getFolder(gchar *foldername, uint32_t folderID) { if (Preferences.use_alt_access_method) { LIBMTP_file_t* tmpfile = LIBMTP_Get_Files_And_Folders(DeviceMgr.device, DeviceMgr.devicestorage->id, folderID); LIBMTP_file_t* aafile = tmpfile; while (tmpfile != NULL) { // Check for matching folder ID and storage ID. if ((tmpfile->parent_id == currentFolderID) && (tmpfile->storage_id == DeviceMgr.devicestorage->id)) { // Now test for the file name (do case insensitive cmp for those odd devices); if (g_ascii_strcasecmp(foldername, tmpfile->filename) == 0){ uint32_t id = tmpfile->item_id; if(aafile != NULL){ clearDeviceFiles(aafile); } return id; } } tmpfile = tmpfile->next; } if(aafile != NULL){ clearDeviceFiles(aafile); } } else { LIBMTP_folder_t* folder = getCurrentFolderPtr(deviceFolders, folderID); if (folder == NULL) { return FALSE; } // Scan for child folders with the same name. LIBMTP_folder_t* child = folder->child; while (child != NULL) { if (g_ascii_strcasecmp(foldername, child->name) == 0) return child->folder_id; child = child->sibling; } } return -1; } // ************************************************************************************************ void albumAddTrackToAlbum(LIBMTP_album_t* albuminfo, LIBMTP_track_t* trackinfo) { LIBMTP_album_t *album = NULL; LIBMTP_album_t *found_album = NULL; LIBMTP_album_t *album_orig = NULL; gint ret = 0; // Quick sanity check. if ((albuminfo->name == NULL) || (albuminfo->artist == NULL)) return; // Lets try to find the album. album = LIBMTP_Get_Album_List_For_Storage(DeviceMgr.device, DeviceMgr.devicestorage->id); album_orig = album; while ((album != NULL) && (found_album == NULL)) { if ((album->name != NULL) && (album->artist != NULL)) { // Lets test it. We attempt to match both album name and artist. if ((g_ascii_strcasecmp(album->name, albuminfo->name) == 0) && (g_ascii_strcasecmp(album->artist, albuminfo->artist) == 0)) { found_album = album; } } album = album->next; } // Some devices ignore all other fields and only retain the ablum name - so test for this as well! album = album_orig; if (found_album == NULL) { while ((album != NULL) && (found_album == NULL)) { if (album->name != NULL) { // Lets test it. We attempt to match both album name and artist. if (g_ascii_strcasecmp(album->name, albuminfo->name) == 0) { found_album = album; } } album = album->next; } } if (found_album != NULL) { // The album already exists. uint32_t *tracks; tracks = (uint32_t *) g_malloc0((found_album->no_tracks + 1) * sizeof (uint32_t)); if (!tracks) { g_fprintf(stderr, _("ERROR: Failed memory allocation in albumAddTrackToAlbum()\n")); return; } found_album->no_tracks++; if (found_album->tracks != NULL) { memcpy(tracks, found_album->tracks, found_album->no_tracks * sizeof (uint32_t)); free(found_album->tracks); } tracks[found_album->no_tracks - 1] = trackinfo->item_id; // This ID is only set once the track is on the device. found_album->tracks = tracks; ret = LIBMTP_Update_Album(DeviceMgr.device, found_album); g_free(tracks); found_album->tracks = NULL; } else { // New album. uint32_t *trackid; trackid = (uint32_t *) g_malloc0(sizeof (uint32_t)); *trackid = trackinfo->item_id; albuminfo->tracks = trackid; albuminfo->no_tracks = 1; albuminfo->storage_id = DeviceMgr.devicestorage->id; ret = LIBMTP_Create_New_Album(DeviceMgr.device, albuminfo); g_free(trackid); albuminfo->tracks = NULL; } if (ret != 0) { if (Preferences.suppress_album_errors == FALSE) { if (AlbumErrorIgnore == FALSE) { displayError(_("Error creating or updating album.\n(This could be due to that your device does not support albums.)\n")); g_fprintf(stderr, _("Error creating or updating album.\n(This could be due to that your device does not support albums.)\n")); } } // Displayed the message once already per transfer... AlbumErrorIgnore = TRUE; LIBMTP_Dump_Errorstack(DeviceMgr.device); LIBMTP_Clear_Errorstack(DeviceMgr.device); } clearAlbumStruc(album_orig); } // ************************************************************************************************ void albumAddArt(guint32 album_id, gchar* filename) { LIBMTP_filesampledata_t *albumart; gint ret; uint64_t filesize; uint8_t *imagedata = NULL; struct stat statbuff; FILE* fd; if (stat(filename, &statbuff) == -1) { perror("stat"); return; } filesize = (uint64_t) statbuff.st_size; imagedata = g_malloc(filesize * sizeof (uint8_t)); if (imagedata == NULL) { g_fprintf(stderr, _("ERROR: Failed memory allocation in albumAddArt()\n")); return; } fd = fopen(filename, "r"); if (fd == NULL) { g_fprintf(stderr, _("Couldn't open image file %s\n"), filename); g_free(imagedata); return; } else { size_t i = fread(imagedata, filesize, 1, fd); fclose(fd); if (i != 1) { g_fprintf(stderr, _("Couldn't open image file %s\n"), filename); g_free(imagedata); return; } } albumart = LIBMTP_new_filesampledata_t(); albumart->data = (gchar *) imagedata; albumart->size = filesize; albumart->filetype = find_filetype(basename(filename)); ret = LIBMTP_Send_Representative_Sample(DeviceMgr.device, album_id, albumart); if (ret != 0) { g_fprintf(stderr, _("Couldn't send album art\n")); displayError(_("Couldn't send album art\n")); LIBMTP_Dump_Errorstack(DeviceMgr.device); LIBMTP_Clear_Errorstack(DeviceMgr.device); } g_free(imagedata); albumart->data = NULL; // Adjust device storage. DeviceMgr.devicestorage->FreeSpaceInBytes -= filesize; DeviceMgr.devicestorage->FreeSpaceInObjects--; LIBMTP_destroy_filesampledata_t(albumart); } // ************************************************************************************************ LIBMTP_filesampledata_t * albumGetArt(LIBMTP_album_t* selectedAlbum) { LIBMTP_filesampledata_t *albumart = LIBMTP_new_filesampledata_t(); gint ret; // Attempt to get some data ret = LIBMTP_Get_Representative_Sample(DeviceMgr.device, selectedAlbum->album_id, albumart); if (ret != 0) { LIBMTP_Dump_Errorstack(DeviceMgr.device); LIBMTP_Clear_Errorstack(DeviceMgr.device); LIBMTP_destroy_filesampledata_t(albumart); return NULL; } if (albumart == NULL) { // Something went wrong; return NULL; } return albumart; } // ************************************************************************************************ void albumDeleteArt(guint32 album_id) { LIBMTP_filesampledata_t *albumart = LIBMTP_new_filesampledata_t(); // Attempt to send a null representative sample. albumart->data = NULL; albumart->size = 0; albumart->filetype = LIBMTP_FILETYPE_UNKNOWN; gint ret = LIBMTP_Send_Representative_Sample(DeviceMgr.device, album_id, albumart); if (ret != 0) { g_fprintf(stderr, _("Couldn't remove album art\n")); displayError(_("Couldn't remove album art\n")); LIBMTP_Dump_Errorstack(DeviceMgr.device); LIBMTP_Clear_Errorstack(DeviceMgr.device); } LIBMTP_destroy_filesampledata_t(albumart); } // ************************************************************************************************ LIBMTP_playlist_t* getPlaylists(void) { if (devicePlayLists != NULL) clearDevicePlaylist(devicePlayLists); devicePlayLists = LIBMTP_Get_Playlist_List(DeviceMgr.device); if (devicePlayLists == NULL) { LIBMTP_Dump_Errorstack(DeviceMgr.device); LIBMTP_Clear_Errorstack(DeviceMgr.device); } return devicePlayLists; } // ************************************************************************************************ LIBMTP_track_t* getTracks(void) { if (deviceTracks != NULL) clearDeviceTracks(deviceTracks); deviceTracks = LIBMTP_Get_Tracklisting_With_Callback(DeviceMgr.device, NULL, NULL); if (deviceTracks == NULL) { LIBMTP_Dump_Errorstack(DeviceMgr.device); LIBMTP_Clear_Errorstack(DeviceMgr.device); } return deviceTracks; } // ************************************************************************************************ void playlistAdd(gchar* playlistname) { LIBMTP_playlist_t *playlist = LIBMTP_new_playlist_t(); playlist->name = g_strdup(playlistname); playlist->no_tracks = 0; playlist->tracks = NULL; playlist->parent_id = DeviceMgr.device->default_playlist_folder; playlist->storage_id = DeviceMgr.devicestorage->id; gint ret = LIBMTP_Create_New_Playlist(DeviceMgr.device, playlist); if (ret != 0) { displayError(_("Couldn't create playlist object\n")); LIBMTP_Dump_Errorstack(DeviceMgr.device); LIBMTP_Clear_Errorstack(DeviceMgr.device); } LIBMTP_destroy_playlist_t(playlist); } // ************************************************************************************************ void playlistDelete(LIBMTP_playlist_t * tmpplaylist) { guint res = LIBMTP_Delete_Object(DeviceMgr.device, tmpplaylist->playlist_id); if (res != 0) { displayError(_("Deleting playlist failed?\n")); LIBMTP_Dump_Errorstack(DeviceMgr.device); LIBMTP_Clear_Errorstack(DeviceMgr.device); } } // ************************************************************************************************ void playlistUpdate(LIBMTP_playlist_t * tmpplaylist) { guint res = LIBMTP_Update_Playlist(DeviceMgr.device, tmpplaylist); if (res != 0) { displayError(_("Updating playlist failed?\n")); LIBMTP_Dump_Errorstack(DeviceMgr.device); LIBMTP_Clear_Errorstack(DeviceMgr.device); } } // ************************************************************************************************ gchar* playlistImport(gchar * filename) { FILE* fd; gchar* playlistname = NULL; uint32_t *tracktmp = NULL; gboolean ignorepath = Preferences.ignore_path_in_playlist_import; // Build basic playlist object LIBMTP_playlist_t *playlist = LIBMTP_new_playlist_t(); playlist->name = NULL; playlist->no_tracks = 0; playlist->tracks = NULL; playlist->parent_id = DeviceMgr.device->default_playlist_folder; playlist->storage_id = DeviceMgr.devicestorage->id; // Load the file, and parse. fd = fopen(filename, "r"); if (fd == NULL) { g_fprintf(stderr, _("Couldn't open playlist file %s\n"), filename); displayError(_("Couldn't open playlist file\n")); LIBMTP_destroy_playlist_t(playlist); return NULL; } else { gchar* fileString = g_malloc0(GMTP_MAX_STRING); // Read file until EOF while (fgets(fileString, GMTP_MAX_STRING, fd) != NULL) { // Strip any trailing '\n' from the string... fileString = g_strchomp(fileString); if (g_ascii_strncasecmp(fileString, "#GMTPPLA: ", 10) == 0) { // We have a playlist name marker... playlistname = g_strdup((fileString + 10)); playlist->name = g_strdup(playlistname); } else { // We should have a file? // But ignore ANY line starting with a # as this is a comment line. if ((*fileString != '#') && (*fileString != '\0')) { uint32_t fileobject = getFileID(fileString, ignorepath); if (fileobject != 0) { // We have a file within our device! playlist->no_tracks++; if ((tracktmp = g_realloc(playlist->tracks, sizeof (uint32_t) * (playlist->no_tracks))) == NULL) { g_fprintf(stderr, _("realloc in playlistImport failed\n")); displayError(_("Updating playlist failed? 'realloc in playlistImport'\n")); return NULL; } playlist->tracks = tracktmp; playlist->tracks[(playlist->no_tracks - 1)] = fileobject; } } } } g_free(fileString); fclose(fd); } if ((playlistname == NULL) && (playlist->no_tracks > 0)) { // We have some tracks, but no playlist name. // So derive the playlist name from the filename... playlistname = g_path_get_basename(filename); // Now chop off the file extension? gchar* needle = g_strrstr(playlistname, "."); if (needle != NULL) { *needle = '\0'; } // And set the name... playlist->name = g_strdup(playlistname); } // If we have something? if ((playlistname != NULL) && (playlist->no_tracks > 0)) { // Store the playlist on the device... gint ret = LIBMTP_Create_New_Playlist(DeviceMgr.device, playlist); if (ret != 0) { displayError(_("Couldn't create playlist object\n")); LIBMTP_Dump_Errorstack(DeviceMgr.device); LIBMTP_Clear_Errorstack(DeviceMgr.device); g_free(playlistname); playlistname = NULL; } else { displayInformation(_("Playlist imported.\n")); } } else { // Let the user know we found zero tracks, so didn't bother to import it. displayInformation(_("Found no tracks within the playlist that exist on this device. Did not import the playlist.\n")); g_fprintf(stderr, _("Found no tracks within the playlist that exist on this device. Did not import the playlist.\n")); // Clean up the playlist name, since we don't need it. if (playlistname != NULL) { g_free(playlistname); playlistname = NULL; } } // Clean up our playlist data structure. LIBMTP_destroy_playlist_t(playlist); // Return to caller. return playlistname; } // ************************************************************************************************ void playlistExport(gchar * filename, LIBMTP_playlist_t * playlist) { FILE* fd; uint32_t numtracks = playlist->no_tracks; uint32_t *tracks = playlist->tracks; // Open the file to save it to... fd = fopen(filename, "w"); if (fd == NULL) { g_fprintf(stderr, _("Couldn't save playlist file %s\n"), filename); displayError(_("Couldn't save playlist file\n")); } else { fprintf(fd, "#GMTPPLA: %s\n", playlist->name); fflush(fd); while (numtracks--) { uint32_t trackid = *tracks++; // We now have our track id. Let's form the complete path to the file including the filename. // Then store that string in the file... gchar* trackname = getFullFilename(trackid); if (trackname != NULL) { fprintf(fd, "%s\n", trackname); g_free(trackname); trackname = NULL; } } fclose(fd); } } // ************************************************************************************************ void formatStorageDevice() { if (DeviceMgr.deviceConnected) { guint res = LIBMTP_Format_Storage(DeviceMgr.device, DeviceMgr.devicestorage); if (res != 0) { displayError(_("Format Device failed?\n")); LIBMTP_Dump_Errorstack(DeviceMgr.device); LIBMTP_Clear_Errorstack(DeviceMgr.device); } } else { g_fprintf(stderr, ("formatStorageDevice: How did I get called?\n")); } } // ************************************************************************************************ void playlistAddTrack(LIBMTP_playlist_t* playlist, LIBMTP_track_t* track) { LIBMTP_playlist_t* tmpplaylist = playlist; uint32_t *tmp = NULL; tmpplaylist->no_tracks++; // item_id = our track num... so append to tmpplaylist->tracks if ((tmp = g_realloc(tmpplaylist->tracks, sizeof (uint32_t) * (tmpplaylist->no_tracks))) == NULL) { g_fprintf(stderr, _("realloc in savePlayList failed\n")); displayError(_("Updating playlist failed? 'realloc in savePlayList'\n")); return; } tmpplaylist->tracks = tmp; tmpplaylist->tracks[(tmpplaylist->no_tracks - 1)] = track->item_id; playlistUpdate(tmpplaylist); } // ************************************************************************************************ void playlistRemoveTrack(LIBMTP_playlist_t* playlist, LIBMTP_track_t* track, uint32_t instances) { LIBMTP_playlist_t* tmpplaylist = playlist; uint32_t *tmp = NULL; uint32_t numtracks = tmpplaylist->no_tracks; int32_t count; int32_t count2; // item_id = our track num... so remove to tmpplaylist->tracks if ((instances == MTP_PLAYLIST_ALL_INSTANCES) || (instances == MTP_PLAYLIST_FIRST_INSTANCE)) { for (count = 0; count < (int32_t) numtracks; count++) { if (tmpplaylist->tracks[count] == track->item_id) { // move all ones up one. for (count2 = count; count2 < (int32_t) numtracks; count2++) { if ((count2 + 1) != (int32_t) numtracks) { tmpplaylist->tracks[count2] = tmpplaylist->tracks[count2 + 1]; } } // exit the for loop if only doing the first instance. if (instances == MTP_PLAYLIST_FIRST_INSTANCE) { count = numtracks; } tmpplaylist->no_tracks--; } } } else { for (count = numtracks - 1; count >= 0; count--) { if (tmpplaylist->tracks[count] == track->item_id) { // move all ones up one. for (count2 = count; count2 < (int32_t) numtracks; count2++) { if ((count2 + 1) != (int32_t) numtracks) { tmpplaylist->tracks[count2] = tmpplaylist->tracks[count2 + 1]; } } // exit the for loop if only doing the first instance. if (instances == MTP_PLAYLIST_LAST_INSTANCE) { count = numtracks; } tmpplaylist->no_tracks--; } } } // And redo the memory allocation. if ((tmp = g_realloc(tmpplaylist->tracks, sizeof (uint32_t) * (tmpplaylist->no_tracks))) == NULL) { g_fprintf(stderr, _("realloc in savePlayList failed\n")); displayError(_("Updating playlist failed? 'realloc in savePlayList'\n")); return; } tmpplaylist->tracks = tmp; playlistUpdate(tmpplaylist); } // ************************************************************************************************ gchar* getFullFilename(uint32_t item_id) { gchar* fullfilename = NULL; gchar* tmpfilename = NULL; uint32_t parent_id = 0; LIBMTP_file_t* tmpfile = deviceFiles; LIBMTP_folder_t* tmpfolder = deviceFolders; // Find our file... while (tmpfile != NULL) { if (tmpfile->item_id == item_id) { fullfilename = g_strdup(tmpfile->filename); parent_id = tmpfile->parent_id; tmpfile = NULL; } else { tmpfile = tmpfile->next; } } // Let's see if we have a filename? if (fullfilename != NULL) { // Now let's prepend the parent folder names to it... while (tmpfolder != NULL) { tmpfolder = getCurrentFolderPtr(deviceFolders, parent_id); if (tmpfolder != NULL) { // We have something. tmpfilename = g_strdup_printf("%s/%s", tmpfolder->name, fullfilename); g_free(fullfilename); fullfilename = tmpfilename; parent_id = tmpfolder->parent_id; } } } return fullfilename; } // ************************************************************************************************ uint32_t getFileID(gchar* filename, gboolean ignorepath) { LIBMTP_file_t* files = deviceFiles; // Separate into filename and path... gchar* basefilename = g_path_get_basename(filename); gchar* dirfilename = g_path_get_dirname(filename); // If we are ignoring all path information, then simply scan all files for the filename. if (ignorepath == TRUE) { while (files != NULL) { // Ensure we only check if we are on the current storage device... if (files->storage_id == DeviceMgr.devicestorage->id) { // See if our filename is the same. if (g_ascii_strcasecmp(basefilename, files->filename) == 0) { // We found our file... g_free(basefilename); g_free(dirfilename); return files->item_id; } } files = files->next; } } else { // Lets find the folderid of the path we have, so it makes searching a lot easier... uint32_t folderID = getFolderID(deviceFolders, dirfilename); if ((int32_t) folderID == -1) { // We don't have this path on the device, so no need to continue checking. g_free(basefilename); g_free(dirfilename); return 0; } while (files != NULL) { // Ensure we only check if we are on the current storage device AND the file is in the correct folder... if ((files->storage_id == DeviceMgr.devicestorage->id) && (files->parent_id == folderID)) { // See if our filename is the same. if (g_ascii_strcasecmp(basefilename, files->filename) == 0) { // We found our file... g_free(basefilename); g_free(dirfilename); return files->item_id; } } files = files->next; } } g_free(basefilename); g_free(dirfilename); return 0; } // ************************************************************************************************ uint32_t getFolderID(LIBMTP_folder_t* folderptr, gchar* foldername) { gchar** pathcomponents; if (g_ascii_strcasecmp(foldername, ".") == 0) { // We have a root directory... return 0; } // Get the first component of the foldername. pathcomponents = g_strsplit(foldername, "/", 2); while (folderptr != NULL) { if (g_ascii_strcasecmp(pathcomponents[0], folderptr->name) == 0) { // We have found our path... // If we have of the path to process then... if (pathcomponents[1] != NULL) { return (getFolderID(folderptr->child, pathcomponents[1])); } else { return folderptr->folder_id; } } else { folderptr = folderptr->sibling; } } return -1; } // ************************************************************************************************ gchar* getFullFolderPath(uint32_t folderid) { gchar* fullfilename = g_strdup(""); gchar* tmpfilename = NULL; uint32_t parent_id = folderid; guint stringlength = 0; LIBMTP_folder_t* tmpfolder = deviceFolders; if (!Preferences.use_alt_access_method) { // Legacy search since we have a complete folder structure in memory. while (tmpfolder != NULL) { tmpfolder = getCurrentFolderPtr(deviceFolders, parent_id); if (tmpfolder != NULL) { // We have something. tmpfilename = g_strdup_printf("%s/%s", tmpfolder->name, fullfilename); g_free(fullfilename); fullfilename = tmpfilename; parent_id = tmpfolder->parent_id; } } } else { // We are using alt access mode, so we need to manually query the device for // the parent folder. LIBMTP_file_t * f = LIBMTP_Get_Filemetadata(DeviceMgr.device, parent_id); while (f != NULL) { // we have the entry tmpfilename = g_strdup_printf("%s/%s", f->filename, fullfilename); g_free(fullfilename); fullfilename = tmpfilename; parent_id = f->parent_id; LIBMTP_destroy_file_t(f); f = LIBMTP_Get_Filemetadata(DeviceMgr.device, parent_id); } } // Add in leading slash if needed if (*fullfilename != '/') { tmpfilename = g_strdup_printf("/%s", fullfilename); g_free(fullfilename); fullfilename = tmpfilename; } // Remove trailing slash if needed. stringlength = strlen(fullfilename); if (stringlength > 1) { fullfilename[stringlength - 1] = '\0'; } return fullfilename; } // ************************************************************************************************ GSList *filesSearch(gchar *searchstring, gboolean searchfiles, gboolean searchmeta) { GSList *list = NULL; GPatternSpec *pspec = g_pattern_spec_new(searchstring); LIBMTP_file_t *files = deviceFiles; GSList *folderIDs = NULL; LIBMTP_track_t *tracks = deviceTracks; FileListStruc *filestruc = NULL; gchar *tmpstring1 = NULL; gchar *tmpstring2 = NULL; gchar *tmpstring3 = NULL; gchar *tmpstring4 = NULL; uint32_t tmpFolderID = currentFolderID; // if using alt method, we cycle through all folders on the current storage device... if (Preferences.use_alt_access_method) { currentFolderID = 0; filesUpateFileList(); files = deviceFiles; //buildFolderIDs(&folderIDs, deviceFolders); } if (searchfiles == TRUE) { // Search folders // ignore folder search in alt access mode... if (!Preferences.use_alt_access_method) { folderSearch(pspec, &list, deviceFolders); } // Search files. while (files != NULL) { if (files->storage_id == DeviceMgr.devicestorage->id) { if (files->filetype == LIBMTP_FILETYPE_FOLDER) { // Add this folder to the list to be searched. folderIDs = g_slist_append(folderIDs, &files->item_id); } // Make search case insensitive. tmpstring1 = g_utf8_strup(files->filename, -1); if (g_pattern_match_string(pspec, tmpstring1) == TRUE) { g_free(tmpstring1); tmpstring1 = NULL; // We have found a matching string... filestruc = g_malloc(sizeof (FileListStruc)); if (filestruc == NULL) { g_fprintf(stderr, _("malloc in filesSearch failed\n")); displayError(_("Failed searching? 'malloc in filesSearch'\n")); return list; } filestruc->filename = g_strdup(files->filename); filestruc->filesize = files->filesize; if (files->filetype == LIBMTP_FILETYPE_FOLDER) { filestruc->isFolder = TRUE; } else { filestruc->isFolder = FALSE; } filestruc->itemid = files->item_id; filestruc->filetype = files->filetype; filestruc->location = getFullFolderPath(files->parent_id); list = g_slist_append(list, filestruc); } else if (searchmeta == TRUE) { // Now if it's a track type file, eg OGG, WMA, MP3 or FLAC, get it's metadata. // search case insensitive. if ((files->filetype == LIBMTP_FILETYPE_MP3) || (files->filetype == LIBMTP_FILETYPE_OGG) || (files->filetype == LIBMTP_FILETYPE_FLAC) || (files->filetype == LIBMTP_FILETYPE_WMA)) { LIBMTP_track_t *trackinfo = LIBMTP_Get_Trackmetadata(DeviceMgr.device, files->item_id); if (trackinfo != NULL) { // search case insensitive. if (tmpstring1 != NULL) { g_free(tmpstring1); tmpstring1 = NULL; } tmpstring1 = g_utf8_strup(trackinfo->album, -1); tmpstring2 = g_utf8_strup(trackinfo->artist, -1); tmpstring3 = g_utf8_strup(trackinfo->genre, -1); tmpstring4 = g_utf8_strup(trackinfo->title, -1); if ((g_pattern_match_string(pspec, tmpstring1) == TRUE) || (g_pattern_match_string(pspec, tmpstring2) == TRUE) || (g_pattern_match_string(pspec, tmpstring3) == TRUE) || (g_pattern_match_string(pspec, tmpstring4) == TRUE)) { // We have found a matching string... filestruc = g_malloc(sizeof (FileListStruc)); if (filestruc == NULL) { if (tmpstring1 != NULL) { g_free(tmpstring1); tmpstring1 = NULL; } if (tmpstring2 != NULL) { g_free(tmpstring2); tmpstring2 = NULL; } if (tmpstring3 != NULL) { g_free(tmpstring3); tmpstring3 = NULL; } if (tmpstring4 != NULL) { g_free(tmpstring4); tmpstring4 = NULL; } g_fprintf(stderr, _("malloc in filesSearch failed\n")); displayError(_("Failed searching? 'malloc in filesSearch'\n")); return list; } filestruc->filename = g_strdup(files->filename); filestruc->filesize = files->filesize; filestruc->isFolder = FALSE; filestruc->itemid = files->item_id; filestruc->filetype = files->filetype; filestruc->location = getFullFolderPath(files->parent_id); list = g_slist_append(list, filestruc); } if (tmpstring1 != NULL) { g_free(tmpstring1); tmpstring1 = NULL; } if (tmpstring2 != NULL) { g_free(tmpstring2); tmpstring2 = NULL; } if (tmpstring3 != NULL) { g_free(tmpstring3); tmpstring3 = NULL; } if (tmpstring4 != NULL) { g_free(tmpstring4); tmpstring4 = NULL; } LIBMTP_destroy_track_t(trackinfo); } } } if (tmpstring1 != NULL) { g_free(tmpstring1); tmpstring1 = NULL; } } files = files->next; // Update the file list IFF we are using the alt access method if ((files == NULL) && (Preferences.use_alt_access_method)) { // reached the end of the current folder, so lets move onto the next folder. while (files == NULL) { // exit searching for file if we run out of folders. if (folderIDs == NULL) { break; } currentFolderID = *((uint32_t*) folderIDs->data); //printf("Searching folder: %d\n", currentFolderID); filesUpateFileList(); folderIDs = folderIDs->next; files = deviceFiles; } } } } else if (searchmeta == TRUE) { // Search using the Track information only. while (tracks != NULL) { // Make search case insensitive. tmpstring1 = g_utf8_strup(tracks->album, -1); tmpstring2 = g_utf8_strup(tracks->artist, -1); tmpstring3 = g_utf8_strup(tracks->genre, -1); tmpstring4 = g_utf8_strup(tracks->title, -1); if ((g_pattern_match_string(pspec, tmpstring1) == TRUE) || (g_pattern_match_string(pspec, tmpstring2) == TRUE) || (g_pattern_match_string(pspec, tmpstring3) == TRUE) || (g_pattern_match_string(pspec, tmpstring4) == TRUE)) { // We have found a matching string... filestruc = g_malloc(sizeof (FileListStruc)); if (filestruc == NULL) { if (tmpstring1 != NULL) { g_free(tmpstring1); tmpstring1 = NULL; } if (tmpstring2 != NULL) { g_free(tmpstring2); tmpstring2 = NULL; } if (tmpstring3 != NULL) { g_free(tmpstring3); tmpstring3 = NULL; } if (tmpstring4 != NULL) { g_free(tmpstring4); tmpstring4 = NULL; } g_fprintf(stderr, _("malloc in filesSearch failed\n")); displayError(_("Failed searching? 'malloc in filesSearch'\n")); return list; } filestruc->filename = g_strdup(tracks->filename); filestruc->filesize = tracks->filesize; filestruc->isFolder = FALSE; filestruc->itemid = tracks->item_id; filestruc->filetype = tracks->filetype; filestruc->location = getFullFolderPath(tracks->parent_id); list = g_slist_append(list, filestruc); } if (tmpstring1 != NULL) { g_free(tmpstring1); tmpstring1 = NULL; } if (tmpstring2 != NULL) { g_free(tmpstring2); tmpstring2 = NULL; } if (tmpstring3 != NULL) { g_free(tmpstring3); tmpstring3 = NULL; } if (tmpstring4 != NULL) { g_free(tmpstring4); tmpstring4 = NULL; } tracks = tracks->next; } } // restore the current folder ID. if (Preferences.use_alt_access_method) { currentFolderID = tmpFolderID; } return list; } // ************************************************************************************************ void buildFolderIDs(GSList **list, LIBMTP_folder_t * folderptr) { while (folderptr != NULL) { *(list) = g_slist_append(*(list), &folderptr->folder_id); if (folderptr->child != NULL) { buildFolderIDs(list, folderptr->child); } folderptr = folderptr->sibling; } } // ************************************************************************************************ void folderSearch(GPatternSpec *pspec, GSList **list, LIBMTP_folder_t * folderptr) { FileListStruc *filestruc = NULL; while (folderptr != NULL) { // Make search case insensitive. gchar *tmpstring = g_utf8_strup(folderptr->name, -1); if (g_pattern_match_string(pspec, tmpstring) == TRUE) { // We have found a matching string... filestruc = g_malloc(sizeof (FileListStruc)); if (filestruc == NULL) { if (tmpstring != NULL) { g_free(tmpstring); tmpstring = NULL; } g_fprintf(stderr, _("malloc in foldersearch failed\n")); displayError(_("Failed searching? 'malloc in foldersearch'\n")); return; } filestruc->filename = g_strdup(folderptr->name); filestruc->filesize = 0; filestruc->isFolder = TRUE; filestruc->itemid = folderptr->folder_id; #if defined(LIBMTP_FILETYPE_FOLDER) filestruc->filetype = LIBMTP_FILETYPE_FOLDER; #else filestruc->filetype = LIBMTP_FILETYPE_UNKNOWN; #endif filestruc->location = getFullFolderPath(folderptr->parent_id); *(list) = g_slist_append(*(list), filestruc); } if (tmpstring != NULL) { g_free(tmpstring); tmpstring = NULL; } // Search child if present; if (folderptr->child != NULL) { folderSearch(pspec, list, folderptr->child); } folderptr = folderptr->sibling; } } // ************************************************************************************************ int setNewParentFolderID(uint32_t objectID, uint32_t folderID) { return LIBMTP_Set_Object_u32(DeviceMgr.device, objectID, LIBMTP_PROPERTY_ParentObject, folderID); } gmtp-1.3.10/src/main.h0000644000175000001440000000627612655605137011371 00000000000000/* * * File: main.h * * Copyright (C) 2009-2013 Darran Kartaschew * * This file is part of the gMTP package. * * gMTP is free software; you can redistribute it and/or modify * it under the terms of the BSD License as included within the * file 'COPYING' located in the root directory * */ #ifndef _MAIN_H #define _MAIN_H #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include #include #define UNUSED(x) (void)(x) #ifdef __cplusplus extern "C" { #endif // Main Device information struct. typedef struct { gboolean deviceConnected; gint numrawdevices; gint rawdeviceID; gint storagedeviceID; LIBMTP_raw_device_t * rawdevices; LIBMTP_mtpdevice_t *device; LIBMTP_devicestorage_t *devicestorage; LIBMTP_error_number_t err; GString *devicename; GString *manufacturername; GString *modelname; GString *serialnumber; GString *deviceversion; //GString *syncpartner; //GString *sectime; GString *devcert; // Raw device GString *Vendor; GString *Product; uint32_t VendorID; uint32_t ProductID; uint32_t DeviceID; uint32_t BusLoc; uint16_t *filetypes; uint16_t filetypes_len; uint8_t maxbattlevel; uint8_t currbattlevel; } Device_Struct; // Main Window Widgets. GtkWidget *windowMain; GtkWidget *scrolledwindowMain; GtkWidget *windowStatusBar; GtkWidget *toolbuttonConnect; GtkWidget *treeviewFiles; GtkWidget *treeviewFolders; // Folder view; GtkWidget *scrolledwindowFolders; GtkTreeSelection *folderSelection; // Device information struct Device_Struct DeviceMgr; // File/Folder/Track/Playlist pointers LIBMTP_file_t *deviceFiles; LIBMTP_folder_t *deviceFolders; LIBMTP_track_t *deviceTracks; LIBMTP_playlist_t *devicePlayLists; uint32_t currentFolderID; // This is the ID of the current folder.... int32_t addTrackPlaylistID; GQueue *stackFolderIDs; GQueue *stackFolderNames; // Icon file locations. gchar *file_logo_png; gchar *file_icon48_png; gchar *file_icon16_png; gchar *file_about_png; gchar *file_format_png; // File view Icons gchar *file_audio_png; gchar *file_video_png; gchar *file_playlist_png; gchar *file_album_png; gchar *file_textfile_png; gchar *file_generic_png; gchar *file_folder_png; gchar *file_image_png; /** * setFilePaths - set paths for image used within gMTP * @param argc * @param argv */ gchar * setFilePaths(int argc, char *argv[]); /** * getRuntimePath - Returns the path which the application was run from * @param argc * @param argv * @return pointer to string with location of the binary. */ gchar *getRuntimePath(int argc, char *argv[]); // Common magic numbers. #define KILOBYTE 1024 #define MEGABYTE 1048576 #define GIGABYTE 1073741824 #define GMTP_REQUIRE_PLAYLIST -2 #define GMTP_NO_PLAYLIST -1 #define GMTP_MAX_STRING 8192 #ifdef __cplusplus } #endif #endif /* _MAIN_H */ gmtp-1.3.10/src/mtp.h0000644000175000001440000002535712655605137011246 00000000000000/* * * File: mtp.h * * Copyright (C) 2009-2013 Darran Kartaschew * * This file is part of the gMTP package. * * gMTP is free software; you can redistribute it and/or modify * it under the terms of the BSD License as included within the * file 'COPYING' located in the root directory * */ #ifndef _MTP_H #define _MTP_H #ifdef __cplusplus extern "C" { #endif #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include enum MTP_ERROR { MTP_SUCCESS, MTP_NO_DEVICE, MTP_GENERAL_FAILURE, MTP_DEVICE_FULL, MTP_NO_MTP_DEVICE }; enum MTP_PLAYLIST_INSTANCES { MTP_PLAYLIST_ALL_INSTANCES, MTP_PLAYLIST_FIRST_INSTANCE, MTP_PLAYLIST_LAST_INSTANCE }; #define MTP_DEVICE_SINGLE_STORAGE -1 gboolean AlbumErrorIgnore; typedef struct { gchar* file_extension; LIBMTP_filetype_t file_type; } MTP_file_ext_struct; /** * Attempt to connect to a device. * @return 0 if successful, otherwise error code. */ guint deviceConnect(); /** * Disconnect from the currently connected device. * @return 0 if successful, otherwise error code. */ guint deviceDisconnect(); /** * Get the properties of the connected device. These properties are stored in 'DeviceMgr'. */ void deviceProperties(); /** * Deallocates the complete chain of the filelist. * @param filelist */ void clearDeviceFiles(LIBMTP_file_t * filelist); /** * Deallocates the complete chain of Album information. * @param albumlist */ void clearAlbumStruc(LIBMTP_album_t * albumlist); /** * Deallocates the complete chain of all Playlists. * @param playlist_list */ void clearDevicePlaylist(LIBMTP_playlist_t * playlist_list); /** * Deallocates the complete chain of all Track information. * @param tracklist */ void clearDeviceTracks(LIBMTP_track_t * tracklist); /** * Perform a rescan of the device, recreating any device properties or device information. */ void deviceRescan(); /** * Get the list of files for the device. */ void filesUpateFileList(); /** * Rename a single file on the device. * @param filename - New name to be given to the file. * @param ObjectID - The ID of the object. */ void filesRename(gchar* filename, uint32_t ObjectID); /** * Add a single file to the current connected device. * @param filename */ void filesAdd(gchar* filename); /** * Delete a single file from the connected device. * @param filename * @param objectID */ void filesDelete(gchar* filename, uint32_t objectID); /** * Download a file from the device to local storage. * @param filename * @param objectID */ void filesDownload(gchar* filename, uint32_t objectID); /** * Check to see if this file already exists within the current folder on the device. * @param filename * @return */ gboolean fileExists(gchar* filename); /** * Check to see if this file already exists within the current folder on the device. * @param filename * @return */ uint32_t getFile(gchar* filename, uint32_t folderID); /** * Create a folder on the current connected device. * @param foldername * @return Object ID of new folder, otherwise 0 if failed. */ guint32 folderAdd(gchar* foldername); /** * Delete a single folder from the currently connected device. * @param folderptr * @param level Set to 0 as default. */ void folderDelete(LIBMTP_folder_t* folderptr, guint level); /** * Delete all files from the specified folder on the device. * @param folderID */ void folderDeleteChildrenFiles(guint folderID); /** * Download the defined folder to the local device. * @param foldername Name of the folder to be downloaded * @param folderID ID of the folder on the device * @param isParent TRUE, if this is the parent folder to download (eg ignore any folder siblings). */ void folderDownload(gchar * foldername, uint32_t folderID, gboolean isParent); /** * Determine if the folder name exists in the given folder (based on ID) * @param foldername The name of the folder. * @param folderID The ID of the folder whose contents are to be checked. */ gboolean folderExists(gchar *foldername, uint32_t folderID); /** * Get the folderID based on the folder name that exists in the given folder (based on ID) * @param foldername The name of the folder. * @param folderID The ID of the folder whose contents are to be checked. * @return The ID of the folder. */ uint32_t getFolder(gchar *foldername, uint32_t folderID); /** * Add the specified track to an album, and return that album information. * @param albuminfo * @param trackinfo */ void albumAddTrackToAlbum(LIBMTP_album_t* albuminfo, LIBMTP_track_t* trackinfo); /** * Add album artfile to be associated with an album. * @param album_id * @param filename */ void albumAddArt(guint32 album_id, gchar* filename); /** * Delete the album art for the given object id. (were object id the album) * @param album_id */ void albumDeleteArt(guint32 album_id); /** * Retrieves the raw image data for the selected album * @return Pointer to the image data. */ LIBMTP_filesampledata_t * albumGetArt(LIBMTP_album_t* selectedAlbum); /** * Set the friendly name of the current connected device. * @param devicename */ void setDeviceName(gchar* devicename); /** * Generate a list of all the folder IDs in the current storage pool. */ void buildFolderIDs(GSList **list, LIBMTP_folder_t * folderptr); /** * Find the ID of the parent folder. * @param tmpfolder * @param currentFolderID * @return */ uint32_t getParentFolderID(LIBMTP_folder_t *tmpfolder, uint32_t currentFolderID); /** * Find the structure of the parent MTP Folder based on the currentID. * @param tmpfolder * @param currentFolderID * @return */ LIBMTP_folder_t* getParentFolderPtr(LIBMTP_folder_t *tmpfolder, uint32_t currentFolderID); /** * Find the structure of the MTP Folder based on the currentID. * @param tmpfolder * @param FolderID * @return */ LIBMTP_folder_t* getCurrentFolderPtr(LIBMTP_folder_t *tmpfolder, uint32_t FolderID); /** * Find the file type based on extension * @param filename * @return */ LIBMTP_filetype_t find_filetype(const gchar * filename); /** * Get the file extension based on filetype * @param filetype * @return */ gchar* find_filetype_ext(LIBMTP_filetype_t filetype); /** * Find the ptr to the current storage structure. * @param StorageID * @return */ LIBMTP_devicestorage_t* getCurrentDeviceStoragePtr(gint StorageID); /** * Updates the parent FolderID for a given object within the device. * @param objectID - The object to be updated. * @param folderID - The new parent folder ID for the object. * @return 0 on success, any other value means failure. */ int setNewParentFolderID(uint32_t objectID, uint32_t folderID); // Playlist support. /** * Retrieve all Playlists from the device. * @return Linked list of all playlists. */ LIBMTP_playlist_t* getPlaylists(void); /** * Retrieve all Tracks from the device. * @return Linked list of all tracks. */ LIBMTP_track_t* getTracks(void); /** * Create a new playlist on the device. * @param playlistname */ void playlistAdd(gchar* playlistname); /** * Delete the selected playlist from the device. * @param tmpplaylist */ void playlistDelete(LIBMTP_playlist_t * tmpplaylist); /** * Update the selected playlist with the new information. * @param tmpplaylist */ void playlistUpdate(LIBMTP_playlist_t * tmpplaylist); /** * Add the assigned track to the nominated playlist. * @param playlist * @param track */ void playlistAddTrack(LIBMTP_playlist_t* playlist, LIBMTP_track_t* track); /** * Remove the assigned track from a playlist. * @param playlist * @param track */ void playlistRemoveTrack(LIBMTP_playlist_t* playlist, LIBMTP_track_t* track, uint32_t instances); /** * Import a playlist into the current device. * @param filename Filename of the playlist to import. * @return The Playlist Name as stored in the file. Caller to free when no longer needed. */ gchar* playlistImport(gchar * filename); /** * Export a playlist. * @param filename Filename of the playlist to import. * @param playlist Pointer to Playlist to export. */ void playlistExport(gchar * filename, LIBMTP_playlist_t * playlist); /** * Format the current active device/storage partition. */ void formatStorageDevice(); /** * Return the full filename including path of the selected MTP file object * @param trackid MTP file objectID * @return */ gchar* getFullFilename(uint32_t item_id); /** * Find the file within the device. * @param filename Name of the file to search for. * @param ignorepath Ignore any path information that may be present. * @return Object ID or 0 if not found. */ uint32_t getFileID(gchar* filename, gboolean ignorepath); /** * Find the folder within the device. * @param folderptr Folder Structure to search in. * @param foldername Name of the folder to find. * @return Object ID or -1 if not found. */ uint32_t getFolderID(LIBMTP_folder_t* folderptr, gchar* foldername); /** * Returns the string holding the full path name for the given folderid. * @param folderid - the selected path to be returned. * @return The full path name. */ gchar* getFullFolderPath(uint32_t folderid); /** * Returns a list of files/folders that have been found on the device. * @param searchstring - string to search * @param searchfiles - search files/folder names. * @param searchmeta - search file metadata. * @return */ GSList *filesSearch(gchar *searchstring, gboolean searchfiles, gboolean searchmeta); /** * Search the folder hier for the foldername. * @param pspec - foldername to search * @param list - the GSList to append found items. * @param folderptr - the MTP folder struc to search. */ void folderSearch(GPatternSpec *pspec, GSList **list, LIBMTP_folder_t* folderptr); #ifdef __cplusplus } #endif #endif /* _MTP_H */ gmtp-1.3.10/src/progress.c0000644000175000001440000001733512655605137012302 00000000000000/* * * File: progress.c * * Copyright (C) 2009-2013 Darran Kartaschew * * This file is part of the gMTP package. * * gMTP is free software; you can redistribute it and/or modify * it under the terms of the BSD License as included within the * file 'COPYING' located in the root directory * */ #include "progress.h" #include "main.h" #include "interface.h" // Public indicator if the dialog has been killed by the user. gboolean progressDialog_killed = FALSE; // Widget for Progress Bar Dialog box. GtkWidget *progressDialog; GtkWidget *progressDialog_Text; GtkWidget *progressDialog_Bar; gchar *progressDialog_filename; // ************************************************************************************************ GtkWidget* create_windowProgressDialog(gchar* msg) { GtkWidget *window1; GtkWidget *vbox1; GtkWidget *hbox1; GtkWidget *label_FileProgress; GtkWidget *label1; GtkWidget *cancelButton; GtkWidget *progressbar_Main; progressDialog_filename = NULL; window1 = gtk_window_new(GTK_WINDOW_TOPLEVEL); gchar * winTitle; winTitle = g_strconcat(PACKAGE_NAME, NULL); gtk_window_set_title(GTK_WINDOW(window1), winTitle); gtk_window_set_position(GTK_WINDOW(window1), GTK_WIN_POS_CENTER_ON_PARENT); gtk_window_set_modal(GTK_WINDOW(window1), TRUE); gtk_window_set_resizable(GTK_WINDOW(window1), FALSE); gtk_window_set_transient_for(GTK_WINDOW(window1), GTK_WINDOW(windowMain)); gtk_window_set_destroy_with_parent(GTK_WINDOW(window1), TRUE); gtk_window_set_type_hint(GTK_WINDOW(window1), GDK_WINDOW_TYPE_HINT_DIALOG); g_free(winTitle); #if HAVE_GTK3 == 0 vbox1 = gtk_vbox_new(FALSE, 0); #else vbox1 = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0); #endif gtk_widget_show(vbox1); gtk_container_add(GTK_CONTAINER(window1), vbox1); gtk_container_set_border_width(GTK_CONTAINER(vbox1), 10); gtk_box_set_spacing(GTK_BOX(vbox1), 5); label1 = gtk_label_new(NULL); winTitle = g_strconcat("", msg, "", NULL); gtk_label_set_markup(GTK_LABEL(label1), winTitle); gtk_widget_show(label1); gtk_box_pack_start(GTK_BOX(vbox1), label1, TRUE, TRUE, 0); #if HAVE_GTK3 == 0 gtk_misc_set_padding(GTK_MISC(label1), 0, 5); gtk_misc_set_alignment(GTK_MISC(label1), 0, 0); #else gtk_widget_set_margin_top(label1, 5); gtk_widget_set_margin_bottom(label1, 5); gtk_widget_set_halign(GTK_WIDGET(label1), GTK_ALIGN_START); #endif g_free(winTitle); label_FileProgress = gtk_label_new(_("file = ( x / x ) x %")); gtk_label_set_line_wrap(GTK_LABEL(label_FileProgress), TRUE); #if GTK_CHECK_VERSION(2,10,0) // If we can, word wrap the label. gtk_label_set_line_wrap_mode(GTK_LABEL(label_FileProgress), PANGO_WRAP_WORD); #endif gtk_widget_set_size_request(label_FileProgress, 320, -1); gtk_widget_show(label_FileProgress); gtk_box_pack_start(GTK_BOX(vbox1), label_FileProgress, TRUE, TRUE, 0); #if HAVE_GTK3 == 0 gtk_misc_set_padding(GTK_MISC(label_FileProgress), 0, 5); #else gtk_widget_set_margin_top(label_FileProgress, 5); gtk_widget_set_margin_bottom(label_FileProgress, 5); #endif progressbar_Main = gtk_progress_bar_new(); gtk_widget_show(progressbar_Main); gtk_box_pack_start(GTK_BOX(vbox1), progressbar_Main, TRUE, TRUE, 0); // Insert a cancel button. #if HAVE_GTK3 == 0 hbox1 = gtk_hbox_new(FALSE, 0); #else hbox1 = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 0); #endif gtk_widget_show(hbox1); gtk_box_pack_start(GTK_BOX(vbox1), hbox1, FALSE, FALSE, 0); cancelButton = gtk_button_new_with_mnemonic(_("_Cancel")); gtk_widget_show(cancelButton); gtk_box_pack_end(GTK_BOX(hbox1), cancelButton, FALSE, FALSE, 0); progressDialog = window1; progressDialog_Text = label_FileProgress; progressDialog_Bar = progressbar_Main; g_signal_connect((gpointer) cancelButton, "clicked", G_CALLBACK(on_progressDialog_Cancel), NULL); return window1; } // ************************************************************************************************ void displayProgressBar(gchar *msg) { // No idea how this could come about, but we should take it into account so we don't have a memleak // due to recreating the window multiple times. if (progressDialog != NULL) { destroyProgressBar(); } // create our progress window. progressDialog = create_windowProgressDialog(msg); progressDialog_killed = FALSE; // Attach a callback to get notification that it has closed. g_signal_connect((gpointer) progressDialog, "destroy", G_CALLBACK(on_progressDialog_Close), NULL); // Show the progress window. gtk_widget_show_all(progressDialog); } // ************************************************************************************************ void destroyProgressBar(void) { if (progressDialog_killed == FALSE) { if (progressDialog != NULL) { gtk_widget_hide(progressDialog); gtk_widget_destroy(progressDialog); } } if (progressDialog_filename != NULL) { g_free(progressDialog_filename); progressDialog_filename = NULL; } progressDialog = NULL; progressDialog_Text = NULL; progressDialog_Bar = NULL; progressDialog_killed = FALSE; } // ************************************************************************************************ void setProgressFilename(gchar* filename) { if (progressDialog_filename != NULL) { g_free(progressDialog_filename); progressDialog_filename = NULL; } progressDialog_filename = g_strdup(filename); } // ************************************************************************************************ int fileprogress(const uint64_t sent, const uint64_t total, void const * const data) { UNUSED(data); // See if our dialog box was killed, and if so, just return which also kill our download/upload... if (progressDialog_killed == TRUE) return TRUE; // avoid div 0 error if(total == 0){ return 0; } gint percent = (sent * 100) / total; // Now update the progress dialog. if (progressDialog != NULL) { gchar* tmp_string; gchar* tmp_sent = calculateFriendlySize(sent); gchar* tmp_total = calculateFriendlySize(total); if (progressDialog_filename != NULL) { tmp_string = g_strdup_printf(_("%s\n%s of %s (%d%%)"), progressDialog_filename, tmp_sent, tmp_total, percent); } else { tmp_string = g_strdup_printf(_("%s of %s (%d%%)"), tmp_sent, tmp_total, percent); } gtk_label_set_text(GTK_LABEL(progressDialog_Text), tmp_string); gtk_progress_bar_set_fraction(GTK_PROGRESS_BAR(progressDialog_Bar), (double) percent / 100.00); while (gtk_events_pending()) { gtk_main_iteration(); } g_free(tmp_string); g_free(tmp_sent); g_free(tmp_total); } return 0; } // ************************************************************************************************ void on_progressDialog_Close(GtkWidget *window, gpointer user_data) { UNUSED(window); UNUSED(user_data); // Set the global flag that the user has done it. progressDialog_killed = TRUE; } // end on_progressDialog_Close() // ************************************************************************************************ void on_progressDialog_Cancel(GtkWidget *button, gpointer user_data) { UNUSED(button); UNUSED(user_data); // Set the global flag that the user has done it. on_progressDialog_Close(NULL, NULL); // Destroy the dialog box. gtk_widget_hide(progressDialog); gtk_widget_destroy(progressDialog); } // end on_progressDialog_Cancel() gmtp-1.3.10/src/interface.h0000644000175000001440000002433012655605137012374 00000000000000/* * * File: interface.h * * Copyright (C) 2009-2013 Darran Kartaschew * * This file is part of the gMTP package. * * gMTP is free software; you can redistribute it and/or modify * it under the terms of the BSD License as included within the * file 'COPYING' located in the root directory * */ #ifndef _INTERFACE_H #define _INTERFACE_H #ifdef __cplusplus extern "C" { #endif #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include #include #include // Main Window List enum fileListID { COL_FILENAME = 0, COL_FILENAME_HIDDEN, COL_FILENAME_ACTUAL, COL_FILESIZE, COL_FILEID, COL_ISFOLDER, COL_FILESIZE_HID, COL_TYPE, COL_TRACK_NUMBER, COL_TRACK_NUMBER_HIDDEN, COL_TITLE, COL_FL_ARTIST, COL_FL_ALBUM, COL_YEAR, COL_GENRE, COL_DURATION, COL_DURATION_HIDDEN, COL_ICON, COL_LOCATION, NUM_COLUMNS }; enum folderListID { COL_FOL_NAME = 0, COL_FOL_NAME_HIDDEN, COL_FOL_ID, COL_FOL_ICON, NUM_FOL_COLUMNS }; // Playlist windows lists. enum fileTrackID { COL_ARTIST = 0, COL_ALBUM, COL_TRACKID, COL_TRACKNAME, COL_TRACKDURATION, NUM_TCOLUMNS }; enum filePlaylistID { COL_PL_ORDER_NUM = 0, COL_PL_ARTIST, COL_PL_ALBUM, COL_PL_TRACKID, COL_PL_TRACKNAME, COL_PL_TRACKDURATION, NUM_PL_COLUMNS }; typedef struct { uint32_t itemid; gboolean isFolder; gchar *filename; uint64_t filesize; LIBMTP_filetype_t filetype; gchar *location; } FileListStruc; typedef struct { uint32_t album_id; gchar* filename; } Album_Struct; // File operation enums enum MTP_OVERWRITEOP { MTP_ASK, MTP_SKIP, MTP_SKIP_ALL, MTP_OVERWRITE, MTP_OVERWRITE_ALL }; // Main Window widgets GtkListStore *fileList; GtkTreeStore *folderList; GtkTreeSelection *fileSelection; GtkTreeSelection *folderSelection; gulong folderSelectHandler; gulong fileSelectHandler; /** * Create the main window for the application * @return Ptr to the main window widget */ GtkWidget* create_windowMain(void); /** * Set the title for the main window. * @param foldername - The foldername to be displayed in the application title bar. */ void setWindowTitle(gchar *foldername); /** * Create the Context Menu widget. * @return */ GtkWidget* create_windowMainContextMenu(void); /** * Create the Context Menu widget. * @return */ GtkWidget* create_windowMainColumnContextMenu(void); /** * Create the Context Menu widget. * @return */ GtkWidget* create_windowFolderContextMenu(void); /** * Toggle the active state of the buttons on the toolbar and various menus. * @param state */ void SetToolbarButtonState(gboolean); /** * Set the text on the status bar within the main window * @param text */ void statusBarSet(gchar *text); /** * Clear the text within the status bar window. */ void statusBarClear(); /** * Clear all entries within the main file window. * @return */ gboolean fileListClear(); /** * Display the Add Files dialog box and add the files as selected. * @return List of files to add to the device. */ GSList* getFileGetList2Add(); /** * Add the applicable files to the file view in the main window. * @return */ gboolean fileListAdd(); /** * Display the rename Filename dialog box. * @param currentfilename The new name of the file. * @return */ gchar* displayRenameFileDialog(gchar* currentfilename); /** * Remove selected files from the device. * @param List * @return */ gboolean fileListRemove(GList *List); /** * Download the selected files. * @param List The files to download. * @return */ gboolean fileListDownload(GList *List); /** * Get a GList of the TREE ROW REFERENCES that are selected. * @return */ GList* fileListGetSelection(); /** * Clear all selected rows from the main file list. * @return */ gboolean fileListClearSelection(); /** * Select all rows from the main file list. * @return */ gboolean fileListSelectAll(void); /** * Remove the selected folders from the device. * @param List * @return */ gboolean folderListRemove(GList *List); /** * Clear all entries within the main folder window. * @return */ gboolean folderListClear(); /** * Add folders to the folder list in main window. */ gboolean folderListAdd(LIBMTP_folder_t *folders, GtkTreeIter *parent); /** * Finds the Object ID of the selected folder in the folder view. * @return */ int64_t folderListGetSelection(void); /** * Finds the Object Name of the selected folder in the folder view. * @return */ gchar *folderListGetSelectionName(void); /** * Download the selected folder. * @param List The files to download. * @return */ gboolean folderListDownload(gchar *foldername, uint32_t folderid); /** * Displays a dialog box with all the device folders in it, and prompts the user to select one of * the folders. * @return The object ID of the selected folder. */ int64_t getTargetFolderLocation(void); /** * Add folders to the folder list in dialog window. */ gboolean folderListAddDialog(LIBMTP_folder_t *folders, GtkTreeIter *parent, GtkTreeStore *fl); /** * Perform each file individually. * @param Row */ void __fileMove(GtkTreeRowReference *Row); // Flags for overwriting files of host PC and device. gint fileoverwriteop; // Flag to allow overwrite of files on device. gint deviceoverwriteop; // Find options and variables. gboolean inFindMode; GSList *searchList; /** * Destroys a file listing object. * @param file - pointer to the FileListStruc object. */ void g_free_search(FileListStruc *file); GtkWidget *FindToolbar_entry_FindText; GtkWidget *FindToolbar_checkbutton_FindFiles; GtkWidget *FindToolbar_checkbutton_TrackInformation; /** * Add an individual file to the device. * @param filename */ void __filesAdd(gchar* filename); /** * Get a string representation of the size * @param value The value to convert to a string. * @return A string that represents the size in a friendly manner. */ gchar *calculateFriendlySize(const uint64_t value); /** * Display an Error Dialog Message Box. * @param msg */ void displayError(gchar* msg); /** * Display an Information Dialog Message Box. * @param msg */ void displayInformation(gchar* msg); /** * Display the Add New Folder Dialog Box. * @return The name of the folder to be created. */ gchar* displayFolderNewDialog(void); /** * Display the Overwrite File dialog box. * @param filename * @return */ gint displayFileOverwriteDialog(gchar *filename); /** * Display the Which Device dialog box. * @return */ gint displayMultiDeviceDialog(void); /** * Display the Which Storage Device dialog box. * @return */ gint displayDeviceStorageDialog(void); /** * Display the Change Device Name dialog box. * @param devicename The new name of the device. * @return */ gchar* displayChangeDeviceNameDialog(gchar* devicename); /** * Displays the playlist selection dialog used to auto add track to playlist option. * @return The playlist MTP Object ID of the selected playlist, or GMTP_NO_PLAYLIST if none selected. */ int32_t displayAddTrackPlaylistDialog(gboolean showNew /* = TRUE */); // Widget for find toolbar GtkWidget *findToolbar; // Parent container for the main toolbar. GtkWidget *handlebox1; GtkWidget *toolbarMain; // Widgets for menu items; GtkWidget *fileConnect; GtkWidget *fileAdd; GtkWidget *fileDownload; GtkWidget *fileRemove; GtkWidget *fileRename; GtkWidget *fileMove; GtkWidget *fileNewFolder; GtkWidget *fileRemoveFolder; GtkWidget *fileRescan; GtkWidget *editDeviceName; GtkWidget *editFormatDevice; GtkWidget *editAddAlbumArt; GtkWidget *editFind; GtkWidget *editSelectAll; GtkWidget *contextMenu; GtkWidget *contextMenuColumn; GtkWidget *contestMenuFolder; GtkWidget* cfileAdd; GtkWidget* cfileNewFolder; GtkWidget *toolbuttonAddFile; #if HAVE_GTK3 == 0 GtkTooltips *tooltipsToolbar; #endif // Columns in main file view; GtkTreeViewColumn *column_Size; GtkTreeViewColumn *column_Type; GtkTreeViewColumn *column_Track_Number; GtkTreeViewColumn *column_Title; GtkTreeViewColumn *column_Artist; GtkTreeViewColumn *column_Album; GtkTreeViewColumn *column_Year; GtkTreeViewColumn *column_Genre; GtkTreeViewColumn *column_Duration; GtkTreeViewColumn *column_Location; // Main menu widgets GtkWidget *menu_view_filesize; GtkWidget *menu_view_filetype; GtkWidget *menu_view_track_number; GtkWidget *menu_view_title; GtkWidget *menu_view_artist; GtkWidget *menu_view_album; GtkWidget *menu_view_year; GtkWidget *menu_view_genre; GtkWidget *menu_view_duration; GtkWidget *menu_view_folders; GtkWidget *menu_view_toolbar; // Column view context menu; GtkWidget* cViewSize; GtkWidget* cViewType; GtkWidget* cViewTrackName; GtkWidget* cViewTrackNumber; GtkWidget* cViewArtist; GtkWidget* cViewAlbum; GtkWidget* cViewYear; GtkWidget* cViewGenre; GtkWidget* cViewDuration; // Combobox used in AddTrackPlaylist feature. GtkWidget *combobox_AddTrackPlaylist; int64_t fileMoveTargetFolder; #ifdef __cplusplus } #endif #endif /* _INTERFACE_H */ gmtp-1.3.10/src/metatag_info.h0000644000175000001440000000672012655605137013074 00000000000000/* * * File: metatag_info.h * * Copyright (C) 2009-2013 Darran Kartaschew * * This file is part of the gMTP package. * * gMTP is free software; you can redistribute it and/or modify * it under the terms of the BSD License as included within the * file 'COPYING' located in the root directory * */ #ifndef _METATAG_INFO_H #define _METATAG_INFO_H #ifdef __cplusplus extern "C" { #endif #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include typedef struct { uint32_t bitrate; uint32_t duration; // in milliseconds uint16_t VBR; // 0 = unused, 1 = constant, 2 = VBR, 3 = free uint16_t channels; // 0 = Unknown, 1 = mono, 2 = stereo. } MP3_Info; typedef struct { uint16_t header_sync; uint16_t version; uint16_t layer; uint16_t crc; uint16_t bitrate; uint16_t samplerate; uint16_t padding; uint16_t private_bit; uint16_t channel_mode; uint16_t mode_extension; uint16_t copyright; uint16_t original; uint16_t emphasis; } MP3_header; typedef struct { uint32_t f1; uint16_t f2; uint16_t f3; uint16_t f4; uint8_t f5_1; uint8_t f5_2; uint8_t f5_3; uint8_t f5_4; uint8_t f5_5; uint8_t f5_6; } GUID; // We only include our ASF header objects we want, not all of them static const GUID ASF_header = { 0x75B22630, 0x668E, 0x11CF, 0xA6D9, 0x00, 0xAA, 0x00, 0x62, 0xCE, 0x6C }; static const GUID ASF_comment_header = { 0x75B22633, 0x668E, 0x11CF, 0xD9A6, 0x00, 0xAA, 0x00, 0x62, 0xCE, 0x6C }; static const GUID ASF_extended_content_header = { 0xD2D0A440, 0xE307, 0x11D2, 0xF097, 0x00, 0xA0, 0xC9, 0x5E, 0xA8, 0x50 }; static const GUID ASF_File_Properties_header = { 0x8CABDCA1, 0xA947, 0x11CF, 0xE48E, 0x00, 0xC0, 0x0C, 0x20, 0x53, 0x65 }; static const GUID ASF_Stream_header = { 0xB7DC0791, 0xA9B7, 0x11CF, 0xE68E, 0x00, 0xC0, 0x0C, 0x20, 0x53, 0x65 }; static const GUID ASF_Audio_Media_header = { 0xF8699E40, 0x5B4D, 0x11CF, 0xFDA8, 0x00, 0x80, 0x5F, 0x5C, 0x44, 0x2B }; /** * Get our track ID3 Tag information * @param filename filename of the MP3 file * @param trackinformation ID3 infomation returned via this struct. */ void get_id3_tags(gchar *filename, LIBMTP_track_t *trackinformation); /** * Get our OGG track information * @param filename The OGG file to extract information * @param trackinformation Return the Trackinformation via this variable. */ void get_ogg_tags(gchar *filename, LIBMTP_track_t *trackinformation); /** * Get our FLAC track information * @param filename The FLAC file to extract information * @param trackinformation Return the Trackinformation via this variable. */ void get_flac_tags(gchar *filename, LIBMTP_track_t *trackinformation); /** * Get our WMA track information. WMA and WMV are both contained in a ASF Container which the * container header has all the information. (No need to parse the audio streams themselves). * @param filename The WMA file to extract information * @param trackinformation Return the Trackinformation via this variable. */ void get_asf_tags(gchar *filename, LIBMTP_track_t *trackinformation); #ifdef __cplusplus } #endif #endif /* _METATAG_INFO_H */ gmtp-1.3.10/src/properties.h0000644000175000001440000000213712655605137012631 00000000000000/* * * File: properties.h * * Copyright (C) 2009-2013 Darran Kartaschew * * This file is part of the gMTP package. * * gMTP is free software; you can redistribute it and/or modify * it under the terms of the BSD License as included within the * file 'COPYING' located in the root directory * */ #ifndef _PROPERTIES_H #define _PROPERTIES_H #ifdef __cplusplus extern "C" { #endif #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include /** * Create the Properties Dialog Box. * @return */ GtkWidget* create_windowProperties(void); /** * on_deviceProperties_activate - Callback for displaying the device Properties Dialog box. * @param menuitem * @param user_data */ void on_deviceProperties_activate(GtkWidget *item, gpointer user_data); /** * on_quitProp_activate - Callback used to close the Properties Dialog. * @param menuitem * @param user_data */ void on_quitProp_activate(GtkWidget *item, gpointer user_data); #ifdef __cplusplus } #endif #endif /* _PROPERTIES_H */ gmtp-1.3.10/src/albumart.h0000644000175000001440000000410612655605137012242 00000000000000/* * * File: albumart.h * * Copyright (C) 2009-2013 Darran Kartaschew * * This file is part of the gMTP package. * * gMTP is free software; you can redistribute it and/or modify * it under the terms of the BSD License as included within the * file 'COPYING' located in the root directory * */ #ifndef _ALBUMART_H #define _ALBUMART_H #ifdef __cplusplus extern "C" { #endif #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include #include // Set default size for images in the Album Art dialog; #define ALBUM_SIZE 96 /** * Display the Add Album Art dialog box. */ void displayAddAlbumArtDialog(void); /** * Set the image in the AddAlbumDialog to be that supplied with the album information. * @param seselectedAlbum The album to update */ void AlbumArtUpdateImage(LIBMTP_album_t* selectedAlbum); /** * Set the album art to be the default image. */ void AlbumArtSetDefault(void); /** * Callback to handle the select file button in the Add Album Art Dialog box. * @param button * @param user_data */ void on_buttonAlbumArtAdd_activate(GtkWidget *button, gpointer user_data); /** * Callback to handle removal of associated album art. * @param button * @param user_data */ void on_buttonAlbumArtDelete_activate(GtkWidget *button, gpointer user_data); /** * Retrieve the album art and attempt to save the file. * @param button * @param user_data */ void on_buttonAlbumArtDownload_activate(GtkWidget *button, gpointer user_data); /** * Update the Album Image in the Add Album Art Dialog Box. * @param combobox * @param user_data */ void on_albumtextbox_activate(GtkComboBox *combobox, gpointer user_data); /** * Callback to handle the Add Album Art menu option. * @param item * @param user_data */ void on_editAddAlbumArt_activate(GtkWidget *item, gpointer user_data); #ifdef __cplusplus } #endif #endif /* _ALBUMART_H */ gmtp-1.3.10/src/about.h0000644000175000001440000000120312655605137011540 00000000000000/* * * File: about.h * * Copyright (C) 2009-2013 Darran Kartaschew * * This file is part of the gMTP package. * * gMTP is free software; you can redistribute it and/or modify * it under the terms of the BSD License as included within the * file 'COPYING' located in the root directory * */ #ifndef _ABOUT_H #define _ABOUT_H #ifdef __cplusplus extern "C" { #endif #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include /** * Display the About Dialog Box. */ void displayAbout(void); #ifdef __cplusplus } #endif #endif /* _ABOUT_H */ gmtp-1.3.10/src/metatag_info.c0000644000175000001440000007346212655605137013076 00000000000000/* * * File: metatag_info.c * * Copyright (C) 2009-2013 Darran Kartaschew * * This file is part of the gMTP package. * * gMTP is free software; you can redistribute it and/or modify * it under the terms of the BSD License as included within the * file 'COPYING' located in the root directory * */ #include "metatag_info.h" #include #include #include #include #include #include // Constants needed for MP3 frame calculations. int mp3_samplerate[3][4] = { {22050, 24000, 16000, 50000}, // MPEG 2.0 {44100, 48000, 32000, 50000}, // MPEG 1.0 {11025, 12000, 8000, 50000} // MPEG 2.5 }; int mp3_bitrate[2][3][15] = { { // MPEG 2.0 {0, 8, 16, 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 144, 160}, // Layer 3 {0, 8, 16, 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 144, 160}, // Layer 2 {0, 32, 48, 56, 64, 80, 96, 112, 128, 144, 160, 176, 192, 224, 256} // Layer 1 }, { // MPEG 1.0 {0, 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320}, // Layer 3 {0, 32, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 384}, // Layer 2 {0, 32, 64, 96, 128, 160, 192, 224, 256, 288, 320, 352, 384, 416, 448} // Layer 1 } }; int mp3_sampleperframe[3][4] = { // MP2.5 , res , MP2, MP1 {576, 0, 576, 1152}, // Layer 3 {1152, 0, 1152, 1152}, // Layer 2 {384, 0, 384, 384} // Layer 1 }; // ************************************************************************************************ /** * Returns the Frame Text for a given tag. * @param tag * @param frame_name * @return */ gchar * ID3_getFrameText(struct id3_tag *tag, char *frame_name) { const id3_ucs4_t *id3_string; struct id3_frame *id3_frame; union id3_field *id3_field; gchar *rtn_string = NULL; enum id3_field_textencoding id3_field_encoding = ID3_FIELD_TEXTENCODING_ISO_8859_1; id3_frame = id3_tag_findframe(tag, frame_name, 0); if (id3_frame == NULL) return NULL; id3_field = id3_frame_field(id3_frame, 0); if (id3_field && (id3_field_type(id3_field) == ID3_FIELD_TYPE_TEXTENCODING)) { id3_field_encoding = id3_field->number.value; } //if (frame_name == ID3_FRAME_COMMENT) { if (g_ascii_strcasecmp(frame_name, ID3_FRAME_COMMENT) == 0) { id3_field = id3_frame_field(id3_frame, 3); } else { id3_field = id3_frame_field(id3_frame, 1); } if (id3_field == NULL) return NULL; if (g_ascii_strcasecmp(frame_name, ID3_FRAME_COMMENT) == 0) { id3_string = id3_field_getfullstring(id3_field); } else { id3_string = id3_field_getstrings(id3_field, 0); } if (id3_string == NULL) return NULL; if (g_ascii_strcasecmp(frame_name, ID3_FRAME_GENRE) == 0) id3_string = id3_genre_name(id3_string); if (id3_field_encoding == ID3_FIELD_TEXTENCODING_ISO_8859_1) { rtn_string = (gchar *) id3_ucs4_latin1duplicate(id3_string); } else { rtn_string = (gchar *) id3_ucs4_utf8duplicate(id3_string); } return rtn_string; } // ************************************************************************************************ /** * Returns header infomation from a MP3 file. * @param mp3_file File handle to an open MP3 file. * @param header_info Variable to hold all the MP3 header information for this MP3 frame. * @return TRUE if successful, otherwise FALSE. */ gboolean get_mp3_header(FILE * mp3_file, MP3_header * header_info) { uint8_t raw_header[10] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; uint32_t framesize = 0; uint32_t id3_footer = 0; uint32_t id3_size = 0; resync: if (fread(&raw_header, sizeof (uint8_t)*10, 1, mp3_file) < 1) { header_info->header_sync = 0; return FALSE; } /* // Print header info for debugging printf("Offset: %llx : ", ftell(mp3_file) - 10); for (int i = 0; i < 10; i++) { printf("0x%x ", raw_header[i]); } printf("\n"); */ header_info->header_sync = ((raw_header[0] << 4) | ((raw_header[1]&0xE0) >> 4)); // Check for ID3 Tags while (header_info->header_sync != 0xFFE) { // We may have ID3 Tag. if (raw_header[0] == 'I' && raw_header[1] == 'D' && raw_header[2] == '3') { // We have a ID3 header... // Now skip it. id3_footer = (raw_header[5] >> 4) & 0x1; id3_size = ((uint32_t) (raw_header[6] << 21) + (uint32_t) (raw_header[7] << 14) + (uint32_t) (raw_header[8] << 7) + (uint32_t) (raw_header[9])); if (id3_footer == 1) { fseek(mp3_file, (id3_size + 10), SEEK_CUR); } else { fseek(mp3_file, (id3_size), SEEK_CUR); } if (fread(&raw_header, sizeof (uint8_t)*10, 1, mp3_file) < 1) { header_info->header_sync = 0; return FALSE; } /* // Print header info for debugging printf("Offset: %llx : ", ftell(mp3_file) - 10); for (int i = 0; i < 10; i++) { printf("0x%x ", raw_header[i]); } printf("\n"); */ header_info->header_sync = ((raw_header[0] << 4) | ((raw_header[1]&0xE0) >> 4)); } else { // Not a valid frame, nor an ID3 frame? // Attempt resync; header_info->header_sync = 0; fseek(mp3_file, -9, SEEK_CUR); goto resync; //return FALSE; } } header_info->version = (raw_header[1] >> 3) & 0x3; header_info->layer = (raw_header[1] >> 1) & 0x3; header_info->crc = raw_header[1] & 0x1; header_info->bitrate = (raw_header[2] >> 4) & 0xF; header_info->samplerate = (raw_header[2] >> 2) & 0x3; header_info->padding = (raw_header[2] >> 1) & 0x1; header_info->private_bit = (raw_header[2]) & 0x1; header_info->channel_mode = (raw_header[3] >> 6) & 0x3; header_info->mode_extension = (raw_header[3] >> 4) & 0x3; header_info->copyright = (raw_header[3] >> 3) & 0x1; header_info->original = (raw_header[3] >> 2) & 0x1; header_info->emphasis = (raw_header[3]) & 0x3; // Sanity checks -- if ((header_info->header_sync != 0xFFE) || (header_info->version == 0x1) // Reserved value //|| (header_info->layer == 0x1) // We only care about layer 3 data || (header_info->bitrate == 0xF) // Bad value || (header_info->samplerate == 0x3)) { // Reserved value header_info->header_sync = 0; // Attempt resync; header_info->header_sync = 0; fseek(mp3_file, -9, SEEK_CUR); goto resync; //return FALSE; } // We have a valid header, so forward to next possible frame. // FrameSize = (samples per sec / 8) * BitRate / (SampleRate + Padding). // Layer I if (header_info->layer == 3) { framesize = ((12 * mp3_bitrate[header_info->version & 0x1][header_info->layer - 1][header_info->bitrate] * 1000 / mp3_samplerate[header_info->version & 0x1][header_info->samplerate] ) + header_info->padding) * 4; } else { // Layer 2 and Layer 3 framesize = (mp3_sampleperframe[header_info->layer - 1][header_info->version] / 8) // Samples per frame. * mp3_bitrate[header_info->version & 0x1][header_info->layer - 1][header_info->bitrate] * 1000 // Bitrate / (mp3_samplerate[header_info->version & 0x1][header_info->samplerate] // Sample Rate ) + header_info->padding; // Padding bit } fseek(mp3_file, (framesize - 10), SEEK_CUR); return TRUE; } // ************************************************************************************************ /** * Get our file information for an MP3 based file. * @param filename * @param mp3_struct */ void get_mp3_info(gchar *filename, MP3_Info *mp3_struct) { FILE * mp3_file = NULL; struct stat sb; MP3_header header_info; //uint32_t initial_bitrate = 0; //uint32_t new_bitrate = 0; //uint64_t total_bitrate = 0; //uint32_t frames_sampled = 0; uint64_t filesize = 0; // Init our struct that has been passed to us, and return defaults even if // things go wrong. mp3_struct->VBR = 1; mp3_struct->bitrate = 0; mp3_struct->channels = 0; mp3_struct->duration = 0; mp3_file = fopen(filename, "r"); if (mp3_file == NULL) return; if (stat(filename, &sb) == -1) { perror("stat"); fclose(mp3_file); return; } filesize = sb.st_size; if (get_mp3_header(mp3_file, &header_info) == TRUE) { uint32_t initial_bitrate = mp3_bitrate[header_info.version & 0x1][header_info.layer - 1][header_info.bitrate]; uint64_t total_bitrate = initial_bitrate; uint32_t frames_sampled = 1; if (header_info.channel_mode == 0x3) { mp3_struct->channels = 1; } else { mp3_struct->channels = 2; } // Scan the full file for all frames. while ((ftell(mp3_file) < (int64_t) (filesize - 128)) && (get_mp3_header(mp3_file, &header_info) == TRUE)) { uint32_t new_bitrate = mp3_bitrate[header_info.version & 0x1][header_info.layer - 1][header_info.bitrate]; total_bitrate += new_bitrate; frames_sampled++; if (new_bitrate != initial_bitrate) mp3_struct->VBR = 2; } if (mp3_struct->VBR != 2) { mp3_struct->bitrate = initial_bitrate * 1000; } else { mp3_struct->bitrate = (total_bitrate / frames_sampled) * 1000; } //mp3_struct->duration = frames_sampled * 26; mp3_struct->duration = (double) frames_sampled * 26.00; // Each frame lasts for 26ms, so just multiple the number of frames by 26 to get our duration } } // ************************************************************************************************ void get_id3_tags(gchar *filename, LIBMTP_track_t *trackinformation) { MP3_Info mp3_information; struct id3_file * id3_file_id = id3_file_open(filename, ID3_FILE_MODE_READONLY); if (id3_file_id != NULL) { // We have a valid file, so lets get some data. struct id3_tag* id3_tag_id = id3_file_tag(id3_file_id); // We have our tag data, so now cycle through the fields. trackinformation->album = ID3_getFrameText(id3_tag_id, ID3_FRAME_ALBUM); trackinformation->title = ID3_getFrameText(id3_tag_id, ID3_FRAME_TITLE); trackinformation->artist = ID3_getFrameText(id3_tag_id, ID3_FRAME_ARTIST); trackinformation->date = ID3_getFrameText(id3_tag_id, ID3_FRAME_YEAR); trackinformation->genre = ID3_getFrameText(id3_tag_id, ID3_FRAME_GENRE); gchar * tracknumber = ID3_getFrameText(id3_tag_id, ID3_FRAME_TRACK); if (tracknumber != 0) { trackinformation->tracknumber = atoi(tracknumber); } else { trackinformation->tracknumber = 0; } // Need below if the default artist field is NULL if (trackinformation->artist == NULL) trackinformation->artist = ID3_getFrameText(id3_tag_id, "TPE2"); if (trackinformation->artist == NULL) trackinformation->artist = ID3_getFrameText(id3_tag_id, "TPE3"); if (trackinformation->artist == NULL) trackinformation->artist = ID3_getFrameText(id3_tag_id, "TPE4"); if (trackinformation->artist == NULL) trackinformation->artist = ID3_getFrameText(id3_tag_id, "TCOM"); // Need this if using different Year field. if (trackinformation->date == NULL) trackinformation->date = ID3_getFrameText(id3_tag_id, "TDRC"); // Get our track duration via ID3 Tag. gchar * trackduration = ID3_getFrameText(id3_tag_id, "TLEN"); if (trackduration != 0) { trackinformation->duration = atoi(trackduration); } else { trackinformation->duration = 0; } // Close our file for reading the fields. id3_file_close(id3_file_id); } // Duration, bitrate and other information // This information must be derived by manually decoding the MP3 file. get_mp3_info(filename, &mp3_information); trackinformation->duration = mp3_information.duration; trackinformation->bitrate = mp3_information.bitrate; trackinformation->bitratetype = mp3_information.VBR; trackinformation->nochannels = mp3_information.channels; } // ************************************************************************************************ /** * Return the OGG Comment for the given tag name * @param comments The OGG Comments data field. * @param name The tag name to return * @return gchar* to string with tag contents */ gchar * OGG_getFieldText(const vorbis_comment *comments, const char *name) { // We simple cycle through our comments, looking for our name, and return it's value; if (comments->comments > 0) { gchar ** file_comments = comments->user_comments; gint file_comments_count = comments->comments; while (file_comments_count--) { // We have our comment, now see if it is what we are after? gchar ** comments_split = g_strsplit(*file_comments, "=", 2); if (*comments_split != NULL) { if (g_ascii_strcasecmp(name, *comments_split) == 0) { // We have our desrired tag, so return it to the user. comments_split++; return g_strdup(*comments_split); } } // Increment our pointers accordingly. file_comments++; } } else { // No comments, so return a NULL value; return NULL; } // We didn't find our key, so return NULL return NULL; } // ************************************************************************************************ void get_ogg_tags(gchar *filename, LIBMTP_track_t *trackinformation) { OggVorbis_File *mov_file = NULL; vorbis_info * mov_info = NULL; FILE *mfile; vorbis_comment *mov_file_comment = NULL; gchar * tracknumber = NULL; // Attempt to open the file, and init the OggVorbis_File struct for our file. // Yes I know about ov_fopen(), but Solaris 10 ships with vorbis 1.0.1 which // doesn't have this function. mfile = fopen(filename, "r"); if (mfile == NULL) return; // Allocate memory to hold the OV file information. mov_file = g_malloc0(sizeof (OggVorbis_File)); if (ov_open(mfile, mov_file, NULL, 0) != 0) { fclose(mfile); return; } // Get or comment data; mov_file_comment = ov_comment(mov_file, -1); mov_info = ov_info(mov_file, -1); trackinformation->album = OGG_getFieldText(mov_file_comment, "ALBUM"); trackinformation->title = OGG_getFieldText(mov_file_comment, "TITLE"); trackinformation->artist = OGG_getFieldText(mov_file_comment, "ARTIST"); trackinformation->date = OGG_getFieldText(mov_file_comment, "DATE"); trackinformation->genre = OGG_getFieldText(mov_file_comment, "GENRE"); tracknumber = OGG_getFieldText(mov_file_comment, "TRACKNUMBER"); if (tracknumber != NULL) { trackinformation->tracknumber = atoi(tracknumber); } else { trackinformation->tracknumber = 0; } // Duration, bitrate and other information trackinformation->duration = (int) ov_time_total(mov_file, -1) * 1000; trackinformation->bitrate = ov_bitrate(mov_file, -1); trackinformation->bitratetype = 2; // VBR trackinformation->nochannels = mov_info->channels; // Clean up our data structures. ov_clear(mov_file); g_free(mov_file); return; } // ************************************************************************************************ /** * Get our FLAC Comment for the given tag name * @param tags The FLAC Comments * @param name The tag name. * @return */ gchar *FLAC_getFieldText(const FLAC__StreamMetadata *tags, const char *name) { int index = FLAC__metadata_object_vorbiscomment_find_entry_from(tags, 0, name); if (index < 0) { return NULL; } else { return strchr((const char *) tags->data.vorbis_comment.comments[index].entry, '=') + 1; } } // ************************************************************************************************ void get_flac_tags(gchar *filename, LIBMTP_track_t *trackinformation) { FLAC__StreamMetadata *tags = NULL; FLAC__StreamMetadata streaminfo; gchar * tracknumber = 0; // Load in our tag information stream if (!FLAC__metadata_get_tags(filename, &tags)) return; if (!FLAC__metadata_get_streaminfo(filename, &streaminfo)) { return; } // We have our tag data, get the individual fields. trackinformation->album = g_strdup(FLAC_getFieldText(tags, "ALBUM")); trackinformation->title = g_strdup(FLAC_getFieldText(tags, "TITLE")); trackinformation->artist = g_strdup(FLAC_getFieldText(tags, "ARTIST")); trackinformation->date = g_strdup(FLAC_getFieldText(tags, "DATE")); trackinformation->genre = g_strdup(FLAC_getFieldText(tags, "GENRE")); tracknumber = FLAC_getFieldText(tags, "TRACKNUMBER"); if (tracknumber != 0) { trackinformation->tracknumber = atoi(tracknumber); } else { trackinformation->tracknumber = 0; } // Duration, bitrate and other information if ((streaminfo.data.stream_info.sample_rate != 0)&&(streaminfo.data.stream_info.total_samples != 0)) { trackinformation->duration = (streaminfo.data.stream_info.total_samples / streaminfo.data.stream_info.sample_rate) * 1000; trackinformation->bitrate = 8.0 * (float) (trackinformation->filesize) / (1000.0 * (float) streaminfo.data.stream_info.total_samples / (float) streaminfo.data.stream_info.sample_rate); } else { trackinformation->duration = 0; trackinformation->bitrate = 0; } trackinformation->bitratetype = 0; // Not used trackinformation->nochannels = streaminfo.data.stream_info.channels; //trackinformation->tracknumber = atoi(FLAC_getFieldText(tags, "TRACKNUMBER")); FLAC__metadata_object_delete(tags); //FLAC__metadata_object_delete(&streaminfo); return; } // ************************************************************************************************ void get_asf_tags(gchar *filename, LIBMTP_track_t *trackinformation) { FILE *ASF_File; GUID Header_GUID; GUID Stream_GUID; uint32_t Header_Blocks; uint64_t Object_Size; long ASF_File_Position; // Content Object uint16_t Title_Length = 0; uint16_t Author_Length = 0; uint16_t Copyright_Length = 0; uint16_t Description_Length = 0; uint16_t Rating_Length = 0; gchar *Title = NULL; gchar *Author = NULL; // Extended Content Object uint16_t Content_Descriptors_Count = 0; uint16_t Descriptor_Name_Length = 0; gchar *Descriptor_Name = NULL; gchar *Descriptor_Name_UTF16 = NULL; uint16_t Descriptor_Value_Type = 0; uint16_t Descriptor_Value_Length = 0; uint64_t Descriptor_Value = 0; gchar *Descriptor_Value_Str = NULL; gchar *Descriptor_Value_Str_UTF16 = NULL; // Audio Object uint16_t Stream_Channels; uint32_t Stream_Bitrate; // File Object uint64_t Stream_Duration; ASF_File = fopen(filename, "r"); if (ASF_File == NULL) return; // Get our header GUID and make sure this is it. size_t i = fread(&Header_GUID, sizeof (GUID), 1, ASF_File); if (!memcmp(&Header_GUID, &ASF_header, sizeof (GUID))) { // If not exit. fclose(ASF_File); return; } if (i != 1) { // If not exit. fclose(ASF_File); return; } // Skip the rest of the header area; fseek(ASF_File, 8, SEEK_CUR); fread(&Header_Blocks, sizeof (uint32_t), 1, ASF_File); fseek(ASF_File, 2, SEEK_CUR); // We should be at the start of the header blocks; // Header_blocks has the number of header objects that we can test. while (Header_Blocks--) { fread(&Header_GUID, sizeof (GUID), 1, ASF_File); if (memcmp(&Header_GUID, &ASF_comment_header, sizeof (GUID)) == 0) { // We have our standard comment header block; // Get the size of the object, and the current file position. fread(&Object_Size, sizeof (uint64_t), 1, ASF_File); ASF_File_Position = ftell(ASF_File); // Get our field lengths. fread(&Title_Length, sizeof (uint16_t), 1, ASF_File); fread(&Author_Length, sizeof (uint16_t), 1, ASF_File); fread(&Copyright_Length, sizeof (uint16_t), 1, ASF_File); fread(&Description_Length, sizeof (uint16_t), 1, ASF_File); fread(&Rating_Length, sizeof (uint16_t), 1, ASF_File); // Since we only need Title and Author, we only need to alloc memory for those two. Title = g_malloc0(Title_Length + 0x10); Author = g_malloc0(Author_Length + 0x10); fread(Title, Title_Length, 1, ASF_File); fread(Author, Author_Length, 1, ASF_File); // Set our track information trackinformation->title = g_utf16_to_utf8((const gunichar2 *) Title, Title_Length, NULL, NULL, NULL); trackinformation->artist = g_utf16_to_utf8((const gunichar2 *) Author, Author_Length, NULL, NULL, NULL); // Free our memory that we used to load in the fields. g_free(Title); g_free(Author); Title = NULL; Author = NULL; // Set our file position so it's ready to read in the next GUID Header. fseek(ASF_File, ASF_File_Position, SEEK_SET); fseek(ASF_File, (Object_Size - sizeof (uint64_t) - sizeof (GUID)), SEEK_CUR); } else { if (memcmp(&Header_GUID, &ASF_extended_content_header, sizeof (GUID)) == 0) { // We have our standard comment header block; //g_printf("WMA: Found our extended comment block\n"); // Get the size of the object, and the current file position. fread(&Object_Size, sizeof (uint64_t), 1, ASF_File); ASF_File_Position = ftell(ASF_File); // Get the number of Descripions field we have, as we will need to cycle through them all. fread(&Content_Descriptors_Count, sizeof (uint16_t), 1, ASF_File); while (Content_Descriptors_Count--) { // These themselves are Objects within the main extended content header, which we need to handle. // Format is: // Descriptor Name Length (word) // Descriptor Name (varies) // Descriptor Value Type (word) // Descriptor Value Length (word) // Descriptor Value (varies - depend on Value Type). Descriptor_Name_Length = 0; //Descriptor_Name = NULL; //Descriptor_Name_UTF16 = NULL; Descriptor_Value_Type = 0; Descriptor_Value_Length = 0; Descriptor_Value = 0; Descriptor_Value_Str = NULL; Descriptor_Value_Str_UTF16 = NULL; // Get our Descriptor Name. fread(&Descriptor_Name_Length, sizeof (uint16_t), 1, ASF_File); Descriptor_Name_UTF16 = g_malloc0(Descriptor_Name_Length + 0x10); fread(Descriptor_Name_UTF16, Descriptor_Name_Length, 1, ASF_File); Descriptor_Name = g_utf16_to_utf8((const gunichar2 *) Descriptor_Name_UTF16, Descriptor_Name_Length, NULL, NULL, NULL); // Get our Value Type and Value Length fread(&Descriptor_Value_Type, sizeof (uint16_t), 1, ASF_File); fread(&Descriptor_Value_Length, sizeof (uint16_t), 1, ASF_File); switch (Descriptor_Value_Type) { case 0: // String; case 1: // Binary; Descriptor_Value_Str_UTF16 = g_malloc0(Descriptor_Value_Length + 0x10); fread(Descriptor_Value_Str_UTF16, Descriptor_Value_Length, 1, ASF_File); Descriptor_Value_Str = g_utf16_to_utf8((const gunichar2 *) Descriptor_Value_Str_UTF16, Descriptor_Value_Length, NULL, NULL, NULL); // We have out key=value pair so lets look for our desired keys 'WM/AlbumTitle', 'WM/Genre' and 'WM/Year' if (g_ascii_strcasecmp(Descriptor_Name, "WM/AlbumTitle\0") == 0) { // We have the album Title; trackinformation->album = g_strdup(Descriptor_Value_Str); } else { if (g_ascii_strcasecmp(Descriptor_Name, "WM/Genre\0") == 0) { // We have the album Genre; trackinformation->genre = g_strdup(Descriptor_Value_Str); } else { if (g_ascii_strcasecmp(Descriptor_Name, "WM/Year\0") == 0) { // We have the album Year; trackinformation->date = g_strdup(Descriptor_Value_Str); } } } break; case 2: // Boolean (DWORD) case 3: // DWORD case 4: // QWORD case 5: // WORD if (Descriptor_Value_Length > sizeof (Descriptor_Value)) Descriptor_Value_Length = sizeof (Descriptor_Value); fread(&Descriptor_Value, Descriptor_Value_Length, 1, ASF_File); if ((g_ascii_strcasecmp(Descriptor_Name, "WM/Track\0") == 0)) { trackinformation->tracknumber = Descriptor_Value + 1; } else { if (g_ascii_strcasecmp(Descriptor_Name, "WM/TrackNumber\0") == 0) trackinformation->tracknumber = Descriptor_Value; } break; default: // Unknown so skip it. fseek(ASF_File, Descriptor_Value_Length, SEEK_CUR); break; } // Free up our allocated memory; g_free(Descriptor_Name); g_free(Descriptor_Name_UTF16); g_free(Descriptor_Value_Str); g_free(Descriptor_Value_Str_UTF16); } // Set our file position so it's ready to read in the next GUID Header. fseek(ASF_File, ASF_File_Position, SEEK_SET); fseek(ASF_File, (Object_Size - sizeof (uint64_t) - sizeof (GUID)), SEEK_CUR); } else { if (memcmp(&Header_GUID, &ASF_Stream_header, sizeof (GUID)) == 0) { // We have an audio header for the track information. fread(&Object_Size, sizeof (uint64_t), 1, ASF_File); ASF_File_Position = ftell(ASF_File); // Read in the stream type GUID fread(&Stream_GUID, sizeof (GUID), 1, ASF_File); if (memcmp(&Stream_GUID, &ASF_Audio_Media_header, sizeof (GUID)) == 0) { // We have an audio header. fseek(ASF_File, 38, SEEK_CUR); // We should be pointing at our audio stream data block. fseek(ASF_File, sizeof (uint16_t), SEEK_CUR); // Skip CODEC ID fread(&Stream_Channels, sizeof (uint16_t), 1, ASF_File); fseek(ASF_File, 4, SEEK_CUR); // Skip Samples per second fread(&Stream_Bitrate, sizeof (uint32_t), 1, ASF_File); trackinformation->nochannels = Stream_Channels; trackinformation->bitrate = Stream_Bitrate * 8; // This value is in BYTES trackinformation->bitratetype = 0; // Not used } // Set our file position so it's ready to read in the next GUID Header. fseek(ASF_File, ASF_File_Position, SEEK_SET); fseek(ASF_File, (Object_Size - sizeof (uint64_t) - sizeof (GUID)), SEEK_CUR); } else { if (memcmp(&Header_GUID, &ASF_File_Properties_header, sizeof (GUID)) == 0) { // We have a file header for the track information. fread(&Object_Size, sizeof (uint64_t), 1, ASF_File); ASF_File_Position = ftell(ASF_File); // Skip File ID, Filesize, Creation Date and Data Packets Count fseek(ASF_File, (sizeof (GUID) + (sizeof (uint64_t) * 3)), SEEK_CUR); fread(&Stream_Duration, sizeof (uint64_t), 1, ASF_File); // Convert from 1/100ths nano sec to millisec. trackinformation->duration = Stream_Duration / 10000; fseek(ASF_File, ASF_File_Position, SEEK_SET); fseek(ASF_File, (Object_Size - sizeof (uint64_t) - sizeof (GUID)), SEEK_CUR); } else { // Skip this header; fread(&Object_Size, sizeof (uint64_t), 1, ASF_File); fseek(ASF_File, (Object_Size - sizeof (uint64_t) - sizeof (GUID)), SEEK_CUR); } } } } } fclose(ASF_File); return; } gmtp-1.3.10/src/interface.c0000644000175000001440000041175012655605137012375 00000000000000/* * * File: interface.c * * Copyright (C) 2009-2013 Darran Kartaschew * * This file is part of the gMTP package. * * gMTP is free software; you can redistribute it and/or modify * it under the terms of the BSD License as included within the * file 'COPYING' located in the root directory * */ #include "interface.h" #include #include #include #include #include #if HAVE_GTK3 == 0 #include #include #else #include #include #endif #include "main.h" #include "mtp.h" #include "callbacks.h" #include "preferences.h" #include "dnd.h" #include "prefs.h" #include "properties.h" #include "playlist.h" #include "albumart.h" #include "formatdevice.h" #include "progress.h" void setupFileList(); GtkTreeViewColumn *setupFolderList(); void __fileRemove(GtkTreeRowReference *Row); void __fileDownload(GtkTreeRowReference *Row); void __folderRemove(GtkTreeRowReference *Row); GtkWidget *windowMain; GtkWidget *scrolledwindowMain; GtkWidget *toolbuttonAddFile; GtkWidget *toolbuttonRetrieve; GtkWidget *toolbuttonRemoveFile; GtkWidget *toolbuttonRescan; GtkWidget *toolbuttonAlbumArt; GtkWidget *toolbuttonPlaylist; GtkWidget *toolbuttonProperties; GtkWidget *properties1; GtkWidget *fileConnect; GtkWidget *fileAdd; GtkWidget *fileDownload; GtkWidget *fileRemove; GtkWidget *fileRename; GtkWidget *fileMove; GtkWidget *fileNewFolder; GtkWidget *fileRemoveFolder; GtkWidget *fileRescan; GtkWidget *editDeviceName; GtkWidget *editFormatDevice; GtkWidget *editAddAlbumArt; GtkWidget *editPlaylist; GtkWidget *editFind; GtkWidget *editSelectAll; GtkWidget *contextMenu; GtkWidget *contextMenuColumn; GtkWidget *contextMenuFolder; GtkWidget* cfileAdd; GtkWidget* cfileNewFolder; // Main toolbar parent container. GtkWidget *handlebox1; GtkWidget *toolbarMain; // The actual toolbar. GtkWidget *findToolbar; GtkWidget *scrolledwindowFolders; #if HAVE_GTK3 == 0 GtkTooltips *tooltipsToolbar; #endif GtkListStore *fileList; GtkTreeModel *fileListModel; GtkTreeSelection *fileSelection; GtkTreeStore *folderList; GtkTreeModel *folderListModel; GtkTreeViewColumn *folderColumn; GtkTreeSelection *folderSelection; GList *fileSelection_RowReferences = NULL; gulong folderSelectHandler = 0; gulong fileSelectHandler = 0; // Columns in main file view; GtkTreeViewColumn *column_Size; GtkTreeViewColumn *column_Type; GtkTreeViewColumn *column_Track_Number; GtkTreeViewColumn *column_Title; GtkTreeViewColumn *column_Artist; GtkTreeViewColumn *column_Album; GtkTreeViewColumn *column_Year; GtkTreeViewColumn *column_Genre; GtkTreeViewColumn *column_Duration; GtkTreeViewColumn *column_Location; GtkWidget *menu_view_filesize; GtkWidget *menu_view_filetype; GtkWidget *menu_view_track_number; GtkWidget *menu_view_title; GtkWidget *menu_view_artist; GtkWidget *menu_view_album; GtkWidget *menu_view_year; GtkWidget *menu_view_genre; GtkWidget *menu_view_duration; GtkWidget *menu_view_folders; GtkWidget *menu_view_toolbar; GtkWidget* cViewSize; GtkWidget* cViewType; GtkWidget* cViewTrackName; GtkWidget* cViewTrackNumber; GtkWidget* cViewArtist; GtkWidget* cViewAlbum; GtkWidget* cViewYear; GtkWidget* cViewGenre; GtkWidget* cViewDuration; GtkWidget* cfFolderAdd; GtkWidget* cfFolderDelete; GtkWidget* cfFolderRename; GtkWidget* cfFolderMove; GtkWidget* cfFolderRefresh; // Flags for overwriting files of host PC and device. gint fileoverwriteop = MTP_ASK; // Flag to allow overwrite of files on device. gint deviceoverwriteop = MTP_ASK; // Find options and variables. gboolean inFindMode = FALSE; GSList *searchList = NULL; GtkWidget *FindToolbar_entry_FindText; GtkWidget *FindToolbar_checkbutton_FindFiles; GtkWidget *FindToolbar_checkbutton_TrackInformation; // Combobox used in AddTrackPlaylist feature. GtkWidget *combobox_AddTrackPlaylist; // File/Folder Move operations. int64_t fileMoveTargetFolder = 0; // ************************************************************************************************ GtkWidget* create_windowMain(void) { GtkWidget *vbox1; GtkWidget *menubarMain; GtkWidget *menuitem1; GtkWidget *menuitem1_menu; GtkWidget *menuseparator1; GtkWidget *menuseparator2; GtkWidget *menuseparator3; GtkWidget *menuseparator4; GtkWidget *menuseparator5; GtkWidget *menuseparator6; GtkWidget *menuseparator7; GtkWidget *menuseparator8; GtkWidget *menuseparator9; GtkWidget *menuseparator10; GtkWidget *quit1; GtkWidget *menuitem2; GtkWidget *menuitem2_menu; GtkWidget *preferences1; GtkWidget *menuView; GtkWidget *menuView_menu; GtkWidget *menuitem4; GtkWidget *menuitem4_menu; GtkWidget *about1; gint tmp_toolbar_icon_size; GtkWidget *tmp_image; GtkWidget *toolbuttonPreferences; GtkWidget *hpanel; GtkWidget *toolbarSeparator; GtkWidget *toolbarSeparator2; //GtkWidget *toolbuttonQuit; GtkWidget *FindToolbar_hbox_FindToolbar; GtkWidget *FindToolbar_label_FindLabel; GtkWidget *FindToolbar_FindButton; GtkWidget *FindToolbar_CloseButton; GtkAccelGroup *accel_group; accel_group = gtk_accel_group_new(); windowMain = gtk_window_new(GTK_WINDOW_TOPLEVEL); setWindowTitle(NULL); gtk_window_set_default_size(GTK_WINDOW(windowMain), 880, 400); gtk_window_set_icon_from_file(GTK_WINDOW(windowMain), file_icon48_png, NULL); #if HAVE_GTK3 == 0 vbox1 = gtk_vbox_new(FALSE, 0); #else vbox1 = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0); #endif gtk_widget_show(vbox1); gtk_container_add(GTK_CONTAINER(windowMain), vbox1); menubarMain = gtk_menu_bar_new(); gtk_widget_show(menubarMain); gtk_box_pack_start(GTK_BOX(vbox1), menubarMain, FALSE, FALSE, 0); menuitem1 = gtk_menu_item_new_with_mnemonic(_("_File")); gtk_widget_show(menuitem1); gtk_container_add(GTK_CONTAINER(menubarMain), menuitem1); menuitem1_menu = gtk_menu_new(); gtk_menu_item_set_submenu(GTK_MENU_ITEM(menuitem1), menuitem1_menu); fileConnect = gtk_menu_item_new_with_mnemonic(_("_Connect Device")); gtk_widget_show(fileConnect); gtk_container_add(GTK_CONTAINER(menuitem1_menu), fileConnect); menuseparator4 = gtk_separator_menu_item_new(); gtk_widget_show(menuseparator4); gtk_container_add(GTK_CONTAINER(menuitem1_menu), menuseparator4); fileAdd = gtk_menu_item_new_with_label(_("Add Files")); gtk_widget_show(fileAdd); gtk_container_add(GTK_CONTAINER(menuitem1_menu), fileAdd); fileRemove = gtk_menu_item_new_with_label(_("Delete Files")); gtk_widget_show(fileRemove); gtk_container_add(GTK_CONTAINER(menuitem1_menu), fileRemove); fileRename = gtk_menu_item_new_with_label(_("Rename Files")); gtk_widget_show(fileRename); gtk_container_add(GTK_CONTAINER(menuitem1_menu), fileRename); fileMove = gtk_menu_item_new_with_label(_("Move To...")); gtk_widget_show(fileMove); gtk_container_add(GTK_CONTAINER(menuitem1_menu), fileMove); fileDownload = gtk_menu_item_new_with_label(_("Download Files")); gtk_widget_show(fileDownload); gtk_container_add(GTK_CONTAINER(menuitem1_menu), fileDownload); menuseparator1 = gtk_separator_menu_item_new(); gtk_widget_show(menuseparator1); gtk_container_add(GTK_CONTAINER(menuitem1_menu), menuseparator1); fileNewFolder = gtk_menu_item_new_with_label(_("Create Folder")); gtk_widget_show(fileNewFolder); gtk_container_add(GTK_CONTAINER(menuitem1_menu), fileNewFolder); fileRemoveFolder = gtk_menu_item_new_with_label(_("Delete Folder")); gtk_widget_show(fileRemoveFolder); gtk_container_add(GTK_CONTAINER(menuitem1_menu), fileRemoveFolder); menuseparator2 = gtk_separator_menu_item_new(); gtk_widget_show(menuseparator2); gtk_container_add(GTK_CONTAINER(menuitem1_menu), menuseparator2); fileRescan = gtk_menu_item_new_with_label(_("Refresh Folder")); //menuText = gtk_bin_get_child(GTK_BIN(fileRescan)); //gtk_label_set_text(GTK_LABEL(menuText), _("Refresh Device")); gtk_widget_show(fileRescan); gtk_container_add(GTK_CONTAINER(menuitem1_menu), fileRescan); properties1 = gtk_menu_item_new_with_label(_("Device Properties")); //menuText = gtk_bin_get_child(GTK_BIN(properties1)); //gtk_label_set_text(GTK_LABEL(menuText), _("Device Properties")); gtk_widget_show(properties1); gtk_container_add(GTK_CONTAINER(menuitem1_menu), properties1); menuseparator3 = gtk_separator_menu_item_new(); gtk_widget_show(menuseparator3); gtk_container_add(GTK_CONTAINER(menuitem1_menu), menuseparator3); quit1 = gtk_menu_item_new_with_mnemonic(_("_Quit")); gtk_widget_show(quit1); gtk_container_add(GTK_CONTAINER(menuitem1_menu), quit1); menuitem2 = gtk_menu_item_new_with_mnemonic(_("_Edit")); gtk_widget_show(menuitem2); gtk_container_add(GTK_CONTAINER(menubarMain), menuitem2); menuitem2_menu = gtk_menu_new(); gtk_menu_item_set_submenu(GTK_MENU_ITEM(menuitem2), menuitem2_menu); editSelectAll = gtk_menu_item_new_with_label(_("Select All")); gtk_widget_show(editSelectAll); gtk_container_add(GTK_CONTAINER(menuitem2_menu), editSelectAll); menuseparator6 = gtk_separator_menu_item_new(); gtk_widget_show(menuseparator6); gtk_container_add(GTK_CONTAINER(menuitem2_menu), menuseparator6); editFind = gtk_menu_item_new_with_label(_("Find")); gtk_widget_show(editFind); gtk_container_add(GTK_CONTAINER(menuitem2_menu), editFind); menuseparator9 = gtk_separator_menu_item_new(); gtk_widget_show(menuseparator9); gtk_container_add(GTK_CONTAINER(menuitem2_menu), menuseparator9); editDeviceName = gtk_menu_item_new_with_label(_("Change Device Name")); gtk_widget_show(editDeviceName); gtk_container_add(GTK_CONTAINER(menuitem2_menu), editDeviceName); editFormatDevice = gtk_menu_item_new_with_label(_("Format Device")); gtk_widget_show(editFormatDevice); gtk_container_add(GTK_CONTAINER(menuitem2_menu), editFormatDevice); menuseparator7 = gtk_separator_menu_item_new(); gtk_widget_show(menuseparator7); gtk_container_add(GTK_CONTAINER(menuitem2_menu), menuseparator7); editAddAlbumArt = gtk_menu_item_new_with_label(_("Album Art")); gtk_widget_show(editAddAlbumArt); gtk_container_add(GTK_CONTAINER(menuitem2_menu), editAddAlbumArt); editPlaylist = gtk_menu_item_new_with_label(_("Edit Playlist(s)")); gtk_widget_show(editPlaylist); gtk_container_add(GTK_CONTAINER(menuitem2_menu), editPlaylist); menuseparator5 = gtk_separator_menu_item_new(); gtk_widget_show(menuseparator5); gtk_container_add(GTK_CONTAINER(menuitem2_menu), menuseparator5); preferences1 = gtk_menu_item_new_with_mnemonic(_("_Preferences")); gtk_widget_show(preferences1); gtk_container_add(GTK_CONTAINER(menuitem2_menu), preferences1); menuView = gtk_menu_item_new_with_mnemonic(_("_View")); gtk_widget_show(menuView); gtk_container_add(GTK_CONTAINER(menubarMain), menuView); menuView_menu = gtk_menu_new(); gtk_menu_item_set_submenu(GTK_MENU_ITEM(menuView), menuView_menu); menu_view_toolbar = gtk_check_menu_item_new_with_label(_("Toolbar")); gtk_widget_show(menu_view_toolbar); gtk_container_add(GTK_CONTAINER(menuView_menu), menu_view_toolbar); menuseparator10 = gtk_separator_menu_item_new(); gtk_widget_show(menuseparator10); gtk_container_add(GTK_CONTAINER(menuView_menu), menuseparator10); menu_view_folders = gtk_check_menu_item_new_with_label(_("Folders")); gtk_widget_show(menu_view_folders); gtk_container_add(GTK_CONTAINER(menuView_menu), menu_view_folders); menuseparator8 = gtk_separator_menu_item_new(); gtk_widget_show(menuseparator8); gtk_container_add(GTK_CONTAINER(menuView_menu), menuseparator8); menu_view_filesize = gtk_check_menu_item_new_with_label(_("File Size")); gtk_widget_show(menu_view_filesize); gtk_container_add(GTK_CONTAINER(menuView_menu), menu_view_filesize); menu_view_filetype = gtk_check_menu_item_new_with_label(_("File Type")); gtk_widget_show(menu_view_filetype); gtk_container_add(GTK_CONTAINER(menuView_menu), menu_view_filetype); menu_view_track_number = gtk_check_menu_item_new_with_label(_("Track Number")); gtk_widget_show(menu_view_track_number); gtk_container_add(GTK_CONTAINER(menuView_menu), menu_view_track_number); menu_view_title = gtk_check_menu_item_new_with_label(_("Track Name")); gtk_widget_show(menu_view_title); gtk_container_add(GTK_CONTAINER(menuView_menu), menu_view_title); menu_view_artist = gtk_check_menu_item_new_with_label(_("Artist")); gtk_widget_show(menu_view_artist); gtk_container_add(GTK_CONTAINER(menuView_menu), menu_view_artist); menu_view_album = gtk_check_menu_item_new_with_label(_("Album")); gtk_widget_show(menu_view_album); gtk_container_add(GTK_CONTAINER(menuView_menu), menu_view_album); menu_view_year = gtk_check_menu_item_new_with_label(_("Year")); gtk_widget_show(menu_view_year); gtk_container_add(GTK_CONTAINER(menuView_menu), menu_view_year); menu_view_genre = gtk_check_menu_item_new_with_label(_("Genre")); gtk_widget_show(menu_view_genre); gtk_container_add(GTK_CONTAINER(menuView_menu), menu_view_genre); menu_view_duration = gtk_check_menu_item_new_with_label(_("Duration")); gtk_widget_show(menu_view_duration); gtk_container_add(GTK_CONTAINER(menuView_menu), menu_view_duration); menuitem4 = gtk_menu_item_new_with_mnemonic(_("_Help")); gtk_widget_show(menuitem4); gtk_container_add(GTK_CONTAINER(menubarMain), menuitem4); menuitem4_menu = gtk_menu_new(); gtk_menu_item_set_submenu(GTK_MENU_ITEM(menuitem4), menuitem4_menu); about1 = gtk_menu_item_new_with_mnemonic(_("_About")); gtk_widget_show(about1); gtk_container_add(GTK_CONTAINER(menuitem4_menu), about1); #if HAVE_GTK3 == 0 handlebox1 = gtk_handle_box_new(); gtk_handle_box_set_shadow_type(GTK_HANDLE_BOX(handlebox1), GTK_SHADOW_ETCHED_OUT); #else handlebox1 = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 0); #endif gtk_widget_show(handlebox1); gtk_box_pack_start(GTK_BOX(vbox1), handlebox1, FALSE, FALSE, 0); #if HAVE_GTK3 == 0 tooltipsToolbar = gtk_tooltips_new(); #endif toolbarMain = gtk_toolbar_new(); gtk_widget_show(toolbarMain); #if HAVE_GTK3 == 0 gtk_container_add(GTK_CONTAINER(handlebox1), toolbarMain); #else gtk_box_pack_start(GTK_BOX(handlebox1), toolbarMain, TRUE, TRUE, 0); #endif if (Preferences.toolbarStyle != NULL) { if (g_ascii_strcasecmp(Preferences.toolbarStyle->str, "icon") == 0) { gtk_toolbar_set_style(GTK_TOOLBAR(toolbarMain), GTK_TOOLBAR_ICONS); } else if (g_ascii_strcasecmp(Preferences.toolbarStyle->str, "text") == 0) { gtk_toolbar_set_style(GTK_TOOLBAR(toolbarMain), GTK_TOOLBAR_TEXT); } else if (g_ascii_strcasecmp(Preferences.toolbarStyle->str, "both") == 0) { gtk_toolbar_set_style(GTK_TOOLBAR(toolbarMain), GTK_TOOLBAR_BOTH); } } else { gtk_toolbar_set_style(GTK_TOOLBAR(toolbarMain), GTK_TOOLBAR_BOTH); } tmp_toolbar_icon_size = gtk_toolbar_get_icon_size(GTK_TOOLBAR(toolbarMain)); #if HAVE_GTK3 == 0 gtk_toolbar_set_tooltips(GTK_TOOLBAR(toolbarMain), TRUE); #else g_object_set(gtk_settings_get_default(), "gtk-enable-tooltips", TRUE, NULL); #endif #if HAVE_GTK3 == 0 tmp_image = gtk_image_new_from_stock(GTK_STOCK_NETWORK, tmp_toolbar_icon_size); #else tmp_image = gtk_image_new_from_icon_name("network-workgroup", tmp_toolbar_icon_size); #endif gtk_widget_show(tmp_image); toolbuttonConnect = (GtkWidget*) gtk_tool_button_new(tmp_image, _("Connect")); gtk_widget_show(toolbuttonConnect); gtk_container_add(GTK_CONTAINER(toolbarMain), toolbuttonConnect); #if HAVE_GTK3 == 0 gtk_tool_item_set_tooltip(GTK_TOOL_ITEM(toolbuttonConnect), GTK_TOOLTIPS(tooltipsToolbar), _("Connect/Disconnect to your device."), _("Connect/Disconnect to your device.")); #else gtk_tool_item_set_tooltip_text(GTK_TOOL_ITEM(toolbuttonConnect), _("Connect/Disconnect to your device.")); #endif toolbarSeparator = (GtkWidget*) gtk_separator_tool_item_new(); gtk_separator_tool_item_set_draw(GTK_SEPARATOR_TOOL_ITEM(toolbarSeparator), TRUE); gtk_widget_show(toolbarSeparator); gtk_container_add(GTK_CONTAINER(toolbarMain), toolbarSeparator); #if HAVE_GTK3 == 0 tmp_image = gtk_image_new_from_stock(GTK_STOCK_ADD, tmp_toolbar_icon_size); #else tmp_image = gtk_image_new_from_icon_name("list-add", tmp_toolbar_icon_size); #endif gtk_widget_show(tmp_image); toolbuttonAddFile = (GtkWidget*) gtk_tool_button_new(tmp_image, _("Add")); gtk_widget_show(toolbuttonAddFile); gtk_container_add(GTK_CONTAINER(toolbarMain), toolbuttonAddFile); #if HAVE_GTK3 == 0 gtk_tool_item_set_tooltip(GTK_TOOL_ITEM(toolbuttonAddFile), GTK_TOOLTIPS(tooltipsToolbar), _("Add Files to your device."), _("Add a varity of Files to your device in the current folder.")); #else gtk_tool_item_set_tooltip_text(GTK_TOOL_ITEM(toolbuttonAddFile), _("Add Files to your device.")); #endif #if HAVE_GTK3 == 0 tmp_image = gtk_image_new_from_stock(GTK_STOCK_REMOVE, tmp_toolbar_icon_size); #else tmp_image = gtk_image_new_from_icon_name("list-remove", tmp_toolbar_icon_size); #endif gtk_widget_show(tmp_image); toolbuttonRemoveFile = (GtkWidget*) gtk_tool_button_new(tmp_image, _("Delete")); gtk_widget_show(toolbuttonRemoveFile); gtk_container_add(GTK_CONTAINER(toolbarMain), toolbuttonRemoveFile); #if HAVE_GTK3 == 0 gtk_tool_item_set_tooltip(GTK_TOOL_ITEM(toolbuttonRemoveFile), GTK_TOOLTIPS(tooltipsToolbar), _("Delete Files/Folders from your device."), _("Permanently remove files/folders from your device. Note: Albums are stored as *.alb files.")); #else gtk_tool_item_set_tooltip_text(GTK_TOOL_ITEM(toolbuttonRemoveFile), _("Delete Files/Folders from your device.")); #endif #if HAVE_GTK3 == 0 tmp_image = gtk_image_new_from_stock(GTK_STOCK_GOTO_BOTTOM, tmp_toolbar_icon_size); #else tmp_image = gtk_image_new_from_icon_name("go-bottom", tmp_toolbar_icon_size); #endif gtk_widget_show(tmp_image); toolbuttonRetrieve = (GtkWidget*) gtk_tool_button_new(tmp_image, _("Download")); gtk_widget_show(toolbuttonRetrieve); gtk_container_add(GTK_CONTAINER(toolbarMain), toolbuttonRetrieve); #if HAVE_GTK3 == 0 gtk_tool_item_set_tooltip(GTK_TOOL_ITEM(toolbuttonRetrieve), GTK_TOOLTIPS(tooltipsToolbar), _("Download Files from your device to your Host PC."), _("Download files from your device to your PC. Default Download path is set in the preferences dialog.")); #else gtk_tool_item_set_tooltip_text(GTK_TOOL_ITEM(toolbuttonRetrieve), _("Download Files from your device to your Host PC.")); #endif toolbarSeparator2 = (GtkWidget*) gtk_separator_tool_item_new(); gtk_separator_tool_item_set_draw(GTK_SEPARATOR_TOOL_ITEM(toolbarSeparator2), TRUE); gtk_widget_show(toolbarSeparator2); gtk_container_add(GTK_CONTAINER(toolbarMain), toolbarSeparator2); #if HAVE_GTK3 == 0 tmp_image = gtk_image_new_from_stock(GTK_STOCK_CDROM, tmp_toolbar_icon_size); #else tmp_image = gtk_image_new_from_icon_name("media-optical", tmp_toolbar_icon_size); #endif gtk_widget_show(tmp_image); toolbuttonAlbumArt = (GtkWidget*) gtk_tool_button_new(tmp_image, _("Album Art")); gtk_widget_show(toolbuttonAlbumArt); gtk_container_add(GTK_CONTAINER(toolbarMain), toolbuttonAlbumArt); #if HAVE_GTK3 == 0 gtk_tool_item_set_tooltip(GTK_TOOL_ITEM(toolbuttonAlbumArt), GTK_TOOLTIPS(tooltipsToolbar), _("Upload an image file as Album Art."), _("Upload a JPG file and assign it as Album Art.")); #else gtk_tool_item_set_tooltip_text(GTK_TOOL_ITEM(toolbuttonAlbumArt), _("Upload an image file as Album Art.")); #endif #if HAVE_GTK3 == 0 tmp_image = gtk_image_new_from_stock(GTK_STOCK_DND_MULTIPLE, tmp_toolbar_icon_size); #else tmp_image = gtk_image_new_from_icon_name("emblem-documents", tmp_toolbar_icon_size); #endif gtk_widget_show(tmp_image); toolbuttonPlaylist = (GtkWidget*) gtk_tool_button_new(tmp_image, _("Playlists")); gtk_widget_show(toolbuttonPlaylist); gtk_container_add(GTK_CONTAINER(toolbarMain), toolbuttonPlaylist); #if HAVE_GTK3 == 0 gtk_tool_item_set_tooltip(GTK_TOOL_ITEM(toolbuttonPlaylist), GTK_TOOLTIPS(tooltipsToolbar), _("Add and Modify Playlists."), _("Add and Modify Playlists.")); #else gtk_tool_item_set_tooltip_text(GTK_TOOL_ITEM(toolbuttonPlaylist), _("Add and Modify Playlists.")); #endif #if HAVE_GTK3 == 0 tmp_image = gtk_image_new_from_stock(GTK_STOCK_REFRESH, tmp_toolbar_icon_size); #else tmp_image = gtk_image_new_from_icon_name("view-refresh", tmp_toolbar_icon_size); #endif gtk_widget_show(tmp_image); toolbuttonRescan = (GtkWidget*) gtk_tool_button_new(tmp_image, _("Refresh")); gtk_widget_show(toolbuttonRescan); gtk_container_add(GTK_CONTAINER(toolbarMain), toolbuttonRescan); #if HAVE_GTK3 == 0 gtk_tool_item_set_tooltip(GTK_TOOL_ITEM(toolbuttonRescan), GTK_TOOLTIPS(tooltipsToolbar), _("Refresh File/Folder listing."), _("Refresh File/Folder listing.")); #else gtk_tool_item_set_tooltip_text(GTK_TOOL_ITEM(toolbuttonRescan), _("Refresh File/Folder listing.")); #endif toolbarSeparator = (GtkWidget*) gtk_separator_tool_item_new(); gtk_separator_tool_item_set_draw(GTK_SEPARATOR_TOOL_ITEM(toolbarSeparator), TRUE); gtk_widget_show(toolbarSeparator); gtk_container_add(GTK_CONTAINER(toolbarMain), toolbarSeparator); #if HAVE_GTK3 == 0 tmp_image = gtk_image_new_from_stock(GTK_STOCK_PROPERTIES, tmp_toolbar_icon_size); #else tmp_image = gtk_image_new_from_icon_name("document-properties", tmp_toolbar_icon_size); #endif gtk_widget_show(tmp_image); toolbuttonProperties = (GtkWidget*) gtk_tool_button_new(tmp_image, _("Properties")); gtk_widget_show(toolbuttonProperties); gtk_container_add(GTK_CONTAINER(toolbarMain), toolbuttonProperties); #if HAVE_GTK3 == 0 gtk_tool_item_set_tooltip(GTK_TOOL_ITEM(toolbuttonProperties), GTK_TOOLTIPS(tooltipsToolbar), _("View Device Properties."), _("View Device Properties.")); #else gtk_tool_item_set_tooltip_text(GTK_TOOL_ITEM(toolbuttonProperties), _("View Device Properties.")); #endif #if HAVE_GTK3 == 0 tmp_image = gtk_image_new_from_stock(GTK_STOCK_PREFERENCES, tmp_toolbar_icon_size); #else tmp_image = gtk_image_new_from_icon_name("preferences-system", tmp_toolbar_icon_size); #endif gtk_widget_show(tmp_image); toolbuttonPreferences = (GtkWidget*) gtk_tool_button_new(tmp_image, _("Preferences")); gtk_widget_show(toolbuttonPreferences); gtk_container_add(GTK_CONTAINER(toolbarMain), toolbuttonPreferences); #if HAVE_GTK3 == 0 gtk_tool_item_set_tooltip(GTK_TOOL_ITEM(toolbuttonPreferences), GTK_TOOLTIPS(tooltipsToolbar), _("View/Change gMTP Preferences."), _("View/Change gMTP Preferences.")); #else gtk_tool_item_set_tooltip_text(GTK_TOOL_ITEM(toolbuttonPreferences), _("View/Change gMTP Preferences.")); #endif /* toolbarSeparator = (GtkWidget*) gtk_separator_tool_item_new(); gtk_separator_tool_item_set_draw(GTK_SEPARATOR_TOOL_ITEM(toolbarSeparator), TRUE); gtk_widget_show(toolbarSeparator); gtk_container_add(GTK_CONTAINER(toolbarMain), toolbarSeparator); #if HAVE_GTK3 == 0 tmp_image = gtk_image_new_from_stock(GTK_STOCK_QUIT, tmp_toolbar_icon_size); #else tmp_image = gtk_image_new_from_icon_name("application-exit", tmp_toolbar_icon_size); #endif gtk_widget_show(tmp_image); toolbuttonQuit = (GtkWidget*) gtk_tool_button_new(tmp_image, _("Quit")); gtk_widget_show(toolbuttonQuit); gtk_container_add(GTK_CONTAINER(toolbarMain), toolbuttonQuit); #if HAVE_GTK3 == 0 gtk_tool_item_set_tooltip(GTK_TOOL_ITEM(toolbuttonQuit), GTK_TOOLTIPS(tooltipsToolbar), _("Quit gMTP."), _("Quit")); #else gtk_tool_item_set_tooltip_text(GTK_TOOL_ITEM(toolbuttonQuit), _("Quit gMTP.")); #endif */ #if HAVE_GTK3 == 0 gtk_tooltips_enable(tooltipsToolbar); #endif // Find toolbar; #if HAVE_GTK3 == 0 findToolbar = gtk_handle_box_new(); //gtk_widget_show(findToolbar); // Only show when the user selects the menu option. gtk_handle_box_set_shadow_type(GTK_HANDLE_BOX(findToolbar), GTK_SHADOW_ETCHED_OUT); #else findToolbar = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 5); #endif gtk_box_pack_start(GTK_BOX(vbox1), findToolbar, FALSE, FALSE, 0); #if HAVE_GTK3 == 0 FindToolbar_hbox_FindToolbar = gtk_hbox_new(FALSE, 5); #else FindToolbar_hbox_FindToolbar = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 5); #endif gtk_widget_show(FindToolbar_hbox_FindToolbar); gtk_container_add(GTK_CONTAINER(findToolbar), FindToolbar_hbox_FindToolbar); gtk_container_set_border_width(GTK_CONTAINER(FindToolbar_hbox_FindToolbar), 2); FindToolbar_label_FindLabel = gtk_label_new(_("Find:")); gtk_widget_show(FindToolbar_label_FindLabel); gtk_box_pack_start(GTK_BOX(FindToolbar_hbox_FindToolbar), FindToolbar_label_FindLabel, FALSE, FALSE, 0); gtk_label_set_justify(GTK_LABEL(FindToolbar_label_FindLabel), GTK_JUSTIFY_RIGHT); FindToolbar_entry_FindText = gtk_entry_new(); gtk_widget_show(FindToolbar_entry_FindText); gtk_box_pack_start(GTK_BOX(FindToolbar_hbox_FindToolbar), FindToolbar_entry_FindText, TRUE, TRUE, 0); gtk_entry_set_max_length(GTK_ENTRY(FindToolbar_entry_FindText), 256); #if HAVE_GTK3 == 0 FindToolbar_FindButton = gtk_button_new_from_stock(GTK_STOCK_FIND); #else #if GTK_CHECK_VERSION(3,10,0) FindToolbar_FindButton = gtk_button_new_from_icon_name("edit-find", tmp_toolbar_icon_size); #else FindToolbar_FindButton = gtk_button_new_from_stock(GTK_STOCK_FIND); #endif #endif gtk_widget_show(FindToolbar_FindButton); gtk_box_pack_start(GTK_BOX(FindToolbar_hbox_FindToolbar), FindToolbar_FindButton, FALSE, FALSE, 5); //gtk_container_set_border_width(GTK_CONTAINER(FindToolbar_FindButton), 5); FindToolbar_checkbutton_FindFiles = gtk_check_button_new_with_mnemonic(_("Filenames")); gtk_widget_show(FindToolbar_checkbutton_FindFiles); gtk_box_pack_start(GTK_BOX(FindToolbar_hbox_FindToolbar), FindToolbar_checkbutton_FindFiles, FALSE, FALSE, 0); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(FindToolbar_checkbutton_FindFiles), TRUE); FindToolbar_checkbutton_TrackInformation = gtk_check_button_new_with_mnemonic(_("Track Information")); gtk_widget_show(FindToolbar_checkbutton_TrackInformation); gtk_box_pack_start(GTK_BOX(FindToolbar_hbox_FindToolbar), FindToolbar_checkbutton_TrackInformation, FALSE, FALSE, 0); #if HAVE_GTK3 == 0 tmp_image = gtk_image_new_from_stock(GTK_STOCK_CLOSE, tmp_toolbar_icon_size); #else tmp_image = gtk_image_new_from_icon_name("window-close", tmp_toolbar_icon_size); #endif gtk_widget_show(tmp_image); FindToolbar_CloseButton = (GtkWidget*) gtk_button_new(); gtk_container_add(GTK_CONTAINER(FindToolbar_CloseButton), tmp_image); gtk_widget_show(FindToolbar_CloseButton); gtk_box_pack_start(GTK_BOX(FindToolbar_hbox_FindToolbar), FindToolbar_CloseButton, FALSE, FALSE, 5); gtk_button_set_relief(GTK_BUTTON(FindToolbar_CloseButton), GTK_RELIEF_NONE); // Main Window. // Hpane for showing both folders and main window. #if HAVE_GTK3 == 0 hpanel = gtk_hpaned_new(); #else hpanel = gtk_paned_new(GTK_ORIENTATION_HORIZONTAL); #endif gtk_widget_show(hpanel); gtk_box_pack_start(GTK_BOX(vbox1), hpanel, TRUE, TRUE, 0); gtk_paned_set_position(GTK_PANED(hpanel), 150); // Folder Window scrolledwindowFolders = gtk_scrolled_window_new(NULL, NULL); gtk_widget_hide(scrolledwindowFolders); gtk_paned_pack1(GTK_PANED(hpanel), scrolledwindowFolders, TRUE, TRUE); gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrolledwindowFolders), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); treeviewFolders = gtk_tree_view_new(); gtk_widget_show(treeviewFolders); gtk_container_add(GTK_CONTAINER(scrolledwindowFolders), treeviewFolders); gtk_container_set_border_width(GTK_CONTAINER(treeviewFolders), 5); folderSelection = gtk_tree_view_get_selection(GTK_TREE_VIEW(treeviewFolders)); gtk_tree_selection_set_mode(folderSelection, GTK_SELECTION_SINGLE); folderList = gtk_tree_store_new(NUM_FOL_COLUMNS, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_UINT, GDK_TYPE_PIXBUF); folderColumn = setupFolderList(treeviewFolders); folderListModel = gtk_tree_model_sort_new_with_model(GTK_TREE_MODEL(folderList)); gtk_tree_sortable_set_sort_column_id(GTK_TREE_SORTABLE(folderListModel), COL_FOL_NAME_HIDDEN, GTK_SORT_ASCENDING); gtk_tree_view_set_model(GTK_TREE_VIEW(treeviewFolders), GTK_TREE_MODEL(folderListModel)); gtk_tree_view_expand_all(GTK_TREE_VIEW(treeviewFolders)); g_object_unref(folderList); // Main file window scrolledwindowMain = gtk_scrolled_window_new(NULL, NULL); gtk_widget_show(scrolledwindowMain); gtk_paned_pack2(GTK_PANED(hpanel), scrolledwindowMain, TRUE, TRUE); gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrolledwindowMain), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); treeviewFiles = gtk_tree_view_new(); gtk_widget_show(treeviewFiles); gtk_container_add(GTK_CONTAINER(scrolledwindowMain), treeviewFiles); gtk_container_set_border_width(GTK_CONTAINER(treeviewFiles), 5); fileSelection = gtk_tree_view_get_selection(GTK_TREE_VIEW(treeviewFiles)); gtk_tree_selection_set_mode(fileSelection, GTK_SELECTION_MULTIPLE); fileList = gtk_list_store_new(NUM_COLUMNS, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_UINT, G_TYPE_BOOLEAN, G_TYPE_UINT64, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_UINT, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_UINT, GDK_TYPE_PIXBUF, G_TYPE_STRING); setupFileList(treeviewFiles); fileListModel = gtk_tree_model_sort_new_with_model(GTK_TREE_MODEL(fileList)); gtk_tree_sortable_set_sort_column_id(GTK_TREE_SORTABLE(fileListModel), COL_FILENAME_HIDDEN, GTK_SORT_ASCENDING); gtk_tree_view_set_model(GTK_TREE_VIEW(treeviewFiles), GTK_TREE_MODEL(fileListModel)); g_object_unref(fileList); windowStatusBar = gtk_statusbar_new(); gtk_widget_show(windowStatusBar); gtk_box_pack_start(GTK_BOX(vbox1), windowStatusBar, FALSE, FALSE, 0); // Build our right-click context menu; contextMenu = create_windowMainContextMenu(); contextMenuColumn = create_windowMainColumnContextMenu(); contextMenuFolder = create_windowFolderContextMenu(); // DnD functions g_signal_connect((gpointer) scrolledwindowMain, "drag-data-received", G_CALLBACK(gmtp_drag_data_received), NULL); g_signal_connect((gpointer) treeviewFolders, "drag-data-received", G_CALLBACK(gmtpfolders_drag_data_received), NULL); g_signal_connect((gpointer) treeviewFolders, "drag-motion", G_CALLBACK(gmtpfolders_drag_motion_received), NULL); // End Dnd functions g_signal_connect((gpointer) windowMain, "destroy", G_CALLBACK(on_quit1_activate), NULL); g_signal_connect((gpointer) properties1, "activate", G_CALLBACK(on_deviceProperties_activate), NULL); g_signal_connect((gpointer) toolbuttonProperties, "clicked", G_CALLBACK(on_deviceProperties_activate), NULL); g_signal_connect((gpointer) quit1, "activate", G_CALLBACK(on_quit1_activate), NULL); g_signal_connect((gpointer) preferences1, "activate", G_CALLBACK(on_preferences1_activate), NULL); g_signal_connect((gpointer) editFind, "activate", G_CALLBACK(on_editFind_activate), NULL); g_signal_connect((gpointer) editSelectAll, "activate", G_CALLBACK(on_editSelectAll_activate), NULL); g_signal_connect((gpointer) editDeviceName, "activate", G_CALLBACK(on_editDeviceName_activate), NULL); g_signal_connect((gpointer) editFormatDevice, "activate", G_CALLBACK(on_editFormatDevice_activate), NULL); g_signal_connect((gpointer) editAddAlbumArt, "activate", G_CALLBACK(on_editAddAlbumArt_activate), NULL); g_signal_connect((gpointer) editPlaylist, "activate", G_CALLBACK(on_editPlaylist_activate), NULL); g_signal_connect((gpointer) fileAdd, "activate", G_CALLBACK(on_filesAdd_activate), NULL); g_signal_connect((gpointer) fileDownload, "activate", G_CALLBACK(on_filesDownload_activate), NULL); g_signal_connect((gpointer) fileRemove, "activate", G_CALLBACK(on_filesDelete_activate), NULL); g_signal_connect((gpointer) fileRename, "activate", G_CALLBACK(on_fileRenameFile_activate), NULL); g_signal_connect((gpointer) fileMove, "activate", G_CALLBACK(on_fileMoveFile_activate), NULL); g_signal_connect((gpointer) fileConnect, "activate", G_CALLBACK(on_deviceConnect_activate), NULL); g_signal_connect((gpointer) fileNewFolder, "activate", G_CALLBACK(on_fileNewFolder_activate), NULL); g_signal_connect((gpointer) fileRemoveFolder, "activate", G_CALLBACK(on_fileRemoveFolder_activate), NULL); g_signal_connect((gpointer) fileRescan, "activate", G_CALLBACK(on_deviceRescan_activate), NULL); g_signal_connect((gpointer) about1, "activate", G_CALLBACK(on_about1_activate), NULL); /* g_signal_connect((gpointer) toolbuttonQuit, "clicked", G_CALLBACK(on_quit1_activate), NULL);*/ g_signal_connect((gpointer) toolbuttonRescan, "clicked", G_CALLBACK(on_deviceRescan_activate), NULL); g_signal_connect((gpointer) toolbuttonAddFile, "clicked", G_CALLBACK(on_filesAdd_activate), NULL); g_signal_connect((gpointer) toolbuttonRemoveFile, "clicked", G_CALLBACK(on_filesDelete_activate), NULL); g_signal_connect((gpointer) toolbuttonRetrieve, "clicked", G_CALLBACK(on_filesDownload_activate), NULL); g_signal_connect((gpointer) toolbuttonAlbumArt, "clicked", G_CALLBACK(on_editAddAlbumArt_activate), NULL); g_signal_connect((gpointer) toolbuttonPlaylist, "clicked", G_CALLBACK(on_editPlaylist_activate), NULL); g_signal_connect((gpointer) toolbuttonConnect, "clicked", G_CALLBACK(on_deviceConnect_activate), NULL); g_signal_connect((gpointer) toolbuttonPreferences, "clicked", G_CALLBACK(on_preferences1_activate), NULL); g_signal_connect((gpointer) treeviewFiles, "row-activated", G_CALLBACK(fileListRowActivated), NULL); g_signal_connect((gpointer) treeviewFolders, "row-activated", G_CALLBACK(folderListRowActivated), NULL); g_signal_connect_swapped(treeviewFiles, "button_press_event", G_CALLBACK(on_windowMainContextMenu_activate), contextMenu); g_signal_connect_swapped(treeviewFolders, "button_press_event", G_CALLBACK(on_windowMainContextMenu_activate), contextMenuFolder); g_signal_connect((gpointer) menu_view_filesize, "toggled", G_CALLBACK(on_view_activate), NULL); g_signal_connect((gpointer) menu_view_filetype, "toggled", G_CALLBACK(on_view_activate), NULL); g_signal_connect((gpointer) menu_view_track_number, "toggled", G_CALLBACK(on_view_activate), NULL); g_signal_connect((gpointer) menu_view_title, "toggled", G_CALLBACK(on_view_activate), NULL); g_signal_connect((gpointer) menu_view_artist, "toggled", G_CALLBACK(on_view_activate), NULL); g_signal_connect((gpointer) menu_view_album, "toggled", G_CALLBACK(on_view_activate), NULL); g_signal_connect((gpointer) menu_view_year, "toggled", G_CALLBACK(on_view_activate), NULL); g_signal_connect((gpointer) menu_view_genre, "toggled", G_CALLBACK(on_view_activate), NULL); g_signal_connect((gpointer) menu_view_duration, "toggled", G_CALLBACK(on_view_activate), NULL); g_signal_connect((gpointer) menu_view_folders, "toggled", G_CALLBACK(on_view_activate), NULL); g_signal_connect((gpointer) menu_view_toolbar, "toggled", G_CALLBACK(on_view_activate), NULL); g_signal_connect((gpointer) FindToolbar_CloseButton, "clicked", G_CALLBACK(on_editFindClose_activate), NULL); g_signal_connect((gpointer) FindToolbar_FindButton, "clicked", G_CALLBACK(on_editFindSearch_activate), NULL); g_signal_connect((gpointer) FindToolbar_entry_FindText, "activate", G_CALLBACK(on_editFindSearch_activate), NULL); folderSelectHandler = g_signal_connect_after((gpointer) folderSelection, "changed", G_CALLBACK(on_treeviewFolders_rowactivated), NULL); fileSelectHandler = g_signal_connect_after((gpointer) fileSelection, "changed", G_CALLBACK(on_treeviewFolders_rowactivated), NULL); gtk_window_add_accel_group(GTK_WINDOW(windowMain), accel_group); gtk_menu_set_accel_group(GTK_MENU(menuitem1_menu), accel_group); gtk_widget_add_accelerator(fileRemove, "activate", accel_group, GDK_Delete, 0, GTK_ACCEL_VISIBLE); gtk_widget_add_accelerator(fileRename, "activate", accel_group, GDK_F2, 0, GTK_ACCEL_VISIBLE); gtk_widget_add_accelerator(fileConnect, "activate", accel_group, GDK_F3, 0, GTK_ACCEL_VISIBLE); gtk_widget_add_accelerator(fileRescan, "activate", accel_group, GDK_F5, 0, GTK_ACCEL_VISIBLE); gtk_widget_add_accelerator(fileNewFolder, "activate", accel_group, GDK_N, GDK_CONTROL_MASK + GDK_SHIFT_MASK, GTK_ACCEL_VISIBLE); gtk_widget_add_accelerator(fileAdd, "activate", accel_group, GDK_O, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE); gtk_widget_add_accelerator(fileDownload, "activate", accel_group, GDK_D, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE); gtk_widget_add_accelerator(editPlaylist, "activate", accel_group, GDK_P, GDK_CONTROL_MASK + GDK_SHIFT_MASK, GTK_ACCEL_VISIBLE); gtk_widget_add_accelerator(editAddAlbumArt, "activate", accel_group, GDK_A, GDK_CONTROL_MASK + GDK_SHIFT_MASK, GTK_ACCEL_VISIBLE); gtk_widget_add_accelerator(editSelectAll, "activate", accel_group, GDK_A, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE); gtk_widget_add_accelerator(editFind, "activate", accel_group, GDK_F, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE); return windowMain; } // ************************************************************************************************ void statusBarSet(gchar *text) { statusBarClear(); guint c_id1 = gtk_statusbar_get_context_id(GTK_STATUSBAR(windowStatusBar), ""); gtk_statusbar_push(GTK_STATUSBAR(windowStatusBar), c_id1, text); } // ************************************************************************************************ void statusBarClear() { guint c_id1 = gtk_statusbar_get_context_id(GTK_STATUSBAR(windowStatusBar), ""); gtk_statusbar_pop(GTK_STATUSBAR(windowStatusBar), c_id1); } // ************************************************************************************************ void SetToolbarButtonState(gboolean state) { gtk_widget_set_sensitive(GTK_WIDGET(toolbuttonAddFile), state); gtk_widget_set_sensitive(GTK_WIDGET(toolbuttonRemoveFile), state); gtk_widget_set_sensitive(GTK_WIDGET(toolbuttonRetrieve), state); gtk_widget_set_sensitive(GTK_WIDGET(toolbuttonRescan), state); gtk_widget_set_sensitive(GTK_WIDGET(toolbuttonAlbumArt), state); gtk_widget_set_sensitive(GTK_WIDGET(toolbuttonPlaylist), state); gtk_widget_set_sensitive(GTK_WIDGET(toolbuttonProperties), state); gtk_widget_set_sensitive(GTK_WIDGET(properties1), state); gtk_widget_set_sensitive(GTK_WIDGET(fileAdd), state); gtk_widget_set_sensitive(GTK_WIDGET(fileDownload), state); gtk_widget_set_sensitive(GTK_WIDGET(fileRemove), state); gtk_widget_set_sensitive(GTK_WIDGET(fileRename), state); gtk_widget_set_sensitive(GTK_WIDGET(fileMove), state); gtk_widget_set_sensitive(GTK_WIDGET(fileNewFolder), state); gtk_widget_set_sensitive(GTK_WIDGET(fileRemoveFolder), state); gtk_widget_set_sensitive(GTK_WIDGET(fileRescan), state); gtk_widget_set_sensitive(GTK_WIDGET(editDeviceName), state); gtk_widget_set_sensitive(GTK_WIDGET(editFormatDevice), state); gtk_widget_set_sensitive(GTK_WIDGET(editAddAlbumArt), state); gtk_widget_set_sensitive(GTK_WIDGET(editFind), state); gtk_widget_set_sensitive(GTK_WIDGET(editSelectAll), state); gtk_widget_set_sensitive(GTK_WIDGET(editPlaylist), state); gtk_widget_set_sensitive(GTK_WIDGET(treeviewFiles), state); // Only set this if we are using the normal connection method. if (!Preferences.use_alt_access_method) { gtk_widget_set_sensitive(GTK_WIDGET(treeviewFolders), state); } } // ************************************************************************************************ /** * Construct the main file view within the main application window. * @param treeviewFiles */ void setupFileList(GtkTreeView *treeviewFiles) { GtkCellRenderer *renderer; GtkTreeViewColumn *column; GtkWidget *header; GtkWidget *parent; // Filename column //renderer = gtk_cell_renderer_text_new(); //column = gtk_tree_view_column_new_with_attributes(_("Filename"), renderer, // "text", COL_FILENAME, // NULL); column = gtk_tree_view_column_new(); gtk_tree_view_column_set_title(column, _("Filename")); renderer = gtk_cell_renderer_pixbuf_new(); gtk_tree_view_column_pack_start(column, renderer, FALSE); gtk_tree_view_column_set_attributes(column, renderer, "pixbuf", COL_ICON, NULL); renderer = gtk_cell_renderer_text_new(); gtk_tree_view_column_pack_start(column, renderer, TRUE); gtk_tree_view_column_set_attributes(column, renderer, "text", COL_FILENAME_ACTUAL, NULL); gtk_tree_view_append_column(GTK_TREE_VIEW(treeviewFiles), column); gtk_tree_view_column_set_sort_column_id(column, COL_FILENAME_HIDDEN); gtk_tree_view_column_set_resizable(column, TRUE); gtk_tree_view_column_set_spacing(column, 5); header = gtk_label_new(_("Filename")); gtk_widget_show(header); gtk_tree_view_column_set_widget(column, header); parent = gtk_widget_get_ancestor(gtk_tree_view_column_get_widget(column), GTK_TYPE_BUTTON); g_signal_connect_swapped(parent, "button_press_event", G_CALLBACK(on_windowViewContextMenu_activate), contextMenuColumn); // Filename column for sorting. renderer = gtk_cell_renderer_text_new(); column = gtk_tree_view_column_new_with_attributes("Filename Hidden", renderer, "text", COL_FILENAME_HIDDEN, NULL); gtk_tree_view_append_column(GTK_TREE_VIEW(treeviewFiles), column); gtk_tree_view_column_set_visible(column, FALSE); // File name actual - used for renaming operations. renderer = gtk_cell_renderer_text_new(); column = gtk_tree_view_column_new_with_attributes("Filename Actual", renderer, "text", COL_FILENAME_ACTUAL, NULL); gtk_tree_view_append_column(GTK_TREE_VIEW(treeviewFiles), column); gtk_tree_view_column_set_visible(column, FALSE); // File Size column renderer = gtk_cell_renderer_text_new(); column_Size = gtk_tree_view_column_new_with_attributes(_("Size"), renderer, "text", COL_FILESIZE, NULL); gtk_tree_view_append_column(GTK_TREE_VIEW(treeviewFiles), column_Size); gtk_tree_view_column_set_sort_column_id(column_Size, COL_FILESIZE_HID); gtk_tree_view_column_set_resizable(column_Size, TRUE); gtk_tree_view_column_set_spacing(column_Size, 5); gtk_tree_view_column_set_visible(column_Size, Preferences.view_size); header = gtk_label_new(_("Size")); gtk_widget_show(header); gtk_tree_view_column_set_widget(column_Size, header); parent = gtk_widget_get_ancestor(gtk_tree_view_column_get_widget(column_Size), GTK_TYPE_BUTTON); g_signal_connect_swapped(parent, "button_press_event", G_CALLBACK(on_windowViewContextMenu_activate), contextMenuColumn); // Folder/FileID column renderer = gtk_cell_renderer_text_new(); column = gtk_tree_view_column_new_with_attributes("Object ID", renderer, "text", COL_FILEID, NULL); gtk_tree_view_append_column(GTK_TREE_VIEW(treeviewFiles), column); gtk_tree_view_column_set_visible(column, FALSE); // isFolder column renderer = gtk_cell_renderer_text_new(); column = gtk_tree_view_column_new_with_attributes("isFolder", renderer, "text", COL_ISFOLDER, NULL); gtk_tree_view_append_column(GTK_TREE_VIEW(treeviewFiles), column); gtk_tree_view_column_set_visible(column, FALSE); // File size column - hidden used for sorting the visible file size column renderer = gtk_cell_renderer_text_new(); column = gtk_tree_view_column_new_with_attributes("FileSize Hidden", renderer, "text", COL_FILESIZE_HID, NULL); gtk_tree_view_append_column(GTK_TREE_VIEW(treeviewFiles), column); gtk_tree_view_column_set_visible(column, FALSE); // File Type column renderer = gtk_cell_renderer_text_new(); column_Type = gtk_tree_view_column_new_with_attributes(_("File Type"), renderer, "text", COL_TYPE, NULL); gtk_tree_view_append_column(GTK_TREE_VIEW(treeviewFiles), column_Type); gtk_tree_view_column_set_sort_column_id(column_Type, COL_TYPE); gtk_tree_view_column_set_resizable(column_Type, TRUE); gtk_tree_view_column_set_spacing(column_Type, 5); gtk_tree_view_column_set_visible(column_Type, Preferences.view_type); header = gtk_label_new(_("File Type")); gtk_widget_show(header); gtk_tree_view_column_set_widget(column_Type, header); parent = gtk_widget_get_ancestor(gtk_tree_view_column_get_widget(column_Type), GTK_TYPE_BUTTON); g_signal_connect_swapped(parent, "button_press_event", G_CALLBACK(on_windowViewContextMenu_activate), contextMenuColumn); // Track Number column renderer = gtk_cell_renderer_text_new(); column_Track_Number = gtk_tree_view_column_new_with_attributes(_("Track"), renderer, "text", COL_TRACK_NUMBER, NULL); gtk_tree_view_append_column(GTK_TREE_VIEW(treeviewFiles), column_Track_Number); gtk_tree_view_column_set_sort_column_id(column_Track_Number, COL_TRACK_NUMBER_HIDDEN); gtk_tree_view_column_set_resizable(column_Track_Number, TRUE); gtk_tree_view_column_set_spacing(column_Track_Number, 5); gtk_tree_view_column_set_visible(column_Track_Number, Preferences.view_track_number); header = gtk_label_new(_("Track")); gtk_widget_show(header); gtk_tree_view_column_set_widget(column_Track_Number, header); parent = gtk_widget_get_ancestor(gtk_tree_view_column_get_widget(column_Track_Number), GTK_TYPE_BUTTON); g_signal_connect_swapped(parent, "button_press_event", G_CALLBACK(on_windowViewContextMenu_activate), contextMenuColumn); renderer = gtk_cell_renderer_text_new(); column = gtk_tree_view_column_new_with_attributes("Track Num Hidden", renderer, "text", COL_TRACK_NUMBER_HIDDEN, NULL); gtk_tree_view_append_column(GTK_TREE_VIEW(treeviewFiles), column); gtk_tree_view_column_set_visible(column, FALSE); // Track Title column renderer = gtk_cell_renderer_text_new(); column_Title = gtk_tree_view_column_new_with_attributes(_("Track Name"), renderer, "text", COL_TITLE, NULL); gtk_tree_view_append_column(GTK_TREE_VIEW(treeviewFiles), column_Title); gtk_tree_view_column_set_sort_column_id(column_Title, COL_TITLE); gtk_tree_view_column_set_resizable(column_Title, TRUE); gtk_tree_view_column_set_spacing(column_Title, 5); gtk_tree_view_column_set_visible(column_Title, Preferences.view_track_number); header = gtk_label_new(_("Track Name")); gtk_widget_show(header); gtk_tree_view_column_set_widget(column_Title, header); parent = gtk_widget_get_ancestor(gtk_tree_view_column_get_widget(column_Title), GTK_TYPE_BUTTON); g_signal_connect_swapped(parent, "button_press_event", G_CALLBACK(on_windowViewContextMenu_activate), contextMenuColumn); // Artist column renderer = gtk_cell_renderer_text_new(); column_Artist = gtk_tree_view_column_new_with_attributes(_("Artist"), renderer, "text", COL_FL_ARTIST, NULL); gtk_tree_view_append_column(GTK_TREE_VIEW(treeviewFiles), column_Artist); gtk_tree_view_column_set_sort_column_id(column_Artist, COL_FL_ARTIST); gtk_tree_view_column_set_resizable(column_Artist, TRUE); gtk_tree_view_column_set_spacing(column_Artist, 5); gtk_tree_view_column_set_visible(column_Artist, Preferences.view_artist); header = gtk_label_new(_("Artist")); gtk_widget_show(header); gtk_tree_view_column_set_widget(column_Artist, header); parent = gtk_widget_get_ancestor(gtk_tree_view_column_get_widget(column_Artist), GTK_TYPE_BUTTON); g_signal_connect_swapped(parent, "button_press_event", G_CALLBACK(on_windowViewContextMenu_activate), contextMenuColumn); // Album column renderer = gtk_cell_renderer_text_new(); column_Album = gtk_tree_view_column_new_with_attributes(_("Album"), renderer, "text", COL_FL_ALBUM, NULL); gtk_tree_view_append_column(GTK_TREE_VIEW(treeviewFiles), column_Album); gtk_tree_view_column_set_sort_column_id(column_Album, COL_FL_ALBUM); gtk_tree_view_column_set_resizable(column_Album, TRUE); gtk_tree_view_column_set_spacing(column_Album, 5); gtk_tree_view_column_set_visible(column_Album, Preferences.view_album); header = gtk_label_new(_("Album")); gtk_widget_show(header); gtk_tree_view_column_set_widget(column_Album, header); parent = gtk_widget_get_ancestor(gtk_tree_view_column_get_widget(column_Album), GTK_TYPE_BUTTON); g_signal_connect_swapped(parent, "button_press_event", G_CALLBACK(on_windowViewContextMenu_activate), contextMenuColumn); // Year column renderer = gtk_cell_renderer_text_new(); column_Year = gtk_tree_view_column_new_with_attributes(_("Year"), renderer, "text", COL_YEAR, NULL); gtk_tree_view_append_column(GTK_TREE_VIEW(treeviewFiles), column_Year); gtk_tree_view_column_set_sort_column_id(column_Year, COL_YEAR); gtk_tree_view_column_set_resizable(column_Year, TRUE); gtk_tree_view_column_set_spacing(column_Year, 5); gtk_tree_view_column_set_visible(column_Year, Preferences.view_year); header = gtk_label_new(_("Year")); gtk_widget_show(header); gtk_tree_view_column_set_widget(column_Year, header); parent = gtk_widget_get_ancestor(gtk_tree_view_column_get_widget(column_Year), GTK_TYPE_BUTTON); g_signal_connect_swapped(parent, "button_press_event", G_CALLBACK(on_windowViewContextMenu_activate), contextMenuColumn); // Genre column renderer = gtk_cell_renderer_text_new(); column_Genre = gtk_tree_view_column_new_with_attributes(_("Genre"), renderer, "text", COL_GENRE, NULL); gtk_tree_view_append_column(GTK_TREE_VIEW(treeviewFiles), column_Genre); gtk_tree_view_column_set_sort_column_id(column_Genre, COL_GENRE); gtk_tree_view_column_set_resizable(column_Genre, TRUE); gtk_tree_view_column_set_spacing(column_Genre, 5); gtk_tree_view_column_set_visible(column_Genre, Preferences.view_genre); header = gtk_label_new(_("Genre")); gtk_widget_show(header); gtk_tree_view_column_set_widget(column_Genre, header); parent = gtk_widget_get_ancestor(gtk_tree_view_column_get_widget(column_Genre), GTK_TYPE_BUTTON); g_signal_connect_swapped(parent, "button_press_event", G_CALLBACK(on_windowViewContextMenu_activate), contextMenuColumn); // Duration Visible column renderer = gtk_cell_renderer_text_new(); column_Duration = gtk_tree_view_column_new_with_attributes(_("Duration"), renderer, "text", COL_DURATION, NULL); gtk_tree_view_append_column(GTK_TREE_VIEW(treeviewFiles), column_Duration); gtk_tree_view_column_set_sort_column_id(column_Duration, COL_DURATION_HIDDEN); gtk_tree_view_column_set_resizable(column_Duration, TRUE); gtk_tree_view_column_set_spacing(column_Duration, 5); gtk_tree_view_column_set_visible(column_Duration, Preferences.view_duration); header = gtk_label_new(_("Duration")); gtk_widget_show(header); gtk_tree_view_column_set_widget(column_Duration, header); parent = gtk_widget_get_ancestor(gtk_tree_view_column_get_widget(column_Duration), GTK_TYPE_BUTTON); g_signal_connect_swapped(parent, "button_press_event", G_CALLBACK(on_windowViewContextMenu_activate), contextMenuColumn); // Duration Hidden column renderer = gtk_cell_renderer_text_new(); column = gtk_tree_view_column_new_with_attributes("Duration Hidden", renderer, "text", COL_DURATION_HIDDEN, NULL); gtk_tree_view_append_column(GTK_TREE_VIEW(treeviewFiles), column); gtk_tree_view_column_set_visible(column, FALSE); // Location column - only used in search mode. renderer = gtk_cell_renderer_text_new(); column_Location = gtk_tree_view_column_new_with_attributes(_("Location"), renderer, "text", COL_LOCATION, NULL); gtk_tree_view_append_column(GTK_TREE_VIEW(treeviewFiles), column_Location); gtk_tree_view_column_set_sort_column_id(column_Location, COL_LOCATION); gtk_tree_view_column_set_resizable(column_Location, TRUE); gtk_tree_view_column_set_spacing(column_Location, 5); gtk_tree_view_column_set_visible(column_Location, FALSE); header = gtk_label_new(_("Location")); gtk_widget_show(header); gtk_tree_view_column_set_widget(column_Location, header); parent = gtk_widget_get_ancestor(gtk_tree_view_column_get_widget(column_Location), GTK_TYPE_BUTTON); g_signal_connect_swapped(parent, "button_press_event", G_CALLBACK(on_windowViewContextMenu_activate), contextMenuColumn); } // ************************************************************************************************ GtkTreeViewColumn *setupFolderList(GtkTreeView *treeviewFolders) { GtkCellRenderer *renderer; GtkTreeViewColumn *column; GtkTreeViewColumn *folderColumnInt; folderColumnInt = gtk_tree_view_column_new(); gtk_tree_view_column_set_title(folderColumnInt, _("Folder")); renderer = gtk_cell_renderer_pixbuf_new(); gtk_tree_view_column_pack_start(folderColumnInt, renderer, FALSE); gtk_tree_view_column_set_attributes(folderColumnInt, renderer, "pixbuf", COL_FOL_ICON, NULL); renderer = gtk_cell_renderer_text_new(); g_object_set(renderer, "weight", PANGO_WEIGHT_BOLD, NULL); gtk_tree_view_column_pack_start(folderColumnInt, renderer, TRUE); gtk_tree_view_column_set_attributes(folderColumnInt, renderer, "text", COL_FOL_NAME_HIDDEN, NULL); gtk_tree_view_append_column(GTK_TREE_VIEW(treeviewFolders), folderColumnInt); gtk_tree_view_column_set_sort_column_id(folderColumnInt, COL_FOL_NAME_HIDDEN); gtk_tree_view_column_set_resizable(folderColumnInt, TRUE); gtk_tree_view_column_set_spacing(folderColumnInt, 5); // Folder column for sorting. renderer = gtk_cell_renderer_text_new(); column = gtk_tree_view_column_new_with_attributes("Folder name Hidden", renderer, "text", COL_FOL_NAME_HIDDEN, NULL); gtk_tree_view_append_column(GTK_TREE_VIEW(treeviewFolders), column); gtk_tree_view_column_set_visible(column, FALSE); return folderColumnInt; } // ************************************************************************************************ gboolean fileListClear() { gtk_list_store_clear(GTK_LIST_STORE(fileList)); return TRUE; } // ************************************************************************************************ gboolean folderListClear() { gtk_tree_store_clear(GTK_TREE_STORE(folderList)); return TRUE; } // ************************************************************************************************ GSList* getFileGetList2Add() { GSList* files = NULL; GtkWidget *FileDialog; FileDialog = gtk_file_chooser_dialog_new(_("Select Files to Add"), GTK_WINDOW(windowMain), GTK_FILE_CHOOSER_ACTION_OPEN, _("_Cancel"), GTK_RESPONSE_CANCEL, _("_Open"), GTK_RESPONSE_ACCEPT, NULL); gtk_file_chooser_set_select_multiple(GTK_FILE_CHOOSER(FileDialog), TRUE); gtk_file_chooser_set_current_folder(GTK_FILE_CHOOSER(FileDialog), Preferences.fileSystemUploadPath->str); if (gtk_dialog_run(GTK_DIALOG(FileDialog)) == GTK_RESPONSE_ACCEPT) { gchar *savepath = gtk_file_chooser_get_current_folder(GTK_FILE_CHOOSER(FileDialog)); // Save our upload path. Preferences.fileSystemUploadPath = g_string_assign(Preferences.fileSystemUploadPath, savepath); files = gtk_file_chooser_get_filenames(GTK_FILE_CHOOSER(FileDialog)); g_free(savepath); } gtk_widget_hide(FileDialog); gtk_widget_destroy(FileDialog); return files; } // ************************************************************************************************ gboolean fileListAdd() { GtkTreeIter rowIter; //gchar *filename = NULL; gchar *filename_hid = NULL; gchar *filesize = NULL; gchar *filetype = NULL; gchar *trackduration = NULL; gchar *tracknumber = NULL; gchar *fileext = NULL; LIBMTP_folder_t *tmpfolder; LIBMTP_file_t *tmpfile; guint parentID; GdkPixbuf *image = NULL; // Confirm our currentFolder exists otherwise goto the root folder. if (!Preferences.use_alt_access_method) { tmpfolder = getCurrentFolderPtr(deviceFolders, currentFolderID); if (tmpfolder == NULL) currentFolderID = 0; } else { // deviceFolders is NULL or has garbage. So assume that we actually do exist! filesUpateFileList(); } // This ensure that if the current folder or a parent of is deleted in the find mode, // the current folder is reset to something sane. // Start our file listing. if (inFindMode == FALSE) { // Since we are in normal mode, hide the location Column. gtk_tree_view_column_set_visible(column_Location, FALSE); // We start with the folder list... if (currentFolderID != 0) { // If we are not folderID = 0; then... image = gdk_pixbuf_new_from_file(file_folder_png, NULL); // Scan the folder list for the current folderID, and set the parent ID, if (!Preferences.use_alt_access_method) { tmpfolder = deviceFolders; parentID = getParentFolderID(tmpfolder, currentFolderID); } else { parentID = *((guint*) g_queue_peek_tail(stackFolderIDs)); } // Now add in the row information. gtk_list_store_append(GTK_LIST_STORE(fileList), &rowIter); gtk_list_store_set(GTK_LIST_STORE(fileList), &rowIter, //COL_FILENAME, "< .. >", COL_FILENAME_HIDDEN, " < .. >", COL_FILENAME_ACTUAL, "..", COL_FILESIZE, "", COL_FILEID, parentID, COL_ISFOLDER, TRUE, COL_FILESIZE_HID, (guint64) 0, COL_ICON, image, -1); // Indicate we are done with this image. g_object_unref(image); } // Only use device folders if using normal display mode. if (!Preferences.use_alt_access_method) { // What we scan for is the folder's details where 'parent_id' == currentFolderID and display those. tmpfolder = getParentFolderPtr(deviceFolders, currentFolderID); while (tmpfolder != NULL) { if ((tmpfolder->parent_id == currentFolderID) && (tmpfolder->storage_id == DeviceMgr.devicestorage->id)) { image = gdk_pixbuf_new_from_file(file_folder_png, NULL); gtk_list_store_append(GTK_LIST_STORE(fileList), &rowIter); //filename = g_strdup_printf("< %s >", tmpfolder->name); filename_hid = g_strdup_printf(" < %s >", tmpfolder->name); gtk_list_store_set(GTK_LIST_STORE(fileList), &rowIter, //COL_FILENAME, filename, COL_FILENAME_HIDDEN, filename_hid, COL_FILENAME_ACTUAL, tmpfolder->name, COL_FILESIZE, "", COL_FILEID, tmpfolder->folder_id, COL_ISFOLDER, TRUE, COL_FILESIZE_HID, (guint64) 0, COL_ICON, image, -1); //g_free(filename); g_free(filename_hid); // Indicate we are done with this image. g_object_unref(image); } tmpfolder = tmpfolder->sibling; } } // We don't destroy the structure, only on a rescan operation. // We scan for files in the file details we 'parent_id' == currentFolderID and display those. tmpfile = deviceFiles; while (tmpfile != NULL) { if ((tmpfile->parent_id == currentFolderID) && (tmpfile->storage_id == DeviceMgr.devicestorage->id)) { gtk_list_store_append(GTK_LIST_STORE(fileList), &rowIter); filesize = calculateFriendlySize(tmpfile->filesize); fileext = strrchr(tmpfile->filename, '.'); // This accounts for the case with a filename without any "." (period). if (!fileext) { gchar* tmpStr = g_ascii_strup(tmpfile->filename, -1); filetype = g_strconcat(tmpStr, " File", NULL); g_free(tmpStr); } else { gchar* tmpStr = g_ascii_strup(++fileext, -1); filetype = g_strconcat(tmpStr, " File", NULL); g_free(tmpStr); } // Get the type, and if it's one of the supported types, get the metadata for it. gboolean useTrack = (tmpfile->filetype == LIBMTP_FILETYPE_MP3) || (tmpfile->filetype == LIBMTP_FILETYPE_OGG) || (tmpfile->filetype == LIBMTP_FILETYPE_FLAC) || (tmpfile->filetype == LIBMTP_FILETYPE_WMA); // Ignore track metadata if we are treating all media as regular files. if (Preferences.allmediaasfiles) { useTrack = FALSE; } // Now if it's a track type file, eg OGG, WMA, MP3 or FLAC, get it's metadata. if (useTrack) { LIBMTP_track_t *trackinfo; trackinfo = LIBMTP_Get_Trackmetadata(DeviceMgr.device, tmpfile->item_id); if (trackinfo != NULL) { trackduration = g_strdup_printf("%d:%.2d", (int) ((trackinfo->duration / 1000) / 60), (int) ((trackinfo->duration / 1000) % 60)); if (trackinfo->tracknumber != 0) { tracknumber = g_strdup_printf("%d", trackinfo->tracknumber); } else { tracknumber = g_strdup(" "); } // Some basic sanitisation. if (trackinfo->title == NULL) trackinfo->title = g_strdup(""); if (trackinfo->artist == NULL) trackinfo->artist = g_strdup(""); if (trackinfo->album == NULL) trackinfo->album = g_strdup(""); if (trackinfo->date == NULL) { trackinfo->date = g_strdup(""); } else { if (strlen(trackinfo->date) > 4) trackinfo->date[4] = '\0'; // Shorten the string to year only, yes this is nasty... } if (trackinfo->genre == NULL) trackinfo->genre = g_strdup(""); // Icon image = gdk_pixbuf_new_from_file(file_audio_png, NULL); gtk_list_store_set(GTK_LIST_STORE(fileList), &rowIter, //COL_FILENAME, tmpfile->filename, COL_FILENAME_HIDDEN, tmpfile->filename, COL_FILENAME_ACTUAL, tmpfile->filename, COL_FILESIZE, filesize, COL_FILEID, tmpfile->item_id, COL_ISFOLDER, FALSE, COL_FILESIZE_HID, tmpfile->filesize, COL_TYPE, filetype, COL_TRACK_NUMBER, tracknumber, COL_TRACK_NUMBER_HIDDEN, trackinfo->tracknumber, COL_TITLE, trackinfo->title, COL_FL_ARTIST, trackinfo->artist, COL_FL_ALBUM, trackinfo->album, COL_YEAR, trackinfo->date, COL_GENRE, trackinfo->genre, COL_DURATION, trackduration, COL_DURATION_HIDDEN, trackinfo->duration, COL_ICON, image, -1); g_free(trackduration); g_free(tracknumber); trackduration = NULL; tracknumber = NULL; // Indicate we are done with this image. g_object_unref(image); LIBMTP_destroy_track_t(trackinfo); } else { LIBMTP_Dump_Errorstack(DeviceMgr.device); LIBMTP_Clear_Errorstack(DeviceMgr.device); } } else { // Determine the file type. if (LIBMTP_FILETYPE_IS_AUDIO(tmpfile->filetype)) { image = gdk_pixbuf_new_from_file(file_audio_png, NULL); } else if (LIBMTP_FILETYPE_IS_AUDIOVIDEO(tmpfile->filetype)) { image = gdk_pixbuf_new_from_file(file_video_png, NULL); } else if (LIBMTP_FILETYPE_IS_VIDEO(tmpfile->filetype)) { image = gdk_pixbuf_new_from_file(file_video_png, NULL); } else if (LIBMTP_FILETYPE_IS_IMAGE(tmpfile->filetype)) { image = gdk_pixbuf_new_from_file(file_image_png, NULL); } else if (tmpfile->filetype == LIBMTP_FILETYPE_ALBUM) { image = gdk_pixbuf_new_from_file(file_album_png, NULL); } else if (tmpfile->filetype == LIBMTP_FILETYPE_PLAYLIST) { image = gdk_pixbuf_new_from_file(file_playlist_png, NULL); } else if (tmpfile->filetype == LIBMTP_FILETYPE_TEXT) { image = gdk_pixbuf_new_from_file(file_textfile_png, NULL); } else if (tmpfile->filetype == LIBMTP_FILETYPE_FOLDER) { image = gdk_pixbuf_new_from_file(file_folder_png, NULL); } else { image = gdk_pixbuf_new_from_file(file_generic_png, NULL); } // let folders through IFF we are in alt connection mode. if (!Preferences.use_alt_access_method && tmpfile->filetype == LIBMTP_FILETYPE_FOLDER) { goto skipAdd; } // Set folder type. int isFolder = FALSE; if (tmpfile->filetype == LIBMTP_FILETYPE_FOLDER) { isFolder = TRUE; if (filesize != NULL) g_free(filesize); if (filetype != NULL) g_free(filetype); filesize = g_strdup(""); filetype = g_strdup(""); filename_hid = g_strdup_printf(" < %s >", tmpfile->filename); } else { filename_hid = g_strdup(tmpfile->filename); } // Otherwise just show the file information gtk_list_store_set(GTK_LIST_STORE(fileList), &rowIter, //COL_FILENAME, tmpfile->filename, COL_FILENAME_HIDDEN, filename_hid, COL_FILENAME_ACTUAL, tmpfile->filename, COL_FILESIZE, filesize, COL_FILEID, tmpfile->item_id, COL_ISFOLDER, isFolder, COL_FILESIZE_HID, tmpfile->filesize, COL_TYPE, filetype, COL_ICON, image, -1); g_free(filename_hid); skipAdd: // Indicate we are done with this image. g_object_unref(image); } if (filetype != NULL) g_free(filetype); filetype = NULL; if (filesize != NULL) g_free(filesize); filesize = NULL; } tmpfile = tmpfile->next; } // Now update the title bar with our folder name. if (!Preferences.use_alt_access_method) { setWindowTitle(getFullFolderPath(currentFolderID)); } else { // Construct the place string based on the contents of the stackFolderNameQueue. gchar* fullfilename = g_strdup(""); gchar* tmpfilename = NULL; guint stringlength = 0; int items = g_queue_get_length(stackFolderNames); // Add in our names; while (items-- > 0) { tmpfilename = g_strdup_printf("%s/%s", (gchar *) g_queue_peek_nth(stackFolderNames, items), fullfilename); g_free(fullfilename); fullfilename = tmpfilename; } // Add in leading slash if needed if (*fullfilename != '/') { tmpfilename = g_strdup_printf("/%s", fullfilename); g_free(fullfilename); fullfilename = tmpfilename; } // Remove trailing slash if needed. stringlength = strlen(fullfilename); if (stringlength > 1) { fullfilename[stringlength - 1] = '\0'; } setWindowTitle(fullfilename); g_free(fullfilename); } } else { // We are in search mode, so use the searchList instead as our source! gint item_count = 0; GSList *tmpsearchList = searchList; FileListStruc *itemdata = NULL; while (tmpsearchList != NULL) { // Add our files/folders. itemdata = tmpsearchList->data; item_count++; // If a folder... if (itemdata->isFolder == TRUE) { image = gdk_pixbuf_new_from_file(file_folder_png, NULL); gtk_list_store_append(GTK_LIST_STORE(fileList), &rowIter); //filename = g_strdup_printf("< %s >", tmpfolder->name); filename_hid = g_strdup_printf(" < %s >", itemdata->filename); gtk_list_store_set(GTK_LIST_STORE(fileList), &rowIter, //COL_FILENAME, filename, COL_FILENAME_HIDDEN, filename_hid, COL_FILENAME_ACTUAL, itemdata->filename, COL_FILESIZE, "", COL_FILEID, itemdata->itemid, COL_ISFOLDER, TRUE, COL_FILESIZE_HID, (guint64) 0, COL_ICON, image, COL_LOCATION, itemdata->location, -1); //g_free(filename); g_free(filename_hid); // Indicate we are done with this image. g_object_unref(image); } else { // else if a file... gtk_list_store_append(GTK_LIST_STORE(fileList), &rowIter); filesize = calculateFriendlySize(itemdata->filesize); fileext = strrchr(itemdata->filename, '.'); // This accounts for the case with a filename without any "." (period). if (!fileext) { filetype = g_strconcat(g_ascii_strup(itemdata->filename, -1), " File", NULL); } else { filetype = g_strconcat(g_ascii_strup(++fileext, -1), " File", NULL); } // Get the type, and if it's one of the supported types, get the metadata for it. gboolean useTrack = (itemdata->filetype == LIBMTP_FILETYPE_MP3) || (itemdata->filetype == LIBMTP_FILETYPE_OGG) || (itemdata->filetype == LIBMTP_FILETYPE_FLAC) || (itemdata->filetype == LIBMTP_FILETYPE_WMA); // Ignore track metadata if we are treating all media as regular files. if (Preferences.allmediaasfiles) { useTrack = FALSE; } // Now if it's a track type file, eg OGG, WMA, MP3 or FLAC, get it's metadata. if (useTrack) { LIBMTP_track_t *trackinfo; trackinfo = LIBMTP_Get_Trackmetadata(DeviceMgr.device, itemdata->itemid); if (trackinfo != NULL) { trackduration = g_strdup_printf("%d:%.2d", (int) ((trackinfo->duration / 1000) / 60), (int) ((trackinfo->duration / 1000) % 60)); if (trackinfo->tracknumber != 0) { tracknumber = g_strdup_printf("%d", trackinfo->tracknumber); } else { tracknumber = g_strdup(" "); } // Some basic sanitisation. if (trackinfo->title == NULL) trackinfo->title = g_strdup(""); if (trackinfo->artist == NULL) trackinfo->artist = g_strdup(""); if (trackinfo->album == NULL) trackinfo->album = g_strdup(""); if (trackinfo->date == NULL) trackinfo->date = g_strdup(""); if (trackinfo->genre == NULL) trackinfo->genre = g_strdup(""); // Icon image = gdk_pixbuf_new_from_file(file_audio_png, NULL); gtk_list_store_set(GTK_LIST_STORE(fileList), &rowIter, //COL_FILENAME, tmpfile->filename, COL_FILENAME_HIDDEN, itemdata->filename, COL_FILENAME_ACTUAL, itemdata->filename, COL_FILESIZE, filesize, COL_FILEID, itemdata->itemid, COL_ISFOLDER, FALSE, COL_FILESIZE_HID, itemdata->filesize, COL_TYPE, filetype, COL_TRACK_NUMBER, tracknumber, COL_TRACK_NUMBER_HIDDEN, trackinfo->tracknumber, COL_TITLE, trackinfo->title, COL_FL_ARTIST, trackinfo->artist, COL_FL_ALBUM, trackinfo->album, COL_YEAR, trackinfo->date, COL_GENRE, trackinfo->genre, COL_DURATION, trackduration, COL_DURATION_HIDDEN, trackinfo->duration, COL_ICON, image, COL_LOCATION, itemdata->location, -1); g_free(trackduration); g_free(tracknumber); trackduration = NULL; tracknumber = NULL; // Indicate we are done with this image. g_object_unref(image); LIBMTP_destroy_track_t(trackinfo); } else { LIBMTP_Dump_Errorstack(DeviceMgr.device); LIBMTP_Clear_Errorstack(DeviceMgr.device); } } else { // Determine the file type. if (LIBMTP_FILETYPE_IS_AUDIO(itemdata->filetype)) { image = gdk_pixbuf_new_from_file(file_audio_png, NULL); } else if (LIBMTP_FILETYPE_IS_AUDIOVIDEO(itemdata->filetype)) { image = gdk_pixbuf_new_from_file(file_video_png, NULL); } else if (LIBMTP_FILETYPE_IS_VIDEO(itemdata->filetype)) { image = gdk_pixbuf_new_from_file(file_video_png, NULL); } else if (LIBMTP_FILETYPE_IS_IMAGE(itemdata->filetype)) { image = gdk_pixbuf_new_from_file(file_image_png, NULL); } else if (itemdata->filetype == LIBMTP_FILETYPE_ALBUM) { image = gdk_pixbuf_new_from_file(file_album_png, NULL); } else if (itemdata->filetype == LIBMTP_FILETYPE_PLAYLIST) { image = gdk_pixbuf_new_from_file(file_playlist_png, NULL); } else if (itemdata->filetype == LIBMTP_FILETYPE_TEXT) { image = gdk_pixbuf_new_from_file(file_textfile_png, NULL); } else if (itemdata->filetype == LIBMTP_FILETYPE_FOLDER) { image = gdk_pixbuf_new_from_file(file_folder_png, NULL); } else { image = gdk_pixbuf_new_from_file(file_generic_png, NULL); } // let folders through IFF we are in alt connection mode. if (!Preferences.use_alt_access_method && itemdata->filetype == LIBMTP_FILETYPE_FOLDER) { goto skipAdd2; } // Set folder type. //int isFolder = FALSE; if (itemdata->filetype == LIBMTP_FILETYPE_FOLDER) { //isFolder = TRUE; if (filesize != NULL) g_free(filesize); if (filetype != NULL) g_free(filetype); filesize = g_strdup(""); filetype = g_strdup(""); filename_hid = g_strdup_printf(" < %s >", itemdata->filename); } else { filename_hid = g_strdup(itemdata->filename); } // Otherwise just show the file information gtk_list_store_set(GTK_LIST_STORE(fileList), &rowIter, //COL_FILENAME, tmpfile->filename, COL_FILENAME_HIDDEN, itemdata->filename, COL_FILENAME_ACTUAL, itemdata->filename, COL_FILESIZE, filesize, COL_FILEID, itemdata->itemid, COL_ISFOLDER, FALSE, COL_FILESIZE_HID, itemdata->filesize, COL_TYPE, filetype, COL_ICON, image, COL_LOCATION, itemdata->location, -1); // Indicate we are done with this image. g_free(filename_hid); skipAdd2: g_object_unref(image); } if (filetype != NULL) g_free(filetype); filetype = NULL; if (filesize != NULL) g_free(filesize); filesize = NULL; } tmpsearchList = tmpsearchList->next; } gchar *tmp_string; if (item_count != 1) { tmp_string = g_strdup_printf(_("Found %d items"), item_count); } else { tmp_string = g_strdup_printf(_("Found %d item"), item_count); } statusBarSet(tmp_string); g_free(tmp_string); } return TRUE; } // ************************************************************************************************ gboolean folderListAdd(LIBMTP_folder_t *folders, GtkTreeIter *parent) { GtkTreeIter rowIter; GdkPixbuf *image = NULL; if (parent == NULL) { // Add in the root node. image = gdk_pixbuf_new_from_file(file_folder_png, NULL); // Now add in the row information. gtk_tree_store_append(GTK_TREE_STORE(folderList), &rowIter, parent); gtk_tree_store_set(GTK_TREE_STORE(folderList), &rowIter, //COL_FOL_NAME, folders->name, COL_FOL_NAME_HIDDEN, "/", COL_FOL_ID, 0, COL_FOL_ICON, image, -1); // Indicate we are done with this image. g_object_unref(image); folderListAdd(folders, &rowIter); return TRUE; } while (folders != NULL) { // Only add in folder if it's in the current storage device. if (folders->storage_id == DeviceMgr.devicestorage->id) { image = gdk_pixbuf_new_from_file(file_folder_png, NULL); // Now add in the row information. gtk_tree_store_append(GTK_TREE_STORE(folderList), &rowIter, parent); gtk_tree_store_set(GTK_TREE_STORE(folderList), &rowIter, //COL_FOL_NAME, folders->name, COL_FOL_NAME_HIDDEN, folders->name, COL_FOL_ID, folders->folder_id, COL_FOL_ICON, image, -1); // Indicate we are done with this image. g_object_unref(image); if (folders->child != NULL) { // Call our child. folderListAdd(folders->child, &rowIter); } } folders = folders->sibling; } gtk_tree_view_expand_all(GTK_TREE_VIEW(treeviewFolders)); gtk_tree_view_column_set_sort_order(folderColumn, GTK_SORT_ASCENDING); return TRUE; } // ************************************************************************************************ gboolean fileListDownload(GList *List) { gchar *savepath = NULL; // Let's confirm our download path. if (Preferences.ask_download_path == TRUE) { GtkWidget *FileDialog = gtk_file_chooser_dialog_new(_("Select Path to Download"), GTK_WINDOW(windowMain), GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER, _("_Cancel"), GTK_RESPONSE_CANCEL, _("_Open"), GTK_RESPONSE_ACCEPT, NULL); gtk_file_chooser_set_filename(GTK_FILE_CHOOSER(FileDialog), Preferences.fileSystemDownloadPath->str); if (gtk_dialog_run(GTK_DIALOG(FileDialog)) == GTK_RESPONSE_ACCEPT) { gtk_widget_hide(FileDialog); savepath = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(FileDialog)); // Save our download path. Preferences.fileSystemDownloadPath = g_string_assign(Preferences.fileSystemDownloadPath, savepath); // We do the deed. g_list_foreach(List, (GFunc) __fileDownload, NULL); fileoverwriteop = MTP_ASK; } gtk_widget_destroy(FileDialog); } else { // We do the deed. g_list_foreach(List, (GFunc) __fileDownload, NULL); fileoverwriteop = MTP_ASK; } if (savepath != NULL) g_free(savepath); return TRUE; } // ************************************************************************************************ gboolean folderListDownload(gchar *foldername, uint32_t folderid) { gchar *savepath = NULL; // Let's confirm our download path. if (Preferences.ask_download_path == TRUE) { GtkWidget *FileDialog = gtk_file_chooser_dialog_new(_("Select Path to Download"), GTK_WINDOW(windowMain), GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER, _("_Cancel"), GTK_RESPONSE_CANCEL, _("_Open"), GTK_RESPONSE_ACCEPT, NULL); gtk_file_chooser_set_filename(GTK_FILE_CHOOSER(FileDialog), Preferences.fileSystemDownloadPath->str); if (gtk_dialog_run(GTK_DIALOG(FileDialog)) == GTK_RESPONSE_ACCEPT) { gtk_widget_hide(FileDialog); savepath = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(FileDialog)); // Save our download path. Preferences.fileSystemDownloadPath = g_string_assign(Preferences.fileSystemDownloadPath, savepath); // We do the deed. displayProgressBar(_("File download")); folderDownload(foldername, folderid, TRUE); destroyProgressBar(); fileoverwriteop = MTP_ASK; } gtk_widget_destroy(FileDialog); } else { // We do the deed. displayProgressBar(_("File download")); folderDownload(foldername, folderid, TRUE); destroyProgressBar(); fileoverwriteop = MTP_ASK; } if (savepath != NULL) g_free(savepath); return TRUE; } // ************************************************************************************************ /** * Perform each file individually. * @param Row */ void __fileDownload(GtkTreeRowReference *Row) { GtkTreePath *path; GtkTreeIter iter; gchar *filename = NULL; gchar* fullfilename = NULL; gboolean isFolder; uint32_t objectID; fullfilename = g_malloc0(8192); // First of all, lets set the download path. // convert the referenece to a path and retrieve the iterator; path = gtk_tree_row_reference_get_path(Row); gtk_tree_model_get_iter(GTK_TREE_MODEL(fileList), &iter, path); // We have our Iter now. // Before we download, is it a folder ? gtk_tree_model_get(GTK_TREE_MODEL(fileList), &iter, COL_ISFOLDER, &isFolder, COL_FILENAME_ACTUAL, &filename, COL_FILEID, &objectID, -1); if (isFolder == FALSE) { // Our strings are not equal, so we get to download the file. g_sprintf(fullfilename, "%s/%s", Preferences.fileSystemDownloadPath->str, filename); // Now download the actual file from the MTP device. // Check if file exists? if (access(fullfilename, F_OK) != -1) { // We have that file already? if (Preferences.prompt_overwrite_file_op == TRUE) { if (fileoverwriteop == MTP_ASK) { fileoverwriteop = displayFileOverwriteDialog(filename); } switch (fileoverwriteop) { case MTP_ASK: break; case MTP_SKIP: fileoverwriteop = MTP_ASK; break; case MTP_SKIP_ALL: break; case MTP_OVERWRITE: filesDownload(filename, objectID); fileoverwriteop = MTP_ASK; break; case MTP_OVERWRITE_ALL: filesDownload(filename, objectID); break; } } else { filesDownload(filename, objectID); } } else { filesDownload(filename, objectID); } } else { // Overwrite critera performed within this call... if (g_ascii_strcasecmp(filename, "..") != 0) { folderDownload(filename, objectID, TRUE); } else { g_fprintf(stderr, _("I don't know how to download a parent folder reference?\n")); displayError(_("I don't know how to download a parent folder reference?\n")); } } gtk_tree_path_free(path); g_free(filename); g_free(fullfilename); } // ************************************************************************************************ void __fileMove(GtkTreeRowReference *Row) { GtkTreePath *path; GtkTreeIter iter; gboolean isFolder; uint32_t objectID; int error; // convert the referenece to a path and retrieve the iterator; path = gtk_tree_row_reference_get_path(Row); gtk_tree_model_get_iter(GTK_TREE_MODEL(fileList), &iter, path); // We have our Iter now. // Before we move, is it a folder ? gtk_tree_model_get(GTK_TREE_MODEL(fileList), &iter, COL_ISFOLDER, &isFolder, COL_FILEID, &objectID, -1); if (isFolder == FALSE) { if ((error = setNewParentFolderID(objectID, fileMoveTargetFolder)) != 0) { displayError(_("Unable to move the selected file?\n")); g_fprintf(stderr, "File Move Error: %d\n", error); LIBMTP_Dump_Errorstack(DeviceMgr.device); LIBMTP_Clear_Errorstack(DeviceMgr.device); } } else { // Make sure we don't want to move the folder into itself? if (objectID == fileMoveTargetFolder) { displayError(_("Unable to move the selected folder into itself?\n")); g_fprintf(stderr, _("Unable to move the selected folder into itself?\n")); return; } // We have the target folder, so let's check to ensure that we will not create a circular // reference by moving a folder underneath it self. LIBMTP_folder_t *currentFolder = getCurrentFolderPtr(deviceFolders, objectID); if (currentFolder == NULL) { // WTF? g_fprintf(stderr, "File Move Error: Can't get current folder pointer\n"); return; } // Use currentFolder as the starting point, and simply attempt to get the ptr to the new // folder based on this point. LIBMTP_folder_t *newFolder = getCurrentFolderPtr(currentFolder->child, fileMoveTargetFolder); if (newFolder == NULL) { // We are alright to proceed. if ((error = setNewParentFolderID(objectID, fileMoveTargetFolder)) != 0) { displayError(_("Unable to move the selected folder?\n")); g_fprintf(stderr, "File Move Error: %d\n", error); LIBMTP_Dump_Errorstack(DeviceMgr.device); LIBMTP_Clear_Errorstack(DeviceMgr.device); } } else { displayError(_("Unable to move the selected folder underneath itself?\n")); g_fprintf(stderr, _("Unable to move the selected folder underneath itself?\n")); } } } // ************************************************************************************************ gboolean fileListRemove(GList *List) { // Clear any selection that is present. fileListClearSelection(); // List is a list of Iter's to be removed g_list_foreach(List, (GFunc) __fileRemove, NULL); // We have 2 options, manually scan the file structure for that file and manually fix up... // or do a rescan... // I'll be cheap, and do a full rescan of the device. deviceRescan(); return TRUE; } // ************************************************************************************************ /** * Remove each selected file from the device. * @param Row */ void __fileRemove(GtkTreeRowReference *Row) { GtkTreePath *path; GtkTreeIter iter; gchar* filename = NULL; uint32_t objectID; gboolean isFolder; // convert the referenece to a path and retrieve the iterator; path = gtk_tree_row_reference_get_path(Row); gtk_tree_model_get_iter(GTK_TREE_MODEL(fileList), &iter, path); // We have our Iter now. gtk_tree_model_get(GTK_TREE_MODEL(fileList), &iter, COL_ISFOLDER, &isFolder, COL_FILENAME_ACTUAL, &filename, COL_FILEID, &objectID, -1); if (isFolder == FALSE) { gtk_tree_model_get_iter(GTK_TREE_MODEL(fileList), &iter, path); gtk_list_store_remove(GTK_LIST_STORE(fileList), &iter); // Now get rid of the actual file from the MTP device. filesDelete(filename, objectID); } else { // Our file is really a folder, so perform a folder remove operation. __folderRemove(Row); } gtk_tree_path_free(path); g_free(filename); } // ************************************************************************************************ gboolean folderListRemove(GList *List) { // Clear any selection that is present. fileListClearSelection(); // List is a list of Iter's to be removed g_list_foreach(List, (GFunc) __folderRemove, NULL); // We have 2 options, manually scan the file structure for that file and manually fix up... // or do a rescan... // I'll be cheap, and do a full rescan of the device. deviceRescan(); return TRUE; } // ************************************************************************************************ /** * Remove the indivual folder from the device. * @param Row */ void __folderRemove(GtkTreeRowReference *Row) { GtkTreePath *path; GtkTreeIter iter; gchar* filename = NULL; uint32_t objectID; gboolean isFolder; // convert the referenece to a path and retrieve the iterator; path = gtk_tree_row_reference_get_path(Row); gtk_tree_model_get_iter(GTK_TREE_MODEL(fileList), &iter, path); // We have our Iter now. gtk_tree_model_get(GTK_TREE_MODEL(fileList), &iter, COL_ISFOLDER, &isFolder, COL_FILENAME_ACTUAL, &filename, COL_FILEID, &objectID, -1); if (isFolder == TRUE) { if (g_ascii_strcasecmp(filename, "..") != 0) { gtk_tree_model_get_iter(GTK_TREE_MODEL(fileList), &iter, path); gtk_list_store_remove(GTK_LIST_STORE(fileList), &iter); // Now get rid of the actual file from the MTP device. folderDelete(getCurrentFolderPtr(deviceFolders, objectID), 0); } else { g_fprintf(stderr, _("I don't know how to delete a parent folder reference?\n")); displayError(_("I don't know how to delete a parent folder reference?\n")); } } else { // Our folder is really a file, so delete the file instead. __fileRemove(Row); } gtk_tree_path_free(path); g_free(filename); } // ************************************************************************************************ void __filesAdd(gchar* filename) { gchar* filename_stripped = NULL; filename_stripped = basename(filename); if (Preferences.prompt_overwrite_file_op == FALSE) { if (fileExists(filename_stripped) == TRUE) { filesDelete(filename_stripped, getFile(filename_stripped, currentFolderID)); } filesAdd(filename); return; } // I guess we want to know if we should replace the file, but first if (deviceoverwriteop == MTP_ASK) { if (fileExists(filename_stripped) == TRUE) { deviceoverwriteop = displayFileOverwriteDialog(filename_stripped); switch (deviceoverwriteop) { case MTP_ASK: break; case MTP_SKIP: deviceoverwriteop = MTP_ASK; break; case MTP_SKIP_ALL: break; case MTP_OVERWRITE: if (fileExists(filename_stripped) == TRUE) { filesDelete(filename_stripped, getFile(filename_stripped, currentFolderID)); } filesAdd(filename); deviceoverwriteop = MTP_ASK; break; case MTP_OVERWRITE_ALL: if (fileExists(filename_stripped) == TRUE) { filesDelete(filename_stripped, getFile(filename_stripped, currentFolderID)); } filesAdd(filename); break; } } else { if (fileExists(filename_stripped) == TRUE) { filesDelete(filename_stripped, getFile(filename_stripped, currentFolderID)); } filesAdd(filename); } } else { if (deviceoverwriteop == MTP_OVERWRITE_ALL) { if (fileExists(filename_stripped) == TRUE) { filesDelete(filename_stripped, getFile(filename_stripped, currentFolderID)); } filesAdd(filename); } else if (deviceoverwriteop == MTP_SKIP_ALL) { // Ensure we add files that don't exist. if (fileExists(filename_stripped) != TRUE) { filesAdd(filename); } } } } // ************************************************************************************************ GList* fileListGetSelection() { GList *selectedFiles, *ptr; GtkTreeModel *sortmodel; // Lets clear up the old list. g_list_free(fileSelection_RowReferences); fileSelection_RowReferences = NULL; if (gtk_tree_selection_count_selected_rows(fileSelection) == 0) { // We have no rows. return NULL; } // So now we must convert each selection to a row reference and store it in a new GList variable // which we will return below. sortmodel = gtk_tree_view_get_model(GTK_TREE_VIEW(treeviewFiles)); selectedFiles = gtk_tree_selection_get_selected_rows(fileSelection, &sortmodel); ptr = selectedFiles; while (ptr != NULL) { // Add our row into the GSList so it can be parsed by the respective operations, including // handling changing from the sort model to the real underlying model. GtkTreeRowReference *ref = gtk_tree_row_reference_new(GTK_TREE_MODEL(fileList), gtk_tree_model_sort_convert_path_to_child_path(GTK_TREE_MODEL_SORT(sortmodel), (GtkTreePath*) ptr->data)); fileSelection_RowReferences = g_list_prepend(fileSelection_RowReferences, gtk_tree_row_reference_copy(ref)); gtk_tree_row_reference_free(ref); ptr = ptr->next; } g_list_foreach(selectedFiles, (GFunc) gtk_tree_path_free, NULL); g_list_free(selectedFiles); return fileSelection_RowReferences; } // ************************************************************************************************ int64_t folderListGetSelection(void) { GtkTreeModel *sortmodel; GtkTreeIter iter; GtkTreeIter childiter; uint32_t objectID; if (gtk_tree_selection_count_selected_rows(folderSelection) == 0) { // We have no rows. return -1; } sortmodel = gtk_tree_view_get_model(GTK_TREE_VIEW(treeviewFolders)); gtk_tree_selection_get_selected(folderSelection, &sortmodel, &iter); gtk_tree_model_sort_convert_iter_to_child_iter(GTK_TREE_MODEL_SORT(sortmodel), &childiter, &iter); gtk_tree_model_get(GTK_TREE_MODEL(folderList), &childiter, COL_FOL_ID, &objectID, -1); return objectID; } // ************************************************************************************************ gchar *folderListGetSelectionName(void) { GtkTreeModel *sortmodel; GtkTreeIter iter; GtkTreeIter childiter; gchar *objectName; if (gtk_tree_selection_count_selected_rows(folderSelection) == 0) { // We have no rows. return NULL; } sortmodel = gtk_tree_view_get_model(GTK_TREE_VIEW(treeviewFolders)); gtk_tree_selection_get_selected(folderSelection, &sortmodel, &iter); gtk_tree_model_sort_convert_iter_to_child_iter(GTK_TREE_MODEL_SORT(sortmodel), &childiter, &iter); gtk_tree_model_get(GTK_TREE_MODEL(folderList), &childiter, COL_FOL_NAME_HIDDEN, &objectName, -1); return objectName; } // ************************************************************************************************ gboolean fileListClearSelection() { if (fileSelection != NULL) gtk_tree_selection_unselect_all(fileSelection); return TRUE; } // ************************************************************************************************ gboolean fileListSelectAll(void) { if (fileSelection != NULL) gtk_tree_selection_select_all(fileSelection); return TRUE; } // ************************************************************************************************ void displayError(gchar* msg) { GtkWidget *dialog; dialog = gtk_message_dialog_new(GTK_WINDOW(windowMain), GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_OK, "%s", msg); gtk_window_set_title(GTK_WINDOW(dialog), _("Error")); gtk_window_set_resizable(GTK_WINDOW(dialog), FALSE); gtk_dialog_run(GTK_DIALOG(dialog)); gtk_widget_destroy(dialog); } // ************************************************************************************************ void displayInformation(gchar* msg) { GtkWidget *dialog; dialog = gtk_message_dialog_new(GTK_WINDOW(windowMain), GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_INFO, GTK_BUTTONS_OK, "%s", msg); gtk_window_set_title(GTK_WINDOW(dialog), _("Information")); gtk_window_set_resizable(GTK_WINDOW(dialog), FALSE); gtk_dialog_run(GTK_DIALOG(dialog)); gtk_widget_destroy(dialog); } // ************************************************************************************************ gchar* displayFolderNewDialog(void) { GtkWidget *dialog, *hbox, *label, *textbox; dialog = gtk_dialog_new_with_buttons(_("New Folder"), GTK_WINDOW(windowMain), (GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT), _("_OK"), GTK_RESPONSE_OK, _("_Cancel"), GTK_RESPONSE_CANCEL, NULL); gtk_dialog_set_default_response(GTK_DIALOG(dialog), GTK_RESPONSE_OK); gtk_window_set_resizable(GTK_WINDOW(dialog), FALSE); gtk_container_set_border_width(GTK_CONTAINER(dialog), 5); #if HAVE_GTK3 == 0 hbox = gtk_hbox_new(FALSE, 5); #else hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 5); #endif gtk_widget_show(hbox); #if HAVE_GTK3 == 0 gtk_container_add(GTK_CONTAINER(GTK_DIALOG(dialog)->vbox), hbox); #else gtk_container_add(GTK_CONTAINER(gtk_dialog_get_content_area(GTK_DIALOG(dialog))), hbox); #endif label = gtk_label_new(_("Folder Name:")); gtk_widget_show(label); gtk_container_add(GTK_CONTAINER(hbox), label); textbox = gtk_entry_new(); gtk_widget_show(textbox); gtk_entry_set_max_length(GTK_ENTRY(textbox), 64); gtk_entry_set_has_frame(GTK_ENTRY(textbox), TRUE); gtk_entry_set_activates_default(GTK_ENTRY(textbox), TRUE); gtk_container_add(GTK_CONTAINER(hbox), textbox); gint result = gtk_dialog_run(GTK_DIALOG(dialog)); if (result == GTK_RESPONSE_OK) { gchar* textfield = g_strdup(gtk_entry_get_text(GTK_ENTRY(textbox))); if (strlen(textfield) == 0) { // We have an emtpy string. gtk_widget_destroy(dialog); return NULL; } else { gtk_widget_destroy(dialog); return textfield; } } else { gtk_widget_destroy(dialog); return NULL; } } // ************************************************************************************************ gchar* displayChangeDeviceNameDialog(gchar* devicename) { GtkWidget *dialog, *hbox, *label, *textbox; dialog = gtk_dialog_new_with_buttons(_("Change Device Name"), GTK_WINDOW(windowMain), (GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT), _("_OK"), GTK_RESPONSE_OK, _("_Cancel"), GTK_RESPONSE_CANCEL, NULL); gtk_dialog_set_default_response(GTK_DIALOG(dialog), GTK_RESPONSE_OK); gtk_window_set_resizable(GTK_WINDOW(dialog), FALSE); gtk_container_set_border_width(GTK_CONTAINER(dialog), 5); #if HAVE_GTK3 == 0 hbox = gtk_hbox_new(FALSE, 5); #else hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 5); #endif gtk_widget_show(hbox); gtk_container_set_border_width(GTK_CONTAINER(hbox), 5); #if HAVE_GTK3 == 0 gtk_container_add(GTK_CONTAINER(GTK_DIALOG(dialog)->vbox), hbox); #else gtk_container_add(GTK_CONTAINER(gtk_dialog_get_content_area(GTK_DIALOG(dialog))), hbox); #endif label = gtk_label_new(_("Device Name:")); gtk_widget_show(label); gtk_container_add(GTK_CONTAINER(hbox), label); textbox = gtk_entry_new(); gtk_widget_show(textbox); if (devicename != NULL) { gtk_entry_set_text(GTK_ENTRY(textbox), devicename); } gtk_entry_set_max_length(GTK_ENTRY(textbox), 64); gtk_entry_set_has_frame(GTK_ENTRY(textbox), TRUE); gtk_entry_set_activates_default(GTK_ENTRY(textbox), TRUE); gtk_container_add(GTK_CONTAINER(hbox), textbox); gint result = gtk_dialog_run(GTK_DIALOG(dialog)); if (result == GTK_RESPONSE_OK) { gchar* textfield = g_strdup(gtk_entry_get_text(GTK_ENTRY(textbox))); if (strlen(textfield) == 0) { // We have an emtpy string. gtk_widget_destroy(dialog); return NULL; } else { gtk_widget_destroy(dialog); return textfield; } } else { gtk_widget_destroy(dialog); return NULL; } } // ************************************************************************************************ gchar* displayRenameFileDialog(gchar* currentfilename) { GtkWidget *dialog, *hbox, *label, *textbox; dialog = gtk_dialog_new_with_buttons(_("Rename File/Folder"), GTK_WINDOW(windowMain), (GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT), _("_OK"), GTK_RESPONSE_OK, _("_Cancel"), GTK_RESPONSE_CANCEL, NULL); gtk_dialog_set_default_response(GTK_DIALOG(dialog), GTK_RESPONSE_OK); gtk_window_set_resizable(GTK_WINDOW(dialog), FALSE); gtk_container_set_border_width(GTK_CONTAINER(dialog), 5); #if HAVE_GTK3 == 0 hbox = gtk_hbox_new(FALSE, 5); #else hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 5); #endif gtk_widget_show(hbox); #if HAVE_GTK3 == 0 gtk_container_add(GTK_CONTAINER(GTK_DIALOG(dialog)->vbox), hbox); #else gtk_container_add(GTK_CONTAINER(gtk_dialog_get_content_area(GTK_DIALOG(dialog))), hbox); #endif label = gtk_label_new(_("File Name:")); gtk_widget_show(label); gtk_container_add(GTK_CONTAINER(hbox), label); textbox = gtk_entry_new(); gtk_widget_show(textbox); if (currentfilename != NULL) { gtk_entry_set_text(GTK_ENTRY(textbox), currentfilename); } gtk_entry_set_max_length(GTK_ENTRY(textbox), 64); gtk_entry_set_has_frame(GTK_ENTRY(textbox), TRUE); gtk_entry_set_activates_default(GTK_ENTRY(textbox), TRUE); gtk_container_add(GTK_CONTAINER(hbox), textbox); gint result = gtk_dialog_run(GTK_DIALOG(dialog)); if (result == GTK_RESPONSE_OK) { gchar* textfield = g_strdup(gtk_entry_get_text(GTK_ENTRY(textbox))); if (strlen(textfield) == 0) { // We have an emtpy string. gtk_widget_destroy(dialog); return NULL; } else { gtk_widget_destroy(dialog); return textfield; } } else { gtk_widget_destroy(dialog); return NULL; } } // ************************************************************************************************ gint displayMultiDeviceDialog(void) { GtkWidget *dialog, *hbox, *label, *textbox; gchar *tmp_string = NULL; gint dialog_selection = -1; dialog = gtk_dialog_new_with_buttons(_("Connect to which device?"), GTK_WINDOW(windowMain), (GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT), _("_OK"), GTK_RESPONSE_OK, NULL); gtk_dialog_set_default_response(GTK_DIALOG(dialog), GTK_RESPONSE_OK); gtk_window_set_resizable(GTK_WINDOW(dialog), FALSE); gtk_container_set_border_width(GTK_CONTAINER(dialog), 5); #if HAVE_GTK3 == 0 hbox = gtk_hbox_new(FALSE, 5); #else hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 5); #endif gtk_widget_show(hbox); gtk_container_set_border_width(GTK_CONTAINER(hbox), 5); #if HAVE_GTK3 == 0 gtk_container_add(GTK_CONTAINER(GTK_DIALOG(dialog)->vbox), hbox); #else gtk_container_add(GTK_CONTAINER(gtk_dialog_get_content_area(GTK_DIALOG(dialog))), hbox); #endif label = gtk_label_new(_("Device:")); gtk_widget_show(label); gtk_container_add(GTK_CONTAINER(hbox), label); // Now create the combo box. #if HAVE_GTK3 == 0 textbox = gtk_combo_box_new_text(); #else textbox = gtk_combo_box_text_new(); #endif gtk_widget_show(textbox); gtk_container_add(GTK_CONTAINER(hbox), textbox); // Now add in our selection strings. // We should just take straight strings here, but this is quicker/easier. gint i = 0; for (i = 0; i < DeviceMgr.numrawdevices; i++) { if (DeviceMgr.rawdevices[i].device_entry.vendor != NULL || DeviceMgr.rawdevices[i].device_entry.product != NULL) { tmp_string = g_strdup_printf(" %s %s : (%04x:%04x) @ bus %d, dev %d", DeviceMgr.rawdevices[i].device_entry.vendor, DeviceMgr.rawdevices[i].device_entry.product, DeviceMgr.rawdevices[i].device_entry.vendor_id, DeviceMgr.rawdevices[i].device_entry.product_id, DeviceMgr.rawdevices[i].bus_location, DeviceMgr.rawdevices[i].devnum); } else { tmp_string = g_strdup_printf(_("Unknown : %04x:%04x @ bus %d, dev %d"), DeviceMgr.rawdevices[i].device_entry.vendor_id, DeviceMgr.rawdevices[i].device_entry.product_id, DeviceMgr.rawdevices[i].bus_location, DeviceMgr.rawdevices[i].devnum); } #if HAVE_GTK3 == 0 gtk_combo_box_append_text(GTK_COMBO_BOX(textbox), tmp_string); #else gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(textbox), tmp_string); #endif } gtk_combo_box_set_active(GTK_COMBO_BOX(textbox), 0); gint result = gtk_dialog_run(GTK_DIALOG(dialog)); if (result == GTK_RESPONSE_OK) { dialog_selection = gtk_combo_box_get_active(GTK_COMBO_BOX(textbox)); } gtk_widget_destroy(dialog); g_free(tmp_string); return dialog_selection; } // ************************************************************************************************ gint displayDeviceStorageDialog(void) { GtkWidget *dialog, *hbox, *label, *textbox; LIBMTP_devicestorage_t *devicestorage; gchar *tmp_string = NULL; gint dialog_selection = -1; devicestorage = DeviceMgr.device->storage; dialog = gtk_dialog_new_with_buttons(_("Connect to which storage device?"), GTK_WINDOW(windowMain), (GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT), _("_OK"), GTK_RESPONSE_OK, NULL); gtk_dialog_set_default_response(GTK_DIALOG(dialog), GTK_RESPONSE_OK); gtk_window_set_default_size(GTK_WINDOW(dialog), 400, -1); gtk_window_set_resizable(GTK_WINDOW(dialog), FALSE); gtk_container_set_border_width(GTK_CONTAINER(dialog), 5); #if HAVE_GTK3 == 0 hbox = gtk_hbox_new(FALSE, 5); #else hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 5); #endif gtk_widget_show(hbox); gtk_container_set_border_width(GTK_CONTAINER(hbox), 5); #if HAVE_GTK3 == 0 gtk_container_add(GTK_CONTAINER(GTK_DIALOG(dialog)->vbox), hbox); #else gtk_container_add(GTK_CONTAINER(gtk_dialog_get_content_area(GTK_DIALOG(dialog))), hbox); #endif label = gtk_label_new(_("Storage Device:")); gtk_widget_show(label); gtk_container_add(GTK_CONTAINER(hbox), label); // Now create the combo box. #if HAVE_GTK3 == 0 textbox = gtk_combo_box_new_text(); #else textbox = gtk_combo_box_text_new(); #endif gtk_widget_show(textbox); gtk_container_add(GTK_CONTAINER(hbox), textbox); // Now add in our selection strings. while (devicestorage != NULL) { if (devicestorage->StorageDescription != NULL) { #if HAVE_GTK3 == 0 gtk_combo_box_append_text(GTK_COMBO_BOX(textbox), devicestorage->StorageDescription); #else gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(textbox), devicestorage->StorageDescription); #endif } else { tmp_string = g_strdup_printf(_("Unknown id: %d, %s"), devicestorage->id, calculateFriendlySize((devicestorage->MaxCapacity))); #if HAVE_GTK3 == 0 gtk_combo_box_append_text(GTK_COMBO_BOX(textbox), tmp_string); #else gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(textbox), tmp_string); #endif } devicestorage = devicestorage->next; } gtk_combo_box_set_active(GTK_COMBO_BOX(textbox), 0); gint result = gtk_dialog_run(GTK_DIALOG(dialog)); if (result == GTK_RESPONSE_OK) { dialog_selection = gtk_combo_box_get_active(GTK_COMBO_BOX(textbox)); } gtk_widget_destroy(dialog); g_free(tmp_string); return dialog_selection; } // ************************************************************************************************ gint displayFileOverwriteDialog(gchar *filename) { GtkWidget *dialog; dialog = gtk_message_dialog_new_with_markup(GTK_WINDOW(windowMain), (GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT), GTK_MESSAGE_WARNING, GTK_BUTTONS_NONE, _("File %s already exists in target folder.\nDo you want to:"), filename); gtk_dialog_add_buttons(GTK_DIALOG(dialog), _("Skip"), MTP_SKIP, _("Skip All"), MTP_SKIP_ALL, _("Overwrite"), MTP_OVERWRITE, _("Overwrite All"), MTP_OVERWRITE_ALL, NULL); gtk_window_set_title(GTK_WINDOW(dialog), _("Question: Confirm Overwrite of Existing File?")); gtk_dialog_set_default_response(GTK_DIALOG(dialog), MTP_OVERWRITE); gtk_window_set_resizable(GTK_WINDOW(dialog), FALSE); gint result = gtk_dialog_run(GTK_DIALOG(dialog)); gtk_widget_destroy(dialog); return result; } // ************************************************************************************************ GtkWidget* create_windowMainContextMenu(void) { GtkWidget* menu; //GtkWidget* cfileAdd; GtkWidget* cfileRename; GtkWidget* cfileRemove; GtkWidget* cfileDownload; GtkWidget* cfileMove; //GtkWidget* cfileNewFolder; GtkWidget* cfileRemoveFolder; GtkWidget* cfileRescan; GtkWidget* cfileAddToPlaylist; GtkWidget* cfileRemoveFromPlaylist; GtkWidget* menuseparator1; GtkWidget* menuseparator2; GtkWidget* menuseparator3; menu = gtk_menu_new(); cfileAdd = gtk_menu_item_new_with_label(_("Add Files")); gtk_widget_show(cfileAdd); gtk_container_add(GTK_CONTAINER(menu), cfileAdd); cfileRemove = gtk_menu_item_new_with_label(_("Delete Files")); gtk_widget_show(cfileRemove); gtk_container_add(GTK_CONTAINER(menu), cfileRemove); cfileDownload = gtk_menu_item_new_with_label(_("Download Files")); gtk_widget_show(cfileDownload); gtk_container_add(GTK_CONTAINER(menu), cfileDownload); cfileRename = gtk_menu_item_new_with_label(_("Rename File")); gtk_widget_show(cfileRename); gtk_container_add(GTK_CONTAINER(menu), cfileRename); cfileMove = gtk_menu_item_new_with_label(_("Move To...")); gtk_widget_show(cfileMove); gtk_container_add(GTK_CONTAINER(menu), cfileMove); menuseparator3 = gtk_separator_menu_item_new(); gtk_widget_show(menuseparator3); gtk_container_add(GTK_CONTAINER(menu), menuseparator3); cfileAddToPlaylist = gtk_menu_item_new_with_label(_("Add To Playlist")); gtk_widget_show(cfileAddToPlaylist); gtk_container_add(GTK_CONTAINER(menu), cfileAddToPlaylist); cfileRemoveFromPlaylist = gtk_menu_item_new_with_label(_("Remove From Playlist")); gtk_widget_show(cfileRemoveFromPlaylist); gtk_container_add(GTK_CONTAINER(menu), cfileRemoveFromPlaylist); menuseparator1 = gtk_separator_menu_item_new(); gtk_widget_show(menuseparator1); gtk_container_add(GTK_CONTAINER(menu), menuseparator1); cfileNewFolder = gtk_menu_item_new_with_label(_("Create Folder")); gtk_widget_show(cfileNewFolder); gtk_container_add(GTK_CONTAINER(menu), cfileNewFolder); cfileRemoveFolder = gtk_menu_item_new_with_label(_("Delete Folder")); gtk_widget_show(cfileRemoveFolder); gtk_container_add(GTK_CONTAINER(menu), cfileRemoveFolder); menuseparator2 = gtk_separator_menu_item_new(); gtk_widget_show(menuseparator2); gtk_container_add(GTK_CONTAINER(menu), menuseparator2); cfileRescan = gtk_menu_item_new_with_label(_("Refresh Device")); gtk_widget_show(cfileRescan); gtk_container_add(GTK_CONTAINER(menu), cfileRescan); // Now our call backs. g_signal_connect((gpointer) cfileAdd, "activate", G_CALLBACK(on_filesAdd_activate), NULL); g_signal_connect((gpointer) cfileDownload, "activate", G_CALLBACK(on_filesDownload_activate), NULL); g_signal_connect((gpointer) cfileRename, "activate", G_CALLBACK(on_fileRenameFile_activate), NULL); g_signal_connect((gpointer) cfileMove, "activate", G_CALLBACK(on_fileMoveFile_activate), NULL); g_signal_connect((gpointer) cfileRemove, "activate", G_CALLBACK(on_filesDelete_activate), NULL); g_signal_connect((gpointer) cfileNewFolder, "activate", G_CALLBACK(on_fileNewFolder_activate), NULL); g_signal_connect((gpointer) cfileRemoveFolder, "activate", G_CALLBACK(on_fileRemoveFolder_activate), NULL); g_signal_connect((gpointer) cfileRescan, "activate", G_CALLBACK(on_deviceRescan_activate), NULL); g_signal_connect((gpointer) cfileAddToPlaylist, "activate", G_CALLBACK(on_fileAddToPlaylist_activate), NULL); g_signal_connect((gpointer) cfileRemoveFromPlaylist, "activate", G_CALLBACK(on_fileRemoveFromPlaylist_activate), NULL); return menu; } // ************************************************************************************************ GtkWidget* create_windowMainColumnContextMenu(void) { GtkWidget* menu; menu = gtk_menu_new(); cViewSize = gtk_check_menu_item_new_with_label(_("File Size")); gtk_widget_show(cViewSize); gtk_container_add(GTK_CONTAINER(menu), cViewSize); cViewType = gtk_check_menu_item_new_with_label(_("File Type")); gtk_widget_show(cViewType); gtk_container_add(GTK_CONTAINER(menu), cViewType); cViewTrackNumber = gtk_check_menu_item_new_with_label(_("Track Number")); gtk_widget_show(cViewTrackNumber); gtk_container_add(GTK_CONTAINER(menu), cViewTrackNumber); cViewTrackName = gtk_check_menu_item_new_with_label(_("Track Name")); gtk_widget_show(cViewTrackName); gtk_container_add(GTK_CONTAINER(menu), cViewTrackName); cViewArtist = gtk_check_menu_item_new_with_label(_("Artist")); gtk_widget_show(cViewArtist); gtk_container_add(GTK_CONTAINER(menu), cViewArtist); cViewAlbum = gtk_check_menu_item_new_with_label(_("Album")); gtk_widget_show(cViewAlbum); gtk_container_add(GTK_CONTAINER(menu), cViewAlbum); cViewYear = gtk_check_menu_item_new_with_label(_("Year")); gtk_widget_show(cViewYear); gtk_container_add(GTK_CONTAINER(menu), cViewYear); cViewGenre = gtk_check_menu_item_new_with_label(_("Genre")); gtk_widget_show(cViewGenre); gtk_container_add(GTK_CONTAINER(menu), cViewGenre); cViewDuration = gtk_check_menu_item_new_with_label(_("Duration")); gtk_widget_show(cViewDuration); gtk_container_add(GTK_CONTAINER(menu), cViewDuration); // Now our call backs. g_signal_connect((gpointer) cViewSize, "toggled", G_CALLBACK(on_view_activate), NULL); g_signal_connect((gpointer) cViewTrackNumber, "toggled", G_CALLBACK(on_view_activate), NULL); g_signal_connect((gpointer) cViewTrackName, "toggled", G_CALLBACK(on_view_activate), NULL); g_signal_connect((gpointer) cViewType, "toggled", G_CALLBACK(on_view_activate), NULL); g_signal_connect((gpointer) cViewArtist, "toggled", G_CALLBACK(on_view_activate), NULL); g_signal_connect((gpointer) cViewAlbum, "toggled", G_CALLBACK(on_view_activate), NULL); g_signal_connect((gpointer) cViewYear, "toggled", G_CALLBACK(on_view_activate), NULL); g_signal_connect((gpointer) cViewGenre, "toggled", G_CALLBACK(on_view_activate), NULL); g_signal_connect((gpointer) cViewDuration, "toggled", G_CALLBACK(on_view_activate), NULL); return menu; } // ************************************************************************************************ /** * Create the Context Menu widget. * @return */ GtkWidget* create_windowFolderContextMenu(void) { GtkWidget* menu; GtkWidget* menuseparator1; menu = gtk_menu_new(); cfFolderAdd = gtk_menu_item_new_with_label(_("Create Folder")); gtk_widget_show(cfFolderAdd); gtk_container_add(GTK_CONTAINER(menu), cfFolderAdd); cfFolderRename = gtk_menu_item_new_with_label(_("Rename Folder")); gtk_widget_show(cfFolderRename); gtk_container_add(GTK_CONTAINER(menu), cfFolderRename); cfFolderDelete = gtk_menu_item_new_with_label(_("Delete Folder")); gtk_widget_show(cfFolderDelete); gtk_container_add(GTK_CONTAINER(menu), cfFolderDelete); cfFolderMove = gtk_menu_item_new_with_label(_("Move To...")); gtk_widget_show(cfFolderMove); gtk_container_add(GTK_CONTAINER(menu), cfFolderMove); menuseparator1 = gtk_separator_menu_item_new(); gtk_widget_show(menuseparator1); gtk_container_add(GTK_CONTAINER(menu), menuseparator1); cfFolderRefresh = gtk_menu_item_new_with_label(_("Refresh Device")); gtk_widget_show(cfFolderRefresh); gtk_container_add(GTK_CONTAINER(menu), cfFolderRefresh); // Now our call backs. g_signal_connect((gpointer) cfFolderRefresh, "activate", G_CALLBACK(on_deviceRescan_activate), NULL); g_signal_connect((gpointer) cfFolderRename, "activate", G_CALLBACK(on_folderRenameFolder_activate), NULL); g_signal_connect((gpointer) cfFolderDelete, "activate", G_CALLBACK(on_folderRemoveFolder_activate), NULL); g_signal_connect((gpointer) cfFolderMove, "activate", G_CALLBACK(on_folderMoveFolder_activate), NULL); g_signal_connect((gpointer) cfFolderAdd, "activate", G_CALLBACK(on_folderNewFolder_activate), NULL); return menu; } // ************************************************************************************************ int32_t displayAddTrackPlaylistDialog(gboolean showNew /* = TRUE */) { GtkWidget *dialog, *hbox, *label, *buttonNewPlaylist; LIBMTP_playlist_t* tmpplaylist = NULL; gint selectedPlaylist = 0; #if HAVE_GTK3 == 0 GtkTooltips *tooltips; tooltips = gtk_tooltips_new(); #endif dialog = gtk_dialog_new_with_buttons(_("Playlists"), GTK_WINDOW(windowMain), (GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT), _("_OK"), GTK_RESPONSE_OK, _("_Cancel"), GTK_RESPONSE_CANCEL, NULL); gtk_dialog_set_default_response(GTK_DIALOG(dialog), GTK_RESPONSE_OK); gtk_window_set_resizable(GTK_WINDOW(dialog), FALSE); gtk_container_set_border_width(GTK_CONTAINER(dialog), 5); #if HAVE_GTK3 == 0 hbox = gtk_hbox_new(FALSE, 5); #else hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 5); #endif gtk_widget_show(hbox); #if HAVE_GTK3 == 0 gtk_container_add(GTK_CONTAINER(GTK_DIALOG(dialog)->vbox), hbox); #else gtk_container_add(GTK_CONTAINER(gtk_dialog_get_content_area(GTK_DIALOG(dialog))), hbox); #endif // Add in the label label = gtk_label_new(_("Playlist Name:")); gtk_widget_show(label); gtk_container_add(GTK_CONTAINER(hbox), label); #if HAVE_GTK3 == 0 gtk_misc_set_padding(GTK_MISC(label), 5, 0); #else #if GTK_CHECK_VERSION(3,12,0) gtk_widget_set_margin_start(label, 5); gtk_widget_set_margin_end(label, 5); #else gtk_widget_set_margin_left(label, 5); gtk_widget_set_margin_right(label, 5); #endif #endif // Add in the combobox #if HAVE_GTK3 == 0 combobox_AddTrackPlaylist = gtk_combo_box_new_text(); #else combobox_AddTrackPlaylist = gtk_combo_box_text_new(); #endif gtk_widget_show(combobox_AddTrackPlaylist); gtk_box_pack_start(GTK_BOX(hbox), combobox_AddTrackPlaylist, TRUE, TRUE, 0); gtk_container_set_border_width(GTK_CONTAINER(combobox_AddTrackPlaylist), 5); // Add in the new playlist button. #if HAVE_GTK3 == 0 buttonNewPlaylist = gtk_button_new_from_stock(GTK_STOCK_ADD); #else buttonNewPlaylist = gtk_button_new_with_label(_("Add")); #endif if (showNew == TRUE) { gtk_widget_show(buttonNewPlaylist); gtk_container_add(GTK_CONTAINER(hbox), buttonNewPlaylist); gtk_container_set_border_width(GTK_CONTAINER(buttonNewPlaylist), 5); } #if HAVE_GTK3 == 0 gtk_tooltips_set_tip(tooltips, buttonNewPlaylist, _("Add New Playlist"), NULL); #else gtk_widget_set_tooltip_text(buttonNewPlaylist, _("Add New Playlist")); #endif // Assign the callback for the new playlist button. g_signal_connect((gpointer) buttonNewPlaylist, "clicked", G_CALLBACK(on_TrackPlaylist_NewPlaylistButton_activate), NULL); // Populate the combobox with the current playlists. // We need to remove all entries in the combo box before starting. // This is a little bit of a hack - but does work. gtk_list_store_clear(GTK_LIST_STORE(gtk_combo_box_get_model(GTK_COMBO_BOX(combobox_AddTrackPlaylist)))); if (devicePlayLists != NULL) { // Populate the playlist dropdown box; //comboboxentry_playlist; tmpplaylist = devicePlayLists; while (tmpplaylist != NULL) { if (tmpplaylist->storage_id == DeviceMgr.devicestorage->id) { #if HAVE_GTK3 == 0 gtk_combo_box_append_text(GTK_COMBO_BOX(combobox_AddTrackPlaylist), (tmpplaylist->name)); #else gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(combobox_AddTrackPlaylist), (tmpplaylist->name)); #endif } tmpplaylist = tmpplaylist->next; } } if (devicePlayLists != NULL) { // Set our playlist to the first one. gtk_combo_box_set_active(GTK_COMBO_BOX(combobox_AddTrackPlaylist), 0); } gint result = gtk_dialog_run(GTK_DIALOG(dialog)); if (result == GTK_RESPONSE_OK) { // Get our playlist ID. selectedPlaylist = gtk_combo_box_get_active(GTK_COMBO_BOX(combobox_AddTrackPlaylist)); // Now cycle through the playlists to get the correct one. tmpplaylist = devicePlayLists; if (selectedPlaylist > 0) { while (selectedPlaylist--) if (tmpplaylist->next != NULL) tmpplaylist = tmpplaylist->next; } gtk_widget_destroy(dialog); return tmpplaylist->playlist_id; } else { gtk_widget_destroy(dialog); return GMTP_NO_PLAYLIST; } } // ************************************************************************************************ void setWindowTitle(gchar *foldername) { gchar *winTitle; if (foldername == NULL) { winTitle = g_strconcat(PACKAGE_NAME, NULL); } else { winTitle = g_strconcat(foldername, " - ", PACKAGE_NAME, NULL); } gtk_window_set_title(GTK_WINDOW(windowMain), (winTitle)); g_free(winTitle); } // ************************************************************************************************ void g_free_search(FileListStruc *file) { if (file != NULL) { if (file->filename != NULL) { g_free(file->filename); } if (file->location != NULL) { g_free(file->location); } } g_free(file); } // ************************************************************************************************ gboolean fileListAddToPlaylist(GList *List, uint32_t PlaylistID) { LIBMTP_playlist_t *playlist = NULL; LIBMTP_playlist_t *node = NULL; node = devicePlayLists; while (node != NULL) { if (node->playlist_id == PlaylistID) { playlist = node; node = NULL; } else { node = node->next; } } if (playlist != NULL) { g_list_foreach(List, (GFunc) __fileAddToPlaylist, (gpointer) & playlist); } return TRUE; } // ************************************************************************************************ int64_t getTargetFolderLocation(void) { GtkWidget *dialog; GtkWidget *treeviewFoldersDialog; GtkTreeStore *folderListDialog; GtkTreeSelection *folderSelectionDialog; GtkWidget *scrolledwindowFoldersDialog; GtkTreeModel *folderListModelDialog; GtkTreeModel *sortmodel; GtkTreeIter iter; GtkTreeIter childiter; uint32_t objectID = 0; dialog = gtk_dialog_new_with_buttons(_("Move To..."), GTK_WINDOW(windowMain), (GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT), _("_OK"), GTK_RESPONSE_OK, _("_Cancel"), GTK_RESPONSE_CANCEL, NULL); gtk_dialog_set_default_response(GTK_DIALOG(dialog), GTK_RESPONSE_OK); gtk_window_set_resizable(GTK_WINDOW(dialog), TRUE); gtk_window_set_default_size(GTK_WINDOW(dialog), 240, 400); gtk_container_set_border_width(GTK_CONTAINER(dialog), 5); // Actual folder list. scrolledwindowFoldersDialog = gtk_scrolled_window_new(NULL, NULL); gtk_widget_show(scrolledwindowFoldersDialog); #if HAVE_GTK3 == 0 gtk_container_add(GTK_CONTAINER(GTK_DIALOG(dialog)->vbox), scrolledwindowFoldersDialog); #else gtk_container_add(GTK_CONTAINER(gtk_dialog_get_content_area(GTK_DIALOG(dialog))), scrolledwindowFoldersDialog); gtk_widget_set_vexpand(scrolledwindowFoldersDialog, TRUE); #endif gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrolledwindowFoldersDialog), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); treeviewFoldersDialog = gtk_tree_view_new(); gtk_widget_show(treeviewFoldersDialog); gtk_container_add(GTK_CONTAINER(scrolledwindowFoldersDialog), treeviewFoldersDialog); gtk_container_set_border_width(GTK_CONTAINER(treeviewFoldersDialog), 5); folderSelectionDialog = gtk_tree_view_get_selection(GTK_TREE_VIEW(treeviewFoldersDialog)); gtk_tree_selection_set_mode(folderSelectionDialog, GTK_SELECTION_SINGLE); folderListDialog = gtk_tree_store_new(NUM_FOL_COLUMNS, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_UINT, GDK_TYPE_PIXBUF); setupFolderList(GTK_TREE_VIEW(treeviewFoldersDialog)); folderListModelDialog = gtk_tree_model_sort_new_with_model(GTK_TREE_MODEL(folderListDialog)); gtk_tree_sortable_set_sort_column_id(GTK_TREE_SORTABLE(folderListModelDialog), COL_FOL_NAME_HIDDEN, GTK_SORT_ASCENDING); gtk_tree_view_set_model(GTK_TREE_VIEW(treeviewFoldersDialog), GTK_TREE_MODEL(folderListModelDialog)); folderListAddDialog(deviceFolders, NULL, folderListDialog); gtk_tree_view_expand_all(GTK_TREE_VIEW(treeviewFoldersDialog)); g_object_unref(folderListDialog); gint result = gtk_dialog_run(GTK_DIALOG(dialog)); if (result == GTK_RESPONSE_OK) { // Get our selected row. sortmodel = gtk_tree_view_get_model(GTK_TREE_VIEW(treeviewFoldersDialog)); if (gtk_tree_selection_get_selected(folderSelectionDialog, &sortmodel, &iter)) { gtk_tree_model_sort_convert_iter_to_child_iter(GTK_TREE_MODEL_SORT(sortmodel), &childiter, &iter); gtk_tree_model_get(GTK_TREE_MODEL(folderListDialog), &childiter, COL_FOL_ID, &objectID, -1); gtk_widget_destroy(dialog); return objectID; } } gtk_widget_destroy(dialog); return -1; } // ************************************************************************************************ gboolean folderListAddDialog(LIBMTP_folder_t *folders, GtkTreeIter *parent, GtkTreeStore *fl) { GtkTreeIter rowIter; GdkPixbuf *image = NULL; if (parent == NULL) { // Add in the root node. image = gdk_pixbuf_new_from_file(file_folder_png, NULL); // Now add in the row information. gtk_tree_store_append(GTK_TREE_STORE(fl), &rowIter, parent); gtk_tree_store_set(GTK_TREE_STORE(fl), &rowIter, //COL_FOL_NAME, folders->name, COL_FOL_NAME_HIDDEN, "/", COL_FOL_ID, 0, COL_FOL_ICON, image, -1); // Indicate we are done with this image. g_object_unref(image); folderListAddDialog(folders, &rowIter, fl); return TRUE; } while (folders != NULL) { // Only add in folder if it's in the current storage device. if (folders->storage_id == DeviceMgr.devicestorage->id) { image = gdk_pixbuf_new_from_file(file_folder_png, NULL); // Now add in the row information. gtk_tree_store_append(GTK_TREE_STORE(fl), &rowIter, parent); gtk_tree_store_set(GTK_TREE_STORE(fl), &rowIter, //COL_FOL_NAME, folders->name, COL_FOL_NAME_HIDDEN, folders->name, COL_FOL_ID, folders->folder_id, COL_FOL_ICON, image, -1); // Indicate we are done with this image. g_object_unref(image); if (folders->child != NULL) { // Call our child. folderListAddDialog(folders->child, &rowIter, fl); } } folders = folders->sibling; } return TRUE; } // ************************************************************************************************ gchar *calculateFriendlySize(const uint64_t value) { if (value < KILOBYTE) { return g_strdup_printf("%lu B", (long unsigned) value); }; if (value < MEGABYTE) { return g_strdup_printf("%.1f KB", value / 1024.00); } if (value < GIGABYTE) { return g_strdup_printf("%.1f MB", value / (1024.00 * 1024.00)); }; return g_strdup_printf("%.1f GB", value / (1024.00 * 1024.00 * 1024.00)); } gmtp-1.3.10/src/preferences.c0000644000175000001440000010327112655605137012732 00000000000000/* * * File: preferences.c * * Copyright (C) 2009-2013 Darran Kartaschew * * This file is part of the gMTP package. * * gMTP is free software; you can redistribute it and/or modify * it under the terms of the BSD License as included within the * file 'COPYING' located in the root directory * */ #include "preferences.h" #include "main.h" #include "prefs.h" // Main preferences dialog if present. GtkWidget *windowPrefsDialog; // Widgets for preferences buttons; GtkWidget *comboboxToolbarStyle; GtkWidget *checkbuttonDeviceConnect; GtkWidget *entryDownloadPath; GtkWidget *entryUploadPath; GtkWidget *checkbuttonDownloadPath; GtkWidget *checkbuttonConfirmFileOp; GtkWidget *checkbuttonConfirmOverWriteFileOp; GtkWidget *checkbuttonAutoAddTrackPlaylist; GtkWidget *checkbuttonIgnorePathInPlaylist; GtkWidget *checkbuttonSuppressAlbumErrors; GtkWidget *checkbuttonAltAccessMethod; GtkWidget *checkbuttonAllMediaAsFiles; GtkWidget *checkbuttonRetainTimeStamp; // ************************************************************************************************ GtkWidget* create_windowPreferences(void) { GtkWidget *windowDialog; GtkWidget *windowVBox; // reusable label frame to set name on frames GtkWidget *frameLabel; GtkWidget *frameApplication; GtkWidget *frameApplicationBox; GtkWidget *labelToolbarStyle; GtkWidget *frameDevice; GtkWidget *frameDeviceBox; GtkWidget *frameFileOperations; GtkWidget *frameFileOperationsBox; GtkWidget *framePlaylist; GtkWidget *framePlaylistBox; GtkWidget *frameFilePaths; GtkWidget *frameFilePathsBox; GtkWidget *frameFilePathsTable; GtkWidget *labelDownloadPath; GtkWidget *labelUploadPath; GtkWidget *buttonDownloadPath; GtkWidget *buttonUploadPath; GtkWidget *closeButtonBox; GtkWidget *buttonClose; windowDialog = gtk_window_new(GTK_WINDOW_TOPLEVEL); gchar * winTitle; winTitle = g_strconcat(PACKAGE_NAME, _(" Preferences"), NULL); gtk_window_set_title(GTK_WINDOW(windowDialog), winTitle); gtk_window_set_modal(GTK_WINDOW(windowDialog), TRUE); gtk_window_set_transient_for(GTK_WINDOW(windowDialog), GTK_WINDOW(windowMain)); gtk_window_set_position(GTK_WINDOW(windowDialog), GTK_WIN_POS_CENTER_ON_PARENT); gtk_window_set_resizable(GTK_WINDOW(windowDialog), FALSE); gtk_window_set_type_hint(GTK_WINDOW(windowDialog), GDK_WINDOW_TYPE_HINT_DIALOG); gtk_container_set_border_width(GTK_CONTAINER(windowDialog), 5); g_free(winTitle); #if HAVE_GTK3 == 0 windowVBox = gtk_vbox_new(FALSE, 5); #else windowVBox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 5); #endif gtk_widget_show(windowVBox); gtk_container_add(GTK_CONTAINER(windowDialog), windowVBox); gtk_container_set_border_width(GTK_CONTAINER(windowVBox), 5); // Application frame. frameApplication = gtk_frame_new(NULL); gtk_widget_show(frameApplication); gtk_box_pack_start(GTK_BOX(windowVBox), frameApplication, TRUE, TRUE, 0); gtk_frame_set_shadow_type(GTK_FRAME(frameApplication), GTK_SHADOW_NONE); frameLabel = gtk_label_new(_("Application")); gtk_widget_show(frameLabel); gtk_frame_set_label_widget(GTK_FRAME(frameApplication), frameLabel); gtk_label_set_use_markup(GTK_LABEL(frameLabel), TRUE); #if HAVE_GTK3 == 0 frameApplicationBox = gtk_hbox_new(FALSE, 0); #else frameApplicationBox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 0); #endif gtk_widget_show(frameApplicationBox); #if HAVE_GTK3 == 0 GtkWidget* frameApplicationBoxAlignment = gtk_alignment_new(0.5, 0.5, 1, 1); gtk_widget_show(frameApplicationBoxAlignment); gtk_alignment_set_padding(GTK_ALIGNMENT(frameApplicationBoxAlignment), 0, 0, 12, 0); gtk_container_add(GTK_CONTAINER(frameApplicationBoxAlignment), frameApplicationBox); gtk_container_add(GTK_CONTAINER(frameApplication), frameApplicationBoxAlignment); #else #if GTK_CHECK_VERSION(3,12,0) gtk_widget_set_margin_start(frameApplicationBox, 12); #else gtk_widget_set_margin_left(frameApplicationBox, 12); #endif gtk_container_add(GTK_CONTAINER(frameApplication), frameApplicationBox); #endif labelToolbarStyle = gtk_label_new(_("Toolbar Style:")); gtk_widget_show(labelToolbarStyle); gtk_box_pack_start(GTK_BOX(frameApplicationBox), labelToolbarStyle, FALSE, FALSE, 5); #if HAVE_GTK3 == 0 comboboxToolbarStyle = gtk_combo_box_new_text(); gtk_widget_show(comboboxToolbarStyle); gtk_box_pack_end(GTK_BOX(frameApplicationBox), comboboxToolbarStyle, TRUE, TRUE, 5); gtk_combo_box_append_text(GTK_COMBO_BOX(comboboxToolbarStyle), _("both")); gtk_combo_box_append_text(GTK_COMBO_BOX(comboboxToolbarStyle), _("icon")); gtk_combo_box_append_text(GTK_COMBO_BOX(comboboxToolbarStyle), _("text")); #else comboboxToolbarStyle = gtk_combo_box_text_new(); gtk_widget_show(comboboxToolbarStyle); gtk_box_pack_end(GTK_BOX(frameApplicationBox), comboboxToolbarStyle, TRUE, TRUE, 5); gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(comboboxToolbarStyle), _("both")); gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(comboboxToolbarStyle), _("icon")); gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(comboboxToolbarStyle), _("text")); #endif if (Preferences.toolbarStyle != NULL) { if (g_ascii_strcasecmp(Preferences.toolbarStyle->str, ("both")) == 0) { gtk_combo_box_set_active(GTK_COMBO_BOX(comboboxToolbarStyle), 0); } else if (g_ascii_strcasecmp(Preferences.toolbarStyle->str, ("icon")) == 0) { gtk_combo_box_set_active(GTK_COMBO_BOX(comboboxToolbarStyle), 1); } else if (g_ascii_strcasecmp(Preferences.toolbarStyle->str, ("text")) == 0) { gtk_combo_box_set_active(GTK_COMBO_BOX(comboboxToolbarStyle), 2); } else { gtk_combo_box_set_active(GTK_COMBO_BOX(comboboxToolbarStyle), 0); } } // Device Frame. frameDevice = gtk_frame_new(NULL); gtk_widget_show(frameDevice); gtk_box_pack_start(GTK_BOX(windowVBox), frameDevice, TRUE, TRUE, 0); gtk_frame_set_shadow_type(GTK_FRAME(frameDevice), GTK_SHADOW_NONE); #if HAVE_GTK3 == 0 frameDeviceBox = gtk_vbox_new(FALSE, 5); #else frameDeviceBox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 5); #endif gtk_widget_show(frameDeviceBox); #if HAVE_GTK3 == 0 GtkWidget* frameDeviceBoxAlignment = gtk_alignment_new(0.5, 0.5, 1, 1); gtk_widget_show(frameDeviceBoxAlignment); gtk_alignment_set_padding(GTK_ALIGNMENT(frameDeviceBoxAlignment), 0, 0, 12, 0); gtk_container_add(GTK_CONTAINER(frameDeviceBoxAlignment), frameDeviceBox); gtk_container_add(GTK_CONTAINER(frameDevice), frameDeviceBoxAlignment); #else #if GTK_CHECK_VERSION(3,12,0) gtk_widget_set_margin_start(frameDeviceBox, 12); #else gtk_widget_set_margin_left(frameDeviceBox, 12); #endif gtk_container_add(GTK_CONTAINER(frameDevice), frameDeviceBox); #endif frameLabel = gtk_label_new(_("Device")); gtk_widget_show(frameLabel); gtk_frame_set_label_widget(GTK_FRAME(frameDevice), frameLabel); gtk_label_set_use_markup(GTK_LABEL(frameLabel), TRUE); checkbuttonDeviceConnect = gtk_check_button_new_with_mnemonic(_("Attempt to connect to Device on startup")); gtk_widget_show(checkbuttonDeviceConnect); gtk_container_add(GTK_CONTAINER(frameDeviceBox), checkbuttonDeviceConnect); checkbuttonAltAccessMethod = gtk_check_button_new_with_mnemonic(_("Utilize alternate access method")); gtk_widget_show(checkbuttonAltAccessMethod); gtk_container_add(GTK_CONTAINER(frameDeviceBox), checkbuttonAltAccessMethod); frameFileOperations = gtk_frame_new(NULL); gtk_widget_show(frameFileOperations); gtk_box_pack_start(GTK_BOX(windowVBox), frameFileOperations, TRUE, TRUE, 0); gtk_frame_set_shadow_type(GTK_FRAME(frameFileOperations), GTK_SHADOW_NONE); frameLabel = gtk_label_new(_("File Operations")); gtk_widget_show(frameLabel); gtk_frame_set_label_widget(GTK_FRAME(frameFileOperations), frameLabel); gtk_label_set_use_markup(GTK_LABEL(frameLabel), TRUE); #if HAVE_GTK3 == 0 frameFileOperationsBox = gtk_vbox_new(FALSE, 5); #else frameFileOperationsBox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 5); #endif gtk_widget_show(frameFileOperationsBox); #if HAVE_GTK3 == 0 GtkWidget* frameFileOperationsBoxAlignment = gtk_alignment_new(0.5, 0.5, 1, 1); gtk_widget_show(frameFileOperationsBoxAlignment); gtk_alignment_set_padding(GTK_ALIGNMENT(frameFileOperationsBoxAlignment), 0, 0, 12, 0); gtk_container_add(GTK_CONTAINER(frameFileOperationsBoxAlignment), frameFileOperationsBox); gtk_container_add(GTK_CONTAINER(frameFileOperations), frameFileOperationsBoxAlignment); #else #if GTK_CHECK_VERSION(3,12,0) gtk_widget_set_margin_start(frameFileOperationsBox, 12); #else gtk_widget_set_margin_left(frameFileOperationsBox, 12); #endif gtk_container_add(GTK_CONTAINER(frameFileOperations), frameFileOperationsBox); #endif checkbuttonConfirmFileOp = gtk_check_button_new_with_mnemonic(_("Confirm File/Folder Delete")); gtk_widget_show(checkbuttonConfirmFileOp); gtk_container_add(GTK_CONTAINER(frameFileOperationsBox), checkbuttonConfirmFileOp); checkbuttonConfirmOverWriteFileOp = gtk_check_button_new_with_mnemonic(_("Prompt if to Overwrite file if already exists")); gtk_widget_show(checkbuttonConfirmOverWriteFileOp); gtk_container_add(GTK_CONTAINER(frameFileOperationsBox), checkbuttonConfirmOverWriteFileOp); checkbuttonSuppressAlbumErrors = gtk_check_button_new_with_mnemonic(_("Suppress Album Errors")); gtk_widget_show(checkbuttonSuppressAlbumErrors); gtk_container_add(GTK_CONTAINER(frameFileOperationsBox), checkbuttonSuppressAlbumErrors); checkbuttonAllMediaAsFiles = gtk_check_button_new_with_mnemonic(_("Treat all media as regular files")); gtk_widget_show(checkbuttonAllMediaAsFiles); gtk_container_add(GTK_CONTAINER(frameFileOperationsBox), checkbuttonAllMediaAsFiles); checkbuttonRetainTimeStamp = gtk_check_button_new_with_mnemonic(_("Preserve file timestamps (during download)")); gtk_widget_show(checkbuttonRetainTimeStamp); gtk_container_add(GTK_CONTAINER(frameFileOperationsBox), checkbuttonRetainTimeStamp); // Playlist Frame. framePlaylist = gtk_frame_new(NULL); gtk_widget_show(framePlaylist); gtk_box_pack_start(GTK_BOX(windowVBox), framePlaylist, TRUE, TRUE, 0); gtk_frame_set_shadow_type(GTK_FRAME(framePlaylist), GTK_SHADOW_NONE); frameLabel = gtk_label_new(_("Playlist")); gtk_widget_show(frameLabel); gtk_frame_set_label_widget(GTK_FRAME(framePlaylist), frameLabel); gtk_label_set_use_markup(GTK_LABEL(frameLabel), TRUE); #if HAVE_GTK3 == 0 framePlaylistBox = gtk_vbox_new(FALSE, 5); #else framePlaylistBox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 5); #endif gtk_widget_show(framePlaylistBox); #if HAVE_GTK3 == 0 GtkWidget* framePlaylistBoxAlignment = gtk_alignment_new(0.5, 0.5, 1, 1); gtk_widget_show(framePlaylistBoxAlignment); gtk_alignment_set_padding(GTK_ALIGNMENT(framePlaylistBoxAlignment), 0, 0, 12, 0); gtk_container_add(GTK_CONTAINER(framePlaylistBoxAlignment), framePlaylistBox); gtk_container_add(GTK_CONTAINER(framePlaylist), framePlaylistBoxAlignment); #else #if GTK_CHECK_VERSION(3,12,0) gtk_widget_set_margin_start(framePlaylistBox, 12); #else gtk_widget_set_margin_left(framePlaylistBox, 12); #endif gtk_container_add(GTK_CONTAINER(framePlaylist), framePlaylistBox); #endif checkbuttonAutoAddTrackPlaylist = gtk_check_button_new_with_mnemonic(_("Prompt to add New Music track to existing playlist")); gtk_widget_show(checkbuttonAutoAddTrackPlaylist); gtk_container_add(GTK_CONTAINER(framePlaylistBox), checkbuttonAutoAddTrackPlaylist); checkbuttonIgnorePathInPlaylist = gtk_check_button_new_with_mnemonic(_("Ignore path information when importing playlist")); gtk_widget_show(checkbuttonIgnorePathInPlaylist); gtk_container_add(GTK_CONTAINER(framePlaylistBox), checkbuttonIgnorePathInPlaylist); // File path frame frameFilePaths = gtk_frame_new(NULL); gtk_widget_show(frameFilePaths); gtk_box_pack_start(GTK_BOX(windowVBox), frameFilePaths, TRUE, TRUE, 0); gtk_frame_set_shadow_type(GTK_FRAME(frameFilePaths), GTK_SHADOW_NONE); frameLabel = gtk_label_new(_("Filepaths on PC")); gtk_widget_show(frameLabel); gtk_frame_set_label_widget(GTK_FRAME(frameFilePaths), frameLabel); gtk_label_set_use_markup(GTK_LABEL(frameLabel), TRUE); #if HAVE_GTK3 == 0 frameFilePathsBox = gtk_vbox_new(FALSE, 0); #else frameFilePathsBox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0); #endif gtk_widget_show(frameFilePathsBox); #if HAVE_GTK3 == 0 GtkWidget* frameFilePathsBoxAlignment = gtk_alignment_new(0.5, 0.5, 1, 1); gtk_widget_show(frameFilePathsBoxAlignment); gtk_alignment_set_padding(GTK_ALIGNMENT(frameFilePathsBoxAlignment), 0, 0, 12, 0); gtk_container_add(GTK_CONTAINER(frameFilePathsBoxAlignment), frameFilePathsBox); gtk_container_add(GTK_CONTAINER(frameFilePaths), frameFilePathsBoxAlignment); #else #if GTK_CHECK_VERSION(3,12,0) gtk_widget_set_margin_start(frameFilePathsBox, 12); #else gtk_widget_set_margin_left(frameFilePathsBox, 12); #endif gtk_container_add(GTK_CONTAINER(frameFilePaths), frameFilePathsBox); #endif checkbuttonDownloadPath = gtk_check_button_new_with_mnemonic(_("Always show Download Path?")); gtk_widget_show(checkbuttonDownloadPath); gtk_box_pack_start(GTK_BOX(frameFilePathsBox), checkbuttonDownloadPath, FALSE, FALSE, 0); #if HAVE_GTK3 == 0 frameFilePathsTable = gtk_table_new(2, 3, FALSE); gtk_widget_show(frameFilePathsTable); gtk_box_pack_start(GTK_BOX(frameFilePathsBox), frameFilePathsTable, TRUE, TRUE, 0); gtk_container_set_border_width(GTK_CONTAINER(frameFilePathsTable), 5); gtk_table_set_row_spacings(GTK_TABLE(frameFilePathsTable), 5); gtk_table_set_col_spacings(GTK_TABLE(frameFilePathsTable), 5); #else frameFilePathsTable = gtk_grid_new(); gtk_widget_show(frameFilePathsTable); gtk_box_pack_start(GTK_BOX(frameFilePathsBox), frameFilePathsTable, TRUE, TRUE, 0); gtk_container_set_border_width(GTK_CONTAINER(frameFilePathsTable), 5); gtk_grid_set_row_spacing(GTK_GRID(frameFilePathsTable), 5); gtk_grid_set_column_spacing(GTK_GRID(frameFilePathsTable), 5); #endif labelDownloadPath = gtk_label_new(_("Download Path:")); gtk_widget_show(labelDownloadPath); #if HAVE_GTK3 == 0 gtk_table_attach(GTK_TABLE(frameFilePathsTable), labelDownloadPath, 0, 1, 0, 1, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (0), 0, 0); #else gtk_grid_attach(GTK_GRID(frameFilePathsTable), labelDownloadPath, 0, 0, 1, 1); #endif #if HAVE_GTK3 == 0 gtk_misc_set_alignment(GTK_MISC(labelDownloadPath), 0, 0.5); #else gtk_widget_set_halign(GTK_WIDGET(labelDownloadPath), GTK_ALIGN_START); #endif labelUploadPath = gtk_label_new(_("Upload Path:")); gtk_widget_show(labelUploadPath); #if HAVE_GTK3 == 0 gtk_table_attach(GTK_TABLE(frameFilePathsTable), labelUploadPath, 0, 1, 1, 2, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (0), 0, 0); #else gtk_grid_attach(GTK_GRID(frameFilePathsTable), labelUploadPath, 0, 1, 1, 1); #endif #if HAVE_GTK3 == 0 gtk_misc_set_alignment(GTK_MISC(labelUploadPath), 0, 0.5); #else gtk_widget_set_halign(GTK_WIDGET(labelUploadPath), GTK_ALIGN_START); #endif entryDownloadPath = gtk_entry_new(); gtk_widget_show(entryDownloadPath); gtk_editable_set_editable(GTK_EDITABLE(entryDownloadPath), FALSE); #if HAVE_GTK3 == 0 gtk_table_attach(GTK_TABLE(frameFilePathsTable), entryDownloadPath, 1, 2, 0, 1, (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), (GtkAttachOptions) (0), 0, 0); #else gtk_grid_attach(GTK_GRID(frameFilePathsTable), entryDownloadPath, 1, 0, 1, 1); #endif entryUploadPath = gtk_entry_new(); gtk_widget_show(entryUploadPath); gtk_editable_set_editable(GTK_EDITABLE(entryUploadPath), FALSE); #if HAVE_GTK3 == 0 gtk_table_attach(GTK_TABLE(frameFilePathsTable), entryUploadPath, 1, 2, 1, 2, (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), (GtkAttachOptions) (0), 0, 0); #else gtk_grid_attach(GTK_GRID(frameFilePathsTable), entryUploadPath, 1, 1, 1, 1); #endif buttonDownloadPath = gtk_button_new_with_mnemonic(("...")); gtk_widget_show(buttonDownloadPath); #if HAVE_GTK3 == 0 gtk_table_attach(GTK_TABLE(frameFilePathsTable), buttonDownloadPath, 2, 3, 0, 1, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (0), 0, 0); #else gtk_grid_attach(GTK_GRID(frameFilePathsTable), buttonDownloadPath, 2, 0, 1, 1); #endif buttonUploadPath = gtk_button_new_with_mnemonic(("...")); gtk_widget_show(buttonUploadPath); #if HAVE_GTK3 == 0 gtk_table_attach(GTK_TABLE(frameFilePathsTable), buttonUploadPath, 2, 3, 1, 2, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (0), 0, 0); #else gtk_grid_attach(GTK_GRID(frameFilePathsTable), buttonUploadPath, 2, 1, 1, 1); #endif // Now do the ask confirm delete... #if HAVE_GTK3 == 0 closeButtonBox = gtk_hbox_new(FALSE, 0); #else closeButtonBox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 0); #endif gtk_widget_show(closeButtonBox); gtk_box_pack_start(GTK_BOX(windowVBox), closeButtonBox, FALSE, FALSE, 0); #if HAVE_GTK3 == 0 buttonClose = gtk_button_new_from_stock(GTK_STOCK_CLOSE); #else buttonClose = gtk_button_new_with_mnemonic(_("_Close")); #endif gtk_widget_show(buttonClose); gtk_box_pack_end(GTK_BOX(closeButtonBox), buttonClose, FALSE, FALSE, 0); // And now set the fields. gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(checkbuttonDeviceConnect), Preferences.attemptDeviceConnectOnStart); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(checkbuttonDownloadPath), Preferences.ask_download_path); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(checkbuttonConfirmFileOp), Preferences.confirm_file_delete_op); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(checkbuttonConfirmOverWriteFileOp), Preferences.prompt_overwrite_file_op); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(checkbuttonAutoAddTrackPlaylist), Preferences.auto_add_track_to_playlist); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(checkbuttonIgnorePathInPlaylist), Preferences.ignore_path_in_playlist_import); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(checkbuttonSuppressAlbumErrors), Preferences.suppress_album_errors); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(checkbuttonAltAccessMethod), Preferences.use_alt_access_method); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(checkbuttonAllMediaAsFiles), Preferences.allmediaasfiles); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(checkbuttonRetainTimeStamp), Preferences.retain_timestamp); gtk_entry_set_text(GTK_ENTRY(entryDownloadPath), Preferences.fileSystemDownloadPath->str); gtk_entry_set_text(GTK_ENTRY(entryUploadPath), Preferences.fileSystemUploadPath->str); // Enable the callback functions. g_signal_connect((gpointer) windowDialog, "destroy", G_CALLBACK(on_quitPrefs_activate), NULL); g_signal_connect((gpointer) buttonClose, "clicked", G_CALLBACK(on_quitPrefs_activate), NULL); g_signal_connect((gpointer) comboboxToolbarStyle, "changed", G_CALLBACK(on_PrefsToolbarStyle_activate), NULL); g_signal_connect((gpointer) checkbuttonDeviceConnect, "toggled", G_CALLBACK(on_PrefsDevice_activate), NULL); g_signal_connect((gpointer) checkbuttonConfirmFileOp, "toggled", G_CALLBACK(on_PrefsConfirmDelete_activate), NULL); g_signal_connect((gpointer) checkbuttonConfirmOverWriteFileOp, "toggled", G_CALLBACK(on_PrefsConfirmOverWriteFileOp_activate), NULL); g_signal_connect((gpointer) checkbuttonAutoAddTrackPlaylist, "toggled", G_CALLBACK(on_PrefsAutoAddTrackPlaylist_activate), NULL); g_signal_connect((gpointer) checkbuttonIgnorePathInPlaylist, "toggled", G_CALLBACK(on_PrefsIgnorePathInPlaylist_activate), NULL); g_signal_connect((gpointer) checkbuttonSuppressAlbumErrors, "toggled", G_CALLBACK(on_PrefsSuppressAlbumError_activate), NULL); g_signal_connect((gpointer) checkbuttonAltAccessMethod, "toggled", G_CALLBACK(on_PrefsUseAltAccessMethod_activate), NULL); g_signal_connect((gpointer) checkbuttonAllMediaAsFiles, "toggled", G_CALLBACK(on_PrefsAllMediaAsFiles_activate), NULL); g_signal_connect((gpointer) checkbuttonDownloadPath, "toggled", G_CALLBACK(on_PrefsAskDownload_activate), NULL); g_signal_connect((gpointer) buttonDownloadPath, "clicked", G_CALLBACK(on_PrefsDownloadPath_activate), NULL); g_signal_connect((gpointer) buttonUploadPath, "clicked", G_CALLBACK(on_PrefsUploadPath_activate), NULL); g_signal_connect((gpointer) checkbuttonRetainTimeStamp, "toggled", G_CALLBACK(on_PrefsRetainTimeStamp_activate), NULL); // To save the fields, we use callbacks on the widgets via gconf. return windowDialog; } // Here is the preferences callbacks and dialog box creation. // ************************************************************************************************ void on_preferences1_activate(GtkWidget *item, gpointer user_data) { UNUSED(item); UNUSED(user_data); // No idea how this could come about, but we should take it into account so we don't have a memleak // due to recreating the window multiple times. if (windowPrefsDialog != NULL) { gtk_widget_hide(windowPrefsDialog); gtk_widget_destroy(windowPrefsDialog); } // Create and display the dialog windowPrefsDialog = create_windowPreferences(); gtk_widget_show(GTK_WIDGET(windowPrefsDialog)); } // end on_preferences1_activate() // ************************************************************************************************ void on_PrefsDevice_activate(GtkWidget *item, gpointer user_data) { UNUSED(item); UNUSED(user_data); gboolean state = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(checkbuttonDeviceConnect)); #if HAVE_GTK3 == 0 if (gconfconnect != NULL) gconf_client_set_bool(gconfconnect, "/apps/gMTP/autoconnectdevice", state, NULL); #else if (gsettings_connect != NULL) g_settings_set_boolean(gsettings_connect, "autoconnectdevice", state); g_settings_sync(); #endif } // end on_PrefsDevice_activate() // ************************************************************************************************ void on_PrefsConfirmDelete_activate(GtkWidget *item, gpointer user_data) { UNUSED(item); UNUSED(user_data); gboolean state = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(checkbuttonConfirmFileOp)); #if HAVE_GTK3 == 0 if (gconfconnect != NULL) gconf_client_set_bool(gconfconnect, "/apps/gMTP/confirmFileDelete", state, NULL); #else if (gsettings_connect != NULL) g_settings_set_boolean(gsettings_connect, "confirmfiledelete", state); g_settings_sync(); #endif } // end on_PrefsConfirmDelete_activate() // ************************************************************************************************ void on_PrefsAskDownload_activate(GtkWidget *item, gpointer user_data) { UNUSED(item); UNUSED(user_data); gboolean state = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(checkbuttonDownloadPath)); #if HAVE_GTK3 == 0 if (gconfconnect != NULL) gconf_client_set_bool(gconfconnect, "/apps/gMTP/promptDownloadPath", state, NULL); #else if (gsettings_connect != NULL) g_settings_set_boolean(gsettings_connect, "promptdownloadpath", state); g_settings_sync(); #endif } // end on_PrefsAskDownload_activate() // ************************************************************************************************ void on_PrefsAutoAddTrackPlaylist_activate(GtkWidget *item, gpointer user_data) { UNUSED(item); UNUSED(user_data); gboolean state = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(checkbuttonAutoAddTrackPlaylist)); #if HAVE_GTK3 == 0 if (gconfconnect != NULL) gconf_client_set_bool(gconfconnect, "/apps/gMTP/autoAddTrackPlaylist", state, NULL); #else if (gsettings_connect != NULL) g_settings_set_boolean(gsettings_connect, "autoaddtrackplaylist", state); g_settings_sync(); #endif } // end on_PrefsAutoAddTrackPlaylist_activate() // ************************************************************************************************ void on_PrefsIgnorePathInPlaylist_activate(GtkWidget *item, gpointer user_data) { UNUSED(item); UNUSED(user_data); gboolean state = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(checkbuttonIgnorePathInPlaylist)); #if HAVE_GTK3 == 0 if (gconfconnect != NULL) gconf_client_set_bool(gconfconnect, "/apps/gMTP/ignorepathinplaylist", state, NULL); #else if (gsettings_connect != NULL) g_settings_set_boolean(gsettings_connect, "ignorepathinplaylist", state); g_settings_sync(); #endif } // end on_PrefsIgnorePathInPlaylist_activate() // ************************************************************************************************ void on_PrefsSuppressAlbumError_activate(GtkWidget *item, gpointer user_data) { UNUSED(item); UNUSED(user_data); gboolean state = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(checkbuttonSuppressAlbumErrors)); #if HAVE_GTK3 == 0 if (gconfconnect != NULL) gconf_client_set_bool(gconfconnect, "/apps/gMTP/suppressalbumerrors", state, NULL); #else if (gsettings_connect != NULL) g_settings_set_boolean(gsettings_connect, "suppressalbumerrors", state); g_settings_sync(); #endif } // end on_PrefsSuppressAlbumError_activate() // ************************************************************************************************ void on_PrefsUseAltAccessMethod_activate(GtkWidget *item, gpointer user_data) { UNUSED(item); UNUSED(user_data); gboolean state = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(checkbuttonAltAccessMethod)); #if HAVE_GTK3 == 0 if (gconfconnect != NULL) gconf_client_set_bool(gconfconnect, "/apps/gMTP/alternateaccessmethod", state, NULL); #else if (gsettings_connect != NULL) g_settings_set_boolean(gsettings_connect, "alternateaccessmethod", state); g_settings_sync(); #endif } // end on_PrefsUseAltAccessMethod_activate() // ************************************************************************************************ void on_PrefsAllMediaAsFiles_activate(GtkWidget *item, gpointer user_data) { UNUSED(item); UNUSED(user_data); gboolean state = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(checkbuttonAllMediaAsFiles)); #if HAVE_GTK3 == 0 if (gconfconnect != NULL) gconf_client_set_bool(gconfconnect, "/apps/gMTP/allmediaasfiles", state, NULL); #else if (gsettings_connect != NULL) g_settings_set_boolean(gsettings_connect, "allmediaasfiles", state); g_settings_sync(); #endif } // end on_PrefsAllMediaAsFiles_activate() // ************************************************************************************************ void on_PrefsConfirmOverWriteFileOp_activate(GtkWidget *item, gpointer user_data) { UNUSED(item); UNUSED(user_data); gboolean state = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(checkbuttonConfirmOverWriteFileOp)); #if HAVE_GTK3 == 0 if (gconfconnect != NULL) gconf_client_set_bool(gconfconnect, "/apps/gMTP/promptOverwriteFile", state, NULL); #else if (gsettings_connect != NULL) g_settings_set_boolean(gsettings_connect, "promptoverwritefile", state); g_settings_sync(); #endif } // end on_PrefsConfirmOverWriteFileOp_activate() // ************************************************************************************************ void on_PrefsDownloadPath_activate(GtkWidget *item, gpointer user_data) { UNUSED(item); UNUSED(user_data); // What we do here is display a find folder dialog, and save the resulting folder into the text wigdet and preferences item. // First of all, lets set the download path. GtkWidget *FileDialog = gtk_file_chooser_dialog_new(_("Select Path to Download to"), GTK_WINDOW(windowPrefsDialog), GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER, _("_Cancel"), GTK_RESPONSE_CANCEL, _("_Open"), GTK_RESPONSE_ACCEPT, NULL); gtk_file_chooser_set_filename(GTK_FILE_CHOOSER(FileDialog), Preferences.fileSystemDownloadPath->str); if (gtk_dialog_run(GTK_DIALOG(FileDialog)) == GTK_RESPONSE_ACCEPT) { gchar *savepath = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(FileDialog)); // Save our download path. #if HAVE_GTK3 == 0 if (gconfconnect != NULL) gconf_client_set_string(gconfconnect, "/apps/gMTP/DownloadPath", savepath, NULL); #else if (gsettings_connect != NULL) g_settings_set_string(gsettings_connect, "downloadpath", savepath); g_settings_sync(); #endif g_free(savepath); } gtk_widget_destroy(FileDialog); } // on_PrefsDownloadPath_activate() // ************************************************************************************************ void on_PrefsUploadPath_activate(GtkWidget *item, gpointer user_data) { UNUSED(item); UNUSED(user_data); // What we do here is display a find folder dialog, and save the resulting folder into the text wigdet and preferences item. // First of all, lets set the upload path. GtkWidget *FileDialog = gtk_file_chooser_dialog_new(_("Select Path to Upload From"), GTK_WINDOW(windowPrefsDialog), GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER, _("_Cancel"), GTK_RESPONSE_CANCEL, _("_Open"), GTK_RESPONSE_ACCEPT, NULL); gtk_file_chooser_set_filename(GTK_FILE_CHOOSER(FileDialog), Preferences.fileSystemUploadPath->str); if (gtk_dialog_run(GTK_DIALOG(FileDialog)) == GTK_RESPONSE_ACCEPT) { gchar *savepath = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(FileDialog)); // Save our download path. #if HAVE_GTK3 == 0 if (gconfconnect != NULL) gconf_client_set_string(gconfconnect, "/apps/gMTP/UploadPath", savepath, NULL); #else if (gsettings_connect != NULL) g_settings_set_string(gsettings_connect, "uploadpath", savepath); g_settings_sync(); #endif g_free(savepath); } gtk_widget_destroy(FileDialog); } //on_PrefsUploadPath_activate() // ************************************************************************************************ void on_quitPrefs_activate(GtkWidget *item, gpointer user_data) { UNUSED(item); UNUSED(user_data); gtk_widget_hide(windowPrefsDialog); gtk_widget_destroy(windowPrefsDialog); windowPrefsDialog = NULL; } // end on_quitPrefs_activate() // ************************************************************************************************ void on_PrefsToolbarStyle_activate(GtkComboBox *combobox, gpointer user_data) { UNUSED(user_data); #if HAVE_GTK3 == 0 #if GTK_CHECK_VERSION(2,6,0) gchar *selection = gtk_combo_box_get_active_text(GTK_COMBO_BOX(combobox)); if (gconfconnect != NULL) { if (g_ascii_strcasecmp(selection, _("both")) == 0) { gconf_client_set_string(gconfconnect, "/apps/gMTP/toolbarstyle", "both", NULL); } else if (g_ascii_strcasecmp(selection, _("icon")) == 0) { gconf_client_set_string(gconfconnect, "/apps/gMTP/toolbarstyle", "icon", NULL); } else if (g_ascii_strcasecmp(selection, _("text")) == 0) { gconf_client_set_string(gconfconnect, "/apps/gMTP/toolbarstyle", "text", NULL); } else { gconf_client_set_string(gconfconnect, "/apps/gMTP/toolbarstyle", "both", NULL); } } g_free(selection); #else gint selection = gtk_combo_box_get_active(GTK_COMBO_BOX(combobox)); if (gconfconnect != NULL) { switch (selection) { case 0: gconf_client_set_string(gconfconnect, "/apps/gMTP/toolbarstyle", "both", NULL); break; case 1: gconf_client_set_string(gconfconnect, "/apps/gMTP/toolbarstyle", "icon", NULL); break; case 2: gconf_client_set_string(gconfconnect, "/apps/gMTP/toolbarstyle", "text", NULL); break; default: gconf_client_set_string(gconfconnect, "/apps/gMTP/toolbarstyle", "both", NULL); break; } } #endif #else gchar *selection = gtk_combo_box_text_get_active_text(GTK_COMBO_BOX_TEXT(combobox)); if (gsettings_connect != NULL) { if (g_ascii_strcasecmp(selection, _("both")) == 0) { g_settings_set_string(gsettings_connect, "toolbarstyle", "both"); } else if (g_ascii_strcasecmp(selection, _("icon")) == 0) { g_settings_set_string(gsettings_connect, "toolbarstyle", "icon"); } else if (g_ascii_strcasecmp(selection, _("text")) == 0) { g_settings_set_string(gsettings_connect, "toolbarstyle", "text"); } else { g_settings_set_string(gsettings_connect, "toolbarstyle", "both"); } g_settings_sync(); } g_free(selection); #endif } // end on_PrefsToolbarStyle_activate(); // ************************************************************************************************ void on_PrefsRetainTimeStamp_activate(GtkWidget *item, gpointer user_data) { UNUSED(item); UNUSED(user_data); gboolean state = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(checkbuttonRetainTimeStamp)); #if HAVE_GTK3 == 0 if (gconfconnect != NULL) gconf_client_set_bool(gconfconnect, "/apps/gMTP/retaintimestamp", state, NULL); #else if (gsettings_connect != NULL) g_settings_set_boolean(gsettings_connect, "retaintimestamp", state); g_settings_sync(); #endif } // end on_PrefsRetainTimeStamp_activate() gmtp-1.3.10/src/Makefile.am0000644000175000001440000000134412655605137012317 00000000000000AUTOMAKE_OPTIONS = subdir-objects ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS} bin_PROGRAMS = gmtp gmtp_SOURCES = \ about.c about.h \ albumart.c albumart.h \ callbacks.c callbacks.h \ dnd.c dnd.h \ formatdevice.c formatdevice.h \ interface.c interface.h \ main.c main.h \ metatag_info.c metatag_info.h \ mtp.c mtp.h \ playlist.c playlist.h \ prefs.c prefs.h \ progress.c progress.h \ properties.c properties.h \ preferences.c preferences.h gmtp_CFLAGS = ${GTK2_CFLAGS} ${GTK3_CFLAGS} ${LIBMTP_CFLAGS} ${FLAC_CLFAGS} ${GTHREAD_CFLAGS} ${GIO_CLFAGS} ${GCONF_CFLAGS} ${ID3TAG_CFLAGS} ${VORBISFILE_CFLAGS} gmtp_LDADD = ${GTK2_LIBS} ${GTK3_LIBS} ${LIBMTP_LIBS} ${FLAC_LIBS} ${GTHREAD_LIBS} ${GIO_LIBS} ${GCONF_LIBS} ${ID3TAG_LIBS} ${VORBISFILE_LIBS} gmtp-1.3.10/src/main.c0000644000175000001440000001411512655605137011353 00000000000000/* * * File: main.c * * Copyright (C) 2009-2013 Darran Kartaschew * * This file is part of the gMTP package. * * gMTP is free software; you can redistribute it and/or modify * it under the terms of the BSD License as included within the * file 'COPYING' located in the root directory * */ #include "main.h" #include #include #include #include #include #include "interface.h" #include "prefs.h" #include "callbacks.h" #include "mtp.h" // Global Widgets needed by various functions. GtkWidget *windowMain; GtkWidget *windowStatusBar; GtkWidget *toolbuttonConnect; GtkWidget *treeviewFiles; GtkWidget *treeviewFolders; // The device which we are connected with. Device_Struct DeviceMgr; // Device structures for files, folders, etc. LIBMTP_file_t *deviceFiles = NULL; LIBMTP_folder_t *deviceFolders = NULL; LIBMTP_track_t *deviceTracks = NULL; LIBMTP_playlist_t *devicePlayLists = NULL; uint32_t currentFolderID = 0; int32_t addTrackPlaylistID = GMTP_REQUIRE_PLAYLIST; GQueue *stackFolderIDs = NULL; GQueue *stackFolderNames = NULL; // Paths to the application, and images used within the application. //gchar *applicationpath = NULL; gchar *file_logo_png = NULL; gchar *file_icon48_png = NULL; gchar *file_icon16_png = NULL; gchar *file_about_png = NULL; gchar *file_format_png = NULL; // File view Icons gchar *file_audio_png = NULL; gchar *file_video_png = NULL; gchar *file_playlist_png = NULL; gchar *file_album_png = NULL; gchar *file_textfile_png = NULL; gchar *file_generic_png = NULL; gchar *file_folder_png = NULL; gchar *file_image_png = NULL; // ************************************************************************************************ /** * Main Function * @param argc - Number of arguments to the function * @param argv - Argument list * @return - exit code */ int main(int argc, char *argv[]) { gchar* applicationpath = setFilePaths(argc, argv); #if GLIB_CHECK_VERSION(2,32,0) // only need g_thread_init on versions less than 2.32 #else g_thread_init(NULL); #endif #if HAVE_GTK3 == 0 gtk_set_locale(); #endif g_set_prgname(PACKAGE_NAME); g_set_application_name(PACKAGE_NAME); gtk_init(&argc, &argv); #ifdef ENABLE_NLS gchar* tmpStr = g_strconcat(applicationpath, "/../share/locale", NULL); bindtextdomain(PACKAGE_NAME, tmpStr); if(tmpStr != NULL) { g_free(tmpStr); } bind_textdomain_codeset(PACKAGE_NAME, "UTF-8"); textdomain(PACKAGE_NAME); #endif g_free(applicationpath); // Initialise libmtp library LIBMTP_Init(); // Create our main window for the application. windowMain = create_windowMain(); gtk_widget_show(windowMain); //Set default state for application DeviceMgr.deviceConnected = FALSE; statusBarSet(_("No device attached")); SetToolbarButtonState(DeviceMgr.deviceConnected); setupPreferences(); // If preference is to auto-connect then attempt to do so. if (Preferences.attemptDeviceConnectOnStart == TRUE) on_deviceConnect_activate(NULL, NULL); // If we do have a connected device, then do a rescan operation to fill in the filelist. if (DeviceMgr.deviceConnected == TRUE) deviceRescan(); gtk_main(); return EXIT_SUCCESS; } // end main() // ************************************************************************************************ gchar* setFilePaths(int argc, char *argv[]) { // Get our executable location. gchar* applicationpath = getRuntimePath(argc, argv); // Set our image locations. file_logo_png = g_strdup_printf("%s/../share/gmtp/logo.png", applicationpath); file_icon48_png = g_strdup_printf("%s/../share/gmtp/gmtpicon.png", applicationpath); file_icon16_png = g_strdup_printf("%s/../share/gmtp/icon-16.png", applicationpath); file_about_png = g_strdup_printf("%s/../share/gmtp/stock-about-16.png", applicationpath); file_format_png = g_strdup_printf("%s/../share/gmtp/view-refresh.png", applicationpath); file_audio_png = g_strdup_printf("%s/../share/gmtp/audio-x-mpeg.png", applicationpath); file_video_png = g_strdup_printf("%s/../share/gmtp/video-x-generic.png", applicationpath); file_playlist_png = g_strdup_printf("%s/../share/gmtp/audio-x-mp3-playlist.png", applicationpath); file_album_png = g_strdup_printf("%s/../share/gmtp/media-cdrom-audio.png", applicationpath); file_textfile_png = g_strdup_printf("%s/../share/gmtp/text-plain.png", applicationpath); file_generic_png = g_strdup_printf("%s/../share/gmtp/empty.png", applicationpath); file_folder_png = g_strdup_printf("%s/../share/gmtp/folder.png", applicationpath); file_image_png = g_strdup_printf("%s/../share/gmtp/image-x-generic.png", applicationpath); return applicationpath; } // end setFilePaths() // ************************************************************************************************ gchar *getRuntimePath(int argc, char *argv[]) { gchar *foundpath = NULL; const char delimit[] = ";:"; if (g_ascii_strcasecmp(PACKAGE_NAME, argv[0]) == 0) { // list each directory individually. gchar *fullpath = g_strdup(getenv("PATH")); gchar *token = strtok(fullpath, delimit); while ((token != NULL) && (foundpath == NULL)) { // Now test to see if we have it here... gchar *filepath = g_strdup(token); filepath = g_strconcat(filepath, "/", PACKAGE_NAME, NULL); if (access(filepath, F_OK) != -1) { foundpath = g_strdup(token); } token = strtok(NULL, delimit); g_free(filepath); } g_free(fullpath); } else { // We were started with full file path. foundpath = g_strdup(dirname(argv[0])); } if (argc == 3) { if(foundpath != NULL){ g_free(foundpath); } // We have some other options, lets check for --datapath if (g_ascii_strcasecmp("--datapath", argv[1]) == 0) { // our first argument is --datapath, so set the path to argv[2]; foundpath = g_strdup(argv[2]); } } return foundpath; } // end getRuntimePath gmtp-1.3.10/src/callbacks.h0000644000175000001440000001613012655605137012352 00000000000000/* * * File: callbacks.h * * Copyright (C) 2009-2013 Darran Kartaschew * * This file is part of the gMTP package. * * gMTP is free software; you can redistribute it and/or modify * it under the terms of the BSD License as included within the * file 'COPYING' located in the root directory * */ #ifndef _CALLBACKS_H #define _CALLBACKS_H #ifdef __cplusplus extern "C" { #endif #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include // ************************************************************************************************ // Main window functions. /** * on_quit1_activate - Call back for Quit toolbar and menu option. * @param menuitem * @param user_data */ void on_quit1_activate(GtkMenuItem *menuitem, gpointer user_data); /** * on_about1_activate - Call back for displaying the About Dialog Box * @param menuitem * @param user_data */ void on_about1_activate(GtkMenuItem *menuitem, gpointer user_data); /** * on_deviceConnect_activate - Callback used to connect a device to the application. * @param menuitem * @param user_data */ void on_deviceConnect_activate(GtkMenuItem *menuitem, gpointer user_data); /** * on_deviceRescan_activate - Callback to rescan the device properties and update the main * application window. * @param menuitem * @param user_data */ void on_deviceRescan_activate(GtkMenuItem *menuitem, gpointer user_data); /** * on_filesAdd_activate - Callback to initiate an Add Files operation. * @param menuitem * @param user_data */ void on_filesAdd_activate(GtkMenuItem *menuitem, gpointer user_data); /** * on_filesDelete_activate - Callback to initiate a Delete Files operation. * @param menuitem * @param user_data */ void on_filesDelete_activate(GtkMenuItem *menuitem, gpointer user_data); /** * on_filesDownload_activate - Callback to initiate a download files operation. * @param menuitem * @param user_data */ void on_filesDownload_activate(GtkMenuItem *menuitem, gpointer user_data); /** * Callback to handle selecting NewFolder from menu or toolbar. * @param menuitem * @param user_data */ void on_fileNewFolder_activate(GtkMenuItem *menuitem, gpointer user_data); /** * Callback handle to handle deleting a folder menu option. * @param menuitem * @param user_data */ void on_fileRemoveFolder_activate(GtkMenuItem *menuitem, gpointer user_data); /** * Callback to handle the Rename Device menu option. * @param menuitem * @param user_data */ void on_fileRenameFile_activate(GtkMenuItem *menuitem, gpointer user_data); /** * Callback to handle the Move File menu option. * @param menuitem * @param user_data */ void on_fileMoveFile_activate(GtkMenuItem *menuitem, gpointer user_data); /** * Callback to handle the Rename Device menu option. * @param menuitem * @param user_data */ void on_editDeviceName_activate(GtkMenuItem *menuitem, gpointer user_data); /** * Callback to handle the Find menu option. * @param menuitem * @param user_data */ void on_editFind_activate(GtkMenuItem *menuitem, gpointer user_data); /** * Callback to handle the Find menu option. * @param menuitem * @param user_data */ void on_editSelectAll_activate(GtkMenuItem *menuitem, gpointer user_data); /** * Callback to handle the change of columns viewable in the main window. * @param menuitem * @param user_data */ void on_view_activate(GtkMenuItem *menuitem, gpointer user_data); // ************************************************************************************************ // Treeview handling. /** * Callback to handle double click on item in main window. If it's a folder, then change to it, * other attempt to download the file(s). * @param treeview * @param path * @param column * @param data */ void fileListRowActivated(GtkTreeView *treeview, GtkTreePath *path, GtkTreeViewColumn *column, gpointer data); /** * Callback to handle the displaying of the context menu. * @param widget * @param event * @return */ gboolean on_windowMainContextMenu_activate(GtkWidget *widget, GdkEvent *event); /** * Callback to handle the displaying of the context menu. * @param widget * @param event * @return */ gboolean on_windowViewContextMenu_activate(GtkWidget *widget, GdkEvent *event); /** * Callback to handle when a row is selected in the folder list. * @param treeselection * @param user_data */ void on_treeviewFolders_rowactivated(GtkTreeSelection *treeselection, gpointer user_data); // ************************************************************************************************ // Folder Treeview handling. /** * Callback to handle double click on item in folder main window. * @param treeview * @param path * @param column * @param data */ void folderListRowActivated(GtkTreeView *treeview, GtkTreePath *path, GtkTreeViewColumn *column, gpointer data); /** * Callback to handle selecting NewFolder from menu or toolbar. * @param menuitem * @param user_data */ void on_folderNewFolder_activate(GtkMenuItem *menuitem, gpointer user_data); /** * Callback to handle selecting RemoveFolder from menu or toolbar. * @param menuitem * @param user_data */ void on_folderRemoveFolder_activate(GtkMenuItem *menuitem, gpointer user_data); /** * Callback to handle selecting Rename Folder from menu * @param menuitem * @param user_data */ void on_folderRenameFolder_activate(GtkMenuItem *menuitem, gpointer user_data); /** * Callback to handle selecting MoveFolder from context menu. * @param menuitem * @param user_data */ void on_folderMoveFolder_activate(GtkMenuItem *menuitem, gpointer user_data); // ************************************************************************************************ // Add Track to Playlist option. /** * Callback to handle user asking to create a new playlist from the AutoAddTrack to Playlist option. * @param button * @param user_data */ void on_TrackPlaylist_NewPlaylistButton_activate(GtkWidget *button, gpointer user_data); // ************************************************************************************************ // Search function; /** * Callback to handle the actual searching of files/folders. * @param menuitem * @param user_data */ void on_editFindSearch_activate(GtkMenuItem *menuitem, gpointer user_data); /** * Callback to handle the Find toolbar close option. * @param menuitem * @param user_data */ void on_editFindClose_activate(GtkMenuItem *menuitem, gpointer user_data); #ifdef __cplusplus } #endif #endif /* _CALLBACKS_H */ gmtp-1.3.10/src/formatdevice.h0000644000175000001440000000203012655605137013075 00000000000000/* * * File: formatdevice.h * * Copyright (C) 2009-2013 Darran Kartaschew * * This file is part of the gMTP package. * * gMTP is free software; you can redistribute it and/or modify * it under the terms of the BSD License as included within the * file 'COPYING' located in the root directory * */ #ifndef _FORMATDEVICE_H #define _FORMATDEVICE_H #ifdef __cplusplus extern "C" { #endif #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include /** * Creates the Format Device Dialog box * @return Widget of completed dialog box. */ GtkWidget* create_windowFormat(void); /** * Callback to format the current storage device. * @param menuitem * @param user_data */ void on_editFormatDevice_activate(GtkWidget *item, gpointer user_data); /** * Worker thread for on_editFormatDevice_activate(); */ void formatDevice_thread(void); #ifdef __cplusplus } #endif #endif /* _FORMATDEVICE_H */ gmtp-1.3.10/src/about.c0000644000175000001440000001534612655605352011547 00000000000000/* * * File: about.c * * Copyright (C) 2009-2013 Darran Kartaschew * * This file is part of the gMTP package. * * gMTP is free software; you can redistribute it and/or modify * it under the terms of the BSD License as included within the * file 'COPYING' located in the root directory * */ #include "about.h" #include "main.h" // ************************************************************************************************ void displayAbout(void) { #if GTK_CHECK_VERSION(2,12,0) GtkWidget *dialog; const char *authors[] = { "Development", "Darran Kartaschew (chewy509@mailcity.com)", "\nTranslations", "English - Darran Kartaschew", "English (Australia) - Darran Kartaschew", "Italian - Francesca Ciceri, Fabio Castelli (Muflone)", "French - 'Coug'", "German - Laurenz Kamp", "Spanish - Google Translate", "Danish - Cai Andersen", "Russian - PuppyRus Linux team", "Brazilian Portuguese - Rafael Ferreira", NULL }; dialog = gtk_about_dialog_new(); gtk_about_dialog_set_program_name(GTK_ABOUT_DIALOG(dialog), PACKAGE_NAME); gtk_about_dialog_set_version(GTK_ABOUT_DIALOG(dialog), PACKAGE_VERSION); gtk_about_dialog_set_copyright(GTK_ABOUT_DIALOG(dialog), "Copyright 2009-2016, Darran Kartaschew\nReleased under the BSD License"); gtk_about_dialog_set_comments(GTK_ABOUT_DIALOG(dialog), _("A simple MTP Client for Solaris 10\nand other UNIX / UNIX-like systems\n")); gtk_about_dialog_set_license(GTK_ABOUT_DIALOG(dialog), "gMTP License\n" "------------\n\n" "Copyright (C) 2009-2016, Darran Kartaschew.\n" "All rights reserved.\n\n" "Redistribution and use in source and binary forms, with or without " "modification, are permitted provided that the following conditions are met:\n\n" "* Redistributions of source code must retain the above copyright notice, " "this list of conditions and the following disclaimer.\n\n" "* Redistributions in binary form must reproduce the above copyright notice, " "this list of conditions and the following disclaimer in the documentation " "and/or other materials provided with the distribution. \n\n" "* Neither the name of \"gMTP Development Team\" nor the names of its " "contributors may be used to endorse or promote products derived from this " "software without specific prior written permission. \n\n" "THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" " "AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE " "IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE " "ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE " "LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR " "CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF " "SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS " "INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN " "CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) " "ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE " "POSSIBILITY OF SUCH DAMAGE."); gtk_about_dialog_set_wrap_license(GTK_ABOUT_DIALOG(dialog), TRUE); gtk_about_dialog_set_website(GTK_ABOUT_DIALOG(dialog), "http://gmtp.sourceforge.net"); gtk_about_dialog_set_logo(GTK_ABOUT_DIALOG(dialog), gdk_pixbuf_new_from_file(file_logo_png, NULL)); gtk_about_dialog_set_authors(GTK_ABOUT_DIALOG(dialog), authors); gtk_about_dialog_set_translator_credits(GTK_ABOUT_DIALOG(dialog), _("translator-credits")); #if HAVE_GTK3 == 1 gtk_window_set_transient_for(GTK_WINDOW(dialog), GTK_WINDOW(windowMain)); #endif gtk_dialog_run(GTK_DIALOG(dialog)); gtk_widget_destroy(dialog); #else GtkWidget *dialog, *vbox, *label, *label2, *label3, *label4, *label5, *image; gchar *version_string; gchar *gtk_version_string; dialog = gtk_dialog_new_with_buttons(_("About gMTP"), GTK_WINDOW(windowMain), (GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT), _("_Close"), GTK_RESPONSE_CLOSE, NULL); gtk_dialog_set_default_response(GTK_DIALOG(dialog), GTK_RESPONSE_CLOSE); gtk_window_set_resizable(GTK_WINDOW(dialog), FALSE); gtk_container_set_border_width(GTK_CONTAINER(dialog), 5); #if HAVE_GTK3 == 0 gtk_dialog_set_has_separator(GTK_DIALOG(dialog), FALSE); #endif #if HAVE_GTK3 == 0 vbox = gtk_vbox_new(FALSE, 5); #else vbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 5); #endif gtk_widget_show(vbox); #if HAVE_GTK3 == 0 gtk_container_add(GTK_CONTAINER(GTK_DIALOG(dialog)->vbox), vbox); #else gtk_container_add(GTK_CONTAINER(gtk_dialog_get_content_area(GTK_DIALOG(dialog))), vbox); #endif // Add in our icon. image = gtk_image_new_from_file(file_logo_png); gtk_widget_show(image); gtk_container_add(GTK_CONTAINER(vbox), image); version_string = g_strconcat("", PACKAGE_NAME, " v", PACKAGE_VERSION, "", NULL); label = gtk_label_new(version_string); gtk_label_set_use_markup(GTK_LABEL(label), TRUE); gtk_widget_show(label); gtk_container_add(GTK_CONTAINER(vbox), label); label2 = gtk_label_new(_("A simple MTP Client for Solaris 10\nand other UNIX / UNIX-like systems\n")); gtk_label_set_use_markup(GTK_LABEL(label2), TRUE); gtk_label_set_justify(GTK_LABEL(label2), GTK_JUSTIFY_CENTER); gtk_misc_set_padding(GTK_MISC(label2), 5, 0); gtk_widget_show(label2); gtk_container_add(GTK_CONTAINER(vbox), label2); label5 = gtk_label_new("http://gmtp.sourceforge.net\n"); gtk_label_set_use_markup(GTK_LABEL(label5), TRUE); gtk_widget_show(label5); gtk_container_add(GTK_CONTAINER(vbox), label5); label3 = gtk_label_new(_("Copyright 2009-2016, Darran Kartaschew\nReleased under the BSD License")); gtk_label_set_use_markup(GTK_LABEL(label3), TRUE); gtk_widget_show(label3); gtk_container_add(GTK_CONTAINER(vbox), label3); gtk_version_string = g_strdup_printf("Built with GTK v%d.%d.%d\n", GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION); label4 = gtk_label_new(gtk_version_string); gtk_label_set_use_markup(GTK_LABEL(label4), TRUE); gtk_widget_show(label4); gtk_container_add(GTK_CONTAINER(vbox), label4); gtk_dialog_run(GTK_DIALOG(dialog)); gtk_widget_destroy(dialog); g_free(version_string); g_free(gtk_version_string); #endif } gmtp-1.3.10/src/preferences.h0000644000175000001440000001077712655605137012747 00000000000000/* * * File: preferences.h * * Copyright (C) 2009-2013 Darran Kartaschew * * This file is part of the gMTP package. * * gMTP is free software; you can redistribute it and/or modify * it under the terms of the BSD License as included within the * file 'COPYING' located in the root directory * */ #ifndef _PREFERENCES_H #define _PREFERENCES_H #ifdef __cplusplus extern "C" { #endif #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include // Main preferences dialog if present. GtkWidget *windowPrefsDialog; // Widgets for preferences buttons; GtkWidget *comboboxToolbarStyle; GtkWidget *checkbuttonDeviceConnect; GtkWidget *entryDownloadPath; GtkWidget *entryUploadPath; GtkWidget *checkbuttonDownloadPath; GtkWidget *checkbuttonConfirmFileOp; GtkWidget *checkbuttonConfirmOverWriteFileOp; GtkWidget *checkbuttonAutoAddTrackPlaylist; GtkWidget *checkbuttonIgnorePathInPlaylist; GtkWidget *checkbuttonSuppressAlbumErrors; GtkWidget *checkbuttonAltAccessMethod; GtkWidget *checkbuttonAllMediaAsFiles; GtkWidget *checkbuttonRetainTimeStamp; /** * Callback to show the Preferences Dialog Box. * @param item * @param user_data */ void on_preferences1_activate(GtkWidget *item, gpointer user_data); /** * Create the Preferences Dialog Box. * @return */ GtkWidget* create_windowPreferences(void); /* * Preferences Dialog callbacks */ /** * Callback to close the Preferences Dialog Box. * @param menuitem * @param user_data */ void on_quitPrefs_activate(GtkWidget *item, gpointer user_data); /** * Callback for Auto Connect Device toggle in Preferences Dialog Box. * @param menuitem * @param user_data */ void on_PrefsDevice_activate(GtkWidget *item, gpointer user_data); /** * Callback for Ask Download Path Operations toggle in Preferences Dialog Box. * @param menuitem * @param user_data */ void on_PrefsAskDownload_activate(GtkWidget *item, gpointer user_data); /** * Callback for setting download path in Preferences Dialog Box. * @param menuitem * @param user_data */ void on_PrefsDownloadPath_activate(GtkWidget *item, gpointer user_data); /** * Callback for setting upload path in Preferences Dialog Box. * @param menuitem * @param user_data */ void on_PrefsUploadPath_activate(GtkWidget *item, gpointer user_data); /** * Callback for Confirm Delete Operations toggle in Preferences Dialog Box. * @param menuitem * @param user_data */ void on_PrefsConfirmDelete_activate(GtkWidget *item, gpointer user_data); /** * Callback for Confirm Overwrite of File Operations toggle in Preferences Dialog Box. * @param menuitem * @param user_data */ void on_PrefsConfirmOverWriteFileOp_activate(GtkWidget *item, gpointer user_data); /** * Callback for Ask Download Path Operations toggle in Preferences Dialog Box. * @param menuitem * @param user_data */ void on_PrefsAutoAddTrackPlaylist_activate(GtkWidget *item, gpointer user_data); /** * Callback for Ignore Path in Playlist toggle in Preferences Dialog Box. * @param menuitem * @param user_data */ void on_PrefsIgnorePathInPlaylist_activate(GtkWidget *item, gpointer user_data); /** * Callback for Suppress Album Errors toggle in Preferences Dialog Box. * @param menuitem * @param user_data */ void on_PrefsSuppressAlbumError_activate(GtkWidget *item, gpointer user_data); /** * Callback for Use Alternate Access method toggle in Preferences Dialog Box. * @param menuitem * @param user_data */ void on_PrefsUseAltAccessMethod_activate(GtkWidget *item, gpointer user_data); /** * Callback for Treat all media as Files toggle in Preferences Dialog Box. * @param menuitem * @param user_data */ void on_PrefsAllMediaAsFiles_activate(GtkWidget *item, gpointer user_data); /** * Callback to set the toolbar style. * @param combobox * @param user_data */ void on_PrefsToolbarStyle_activate(GtkComboBox *combobox, gpointer user_data); /** * Callback for preserve timestamp toggle in Preferences Dialog Box. * @param menuitem * @param user_data */ void on_PrefsRetainTimeStamp_activate(GtkWidget *item, gpointer user_data); #ifdef __cplusplus } #endif #endif /* _PREFERENCES_H */ gmtp-1.3.10/src/playlist.h0000644000175000001440000001541212655605137012276 00000000000000/* * * File: playlist.h * * Copyright (C) 2009-2013 Darran Kartaschew * * This file is part of the gMTP package. * * gMTP is free software; you can redistribute it and/or modify * it under the terms of the BSD License as included within the * file 'COPYING' located in the root directory * */ #ifndef _PLAYLIST_H #define _PLAYLIST_H #ifdef __cplusplus extern "C" { #endif #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include /** * Create the Playlist Editor Window. * @return */ GtkWidget* create_windowPlaylist(void); // Main menu callback /** * Callback to hanlde the Playlist menu/toolbar operations. * @param menuitem * @param user_data */ void on_editPlaylist_activate(GtkWidget *item, gpointer user_data); /** * Callback to handle adding file to playlist. * @param menuitem * @param user_data */ void on_fileAddToPlaylist_activate(GtkWidget *item, gpointer user_data); /** * Callback to handle removing file from playlist. * @param menuitem * @param user_data */ void on_fileRemoveFromPlaylist_activate(GtkWidget *item, gpointer user_data); /** * Display the Playlist Editor. */ void displayPlaylistDialog(void); /** * Setup the display for the Playlist. * @param treeviewFiles */ void setupTrackList(GtkTreeView *treeviewFiles); /** * Setup the list of tracks in the current playlist. * @param treeviewFiles */ void setup_PL_List(GtkTreeView *treeviewFiles); /** * Set the state of the buttons within the playlist editor. * @param state */ void SetPlaylistButtonState(gboolean state); /** * Setup the Playlist selection Combo Box in the playlist editor. */ void setPlayListComboBox(void); /** * Setup the list of tracks in the current selected playlist. * @param PlayListID */ void setPlaylistField(gint PlayListID); /** * Display the New Playlist Dialog box. * @return The name of the new playlist. */ gchar* displayPlaylistNewDialog(void); /** * Helper to add a single row to playlist. * @param Row * @param playlist */ void __fileAddToPlaylist(GtkTreeRowReference *Row, LIBMTP_playlist_t **playlist); /** * Clear the selection of tracks in the playlist. * @return */ gboolean playlist_PL_ListClearSelection(); /** * Get the list of selected tracks in the playlist editor. * @return */ GList* playlist_PL_ListGetSelection(); /** * Remove the selected tracks from the playlist. * @param List * @return */ gboolean playlist_PL_ListRemove(GList *List); /** * Remove the track from the current playlist. * @param Row */ void __playlist_PL_Remove(GtkTreeRowReference *Row); /** * Get the selection of tracks in the current playlist. * @return */ GList* playlist_TrackList_GetSelection(); /** * Add the list of tracks to the selected playlist. * @param List * @return */ gboolean playlist_TrackList_Add(GList *List); /** * Add the individual track to the playlist. * @param Row */ void __playlist_TrackList_Add(GtkTreeRowReference *Row); /** * Reorder the tracks within the playlist. * @param direction * @return */ gboolean playlist_move_files(gint direction); /** * Move the selected track up in the playlist. * @param Row */ void __playlist_move_files_up(GtkTreeRowReference *Row); /** * Move the selected track down in the playlist. * @param Row */ void __playlist_move_files_down(GtkTreeRowReference *Row); /** * Save the current selected playlist to the device. * @param PlayListID */ void playlist_SavePlaylist(gint PlayListID); /** * Add a list of file to the nominated playlist. * @param List * @param PlaylistID * @return */ gboolean fileListAddToPlaylist(GList *List, uint32_t PlaylistID); /** * Remove a list of files to the nominated playlist. * @param List * @param PlaylistID * @return */ gboolean fileListRemoveFromPlaylist(GList *List, uint32_t PlaylistID); /** * Helper to remove a single row from a playlist. * @param Row * @param playlist */ void __fileRemoveFromPlaylist(GtkTreeRowReference *Row, LIBMTP_playlist_t **playlist); /** * Callback to handle closing the Playlist editor dialog. * @param menuitem * @param user_data */ void on_quitPlaylist_activate(GtkWidget *item, gpointer user_data); /** * Callback to handle the new Playlist button in the Playlist editor dialog. * @param menuitem * @param user_data */ void on_Playlist_NewPlaylistButton_activate(GtkWidget *item, gpointer user_data); /** * Callback to handle the Import Playlist button in the Playlist editor dialog. * @param menuitem * @param user_data */ void on_Playlist_ImportPlaylistButton_activate(GtkWidget *item, gpointer user_data); /** * Callback to handle the Export Playlist button in the Playlist editor dialog. * @param menuitem * @param user_data */ void on_Playlist_ExportPlaylistButton_activate(GtkWidget *item, gpointer user_data); /** * Callback to handle the Delete Playlist button in the Playlist editor dialog. * @param menuitem * @param user_data */ void on_Playlist_DelPlaylistButton_activate(GtkWidget *item, gpointer user_data); /** * Callback to handle the Delete Track button in the Playlist editor dialog. * @param menuitem * @param user_data */ void on_Playlist_DelFileButton_activate(GtkWidget *item, gpointer user_data); /** * Callback to handle the Add Track button in the Playlist editor dialog. * @param menuitem * @param user_data */ void on_Playlist_AddFileButton_activate(GtkWidget *item, gpointer user_data); /** * Callback to handle the Move Track Up button in the Playlist editor dialog. * @param menuitem * @param user_data */ void on_Playlist_FileUpButton_activate(GtkWidget *item, gpointer user_data); /** * Callback to handle the Move Track Down button in the Playlist editor dialog. * @param menuitem * @param user_data */ void on_Playlist_FileDownButton_activate(GtkWidget *item, gpointer user_data); /** * Callback to handle the change of Playlist selection in the Playlist editor dialog. * @param menuitem * @param user_data */ void on_Playlist_Combobox_activate(GtkComboBox *combobox, gpointer user_data); #ifdef __cplusplus } #endif #endif /* _PLAYLIST_H */ gmtp-1.3.10/src/prefs.h0000644000175000001440000000507212655605137011555 00000000000000/* * * File: prefs.h * * Copyright (C) 2009-2013 Darran Kartaschew * * This file is part of the gMTP package. * * gMTP is free software; you can redistribute it and/or modify * it under the terms of the BSD License as included within the * file 'COPYING' located in the root directory * */ #ifndef _PREFS_H #define _PREFS_H #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include #if HAVE_GTK3 #include #else #include #include #endif #ifdef __cplusplus extern "C" { #endif typedef struct { GString *fileSystemDownloadPath; GString *fileSystemUploadPath; gboolean attemptDeviceConnectOnStart; gboolean ask_download_path; gboolean prompt_overwrite_file_op; gboolean confirm_file_delete_op; gboolean auto_add_track_to_playlist; gboolean ignore_path_in_playlist_import; gboolean suppress_album_errors; gboolean use_alt_access_method; gboolean allmediaasfiles; gboolean view_size; gboolean view_type; gboolean view_track_number; gboolean view_title; gboolean view_artist; gboolean view_album; gboolean view_year; gboolean view_genre; gboolean view_duration; gboolean view_folders; GString *toolbarStyle; gboolean view_toolbar; gboolean retain_timestamp; } Preferences_Struct; Preferences_Struct Preferences; /** * Set some default values for the application prefences. * Attach the applicable callback handler for eith GConf or GSettings. */ void setupPreferences(); /** * Read the Preferences from the settings database. * @return TRUE if successful in reading the setting database for preferences. */ gboolean loadPreferences(); /** * Save the application settings to the preferences database. * @return TRUE if successful. */ gboolean savePreferences(); #if HAVE_GTK3 == 0 GConfClient *gconfconnect; /** * The callback function for GConf. * @param client * @param cnxn_id * @param entry * @param user_data */ void gconf_callback_func(GConfClient *client, guint cnxn_id, GConfEntry *entry, gpointer user_data); #else GSettings *gsettings_connect; /** * The callback for the GSettings database. */ void gsettings_callback_func(GSettings *settings, gchar *key, gpointer user_data); #endif #ifdef __cplusplus } #endif #endif /* _PREFS_H */ gmtp-1.3.10/src/Makefile.in0000644000175000001440000013112512655605165012332 00000000000000# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2014 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ bin_PROGRAMS = gmtp$(EXEEXT) subdir = src ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/lib-ld.m4 \ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ $(top_srcdir)/m4/m4_ax_check_compile_flag.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \ $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = am__installdirs = "$(DESTDIR)$(bindir)" PROGRAMS = $(bin_PROGRAMS) am_gmtp_OBJECTS = gmtp-about.$(OBJEXT) gmtp-albumart.$(OBJEXT) \ gmtp-callbacks.$(OBJEXT) gmtp-dnd.$(OBJEXT) \ gmtp-formatdevice.$(OBJEXT) gmtp-interface.$(OBJEXT) \ gmtp-main.$(OBJEXT) gmtp-metatag_info.$(OBJEXT) \ gmtp-mtp.$(OBJEXT) gmtp-playlist.$(OBJEXT) \ gmtp-prefs.$(OBJEXT) gmtp-progress.$(OBJEXT) \ gmtp-properties.$(OBJEXT) gmtp-preferences.$(OBJEXT) gmtp_OBJECTS = $(am_gmtp_OBJECTS) am__DEPENDENCIES_1 = gmtp_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) gmtp_LINK = $(CCLD) $(gmtp_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ -o $@ AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/config/depcomp am__depfiles_maybe = depfiles am__mv = mv -f AM_V_lt = $(am__v_lt_@AM_V@) am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) am__v_lt_0 = --silent am__v_lt_1 = COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) AM_V_CC = $(am__v_CC_@AM_V@) am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) am__v_CC_0 = @echo " CC " $@; am__v_CC_1 = CCLD = $(CC) LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ AM_V_CCLD = $(am__v_CCLD_@AM_V@) am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_0 = @echo " CCLD " $@; am__v_CCLD_1 = SOURCES = $(gmtp_SOURCES) DIST_SOURCES = $(gmtp_SOURCES) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/config/depcomp DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ ARCH = @ARCH@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FLAC_CFLAGS = @FLAC_CFLAGS@ FLAC_LIBS = @FLAC_LIBS@ GCONFTOOL = @GCONFTOOL@ GCONF_CFLAGS = @GCONF_CFLAGS@ GCONF_LIBS = @GCONF_LIBS@ GCONF_SCHEMA_CONFIG_SOURCE = @GCONF_SCHEMA_CONFIG_SOURCE@ GCONF_SCHEMA_FILE_DIR = @GCONF_SCHEMA_FILE_DIR@ GIO_CFLAGS = @GIO_CFLAGS@ GIO_LIBS = @GIO_LIBS@ GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@ GTHREAD_CFLAGS = @GTHREAD_CFLAGS@ GTHREAD_LIBS = @GTHREAD_LIBS@ GTK2_CFLAGS = @GTK2_CFLAGS@ GTK2_LIBS = @GTK2_LIBS@ GTK3_CFLAGS = @GTK3_CFLAGS@ GTK3_LIBS = @GTK3_LIBS@ ID3TAG_CFLAGS = @ID3TAG_CFLAGS@ ID3TAG_LIBS = @ID3TAG_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LDFLAGS = @LDFLAGS@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBMTP_CFLAGS = @LIBMTP_CFLAGS@ LIBMTP_LIBS = @LIBMTP_LIBS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LN_S = @LN_S@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POSUB = @POSUB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ VORBISFILE_CFLAGS = @VORBISFILE_CFLAGS@ VORBISFILE_LIBS = @VORBISFILE_LIBS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ gsettingsschemadir = @gsettingsschemadir@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ AUTOMAKE_OPTIONS = subdir-objects ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS} gmtp_SOURCES = \ about.c about.h \ albumart.c albumart.h \ callbacks.c callbacks.h \ dnd.c dnd.h \ formatdevice.c formatdevice.h \ interface.c interface.h \ main.c main.h \ metatag_info.c metatag_info.h \ mtp.c mtp.h \ playlist.c playlist.h \ prefs.c prefs.h \ progress.c progress.h \ properties.c properties.h \ preferences.c preferences.h gmtp_CFLAGS = ${GTK2_CFLAGS} ${GTK3_CFLAGS} ${LIBMTP_CFLAGS} ${FLAC_CLFAGS} ${GTHREAD_CFLAGS} ${GIO_CLFAGS} ${GCONF_CFLAGS} ${ID3TAG_CFLAGS} ${VORBISFILE_CFLAGS} gmtp_LDADD = ${GTK2_LIBS} ${GTK3_LIBS} ${LIBMTP_LIBS} ${FLAC_LIBS} ${GTHREAD_LIBS} ${GIO_LIBS} ${GCONF_LIBS} ${ID3TAG_LIBS} ${VORBISFILE_LIBS} all: all-am .SUFFIXES: .SUFFIXES: .c .o .obj $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign src/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ fi; \ for p in $$list; do echo "$$p $$p"; done | \ sed 's/$(EXEEXT)$$//' | \ while read p p1; do if test -f $$p \ ; then echo "$$p"; echo "$$p"; else :; fi; \ done | \ sed -e 'p;s,.*/,,;n;h' \ -e 's|.*|.|' \ -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ sed 'N;N;N;s,\n, ,g' | \ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ if ($$2 == $$4) files[d] = files[d] " " $$1; \ else { print "f", $$3 "/" $$4, $$1; } } \ END { for (d in files) print "f", d, files[d] }' | \ while read type dir files; do \ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ test -z "$$files" || { \ echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ } \ ; done uninstall-binPROGRAMS: @$(NORMAL_UNINSTALL) @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ files=`for p in $$list; do echo "$$p"; done | \ sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ -e 's/$$/$(EXEEXT)/' \ `; \ test -n "$$list" || exit 0; \ echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(bindir)" && rm -f $$files clean-binPROGRAMS: -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) gmtp$(EXEEXT): $(gmtp_OBJECTS) $(gmtp_DEPENDENCIES) $(EXTRA_gmtp_DEPENDENCIES) @rm -f gmtp$(EXEEXT) $(AM_V_CCLD)$(gmtp_LINK) $(gmtp_OBJECTS) $(gmtp_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gmtp-about.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gmtp-albumart.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gmtp-callbacks.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gmtp-dnd.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gmtp-formatdevice.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gmtp-interface.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gmtp-main.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gmtp-metatag_info.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gmtp-mtp.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gmtp-playlist.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gmtp-preferences.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gmtp-prefs.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gmtp-progress.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gmtp-properties.Po@am__quote@ .c.o: @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< .c.obj: @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` gmtp-about.o: about.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gmtp_CFLAGS) $(CFLAGS) -MT gmtp-about.o -MD -MP -MF $(DEPDIR)/gmtp-about.Tpo -c -o gmtp-about.o `test -f 'about.c' || echo '$(srcdir)/'`about.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gmtp-about.Tpo $(DEPDIR)/gmtp-about.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='about.c' object='gmtp-about.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gmtp_CFLAGS) $(CFLAGS) -c -o gmtp-about.o `test -f 'about.c' || echo '$(srcdir)/'`about.c gmtp-about.obj: about.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gmtp_CFLAGS) $(CFLAGS) -MT gmtp-about.obj -MD -MP -MF $(DEPDIR)/gmtp-about.Tpo -c -o gmtp-about.obj `if test -f 'about.c'; then $(CYGPATH_W) 'about.c'; else $(CYGPATH_W) '$(srcdir)/about.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gmtp-about.Tpo $(DEPDIR)/gmtp-about.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='about.c' object='gmtp-about.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gmtp_CFLAGS) $(CFLAGS) -c -o gmtp-about.obj `if test -f 'about.c'; then $(CYGPATH_W) 'about.c'; else $(CYGPATH_W) '$(srcdir)/about.c'; fi` gmtp-albumart.o: albumart.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gmtp_CFLAGS) $(CFLAGS) -MT gmtp-albumart.o -MD -MP -MF $(DEPDIR)/gmtp-albumart.Tpo -c -o gmtp-albumart.o `test -f 'albumart.c' || echo '$(srcdir)/'`albumart.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gmtp-albumart.Tpo $(DEPDIR)/gmtp-albumart.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='albumart.c' object='gmtp-albumart.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gmtp_CFLAGS) $(CFLAGS) -c -o gmtp-albumart.o `test -f 'albumart.c' || echo '$(srcdir)/'`albumart.c gmtp-albumart.obj: albumart.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gmtp_CFLAGS) $(CFLAGS) -MT gmtp-albumart.obj -MD -MP -MF $(DEPDIR)/gmtp-albumart.Tpo -c -o gmtp-albumart.obj `if test -f 'albumart.c'; then $(CYGPATH_W) 'albumart.c'; else $(CYGPATH_W) '$(srcdir)/albumart.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gmtp-albumart.Tpo $(DEPDIR)/gmtp-albumart.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='albumart.c' object='gmtp-albumart.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gmtp_CFLAGS) $(CFLAGS) -c -o gmtp-albumart.obj `if test -f 'albumart.c'; then $(CYGPATH_W) 'albumart.c'; else $(CYGPATH_W) '$(srcdir)/albumart.c'; fi` gmtp-callbacks.o: callbacks.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gmtp_CFLAGS) $(CFLAGS) -MT gmtp-callbacks.o -MD -MP -MF $(DEPDIR)/gmtp-callbacks.Tpo -c -o gmtp-callbacks.o `test -f 'callbacks.c' || echo '$(srcdir)/'`callbacks.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gmtp-callbacks.Tpo $(DEPDIR)/gmtp-callbacks.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='callbacks.c' object='gmtp-callbacks.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gmtp_CFLAGS) $(CFLAGS) -c -o gmtp-callbacks.o `test -f 'callbacks.c' || echo '$(srcdir)/'`callbacks.c gmtp-callbacks.obj: callbacks.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gmtp_CFLAGS) $(CFLAGS) -MT gmtp-callbacks.obj -MD -MP -MF $(DEPDIR)/gmtp-callbacks.Tpo -c -o gmtp-callbacks.obj `if test -f 'callbacks.c'; then $(CYGPATH_W) 'callbacks.c'; else $(CYGPATH_W) '$(srcdir)/callbacks.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gmtp-callbacks.Tpo $(DEPDIR)/gmtp-callbacks.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='callbacks.c' object='gmtp-callbacks.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gmtp_CFLAGS) $(CFLAGS) -c -o gmtp-callbacks.obj `if test -f 'callbacks.c'; then $(CYGPATH_W) 'callbacks.c'; else $(CYGPATH_W) '$(srcdir)/callbacks.c'; fi` gmtp-dnd.o: dnd.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gmtp_CFLAGS) $(CFLAGS) -MT gmtp-dnd.o -MD -MP -MF $(DEPDIR)/gmtp-dnd.Tpo -c -o gmtp-dnd.o `test -f 'dnd.c' || echo '$(srcdir)/'`dnd.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gmtp-dnd.Tpo $(DEPDIR)/gmtp-dnd.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='dnd.c' object='gmtp-dnd.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gmtp_CFLAGS) $(CFLAGS) -c -o gmtp-dnd.o `test -f 'dnd.c' || echo '$(srcdir)/'`dnd.c gmtp-dnd.obj: dnd.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gmtp_CFLAGS) $(CFLAGS) -MT gmtp-dnd.obj -MD -MP -MF $(DEPDIR)/gmtp-dnd.Tpo -c -o gmtp-dnd.obj `if test -f 'dnd.c'; then $(CYGPATH_W) 'dnd.c'; else $(CYGPATH_W) '$(srcdir)/dnd.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gmtp-dnd.Tpo $(DEPDIR)/gmtp-dnd.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='dnd.c' object='gmtp-dnd.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gmtp_CFLAGS) $(CFLAGS) -c -o gmtp-dnd.obj `if test -f 'dnd.c'; then $(CYGPATH_W) 'dnd.c'; else $(CYGPATH_W) '$(srcdir)/dnd.c'; fi` gmtp-formatdevice.o: formatdevice.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gmtp_CFLAGS) $(CFLAGS) -MT gmtp-formatdevice.o -MD -MP -MF $(DEPDIR)/gmtp-formatdevice.Tpo -c -o gmtp-formatdevice.o `test -f 'formatdevice.c' || echo '$(srcdir)/'`formatdevice.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gmtp-formatdevice.Tpo $(DEPDIR)/gmtp-formatdevice.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='formatdevice.c' object='gmtp-formatdevice.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gmtp_CFLAGS) $(CFLAGS) -c -o gmtp-formatdevice.o `test -f 'formatdevice.c' || echo '$(srcdir)/'`formatdevice.c gmtp-formatdevice.obj: formatdevice.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gmtp_CFLAGS) $(CFLAGS) -MT gmtp-formatdevice.obj -MD -MP -MF $(DEPDIR)/gmtp-formatdevice.Tpo -c -o gmtp-formatdevice.obj `if test -f 'formatdevice.c'; then $(CYGPATH_W) 'formatdevice.c'; else $(CYGPATH_W) '$(srcdir)/formatdevice.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gmtp-formatdevice.Tpo $(DEPDIR)/gmtp-formatdevice.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='formatdevice.c' object='gmtp-formatdevice.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gmtp_CFLAGS) $(CFLAGS) -c -o gmtp-formatdevice.obj `if test -f 'formatdevice.c'; then $(CYGPATH_W) 'formatdevice.c'; else $(CYGPATH_W) '$(srcdir)/formatdevice.c'; fi` gmtp-interface.o: interface.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gmtp_CFLAGS) $(CFLAGS) -MT gmtp-interface.o -MD -MP -MF $(DEPDIR)/gmtp-interface.Tpo -c -o gmtp-interface.o `test -f 'interface.c' || echo '$(srcdir)/'`interface.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gmtp-interface.Tpo $(DEPDIR)/gmtp-interface.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='interface.c' object='gmtp-interface.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gmtp_CFLAGS) $(CFLAGS) -c -o gmtp-interface.o `test -f 'interface.c' || echo '$(srcdir)/'`interface.c gmtp-interface.obj: interface.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gmtp_CFLAGS) $(CFLAGS) -MT gmtp-interface.obj -MD -MP -MF $(DEPDIR)/gmtp-interface.Tpo -c -o gmtp-interface.obj `if test -f 'interface.c'; then $(CYGPATH_W) 'interface.c'; else $(CYGPATH_W) '$(srcdir)/interface.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gmtp-interface.Tpo $(DEPDIR)/gmtp-interface.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='interface.c' object='gmtp-interface.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gmtp_CFLAGS) $(CFLAGS) -c -o gmtp-interface.obj `if test -f 'interface.c'; then $(CYGPATH_W) 'interface.c'; else $(CYGPATH_W) '$(srcdir)/interface.c'; fi` gmtp-main.o: main.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gmtp_CFLAGS) $(CFLAGS) -MT gmtp-main.o -MD -MP -MF $(DEPDIR)/gmtp-main.Tpo -c -o gmtp-main.o `test -f 'main.c' || echo '$(srcdir)/'`main.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gmtp-main.Tpo $(DEPDIR)/gmtp-main.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='main.c' object='gmtp-main.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gmtp_CFLAGS) $(CFLAGS) -c -o gmtp-main.o `test -f 'main.c' || echo '$(srcdir)/'`main.c gmtp-main.obj: main.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gmtp_CFLAGS) $(CFLAGS) -MT gmtp-main.obj -MD -MP -MF $(DEPDIR)/gmtp-main.Tpo -c -o gmtp-main.obj `if test -f 'main.c'; then $(CYGPATH_W) 'main.c'; else $(CYGPATH_W) '$(srcdir)/main.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gmtp-main.Tpo $(DEPDIR)/gmtp-main.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='main.c' object='gmtp-main.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gmtp_CFLAGS) $(CFLAGS) -c -o gmtp-main.obj `if test -f 'main.c'; then $(CYGPATH_W) 'main.c'; else $(CYGPATH_W) '$(srcdir)/main.c'; fi` gmtp-metatag_info.o: metatag_info.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gmtp_CFLAGS) $(CFLAGS) -MT gmtp-metatag_info.o -MD -MP -MF $(DEPDIR)/gmtp-metatag_info.Tpo -c -o gmtp-metatag_info.o `test -f 'metatag_info.c' || echo '$(srcdir)/'`metatag_info.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gmtp-metatag_info.Tpo $(DEPDIR)/gmtp-metatag_info.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='metatag_info.c' object='gmtp-metatag_info.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gmtp_CFLAGS) $(CFLAGS) -c -o gmtp-metatag_info.o `test -f 'metatag_info.c' || echo '$(srcdir)/'`metatag_info.c gmtp-metatag_info.obj: metatag_info.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gmtp_CFLAGS) $(CFLAGS) -MT gmtp-metatag_info.obj -MD -MP -MF $(DEPDIR)/gmtp-metatag_info.Tpo -c -o gmtp-metatag_info.obj `if test -f 'metatag_info.c'; then $(CYGPATH_W) 'metatag_info.c'; else $(CYGPATH_W) '$(srcdir)/metatag_info.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gmtp-metatag_info.Tpo $(DEPDIR)/gmtp-metatag_info.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='metatag_info.c' object='gmtp-metatag_info.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gmtp_CFLAGS) $(CFLAGS) -c -o gmtp-metatag_info.obj `if test -f 'metatag_info.c'; then $(CYGPATH_W) 'metatag_info.c'; else $(CYGPATH_W) '$(srcdir)/metatag_info.c'; fi` gmtp-mtp.o: mtp.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gmtp_CFLAGS) $(CFLAGS) -MT gmtp-mtp.o -MD -MP -MF $(DEPDIR)/gmtp-mtp.Tpo -c -o gmtp-mtp.o `test -f 'mtp.c' || echo '$(srcdir)/'`mtp.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gmtp-mtp.Tpo $(DEPDIR)/gmtp-mtp.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='mtp.c' object='gmtp-mtp.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gmtp_CFLAGS) $(CFLAGS) -c -o gmtp-mtp.o `test -f 'mtp.c' || echo '$(srcdir)/'`mtp.c gmtp-mtp.obj: mtp.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gmtp_CFLAGS) $(CFLAGS) -MT gmtp-mtp.obj -MD -MP -MF $(DEPDIR)/gmtp-mtp.Tpo -c -o gmtp-mtp.obj `if test -f 'mtp.c'; then $(CYGPATH_W) 'mtp.c'; else $(CYGPATH_W) '$(srcdir)/mtp.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gmtp-mtp.Tpo $(DEPDIR)/gmtp-mtp.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='mtp.c' object='gmtp-mtp.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gmtp_CFLAGS) $(CFLAGS) -c -o gmtp-mtp.obj `if test -f 'mtp.c'; then $(CYGPATH_W) 'mtp.c'; else $(CYGPATH_W) '$(srcdir)/mtp.c'; fi` gmtp-playlist.o: playlist.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gmtp_CFLAGS) $(CFLAGS) -MT gmtp-playlist.o -MD -MP -MF $(DEPDIR)/gmtp-playlist.Tpo -c -o gmtp-playlist.o `test -f 'playlist.c' || echo '$(srcdir)/'`playlist.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gmtp-playlist.Tpo $(DEPDIR)/gmtp-playlist.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='playlist.c' object='gmtp-playlist.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gmtp_CFLAGS) $(CFLAGS) -c -o gmtp-playlist.o `test -f 'playlist.c' || echo '$(srcdir)/'`playlist.c gmtp-playlist.obj: playlist.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gmtp_CFLAGS) $(CFLAGS) -MT gmtp-playlist.obj -MD -MP -MF $(DEPDIR)/gmtp-playlist.Tpo -c -o gmtp-playlist.obj `if test -f 'playlist.c'; then $(CYGPATH_W) 'playlist.c'; else $(CYGPATH_W) '$(srcdir)/playlist.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gmtp-playlist.Tpo $(DEPDIR)/gmtp-playlist.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='playlist.c' object='gmtp-playlist.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gmtp_CFLAGS) $(CFLAGS) -c -o gmtp-playlist.obj `if test -f 'playlist.c'; then $(CYGPATH_W) 'playlist.c'; else $(CYGPATH_W) '$(srcdir)/playlist.c'; fi` gmtp-prefs.o: prefs.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gmtp_CFLAGS) $(CFLAGS) -MT gmtp-prefs.o -MD -MP -MF $(DEPDIR)/gmtp-prefs.Tpo -c -o gmtp-prefs.o `test -f 'prefs.c' || echo '$(srcdir)/'`prefs.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gmtp-prefs.Tpo $(DEPDIR)/gmtp-prefs.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='prefs.c' object='gmtp-prefs.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gmtp_CFLAGS) $(CFLAGS) -c -o gmtp-prefs.o `test -f 'prefs.c' || echo '$(srcdir)/'`prefs.c gmtp-prefs.obj: prefs.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gmtp_CFLAGS) $(CFLAGS) -MT gmtp-prefs.obj -MD -MP -MF $(DEPDIR)/gmtp-prefs.Tpo -c -o gmtp-prefs.obj `if test -f 'prefs.c'; then $(CYGPATH_W) 'prefs.c'; else $(CYGPATH_W) '$(srcdir)/prefs.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gmtp-prefs.Tpo $(DEPDIR)/gmtp-prefs.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='prefs.c' object='gmtp-prefs.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gmtp_CFLAGS) $(CFLAGS) -c -o gmtp-prefs.obj `if test -f 'prefs.c'; then $(CYGPATH_W) 'prefs.c'; else $(CYGPATH_W) '$(srcdir)/prefs.c'; fi` gmtp-progress.o: progress.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gmtp_CFLAGS) $(CFLAGS) -MT gmtp-progress.o -MD -MP -MF $(DEPDIR)/gmtp-progress.Tpo -c -o gmtp-progress.o `test -f 'progress.c' || echo '$(srcdir)/'`progress.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gmtp-progress.Tpo $(DEPDIR)/gmtp-progress.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='progress.c' object='gmtp-progress.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gmtp_CFLAGS) $(CFLAGS) -c -o gmtp-progress.o `test -f 'progress.c' || echo '$(srcdir)/'`progress.c gmtp-progress.obj: progress.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gmtp_CFLAGS) $(CFLAGS) -MT gmtp-progress.obj -MD -MP -MF $(DEPDIR)/gmtp-progress.Tpo -c -o gmtp-progress.obj `if test -f 'progress.c'; then $(CYGPATH_W) 'progress.c'; else $(CYGPATH_W) '$(srcdir)/progress.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gmtp-progress.Tpo $(DEPDIR)/gmtp-progress.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='progress.c' object='gmtp-progress.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gmtp_CFLAGS) $(CFLAGS) -c -o gmtp-progress.obj `if test -f 'progress.c'; then $(CYGPATH_W) 'progress.c'; else $(CYGPATH_W) '$(srcdir)/progress.c'; fi` gmtp-properties.o: properties.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gmtp_CFLAGS) $(CFLAGS) -MT gmtp-properties.o -MD -MP -MF $(DEPDIR)/gmtp-properties.Tpo -c -o gmtp-properties.o `test -f 'properties.c' || echo '$(srcdir)/'`properties.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gmtp-properties.Tpo $(DEPDIR)/gmtp-properties.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='properties.c' object='gmtp-properties.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gmtp_CFLAGS) $(CFLAGS) -c -o gmtp-properties.o `test -f 'properties.c' || echo '$(srcdir)/'`properties.c gmtp-properties.obj: properties.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gmtp_CFLAGS) $(CFLAGS) -MT gmtp-properties.obj -MD -MP -MF $(DEPDIR)/gmtp-properties.Tpo -c -o gmtp-properties.obj `if test -f 'properties.c'; then $(CYGPATH_W) 'properties.c'; else $(CYGPATH_W) '$(srcdir)/properties.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gmtp-properties.Tpo $(DEPDIR)/gmtp-properties.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='properties.c' object='gmtp-properties.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gmtp_CFLAGS) $(CFLAGS) -c -o gmtp-properties.obj `if test -f 'properties.c'; then $(CYGPATH_W) 'properties.c'; else $(CYGPATH_W) '$(srcdir)/properties.c'; fi` gmtp-preferences.o: preferences.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gmtp_CFLAGS) $(CFLAGS) -MT gmtp-preferences.o -MD -MP -MF $(DEPDIR)/gmtp-preferences.Tpo -c -o gmtp-preferences.o `test -f 'preferences.c' || echo '$(srcdir)/'`preferences.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gmtp-preferences.Tpo $(DEPDIR)/gmtp-preferences.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='preferences.c' object='gmtp-preferences.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gmtp_CFLAGS) $(CFLAGS) -c -o gmtp-preferences.o `test -f 'preferences.c' || echo '$(srcdir)/'`preferences.c gmtp-preferences.obj: preferences.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gmtp_CFLAGS) $(CFLAGS) -MT gmtp-preferences.obj -MD -MP -MF $(DEPDIR)/gmtp-preferences.Tpo -c -o gmtp-preferences.obj `if test -f 'preferences.c'; then $(CYGPATH_W) 'preferences.c'; else $(CYGPATH_W) '$(srcdir)/preferences.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gmtp-preferences.Tpo $(DEPDIR)/gmtp-preferences.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='preferences.c' object='gmtp-preferences.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gmtp_CFLAGS) $(CFLAGS) -c -o gmtp-preferences.obj `if test -f 'preferences.c'; then $(CYGPATH_W) 'preferences.c'; else $(CYGPATH_W) '$(srcdir)/preferences.c'; fi` ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-am TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-am CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-am cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(PROGRAMS) installdirs: for dir in "$(DESTDIR)$(bindir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) 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-binPROGRAMS clean-generic mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-binPROGRAMS install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-binPROGRAMS .MAKE: install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean \ clean-binPROGRAMS clean-generic cscopelist-am ctags ctags-am \ distclean distclean-compile distclean-generic distclean-tags \ distdir dvi dvi-am html html-am info info-am install \ install-am install-binPROGRAMS install-data install-data-am \ install-dvi install-dvi-am install-exec install-exec-am \ install-html install-html-am install-info install-info-am \ install-man install-pdf install-pdf-am install-ps \ install-ps-am install-strip installcheck installcheck-am \ installdirs maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \ ps ps-am tags tags-am uninstall uninstall-am \ uninstall-binPROGRAMS .PRECIOUS: Makefile # 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: gmtp-1.3.10/src/albumart.c0000644000175000001440000004420712655605137012243 00000000000000/* * * File: albumart.c * * Copyright (C) 2009-2013 Darran Kartaschew * * This file is part of the gMTP package. * * gMTP is free software; you can redistribute it and/or modify * it under the terms of the BSD License as included within the * file 'COPYING' located in the root directory * */ #include "albumart.h" #include "main.h" #include "prefs.h" #include "mtp.h" #include "interface.h" #include // AlbumArt Dialog global pointers GtkWidget *AlbumArtDialog; GtkWidget *AlbumArtImage; GtkWidget *buttonAlbumAdd; GtkWidget *buttonAlbumDownload; GtkWidget *buttonAlbumDelete; GtkWidget *textboxAlbumArt; enum { COLUMN_STRING, COLUMN_INT, N_COLUMNS }; // ************************************************************************************************ void displayAddAlbumArtDialog(void) { GtkWidget *hbox, *label; GtkWidget *buttonBox; LIBMTP_album_t *albuminfo = NULL; LIBMTP_album_t *album_orig = NULL; AlbumArtDialog = gtk_dialog_new_with_buttons(_("Album Art"), GTK_WINDOW(windowMain), (GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT), _("_Close"), GTK_RESPONSE_CLOSE, NULL); gtk_dialog_set_default_response(GTK_DIALOG(AlbumArtDialog), GTK_RESPONSE_CLOSE); gtk_window_set_resizable(GTK_WINDOW(AlbumArtDialog), FALSE); gtk_container_set_border_width(GTK_CONTAINER(AlbumArtDialog), 5); #if HAVE_GTK3 == 0 gtk_dialog_set_has_separator(GTK_DIALOG(AlbumArtDialog), TRUE); #endif // Set some nice 5px spacing. #if HAVE_GTK3 == 0 gtk_box_set_spacing(GTK_BOX(GTK_DIALOG(AlbumArtDialog)->vbox), 10); #else gtk_box_set_spacing(GTK_BOX(gtk_dialog_get_content_area(GTK_DIALOG(AlbumArtDialog))), 10); #endif #if HAVE_GTK3 == 0 hbox = gtk_hbox_new(FALSE, 5); #else hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 5); #endif gtk_widget_show(hbox); #if HAVE_GTK3 == 0 gtk_container_add(GTK_CONTAINER(GTK_DIALOG(AlbumArtDialog)->vbox), hbox); #else gtk_container_add(GTK_CONTAINER(gtk_dialog_get_content_area(GTK_DIALOG(AlbumArtDialog))), hbox); #endif label = gtk_label_new(_("Album:")); gtk_widget_show(label); gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0); #if HAVE_GTK3 == 0 gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5); #else gtk_widget_set_halign(GTK_WIDGET(label), GTK_ALIGN_START); #endif // Now create the combo box. GtkListStore *store = gtk_list_store_new(N_COLUMNS, G_TYPE_STRING, G_TYPE_INT); gtk_tree_sortable_set_sort_column_id(GTK_TREE_SORTABLE(store), COLUMN_STRING, GTK_SORT_ASCENDING); GtkTreeIter iter; textboxAlbumArt = gtk_combo_box_new_with_model(GTK_TREE_MODEL(store)); GtkCellRenderer *cell = gtk_cell_renderer_text_new(); // The following call causes the default cell area for combo boxes, // a GtkCellAreaBox, to be instantiated gtk_cell_layout_pack_start(GTK_CELL_LAYOUT(textboxAlbumArt), cell, TRUE); gtk_cell_layout_add_attribute(GTK_CELL_LAYOUT(textboxAlbumArt), cell, "text", COLUMN_STRING); //#if HAVE_GTK3 == 0 // textboxAlbumArt = gtk_combo_box_new_text(); //#else // textboxAlbumArt = gtk_combo_box_text_new(); //#endif gtk_widget_show(textboxAlbumArt); gtk_box_pack_start(GTK_BOX(hbox), textboxAlbumArt, TRUE, TRUE, 0); // Now add in our selection strings. albuminfo = LIBMTP_Get_Album_List_For_Storage(DeviceMgr.device, DeviceMgr.devicestorage->id); // Better check to see if we actually have anything? if (albuminfo == NULL) { // we have no albums. displayInformation(_("No Albums available to set Album Art with. Either:\n1. You have no music files uploaded?\n2. Your device does not support Albums?\n3. Previous applications used to upload files do not autocreate albums for you or support the metadata for those files in order to create the albums for you?\n")); gtk_widget_destroy(AlbumArtDialog); AlbumArtImage = NULL; AlbumArtDialog = NULL; textboxAlbumArt = NULL; return; } album_orig = albuminfo; while (albuminfo != NULL) { if (albuminfo->name != NULL) { // Add a new row to the model gtk_list_store_append(store, &iter); gtk_list_store_set(store, &iter, COLUMN_STRING, albuminfo->name, COLUMN_INT, albuminfo->album_id, -1); } albuminfo = albuminfo->next; } // End add selection. gtk_combo_box_set_active(GTK_COMBO_BOX(textboxAlbumArt), 0); // Add in a image view of the current uploaded album art. #if HAVE_GTK3 == 0 AlbumArtImage = gtk_image_new_from_stock(GTK_STOCK_MISSING_IMAGE, GTK_ICON_SIZE_DIALOG); #else AlbumArtImage = gtk_image_new_from_icon_name("image-missing", GTK_ICON_SIZE_DIALOG); #endif #if HAVE_GTK3 == 0 gtk_container_add(GTK_CONTAINER(GTK_DIALOG(AlbumArtDialog)->vbox), AlbumArtImage); #else gtk_container_add(GTK_CONTAINER(gtk_dialog_get_content_area(GTK_DIALOG(AlbumArtDialog))), AlbumArtImage); #endif gtk_widget_show(AlbumArtImage); // Add in the album art operations area. #if HAVE_GTK3 == 0 buttonBox = gtk_hbutton_box_new(); #else buttonBox = gtk_button_box_new(GTK_ORIENTATION_HORIZONTAL); #endif gtk_box_set_spacing(GTK_BOX(buttonBox), 5); gtk_widget_show(buttonBox); #if HAVE_GTK3 == 0 gtk_container_add(GTK_CONTAINER(GTK_DIALOG(AlbumArtDialog)->vbox), buttonBox); #else gtk_container_add(GTK_CONTAINER(gtk_dialog_get_content_area(GTK_DIALOG(AlbumArtDialog))), buttonBox); #endif buttonAlbumAdd = gtk_button_new_with_mnemonic(_("Upload")); gtk_widget_show(buttonAlbumAdd); gtk_box_pack_start(GTK_BOX(buttonBox), buttonAlbumAdd, TRUE, TRUE, 0); buttonAlbumDelete = gtk_button_new_with_mnemonic(_("Remove")); gtk_widget_show(buttonAlbumDelete); gtk_box_pack_start(GTK_BOX(buttonBox), buttonAlbumDelete, TRUE, TRUE, 0); gtk_widget_set_sensitive(GTK_WIDGET(buttonAlbumDelete), FALSE); buttonAlbumDownload = gtk_button_new_with_mnemonic(_("Download")); gtk_widget_show(buttonAlbumDownload); gtk_box_pack_start(GTK_BOX(buttonBox), buttonAlbumDownload, TRUE, TRUE, 0); gtk_widget_set_sensitive(GTK_WIDGET(buttonAlbumDownload), FALSE); // Now, update the stock image with one from the selected album. //AlbumArtUpdateImage(album_orig); on_albumtextbox_activate(NULL, NULL); g_signal_connect((gpointer) textboxAlbumArt, "changed", G_CALLBACK(on_albumtextbox_activate), NULL); g_signal_connect((gpointer) buttonAlbumAdd, "clicked", G_CALLBACK(on_buttonAlbumArtAdd_activate), NULL); g_signal_connect((gpointer) buttonAlbumDelete, "clicked", G_CALLBACK(on_buttonAlbumArtDelete_activate), NULL); g_signal_connect((gpointer) buttonAlbumDownload, "clicked", G_CALLBACK(on_buttonAlbumArtDownload_activate), NULL); gtk_dialog_run(GTK_DIALOG(AlbumArtDialog)); gtk_widget_destroy(AlbumArtDialog); clearAlbumStruc(album_orig); //Clean up global pointers. AlbumArtImage = NULL; AlbumArtDialog = NULL; textboxAlbumArt = NULL; } // ************************************************************************************************ void AlbumArtUpdateImage(LIBMTP_album_t* selectedAlbum) { LIBMTP_filesampledata_t *imagedata = NULL; // Ensure our widget exists. if (AlbumArtImage == NULL) return; // Ensure we have a selected album. if (selectedAlbum == NULL) { AlbumArtSetDefault(); return; } imagedata = albumGetArt(selectedAlbum); if (imagedata != NULL) { if (imagedata->size != 0) { // We have our image data. // Create a GdkPixbuf GdkPixbufLoader *BufferLoader = gdk_pixbuf_loader_new(); if (gdk_pixbuf_loader_write(BufferLoader, (const guchar*) imagedata->data, imagedata->size, NULL) == TRUE) { // Set the GtkImage to use that GdkPixbuf. gdk_pixbuf_loader_close(BufferLoader, NULL); GdkPixbuf *gdk_image = gdk_pixbuf_loader_get_pixbuf(BufferLoader); GdkPixbuf *gdk_image_scale = gdk_pixbuf_scale_simple(gdk_image, ALBUM_SIZE, ALBUM_SIZE, GDK_INTERP_BILINEAR); gtk_image_set_from_pixbuf(GTK_IMAGE(AlbumArtImage), gdk_image_scale); g_object_unref(BufferLoader); g_object_unref(gdk_image_scale); // Set button states, so we can do stuff on the image. gtk_widget_set_sensitive(GTK_WIDGET(buttonAlbumDownload), TRUE); gtk_widget_set_sensitive(GTK_WIDGET(buttonAlbumDelete), TRUE); } else { g_object_unref(BufferLoader); AlbumArtSetDefault(); } } else { AlbumArtSetDefault(); } // Clean up the image buffer. LIBMTP_destroy_filesampledata_t(imagedata); } else { AlbumArtSetDefault(); } } // ************************************************************************************************ void AlbumArtSetDefault(void) { //gtk_image_set_from_stock(GTK_IMAGE(AlbumArtImage), GTK_STOCK_MISSING_IMAGE, GTK_ICON_SIZE_DIALOG ); GdkPixbuf *gdk_image = NULL; GdkPixbuf *gdk_image_scale = NULL; #if HAVE_GTK3 == 0 gdk_image = gtk_widget_render_icon(GTK_WIDGET(AlbumArtImage), GTK_STOCK_MISSING_IMAGE, GTK_ICON_SIZE_DIALOG, "gtk-missing-image"); #else GtkIconTheme *theme = gtk_icon_theme_get_default(); gdk_image = gtk_icon_theme_load_icon(theme, "image-missing", ALBUM_SIZE, 0, NULL); #endif gdk_image_scale = gdk_pixbuf_scale_simple(gdk_image, ALBUM_SIZE, ALBUM_SIZE, GDK_INTERP_BILINEAR); gtk_image_set_from_pixbuf(GTK_IMAGE(AlbumArtImage), gdk_image_scale); g_object_unref(gdk_image); g_object_unref(gdk_image_scale); // Disable the buttons, since we have a default image. gtk_widget_set_sensitive(GTK_WIDGET(buttonAlbumDownload), FALSE); gtk_widget_set_sensitive(GTK_WIDGET(buttonAlbumDelete), FALSE); } // ************************************************************************************************ void on_editAddAlbumArt_activate(GtkWidget *item, gpointer user_data) { UNUSED(item); UNUSED(user_data); // Get a filename of the album art. displayAddAlbumArtDialog(); } // end on_editAddAlbumArt_activate() // ************************************************************************************************ void on_buttonAlbumArtAdd_activate(GtkWidget *button, gpointer user_data) { UNUSED(button); UNUSED(user_data); // What we do here is display a find folder dialog, and save the resulting folder into the text wigdet and preferences item. GtkWidget *FileDialog; FileDialog = gtk_file_chooser_dialog_new(_("Select Album Art File"), GTK_WINDOW(AlbumArtDialog), GTK_FILE_CHOOSER_ACTION_OPEN, _("_Cancel"), GTK_RESPONSE_CANCEL, _("_Open"), GTK_RESPONSE_ACCEPT, NULL); gtk_file_chooser_set_local_only(GTK_FILE_CHOOSER(FileDialog), TRUE); // Set the default path to be the normal upload folder. gtk_file_chooser_set_current_folder(GTK_FILE_CHOOSER(FileDialog), Preferences.fileSystemUploadPath->str); if (gtk_dialog_run(GTK_DIALOG(FileDialog)) == GTK_RESPONSE_ACCEPT) { gchar *filename = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(FileDialog)); if (filename != NULL) { // Upload the file to the selected album. GtkTreeModel *list_store = gtk_combo_box_get_model(GTK_COMBO_BOX(textboxAlbumArt)); GtkTreeIter iter; gtk_combo_box_get_active_iter(GTK_COMBO_BOX(textboxAlbumArt), &iter); guint selected = 0; gtk_tree_model_get(list_store, &iter, COLUMN_INT, &selected, -1); LIBMTP_album_t *albumlist = LIBMTP_Get_Album_List_For_Storage(DeviceMgr.device, DeviceMgr.devicestorage->id); LIBMTP_album_t *albuminfo = albumlist; while (albuminfo != NULL) { if (albuminfo->album_id == selected) { // Found our album, so update the image on the device, then update the display. albumAddArt(albuminfo->album_id, filename); AlbumArtUpdateImage(albuminfo); clearAlbumStruc(albumlist); g_free(filename); gtk_widget_destroy(FileDialog); return; } // Next album_entry albuminfo = albuminfo->next; } // Set a default image as we didn't find our album. AlbumArtUpdateImage(NULL); clearAlbumStruc(albumlist); g_free(filename); } } gtk_widget_destroy(FileDialog); } // end on_buttonAlbumArtAdd_activate() // ************************************************************************************************ void on_buttonAlbumArtDelete_activate(GtkWidget *button, gpointer user_data) { UNUSED(button); UNUSED(user_data); // Send a blank representation. GtkTreeModel *list_store = gtk_combo_box_get_model(GTK_COMBO_BOX(textboxAlbumArt)); GtkTreeIter iter; gtk_combo_box_get_active_iter(GTK_COMBO_BOX(textboxAlbumArt), &iter); guint selected = 0; gtk_tree_model_get(list_store, &iter, COLUMN_INT, &selected, -1); LIBMTP_album_t *albumlist = LIBMTP_Get_Album_List_For_Storage(DeviceMgr.device, DeviceMgr.devicestorage->id); LIBMTP_album_t *albuminfo = albumlist; while (albuminfo != NULL) { if (albuminfo->album_id == selected) { // Found our album, so update the image on the device, then update the display. albumDeleteArt(albuminfo->album_id); AlbumArtUpdateImage(NULL); clearAlbumStruc(albumlist); return; } // Next album_entry albuminfo = albuminfo->next; } // Set a default image as we didn't find our album. AlbumArtUpdateImage(NULL); clearAlbumStruc(albumlist); } // end on_buttonAlbumArtDelete_activate() // ************************************************************************************************ void on_buttonAlbumArtDownload_activate(GtkWidget *button, gpointer user_data) { UNUSED(button); UNUSED(user_data); FILE* fd; GtkTreeModel *list_store = gtk_combo_box_get_model(GTK_COMBO_BOX(textboxAlbumArt)); GtkTreeIter iter; gtk_combo_box_get_active_iter(GTK_COMBO_BOX(textboxAlbumArt), &iter); guint selected = 0; gtk_tree_model_get(list_store, &iter, COLUMN_INT, &selected, -1); GtkWidget *FileDialog = NULL; gchar *filename = NULL; LIBMTP_filesampledata_t *imagedata = NULL; LIBMTP_album_t *albumlist = LIBMTP_Get_Album_List_For_Storage(DeviceMgr.device, DeviceMgr.devicestorage->id); LIBMTP_album_t *albuminfo = albumlist; // Scan our albums, looking for the correct one. while (albuminfo != NULL) { if (albuminfo->album_id == selected) { // Found our album, let's get our data.. imagedata = albumGetArt(albuminfo); if (imagedata != NULL) { FileDialog = gtk_file_chooser_dialog_new(_("Save Album Art File"), GTK_WINDOW(AlbumArtDialog), GTK_FILE_CHOOSER_ACTION_SAVE, _("_Cancel"), GTK_RESPONSE_CANCEL, _("_Save"), GTK_RESPONSE_ACCEPT, NULL); gtk_file_chooser_set_local_only(GTK_FILE_CHOOSER(FileDialog), TRUE); // Set the default path to be the normal download folder. gtk_file_chooser_set_current_folder(GTK_FILE_CHOOSER(FileDialog), Preferences.fileSystemDownloadPath->str); // Set a default name to be the album.JPG gtk_file_chooser_set_current_name(GTK_FILE_CHOOSER(FileDialog), g_strdup_printf("%s.jpg", albuminfo->name)); if (gtk_dialog_run(GTK_DIALOG(FileDialog)) == GTK_RESPONSE_ACCEPT) { filename = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(FileDialog)); if (filename != NULL) { // The user has selected a file to save as, so do the deed. fd = fopen(filename, "w"); if (fd == NULL) { g_fprintf(stderr, _("Couldn't save image file %s\n"), filename); displayError(_("Couldn't save image file\n")); } else { fwrite(imagedata->data, imagedata->size, 1, fd); fclose(fd); } g_free(filename); } } // Clean up our image data and dialog. LIBMTP_destroy_filesampledata_t(imagedata); gtk_widget_destroy(FileDialog); } clearAlbumStruc(albumlist); return; } // Next album_entry albuminfo = albuminfo->next; } // Set a default image as we didn't find our album. clearAlbumStruc(albumlist); gtk_widget_destroy(FileDialog); } // end on_buttonAlbumArtDownload_activate() // ************************************************************************************************ void on_albumtextbox_activate(GtkComboBox *combobox, gpointer user_data) { UNUSED(combobox); UNUSED(user_data); GtkTreeModel *list_store = gtk_combo_box_get_model(GTK_COMBO_BOX(textboxAlbumArt)); GtkTreeIter iter; gtk_combo_box_get_active_iter(GTK_COMBO_BOX(textboxAlbumArt), &iter); guint selected = 0; gtk_tree_model_get(list_store, &iter, COLUMN_INT, &selected, -1); LIBMTP_album_t *albumlist = LIBMTP_Get_Album_List_For_Storage(DeviceMgr.device, DeviceMgr.devicestorage->id); LIBMTP_album_t *albuminfo = albumlist; while (albuminfo != NULL) { if (albuminfo->album_id == selected) { AlbumArtUpdateImage(albuminfo); clearAlbumStruc(albumlist); return; } // Text the album_entry albuminfo = albuminfo->next; } // Set a default image AlbumArtUpdateImage(NULL); clearAlbumStruc(albumlist); } gmtp-1.3.10/src/prefs.c0000644000175000001440000013513412655605137011553 00000000000000/* * * File: prefs.c * * Copyright (C) 2009-2013 Darran Kartaschew * * This file is part of the gMTP package. * * gMTP is free software; you can redistribute it and/or modify * it under the terms of the BSD License as included within the * file 'COPYING' located in the root directory * */ #include "prefs.h" #include "main.h" #include "interface.h" #include "callbacks.h" #include "preferences.h" Preferences_Struct Preferences; // ************************************************************************************************ /* This file has all logic for handling both GConf and GSetting environments. */ #if HAVE_GTK3 == 0 GConfClient *gconfconnect = NULL; guint gconf_callback_id; #else GSettings *gsettings_connect = NULL; #endif // ************************************************************************************************ void setupPreferences() { // We setup default Preferences. Preferences.ask_download_path = TRUE; Preferences.attemptDeviceConnectOnStart = FALSE; Preferences.suppress_album_errors = FALSE; Preferences.view_toolbar = TRUE; Preferences.retain_timestamp = FALSE; Preferences.toolbarStyle = g_string_new(g_getenv("both")); #ifdef WIN32 Preferences.fileSystemDownloadPath = g_string_new(g_getenv("HOMEPATH")); Preferences.fileSystemUploadPath = g_string_new(g_getenv("HOMEPATH")); #else Preferences.fileSystemDownloadPath = g_string_new(g_getenv("HOME")); Preferences.fileSystemUploadPath = g_string_new(g_getenv("HOME")); #endif // Now setup our gconf/gsettings callbacks; #if HAVE_GTK3 == 0 if (gconfconnect == NULL) gconfconnect = gconf_client_get_default(); if (gconf_client_dir_exists(gconfconnect, "/apps/gMTP", NULL) == TRUE) { gconf_client_add_dir(gconfconnect, "/apps/gMTP", GCONF_CLIENT_PRELOAD_ONELEVEL, NULL); gconf_callback_id = gconf_client_notify_add(gconfconnect, "/apps/gMTP", (GConfClientNotifyFunc) gconf_callback_func, NULL, NULL, NULL); } #else gsettings_connect = g_settings_new(GMTP_GSETTINGS_SCHEMA); g_signal_connect((gpointer) gsettings_connect, "changed", G_CALLBACK(gsettings_callback_func), NULL); #endif // Now attempt to read the config file from the user config folder. loadPreferences(); } // ************************************************************************************************ gboolean loadPreferences() { #if HAVE_GTK3 == 0 if (gconf_client_dir_exists(gconfconnect, "/apps/gMTP", NULL) == TRUE) { gconf_client_preload(gconfconnect, "/apps/gMTP", GCONF_CLIENT_PRELOAD_ONELEVEL, NULL); Preferences.ask_download_path = gconf_client_get_bool(gconfconnect, "/apps/gMTP/promptDownloadPath", NULL); Preferences.confirm_file_delete_op = gconf_client_get_bool(gconfconnect, "/apps/gMTP/confirmFileDelete", NULL); Preferences.prompt_overwrite_file_op = gconf_client_get_bool(gconfconnect, "/apps/gMTP/promptOverwriteFile", NULL); Preferences.attemptDeviceConnectOnStart = gconf_client_get_bool(gconfconnect, "/apps/gMTP/autoconnectdevice", NULL); Preferences.fileSystemDownloadPath = g_string_assign(Preferences.fileSystemDownloadPath, gconf_client_get_string(gconfconnect, "/apps/gMTP/DownloadPath", NULL)); Preferences.fileSystemUploadPath = g_string_assign(Preferences.fileSystemUploadPath, gconf_client_get_string(gconfconnect, "/apps/gMTP/UploadPath", NULL)); Preferences.auto_add_track_to_playlist = gconf_client_get_bool(gconfconnect, "/apps/gMTP/autoAddTrackPlaylist", NULL); Preferences.ignore_path_in_playlist_import = gconf_client_get_bool(gconfconnect, "/apps/gMTP/ignorepathinplaylist", NULL); Preferences.suppress_album_errors = gconf_client_get_bool(gconfconnect, "/apps/gMTP/suppressalbumerrors", NULL); Preferences.use_alt_access_method = gconf_client_get_bool(gconfconnect, "/apps/gMTP/alternateaccessmethod", NULL); Preferences.allmediaasfiles = gconf_client_get_bool(gconfconnect, "/apps/gMTP/allmediaasfiles", NULL); Preferences.view_size = gconf_client_get_bool(gconfconnect, "/apps/gMTP/viewFileSize", NULL); Preferences.view_type = gconf_client_get_bool(gconfconnect, "/apps/gMTP/viewFileType", NULL); Preferences.view_track_number = gconf_client_get_bool(gconfconnect, "/apps/gMTP/viewTrackNumber", NULL); Preferences.view_title = gconf_client_get_bool(gconfconnect, "/apps/gMTP/viewTitle", NULL); Preferences.view_artist = gconf_client_get_bool(gconfconnect, "/apps/gMTP/viewArtist", NULL); Preferences.view_album = gconf_client_get_bool(gconfconnect, "/apps/gMTP/viewAlbum", NULL); Preferences.view_year = gconf_client_get_bool(gconfconnect, "/apps/gMTP/viewYear", NULL); Preferences.view_genre = gconf_client_get_bool(gconfconnect, "/apps/gMTP/viewGenre", NULL); Preferences.view_duration = gconf_client_get_bool(gconfconnect, "/apps/gMTP/viewDuration", NULL); Preferences.view_folders = gconf_client_get_bool(gconfconnect, "/apps/gMTP/viewFolders", NULL); Preferences.view_toolbar = gconf_client_get_bool(gconfconnect, "/apps/gMTP/viewtoolbar", NULL); Preferences.retain_timestamp = gconf_client_get_bool(gconfconnect, "/apps/gMTP/retaintimestamp", NULL); Preferences.toolbarStyle = g_string_assign(Preferences.toolbarStyle, gconf_client_get_string(gconfconnect, "/apps/gMTP/toolbarstyle", NULL)); } else { g_fprintf(stderr, _("WARNING: gconf schema invalid, reverting to defaults. Please ensure schema is loaded in gconf database.\n")); } gconf_client_clear_cache(gconfconnect); #else if (gsettings_connect != NULL) { Preferences.ask_download_path = g_settings_get_boolean(gsettings_connect, "promptdownloadpath"); Preferences.confirm_file_delete_op = g_settings_get_boolean(gsettings_connect, "confirmfiledelete"); Preferences.prompt_overwrite_file_op = g_settings_get_boolean(gsettings_connect, "promptoverwritefile"); Preferences.attemptDeviceConnectOnStart = g_settings_get_boolean(gsettings_connect, "autoconnectdevice"); gchar* tmpStr = g_settings_get_string(gsettings_connect, "downloadpath"); Preferences.fileSystemDownloadPath = g_string_assign(Preferences.fileSystemDownloadPath, tmpStr); if(tmpStr != NULL) { g_free(tmpStr); } tmpStr = g_settings_get_string(gsettings_connect, "uploadpath"); Preferences.fileSystemUploadPath = g_string_assign(Preferences.fileSystemUploadPath, tmpStr); if(tmpStr != NULL) { g_free(tmpStr); } Preferences.auto_add_track_to_playlist = g_settings_get_boolean(gsettings_connect, "autoaddtrackplaylist"); Preferences.ignore_path_in_playlist_import = g_settings_get_boolean(gsettings_connect, "ignorepathinplaylist"); Preferences.suppress_album_errors = g_settings_get_boolean(gsettings_connect, "suppressalbumerrors"); Preferences.use_alt_access_method = g_settings_get_boolean(gsettings_connect, "alternateaccessmethod"); Preferences.allmediaasfiles = g_settings_get_boolean(gsettings_connect, "allmediaasfiles"); Preferences.view_size = g_settings_get_boolean(gsettings_connect, "viewfilesize"); Preferences.view_type = g_settings_get_boolean(gsettings_connect, "viewfiletype"); Preferences.view_track_number = g_settings_get_boolean(gsettings_connect, "viewtracknumber"); Preferences.view_title = g_settings_get_boolean(gsettings_connect, "viewtitle"); Preferences.view_artist = g_settings_get_boolean(gsettings_connect, "viewartist"); Preferences.view_album = g_settings_get_boolean(gsettings_connect, "viewalbum"); Preferences.view_year = g_settings_get_boolean(gsettings_connect, "viewyear"); Preferences.view_genre = g_settings_get_boolean(gsettings_connect, "viewgenre"); Preferences.view_duration = g_settings_get_boolean(gsettings_connect, "viewduration"); Preferences.view_folders = g_settings_get_boolean(gsettings_connect, "viewfolders"); Preferences.view_toolbar = g_settings_get_boolean(gsettings_connect, "viewtoolbar"); tmpStr = g_settings_get_string(gsettings_connect, "toolbarstyle"); Preferences.toolbarStyle = g_string_assign(Preferences.toolbarStyle, tmpStr); if(tmpStr != NULL) { g_free(tmpStr); } Preferences.retain_timestamp = g_settings_get_boolean(gsettings_connect, "retaintimestamp"); } #endif // Set some menu options and view states. gtk_tree_view_column_set_visible(column_Size, Preferences.view_size); gtk_tree_view_column_set_visible(column_Type, Preferences.view_type); gtk_tree_view_column_set_visible(column_Track_Number, Preferences.view_track_number); gtk_tree_view_column_set_visible(column_Title, Preferences.view_title); gtk_tree_view_column_set_visible(column_Artist, Preferences.view_artist); gtk_tree_view_column_set_visible(column_Album, Preferences.view_album); gtk_tree_view_column_set_visible(column_Year, Preferences.view_year); gtk_tree_view_column_set_visible(column_Genre, Preferences.view_genre); gtk_tree_view_column_set_visible(column_Duration, Preferences.view_duration); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(menu_view_filesize), Preferences.view_size); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(menu_view_filetype), Preferences.view_type); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(menu_view_track_number), Preferences.view_track_number); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(menu_view_title), Preferences.view_title); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(menu_view_artist), Preferences.view_artist); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(menu_view_album), Preferences.view_album); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(menu_view_year), Preferences.view_year); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(menu_view_genre), Preferences.view_genre); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(menu_view_duration), Preferences.view_duration); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(menu_view_folders), Preferences.view_folders); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(menu_view_toolbar), Preferences.view_toolbar); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(cViewSize), Preferences.view_size); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(cViewType), Preferences.view_type); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(cViewTrackNumber), Preferences.view_track_number); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(cViewTrackName), Preferences.view_title); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(cViewArtist), Preferences.view_artist); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(cViewAlbum), Preferences.view_album); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(cViewYear), Preferences.view_year); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(cViewGenre), Preferences.view_genre); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(cViewDuration), Preferences.view_duration); // Disable the folder view if in alt access mode... if (Preferences.use_alt_access_method) { if (gtk_check_menu_item_get_active(GTK_CHECK_MENU_ITEM(menu_view_folders))) { gtk_menu_item_activate(GTK_MENU_ITEM(menu_view_folders)); } gtk_widget_hide(scrolledwindowFolders); gtk_widget_set_sensitive(menu_view_folders, !Preferences.use_alt_access_method); } // Disable the use track information in the find field. if (Preferences.allmediaasfiles == TRUE || Preferences.use_alt_access_method == TRUE) { // Disable the find track meta data in findToolbar. gtk_widget_set_sensitive(GTK_WIDGET(FindToolbar_checkbutton_TrackInformation), FALSE); } else { gtk_widget_set_sensitive(GTK_WIDGET(FindToolbar_checkbutton_TrackInformation), TRUE); } // Show/hide the toolbar, and set the style. if (handlebox1 != NULL) { if (Preferences.view_toolbar) { gtk_widget_show(GTK_WIDGET(handlebox1)); } else { gtk_widget_hide(GTK_WIDGET(handlebox1)); } } if (toolbarMain != NULL) { if (g_ascii_strcasecmp(Preferences.toolbarStyle->str, "icon") == 0) { gtk_toolbar_set_style(GTK_TOOLBAR(toolbarMain), GTK_TOOLBAR_ICONS); } else if (g_ascii_strcasecmp(Preferences.toolbarStyle->str, "text") == 0) { gtk_toolbar_set_style(GTK_TOOLBAR(toolbarMain), GTK_TOOLBAR_TEXT); } else if (g_ascii_strcasecmp(Preferences.toolbarStyle->str, "both") == 0) { gtk_toolbar_set_style(GTK_TOOLBAR(toolbarMain), GTK_TOOLBAR_BOTH); } } return TRUE; } // ************************************************************************************************ gboolean savePreferences() { #if HAVE_GTK3 == 0 if (gconf_client_dir_exists(gconfconnect, "/apps/gMTP", NULL) == TRUE) { gconf_client_preload(gconfconnect, "/apps/gMTP", GCONF_CLIENT_PRELOAD_ONELEVEL, NULL); gconf_client_set_bool(gconfconnect, "/apps/gMTP/promptDownloadPath", Preferences.ask_download_path, NULL); gconf_client_set_bool(gconfconnect, "/apps/gMTP/autoconnectdevice", Preferences.attemptDeviceConnectOnStart, NULL); gconf_client_set_bool(gconfconnect, "/apps/gMTP/promptOverwriteFile", Preferences.prompt_overwrite_file_op, NULL); gconf_client_set_bool(gconfconnect, "/apps/gMTP/confirmFileDelete", Preferences.confirm_file_delete_op, NULL); gconf_client_set_string(gconfconnect, "/apps/gMTP/DownloadPath", Preferences.fileSystemDownloadPath->str, NULL); gconf_client_set_string(gconfconnect, "/apps/gMTP/UploadPath", Preferences.fileSystemUploadPath->str, NULL); gconf_client_set_bool(gconfconnect, "/apps/gMTP/autoAddTrackPlaylist", Preferences.auto_add_track_to_playlist, NULL); gconf_client_set_bool(gconfconnect, "/apps/gMTP/ignorepathinplaylist", Preferences.ignore_path_in_playlist_import, NULL); gconf_client_set_bool(gconfconnect, "/apps/gMTP/suppressalbumerrors", Preferences.suppress_album_errors, NULL); gconf_client_set_bool(gconfconnect, "/apps/gMTP/alternateaccessmethod", Preferences.use_alt_access_method, NULL); gconf_client_set_bool(gconfconnect, "/apps/gMTP/allmediaasfiles", Preferences.allmediaasfiles, NULL); gconf_client_set_bool(gconfconnect, "/apps/gMTP/viewFileSize", Preferences.view_size, NULL); gconf_client_set_bool(gconfconnect, "/apps/gMTP/viewFileType", Preferences.view_type, NULL); gconf_client_set_bool(gconfconnect, "/apps/gMTP/viewTrackNumber", Preferences.view_track_number, NULL); gconf_client_set_bool(gconfconnect, "/apps/gMTP/viewTitle", Preferences.view_title, NULL); gconf_client_set_bool(gconfconnect, "/apps/gMTP/viewArtist", Preferences.view_artist, NULL); gconf_client_set_bool(gconfconnect, "/apps/gMTP/viewAlbum", Preferences.view_album, NULL); gconf_client_set_bool(gconfconnect, "/apps/gMTP/viewYear", Preferences.view_year, NULL); gconf_client_set_bool(gconfconnect, "/apps/gMTP/viewGenre", Preferences.view_genre, NULL); gconf_client_set_bool(gconfconnect, "/apps/gMTP/viewDuration", Preferences.view_duration, NULL); gconf_client_set_bool(gconfconnect, "/apps/gMTP/viewFolders", Preferences.view_folders, NULL); gconf_client_set_bool(gconfconnect, "/apps/gMTP/viewtoolbar", Preferences.view_toolbar, NULL); gconf_client_set_string(gconfconnect, "/apps/gMTP/toolbarstyle", Preferences.toolbarStyle->str, NULL); gconf_client_set_bool(gconfconnect, "/apps/gMTP/retaintimestamp", Preferences.retain_timestamp, NULL); } else { g_fprintf(stderr, _("WARNING: gconf schema invalid, unable to save! Please ensure schema is loaded in gconf database.\n")); } gconf_client_suggest_sync(gconfconnect, NULL); gconf_client_clear_cache(gconfconnect); #else if (gsettings_connect != NULL) { g_settings_set_boolean(gsettings_connect, "promptdownloadpath", Preferences.ask_download_path); g_settings_set_boolean(gsettings_connect, "autoconnectdevice", Preferences.attemptDeviceConnectOnStart); g_settings_set_boolean(gsettings_connect, "promptoverwritefile", Preferences.prompt_overwrite_file_op); g_settings_set_boolean(gsettings_connect, "confirmfiledelete", Preferences.confirm_file_delete_op); g_settings_set_string(gsettings_connect, "downloadpath", Preferences.fileSystemDownloadPath->str); g_settings_set_string(gsettings_connect, "uploadpath", Preferences.fileSystemUploadPath->str); g_settings_set_boolean(gsettings_connect, "autoaddtrackplaylist", Preferences.auto_add_track_to_playlist); g_settings_set_boolean(gsettings_connect, "ignorepathinplaylist", Preferences.ignore_path_in_playlist_import); g_settings_set_boolean(gsettings_connect, "suppressalbumerrors", Preferences.suppress_album_errors); g_settings_set_boolean(gsettings_connect, "alternateaccessmethod", Preferences.use_alt_access_method); g_settings_set_boolean(gsettings_connect, "allmediaasfiles", Preferences.allmediaasfiles); g_settings_set_boolean(gsettings_connect, "viewfilesize", Preferences.view_size); g_settings_set_boolean(gsettings_connect, "viewfiletype", Preferences.view_type); g_settings_set_boolean(gsettings_connect, "viewtracknumber", Preferences.view_track_number); g_settings_set_boolean(gsettings_connect, "viewtitle", Preferences.view_title); g_settings_set_boolean(gsettings_connect, "viewartist", Preferences.view_artist); g_settings_set_boolean(gsettings_connect, "viewalbum", Preferences.view_album); g_settings_set_boolean(gsettings_connect, "viewyear", Preferences.view_year); g_settings_set_boolean(gsettings_connect, "viewgenre", Preferences.view_genre); g_settings_set_boolean(gsettings_connect, "viewduration", Preferences.view_duration); g_settings_set_boolean(gsettings_connect, "viewfolders", Preferences.view_folders); g_settings_set_boolean(gsettings_connect, "viewtoolbar", Preferences.view_toolbar); g_settings_set_string(gsettings_connect, "toolbarstyle", Preferences.toolbarStyle->str); g_settings_set_boolean(gsettings_connect, "retaintimestamp", Preferences.retain_timestamp); } g_settings_sync(); #endif return TRUE; } // ************************************************************************************************ #if HAVE_GTK3 == 0 void gconf_callback_func(GConfClient *client, guint cnxn_id, GConfEntry *entry, gpointer user_data) { UNUSED(client); UNUSED(cnxn_id); UNUSED(user_data); //g_printf("Gconf callback - %s\n", entry->key); if (g_ascii_strcasecmp(entry->key, "/apps/gMTP/promptDownloadPath") == 0) { //set our promptDownloadPath in Preferences Preferences.ask_download_path = (gboolean) gconf_value_get_bool((const GConfValue*) gconf_entry_get_value((const GConfEntry*) entry)); //g_printf("/apps/gMTP/promptDownloadPath = %d\n", Preferences.ask_download_path ); if (windowPrefsDialog != NULL) gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(checkbuttonDownloadPath), Preferences.ask_download_path); return; } if (g_ascii_strcasecmp(entry->key, "/apps/gMTP/autoconnectdevice") == 0) { //set our promptDownloadPath in Preferences Preferences.attemptDeviceConnectOnStart = (gboolean) gconf_value_get_bool((const GConfValue*) gconf_entry_get_value((const GConfEntry*) entry)); //g_printf("/apps/gMTP/autoconnectdevice = %d\n", Preferences.attemptDeviceConnectOnStart ); if (windowPrefsDialog != NULL) gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(checkbuttonDeviceConnect), Preferences.attemptDeviceConnectOnStart); return; } if (g_ascii_strcasecmp(entry->key, "/apps/gMTP/promptOverwriteFile") == 0) { //set our promptDownloadPath in Preferences Preferences.prompt_overwrite_file_op = (gboolean) gconf_value_get_bool((const GConfValue*) gconf_entry_get_value((const GConfEntry*) entry)); //g_printf("/apps/gMTP/promptOverwriteFile = %d\n", Preferences.prompt_overwrite_file_op ); if (windowPrefsDialog != NULL) gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(checkbuttonConfirmOverWriteFileOp), Preferences.prompt_overwrite_file_op); return; } if (g_ascii_strcasecmp(entry->key, "/apps/gMTP/confirmFileDelete") == 0) { //set our promptDownloadPath in Preferences Preferences.confirm_file_delete_op = (gboolean) gconf_value_get_bool((const GConfValue*) gconf_entry_get_value((const GConfEntry*) entry)); //g_printf("/apps/gMTP/confirmFileDelete = %d\n", Preferences.confirm_file_delete_op ); if (windowPrefsDialog != NULL) gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(checkbuttonConfirmFileOp), Preferences.confirm_file_delete_op); return; } if (g_ascii_strcasecmp(entry->key, "/apps/gMTP/DownloadPath") == 0) { //set our promptDownloadPath in Preferences Preferences.fileSystemDownloadPath = g_string_assign(Preferences.fileSystemDownloadPath, gconf_value_to_string((const GConfValue*) gconf_entry_get_value((const GConfEntry*) entry))); //g_printf("/apps/gMTP/DownloadPath = %s\n", Preferences.fileSystemDownloadPath->str ); if (windowPrefsDialog != NULL) gtk_entry_set_text(GTK_ENTRY(entryDownloadPath), Preferences.fileSystemDownloadPath->str); return; } if (g_ascii_strcasecmp(entry->key, "/apps/gMTP/UploadPath") == 0) { //set our promptDownloadPath in Preferences Preferences.fileSystemUploadPath = g_string_assign(Preferences.fileSystemUploadPath, gconf_value_to_string((const GConfValue*) gconf_entry_get_value((const GConfEntry*) entry))); //g_printf("/apps/gMTP/UploadPath = %s\n", Preferences.fileSystemUploadPath->str ); if (windowPrefsDialog != NULL) gtk_entry_set_text(GTK_ENTRY(entryUploadPath), Preferences.fileSystemUploadPath->str); return; } // View menu Options. if (g_ascii_strcasecmp(entry->key, "/apps/gMTP/viewFileSize") == 0) { //set our promptDownloadPath in Preferences Preferences.view_size = (gboolean) gconf_value_get_bool((const GConfValue*) gconf_entry_get_value((const GConfEntry*) entry)); gtk_tree_view_column_set_visible(column_Size, Preferences.view_size); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(menu_view_filesize), Preferences.view_size); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(cViewSize), Preferences.view_size); return; } if (g_ascii_strcasecmp(entry->key, "/apps/gMTP/viewFileType") == 0) { //set our promptDownloadPath in Preferences Preferences.view_type = (gboolean) gconf_value_get_bool((const GConfValue*) gconf_entry_get_value((const GConfEntry*) entry)); gtk_tree_view_column_set_visible(column_Type, Preferences.view_type); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(menu_view_filetype), Preferences.view_type); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(cViewType), Preferences.view_type); return; } if (g_ascii_strcasecmp(entry->key, "/apps/gMTP/viewTrackNumber") == 0) { //set our promptDownloadPath in Preferences Preferences.view_track_number = (gboolean) gconf_value_get_bool((const GConfValue*) gconf_entry_get_value((const GConfEntry*) entry)); gtk_tree_view_column_set_visible(column_Track_Number, Preferences.view_track_number); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(menu_view_track_number), Preferences.view_track_number); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(cViewTrackNumber), Preferences.view_track_number); return; } if (g_ascii_strcasecmp(entry->key, "/apps/gMTP/viewTitle") == 0) { //set our promptDownloadPath in Preferences Preferences.view_title = (gboolean) gconf_value_get_bool((const GConfValue*) gconf_entry_get_value((const GConfEntry*) entry)); gtk_tree_view_column_set_visible(column_Title, Preferences.view_title); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(menu_view_title), Preferences.view_title); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(cViewTrackName), Preferences.view_title); return; } if (g_ascii_strcasecmp(entry->key, "/apps/gMTP/viewArtist") == 0) { //set our promptDownloadPath in Preferences Preferences.view_artist = (gboolean) gconf_value_get_bool((const GConfValue*) gconf_entry_get_value((const GConfEntry*) entry)); gtk_tree_view_column_set_visible(column_Artist, Preferences.view_artist); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(menu_view_artist), Preferences.view_artist); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(cViewArtist), Preferences.view_artist); return; } if (g_ascii_strcasecmp(entry->key, "/apps/gMTP/viewAlbum") == 0) { //set our promptDownloadPath in Preferences Preferences.view_album = (gboolean) gconf_value_get_bool((const GConfValue*) gconf_entry_get_value((const GConfEntry*) entry)); gtk_tree_view_column_set_visible(column_Album, Preferences.view_album); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(menu_view_album), Preferences.view_album); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(cViewAlbum), Preferences.view_album); return; } if (g_ascii_strcasecmp(entry->key, "/apps/gMTP/viewYear") == 0) { //set our promptDownloadPath in Preferences Preferences.view_year = (gboolean) gconf_value_get_bool((const GConfValue*) gconf_entry_get_value((const GConfEntry*) entry)); gtk_tree_view_column_set_visible(column_Year, Preferences.view_year); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(menu_view_year), Preferences.view_year); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(cViewYear), Preferences.view_year); return; } if (g_ascii_strcasecmp(entry->key, "/apps/gMTP/viewGenre") == 0) { //set our promptDownloadPath in Preferences Preferences.view_genre = (gboolean) gconf_value_get_bool((const GConfValue*) gconf_entry_get_value((const GConfEntry*) entry)); gtk_tree_view_column_set_visible(column_Genre, Preferences.view_genre); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(menu_view_genre), Preferences.view_genre); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(cViewGenre), Preferences.view_genre); return; } if (g_ascii_strcasecmp(entry->key, "/apps/gMTP/viewDuration") == 0) { //set our promptDownloadPath in Preferences Preferences.view_duration = (gboolean) gconf_value_get_bool((const GConfValue*) gconf_entry_get_value((const GConfEntry*) entry)); gtk_tree_view_column_set_visible(column_Duration, Preferences.view_duration); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(menu_view_duration), Preferences.view_duration); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(cViewDuration), Preferences.view_duration); return; } if (g_ascii_strcasecmp(entry->key, "/apps/gMTP/viewFolders") == 0) { //set our promptDownloadPath in Preferences Preferences.view_folders = (gboolean) gconf_value_get_bool((const GConfValue*) gconf_entry_get_value((const GConfEntry*) entry)); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(menu_view_folders), Preferences.view_folders); if (!Preferences.use_alt_access_method) { if (Preferences.view_folders == TRUE) { gtk_widget_show(scrolledwindowFolders); } else { gtk_widget_hide(scrolledwindowFolders); } } else { // hide the folder view gtk_widget_hide(scrolledwindowFolders); } gtk_widget_set_sensitive(menu_view_folders, !Preferences.use_alt_access_method); return; } if (g_ascii_strcasecmp(entry->key, "/apps/gMTP/autoAddTrackPlaylist") == 0) { //set our promptDownloadPath in Preferences Preferences.auto_add_track_to_playlist = (gboolean) gconf_value_get_bool((const GConfValue*) gconf_entry_get_value((const GConfEntry*) entry)); if (windowPrefsDialog != NULL) gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(checkbuttonAutoAddTrackPlaylist), Preferences.auto_add_track_to_playlist); return; } if (g_ascii_strcasecmp(entry->key, "/apps/gMTP/ignorepathinplaylist") == 0) { //set our promptDownloadPath in Preferences Preferences.ignore_path_in_playlist_import = (gboolean) gconf_value_get_bool((const GConfValue*) gconf_entry_get_value((const GConfEntry*) entry)); if (windowPrefsDialog != NULL) gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(checkbuttonIgnorePathInPlaylist), Preferences.ignore_path_in_playlist_import); return; } if (g_ascii_strcasecmp(entry->key, "/apps/gMTP/suppressalbumerrors") == 0) { //set our promptDownloadPath in Preferences Preferences.suppress_album_errors = (gboolean) gconf_value_get_bool((const GConfValue*) gconf_entry_get_value((const GConfEntry*) entry)); if (windowPrefsDialog != NULL) gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(checkbuttonSuppressAlbumErrors), Preferences.suppress_album_errors); return; } if (g_ascii_strcasecmp(entry->key, "/apps/gMTP/alternateaccessmethod") == 0) { //set our promptDownloadPath in Preferences Preferences.use_alt_access_method = (gboolean) gconf_value_get_bool((const GConfValue*) gconf_entry_get_value((const GConfEntry*) entry)); if (windowPrefsDialog != NULL) gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(checkbuttonAltAccessMethod), Preferences.use_alt_access_method); // if we are connected, then disconnect the device... if (DeviceMgr.deviceConnected == TRUE) { on_deviceConnect_activate(NULL, NULL); displayInformation(_("Disconnected device due to access method change")); } // Disable the folder view... if (Preferences.use_alt_access_method) { if (gtk_check_menu_item_get_active(GTK_CHECK_MENU_ITEM(menu_view_folders))) { gtk_menu_item_activate(GTK_MENU_ITEM(menu_view_folders)); } } gtk_widget_set_sensitive(menu_view_folders, !Preferences.use_alt_access_method); if (Preferences.allmediaasfiles == TRUE || Preferences.use_alt_access_method == TRUE) { // Disable the find track meta data in findToolbar. gtk_widget_set_sensitive(GTK_WIDGET(FindToolbar_checkbutton_TrackInformation), FALSE); } else { gtk_widget_set_sensitive(GTK_WIDGET(FindToolbar_checkbutton_TrackInformation), TRUE); } return; } if (g_ascii_strcasecmp(entry->key, "/apps/gMTP/allmediaasfiles") == 0) { //set our all media as files preferences Preferences.allmediaasfiles = (gboolean) gconf_value_get_bool((const GConfValue*) gconf_entry_get_value((const GConfEntry*) entry)); if (windowPrefsDialog != NULL) gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(checkbuttonAllMediaAsFiles), Preferences.allmediaasfiles); if (Preferences.allmediaasfiles == TRUE || Preferences.use_alt_access_method == TRUE) { // Disable the find track meta data in findToolbar. gtk_widget_set_sensitive(GTK_WIDGET(FindToolbar_checkbutton_TrackInformation), FALSE); } else { gtk_widget_set_sensitive(GTK_WIDGET(FindToolbar_checkbutton_TrackInformation), TRUE); } return; } if (g_ascii_strcasecmp(entry->key, "/apps/gMTP/viewtoolbar") == 0) { //set our promptDownloadPath in Preferences Preferences.view_toolbar = (gboolean) gconf_value_get_bool((const GConfValue*) gconf_entry_get_value((const GConfEntry*) entry)); //if (windowPrefsDialog != NULL) gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(checkbuttonSuppressAlbumErrors), Preferences.suppress_album_errors); if (Preferences.view_toolbar) { gtk_widget_show(GTK_WIDGET(handlebox1)); } else { gtk_widget_hide(GTK_WIDGET(handlebox1)); } return; } if (g_ascii_strcasecmp(entry->key, "/apps/gMTP/toolbarstyle") == 0) { //set our promptDownloadPath in Preferences Preferences.toolbarStyle = g_string_assign(Preferences.toolbarStyle, gconf_value_to_string((const GConfValue*) gconf_entry_get_value((const GConfEntry*) entry))); if (g_ascii_strcasecmp(Preferences.toolbarStyle->str, "icon") == 0) { gtk_toolbar_set_style(GTK_TOOLBAR(toolbarMain), GTK_TOOLBAR_ICONS); } else if (g_ascii_strcasecmp(Preferences.toolbarStyle->str, "text") == 0) { gtk_toolbar_set_style(GTK_TOOLBAR(toolbarMain), GTK_TOOLBAR_TEXT); } else if (g_ascii_strcasecmp(Preferences.toolbarStyle->str, "both") == 0) { gtk_toolbar_set_style(GTK_TOOLBAR(toolbarMain), GTK_TOOLBAR_BOTH); } return; } if (g_ascii_strcasecmp(entry->key, "/apps/gMTP/retaintimestamp") == 0) { //set our timestamp retain in Preferences Preferences.retain_timestamp = (gboolean) gconf_value_get_bool((const GConfValue*) gconf_entry_get_value((const GConfEntry*) entry)); if (windowPrefsDialog != NULL) gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(checkbuttonRetainTimeStamp), Preferences.retain_timestamp); return; } g_fprintf(stderr, _("WARNING: gconf_callback_func() failed - we got a callback for a key thats not ours?\n")); } #else // ******************************************************************if(tmpStr != NULL) { g_free(tmpStr); }****************************** void gsettings_callback_func(GSettings *settings, gchar *key, gpointer user_data) { UNUSED(user_data); if (g_ascii_strcasecmp(key, "promptDownloadPath") == 0) { //set our promptDownloadPath in Preferences Preferences.ask_download_path = (gboolean) g_settings_get_boolean(settings, key); if (windowPrefsDialog != NULL) gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(checkbuttonDownloadPath), Preferences.ask_download_path); return; } if (g_ascii_strcasecmp(key, "autoconnectdevice") == 0) { //set our promptDownloadPath in Preferences Preferences.attemptDeviceConnectOnStart = (gboolean) g_settings_get_boolean(settings, key); //g_printf("/apps/gMTP/autoconnectdevice = %d\n", Preferences.attemptDeviceConnectOnStart ); if (windowPrefsDialog != NULL) gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(checkbuttonDeviceConnect), Preferences.attemptDeviceConnectOnStart); return; } if (g_ascii_strcasecmp(key, "promptOverwriteFile") == 0) { //set our promptDownloadPath in Preferences Preferences.prompt_overwrite_file_op = (gboolean) g_settings_get_boolean(settings, key); //g_printf("/apps/gMTP/promptOverwriteFile = %d\n", Preferences.prompt_overwrite_file_op ); if (windowPrefsDialog != NULL) gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(checkbuttonConfirmOverWriteFileOp), Preferences.prompt_overwrite_file_op); return; } if (g_ascii_strcasecmp(key, "confirmFileDelete") == 0) { //set our promptDownloadPath in Preferences Preferences.confirm_file_delete_op = (gboolean) g_settings_get_boolean(settings, key); //g_printf("/apps/gMTP/confirmFileDelete = %d\n", Preferences.confirm_file_delete_op ); if (windowPrefsDialog != NULL) gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(checkbuttonConfirmFileOp), Preferences.confirm_file_delete_op); return; } if (g_ascii_strcasecmp(key, "DownloadPath") == 0) { //set our promptDownloadPath in Preferences gchar * tmpStr = g_settings_get_string(settings, key); Preferences.fileSystemDownloadPath = g_string_assign(Preferences.fileSystemDownloadPath, tmpStr); if(tmpStr != NULL) { g_free(tmpStr); } //g_printf("/apps/gMTP/DownloadPath = %s\n", Preferences.fileSystemDownloadPath->str ); if (windowPrefsDialog != NULL) gtk_entry_set_text(GTK_ENTRY(entryDownloadPath), Preferences.fileSystemDownloadPath->str); return; } if (g_ascii_strcasecmp(key, "UploadPath") == 0) { //set our promptDownloadPath in Preferences gchar * tmpStr = g_settings_get_string(settings, key); Preferences.fileSystemUploadPath = g_string_assign(Preferences.fileSystemUploadPath, tmpStr); if(tmpStr != NULL) { g_free(tmpStr); } //g_printf("/apps/gMTP/UploadPath = %s\n", Preferences.fileSystemUploadPath->str ); if (windowPrefsDialog != NULL) gtk_entry_set_text(GTK_ENTRY(entryUploadPath), Preferences.fileSystemUploadPath->str); return; } // View menu Options. if (g_ascii_strcasecmp(key, "viewFileSize") == 0) { //set our promptDownloadPath in Preferences Preferences.view_size = (gboolean) g_settings_get_boolean(settings, key); gtk_tree_view_column_set_visible(column_Size, Preferences.view_size); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(menu_view_filesize), Preferences.view_size); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(cViewSize), Preferences.view_size); return; } if (g_ascii_strcasecmp(key, "viewFileType") == 0) { //set our promptDownloadPath in Preferences Preferences.view_type = (gboolean) g_settings_get_boolean(settings, key); gtk_tree_view_column_set_visible(column_Type, Preferences.view_type); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(menu_view_filetype), Preferences.view_type); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(cViewType), Preferences.view_type); return; } if (g_ascii_strcasecmp(key, "viewTrackNumber") == 0) { //set our promptDownloadPath in Preferences Preferences.view_track_number = (gboolean) g_settings_get_boolean(settings, key); gtk_tree_view_column_set_visible(column_Track_Number, Preferences.view_track_number); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(menu_view_track_number), Preferences.view_track_number); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(cViewTrackNumber), Preferences.view_track_number); return; } if (g_ascii_strcasecmp(key, "viewTitle") == 0) { //set our promptDownloadPath in Preferences Preferences.view_title = (gboolean) g_settings_get_boolean(settings, key); gtk_tree_view_column_set_visible(column_Title, Preferences.view_title); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(menu_view_title), Preferences.view_title); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(cViewTrackName), Preferences.view_title); return; } if (g_ascii_strcasecmp(key, "viewArtist") == 0) { //set our promptDownloadPath in Preferences Preferences.view_artist = (gboolean) g_settings_get_boolean(settings, key); gtk_tree_view_column_set_visible(column_Artist, Preferences.view_artist); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(menu_view_artist), Preferences.view_artist); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(cViewArtist), Preferences.view_artist); return; } if (g_ascii_strcasecmp(key, "viewAlbum") == 0) { //set our promptDownloadPath in Preferences Preferences.view_album = (gboolean) g_settings_get_boolean(settings, key); gtk_tree_view_column_set_visible(column_Album, Preferences.view_album); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(menu_view_album), Preferences.view_album); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(cViewAlbum), Preferences.view_album); return; } if (g_ascii_strcasecmp(key, "viewYear") == 0) { //set our promptDownloadPath in Preferences Preferences.view_year = (gboolean) g_settings_get_boolean(settings, key); gtk_tree_view_column_set_visible(column_Year, Preferences.view_year); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(menu_view_year), Preferences.view_year); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(cViewYear), Preferences.view_year); return; } if (g_ascii_strcasecmp(key, "viewGenre") == 0) { //set our promptDownloadPath in Preferences Preferences.view_genre = (gboolean) g_settings_get_boolean(settings, key); gtk_tree_view_column_set_visible(column_Genre, Preferences.view_genre); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(menu_view_genre), Preferences.view_genre); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(cViewGenre), Preferences.view_genre); return; } if (g_ascii_strcasecmp(key, "viewDuration") == 0) { //set our promptDownloadPath in Preferences Preferences.view_duration = (gboolean) g_settings_get_boolean(settings, key); gtk_tree_view_column_set_visible(column_Duration, Preferences.view_duration); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(menu_view_duration), Preferences.view_duration); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(cViewDuration), Preferences.view_duration); return; } if (g_ascii_strcasecmp(key, "viewFolders") == 0) { //set our promptDownloadPath in Preferences Preferences.view_folders = (gboolean) g_settings_get_boolean(settings, key); //gtk_tree_view_column_set_visible(column_Duration, Preferences.view_duration); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(menu_view_folders), Preferences.view_folders); if (!Preferences.use_alt_access_method) { if (Preferences.view_folders == TRUE) { gtk_widget_show(scrolledwindowFolders); } else { gtk_widget_hide(scrolledwindowFolders); } } else { // hide the folder view gtk_widget_hide(scrolledwindowFolders); } gtk_widget_set_sensitive(menu_view_folders, !Preferences.use_alt_access_method); return; } if (g_ascii_strcasecmp(key, "autoaddtrackplaylist") == 0) { //set our promptDownloadPath in Preferences Preferences.auto_add_track_to_playlist = (gboolean) g_settings_get_boolean(settings, key); if (windowPrefsDialog != NULL) gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(checkbuttonAutoAddTrackPlaylist), Preferences.auto_add_track_to_playlist); return; } if (g_ascii_strcasecmp(key, "ignorepathinplaylist") == 0) { //set our promptDownloadPath in Preferences Preferences.ignore_path_in_playlist_import = (gboolean) g_settings_get_boolean(settings, key); if (windowPrefsDialog != NULL) gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(checkbuttonIgnorePathInPlaylist), Preferences.ignore_path_in_playlist_import); return; } if (g_ascii_strcasecmp(key, "suppressalbumerrors") == 0) { //set our promptDownloadPath in Preferences Preferences.suppress_album_errors = (gboolean) g_settings_get_boolean(settings, key); if (windowPrefsDialog != NULL) gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(checkbuttonSuppressAlbumErrors), Preferences.suppress_album_errors); return; } if (g_ascii_strcasecmp(key, "allmediaasfiles") == 0) { //set our all media as files preferences Preferences.allmediaasfiles = (gboolean) g_settings_get_boolean(settings, key); if (windowPrefsDialog != NULL) gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(checkbuttonAllMediaAsFiles), Preferences.allmediaasfiles); if (Preferences.allmediaasfiles == TRUE || Preferences.use_alt_access_method == TRUE) { // Disable the find track meta data in findToolbar. gtk_widget_set_sensitive(GTK_WIDGET(FindToolbar_checkbutton_TrackInformation), FALSE); } else { gtk_widget_set_sensitive(GTK_WIDGET(FindToolbar_checkbutton_TrackInformation), TRUE); } return; } if (g_ascii_strcasecmp(key, "alternateaccessmethod") == 0) { //set our promptDownloadPath in Preferences Preferences.use_alt_access_method = (gboolean) g_settings_get_boolean(settings, key); if (windowPrefsDialog != NULL) gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(checkbuttonAltAccessMethod), Preferences.use_alt_access_method); // if we are connected, then disconnect the device... if (DeviceMgr.deviceConnected == TRUE) { on_deviceConnect_activate(NULL, NULL); displayInformation(_("Disconnected device due to access method change")); } // Disable the folder view... if (Preferences.use_alt_access_method) { if (gtk_check_menu_item_get_active(GTK_CHECK_MENU_ITEM(menu_view_folders))) { gtk_menu_item_activate(GTK_MENU_ITEM(menu_view_folders)); } } gtk_widget_set_sensitive(menu_view_folders, !Preferences.use_alt_access_method); if (Preferences.allmediaasfiles == TRUE || Preferences.use_alt_access_method == TRUE) { // Disable the find track meta data in findToolbar. gtk_widget_set_sensitive(GTK_WIDGET(FindToolbar_checkbutton_TrackInformation), FALSE); } else { gtk_widget_set_sensitive(GTK_WIDGET(FindToolbar_checkbutton_TrackInformation), TRUE); } return; } if (g_ascii_strcasecmp(key, "viewtoolbar") == 0) { //set our promptDownloadPath in Preferences Preferences.view_toolbar = (gboolean) g_settings_get_boolean(settings, key); //if (windowPrefsDialog != NULL) gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(checkbuttonSuppressAlbumErrors), Preferences.suppress_album_errors); if (Preferences.view_toolbar) { gtk_widget_show(GTK_WIDGET(handlebox1)); } else { gtk_widget_hide(GTK_WIDGET(handlebox1)); } return; } if (g_ascii_strcasecmp(key, "toolbarstyle") == 0) { //set our promptDownloadPath in Preferences gchar * tmpStr = g_settings_get_string(settings, key); Preferences.toolbarStyle = g_string_assign(Preferences.toolbarStyle, tmpStr); if(tmpStr != NULL) { g_free(tmpStr); } if (g_ascii_strcasecmp(Preferences.toolbarStyle->str, "icon") == 0) { gtk_toolbar_set_style(GTK_TOOLBAR(toolbarMain), GTK_TOOLBAR_ICONS); } else if (g_ascii_strcasecmp(Preferences.toolbarStyle->str, "text") == 0) { gtk_toolbar_set_style(GTK_TOOLBAR(toolbarMain), GTK_TOOLBAR_TEXT); } else if (g_ascii_strcasecmp(Preferences.toolbarStyle->str, "both") == 0) { gtk_toolbar_set_style(GTK_TOOLBAR(toolbarMain), GTK_TOOLBAR_BOTH); } return; } if (g_ascii_strcasecmp(key, "retaintimestamp") == 0) { //set our promptDownloadPath in Preferences Preferences.retain_timestamp = (gboolean) g_settings_get_boolean(settings, key); if (windowPrefsDialog != NULL) gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(checkbuttonRetainTimeStamp), Preferences.retain_timestamp); return; } g_fprintf(stderr, _("WARNING: gsettings_callback_func() failed - we got a callback for a key thats not ours?\n")); } #endif gmtp-1.3.10/src/properties.c0000644000175000001440000003320612655605137012625 00000000000000/* * * File: properties.c * * Copyright (C) 2009-2013 Darran Kartaschew * * This file is part of the gMTP package. * * gMTP is free software; you can redistribute it and/or modify * it under the terms of the BSD License as included within the * file 'COPYING' located in the root directory * */ #include "properties.h" #include "main.h" #include "interface.h" #include "mtp.h" GtkWidget *windowPropDialog; /** * Add a row of information to the table * @param table The table to add to * @param row The row ID * @param title The title for column 1 * @param field The label widget for column 2 */ void addRow(GtkWidget* table, gint row, char* title, GtkWidget** field); // ************************************************************************************************ GtkWidget* create_windowProperties() { GtkWidget *windowDialog; GtkWidget *windowNotebook; GtkWidget *windowBox; GtkWidget *tableDeviceInformation; GtkWidget *labelTableDeviceInformation; GtkWidget *tableRawInformation; GtkWidget *labelTableRawInformation; GtkWidget *labelName; GtkWidget *labelModel; GtkWidget *labelSerial; GtkWidget *labelBattery; GtkWidget *labelManufacturer; GtkWidget *labelDeviceVer; GtkWidget *labelStorage; GtkWidget *labelSupportedFormat; GtkWidget *labelDeviceVendor; GtkWidget *labelDeviceProduct; GtkWidget *labelVenID; GtkWidget *labelProdID; GtkWidget *labelBusLoc; GtkWidget *labelDevNum; GtkWidget *closeButtonBox; GtkWidget *buttonClose; GString *tmp_string2; gchar *tmp_string = NULL; windowDialog = gtk_window_new(GTK_WINDOW_TOPLEVEL); gchar * winTitle; winTitle = g_strconcat(DeviceMgr.devicename->str, _(" Properties"), NULL); gtk_window_set_title(GTK_WINDOW(windowDialog), winTitle); gtk_window_set_modal(GTK_WINDOW(windowDialog), TRUE); gtk_window_set_transient_for(GTK_WINDOW(windowDialog), GTK_WINDOW(windowMain)); gtk_window_set_position(GTK_WINDOW(windowDialog), GTK_WIN_POS_CENTER_ON_PARENT); gtk_window_set_resizable(GTK_WINDOW(windowDialog), FALSE); gtk_window_set_type_hint(GTK_WINDOW(windowDialog), GDK_WINDOW_TYPE_HINT_DIALOG); gtk_container_set_border_width(GTK_CONTAINER(windowDialog), 5); g_free(winTitle); // Main Window #if HAVE_GTK3 == 0 windowBox = gtk_vbox_new(FALSE, 5); #else windowBox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 5); #endif gtk_container_set_border_width(GTK_CONTAINER(windowBox), 5); gtk_widget_show(windowBox); gtk_container_add(GTK_CONTAINER(windowDialog), windowBox); // Device Properties Pane labelTableDeviceInformation = gtk_label_new(""); gtk_label_set_markup(GTK_LABEL(labelTableDeviceInformation), _("MTP Device Properties")); gtk_widget_show(labelTableDeviceInformation); // Raw Device Information Pane labelTableRawInformation = gtk_label_new(""); gtk_label_set_markup(GTK_LABEL(labelTableRawInformation), _("Raw Device Information")); gtk_widget_show(labelTableRawInformation); // Start the Device Properties Pane. #if HAVE_GTK3 == 0 tableDeviceInformation = gtk_table_new(10, 2, FALSE); gtk_widget_show(tableDeviceInformation); gtk_container_set_border_width(GTK_CONTAINER(tableDeviceInformation), 5); gtk_table_set_row_spacings(GTK_TABLE(tableDeviceInformation), 5); gtk_table_set_col_spacings(GTK_TABLE(tableDeviceInformation), 5); #else tableDeviceInformation = gtk_grid_new(); gtk_widget_show(tableDeviceInformation); gtk_container_set_border_width(GTK_CONTAINER(tableDeviceInformation), 5); gtk_grid_set_row_spacing(GTK_GRID(tableDeviceInformation), 5); gtk_grid_set_column_spacing(GTK_GRID(tableDeviceInformation), 5); #endif // Start the Raw Device Pane. #if HAVE_GTK3 == 0 tableRawInformation = gtk_table_new(6, 2, FALSE); gtk_widget_show(tableRawInformation); gtk_container_set_border_width(GTK_CONTAINER(tableRawInformation), 5); gtk_table_set_row_spacings(GTK_TABLE(tableRawInformation), 5); gtk_table_set_col_spacings(GTK_TABLE(tableRawInformation), 5); #else tableRawInformation = gtk_grid_new(); gtk_widget_show(tableRawInformation); gtk_container_set_border_width(GTK_CONTAINER(tableRawInformation), 5); gtk_grid_set_row_spacing(GTK_GRID(tableRawInformation), 5); gtk_grid_set_column_spacing(GTK_GRID(tableRawInformation), 5); #endif // Build the Notebook. windowNotebook = gtk_notebook_new(); gtk_widget_show(windowNotebook); gtk_notebook_append_page(GTK_NOTEBOOK(windowNotebook), tableDeviceInformation, labelTableDeviceInformation); gtk_notebook_append_page(GTK_NOTEBOOK(windowNotebook), tableRawInformation, labelTableRawInformation); gtk_container_add(GTK_CONTAINER(windowBox), windowNotebook); // Start the content addRow(tableDeviceInformation, 0, _("Name:"), &labelName); addRow(tableDeviceInformation, 1, _("Model Number:"), &labelModel); addRow(tableDeviceInformation, 2, _("Serial Number:"), &labelSerial); addRow(tableDeviceInformation, 3, _("Device Version:"), &labelDeviceVer); addRow(tableDeviceInformation, 4, _("Manufacturer:"), &labelManufacturer); addRow(tableDeviceInformation, 5, _("Battery Level:"), &labelBattery); addRow(tableDeviceInformation, 6, _("Storage:"), &labelStorage); addRow(tableDeviceInformation, 7, _("Supported Formats:"), &labelSupportedFormat); addRow(tableRawInformation, 0, _("Vendor:"), &labelDeviceVendor); addRow(tableRawInformation, 1, _("Product:"), &labelDeviceProduct); addRow(tableRawInformation, 2, _("Vendor ID:"), &labelVenID); addRow(tableRawInformation, 3, _("Product ID:"), &labelProdID); addRow(tableRawInformation, 4, _("Device Number:"), &labelDevNum); addRow(tableRawInformation, 5, _("Bus Location:"), &labelBusLoc); #if HAVE_GTK3 == 0 closeButtonBox = gtk_hbox_new(FALSE, 0); buttonClose = gtk_button_new_from_stock(GTK_STOCK_CLOSE); #else closeButtonBox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 0); buttonClose = gtk_button_new_with_mnemonic(_("_Close")); #endif gtk_widget_show(closeButtonBox); gtk_box_pack_start(GTK_BOX(windowBox), closeButtonBox, TRUE, TRUE, 0); gtk_widget_show(buttonClose); gtk_box_pack_end(GTK_BOX(closeButtonBox), buttonClose, FALSE, FALSE, 0); g_signal_connect((gpointer) windowDialog, "destroy", G_CALLBACK(on_quitProp_activate), NULL); g_signal_connect((gpointer) buttonClose, "clicked", G_CALLBACK(on_quitProp_activate), NULL); // Now we need to update our strings for the information on the unit. gtk_label_set_text(GTK_LABEL(labelName), DeviceMgr.devicename->str); gtk_label_set_text(GTK_LABEL(labelModel), DeviceMgr.modelname->str); gtk_label_set_text(GTK_LABEL(labelSerial), DeviceMgr.serialnumber->str); if (DeviceMgr.maxbattlevel != 0) { tmp_string = g_strdup_printf("%d / %d (%d%%)", DeviceMgr.currbattlevel, DeviceMgr.maxbattlevel, (int) (((float) DeviceMgr.currbattlevel / (float) DeviceMgr.maxbattlevel) * 100.0)); } else { tmp_string = g_strdup_printf("%d / %d", DeviceMgr.currbattlevel, DeviceMgr.maxbattlevel); } gtk_label_set_text(GTK_LABEL(labelBattery), tmp_string); g_free(tmp_string); gtk_label_set_text(GTK_LABEL(labelManufacturer), DeviceMgr.manufacturername->str); gtk_label_set_text(GTK_LABEL(labelDeviceVer), DeviceMgr.deviceversion->str); if (DeviceMgr.storagedeviceID == MTP_DEVICE_SINGLE_STORAGE) { tmp_string = g_strdup_printf(_("%d MB (free) / %d MB (total)"), (int) (DeviceMgr.devicestorage->FreeSpaceInBytes / MEGABYTE), (int) (DeviceMgr.devicestorage->MaxCapacity / MEGABYTE)); gtk_label_set_text(GTK_LABEL(labelStorage), tmp_string); g_free(tmp_string); } else { tmp_string2 = g_string_new(""); // Cycle through each storage device and list the name and capacity. LIBMTP_devicestorage_t* deviceStorage = DeviceMgr.device->storage; while (deviceStorage != NULL) { if (tmp_string2->len > 0) tmp_string2 = g_string_append(tmp_string2, "\n"); if (deviceStorage->StorageDescription != NULL) { tmp_string2 = g_string_append(tmp_string2, deviceStorage->StorageDescription); } else { tmp_string2 = g_string_append(tmp_string2, deviceStorage->VolumeIdentifier); } tmp_string = g_strdup_printf(" : %d MB (free) / %d MB (total)", (int) (deviceStorage->FreeSpaceInBytes / MEGABYTE), (int) (deviceStorage->MaxCapacity / MEGABYTE)); tmp_string2 = g_string_append(tmp_string2, tmp_string); g_free(tmp_string); deviceStorage = deviceStorage->next; } gtk_label_set_text(GTK_LABEL(labelStorage), tmp_string2->str); g_string_free(tmp_string2, TRUE); } tmp_string2 = g_string_new(""); // Build a string for us to use. gint i = 0; for (i = 0; i < DeviceMgr.filetypes_len; i++) { if (tmp_string2->len > 0) tmp_string2 = g_string_append(tmp_string2, "\n"); tmp_string2 = g_string_append(tmp_string2, LIBMTP_Get_Filetype_Description(DeviceMgr.filetypes[i])); } gtk_label_set_text(GTK_LABEL(labelSupportedFormat), tmp_string2->str); g_string_free(tmp_string2, TRUE); // This is our raw information. gtk_label_set_text(GTK_LABEL(labelDeviceVendor), DeviceMgr.Vendor->str); gtk_label_set_text(GTK_LABEL(labelDeviceProduct), DeviceMgr.Product->str); tmp_string = g_strdup_printf("0x%x", DeviceMgr.VendorID); gtk_label_set_text(GTK_LABEL(labelVenID), tmp_string); g_free(tmp_string); tmp_string = g_strdup_printf("0x%x", DeviceMgr.ProductID); gtk_label_set_text(GTK_LABEL(labelProdID), tmp_string); g_free(tmp_string); tmp_string = g_strdup_printf("0x%x", DeviceMgr.BusLoc); gtk_label_set_text(GTK_LABEL(labelBusLoc), tmp_string); g_free(tmp_string); tmp_string = g_strdup_printf("0x%x", DeviceMgr.DeviceID); gtk_label_set_text(GTK_LABEL(labelDevNum), tmp_string); g_free(tmp_string); return windowDialog; } // ************************************************************************************************ void on_deviceProperties_activate(GtkWidget *item, gpointer user_data) { UNUSED(item); UNUSED(user_data); gchar *tmp_string; // We confirm our device properties, this should setup the device structure information we use below. deviceProperties(); // Update the status bar with our information. if (DeviceMgr.storagedeviceID == MTP_DEVICE_SINGLE_STORAGE) { tmp_string = g_strdup_printf(_("Connected to %s - %d MB free"), DeviceMgr.devicename->str, (int) (DeviceMgr.devicestorage->FreeSpaceInBytes / MEGABYTE)); } else { if (DeviceMgr.devicestorage->StorageDescription != NULL) { tmp_string = g_strdup_printf(_("Connected to %s (%s) - %d MB free"), DeviceMgr.devicename->str, DeviceMgr.devicestorage->StorageDescription, (int) (DeviceMgr.devicestorage->FreeSpaceInBytes / MEGABYTE)); } else { tmp_string = g_strdup_printf(_("Connected to %s - %d MB free"), DeviceMgr.devicename->str, (int) (DeviceMgr.devicestorage->FreeSpaceInBytes / MEGABYTE)); } } statusBarSet(tmp_string); g_free(tmp_string); // No idea how this could come about, but we should take it into account so we don't have a // memleak due to recreating the window multiple times. if (windowPropDialog != NULL) { gtk_widget_hide(windowPropDialog); gtk_widget_destroy(windowPropDialog); } // Create and show the dialog box. windowPropDialog = create_windowProperties(); gtk_widget_show(GTK_WIDGET(windowPropDialog)); } // end on_deviceProperties_activate() // ************************************************************************************************ void on_quitProp_activate(GtkWidget *item, gpointer user_data) { UNUSED(item); UNUSED(user_data); gtk_widget_hide(windowPropDialog); gtk_widget_destroy(windowPropDialog); windowPropDialog = NULL; } // end on_quitProp_activate() // ************************************************************************************************ void addRow(GtkWidget* table, gint row, char* title, GtkWidget** field) { GtkWidget* label = gtk_label_new(NULL); gtk_label_set_markup(GTK_LABEL(label), title); gtk_widget_show(label); #if HAVE_GTK3 == 0 gtk_table_attach(GTK_TABLE(table), label, 0, 1, row, row + 1, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (0), 0, 0); #else gtk_grid_attach(GTK_GRID(table), label, 0, row, 1, 1); #endif gtk_label_set_justify(GTK_LABEL(label), GTK_JUSTIFY_RIGHT); #if HAVE_GTK3 == 0 gtk_misc_set_alignment(GTK_MISC(label), 0, 0); #else gtk_widget_set_halign(GTK_WIDGET(label), GTK_ALIGN_START); gtk_widget_set_valign(GTK_WIDGET(label), GTK_ALIGN_START); #endif GtkWidget* fieldLabel = gtk_label_new(("")); *field = fieldLabel; gtk_widget_show(fieldLabel); #if HAVE_GTK3 == 0 gtk_table_attach(GTK_TABLE(table), fieldLabel, 1, 2, row, row + 1, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (0), 0, 0); #else gtk_grid_attach(GTK_GRID(table), fieldLabel, 1, row, 1, 1); #endif #if HAVE_GTK3 == 0 gtk_misc_set_alignment(GTK_MISC(fieldLabel), 0, 0.5); #else gtk_widget_set_halign(GTK_WIDGET(fieldLabel), GTK_ALIGN_START); gtk_widget_set_valign(GTK_WIDGET(fieldLabel), GTK_ALIGN_CENTER); #endif } gmtp-1.3.10/src/dnd.c0000644000175000001440000002441612655605137011201 00000000000000/* * * File: dnd.c * * Copyright (C) 2009-2013 Darran Kartaschew * * This file is part of the gMTP package. * * gMTP is free software; you can redistribute it and/or modify * it under the terms of the BSD License as included within the * file 'COPYING' located in the root directory * */ /* This file contains all the Drag and Drop Functionality for gMTP */ #include "dnd.h" #include #include #include "main.h" #include "interface.h" #include "mtp.h" #include "prefs.h" #include "progress.h" GtkTargetEntry _gmtp_drop_types[] = { {"text/plain", 0, GMTP_DROP_PLAINTEXT}, {"text/uri-list", 0, GMTP_DROP_URLENCODED}, {"STRING", 0, GMTP_DROP_STRING} }; // ************************************************************************************************ /** * Callback to handle the initial drop of data into gmtp. * @param widget * @param context * @param x * @param y * @param selection_data * @param info * @param time * @param user_data */ void gmtp_drag_data_received(GtkWidget *widget, GdkDragContext *context, gint x, gint y, GtkSelectionData *selection_data, guint info, guint time, gpointer user_data) { UNUSED(widget); UNUSED(context); UNUSED(x); UNUSED(y); UNUSED(info); UNUSED(time); UNUSED(user_data); #if HAVE_GTK3 == 0 if (selection_data->data) #else if (gtk_selection_data_get_data(selection_data)) #endif { GSList* files; displayProgressBar(_("File Upload")); #if HAVE_GTK3 == 0 files = getFilesListURI((gchar *) selection_data->data); #else files = getFilesListURI((gchar *) gtk_selection_data_get_data(selection_data)); #endif // Set the Playlist ID to be asked if needed. if (Preferences.auto_add_track_to_playlist == TRUE) { addTrackPlaylistID = GMTP_REQUIRE_PLAYLIST; } else { addTrackPlaylistID = GMTP_NO_PLAYLIST; } AlbumErrorIgnore = FALSE; // Add the files. if (files != NULL) { g_slist_foreach(files, (GFunc) __filesAdd, NULL); } destroyProgressBar(); // Now clear the GList; g_slist_foreach(files, (GFunc) g_free, NULL); g_slist_free(files); // Now do a device rescan to see the new files. deviceRescan(); deviceoverwriteop = MTP_ASK; } } // gmtp_drag_data_received() // ************************************************************************************************ /** * Callback to handle the initial drop of data into gmtp. * @param widget * @param context * @param x * @param y * @param selection_data * @param info * @param time * @param user_data */ void gmtpfolders_drag_data_received(GtkWidget * widget, GdkDragContext * context, gint x, gint y, GtkSelectionData * selection_data, guint info, guint time, gpointer user_data) { UNUSED(widget); UNUSED(context); UNUSED(x); UNUSED(y); UNUSED(info); UNUSED(time); UNUSED(user_data); //uint32_t mainFolderID = 0; //int64_t targetFolderID = 0; g_signal_stop_emission_by_name((gpointer) treeviewFolders, "drag-data-received"); #if HAVE_GTK3 == 0 if (selection_data->data) #else if (gtk_selection_data_get_data(selection_data)) #endif { //mainFolderID = currentFolderID; // Get our target folder ID... int64_t targetFolderID = folderListGetSelection(); if (targetFolderID != -1) { currentFolderID = targetFolderID; GSList* files; displayProgressBar(_("File Upload")); #if HAVE_GTK3 == 0 files = getFilesListURI((gchar *) selection_data->data); #else files = getFilesListURI((gchar *) gtk_selection_data_get_data(selection_data)); #endif // Set the Playlist ID to be asked if needed. if (Preferences.auto_add_track_to_playlist == TRUE) { addTrackPlaylistID = GMTP_REQUIRE_PLAYLIST; } else { addTrackPlaylistID = GMTP_NO_PLAYLIST; } AlbumErrorIgnore = FALSE; // Add the files. if (files != NULL) { //displayProgressBar(_("File Upload")); g_slist_foreach(files, (GFunc) __filesAdd, NULL); //destroyProgressBar(); } destroyProgressBar(); // Now clear the GList; g_slist_foreach(files, (GFunc) g_free, NULL); g_slist_free(files); // Now do a device rescan to see the new files. // Restore our current Folder ID. //currentFolderID = mainFolderID; } deviceRescan(); deviceoverwriteop = MTP_ASK; } } // ************************************************************************************************ /** * Handle drag motion across the folder widget. * @param widget * @param context * @param x * @param y * @param time */ void gmtpfolders_drag_motion_received(GtkWidget *widget, GdkDragContext *context, gint x, gint y, guint time) { UNUSED(context); UNUSED(time); GtkTreePath *path; GtkTreeViewDropPosition pos; if (gtk_tree_view_get_dest_row_at_pos(GTK_TREE_VIEW(widget), x, y, &path, &pos)) { // Highlight the current row... gtk_tree_selection_select_path(folderSelection, path); } } // ************************************************************************************************ /** * Take the raw list of filenames as given via a Drop operation, and return a nicely formatted * list of filenames. * @param rawdata * @return GList of all individual filenames. */ GSList* getFilesListURI(gchar* rawdata) { // The data is just the data in string form // Files are in the URI form of file:///filename\n so just look for those, // and if found see if a folder or not? // Then create a slist of those and use filesAdd() to add them in . GSList* filelist; gchar* tmpstring; gchar *fullpath; gchar *token; const char delimit[] = "\n\r"; filelist = NULL; fullpath = g_strdup(rawdata); token = strtok(fullpath, delimit); while ((token != NULL)) { // Now test to see if we have it here... gchar *filepath = g_strdup(token); // See if we have a local file URI, otherwise discard. if (!g_ascii_strncasecmp(filepath, "file://", 7)) { tmpstring = g_filename_from_uri(filepath, NULL, NULL); // See if we have a file or a folder? if (g_file_test(tmpstring, G_FILE_TEST_IS_REGULAR) == TRUE) { // Add the file to the list filelist = g_slist_append(filelist, g_strdup(tmpstring)); } else { // Otherwise we have a folder, so add the folder and all it's contents. addFilesinFolder(tmpstring); } g_free(tmpstring); } token = strtok(NULL, delimit); g_free(filepath); } g_free(fullpath); return filelist; } // end getFilesListURI() // ************************************************************************************************ /** * Process a folder looking for all files in that folder, and upload all those files. * @param foldername */ void addFilesinFolder(gchar* foldername) { // foldername is the name of the folder as the absolute path with leading / // We save the currentFolderID, create a new folder on the device, // and set currentFolderID to the new folders ID. // Then scan the folder (on the filesystem) adding in files as needed. // Found folders are always added first, so files are copied from // the deepest level of the folder hierarchy first as well, and we // work our way back down towards to the initial folder that was // dragged in. // Lastly we restore the currentFolderID back to what it was. GDir *fileImageDir; GSList* filelist; gchar* relative_foldername; uint32_t oldFolderID; filelist = NULL; // Save our current working folder. oldFolderID = currentFolderID; // Get just the folder name, as we are given a full absolute path. relative_foldername = basename(foldername); if (relative_foldername != NULL) { // Determine if the folder already exists in the current location, otherwise create it. if (folderExists(relative_foldername, currentFolderID)) { currentFolderID = getFolder(relative_foldername, currentFolderID); } else { // Add our folder to the mtp device and set our new current working folder ID. currentFolderID = folderAdd(relative_foldername); } } // Start scanning the folder on the filesystem for our new files/folders. fileImageDir = g_dir_open(foldername, 0, NULL); // Now parse that directory looking for JPEG/PNG files (based on settings). // If we find one, we create a new GString and add it to the list. if (fileImageDir != NULL) { const gchar *filename = g_dir_read_name(fileImageDir); while (filename != NULL) { // See if a file or a folder? gchar *tmpstring = g_strconcat(foldername, "/", filename, NULL); if (g_file_test(tmpstring, G_FILE_TEST_IS_REGULAR) == TRUE) { // We have a regular file. So add it to the list. filelist = g_slist_append(filelist, g_strdup(tmpstring)); } else { if (g_file_test(tmpstring, G_FILE_TEST_IS_DIR) == TRUE) { // We have another folder so recursively call ourselves... addFilesinFolder(tmpstring); } } filename = g_dir_read_name(fileImageDir); g_free(tmpstring); } } // Set the Playlist ID to be asked if needed. if (Preferences.auto_add_track_to_playlist == TRUE) { addTrackPlaylistID = GMTP_REQUIRE_PLAYLIST; } else { addTrackPlaylistID = GMTP_NO_PLAYLIST; } AlbumErrorIgnore = FALSE; // Upload our given files in the current selected folder. if (filelist != NULL) { g_slist_foreach(filelist, (GFunc) __filesAdd, NULL); } // Now clear the GList; g_slist_foreach(filelist, (GFunc) g_free, NULL); g_slist_free(filelist); if (fileImageDir != NULL) g_dir_close(fileImageDir); // Restore our current working folder. currentFolderID = oldFolderID; } // end addFilesinFolder() gmtp-1.3.10/src/playlist.c0000644000175000001440000015527712655605137012307 00000000000000/* * * File: playlist.c * * Copyright (C) 2009-2014 Darran Kartaschew * * This file is part of the gMTP package. * * gMTP is free software; you can redistribute it and/or modify * it under the terms of the BSD License as included within the * file 'COPYING' located in the root directory * */ #include "playlist.h" #include "main.h" #include "mtp.h" #include "interface.h" #include "callbacks.h" GtkWidget *windowPlaylistDialog; // Playlist GtkWidget *comboboxentry_playlist; gint playlist_number = 0; gint comboboxentry_playlist_entries = 0; gint playlist_track_count = 0; gboolean runPlaylistHandler = TRUE; GtkWidget *treeview_Avail_Files; GtkWidget *treeview_Playlist_Files; GtkListStore *playlist_TrackList; GtkTreeSelection *playlist_TrackSelection; GList *playlist_Selection_TrackRowReferences = NULL; GtkListStore *playlist_PL_List; GtkTreeSelection *playlist_PL_Selection; GList *playlist_Selection_PL_RowReferences = NULL; // Buttons for playlist GtkWidget *button_Del_Playlist; GtkWidget *button_Export_Playlist; GtkWidget *button_File_Move_Up; GtkWidget *button_File_Move_Down; GtkWidget *button_Del_File; GtkWidget *button_Add_Files; // ************************************************************************************************ // Playlist support GtkWidget* create_windowPlaylist(void) { GtkWidget *window_playlist; GtkWidget *vbox1; GtkWidget *hbox1; GtkWidget *label_Playlist; GtkWidget *button_Add_Playlist; GtkWidget *button_Import_Playlist; //GtkWidget *alignment2; GtkWidget *hbox3; GtkWidget *image2; GtkWidget *label3; //GtkWidget *alignment1; GtkWidget *hbox2; GtkWidget *image1; GtkWidget *label2; GtkWidget *hbox4; GtkWidget *scrolledwindow2; GtkWidget *vbuttonbox1; // GtkWidget *alignment6; GtkWidget *hbox8; GtkWidget *image6; GtkWidget *label10; //GtkWidget *alignment7; GtkWidget *hbox9; GtkWidget *image7; GtkWidget *label11; GtkWidget *scrolledwindow3; GtkWidget *vbuttonbox2; GtkWidget *hbuttonbox1; GtkWidget *button_Close; #if HAVE_GTK3 == 0 GtkTooltips *tooltips; tooltips = gtk_tooltips_new(); #endif window_playlist = gtk_window_new(GTK_WINDOW_TOPLEVEL); gchar * winTitle; winTitle = g_strconcat(PACKAGE_NAME, _(" Playlists"), NULL); gtk_window_set_title(GTK_WINDOW(window_playlist), winTitle); gtk_window_set_modal(GTK_WINDOW(window_playlist), TRUE); gtk_window_set_resizable(GTK_WINDOW(window_playlist), TRUE); gtk_window_set_default_size(GTK_WINDOW(window_playlist), 760, 400); gtk_window_set_transient_for(GTK_WINDOW(window_playlist), GTK_WINDOW(windowMain)); gtk_window_set_position(GTK_WINDOW(window_playlist), GTK_WIN_POS_CENTER_ON_PARENT); gtk_window_set_skip_taskbar_hint(GTK_WINDOW(window_playlist), TRUE); gtk_window_set_type_hint(GTK_WINDOW(window_playlist), GDK_WINDOW_TYPE_HINT_DIALOG); gtk_container_set_border_width(GTK_CONTAINER(window_playlist), 5); g_free(winTitle); #if HAVE_GTK3 == 0 vbox1 = gtk_vbox_new(FALSE, 0); #else vbox1 = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0); #endif gtk_widget_show(vbox1); gtk_container_add(GTK_CONTAINER(window_playlist), vbox1); #if HAVE_GTK3 == 0 hbox1 = gtk_hbox_new(FALSE, 5); #else hbox1 = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 5); #endif gtk_widget_show(hbox1); gtk_box_pack_start(GTK_BOX(vbox1), hbox1, FALSE, TRUE, 5); label_Playlist = gtk_label_new(_("Current Playlist: ")); gtk_widget_show(label_Playlist); gtk_box_pack_start(GTK_BOX(hbox1), label_Playlist, FALSE, FALSE, 5); #if HAVE_GTK3 == 0 gtk_misc_set_padding(GTK_MISC(label_Playlist), 5, 0); #else #if GTK_CHECK_VERSION(3,12,0) gtk_widget_set_margin_start(label_Playlist, 5); gtk_widget_set_margin_end(label_Playlist, 5); #else gtk_widget_set_margin_left(label_Playlist, 5); gtk_widget_set_margin_right(label_Playlist, 5); #endif #endif #if HAVE_GTK3 == 0 comboboxentry_playlist = gtk_combo_box_new_text(); #else comboboxentry_playlist = gtk_combo_box_text_new(); #endif gtk_widget_show(comboboxentry_playlist); gtk_box_pack_start(GTK_BOX(hbox1), comboboxentry_playlist, TRUE, TRUE, 0); gtk_container_set_border_width(GTK_CONTAINER(comboboxentry_playlist), 5); button_Add_Playlist = gtk_button_new(); gtk_widget_show(button_Add_Playlist); gtk_box_pack_start(GTK_BOX(hbox1), button_Add_Playlist, FALSE, FALSE, 0); gtk_container_set_border_width(GTK_CONTAINER(button_Add_Playlist), 5); #if HAVE_GTK3 == 0 gtk_tooltips_set_tip(tooltips, button_Add_Playlist, _("Add New Playlist"), NULL); #else gtk_widget_set_tooltip_text(button_Add_Playlist, _("Add New Playlist")); #endif // alignment2 = gtk_alignment_new(0.5, 0.5, 0, 0); // gtk_widget_show(alignment2); // gtk_container_add(GTK_CONTAINER(button_Add_Playlist), alignment2); #if HAVE_GTK3 == 0 hbox3 = gtk_hbox_new(FALSE, 2); #else hbox3 = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 2); #endif gtk_widget_show(hbox3); gtk_container_add(GTK_CONTAINER(button_Add_Playlist), hbox3); #if HAVE_GTK3 == 0 image2 = gtk_image_new_from_stock(GTK_STOCK_ADD, GTK_ICON_SIZE_BUTTON); #else image2 = gtk_image_new_from_icon_name("list-add", GTK_ICON_SIZE_BUTTON); #endif gtk_widget_show(image2); gtk_box_pack_start(GTK_BOX(hbox3), image2, FALSE, FALSE, 0); label3 = gtk_label_new_with_mnemonic(_("Add")); gtk_widget_show(label3); gtk_box_pack_start(GTK_BOX(hbox3), label3, FALSE, FALSE, 0); button_Del_Playlist = gtk_button_new(); gtk_widget_show(button_Del_Playlist); gtk_box_pack_start(GTK_BOX(hbox1), button_Del_Playlist, FALSE, FALSE, 0); gtk_container_set_border_width(GTK_CONTAINER(button_Del_Playlist), 5); #if HAVE_GTK3 == 0 gtk_tooltips_set_tip(tooltips, button_Del_Playlist, _("Remove Current Selected Playlist"), NULL); #else gtk_widget_set_tooltip_text(button_Del_Playlist, _("Remove Current Selected Playlist")); #endif // alignment1 = gtk_alignment_new(0.5, 0.5, 0, 0); // gtk_widget_show(alignment1); // gtk_container_add(GTK_CONTAINER(button_Del_Playlist), alignment1); #if HAVE_GTK3 == 0 hbox2 = gtk_hbox_new(FALSE, 2); #else hbox2 = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 2); #endif gtk_widget_show(hbox2); gtk_container_add(GTK_CONTAINER(button_Del_Playlist), hbox2); #if HAVE_GTK3 == 0 image1 = gtk_image_new_from_stock(GTK_STOCK_DELETE, GTK_ICON_SIZE_BUTTON); #else image1 = gtk_image_new_from_icon_name("edit-delete", GTK_ICON_SIZE_BUTTON); #endif gtk_widget_show(image1); gtk_box_pack_start(GTK_BOX(hbox2), image1, FALSE, FALSE, 0); label2 = gtk_label_new_with_mnemonic(_("Del")); gtk_widget_show(label2); gtk_box_pack_start(GTK_BOX(hbox2), label2, FALSE, FALSE, 0); // Import Button #if HAVE_GTK3 == 0 button_Import_Playlist = gtk_button_new_from_stock(GTK_STOCK_OPEN); #else button_Import_Playlist = gtk_button_new_with_label(_("Open")); #endif gtk_widget_show(button_Import_Playlist); gtk_box_pack_start(GTK_BOX(hbox1), button_Import_Playlist, FALSE, FALSE, 0); gtk_container_set_border_width(GTK_CONTAINER(button_Import_Playlist), 5); #if HAVE_GTK3 == 0 gtk_tooltips_set_tip(tooltips, button_Import_Playlist, _("Import Playlist"), NULL); #else gtk_widget_set_tooltip_text(button_Import_Playlist, _("Import Playlist")); #endif // Export Button #if HAVE_GTK3 == 0 button_Export_Playlist = gtk_button_new_from_stock(GTK_STOCK_SAVE_AS); #else button_Export_Playlist = gtk_button_new_with_label(_("Save")); #endif gtk_widget_show(button_Export_Playlist); gtk_box_pack_start(GTK_BOX(hbox1), button_Export_Playlist, FALSE, FALSE, 0); gtk_container_set_border_width(GTK_CONTAINER(button_Export_Playlist), 5); #if HAVE_GTK3 == 0 gtk_tooltips_set_tip(tooltips, button_Export_Playlist, _("Export Playlist"), NULL); #else gtk_widget_set_tooltip_text(button_Export_Playlist, _("Export Playlist")); #endif // Scrolled Window. #if HAVE_GTK3 == 0 hbox4 = gtk_hbox_new(FALSE, 5); #else hbox4 = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 5); #endif gtk_widget_show(hbox4); gtk_box_pack_start(GTK_BOX(vbox1), hbox4, TRUE, TRUE, 0); scrolledwindow2 = gtk_scrolled_window_new(NULL, NULL); gtk_widget_show(scrolledwindow2); gtk_box_pack_start(GTK_BOX(hbox4), scrolledwindow2, TRUE, TRUE, 0); gtk_container_set_border_width(GTK_CONTAINER(scrolledwindow2), 5); treeview_Avail_Files = gtk_tree_view_new(); gtk_widget_show(treeview_Avail_Files); gtk_container_add(GTK_CONTAINER(scrolledwindow2), treeview_Avail_Files); gtk_container_set_border_width(GTK_CONTAINER(treeview_Avail_Files), 5); #if HAVE_GTK3 == 0 gtk_tooltips_set_tip(tooltips, treeview_Avail_Files, _("Device Audio Tracks"), NULL); #else gtk_widget_set_tooltip_text(treeview_Avail_Files, _("Device Audio Tracks")); #endif playlist_TrackSelection = gtk_tree_view_get_selection(GTK_TREE_VIEW(treeview_Avail_Files)); gtk_tree_selection_set_mode(playlist_TrackSelection, GTK_SELECTION_MULTIPLE); playlist_TrackList = gtk_list_store_new(NUM_TCOLUMNS, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_UINT, G_TYPE_STRING, G_TYPE_STRING); setupTrackList(GTK_TREE_VIEW(treeview_Avail_Files)); gtk_tree_view_set_model(GTK_TREE_VIEW(treeview_Avail_Files), GTK_TREE_MODEL(playlist_TrackList)); g_object_unref(playlist_TrackList); #if HAVE_GTK3 == 0 vbuttonbox1 = gtk_vbutton_box_new(); #else vbuttonbox1 = gtk_button_box_new(GTK_ORIENTATION_VERTICAL); #endif gtk_widget_show(vbuttonbox1); gtk_box_pack_start(GTK_BOX(hbox4), vbuttonbox1, FALSE, FALSE, 0); gtk_button_box_set_layout(GTK_BUTTON_BOX(vbuttonbox1), GTK_BUTTONBOX_SPREAD); button_Add_Files = gtk_button_new(); gtk_widget_show(button_Add_Files); gtk_container_add(GTK_CONTAINER(vbuttonbox1), button_Add_Files); #if HAVE_GTK3 == 0 gtk_tooltips_set_tip(tooltips, button_Add_Files, _("Add file to playlist"), NULL); #else gtk_widget_set_tooltip_text(button_Add_Files, _("Add file to playlist")); #endif // alignment6 = gtk_alignment_new(0.5, 0.5, 0, 0); // gtk_widget_show(alignment6); // gtk_container_add(GTK_CONTAINER(button_Add_Files), alignment6); #if HAVE_GTK3 == 0 hbox8 = gtk_hbox_new(FALSE, 2); #else hbox8 = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 2); #endif gtk_widget_show(hbox8); gtk_container_add(GTK_CONTAINER(button_Add_Files), hbox8); #if HAVE_GTK3 == 0 image6 = gtk_image_new_from_stock(GTK_STOCK_GO_FORWARD, GTK_ICON_SIZE_BUTTON); #else image6 = gtk_image_new_from_icon_name("go-next", GTK_ICON_SIZE_BUTTON); #endif gtk_widget_show(image6); gtk_box_pack_start(GTK_BOX(hbox8), image6, FALSE, FALSE, 0); label10 = gtk_label_new_with_mnemonic(_("Add File")); gtk_widget_show(label10); gtk_box_pack_start(GTK_BOX(hbox8), label10, FALSE, FALSE, 0); button_Del_File = gtk_button_new(); gtk_widget_show(button_Del_File); gtk_container_add(GTK_CONTAINER(vbuttonbox1), button_Del_File); #if HAVE_GTK3 == 0 gtk_tooltips_set_tip(tooltips, button_Del_File, _("Remove file from playlist"), NULL); #else gtk_widget_set_tooltip_text(button_Del_File, _("Remove file from playlist")); #endif // alignment7 = gtk_alignment_new(0.5, 0.5, 0, 0); // gtk_widget_show(alignment7); // gtk_container_add(GTK_CONTAINER(button_Del_File), alignment7); #if HAVE_GTK3 == 0 hbox9 = gtk_hbox_new(FALSE, 2); #else hbox9 = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 2); #endif gtk_widget_show(hbox9); gtk_container_add(GTK_CONTAINER(button_Del_File), hbox9); #if HAVE_GTK3 == 0 image7 = gtk_image_new_from_stock(GTK_STOCK_GO_BACK, GTK_ICON_SIZE_BUTTON); #else image7 = gtk_image_new_from_icon_name("go-previous", GTK_ICON_SIZE_BUTTON); #endif gtk_widget_show(image7); gtk_box_pack_start(GTK_BOX(hbox9), image7, FALSE, FALSE, 0); label11 = gtk_label_new_with_mnemonic(_("Del File")); gtk_widget_show(label11); gtk_box_pack_start(GTK_BOX(hbox9), label11, FALSE, FALSE, 0); scrolledwindow3 = gtk_scrolled_window_new(NULL, NULL); gtk_widget_show(scrolledwindow3); gtk_box_pack_start(GTK_BOX(hbox4), scrolledwindow3, TRUE, TRUE, 0); gtk_container_set_border_width(GTK_CONTAINER(scrolledwindow3), 5); treeview_Playlist_Files = gtk_tree_view_new(); gtk_widget_show(treeview_Playlist_Files); gtk_container_add(GTK_CONTAINER(scrolledwindow3), treeview_Playlist_Files); gtk_container_set_border_width(GTK_CONTAINER(treeview_Playlist_Files), 5); #if HAVE_GTK3 == 0 gtk_tooltips_set_tip(tooltips, treeview_Playlist_Files, _("Playlist Audio Tracks"), NULL); #else gtk_widget_set_tooltip_text(treeview_Playlist_Files, _("Playlist Audio Tracks")); #endif playlist_PL_Selection = gtk_tree_view_get_selection(GTK_TREE_VIEW(treeview_Playlist_Files)); gtk_tree_selection_set_mode(playlist_PL_Selection, GTK_SELECTION_MULTIPLE); playlist_PL_List = gtk_list_store_new(NUM_PL_COLUMNS, G_TYPE_UINT, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_UINT, G_TYPE_STRING, G_TYPE_STRING); setup_PL_List(GTK_TREE_VIEW(treeview_Playlist_Files)); gtk_tree_view_set_model(GTK_TREE_VIEW(treeview_Playlist_Files), GTK_TREE_MODEL(playlist_PL_List)); g_object_unref(playlist_PL_List); #if HAVE_GTK3 == 0 vbuttonbox2 = gtk_vbutton_box_new(); #else vbuttonbox2 = gtk_button_box_new(GTK_ORIENTATION_VERTICAL); #endif gtk_widget_show(vbuttonbox2); gtk_box_pack_start(GTK_BOX(hbox4), vbuttonbox2, FALSE, FALSE, 5); gtk_button_box_set_layout(GTK_BUTTON_BOX(vbuttonbox2), GTK_BUTTONBOX_SPREAD); #if HAVE_GTK3 == 0 button_File_Move_Up = gtk_button_new_from_stock(GTK_STOCK_GO_UP); #else #if GTK_CHECK_VERSION(3,10,0) button_File_Move_Up = gtk_button_new_from_icon_name("go-up", GTK_ICON_SIZE_BUTTON); #else button_File_Move_Up = gtk_button_new_from_stock(GTK_STOCK_GO_UP); #endif #endif gtk_widget_show(button_File_Move_Up); gtk_container_add(GTK_CONTAINER(vbuttonbox2), button_File_Move_Up); #if HAVE_GTK3 == 0 gtk_tooltips_set_tip(tooltips, button_File_Move_Up, _("Move selected file up in the playlist"), NULL); #else gtk_widget_set_tooltip_text(button_File_Move_Up, _("Move selected file up in the playlist")); #endif #if HAVE_GTK3 == 0 button_File_Move_Down = gtk_button_new_from_stock(GTK_STOCK_GO_DOWN); #else #if GTK_CHECK_VERSION(3,10,0) button_File_Move_Down = gtk_button_new_from_icon_name("go-down", GTK_ICON_SIZE_BUTTON); #else button_File_Move_Down = gtk_button_new_from_stock(GTK_STOCK_GO_DOWN); #endif #endif gtk_widget_show(button_File_Move_Down); gtk_container_add(GTK_CONTAINER(vbuttonbox2), button_File_Move_Down); #if HAVE_GTK3 == 0 gtk_tooltips_set_tip(tooltips, button_File_Move_Down, _("Move selected file down in the playlist"), NULL); #else gtk_widget_set_tooltip_text(button_File_Move_Down, _("Move selected file down in the playlist")); #endif #if HAVE_GTK3 == 0 hbuttonbox1 = gtk_hbutton_box_new(); #else hbuttonbox1 = gtk_button_box_new(GTK_ORIENTATION_HORIZONTAL); #endif gtk_widget_show(hbuttonbox1); gtk_box_pack_start(GTK_BOX(vbox1), hbuttonbox1, FALSE, FALSE, 5); gtk_button_box_set_layout(GTK_BUTTON_BOX(hbuttonbox1), GTK_BUTTONBOX_END); #if HAVE_GTK3 == 0 button_Close = gtk_button_new_from_stock(GTK_STOCK_CLOSE); #else button_Close = gtk_button_new_with_label(_("Close")); #endif gtk_widget_show(button_Close); gtk_container_add(GTK_CONTAINER(hbuttonbox1), button_Close); gtk_container_set_border_width(GTK_CONTAINER(button_Close), 5); g_signal_connect((gpointer) window_playlist, "destroy", G_CALLBACK(on_quitPlaylist_activate), NULL); g_signal_connect((gpointer) button_Close, "clicked", G_CALLBACK(on_quitPlaylist_activate), NULL); g_signal_connect((gpointer) button_Add_Playlist, "clicked", G_CALLBACK(on_Playlist_NewPlaylistButton_activate), NULL); g_signal_connect((gpointer) button_Import_Playlist, "clicked", G_CALLBACK(on_Playlist_ImportPlaylistButton_activate), NULL); g_signal_connect((gpointer) button_Export_Playlist, "clicked", G_CALLBACK(on_Playlist_ExportPlaylistButton_activate), NULL); g_signal_connect((gpointer) button_Del_Playlist, "clicked", G_CALLBACK(on_Playlist_DelPlaylistButton_activate), NULL); g_signal_connect((gpointer) button_Del_File, "clicked", G_CALLBACK(on_Playlist_DelFileButton_activate), NULL); g_signal_connect((gpointer) button_Add_Files, "clicked", G_CALLBACK(on_Playlist_AddFileButton_activate), NULL); g_signal_connect((gpointer) button_File_Move_Up, "clicked", G_CALLBACK(on_Playlist_FileUpButton_activate), NULL); g_signal_connect((gpointer) button_File_Move_Down, "clicked", G_CALLBACK(on_Playlist_FileDownButton_activate), NULL); g_signal_connect((gpointer) comboboxentry_playlist, "changed", G_CALLBACK(on_Playlist_Combobox_activate), NULL); return window_playlist; } // ************************************************************************************************ void on_editPlaylist_activate(GtkWidget *item, gpointer user_data) { UNUSED(item); UNUSED(user_data); displayPlaylistDialog(); } // end on_editPlaylist_activate() // ************************************************************************************************ void on_fileAddToPlaylist_activate(GtkWidget *item, gpointer user_data) { UNUSED(item); UNUSED(user_data); // Let's check to see if we have anything selected in our treeview? if (fileListGetSelection() == NULL) { displayInformation(_("No files/folders selected?")); return; } // Display the select playlist dialog; int32_t addTrackPlaylistID = displayAddTrackPlaylistDialog(TRUE); // Now add the actual files from the MTP device. if (addTrackPlaylistID != GMTP_NO_PLAYLIST) { fileListAddToPlaylist(fileListGetSelection(), addTrackPlaylistID); } } // ************************************************************************************************ void on_fileRemoveFromPlaylist_activate(GtkWidget *item, gpointer user_data) { UNUSED(item); UNUSED(user_data); // Let's check to see if we have anything selected in our treeview? if (fileListGetSelection() == NULL) { displayInformation(_("No files/folders selected?")); return; } // Display the select playlist dialog; int32_t addTrackPlaylistID = displayAddTrackPlaylistDialog(FALSE); // Now remove the actual files from the MTP device. if (addTrackPlaylistID != GMTP_NO_PLAYLIST) { fileListRemoveFromPlaylist(fileListGetSelection(), addTrackPlaylistID); } } // ************************************************************************************************ gboolean fileListRemoveFromPlaylist(GList *List, uint32_t PlaylistID) { LIBMTP_playlist_t *playlist = NULL; LIBMTP_playlist_t *node = NULL; node = devicePlayLists; while (node != NULL) { if (node->playlist_id == PlaylistID) { playlist = node; node = NULL; } else { node = node->next; } } if (playlist != NULL) { g_list_foreach(List, (GFunc) __fileRemoveFromPlaylist, (gpointer) & playlist); } return TRUE; } // ************************************************************************************************ void __fileAddToPlaylist(GtkTreeRowReference *Row, LIBMTP_playlist_t **playlist) { GtkTreePath *path; GtkTreeIter iter; uint32_t objectID; gboolean isFolder; LIBMTP_track_t *tracks = deviceTracks; // convert the referenece to a path and retrieve the iterator; path = gtk_tree_row_reference_get_path(Row); gtk_tree_model_get_iter(GTK_TREE_MODEL(fileList), &iter, path); // We have our Iter now. gtk_tree_model_get(GTK_TREE_MODEL(fileList), &iter, COL_ISFOLDER, &isFolder, COL_FILEID, &objectID, -1); if (isFolder == FALSE) { // Now add the file to the playlist. LIBMTP_track_t *node = NULL; // We need the playlist pointer, and the **track** pointer; while (tracks != NULL) { if (tracks->item_id == objectID) { node = tracks; tracks = NULL; } else { tracks = tracks->next; } } if (node != NULL) { playlistAddTrack(*(playlist), node); } } gtk_tree_path_free(path); } // ************************************************************************************************ void __fileRemoveFromPlaylist(GtkTreeRowReference *Row, LIBMTP_playlist_t **playlist) { GtkTreePath *path; GtkTreeIter iter; uint32_t objectID; gboolean isFolder; LIBMTP_track_t *tracks = deviceTracks; // convert the referenece to a path and retrieve the iterator; path = gtk_tree_row_reference_get_path(Row); gtk_tree_model_get_iter(GTK_TREE_MODEL(fileList), &iter, path); // We have our Iter now. gtk_tree_model_get(GTK_TREE_MODEL(fileList), &iter, COL_ISFOLDER, &isFolder, COL_FILEID, &objectID, -1); if (isFolder == FALSE) { // Now add the file to the playlist. LIBMTP_track_t *node = NULL; // We need the playlist pointer, and the **track** pointer; while (tracks != NULL) { if (tracks->item_id == objectID) { node = tracks; tracks = NULL; } else { tracks = tracks->next; } } if (node != NULL) { playlistRemoveTrack(*(playlist), node, MTP_PLAYLIST_FIRST_INSTANCE); } } gtk_tree_path_free(path); } // ************************************************************************************************ void displayPlaylistDialog(void) { //LIBMTP_playlist_t* tmpplaylist; LIBMTP_track_t* tmptrack; GtkTreeIter rowIter; //gchar * tmp_string; if (windowPlaylistDialog != NULL) { gtk_widget_hide(windowPlaylistDialog); gtk_widget_destroy(windowPlaylistDialog); } windowPlaylistDialog = create_windowPlaylist(); playlist_number = 0; // Clear the track and playlist lists; gtk_list_store_clear(GTK_LIST_STORE(playlist_PL_List)); gtk_list_store_clear(GTK_LIST_STORE(playlist_TrackList)); // Populate the playlist changebox. devicePlayLists = getPlaylists(); deviceTracks = getTracks(); setPlayListComboBox(); // Populate the available track list. if (deviceTracks != NULL) { // Populate the track list; tmptrack = deviceTracks; while (tmptrack != NULL) { if ((tmptrack->storage_id == DeviceMgr.devicestorage->id) && (LIBMTP_FILETYPE_IS_AUDIO(tmptrack->filetype))) { gtk_list_store_append(GTK_LIST_STORE(playlist_TrackList), &rowIter); gchar * tmp_string = g_strdup_printf("%d:%.2d", (int) ((tmptrack->duration / 1000) / 60), (int) ((tmptrack->duration / 1000) % 60)); gtk_list_store_set(GTK_LIST_STORE(playlist_TrackList), &rowIter, COL_ARTIST, tmptrack->artist, COL_ALBUM, tmptrack->album, COL_TRACKID, tmptrack->item_id, COL_TRACKNAME, tmptrack->title, COL_TRACKDURATION, tmp_string, -1); g_free(tmp_string); tmp_string = NULL; } tmptrack = tmptrack->next; } } gtk_widget_show(GTK_WIDGET(windowPlaylistDialog)); // Save the current selected playlist if needed. } // ************************************************************************************************ void setupTrackList(GtkTreeView *treeviewFiles) { GtkCellRenderer *renderer; GtkTreeViewColumn *column; // Artist renderer = gtk_cell_renderer_text_new(); column = gtk_tree_view_column_new_with_attributes(_("Artist"), renderer, "text", COL_ARTIST, NULL); gtk_tree_view_append_column(GTK_TREE_VIEW(treeviewFiles), column); gtk_tree_view_column_set_sort_column_id(column, COL_ARTIST); gtk_tree_view_column_set_resizable(column, TRUE); gtk_tree_view_column_set_spacing(column, 5); // Album column renderer = gtk_cell_renderer_text_new(); column = gtk_tree_view_column_new_with_attributes(_("Album"), renderer, "text", COL_ALBUM, NULL); gtk_tree_view_append_column(GTK_TREE_VIEW(treeviewFiles), column); gtk_tree_view_column_set_sort_column_id(column, COL_ALBUM); gtk_tree_view_column_set_resizable(column, TRUE); gtk_tree_view_column_set_spacing(column, 5); // Folder/FileID column renderer = gtk_cell_renderer_text_new(); column = gtk_tree_view_column_new_with_attributes("Object ID", renderer, "text", COL_TRACKID, NULL); gtk_tree_view_append_column(GTK_TREE_VIEW(treeviewFiles), column); gtk_tree_view_column_set_visible(column, FALSE); // Track column renderer = gtk_cell_renderer_text_new(); column = gtk_tree_view_column_new_with_attributes(_("Track"), renderer, "text", COL_TRACKNAME, NULL); gtk_tree_view_append_column(GTK_TREE_VIEW(treeviewFiles), column); gtk_tree_view_column_set_sort_column_id(column, COL_TRACKNAME); gtk_tree_view_column_set_resizable(column, TRUE); gtk_tree_view_column_set_visible(column, TRUE); // Track Duration renderer = gtk_cell_renderer_text_new(); column = gtk_tree_view_column_new_with_attributes(_("Duration"), renderer, "text", COL_TRACKDURATION, NULL); gtk_tree_view_append_column(GTK_TREE_VIEW(treeviewFiles), column); gtk_tree_view_column_set_resizable(column, TRUE); gtk_tree_view_column_set_visible(column, TRUE); } // ************************************************************************************************ void setup_PL_List(GtkTreeView *treeviewFiles) { GtkCellRenderer *renderer; GtkTreeViewColumn *column; // Order Num renderer = gtk_cell_renderer_text_new(); column = gtk_tree_view_column_new_with_attributes(_("Num"), renderer, "text", COL_PL_ORDER_NUM, NULL); gtk_tree_view_append_column(GTK_TREE_VIEW(treeviewFiles), column); //gtk_tree_view_column_set_sort_column_id(column, COL_PL_ORDER_NUM); gtk_tree_view_column_set_resizable(column, TRUE); gtk_tree_view_column_set_spacing(column, 5); // Artist renderer = gtk_cell_renderer_text_new(); column = gtk_tree_view_column_new_with_attributes(_("Artist"), renderer, "text", COL_PL_ARTIST, NULL); gtk_tree_view_append_column(GTK_TREE_VIEW(treeviewFiles), column); //gtk_tree_view_column_set_sort_column_id(column, COL_PL_ARTIST); gtk_tree_view_column_set_resizable(column, TRUE); gtk_tree_view_column_set_spacing(column, 5); // Album column renderer = gtk_cell_renderer_text_new(); column = gtk_tree_view_column_new_with_attributes(_("Album"), renderer, "text", COL_PL_ALBUM, NULL); gtk_tree_view_append_column(GTK_TREE_VIEW(treeviewFiles), column); //gtk_tree_view_column_set_sort_column_id(column, COL_PL_ALBUM); gtk_tree_view_column_set_resizable(column, TRUE); gtk_tree_view_column_set_spacing(column, 5); // Folder/FileID column renderer = gtk_cell_renderer_text_new(); column = gtk_tree_view_column_new_with_attributes("Object ID", renderer, "text", COL_PL_TRACKID, NULL); gtk_tree_view_append_column(GTK_TREE_VIEW(treeviewFiles), column); gtk_tree_view_column_set_visible(column, FALSE); // Track column renderer = gtk_cell_renderer_text_new(); column = gtk_tree_view_column_new_with_attributes(_("Track"), renderer, "text", COL_PL_TRACKNAME, NULL); gtk_tree_view_append_column(GTK_TREE_VIEW(treeviewFiles), column); //gtk_tree_view_column_set_sort_column_id(column, COL_TRACKNAME); gtk_tree_view_column_set_resizable(column, TRUE); gtk_tree_view_column_set_visible(column, TRUE); // Track Duration renderer = gtk_cell_renderer_text_new(); column = gtk_tree_view_column_new_with_attributes(_("Duration"), renderer, "text", COL_PL_TRACKDURATION, NULL); gtk_tree_view_append_column(GTK_TREE_VIEW(treeviewFiles), column); gtk_tree_view_column_set_resizable(column, TRUE); gtk_tree_view_column_set_visible(column, TRUE); } // ************************************************************************************************ void SetPlaylistButtonState(gboolean state) { gtk_widget_set_sensitive(GTK_WIDGET(button_Del_Playlist), state); gtk_widget_set_sensitive(GTK_WIDGET(button_Export_Playlist), state); gtk_widget_set_sensitive(GTK_WIDGET(button_File_Move_Up), state); gtk_widget_set_sensitive(GTK_WIDGET(button_File_Move_Down), state); gtk_widget_set_sensitive(GTK_WIDGET(button_Del_File), state); gtk_widget_set_sensitive(GTK_WIDGET(button_Add_Files), state); gtk_widget_set_sensitive(GTK_WIDGET(treeview_Avail_Files), state); gtk_widget_set_sensitive(GTK_WIDGET(treeview_Playlist_Files), state); } // ************************************************************************************************ void setPlayListComboBox(void) { LIBMTP_playlist_t* tmpplaylist = NULL; // We need to remove all entries in the combo box before starting. // This is a little bit of a hack - but does work. runPlaylistHandler = FALSE; // disable the handler from running on the control. // For some reason the "changed" event is triggered on a remove_all operation. #if HAVE_GTK3 == 0 //gtk_list_store_clear(GTK_LIST_STORE(gtk_combo_box_get_model(GTK_COMBO_BOX(comboboxentry_playlist)))); while (comboboxentry_playlist_entries-- > 0) { gtk_combo_box_remove_text(GTK_COMBO_BOX(comboboxentry_playlist), 0); } #else gtk_combo_box_text_remove_all(GTK_COMBO_BOX_TEXT(comboboxentry_playlist)); #endif comboboxentry_playlist_entries = 0; if (devicePlayLists != NULL) { // Populate the playlist dropdown box; //comboboxentry_playlist; tmpplaylist = devicePlayLists; while (tmpplaylist != NULL) { if (tmpplaylist->storage_id == DeviceMgr.devicestorage->id) { #if HAVE_GTK3 == 0 gtk_combo_box_append_text(GTK_COMBO_BOX(comboboxentry_playlist), (tmpplaylist->name)); #else //gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(comboboxentry_playlist), g_strdup(tmpplaylist->name)); gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(comboboxentry_playlist), (tmpplaylist->name)); #endif comboboxentry_playlist_entries++; } tmpplaylist = tmpplaylist->next; } } if (devicePlayLists != NULL) { // Set our playlist to the first one. gtk_combo_box_set_active(GTK_COMBO_BOX(comboboxentry_playlist), 0); playlist_number = 0; // Now populate the playlist screen with it's details. setPlaylistField(0); } else { playlist_number = -1; } // If no playlists set parts of dialog to disabled. if (devicePlayLists == NULL) { SetPlaylistButtonState(FALSE); } else { SetPlaylistButtonState(TRUE); } runPlaylistHandler = TRUE; } // ************************************************************************************************ void setPlaylistField(gint PlayListID) { // This function will populate the playlist_PL_List widget with the // details of the selected playlist. LIBMTP_playlist_t* tmpplaylist = devicePlayLists; gint tmpplaylistID = PlayListID; guint trackID = 0; GtkTreeIter rowIter; gchar * tmp_string = NULL; playlist_track_count = 0; gtk_list_store_clear(GTK_LIST_STORE(playlist_PL_List)); if (PlayListID > 0) { while (tmpplaylistID--) if (tmpplaylist->next != NULL) tmpplaylist = tmpplaylist->next; } // tmpplaylist points to our playlist; for (trackID = 0; trackID < tmpplaylist->no_tracks; trackID++) { LIBMTP_track_t *trackinfo; trackinfo = LIBMTP_Get_Trackmetadata(DeviceMgr.device, tmpplaylist->tracks[trackID]); if (trackinfo != NULL) { playlist_track_count++; gtk_list_store_append(GTK_LIST_STORE(playlist_PL_List), &rowIter); tmp_string = g_strdup_printf("%d:%.2d", (int) ((trackinfo->duration / 1000) / 60), (int) ((trackinfo->duration / 1000) % 60)); gtk_list_store_set(GTK_LIST_STORE(playlist_PL_List), &rowIter, COL_PL_ORDER_NUM, playlist_track_count, COL_PL_ARTIST, trackinfo->artist, COL_PL_ALBUM, trackinfo->album, COL_PL_TRACKID, trackinfo->item_id, COL_PL_TRACKNAME, trackinfo->title, COL_PL_TRACKDURATION, tmp_string, -1); g_free(tmp_string); tmp_string = NULL; LIBMTP_destroy_track_t(trackinfo); } else { LIBMTP_Dump_Errorstack(DeviceMgr.device); LIBMTP_Clear_Errorstack(DeviceMgr.device); } } } // ************************************************************************************************ gchar* displayPlaylistNewDialog(void) { GtkWidget *dialog, *hbox, *label, *textbox; dialog = gtk_dialog_new_with_buttons(_("New Playlist"), GTK_WINDOW(windowMain), (GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT), _("_OK"), GTK_RESPONSE_OK, _("_Cancel"), GTK_RESPONSE_CANCEL, NULL); gtk_dialog_set_default_response(GTK_DIALOG(dialog), GTK_RESPONSE_OK); gtk_window_set_resizable(GTK_WINDOW(dialog), FALSE); gtk_container_set_border_width(GTK_CONTAINER(dialog), 5); #if HAVE_GTK3 == 0 hbox = gtk_hbox_new(FALSE, 5); #else hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 5); #endif gtk_widget_show(hbox); #if HAVE_GTK3 == 0 gtk_container_add(GTK_CONTAINER(GTK_DIALOG(dialog)->vbox), hbox); #else gtk_container_add(GTK_CONTAINER(gtk_dialog_get_content_area(GTK_DIALOG(dialog))), hbox); #endif label = gtk_label_new(_("Playlist Name:")); gtk_widget_show(label); gtk_container_add(GTK_CONTAINER(hbox), label); textbox = gtk_entry_new(); gtk_widget_show(textbox); gtk_entry_set_max_length(GTK_ENTRY(textbox), 64); gtk_entry_set_has_frame(GTK_ENTRY(textbox), TRUE); gtk_entry_set_activates_default(GTK_ENTRY(textbox), TRUE); gtk_container_add(GTK_CONTAINER(hbox), textbox); gint result = gtk_dialog_run(GTK_DIALOG(dialog)); if (result == GTK_RESPONSE_OK) { gchar* textfield = g_strdup(gtk_entry_get_text(GTK_ENTRY(textbox))); if (strlen(textfield) == 0) { // We have an emtpy string. gtk_widget_destroy(dialog); return NULL; } else { gtk_widget_destroy(dialog); return textfield; } } else { gtk_widget_destroy(dialog); return NULL; } } // ************************************************************************************************ GList* playlist_PL_ListGetSelection() { GList *selectedFiles, *ptr; // Lets clear up the old list. g_list_free(playlist_Selection_PL_RowReferences); playlist_Selection_PL_RowReferences = NULL; if (gtk_tree_selection_count_selected_rows(playlist_PL_Selection) == 0) { // We have no rows. return NULL; } // So now we must convert each selection to a row reference and store it in a new GList variable // which we will return below. GtkTreeModel *model = gtk_tree_view_get_model(GTK_TREE_VIEW(treeview_Playlist_Files)); selectedFiles = gtk_tree_selection_get_selected_rows(playlist_PL_Selection, &model); ptr = selectedFiles; while (ptr != NULL) { GtkTreeRowReference *ref = gtk_tree_row_reference_new(GTK_TREE_MODEL(playlist_PL_List), (GtkTreePath*) ptr->data); playlist_Selection_PL_RowReferences = g_list_append(playlist_Selection_PL_RowReferences, gtk_tree_row_reference_copy(ref)); gtk_tree_row_reference_free(ref); ptr = ptr->next; } g_list_foreach(selectedFiles, (GFunc) gtk_tree_path_free, NULL); g_list_free(selectedFiles); return playlist_Selection_PL_RowReferences; } // ************************************************************************************************ gboolean playlist_PL_ListClearSelection() { if (playlist_PL_Selection != NULL) gtk_tree_selection_unselect_all(playlist_PL_Selection); return TRUE; } // ************************************************************************************************ gboolean playlist_PL_ListRemove(GList *List) { GtkTreeIter iter; gint tracknumber = 1; playlist_PL_ListClearSelection(); g_list_foreach(List, (GFunc) __playlist_PL_Remove, NULL); // Now reorder all tracks in this playlist. if (gtk_tree_model_get_iter_first(GTK_TREE_MODEL(playlist_PL_List), &iter)) { gtk_list_store_set(GTK_LIST_STORE(playlist_PL_List), &iter, COL_PL_ORDER_NUM, tracknumber, -1); tracknumber++; while (gtk_tree_model_iter_next(GTK_TREE_MODEL(playlist_PL_List), &iter)) { gtk_list_store_set(GTK_LIST_STORE(playlist_PL_List), &iter, COL_PL_ORDER_NUM, tracknumber, -1); tracknumber++; } } return TRUE; } // ************************************************************************************************ void __playlist_PL_Remove(GtkTreeRowReference *Row) { GtkTreePath *path; GtkTreeIter iter; // convert the referenece to a path and retrieve the iterator; path = gtk_tree_row_reference_get_path(Row); gtk_tree_model_get_iter(GTK_TREE_MODEL(playlist_PL_List), &iter, path); // We have our Iter now. gtk_list_store_remove(GTK_LIST_STORE(playlist_PL_List), &iter); playlist_track_count--; gtk_tree_path_free(path); } // ************************************************************************************************ GList* playlist_TrackList_GetSelection() { GList *selectedFiles, *ptr; // Lets clear up the old list. g_list_free(playlist_Selection_TrackRowReferences); playlist_Selection_TrackRowReferences = NULL; if (gtk_tree_selection_count_selected_rows(playlist_TrackSelection) == 0) { // We have no rows. return NULL; } // So now we must convert each selection to a row reference and store it in a new GList variable // which we will return below. GtkTreeModel *model = gtk_tree_view_get_model(GTK_TREE_VIEW(treeview_Avail_Files)); selectedFiles = gtk_tree_selection_get_selected_rows(playlist_TrackSelection, &model); ptr = selectedFiles; while (ptr != NULL) { GtkTreeRowReference *ref = gtk_tree_row_reference_new(GTK_TREE_MODEL(playlist_TrackList), (GtkTreePath*) ptr->data); playlist_Selection_TrackRowReferences = g_list_append(playlist_Selection_TrackRowReferences, gtk_tree_row_reference_copy(ref)); gtk_tree_row_reference_free(ref); ptr = ptr->next; } g_list_foreach(selectedFiles, (GFunc) gtk_tree_path_free, NULL); g_list_free(selectedFiles); return playlist_Selection_TrackRowReferences; } // ************************************************************************************************ gboolean playlist_TrackList_Add(GList *List) { g_list_foreach(List, (GFunc) __playlist_TrackList_Add, NULL); return TRUE; } // ************************************************************************************************ void __playlist_TrackList_Add(GtkTreeRowReference *Row) { GtkTreePath *path = NULL; GtkTreeIter iter; GtkTreeIter PL_rowIter; gchar* artist = NULL; gchar* album = NULL; gchar* title = NULL; gint item_id = 0; gchar * duration = NULL; // convert the referenece to a path and retrieve the iterator; path = gtk_tree_row_reference_get_path(Row); gtk_tree_model_get_iter(GTK_TREE_MODEL(playlist_TrackList), &iter, path); // We have our Iter now, so get the required information from the track treeview. gtk_tree_model_get(GTK_TREE_MODEL(playlist_TrackList), &iter, COL_ARTIST, &artist, COL_ALBUM, &album, COL_TRACKID, &item_id, COL_TRACKNAME, &title, COL_TRACKDURATION, & duration, -1); // Now store our information in the playlist treeview. playlist_track_count++; gtk_list_store_append(GTK_LIST_STORE(playlist_PL_List), &PL_rowIter); gtk_list_store_set(GTK_LIST_STORE(playlist_PL_List), &PL_rowIter, COL_PL_ORDER_NUM, playlist_track_count, COL_PL_ARTIST, artist, COL_PL_ALBUM, album, COL_PL_TRACKID, item_id, COL_PL_TRACKNAME, title, COL_PL_TRACKDURATION, duration, -1); //Need to free our string values g_free(artist); g_free(album); g_free(title); g_free(duration); gtk_tree_path_free(path); } // ************************************************************************************************ gboolean playlist_move_files(gint direction) { GList * playlist_files = NULL; GtkTreeIter iter; gint tracknumber = 1; // Get our files... playlist_files = playlist_PL_ListGetSelection(); if (playlist_files == NULL) return FALSE; // If we are moving files down we need to reverse the rows references... if (direction == 1) { playlist_files = g_list_reverse(playlist_files); g_list_foreach(playlist_files, (GFunc) __playlist_move_files_down, NULL); } else { g_list_foreach(playlist_files, (GFunc) __playlist_move_files_up, NULL); } // Now reorder all tracks in this playlist. if (gtk_tree_model_get_iter_first(GTK_TREE_MODEL(playlist_PL_List), &iter)) { gtk_list_store_set(GTK_LIST_STORE(playlist_PL_List), &iter, COL_PL_ORDER_NUM, tracknumber, -1); tracknumber++; while (gtk_tree_model_iter_next(GTK_TREE_MODEL(playlist_PL_List), &iter)) { gtk_list_store_set(GTK_LIST_STORE(playlist_PL_List), &iter, COL_PL_ORDER_NUM, tracknumber, -1); tracknumber++; } } return TRUE; } // ************************************************************************************************ void __playlist_move_files_up(GtkTreeRowReference *Row) { GtkTreePath *path; GtkTreeIter iter; GtkTreeIter iter2; // convert the referenece to a path and retrieve the iterator; path = gtk_tree_row_reference_get_path(Row); gtk_tree_model_get_iter(GTK_TREE_MODEL(playlist_PL_List), &iter, path); // We have our Iter now. // Now get it's prev path and turn it into a iter if (gtk_tree_path_prev(path) == TRUE) { // we have a previous entry... gtk_tree_model_get_iter(GTK_TREE_MODEL(playlist_PL_List), &iter2, path); gtk_list_store_swap(GTK_LIST_STORE(playlist_PL_List), &iter, &iter2); } gtk_tree_path_free(path); } // ************************************************************************************************ void __playlist_move_files_down(GtkTreeRowReference *Row) { GtkTreePath *path; GtkTreeIter iter; GtkTreeIter iter2; // convert the referenece to a path and retrieve the iterator; path = gtk_tree_row_reference_get_path(Row); gtk_tree_model_get_iter(GTK_TREE_MODEL(playlist_PL_List), &iter, path); // We have our Iter now. iter2 = iter; if (gtk_tree_model_iter_next(GTK_TREE_MODEL(playlist_PL_List), &iter2) == TRUE) { // we have something to swap with... gtk_list_store_swap(GTK_LIST_STORE(playlist_PL_List), &iter, &iter2); } gtk_tree_path_free(path); } // ************************************************************************************************ void playlist_SavePlaylist(gint PlayListID) { LIBMTP_playlist_t* tmpplaylist = devicePlayLists; gint tmpplaylistID = PlayListID; gint item_id = 0; GtkTreeIter iter; uint32_t *tmp = NULL; if (PlayListID > 0) { while (tmpplaylistID--) if (tmpplaylist->next != NULL) tmpplaylist = tmpplaylist->next; } // tmpplaylist points to our playlist; // So all we need to do is - update our current structure with the new details if (gtk_tree_model_get_iter_first(GTK_TREE_MODEL(playlist_PL_List), &iter)) { gtk_tree_model_get(GTK_TREE_MODEL(playlist_PL_List), &iter, COL_PL_TRACKID, &item_id, -1); tmpplaylist->no_tracks = 1; // item_id = our track num... so append to tmpplaylist->tracks if ((tmp = g_realloc(tmpplaylist->tracks, sizeof (uint32_t) * (tmpplaylist->no_tracks))) == NULL) { g_fprintf(stderr, _("realloc in savePlayList failed\n")); displayError(_("Updating playlist failed? 'realloc in savePlayList'\n")); return; } tmpplaylist->tracks = tmp; tmpplaylist->tracks[(tmpplaylist->no_tracks - 1)] = item_id; //tmpplaylist->no_tracks++; while (gtk_tree_model_iter_next(GTK_TREE_MODEL(playlist_PL_List), &iter)) { gtk_tree_model_get(GTK_TREE_MODEL(playlist_PL_List), &iter, COL_PL_TRACKID, &item_id, -1); tmpplaylist->no_tracks++; // item_id = our track num... so append to tmpplaylist->tracks if ((tmp = g_realloc(tmpplaylist->tracks, sizeof (uint32_t) * (tmpplaylist->no_tracks))) == NULL) { g_fprintf(stderr, _("realloc in savePlayList failed\n")); displayError(_("Updating playlist failed? 'realloc in savePlayList'\n")); return; } tmpplaylist->tracks = tmp; tmpplaylist->tracks[(tmpplaylist->no_tracks - 1)] = item_id; //tmpplaylist->no_tracks++; } } // get libmtp to save it. playlistUpdate(tmpplaylist); // Update our own metadata. devicePlayLists = getPlaylists(); } // Playlist Callbacks. // ************************************************************************************************ void on_quitPlaylist_activate(GtkWidget *item, gpointer user_data) { UNUSED(item); UNUSED(user_data); // Save our current selected playlist! if (devicePlayLists != NULL) playlist_SavePlaylist(playlist_number); // Kill our window gtk_widget_hide(windowPlaylistDialog); gtk_widget_destroy(windowPlaylistDialog); windowPlaylistDialog = NULL; // Do a device rescan to show the new playlists in the file window deviceRescan(); } // end on_quitPlaylist_activate() // ************************************************************************************************ void on_Playlist_NewPlaylistButton_activate(GtkWidget *item, gpointer user_data) { UNUSED(item); UNUSED(user_data); // Save our current selected playlist! if (devicePlayLists != NULL) playlist_SavePlaylist(playlist_number); gchar *playlistname = displayPlaylistNewDialog(); if (playlistname != NULL) { // Add in playlist to MTP device. playlistAdd(playlistname); // Refresh our playlist information. devicePlayLists = getPlaylists(); gtk_list_store_clear(GTK_LIST_STORE(playlist_PL_List)); // Add it to our combobox #if HAVE_GTK3 == 0 gtk_combo_box_append_text(GTK_COMBO_BOX(comboboxentry_playlist), (playlistname)); #else gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(comboboxentry_playlist), (playlistname)); #endif g_free(playlistname); // Set the active combobox item. comboboxentry_playlist_entries++; playlist_number = comboboxentry_playlist_entries - 1; gtk_combo_box_set_active(GTK_COMBO_BOX(comboboxentry_playlist), comboboxentry_playlist_entries - 1); SetPlaylistButtonState(TRUE); setPlaylistField(playlist_number); } } // end on_Playlist_NewPlaylistButton_activate() // ************************************************************************************************ void on_Playlist_ImportPlaylistButton_activate(GtkWidget *item, gpointer user_data) { UNUSED(item); UNUSED(user_data); gchar *playlistfilename = NULL; GtkWidget *FileDialog; GtkFileFilter *OpenFormFilter, *OpenFormFilter2; // Save our current selected playlist! if (devicePlayLists != NULL) playlist_SavePlaylist(playlist_number); // Get our filename... FileDialog = gtk_file_chooser_dialog_new(_("Select Playlist to Import"), GTK_WINDOW(windowMain), GTK_FILE_CHOOSER_ACTION_OPEN, _("_Cancel"), GTK_RESPONSE_CANCEL, _("_Open"), GTK_RESPONSE_ACCEPT, NULL); gtk_file_chooser_set_select_multiple(GTK_FILE_CHOOSER(FileDialog), FALSE); OpenFormFilter = gtk_file_filter_new(); gtk_file_filter_add_pattern(OpenFormFilter, "*.m3u"); gtk_file_filter_set_name(OpenFormFilter, "m3u Playlists"); gtk_file_chooser_add_filter(GTK_FILE_CHOOSER(FileDialog), OpenFormFilter); OpenFormFilter2 = gtk_file_filter_new(); gtk_file_filter_add_pattern(OpenFormFilter2, "*"); gtk_file_filter_set_name(OpenFormFilter2, "All Files"); gtk_file_chooser_add_filter(GTK_FILE_CHOOSER(FileDialog), OpenFormFilter2); if (gtk_dialog_run(GTK_DIALOG(FileDialog)) == GTK_RESPONSE_ACCEPT) { playlistfilename = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(FileDialog)); } gtk_widget_hide(FileDialog); gtk_widget_destroy(FileDialog); if (playlistfilename != NULL) { // Add in playlist to MTP device. gchar *playlistname = playlistImport(playlistfilename); // If our name is NULL, then the import failed... if (playlistname != NULL) { // Refresh our playlist information. devicePlayLists = getPlaylists(); gtk_list_store_clear(GTK_LIST_STORE(playlist_PL_List)); // Add it to our combobox #if HAVE_GTK3 == 0 gtk_combo_box_append_text(GTK_COMBO_BOX(comboboxentry_playlist), (playlistname)); #else gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(comboboxentry_playlist), (playlistname)); #endif // Set the active combobox item. comboboxentry_playlist_entries++; playlist_number = comboboxentry_playlist_entries - 1; gtk_combo_box_set_active(GTK_COMBO_BOX(comboboxentry_playlist), comboboxentry_playlist_entries - 1); SetPlaylistButtonState(TRUE); setPlaylistField(playlist_number); // Clean up fields. g_free(playlistname); } else { // Let the user know the import failed. g_fprintf(stderr, _("The playlist failed to import correctly.\n")); displayError(_("The playlist failed to import correctly.\n")); } // Clean up fields. g_free(playlistfilename); } } // end on_Playlist_ImportPlaylistButton_activate() // ************************************************************************************************ void on_Playlist_ExportPlaylistButton_activate(GtkWidget *item, gpointer user_data) { UNUSED(item); UNUSED(user_data); // Save our current selected playlist! if (devicePlayLists != NULL) playlist_SavePlaylist(playlist_number); gint PlayListID = gtk_combo_box_get_active(GTK_COMBO_BOX(comboboxentry_playlist)); if (PlayListID != -1) { // We have something selected so lets do the dance. LIBMTP_playlist_t* tmpplaylist = devicePlayLists; if (PlayListID > 0) { while (PlayListID--) if (tmpplaylist->next != NULL) tmpplaylist = tmpplaylist->next; } // We should be in the correct playlist LIBMTP structure. gchar *playlistfilename = g_strdup_printf("%s.%s", tmpplaylist->name, "m3u"); GtkWidget *FileDialog = gtk_file_chooser_dialog_new(_("Save as..."), GTK_WINDOW(windowMain), GTK_FILE_CHOOSER_ACTION_SAVE, _("_Cancel"), GTK_RESPONSE_CANCEL, _("_Open"), GTK_RESPONSE_ACCEPT, NULL); gtk_file_chooser_set_current_name(GTK_FILE_CHOOSER(FileDialog), playlistfilename); if (gtk_dialog_run(GTK_DIALOG(FileDialog)) == GTK_RESPONSE_ACCEPT) { playlistfilename = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(FileDialog)); } gtk_widget_hide(FileDialog); gtk_widget_destroy(FileDialog); if (playlistfilename != NULL) { playlistExport(playlistfilename, tmpplaylist); g_free(playlistfilename); } } } // end on_Playlist_ExportPlaylistButton_activate() // ************************************************************************************************ void on_Playlist_DelPlaylistButton_activate(GtkWidget *item, gpointer user_data) { UNUSED(item); UNUSED(user_data); gint PlayListID = gtk_combo_box_get_active(GTK_COMBO_BOX(comboboxentry_playlist)); if (PlayListID != -1) { // We have something selected so lets do the dance. LIBMTP_playlist_t* tmpplaylist = devicePlayLists; if (PlayListID > 0) { while (PlayListID--) if (tmpplaylist->next != NULL) tmpplaylist = tmpplaylist->next; } // We should be in the correct playlist LIBMTP structure. playlistDelete(tmpplaylist); // Clear the PL list view box gtk_list_store_clear(GTK_LIST_STORE(playlist_PL_List)); // Rebuild the playlist structure and combobox. devicePlayLists = getPlaylists(); setPlayListComboBox(); } } // end on_Playlist_DelPlaylistButton_activate() // ************************************************************************************************ void on_Playlist_DelFileButton_activate(GtkWidget *item, gpointer user_data) { UNUSED(item); UNUSED(user_data); if (playlist_PL_ListGetSelection() == NULL) return; playlist_PL_ListRemove(playlist_PL_ListGetSelection()); } // end on_Playlist_DelFileButton_activate() // ************************************************************************************************ void on_Playlist_AddFileButton_activate(GtkWidget *item, gpointer user_data) { UNUSED(item); UNUSED(user_data); //g_printf("Clicked on add file in playlist button\n"); if (playlist_TrackList_GetSelection() == NULL) return; playlist_TrackList_Add(playlist_TrackList_GetSelection()); } // end on_Playlist_AddFileButton_activate() // ************************************************************************************************ void on_Playlist_FileUpButton_activate(GtkWidget *item, gpointer user_data) { UNUSED(item); UNUSED(user_data); playlist_move_files(-1); } // end on_Playlist_FileUpButton_activate() // ************************************************************************************************ void on_Playlist_FileDownButton_activate(GtkWidget *item, gpointer user_data) { UNUSED(item); UNUSED(user_data); playlist_move_files(1); } // end on_Playlist_FileDownButton_activate() // ************************************************************************************************ void on_Playlist_Combobox_activate(GtkComboBox *combobox, gpointer user_data) { UNUSED(combobox); UNUSED(user_data); if (runPlaylistHandler == TRUE) { // Save our current selected playlist playlist_SavePlaylist(playlist_number); // Get our new playlist ID, and display the contents of it. playlist_number = gtk_combo_box_get_active(GTK_COMBO_BOX(comboboxentry_playlist)); setPlaylistField(playlist_number); } } // end on_Playlist_Combobox_activate() gmtp-1.3.10/src/progress.h0000644000175000001440000000355512655605137012306 00000000000000/* * * File: progress.h * * Copyright (C) 2009-2013 Darran Kartaschew * * This file is part of the gMTP package. * * gMTP is free software; you can redistribute it and/or modify * it under the terms of the BSD License as included within the * file 'COPYING' located in the root directory * */ #ifndef _PROGRESS_H #define _PROGRESS_H #ifdef __cplusplus extern "C" { #endif #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include gboolean progressDialog_killed; /** * Create a Upload/Download Progress Window. * @param msg Default message to be displayed. * @return */ GtkWidget* create_windowProgressDialog(gchar* msg); /** * Display the File Progress Window. * @param msg Message to be displayed. */ void displayProgressBar(gchar* msg); /** * Destroy the Progress Window. */ void destroyProgressBar(void); /** * Update the filename displayed in the Progress Window. * @param filename The filename to be displayed in the dialog */ void setProgressFilename(gchar* filename_stripped); /** * Callback to handle updating the Progress Window. * @param sent * @param total * @param data * @return */ int fileprogress(const uint64_t sent, const uint64_t total, void const * const data); /** * Callback to handle when a user closes the Progress Dialog box, via the X button. * @param window * @param user_data */ void on_progressDialog_Close(GtkWidget *window, gpointer user_data); /** * Callback to handle when a user presses the Cancel button in the Progress Dialog box * @param window * @param user_data */ void on_progressDialog_Cancel(GtkWidget *window, gpointer user_data); #ifdef __cplusplus } #endif #endif /* _PROGRESS_H */ gmtp-1.3.10/src/formatdevice.c0000644000175000001440000001146212655605137013101 00000000000000/* * * File: formatdevice.c * * Copyright (C) 2009-2013 Darran Kartaschew * * This file is part of the gMTP package. * * gMTP is free software; you can redistribute it and/or modify * it under the terms of the BSD License as included within the * file 'COPYING' located in the root directory * */ #include "formatdevice.h" #include "main.h" #include "callbacks.h" #include "mtp.h" // Flag to check if the tread is running. static volatile gboolean formatThreadWorking = TRUE; // Widget for formatDevice progress bar. GtkWidget *formatDialog_progressBar; // ************************************************************************************************ GtkWidget* create_windowFormat(void) { GtkWidget* windowFormat; GtkWidget* label1; GtkWidget* vbox1; windowFormat = gtk_window_new(GTK_WINDOW_TOPLEVEL); gchar * winTitle; winTitle = g_strconcat(PACKAGE_NAME, NULL); gtk_window_set_title(GTK_WINDOW(windowFormat), winTitle); gtk_window_set_position(GTK_WINDOW(windowFormat), GTK_WIN_POS_CENTER_ON_PARENT); gtk_window_set_modal(GTK_WINDOW(windowFormat), TRUE); gtk_window_set_transient_for(GTK_WINDOW(windowFormat), GTK_WINDOW(windowMain)); gtk_window_set_destroy_with_parent(GTK_WINDOW(windowFormat), TRUE); gtk_window_set_type_hint(GTK_WINDOW(windowFormat), GDK_WINDOW_TYPE_HINT_DIALOG); gtk_window_set_default_size(GTK_WINDOW(windowFormat), 200, 60); gtk_container_set_border_width(GTK_CONTAINER(windowFormat), 5); g_free(winTitle); #if HAVE_GTK3 == 0 vbox1 = gtk_vbox_new(FALSE, 5); #else vbox1 = gtk_box_new(GTK_ORIENTATION_VERTICAL, 5); #endif gtk_widget_show(vbox1); gtk_container_add(GTK_CONTAINER(windowFormat), vbox1); gtk_container_set_border_width(GTK_CONTAINER(vbox1), 10); gtk_box_set_spacing(GTK_BOX(vbox1), 5); label1 = gtk_label_new(_("Formatting...")); gtk_widget_show(label1); gtk_box_pack_start(GTK_BOX(vbox1), label1, TRUE, TRUE, 0); #if HAVE_GTK3 == 0 gtk_misc_set_padding(GTK_MISC(label1), 0, 5); gtk_misc_set_alignment(GTK_MISC(label1), 0, 0); #else gtk_widget_set_margin_top(label1, 5); gtk_widget_set_margin_bottom(label1, 5); gtk_widget_set_halign(GTK_WIDGET(label1), GTK_ALIGN_START); #endif formatDialog_progressBar = gtk_progress_bar_new(); gtk_progress_bar_set_pulse_step(GTK_PROGRESS_BAR(formatDialog_progressBar), 0.05); gtk_widget_show(formatDialog_progressBar); gtk_box_pack_start(GTK_BOX(vbox1), formatDialog_progressBar, TRUE, TRUE, 0); return windowFormat; } // ************************************************************************************************ void on_editFormatDevice_activate(GtkWidget *item, gpointer user_data) { UNUSED(item); UNUSED(user_data); GtkWidget *dialog; dialog = gtk_message_dialog_new(GTK_WINDOW(windowMain), GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_WARNING, GTK_BUTTONS_YES_NO, _("Are you sure you want to format this device?")); gtk_window_set_title(GTK_WINDOW(dialog), _("Format Device")); gint result = gtk_dialog_run(GTK_DIALOG(dialog)); gtk_widget_hide(GTK_WIDGET(dialog)); gtk_widget_destroy(dialog); if (result == GTK_RESPONSE_YES) { dialog = create_windowFormat(); // Show progress dialog. gtk_widget_show_all(dialog); // Ensure GTK redraws the window. formatThreadWorking = TRUE; #if GLIB_CHECK_VERSION(2,32,0) GThread *th = g_thread_new("format", (GThreadFunc) formatDevice_thread, NULL); #else g_thread_create((GThreadFunc) formatDevice_thread, NULL, FALSE, NULL); #endif while (formatThreadWorking) { while (gtk_events_pending()) gtk_main_iteration(); if (formatDialog_progressBar != NULL) { gtk_progress_bar_pulse(GTK_PROGRESS_BAR(formatDialog_progressBar)); g_usleep(G_USEC_PER_SEC * 0.1); } } // The worker thread has finished so let's continue. #if GLIB_CHECK_VERSION(2,32,0) g_thread_unref(th); #endif // Disconnect and reconnect the device. on_deviceConnect_activate(NULL, NULL); // Sleep for 2 secs to allow the device to settle itself g_usleep(G_USEC_PER_SEC * 2); on_deviceConnect_activate(NULL, NULL); // Close progress dialog. gtk_widget_hide(dialog); gtk_widget_destroy(dialog); formatDialog_progressBar = NULL; } // } // end on_editFormatDevice_activate() // ************************************************************************************************ void formatDevice_thread(void) { formatStorageDevice(); // Add a 5 sec wait so the device has time to settle itself. g_usleep(G_USEC_PER_SEC * 5); formatThreadWorking = FALSE; g_thread_exit(NULL); } gmtp-1.3.10/src/dnd.h0000644000175000001440000000330412655605137011177 00000000000000/* * * File: dnd.h * * Copyright (C) 2009-2013 Darran Kartaschew * * This file is part of the gMTP package. * * gMTP is free software; you can redistribute it and/or modify * it under the terms of the BSD License as included within the * file 'COPYING' located in the root directory * */ #ifndef _DND_H #define _DND_H #ifdef __cplusplus extern "C" { #endif #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include /* Designate dropped data types that we know and care about */ enum { GMTP_DROP_STRING, GMTP_DROP_PLAINTEXT, GMTP_DROP_URLENCODED }; /* Drag data format listing for gtk_drag_dest_set() */ GtkTargetEntry _gmtp_drop_types[3]; #define gmtp_drag_dest_set(widget) gtk_drag_dest_set(widget, \ GTK_DEST_DEFAULT_MOTION | GTK_DEST_DEFAULT_DROP, \ _gmtp_drop_types, 3, GDK_ACTION_COPY | GDK_ACTION_MOVE) void gmtp_drag_data_received(GtkWidget * widget, GdkDragContext * context, gint x, gint y, GtkSelectionData * selection_data, guint info, guint time, gpointer user_data); void gmtpfolders_drag_data_received(GtkWidget * widget, GdkDragContext * context, gint x, gint y, GtkSelectionData * selection_data, guint info, guint time, gpointer user_data); void gmtpfolders_drag_motion_received (GtkWidget *widget, GdkDragContext *context, gint x, gint y, guint time); GSList* getFilesListURI(gchar* rawdata); void addFilesinFolder(gchar* foldername); #ifdef __cplusplus } #endif #endif /* _DND_H */ gmtp-1.3.10/src/callbacks.c0000644000175000001440000012123212655605137012345 00000000000000/* * * File: callbacks.c * * Copyright (C) 2009-2014 Darran Kartaschew * * This file is part of the gMTP package. * * gMTP is free software; you can redistribute it and/or modify * it under the terms of the BSD License as included within the * file 'COPYING' located in the root directory * */ #include "callbacks.h" #include #include #include "main.h" #include "interface.h" #include "mtp.h" #include "prefs.h" #include "dnd.h" #include "about.h" #include "progress.h" #include "properties.h" #include "preferences.h" #include "playlist.h" #include "formatdevice.h" void on_quit1_activate(GtkMenuItem *menuitem, gpointer user_data) { UNUSED(menuitem); UNUSED(user_data); // Disconnect device. if (DeviceMgr.deviceConnected == TRUE) { on_deviceConnect_activate(NULL, NULL); } savePreferences(); #if HAVE_GTK3 == 0 gtk_exit(EXIT_SUCCESS); #else exit(EXIT_SUCCESS); #endif } // end on_quit1_activate() // ************************************************************************************************ void on_about1_activate(GtkMenuItem *menuitem, gpointer user_data) { UNUSED(menuitem); UNUSED(user_data); displayAbout(); } // end on_about1_activate() // ************************************************************************************************ void on_deviceRescan_activate(GtkMenuItem *menuitem, gpointer user_data) { UNUSED(menuitem); UNUSED(user_data); deviceRescan(); } // end on_deviceRescan_activate() // ************************************************************************************************ void on_filesAdd_activate(GtkMenuItem *menuitem, gpointer user_data) { UNUSED(menuitem); UNUSED(user_data); GSList* files; int64_t targetFol = 0; //uint32_t tmpFolderID = 0; // Set the Playlist ID to be asked if needed. if (Preferences.auto_add_track_to_playlist == TRUE) { addTrackPlaylistID = GMTP_REQUIRE_PLAYLIST; } else { addTrackPlaylistID = GMTP_NO_PLAYLIST; } // Get the files, and add them. files = getFileGetList2Add(); // See if a folder is selected in the folder view, and if so add the files to that folder. if ((targetFol = folderListGetSelection()) != -1) { //tmpFolderID = currentFolderID; currentFolderID = (uint32_t) targetFol; } AlbumErrorIgnore = FALSE; if (files != NULL) { displayProgressBar(_("File Upload")); g_slist_foreach(files, (GFunc) __filesAdd, NULL); destroyProgressBar(); } // Now clear the GList; g_slist_foreach(files, (GFunc) g_free, NULL); g_slist_free(files); // Restore the current folder ID is we added to another folder. if (targetFol != -1) { // Disable this, so the user is taken to the folder in which the files were added to. //currentFolderID = tmpFolderID; } // Now do a device rescan to see the new files. deviceRescan(); deviceoverwriteop = MTP_ASK; } // end on_filesAdd_activate() // ************************************************************************************************ void on_fileRenameFile_activate(GtkMenuItem *menuitem, gpointer user_data) { UNUSED(menuitem); UNUSED(user_data); GtkTreePath *path; GtkTreeIter iter; gchar *newfilename = NULL; gchar *filename = NULL; gboolean isFolder; uint32_t ObjectID = 0; // Let's check to see if we have anything selected in our treeview? if (fileListGetSelection() == NULL) { // See if anything is selected in the folder view, if so use that as our source. if (folderListGetSelection() != -1) { on_folderRenameFolder_activate(menuitem, user_data); } else { displayInformation(_("No files/folders selected?")); } return; } GList *List = fileListGetSelection(); // We only care about the first entry. // convert the referenece to a path and retrieve the iterator; path = gtk_tree_row_reference_get_path(List->data); gtk_tree_model_get_iter(GTK_TREE_MODEL(fileList), &iter, path); // We have our Iter now. // Before we download, is it a folder ? gtk_tree_model_get(GTK_TREE_MODEL(fileList), &iter, COL_FILENAME_ACTUAL, &filename, COL_ISFOLDER, &isFolder, COL_FILEID, &ObjectID, -1); gtk_tree_path_free(path); // Make sure we are not attempting to edit the parent link folder. if (g_ascii_strcasecmp(filename, "..") == 0) { g_fprintf(stderr, _("Unable to rename parent folder\n")); displayInformation(_("Unable to rename this folder")); return; } // Get our new device name. newfilename = displayRenameFileDialog(filename); // If the user supplied something, then update the name of the device. if (newfilename != NULL) { filesRename(newfilename, ObjectID); g_free(newfilename); deviceRescan(); } } // end on_editDeviceName_activate() // ************************************************************************************************ void on_fileMoveFile_activate(GtkMenuItem *menuitem, gpointer user_data) { UNUSED(menuitem); UNUSED(user_data); GList *List = NULL; int64_t targetfolder = 0; // If using alternate connection mode, this is disabled. if (Preferences.use_alt_access_method) { displayInformation(_("The move function is disabled when using the alternate access method for your device.")); return; } // Let's check to see if we have anything selected in our treeview? if ((List = fileListGetSelection()) == NULL) { if (folderListGetSelection() != -1) { on_folderRemoveFolder_activate(menuitem, user_data); } else { displayInformation(_("No files/folders selected?")); } return; } // Prompt for the target folder location. targetfolder = getTargetFolderLocation(); if ((targetfolder == -1) || (targetfolder == currentFolderID)) { // If the user didn't select a folder, or the target folder is the current selected folder // then do nothing. return; } fileMoveTargetFolder = targetfolder; fileListClearSelection(); // List is a list of Iter's to be moved g_list_foreach(List, (GFunc) __fileMove, NULL); // We have 2 options, manually scan the file structure for that file and manually fix up... // or do a rescan... // I'll be cheap, and do a full rescan of the device. deviceRescan(); } // ************************************************************************************************ void on_filesDelete_activate(GtkMenuItem *menuitem, gpointer user_data) { UNUSED(menuitem); UNUSED(user_data); // Let's check to see if we have anything selected in our treeview? if (fileListGetSelection() == NULL) { if (folderListGetSelection() != -1) { on_folderRemoveFolder_activate(menuitem, user_data); } else { displayInformation(_("No files/folders selected?")); } return; } // Now we prompt to confirm delete? if (Preferences.confirm_file_delete_op == FALSE) { // Now download the actual file from the MTP device. fileListRemove(fileListGetSelection()); } else { GtkWidget *dialog = gtk_message_dialog_new(GTK_WINDOW(windowMain), GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_WARNING, GTK_BUTTONS_YES_NO, _("Are you sure you want to delete these files?")); gtk_window_set_title(GTK_WINDOW(dialog), _("Confirm Delete")); // Run the Dialog and get our result. gint result = gtk_dialog_run(GTK_DIALOG(dialog)); if (result == GTK_RESPONSE_YES) fileListRemove(fileListGetSelection()); // Destroy the dialog box. gtk_widget_destroy(dialog); } } // on_filesDelete_activate() // ************************************************************************************************ void on_filesDownload_activate(GtkMenuItem *menuitem, gpointer user_data) { UNUSED(menuitem); UNUSED(user_data); // Let's check to see if we have anything selected in our treeview? if (fileListGetSelection() == NULL) { int64_t targetfolder = 0; if ((targetfolder = folderListGetSelection()) != -1) { displayProgressBar(_("File download")); folderListDownload(folderListGetSelectionName(), targetfolder); destroyProgressBar(); } else { displayInformation(_("No files/folders selected?")); } return; } // Download the selected files. displayProgressBar(_("File download")); fileListDownload(fileListGetSelection()); destroyProgressBar(); } // end on_filesDownload_activate() // ************************************************************************************************ void on_deviceConnect_activate(GtkMenuItem *menuitem, gpointer user_data) { UNUSED(menuitem); UNUSED(user_data); GtkWidget *menuText; deviceConnect(); //g_printf("Device connect/disconnect code = %d\n", result); // Update our label to indicate current condition. if (DeviceMgr.deviceConnected == TRUE) { // Set up our properties. deviceProperties(); deviceRescan(); // Update the toolbar to show a disconnect string. gtk_tool_button_set_label(GTK_TOOL_BUTTON(toolbuttonConnect), _("Disconnect")); gchar *tmp_string; // Now update the status bar; if (DeviceMgr.storagedeviceID == MTP_DEVICE_SINGLE_STORAGE) { tmp_string = g_strdup_printf(_("Connected to %s - %d MB free"), DeviceMgr.devicename->str, (int) (DeviceMgr.devicestorage->FreeSpaceInBytes / MEGABYTE)); } else { if (DeviceMgr.devicestorage->StorageDescription != NULL) { tmp_string = g_strdup_printf(_("Connected to %s (%s) - %d MB free"), DeviceMgr.devicename->str, DeviceMgr.devicestorage->StorageDescription, (int) (DeviceMgr.devicestorage->FreeSpaceInBytes / MEGABYTE)); } else { tmp_string = g_strdup_printf(_("Connected to %s - %d MB free"), DeviceMgr.devicename->str, (int) (DeviceMgr.devicestorage->FreeSpaceInBytes / MEGABYTE)); } } statusBarSet(tmp_string); g_free(tmp_string); // Now update the filemenu; menuText = gtk_bin_get_child(GTK_BIN(fileConnect)); gtk_label_set_text(GTK_LABEL(menuText), _("Disconnect Device")); // Enable the Drag'n'Drop interface for the main window and folder window. gmtp_drag_dest_set(scrolledwindowMain); gmtp_drag_dest_set(treeviewFolders); } else { // Update the toolbar to show the Connect String. gtk_tool_button_set_label(GTK_TOOL_BUTTON(toolbuttonConnect), _("Connect")); // Now update the status bar; statusBarSet(_("No device attached")); // Now update the filemenu; menuText = gtk_bin_get_child(GTK_BIN(fileConnect)); gtk_label_set_text(GTK_LABEL(menuText), _("Connect Device")); // Now update the file list area and disable Drag'n'Drop. fileListClear(); folderListClear(); gtk_drag_dest_unset(scrolledwindowMain); gtk_drag_dest_unset(treeviewFolders); setWindowTitle(NULL); // Hide the find toolbar if open and force search mode to false. gtk_widget_hide(findToolbar); gtk_widget_set_sensitive(GTK_WIDGET(cfileAdd), TRUE); gtk_widget_set_sensitive(GTK_WIDGET(cfileNewFolder), TRUE); inFindMode = FALSE; } // Update the Toolbar and Menus enabling/disabling the menu items. SetToolbarButtonState(DeviceMgr.deviceConnected); } // on_deviceConnect_activate() // ************************************************************************************************ void fileListRowActivated(GtkTreeView *treeview, GtkTreePath *path, GtkTreeViewColumn *column, gpointer data) { UNUSED(column); UNUSED(data); GtkTreeModel *model; GtkTreeModel *sortmodel; GtkTreeIter iter; gchar *filename = NULL; gboolean isFolder; uint32_t objectID; // Obtain the iter, and the related objectID. sortmodel = gtk_tree_view_get_model(treeview); model = gtk_tree_model_sort_get_model(GTK_TREE_MODEL_SORT(sortmodel)); GtkTreePath * treepath = gtk_tree_model_sort_convert_path_to_child_path(GTK_TREE_MODEL_SORT(sortmodel), path); if (gtk_tree_model_get_iter(model, &iter, treepath)) { gtk_tree_model_get(GTK_TREE_MODEL(fileList), &iter, COL_ISFOLDER, &isFolder, COL_FILENAME_ACTUAL, &filename, COL_FILEID, &objectID, -1); if (isFolder == FALSE) { // Now download the actual file from the MTP device. displayProgressBar(_("File download")); gchar *savepath = g_malloc0(8192); // Let's confirm our download path. if (Preferences.ask_download_path == TRUE) { GtkWidget *FileDialog = gtk_file_chooser_dialog_new(_("Select Path to Download"), GTK_WINDOW(windowMain), GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER, _("_Cancel"), GTK_RESPONSE_CANCEL, _("_Open"), GTK_RESPONSE_ACCEPT, NULL); gtk_file_chooser_set_filename(GTK_FILE_CHOOSER(FileDialog), Preferences.fileSystemDownloadPath->str); if (gtk_dialog_run(GTK_DIALOG(FileDialog)) == GTK_RESPONSE_ACCEPT) { savepath = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(FileDialog)); // Save our download path. Preferences.fileSystemDownloadPath = g_string_assign(Preferences.fileSystemDownloadPath, savepath); // We do the deed. displayProgressBar(_("File download")); filesDownload(filename, objectID); destroyProgressBar(); } gtk_widget_destroy(FileDialog); } else { // We do the deed. displayProgressBar(_("File download")); filesDownload(filename, objectID); destroyProgressBar(); } destroyProgressBar(); g_free(savepath); } else { // Maintain the stack of folder IDs and names for alt access mode. if (Preferences.use_alt_access_method) { if (g_ascii_strcasecmp(filename, "..") == 0) { // going down a level. g_free(g_queue_pop_tail(stackFolderIDs)); g_free(g_queue_pop_tail(stackFolderNames)); } else { // going up a level guint *currentFld = g_malloc(sizeof (guint)); *currentFld = currentFolderID; g_queue_push_tail(stackFolderIDs, currentFld); g_queue_push_tail(stackFolderNames, g_strdup(filename)); } } // We have a folder so change to it? currentFolderID = objectID; on_editFindClose_activate(NULL, NULL); } } if(treepath != NULL){ gtk_tree_path_free(treepath); } g_free(filename); } // end fileListRowActivated() // ************************************************************************************************ void folderListRowActivated(GtkTreeView *treeview, GtkTreePath *path, GtkTreeViewColumn *column, gpointer data) { UNUSED(column); UNUSED(data); GtkTreeModel *model; GtkTreeModel *sortmodel; GtkTreeIter iter; uint32_t objectID; // Obtain the iter, and the related objectID. sortmodel = gtk_tree_view_get_model(treeview); model = gtk_tree_model_sort_get_model(GTK_TREE_MODEL_SORT(sortmodel)); if (gtk_tree_model_get_iter(model, &iter, gtk_tree_model_sort_convert_path_to_child_path(GTK_TREE_MODEL_SORT(sortmodel), path))) { gtk_tree_model_get(GTK_TREE_MODEL(model), &iter, COL_FOL_ID, &objectID, -1); // We have a folder so change to it? currentFolderID = objectID; on_editFindClose_activate(NULL, NULL); } } // end folderListRowActivated() // ************************************************************************************************ void on_fileNewFolder_activate(GtkMenuItem *menuitem, gpointer user_data) { UNUSED(menuitem); UNUSED(user_data); gchar *foldername = NULL; if (folderListGetSelection() != -1) { on_folderNewFolder_activate(menuitem, user_data); return; } // Get the folder name by displaying a dialog. foldername = displayFolderNewDialog(); if (foldername != NULL) { // Add in folder to MTP device. folderAdd(foldername); g_free(foldername); deviceRescan(); } } // end on_fileNewFolder_activate() // ************************************************************************************************ void on_folderNewFolder_activate(GtkMenuItem *menuitem, gpointer user_data) { UNUSED(menuitem); UNUSED(user_data); gchar *foldername = NULL; // Get the folder name by displaying a dialog. foldername = displayFolderNewDialog(); if (foldername != NULL) { // Let's see if we have anything selected in the folder view, and if not, then we add the // folder to the current Folder. if (gtk_tree_selection_count_selected_rows(folderSelection) == 0) { // Add in folder to MTP device. folderAdd(foldername); } else { // We have selected a folder in the folder view, so let's get it's ID. uint32_t tmpFolderID = currentFolderID; currentFolderID = folderListGetSelection(); folderAdd(foldername); currentFolderID = tmpFolderID; } g_free(foldername); deviceRescan(); } } // end on_folderNewFolder_activate() // ************************************************************************************************ void on_folderRemoveFolder_activate(GtkMenuItem *menuitem, gpointer user_data) { UNUSED(menuitem); UNUSED(user_data); GtkTreeModel *sortmodel; GtkTreeIter iter; GtkTreeIter childiter; uint32_t objectID; // Let's see if we have anything selected in the folder view, and if not let the user know, and return if (gtk_tree_selection_count_selected_rows(folderSelection) == 0) { // Add in folder to MTP device. displayInformation(_("No files/folders selected?")); return; } else { // We have selected a folder in the folder view, so let's get it's ID. sortmodel = gtk_tree_view_get_model(GTK_TREE_VIEW(treeviewFiles)); gtk_tree_selection_get_selected(folderSelection, &sortmodel, &iter); gtk_tree_model_sort_convert_iter_to_child_iter(GTK_TREE_MODEL_SORT(sortmodel), &childiter, &iter); gtk_tree_model_get(GTK_TREE_MODEL(folderList), &childiter, COL_FOL_ID, &objectID, -1); // Now we prompt to confirm delete? if (Preferences.confirm_file_delete_op == FALSE) { // Now download the actual file from the MTP device. folderDelete(getCurrentFolderPtr(deviceFolders, objectID), 0); } else { GtkWidget *dialog = gtk_message_dialog_new(GTK_WINDOW(windowMain), GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_WARNING, GTK_BUTTONS_YES_NO, _("Are you sure you want to delete this folder (and all contents)?")); gtk_window_set_title(GTK_WINDOW(dialog), _("Confirm Delete")); gint result = gtk_dialog_run(GTK_DIALOG(dialog)); if (result == GTK_RESPONSE_YES) folderDelete(getCurrentFolderPtr(deviceFolders, objectID), 0); gtk_widget_destroy(dialog); } //folderDelete(getCurrentFolderPtr(deviceFolders, objectID), 0); } deviceRescan(); } // end on_folderRemoveFolder_activate() // ************************************************************************************************ void on_folderMoveFolder_activate(GtkMenuItem *menuitem, gpointer user_data) { UNUSED(menuitem); UNUSED(user_data); GtkTreeModel *sortmodel; GtkTreeIter iter; GtkTreeIter childiter; uint32_t objectID; // Let's see if we have anything selected in the folder view, and if not let the user know, and return if (gtk_tree_selection_count_selected_rows(folderSelection) == 0) { // Add in folder to MTP device. displayInformation(_("No files/folders selected?")); return; } else { // We have selected a folder in the folder view, so let's get it's ID. sortmodel = gtk_tree_view_get_model(GTK_TREE_VIEW(treeviewFiles)); gtk_tree_selection_get_selected(folderSelection, &sortmodel, &iter); gtk_tree_model_sort_convert_iter_to_child_iter(GTK_TREE_MODEL_SORT(sortmodel), &childiter, &iter); gtk_tree_model_get(GTK_TREE_MODEL(folderList), &childiter, COL_FOL_ID, &objectID, -1); // Prompt for the target folder location. int64_t targetfolder = getTargetFolderLocation(); if (targetfolder == -1) { // If the user didn't select a folder, or the target folder is the current selected folder // then do nothing. return; } fileMoveTargetFolder = targetfolder; gtk_tree_selection_unselect_all(folderSelection); // Make sure we don't want to move the folder into itself? if (objectID == fileMoveTargetFolder) { displayError(_("Unable to move the selected folder into itself?\n")); g_fprintf(stderr, _("Unable to move the selected folder into itself?\n")); return; } // We have the target folder, so let's check to ensure that we will not create a circular // reference by moving a folder underneath it self. LIBMTP_folder_t *currentFolder = getCurrentFolderPtr(deviceFolders, objectID); if (currentFolder == NULL) { // WTF? g_fprintf(stderr, "File Move Error: Can't get current folder pointer\n"); return; } // Use currentFolder as the starting point, and simply attempt to get the ptr to the new // folder based on this point. LIBMTP_folder_t *newFolder = getCurrentFolderPtr(currentFolder->child, fileMoveTargetFolder); if (newFolder == NULL) { // We are alright to proceed. int error; if ((error = setNewParentFolderID(objectID, fileMoveTargetFolder)) != 0) { displayError(_("Unable to move the selected folder?\n")); g_fprintf(stderr, "File Move Error: %d\n", error); LIBMTP_Dump_Errorstack(DeviceMgr.device); LIBMTP_Clear_Errorstack(DeviceMgr.device); } } else { displayError(_("Unable to move the selected folder underneath itself?\n")); g_fprintf(stderr, _("Unable to move the selected folder underneath itself?\n")); } } deviceRescan(); } // end on_folderMoveFolder_activate() // ************************************************************************************************ void on_folderRenameFolder_activate(GtkMenuItem *menuitem, gpointer user_data) { UNUSED(menuitem); UNUSED(user_data); gchar *filename = NULL; GtkTreeModel *sortmodel; GtkTreeIter iter; GtkTreeIter childiter; uint32_t objectID; // Let's see if we have anything selected in the folder view, and if not let the user know, and return if (gtk_tree_selection_count_selected_rows(folderSelection) == 0) { // Add in folder to MTP device. displayInformation(_("No files/folders selected?")); return; } else { // We have selected a folder in the folder view, so let's get it's ID. sortmodel = gtk_tree_view_get_model(GTK_TREE_VIEW(treeviewFiles)); gtk_tree_selection_get_selected(folderSelection, &sortmodel, &iter); gtk_tree_model_sort_convert_iter_to_child_iter(GTK_TREE_MODEL_SORT(sortmodel), &childiter, &iter); gtk_tree_model_get(GTK_TREE_MODEL(folderList), &childiter, COL_FOL_ID, &objectID, COL_FOL_NAME_HIDDEN, &filename, -1); // Get our new folder name. gchar *newfilename = displayRenameFileDialog(filename); // If the user supplied something, then update the name of the device. if (newfilename != NULL) { filesRename(newfilename, objectID); g_free(newfilename); deviceRescan(); } } } // end on_folderRenameFolder_activate() // ************************************************************************************************ void on_fileRemoveFolder_activate(GtkMenuItem *menuitem, gpointer user_data) { UNUSED(menuitem); UNUSED(user_data); // Let's check to see if we have anything selected in our treeview? if (fileListGetSelection() == NULL) { if (folderListGetSelection() != -1) { on_folderRemoveFolder_activate(menuitem, user_data); } else { displayInformation(_("No files/folders selected?")); } return; } // Now we prompt to confirm delete? if (Preferences.confirm_file_delete_op == FALSE) { // Now download the actual file from the MTP device. folderListRemove(fileListGetSelection()); } else { GtkWidget *dialog = gtk_message_dialog_new(GTK_WINDOW(windowMain), GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_WARNING, GTK_BUTTONS_YES_NO, _("Are you sure you want to delete this folder (and all contents)?")); gtk_window_set_title(GTK_WINDOW(dialog), _("Confirm Delete")); gint result = gtk_dialog_run(GTK_DIALOG(dialog)); if (result == GTK_RESPONSE_YES) folderListRemove(fileListGetSelection()); gtk_widget_destroy(dialog); } } // end on_fileRemoveFolder_activate() // ************************************************************************************************ void on_editDeviceName_activate(GtkMenuItem *menuitem, gpointer user_data) { UNUSED(menuitem); UNUSED(user_data); gchar *devicename = NULL; // Get our new device name. devicename = displayChangeDeviceNameDialog(DeviceMgr.devicename->str); // If the user supplied something, then update the name of the device. if (devicename != NULL) { // add change to MTP device. setDeviceName(devicename); g_free(devicename); // Attempt to read it back as confirmation that something may of happened. gchar *tmp_string = LIBMTP_Get_Friendlyname(DeviceMgr.device); if (DeviceMgr.devicename != NULL) g_string_free(DeviceMgr.devicename, TRUE); if (tmp_string == NULL) { DeviceMgr.devicename = g_string_new(_("N/A")); } else { DeviceMgr.devicename = g_string_new(tmp_string); g_free(tmp_string); } // Perform a device Rescan operation to reset all device parameters. deviceRescan(); } } // end on_editDeviceName_activate() // ************************************************************************************************ gboolean on_windowMainContextMenu_activate(GtkWidget *widget, GdkEvent *event) { UNUSED(widget); UNUSED(event); GtkMenu *menu; g_return_val_if_fail(widget != NULL, FALSE); g_return_val_if_fail(GTK_IS_MENU(widget), FALSE); g_return_val_if_fail(event != NULL, FALSE); /* The "widget" is the menu that was supplied when * g_signal_connect_swapped() was called. */ menu = GTK_MENU(widget); if (event->type == GDK_BUTTON_PRESS) { GdkEventButton *event_button = (GdkEventButton *) event; if (event_button->button == 3) { gtk_menu_popup(menu, NULL, NULL, NULL, NULL, event_button->button, event_button->time); return TRUE; } } return FALSE; } // end on_windowMainContextMenu_activate() // ************************************************************************************************ gboolean on_windowViewContextMenu_activate(GtkWidget *widget, GdkEvent *event) { UNUSED(widget); UNUSED(event); GtkMenu *menu; g_return_val_if_fail(event != NULL, FALSE); /* The "widget" is the menu that was supplied when * g_signal_connect_swapped() was called. */ menu = GTK_MENU(contextMenuColumn); if (event->type == GDK_BUTTON_PRESS) { GdkEventButton *event_button = (GdkEventButton *) event; if (event_button->button == 3) { gtk_menu_popup(menu, NULL, NULL, NULL, NULL, event_button->button, event_button->time); return TRUE; } } return FALSE; } // end on_windowMainContextMenu_activate() // ************************************************************************************************ void on_editFind_activate(GtkMenuItem *menuitem, gpointer user_data) { UNUSED(menuitem); UNUSED(user_data); if (inFindMode == FALSE) { gtk_widget_show(findToolbar); gtk_widget_hide(scrolledwindowFolders); fileListClear(); //folderListClear(); inFindMode = TRUE; statusBarSet(_("Please enter search item.")); setWindowTitle(_("Search")); gtk_tree_view_column_set_visible(column_Location, TRUE); //Disable some of the menu options, while in search mode. gtk_widget_set_sensitive(GTK_WIDGET(cfileAdd), FALSE); gtk_widget_set_sensitive(GTK_WIDGET(cfileNewFolder), FALSE); gtk_widget_set_sensitive(GTK_WIDGET(fileAdd), FALSE); gtk_widget_set_sensitive(GTK_WIDGET(fileNewFolder), FALSE); gtk_widget_set_sensitive(GTK_WIDGET(toolbuttonAddFile), FALSE); gtk_widget_set_sensitive(GTK_WIDGET(menu_view_folders), FALSE); // Get focus on text entry box. gtk_widget_grab_focus(GTK_WIDGET(FindToolbar_entry_FindText)); } else { on_editFindClose_activate(menuitem, user_data); } } // end on_editFind_activate() // ************************************************************************************************ void on_editSelectAll_activate(GtkMenuItem *menuitem, gpointer user_data) { UNUSED(menuitem); UNUSED(user_data); fileListSelectAll(); } // end on_editSelectAll_activate() // ************************************************************************************************ void on_editFindClose_activate(GtkMenuItem *menuitem, gpointer user_data) { UNUSED(menuitem); UNUSED(user_data); gchar* tmp_string; gtk_widget_hide(findToolbar); if (Preferences.view_folders == TRUE) { gtk_widget_show(scrolledwindowFolders); } fileListClear(); inFindMode = FALSE; gtk_tree_view_column_set_visible(column_Location, FALSE); // First we clear the file and folder list... fileListClear(); folderListClear(); // Refresh the file listings. // If using alternate access method, then get our next list of files for the current folder id. if (Preferences.use_alt_access_method) { filesUpateFileList(); } fileListAdd(); folderListAdd(deviceFolders, NULL); // Update the status bar. if (DeviceMgr.storagedeviceID == MTP_DEVICE_SINGLE_STORAGE) { tmp_string = g_strdup_printf(_("Connected to %s - %d MB free"), DeviceMgr.devicename->str, (int) (DeviceMgr.devicestorage->FreeSpaceInBytes / MEGABYTE)); } else { if (DeviceMgr.devicestorage->StorageDescription != NULL) { tmp_string = g_strdup_printf(_("Connected to %s (%s) - %d MB free"), DeviceMgr.devicename->str, DeviceMgr.devicestorage->StorageDescription, (int) (DeviceMgr.devicestorage->FreeSpaceInBytes / MEGABYTE)); } else { tmp_string = g_strdup_printf(_("Connected to %s - %d MB free"), DeviceMgr.devicename->str, (int) (DeviceMgr.devicestorage->FreeSpaceInBytes / MEGABYTE)); } } statusBarSet(tmp_string); g_free(tmp_string); // Now clear the Search GList; if (searchList != NULL) { g_slist_foreach(searchList, (GFunc) g_free_search, NULL); g_slist_free(searchList); searchList = NULL; } //Enable some of the menu options, while in search mode. gtk_widget_set_sensitive(GTK_WIDGET(cfileAdd), TRUE); gtk_widget_set_sensitive(GTK_WIDGET(cfileNewFolder), TRUE); gtk_widget_set_sensitive(GTK_WIDGET(fileAdd), TRUE); gtk_widget_set_sensitive(GTK_WIDGET(fileNewFolder), TRUE); gtk_widget_set_sensitive(GTK_WIDGET(toolbuttonAddFile), TRUE); gtk_widget_set_sensitive(GTK_WIDGET(menu_view_folders), !Preferences.use_alt_access_method); } // end on_editFindClose_activate() // ************************************************************************************************ void on_editFindSearch_activate(GtkMenuItem *menuitem, gpointer user_data) { UNUSED(menuitem); UNUSED(user_data); gchar *searchstring = NULL; gboolean searchfiles = FALSE; gboolean searchmeta = FALSE; statusBarSet(_("Searching...")); // Now clear the Search GList; if (searchList != NULL) { g_slist_foreach(searchList, (GFunc) g_free_search, NULL); g_slist_free(searchList); searchList = NULL; } // Set to upper case to perform case insensitive searches. searchstring = g_utf8_strup(gtk_entry_get_text(GTK_ENTRY(FindToolbar_entry_FindText)), -1); searchfiles = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(FindToolbar_checkbutton_FindFiles)); searchmeta = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(FindToolbar_checkbutton_TrackInformation)); // disable search metadata if treatallmediaasfiles or in alternate access mode is set. if (Preferences.allmediaasfiles == TRUE || Preferences.use_alt_access_method == TRUE) { searchmeta = FALSE; } // Let's start our search. searchList = filesSearch(searchstring, searchfiles, searchmeta); inFindMode = TRUE; fileListClear(); fileListAdd(); g_free(searchstring); } // end on_editFindSearch_activate() // ************************************************************************************************ void on_view_activate(GtkMenuItem *menuitem, gpointer user_data) { UNUSED(user_data); #if HAVE_GTK3 == 0 gchar *gconf_path = NULL; gboolean state = gtk_check_menu_item_get_active(GTK_CHECK_MENU_ITEM(menuitem)); // Main menu. if ((void *) menuitem == (void *) menu_view_filesize) gconf_path = g_strdup("/apps/gMTP/viewFileSize"); if ((void *) menuitem == (void *) menu_view_filetype) gconf_path = g_strdup("/apps/gMTP/viewFileType"); if ((void *) menuitem == (void *) menu_view_track_number) gconf_path = g_strdup("/apps/gMTP/viewTrackNumber"); if ((void *) menuitem == (void *) menu_view_title) gconf_path = g_strdup("/apps/gMTP/viewTitle"); if ((void *) menuitem == (void *) menu_view_artist) gconf_path = g_strdup("/apps/gMTP/viewArtist"); if ((void *) menuitem == (void *) menu_view_album) gconf_path = g_strdup("/apps/gMTP/viewAlbum"); if ((void *) menuitem == (void *) menu_view_year) gconf_path = g_strdup("/apps/gMTP/viewYear"); if ((void *) menuitem == (void *) menu_view_genre) gconf_path = g_strdup("/apps/gMTP/viewGenre"); if ((void *) menuitem == (void *) menu_view_duration) gconf_path = g_strdup("/apps/gMTP/viewDuration"); if ((void *) menuitem == (void *) menu_view_folders) gconf_path = g_strdup("/apps/gMTP/viewFolders"); if ((void *) menuitem == (void *) menu_view_toolbar) gconf_path = g_strdup("/apps/gMTP/viewtoolbar"); // context menu if ((void *) menuitem == (void *) cViewSize) gconf_path = g_strdup("/apps/gMTP/viewFileSize"); if ((void *) menuitem == (void *) cViewType) gconf_path = g_strdup("/apps/gMTP/viewFileType"); if ((void *) menuitem == (void *) cViewTrackNumber) gconf_path = g_strdup("/apps/gMTP/viewTrackNumber"); if ((void *) menuitem == (void *) cViewTrackName) gconf_path = g_strdup("/apps/gMTP/viewTitle"); if ((void *) menuitem == (void *) cViewArtist) gconf_path = g_strdup("/apps/gMTP/viewArtist"); if ((void *) menuitem == (void *) cViewAlbum) gconf_path = g_strdup("/apps/gMTP/viewAlbum"); if ((void *) menuitem == (void *) cViewYear) gconf_path = g_strdup("/apps/gMTP/viewYear"); if ((void *) menuitem == (void *) cViewGenre) gconf_path = g_strdup("/apps/gMTP/viewGenre"); if ((void *) menuitem == (void *) cViewDuration) gconf_path = g_strdup("/apps/gMTP/viewDuration"); if ((gconfconnect != NULL) && (gconf_path != NULL)) { gconf_client_set_bool(gconfconnect, gconf_path, state, NULL); g_free(gconf_path); } #else gchar *gsetting_path = NULL; gboolean state = gtk_check_menu_item_get_active(GTK_CHECK_MENU_ITEM(menuitem)); // main menu if ((void *) menuitem == (void *) menu_view_filesize) gsetting_path = g_strdup("viewfilesize"); if ((void *) menuitem == (void *) menu_view_filetype) gsetting_path = g_strdup("viewfiletype"); if ((void *) menuitem == (void *) menu_view_track_number) gsetting_path = g_strdup("viewtracknumber"); if ((void *) menuitem == (void *) menu_view_title) gsetting_path = g_strdup("viewtitle"); if ((void *) menuitem == (void *) menu_view_artist) gsetting_path = g_strdup("viewartist"); if ((void *) menuitem == (void *) menu_view_album) gsetting_path = g_strdup("viewalbum"); if ((void *) menuitem == (void *) menu_view_year) gsetting_path = g_strdup("viewyear"); if ((void *) menuitem == (void *) menu_view_genre) gsetting_path = g_strdup("viewgenre"); if ((void *) menuitem == (void *) menu_view_duration) gsetting_path = g_strdup("viewduration"); if ((void *) menuitem == (void *) menu_view_folders) gsetting_path = g_strdup("viewfolders"); if ((void *) menuitem == (void *) menu_view_toolbar) gsetting_path = g_strdup("viewtoolbar"); //context menu. if ((void *) menuitem == (void *) cViewSize) gsetting_path = g_strdup("viewfilesize"); if ((void *) menuitem == (void *) cViewType) gsetting_path = g_strdup("viewfiletype"); if ((void *) menuitem == (void *) cViewTrackNumber) gsetting_path = g_strdup("viewtracknumber"); if ((void *) menuitem == (void *) cViewTrackName) gsetting_path = g_strdup("viewtitle"); if ((void *) menuitem == (void *) cViewArtist) gsetting_path = g_strdup("viewartist"); if ((void *) menuitem == (void *) cViewAlbum) gsetting_path = g_strdup("viewalbum"); if ((void *) menuitem == (void *) cViewYear) gsetting_path = g_strdup("viewyear"); if ((void *) menuitem == (void *) cViewGenre) gsetting_path = g_strdup("viewgenre"); if ((void *) menuitem == (void *) cViewDuration) gsetting_path = g_strdup("viewduration"); if ((gsettings_connect != NULL) && (gsetting_path != NULL)) { g_settings_set_boolean(gsettings_connect, gsetting_path, state); g_settings_sync(); g_free(gsetting_path); } #endif } // end on_view_activate() // ************************************************************************************************ void on_TrackPlaylist_NewPlaylistButton_activate(GtkWidget *button, gpointer user_data) { UNUSED(button); UNUSED(user_data); gchar *playlistname = NULL; gint combobox_entries = 0; playlistname = displayPlaylistNewDialog(); if (playlistname != NULL) { // Add in playlist to MTP device. playlistAdd(playlistname); // Refresh our playlist information. devicePlayLists = getPlaylists(); // Add it to our combobox #if HAVE_GTK3 == 0 gtk_combo_box_append_text(GTK_COMBO_BOX(combobox_AddTrackPlaylist), (playlistname)); #else //gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(combobox_AddTrackPlaylist), g_strdup(playlistname)); gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(combobox_AddTrackPlaylist), (playlistname)); #endif g_free(playlistname); // Set the active combobox item. combobox_entries = gtk_tree_model_iter_n_children(gtk_combo_box_get_model(GTK_COMBO_BOX(combobox_AddTrackPlaylist)), NULL); gtk_combo_box_set_active(GTK_COMBO_BOX(combobox_AddTrackPlaylist), combobox_entries - 1); } } // ************************************************************************************************ void on_treeviewFolders_rowactivated(GtkTreeSelection *treeselection, gpointer user_data) { UNUSED(user_data); // Block the handler from running ... g_signal_handler_block((gpointer) fileSelection, fileSelectHandler); g_signal_handler_block((gpointer) folderSelection, folderSelectHandler); if ((void *) treeselection == (void *) fileSelection) { gtk_tree_selection_unselect_all(folderSelection); } else { gtk_tree_selection_unselect_all(fileSelection); } // Unblock the handler from running ... g_signal_handler_unblock((gpointer) fileSelection, fileSelectHandler); g_signal_handler_unblock((gpointer) folderSelection, folderSelectHandler); } gmtp-1.3.10/m4/0000755000175000001440000000000012660314456010067 500000000000000gmtp-1.3.10/m4/gettext.m40000644000175000001440000003773212637435103011746 00000000000000# gettext.m4 serial 59 (gettext-0.16.1) dnl Copyright (C) 1995-2006 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl dnl This file can can be used in projects which are not available under dnl the GNU General Public License or the GNU Library General Public dnl License but which still want to provide support for the GNU gettext dnl functionality. dnl Please note that the actual code of the GNU gettext library is covered dnl by the GNU Library General Public License, and the rest of the GNU dnl gettext package package is covered by the GNU General Public License. dnl They are *not* in the public domain. dnl Authors: dnl Ulrich Drepper , 1995-2000. dnl Bruno Haible , 2000-2006. dnl Macro to add for using GNU gettext. dnl Usage: AM_GNU_GETTEXT([INTLSYMBOL], [NEEDSYMBOL], [INTLDIR]). dnl INTLSYMBOL can be one of 'external', 'no-libtool', 'use-libtool'. The dnl default (if it is not specified or empty) is 'no-libtool'. dnl INTLSYMBOL should be 'external' for packages with no intl directory, dnl and 'no-libtool' or 'use-libtool' for packages with an intl directory. dnl If INTLSYMBOL is 'use-libtool', then a libtool library dnl $(top_builddir)/intl/libintl.la will be created (shared and/or static, dnl depending on --{enable,disable}-{shared,static} and on the presence of dnl AM-DISABLE-SHARED). If INTLSYMBOL is 'no-libtool', a static library dnl $(top_builddir)/intl/libintl.a will be created. dnl If NEEDSYMBOL is specified and is 'need-ngettext', then GNU gettext dnl implementations (in libc or libintl) without the ngettext() function dnl will be ignored. If NEEDSYMBOL is specified and is dnl 'need-formatstring-macros', then GNU gettext implementations that don't dnl support the ISO C 99 formatstring macros will be ignored. dnl INTLDIR is used to find the intl libraries. If empty, dnl the value `$(top_builddir)/intl/' is used. dnl dnl The result of the configuration is one of three cases: dnl 1) GNU gettext, as included in the intl subdirectory, will be compiled dnl and used. dnl Catalog format: GNU --> install in $(datadir) dnl Catalog extension: .mo after installation, .gmo in source tree dnl 2) GNU gettext has been found in the system's C library. dnl Catalog format: GNU --> install in $(datadir) dnl Catalog extension: .mo after installation, .gmo in source tree dnl 3) No internationalization, always use English msgid. dnl Catalog format: none dnl Catalog extension: none dnl If INTLSYMBOL is 'external', only cases 2 and 3 can occur. dnl The use of .gmo is historical (it was needed to avoid overwriting the dnl GNU format catalogs when building on a platform with an X/Open gettext), dnl but we keep it in order not to force irrelevant filename changes on the dnl maintainers. dnl AC_DEFUN([AM_GNU_GETTEXT], [ dnl Argument checking. ifelse([$1], [], , [ifelse([$1], [external], , [ifelse([$1], [no-libtool], , [ifelse([$1], [use-libtool], , [errprint([ERROR: invalid first argument to AM_GNU_GETTEXT ])])])])]) ifelse([$2], [], , [ifelse([$2], [need-ngettext], , [ifelse([$2], [need-formatstring-macros], , [errprint([ERROR: invalid second argument to AM_GNU_GETTEXT ])])])]) define([gt_included_intl], ifelse([$1], [external], ifdef([AM_GNU_GETTEXT_][INTL_SUBDIR], [yes], [no]), [yes])) define([gt_libtool_suffix_prefix], ifelse([$1], [use-libtool], [l], [])) gt_NEEDS_INIT AM_GNU_GETTEXT_NEED([$2]) AC_REQUIRE([AM_PO_SUBDIRS])dnl ifelse(gt_included_intl, yes, [ AC_REQUIRE([AM_INTL_SUBDIR])dnl ]) dnl Prerequisites of AC_LIB_LINKFLAGS_BODY. AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) AC_REQUIRE([AC_LIB_RPATH]) dnl Sometimes libintl requires libiconv, so first search for libiconv. dnl Ideally we would do this search only after the dnl if test "$USE_NLS" = "yes"; then dnl if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then dnl tests. But if configure.in invokes AM_ICONV after AM_GNU_GETTEXT dnl the configure script would need to contain the same shell code dnl again, outside any 'if'. There are two solutions: dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'. dnl - Control the expansions in more detail using AC_PROVIDE_IFELSE. dnl Since AC_PROVIDE_IFELSE is only in autoconf >= 2.52 and not dnl documented, we avoid it. ifelse(gt_included_intl, yes, , [ AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY]) ]) dnl Sometimes, on MacOS X, libintl requires linking with CoreFoundation. gt_INTL_MACOSX dnl Set USE_NLS. AC_REQUIRE([AM_NLS]) ifelse(gt_included_intl, yes, [ BUILD_INCLUDED_LIBINTL=no USE_INCLUDED_LIBINTL=no ]) LIBINTL= LTLIBINTL= POSUB= dnl Add a version number to the cache macros. case " $gt_needs " in *" need-formatstring-macros "*) gt_api_version=3 ;; *" need-ngettext "*) gt_api_version=2 ;; *) gt_api_version=1 ;; esac gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" dnl If we use NLS figure out what method if test "$USE_NLS" = "yes"; then gt_use_preinstalled_gnugettext=no ifelse(gt_included_intl, yes, [ AC_MSG_CHECKING([whether included gettext is requested]) AC_ARG_WITH(included-gettext, [ --with-included-gettext use the GNU gettext library included here], nls_cv_force_use_gnu_gettext=$withval, nls_cv_force_use_gnu_gettext=no) AC_MSG_RESULT($nls_cv_force_use_gnu_gettext) nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" if test "$nls_cv_force_use_gnu_gettext" != "yes"; then ]) dnl User does not insist on using GNU NLS library. Figure out what dnl to use. If GNU gettext is available we use this. Else we have dnl to fall back to GNU NLS library. if test $gt_api_version -ge 3; then gt_revision_test_code=' #ifndef __GNU_GETTEXT_SUPPORTED_REVISION #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) #endif changequote(,)dnl typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; changequote([,])dnl ' else gt_revision_test_code= fi if test $gt_api_version -ge 2; then gt_expression_test_code=' + * ngettext ("", "", 0)' else gt_expression_test_code= fi AC_CACHE_CHECK([for GNU gettext in libc], [$gt_func_gnugettext_libc], [AC_TRY_LINK([#include $gt_revision_test_code extern int _nl_msg_cat_cntr; extern int *_nl_domain_bindings;], [bindtextdomain ("", ""); return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings], [eval "$gt_func_gnugettext_libc=yes"], [eval "$gt_func_gnugettext_libc=no"])]) if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then dnl Sometimes libintl requires libiconv, so first search for libiconv. ifelse(gt_included_intl, yes, , [ AM_ICONV_LINK ]) dnl Search for libintl and define LIBINTL, LTLIBINTL and INCINTL dnl accordingly. Don't use AC_LIB_LINKFLAGS_BODY([intl],[iconv]) dnl because that would add "-liconv" to LIBINTL and LTLIBINTL dnl even if libiconv doesn't exist. AC_LIB_LINKFLAGS_BODY([intl]) AC_CACHE_CHECK([for GNU gettext in libintl], [$gt_func_gnugettext_libintl], [gt_save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $INCINTL" gt_save_LIBS="$LIBS" LIBS="$LIBS $LIBINTL" dnl Now see whether libintl exists and does not depend on libiconv. AC_TRY_LINK([#include $gt_revision_test_code extern int _nl_msg_cat_cntr; extern #ifdef __cplusplus "C" #endif const char *_nl_expand_alias (const char *);], [bindtextdomain ("", ""); return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")], [eval "$gt_func_gnugettext_libintl=yes"], [eval "$gt_func_gnugettext_libintl=no"]) dnl Now see whether libintl exists and depends on libiconv. if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then LIBS="$LIBS $LIBICONV" AC_TRY_LINK([#include $gt_revision_test_code extern int _nl_msg_cat_cntr; extern #ifdef __cplusplus "C" #endif const char *_nl_expand_alias (const char *);], [bindtextdomain ("", ""); return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")], [LIBINTL="$LIBINTL $LIBICONV" LTLIBINTL="$LTLIBINTL $LTLIBICONV" eval "$gt_func_gnugettext_libintl=yes" ]) fi CPPFLAGS="$gt_save_CPPFLAGS" LIBS="$gt_save_LIBS"]) fi dnl If an already present or preinstalled GNU gettext() is found, dnl use it. But if this macro is used in GNU gettext, and GNU dnl gettext is already preinstalled in libintl, we update this dnl libintl. (Cf. the install rule in intl/Makefile.in.) if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ && test "$PACKAGE" != gettext-runtime \ && test "$PACKAGE" != gettext-tools; }; then gt_use_preinstalled_gnugettext=yes else dnl Reset the values set by searching for libintl. LIBINTL= LTLIBINTL= INCINTL= fi ifelse(gt_included_intl, yes, [ if test "$gt_use_preinstalled_gnugettext" != "yes"; then dnl GNU gettext is not found in the C library. dnl Fall back on included GNU gettext library. nls_cv_use_gnu_gettext=yes fi fi if test "$nls_cv_use_gnu_gettext" = "yes"; then dnl Mark actions used to generate GNU NLS library. BUILD_INCLUDED_LIBINTL=yes USE_INCLUDED_LIBINTL=yes LIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LIBICONV $LIBTHREAD" LTLIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LTLIBICONV $LTLIBTHREAD" LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'` fi CATOBJEXT= if test "$gt_use_preinstalled_gnugettext" = "yes" \ || test "$nls_cv_use_gnu_gettext" = "yes"; then dnl Mark actions to use GNU gettext tools. CATOBJEXT=.gmo fi ]) if test -n "$INTL_MACOSX_LIBS"; then if test "$gt_use_preinstalled_gnugettext" = "yes" \ || test "$nls_cv_use_gnu_gettext" = "yes"; then dnl Some extra flags are needed during linking. LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" fi fi if test "$gt_use_preinstalled_gnugettext" = "yes" \ || test "$nls_cv_use_gnu_gettext" = "yes"; then AC_DEFINE(ENABLE_NLS, 1, [Define to 1 if translation of program messages to the user's native language is requested.]) else USE_NLS=no fi fi AC_MSG_CHECKING([whether to use NLS]) AC_MSG_RESULT([$USE_NLS]) if test "$USE_NLS" = "yes"; then AC_MSG_CHECKING([where the gettext function comes from]) if test "$gt_use_preinstalled_gnugettext" = "yes"; then if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then gt_source="external libintl" else gt_source="libc" fi else gt_source="included intl directory" fi AC_MSG_RESULT([$gt_source]) fi if test "$USE_NLS" = "yes"; then if test "$gt_use_preinstalled_gnugettext" = "yes"; then if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then AC_MSG_CHECKING([how to link with libintl]) AC_MSG_RESULT([$LIBINTL]) AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL]) fi dnl For backward compatibility. Some packages may be using this. AC_DEFINE(HAVE_GETTEXT, 1, [Define if the GNU gettext() function is already present or preinstalled.]) AC_DEFINE(HAVE_DCGETTEXT, 1, [Define if the GNU dcgettext() function is already present or preinstalled.]) fi dnl We need to process the po/ directory. POSUB=po fi ifelse(gt_included_intl, yes, [ dnl If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL dnl to 'yes' because some of the testsuite requires it. if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then BUILD_INCLUDED_LIBINTL=yes fi dnl Make all variables we use known to autoconf. AC_SUBST(BUILD_INCLUDED_LIBINTL) AC_SUBST(USE_INCLUDED_LIBINTL) AC_SUBST(CATOBJEXT) dnl For backward compatibility. Some configure.ins may be using this. nls_cv_header_intl= nls_cv_header_libgt= dnl For backward compatibility. Some Makefiles may be using this. DATADIRNAME=share AC_SUBST(DATADIRNAME) dnl For backward compatibility. Some Makefiles may be using this. INSTOBJEXT=.mo AC_SUBST(INSTOBJEXT) dnl For backward compatibility. Some Makefiles may be using this. GENCAT=gencat AC_SUBST(GENCAT) dnl For backward compatibility. Some Makefiles may be using this. INTLOBJS= if test "$USE_INCLUDED_LIBINTL" = yes; then INTLOBJS="\$(GETTOBJS)" fi AC_SUBST(INTLOBJS) dnl Enable libtool support if the surrounding package wishes it. INTL_LIBTOOL_SUFFIX_PREFIX=gt_libtool_suffix_prefix AC_SUBST(INTL_LIBTOOL_SUFFIX_PREFIX) ]) dnl For backward compatibility. Some Makefiles may be using this. INTLLIBS="$LIBINTL" AC_SUBST(INTLLIBS) dnl Make all documented variables known to autoconf. AC_SUBST(LIBINTL) AC_SUBST(LTLIBINTL) AC_SUBST(POSUB) ]) dnl Checks for special options needed on MacOS X. dnl Defines INTL_MACOSX_LIBS. AC_DEFUN([gt_INTL_MACOSX], [ dnl Check for API introduced in MacOS X 10.2. AC_CACHE_CHECK([for CFPreferencesCopyAppValue], gt_cv_func_CFPreferencesCopyAppValue, [gt_save_LIBS="$LIBS" LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" AC_TRY_LINK([#include ], [CFPreferencesCopyAppValue(NULL, NULL)], [gt_cv_func_CFPreferencesCopyAppValue=yes], [gt_cv_func_CFPreferencesCopyAppValue=no]) LIBS="$gt_save_LIBS"]) if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then AC_DEFINE([HAVE_CFPREFERENCESCOPYAPPVALUE], 1, [Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in the CoreFoundation framework.]) fi dnl Check for API introduced in MacOS X 10.3. AC_CACHE_CHECK([for CFLocaleCopyCurrent], gt_cv_func_CFLocaleCopyCurrent, [gt_save_LIBS="$LIBS" LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" AC_TRY_LINK([#include ], [CFLocaleCopyCurrent();], [gt_cv_func_CFLocaleCopyCurrent=yes], [gt_cv_func_CFLocaleCopyCurrent=no]) LIBS="$gt_save_LIBS"]) if test $gt_cv_func_CFLocaleCopyCurrent = yes; then AC_DEFINE([HAVE_CFLOCALECOPYCURRENT], 1, [Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the CoreFoundation framework.]) fi INTL_MACOSX_LIBS= if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" fi AC_SUBST([INTL_MACOSX_LIBS]) ]) dnl gt_NEEDS_INIT ensures that the gt_needs variable is initialized. m4_define([gt_NEEDS_INIT], [ m4_divert_text([DEFAULTS], [gt_needs=]) m4_define([gt_NEEDS_INIT], []) ]) dnl Usage: AM_GNU_GETTEXT_NEED([NEEDSYMBOL]) AC_DEFUN([AM_GNU_GETTEXT_NEED], [ m4_divert_text([INIT_PREPARE], [gt_needs="$gt_needs $1"]) ]) dnl Usage: AM_GNU_GETTEXT_VERSION([gettext-version]) AC_DEFUN([AM_GNU_GETTEXT_VERSION], []) gmtp-1.3.10/m4/progtest.m40000644000175000001440000000555012637435103012122 00000000000000# progtest.m4 serial 4 (gettext-0.14.2) dnl Copyright (C) 1996-2003, 2005 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl dnl This file can can be used in projects which are not available under dnl the GNU General Public License or the GNU Library General Public dnl License but which still want to provide support for the GNU gettext dnl functionality. dnl Please note that the actual code of the GNU gettext library is covered dnl by the GNU Library General Public License, and the rest of the GNU dnl gettext package package is covered by the GNU General Public License. dnl They are *not* in the public domain. dnl Authors: dnl Ulrich Drepper , 1996. AC_PREREQ(2.50) # Search path for a program which passes the given test. dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR, dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]]) AC_DEFUN([AM_PATH_PROG_WITH_TEST], [ # Prepare PATH_SEPARATOR. # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi # Find out how to test for executable files. Don't use a zero-byte file, # as systems may use methods other than mode bits to determine executability. cat >conf$$.file <<_ASEOF #! /bin/sh exit 0 _ASEOF chmod +x conf$$.file if test -x conf$$.file >/dev/null 2>&1; then ac_executable_p="test -x" else ac_executable_p="test -f" fi rm -f conf$$.file # Extract the first word of "$2", so it can be a program name with args. set dummy $2; ac_word=[$]2 AC_MSG_CHECKING([for $ac_word]) AC_CACHE_VAL(ac_cv_path_$1, [case "[$]$1" in [[\\/]]* | ?:[[\\/]]*) ac_cv_path_$1="[$]$1" # Let the user override the test with a path. ;; *) ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in ifelse([$5], , $PATH, [$5]); do IFS="$ac_save_IFS" test -z "$ac_dir" && ac_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then echo "$as_me: trying $ac_dir/$ac_word..." >&AS_MESSAGE_LOG_FD if [$3]; then ac_cv_path_$1="$ac_dir/$ac_word$ac_exec_ext" break 2 fi fi done done IFS="$ac_save_IFS" dnl If no 4th arg is given, leave the cache variable unset, dnl so AC_PATH_PROGS will keep looking. ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" ])dnl ;; esac])dnl $1="$ac_cv_path_$1" if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then AC_MSG_RESULT([$]$1) else AC_MSG_RESULT(no) fi AC_SUBST($1)dnl ]) gmtp-1.3.10/m4/po.m40000644000175000001440000004336712637435103010701 00000000000000# po.m4 serial 13 (gettext-0.15) dnl Copyright (C) 1995-2006 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl dnl This file can can be used in projects which are not available under dnl the GNU General Public License or the GNU Library General Public dnl License but which still want to provide support for the GNU gettext dnl functionality. dnl Please note that the actual code of the GNU gettext library is covered dnl by the GNU Library General Public License, and the rest of the GNU dnl gettext package package is covered by the GNU General Public License. dnl They are *not* in the public domain. dnl Authors: dnl Ulrich Drepper , 1995-2000. dnl Bruno Haible , 2000-2003. AC_PREREQ(2.50) dnl Checks for all prerequisites of the po subdirectory. AC_DEFUN([AM_PO_SUBDIRS], [ AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake AC_REQUIRE([AM_NLS])dnl dnl Perform the following tests also if --disable-nls has been given, dnl because they are needed for "make dist" to work. dnl Search for GNU msgfmt in the PATH. dnl The first test excludes Solaris msgfmt and early GNU msgfmt versions. dnl The second test excludes FreeBSD msgfmt. AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, [$ac_dir/$ac_word --statistics /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 && (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], :) AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) dnl Test whether it is GNU msgfmt >= 0.15. changequote(,)dnl case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; *) MSGFMT_015=$MSGFMT ;; esac changequote([,])dnl AC_SUBST([MSGFMT_015]) changequote(,)dnl case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; *) GMSGFMT_015=$GMSGFMT ;; esac changequote([,])dnl AC_SUBST([GMSGFMT_015]) dnl Search for GNU xgettext 0.12 or newer in the PATH. dnl The first test excludes Solaris xgettext and early GNU xgettext versions. dnl The second test excludes FreeBSD xgettext. AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 && (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], :) dnl Remove leftover from FreeBSD xgettext call. rm -f messages.po dnl Test whether it is GNU xgettext >= 0.15. changequote(,)dnl case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; *) XGETTEXT_015=$XGETTEXT ;; esac changequote([,])dnl AC_SUBST([XGETTEXT_015]) dnl Search for GNU msgmerge 0.11 or newer in the PATH. AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge, [$ac_dir/$ac_word --update -q /dev/null /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1], :) dnl Installation directories. dnl Autoconf >= 2.60 defines localedir. For older versions of autoconf, we dnl have to define it here, so that it can be used in po/Makefile. test -n "$localedir" || localedir='${datadir}/locale' AC_SUBST([localedir]) AC_CONFIG_COMMANDS([po-directories], [[ for ac_file in $CONFIG_FILES; do # Support "outfile[:infile[:infile...]]" case "$ac_file" in *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; esac # PO directories have a Makefile.in generated from Makefile.in.in. case "$ac_file" in */Makefile.in) # Adjust a relative srcdir. ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` # In autoconf-2.13 it is called $ac_given_srcdir. # In autoconf-2.50 it is called $srcdir. test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" case "$ac_given_srcdir" in .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; /*) top_srcdir="$ac_given_srcdir" ;; *) top_srcdir="$ac_dots$ac_given_srcdir" ;; esac # Treat a directory as a PO directory if and only if it has a # POTFILES.in file. This allows packages to have multiple PO # directories under different names or in different locations. if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then rm -f "$ac_dir/POTFILES" test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" POMAKEFILEDEPS="POTFILES.in" # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend # on $ac_dir but don't depend on user-specified configuration # parameters. if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then # The LINGUAS file contains the set of available languages. if test -n "$OBSOLETE_ALL_LINGUAS"; then test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" fi ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` # Hide the ALL_LINGUAS assigment from automake < 1.5. eval 'ALL_LINGUAS''=$ALL_LINGUAS_' POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" else # The set of available languages was given in configure.in. # Hide the ALL_LINGUAS assigment from automake < 1.5. eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' fi # Compute POFILES # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) # Compute UPDATEPOFILES # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) # Compute DUMMYPOFILES # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) # Compute GMOFILES # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) case "$ac_given_srcdir" in .) srcdirpre= ;; *) srcdirpre='$(srcdir)/' ;; esac POFILES= UPDATEPOFILES= DUMMYPOFILES= GMOFILES= for lang in $ALL_LINGUAS; do POFILES="$POFILES $srcdirpre$lang.po" UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" DUMMYPOFILES="$DUMMYPOFILES $lang.nop" GMOFILES="$GMOFILES $srcdirpre$lang.gmo" done # CATALOGS depends on both $ac_dir and the user's LINGUAS # environment variable. INST_LINGUAS= if test -n "$ALL_LINGUAS"; then for presentlang in $ALL_LINGUAS; do useit=no if test "%UNSET%" != "$LINGUAS"; then desiredlanguages="$LINGUAS" else desiredlanguages="$ALL_LINGUAS" fi for desiredlang in $desiredlanguages; do # Use the presentlang catalog if desiredlang is # a. equal to presentlang, or # b. a variant of presentlang (because in this case, # presentlang can be used as a fallback for messages # which are not translated in the desiredlang catalog). case "$desiredlang" in "$presentlang"*) useit=yes;; esac done if test $useit = yes; then INST_LINGUAS="$INST_LINGUAS $presentlang" fi done fi CATALOGS= if test -n "$INST_LINGUAS"; then for lang in $INST_LINGUAS; do CATALOGS="$CATALOGS $lang.gmo" done fi test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do if test -f "$f"; then case "$f" in *.orig | *.bak | *~) ;; *) cat "$f" >> "$ac_dir/Makefile" ;; esac fi done fi ;; esac done]], [# Capture the value of obsolete ALL_LINGUAS because we need it to compute # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it # from automake < 1.5. eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' # Capture the value of LINGUAS because we need it to compute CATALOGS. LINGUAS="${LINGUAS-%UNSET%}" ]) ]) dnl Postprocesses a Makefile in a directory containing PO files. AC_DEFUN([AM_POSTPROCESS_PO_MAKEFILE], [ # When this code is run, in config.status, two variables have already been # set: # - OBSOLETE_ALL_LINGUAS is the value of LINGUAS set in configure.in, # - LINGUAS is the value of the environment variable LINGUAS at configure # time. changequote(,)dnl # Adjust a relative srcdir. ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` # In autoconf-2.13 it is called $ac_given_srcdir. # In autoconf-2.50 it is called $srcdir. test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" case "$ac_given_srcdir" in .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; /*) top_srcdir="$ac_given_srcdir" ;; *) top_srcdir="$ac_dots$ac_given_srcdir" ;; esac # Find a way to echo strings without interpreting backslash. if test "X`(echo '\t') 2>/dev/null`" = 'X\t'; then gt_echo='echo' else if test "X`(printf '%s\n' '\t') 2>/dev/null`" = 'X\t'; then gt_echo='printf %s\n' else echo_func () { cat < "$ac_file.tmp" if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then # Add dependencies that cannot be formulated as a simple suffix rule. for lang in $ALL_LINGUAS; do frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'` cat >> "$ac_file.tmp" < /dev/null; then # Add dependencies that cannot be formulated as a simple suffix rule. for lang in $ALL_LINGUAS; do frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'` cat >> "$ac_file.tmp" <> "$ac_file.tmp" < #include ], [iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); iconv_close(cd);], am_cv_func_iconv=yes) if test "$am_cv_func_iconv" != yes; then am_save_LIBS="$LIBS" LIBS="$LIBS $LIBICONV" AC_TRY_LINK([#include #include ], [iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); iconv_close(cd);], am_cv_lib_iconv=yes am_cv_func_iconv=yes) LIBS="$am_save_LIBS" fi ]) if test "$am_cv_func_iconv" = yes; then AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.]) fi if test "$am_cv_lib_iconv" = yes; then AC_MSG_CHECKING([how to link with libiconv]) AC_MSG_RESULT([$LIBICONV]) else dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV dnl either. CPPFLAGS="$am_save_CPPFLAGS" LIBICONV= LTLIBICONV= fi AC_SUBST(LIBICONV) AC_SUBST(LTLIBICONV) ]) AC_DEFUN([AM_ICONV], [ AM_ICONV_LINK if test "$am_cv_func_iconv" = yes; then AC_MSG_CHECKING([for iconv declaration]) AC_CACHE_VAL(am_cv_proto_iconv, [ AC_TRY_COMPILE([ #include #include extern #ifdef __cplusplus "C" #endif #if defined(__STDC__) || defined(__cplusplus) size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); #else size_t iconv(); #endif ], [], am_cv_proto_iconv_arg1="", am_cv_proto_iconv_arg1="const") am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"]) am_cv_proto_iconv=`echo "[$]am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` AC_MSG_RESULT([$]{ac_t:- }[$]am_cv_proto_iconv) AC_DEFINE_UNQUOTED(ICONV_CONST, $am_cv_proto_iconv_arg1, [Define as const if the declaration of iconv() needs const.]) fi ]) gmtp-1.3.10/m4/lib-prefix.m40000644000175000001440000001503612637435103012314 00000000000000# lib-prefix.m4 serial 5 (gettext-0.15) dnl Copyright (C) 2001-2005 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Bruno Haible. dnl AC_LIB_ARG_WITH is synonymous to AC_ARG_WITH in autoconf-2.13, and dnl similar to AC_ARG_WITH in autoconf 2.52...2.57 except that is doesn't dnl require excessive bracketing. ifdef([AC_HELP_STRING], [AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])], [AC_DEFUN([AC_][LIB_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])]) dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed dnl to access previously installed libraries. The basic assumption is that dnl a user will want packages to use other packages he previously installed dnl with the same --prefix option. dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate dnl libraries, but is otherwise very convenient. AC_DEFUN([AC_LIB_PREFIX], [ AC_BEFORE([$0], [AC_LIB_LINKFLAGS]) AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) dnl By default, look in $includedir and $libdir. use_additional=yes AC_LIB_WITH_FINAL_PREFIX([ eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" ]) AC_LIB_ARG_WITH([lib-prefix], [ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib --without-lib-prefix don't search for libraries in includedir and libdir], [ if test "X$withval" = "Xno"; then use_additional=no else if test "X$withval" = "X"; then AC_LIB_WITH_FINAL_PREFIX([ eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" ]) else additional_includedir="$withval/include" additional_libdir="$withval/$acl_libdirstem" fi fi ]) if test $use_additional = yes; then dnl Potentially add $additional_includedir to $CPPFLAGS. dnl But don't add it dnl 1. if it's the standard /usr/include, dnl 2. if it's already present in $CPPFLAGS, dnl 3. if it's /usr/local/include and we are using GCC on Linux, dnl 4. if it doesn't exist as a directory. if test "X$additional_includedir" != "X/usr/include"; then haveit= for x in $CPPFLAGS; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-I$additional_includedir"; then haveit=yes break fi done if test -z "$haveit"; then if test "X$additional_includedir" = "X/usr/local/include"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then if test -d "$additional_includedir"; then dnl Really add $additional_includedir to $CPPFLAGS. CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir" fi fi fi fi dnl Potentially add $additional_libdir to $LDFLAGS. dnl But don't add it dnl 1. if it's the standard /usr/lib, dnl 2. if it's already present in $LDFLAGS, dnl 3. if it's /usr/local/lib and we are using GCC on Linux, dnl 4. if it doesn't exist as a directory. if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then haveit= for x in $LDFLAGS; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then if test -n "$GCC"; then case $host_os in linux*) haveit=yes;; esac fi fi if test -z "$haveit"; then if test -d "$additional_libdir"; then dnl Really add $additional_libdir to $LDFLAGS. LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir" fi fi fi fi fi ]) dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix, dnl acl_final_exec_prefix, containing the values to which $prefix and dnl $exec_prefix will expand at the end of the configure script. AC_DEFUN([AC_LIB_PREPARE_PREFIX], [ dnl Unfortunately, prefix and exec_prefix get only finally determined dnl at the end of configure. if test "X$prefix" = "XNONE"; then acl_final_prefix="$ac_default_prefix" else acl_final_prefix="$prefix" fi if test "X$exec_prefix" = "XNONE"; then acl_final_exec_prefix='${prefix}' else acl_final_exec_prefix="$exec_prefix" fi acl_save_prefix="$prefix" prefix="$acl_final_prefix" eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" prefix="$acl_save_prefix" ]) dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the dnl variables prefix and exec_prefix bound to the values they will have dnl at the end of the configure script. AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX], [ acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" $1 exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" ]) dnl AC_LIB_PREPARE_MULTILIB creates a variable acl_libdirstem, containing dnl the basename of the libdir, either "lib" or "lib64". AC_DEFUN([AC_LIB_PREPARE_MULTILIB], [ dnl There is no formal standard regarding lib and lib64. The current dnl practice is that on a system supporting 32-bit and 64-bit instruction dnl sets or ABIs, 64-bit libraries go under $prefix/lib64 and 32-bit dnl libraries go under $prefix/lib. We determine the compiler's default dnl mode by looking at the compiler's library search path. If at least dnl of its elements ends in /lib64 or points to a directory whose absolute dnl pathname ends in /lib64, we assume a 64-bit ABI. Otherwise we use the dnl default, namely "lib". acl_libdirstem=lib searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` if test -n "$searchpath"; then acl_save_IFS="${IFS= }"; IFS=":" for searchdir in $searchpath; do if test -d "$searchdir"; then case "$searchdir" in */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; *) searchdir=`cd "$searchdir" && pwd` case "$searchdir" in */lib64 ) acl_libdirstem=lib64 ;; esac ;; esac fi done IFS="$acl_save_IFS" fi ]) gmtp-1.3.10/m4/nls.m40000644000175000001440000000226612637435103011050 00000000000000# nls.m4 serial 3 (gettext-0.15) dnl Copyright (C) 1995-2003, 2005-2006 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl dnl This file can can be used in projects which are not available under dnl the GNU General Public License or the GNU Library General Public dnl License but which still want to provide support for the GNU gettext dnl functionality. dnl Please note that the actual code of the GNU gettext library is covered dnl by the GNU Library General Public License, and the rest of the GNU dnl gettext package package is covered by the GNU General Public License. dnl They are *not* in the public domain. dnl Authors: dnl Ulrich Drepper , 1995-2000. dnl Bruno Haible , 2000-2003. AC_PREREQ(2.50) AC_DEFUN([AM_NLS], [ AC_MSG_CHECKING([whether NLS is requested]) dnl Default is enabled NLS AC_ARG_ENABLE(nls, [ --disable-nls do not use Native Language Support], USE_NLS=$enableval, USE_NLS=yes) AC_MSG_RESULT($USE_NLS) AC_SUBST(USE_NLS) ]) gmtp-1.3.10/m4/m4_ax_check_compile_flag.m40000644000175000001440000000640212623770672015126 00000000000000# =========================================================================== # http://www.gnu.org/software/autoconf-archive/ax_check_compile_flag.html # =========================================================================== # # SYNOPSIS # # AX_CHECK_COMPILE_FLAG(FLAG, [ACTION-SUCCESS], [ACTION-FAILURE], [EXTRA-FLAGS], [INPUT]) # # DESCRIPTION # # Check whether the given FLAG works with the current language's compiler # or gives an error. (Warnings, however, are ignored) # # ACTION-SUCCESS/ACTION-FAILURE are shell commands to execute on # success/failure. # # If EXTRA-FLAGS is defined, it is added to the current language's default # flags (e.g. CFLAGS) when the check is done. The check is thus made with # the flags: "CFLAGS EXTRA-FLAGS FLAG". This can for example be used to # force the compiler to issue an error when a bad flag is given. # # INPUT gives an alternative input source to AC_COMPILE_IFELSE. # # NOTE: Implementation based on AX_CFLAGS_GCC_OPTION. Please keep this # macro in sync with AX_CHECK_{PREPROC,LINK}_FLAG. # # LICENSE # # Copyright (c) 2008 Guido U. Draheim # Copyright (c) 2011 Maarten Bosmans # # This program is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the # Free Software Foundation, either version 3 of the License, or (at your # option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General # Public License for more details. # # You should have received a copy of the GNU General Public License along # with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure # scripts that are the output of Autoconf when processing the Macro. You # need not follow the terms of the GNU General Public License when using # or distributing such scripts, even though portions of the text of the # Macro appear in them. The GNU General Public License (GPL) does govern # all other use of the material that constitutes the Autoconf Macro. # # This special exception to the GPL applies to versions of the Autoconf # Macro released by the Autoconf Archive. When you make and distribute a # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. #serial 4 AC_DEFUN([AX_CHECK_COMPILE_FLAG], [AC_PREREQ(2.64)dnl for _AC_LANG_PREFIX and AS_VAR_IF AS_VAR_PUSHDEF([CACHEVAR],[ax_cv_check_[]_AC_LANG_ABBREV[]flags_$4_$1])dnl AC_CACHE_CHECK([whether _AC_LANG compiler accepts $1], CACHEVAR, [ ax_check_save_flags=$[]_AC_LANG_PREFIX[]FLAGS _AC_LANG_PREFIX[]FLAGS="$[]_AC_LANG_PREFIX[]FLAGS $4 $1" AC_COMPILE_IFELSE([m4_default([$5],[AC_LANG_PROGRAM()])], [AS_VAR_SET(CACHEVAR,[yes])], [AS_VAR_SET(CACHEVAR,[no])]) _AC_LANG_PREFIX[]FLAGS=$ax_check_save_flags]) AS_VAR_IF(CACHEVAR,yes, [m4_default([$2], :)], [m4_default([$3], :)]) AS_VAR_POPDEF([CACHEVAR])dnl ])dnl AX_CHECK_COMPILE_FLAGS gmtp-1.3.10/m4/lib-ld.m40000644000175000001440000000653112637435103011416 00000000000000# lib-ld.m4 serial 3 (gettext-0.13) dnl Copyright (C) 1996-2003 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl Subroutines of libtool.m4, dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision dnl with libtool.m4. dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no. AC_DEFUN([AC_LIB_PROG_LD_GNU], [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], acl_cv_prog_gnu_ld, [# I'd rather use --version here, but apparently some GNU ld's only accept -v. case `$LD -v 2>&1 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 ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. AC_MSG_CHECKING([for ld used by GCC]) case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [[\\/]* | [A-Za-z]:[\\/]*)] [re_direlt='/[^/][^/]*/\.\./'] # Canonicalize the path of ld ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test "$with_gnu_ld" = yes; then AC_MSG_CHECKING([for GNU ld]) else AC_MSG_CHECKING([for non-GNU ld]) fi AC_CACHE_VAL(acl_cv_path_LD, [if test -z "$LD"; then IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then acl_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some GNU ld's only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in *GNU* | *'with BFD'*) test "$with_gnu_ld" != no && break ;; *) test "$with_gnu_ld" != yes && break ;; esac fi done IFS="$ac_save_ifs" else acl_cv_path_LD="$LD" # Let the user override the test with a path. fi]) LD="$acl_cv_path_LD" if test -n "$LD"; then AC_MSG_RESULT($LD) else AC_MSG_RESULT(no) fi test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) AC_LIB_PROG_LD_GNU ]) gmtp-1.3.10/m4/lib-link.m40000644000175000001440000006424412637435103011761 00000000000000# lib-link.m4 serial 9 (gettext-0.16) dnl Copyright (C) 2001-2006 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Bruno Haible. AC_PREREQ(2.50) dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and dnl the libraries corresponding to explicit and implicit dependencies. dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and dnl augments the CPPFLAGS variable. AC_DEFUN([AC_LIB_LINKFLAGS], [ AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) AC_REQUIRE([AC_LIB_RPATH]) define([Name],[translit([$1],[./-], [___])]) define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [ AC_LIB_LINKFLAGS_BODY([$1], [$2]) ac_cv_lib[]Name[]_libs="$LIB[]NAME" ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME" ac_cv_lib[]Name[]_cppflags="$INC[]NAME" ]) LIB[]NAME="$ac_cv_lib[]Name[]_libs" LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs" INC[]NAME="$ac_cv_lib[]Name[]_cppflags" AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) AC_SUBST([LIB]NAME) AC_SUBST([LTLIB]NAME) dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the dnl results of this search when this library appears as a dependency. HAVE_LIB[]NAME=yes undefine([Name]) undefine([NAME]) ]) dnl AC_LIB_HAVE_LINKFLAGS(name, dependencies, includes, testcode) dnl searches for libname and the libraries corresponding to explicit and dnl implicit dependencies, together with the specified include files and dnl the ability to compile and link the specified testcode. If found, it dnl sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME} and dnl LTLIB${NAME} variables and augments the CPPFLAGS variable, and dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty. AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], [ AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) AC_REQUIRE([AC_LIB_RPATH]) define([Name],[translit([$1],[./-], [___])]) define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME dnl accordingly. AC_LIB_LINKFLAGS_BODY([$1], [$2]) dnl Add $INC[]NAME to CPPFLAGS before performing the following checks, dnl because if the user has installed lib[]Name and not disabled its use dnl via --without-lib[]Name-prefix, he wants to use it. ac_save_CPPFLAGS="$CPPFLAGS" AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [ ac_save_LIBS="$LIBS" LIBS="$LIBS $LIB[]NAME" AC_TRY_LINK([$3], [$4], [ac_cv_lib[]Name=yes], [ac_cv_lib[]Name=no]) LIBS="$ac_save_LIBS" ]) if test "$ac_cv_lib[]Name" = yes; then HAVE_LIB[]NAME=yes AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the $1 library.]) AC_MSG_CHECKING([how to link with lib[]$1]) AC_MSG_RESULT([$LIB[]NAME]) else HAVE_LIB[]NAME=no dnl If $LIB[]NAME didn't lead to a usable library, we don't need dnl $INC[]NAME either. CPPFLAGS="$ac_save_CPPFLAGS" LIB[]NAME= LTLIB[]NAME= fi AC_SUBST([HAVE_LIB]NAME) AC_SUBST([LIB]NAME) AC_SUBST([LTLIB]NAME) undefine([Name]) undefine([NAME]) ]) dnl Determine the platform dependent parameters needed to use rpath: dnl libext, shlibext, hardcode_libdir_flag_spec, hardcode_libdir_separator, dnl hardcode_direct, hardcode_minus_L. AC_DEFUN([AC_LIB_RPATH], [ dnl Tell automake >= 1.10 to complain if config.rpath is missing. m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([config.rpath])]) AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir AC_CACHE_CHECK([for shared library run path origin], acl_cv_rpath, [ CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh . ./conftest.sh rm -f ./conftest.sh acl_cv_rpath=done ]) wl="$acl_cv_wl" libext="$acl_cv_libext" shlibext="$acl_cv_shlibext" hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" hardcode_direct="$acl_cv_hardcode_direct" hardcode_minus_L="$acl_cv_hardcode_minus_L" dnl Determine whether the user wants rpath handling at all. AC_ARG_ENABLE(rpath, [ --disable-rpath do not hardcode runtime library paths], :, enable_rpath=yes) ]) dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and dnl the libraries corresponding to explicit and implicit dependencies. dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables. AC_DEFUN([AC_LIB_LINKFLAGS_BODY], [ AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) dnl By default, look in $includedir and $libdir. use_additional=yes AC_LIB_WITH_FINAL_PREFIX([ eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" ]) AC_LIB_ARG_WITH([lib$1-prefix], [ --with-lib$1-prefix[=DIR] search for lib$1 in DIR/include and DIR/lib --without-lib$1-prefix don't search for lib$1 in includedir and libdir], [ if test "X$withval" = "Xno"; then use_additional=no else if test "X$withval" = "X"; then AC_LIB_WITH_FINAL_PREFIX([ eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" ]) else additional_includedir="$withval/include" additional_libdir="$withval/$acl_libdirstem" fi fi ]) dnl Search the library and its dependencies in $additional_libdir and dnl $LDFLAGS. Using breadth-first-seach. LIB[]NAME= LTLIB[]NAME= INC[]NAME= rpathdirs= ltrpathdirs= names_already_handled= names_next_round='$1 $2' while test -n "$names_next_round"; do names_this_round="$names_next_round" names_next_round= for name in $names_this_round; do already_handled= for n in $names_already_handled; do if test "$n" = "$name"; then already_handled=yes break fi done if test -z "$already_handled"; then names_already_handled="$names_already_handled $name" dnl See if it was already located by an earlier AC_LIB_LINKFLAGS dnl or AC_LIB_HAVE_LINKFLAGS call. uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` eval value=\"\$HAVE_LIB$uppername\" if test -n "$value"; then if test "$value" = yes; then eval value=\"\$LIB$uppername\" test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value" eval value=\"\$LTLIB$uppername\" test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value" else dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined dnl that this library doesn't exist. So just drop it. : fi else dnl Search the library lib$name in $additional_libdir and $LDFLAGS dnl and the already constructed $LIBNAME/$LTLIBNAME. found_dir= found_la= found_so= found_a= if test $use_additional = yes; then if test -n "$shlibext" \ && { test -f "$additional_libdir/lib$name.$shlibext" \ || { test "$shlibext" = dll \ && test -f "$additional_libdir/lib$name.dll.a"; }; }; then found_dir="$additional_libdir" if test -f "$additional_libdir/lib$name.$shlibext"; then found_so="$additional_libdir/lib$name.$shlibext" else found_so="$additional_libdir/lib$name.dll.a" fi if test -f "$additional_libdir/lib$name.la"; then found_la="$additional_libdir/lib$name.la" fi else if test -f "$additional_libdir/lib$name.$libext"; then found_dir="$additional_libdir" found_a="$additional_libdir/lib$name.$libext" if test -f "$additional_libdir/lib$name.la"; then found_la="$additional_libdir/lib$name.la" fi fi fi fi if test "X$found_dir" = "X"; then for x in $LDFLAGS $LTLIB[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) case "$x" in -L*) dir=`echo "X$x" | sed -e 's/^X-L//'` if test -n "$shlibext" \ && { test -f "$dir/lib$name.$shlibext" \ || { test "$shlibext" = dll \ && test -f "$dir/lib$name.dll.a"; }; }; then found_dir="$dir" if test -f "$dir/lib$name.$shlibext"; then found_so="$dir/lib$name.$shlibext" else found_so="$dir/lib$name.dll.a" fi if test -f "$dir/lib$name.la"; then found_la="$dir/lib$name.la" fi else if test -f "$dir/lib$name.$libext"; then found_dir="$dir" found_a="$dir/lib$name.$libext" if test -f "$dir/lib$name.la"; then found_la="$dir/lib$name.la" fi fi fi ;; esac if test "X$found_dir" != "X"; then break fi done fi if test "X$found_dir" != "X"; then dnl Found the library. LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name" if test "X$found_so" != "X"; then dnl Linking with a shared library. We attempt to hardcode its dnl directory into the executable's runpath, unless it's the dnl standard /usr/lib. if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then dnl No hardcoding is needed. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" else dnl Use an explicit option to hardcode DIR into the resulting dnl binary. dnl Potentially add DIR to ltrpathdirs. dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. haveit= for x in $ltrpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $found_dir" fi dnl The hardcoding into $LIBNAME is system dependent. if test "$hardcode_direct" = yes; then dnl Using DIR/libNAME.so during linking hardcodes DIR into the dnl resulting binary. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" else if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then dnl Use an explicit option to hardcode DIR into the resulting dnl binary. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" dnl Potentially add DIR to rpathdirs. dnl The rpathdirs will be appended to $LIBNAME at the end. haveit= for x in $rpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $found_dir" fi else dnl Rely on "-L$found_dir". dnl But don't add it if it's already contained in the LDFLAGS dnl or the already constructed $LIBNAME haveit= for x in $LDFLAGS $LIB[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-L$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir" fi if test "$hardcode_minus_L" != no; then dnl FIXME: Not sure whether we should use dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" dnl here. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" else dnl We cannot use $hardcode_runpath_var and LD_RUN_PATH dnl here, because this doesn't fit in flags passed to the dnl compiler. So give up. No hardcoding. This affects only dnl very old systems. dnl FIXME: Not sure whether we should use dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" dnl here. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" fi fi fi fi else if test "X$found_a" != "X"; then dnl Linking with a static library. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a" else dnl We shouldn't come here, but anyway it's good to have a dnl fallback. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name" fi fi dnl Assume the include files are nearby. additional_includedir= case "$found_dir" in */$acl_libdirstem | */$acl_libdirstem/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` additional_includedir="$basedir/include" ;; esac if test "X$additional_includedir" != "X"; then dnl Potentially add $additional_includedir to $INCNAME. dnl But don't add it dnl 1. if it's the standard /usr/include, dnl 2. if it's /usr/local/include and we are using GCC on Linux, dnl 3. if it's already present in $CPPFLAGS or the already dnl constructed $INCNAME, dnl 4. if it doesn't exist as a directory. if test "X$additional_includedir" != "X/usr/include"; then haveit= if test "X$additional_includedir" = "X/usr/local/include"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then for x in $CPPFLAGS $INC[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-I$additional_includedir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_includedir"; then dnl Really add $additional_includedir to $INCNAME. INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir" fi fi fi fi fi dnl Look for dependencies. if test -n "$found_la"; then dnl Read the .la file. It defines the variables dnl dlname, library_names, old_library, dependency_libs, current, dnl age, revision, installed, dlopen, dlpreopen, libdir. save_libdir="$libdir" case "$found_la" in */* | *\\*) . "$found_la" ;; *) . "./$found_la" ;; esac libdir="$save_libdir" dnl We use only dependency_libs. for dep in $dependency_libs; do case "$dep" in -L*) additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME. dnl But don't add it dnl 1. if it's the standard /usr/lib, dnl 2. if it's /usr/local/lib and we are using GCC on Linux, dnl 3. if it's already present in $LDFLAGS or the already dnl constructed $LIBNAME, dnl 4. if it doesn't exist as a directory. if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then haveit= if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then haveit= for x in $LDFLAGS $LIB[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then dnl Really add $additional_libdir to $LIBNAME. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir" fi fi haveit= for x in $LDFLAGS $LTLIB[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then dnl Really add $additional_libdir to $LTLIBNAME. LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir" fi fi fi fi ;; -R*) dir=`echo "X$dep" | sed -e 's/^X-R//'` if test "$enable_rpath" != no; then dnl Potentially add DIR to rpathdirs. dnl The rpathdirs will be appended to $LIBNAME at the end. haveit= for x in $rpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $dir" fi dnl Potentially add DIR to ltrpathdirs. dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. haveit= for x in $ltrpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $dir" fi fi ;; -l*) dnl Handle this in the next round. names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` ;; *.la) dnl Handle this in the next round. Throw away the .la's dnl directory; it is already contained in a preceding -L dnl option. names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` ;; *) dnl Most likely an immediate library name. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep" LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep" ;; esac done fi else dnl Didn't find the library; assume it is in the system directories dnl known to the linker and runtime loader. (All the system dnl directories known to the linker should also be known to the dnl runtime loader, otherwise the system is severely misconfigured.) LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name" fi fi fi done done if test "X$rpathdirs" != "X"; then if test -n "$hardcode_libdir_separator"; then dnl Weird platform: only the last -rpath option counts, the user must dnl pass all path elements in one option. We can arrange that for a dnl single library, but not when more than one $LIBNAMEs are used. alldirs= for found_dir in $rpathdirs; do alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" done dnl Note: hardcode_libdir_flag_spec uses $libdir and $wl. acl_save_libdir="$libdir" libdir="$alldirs" eval flag=\"$hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" else dnl The -rpath options are cumulative. for found_dir in $rpathdirs; do acl_save_libdir="$libdir" libdir="$found_dir" eval flag=\"$hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" done fi fi if test "X$ltrpathdirs" != "X"; then dnl When using libtool, the option that works for both libraries and dnl executables is -R. The -R options are cumulative. for found_dir in $ltrpathdirs; do LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir" done fi ]) dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR, dnl unless already present in VAR. dnl Works only for CPPFLAGS, not for LIB* variables because that sometimes dnl contains two or three consecutive elements that belong together. AC_DEFUN([AC_LIB_APPENDTOVAR], [ for element in [$2]; do haveit= for x in $[$1]; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X$element"; then haveit=yes break fi done if test -z "$haveit"; then [$1]="${[$1]}${[$1]:+ }$element" fi done ]) dnl For those cases where a variable contains several -L and -l options dnl referring to unknown libraries and directories, this macro determines the dnl necessary additional linker options for the runtime path. dnl AC_LIB_LINKFLAGS_FROM_LIBS([LDADDVAR], [LIBSVALUE], [USE-LIBTOOL]) dnl sets LDADDVAR to linker options needed together with LIBSVALUE. dnl If USE-LIBTOOL evaluates to non-empty, linking with libtool is assumed, dnl otherwise linking without libtool is assumed. AC_DEFUN([AC_LIB_LINKFLAGS_FROM_LIBS], [ AC_REQUIRE([AC_LIB_RPATH]) AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) $1= if test "$enable_rpath" != no; then if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then dnl Use an explicit option to hardcode directories into the resulting dnl binary. rpathdirs= next= for opt in $2; do if test -n "$next"; then dir="$next" dnl No need to hardcode the standard /usr/lib. if test "X$dir" != "X/usr/$acl_libdirstem"; then rpathdirs="$rpathdirs $dir" fi next= else case $opt in -L) next=yes ;; -L*) dir=`echo "X$opt" | sed -e 's,^X-L,,'` dnl No need to hardcode the standard /usr/lib. if test "X$dir" != "X/usr/$acl_libdirstem"; then rpathdirs="$rpathdirs $dir" fi next= ;; *) next= ;; esac fi done if test "X$rpathdirs" != "X"; then if test -n ""$3""; then dnl libtool is used for linking. Use -R options. for dir in $rpathdirs; do $1="${$1}${$1:+ }-R$dir" done else dnl The linker is used for linking directly. if test -n "$hardcode_libdir_separator"; then dnl Weird platform: only the last -rpath option counts, the user dnl must pass all path elements in one option. alldirs= for dir in $rpathdirs; do alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$dir" done acl_save_libdir="$libdir" libdir="$alldirs" eval flag=\"$hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" $1="$flag" else dnl The -rpath options are cumulative. for dir in $rpathdirs; do acl_save_libdir="$libdir" libdir="$dir" eval flag=\"$hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" $1="${$1}${$1:+ }$flag" done fi fi fi fi fi AC_SUBST([$1]) ]) gmtp-1.3.10/AUTHORS0000644000175000001440000000202312655605137010537 00000000000000gMTP Programmers Darran Kartaschew - chewy509@mailcity.com Distribution Package Maintainers. Solaris 10 - Darran Kartaschew - chewy509@mailcity.com Debian/Ubuntu - Alessio Treglia - alessio@debian.org Arch Linux - Fabio Castelli (Muflone) - webreg@vbsimple.net Gentoo Linux - Thomas Kahle - tomka@gentoo.org Translations. English - Darran Kartaschew Italian - Francesca Ciceri, Fabio Castelli (1.3.7) French - 'Coug' German - Laurenz Kamp Spanish - Google Translate Danish - Cai Andersen Russian - PuppyRus Linux team Brazilian Portuguese - Rafael Ferreira gMTP Icon Oliver Scholtz - unknown email. Icon from Human O2 icon theme set as downloadable from Icon Finder - http://www.iconfinder.net/icondetails/24592/128/?q=mp3 Icon Set released under GPL. Icons in file view. Matthieu James (aka "tiheum") - matthieu.james@gmail.com ? Icons from Faenza icon set as downloadable from Gnome-Look.org - http://gnome-look.org/content/show.php/Faenza?content=128143 Icon Set released under GPL. gMTP Testers/Feedback Andrew Bradley Mark Moeller