Install pal command line calendar

It shows in the AUR repository site but not under pacman. I have a .rpm of it if that is installable. Thanks in advance.

Hi,

pacman does not work with the AUR.
(pamac can if you enable it)

https://wiki.manjaro.org/index.php/Arch_User_Repository

And for more general package management

https://wiki.manjaro.org/index.php/Main_Page#Software_Management

It is very simple to install ā€¦ just please read the introduction/tutorial.

1 Like

Thanks for the speedy response, but I ran into a problem. Did I use the correct method to quote the terminal output?

 [gcc] output.c
output.c: In function ā€˜pal_output_text_weekā€™:
output.c:252:21: error: format not a string literal and no format arguments [-Werror=format-security]
  252 |             g_print(utf8_buf);
      |                     ^~~~~~~~
output.c:273:21: error: format not a string literal and no format arguments [-Werror=format-security]
  273 |             g_print(utf8_buf);
      |                     ^~~~~~~~
cc1: some warnings being treated as errors
make: *** [Makefile:59: tmp.opt/output.o] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
*emphasized text*

I dont know ā€¦ it looks like you missed parts of the output during copying.

The pal package on the AUR hasnā€™t been updated since 2015-06-17. There is pal-git which you could try

pamac build pal-git

Does this help?

[ion@ion-office ~]$ pamac build  pal
Preparing...
Cloning pal build files...
Generating pal information...
Checking pal dependencies...
cp: cannot create regular file '/tmp/pamac/dbs/sync/pamac_aur.db': Permission denied
Resolving dependencies...
Checking inter-conflicts...

To build (1):
  pal-git  0.4.4-1    AUR


Edit build files : [e] 
Apply transaction ? [e/y/N] y

Cloning pal-git build files...
Generating pal-git information...

Building pal-git...
==> Making package: pal-git 0.4.4-1 (Thu 06 Jan 2022 10:22:33 CST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning palcal git repo...
Cloning into bare repository '/var/tmp/pamac-build-ion/pal-git/palcal'...
remote: Enumerating objects: 93, done.
remote: Total 93 (delta 0), reused 0 (delta 0), pack-reused 93
Receiving objects: 100% (93/93), 168.85 KiB | 868.00 KiB/s, done.
Resolving deltas: 100% (28/28), done.
==> Validating source files with sha256sums...
    palcal ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of palcal git repo...
Cloning into 'palcal'...
done.
==> Starting prepare()...
==> Starting build()...
 [deps] tmp.deps/manage.d
 [deps] tmp.deps/search.d
 [deps] tmp.deps/remind.d
 [deps] tmp.deps/del.d
 [deps] tmp.deps/edit.d
 [deps] tmp.deps/add.d
 [deps] tmp.deps/latex.d
 [deps] tmp.deps/html.d
 [deps] tmp.deps/rl.d
 [deps] tmp.deps/event.d
 [deps] tmp.deps/input.d
 [deps] tmp.deps/output.d
 [deps] tmp.deps/colorize.d
 [deps] tmp.deps/main.d
Using CFLAGS: -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection 
Using CPPFLAGS: -I/usr/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -DPAL_VERSION="0.4.4" -DPREFIX="/usr"
Using LDFLAGS:  -lglib-2.0  -lreadline -lncurses
 [gcc] main.c
main.c: In function ā€˜view_detailsā€™:
main.c:399:13: warning: ā€˜g_memdupā€™ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations]
  399 |             starting_date = g_memdup(to_show, sizeof(GDate));
      |             ^~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:82,
                 from main.c:28:
/usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here
  257 | gpointer              g_memdup         (gconstpointer mem,
      |                       ^~~~~~~~
 [gcc] colorize.c
 [gcc] output.c
output.c: In function ā€˜pal_output_text_weekā€™:
output.c:252:21: error: format not a string literal and no format arguments [-Werror=format-security]
  252 |             g_print(utf8_buf);
      |                     ^~~~~~~~
output.c:273:21: error: format not a string literal and no format arguments [-Werror=format-security]
  273 |             g_print(utf8_buf);
      |                     ^~~~~~~~
cc1: some warnings being treated as errors
make: *** [Makefile:59: tmp.opt/output.o] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
[ion@ion-office ~]$

I get the same error as from ā€œpamac build palā€.

same output with yay on arch :point_down:

Screenshot_20220106_215848

i guess something is wrong with pal only. it was last updated in 2015 and pal-git was last updated in 2018.

you might want to give khal a try :wink:

The problem with switching to another application is transferring all my data from pal. I tried that with calcurse and it failed. Iā€™m not too keen to spend a long time typing in my data yet once again.