~ubuntu-branches/ubuntu/trusty/ginkgocadx/trusty

« back to all changes in this revision

Viewing changes to src/cadxcore/main/gui/license/dialogolicenciasopensource.cpp

  • Committer: Package Import Robot
  • Author(s): Dmitry Smirnov
  • Date: 2013-07-21 11:58:53 UTC
  • mfrom: (7.2.1 sid)
  • Revision ID: package-import@ubuntu.com-20130721115853-44e7n1xujqglu78e
Tags: 3.4.0.928.29+dfsg-1
* New upstream release [July 2013]
  + new B-D: "libjsoncpp-dev".
  + new patch "unbundle-libjsoncpp.patch" to avoid building bundled
    "libjsoncpp-dev".
  + new patch "fix-wx.patch" to avoid FTBFS due to missing
    "-lwx_gtk2u_html-2.8".
* Removed unnecessary versioned Build-Depends.
* Removed obsolete lintian override.
* Reference get-orig-source implementation for orig.tar clean-up and
  DFSG-repackaging.
* Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
78
78
                EscribeLicenciaCharLS();
79
79
        }else if (nombre == "Dark Glass Icons") {
80
80
                WriteDarkGlassLicense();
81
 
        } else if (ExtraMap.find(nombre) != ExtraMap.end()) {
 
81
        } else if (nombre == "Libcurl") {
 
82
                WriteLibcurl();
 
83
        } else if (nombre == "JsonCpp") {
 
84
                WriteLibJsonCpp();
 
85
        }
 
86
        else if (ExtraMap.find(nombre) != ExtraMap.end()) {
82
87
                EscribeTitulo(licencia + wxT("\n\n\n"));
83
88
                wxString licenseText = wxString::FromUTF8(ExtraMap[nombre].c_str());
84
89
                EscribeLicencia(licenseText);
1295
1300
        resultado +=  wxT("*Yaco for the Skype icon.\n");
1296
1301
        resultado += wxT("\n");
1297
1302
        EscribeLicencia(resultado);
1298
 
 
 
1303
}
 
1304
 
 
1305
void DialogoLicenciasOpenSource::WriteLibcurl()
 
1306
{
 
1307
        EscribeTitulo(wxT("Libcurl\n\n\n"));
 
1308
        wxString resultado = wxEmptyString;
 
1309
        resultado += wxT("COPYRIGHT AND PERMISSION NOTICE\n");
 
1310
        resultado += wxT(" \n");
 
1311
        resultado += wxT("Copyright (c) 1996 - 2012, Daniel Stenberg, <daniel@haxx.se>.\n");
 
1312
        resultado += wxT(" \n");
 
1313
        resultado += wxT("All rights reserved.\n");
 
1314
        resultado += wxT(" \n");
 
1315
        resultado += wxT("Permission to use, copy, modify, and distribute this software for any purpose");
 
1316
        resultado += wxT("with or without fee is hereby granted, provided that the above copyright");
 
1317
        resultado += wxT("notice and this permission notice appear in all copies.\n");
 
1318
        resultado += wxT(" \n");
 
1319
        resultado += wxT("THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR");
 
1320
        resultado += wxT("IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,");
 
1321
        resultado += wxT("FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN");
 
1322
        resultado += wxT("NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,");
 
1323
        resultado += wxT("DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR");
 
1324
        resultado += wxT("OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE");
 
1325
        resultado += wxT("OR OTHER DEALINGS IN THE SOFTWARE.\n");
 
1326
        resultado += wxT(" \n");
 
1327
        resultado += wxT("Except as contained in this notice, the name of a copyright holder shall not");
 
1328
        resultado += wxT("be used in advertising or otherwise to promote the sale, use or other dealings");
 
1329
        resultado += wxT("in this Software without prior written authorization of the copyright holder.\n");
 
1330
        EscribeLicencia(resultado);
 
1331
}
 
1332
 
 
1333
void DialogoLicenciasOpenSource::WriteLibJsonCpp()
 
