From e5398809bcfd50b8c357762bebb440c0c401b101 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Tue, 5 Aug 2008 11:55:21 +0000 Subject: [PATCH] custom info.plist with supported document types git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/docview/Info.plist | 87 ++++++++++++++++++++++++++++++++++ samples/docview/Info.plist.in | 87 ++++++++++++++++++++++++++++++++++ samples/docview/Makefile.in | 15 ++++-- samples/docview/chart.icns | Bin 0 -> 36192 bytes samples/docview/doc.icns | Bin 0 -> 36804 bytes samples/docview/docview.bkl | 3 ++ samples/docview/notepad.icns | Bin 0 -> 9358 bytes 7 files changed, 189 insertions(+), 3 deletions(-) create mode 100755 samples/docview/Info.plist create mode 100644 samples/docview/Info.plist.in create mode 100644 samples/docview/chart.icns create mode 100644 samples/docview/doc.icns create mode 100644 samples/docview/notepad.icns diff --git a/samples/docview/Info.plist b/samples/docview/Info.plist new file mode 100755 index 0000000000..9bf4d70624 --- /dev/null +++ b/samples/docview/Info.plist @@ -0,0 +1,87 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleDocumentTypes + + + CFBundleTypeExtensions + + drw + + CFBundleTypeIconFile + chart.icns + CFBundleTypeName + DocView Drawing + CFBundleTypeOSTypes + + WXMB + + CFBundleTypeRole + Editor + LSTypeIsPackage + + NSPersistentStoreTypeKey + Binary + + + CFBundleTypeExtensions + + txt + text + + CFBundleTypeIconFile + notepad.icns + CFBundleTypeName + DocView Text + CFBundleTypeOSTypes + + TEXT + + CFBundleTypeRole + Editor + LSTypeIsPackage + + NSPersistentStoreTypeKey + Binary + + + CFBundleExecutable + $(PRODUCT_NAME) + CFBundleGetInfoString + $(PRODUCT_NAME) version 2.9.0, (c) 2005-2008 wxWidgets + CFBundleIconFile + doc + CFBundleIdentifier + org.wxwidgets.samples.$(PRODUCT_NAME) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleLocalizations + + de + en + fr + it + + CFBundleLongVersionString + 2.9.0, (c) 2005-2008 wxWidgets + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + APPL + CFBundleShortVersionString + 2.9.0 + CFBundleSignature + WXMA + CFBundleVersion + 2.9.0 + CSResourcesFileMapped + + LSRequiresCarbon + + NSHumanReadableCopyright + Copyright 2005-2008 wxWidgets + + diff --git a/samples/docview/Info.plist.in b/samples/docview/Info.plist.in new file mode 100644 index 0000000000..95180eada6 --- /dev/null +++ b/samples/docview/Info.plist.in @@ -0,0 +1,87 @@ + + + + + CFBundleInfoDictionaryVersion + 6.0 + CFBundleIdentifier + org.wxwindows.IDENTIFIER + CFBundleDevelopmentRegion + English + CFBundleLocalizations + + de + en + fr + it + + CFBundleDocumentTypes + + + CFBundleTypeExtensions + + drw + + CFBundleTypeIconFile + chart.icns + CFBundleTypeName + DocView Drawing + CFBundleTypeOSTypes + + WXMB + + CFBundleTypeRole + Editor + LSTypeIsPackage + + NSPersistentStoreTypeKey + Binary + + + CFBundleTypeExtensions + + txt + text + + CFBundleTypeIconFile + notepad.icns + CFBundleTypeName + DocView Text + CFBundleTypeOSTypes + + TEXT + + CFBundleTypeRole + Editor + LSTypeIsPackage + + NSPersistentStoreTypeKey + Binary + + + CFBundleExecutable + EXECUTABLE + CFBundleIconFile + doc.icns + CFBundleName + EXECUTABLE + CFBundlePackageType + APPL + CFBundleSignature + WXMA + CFBundleVersion + VERSION + CFBundleShortVersionString + VERSION + CFBundleGetInfoString + EXECUTABLE version VERSION, (c) 2002-2008 wxWidgets + CFBundleLongVersionString + VERSION, (c) 2002-2008 wxWidgets + NSHumanReadableCopyright + Copyright 2002-2008 wxWidgets + LSRequiresCarbon + + CSResourcesFileMapped + + + diff --git a/samples/docview/Makefile.in b/samples/docview/Makefile.in index 80f89472c5..8be62dac88 100644 --- a/samples/docview/Makefile.in +++ b/samples/docview/Makefile.in @@ -163,7 +163,7 @@ docview$(EXEEXT): $(DOCVIEW_OBJECTS) $(__docview___win32rc) $(__docview___os2_emxbindcmd) $(SAMPLES_RPATH_POSTLINK) -@COND_PLATFORM_MACOSX_1@docview.app/Contents/PkgInfo: docview$(EXEEXT) $(top_srcdir)/src/osx/carbon/Info.plist.in $(top_srcdir)/src/osx/carbon/wxmac.icns +@COND_PLATFORM_MACOSX_1@docview.app/Contents/PkgInfo: docview$(EXEEXT) $(srcdir)/Info.plist.in $(srcdir)/chart.icns $(srcdir)/doc.icns $(srcdir)/notepad.icns @COND_PLATFORM_MACOSX_1@ mkdir -p docview.app/Contents @COND_PLATFORM_MACOSX_1@ mkdir -p docview.app/Contents/MacOS @COND_PLATFORM_MACOSX_1@ mkdir -p docview.app/Contents/Resources @@ -172,7 +172,7 @@ docview$(EXEEXT): $(DOCVIEW_OBJECTS) $(__docview___win32rc) @COND_PLATFORM_MACOSX_1@ sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \ @COND_PLATFORM_MACOSX_1@ -e "s/EXECUTABLE/docview/" \ @COND_PLATFORM_MACOSX_1@ -e "s/VERSION/$(WX_VERSION)/" \ -@COND_PLATFORM_MACOSX_1@ $(top_srcdir)/src/osx/carbon/Info.plist.in >docview.app/Contents/Info.plist +@COND_PLATFORM_MACOSX_1@ $(srcdir)/Info.plist.in >docview.app/Contents/Info.plist @COND_PLATFORM_MACOSX_1@ @COND_PLATFORM_MACOSX_1@ @COND_PLATFORM_MACOSX_1@ echo -n "APPL????" >docview.app/Contents/PkgInfo @@ -181,7 +181,7 @@ docview$(EXEEXT): $(DOCVIEW_OBJECTS) $(__docview___win32rc) @COND_PLATFORM_MACOSX_1@ ln -f docview$(EXEEXT) docview.app/Contents/MacOS/docview @COND_PLATFORM_MACOSX_1@ @COND_PLATFORM_MACOSX_1@ -@COND_PLATFORM_MACOSX_1@ cp -f $(top_srcdir)/src/osx/carbon/wxmac.icns docview.app/Contents/Resources/wxmac.icns +@COND_PLATFORM_MACOSX_1@ cp -f $(srcdir)/chart.icns $(srcdir)/doc.icns $(srcdir)/notepad.icns docview.app/Contents/Resources @COND_PLATFORM_MACOSX_1@docview_bundle: $(____docview_BUNDLE_TGT_REF_DEP) @@ -198,6 +198,15 @@ docview_docview_rc.o: $(srcdir)/docview.rc $(WINDRES) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_2) $(__EXCEPTIONS_DEFINE_p_2) $(__RTTI_DEFINE_p_2) $(__THREAD_DEFINE_p_2) --include-dir $(srcdir) $(__DLLFLAG_p_2) --include-dir $(srcdir)/../../samples $(__RCDEFDIR_p_1) --include-dir $(top_srcdir)/include +$(srcdir)/include/wx/stc/stc.h: \ +$(srcdir)/src/stc/scintilla/include/Scintilla.iface \ +$(srcdir)/src/stc/stc.cpp.in \ +$(srcdir)/src/stc/stc.h.in \ +$(srcdir)/src/stc/gen_iface.py + cd $(srcdir)/src/stc && ./gen_iface.py +monolib_stc.o monodll_stc.o stcdll_stc.o stclib_stc.o: \ +$(srcdir)/include/wx/stc/stc.h + # Include dependency info, if present: @IF_GNU_MAKE@-include .deps/*.d diff --git a/samples/docview/chart.icns b/samples/docview/chart.icns new file mode 100644 index 0000000000000000000000000000000000000000..3624c0cde7c0662a23276c0f653366895055889b GIT binary patch literal 36192 zcmeHPeQX@X6`!+nbs#xg{6Vo=kPQx1i`5Ex1)-`qR;dtBwNMF1s!)WZh%^>St146| zI#ul1KKt@v5}+X_kVK6DfgAdP)S|RH^$4wqB^yPNqN0WnH&vpRiZuMuTTM~?%tl$xB7=07#r!m=g#kTFqT@(a4qM&d}~inH}&m| zb+_M!_k(!<&gs5>eYv~+Sh>67^{MWT$2q_L{hproKcb&vsrDDjsrFvHm;EW#ena_| z_GO1|S^oFITiCMlhwR2fzhO7L`D1qDy&tk0{*3-j;46DrJ4=Z-j4}5jyD{G!a*jEF`LbrIM8gb z$0zn}Yy9{c0~hQy7~ty5W(^-;FPrszJOR8hz;DcYKDLm5*|Ql&`f&-oQQ#9AXVrLd z4FjJ`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ZO+=45zqlyV8F)T#-Advz-gz=+5EHlXY;>u8eligV#<>=rjCK6aAu%s& zKbZ)`41Z$vIcq;&1d>^Od;i6YesZ4=t^Ifru=$@%1mZ>C=6^ELxBIWnzjzU_`Ik%t f;zi%?f5}AO?teD_;zhvbUosJh7kw+0R0RGDf71vO literal 0 HcmV?d00001 diff --git a/samples/docview/doc.icns b/samples/docview/doc.icns new file mode 100644 index 0000000000000000000000000000000000000000..7cda58e0b343c4eac9b03002ef53dd6aee2871f8 GIT binary patch literal 36804 zcmeHOJ!~Au6@Da7)=4=*vJ*M(MA!yWTnZvd;Q#@`I4R^5fhqz4(y0*F#+t zBk4+Y?$P5aX#7;J&h4@}y#~gc6YJ~)BwhWksPL0{$R9&rSp>Z>CwB3iT|7g_JUr>; z>O58c`#Y$DvLbeAMI7*FPQ;&cpbPr6;V1Y!qjTaJ9mj{u^2N(PK~4&XAf510>x4x~ zYLViBq!N5++-cXOz8#uddCj@h$Id8&7f&CFr((AT{bQmW_Cjz5Y>#|$*gq8l12NkE zf$|6IM~E=mK8O!%M6l%F>6rO#??|4l@l&I1)eWvuYMmYVkPP!X30{H^v#=lqv~y@4)D>+7)|zUvA9M*DPQNHqU;eP6}5JCEDj z8;{n9`J+9i#$bR-aD|rYC+Oc{{rAHBrGM!-0JIqYiTpWz6b@00|5W}8oWlGY`A6vI z#Gj|z(D4}z`mr9k$N;LA_-KCVi_ezxD3# z$NGgx?v`d{tgog@ak{}!y-f*O)P5p;M&ro8(`O-|@XykQ*i^`eyD!I8;49MB*C^V2&-pZxYK(CLET5s??yyGFetB^mW`D8=qkuleXi$O9C! zek|o-&2#p#oOh^Y!92o2OXX_7j{6Azm{-rZbvq{cC?Mj-lGhU6LqC~v!+VEnT@|;M zln43P<)-&G!H;>8A)RK+A5!fJn?xr&Df`nx>^zc(D7&Ql$&yP4L8aTL+TZPL9D@ELe{>544)r{<8+-#G4Rb}qY?9Iu4j zj(?|P_uoyNkjb==KhDFLtWkj5Q$`f>2P$uK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ejj{&4{Md;)jfKoA1v|e1w(0%C92osMKabO^!qRXAGGK10@Qnm z-ovdOmM>NImiP`2=^X?GKG2W%c&+;Wt4zm3@|n2j|1J7>{@23un~kqfPfpzt|Mpwb zUw*3Tw?#8*RW^4MJ#R(vhI0xL-Fn)RmbgZ(#wIRq@C43gZqw58yfHJGuB0Vy(%n=} z<4C8Qe>ysktk<|jo0eWZA5A)^=}LGso4EJevLG_PX1aYzM{kK1ddKhimi0ZKj#lNl ziQVERP#?`T{Y}ksd``{!EugST&0w6p#$8GAtRGMFwb=Ak>-?059&kMFtBo3G-@GSx z*|`3@_*WzOQM>f5c(WF6x7K%-VS9HtBg5Y%;yF4k$+Y(4;czGa(w{iAmyY12I z(ev4pvwtf%dWej_Cui^QN3VC&*^h_+mY`5_yLG&8yWP6nzqE({HEr(Q)82K`Ysm0j zb6VPTp3{}sci?fP)6G8}J$n~@UYc}H)0JfJyob?Dw=e1F!*|VTX;q$Xw=RFTeox-Q zELQnc+!cqwkw!o}37V8VR6i#TsHv z_#+XR0Nv3|M@BDx$c?02{E-M4coofzjPAz2XvhtJ4*!t|7iq&>Qu|D}Si zId}Nm5zrtim9$59^S@NkHRle0I|3R+rIPmOZvK}Fy5`*BZ%06bs8rG(-Oc|}LD!r+ z{Ot&65S2>Wqr3TED(ISXhrb;G4Wd#>dvrJdO9fqX?(nxGpg~kBX^-yaf2p8r&K>@C z1T=_BCGFAO{4W)B&AG$hj(`SHsiZx+oBySPt~q!3+Y!(pDwVWHck{ng&^6~%z&|Ub zA=gqYnl$2MF+~T}{AGnS + $(SRCDIR)/Info.plist.in + $(SRCDIR)/chart.icns $(SRCDIR)/doc.icns $(SRCDIR)/notepad.icns + diff --git a/samples/docview/notepad.icns b/samples/docview/notepad.icns new file mode 100644 index 0000000000000000000000000000000000000000..69ea4a378ffd5046888055b9f64f83c469f9f1da GIT binary patch literal 9358 zcmeHN&u<$=6n?Rt$O(?3Adt8bsX2hmg~EZOt6tIz>M7?+xzwWKk^=`zWD}bLEi|Q4 z5ki$(de4O;(n|gV?8<*YoJ1TdE>Uu6)?Oufd~f!LXV){XojM?dC*#@oS?~TzHlb# zkCH#o`+PiX{;7D4sD%Bg9hSog_y$+3gU^U^7g`4w3hNW;HOb+5o?rBQt@RQBXnJSJ zef|U4yvsIQ+?Aa$&~S>ud?#mZM?W< zR$lW|$SmfujB_hD(SCUK@jK|EEG42jq9v&KmLDC}A{q7^NfG?I{< zk4^&y@e$1sm5A`(kmU~WSI#>z5A1Q@EN|2l5BkC$6!gvRAN_?`N8X>x6yr-;KFil~ z%S4MGJby&=*6PkjVedD(WIle+A=+R*?Q74KSh5$>~KXbFCs-Ns|K$C-({aS(xIJ`q&5 zk>k8yaWr+mgdFREk5l6^+oRMZPn}1%A4JN4br?Z#)p(*EU~uj6TkJ%K(H;@k!x*oT z|LY>2L)duE;s@maT;%QFSB)+hXGHBQusinrF2sc3_3taOa|5)9t#r{>jV8cjh@eQ! z`Iz}lBmpmC_6IPMg!tqxJ20vw@g2l=J=oBN`*wIS{1N#RyVxjbKSyX8ncphG8GCCI3`d{u3{FaD+(O5n{bSby#pt7o6HPo9z}( z9SX21M{}3tps&zux8nmpbb!9A?2UG_1znX8x2x;zX0vxn72;GLI6_GMFGuJ-p%Ya@ zwb*&p>6~;t7*#pJ&baG$d|D0l5Etu3?6Soc`MvIH*T*h0($jeC%2%aF=zryPU_b{O zzUYIm;}>oI)vy>gu2JatT3(k|h^gOy;+Z|(lll$MzS!B@QFX7%vwL;Nb)2UTKdCao xOStA>bn2T*&O(0bI2qOf(hJtQGC~0WHH}c#y2cCsC-lQJo@67_h50kg&EJhwm1F<_ literal 0 HcmV?d00001 -- 2.45.2