Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Commits
fd018fa2
Commit
fd018fa2
authored
3 years ago
by
Luca Weiss
Committed by
alice
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
testing/ayatana-indicator-printers: new aport
parent
4ecb10d0
No related branches found
No related tags found
1 merge request
!29589
testing/ayatana-indicator-*: new aport
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
testing/ayatana-indicator-printers/0001-Remove-bash-ism-from-configure.ac.patch
+32
-0
32 additions, 0 deletions
...tor-printers/0001-Remove-bash-ism-from-configure.ac.patch
testing/ayatana-indicator-printers/APKBUILD
+54
-0
54 additions, 0 deletions
testing/ayatana-indicator-printers/APKBUILD
with
86 additions
and
0 deletions
testing/ayatana-indicator-printers/0001-Remove-bash-ism-from-configure.ac.patch
0 → 100644
+
32
−
0
View file @
fd018fa2
Patch-Source: https://github.com/AyatanaIndicators/ayatana-indicator-printers/commit/b4e36f43ec5ef68b05679a21c3a67ccc811034eb
From b4e36f43ec5ef68b05679a21c3a67ccc811034eb Mon Sep 17 00:00:00 2001
From: Luca Weiss <luca@z3ntu.xyz>
Date: Tue, 7 Dec 2021 21:47:00 +0100
Subject: [PATCH] Remove bash-ism from configure.ac
The += operator is not available e.g. in busybox ash. Instead of trying
to extend CUPS_CFLAGS and _LIBS, we can just set them as nothing sets
them beforehand.
---
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index 0986f8c..8919cfd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -50,8 +50,8 @@
if test "x$CUPS_CONFIG" = "xno"; then
AC_MSG_ERROR([could not find cups-config])
fi
AC_CHECK_HEADER(cups/cups.h,,AC_MSG_ERROR([could not find cups.h]))
-CUPS_CFLAGS+=`$CUPS_CONFIG --cflags`
-CUPS_LIBS+=`$CUPS_CONFIG --libs`
+CUPS_CFLAGS=`$CUPS_CONFIG --cflags`
+CUPS_LIBS=`$CUPS_CONFIG --libs`
SERVICE_CFLAGS="$SERVICE_CFLAGS $CUPS_CFLAGS"
SERVICE_LIBS="$SERVICE_LIBS $CUPS_LIBS"
--
2.34.1
This diff is collapsed.
Click to expand it.
testing/ayatana-indicator-printers/APKBUILD
0 → 100644
+
54
−
0
View file @
fd018fa2
# Contributor: Luca Weiss <luca@z3ntu.xyz>
# Maintainer: Luca Weiss <luca@z3ntu.xyz>
pkgname
=
ayatana-indicator-printers
pkgver
=
0.9.0
pkgrel
=
0
pkgdesc
=
"Ayatana Indicator Printers Applet"
url
=
"https://github.com/AyatanaIndicators/ayatana-indicator-printers"
arch
=
"all"
license
=
"GPL-3.0-only"
makedepends
=
"
autoconf
automake
cups-dev
glib-dev
gtk+3.0-dev
intltool
libayatana-indicator-dev
libdbusmenu-gtk3-dev
libtool
mate-common
"
subpackages
=
"
$pkgname
-lang"
source
=
"https://github.com/AyatanaIndicators/ayatana-indicator-printers/archive/
$pkgver
/ayatana-indicator-printers-
$pkgver
.tar.gz
0001-Remove-bash-ism-from-configure.ac.patch
"
options
=
"!check"
# no clear way to run tests
prepare
()
{
default_prepare
NOCONFIGURE
=
1 ./autogen.sh
}
build
()
{
./configure
\
--build
=
$CBUILD
\
--host
=
$CHOST
\
--prefix
=
/usr
\
--sysconfdir
=
/etc
\
--mandir
=
/usr/share/man
\
--localstatedir
=
/var
make
}
package
()
{
make
DESTDIR
=
"
$pkgdir
"
install
# Remove static library
rm
"
$pkgdir
"
/usr/lib/ayatana-indicators3/7/libayatana-printersmenu.a
}
sha512sums
=
"
b5c02f9c1afb465086963ca487dbc5f8688e7b5a499f7685a354577d9e139df52b086e0c006e9cd2a5085df7e2dd385b7ccc42eb942ebb640627f17cefb97f9b ayatana-indicator-printers-0.9.0.tar.gz
e65dc339bbda519a61d2125da77713ca8be2e6503a3abd89dcc69e61fd053a0440a67f4e6bb98eb2787a3f2b85b19b4643a5281698a53a4148d5a291d5818188 0001-Remove-bash-ism-from-configure.ac.patch
"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment