Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#212 debizanized #213

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,8 @@ tags
# Project specific files
build/
.cache
/debian/.debhelper/
/debian/tofi/
/debian/debhelper-build-stamp
/debian/tofi.substvars
/debian/files
8 changes: 8 additions & 0 deletions debian/README.Debian
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
tofi for Debian

Please edit this to provide information specific to
this tofi Debian package.

(Automatically generated by debmake Version 4.4.0)

-- Vítězslav Dvořák <[email protected]> Sun, 05 Jan 2025 18:52:47 +0100
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
tofi (0.9.1) UNRELEASED; urgency=medium

* Debianized

-- vitex <[email protected]> Sun, 05 Jan 2025 19:48:42 +0100

1 change: 1 addition & 0 deletions debian/clean
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# You must remove unused comment lines for the released package.
19 changes: 19 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Source: tofi
Section: desktop
Priority: optional
Maintainer: Vítězslav Dvořák <[email protected]>
Build-Depends: debhelper-compat (= 13), meson, scdoc, wayland-protocols
Standards-Version: 4.5.1
Homepage: https://github.com/philj56/tofi
Rules-Requires-Root: no
Vcs-Git: [email protected]:Vitexus/tofi.git
Vcs-Browser: https://github.com/Vitexus/tofi

Package: tofi
Architecture: any
Multi-Arch: foreign
Depends: ${misc:Depends}, ${shlibs:Depends}, libfreetype-dev, libcairo2-dev, libpango1.0-dev, libwayland-dev, libxkbcommon-dev
Description: Tiny dynamic menu for Wayland
An extremely fast and simple dmenu / rofi replacement for
wlroots-based Wayland compositors such as Sway.
The aim is to do just what I want it to as quick as possible.
123 changes: 123 additions & 0 deletions debian/copyright
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: tofi
Upstream-Contact: <preferred name and address to reach the upstream project>
Source: <url://example.com>
#
# Please double check copyright with the licensecheck(1) command.

Files: .github/workflows/build-test.yml
.gitignore
CHANGELOG.md
README.md
completions/tofi
doc/config
doc/scd2gfm.sh
doc/tofi.1.md
doc/tofi.1.scd
doc/tofi.5.md
doc/tofi.5.scd
meson.build
meson_options.txt
screenshot_dark_paper.png
screenshot_default.png
screenshot_dmenu.png
screenshot_dos.png
screenshot_fullscreen.png
screenshot_soy_milk.png
src/clipboard.c
src/clipboard.h
src/color.c
src/color.h
src/compgen.c
src/compgen.h
src/config.c
src/config.h
src/desktop_vec.c
src/desktop_vec.h
src/drun.c
src/drun.h
src/entry.c
src/entry.h
src/entry_backend/harfbuzz.c
src/entry_backend/harfbuzz.h
src/entry_backend/pango.c
src/entry_backend/pango.h
src/history.c
src/history.h
src/input.c
src/input.h
src/lock.c
src/lock.h
src/log.c
src/log.h
src/main.c
src/main_compgen.c
src/matching.c
src/matching.h
src/mkdirp.c
src/mkdirp.h
src/scale.c
src/scale.h
src/shm.c
src/shm.h
src/string_vec.c
src/string_vec.h
src/surface.c
src/surface.h
src/tofi.h
src/unicode.c
src/unicode.h
src/xmalloc.c
src/xmalloc.h
test/config.c
test/meson.build
test/tap.c
test/tap.h
test/utf8.c
themes/dark-paper
themes/dmenu
themes/dos
themes/fullscreen
themes/soy-milk
Copyright: __NO_COPYRIGHT_NOR_LICENSE__
License: __NO_COPYRIGHT_NOR_LICENSE__

Files: src/nelem.h
Copyright: 2021 Philip Jones
License: __UNKNOWN__
Licensed under the MIT License.
See either the LICENSE file, or:
.
https://opensource.org/licenses/MIT

#----------------------------------------------------------------------------
# xml and html files (skipped):
# startup_performance.svg
# protocols/wlr-layer-shell-unstable-v1.xml
# protocols/fractional-scale-v1.xml

