Package Details: dia-git 6883.78c75625d-1

Git Clone URL: https://aur.archlinux.org/dia-git.git (read-only, click to copy)
Package Base: dia-git
Description: A GTK+ based diagram creation program
Upstream URL: https://gitlab.gnome.org/GNOME/dia
Licenses: GPL-2.0-or-later
Conflicts: dia
Provides: dia
Submitter: lilac
Maintainer: a821
Last Packager: a821
Votes: 2
Popularity: 0.028354
First Submitted: 2019-05-08 01:07 (UTC)
Last Updated: 2024-11-10 14:29 (UTC)

Latest Comments

1 2 3 4 Next › Last »

viachaslavic commented on 2024-06-23 15:49 (UTC)

@a821 Thanks! I recommend defining dependencies by common name that is specified in Provides instead of a specific package name.

weltall commented on 2024-06-14 06:25 (UTC) (edited on 2024-06-14 06:28 (UTC) by weltall)

It seems the package glib2-devel needs to be installed manually now in order for the package to build or i get this error:

Program msgmerge found: YES (/usr/bin/msgmerge)
Program xgettext found: YES (/usr/bin/xgettext)
Configuring dia-version-info.h using configuration
Found git repository at /home/user/.cache/aurman/dia-git/src/dia
Dependency glib-2.0 found: YES 2.80.3 (cached)
Program /usr/bin/glib-mkenums found: NO

dia/lib/meson.build:201:24: ERROR: Dependency 'glib-2.0' tool variable 'glib_mkenums' contains erroneous value: '/usr/bin/glib-mkenums'
This is a distributor issue -- please report it to your glib-2.0 provider.

A full log can be found at /home/user/.cache/aurman/dia-git/src/build/meson-logs/meson-log.txt

==> ERROR: A failure occurred in build().
Aborting...

a821 commented on 2024-06-09 06:42 (UTC)

@viachaslavic: Right, I hadn't considered that scenario given that I always build packages in a clean chroot. I pushed an update that forces the rebuild of xpm-pixbuf which should™ fix the issue...

Oops, I realize too late that you have already added xpm-pixbuf-git... I may switch to using that.

viachaslavic commented on 2024-06-08 22:26 (UTC) (edited on 2024-06-08 22:35 (UTC) by viachaslavic)

@a821 @RAMChYLD this can happen when building a new version if there is already one installed. During build, meson will detect the library in the system directory and will not build the subproject, as a result after updating the libxpm-pixbuf.so will be lost. To avoid this, I suggest using a separate package as dependency instead of building a subproject.

a821 commented on 2024-05-12 06:56 (UTC)

@RAMChYLD: it's weird because the file it's there. This is what I get:

$ pacman -Qo /usr/lib/libxpm-pixbuf.so.0 
/usr/lib/libxpm-pixbuf.so.0 is owned by dia-git 6871.4139f5aff-2

RAMChYLD commented on 2024-05-11 20:25 (UTC) (edited on 2024-05-11 20:25 (UTC) by RAMChYLD)

Latest pkgbuild seems to be missing out on the libxpm-pixbuf shared library when generating the final package file. I'm getting the following error:

dia: error while loading shared libraries: libxpm-pixbuf.so.0: cannot open shared object file: No such file or directory

a821 commented on 2024-05-11 10:32 (UTC)

@plp: just pushed a fix that seems to fix the build issue => change standard to C++20.

plp commented on 2024-05-10 09:51 (UTC) (edited on 2024-05-10 09:52 (UTC) by plp)

Compilation fails for me:

[517/561] Compiling C++ object plug-ins/libpdf_filter.so.p/pdf_pdf-import.cpp.o
FAILED: plug-ins/libpdf_filter.so.p/pdf_pdf-import.cpp.o
ccache c++ -Iplug-ins/libpdf_filter.so.p -Iplug-ins -I../dia/plug-ins -Ilib -I../dia/lib -Isubprojects/xpm-pixbuf -I../dia/subprojects/xpm-pixbuf -I. -I../dia -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/gio-unix-2.0 -I/usr/include/libxml2 -I/usr/include/graphene-1.0 -I/usr/lib/graphene-1.0/include -I/usr/include/poppler -I/usr/include/poppler/cpp -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu++17 -DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_3_8 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_76 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_76 -DGSEAL_ENABLE -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -fPIC -pthread -mfpmath=sse -msse -msse2 -MD -MQ plug-ins/libpdf_filter.so.p/pdf_pdf-import.cpp.o -MF plug-ins/libpdf_filter.so.p/pdf_pdf-import.cpp.o.d -o plug-ins/libpdf_filter.so.p/pdf_pdf-import.cpp.o -c ../dia/plug-ins/pdf/pdf-import.cpp
In file included from /usr/include/poppler/Object.h:44,
                 from /usr/include/poppler/OutputDev.h:42,
                 from ../dia/plug-ins/pdf/pdf-import.cpp:36:
/usr/include/poppler/goo/GooString.h:241:24: error: ‘starts_with’ has not been declared in ‘std::string’
  241 |     using std::string::starts_with;
      |                        ^~~~~~~~~~~
/usr/include/poppler/goo/GooString.h:244:24: error: ‘ends_with’ has not been declared in ‘std::string’
  244 |     using std::string::ends_with;
      |                        ^~~~~~~~~
[526/561] Merging translations for sheets/chronogram.sheet
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: dia-git-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
dia-git - exit status 4