From 38e6b4edf1e2b175d9aa1a62e531fe63dfaa5967 Mon Sep 17 00:00:00 2001 From: Louie S Date: Tue, 28 Feb 2023 21:08:44 -0800 Subject: Set deb package to install desktop entry --- data/Makefile.am | 2 +- data/Makefile.in | 2 +- data/icon.dia | Bin 1037 -> 0 bytes data/icon.ico | Bin 7058 -> 0 bytes data/icon.svg | 105 ----------------------------------- data/terminal-media-launcher.dia | Bin 0 -> 1037 bytes data/terminal-media-launcher.ico | Bin 0 -> 7058 bytes data/terminal-media-launcher.svg | 105 +++++++++++++++++++++++++++++++++++ debian/README.Debian | 2 +- debian/control | 2 +- debian/copyright | 52 +++++++++++++++-- debian/install | 2 + docs/README.md | 2 +- docs/windows_compile_instructions.md | 2 +- 14 files changed, 161 insertions(+), 115 deletions(-) delete mode 100644 data/icon.dia delete mode 100644 data/icon.ico delete mode 100644 data/icon.svg create mode 100644 data/terminal-media-launcher.dia create mode 100644 data/terminal-media-launcher.ico create mode 100644 data/terminal-media-launcher.svg create mode 100644 debian/install diff --git a/data/Makefile.am b/data/Makefile.am index e6fb158..20c7465 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -1,4 +1,4 @@ -EXTRA_DIST = icon.ico icon.svg +EXTRA_DIST = terminal-media-launcher.ico terminal-media-launcher.svg # Build a .desktop entry BUILT_SOURCES = $(PACKAGE_NAME).desktop diff --git a/data/Makefile.in b/data/Makefile.in index dbd0a88..f56e399 100644 --- a/data/Makefile.in +++ b/data/Makefile.in @@ -219,7 +219,7 @@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ -EXTRA_DIST = icon.ico icon.svg +EXTRA_DIST = terminal-media-launcher.ico terminal-media-launcher.svg # Build a .desktop entry BUILT_SOURCES = $(PACKAGE_NAME).desktop diff --git a/data/icon.dia b/data/icon.dia deleted file mode 100644 index 549f8d2..0000000 Binary files a/data/icon.dia and /dev/null differ diff --git a/data/icon.ico b/data/icon.ico deleted file mode 100644 index 1800a39..0000000 Binary files a/data/icon.ico and /dev/null differ diff --git a/data/icon.svg b/data/icon.svg deleted file mode 100644 index 683c67a..0000000 --- a/data/icon.svg +++ /dev/null @@ -1,105 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - tml - diff --git a/data/terminal-media-launcher.dia b/data/terminal-media-launcher.dia new file mode 100644 index 0000000..549f8d2 Binary files /dev/null and b/data/terminal-media-launcher.dia differ diff --git a/data/terminal-media-launcher.ico b/data/terminal-media-launcher.ico new file mode 100644 index 0000000..1800a39 Binary files /dev/null and b/data/terminal-media-launcher.ico differ diff --git a/data/terminal-media-launcher.svg b/data/terminal-media-launcher.svg new file mode 100644 index 0000000..683c67a --- /dev/null +++ b/data/terminal-media-launcher.svg @@ -0,0 +1,105 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + tml + diff --git a/debian/README.Debian b/debian/README.Debian index 2365bbc..700c043 100644 --- a/debian/README.Debian +++ b/debian/README.Debian @@ -22,6 +22,6 @@ For a help message and list of flags terminal-media-launcher --help - You can also consult the man pages **terminal-media-launcher**(1) and **terminal-media-launcher-config**(5) + You can also consult the man pages terminal-media-launcher(1) and terminal-media-launcher-config(5) -- louie Mon, 27 Feb 2023 13:34:32 -0800 diff --git a/debian/control b/debian/control index 47485e3..86a867c 100644 --- a/debian/control +++ b/debian/control @@ -11,5 +11,5 @@ Architecture: amd64 Multi-Arch: foreign Depends: ${misc:Depends}, ${shlibs:Depends} Description: Lightweight Terminal Media Launcher written in C - Terminal Media Launcher is a command line utility to help streamline + Terminal Media Launcher is a command line utility to help streamline launching applications and other media diff --git a/debian/copyright b/debian/copyright index 6a54bbe..4a54fea 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,6 +1,6 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: terminal-media-launcher -Upstream-Contact: +Upstream-Contact: https://github.com/lshprung/terminal-media-launcher Source: https://github.com/lshprung/terminal-media-launcher # # Please double check copyright with the licensecheck(1) command. @@ -8,8 +8,17 @@ Source: https://github.com/lshprung/terminal-media-launcher Files: Makefile.am configure.ac data/Makefile.am - data/icon.dia - data/icon.ico + data/terminal-media-launcher.desktop + data/terminal-media-launcher.dia + data/terminal-media-launcher.ico + debian/README.Debian + debian/control + debian/install + debian/patches/series + debian/rules + debian/source/format + debian/source/local-options + debian/watch docs/Makefile.am docs/README.md docs/screenshot1.png @@ -18,6 +27,11 @@ Files: Makefile.am docs/windows_compile_instructions.md man/terminal-media-launcher-config.5 man/terminal-media-launcher.1 + src/.deps/terminal_media_launcher-cache.Po + src/.deps/terminal_media_launcher-draw.Po + src/.deps/terminal_media_launcher-entry.Po + src/.deps/terminal_media_launcher-group.Po + src/.deps/terminal_media_launcher-read_cfg.Po src/Makefile.am src/cache.c src/draw.c @@ -29,6 +43,9 @@ Files: Makefile.am src/include/group.h src/include/read_cfg.h src/read_cfg.c + src/unix/.deps/terminal_media_launcher-cache.Po + src/unix/.deps/terminal_media_launcher-draw.Po + src/unix/.deps/terminal_media_launcher-read_cfg.Po src/unix/cache.c src/unix/draw.c src/unix/read_cfg.c @@ -55,9 +72,36 @@ Copyright: 1992-2020 Free Software Foundation, Inc. License: __AUTO_PERMISSIVE__ Autogenerated files with permissive licenses. +Files: Makefile + data/Makefile + docs/Makefile + src/Makefile +Copyright: 1994-2020 Free Software Foundation, Inc. +License: PERMISSIVE + This Makefile.in is free software; the Free Software Foundation + gives unlimited permission to copy and/or distribute it, + with or without modifications, as long as this notice is preserved. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY, to the extent permitted by law; without + even the implied warranty of MERCHANTABILITY or FITNESS FOR A + PARTICULAR PURPOSE. + +Files: config.log +Copyright: 2020 Free Software Foundation, Inc. +License: __UNKNOWN__ + This is free software; see the source for copying conditions. There is NO + warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + +Files: config.status +Copyright: 2012 Free Software Foundation, Inc. +License: __UNKNOWN__ + This config.status script is free software; the Free Software Foundation + gives unlimited permission to copy, distribute and modify it." + #---------------------------------------------------------------------------- # xml and html files (skipped): -# data/icon.svg +# data/terminal-media-launcher.svg #---------------------------------------------------------------------------- # Files marked as NO_LICENSE_TEXT_FOUND may be covered by the following diff --git a/debian/install b/debian/install new file mode 100644 index 0000000..a83f3b7 --- /dev/null +++ b/debian/install @@ -0,0 +1,2 @@ +data/terminal-media-launcher.desktop /usr/share/applications +data/terminal-media-launcher.svg /usr/share/pixmaps diff --git a/docs/README.md b/docs/README.md index b0aae1c..923b22a 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,4 +1,4 @@ -![logo](../data/icon.svg) +![logo](../data/terminal-media-launcher.svg) ## Introduction diff --git a/docs/windows_compile_instructions.md b/docs/windows_compile_instructions.md index baaf524..8bdb3ef 100644 --- a/docs/windows_compile_instructions.md +++ b/docs/windows_compile_instructions.md @@ -17,7 +17,7 @@ $ pacman -S mingw-w64-x86_64-gcc mingw-w64-x86_64-ncurses make 5. (optional) An icon can be embedded into the executable built at `src/terminal-media-launcher.exe` using the [rcedit](https://github.com/electron/rcedit) tool: ``` -$ rcedit.exe "src/terminal-media-launcher.exe" --set-icon "data/icon.ico" +$ rcedit.exe "src/terminal-media-launcher.exe" --set-icon "data/terminal-media-launcher.ico" ``` Open File Explorer in the current directory (can be done by running `explorer .` in MSYS2 terminal) and double click the generated executable in `src/` to run the program. If your MSYS2 `/bin` is set in your system PATH (see below), then you can also follow the Unix installation instructions to install `terminal-media-launcher` on your Windows system. -- cgit