Compare commits
No commits in common. "1.0" and "master" have entirely different histories.
14 changed files with 222 additions and 14 deletions
13
.github/FUNDING.yml
vendored
Normal file
13
.github/FUNDING.yml
vendored
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
# These are supported funding model platforms
|
||||||
|
|
||||||
|
github: Zeioth
|
||||||
|
patreon: # Replace with a single Patreon username
|
||||||
|
open_collective: # Replace with a single Open Collective username
|
||||||
|
ko_fi: # Replace with a single Ko-fi username
|
||||||
|
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
|
||||||
|
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
|
||||||
|
liberapay: # Replace with a single Liberapay username
|
||||||
|
issuehunt: # Replace with a single IssueHunt username
|
||||||
|
otechie: # Replace with a single Otechie username
|
||||||
|
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
|
||||||
|
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
tags
|
65
.gitlab-ci.yml
Normal file
65
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,65 @@
|
||||||
|
# Is performed before the scripts in the stages step
|
||||||
|
before_script:
|
||||||
|
- source /etc/profile
|
||||||
|
|
||||||
|
# Defines stages which are to be executed
|
||||||
|
stages:
|
||||||
|
- build
|
||||||
|
- upload
|
||||||
|
- release
|
||||||
|
|
||||||
|
.setup_script: &setup_scripts
|
||||||
|
- apt-get update
|
||||||
|
- apt-get -y build-dep .
|
||||||
|
- apt-get -y install dpkg-dev
|
||||||
|
|
||||||
|
.compile: &compile
|
||||||
|
stage: compile
|
||||||
|
only:
|
||||||
|
- tags
|
||||||
|
script:
|
||||||
|
- *setup_scripts
|
||||||
|
- dpkg-buildpackage -b
|
||||||
|
- mkdir -p ./build/{release,debug}
|
||||||
|
- find ../ -name "*.deb" -not -name "*dbgsym*" -exec mv {} ./build/release/ \;
|
||||||
|
- find ../ -name "*dbgsym*.deb" -exec mv {} ./build/debug/ \;
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- build/release/*
|
||||||
|
- build/debug/*
|
||||||
|
untracked: true
|
||||||
|
|
||||||
|
build:
|
||||||
|
<<: *compile
|
||||||
|
stage: build
|
||||||
|
|
||||||
|
upload:
|
||||||
|
stage: upload
|
||||||
|
dependencies:
|
||||||
|
- build
|
||||||
|
only:
|
||||||
|
- tags
|
||||||
|
script:
|
||||||
|
- find ./build/release -name "*.deb"
|
||||||
|
- debs=( $( find ./build/release -name "*.deb" ) )
|
||||||
|
- assets=""
|
||||||
|
- for d in ${debs[@]};do
|
||||||
|
- file=$( basename ${d} )
|
||||||
|
- url="${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/${CI_PROJECT_NAME}/${CI_COMMIT_TAG}/${file}"
|
||||||
|
- assets="${assets} --assets-link {\"name\":\"${file}\",\"url\":\"${url}\",\"link_type\":\"other\"} "
|
||||||
|
- "curl --header \"JOB-TOKEN: $CI_JOB_TOKEN\" --upload-file \"${d}\" \"${url}\""
|
||||||
|
- done
|
||||||
|
- echo "ASSETS_ARG=${assets}" >> assets.env
|
||||||
|
artifacts:
|
||||||
|
reports:
|
||||||
|
dotenv: assets.env
|
||||||
|
|
||||||
|
release:
|
||||||
|
stage: release
|
||||||
|
image: registry.gitlab.com/gitlab-org/release-cli:latest
|
||||||
|
only:
|
||||||
|
- tags
|
||||||
|
script:
|
||||||
|
- echo "making release!"
|
||||||
|
- echo ${ASSETS_ARG}
|
||||||
|
- release-cli create --name "Release ${CI_COMMIT_TAG}" --tag-name "${CI_COMMIT_TAG}" ${ASSETS_ARG}
|
21
PKGBUILD
21
PKGBUILD
|
@ -1,15 +1,9 @@
|
||||||
# This is an example PKGBUILD file. Use this as a start to creating your own,
|
pkgname=wofi-calc-git
|
||||||
# and remove these comments. For more information, see 'man PKGBUILD'.
|
pkgver=1.0.r26.e2113b4
|
||||||
# NOTE: Please fill out the license field for your package! If it is unknown,
|
|
||||||
# then please put 'unknown'.
|
|
||||||
|
|
||||||
# Maintainer: Adrian Lopez <zeioth@hotmail.com>
|
|
||||||
pkgname=wofi-calc
|
|
||||||
pkgver=1.0
|
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
epoch=
|
epoch=
|
||||||
pkgdesc="A simple calculator for wofi, inspired in rofi-calc."
|
pkgdesc="A simple calculator for wofi, inspired in rofi-calc."
|
||||||
arch=(x86_64 i686)
|
arch=(any)
|
||||||
url="https://github.com/Zeioth/wofi-calc.git"
|
url="https://github.com/Zeioth/wofi-calc.git"
|
||||||
license=('MIT')
|
license=('MIT')
|
||||||
groups=()
|
groups=()
|
||||||
|
@ -17,7 +11,7 @@ depends=(wofi libqalculate)
|
||||||
makedepends=(wofi libqalculate)
|
makedepends=(wofi libqalculate)
|
||||||
checkdepends=()
|
checkdepends=()
|
||||||
optdepends=()
|
optdepends=()
|
||||||
provides=(wofi-calc)
|
provides=(wofi-calc-git)
|
||||||
conflicts=(wofi-calc)
|
conflicts=(wofi-calc)
|
||||||
replaces=()
|
replaces=()
|
||||||
backup=()
|
backup=()
|
||||||
|
@ -26,7 +20,7 @@ install=
|
||||||
changelog=
|
changelog=
|
||||||
source=("git+$url")
|
source=("git+$url")
|
||||||
noextract=()
|
noextract=()
|
||||||
md5sums=('SKIP')
|
sha256sums=('SKIP')
|
||||||
validpgpkeys=()
|
validpgpkeys=()
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
|
@ -35,6 +29,7 @@ pkgver() {
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cp "${srcdir}"/wofi-calc/wofi-calc.sh ~/.local/bin/wofi-calc
|
# Note: 'install' is a chmod+cp one-liner command by GNU
|
||||||
chmod u+x ~/.local/bin/wofi-calc
|
mkdir -p "$pkgdir"/usr/bin
|
||||||
|
install -m 555 "${srcdir}"/wofi-calc/wofi-calc.sh "$pkgdir"/usr/bin/wofi-calc
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,9 +6,12 @@ A simple calculator for wofi, inspired in rofi-calc.
|
||||||
yay -S wofi-calc
|
yay -S wofi-calc
|
||||||
|
|
||||||
## Install from github
|
## Install from github
|
||||||
|
|
||||||
makepkg -sri
|
makepkg -sri
|
||||||
|
|
||||||
## To use it run
|
## To use it run
|
||||||
|
|
||||||
wofi-calc
|
wofi-calc
|
||||||
|
|
||||||
|
## 🌟 Support the project
|
||||||
|
Please star this repository to increase the visibility of the project.
|
||||||
|
|
6
debian/README.Debian
vendored
Normal file
6
debian/README.Debian
vendored
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
wofi-calc for Debian
|
||||||
|
------------------------
|
||||||
|
|
||||||
|
repack of https://github.com/Zeioth/wofi-calc for debian, with sh swapped for bash
|
||||||
|
|
||||||
|
-- Penelope Gwen <support@pogmom.me>, Mon, 10 Jun 2024 15:49:44 -0600
|
5
debian/changelog
vendored
Normal file
5
debian/changelog
vendored
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
wofi-calc (1.1-1) unstable; urgency=medium
|
||||||
|
|
||||||
|
* Initial deb release.
|
||||||
|
|
||||||
|
-- Penelope Gwen <support@pogmom.me> Mon, 10 Jun 2024 15:43:44 -0600
|
17
debian/control
vendored
Normal file
17
debian/control
vendored
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
Source: wofi-calc
|
||||||
|
Section: graphics
|
||||||
|
Priority: optional
|
||||||
|
Maintainer: Penelope Gwen <support@pogmom.me>
|
||||||
|
Rules-Requires-Root: no
|
||||||
|
Build-Depends:
|
||||||
|
debhelper-compat (= 13),
|
||||||
|
Standards-Version: 4.7.0
|
||||||
|
Homepage: https://git.pogmom.me/pogmommy/wofi-calc
|
||||||
|
|
||||||
|
Package: wofi-calc
|
||||||
|
Architecture: all
|
||||||
|
Depends:
|
||||||
|
qalc,
|
||||||
|
wl-clipboard
|
||||||
|
Description: A simple calculator for wofi, inspired in rofi-calc
|
||||||
|
A simple calculator for wofi, inspired in rofi-calc
|
96
debian/copyright
vendored
Normal file
96
debian/copyright
vendored
Normal file
|
@ -0,0 +1,96 @@
|
||||||
|
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||||
|
Source: https://github.com/Zeioth/wofi-calc
|
||||||
|
Upstream-Name: wofi-calc
|
||||||
|
Upstream-Contact: Zeioth <zeioth@hotmail.com>
|
||||||
|
|
||||||
|
Files:
|
||||||
|
debian/*
|
||||||
|
Copyright:
|
||||||
|
2024 Penelope Gwendolyn <support@pogmom.me>
|
||||||
|
License: Opinionated Queer License
|
||||||
|
PERMISSIONS
|
||||||
|
.
|
||||||
|
The creators of this Work (“The Licensor”) grant permission
|
||||||
|
to any person, group or legal entity that doesn't violate the prohibitions below (“The User”),
|
||||||
|
to do everything with this Work that would otherwise infringe their copyright or any patent claims,
|
||||||
|
subject to the following conditions:
|
||||||
|
.
|
||||||
|
OBLIGATIONS
|
||||||
|
.
|
||||||
|
The User must give appropriate credit to the Licensor,
|
||||||
|
provide a copy of this license or a (clickable, if the medium allows) link to
|
||||||
|
oql.avris.it/license/v1.1,
|
||||||
|
and indicate whether and what kind of changes were made.
|
||||||
|
The User may do so in any reasonable manner,
|
||||||
|
but not in any way that suggests the Licensor endorses the User or their use.
|
||||||
|
.
|
||||||
|
PROHIBITIONS
|
||||||
|
.
|
||||||
|
No one may use this Work for prejudiced or bigoted purposes, including but not limited to:
|
||||||
|
racism, xenophobia, queerphobia, queer exclusionism, homophobia, transphobia, enbyphobia, misogyny.
|
||||||
|
.
|
||||||
|
No one may use this Work to inflict or facilitate violence or abuse of human rights as defined in the
|
||||||
|
Universal Declaration of Human Rights.
|
||||||
|
.
|
||||||
|
No law enforcement, carceral institutions, immigration enforcement entities, military entities or military contractors
|
||||||
|
may use the Work for any reason. This also applies to any individuals employed by those entities.
|
||||||
|
.
|
||||||
|
No business entity where the ratio of pay (salaried, freelance, stocks, or other benefits)
|
||||||
|
between the highest and lowest individual in the entity is greater than 50 : 1
|
||||||
|
may use the Work for any reason.
|
||||||
|
.
|
||||||
|
No private business run for profit with more than a thousand employees
|
||||||
|
may use the Work for any reason.
|
||||||
|
.
|
||||||
|
Unless the User has made substantial changes to the Work,
|
||||||
|
or uses it only as a part of a new work (eg. as a library, as a part of an anthology, etc.),
|
||||||
|
they are prohibited from selling the Work.
|
||||||
|
That prohibition includes processing the Work with machine learning models.
|
||||||
|
.
|
||||||
|
SANCTIONS
|
||||||
|
.
|
||||||
|
If the Licensor notifies the User that they have not complied with the rules of the license,
|
||||||
|
they can keep their license by complying within 30 days after the notice.
|
||||||
|
If they do not do so, their license ends immediately.
|
||||||
|
.
|
||||||
|
WARRANTY
|
||||||
|
.
|
||||||
|
This Work is provided “as is”, without warranty of any kind, express or implied.
|
||||||
|
The Licensor will not be liable to anyone for any damages related to the Work or this license,
|
||||||
|
under any kind of legal claim as far as the law allows.
|
||||||
|
|
||||||
|
files:
|
||||||
|
*
|
||||||
|
Copyright:
|
||||||
|
2022 Gustavo Parreira <gustavotcparreira@gmail.com>
|
||||||
|
License:
|
||||||
|
MIT License
|
||||||
|
.
|
||||||
|
Copyright (c) 2021
|
||||||
|
.
|
||||||
|
Original packager:
|
||||||
|
- Adrian Lopez
|
||||||
|
.
|
||||||
|
Original authors:
|
||||||
|
- stvsu
|
||||||
|
- pierenn
|
||||||
|
.
|
||||||
|
Historical Source: https://todo.sr.ht/~scoopta/wofi/49
|
||||||
|
.
|
||||||
|
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.
|
1
debian/install
vendored
Normal file
1
debian/install
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
wofi-calc usr/bin/
|
4
debian/rules
vendored
Executable file
4
debian/rules
vendored
Executable file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
|
%:
|
||||||
|
dh $@
|
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
3.0 (quilt)
|
1
debian/wofi-calc-docs.docs
vendored
Normal file
1
debian/wofi-calc-docs.docs
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
README.Debian
|
Loading…
Add table
Reference in a new issue