xcalc: 1.1.2

This commit is contained in:
Daniel Azevedo 2024-10-01 15:14:07 +01:00
parent 620e2e8e2b
commit 32aada8b05
6 changed files with 113 additions and 0 deletions

15
xcalc/.footprint Normal file
View file

@ -0,0 +1,15 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/xcalc
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/X11/
drwxr-xr-x root/root usr/share/X11/app-defaults/
-rw-r--r-- root/root usr/share/X11/app-defaults/XCalc
-rw-r--r-- root/root usr/share/X11/app-defaults/XCalc-color
drwxr-xr-x root/root usr/share/applications/
-rw-r--r-- root/root usr/share/applications/xcalc.desktop
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man1/
-rw-r--r-- root/root usr/share/man/man1/xcalc.1.gz
drwxr-xr-x root/root usr/share/pixmaps/
-rw-r--r-- root/root usr/share/pixmaps/calculator.svg

3
xcalc/.md5sum Normal file
View file

@ -0,0 +1,3 @@
98b9374fa0339151126dc6e759b0886c calculator.svg
1966162b85ed6a07b79351ec7866d216 xcalc-xcalc-1.1.2.tar.gz
2308421cfc2f25e076ee420c3c5cee93 xcalc.desktop

7
xcalc/.signature Normal file
View file

@ -0,0 +1,7 @@
untrusted comment: verify with /etc/ports/d77crux.pub
RWT0dvMs3lAWkITbDqFn15qGR4vu7y/i+8mEk0GZJR3Gc0+QQg1nVrZetbAeR51P6b8vc3pCDsFdywCfGyCZS90T83CUhvSs2QE=
SHA256 (Pkgfile) = 72734f8f4e9e57fc5328844a65cc6ad61b23e5960d1d5af8ff50cf021d0272b8
SHA256 (.footprint) = 67f7eb2ee2430ee9dda3c6c00d7fa02b34fb01698f225b8b57a4d7d933ee5cd0
SHA256 (xcalc-xcalc-1.1.2.tar.gz) = 9b888dde970e30db3693097ab04750e09d6e40343b35ff9c818d8a43920a0407
SHA256 (calculator.svg) = cd5f94b3e55b078976512a1f7495dfb4feae8bbb08f1d7be7dced9d0e23c19ec
SHA256 (xcalc.desktop) = 51d53ab183055eb32baf5d5389d3cf2a1a0015675315e380cb6a08dfe28eaa5a

20
xcalc/Pkgfile Normal file
View file

@ -0,0 +1,20 @@
# Description: xcalc is a scientific calculator X11 client.
# URL: https://gitlab.freedesktop.org/xorg/app/xcalc
# Maintainer: Daniel Azevedo, daniazevedo77 at posteo dot net
# Depends on: x11
name=xcalc
version=1.1.2
release=2
source=(https://gitlab.freedesktop.org/xorg/app/$name/-/archive/$name-$version/$name-$name-$version.tar.gz calculator.svg xcalc.desktop)
build() {
install -Dm644 ./calculator.svg $PKG/usr/share/pixmaps/calculator.svg
install -Dm644 ./xcalc.desktop $PKG/usr/share/applications/xcalc.desktop
cd $name-$name-$version
./autogen.sh
./configure --prefix=/usr
make
make DESTDIR=$PKG install
}

25
xcalc/calculator.svg Normal file
View file

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
<svg fill="#000000" height="800px" width="800px" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 460 460" xml:space="preserve">
<g id="XMLID_241_">
<g>
<path d="M369.635,0H90.365C73.595,0,60,13.595,60,30.365v399.27C60,446.405,73.595,460,90.365,460h279.27
c16.77,0,30.365-13.595,30.365-30.365V30.365C400,13.595,386.405,0,369.635,0z M108.204,343.61v-43.196
c0-3.451,2.797-6.248,6.248-6.248h43.196c3.451,0,6.248,2.797,6.248,6.248v43.196c0,3.451-2.797,6.248-6.248,6.248h-43.196
C111.001,349.858,108.204,347.06,108.204,343.61z M108.204,256.61v-43.196c0-3.451,2.797-6.248,6.248-6.248h43.196
c3.451,0,6.248,2.797,6.248,6.248v43.196c0,3.451-2.797,6.248-6.248,6.248h-43.196C111.001,262.858,108.204,260.06,108.204,256.61
z M308.891,421H151.109c-11.046,0-20-8.954-20-20c0-11.046,8.954-20,20-20h157.782c11.046,0,20,8.954,20,20
C328.891,412.046,319.937,421,308.891,421z M208.402,294.165h43.196c3.451,0,6.248,2.797,6.248,6.248v43.196
c0,3.451-2.797,6.248-6.248,6.248h-43.196c-3.451,0-6.248-2.797-6.248-6.248v-43.196
C202.154,296.963,204.951,294.165,208.402,294.165z M202.154,256.61v-43.196c0-3.451,2.797-6.248,6.248-6.248h43.196
c3.451,0,6.248,2.797,6.248,6.248v43.196c0,3.451-2.797,6.248-6.248,6.248h-43.196C204.951,262.858,202.154,260.06,202.154,256.61
z M345.548,349.858h-43.196c-3.451,0-6.248-2.797-6.248-6.248v-43.196c0-3.451,2.797-6.248,6.248-6.248h43.196
c3.451,0,6.248,2.797,6.248,6.248v43.196h0C351.796,347.061,348.999,349.858,345.548,349.858z M345.548,262.858h-43.196
c-3.451,0-6.248-2.797-6.248-6.248v-43.196c0-3.451,2.797-6.248,6.248-6.248h43.196c3.451,0,6.248,2.797,6.248,6.248v43.196h0
C351.796,260.061,348.999,262.858,345.548,262.858z M354,149.637c0,11.799-9.565,21.363-21.363,21.363H127.364
C115.565,171,106,161.435,106,149.637V62.363C106,50.565,115.565,41,127.364,41h205.273C344.435,41,354,50.565,354,62.363V149.637
z"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.1 KiB

43
xcalc/xcalc.desktop Normal file
View file

@ -0,0 +1,43 @@
# $XTermId: xterm.desktop,v 1.16 2022/09/06 21:10:14 tom Exp $
# -----------------------------------------------------------------------------
# this file is part of xterm
#
# Copyright 2006-2016,2022 by Thomas E. Dickey
#
# All Rights Reserved
#
# 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 ABOVE LISTED COPYRIGHT HOLDER(S) 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.
#
# Except as contained in this notice, the name(s) of the above copyright
# holders shall not be used in advertising or otherwise to promote the
# sale, use or other dealings in this Software without prior written
# authorization.
# -----------------------------------------------------------------------------
[Desktop Entry]
Name=XCalc
GenericName=Calculator
Comment=standard terminal emulator for the X window system
Exec=xcalc
Terminal=false
Type=Application
Encoding=UTF-8
Icon=/usr/share/pixmaps/calculator.svg
Categories=System;
Keywords=calculator