summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d6b259a)
raw | patch | inline | side by side (parent: d6b259a)
author | scislac <scislac@users.sourceforge.net> | |
Thu, 8 Oct 2009 19:06:50 +0000 (19:06 +0000) | ||
committer | scislac <scislac@users.sourceforge.net> | |
Thu, 8 Oct 2009 19:06:50 +0000 (19:06 +0000) |
21 files changed:
diff --git a/packaging/win32/portable/App/AppInfo/appicon.ico b/packaging/win32/portable/App/AppInfo/appicon.ico
new file mode 100644 (file)
index 0000000..7288d49
Binary files /dev/null and b/packaging/win32/portable/App/AppInfo/appicon.ico differ
index 0000000..7288d49
Binary files /dev/null and b/packaging/win32/portable/App/AppInfo/appicon.ico differ
diff --git a/packaging/win32/portable/App/AppInfo/appicon_16.png b/packaging/win32/portable/App/AppInfo/appicon_16.png
new file mode 100644 (file)
index 0000000..295aeb1
Binary files /dev/null and b/packaging/win32/portable/App/AppInfo/appicon_16.png differ
index 0000000..295aeb1
Binary files /dev/null and b/packaging/win32/portable/App/AppInfo/appicon_16.png differ
diff --git a/packaging/win32/portable/App/AppInfo/appicon_32.png b/packaging/win32/portable/App/AppInfo/appicon_32.png
new file mode 100644 (file)
index 0000000..1465ac3
Binary files /dev/null and b/packaging/win32/portable/App/AppInfo/appicon_32.png differ
index 0000000..1465ac3
Binary files /dev/null and b/packaging/win32/portable/App/AppInfo/appicon_32.png differ
diff --git a/packaging/win32/portable/App/AppInfo/appinfo.ini b/packaging/win32/portable/App/AppInfo/appinfo.ini
--- /dev/null
@@ -0,0 +1,26 @@
+[Format]\r
+Type=PortableApps.comFormat\r
+Version=0.91\r
+\r
+[Details]\r
+Name=Inkscape Portable\r
+AppID=InkscapePortable\r
+Publisher=Inkscape.org & PortableApps.com\r
+Homepage=Inkscape.org\r
+Category=Graphics & Pictures\r
+Description=Inkscape is a powerful vector graphics editor.\r
+Language=Multilingual\r
+\r
+[License]\r
+Shareable=true\r
+OpenSource=true\r
+Freeware=true\r
+CommercialUse=true\r
+\r
+[Version]\r
+PackageVersion=0.47\r
+DisplayVersion=0.47\r
+\r
+[Control]\r
+Icons=1\r
+Start=InkscapePortable.exe\r
diff --git a/packaging/win32/portable/App/AppInfo/installer.ini b/packaging/win32/portable/App/AppInfo/installer.ini
--- /dev/null
@@ -0,0 +1,15 @@
+[OptionalComponents]\r
+OptionalComponents=true\r
+OptionalDirectory1=App\Inkscape\locale\r
+OptionalDirectory2=App\Inkscape\share\locale\r
+OptionalFile1=App\Inkscape\share\clipart\draw-freely.*.svg\r
+OptionalFile2=App\Inkscape\share\screens\*.*.svg\r
+OptionalFile3=App\Inkscape\share\templates\default.*.svg\r
+OptionalFile4=App\Inkscape\share\tutorials\potrace-*.svg\r
+OptionalFile5=App\Inkscape\share\tutorials\*.*.svg\r
+\r
+[DirectoriesToPreserve]\r
+PreserveDirectory1=App\Inkscape\data\r
+PreserveDirectory2=App\Inkscape\modules\r
+PreserveDirectory3=App\Inkscape\plugins\r
+PreserveDirectory4=App\Inkscape\share\extensions\r
diff --git a/packaging/win32/portable/App/readme.txt b/packaging/win32/portable/App/readme.txt
--- /dev/null
@@ -0,0 +1 @@
+The files in this directory are necessary for Inkscape Portable to function. There is normally no need to directly access or alter any of the files within these directories.\r
diff --git a/packaging/win32/portable/Other/Help/images/donation_button.png b/packaging/win32/portable/Other/Help/images/donation_button.png
new file mode 100644 (file)
index 0000000..53bf471
Binary files /dev/null and b/packaging/win32/portable/Other/Help/images/donation_button.png differ
index 0000000..53bf471
Binary files /dev/null and b/packaging/win32/portable/Other/Help/images/donation_button.png differ
diff --git a/packaging/win32/portable/Other/Help/images/favicon.ico b/packaging/win32/portable/Other/Help/images/favicon.ico
new file mode 100644 (file)
index 0000000..9e08ee0
Binary files /dev/null and b/packaging/win32/portable/Other/Help/images/favicon.ico differ
index 0000000..9e08ee0
Binary files /dev/null and b/packaging/win32/portable/Other/Help/images/favicon.ico differ
diff --git a/packaging/win32/portable/Other/Help/images/help_background_footer.png b/packaging/win32/portable/Other/Help/images/help_background_footer.png
new file mode 100644 (file)
index 0000000..abb6f81
Binary files /dev/null and b/packaging/win32/portable/Other/Help/images/help_background_footer.png differ
index 0000000..abb6f81
Binary files /dev/null and b/packaging/win32/portable/Other/Help/images/help_background_footer.png differ
diff --git a/packaging/win32/portable/Other/Help/images/help_background_header.png b/packaging/win32/portable/Other/Help/images/help_background_header.png
new file mode 100644 (file)
index 0000000..0fe013e
Binary files /dev/null and b/packaging/win32/portable/Other/Help/images/help_background_header.png differ
index 0000000..0fe013e
Binary files /dev/null and b/packaging/win32/portable/Other/Help/images/help_background_header.png differ
diff --git a/packaging/win32/portable/Other/Help/images/help_logo_top.png b/packaging/win32/portable/Other/Help/images/help_logo_top.png
new file mode 100644 (file)
index 0000000..8d06ee2
Binary files /dev/null and b/packaging/win32/portable/Other/Help/images/help_logo_top.png differ
index 0000000..8d06ee2
Binary files /dev/null and b/packaging/win32/portable/Other/Help/images/help_logo_top.png differ
diff --git a/packaging/win32/portable/Other/Source/InkscapePortable.ini b/packaging/win32/portable/Other/Source/InkscapePortable.ini
--- /dev/null
@@ -0,0 +1,6 @@
+[InkscapePortable]\r
+AdditionalParameters=\r
+DisableSplashScreen=false\r
+\r
+# This INI is an example only and will not work until placed according to the directions in readme.txt\r
+# The above options are explained in the included readme.txt\r
diff --git a/packaging/win32/portable/Other/Source/InkscapePortable.jpg b/packaging/win32/portable/Other/Source/InkscapePortable.jpg
new file mode 100644 (file)
index 0000000..0495584
Binary files /dev/null and b/packaging/win32/portable/Other/Source/InkscapePortable.jpg differ
index 0000000..0495584
Binary files /dev/null and b/packaging/win32/portable/Other/Source/InkscapePortable.jpg differ
diff --git a/packaging/win32/portable/Other/Source/InkscapePortable.nsi b/packaging/win32/portable/Other/Source/InkscapePortable.nsi
--- /dev/null
@@ -0,0 +1,130 @@
+;Copyright (C) 2004-2008 John T. Haller of PortableApps.com\r
+;Copyright (C) 2008-2009 Chris Morgan of PortableApps.com and Inkscape.org\r
+\r
+;Website: http://PortableApps.com/InkscapePortable\r
+\r
+;This software is OSI Certified Open Source Software.\r
+;OSI Certified is a certification mark of the Open Source Initiative.\r
+\r
+;This program is free software; you can redistribute it and/or\r
+;modify it under the terms of the GNU General Public License\r
+;as published by the Free Software Foundation; either version 2\r
+;of the License, or (at your option) any later version.\r
+\r
+;This program is distributed in the hope that it will be useful,\r
+;but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+;MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r
+;GNU General Public License for more details.\r
+\r
+;You should have received a copy of the GNU General Public License\r
+;along with this program; if not, write to the Free Software\r
+;Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\r
+\r
+!define NAME InkscapePortable\r
+!define VER "1.6.6.0"\r
+!define LAUNCHERLANGUAGE English\r
+\r
+;=== Program Details\r
+Name "Inkscape Portable"\r
+OutFile "..\..\${NAME}.exe"\r
+VIProductVersion "${VER}"\r
+VIAddVersionKey ProductName "Inkscape Portable"\r
+VIAddVersionKey Comments "Allows Inkscape to be run from a removable drive. For additional details, visit Inkscape.org"\r
+VIAddVersionKey CompanyName "PortableApps.com"\r
+VIAddVersionKey LegalCopyright "PortableApps.com & Inkscape.org"\r
+VIAddVersionKey FileDescription "Inkscape Portable"\r
+VIAddVersionKey FileVersion "${VER}"\r
+VIAddVersionKey ProductVersion "${VER}"\r
+VIAddVersionKey InternalName "Inkscape Portable"\r
+VIAddVersionKey LegalTrademarks "PortableApps.com is a Trademark of Rare Ideas, LLC."\r
+VIAddVersionKey OriginalFilename "${NAME}.exe"\r
+;VIAddVersionKey PrivateBuild ""\r
+;VIAddVersionKey SpecialBuild ""\r
+\r
+;=== Runtime Switches\r
+CRCCheck On\r
+WindowIcon Off\r
+SilentInstall Silent\r
+AutoCloseWindow True\r
+RequestExecutionLevel user\r
+\r
+; Best Compression\r
+SetCompress Auto\r
+SetCompressor /SOLID lzma\r
+SetCompressorDictSize 32\r
+SetDatablockOptimize On\r
+\r
+;=== Include\r
+;(Standard NSIS)\r
+!include FileFunc.nsh\r
+!insertmacro GetParameters\r
+!insertmacro GetRoot\r
+\r
+;(NSIS Plugins)\r
+!include TextReplace.nsh\r
+\r
+;(Custom)\r
+!include ReplaceInFileWithTextReplace.nsh\r
+\r
+;=== Program Icon\r
+Icon "..\..\App\AppInfo\appicon.ico"\r
+\r
+;=== Icon & Stye ===\r
+;!define MUI_ICON "..\..\App\AppInfo\appicon.ico"\r
+\r
+;=== Languages\r
+LoadLanguageFile "${NSISDIR}\Contrib\Language files\${LAUNCHERLANGUAGE}.nlf"\r
+!include PortableApps.comLauncherLANG_${LAUNCHERLANGUAGE}.nsh\r
+\r
+Var EXECSTRING\r
+Var MISSINGFILEORPATH\r
+\r
+Section Main\r
+ IfFileExists "$EXEDIR\App\Inkscape\inkscape.exe" DisplaySplash\r
+ StrCpy $MISSINGFILEORPATH "inkscape.exe"\r
+ MessageBox MB_OK|MB_ICONEXCLAMATION `$(LauncherFileNotFound)`\r
+ Abort\r
+\r
+ DisplaySplash:\r
+ ReadINIStr $0 "$EXEDIR\${NAME}.ini" "${NAME}" DisableSplashScreen\r
+ StrCmp $0 "true" SettingsDirectory\r
+ ;=== Show the splash screen while processing registry entries\r
+ InitPluginsDir\r
+ File /oname=$PLUGINSDIR\splash.jpg "${NAME}.jpg"\r
+ newadvsplash::show /NOUNLOAD 1200 0 0 -1 /L $PLUGINSDIR\splash.jpg\r
+\r
+ SettingsDirectory:\r
+ CreateDirectory $EXEDIR\Data\settings\r
+ System::Call 'Kernel32::SetEnvironmentVariableA(t, t) i("INKSCAPE_PORTABLE_PROFILE_DIR", "$EXEDIR\Data\settings").n'\r
+ System::Call 'Kernel32::SetEnvironmentVariableA(t, t) i("HOME", "$EXEDIR\Data\settings").n' ; possibly some GTK stuff\r
+ System::Call 'Kernel32::SetEnvironmentVariableA(t, t) i("APPDATA", "$EXEDIR\Data\settings").n' ; Just to be on the safe side\r
+\r
+ ;InkscapeLanguage:\r
+ ReadEnvStr $0 "PortableApps.comLocaleglibc"\r
+ StrCmp $0 "" InkscapeLanguageSettingsFile\r
+ StrCmp $0 "en_US" SetInkscapeLanguageVariable\r
+ IfFileExists "$EXEDIR\App\Inkscape\locale\$0\*.*" SetInkscapeLanguageVariable\r
+\r
+ InkscapeLanguageSettingsFile:\r
+ ReadINIStr $0 "$EXEDIR\Data\settings\${NAME}Settings.ini" Language LANG\r
+ StrCmp $0 "" AdjustPaths\r
+ StrCmp $0 "en_US" SetInkscapeLanguageVariable\r
+ IfFileExists "$EXEDIR\App\Inkscape\locale\$0\*.*" SetInkscapeLanguageVariable AdjustPaths\r
+\r
+ SetInkscapeLanguageVariable:\r
+ System::Call 'Kernel32::SetEnvironmentVariableA(t, t) i("LANG", r0).n'\r
+\r
+ AdjustPaths:\r
+ ReadINIStr $0 "$EXEDIR\Data\settings\${NAME}Settings.ini" "${NAME}Settings" LastDrive\r
+ ${GetRoot} $EXEDIR $1\r
+ StrCmp $0 $1 Launch\r
+ WriteINIStr "$EXEDIR\Data\settings\${NAME}Settings.ini" "${NAME}Settings" LastDrive $1\r
+ ${ReplaceInFile} "$EXEDIR\Data\settings\preferences.xml" "$0\" "$1\"\r
+ ${ReplaceInFile} "$EXEDIR\Data\settings\.recently-used.xbel" "file:///$0/" "file:///$1/"\r
+\r
+ Launch:\r
+ ${GetParameters} $0\r
+ ReadINIStr $1 "$EXEDIR\${NAME}.ini" "${NAME}" AdditionalParameters\r
+ Exec `"$EXEDIR\App\Inkscape\inkscape.exe" $0 $1`\r
+ newadvsplash::stop /WAIT\r
+SectionEnd\r
diff --git a/packaging/win32/portable/Other/Source/License.txt b/packaging/win32/portable/Other/Source/License.txt
--- /dev/null
@@ -0,0 +1,344 @@
+ GNU GENERAL PUBLIC LICENSE\r
+ Version 2, June 1991\r
+\r
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.\r
+ 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\r
+ Everyone is permitted to copy and distribute verbatim copies\r
+ of this license document, but changing it is not allowed.\r
+\r
+ Preamble\r
+\r
+ The licenses for most software are designed to take away your\r
+freedom to share and change it. By contrast, the GNU General Public\r
+License is intended to guarantee your freedom to share and change free\r
+software--to make sure the software is free for all its users. This\r
+General Public License applies to most of the Free Software\r
+Foundation's software and to any other program whose authors commit to\r
+using it. (Some other Free Software Foundation software is covered by\r
+the GNU Library General Public License instead.) You can apply it to\r
+your programs, too.\r
+\r
+ When we speak of free software, we are referring to freedom, not\r
+price. Our General Public Licenses are designed to make sure that you\r
+have the freedom to distribute copies of free software (and charge for\r
+this service if you wish), that you receive source code or can get it\r
+if you want it, that you can change the software or use pieces of it\r
+in new free programs; and that you know you can do these things.\r
+\r
+ To protect your rights, we need to make restrictions that forbid\r
+anyone to deny you these rights or to ask you to surrender the rights.\r
+These restrictions translate to certain responsibilities for you if you\r
+distribute copies of the software, or if you modify it.\r
+\r
+ For example, if you distribute copies of such a program, whether\r
+gratis or for a fee, you must give the recipients all the rights that\r
+you have. You must make sure that they, too, receive or can get the\r
+source code. And you must show them these terms so they know their\r
+rights.\r
+\r
+ We protect your rights with two steps: (1) copyright the software, and\r
+(2) offer you this license which gives you legal permission to copy,\r
+distribute and/or modify the software.\r
+\r
+ Also, for each author's protection and ours, we want to make certain\r
+that everyone understands that there is no warranty for this free\r
+software. If the software is modified by someone else and passed on, we\r
+want its recipients to know that what they have is not the original, so\r
+that any problems introduced by others will not reflect on the original\r
+authors' reputations.\r
+\r
+ Finally, any free program is threatened constantly by software\r
+patents. We wish to avoid the danger that redistributors of a free\r
+program will individually obtain patent licenses, in effect making the\r
+program proprietary. To prevent this, we have made it clear that any\r
+patent must be licensed for everyone's free use or not licensed at all.\r
+\r
+ The precise terms and conditions for copying, distribution and\r
+modification follow.\r
+\r
+ GNU GENERAL PUBLIC LICENSE\r
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\r
+\r
+ 0. This License applies to any program or other work which contains\r
+a notice placed by the copyright holder saying it may be distributed\r
+under the terms of this General Public License. The "Program", below,\r
+refers to any such program or work, and a "work based on the Program"\r
+means either the Program or any derivative work under copyright law:\r
+that is to say, a work containing the Program or a portion of it,\r
+either verbatim or with modifications and/or translated into another\r
+language. (Hereinafter, translation is included without limitation in\r
+the term "modification".) Each licensee is addressed as "you".\r
+\r
+Activities other than copying, distribution and modification are not\r
+covered by this License; they are outside its scope. The act of\r
+running the Program is not restricted, and the output from the Program\r
+is covered only if its contents constitute a work based on the\r
+Program (independent of having been made by running the Program).\r
+Whether that is true depends on what the Program does.\r
+\r
+ 1. You may copy and distribute verbatim copies of the Program's\r
+source code as you receive it, in any medium, provided that you\r
+conspicuously and appropriately publish on each copy an appropriate\r
+copyright notice and disclaimer of warranty; keep intact all the\r
+notices that refer to this License and to the absence of any warranty;\r
+and give any other recipients of the Program a copy of this License\r
+along with the Program.\r
+\r
+You may charge a fee for the physical act of transferring a copy, and\r
+you may at your option offer warranty protection in exchange for a fee.\r
+\r
+ 2. You may modify your copy or copies of the Program or any portion\r
+of it, thus forming a work based on the Program, and copy and\r
+distribute such modifications or work under the terms of Section 1\r
+above, provided that you also meet all of these conditions:\r
+\r
+ a) You must cause the modified files to carry prominent notices\r
+ stating that you changed the files and the date of any change.\r
+\r
+ b) You must cause any work that you distribute or publish, that in\r
+ whole or in part contains or is derived from the Program or any\r
+ part thereof, to be licensed as a whole at no charge to all third\r
+ parties under the terms of this License.\r
+\r
+ c) If the modified program normally reads commands interactively\r
+ when run, you must cause it, when started running for such\r
+ interactive use in the most ordinary way, to print or display an\r
+ announcement including an appropriate copyright notice and a\r
+ notice that there is no warranty (or else, saying that you provide\r
+ a warranty) and that users may redistribute the program under\r
+ these conditions, and telling the user how to view a copy of this\r
+ License. (Exception: if the Program itself is interactive but\r
+ does not normally print such an announcement, your work based on\r
+ the Program is not required to print an announcement.)\r
+\r
+These requirements apply to the modified work as a whole. If\r
+identifiable sections of that work are not derived from the Program,\r
+and can be reasonably considered independent and separate works in\r
+themselves, then this License, and its terms, do not apply to those\r
+sections when you distribute them as separate works. But when you\r
+distribute the same sections as part of a whole which is a work based\r
+on the Program, the distribution of the whole must be on the terms of\r
+this License, whose permissions for other licensees extend to the\r
+entire whole, and thus to each and every part regardless of who wrote it.\r
+\r
+Thus, it is not the intent of this section to claim rights or contest\r
+your rights to work written entirely by you; rather, the intent is to\r
+exercise the right to control the distribution of derivative or\r
+collective works based on the Program.\r
+\r
+In addition, mere aggregation of another work not based on the Program\r
+with the Program (or with a work based on the Program) on a volume of\r
+a storage or distribution medium does not bring the other work under\r
+the scope of this License.\r
+\r
+ 3. You may copy and distribute the Program (or a work based on it,\r
+under Section 2) in object code or executable form under the terms of\r
+Sections 1 and 2 above provided that you also do one of the following:\r
+\r
+ a) Accompany it with the complete corresponding machine-readable\r
+ source code, which must be distributed under the terms of Sections\r
+ 1 and 2 above on a medium customarily used for software interchange; or,\r
+\r
+ b) Accompany it with a written offer, valid for at least three\r
+ years, to give any third party, for a charge no more than your\r
+ cost of physically performing source distribution, a complete\r
+ machine-readable copy of the corresponding source code, to be\r
+ distributed under the terms of Sections 1 and 2 above on a medium\r
+ customarily used for software interchange; or,\r
+\r
+ c) Accompany it with the information you received as to the offer\r
+ to distribute corresponding source code. (This alternative is\r
+ allowed only for noncommercial distribution and only if you\r
+ received the program in object code or executable form with such\r
+ an offer, in accord with Subsection b above.)\r
+\r
+The source code for a work means the preferred form of the work for\r
+making modifications to it. For an executable work, complete source\r
+code means all the source code for all modules it contains, plus any\r
+associated interface definition files, plus the scripts used to\r
+control compilation and installation of the executable. However, as a\r
+special exception, the source code distributed need not include\r
+anything that is normally distributed (in either source or binary\r
+form) with the major components (compiler, kernel, and so on) of the\r
+operating system on which the executable runs, unless that component\r
+itself accompanies the executable.\r
+\r
+If distribution of executable or object code is made by offering\r
+access to copy from a designated place, then offering equivalent\r
+access to copy the source code from the same place counts as\r
+distribution of the source code, even though third parties are not\r
+compelled to copy the source along with the object code.\r
+\r
+ 4. You may not copy, modify, sublicense, or distribute the Program\r
+except as expressly provided under this License. Any attempt\r
+otherwise to copy, modify, sublicense or distribute the Program is\r
+void, and will automatically terminate your rights under this License.\r
+However, parties who have received copies, or rights, from you under\r
+this License will not have their licenses terminated so long as such\r
+parties remain in full compliance.\r
+\r
+ 5. You are not required to accept this License, since you have not\r
+signed it. However, nothing else grants you permission to modify or\r
+distribute the Program or its derivative works. These actions are\r
+prohibited by law if you do not accept this License. Therefore, by\r
+modifying or distributing the Program (or any work based on the\r
+Program), you indicate your acceptance of this License to do so, and\r
+all its terms and conditions for copying, distributing or modifying\r
+the Program or works based on it.\r
+\r
+ 6. Each time you redistribute the Program (or any work based on the\r
+Program), the recipient automatically receives a license from the\r
+original licensor to copy, distribute or modify the Program subject to\r
+these terms and conditions. You may not impose any further\r
+restrictions on the recipients' exercise of the rights granted herein.\r
+You are not responsible for enforcing compliance by third parties to\r
+this License.\r
+\r
+ 7. If, as a consequence of a court judgment or allegation of patent\r
+infringement or for any other reason (not limited to patent issues),\r
+conditions are imposed on you (whether by court order, agreement or\r
+otherwise) that contradict the conditions of this License, they do not\r
+excuse you from the conditions of this License. If you cannot\r
+distribute so as to satisfy simultaneously your obligations under this\r
+License and any other pertinent obligations, then as a consequence you\r
+may not distribute the Program at all. For example, if a patent\r
+license would not permit royalty-free redistribution of the Program by\r
+all those who receive copies directly or indirectly through you, then\r
+the only way you could satisfy both it and this License would be to\r
+refrain entirely from distribution of the Program.\r
+\r
+If any portion of this section is held invalid or unenforceable under\r
+any particular circumstance, the balance of the section is intended to\r
+apply and the section as a whole is intended to apply in other\r
+circumstances.\r
+\r
+It is not the purpose of this section to induce you to infringe any\r
+patents or other property right claims or to contest validity of any\r
+such claims; this section has the sole purpose of protecting the\r
+integrity of the free software distribution system, which is\r
+implemented by public license practices. Many people have made\r
+generous contributions to the wide range of software distributed\r
+through that system in reliance on consistent application of that\r
+system; it is up to the author/donor to decide if he or she is willing\r
+to distribute software through any other system and a licensee cannot\r
+impose that choice.\r
+\r
+This section is intended to make thoroughly clear what is believed to\r
+be a consequence of the rest of this License.\r
+\r
+ 8. If the distribution and/or use of the Program is restricted in\r
+certain countries either by patents or by copyrighted interfaces, the\r
+original copyright holder who places the Program under this License\r
+may add an explicit geographical distribution limitation excluding\r
+those countries, so that distribution is permitted only in or among\r
+countries not thus excluded. In such case, this License incorporates\r
+the limitation as if written in the body of this License.\r
+\r
+ 9. The Free Software Foundation may publish revised and/or new versions\r
+of the General Public License from time to time. Such new versions will\r
+be similar in spirit to the present version, but may differ in detail to\r
+address new problems or concerns.\r
+\r
+Each version is given a distinguishing version number. If the Program\r
+specifies a version number of this License which applies to it and "any\r
+later version", you have the option of following the terms and conditions\r
+either of that version or of any later version published by the Free\r
+Software Foundation. If the Program does not specify a version number of\r
+this License, you may choose any version ever published by the Free Software\r
+Foundation.\r
+\r
+ 10. If you wish to incorporate parts of the Program into other free\r
+programs whose distribution conditions are different, write to the author\r
+to ask for permission. For software which is copyrighted by the Free\r
+Software Foundation, write to the Free Software Foundation; we sometimes\r
+make exceptions for this. Our decision will be guided by the two goals\r
+of preserving the free status of all derivatives of our free software and\r
+of promoting the sharing and reuse of software generally.\r
+\r
+ NO WARRANTY\r
+\r
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE,\r
+THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT\r
+PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED\r
+IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\r
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND,\r
+EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\r
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\r
+A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY\r
+AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\r
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL\r
+NECESSARY SERVICING, REPAIR OR CORRECTION.\r
+\r
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR\r
+AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY\r
+OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM\r
+AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING\r
+ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES\r
+ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM\r
+(INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING\r
+RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\r
+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY\r
+OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS\r
+BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\r
+\r
+ END OF TERMS AND CONDITIONS\r
+\r
+ How to Apply These Terms to Your New Programs\r
+\r
+ If you develop a new program, and you want it to be of the greatest\r
+possible use to the public, the best way to achieve this is to make it\r
+free software which everyone can redistribute and change under these terms.\r
+\r
+ To do so, attach the following notices to the program. It is safest\r
+to attach them to the start of each source file to most effectively\r
+convey the exclusion of warranty; and each file should have at least\r
+the "copyright" line and a pointer to where the full notice is found.\r
+\r
+ <one line to give the program's name and a brief idea of what it does.>\r
+ Copyright (C) 19yy <name of author>\r
+\r
+ This program is free software; you can redistribute it and/or modify\r
+ it under the terms of the GNU General Public License as published by\r
+ the Free Software Foundation; either version 2 of the License, or\r
+ (at your option) any later version.\r
+\r
+ This program is distributed in the hope that it will be useful,\r
+ but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r
+ GNU General Public License for more details.\r
+\r
+ You should have received a copy of the GNU General Public License\r
+ along with this program; if not, write to the Free Software\r
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\r
+\r
+\r
+Also add information on how to contact you by electronic and paper mail.\r
+\r
+If the program is interactive, make it output a short notice like this\r
+when it starts in an interactive mode:\r
+\r
+ Gnomovision version 69, Copyright (C) 19yy name of author\r
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\r
+ This is free software, and you are welcome to redistribute it\r
+ under certain conditions; type `show c' for details.\r
+\r
+The hypothetical commands `show w' and `show c' should show the appropriate\r
+parts of the General Public License. Of course, the commands you use may\r
+be called something other than `show w' and `show c'; they could even be\r
+mouse-clicks or menu items--whatever suits your program.\r
+\r
+You should also get your employer (if you work as a programmer) or your\r
+school, if any, to sign a "copyright disclaimer" for the program, if\r
+necessary. Here is a sample; alter the names:\r
+\r
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program\r
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.\r
+\r
+ <signature of Ty Coon>, 1 April 1989\r
+ Ty Coon, President of Vice\r
+\r
+This General Public License does not permit incorporating your program into\r
+proprietary programs. If your program is a subroutine library, you may\r
+consider it more useful to permit linking proprietary applications with the\r
+library. If this is what you want to do, use the GNU Library General\r
+Public License instead of this License.
\ No newline at end of file
diff --git a/packaging/win32/portable/Other/Source/PortableApps.comInstallerCustom.nsh b/packaging/win32/portable/Other/Source/PortableApps.comInstallerCustom.nsh
--- /dev/null
@@ -0,0 +1,12 @@
+!macro CustomCodePostInstall\r
+ ${If} ${FileExists} "$INSTDIR\Data\settings\AppData" ; 0.46 Development Tests\r
+ Rename "$INSTDIR\Data\settings\AppData" "$INSTDIR\Data\_settings"\r
+ ${ElseIf} ${FileExists} "$INSTDIR\Data\settings\InkscapePortableAppData" ; 0.46 Pre-Release 1\r
+ Rename "$INSTDIR\Data\settings\InkscapePortableAppData" "$INSTDIR\Data\_settings"\r
+ ${EndIf}\r
+ ${If} ${FileExists} "$INSTDIR\Data\_settings"\r
+ Rename "$INSTDIR\Data\settings\InkscapePortableSettings.ini" "$INSTDIR\Data\_settings\InkscapePortableSettings.ini"\r
+ RMDir /r "$INSTDIR\Data\settings"\r
+ Rename "$INSTDIR\Data\settings" "$INSTDIR\Data\_settings"\r
+ ${EndIf}\r
+!macroend\r
diff --git a/packaging/win32/portable/Other/Source/PortableApps.comLauncherLANG_ENGLISH.nsh b/packaging/win32/portable/Other/Source/PortableApps.comLauncherLANG_ENGLISH.nsh
--- /dev/null
@@ -0,0 +1,6 @@
+LangString LauncherFileNotFound ${LANG_ENGLISH} "${PORTABLEAPPNAME} cannot be started. You may wish to re-install to fix this issue. (ERROR: $MISSINGFILEORPATH could not be found)"\r
+LangString LauncherAlreadyRunning ${LANG_ENGLISH} "Another instance of ${APPNAME} is already running. Please close other instances of ${APPNAME} before launching ${PORTABLEAPPNAME}."\r
+LangString LauncherAskCopyLocal ${LANG_ENGLISH} "${PORTABLEAPPNAME} appears to be running from a location that is read-only. Would you like to temporarily copy it to the local hard drive and run it from there?$\n$\nPrivacy Note: If you say Yes, your personal data within ${PORTABLEAPPNAME} will be temporarily copied to a local drive. Although this copy of your data will be deleted when you close ${PORTABLEAPPNAME}, it may be possible for someone else to access your data later."\r
+LangString LauncherNoReadOnly ${LANG_ENGLISH} "${PORTABLEAPPNAME} can not run directly from a read-only location and will now close."\r
+LangString LauncherPathTooLong ${LANG_ENGLISH} "The path to ${PORTABLEAPPNAME} is too long. Please shorten the path by eliminating some parent directories or shortening directory names."\r
+LangString LauncherNextButton ${LANG_ENGLISH} "&Next >"\r
diff --git a/packaging/win32/portable/Other/Source/Readme.txt b/packaging/win32/portable/Other/Source/Readme.txt
--- /dev/null
@@ -0,0 +1,67 @@
+Inkscape Portable\r
+=================\r
+Copyright 2004-2008 John T. Haller\r
+Copyright 2008-2009 Chris Morgan\r
+\r
+Website: http://Inkscape.org/\r
+\r
+This software is OSI Certified Open Source Software.\r
+OSI Certified is a certification mark of the Open Source Initiative.\r
+\r
+This program is free software; you can redistribute it and/or\r
+modify it under the terms of the GNU General Public License\r
+as published by the Free Software Foundation; either version 2\r
+of the License, or (at your option) any later version.\r
+\r
+This program is distributed in the hope that it will be useful,\r
+but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r
+GNU General Public License for more details.\r
+\r
+You should have received a copy of the GNU General Public License\r
+along with this program; if not, write to the Free Software\r
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\r
+\r
+\r
+ABOUT INKSCAPE PORTABLE\r
+=======================\r
+The Inkscape Portable launcher allows you to run Inkscape from a\r
+removable drive whose letter changes as you move it to another\r
+computer. The program can be entirely self-contained on the drive\r
+and then used on any Windows computer.\r
+\r
+\r
+LICENSE\r
+=======\r
+This code is released under the GPL.\r
+The full code is included with this package as InkscapePortable.nsi.\r
+\r
+\r
+INSTALLATION / DIRECTORY STRUCTURE\r
+==================================\r
+The program expects the following directory structure:\r
+\r
+-\ <--- Directory with InkscapePortable.exe\r
+ +\App\\r
+ +\Inkscape\\r
+ +\Data\\r
+ +\settings\\r
+\r
+\r
+INKSCAPEPORTABLE.INI CONFIGURATION\r
+==================================\r
+The Inkscape Portable launcher will look for an ini file called\r
+InkscapePortable.ini in the directory which contains InkscapePortable.exe.\r
+If you are happy with the default options, it is not necessary, though.\r
+The INI file is formatted as follows:\r
+\r
+[InkscapePortable]\r
+AdditionalParameters=\r
+DisableSplashScreen=false\r
+\r
+The AdditionalParameters entry allows you to pass additional command-line\r
+parameter entries to inkscape.exe. Whatever you enter here will be\r
+appended to the call to inkscape.exe.\r
+\r
+The DisableSplashScreen entry allows you to run the Inkscape Portable\r
+launcher without the splash screen showing up. The default is false.\r
diff --git a/packaging/win32/portable/Other/Source/ReplaceInFileWithTextReplace.nsh b/packaging/win32/portable/Other/Source/ReplaceInFileWithTextReplace.nsh
--- /dev/null
@@ -0,0 +1,64 @@
+; ReplaceInFile wrapper for testreplace function\r
+; John T. Haller of PortableApps.com\r
+; BSD License\r
+; Requires TextReplace plugin installed in NSIS and !include "TextReplace.nsh" in main nsi\r
+;\r
+; Usage: ${ReplaceInFile} SOURCE_FILE SEARCH_TEXT REPLACEMENT\r
+; or use ReplaceInFileCS for case-sensitive (use when possible, it's faster)\r
+; No return variable. Error will be set if unable to do the replacement (invalid file, locked file, etc)\r
+\r
+Function ReplaceInFile\r
+ Exch $0 ;REPLACEMENT\r
+ Exch\r
+ Exch $1 ;SEARCH_TEXT\r
+ Exch 2\r
+ Exch $2 ;SOURCE_FILE\r
+ Exch 3\r
+ Exch $3 ;CASE_INSENSITIVE\r
+ Push $4 ;NEW_FILE\r
+ Push $5 ;RETURN_VALUE\r
+ \r
+ StrCpy $4 `$2.OldReplaceInFile`\r
+ \r
+ ${textreplace::ReplaceInFile} "$2" "$4" "$1" "$0" "$3 /C=0" $5\r
+ \r
+ IntCmp $5 0 StackCleanup ReturnError RenameToOriginal\r
+ \r
+ ReturnError:\r
+ SetErrors\r
+ Goto StackCleanup\r
+ \r
+ RenameToOriginal:\r
+ Delete $2\r
+ Rename $4 $2\r
+ \r
+ StackCleanup:\r
+ Pop $5\r
+ Pop $4\r
+ Pop $3\r
+ Pop $0\r
+ Pop $1\r
+ Pop $2\r
+\r
+ ${textreplace::Unload}\r
+FunctionEnd\r
+\r
+!macro ReplaceInFileCS SOURCE_FILE SEARCH_TEXT REPLACEMENT\r
+ Push `/S=1`\r
+ Push `${SOURCE_FILE}`\r
+ Push `${SEARCH_TEXT}`\r
+ Push `${REPLACEMENT}`\r
+ Call ReplaceInFile\r
+!macroend\r
+\r
+!macro ReplaceInFile SOURCE_FILE SEARCH_TEXT REPLACEMENT\r
+ Push `/S=0`\r
+ Push `${SOURCE_FILE}`\r
+ Push `${SEARCH_TEXT}`\r
+ Push `${REPLACEMENT}`\r
+ Call ReplaceInFile\r
+!macroend\r
+\r
+!define ReplaceInFileCS '!insertmacro "ReplaceInFileCS"'\r
+\r
+!define ReplaceInFile '!insertmacro "ReplaceInFile"'
\ No newline at end of file
diff --git a/packaging/win32/portable/help.html b/packaging/win32/portable/help.html
--- /dev/null
@@ -0,0 +1,178 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">\r
+<html lang="en-US"><head><title>Inkscape Portable Help</title>\r
+ <link rel="alternate" type="application/rss+xml" title="PortableApps.com" href="http://portableapps.com/feeds/general">\r
+ <link rel="SHORTCUT ICON" href="Other/Help/images/favicon.ico">\r
+<style>body {\r
+ font-family: Verdana,Arial,Helvetica,sans-serif;\r
+ font-size: 76%;\r
+ color: #000;\r
+ margin: 20px;\r
+ background: #E6E8EA;\r
+ text-align: center;\r
+}\r
+a\r
+{\r
+ color: #B31616;\r
+ font-weight: bold;\r
+}\r
+a:link {\r
+ }\r
+a:visited {\r
+ }\r
+a:active {\r
+ }\r
+a:hover {\r
+ color: red;\r
+ }\r
+h1, h2, h3, h4, h5, h6 {\r
+ font-family: Arial, sans-serif;\r
+ font-weight: normal;\r
+}\r
+h1 {\r
+ color: #B31616;\r
+ font-weight: bold;\r
+ letter-spacing: -2px;\r
+ font-size: 2.2em;\r
+ border-bottom: 1px solid silver;\r
+ padding-bottom: 5px;\r
+ }\r
+h2 {\r
+ font-size: 1.5em;\r
+ border-bottom: 1px solid silver;\r
+ padding-bottom: 3px;\r
+ clear: both;\r
+ }\r
+h3 {\r
+ font-size: 1.2em;\r
+ }\r
+h4 {\r
+ font-size: 1.1em;\r
+ }\r
+h5 {\r
+ font-size: 1.0em;\r
+ }\r
+h6 {\r
+ font-size: 0.8em;\r
+ }\r
+img {\r
+ border: 0;\r
+ }\r
+ol, ul, li {\r
+ font-size: 1.0em;\r
+ }\r
+p, table, tr, td, th {\r
+ font-size: 1.0em;\r
+ }\r
+pre {\r
+ font-family: Courier New,Courier,monospace;\r
+ font-size: 1.0em;\r
+ }\r
+strong, b {\r
+ font-weight: bold;\r
+ }\r
+table, tr, td {\r
+ font-size: 1.0em;\r
+ border-collapse: collapse;\r
+}\r
+td, th {\r
+ border: 1px solid #aaaaaa;\r
+ border-collapse: collapse;\r
+ padding: 3px;\r
+}\r
+th {\r
+ background: #3667A8;\r
+ color: white;\r
+}\r
+ol ol {\r
+ list-style-type: lower-alpha;\r
+}\r
+.content {\r
+ text-align: left;\r
+ margin-left: auto;\r
+ margin-right: auto;\r
+ width: 780px;\r
+ background-color: #FFFFFF;\r
+ border-left: 1px solid Black;\r
+ border-right: 1px solid Black;\r
+ padding: 12px 30px;\r
+ line-height: 150%;\r
+}\r
+.logo {\r
+ background: #ffffff url("Other/Help/images/help_background_header.png") repeat-x;\r
+ width: 840px;\r
+ margin-top: 20px;\r
+ margin-left: auto;\r
+ margin-right: auto;\r
+ text-align: left;\r
+ border-right: 1px solid black;\r
+ border-left: 1px solid black;\r
+}\r
+.footer {\r
+ background: #ffffff url("Other/Help/images/help_background_footer.png") repeat-x;\r
+ width: 840px;\r
+ height: 16px;\r
+ margin-left: auto;\r
+ margin-right: auto;\r
+ text-align: left;\r
+ border-right: 1px solid black;\r
+ border-left: 1px solid black;\r
+}\r
+.logo img {\r
+ padding-left: 0px;\r
+ border: none;\r
+ position: relative;\r
+ top: -4px;\r
+}\r
+* html .content {\r
+ width: 760px;\r
+}\r
+* html .logo, * html .footer {\r
+ width: 820px;\r
+}\r
+.content h1 {\r
+ margin: 0px;\r
+}\r
+h1.hastagline {\r
+ border: 0;\r
+}\r
+h2.tagline {\r
+ color: #747673;\r
+ clear: none;\r
+ margin-top: 0em;\r
+}\r
+/*printer styles*/ \r
+@media print{ \r
+body, .content {margin: 0; padding: 0;}\r
+.navigation, .locator, .footer a, .message, .footer-links {display:none;} \r
+.footer, .content, .header {border: none;}\r
+a {text-decoration: none; font-weight: normal; color: black;}\r
+}</style>\r
+</head>\r
+<body>\r
+<div class="logo"><a href="http://portableapps.com/"><img src="Other/Help/images/help_logo_top.png" width="229" height="47" alt="PortableApps.com - Your Digital Life, Anywhere"></a></div>\r
+<div class="content">\r
+<h1 class="hastagline">Inkscape Portable Help</h1>\r
+<h2 class="tagline">amazing vector graphics - everywhere!</h2>\r
+<p>Inkscape Portable is the popular Inkscape vector graphics editor packaged with a PortableApps.com launcher as a <a href="http://portableapps.com/about/what_is_a_portable_app">portable app</a>, to help you design on your iPod, USB flash drive, portable hard drive, etc. It has all the same great features as Inkscape including editing vector graphics, designing things and more. Plus, it leaves no personal information behind on the machine you run it on, so you can take it with you wherever you go. <a href="http://inkscape.org/">Learn more about Inkscape...</a></p>\r
+
+<p><a href="http://inkscape.org/donate.php"><img src="Other/Help/images/donation_button.png" width="110" height="23" border="0" align="top" alt="Make a Donation"></a> - Support Inkscape Development</p>\r
+<p><a href="http://portableapps.com/donate"><img src="Other/Help/images/donation_button.png" width="110" height="23" border="0" align="top" alt="Make a Donation"></a> - Support PortableApps.com's Hosting and Development</p>\r
+\r
+<p><a href="http://inkscape.org/">Go to the Inkscape Portable Homepage >></a></p>\r
+\r
+<p><a href="http://PortableApps.com/">Get more portable apps at PortableApps.com</a></p>\r
+\r
+<p>This software is OSI Certified Open Source Software. OSI Certified is a certification mark of the Open Source Initiative.</p>\r
+\r
+<h2>Portable App Issues</h2>\r
+<ul>\r
+ <li><a href="http://portableapps.com/support/portable_app#downloading">Downloading a Portable App</a></li>\r
+ <li><a href="http://portableapps.com/support/portable_app#installing">Installing a Portable App</a></li>\r
+ <li><a href="http://portableapps.com/support/portable_app#using">Using a Portable App</a></li>\r
+ <li><a href="http://portableapps.com/support/portable_app#upgrading">Upgrading a Portable App</a></li>\r
+</ul>\r
+<p>You can read about advanced configuration options for the Inkscape Portable launcher in its <a href="Other\Source\Readme.txt">readme file</a>.\r
+</div>\r
+<div class="footer"></div>\r
+</body>\r
+</html>\r
diff --git a/packaging/win32/portable/readme.packaging.txt b/packaging/win32/portable/readme.packaging.txt
--- /dev/null
@@ -0,0 +1,29 @@
+REQUIREMENTS\r
+============\r
+· Inkscape compiled (see http://wiki.inkscape.org/wiki/index.php/Win32Port)\r
+· NSIS Portable\r
+ http://portableapps.com/apps/development/nsis_portable\r
+ (or NSIS 2.45 or later [Windows 7 support] and the TextReplace plugin)\r
+· PortableApps.com AppCompactor\r
+ http://portableapps.com/apps/utilities/appcompactor\r
+· PortableApps.com Installer\r
+ http://portableapps.com/apps/development/portableapps.com_installer\r
+\r
+INSTRUCTIONS\r
+============\r
+An automated version is planned for later, but currently you'll just have to follow these instructions. Oh, and it won't do the last half dozen steps automatically.\r
+\r
+(0. Compile Inkscape)\r
+1. Copy everything from the "inkscape" build directory, EXCEPT for inkscape.dbg, into ./App/Inkscape\r
+2. Update the version number in the "Version" section of ./App/AppInfo/appinfo.ini\r
+3. Compile ./Other/Source/InkscapePortable.nsi with NSIS\r
+4. Run the PortableApps.com AppCompactor on ./App/Inkscape\r
+5. Run the PortableApps.com Installer on this directory\r
+\r
+6. InkscapePortable_X.XX.paf.exe will now be in packaging/win32, ready for release\r
+7. Test it (the installer and the installed)\r
+8. Send it to John T. Haller of PortableApps.com for digital signature\r
+9. Probably wait a few days...\r
+10. Receive it back, signed\r
+11. Test it again, just to make sure\r
+12. Release it!\r