26

Re: [Collection] Packages never getting into the repositories or not ready

Also here the removed monero. Please be aware that Hyperbola has a clear stance towards scam and the reasoning of removal is called in different categories:

- bloat in technical aspects
- problems in social aspects as there is clear misusage (many of those projects are using a pyramid scheme to call into people to attend, in no way working fair)

We communicate clear, open and transparent therefore: Usage of own risk. Everyone is free to modify the own installed system as Hyperbola will be always a free and libre system.

List of packages

zeromq -> https://git.hyperbola.info:50100/~team/ … 5dd9814ba6
randomx -> https://git.hyperbola.info:50100/~team/ … ab2f9b9cd7
monero -> https://git.hyperbola.info:50100/~team/ … 97b023277c

Again to repeat: This package was removed for clear reasoning and won't be integrated back in our repositories.

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!

27

Re: [Collection] Packages never getting into the repositories or not ready

Any change we can have the original xournal packaged. xournalpp is obese

309.4 MiB +   8.0 MiB = 317.3 MiB       iceape-uxp
327.9 MiB +  14.8 MiB = 342.7 MiB       xournalpp

28

Re: [Collection] Packages never getting into the repositories or not ready

Please respect that this thread is not for wishing any kind of package. If you create own PKGBUILDs for xournal and dependencies you can share them here. smile
And yes: xournal is possible to be added, so there is some chance for sure with 0.4.3.

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!

29

Re: [Collection] Packages never getting into the repositories or not ready

Apologies. Please feel free to move to a more appropriate thread.

I usually build packages the old way but can see if I'm going to be around here a while I should try and get my head around PKGBUILD. There are a few small packages I use a lot that are missing and it would be good to contribute by learning how to do it.  Re xournalpp I notice that the pp stands for ++ or plus plus so I guess I shouldn't have been so surprised by it weight!

30

Re: [Collection] Packages never getting into the repositories or not ready

No problem and I think it is good to keep the posting in its own context as you have nevertheless made a proposal with xournal and that's absolute appreciated. We need libart and libgnomecanvas for getting it to compile.

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!

31

Re: [Collection] Packages never getting into the repositories or not ready

I'm busy this week but have free time next week. I shall put effort in to PKGBUILD then.

32

Re: [Collection] Packages never getting into the repositories or not ready

Will let you know if I had time: When possible I will post the git-repository-links here for sure. But we need to make sure that xournal gets a nice glimpse working. Even when compiled: There can be also some side-effects.

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!

33

Re: [Collection] Packages never getting into the repositories or not ready

Well I managed to read up and install and build all the depends. First time with PKGBUILD so pleased it worked. Much lighter than xournal++ Obviously still alot to get my head around.  I know nothing about git apart from git clone.

13.2 MiB +   5.5 MiB =  18.6 MiB       xournal
18.3 MiB +   6.2 MiB =  24.5 MiB       hexchat
47.4 MiB +   4.5 MiB =  51.9 MiB       xterm (3)
61.3 MiB +   2.0 MiB =  63.3 MiB       Xorg
318.1 MiB +   5.8 MiB = 323.9 MiB       iceape-uxp

34

Re: [Collection] Packages never getting into the repositories or not ready

Hey throgh, is it possible you could upload the latest UXP build and add the changes of icedove-uxp to the current master? Or have g4jc repo at least have it?

Even if that means contacting him...

big_smile

HyperbolaBSD: The Future of Secure Libre Lightweight Operating Systems!

35

Re: [Collection] Packages never getting into the repositories or not ready

It is not working that way: Gaming4JC is giving the version for compiling. We cannot overdrive the way maintaining the packages. The latest updates are done for the packaging itself. Please remember also: UXP is the base for three different applications, so three different applications have to be build for two architectures.

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!

36

Re: [Collection] Packages never getting into the repositories or not ready

throgh wrote:

It is not working that way: Gaming4JC is giving the version for compiling. We cannot overdrive the way maintaining the packages. The latest updates are done for the packaging itself. Please remember also: UXP is the base for three different applications, so three different applications have to be build for two architectures.

Hmm... that';s right... I forgot, newer UXP builds seem to take precedence on the repos.

Or is that wrong?

Although, not a huge deal, I just need to figure out how to fix on my own.

HyperbolaBSD: The Future of Secure Libre Lightweight Operating Systems!

37

Re: [Collection] Packages never getting into the repositories or not ready

The current UXP-build has an issue out of the used build-infrastructure. So there is the point where 32bit fails to build for example and that's the issue to solve for the moment.

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!

38

Re: [Collection] Packages never getting into the repositories or not ready

throgh wrote:

The current UXP-build has an issue out of the used build-infrastructure. So there is the point where 32bit fails to build for example and that's the issue to solve for the moment.

Hmm... does this happen to the current basilisk browser?

If so, I hate to say this, but if it doesn't... maybe remake it from the current basilisk browser?

-_-

HyperbolaBSD: The Future of Secure Libre Lightweight Operating Systems!

39

Re: [Collection] Packages never getting into the repositories or not ready

tcclib, tklib and tkimg. A great addon for TCL/TK. It comes with a very lightweight Open Street Map
client which can be hacked up a little in order to search for places and so on.
It adds plotcharts, diagrams, network protocols and fine additions to program with.

tcclib PKGBUILD

