diff --git a/lang/processing/Makefile b/lang/processing/Makefile index f744d35ba0b..31d1362bee6 100644 --- a/lang/processing/Makefile +++ b/lang/processing/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2011/06/24 21:12:52 jasper Exp $ +# $OpenBSD: Makefile,v 1.3 2011/07/03 21:49:30 jasper Exp $ SHARED_ONLY= Yes @@ -7,7 +7,7 @@ COMMENT= language/IDE for images, animations and interactions V= 1.5.1 DISTNAME= processing-$V-linux PKGNAME= ${DISTNAME:S/-linux//} -REVISION= 0 +REVISION= 1 CATEGORIES= lang graphics java @@ -25,6 +25,8 @@ PERMIT_DISTFILES_FTP= Yes MASTER_SITES= http://processing.googlecode.com/files/ EXTRACT_SUFX= .tgz +RUN_DEPENDS= devel/desktop-file-utils + MODULES= java MODJAVA_VER= 1.6+ @@ -46,5 +48,9 @@ do-install: ln -s ${JAVA_HOME} ${PROCESSING_HOME}/java rm -f ${PROCESSING_HOME}/processing.{beforesubst,orig} mv ${PROCESSING_HOME}/processing ${PREFIX}/bin + ${INSTALL_DATA_DIR} ${PREFIX}/share/applications/ ${PREFIX}/share/pixmaps/ + ${INSTALL_DATA} ${FILESDIR}/processing.desktop \ + ${PREFIX}/share/applications/ + ${INSTALL_DATA} ${FILESDIR}/processing-48.xpm ${PREFIX}/share/pixmaps/ .include diff --git a/lang/processing/files/processing-48.xpm b/lang/processing/files/processing-48.xpm new file mode 100644 index 00000000000..e6a6940e29d --- /dev/null +++ b/lang/processing/files/processing-48.xpm @@ -0,0 +1,236 @@ +/* XPM */ +static char * processing_48_xpm[] = { +"48 48 185 2", +" c None", +". c #666666", +"+ c #7B7B7B", +"@ c #868686", +"# c #878787", +"$ c #7E7E7E", +"% c #939393", +"& c #898989", +"* c #888888", +"= c #858585", +"- c #989898", +"; c #838383", +"> c #757575", +", c #8B8B8B", +"' c #828282", +") c #8F8F8F", +"! c #9B9B9B", +"~ c #909090", +"{ c #A3A3A3", +"] c #969696", +"^ c #8A8A8A", +"/ c #8C8C8C", +"( c #7D7D7D", +"_ c #5E5E5E", +": c #4F4F4F", +"< c #737373", +"[ c #9C9C9C", +"} c #AFAFAF", +"| c #AAAAAA", +"1 c #ADADAD", +"2 c #CACACA", +"3 c #A9A9A9", +"4 c #ACACAC", +"5 c #BEBEBE", +"6 c #A7A7A7", +"7 c #B6B6B6", +"8 c #B7B7B7", +"9 c #A4A4A4", +"0 c #ABABAB", +"a c #AEAEAE", +"b c #B1B1B1", +"c c #BDBDBD", +"d c #D7D7D7", +"e c #E0E0E0", +"f c #C1C1C1", +"g c #C3C3C3", +"h c #B9B9B9", +"i c #C2C2C2", +"j c #C5C5C5", +"k c #4E4E4E", +"l c #6F6F6F", +"m c #797979", +"n c #979797", +"o c #A5A5A5", +"p c #BBBBBB", +"q c #DADADA", +"r c #B5B5B5", +"s c #B3B3B3", +"t c #9F9F9F", +"u c #CDCDCD", +"v c #8E8E8E", +"w c #9E9E9E", +"x c #D2D2D2", +"y c #BABABA", +"z c #D3D3D3", +"A c #DEDEDE", +"B c #6A6A6A", +"C c #6E6E6E", +"D c #777777", +"E c #959595", +"F c #949494", +"G c #A2A2A2", +"H c #BFBFBF", +"I c #CBCBCB", +"J c #B0B0B0", +"K c #E3E3E3", +"L c #A1A1A1", +"M c #B4B4B4", +"N c #A8A8A8", +"O c #A6A6A6", +"P c #BCBCBC", +"Q c #4D4D4D", +"R c #717171", +"S c #6D6D6D", +"T c #9A9A9A", +"U c #C4C4C4", +"V c #B2B2B2", +"W c #999999", +"X c #A0A0A0", +"Y c #555555", +"Z c #707070", +"` c #696969", +" . c #767676", +".. c #929292", +"+. c #C6C6C6", +"@. c #919191", +"#. c #C8C8C8", +"$. c #9D9D9D", +"%. c #535353", +"&. c #D0D0D0", +"*. c #C0C0C0", +"=. c #727272", +"-. c #D1D1D1", +";. c #C9C9C9", +">. c #656565", +",. c #242424", +"'. c #292929", +"). c #7A7A7A", +"!. c #6B6B6B", +"~. c #787878", +"{. c #848484", +"]. c #8D8D8D", +"^. c #646464", +"/. c #3D3D3D", +"(. c #2D2D2D", +"_. c #4C4C4C", +":. c #6C6C6C", +"<. c #818181", +"[. c #373737", +"}. c #565656", +"|. c #686868", +"1. c #B8B8B8", +"2. c #676767", +"3. c #5B5B5B", +"4. c #636363", +"5. c #808080", +"6. c #626262", +"7. c #616161", +"8. c #7C7C7C", +"9. c #5D5D5D", +"0. c #5F5F5F", +"a. c #606060", +"b. c #D9D9D9", +"c. c #5C5C5C", +"d. c #343434", +"e. c #171717", +"f. c #525252", +"g. c #404040", +"h. c #1B1B1B", +"i. c #030303", +"j. c #020202", +"k. c #282828", +"l. c #2B2B2B", +"m. c #090909", +"n. c #080808", +"o. c #040404", +"p. c #070707", +"q. c #1C1C1C", +"r. c #474747", +"s. c #191919", +"t. c #515151", +"u. c #575757", +"v. c #232323", +"w. c #060606", +"x. c #010101", +"y. c #2F2F2F", +"z. c #0A0A0A", +"A. c #222222", +"B. c #393939", +"C. c #3B3B3B", +"D. c #262626", +"E. c #0B0B0B", +"F. c #050505", +"G. c #101010", +"H. c #505050", +"I. c #353535", +"J. c #595959", +"K. c #747474", +"L. c #000000", +"M. c #1E1E1E", +"N. c #181818", +"O. c #383838", +"P. c #313131", +"Q. c #3F3F3F", +"R. c #494949", +"S. c #121212", +"T. c #0C0C0C", +"U. c #272727", +"V. c #333333", +"W. c #4B4B4B", +"X. c #444444", +"Y. c #141414", +"Z. c #111111", +"`. c #131313", +" + c #2A2A2A", +" ", +" ", +" ", +" ", +" . + @ # $ @ % & * & = - ; > , ' ) ! = $ @ @ ~ { ! , ] @ & ^ / ( _ ", +" : < ! [ { } | 1 2 3 1 1 4 5 6 ; 5 7 8 9 0 { a } a b c d e f g 5 h i j ; ", +" k l m n n ] ! o p q r s b 0 t 4 0 u r t ! - v [ w ] ! b x 8 7 y 5 z A | 6 ] ", +" B C D n E F G 7 f H I c J r h I K o { | | | w L 6 8 M ! N ] O b i r | P I J _ ", +" Q R S l ~ L M s T 0 - - s | G 3 9 g 7 N O } b N 0 U V t } / W 5 i 4 O o X I p ' ", +" Y Z ` .N r t % ..V ! E F s +.} @.4 o M f 4 0 5 } E % 7 ! 9 y M O N | X o N #.$. ", +" %. ...[ / W w w w 7 n @.- 9 } c 4 t J t J u &.6 v Z L V b M T L 4 3 t t 3 O } b ", +" S 1 $.@.F [ 3 | J H o ] w | t F 0 8 *.J 5 y a V t ' b O ! @.) ( t X ] o 3 3 N ) ", +" =.$.] - n ] W X s y N X W 6 T ] % - -.e +.M 0 s ;.x @.. >.Z =.,.'.).@.{ { w T @ ", +" !.[ n n n n n % 1 6 ! & ~.! X T ~ | y 6 $.! [ [ t g $ C {.].@.^./.(._.) - ] W ; ", +" :.[ n ] n n n F V [ - @ R E ] % L ~ <.n E E E F E W N X ] n n < :.>.[.}.+ D D S ", +" :.[ n n ] n ] n M n W @ |.& ] V a C =.- ] E ] T @.9 w 1.] ] ) ` 2.` |.3.4.Z , = ", +" !.[ n n n n ] $.b % W <.^.l M 1 F ~ S ^ - w O 6 $.H o 1 r F ( >.2.2.2.. .] - = ", +" C T n n n ] F 9 0 % - D 2.] ].v W T 5.=.9 4 N T t *.0 O 5 t 6.2.2.. >.Z @ , W = ", +" <.V ..] ] ] % | 9 F ..R T 5.6.S <.) ) # F T T n 9 H 1 N L 0 > 7.6.7.7.= , |.<.<. ", +" B 8 } % ] ] % J $.F ~ ! ).^.` 2.>.2.8.{.. ` ).& X p O ] ~ 1 f ].* {.$ ! % . 7.9. ", +" !.- a V F E ] s F $.0 > ^.|.|.|.2.>.= , . . ^.>.^ 1 n $.r 4 / !.=.m * a N ~ ) 8. ", +" !.! ..| 7 E T a $.s R ^.2.. . . ^.6.& @.2.^.|.` # 1.h J W ~ v 2.7.0.|...$ a.B 2. ", +" !.! ] ..o r L s M D a.|.:.Z > ~.( ; 9 a E v v v % y o ) ..F ) 2.6.6.|.~ C 7.4.3. ", +" !.T E E @.[ -.b.{ & @...v ].].@ <.8.% t ~.|.2.4.0.+ F F % F / ^.4.>.. |.>.4.^.c. ", +" B T E ..] a -.! =.Z !.|.. ^.6.6.6.a.D ] Z 4.>.>.4.4.$ F E n ' ^.` >.d.e.a.>.^.c. ", +" B W ..G 8 a o >.^.. . . . . . . . >.` ].l 4.^.^.4.4.7.l {.& 0.f.g.h.i.j.k.^.|.c. ", +" |.T J 7 ] $.5.6.2.. . . . . . . >.>.^.|.4.2.^.4.^.4.4.>.^.l.m.n.i.o.n.p.j.q.k c. ", +" > H 3 / < ~ !.>.. . . . . . . >.^.^.|.r.s.t.2.` ` ` |.u.v.i.w.w.p.p.w.w.w.x.i.q. ", +" ~.- D 2.l @.6.. . . . . >.^.^.^.^.4.` y.x.z.A.B.g.C.D.E.i.n.p.w.w.w.w.F.F.F.j.m. ", +" %.` 4.7.= ( 4.. >.>.^.^.^.^.^.4.4.. 9.G.p.p.i.j.i.j.j.F.p.w.w.w.F.F.F.F.o.i.j.z. ", +" H.. ^.4.F B >.>.^.^.^.^.4.4.4.4.4.` I.i.n.p.p.p.p.p.w.w.w.w.F.o.o.o.i.i.i.j.x.z. ", +" J.m K.8./ _ ^.^.^.4.4.4.4.4.4.4.|.f.m.w.p.p.p.w.w.w.w.F.F.F.o.o.i.i.j.j.j.j.x.z. ", +" B T ..1 ! R 6.4.4.4.4.4.4.4.4.. 0.e.i.n.p.w.w.w.F.F.F.o.o.i.i.i.j.j.i.j.j.x.L.z. ", +" ` - ..V ] F 8.7.4.4.4.6.6.4.2.a.M.j.p.w.w.F.F.F.o.o.i.i.j.j.j.j.j.j.j.x.x.x.L.m. ", +" B ] $.a ) % E K.a.4.4.4.^.` Y N.x.w.w.F.F.F.o.o.i.i.i.i.j.j.j.j.x.x.x.x.x.L.L.m. ", +" >.% 1 G ~ ..F / >.4.. ` _ O.m.x.F.F.F.F.o.o.i.j.j.j.j.j.j.j.x.x.x.x.L.L.L.L.L.m. ", +" H.l 9 / @.% E ] Z 3.k P.G.L.i.F.F.F.o.i.i.j.i.j.j.j.j.x.x.x.x.L.L.L.L.L.L.L.L.m. ", +" _.5.~ _ B l =. .Q.E.F.L.j.F.o.o.o.i.j.j.j.j.j.j.x.x.x.x.x.L.L.L.L.L.L.L.L.L.L.m. ", +" _.; ).0.a.0.0.>.(.L.o.o.o.o.i.j.j.j.j.j.j.j.x.x.x.x.L.L.L.L.L.L.L.L.L.L.L.L.L.m. ", +" R.7.0.6.6.6.6.. v.L.i.i.j.i.j.j.j.j.x.x.x.x.x.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.S. ", +" 0.4.6.6.6.^.c.T.L.j.j.j.j.j.j.x.x.x.x.x.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.U. ", +" R.^.4.7.7.|.V.L.j.i.j.j.j.x.x.x.x.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.S. ", +" W.a.4.>.X.x.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.Y. ", +" : r.e.Z.`.S.S.S.S.S.S.Z.S.S.S.S.S.S.S.Z.Z.Z.S.Z.S.S.S.S.S.S.S.N. + ", +" ", +" ", +" ", +" "}; diff --git a/lang/processing/files/processing.desktop b/lang/processing/files/processing.desktop new file mode 100644 index 00000000000..4e913861b74 --- /dev/null +++ b/lang/processing/files/processing.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=Processing +Comment=Processing IDE +Exec=processing %f +TryExec=processing +Terminal=false +Type=Application +Icon=processing-48 +Categories=Development;TextEditor; diff --git a/lang/processing/pkg/PLIST b/lang/processing/pkg/PLIST index a7970f603aa..b53761fe393 100644 --- a/lang/processing/pkg/PLIST +++ b/lang/processing/pkg/PLIST @@ -1,5 +1,8 @@ -@comment $OpenBSD: PLIST,v 1.1.1.1 2011/06/24 07:00:20 jasper Exp $ +@comment $OpenBSD: PLIST,v 1.2 2011/07/03 21:49:30 jasper Exp $ bin/processing +share/applications/processing.desktop +share/pixmaps/ +share/pixmaps/processing-48.xpm share/processing/ share/processing/java share/processing/lib/ @@ -5284,3 +5287,5 @@ share/processing/tools/Mangler/src/ share/processing/tools/Mangler/src/Mangler.java share/processing/tools/Mangler/tool/ share/processing/tools/howto.txt +@exec %D/bin/update-desktop-database +@unexec-delete %D/bin/update-desktop-database