summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am1
-rw-r--r--Makefile.in1
-rw-r--r--debian/README.Debian27
-rw-r--r--debian/changelog5
-rw-r--r--debian/control15
-rw-r--r--debian/copyright64
-rw-r--r--debian/patches/series1
-rwxr-xr-xdebian/rules12
-rw-r--r--debian/source/format1
-rw-r--r--debian/source/local-options2
-rw-r--r--debian/watch2
-rw-r--r--src/Makefile.am2
-rw-r--r--src/Makefile.in6
13 files changed, 135 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am
index affd11c..7c79f47 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2,3 +2,4 @@ SUBDIRS = src docs data
dist_man_MANS = man
man1_MANS = man/$(PACKAGE_NAME).1
man5_MANS = man/$(PACKAGE_NAME)-config.5
+EXTRA_DIST = debian
diff --git a/Makefile.in b/Makefile.in
index 926f785..f3ef78e 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -338,6 +338,7 @@ SUBDIRS = src docs data
dist_man_MANS = man
man1_MANS = man/$(PACKAGE_NAME).1
man5_MANS = man/$(PACKAGE_NAME)-config.5
+EXTRA_DIST = debian
all: all-recursive
.SUFFIXES:
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..2365bbc
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,27 @@
+terminal-media-launcher for Debian
+==================================
+
+Introduction
+------------
+
+ Terminal Media Launcher is a command line utility to help streamline launching applications and other media. The goal of this program is to provide a fast, minimal, command line frontend with a Unix-like approach to setup and configuration. The program looks for a configuration file listing different groups of media and creates an ncurses menu from which to select from. If a configuration file is found, the program will draw two columns: one for groups, and one for entries. At the bottom of the window, a preview of the command execution is displayed.
+
+Configuration File
+------------------
+
+ By default, terminal-media-launcher searches in the following order for a configuration file:
+
+ $HOME/.config/terminal-media-launcher/config
+ $HOME/.terminal-media-launcher/config
+
+ A different configuration file location can also be specified with the `-c` flag:
+
+ terminal-media-launcher -c /path/to/config
+
+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)
+
+ -- louie <louie@example.com> Mon, 27 Feb 2023 13:34:32 -0800
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..47a9b26
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+terminal-media-launcher (0.1-1) UNRELEASED; urgency=low
+
+ * Initial release
+
+ -- louie <louie@example.com> Mon, 27 Feb 2023 13:34:32 -0800
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..47485e3
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,15 @@
+Source: terminal-media-launcher
+Section: utils
+Priority: optional
+Maintainer: louie <louie@example.com>
+Build-Depends: debhelper-compat (= 12), dh-autoreconf
+Standards-Version: 4.5.0
+Homepage: https://github.com/lshprung/terminal-media-launcher
+
+Package: terminal-media-launcher
+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
+ launching applications and other media
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..6a54bbe
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,64 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: terminal-media-launcher
+Upstream-Contact: <preferred name and address to reach the upstream project>
+Source: https://github.com/lshprung/terminal-media-launcher
+#
+# Please double check copyright with the licensecheck(1) command.
+
+Files: Makefile.am
+ configure.ac
+ data/Makefile.am
+ data/icon.dia
+ data/icon.ico
+ docs/Makefile.am
+ docs/README.md
+ docs/screenshot1.png
+ docs/screenshot2.png
+ docs/terminal-media-launcher-config.md
+ docs/windows_compile_instructions.md
+ man/terminal-media-launcher-config.5
+ man/terminal-media-launcher.1
+ src/Makefile.am
+ src/cache.c
+ src/draw.c
+ src/entry.c
+ src/group.c
+ src/include/cache.h
+ src/include/draw.h
+ src/include/entry.h
+ src/include/group.h
+ src/include/read_cfg.h
+ src/read_cfg.c
+ src/unix/cache.c
+ src/unix/draw.c
+ src/unix/read_cfg.c
+ src/windows/cache.c
+ src/windows/draw.c
+ src/windows/read_cfg.c
+Copyright: __NO_COPYRIGHT_NOR_LICENSE__
+License: __NO_COPYRIGHT_NOR_LICENSE__
+
+Files: Makefile.in
+ aclocal.m4
+ compile
+ config.guess
+ config.sub
+ configure
+ data/Makefile.in
+ depcomp
+ docs/Makefile.in
+ install-sh
+ missing
+ src/Makefile.in
+Copyright: 1992-2020 Free Software Foundation, Inc.
+ 1994 X Consortium
+License: __AUTO_PERMISSIVE__
+ Autogenerated files with permissive licenses.
+
+#----------------------------------------------------------------------------
+# xml and html files (skipped):
+# data/icon.svg
+
+#----------------------------------------------------------------------------
+# Files marked as NO_LICENSE_TEXT_FOUND may be covered by the following
+# license/copyright files.
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..4a97dfa
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+# You must remove unused comment lines for the released package.
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..f0465d2
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,12 @@
+#!/usr/bin/make -f
+# You must remove unused comment lines for the released package.
+#export DH_VERBOSE = 1
+#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
+#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+
+%:
+ dh $@ --with autoreconf
+
+#override_dh_install:
+# dh_install --list-missing -X.la -X.pyc -X.pyo
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/source/local-options b/debian/source/local-options
new file mode 100644
index 0000000..00131ee
--- /dev/null
+++ b/debian/source/local-options
@@ -0,0 +1,2 @@
+#abort-on-upstream-changes
+#unapply-patches
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..76575dc
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+# You must remove unused comment lines for the released package.
+version=3
diff --git a/src/Makefile.am b/src/Makefile.am
index c3b995a..09eb6bd 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -7,7 +7,7 @@ else
PLATFORM=unix
endif
-bin_PROGRAMS = terminal_media_launcher
+bin_PROGRAMS = terminal-media-launcher
terminal_media_launcher_SOURCES = cache.c draw.c read_cfg.c group.c entry.c $(PLATFORM)/cache.c $(PLATFORM)/draw.c $(PLATFORM)/read_cfg.c
terminal_media_launcher_LDADD = @CURSES_LIBS@
terminal_media_launcher_CPPFLAGS = @CURSES_CFLAGS@
diff --git a/src/Makefile.in b/src/Makefile.in
index 59b31ba..9a48bc5 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -88,7 +88,7 @@ PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
-bin_PROGRAMS = terminal_media_launcher$(EXEEXT)
+bin_PROGRAMS = terminal-media-launcher$(EXEEXT)
subdir = src
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/configure.ac
@@ -381,8 +381,8 @@ $(PLATFORM)/terminal_media_launcher-read_cfg.$(OBJEXT): \
$(PLATFORM)/$(am__dirstamp) \
$(PLATFORM)/$(DEPDIR)/$(am__dirstamp)
-terminal_media_launcher$(EXEEXT): $(terminal_media_launcher_OBJECTS) $(terminal_media_launcher_DEPENDENCIES) $(EXTRA_terminal_media_launcher_DEPENDENCIES)
- @rm -f terminal_media_launcher$(EXEEXT)
+terminal-media-launcher$(EXEEXT): $(terminal_media_launcher_OBJECTS) $(terminal_media_launcher_DEPENDENCIES) $(EXTRA_terminal_media_launcher_DEPENDENCIES)
+ @rm -f terminal-media-launcher$(EXEEXT)
$(AM_V_CCLD)$(LINK) $(terminal_media_launcher_OBJECTS) $(terminal_media_launcher_LDADD) $(LIBS)
mostlyclean-compile: