Revision: 753 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=753&view=rev Author: ntrel Date: 2009-06-19 16:16:33 +0000 (Fri, 19 Jun 2009)
Log Message: ----------- Move geanylua to geany-plugins project, add i18n support. Rename from GeanyLua to 'Lua Script'. Temporarily fix plugin_configure(). Note: Old autotools files still present won't work - not updated for i18n; use waf for now.
Modified Paths: -------------- trunk/geany-plugins/po/POTFILES.in trunk/geany-plugins/wscript
Added Paths: ----------- trunk/geany-plugins/geanylua/ trunk/geany-plugins/geanylua/AUTHORS trunk/geany-plugins/geanylua/COPYING trunk/geany-plugins/geanylua/COPYRIGHT.LUA trunk/geany-plugins/geanylua/ChangeLog trunk/geany-plugins/geanylua/INSTALL trunk/geany-plugins/geanylua/Makefile.am trunk/geany-plugins/geanylua/NEWS trunk/geany-plugins/geanylua/README trunk/geany-plugins/geanylua/THANKS trunk/geany-plugins/geanylua/autogen.sh trunk/geany-plugins/geanylua/configure.in trunk/geany-plugins/geanylua/docs/ trunk/geany-plugins/geanylua/examples/ trunk/geany-plugins/geanylua/geanylua.c trunk/geany-plugins/geanylua/glspi.h trunk/geany-plugins/geanylua/glspi_app.c trunk/geany-plugins/geanylua/glspi_dlg.c trunk/geany-plugins/geanylua/glspi_doc.c trunk/geany-plugins/geanylua/glspi_init.c trunk/geany-plugins/geanylua/glspi_keycmd.h trunk/geany-plugins/geanylua/glspi_kfile.c trunk/geany-plugins/geanylua/glspi_run.c trunk/geany-plugins/geanylua/glspi_sci.c trunk/geany-plugins/geanylua/glspi_sci.h trunk/geany-plugins/geanylua/glspi_ver.h trunk/geany-plugins/geanylua/gsdlg.c trunk/geany-plugins/geanylua/gsdlg.h trunk/geany-plugins/geanylua/gsdlg_lua.c trunk/geany-plugins/geanylua/keywords.list trunk/geany-plugins/geanylua/util/ trunk/geany-plugins/geanylua/win32-install.vbs trunk/geany-plugins/geanylua/win32-uninstall.vbs
Removed Paths: ------------- trunk/geany-plugins/geanylua/AUTHORS trunk/geany-plugins/geanylua/COPYING trunk/geany-plugins/geanylua/COPYRIGHT.LUA trunk/geany-plugins/geanylua/ChangeLog trunk/geany-plugins/geanylua/INSTALL trunk/geany-plugins/geanylua/Makefile.am trunk/geany-plugins/geanylua/NEWS trunk/geany-plugins/geanylua/README trunk/geany-plugins/geanylua/THANKS trunk/geany-plugins/geanylua/autogen.sh trunk/geany-plugins/geanylua/configure.in trunk/geany-plugins/geanylua/docs/ trunk/geany-plugins/geanylua/examples/ trunk/geany-plugins/geanylua/geanylua.c trunk/geany-plugins/geanylua/glspi.h trunk/geany-plugins/geanylua/glspi_app.c trunk/geany-plugins/geanylua/glspi_dlg.c trunk/geany-plugins/geanylua/glspi_doc.c trunk/geany-plugins/geanylua/glspi_init.c trunk/geany-plugins/geanylua/glspi_keycmd.h trunk/geany-plugins/geanylua/glspi_kfile.c trunk/geany-plugins/geanylua/glspi_run.c trunk/geany-plugins/geanylua/glspi_sci.c trunk/geany-plugins/geanylua/glspi_sci.h trunk/geany-plugins/geanylua/glspi_ver.h trunk/geany-plugins/geanylua/gsdlg.c trunk/geany-plugins/geanylua/gsdlg.h trunk/geany-plugins/geanylua/gsdlg_lua.c trunk/geany-plugins/geanylua/keywords.list trunk/geany-plugins/geanylua/util/ trunk/geany-plugins/geanylua/win32-install.vbs trunk/geany-plugins/geanylua/win32-uninstall.vbs trunk/geanylua/
Deleted: trunk/geany-plugins/geanylua/AUTHORS =================================================================== --- trunk/geanylua/AUTHORS 2009-06-11 10:10:43 UTC (rev 703) +++ trunk/geany-plugins/geanylua/AUTHORS 2009-06-19 16:16:33 UTC (rev 753) @@ -1 +0,0 @@ -Jeff Pohlmeyer yetanothergeek@gmail.com
Copied: trunk/geany-plugins/geanylua/AUTHORS (from rev 752, trunk/geanylua/AUTHORS) =================================================================== --- trunk/geany-plugins/geanylua/AUTHORS (rev 0) +++ trunk/geany-plugins/geanylua/AUTHORS 2009-06-19 16:16:33 UTC (rev 753) @@ -0,0 +1 @@ +Jeff Pohlmeyer yetanothergeek@gmail.com
Deleted: trunk/geany-plugins/geanylua/COPYING =================================================================== --- trunk/geanylua/COPYING 2009-06-11 10:10:43 UTC (rev 703) +++ trunk/geany-plugins/geanylua/COPYING 2009-06-19 16:16:33 UTC (rev 753) @@ -1,340 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc. - 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Library General Public License instead.) You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. - - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. - - The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. - -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. - - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - <one line to give the program's name and a brief idea of what it does.> - Copyright (C) <year> <name of author> - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - - -Also add information on how to contact you by electronic and paper mail. - -If the program is interactive, make it output a short notice like this -when it starts in an interactive mode: - - Gnomovision version 69, Copyright (C) year name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, the commands you use may -be called something other than `show w' and `show c'; they could even be -mouse-clicks or menu items--whatever suits your program. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the program, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - - <signature of Ty Coon>, 1 April 1989 - Ty Coon, President of Vice - -This General Public License does not permit incorporating your program into -proprietary programs. If your program is a subroutine library, you may -consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Library General -Public License instead of this License.
Copied: trunk/geany-plugins/geanylua/COPYING (from rev 752, trunk/geanylua/COPYING) =================================================================== --- trunk/geany-plugins/geanylua/COPYING (rev 0) +++ trunk/geany-plugins/geanylua/COPYING 2009-06-19 16:16:33 UTC (rev 753) @@ -0,0 +1,340 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License.
Deleted: trunk/geany-plugins/geanylua/COPYRIGHT.LUA =================================================================== --- trunk/geanylua/COPYRIGHT.LUA 2009-06-11 10:10:43 UTC (rev 703) +++ trunk/geany-plugins/geanylua/COPYRIGHT.LUA 2009-06-19 16:16:33 UTC (rev 753) @@ -1,34 +0,0 @@ -Lua License ------------ - -Lua is licensed under the terms of the MIT license reproduced below. -This means that Lua is free software and can be used for both academic -and commercial purposes at absolutely no cost. - -For details and rationale, see http://www.lua.org/license.html . - -=============================================================================== - -Copyright (C) 1994-2007 Lua.org, PUC-Rio. - -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 -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - -=============================================================================== - -(end of COPYRIGHT)
Copied: trunk/geany-plugins/geanylua/COPYRIGHT.LUA (from rev 752, trunk/geanylua/COPYRIGHT.LUA) =================================================================== --- trunk/geany-plugins/geanylua/COPYRIGHT.LUA (rev 0) +++ trunk/geany-plugins/geanylua/COPYRIGHT.LUA 2009-06-19 16:16:33 UTC (rev 753) @@ -0,0 +1,34 @@ +Lua License +----------- + +Lua is licensed under the terms of the MIT license reproduced below. +This means that Lua is free software and can be used for both academic +and commercial purposes at absolutely no cost. + +For details and rationale, see http://www.lua.org/license.html . + +=============================================================================== + +Copyright (C) 1994-2007 Lua.org, PUC-Rio. + +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 +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +=============================================================================== + +(end of COPYRIGHT)
Deleted: trunk/geany-plugins/geanylua/ChangeLog =================================================================== --- trunk/geanylua/ChangeLog 2009-06-11 10:10:43 UTC (rev 703) +++ trunk/geany-plugins/geanylua/ChangeLog 2009-06-19 16:16:33 UTC (rev 753) @@ -1,330 +0,0 @@ -December 5, 2008 (ntrel) - Update to Geany API v115. - -September 17, 2008 (eht16) - Fix to work with Geany API v93. - -September 11, 2008 (ntrel) - Fix wrong argument for "project-close" signal. - Fix document signal callbacks to use document pointers. - -August 8, 2008 (ntrel) - Fix to work with Geany API v86. - -August 7, 2008 (ntrel) - Use $(mkdir_p) instead of $(MKDIR_P) in Makefile, so it works with - automake <= 1.96. - -July 17, 2008 (ntrel) - Fix use of old app macro. - Fix segfault in last commit in glspi_init() (oops). - Don't install .svn subdirectories in examples. - -July 15, 2008 (ntrel) - Fix for GeanyEditor changes. - -July 11, 2008 (ntrel) - Use plugin_init(), plugin_cleanup(). - Add macro for main_widgets, fix project access. - Require Lua >= 5.1, not 5.1.2. - -July 10, 2008 (ntrel) - Convert doc_array usage to documents_array. - -July 2, 2008 (ntrel) - Update to use document pointers. - Update MY_GEANY_API_VER now we use p_document->close(). - Update for new PLUGIN_ macro names. - Add comment about reloading in glspi_open(). - Rename GeanyCallbacks, geany_callbacks symbol. - Rename document -> GeanyDocument. - -July 1, 2008 (ntrel) - Begin updating for Geany 0.15 API changes. - Use main_widgets instead of old app. - Include some Geany headers due to moved definitions. - Add glspi_geany_functions. - Use new _prefs structs. - Update DOCS macro usage for documents_array. - -Mar 24, 2008 - Released version 0.7.0 - -Mar 23, 2008 - Added a new examples folder "work" with three new scripts: - edit-test-script.lua; run-test-script.lua; install-test-script.lua - These should make it a little easier for users to develop and save - their own personal scripts. - Also added "examples/edit/calculator.lua" - - The idea came from the "Plugin Wishlist" on the Geany website, only - this one can even do some fancy stuff like 'sqrt(pi^2*sin(rad(45)))' - -Mar 14, 2008 - Revised configure.in and Makefile.am to support Geany's new header - installation and pkg-config features, so the build configuration - no longer requires the --with-geany-src option. - -Mar 13, 2008 - Added support for Geany's new built-in keybinding API. - This means that scripts can now take advantage of Geany's - preferences system to configure keybindings. - See ./docs/geanylua-keys.html for more info. - -Feb 21, 2008 - Code cleanup to quiet some compiler warnings. - Fix to compile with -DGEANY_DISABLE_DEPRECATED flag. - -Feb 21, 2008 - New function: optimize() disables line info and elapsed time counter - for scripts that need all the CPU time they can get. - Also found and fixed a nasty crash bug in the filter-parsing code for - the pickfile() function. - -Feb 20, 2008 - Added a copy of Enrico Colombini and Thomas Lauer's "Lua Short Reference" - to the GeanyLua docs. This provides a convenient and concise guide to the - Lua language and its core libraries. - -Feb 19, 2008 - Removed gtk_main_iteration() loop from glspi_run_script() in glspi_run.c. - I am not even sure why it was there, possibly it was needed for something, - but maybe it just seemed like a good idea at the time. It was causing some - scripts to hang under certain conditions, particularly when event scripts - were invoked while the GeanyDebug plugin was running. - -Feb 12, 2008 - Fixed missing symbols in Win32 library. - ( Thanks to Joerg Desch for reporting. ) - -Jan 28, 2008 - Released version 0.6.1 - Note that the pre-compiled binaries availiable on the website are now - statically linked to Lua-5.1.3 instead of 5.1.2. This was a bugfix-only - release of Lua, and since most of the bugs were fairly obscure and trivial, - it really shouldn't affect GeanyLua at all. - -Jan 28, 2008 - Fixed "make install" bug where ~/.geany/plugins/geanylua was not getting - created, which caused the installation to fail if the directory didn't - already exist. ( Thanks to Harri Koskinen for reporting. ) - -Jan 22, 2008 - Added the ability to show a calltip for the keygrab() function. - It might not seem like much, but I think it is a big improvement - over the previous "typing while blind" limitation. - -Jan 21, 2008 - Released version 0.6.0 - -Jan 19, 2008 - New function: keygrab() intercepts the next keystroke from Geany, useful for - creating "chained" keybindings. ( Thanks to John Gabriele for suggesting. ) - -Jan 17, 2008 - Fix missing *.vbs files from "make dist" - -Jan 16, 2008 - Major change - All of the core functionality has been moved into a support - library named "libgeanylua.so" and now the "geanylua.so" plugin is only a - thin wrapper around the core. This was done to bypass the local-binding - restriction placed on plugins by Geany, which prevented Lua API functions - from being referenced from binary Lua modules. - -Jan 14, 2008 - Major code refactoring, trying to hide as many globally-visible symbols - as possible. There is a good chance that this might introduce a bug or - two, but I also found and fixed a bug in the choose() function, so - at least maybe it won't be a total loss. - -Jan 13, 2008 - Cleaned up the documentation. - -Jan 12, 2008 - Added some code to help with repainting the GUI during lengthy operations, - using the low-level GDK paint functions instead of the usual GTK main loop. - This should help keep the window painted while still preventing too much - user interaction while a script is running. - -Jan 11, 2008 - The timeout measurement now pauses the timer while dialogs are displayed, - rather than setting the timer back to zero for each dialog. Actually it - considers the time spent as 1/10 of a second, to keep timeouts working - even if you create an endless loop with a dialog inside. But even still, - you might need to click a lot of buttons before the timer expires! - -Jan 10, 2008 - Revamped the ugly and broken goto_error() function. Trying to parse the - filename and line number from the builtin error messages was just wrong, - and couldn't possibly be reliable since Lua truncates long path names when - it formats the message. So now we store the filename and line number from - our debug_hook() in case the filename changes if the script calls Lua's - dofile() function or something. That is a really slow way to do things, - since we strcmp() the filenames every time the interpreter executes a line. - But for now it's the only way I know how, and at least now it's working. - -Jan 8, 2008 - The "geanylua.c" file was getting a bit too large to navigate easily, - so I moved most of the lua-related code into a new file, "glspi_run.c" - Added some new features to the filename-to-menu-label generator, a trailing - underscore in the filename will create an ellipsis after for the menu label, - e.g. "Files_.lua" becomes "Files..." Also, any two-digit prefix followed - by a dot is now stripped off, this gives more control over the position of - menu items, e.g. "01.Zebra.lua" and "02.Apple.lua" creates the "Zebra" label - before the "Apple" label. - -Jan 7, 2008 - Just after releasing 0.5.2, I found a mistake in the "gsdlg.c" file - that prevented the timeout reset for dialogs from working correctly. - It should be fixed now. - -Jan 7, 2008 - Released version 0.5.2 - Revised licensing clause to allow users the possibility of - choosing GPL-v2 or later versions. - -Jan 6, 2008 - New function: yield() allows lengthy script operations to call - gtk_main_iteration() occasionaly to prevent the IDE from appearing - frozen. I imagine there might be cases where using this function - might be a very bad idea, since it allows the user and the script - to interact with Geany at the same time. - -Jan 4, 2008 - Partially fixed the long-standing problem that a faulty script can - potentially lock up Geany. Scripts are now given a maximum of fifteen - seconds to complete before generating an error. This fix is not totally - idiot-proof, but it should provide adequate protection against endless loops. - ( Be warned - it might still be possible to hang up a script in some other - ways which can't currently be detected. ) - Also added a timeout() function to allow script authors to increase or even - completely disable the timeout if needed. - -Jan 2, 2008 - Released version 0.5.1 - Fix to compile against Geany-SVN-r2145 (API Ver 37) - Moved all #include's for geany source headers above the evil "pluginmacros.h" - so maybe this bug won't bite me again. - -Jan 1, 2008 - Released version 0.5.0 - -Jan 1, 2008 - Added files "win32-install.vbs" and "win32-uninstall.vbs" to hopefully - simplify windows installation. Likewise, added the file "install.sh" - to the pre-compiled Linux-x86 archive. - -Dec. 28, 2007 - New function: rescan() rebuilds the "Tools->Lua Scripts" menu - so you can update your menus on-the-fly. - -Dec. 26, 2007 - New function: launch() spawns a new process and returns immediately, - unlike Lua's standard execute() function which waits for the child - process to terminate before returning. - -Dec. 24, 2007 - Completed (?) changing the makefile over to use autotools. - IMPORTANT NOTE: The new name of the script folder is now - .../plugins/geanylua instead of the old name of .../plugins/lua, - so you should move any of your own custom scripts into the new folder. - -Dec. 23, 2007 - Following Enrico's suggestion, I converted code over to use - the "pluginmacors.h" macros. - -Dec. 18, 2007 - Added keycmd() function to activate geany menu commands, per GeanyKeyCommand - enum in geany/src/keybindings.h - -Dec 15, 2007 - Fixed a bad bug where menu items were not getting removed when - the plugin was disabled in plugin manager. - -Nov 29, 2007 - Added function wkdir() to get/set the current working directory. - -Nov 26, 2007 - Fixed a bug in the count() function - it was including documents that - were already closed. - -Nov 24, 2007 - Added a new module "dialog" to provide a more flexible means for creating - custom dialog boxes. See gsdlg* sources and ./docs/geanylua-input.html . - -Nov 21, 2007 - Added support for project opened/saved/closed event scripts. - These events receive a global variable, "geany.project" which - is a thin Lua wrapper around the GKeyFile object. Also added - a new Lua "keyfile" module to manipulate this type of object. - -Nov 20, 2007 - Added PLUGIN_AUTHOR define for API compatibility. - Added a function to display a customized configure dialog for Geany's new - plugin manager. - -Nov 19, 2007 - Released "Development snapshot" (geanylua-2007-11-19.tar.gz) - -Nov 7, 2007 - Added some filesystem-related functions: - basename(); dirname(); dirlist(); stat(); and dirsep constant. - -Nov 6, 2007 - Added support for two new 'event' scripts, "init.lua" and "cleanup.lua" - that run (respectively) when the plugin is loaded and unloaded. - -Nov 5, 2007 - New function: signal() to send signals to Geany widgets, - mostly to activate builtin menu commands. - - -Nov 4, 2007 - Renamed source files from lua_* to glspi_* ( Geany Lua Scripting Plug In ) - - -Nov 3, 2007 - New function: xsel() to get/set the primary X selection. - - -Nov 2, 2007 - New function: appinfo() to retrieve various Geany folder locations and - preferences, etc. - - -Nov 1, 2007 - New function: pickfile() to access the standard GTK file chooser - open/save dialogs. - - -Oct 31, 2007 - Added the ability to launch scripts from accelerator-key bindings - by using specially-formatted comment tags. Now your favorite script - can be right at your fingertips! - - -Oct 15, 2007 - Changed makefile to use pkg-config for Lua. - - -Oct 13, 2007 - Bumped versions: plugin=0.3, API=20 to correspond with "official" - Geany 0.12 release. - - -Oct 10, 2007 - Revised conditional to use GTK_MESSAGE_INFO instead of GTK_MESSAGE_OTHER - for all GTK versions before 2.10. - - -Sept 20, 2007 - Added an "open" button to the script error dialog, to give the user an - option to revise faulty scripts. - - -Sept 11, 2007: - Revised geany.open() function to reflect svn~1870 API changes. - - -Sept 5, 2007: - Initial release. (Version 0.1) -
Copied: trunk/geany-plugins/geanylua/ChangeLog (from rev 752, trunk/geanylua/ChangeLog) =================================================================== --- trunk/geany-plugins/geanylua/ChangeLog (rev 0) +++ trunk/geany-plugins/geanylua/ChangeLog 2009-06-19 16:16:33 UTC (rev 753) @@ -0,0 +1,335 @@ +June 19, 2009 (ntrel) + Move to geany-plugins project, add i18n support. + Rename from GeanyLua to 'Lua Script'. + Temporarily fix plugin_configure(). + +December 5, 2008 (ntrel) + Update to Geany API v115. + +September 17, 2008 (eht16) + Fix to work with Geany API v93. + +September 11, 2008 (ntrel) + Fix wrong argument for "project-close" signal. + Fix document signal callbacks to use document pointers. + +August 8, 2008 (ntrel) + Fix to work with Geany API v86. + +August 7, 2008 (ntrel) + Use $(mkdir_p) instead of $(MKDIR_P) in Makefile, so it works with + automake <= 1.96. + +July 17, 2008 (ntrel) + Fix use of old app macro. + Fix segfault in last commit in glspi_init() (oops). + Don't install .svn subdirectories in examples. + +July 15, 2008 (ntrel) + Fix for GeanyEditor changes. + +July 11, 2008 (ntrel) + Use plugin_init(), plugin_cleanup(). + Add macro for main_widgets, fix project access. + Require Lua >= 5.1, not 5.1.2. + +July 10, 2008 (ntrel) + Convert doc_array usage to documents_array. + +July 2, 2008 (ntrel) + Update to use document pointers. + Update MY_GEANY_API_VER now we use p_document->close(). + Update for new PLUGIN_ macro names. + Add comment about reloading in glspi_open(). + Rename GeanyCallbacks, geany_callbacks symbol. + Rename document -> GeanyDocument. + +July 1, 2008 (ntrel) + Begin updating for Geany 0.15 API changes. + Use main_widgets instead of old app. + Include some Geany headers due to moved definitions. + Add glspi_geany_functions. + Use new _prefs structs. + Update DOCS macro usage for documents_array. + +Mar 24, 2008 + Released version 0.7.0 + +Mar 23, 2008 + Added a new examples folder "work" with three new scripts: + edit-test-script.lua; run-test-script.lua; install-test-script.lua + These should make it a little easier for users to develop and save + their own personal scripts. + Also added "examples/edit/calculator.lua" - + The idea came from the "Plugin Wishlist" on the Geany website, only + this one can even do some fancy stuff like 'sqrt(pi^2*sin(rad(45)))' + +Mar 14, 2008 + Revised configure.in and Makefile.am to support Geany's new header + installation and pkg-config features, so the build configuration + no longer requires the --with-geany-src option. + +Mar 13, 2008 + Added support for Geany's new built-in keybinding API. + This means that scripts can now take advantage of Geany's + preferences system to configure keybindings. + See ./docs/geanylua-keys.html for more info. + +Feb 21, 2008 + Code cleanup to quiet some compiler warnings. + Fix to compile with -DGEANY_DISABLE_DEPRECATED flag. + +Feb 21, 2008 + New function: optimize() disables line info and elapsed time counter + for scripts that need all the CPU time they can get. + Also found and fixed a nasty crash bug in the filter-parsing code for + the pickfile() function. + +Feb 20, 2008 + Added a copy of Enrico Colombini and Thomas Lauer's "Lua Short Reference" + to the GeanyLua docs. This provides a convenient and concise guide to the + Lua language and its core libraries. + +Feb 19, 2008 + Removed gtk_main_iteration() loop from glspi_run_script() in glspi_run.c. + I am not even sure why it was there, possibly it was needed for something, + but maybe it just seemed like a good idea at the time. It was causing some + scripts to hang under certain conditions, particularly when event scripts + were invoked while the GeanyDebug plugin was running. + +Feb 12, 2008 + Fixed missing symbols in Win32 library. + ( Thanks to Joerg Desch for reporting. ) + +Jan 28, 2008 + Released version 0.6.1 + Note that the pre-compiled binaries availiable on the website are now + statically linked to Lua-5.1.3 instead of 5.1.2. This was a bugfix-only + release of Lua, and since most of the bugs were fairly obscure and trivial, + it really shouldn't affect GeanyLua at all. + +Jan 28, 2008 + Fixed "make install" bug where ~/.geany/plugins/geanylua was not getting + created, which caused the installation to fail if the directory didn't + already exist. ( Thanks to Harri Koskinen for reporting. ) + +Jan 22, 2008 + Added the ability to show a calltip for the keygrab() function. + It might not seem like much, but I think it is a big improvement + over the previous "typing while blind" limitation. + +Jan 21, 2008 + Released version 0.6.0 + +Jan 19, 2008 + New function: keygrab() intercepts the next keystroke from Geany, useful for + creating "chained" keybindings. ( Thanks to John Gabriele for suggesting. ) + +Jan 17, 2008 + Fix missing *.vbs files from "make dist" + +Jan 16, 2008 + Major change - All of the core functionality has been moved into a support + library named "libgeanylua.so" and now the "geanylua.so" plugin is only a + thin wrapper around the core. This was done to bypass the local-binding + restriction placed on plugins by Geany, which prevented Lua API functions + from being referenced from binary Lua modules. + +Jan 14, 2008 + Major code refactoring, trying to hide as many globally-visible symbols + as possible. There is a good chance that this might introduce a bug or + two, but I also found and fixed a bug in the choose() function, so + at least maybe it won't be a total loss. + +Jan 13, 2008 + Cleaned up the documentation. + +Jan 12, 2008 + Added some code to help with repainting the GUI during lengthy operations, + using the low-level GDK paint functions instead of the usual GTK main loop. + This should help keep the window painted while still preventing too much + user interaction while a script is running. + +Jan 11, 2008 + The timeout measurement now pauses the timer while dialogs are displayed, + rather than setting the timer back to zero for each dialog. Actually it + considers the time spent as 1/10 of a second, to keep timeouts working + even if you create an endless loop with a dialog inside. But even still, + you might need to click a lot of buttons before the timer expires! + +Jan 10, 2008 + Revamped the ugly and broken goto_error() function. Trying to parse the + filename and line number from the builtin error messages was just wrong, + and couldn't possibly be reliable since Lua truncates long path names when + it formats the message. So now we store the filename and line number from + our debug_hook() in case the filename changes if the script calls Lua's + dofile() function or something. That is a really slow way to do things, + since we strcmp() the filenames every time the interpreter executes a line. + But for now it's the only way I know how, and at least now it's working. + +Jan 8, 2008 + The "geanylua.c" file was getting a bit too large to navigate easily, + so I moved most of the lua-related code into a new file, "glspi_run.c" + Added some new features to the filename-to-menu-label generator, a trailing + underscore in the filename will create an ellipsis after for the menu label, + e.g. "Files_.lua" becomes "Files..." Also, any two-digit prefix followed + by a dot is now stripped off, this gives more control over the position of + menu items, e.g. "01.Zebra.lua" and "02.Apple.lua" creates the "Zebra" label + before the "Apple" label. + +Jan 7, 2008 + Just after releasing 0.5.2, I found a mistake in the "gsdlg.c" file + that prevented the timeout reset for dialogs from working correctly. + It should be fixed now. + +Jan 7, 2008 + Released version 0.5.2 + Revised licensing clause to allow users the possibility of + choosing GPL-v2 or later versions. + +Jan 6, 2008 + New function: yield() allows lengthy script operations to call + gtk_main_iteration() occasionaly to prevent the IDE from appearing + frozen. I imagine there might be cases where using this function + might be a very bad idea, since it allows the user and the script + to interact with Geany at the same time. + +Jan 4, 2008 + Partially fixed the long-standing problem that a faulty script can + potentially lock up Geany. Scripts are now given a maximum of fifteen + seconds to complete before generating an error. This fix is not totally + idiot-proof, but it should provide adequate protection against endless loops. + ( Be warned - it might still be possible to hang up a script in some other + ways which can't currently be detected. ) + Also added a timeout() function to allow script authors to increase or even + completely disable the timeout if needed. + +Jan 2, 2008 + Released version 0.5.1 + Fix to compile against Geany-SVN-r2145 (API Ver 37) + Moved all #include's for geany source headers above the evil "pluginmacros.h" + so maybe this bug won't bite me again. + +Jan 1, 2008 + Released version 0.5.0 + +Jan 1, 2008 + Added files "win32-install.vbs" and "win32-uninstall.vbs" to hopefully + simplify windows installation. Likewise, added the file "install.sh" + to the pre-compiled Linux-x86 archive. + +Dec. 28, 2007 + New function: rescan() rebuilds the "Tools->Lua Scripts" menu + so you can update your menus on-the-fly. + +Dec. 26, 2007 + New function: launch() spawns a new process and returns immediately, + unlike Lua's standard execute() function which waits for the child + process to terminate before returning. + +Dec. 24, 2007 + Completed (?) changing the makefile over to use autotools. + IMPORTANT NOTE: The new name of the script folder is now + .../plugins/geanylua instead of the old name of .../plugins/lua, + so you should move any of your own custom scripts into the new folder. + +Dec. 23, 2007 + Following Enrico's suggestion, I converted code over to use + the "pluginmacors.h" macros. + +Dec. 18, 2007 + Added keycmd() function to activate geany menu commands, per GeanyKeyCommand + enum in geany/src/keybindings.h + +Dec 15, 2007 + Fixed a bad bug where menu items were not getting removed when + the plugin was disabled in plugin manager. + +Nov 29, 2007 + Added function wkdir() to get/set the current working directory. + +Nov 26, 2007 + Fixed a bug in the count() function - it was including documents that + were already closed. + +Nov 24, 2007 + Added a new module "dialog" to provide a more flexible means for creating + custom dialog boxes. See gsdlg* sources and ./docs/geanylua-input.html . + +Nov 21, 2007 + Added support for project opened/saved/closed event scripts. + These events receive a global variable, "geany.project" which + is a thin Lua wrapper around the GKeyFile object. Also added + a new Lua "keyfile" module to manipulate this type of object. + +Nov 20, 2007 + Added PLUGIN_AUTHOR define for API compatibility. + Added a function to display a customized configure dialog for Geany's new + plugin manager. + +Nov 19, 2007 + Released "Development snapshot" (geanylua-2007-11-19.tar.gz) + +Nov 7, 2007 + Added some filesystem-related functions: + basename(); dirname(); dirlist(); stat(); and dirsep constant. + +Nov 6, 2007 + Added support for two new 'event' scripts, "init.lua" and "cleanup.lua" + that run (respectively) when the plugin is loaded and unloaded. + +Nov 5, 2007 + New function: signal() to send signals to Geany widgets, + mostly to activate builtin menu commands. + + +Nov 4, 2007 + Renamed source files from lua_* to glspi_* ( Geany Lua Scripting Plug In ) + + +Nov 3, 2007 + New function: xsel() to get/set the primary X selection. + + +Nov 2, 2007 + New function: appinfo() to retrieve various Geany folder locations and + preferences, etc. + + +Nov 1, 2007 + New function: pickfile() to access the standard GTK file chooser + open/save dialogs. + + +Oct 31, 2007 + Added the ability to launch scripts from accelerator-key bindings + by using specially-formatted comment tags. Now your favorite script + can be right at your fingertips! + + +Oct 15, 2007 + Changed makefile to use pkg-config for Lua. + + +Oct 13, 2007 + Bumped versions: plugin=0.3, API=20 to correspond with "official" + Geany 0.12 release. + + +Oct 10, 2007 + Revised conditional to use GTK_MESSAGE_INFO instead of GTK_MESSAGE_OTHER + for all GTK versions before 2.10. + + +Sept 20, 2007 + Added an "open" button to the script error dialog, to give the user an + option to revise faulty scripts. + + +Sept 11, 2007: + Revised geany.open() function to reflect svn~1870 API changes. + + +Sept 5, 2007: + Initial release. (Version 0.1) +
Deleted: trunk/geany-plugins/geanylua/INSTALL =================================================================== --- trunk/geanylua/INSTALL 2009-06-11 10:10:43 UTC (rev 703) +++ trunk/geany-plugins/geanylua/INSTALL 2009-06-19 16:16:33 UTC (rev 753) @@ -1,103 +0,0 @@ - -Important note! If you are upgrading from an older installation, please note -that the name of the script folder is now changed from /lua/ to /geanylua/ !!! - - - -These installation instructions are written primarily for a Linux system, -followed by some additional notes for MS-Windows users. - -If you are installing from the pre-compiled Linux plugin package, you can -just run the "install.sh" script, to install the plugin, examples, and help -files into your ~/.geany/plugins directory. - - -If you want Geany's syntax highlighter to recognize the plugin's function -names you can also modify your "filetypes.lua" file according to the notes -in the "geanylua/keywords.list" file. - - -For those of you who want to compile the plugin from scratch, keep reading... - - -At the time of this writing, building the plugin requires a recent SVN checkout -of the Geany sources (r2391+), and a properly installed copy of the Lua 5.1.x -library, headers, and pkg-config script. - - -Recent versions of Geany will now install all the necessary headers in -$PREFIX/include/geany/ along with a pkg-config script that tells configure -where to find the required files, so the old --with-geany-src option -is no longer required. Building should now be as simple as: - - % configure - % make - % make install - -The "make install" command copies the files to your personal ~/.geany/plugins/ -directory, so you don't need to be root to install. If you actually do want -everyone on the system to be able to access to the same copy of the plugin, -you can add the --enable-sys-install option to the ./configure command line. - - -To uninstall the plugin, you should be able to simply type "make uninstall" -but be warned - although it will try not to remove any of your own personal -scripts, the folder "geanylua/examples" and all its contents will always be -removed unconditionally, so any scripts in the examples directory WILL BE LOST! - - - -=========================== MS-WINDOWS NOTES =============================== - -The pre-compiled GeanyLua package includes a couple of Visual Basic scripts -that I hope will simplify installation for most users. The scripts require a -recent version of Geany (SVN-r2151 or newer) and the Windows VBS scripting -engine. ( If you have at least Internet Explorer 5.0, you probably have VBS.) - -To install geanylua using the script, just double-click the "win32-install.vbs" -file and if you don't see any error messages, you should be all set up. -( Be sure to exit any running instance of Geany before installing! ) - -If something goes wrong, you can try installing manually, as follows... - -To install the pre-compiled plugin on Windows, you can copy the "geanylua.dll" -file to the "plugins" folder in the same place where Geany is installed, that -would probably be "C:\Program Files\Geany\plugins\geanylua.dll" or somewhere -like that. - -The exact location where Geany will look for the Lua script files depends on -your Windows version, your Geany version, and possibly even your environment. - -For user "jane" it could be any one of these: - -Prior to Geany-SVN-2139, the paths would look something like this: - -Win2k: C:\Documents and Settings\jane.geany\plugins\geanylua\ -Win98: C:.geany\plugins\geanylua\ -MinGW: C:\msys\1.0\home\jane.geany\plugins\geanylua\ - - -As of Geany-SVN-2139, the configuration paths should be more like this: - -Win2k: C:\Documents and Settings\jane\Application Data\Geanyplugins\geanylua\ -Win98: C:\Windows\Profiles\jane\Application Data\Geany\plugins\geanylua\ -MinGW: Geany's config path now ignores the $HOME environment variable. - -Just in case you aren't confused yet, anonymous users on Win98 may need to -place the files in "C:\Windows\Application Data\Geany\plugins\geanylua" - - -If you want to compile the plugin from the sources on MS-Windows, you will -need a fairly complete MSYS/MINGW/GTK build system, along with a properly built -and installed "liblua.a" library, and the Lua headers. ( The "Win32_mingw3_lib" -package from http://luabinaries.luaforge.net/ worked fine for me. ) - -You also need a copy of the file "lua.pc" from the Lua sources somewhere in -your $PKG_CONFIG_PATH. The libtool I used complains about missing symbols and -refuses to build the DLL, so you may need to explicitly type "make win32" -in order to produce the ".libs/geanylua.dll" file. - -The "make install" target is badly broken for Windows, so you will probably -want to run the "win32-install.vbs" script, or copy the files manually -to their required locations, as described above. -
Copied: trunk/geany-plugins/geanylua/INSTALL (from rev 752, trunk/geanylua/INSTALL) =================================================================== --- trunk/geany-plugins/geanylua/INSTALL (rev 0) +++ trunk/geany-plugins/geanylua/INSTALL 2009-06-19 16:16:33 UTC (rev 753) @@ -0,0 +1,103 @@ + +Important note! If you are upgrading from an older installation, please note +that the name of the script folder is now changed from /lua/ to /geanylua/ !!! + + + +These installation instructions are written primarily for a Linux system, +followed by some additional notes for MS-Windows users. + +If you are installing from the pre-compiled Linux plugin package, you can +just run the "install.sh" script, to install the plugin, examples, and help +files into your ~/.geany/plugins directory. + + +If you want Geany's syntax highlighter to recognize the plugin's function +names you can also modify your "filetypes.lua" file according to the notes +in the "geanylua/keywords.list" file. + + +For those of you who want to compile the plugin from scratch, keep reading... + + +At the time of this writing, building the plugin requires a recent SVN checkout +of the Geany sources (r2391+), and a properly installed copy of the Lua 5.1.x +library, headers, and pkg-config script. + + +Recent versions of Geany will now install all the necessary headers in +$PREFIX/include/geany/ along with a pkg-config script that tells configure +where to find the required files, so the old --with-geany-src option +is no longer required. Building should now be as simple as: + + % configure + % make + % make install + +The "make install" command copies the files to your personal ~/.geany/plugins/ +directory, so you don't need to be root to install. If you actually do want +everyone on the system to be able to access to the same copy of the plugin, +you can add the --enable-sys-install option to the ./configure command line. + + +To uninstall the plugin, you should be able to simply type "make uninstall" +but be warned - although it will try not to remove any of your own personal +scripts, the folder "geanylua/examples" and all its contents will always be +removed unconditionally, so any scripts in the examples directory WILL BE LOST! + + + +=========================== MS-WINDOWS NOTES =============================== + +The pre-compiled GeanyLua package includes a couple of Visual Basic scripts +that I hope will simplify installation for most users. The scripts require a +recent version of Geany (SVN-r2151 or newer) and the Windows VBS scripting +engine. ( If you have at least Internet Explorer 5.0, you probably have VBS.) + +To install geanylua using the script, just double-click the "win32-install.vbs" +file and if you don't see any error messages, you should be all set up. +( Be sure to exit any running instance of Geany before installing! ) + +If something goes wrong, you can try installing manually, as follows... + +To install the pre-compiled plugin on Windows, you can copy the "geanylua.dll" +file to the "plugins" folder in the same place where Geany is installed, that +would probably be "C:\Program Files\Geany\plugins\geanylua.dll" or somewhere +like that. + +The exact location where Geany will look for the Lua script files depends on +your Windows version, your Geany version, and possibly even your environment. + +For user "jane" it could be any one of these: + +Prior to Geany-SVN-2139, the paths would look something like this: + +Win2k: C:\Documents and Settings\jane.geany\plugins\geanylua\ +Win98: C:.geany\plugins\geanylua\ +MinGW: C:\msys\1.0\home\jane.geany\plugins\geanylua\ + + +As of Geany-SVN-2139, the configuration paths should be more like this: + +Win2k: C:\Documents and Settings\jane\Application Data\Geanyplugins\geanylua\ +Win98: C:\Windows\Profiles\jane\Application Data\Geany\plugins\geanylua\ +MinGW: Geany's config path now ignores the $HOME environment variable. + +Just in case you aren't confused yet, anonymous users on Win98 may need to +place the files in "C:\Windows\Application Data\Geany\plugins\geanylua" + + +If you want to compile the plugin from the sources on MS-Windows, you will +need a fairly complete MSYS/MINGW/GTK build system, along with a properly built +and installed "liblua.a" library, and the Lua headers. ( The "Win32_mingw3_lib" +package from http://luabinaries.luaforge.net/ worked fine for me. ) + +You also need a copy of the file "lua.pc" from the Lua sources somewhere in +your $PKG_CONFIG_PATH. The libtool I used complains about missing symbols and +refuses to build the DLL, so you may need to explicitly type "make win32" +in order to produce the ".libs/geanylua.dll" file. + +The "make install" target is badly broken for Windows, so you will probably +want to run the "win32-install.vbs" script, or copy the files manually +to their required locations, as described above. +
Deleted: trunk/geany-plugins/geanylua/Makefile.am =================================================================== --- trunk/geanylua/Makefile.am 2009-06-11 10:10:43 UTC (rev 703) +++ trunk/geany-plugins/geanylua/Makefile.am 2009-06-19 16:16:33 UTC (rev 753) @@ -1,187 +0,0 @@ - -EXTRA_DIST = COPYRIGHT.LUA keywords.list docs examples util \ - win32-install.vbs win32-uninstall.vbs - -noinst_HEADERS = glspi.h glspi_keycmd.h glspi_sci.h glspi_ver.h gsdlg.h gsdlg.c - - -AUTOMAKE_OPTIONS = gnu - - -SNAPSHOT_NAME=date +$(PACKAGE)-%Y-%m-%d - -AM_CFLAGS = \ - -DGEANY_DISABLE_DEPRECATED \ - -Wall -g \ - @OS_FLAGS@ \ - @GEANY_CFLAGS@ \ - @LUA_CFLAGS@ - - -AM_LDFLAGS = -module -avoid-version @GEANY_LIBS@ @OS_FLAGS@ - - -plugindir = $(PLUGIN_DEST_DIR) -plugin_LTLIBRARIES = geanylua.la -geanylua_la_LDFLAGS = $(AM_LDFLAGS) - -geanylua_la_SOURCES = geanylua.c -geanylua_objects = geanylua.o - -libgeanyluadir = $(DATA_DEST_DIR) -libgeanylua_LTLIBRARIES = libgeanylua.la -libgeanylua_la_LDFLAGS = $(AM_LDFLAGS) @LUA_LIBS@ - -libgeanylua_la_SOURCES = \ -glspi_init.c \ -glspi_app.c \ -glspi_dlg.c \ -glspi_doc.c \ -glspi_kfile.c \ -glspi_run.c \ -glspi_sci.c \ -gsdlg_lua.c - -libgeanylua_objects = \ -.libs/glspi_init.o \ -.libs/glspi_app.o \ -.libs/glspi_dlg.o \ -.libs/glspi_doc.o \ -.libs/glspi_kfile.o \ -.libs/glspi_run.o \ -.libs/glspi_sci.o \ -.libs/gsdlg_lua.o - - - - - -# Libtool complains about unresolved symbols -# and refuses to build the windows plugin - -# but manual linking seems to work just fine... -.libs/$(LIBRARY).dll: $(libgeanylua_objects) - $(CC) $^ $(libgeanylua_la_LDFLAGS) --shared -o $@ - -.libs/$(PACKAGE).dll: $(geanylua_objects) - $(CC) $^ $(AM_LDFLAGS) --shared -o $@ - - -win32: all .libs/$(LIBRARY).dll .libs/$(PACKAGE).dll - - - -.libs/$(PACKAGE).so: $(PACKAGE).la - -.libs/$(LIBRARY).so: $(LIBRARY).la - - - -install-library: .libs/$(LIBRARY_FILENAME) - $(mkdir_p) $(DATA_DEST_DIR) - $(INSTALL) $< $(DATA_DEST_DIR) - - -install-plugin: .libs/$(PLUGIN_FILENAME) - $(mkdir_p) $(PLUGIN_DEST_DIR) - $(INSTALL) $< $(PLUGIN_DEST_DIR) - - -install-scripts: - $(mkdir_p) $(DATA_DEST_DIR)/examples - DIRS=`find examples -maxdepth 1 -mindepth 1 -type d -not -name .svn`; \ - for DIR in $$DIRS; do \ - $(mkdir_p) $(DATA_DEST_DIR)/$$DIR; \ - cp $$DIR/*.lua $(DATA_DEST_DIR)/$$DIR; \ - done - - -install-docs: - $(mkdir_p) $(DOC_DEST_DIR) - cp ./docs/*.html $(DOC_DEST_DIR)/. - - -keywords.list: all - cp .libs/$(LIBRARY_FILENAME) . - ./util/keywords.lua > keywords.list - rm -f $(LIBRARY_FILENAME) - - -install: install-plugin install-library install-scripts install-docs - - -uninstall: - rm -f $(DOC_DEST_DIR)/$(PACKAGE)-*.html - rmdir $(DOC_DEST_DIR) || true - rm -f $(PLUGIN_DEST_DIR)/$(PLUGIN_FILENAME) - rm -f $(DATA_DEST_DIR)/$(LIBRARY_FILENAME) - rm -rf $(DATA_DEST_DIR)/examples - rmdir $(DATA_DEST_DIR) || true - - -snapshot: - ./util/real-clean.sh - ln -sf $${PWD} ../`$(SNAPSHOT_NAME)` - rm -f ../`$(SNAPSHOT_NAME)`.tar.gz - find ../`$(SNAPSHOT_NAME)`/ -type f > ../`$(SNAPSHOT_NAME)`.list - tar --owner=0 --group=0 -zcf ../`$(SNAPSHOT_NAME)`.tar.gz -T ../`$(SNAPSHOT_NAME)`.list - rm -f ../`$(SNAPSHOT_NAME)`{.list,} - - - - -RELEASE_DIR=../$(PACKAGE)-$(VERSION)-release -WIN32_ZIP_DIR=$(PACKAGE)-$(VERSION)-win32 -WIN32_DLL_ZIP=$(RELEASE_DIR)/$(WIN32_ZIP_DIR).zip -LINUX_TAR_DIR=$(PACKAGE)-$(VERSION)-linux-x86 -LINUX_X86_SO_TAR_GZ=$(RELEASE_DIR)/$(LINUX_TAR_DIR).tar.gz - - -PKG_NOTES=docs examples AUTHORS COPYING ChangeLog INSTALL THANKS keywords.list - -win32-dll-zip: - w32-config - w32-make clean win32 - rm -f $(WIN32_DLL_ZIP) - rm -rf $(WIN32_ZIP_DIR) - mkdir $(WIN32_ZIP_DIR) - w32-strip --strip-debug .libs/$(PACKAGE).dll - w32-strip --strip-debug .libs/$(LIBRARY).dll - cp .libs/$(PACKAGE).dll .libs/$(LIBRARY).dll win32-*install.vbs $(WIN32_ZIP_DIR) - cp -ai $(PKG_NOTES) $(WIN32_ZIP_DIR) - zip -XKr -9 $(WIN32_DLL_ZIP) $(WIN32_ZIP_DIR) - rm -rf $(WIN32_ZIP_DIR) - w32-make clean - - - - -linux-x86-so-gz: - ./configure - $(MAKE) clean all - rm -f $(LINUX_X86_SO_TAR_GZ) - rm -rf $(LINUX_TAR_DIR) - mkdir $(LINUX_TAR_DIR) - strip --strip-debug .libs/$(PACKAGE).so - strip --strip-debug .libs/$(LIBRARY).so - cp .libs/$(PACKAGE).so .libs/$(LIBRARY).so util/install.sh $(LINUX_TAR_DIR) - cp -ai $(PKG_NOTES) $(LINUX_TAR_DIR) - tar --owner=0 --group=0 -zvcf $(LINUX_X86_SO_TAR_GZ) $(LINUX_TAR_DIR) - rm -rf $(LINUX_TAR_DIR) - - -release-dir: - mkdir -p $(RELEASE_DIR) - rm -f $(RELEASE_DIR)/$(distdir).tar.gz $(WIN32_DLL_ZIP) $(LINUX_X86_SO_TAR_GZ) - rmdir $(RELEASE_DIR) - mkdir $(RELEASE_DIR) - - -release: $(PKG_NOTES) release-dir win32-dll-zip linux-x86-so-gz dist - mv -v $(PACKAGE)-$(VERSION).tar.gz $(RELEASE_DIR)/ - - -pathcheck: - @echo "Install plugin: $(PLUGIN_DEST_DIR)" - @echo "Install support files: $(DATA_DEST_DIR)" - @echo "Install documentation: $(DOC_DEST_DIR)" -
Copied: trunk/geany-plugins/geanylua/Makefile.am (from rev 752, trunk/geanylua/Makefile.am) =================================================================== --- trunk/geany-plugins/geanylua/Makefile.am (rev 0) +++ trunk/geany-plugins/geanylua/Makefile.am 2009-06-19 16:16:33 UTC (rev 753) @@ -0,0 +1,187 @@ + +EXTRA_DIST = COPYRIGHT.LUA keywords.list docs examples util \ + win32-install.vbs win32-uninstall.vbs + +noinst_HEADERS = glspi.h glspi_keycmd.h glspi_sci.h glspi_ver.h gsdlg.h gsdlg.c + + +AUTOMAKE_OPTIONS = gnu + + +SNAPSHOT_NAME=date +$(PACKAGE)-%Y-%m-%d + +AM_CFLAGS = \ + -DGEANY_DISABLE_DEPRECATED \ + -Wall -g \ + @OS_FLAGS@ \ + @GEANY_CFLAGS@ \ + @LUA_CFLAGS@ + + +AM_LDFLAGS = -module -avoid-version @GEANY_LIBS@ @OS_FLAGS@ + + +plugindir = $(PLUGIN_DEST_DIR) +plugin_LTLIBRARIES = geanylua.la +geanylua_la_LDFLAGS = $(AM_LDFLAGS) + +geanylua_la_SOURCES = geanylua.c +geanylua_objects = geanylua.o + +libgeanyluadir = $(DATA_DEST_DIR) +libgeanylua_LTLIBRARIES = libgeanylua.la +libgeanylua_la_LDFLAGS = $(AM_LDFLAGS) @LUA_LIBS@ + +libgeanylua_la_SOURCES = \ +glspi_init.c \ +glspi_app.c \ +glspi_dlg.c \ +glspi_doc.c \ +glspi_kfile.c \ +glspi_run.c \ +glspi_sci.c \ +gsdlg_lua.c + +libgeanylua_objects = \ +.libs/glspi_init.o \ +.libs/glspi_app.o \ +.libs/glspi_dlg.o \ +.libs/glspi_doc.o \ +.libs/glspi_kfile.o \ +.libs/glspi_run.o \ +.libs/glspi_sci.o \ +.libs/gsdlg_lua.o + + + + + +# Libtool complains about unresolved symbols +# and refuses to build the windows plugin - +# but manual linking seems to work just fine... +.libs/$(LIBRARY).dll: $(libgeanylua_objects) + $(CC) $^ $(libgeanylua_la_LDFLAGS) --shared -o $@ + +.libs/$(PACKAGE).dll: $(geanylua_objects) + $(CC) $^ $(AM_LDFLAGS) --shared -o $@ + + +win32: all .libs/$(LIBRARY).dll .libs/$(PACKAGE).dll + + + +.libs/$(PACKAGE).so: $(PACKAGE).la + +.libs/$(LIBRARY).so: $(LIBRARY).la + + + +install-library: .libs/$(LIBRARY_FILENAME) + $(mkdir_p) $(DATA_DEST_DIR) + $(INSTALL) $< $(DATA_DEST_DIR) + + +install-plugin: .libs/$(PLUGIN_FILENAME) + $(mkdir_p) $(PLUGIN_DEST_DIR) + $(INSTALL) $< $(PLUGIN_DEST_DIR) + + +install-scripts: + $(mkdir_p) $(DATA_DEST_DIR)/examples + DIRS=`find examples -maxdepth 1 -mindepth 1 -type d -not -name .svn`; \ + for DIR in $$DIRS; do \ + $(mkdir_p) $(DATA_DEST_DIR)/$$DIR; \ + cp $$DIR/*.lua $(DATA_DEST_DIR)/$$DIR; \ + done + + +install-docs: + $(mkdir_p) $(DOC_DEST_DIR) + cp ./docs/*.html $(DOC_DEST_DIR)/. + + +keywords.list: all + cp .libs/$(LIBRARY_FILENAME) . + ./util/keywords.lua > keywords.list + rm -f $(LIBRARY_FILENAME) + + +install: install-plugin install-library install-scripts install-docs + + +uninstall: + rm -f $(DOC_DEST_DIR)/$(PACKAGE)-*.html + rmdir $(DOC_DEST_DIR) || true + rm -f $(PLUGIN_DEST_DIR)/$(PLUGIN_FILENAME) + rm -f $(DATA_DEST_DIR)/$(LIBRARY_FILENAME) + rm -rf $(DATA_DEST_DIR)/examples + rmdir $(DATA_DEST_DIR) || true + + +snapshot: + ./util/real-clean.sh + ln -sf $${PWD} ../`$(SNAPSHOT_NAME)` + rm -f ../`$(SNAPSHOT_NAME)`.tar.gz + find ../`$(SNAPSHOT_NAME)`/ -type f > ../`$(SNAPSHOT_NAME)`.list + tar --owner=0 --group=0 -zcf ../`$(SNAPSHOT_NAME)`.tar.gz -T ../`$(SNAPSHOT_NAME)`.list + rm -f ../`$(SNAPSHOT_NAME)`{.list,} + + + + +RELEASE_DIR=../$(PACKAGE)-$(VERSION)-release +WIN32_ZIP_DIR=$(PACKAGE)-$(VERSION)-win32 +WIN32_DLL_ZIP=$(RELEASE_DIR)/$(WIN32_ZIP_DIR).zip +LINUX_TAR_DIR=$(PACKAGE)-$(VERSION)-linux-x86 +LINUX_X86_SO_TAR_GZ=$(RELEASE_DIR)/$(LINUX_TAR_DIR).tar.gz + + +PKG_NOTES=docs examples AUTHORS COPYING ChangeLog INSTALL THANKS keywords.list + +win32-dll-zip: + w32-config + w32-make clean win32 + rm -f $(WIN32_DLL_ZIP) + rm -rf $(WIN32_ZIP_DIR) + mkdir $(WIN32_ZIP_DIR) + w32-strip --strip-debug .libs/$(PACKAGE).dll + w32-strip --strip-debug .libs/$(LIBRARY).dll + cp .libs/$(PACKAGE).dll .libs/$(LIBRARY).dll win32-*install.vbs $(WIN32_ZIP_DIR) + cp -ai $(PKG_NOTES) $(WIN32_ZIP_DIR) + zip -XKr -9 $(WIN32_DLL_ZIP) $(WIN32_ZIP_DIR) + rm -rf $(WIN32_ZIP_DIR) + w32-make clean + + + + +linux-x86-so-gz: + ./configure + $(MAKE) clean all + rm -f $(LINUX_X86_SO_TAR_GZ) + rm -rf $(LINUX_TAR_DIR) + mkdir $(LINUX_TAR_DIR) + strip --strip-debug .libs/$(PACKAGE).so + strip --strip-debug .libs/$(LIBRARY).so + cp .libs/$(PACKAGE).so .libs/$(LIBRARY).so util/install.sh $(LINUX_TAR_DIR) + cp -ai $(PKG_NOTES) $(LINUX_TAR_DIR) + tar --owner=0 --group=0 -zvcf $(LINUX_X86_SO_TAR_GZ) $(LINUX_TAR_DIR) + rm -rf $(LINUX_TAR_DIR) + + +release-dir: + mkdir -p $(RELEASE_DIR) + rm -f $(RELEASE_DIR)/$(distdir).tar.gz $(WIN32_DLL_ZIP) $(LINUX_X86_SO_TAR_GZ) + rmdir $(RELEASE_DIR) + mkdir $(RELEASE_DIR) + + +release: $(PKG_NOTES) release-dir win32-dll-zip linux-x86-so-gz dist + mv -v $(PACKAGE)-$(VERSION).tar.gz $(RELEASE_DIR)/ + + +pathcheck: + @echo "Install plugin: $(PLUGIN_DEST_DIR)" + @echo "Install support files: $(DATA_DEST_DIR)" + @echo "Install documentation: $(DOC_DEST_DIR)" +
Deleted: trunk/geany-plugins/geanylua/NEWS =================================================================== --- trunk/geanylua/NEWS 2009-06-11 10:10:43 UTC (rev 703) +++ trunk/geany-plugins/geanylua/NEWS 2009-06-19 16:16:33 UTC (rev 753) @@ -1 +0,0 @@ -See "ChangeLog"
Copied: trunk/geany-plugins/geanylua/NEWS (from rev 752, trunk/geanylua/NEWS) =================================================================== --- trunk/geany-plugins/geanylua/NEWS (rev 0) +++ trunk/geany-plugins/geanylua/NEWS 2009-06-19 16:16:33 UTC (rev 753) @@ -0,0 +1 @@ +See "ChangeLog"
Deleted: trunk/geany-plugins/geanylua/README =================================================================== --- trunk/geanylua/README 2009-06-11 10:10:43 UTC (rev 703) +++ trunk/geany-plugins/geanylua/README 2009-06-19 16:16:33 UTC (rev 753) @@ -1 +0,0 @@ -Please see ./docs/geanylua-index.html for information on using this plugin.
Copied: trunk/geany-plugins/geanylua/README (from rev 752, trunk/geanylua/README) =================================================================== --- trunk/geany-plugins/geanylua/README (rev 0) +++ trunk/geany-plugins/geanylua/README 2009-06-19 16:16:33 UTC (rev 753) @@ -0,0 +1 @@ +Please see ./docs/geanylua-index.html for information on using this plugin.
Deleted: trunk/geany-plugins/geanylua/THANKS =================================================================== --- trunk/geanylua/THANKS 2009-06-11 10:10:43 UTC (rev 703) +++ trunk/geany-plugins/geanylua/THANKS 2009-06-19 16:16:33 UTC (rev 753) @@ -1,47 +0,0 @@ -What's this file about? ------------------------ -This file lists all external people that have contributed to this project. -If we missed anyone, please notify the developer ( see the AUTHORS file. ) - - -Thanks to Enrico Colombini and Thomas Lauer for the "Lua Short Reference" -which is now included in the GeanyLua documentation. (Released under the -same license as Lua itself.) - - - -Testers and contributors: -------------------------- -These people have contributed to GeanyLua by testing the software, -reporting problems, sending patches and making useful suggestions. - - -Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de> - - Geany IDE author. Testing and feedback. - - -Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com> - Testing and feedback, GTK-2.8 compatibility. - - -Yura Siamashka yurand2(at)gmail(dot)com - Initial autotools scripts ( adapted from the geanyvc plugin. ) - and improvements to INSTALL instructions. - - -Steve Jacobs steve(at)trinidadgraphics(dot)com - Testing and feedback. - - -John Gabriele jmg3000(at)gmail(dot)com - Testing and feedback. - - -Harri Koskinen geany_fi(at)fastmonkey(dot)org - Testing and feedback. - - -Joerg Desch jd(dot)vvd(at)web(dot)de - Testing and feedback. - -
Copied: trunk/geany-plugins/geanylua/THANKS (from rev 752, trunk/geanylua/THANKS) =================================================================== --- trunk/geany-plugins/geanylua/THANKS (rev 0) +++ trunk/geany-plugins/geanylua/THANKS 2009-06-19 16:16:33 UTC (rev 753) @@ -0,0 +1,47 @@ +What's this file about? +----------------------- +This file lists all external people that have contributed to this project. +If we missed anyone, please notify the developer ( see the AUTHORS file. ) + + +Thanks to Enrico Colombini and Thomas Lauer for the "Lua Short Reference" +which is now included in the GeanyLua documentation. (Released under the +same license as Lua itself.) + + + +Testers and contributors: +------------------------- +These people have contributed to GeanyLua by testing the software, +reporting problems, sending patches and making useful suggestions. + + +Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de> - + Geany IDE author. Testing and feedback. + + +Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com> + Testing and feedback, GTK-2.8 compatibility. + + +Yura Siamashka yurand2(at)gmail(dot)com + Initial autotools scripts ( adapted from the geanyvc plugin. ) + and improvements to INSTALL instructions. + + +Steve Jacobs steve(at)trinidadgraphics(dot)com + Testing and feedback. + + +John Gabriele jmg3000(at)gmail(dot)com + Testing and feedback. + + +Harri Koskinen geany_fi(at)fastmonkey(dot)org + Testing and feedback. + + +Joerg Desch jd(dot)vvd(at)web(dot)de + Testing and feedback. + +
Deleted: trunk/geany-plugins/geanylua/autogen.sh =================================================================== --- trunk/geanylua/autogen.sh 2009-06-11 10:10:43 UTC (rev 703) +++ trunk/geany-plugins/geanylua/autogen.sh 2009-06-19 16:16:33 UTC (rev 753) @@ -1,159 +0,0 @@ -#!/bin/sh -# Run this to generate all the initial makefiles, etc. - -srcdir=`dirname $0` -test -z "$srcdir" && srcdir=. - -DIE=0 - -if [ -n "$GNOME2_DIR" ]; then - ACLOCAL_FLAGS="-I $GNOME2_DIR/share/aclocal $ACLOCAL_FLAGS" - LD_LIBRARY_PATH="$GNOME2_DIR/lib:$LD_LIBRARY_PATH" - PATH="$GNOME2_DIR/bin:$PATH" - export PATH - export LD_LIBRARY_PATH -fi - -(test -f $srcdir/configure.in) || { - echo -n "**Error**: Directory "`$srcdir'" does not look like the" - echo " top-level package directory" - exit 1 -} - -(autoconf --version) < /dev/null > /dev/null 2>&1 || { - echo - echo "**Error**: You must have `autoconf' installed." - echo "Download the appropriate package for your distribution," - echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/" - DIE=1 -} - -(grep "^AC_PROG_INTLTOOL" $srcdir/configure.in >/dev/null) && { - (intltoolize --version) < /dev/null > /dev/null 2>&1 || { - echo - echo "**Error**: You must have `intltool' installed." - echo "You can get it from:" - echo " ftp://ftp.gnome.org/pub/GNOME/" - DIE=1 - } -} - -(grep "^AM_PROG_XML_I18N_TOOLS" $srcdir/configure.in >/dev/null) && { - (xml-i18n-toolize --version) < /dev/null > /dev/null 2>&1 || { - echo - echo "**Error**: You must have `xml-i18n-toolize' installed." - echo "You can get it from:" - echo " ftp://ftp.gnome.org/pub/GNOME/" - DIE=1 - } -} - -(grep "^AM_PROG_LIBTOOL" $srcdir/configure.in >/dev/null) && { - (libtool --version) < /dev/null > /dev/null 2>&1 || { - echo - echo "**Error**: You must have `libtool' installed." - echo "You can get it from: ftp://ftp.gnu.org/pub/gnu/" - DIE=1 - } -} - -(grep "^AM_GLIB_GNU_GETTEXT" $srcdir/configure.in >/dev/null) && { - (grep "sed.*POTFILES" $srcdir/configure.in) > /dev/null || \ - (glib-gettextize --version) < /dev/null > /dev/null 2>&1 || { - echo - echo "**Error**: You must have `glib' installed." - echo "You can get it from: ftp://ftp.gtk.org/pub/gtk" - DIE=1 - } -} - -(automake --version) < /dev/null > /dev/null 2>&1 || { - echo - echo "**Error**: You must have `automake' installed." - echo "You can get it from: ftp://ftp.gnu.org/pub/gnu/" - DIE=1 - NO_AUTOMAKE=yes -} - - -# if no automake, don't bother testing for aclocal -test -n "$NO_AUTOMAKE" || (aclocal --version) < /dev/null > /dev/null 2>&1 || { - echo - echo "**Error**: Missing `aclocal'. The version of `automake'" - echo "installed doesn't appear recent enough." - echo "You can get automake from ftp://ftp.gnu.org/pub/gnu/" - DIE=1 -} - -if test "$DIE" -eq 1; then - exit 1 -fi - -if test -z "$*"; then - echo "**Warning**: I am going to run `configure' with no arguments." - echo "If you wish to pass any to it, please specify them on the" - echo `$0'" command line." - echo -fi - -case $CC in -xlc ) - am_opt=--include-deps;; -esac - -for coin in `find $srcdir -name configure.in -print` -do - dr=`dirname $coin` - if test -f $dr/NO-AUTO-GEN; then - echo skipping $dr -- flagged as no auto-gen - else - echo processing $dr - ( cd $dr - - aclocalinclude="$ACLOCAL_FLAGS" - - if grep "^AM_GLIB_GNU_GETTEXT" configure.in >/dev/null; then - echo "Creating $dr/aclocal.m4 ..." - test -r $dr/aclocal.m4 || touch $dr/aclocal.m4 - echo "Running glib-gettextize... Ignore non-fatal messages." - echo "no" | glib-gettextize --force --copy - echo "Making $dr/aclocal.m4 writable ..." - test -r $dr/aclocal.m4 && chmod u+w $dr/aclocal.m4 - fi - if grep "^AC_PROG_INTLTOOL" configure.in >/dev/null; then - echo "Running intltoolize..." - intltoolize --copy --force --automake - fi - if grep "^AM_PROG_XML_I18N_TOOLS" configure.in >/dev/null; then - echo "Running xml-i18n-toolize..." - xml-i18n-toolize --copy --force --automake - fi - if grep "^AM_PROG_LIBTOOL" configure.in >/dev/null; then - if test -z "$NO_LIBTOOLIZE" ; then - echo "Running libtoolize..." - libtoolize --force --copy - fi - fi - echo "Running aclocal $aclocalinclude ..." - aclocal $aclocalinclude - if grep "^AM_CONFIG_HEADER" configure.in >/dev/null; then - echo "Running autoheader..." - autoheader - fi - echo "Running automake --gnu $am_opt ..." - automake --add-missing --copy --gnu $am_opt - echo "Running autoconf ..." - autoconf - ) - fi -done - -#conf_flags="--enable-maintainer-mode" - -if test x$NOCONFIGURE = x; then - echo Running $srcdir/configure $conf_flags "$@" ... - $srcdir/configure $conf_flags "$@" \ - && echo Now type `make' to compile. || exit 1 -else - echo Skipping configure process. -fi
Copied: trunk/geany-plugins/geanylua/autogen.sh (from rev 752, trunk/geanylua/autogen.sh) =================================================================== --- trunk/geany-plugins/geanylua/autogen.sh (rev 0) +++ trunk/geany-plugins/geanylua/autogen.sh 2009-06-19 16:16:33 UTC (rev 753) @@ -0,0 +1,159 @@ +#!/bin/sh +# Run this to generate all the initial makefiles, etc. + +srcdir=`dirname $0` +test -z "$srcdir" && srcdir=. + +DIE=0 + +if [ -n "$GNOME2_DIR" ]; then + ACLOCAL_FLAGS="-I $GNOME2_DIR/share/aclocal $ACLOCAL_FLAGS" + LD_LIBRARY_PATH="$GNOME2_DIR/lib:$LD_LIBRARY_PATH" + PATH="$GNOME2_DIR/bin:$PATH" + export PATH + export LD_LIBRARY_PATH +fi + +(test -f $srcdir/configure.in) || { + echo -n "**Error**: Directory "`$srcdir'" does not look like the" + echo " top-level package directory" + exit 1 +} + +(autoconf --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "**Error**: You must have `autoconf' installed." + echo "Download the appropriate package for your distribution," + echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/" + DIE=1 +} + +(grep "^AC_PROG_INTLTOOL" $srcdir/configure.in >/dev/null) && { + (intltoolize --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "**Error**: You must have `intltool' installed." + echo "You can get it from:" + echo " ftp://ftp.gnome.org/pub/GNOME/" + DIE=1 + } +} + +(grep "^AM_PROG_XML_I18N_TOOLS" $srcdir/configure.in >/dev/null) && { + (xml-i18n-toolize --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "**Error**: You must have `xml-i18n-toolize' installed." + echo "You can get it from:" + echo " ftp://ftp.gnome.org/pub/GNOME/" + DIE=1 + } +} + +(grep "^AM_PROG_LIBTOOL" $srcdir/configure.in >/dev/null) && { + (libtool --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "**Error**: You must have `libtool' installed." + echo "You can get it from: ftp://ftp.gnu.org/pub/gnu/" + DIE=1 + } +} + +(grep "^AM_GLIB_GNU_GETTEXT" $srcdir/configure.in >/dev/null) && { + (grep "sed.*POTFILES" $srcdir/configure.in) > /dev/null || \ + (glib-gettextize --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "**Error**: You must have `glib' installed." + echo "You can get it from: ftp://ftp.gtk.org/pub/gtk" + DIE=1 + } +} + +(automake --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "**Error**: You must have `automake' installed." + echo "You can get it from: ftp://ftp.gnu.org/pub/gnu/" + DIE=1 + NO_AUTOMAKE=yes +} + + +# if no automake, don't bother testing for aclocal +test -n "$NO_AUTOMAKE" || (aclocal --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "**Error**: Missing `aclocal'. The version of `automake'" + echo "installed doesn't appear recent enough." + echo "You can get automake from ftp://ftp.gnu.org/pub/gnu/" + DIE=1 +} + +if test "$DIE" -eq 1; then + exit 1 +fi + +if test -z "$*"; then + echo "**Warning**: I am going to run `configure' with no arguments." + echo "If you wish to pass any to it, please specify them on the" + echo `$0'" command line." + echo +fi + +case $CC in +xlc ) + am_opt=--include-deps;; +esac + +for coin in `find $srcdir -name configure.in -print` +do + dr=`dirname $coin` + if test -f $dr/NO-AUTO-GEN; then + echo skipping $dr -- flagged as no auto-gen + else + echo processing $dr + ( cd $dr + + aclocalinclude="$ACLOCAL_FLAGS" + + if grep "^AM_GLIB_GNU_GETTEXT" configure.in >/dev/null; then + echo "Creating $dr/aclocal.m4 ..." + test -r $dr/aclocal.m4 || touch $dr/aclocal.m4 + echo "Running glib-gettextize... Ignore non-fatal messages." + echo "no" | glib-gettextize --force --copy + echo "Making $dr/aclocal.m4 writable ..." + test -r $dr/aclocal.m4 && chmod u+w $dr/aclocal.m4 + fi + if grep "^AC_PROG_INTLTOOL" configure.in >/dev/null; then + echo "Running intltoolize..." + intltoolize --copy --force --automake + fi + if grep "^AM_PROG_XML_I18N_TOOLS" configure.in >/dev/null; then + echo "Running xml-i18n-toolize..." + xml-i18n-toolize --copy --force --automake + fi + if grep "^AM_PROG_LIBTOOL" configure.in >/dev/null; then + if test -z "$NO_LIBTOOLIZE" ; then + echo "Running libtoolize..." + libtoolize --force --copy + fi + fi + echo "Running aclocal $aclocalinclude ..." + aclocal $aclocalinclude + if grep "^AM_CONFIG_HEADER" configure.in >/dev/null; then + echo "Running autoheader..." + autoheader + fi + echo "Running automake --gnu $am_opt ..." + automake --add-missing --copy --gnu $am_opt + echo "Running autoconf ..." + autoconf + ) + fi +done + +#conf_flags="--enable-maintainer-mode" + +if test x$NOCONFIGURE = x; then + echo Running $srcdir/configure $conf_flags "$@" ... + $srcdir/configure $conf_flags "$@" \ + && echo Now type `make' to compile. || exit 1 +else + echo Skipping configure process. +fi
Deleted: trunk/geany-plugins/geanylua/configure.in =================================================================== --- trunk/geanylua/configure.in 2009-06-11 10:10:43 UTC (rev 703) +++ trunk/geany-plugins/geanylua/configure.in 2009-06-19 16:16:33 UTC (rev 753) @@ -1,144 +0,0 @@ - -AC_INIT([geanylua],0.7.0, [yetanothergeek@gmail.com]) - -PACKAGE="geanylua" -VERSION=0.7.0 -GEANY_MIN_VER=0.13 - -AC_SUBST([VERSION]) -AC_SUBST([PACKAGE]) - -AM_INIT_AUTOMAKE([${PACKAGE}], ${VERSION} ) - - -AC_PROG_CC -AC_LANG_C -AC_PROG_MAKE_SET -AC_HEADER_STDC - -AC_DISABLE_STATIC -AM_PROG_LIBTOOL - - -PKG_CHECK_MODULES(GEANY, [geany]) -AC_SUBST(GEANY_CFLAGS) -AC_SUBST(GEANY_LIBS) - - -AC_ARG_WITH([lua-pkg], - AC_HELP_STRING([--with-lua-pkg=ARG],[name of Lua pkg-config script [[default=lua5.1]]]), - [LUA_PKG_NAME=${withval%.pc}], -[ -LUA_PKG_NAME=lua5.1 - -for L in lua5.1 lua51 lua-5.1 lua -do - AC_MSG_CHECKING([for $L.pc]) - if ${PKG_CONFIG} --exists ${L} - then - AC_MSG_RESULT([yes]) - LUA_PKG_NAME=${L} - break - else - AC_MSG_RESULT([no]) - fi -done -] -) - - -PKG_CHECK_MODULES([LUA], [${LUA_PKG_NAME} >= 5.1]) -AC_SUBST(LUA_CFLAGS) -AC_SUBST(LUA_LIBS) - - -AC_ARG_ENABLE([hidden-symbols], - AC_HELP_STRING([--enable-hidden-symbols],[Hide internal symbols in library [[default=no]]]), - [ - if ${CC} --help --verbose 2> /dev/null | grep "-fvisibility>" > /dev/null - then - AC_DEFINE([PLUGIN_EXPORT], [__attribute__ ((visibility ("default")))], [to make a symbol visible]) - OS_FLAGS="${OS_FLAGS} -fvisibility=hidden" - HIDE_SYMS="yes" - else - AC_MSG_ERROR([--enable-hidden-symbols option is not supported by compiler!]) - HIDE_SYMS="no" - fi - ], - [ - OS_FLAGS= - ] -) - - -AC_ARG_ENABLE([sys-install], -AC_HELP_STRING([--enable-sys-install],[install plugin for all users [[default=no]]]), - [ - if test "x${prefix}" = "xNONE"; then - prefix=${ac_default_prefix} - fi - SYS_INSTALL=yes - PLUGIN_DEST_DIR="${prefix}/lib/geany" - DATA_DEST_DIR="${prefix}/share/geany/plugins/${PACKAGE}"
@@ Diff output truncated at 100000 characters. @@
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
plugins-commits@lists.geany.org