# Maintainer:  Gabriel Souza Franco <Z2FicmllbGZyYW5jb3NvdXphQGdtYWlsLmNvbQ==>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: dtw <dibble.at.thewrecker.dot.net>
# Contributor: Mathieu Gauthier <mathgl@freesurf.fr>
# Contributor: Pawel Bogur <jid:smeagol@uaznia.net>

pkgname=tcllib
pkgver=1.21
pkgrel=1
pkgdesc="Set of pure-Tcl extensions."
arch=('any')
url="http://core.tcl.tk/tcllib/"
license=('bsd')
depends=('tcl')
source=("https://core.tcl-lang.org/tcllib/uv/tcllib-$pkgver.tar.gz")
sha256sums=('46b2bb5ec8049363ae01645af11bda3bdb5db10629e807d81d1ad46cd1bead50')

package(){
  cd "$srcdir"/tcllib-$pkgver
  tclsh installer.tcl -pkg-path "$pkgdir"/usr/lib/tcllib \
    -app-path "$pkgdir"/usr/bin \
    -nroff-path "$pkgdir"/usr/share/man/mann \
    -no-examples -no-html \
    -no-wait  -no-gui
  install -Dm644 license.terms "$pkgdir"/usr/share/licenses/$pkgname/COPYING
  for manp in graph; do
    mv "$pkgdir"/usr/share/man/mann/{,tcllib-}$manp.n
  done
}

tklib PKGBUILD

# Maintainer: Michael Schubert <mschu.dev at gmail> github.com/mschubert/PKGBUILDs
# Contributor: Thomas Dziedzic
# Contributor: Mihai Militaru <mihai dot militaru at xmpp dot ro>
pkgname=tklib
pkgver=0.7
pkgrel=1
pkgdesc='Tklib specializes in utilities for GUI programming.'
arch=('i686' 'x86_64')
url="https://core.tcl-lang.org/tklib/home"
license=('GPL')
depends=('tk' 'tcllib')
source=(https://github.com/tcltk/tklib/archive/refs/tags/tklib-$pkgver.tar.gz)
sha256sums=('93890db81a5b0cdb62c386265ec4fcdaab60824e8e6e882c7fecc69ff49afc66')

build() {
  cd $pkgname-$pkgname-$pkgver
  ./configure --prefix=/usr
  make all
}

package() {
  cd $pkgname-$pkgname-$pkgver
  make DESTDIR="$pkgdir" install
}

tkimg PKGBUILD

# Maintainer:  Andrew O'Neill <andrew at haunted dot sh>
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
# Contributor: Martin C. Doege <mdoege at compuserve dot com>
# Contributor: kotyz <kotyz.king@gmail.com>

pkgname=tkimg
_pkgname=Img
pkgver=1.4.14
pkgrel=1
pkgdesc='Provides the handling of several image formats beyond the standard formats in Tk'
url='https://wiki.tcl-lang.org/page/Img'
arch=('i686' 'x86_64')
license=('custom')
depends=('zlib' 'libjpeg' 'libpng' 'libtiff' 'tcl' 'tk' 'tcllib')
source=("https://downloads.sourceforge.net/${pkgname}/${_pkgname}-${pkgver}-Source.tar.gz")
sha256sums=('7510b1b819464f228d228a862e53d9e1d3b41c23013b73790a29f7e9165abb21')

build() {
  cd "${_pkgname}-${pkgver}-Source"

  ./configure --prefix=/usr --enable-64bit --enable-threads
  make all
}

package() {
  cd "${_pkgname}-${pkgver}-Source"

  make INSTALL_ROOT="${pkgdir}" install
  install -Dm644 license.terms "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

40

Re: [Collection] Packages never getting into the repositories or not ready

An electronic circuit simulator. Good if you are into that:

PKGBUILKD

# Maintainer: trya <tryagainprod@gmail.com>
# Contributor: dragonn <dragonn at op dot pl>

pkgname=tkgate-beta
pkgver=2.0_b10
pkgrel=2
license=('GPL')
pkgdesc="A digital circuit simulator with a tcl/tk-based graphical editor. Beta version"
depends=('tcl' 'tk' 'libsm')
conflicts=('tkgate')
url="http://www.tkgate.org"
arch=('i686' 'x86_64')
source=("http://pkgs.fedoraproject.org/repo/pkgs/tkgate/tkgate-${pkgver//_/-}.tar.gz/84ffe959868d39ec856b5ff1c70136c3/tkgate-${pkgver//_/-}.tar.gz")
md5sums=('84ffe959868d39ec856b5ff1c70136c3')

build() {
  cd ${srcdir}/tkgate-${pkgver//_/-}
  CPPFLAGS='-DUSE_INTERP_RESULT' LDFLAGS='-lm' ./configure --prefix=/usr
  make
}

package() {
  cd ${srcdir}/tkgate-${pkgver//_/-}
  make DESTDIR=${pkgdir} install
  ln -sf /usr/bin/verga ${pkgdir}/usr/share/tkgate/libexec/verga
  ln -sf /usr/bin/tkgate ${pkgdir}/usr/share/tkgate/libexec/tkgate
}

41 (edited by HarvettFox96 2023-04-21 02:43:30)

Re: [Collection] Packages never getting into the repositories or not ready

I'm a big fan of listening to MIDI music using custom soundfonts; sadly, Polyphone isn't in the repo because I wanted to create or edit it. The good thing is also I found it on the FreeBSD port.

polyphone

PKGBUILD

# Maintainer (Arch): David Runge <dvzrv@archlinux.org>
# Maintainer: Jayvee Enaguas <harvettfox96@tilde.club>

pkgname=polyphone
pkgver=2.2.0
pkgrel=1
_debver=${pkgver}
_dfsgrel=dfsg1
_debrel=3
pkgdesc="A soundfont editor for quickly designing musical instruments"
arch=('x86_64' 'i686')
url="https://polyphone-soundfonts.com/"
license=('GPL-3')
depends=('gcc-libs' 'glibc' 'hicolor-icon-theme' 'libressl' 'qt-base' 'qt-svg' 'zlib')
makedepends=('flac' 'jack2' 'libogg' 'libvorbis' 'portaudio' 'qcustomplot' 'qt-tools' 'rtmidi' 'stk')
source=(${pkgname}-${pkgver}.tar.gz::"https://github.com/davy7125/${pkgname}/archive/${pkgver}.tar.gz"
        ${pkgname}-2.2.0-qt5.15.patch::"https://github.com/davy7125/polyphone/commit/7cfa7fe96533e402dd37e533b63c3105af36cd34.patch"
        "142.patch"
        "no-gplv2-v3-mix.patch")
sha512sums=('88b4f0d951f75ed517e0942e75d543eca28c92fe8f2f99aee1d4be69f7d4fd74ee2219d7779b68b918befc8554cac5dc3f93ac9055bd8a94327e777a0725e5e3'
            'a412b16b304ea53665ae3d8a8769898e16297c9b5a57d16cc68a71e8fbd35ee938a364de5226d9cccbff4fd0b87c9d4d10f809a8fd75325a39701d895958f220'
            'cc1c8798a93c37ad31e2adb3a60d2b1e0bec28893491ab74a723dc223d308ddaad6363e9b0bf76ac23fbb91f64709c549d77a9b5d03d40bbe0d14fc567c542d8'
            'f6e124926dac46a56ac3e98c1597291abc852ff30b49789ca0e13000fd0e70d27df9234b48c16ada1fc412bb496538dbd5adae84b6a39ecc070832fabf6a9551')

prepare() {
  cd ${pkgname}-${pkgver}

  # Fix missing include required to build against qt >= 5.15.0
  patch -p1 -i ../${pkgname}-${pkgver}-qt5.15.patch

  patch -p1 -i ../142.patch
  patch -p1 -i ../no-gplv2-v3-mix.patch

  # Disable accessing the online repo that may contain soundfonts under non-libre CC licenses
  sed -i 's#s://www.polyphone-soundfonts.com/en/api/soundfonts#://127.0.0.1#' sources/repository/repositorymanager.cpp
  sed -i 's#s://www.polyphone-soundfonts.com/en/create-an-account#://127.0.0.1/#' sources/{context/interface/configsectionrepository,repository/browser/soundfontbrowser}.cpp
  sed -i 's#s://www.polyphone-soundfonts.com/en/subscribe#://127.0.0.1/#' sources/{context/interface/configsectionrepository,repository/browser/soundfontbrowser}.cpp

  sed -i 's#\"2013 -\" + QString::number(QDate::currentDate().year())#\"2013–2020\"#' sources/dialogs/dialog_about.cpp
}

build() {
  cd ${pkgname}-${pkgver}/sources

  qmake-qt5 PREFIX=/usr ${pkgname}.pro
  make
}

package() {
  cd ${pkgname}-${pkgver}/sources

  # Doesn't have an install target
  # https://github.com/davy7125/polyphone/issues/62/
  install -Dm755 bin/${pkgname} -t "${pkgdir}/usr/bin"
  install -Dm644 contrib/${pkgname}.svg -t "${pkgdir}/usr/share/icons/hicolor/scalable/apps"
  install -Dm644 resources/${pkgname}.png -t "${pkgdir}/usr/share/icons/hicolor/512x512/apps"
  install -Dm644 contrib/${pkgname}.desktop -t "${pkgdir}/usr/share/applications"
  install -Dm644 contrib/${pkgname}.1 -t "${pkgdir}/usr/share/man/man1"
  install -Dm644 contrib/${pkgname}.fr.1 -t "${pkgdir}/usr/share/man/fr/man1"
  install -Dm644 contrib/${pkgname}.xml -t "${pkgdir}/usr/share/mime/packages"
  install -Dm644 changelog -t "$pkgdir/usr/share/doc/${pkgname}"
  install -Dm644 ../LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
}

142.patch

Description: allow offset values greater than 16-bit signed integer
 A fix for issue #141, which was broken by commit
 f80fc38b406ad094a1d3d2563da5d8124818e2e3. This fix reverts to the
 use of qRound when storing offset values for sample and loop start/end.
From: "S. Christian Collins" <s_chriscollins@hotmail.com>
Origin: https://github.com/davy7125/polyphone/pull/142
Bug: https://github.com/davy7125/polyphone/issues/141

--- a/sources/core/types/attribute.cpp
+++ b/sources/core/types/attribute.cpp
@@ -181,11 +181,11 @@ AttributeValue Attribute::fromRealValue(
         break;
     case champ_startloopAddrsCoarseOffset: case champ_endloopAddrsCoarseOffset:
     case champ_startAddrsCoarseOffset: case champ_endAddrsCoarseOffset:
-        storedValue.shValue = Utils::round16(realValue) / 32768;
+        storedValue.shValue = static_cast<qint16>(qRound(realValue) / 32768);
         break;
     case champ_startloopAddrsOffset: case champ_startAddrsOffset:
     case champ_endloopAddrsOffset: case champ_endAddrsOffset:
-        storedValue.shValue = static_cast<qint16>(Utils::round16(realValue) % 32768);
+        storedValue.shValue = static_cast<qint16>(qRound(realValue) % 32768);
         break;
     case champ_keyRange: case champ_velRange:
         storedValue.rValue.byHi = static_cast<quint8>(0.001 * realValue);

no-gplv2-v3-mix.patch

Description: Remove SF3 support until legally distributable
Author(s):
- Jayvee Enaguas <harvettfox96@tilde.club>
- Thorsten Glaser <tg@debian.org>
Date: 2023-04-20 03:05:00 +0000
Bug: https://github.com/davy7125/polyphone/issues/105/
Forwarded: https://github.com/davy7125/polyphone/pull/119/

--- a/sources/polyphone.pro
+++ b/sources/polyphone.pro
@@ -179,7 +179,6 @@
     clavier \
     sound_engine \
     sound_engine/elements \
-    lib/sf3 \
     repository \
     repository/browser \
     repository/daily \
@@ -204,8 +203,6 @@
     core/input/not_supported/inputparsernotsupported.cpp \
     core/input/sf2/inputparsersf2.cpp \
     core/input/sf2/inputsf2.cpp \
-    core/input/sf3/inputparsersf3.cpp \
-    core/input/sf3/inputsf3.cpp \
     core/input/sfark/inputparsersfark.cpp \
     core/input/sfark/inputsfark.cpp \
     core/input/sfz/inputparsersfz.cpp \
@@ -287,7 +284,6 @@
     sound_engine/elements/calibrationsinus.cpp \
     sound_engine/elements/enveloppevol.cpp \
     sound_engine/elements/oscsinus.cpp \
-    lib/sf3/sfont.cpp \
     options.cpp \
     mainwindow/widgetshowhistory.cpp \
     mainwindow/widgetshowhistorycell.cpp \
@@ -438,7 +434,6 @@
     core/output/not_supported/outputnotsupported.cpp \
     core/output/sfz/sfzparamlist.cpp \
     core/output/sf2/sf2indexconverter.cpp \
-    core/output/sf3/outputsf3.cpp \
     core/input/sfz/sfzparameter.cpp \
     core/input/sfz/sfzparametergroup.cpp \
     core/input/sfz/sfzparametergroupassembly.cpp \
@@ -524,8 +519,6 @@
     core/input/not_supported/inputparsernotsupported.h \
     core/input/sf2/inputparsersf2.h \
     core/input/sf2/inputsf2.h \
-    core/input/sf3/inputparsersf3.h \
-    core/input/sf3/inputsf3.h \
     core/input/sfark/inputparsersfark.h \
     core/input/sfark/inputsfark.h \
     core/input/sfz/inputparsersfz.h \
@@ -613,7 +606,6 @@
     sound_engine/elements/calibrationsinus.h \
     sound_engine/elements/enveloppevol.h \
     sound_engine/elements/oscsinus.h \
-    lib/sf3/sfont.h \
     options.h \
     mainwindow/widgetshowhistory.h \
     mainwindow/widgetshowhistorycell.h \
@@ -772,7 +764,6 @@
     core/output/not_supported/outputnotsupported.h \
     core/output/sfz/sfzparamlist.h \
     core/output/sf2/sf2indexconverter.h \
-    core/output/sf3/outputsf3.h \
     core/input/sfz/sfzparameter.h \
     core/input/sfz/sfzparametergroup.h \
     core/input/sfz/sfzparametergroupassembly.h \

--- a/sources/core/input/inputfactory.cpp
+++ b/sources/core/input/inputfactory.cpp
@@ -28,7 +28,6 @@
 #include "abstractinputparser.h"
 #include "abstractinput.h"
 #include "sf2/inputsf2.h"
-#include "sf3/inputsf3.h"
 #include "sfz/inputsfz.h"
 #include "sfark/inputsfark.h"
 #include "grandorgue/inputgrandorgue.h"
@@ -45,10 +44,6 @@
     _inputs[input->getInputExtension().toLower()] = input;
     _orderedInputs << input;
 
-    input = new InputSf3();
-    _inputs[input->getInputExtension().toLower()] = input;
-    _orderedInputs << input;
-
     input = new InputSfz();
     _inputs[input->getInputExtension().toLower()] = input;
     _orderedInputs << input;

--- a/sources/core/output/outputfactory.cpp
+++ b/sources/core/output/outputfactory.cpp
@@ -31,7 +31,6 @@
 #include "contextmanager.h"
 #include "abstractoutput.h"
 #include "sf2/outputsf2.h"
-#include "sf3/outputsf3.h"
 #include "sfz/outputsfz.h"
 #include "not_supported/outputnotsupported.h"
 #include "empty/outputdummy.h"
@@ -54,11 +53,6 @@
             // Format sf2
             output = new OutputSf2();
         }
-        else if (extension == "sf3")
-        {
-            // Format sf3
-            output = new OutputSf3();
-        }
         else if (extension == "sfz")
         {
             // Format sfz

qcustomplot

PKGBUILD

# Maintainer (Arch): David Runge <dvzrv@archlinux.org>
# Maintainer: Jayvee Enaguas <harvettfox96@tilde.club>

pkgbase=qcustomplot
pkgname=('qcustomplot' 'qcustomplot-doc')
_name=QCustomPlot
pkgver=2.0.1
_debver=${pkgver}
_dfsgrel=dfsg1
_debrel=4
pkgrel=1
pkgdesc="Qt C++ widget for plotting and data visualization"
arch=('x86_64' 'i686')
url="https://www.qcustomplot.com/"
license=('GPL-3')
makedepends=('doxygen' 'graphviz' 'qt-tools')
source=(${pkgbase}-${pkgver}.tar.bz2::"https://gitlab.com/DerManu/${_name}/-/archive/v${pkgver}/${_name}-v${pkgver}.tar.bz2"
        ${pkgbase}-${pkgver}-source.tar.gz::"https://www.qcustomplot.com/release/${pkgver}/${_name}-source.tar.gz"
        "https://deb.debian.org/debian/pool/main/q/${pkgbase}/${pkgbase}_${_debver}+${_dfsgrel}-${_debrel}.debian.tar.xz")
sha512sums=('fb9184d517007b7c280e7122b3c14b6e49bf6b550bf41b95fe6808cc1c66c66dd82383796bfa4f43ce1ff0406e4c53e579ecc0aa2992741c5a45e5469f4bf5e8'
            'b44abbd8fd95970a829bbb6e7becc0765e24bd8f05958c8c1223303b68fb4c0a64f503cf0a2fe4fc53957e6e61a6618500475cff3e81ed0ab387a9eada2c83a3'
            '8044f7b74d101f2db4890000d48a468db7d633ad2b7dcb4175abc1e508e4d1266e402a8d74e8c0bf8897fa8a01375ebc0ab846da9d33518838ddf94088255083')

prepare() {
  cd ${_name}-v${pkgver}

  # Copy required amalgameted sources into place
  cp ../${pkgbase}-source/*.{cpp,h} .

  if [[ ${pkgver%.*} = ${_debver%.*} ]]; then
    # Debian patches
    export QUILT_PATCHES=debian/patches
    export QUILT_REFRESH_ARGS='-p ab --no-timestamps --no-index'
    export QUILT_DIFF_ARGS='--no-timestamps'

    cp -r ${srcdir}/debian .

    quilt push -av
  fi
}

build() {
  cd ${_name}-v${pkgver}

  qmake-qt5 sharedlib/sharedlib-compilation/sharedlib-compilation.pro
  make

  # Create documentation
  doxygen
  cd documentation
  qhelpgenerator html/index.qhp -o qthelp/qcustomplot.qch
  rm html/*.{md5,map,qhp}
}

package_qcustomplot() {
  depends=('qt-base')

  cd ${_name}-v${pkgver}

  # There's no install target
  install -d "${pkgdir}/usr/lib" && cp -a lib${pkgname}.so* "${pkgdir}/usr/lib"
  install -Dm644 ${pkgname}.h -t "${pkgdir}/usr/include"
  install -Dm644 changelog.txt -t "${pkgdir}/usr/share/doc/${pkgname}"
  install -Dm644 GPL.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
}

package_qcustomplot-doc() {
  pkgdesc+=" (docs)"

  cd ${_name}-v${pkgver}/documentation

  install -d "${pkgdir}/usr/share/doc/${pkgbase}" && cp -r ../examples "${pkgdir}/usr/share/doc/${pkgbase}"
  install -Dm644 qthelp/*.qch -t "${pkgdir}/usr/share/doc/qt"
  install -Dm644 html/* -t "${pkgdir}/usr/share/doc/${pkgbase}/html"
  install -Dm644 ../GPL.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
}

42 (edited by zapper 2023-04-23 00:20:26)

Re: [Collection] Packages never getting into the repositories or not ready

tk is the only graphical interface tool for window managers that isn't beyond garbage that I am aware of, that is maintained currently with its latest versions not being crap.

gtk3 is fine, qt5 is fine, anything newer is questionable as far as I know.

Unless someone can debloat and make qt6 and gtk4 usable without massive amount of software poop.

tongue

Would definitely be nice to have that. But not going to assume anyone has the time.

Probably makes more sense to work from qt5 and gtk3 to make compatibility work if needed and that too might be time draining, but less so possibly.

HyperbolaBSD: The Future of Secure Libre Lightweight Operating Systems!

43

Re: [Collection] Packages never getting into the repositories or not ready

As manuskript is deleted from our repositories we save the current package here:

PKGBUILD

# Maintainer (Arch): Balló György <ballogyor+arch at gmail dot com>
# Maintainer: Tobias Dausend <throgh@hyperbola.info>

pkgname=manuskript
pkgver=0.11.0
_debver=$pkgver
_debrel=2
pkgrel=1
pkgdesc="Provides a rich environment to help writers"
arch=('any')
url='https://www.theologeek.ch/manuskript/'
license=('GPL-3')
depends=('hicolor-icon-theme' 'python-lxml' 'python-markdown' 'python-pyenchant' 'python-pyqt' 'qt-svg')
makedepends=('quilt')
source=("https://github.com/olivierkes/${pkgname}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz"
        "https://deb.debian.org/debian/pool/main/m/manuskript/manuskript_${_debver}-${_debrel}.debian.tar.xz"
        "manuskript.appdata.xml")
sha512sums=('1f364291449a7005b0f2ab902fe2fbeb20a2c641db17b00ad57d8c131956219663520a634c33278a8df52de1a445c0e91148f9308a4a3091b9b21f7a01087d06'
            '773002ee698d28f517e42a92f7e97c731409180e46e009e51653ece697f23069c114be5d7c9fe4bb70b1c57f004a3cd9bfc8516683e697902bc0f4740ca29e0b'
            '5d80fcd3c5a54ac7ad7808fbd927aa66cb630d531bb7292c8d964354fbc5210de94abeac7823fda3d2d0dead3e29e7740562a4a8430f6694b240c7a16e4c9a8d')

prepare() {
  cd "$pkgname-$pkgver"
  if [[ ${pkgver%.*} = ${_debver%.*} ]]; then
    # Debian patches
    export QUILT_PATCHES=debian/patches
    export QUILT_REFRESH_ARGS='-p ab --no-timestamps --no-index'
    export QUILT_DIFF_ARGS='--no-timestamps'

    mv "$srcdir"/debian .

    quilt push -av
  fi
  sed -i "s|\"+appPath('libs/pdf.js/web/viewer.html')|/usr/share/pdf.js/web/viewer.html\"|" manuskript/ui/views/PDFViewer.py
  rm -r libs/pdf.js
  sed -i 's|Icon=.*|Icon=manuskript|' package/create_deb/manuskript.desktop

}

package() {
  cd $pkgname-$pkgver
  install -dm755 "$pkgdir/usr/share/manuskript/"
  cp -r manuskript icons i18n sample-projects resources "$pkgdir/usr/share/manuskript/"
  install -Dm755 package/create_deb/manuskript -t "$pkgdir/usr/bin"
  install -Dm644 package/create_deb/manuskript.desktop -t "$pkgdir/usr/share/applications"
  install -Dm644 $srcdir/$pkgname.appdata.xml -t "$pkgdir/usr/share/metainfo"
  install -Dm644 icons/Manuskript/manuskript.svg -t "$pkgdir/usr/share/icons/hicolor/scalable/apps"

  for i in 16 32 64 128 256 512; do
    install -Dm644 icons/Manuskript/icon-${i}px.png "$pkgdir/usr/share/icons/hicolor/${i}x${i}/apps/manuskript.png"
  done

  install -Dm644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname"
}

manuskript.appdata.xml

<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
  <id>ch.theologeek.manuskript</id>
  <launchable type="desktop-id">manuskript.desktop</launchable>
  <name>Manuskript</name>
  <summary>An open source tool for writers</summary>
  <metadata_license>CC0-1.0</metadata_license>
  <project_license>GPL-3.0</project_license>
  <description>
    <p>Manuskript provides a rich environment to help writers create their first draft and then further refine and edit their masterpiece.</p>
    <p>With Manuskript you can:</p>
    <ul>
      <li>Grow your premise from one sentence, to a paragraph, to a full summary</li>
      <li>Create characters</li>
      <li>Conceive plots</li>
      <li>Construct outlines (Outline mode and/or Index cards)</li>
      <li>Write with focus (Distraction free mode)</li>
      <li>Build worlds</li>
      <li>Track items</li>
      <li>Edit and re-organize chapters and scenes</li>
      <li>View Story line</li>
      <li>Compose with fiction or non-fiction templates and writing modes</li>
      <li>Import and export document formats such as HTML, ePub, OpenDocument, DocX, and more</li>
    </ul>
  </description>
  <screenshots>
    <screenshot type="default">
      <image>https://www.theologeek.ch/manuskript/wp-content/uploads/2017/11/manuskript-0.5.0-main-view.jpg</image>
    </screenshot>
  </screenshots>
  <url type="bugtracker">https://github.com/olivierkes/manuskript/issues</url>
  <url type="homepage">https://www.theologeek.ch/manuskript/</url>
</component>

Again also to remember: Everyone is invited to build own packages and share them here - under the condition those packages are completely free and libre licensed, do not demand non-free data further afterwards. We just don't need to add all packages within repositories, especially applications having further problems like rednotebook or now manuskript.

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!

44 (edited by zapper 2023-05-02 16:07:36)

Re: [Collection] Packages never getting into the repositories or not ready

Link to PKGBUILD here:

https://upload.disroot.org/r/f0DFdomR#6 … NHGF3vg9o=

And below is one part of the PKGBUILD


# Maintainer: Lubosz Sarnecki <lubosz@gmail.com>

pkgname=novelwriter-git
_pkgname=novelWriter
pkgver=2.0.7.r0.g58702a89
pkgrel=1
epoch=1
pkgdesc="Markdown-like text editor designed for writing novels and larger projects of many smaller plain text documents"
arch=(any)
url="https://github.com/vkbo/novelWriter"
license=(GPL3)
makedepends=('python-lxml' 'python-pyqt' 'git' 'python-setuptools')
depends=('python')
optdepends=('python-pyenchant')
source=('git+https://github.com/vkbo/novelWriter.git')
sha256sums=('SKIP')

pkgver() {
    cd ${_pkgname}
    git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | cut -c2-48
}

build() {
    cd ${_pkgname}
    python setup.py build
}

package() {
    cd ${_pkgname}
    python setup.py install --root=${pkgdir}/ --optimize=1

    mkdir -p ${pkgdir}/usr/share/pixmaps
    install -m0644 ${srcdir}/${_pkgname}/novelwriter/assets/icons/novelwriter.svg ${pkgdir}/usr/share/pixmaps/novelwriter.svg

    mkdir -p ${pkgdir}/usr/share/applications
    install -m0644 ${startdir}/novelwriter.desktop ${pkgdir}/usr/share/applications/novelwriter.desktop
}

Also requires .SRCINFO and novelwriter.desktop as well.

Just as an explanation.

HyperbolaBSD: The Future of Secure Libre Lightweight Operating Systems!

45

Re: [Collection] Packages never getting into the repositories or not ready

Please remember for the future: Hyperbola is LTS-focus, so we cannot support git-download at buildtime. Therefore always use static and stable marked tarballs, that can be downloaded otherwise the package will not be part of ports in the future.

The file .SRCINFO is not needed as it is either not created at a local build or created within a clean chroot-environment later on at buildtime.

The resulting package has to respect the FHS-definitions: https://wiki.hyperbola.info/doku.php?id=en:project:fhs

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!

46

Re: [Collection] Packages never getting into the repositories or not ready

Libgccjit and Emacs 28.1 (native compiled) against Lucid to
get all the performance for it. Yes, I know, if you are
blind you might like to use Orca with GTK2/3, but
Emacspeak it's much better on its own.

First it will last for long to compile the PKGBUILD as
it will build native support for your Emacs AND also
in order to compile libgccjit tests will be run so have a
little of patience. It might lasts hours or a single day
to complete building all the Elisp files to native but
the huge performance boost on older machines will earn
every cycle wasted in the previous days.

libgccjit

# Maintainer: Andrew Whatson <https://aur.archlinux.org/account/flatwhatson>
# Maintainer: ZenTauro <zentauro at riseup dot net>
# Contributor: Ruben De Smet <ruben dot de dot smet at glycos dot org>
# Contributor: Jashandeep Sohi <jashandeep.s.sohi@gmail.com>

pkgname=libgccjit
pkgver=8.4.0
pkgrel=1
pkgdesc='Just-In-Time Compilation using GCC.'
arch=('i686' 'x86_64')
license=(GPL3)
url='https://gcc.gnu.org/wiki/JIT'
makedepends=(binutils libmpc)
checkdepends=(dejagnu)
depends=(glibc libmpc "gcc-libs=$pkgver")
options=(!emptydirs)
source=(https://sourceware.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.xz)
sha256sums=('SKIP')

prepare() {
 cd "$srcdir/gcc-$pkgver"

 # Do not run fixincludes
 sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in

 # Arch Linux installs x86_64 libraries /lib
 sed -i '/m64=/s/lib64/lib/' gcc/config/i386/t-linux64

 # hack! - some configure tests for header files using "$CPP $CPPFLAGS"
 sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" {libiberty,gcc}/configure
}

build() {
 mkdir -p "$srcdir/$pkgname-build"
 cd "$srcdir/$pkgname-build"

 CFLAGS=${CFLAGS/-Werror=format-security/}
 CXXFLAGS=${CXXFLAGS/-Werror=format-security/}

 "$srcdir/gcc-$pkgver/configure" --prefix=/usr \
     --libdir=/usr/lib \
     --libexecdir=/usr/lib \
     --mandir=/usr/share/man \
     --infodir=/usr/share/info \
     --with-bugurl=https://aur.archlinux.org/packages/libgccjit/ \
     --enable-languages=jit \
     --with-linker-hash-style=gnu \
     --with-system-zlib \
     --enable-__cxa_atexit \
     --enable-cet=auto \
     --enable-checking=release \
     --enable-clocale=gnu \
     --enable-default-pie \
     --enable-default-ssp \
     --enable-gnu-indirect-function \
     --enable-gnu-unique-object \
     --enable-install-libiberty \
     --enable-linker-build-id \
     --enable-lto \
     --enable-multilib \
     --enable-plugin \
     --enable-shared \
     --enable-host-shared \
     --enable-threads=posix \
     --disable-bootstrap \
     --disable-multilib \
     --disable-libssp \
     --disable-lto \
     --disable-libquadmath \
     --disable-liboffloadmic \
     --disable-libada \
     --disable-libsanitizer \
     --disable-libquadmath-support \
     --disable-libgomp \
     --disable-libvtv \
     --disable-libsanitizer \
     --disable-libstdcxx-pch \
     --disable-libunwind-exceptions \
     --disable-werror

 make
}

package() {
 cd "$srcdir/$pkgname-build/gcc"
 make DESTDIR="$pkgdir" jit.install-common jit.install-info
}

check() {
 cd "$srcdir/$pkgname-build/gcc"
 make check-jit RUNTESTFLAGS="-v -v -v"
}

post_install() {
 [[ -x usr/bin/install-info ]] || return 0
 install-info usr/share/info/libgccjit.info.gz usr/share/info/dir 2> /dev/null
}

# vim: tabstop=1 expandtab

Emacs

# Maintainer (Arch): Juergen Hoetzel <juergen@archlinux.org>
# Contributor (Arch): Renchi Raju <renchi@green.tam.uiuc.edu>
# Maintainer: André Silva <emulatorman@hyperbola.info>
# Contributor: Jesús E. <heckyel@hyperbola.info>
# Contributor: Tobias Dausend <throgh@hyperbola.info>

pkgname=emacs
pkgver=28.2
_debver=$pkgver
_debrel=13
pkgrel=2
pkgdesc="The extensible, customizable, self-documenting real-time display editor"
arch=('i686' 'x86_64')
url='https://www.gnu.org/software/emacs/emacs.html'
license=('GPL-3')
depends=('librsvg-legacy' 'libxaw3d' 'gpm' 'giflib' 'libxpm' 'libxfixes' 'libxinerama' 'libxrandr' 'libotf' 'm17n-lib' 'hicolor-icon-theme' 'desktop-file-utils' 'alsa-lib' 'gnutls' 'jansson' 'mesa-libgl' 'libgccjit')
makedepends=('quilt')
conflicts=('emacs-headless')
provides=('emacs-headless')
source=("https://ftp.gnu.org/gnu/emacs/${pkgname}-${pkgver}.tar.xz"
        "https://deb.debian.org/debian/pool/main/e/emacs/emacs_${_debver}+1-${_debrel}.debian.tar.xz"
        "0001-fix-git-permission.patch")
sha512sums=('a7cec7e3e82367815a1442f69af54102dbfc434069810a9dec5938a6660cb8b076e6f1fb0bfff9695b15603dbbe05eb9c7dfd92e90cf40fc4d1e5746bce83bd8'
            '81fe045658856fc518e022769b62a42cd788017c0e67edba8a9d78abdd62f12e5fd8c74d1c565a57083c34e9f93f845bee04426d0ac9ec58e5f4e3e17df17668'
            '86091542c52e94d0e1ca973b64665282a590e2af57f69accf1f93326da86d217d36514b06cefdbe93b773f835f97b151b72a1f6c14c05a7066b647af707b0b6f')

prepare() {
  cd "$srcdir"/$pkgname-$pkgver
  if [[ ${pkgver%.*} = ${_debver%.*} ]]; then
    # Debian patches
    export QUILT_PATCHES=debian/patches
    export QUILT_REFRESH_ARGS='-p ab --no-timestamps --no-index'
    export QUILT_DIFF_ARGS='--no-timestamps'

    mv "$srcdir"/debian .

    # Doesn't apply
    rm -v debian/patches/0001-Prefer-usr-share-info-emacs.patch || true
    rm -v debian/patches/0002-Run-debian-startup-and-set-debian-emacs-flavor.patch || true
    rm -v debian/patches/0003-Remove-files-that-appear-to-be-incompatible-with-the.patch || true
    rm -v debian/patches/0004-Adjust-documentation-references-for-Debian.patch || true
    rm -v debian/patches/0005-Modify-the-output-of-version-to-indicate-Debian-modi.patch || true
    rm -v debian/patches/0009-Mark-vc-bzr-test-fauilt-bzr-autoloads-as-unstable-fo.patch || true
    rm -v debian/patches/0010-Mark-echo-server-with-dns-test-as-unstable-for-now.patch || true
    rm -v debian/patches/0011-emacs-module-tests-fix-VPATH-builds.patch || true
    rm -v debian/patches/0014-Skip-tests-that-require-Internet-when-there-s-no-Int.patch || true

    quilt push -av
  fi
  patch -Np1 -i "${srcdir}/0001-fix-git-permission.patch"
}

build() {
  cd "$srcdir"/$pkgname-$pkgver
  ac_cv_lib_gif_EGifPutExtensionLast=yes
  ./configure \
    --prefix=/usr \
    --sysconfdir=/etc \
    --localstatedir=/var \
    --with-x-toolkit=lucid \
    --with-xft \
    --with-modules \
    --with-wide-int \
    --with-json \
    --without-dbus \
    --without-libsystemd \
    --with-native-compilation
  make
}

package() {
  cd "$srcdir"/$pkgname-$pkgver
  make DESTDIR="$pkgdir" install

  # remove conflict with ctags package
  mv "$pkgdir"/usr/bin/{ctags,ctags.emacs}
  mv "$pkgdir"/usr/share/man/man1/{ctags.1.gz,ctags.emacs.1}

  # fix user/root permissions on usr/share files
  find "$pkgdir"/usr/share/emacs/$pkgver -exec chown root:root {} \;

  install -d "$pkgdir/usr/share/licenses/$pkgname"
  install -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}

47

Re: [Collection] Packages never getting into the repositories or not ready

But why is the headless GNU Emacs kept at a lower version than the GUI emacs?

48

Re: [Collection] Packages never getting into the repositories or not ready

Just as simple as most: We cannot do all at once. Please compare the log-history:

https://git.hyperbola.info:50100/packag … /log/emacs
https://git.hyperbola.info:50100/packag … s-headless

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!

49

Re: [Collection] Packages never getting into the repositories or not ready

throgh wrote:

Please remember for the future: Hyperbola is LTS-focus, so we cannot support git-download at buildtime. Therefore always use static and stable marked tarballs, that can be downloaded otherwise the package will not be part of ports in the future.

The file .SRCINFO is not needed as it is either not created at a local build or created within a clean chroot-environment later on at buildtime.

The resulting package has to respect the FHS-definitions: https://wiki.hyperbola.info/doku.php?id=en:project:fhs

Saw this a bit ago, but here is my reply:

they do have tarballs for novelwriter on github.com

Not sure if that matters or not. This said:

https://github.com/vkbo/novelWriter/releases

HyperbolaBSD: The Future of Secure Libre Lightweight Operating Systems!

50

Re: [Collection] Packages never getting into the repositories or not ready

Yes, those tarballs at best to be used so the resulting package is based on the stable released tarball(s). smile

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!