On Wed, 3 Jul 2024 23:35:59 -0400
Jag Talon <[email protected]> wrote:

> Adding .desktop file as well so that users can easily discover it in the
> menu.

I committed it.  I got a malformed patch error in distinfo (something
wrapped a long line by changing ' ' to '\n'), but was able to work
around the error.  If you mail client can't send long lines, it might
be better to send an attachment.

--gkoehler

> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/graphics/decker/Makefile,v
> diff -u -p -u -r1.4 Makefile
> --- Makefile  2 Apr 2024 05:11:50 -0000       1.4
> +++ Makefile  4 Jul 2024 03:33:47 -0000
> @@ -1,6 +1,6 @@
>  COMMENT =            multimedia platform inspired by HyperCard
> 
> -DIST_TUPLE =         github JohnEarnest Decker v1.41 .
> +DIST_TUPLE =         github JohnEarnest Decker v1.44 .
>  PKGNAME =            ${DISTNAME:L}
> 
>  CATEGORIES =         graphics
> @@ -22,7 +22,8 @@ BUILD_DEPENDS =             editors/vim \
>  LIB_DEPENDS =                devel/sdl2 \
>                       devel/sdl2-image
> 
> -RUN_DEPENDS =                devel/xdg-utils
> +RUN_DEPENDS =                devel/xdg-utils \
> +                     devel/desktop-file-utils
> 
>  ALL_TARGET =         decker lilt docs
> 
> @@ -32,12 +33,20 @@ do-install:
>  .for bin in decker lilt
>       ${INSTALL_PROGRAM} ${WRKBUILD}/c/build/${bin} ${PREFIX}/bin
>  .endfor
> -     ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/decker
> -     ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/decker
> -     ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/decker/images
> +     ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/decker \
> +             ${PREFIX}/share/examples/decker \
> +             ${PREFIX}/share/doc/decker/images \
> +             ${PREFIX}/share/applications/ \
> +             ${PREFIX}/share/pixmaps/
> +
>       ${INSTALL_DATA} ${WRKSRC}/docs/*.html ${PREFIX}/share/doc/decker
>       ${INSTALL_DATA} ${WRKSRC}/docs/images/* 
> ${PREFIX}/share/doc/decker/images
>       ${INSTALL_DATA} ${WRKSRC}/examples/decks/* 
> ${PREFIX}/share/examples/decker
>       ${INSTALL_DATA} ${WRKSRC}/examples/lilt/* 
> ${PREFIX}/share/examples/decker
> +
> +     ${INSTALL_DATA} ${FILESDIR}/decker.desktop \
> +             ${PREFIX}/share/applications/
> +     ${INSTALL_DATA} ${WRKSRC}/icon_32x32.png \
> +             ${PREFIX}/share/pixmaps/decker.png
> 
>  .include <bsd.port.mk>
> Index: distinfo
> ===================================================================
> RCS file: /cvs/ports/graphics/decker/distinfo,v
> diff -u -p -u -r1.4 distinfo
> --- distinfo  2 Apr 2024 05:11:50 -0000       1.4
> +++ distinfo  4 Jul 2024 03:33:47 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (JohnEarnest-Decker-v1.41.tar.gz) =
> iwo/hvlr4dcKfQrrAjCnIl+4R9yy0/8Yk0BaoJgmtO4=
> -SIZE (JohnEarnest-Decker-v1.41.tar.gz) = 1358137
> +SHA256 (JohnEarnest-Decker-v1.44.tar.gz) =
> ipLAyFl9WvkP3l+Z3J1JKOFRaGnloJpHYnORUtNOAX0=
> +SIZE (JohnEarnest-Decker-v1.44.tar.gz) = 1438862
> cvs server: Diffing files
> Index: files/decker.desktop
> ===================================================================
> RCS file: files/decker.desktop
> diff -N files/decker.desktop
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ files/decker.desktop      4 Jul 2024 03:33:47 -0000
> @@ -0,0 +1,9 @@
> +[Desktop Entry]
> +GenericName=Multimedia platform
> +Name=Decker
> +Comment=Multimedia platform inspired by HyperCard
> +Exec=decker
> +Terminal=false
> +Type=Application
> +Categories=Multimedia;Graphics;
> +Icon=decker
> cvs server: Diffing patches
> Index: patches/patch-Makefile
> ===================================================================
> RCS file: /cvs/ports/graphics/decker/patches/patch-Makefile,v
> diff -u -p -u -r1.2 patch-Makefile
> --- patches/patch-Makefile    6 Mar 2024 16:07:14 -0000       1.2
> +++ patches/patch-Makefile    4 Jul 2024 03:33:47 -0000
> @@ -36,7 +36,7 @@ Index: Makefile
> 
>   clean:
>       @rm -rf ./c/build/
> -@@ -63,19 +63,19 @@ clean:
> +@@ -63,21 +63,21 @@ clean:
>       @rm -f docs/*.html
> 
>   install:
> @@ -54,11 +54,15 @@ Index: Makefile
>   test: lilt
>  -    @chmod +x ./scripts/test_interpreter.sh
>  -    @./scripts/test_interpreter.sh "./c/build/lilt "
> +-    @./c/build/lilt tests/dom/arrays.lil
> +-    @./c/build/lilt tests/dom/images.lil
>  -    @./c/build/lilt tests/dom/domtests.lil
>  -    @./c/build/lilt tests/dom/test_roundtrip.lil
>  -    @./c/build/lilt tests/puzzles/weeklychallenge.lil
>  +    chmod +x ./scripts/test_interpreter.sh
>  +    ./scripts/test_interpreter.sh "./c/build/lilt "
> ++    ./c/build/lilt tests/dom/arrays.lil
> ++    ./c/build/lilt tests/dom/images.lil
>  +    ./c/build/lilt tests/dom/domtests.lil
>  +    ./c/build/lilt tests/dom/test_roundtrip.lil
>  +    ./c/build/lilt tests/puzzles/weeklychallenge.lil
> cvs server: Diffing pkg
> Index: pkg/PLIST
> ===================================================================
> RCS file: /cvs/ports/graphics/decker/pkg/PLIST,v
> diff -u -p -u -r1.2 PLIST
> --- pkg/PLIST 18 Feb 2024 21:55:41 -0000      1.2
> +++ pkg/PLIST 4 Jul 2024 03:33:47 -0000
> @@ -1,5 +1,6 @@
>  @bin bin/decker
>  @bin bin/lilt
> +share/applications/decker.desktop
>  share/doc/decker/
>  share/doc/decker/decker.html
>  share/doc/decker/format.html
> @@ -36,6 +37,7 @@ share/doc/decker/images/scripteditor.gif
>  share/doc/decker/images/slidertypes.gif
>  share/doc/decker/images/sounds.gif
>  share/doc/decker/images/wings.gif
> +share/doc/decker/learn.html
>  share/doc/decker/lil.html
>  share/doc/decker/lilquickref.html
>  share/doc/decker/lilt.html
> @@ -64,12 +66,17 @@ share/examples/decker/maze.lil
>  share/examples/decker/ovum.deck
>  share/examples/decker/palimport.deck
>  share/examples/decker/patedit.deck
> +share/examples/decker/pdf.deck
>  share/examples/decker/plot.deck
>  share/examples/decker/podcasts.lil
>  share/examples/decker/publictransit.deck
>  share/examples/decker/puppeteer.deck
> +share/examples/decker/sokoban.deck
>  share/examples/decker/sound.deck
>  share/examples/decker/tour.deck
>  share/examples/decker/transit.deck
>  share/examples/decker/utena.deck
>  share/examples/decker/zazz.deck
> +share/pixmaps/
> +share/pixmaps/decker.png
> +@tag update-desktop-database
> 
> 
> -- 
> jagtalon.net
> weirder.earth/@jag
> 


-- 
George Koehler <[email protected]>

Reply via email to