PageRenderTime 48ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 1ms

/trunk/octave-forge/admin/Windows/mingw32/wxwidgets/build-2.9.0-4.sh

#
Shell | 842 lines | 769 code | 36 blank | 37 comment | 9 complexity | 95cba1bb660457a811535d2b04387bc7 MD5 | raw file
Possible License(s): GPL-2.0, BSD-3-Clause, LGPL-2.1, GPL-3.0, LGPL-3.0
  1. #! /usr/bin/sh
  2. # Name of package
  3. PKG=wxwidgets
  4. # Version of Package
  5. VER=2.9.0
  6. # Release of (this patched) package
  7. REL=4
  8. # Name&Version of Package
  9. PKGVER=${PKG}-${VER}
  10. # Full name of this patched Package
  11. FULLPKG=${PKGVER}-${REL}
  12. # Name of source file(s)
  13. SRCFILE=${PKGVER}.tar.bz2
  14. # Name of Patch file
  15. PATCHFILE=${FULLPKG}.patch
  16. # URL(s) of source code file(s)
  17. URL="http://downloads.sourceforge.net/project/wxwindows/wxAll/2.9.0/wxWidgets-2.9.0.tar.bz2"
  18. # Top dir of this building process (i.e. where the patch file and source file(s) reside)
  19. TOPDIR=`pwd`
  20. # Directory source code is extraced to (relative to TOPDIR)
  21. SRCDIR=${PKGVER}
  22. # Directory original source code is extracted to (for generating diffs) (relative to TOPDIR)
  23. SRCDIR_ORIG=${SRCDIR}-orig
  24. # Make file to use (optional)
  25. MAKEFILE=
  26. # Any extra flags to pass make to
  27. MAKE_XTRA=
  28. # subdirectory to install heraders to (empty for default)
  29. INCLUDE_DIR=include/wx-2.9
  30. # Herader files to install
  31. HEADERS_INSTALL="
  32. wx/aboutdlg.h
  33. wx/accel.h
  34. wx/access.h
  35. wx/afterstd.h
  36. wx/anidecod.h
  37. wx/animate.h
  38. wx/animdecod.h
  39. wx/anystr.h
  40. wx/app.h
  41. wx/apptrait.h
  42. wx/archive.h
  43. wx/arrimpl.cpp
  44. wx/arrstr.h
  45. wx/artprov.h
  46. wx/atomic.h
  47. wx/base64.h
  48. wx/beforestd.h
  49. wx/bitmap.h
  50. wx/bmpbuttn.h
  51. wx/bmpcbox.h
  52. wx/bookctrl.h
  53. wx/brush.h
  54. wx/buffer.h
  55. wx/build.h
  56. wx/busyinfo.h
  57. wx/button.h
  58. wx/cairo.h
  59. wx/calctrl.h
  60. wx/caret.h
  61. wx/chartype.h
  62. wx/checkbox.h
  63. wx/checkeddelete.h
  64. wx/checklst.h
  65. wx/chkconf.h
  66. wx/choicdlg.h
  67. wx/choice.h
  68. wx/choicebk.h
  69. wx/clipbrd.h
  70. wx/clntdata.h
  71. wx/clrpicker.h
  72. wx/cmdargs.h
  73. wx/cmdline.h
  74. wx/cmdproc.h
  75. wx/cmndata.h
  76. wx/collpane.h
  77. wx/colordlg.h
  78. wx/colour.h
  79. wx/combo.h
  80. wx/combobox.h
  81. wx/confbase.h
  82. wx/config.h
  83. wx/containr.h
  84. wx/control.h
  85. wx/convauto.h
  86. wx/cpp.h
  87. wx/crt.h
  88. wx/cshelp.h
  89. wx/ctrlsub.h
  90. wx/cursor.h
  91. wx/dataobj.h
  92. wx/dataview.h
  93. wx/datectrl.h
  94. wx/dateevt.h
  95. wx/datetime.h
  96. wx/datstrm.h
  97. wx/dc.h
  98. wx/dcbuffer.h
  99. wx/dcclient.h
  100. wx/dcgraph.h
  101. wx/dcmemory.h
  102. wx/dcmirror.h
  103. wx/dcprint.h
  104. wx/dcps.h
  105. wx/dcscreen.h
  106. wx/dcsvg.h
  107. wx/dde.h
  108. wx/debug.h
  109. wx/debugrpt.h
  110. wx/defs.h
  111. wx/dialog.h
  112. wx/dialup.h
  113. wx/dir.h
  114. wx/dirctrl.h
  115. wx/dirdlg.h
  116. wx/display.h
  117. wx/display_impl.h
  118. wx/dlimpexp.h
  119. wx/dlist.h
  120. wx/dnd.h
  121. wx/docmdi.h
  122. wx/docview.h
  123. wx/dragimag.h
  124. wx/dynarray.h
  125. wx/dynlib.h
  126. wx/dynload.h
  127. wx/editlbox.h
  128. wx/effects.h
  129. wx/encconv.h
  130. wx/encinfo.h
  131. wx/event.h
  132. wx/evtloop.h
  133. wx/except.h
  134. wx/fdrepdlg.h
  135. wx/features.h
  136. wx/ffile.h
  137. wx/file.h
  138. wx/fileconf.h
  139. wx/filectrl.h
  140. wx/filedlg.h
  141. wx/filefn.h
  142. wx/filename.h
  143. wx/filepicker.h
  144. wx/filesys.h
  145. wx/flags.h
  146. wx/fmappriv.h
  147. wx/font.h
  148. wx/fontdlg.h
  149. wx/fontenc.h
  150. wx/fontenum.h
  151. wx/fontmap.h
  152. wx/fontpicker.h
  153. wx/fontutil.h
  154. wx/frame.h
  155. wx/fs_arc.h
  156. wx/fs_filter.h
  157. wx/fs_inet.h
  158. wx/fs_mem.h
  159. wx/fs_zip.h
  160. wx/gauge.h
  161. wx/gbsizer.h
  162. wx/gdicmn.h
  163. wx/gdiobj.h
  164. wx/geometry.h
  165. wx/gifdecod.h
  166. wx/glcanvas.h
  167. wx/graphics.h
  168. wx/grid.h
  169. wx/hash.h
  170. wx/hashmap.h
  171. wx/hashset.h
  172. wx/headercol.h
  173. wx/headerctrl.h
  174. wx/help.h
  175. wx/helpbase.h
  176. wx/helphtml.h
  177. wx/helpwin.h
  178. wx/htmllbox.h
  179. wx/hyperlink.h
  180. wx/icon.h
  181. wx/iconbndl.h
  182. wx/iconloc.h
  183. wx/imagbmp.h
  184. wx/image.h
  185. wx/imaggif.h
  186. wx/imagiff.h
  187. wx/imagjpeg.h
  188. wx/imaglist.h
  189. wx/imagpcx.h
  190. wx/imagpng.h
  191. wx/imagpnm.h
  192. wx/imagtga.h
  193. wx/imagtiff.h
  194. wx/imagxpm.h
  195. wx/init.h
  196. wx/intl.h
  197. wx/iosfwrap.h
  198. wx/ioswrap.h
  199. wx/ipc.h
  200. wx/ipcbase.h
  201. wx/joystick.h
  202. wx/kbdstate.h
  203. wx/layout.h
  204. wx/laywin.h
  205. wx/link.h
  206. wx/list.h
  207. wx/listbase.h
  208. wx/listbook.h
  209. wx/listbox.h
  210. wx/listctrl.h
  211. wx/listimpl.cpp
  212. wx/log.h
  213. wx/longlong.h
  214. wx/math.h
  215. wx/matrix.h
  216. wx/mdi.h
  217. wx/mediactrl.h
  218. wx/memconf.h
  219. wx/memory.h
  220. wx/memtext.h
  221. wx/menu.h
  222. wx/menuitem.h
  223. wx/metafile.h
  224. wx/mimetype.h
  225. wx/minifram.h
  226. wx/module.h
  227. wx/mousestate.h
  228. wx/msgdlg.h
  229. wx/msgout.h
  230. wx/mstream.h
  231. wx/nativewin.h
  232. wx/nonownedwnd.h
  233. wx/notebook.h
  234. wx/notifmsg.h
  235. wx/numdlg.h
  236. wx/object.h
  237. wx/odcombo.h
  238. wx/overlay.h
  239. wx/ownerdrw.h
  240. wx/palette.h
  241. wx/panel.h
  242. wx/paper.h
  243. wx/pen.h
  244. wx/persist.h
  245. wx/pickerbase.h
  246. wx/platform.h
  247. wx/platinfo.h
  248. wx/popupwin.h
  249. wx/position.h
  250. wx/power.h
  251. wx/print.h
  252. wx/printdlg.h
  253. wx/prntbase.h
  254. wx/process.h
  255. wx/progdlg.h
  256. wx/propdlg.h
  257. wx/ptr_scpd.h
  258. wx/ptr_shrd.h
  259. wx/quantize.h
  260. wx/radiobox.h
  261. wx/radiobut.h
  262. wx/rawbmp.h
  263. wx/rearrangectrl.h
  264. wx/recguard.h
  265. wx/regex.h
  266. wx/region.h
  267. wx/renderer.h
  268. wx/sashwin.h
  269. wx/sckaddr.h
  270. wx/sckipc.h
  271. wx/sckstrm.h
  272. wx/scopedarray.h
  273. wx/scopedptr.h
  274. wx/scopeguard.h
  275. wx/scrolbar.h
  276. wx/scrolwin.h
  277. wx/selstore.h
  278. wx/settings.h
  279. wx/sharedptr.h
  280. wx/sizer.h
  281. wx/slider.h
  282. wx/snglinst.h
  283. wx/socket.h
  284. wx/sound.h
  285. wx/spinbutt.h
  286. wx/spinctrl.h
  287. wx/splash.h
  288. wx/splitter.h
  289. wx/srchctrl.h
  290. wx/sstream.h
  291. wx/stack.h
  292. wx/stackwalk.h
  293. wx/statbmp.h
  294. wx/statbox.h
  295. wx/statline.h
  296. wx/stattext.h
  297. wx/statusbr.h
  298. wx/stdpaths.h
  299. wx/stockitem.h
  300. wx/stopwatch.h
  301. wx/strconv.h
  302. wx/stream.h
  303. wx/string.h
  304. wx/stringimpl.h
  305. wx/stringops.h
  306. wx/strvararg.h
  307. wx/sysopt.h
  308. wx/tarstrm.h
  309. wx/taskbar.h
  310. wx/tbarbase.h
  311. wx/textbuf.h
  312. wx/textctrl.h
  313. wx/textdlg.h
  314. wx/textentry.h
  315. wx/textfile.h
  316. wx/tglbtn.h
  317. wx/thread.h
  318. wx/thrimpl.cpp
  319. wx/timer.h
  320. wx/tipdlg.h
  321. wx/tipwin.h
  322. wx/tls.h
  323. wx/tokenzr.h
  324. wx/toolbar.h
  325. wx/toolbook.h
  326. wx/tooltip.h
  327. wx/toplevel.h
  328. wx/tracker.h
  329. wx/treebase.h
  330. wx/treebook.h
  331. wx/treectrl.h
  332. wx/txtstrm.h
  333. wx/types.h
  334. wx/unichar.h
  335. wx/uri.h
  336. wx/url.h
  337. wx/ustring.h
  338. wx/utils.h
  339. wx/valgen.h
  340. wx/validate.h
  341. wx/valtext.h
  342. wx/variant.h
  343. wx/vector.h
  344. wx/version.h
  345. wx/vidmode.h
  346. wx/vlbox.h
  347. wx/vms_x_fix.h
  348. wx/volume.h
  349. wx/vscroll.h
  350. wx/weakref.h
  351. wx/wfstream.h
  352. wx/window.h
  353. wx/windowid.h
  354. wx/wizard.h
  355. wx/wrapsizer.h
  356. wx/wupdlock.h
  357. wx/wx.h
  358. wx/wxchar.h
  359. wx/wxcrt.h
  360. wx/wxcrtbase.h
  361. wx/wxcrtvararg.h
  362. wx/wxhtml.h
  363. wx/wxprec.h
  364. wx/xlocale.h
  365. wx/xpmdecod.h
  366. wx/xpmhand.h
  367. wx/xti.h
  368. wx/xtistrm.h
  369. wx/xtixml.h
  370. wx/zipstrm.h
  371. wx/zstream.h
  372. wx/aui/aui.h
  373. wx/aui/auibar.h
  374. wx/aui/auibook.h
  375. wx/aui/dockart.h
  376. wx/aui/floatpane.h
  377. wx/aui/framemanager.h
  378. wx/aui/tabmdi.h
  379. wx/generic/aboutdlgg.h
  380. wx/generic/accel.h
  381. wx/generic/animate.h
  382. wx/generic/bmpcbox.h
  383. wx/generic/busyinfo.h
  384. wx/generic/buttonbar.h
  385. wx/generic/calctrlg.h
  386. wx/generic/choicdgg.h
  387. wx/generic/clrpickerg.h
  388. wx/generic/collpaneg.h
  389. wx/generic/colrdlgg.h
  390. wx/generic/combo.h
  391. wx/generic/dataview.h
  392. wx/generic/datectrl.h
  393. wx/generic/dcpsg.h
  394. wx/generic/dirctrlg.h
  395. wx/generic/dragimgg.h
  396. wx/generic/filectrlg.h
  397. wx/generic/filepickerg.h
  398. wx/generic/fontpickerg.h
  399. wx/generic/grid.h
  400. wx/generic/gridctrl.h
  401. wx/generic/grideditors.h
  402. wx/generic/gridsel.h
  403. wx/generic/headerctrlg.h
  404. wx/generic/helpext.h
  405. wx/generic/hyperlink.h
  406. wx/generic/laywin.h
  407. wx/generic/logg.h
  408. wx/generic/msgdlgg.h
  409. wx/generic/notebook.h
  410. wx/generic/notifmsg.h
  411. wx/generic/numdlgg.h
  412. wx/generic/panelg.h
  413. wx/generic/printps.h
  414. wx/generic/prntdlgg.h
  415. wx/generic/progdlgg.h
  416. wx/generic/propdlg.h
  417. wx/generic/sashwin.h
  418. wx/generic/scrolwin.h
  419. wx/generic/spinctlg.h
  420. wx/generic/splash.h
  421. wx/generic/splitter.h
  422. wx/generic/srchctlg.h
  423. wx/generic/statbmpg.h
  424. wx/generic/stattextg.h
  425. wx/generic/textdlgg.h
  426. wx/generic/treectlg.h
  427. wx/generic/wizard.h
  428. wx/html/forcelnk.h
  429. wx/html/helpctrl.h
  430. wx/html/helpdata.h
  431. wx/html/helpdlg.h
  432. wx/html/helpfrm.h
  433. wx/html/helpwnd.h
  434. wx/html/htmlcell.h
  435. wx/html/htmldefs.h
  436. wx/html/htmlfilt.h
  437. wx/html/htmlpars.h
  438. wx/html/htmlproc.h
  439. wx/html/htmltag.h
  440. wx/html/htmlwin.h
  441. wx/html/htmprint.h
  442. wx/html/m_templ.h
  443. wx/html/winpars.h
  444. wx/meta/convertible.h
  445. wx/meta/if.h
  446. wx/meta/int2type.h
  447. wx/meta/movable.h
  448. wx/msw/accel.h
  449. wx/msw/amd64.manifest
  450. wx/msw/app.h
  451. wx/msw/apptbase.h
  452. wx/msw/apptrait.h
  453. wx/msw/bitmap.h
  454. wx/msw/blank.cur
  455. wx/msw/bmpbuttn.h
  456. wx/msw/bmpcbox.h
  457. wx/msw/brush.h
  458. wx/msw/bullseye.cur
  459. wx/msw/button.h
  460. wx/msw/calctrl.h
  461. wx/msw/caret.h
  462. wx/msw/cdrom.ico
  463. wx/msw/checkbox.h
  464. wx/msw/checklst.h
  465. wx/msw/child.ico
  466. wx/msw/chkconf.h
  467. wx/msw/choice.h
  468. wx/msw/clipbrd.h
  469. wx/msw/colordlg.h
  470. wx/msw/colour.h
  471. wx/msw/colours.bmp
  472. wx/msw/combo.h
  473. wx/msw/combobox.h
  474. wx/msw/computer.ico
  475. wx/msw/control.h
  476. wx/msw/crashrpt.h
  477. wx/msw/cross.cur
  478. wx/msw/csquery.bmp
  479. wx/msw/ctrlsub.h
  480. wx/msw/cursor.h
  481. wx/msw/datectrl.h
  482. wx/msw/dc.h
  483. wx/msw/dcclient.h
  484. wx/msw/dcmemory.h
  485. wx/msw/dcprint.h
  486. wx/msw/dcscreen.h
  487. wx/msw/dde.h
  488. wx/msw/debughlp.h
  489. wx/msw/dialog.h
  490. wx/msw/dib.h
  491. wx/msw/dirdlg.h
  492. wx/msw/dragimag.h
  493. wx/msw/drive.ico
  494. wx/msw/enhmeta.h
  495. wx/msw/evtloop.h
  496. wx/msw/fdrepdlg.h
  497. wx/msw/file1.ico
  498. wx/msw/filedlg.h
  499. wx/msw/floppy.ico
  500. wx/msw/folder1.ico
  501. wx/msw/folder2.ico
  502. wx/msw/font.h
  503. wx/msw/fontdlg.h
  504. wx/msw/frame.h
  505. wx/msw/gauge.h
  506. wx/msw/gccpriv.h
  507. wx/msw/gdiimage.h
  508. wx/msw/glcanvas.h
  509. wx/msw/hand.cur
  510. wx/msw/headerctrl.h
  511. wx/msw/helpbest.h
  512. wx/msw/helpchm.h
  513. wx/msw/helpwin.h
  514. wx/msw/htmlhelp.h
  515. wx/msw/ia64.manifest
  516. wx/msw/icon.h
  517. wx/msw/imaglist.h
  518. wx/msw/iniconf.h
  519. wx/msw/joystick.h
  520. wx/msw/libraries.h
  521. wx/msw/listbox.h
  522. wx/msw/listctrl.h
  523. wx/msw/magnif1.cur
  524. wx/msw/mdi.h
  525. wx/msw/mdi.ico
  526. wx/msw/menu.h
  527. wx/msw/menuitem.h
  528. wx/msw/metafile.h
  529. wx/msw/mimetype.h
  530. wx/msw/minifram.h
  531. wx/msw/missing.h
  532. wx/msw/msgdlg.h
  533. wx/msw/mslu.h
  534. wx/msw/msvcrt.h
  535. wx/msw/notebook.h
  536. wx/msw/notifmsg.h
  537. wx/msw/palette.h
  538. wx/msw/pbrush.cur
  539. wx/msw/pen.h
  540. wx/msw/pencil.cur
  541. wx/msw/pntleft.cur
  542. wx/msw/pntright.cur
  543. wx/msw/popupwin.h
  544. wx/msw/printdlg.h
  545. wx/msw/printwin.h
  546. wx/msw/private.h
  547. wx/msw/question.ico
  548. wx/msw/radiobox.h
  549. wx/msw/radiobut.h
  550. wx/msw/rcdefs.h
  551. wx/msw/regconf.h
  552. wx/msw/region.h
  553. wx/msw/registry.h
  554. wx/msw/removble.ico
  555. wx/msw/rightarr.cur
  556. wx/msw/roller.cur
  557. wx/msw/scrolbar.h
  558. wx/msw/seh.h
  559. wx/msw/setup0.h
  560. wx/msw/slider.h
  561. wx/msw/sound.h
  562. wx/msw/spinbutt.h
  563. wx/msw/spinctrl.h
  564. wx/msw/stackwalk.h
  565. wx/msw/statbmp.h
  566. wx/msw/statbox.h
  567. wx/msw/statline.h
  568. wx/msw/stattext.h
  569. wx/msw/statusbar.h
  570. wx/msw/std.ico
  571. wx/msw/stdpaths.h
  572. wx/msw/taskbar.h
  573. wx/msw/textctrl.h
  574. wx/msw/textentry.h
  575. wx/msw/tglbtn.h
  576. wx/msw/toolbar.h
  577. wx/msw/tooltip.h
  578. wx/msw/toplevel.h
  579. wx/msw/treectrl.h
  580. wx/msw/uxtheme.h
  581. wx/msw/uxthemep.h
  582. wx/msw/window.h
  583. wx/msw/winundef.h
  584. wx/msw/wrapcctl.h
  585. wx/msw/wrapcdlg.h
  586. wx/msw/wrapwin.h
  587. wx/msw/wx.manifest
  588. wx/msw/wx.rc
  589. wx/msw/ole/access.h
  590. wx/msw/ole/activex.h
  591. wx/msw/ole/automtn.h
  592. wx/msw/ole/dataform.h
  593. wx/msw/ole/dataobj.h
  594. wx/msw/ole/dataobj2.h
  595. wx/msw/ole/dropsrc.h
  596. wx/msw/ole/droptgt.h
  597. wx/msw/ole/oleutils.h
  598. wx/msw/ole/uuid.h
  599. wx/persist/bookctrl.h
  600. wx/persist/toplevel.h
  601. wx/persist/treebook.h
  602. wx/persist/window.h
  603. wx/propgrid/advprops.h
  604. wx/propgrid/editors.h
  605. wx/propgrid/manager.h
  606. wx/propgrid/property.h
  607. wx/propgrid/propgrid.h
  608. wx/propgrid/propgriddefs.h
  609. wx/propgrid/propgridiface.h
  610. wx/propgrid/propgridpagestate.h
  611. wx/propgrid/props.h
  612. wx/protocol/file.h
  613. wx/protocol/ftp.h
  614. wx/protocol/http.h
  615. wx/protocol/log.h
  616. wx/protocol/protocol.h
  617. wx/richtext/richtextbuffer.h
  618. wx/richtext/richtextctrl.h
  619. wx/richtext/richtextformatdlg.h
  620. wx/richtext/richtexthtml.h
  621. wx/richtext/richtextprint.h
  622. wx/richtext/richtextstyledlg.h
  623. wx/richtext/richtextstyles.h
  624. wx/richtext/richtextsymboldlg.h
  625. wx/richtext/richtextxml.h
  626. wx/stc/stc.h
  627. wx/xml/xml.h
  628. wx/xrc/xh_all.h
  629. wx/xrc/xh_animatctrl.h
  630. wx/xrc/xh_bmp.h
  631. wx/xrc/xh_bmpbt.h
  632. wx/xrc/xh_bmpcbox.h
  633. wx/xrc/xh_bttn.h
  634. wx/xrc/xh_cald.h
  635. wx/xrc/xh_chckb.h
  636. wx/xrc/xh_chckl.h
  637. wx/xrc/xh_choic.h
  638. wx/xrc/xh_choicbk.h
  639. wx/xrc/xh_clrpicker.h
  640. wx/xrc/xh_collpane.h
  641. wx/xrc/xh_combo.h
  642. wx/xrc/xh_comboctrl.h
  643. wx/xrc/xh_datectrl.h
  644. wx/xrc/xh_dirpicker.h
  645. wx/xrc/xh_dlg.h
  646. wx/xrc/xh_filepicker.h
  647. wx/xrc/xh_fontpicker.h
  648. wx/xrc/xh_frame.h
  649. wx/xrc/xh_gauge.h
  650. wx/xrc/xh_gdctl.h
  651. wx/xrc/xh_grid.h
  652. wx/xrc/xh_html.h
  653. wx/xrc/xh_htmllbox.h
  654. wx/xrc/xh_hyperlink.h
  655. wx/xrc/xh_listb.h
  656. wx/xrc/xh_listbk.h
  657. wx/xrc/xh_listc.h
  658. wx/xrc/xh_mdi.h
  659. wx/xrc/xh_menu.h
  660. wx/xrc/xh_notbk.h
  661. wx/xrc/xh_odcombo.h
  662. wx/xrc/xh_panel.h
  663. wx/xrc/xh_propdlg.h
  664. wx/xrc/xh_radbt.h
  665. wx/xrc/xh_radbx.h
  666. wx/xrc/xh_scrol.h
  667. wx/xrc/xh_scwin.h
  668. wx/xrc/xh_sizer.h
  669. wx/xrc/xh_slidr.h
  670. wx/xrc/xh_spin.h
  671. wx/xrc/xh_split.h
  672. wx/xrc/xh_srchctrl.h
  673. wx/xrc/xh_statbar.h
  674. wx/xrc/xh_stbmp.h
  675. wx/xrc/xh_stbox.h
  676. wx/xrc/xh_stlin.h
  677. wx/xrc/xh_sttxt.h
  678. wx/xrc/xh_text.h
  679. wx/xrc/xh_tglbtn.h
  680. wx/xrc/xh_toolb.h
  681. wx/xrc/xh_tree.h
  682. wx/xrc/xh_treebk.h
  683. wx/xrc/xh_unkwn.h
  684. wx/xrc/xh_wizrd.h
  685. wx/xrc/xmlres.h
  686. "
  687. HEADERS2_INSTALL="
  688. wx/setup.h
  689. wx/msw/rcdefs.h
  690. "
  691. HEADERS_DIRS="aui generic html meta msw/ole msw persist propgrid protocol richtext stc xml xrc"
  692. # pkg-config .pc files to install
  693. PKG_CONFIG_INSTALL=""
  694. # Additional DIFF Flags for generating diff file
  695. DIFF_FLAGS=
  696. # load common functions
  697. source ../gcc44_common.sh
  698. # Directory the lib is built in (set this *after* loading gcc44_common.sh)
  699. BUILDDIR=".build_${BUILD_TARGET}_${FULLPKG}_gcc${GCC_VERSION}${GCC_SYSTEM}"
  700. # == override resp. specify build actions ==
  701. # wxwidgets' configrue script does not honour CPP and CXXLIBS,
  702. # so specify them explicitly when calling make
  703. MAKE_XTRA="CXXLIBS=$CXXLIBS CPP=$CPP"
  704. conf()
  705. {
  706. conf_pre;
  707. ( cd ${BUILDDIR} && ${TOPDIR}/${SRCDIR}/configure \
  708. --srcdir=${TOPDIR}/${SRCDIR} \
  709. CC=$CC \
  710. CXX=$CXX \
  711. F77=$F77 \
  712. CPP=$CPP \
  713. AR=$AR \
  714. RANLIB=$RANLIB \
  715. RC=$RC \
  716. STRIP=$STRIP \
  717. LD=$LD \
  718. CFLAGS="$CFLAGS ${GCC_ARCH_FLAGS} ${GCC_OPT_FLAGS} -Wall" \
  719. CXXFLAGS="$CXXFLAGS ${GCC_ARCH_FLAGS} ${GCC_OPT_FLAGS} -Wall" \
  720. CPPFLAGS="$CPPFLAGS" \
  721. LDFLAGS="${LDFLAGS} -Wl,--allow-multiple-definition" \
  722. CXXLIBS="${CXXLIBS}" \
  723. --prefix=${PREFIX} \
  724. --enable-monolithic \
  725. --enable-shared
  726. )
  727. touch ${BUILDDIR}/have_configure
  728. conf_post;
  729. }
  730. install()
  731. {
  732. install_pre;
  733. # Install library, import library and static library
  734. ${CP} ${CP_FLAGS} ${BUILDDIR}/lib/wxmsw290u_gcc_custom.dll ${SHAREDLIB_PATH}
  735. ${CP} ${CP_FLAGS} ${BUILDDIR}/lib/libwx_mswu-2.9.dll.a ${LIBRARY_PATH}
  736. # ${CP} ${CP_FLAGS} ${BUILDDIR}/libglob.a ${STATICLIB_PATH}
  737. # Install pkg-config .pc files
  738. for a in $PKG_CONFIG_INSTALL; do
  739. ${CP} ${CP_FLAGS} ${BUILDDIR}/$a ${PKGCONFIGDATA_PATH}
  740. done
  741. # Install headers
  742. for a in $HEADERS_DIRS; do
  743. mkdir -vp ${INCLUDE_PATH}/wx/$a
  744. done
  745. for a in $HEADERS_INSTALL; do
  746. ${CP} ${CP_FLAGS} ${SRCDIR}/include/$a ${INCLUDE_PATH}/$a
  747. done
  748. for a in $HEADERS2_INSTALL; do
  749. ${CP} ${CP_FLAGS} ${BUILDDIR}/lib/wx/include/msw-unicode-release-2.9/$a ${INCLUDE_PATH}/`basename $a`
  750. done
  751. mkdir ${LIBRARY_PATH}/wx
  752. mkdir ${LIBRARY_PATH}/wx/config
  753. ${CP} ${CP_FLAGS} ${BUILDDIR}/lib/wx/config/msw-unicode-release-2.9 ${LIBRARY_PATH}/wx/config
  754. # Install various tools
  755. ${CP} ${CP_FLAGS} ${BUILDDIR}/wx-config ${BINARY_PATH}
  756. #${CP} ${CP_FLAGS} ${BUILDDIR}/utils/wxrc.exe ${BINARY_PATH}
  757. # Install license file
  758. ${CP} ${CP_FLAGS} ${SRCDIR}/docs/licence.txt ${LICENSE_PATH}/${PKG}
  759. ${CP} ${CP_FLAGS} ${SRCDIR}/docs/gpl.txt ${LICENSE_PATH}/${PKG}
  760. ${CP} ${CP_FLAGS} ${SRCDIR}/docs/lgpl.txt ${LICENSE_PATH}/${PKG}
  761. install_post;
  762. }
  763. uninstall()
  764. {
  765. uninstall_pre;
  766. # Install library, import library and static library
  767. ${RM} ${RM_FLAGS} ${SHAREDLIB_PATH}/wxmsw290u_gcc_custom.dll
  768. ${RM} ${RM_FLAGS} ${LIBRARY_PATH}/libwx_mswu-2.9.dll.a
  769. #${RM} ${RM_FLAGS} ${STATICLIB_PATH}/libglob.a
  770. # Uninstall headers
  771. for a in $HEADERS_INSTALL; do
  772. ${RM} ${RM_FLAGS} ${INCLUDE_PATH}/$a
  773. done
  774. for a in $HEADERS2_INSTALL; do
  775. ${RM} ${RM_FLAGS} ${INCLUDE_PATH}/`basename $a`
  776. done
  777. for a in $HEADERS_DIRS; do
  778. rmdir --ignore-fail-on-non-empty ${INCLUDE_PATH}/wx/$a
  779. done
  780. rmdir --ignore-fail-on-non-empty ${INCLUDE_PATH}/wx
  781. ${RM} ${RM_FLAGS} ${LIBRARY_PATH}/wx/config/msw-unicode-release-2.9
  782. rmdir --ignore-fail-on-non-empty ${LIBRARY_PATH}/wx/config
  783. rmdir --ignore-fail-on-non-empty ${LIBRARY_PATH}/wx
  784. # Uninstall pkg-config .pc files
  785. for a in $PKG_CONFIG_INSTALL; do
  786. ${RM} ${RM_FLAGS} ${PKGCONFIGDATA_PATH}/$a
  787. done
  788. # uninstall tools
  789. ${RM} ${RM_FLAGS} ${BINARY_PATH}/wx-config
  790. #${RM} ${RM_FLAGS} ${BINARY_PATH}/wxrc.exe
  791. # Uninstall license file
  792. ${RM} ${RM_FLAGS} ${LICENSE_PATH}/${PKG}/licence.txt
  793. ${RM} ${RM_FLAGS} ${LICENSE_PATH}/${PKG}/gpl.txt
  794. ${RM} ${RM_FLAGS} ${LICENSE_PATH}/${PKG}/lgpl.txt
  795. uninstall_post;
  796. }
  797. all() {
  798. download
  799. unpack
  800. applypatch
  801. mkdirs
  802. conf
  803. build
  804. install
  805. }
  806. main $*