1334
{
 
1335
        EscribeTitulo(wxT("JsonCpp\n\n\n"));
 
1336
        wxString resultado = wxEmptyString;
 
1337
        resultado += wxT("The JsonCpp library's source code, including accompanying documentation, ");
 
1338
        resultado += wxT("tests and demonstration applications, are licensed under the following");
 
1339
        resultado += wxT("conditions...\n");
 
1340
        resultado += wxT("\n");
 
1341
        resultado += wxT("The author (Baptiste Lepilleur) explicitly disclaims copyright in all ");
 
1342
        resultado += wxT("jurisdictions which recognize such a disclaimer. In such jurisdictions, ");
 
1343
        resultado += wxT("this software is released into the Public Domain.\n");
 
1344
        resultado += wxT("\n");
 
1345
        resultado += wxT("In jurisdictions which do not recognize Public Domain property (e.g. Germany as of ");
 
1346
        resultado += wxT("2010), this software is Copyright (c) 2007-2010 by Baptiste Lepilleur, and is ");
 
1347
        resultado += wxT("released under the terms of the MIT License (see below).\n");
 
1348
        resultado += wxT("\n");
 
1349
        resultado += wxT("In jurisdictions which recognize Public Domain property, the user of this ");
 
1350
        resultado += wxT("software may choose to accept it either as 1) Public Domain, 2) under the ");
 
1351
        resultado += wxT("conditions of the MIT License (see below), or 3) under the terms of dual ");
 
1352
        resultado += wxT("Public Domain/MIT License conditions described here, as they choose.\n");
 
1353
        resultado += wxT("\n");
 
1354
        resultado += wxT("The MIT License is about as close to Public Domain as a license can get, and is ");
 
1355
        resultado += wxT("described in clear, concise terms at:\n");
 
1356
        resultado += wxT("\n");
 
1357
        resultado += wxT("http://en.wikipedia.org/wiki/MIT_License\n");
 
1358
        resultado += wxT("\n");
 
1359
        resultado += wxT("The full text of the MIT License follows:\n");
 
1360
        resultado += wxT("\n");
 
1361
        resultado += wxT("========================================================================\n");
 
1362
        resultado += wxT("Copyright (c) 2007-2010 Baptiste Lepilleur\n");
 
1363
        resultado += wxT("\n");
 
1364
        resultado += wxT("Permission is hereby granted, free of charge, to any person ");
 
1365
        resultado += wxT("obtaining a copy of this software and associated documentation ");
 
1366
        resultado += wxT("files (the \"Software\"), to deal in the Software without ");
 
1367
        resultado += wxT("restriction, including without limitation the rights to use, copy, ");
 
1368
        resultado += wxT("modify, merge, publish, distribute, sublicense, and/or sell copies ");
 
1369
        resultado += wxT("of the Software, and to permit persons to whom the Software is ");
 
1370
        resultado += wxT("furnished to do so, subject to the following conditions:\n");
 
1371
        resultado += wxT("\n");
 
1372
        resultado += wxT("The above copyright notice and this permission notice shall be ");
 
1373
        resultado += wxT("included in all copies or substantial portions of the Software.\n");
 
1374
        resultado += wxT("\n");
 
1375
        resultado += wxT("THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, \n");
 
1376
        resultado += wxT("EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF ");
 
1377
        resultado += wxT("MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND ");
 
1378
        resultado += wxT("NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS ");
 
1379
        resultado += wxT("BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ");
 
1380
        resultado += wxT("ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN ");
 
1381
        resultado += wxT("CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ");
 
1382
        resultado += wxT("SOFTWARE.\n");
 
1383
        resultado += wxT("========================================================================\n");
 
1384
        resultado += wxT("(END LICENSE TEXT)\n");
 
1385
        resultado += wxT("\n");
 
1386
        resultado += wxT("The MIT license is compatible with both the GPL and commercial ");
 
1387
        resultado += wxT("software, affording one all of the rights of Public Domain with the ");
 
1388
        resultado += wxT("minor nuisance of being required to keep the above copyright notice ");
 
1389
        resultado += wxT("and license text in the source code. Note also that by accepting the ");
 
1390
        resultado += wxT("Public Domain \"license\" you can re-license your copy using whatever ");
 
1391
        resultado += wxT("license you like.\n");
1299
1392
        EscribeLicencia(resultado);
1300
1393
}
 
 
b'\\ No newline at end of file'