#----------------------------------------------------------------------------
# Files marked as NO_LICENSE_TEXT_FOUND may be covered by the following
# license/copyright files.

#----------------------------------------------------------------------------
# License file: LICENSE
Copyright (C) 2021-2022 Philip Jones
.
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:
.
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
8 changes: 8 additions & 0 deletions debian/install
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

# You must remove unused comment lines for the released package.


debian/io.github.philj56.tofi.metainfo.xml /usr/share/metainfo/
debian/io.github.philj56.tofi.desktop /usr/share/applications/
debian/tofi.svg /usr/share/icons/hicolor/scalable/apps/

12 changes: 12 additions & 0 deletions debian/io.github.philj56.tofi.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[Desktop Entry]
Version=1.0
Type=Application

Name=Tofi
Comment= Tiny dynamic menu for Wayland
Categories=Utility;Accessibility;

Icon=tofi
Exec=tofi-run
Terminal=false

36 changes: 36 additions & 0 deletions debian/io.github.philj56.tofi.metainfo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>io.github.philj56.tofi</id>

<name>Tofi</name>
<summary> Tiny dynamic menu for Wayland </summary>

<metadata_license>MIT</metadata_license>
<project_license>MIT</project_license>

<description>
<p>
An extremely fast and simple dmenu / rofi replacement for wlroots-based Wayland compositors such as Sway.
</p>
<p>
The aim is to do just what I want it to as quick as possible.
</p>
<p>
When configured correctly, tofi can get on screen within a single frame.
</p>
</description>

<launchable type="desktop-id">io.github.philj56.tofi.desktop</launchable>
<screenshots>
<screenshot type="default">
<image>https://github.com/philj56/tofi/raw/master/screenshot_fullscreen.png</image>
</screenshot>
<screenshot>
<image>https://github.com/philj56/tofi/raw/master/screenshot_default.png</image>
</screenshot>
<screenshot>
<image>https://github.com/philj56/tofi/raw/master/screenshot_dos.png</image>
</screenshot>
</screenshots>
</component>

2 changes: 2 additions & 0 deletions debian/links
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

# You must remove unused comment lines for the released package.
20 changes: 20 additions & 0 deletions debian/postinst
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/bin/sh
set -e

case "$1" in
configure)
;;

abort-upgrade|abort-remove|abort-deconfigure)
;;

*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac


#DEBHELPER#

exit 0
17 changes: 17 additions & 0 deletions debian/postrm
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/sh
set -e

case "$1" in
purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
;;

*)
echo "postrm called with unknown argument \`$1'" >&2
exit 1
;;
esac


#DEBHELPER#

exit 0
20 changes: 20 additions & 0 deletions debian/preinst
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/bin/sh
set -e

case "$1" in
install|upgrade)
;;

abort-upgrade)
;;

*)
echo "preinst called with unknown argument \`$1'" >&2
exit 1
;;
esac


#DEBHELPER#

exit 0
20 changes: 20 additions & 0 deletions debian/prerm
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/bin/sh
set -e

case "$1" in
remove|upgrade|deconfigure)
;;

failed-upgrade)
;;

*)
echo "prerm called with unknown argument \`$1'" >&2
exit 1
;;
esac


#DEBHELPER#

exit 0
9 changes: 9 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/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 $@
6 changes: 6 additions & 0 deletions debian/source/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#
# DEP-8: autopkgtest - automatic as-installed package testing
# Please check * https://dep-team.pages.debian.net/deps/dep8/
# * /usr/share/doc/autopkgtest
#Tests: testcode.sh
#Restrictions: allow-stderr, breaks-testbed, needs-internet, needs-root
1 change: 1 addition & 0 deletions debian/source/format
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.0 (native)
6 changes: 6 additions & 0 deletions debian/tests/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#
# DEP-8: autopkgtest - automatic as-installed package testing
# Please check * https://dep-team.pages.debian.net/deps/dep8/
# * /usr/share/doc/autopkgtest
#Tests: testcode.sh
#Restrictions: allow-stderr, breaks-testbed, needs-internet, needs-root
Loading