According to this bugreport - https://bugzilla.gnome.org/show_bug.cgi?id=764304#c6 - it would be a good idea to make this package not providing "gimp", but something like "gimp-2.99" to make it possible to install both branches in parallel.
Quote:
"Cool. Since you seem to be active there, can you tell them that
the following is wrong:
Conflicts: gimp
Provides: gimp
Replaces: gimp
gimp-3.x is completely parallel installable with gimp-2.x, nothing
conflicts, and it replaces nothing. It's a different thing with different
names for binaries, folders, libraries, everything."
I always wondered about the huge amount of "Required by"-Packages. Most of them don't even work with Gimp-2.99. Some modifications to the PKGBUILD would be necessary, but only for stuff like .desktop file and corresponding icons.
I've made the changes manually here on my system and it works really well. I would gladly provide the changes, but I'm not really into making PKGBUILDs.
Just as an example for a .desktop file:
Gimp-2.99.desktop
"[Desktop Entry]
Version=1.0
Type=Application
Name=Gimp 2.99
Name[de]=Gimp 2.99
GenericName=Image Editor
GenericName[de]=Bildeditor
Comment=Create images and edit photographs
Comment[de]=Bilder erstellen und Fotografien bearbeiten
Exec=gimp-2.99 %U
TryExec=gimp-2.99
Icon=gimp-2.99
Terminal=false
Categories=Graphics;2DGraphics;RasterGraphics;GTK;
X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Product=GIMP
X-GNOME-Bugzilla-Component=General
X-GNOME-Bugzilla-Version=2.99.0
X-GNOME-Bugzilla-OtherBinaries=gimp-2.99
StartupNotify=true
MimeType=image/bmp;image/g3fax;image/gif;image/x-fits;image/x-pcx;image/x-portable-anymap;image/x-portable-bitmap;image/x-portable-graymap;image/x-portable-pixmap;image/x-psd;image/x-sgi;image/x-tga;image/x-xbitmap;image/x-xwindowdump;image/x-xcf;image/x-compressed-xcf;image/x-gimp-gbr;image/x-gimp-pat;image/x-gimp-gih;image/tiff;image/jpeg;image/x-psp;application/postscript;image/png;image/x-icon;image/x-xpixmap;image/x-exr;image/svg+xml;image/x-wmf;image/jp2;image/jpeg2000;image/jpx;image/x-xcursor;"
Search Criteria
Package Details: gimp-git 2:3.0.0.RC1.r40.0cd0206917-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/gimp-git.git (read-only, click to copy) |
---|---|
Package Base: | gimp-git |
Description: | GNU Image Manipulation Program |
Upstream URL: | https://www.gimp.org |
Licenses: | GPL, LGPL |
Conflicts: | gimp |
Provides: | gimp |
Submitter: | None |
Maintainer: | bartus |
Last Packager: | bartus |
Votes: | 116 |
Popularity: | 0.52 |
First Submitted: | 2009-05-27 08:12 (UTC) |
Last Updated: | 2024-11-14 16:59 (UTC) |
Dependencies (57)
- appstream-glib (appstream-glib-gitAUR)
- babl-gitAUR
- cairo (cairo-gitAUR)
- dbus-glib
- desktop-file-utils (desktop-file-utils-gitAUR)
- enchant
- gegl-gitAUR
- gobject-introspection
- gtk-doc
- icu (icu-gitAUR)
- lcms2 (lcms2-ff-gitAUR, lcms2-gitAUR, lcms2-ffAUR)
- libart-lgplAUR
- libexif (libexif-gitAUR)
- libgexiv2
- librsvg (librsvg-gitAUR)
- libwmf (libwmf-gitAUR)
- mypaint-brushes1
- openexr (openexr-gitAUR)
- poppler-data
- poppler-glib (poppler-glib-gitAUR)
- aalib (make)
- alsa-lib (make)
- curl (curl-http3-ngtcp2AUR, curl-gitAUR, curl-c-aresAUR) (make)
- ghostscript (make)
- git (git-gitAUR, git-glAUR) (make)
- gjs (gjs-gitAUR) (make)
- glib-networking (glib-networking-gnutls-opensslAUR) (make)
- glib2-devel (make)
- intltool (make)
- iso-codes (make)
- libheif (libheif-gitAUR, libheif-highmemAUR) (make)
- libmng (make)
- libwebp (libwebp-gitAUR) (make)
- libxpm (libxpm-gitAUR) (make)
- libxslt (libxslt-gitAUR) (make)
- luajit (luajit-2.1-lua52-gitAUR, luajit-gitAUR, luajit-openrestyAUR) (make)
- meson (meson-gitAUR) (make)
- python-gobject (make)
- python-packaging (make)
- webkit2gtk (webkit2gtk-imgpasteAUR) (make)
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat) (make)
- xorg-server-xvfb (xorg-server-xvfb-gitAUR) (check)
- aalib (optional) – ASCII art support
- alsa-lib (optional) – for MIDI event controller module
- curl (curl-http3-ngtcp2AUR, curl-gitAUR, curl-c-aresAUR) (optional) – for URI support
- ghostscript (optional) – for postscript support
- gjs (gjs-gitAUR) (optional) – JavaScript scripting support
- gutenprint (optional) – for sophisticated printing only as gimp has built-in cups print support
- iso-codes (optional) – Language support
- libheif (libheif-gitAUR, libheif-highmemAUR) (optional) – HEIF support
- libmng (optional) – MNG support
- libwebp (libwebp-gitAUR) (optional) – WebP support
- libxpm (libxpm-gitAUR) (optional) – XPM support
- luajit (luajit-2.1-lua52-gitAUR, luajit-gitAUR, luajit-openrestyAUR) (optional) – LUA scripting support
- webkit2gtk (webkit2gtk-imgpasteAUR) (optional) – HTML renderer and web content engine
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat) (optional) – Compression routines
Required by (103)
- brscan-skey (requires gimp) (optional)
- djvupages-git (requires gimp) (optional)
- gimp-brushbox (requires gimp)
- gimp-calendar (requires gimp)
- gimp-elsamuko-git (requires gimp)
- gimp-extras (requires gimp)
- gimp-fix-ca (requires gimp)
- gimp-font-rendering-fix (requires gimp)
- gimp-fourier (requires gimp)
- gimp-gap (requires gimp)
- gimp-lensfun (requires gimp)
- gimp-ofnuts-tools (requires gimp)
- gimp-paint-studio (requires gimp)
- gimp-palletes-davidrevoy (requires gimp) (optional)
- gimp-plugin-akkana-git (requires gimp)
- gimp-plugin-arrow (requires gimp)
- gimp-plugin-astronomy (requires gimp)
- gimp-plugin-beautify (requires gimp)
- gimp-plugin-bimp (requires gimp)
- gimp-plugin-contrastfix (requires gimp)
- Show 83 more...
Sources (3)
Latest Comments
« First ‹ Previous 1 .. 30 31 32 33 34 35 36 37 38 39 40 .. 46 Next › Last »
Nordlicht commented on 2016-03-31 18:39 (UTC)
Nordlicht commented on 2016-03-31 15:20 (UTC)
I think it is a good idea, because it seems to be cleaner. And Michael Natterer is right: gimp and gimp-2.99 are two differnt and independent versions.
Also, have a look in the "Required by"-Section above. There are 140 Packages depending on gimp. I really doubt that those are working well with gimp-2.99, most of them will not work at all. Try to install "gimp-plugin-dcamnoise2", you will see that it don't works with this package here.
I don't think it is hard to make the changes to the PKGBUILD. By deleting the lines you've mentioned in your earlier comment, I got this one so far when trying to install gimp2:
error: failed to commit transaction (conflicting files)
gimp: /usr/share/aclocal/gimp-2.0.m4 exists in filesystem
gimp: /usr/share/appdata/gimp.appdata.xml exists in filesystem
gimp: /usr/share/applications/gimp.desktop exists in filesystem
gimp: /usr/share/icons/hicolor/16x16/apps/gimp.png exists in filesystem
gimp: /usr/share/icons/hicolor/22x22/apps/gimp.png exists in filesystem
gimp: /usr/share/icons/hicolor/24x24/apps/gimp.png exists in filesystem
gimp: /usr/share/icons/hicolor/256x256/apps/gimp.png exists in filesystem
gimp: /usr/share/icons/hicolor/32x32/apps/gimp.png exists in filesystem
gimp: /usr/share/icons/hicolor/48x48/apps/gimp.png exists in filesystem
Providing those files with the needed changes for your PKGBUILD isn't that hard. gimp.desktop could be easily changed and provided (testing that atm), the other files should also be no bigger problem.
ksj commented on 2016-03-31 15:09 (UTC)
Maybe it is possible, but is useful to have both version of gimp installed in the same time? I can't see the reason why to do it.
Nordlicht commented on 2016-03-31 14:32 (UTC) (edited on 2016-03-31 15:01 (UTC) by Nordlicht)
Not sure, I think he's talking about those lines in the PKGBUILD:
replaces=('gimp')
provides=('gimp')
conflicts=('gimp')
I'm not good with creating PKGBUILDs, but I guess something like this should make it possible to install the Gimp3-Branch parallel to the regular build from the repos:
replaces=('gimp-2.99')
provides=('gimp-2.99')
conflicts=('gimp-2.99')
Just an Idea, maybe someone else could give better infos about this. I will test it with those options.
Edit: You're right. Tried to install gimp from the repos beside gimp-gtk3-git and got the following:
error: failed to commit transaction (conflicting files)
gimp: /usr/bin/gimp exists in filesystem
gimp: /usr/bin/gimp-console exists in filesystem
gimp: /usr/share/aclocal/gimp-2.0.m4 exists in filesystem
gimp: /usr/share/appdata/gimp.appdata.xml exists in filesystem
gimp: /usr/share/applications/gimp.desktop exists in filesystem
gimp: /usr/share/gimp/2.0/palettes/Linux.gpl exists in filesystem
gimp: /usr/share/icons/hicolor/16x16/apps/gimp.png exists in filesystem
gimp: /usr/share/icons/hicolor/22x22/apps/gimp.png exists in filesystem
gimp: /usr/share/icons/hicolor/24x24/apps/gimp.png exists in filesystem
gimp: /usr/share/icons/hicolor/256x256/apps/gimp.png exists in filesystem
gimp: /usr/share/icons/hicolor/32x32/apps/gimp.png exists in filesystem
gimp: /usr/share/icons/hicolor/48x48/apps/gimp.png exists in filesystem
Errors occurred, no packages were upgraded.
Seems as if some corrections to the package() section are needed. Just an Idea.
ksj commented on 2016-03-31 14:23 (UTC)
You mean this package?
the last two rows in package function make this package incompatible with official gimp package
ln -s gimp-2.99 ${pkgdir}/usr/bin/gimp
ln -s gimp-console-2.99 ${pkgdir}/usr/bin/gimp-console
Do you want me to remove them?
Nordlicht commented on 2016-03-31 14:13 (UTC)
Information from Michael Natterer:
"Cool. Since you seem to be active there, can you tell them that
the following is wrong:
Conflicts: gimp
Provides: gimp
Replaces: gimp
gimp-3.x is completely parallel installable with gimp-2.x, nothing
conflicts, and it replaces nothing. It's a different thing with different
names for binaries, folders, libraries, everything."
Sounds legit.
haawda commented on 2016-03-31 11:17 (UTC)
Thank you for reporting. Not being at my Arch box right now, I cannot test myself right now, but will take your feedback as a green light for the bugreport.
Nordlicht commented on 2016-03-30 19:32 (UTC) (edited on 2016-03-30 21:54 (UTC) by Nordlicht)
Works. Many thanks! :)
Edit: The branch is rebased. Works again without the workaround.
Pinned Comments
bartus commented on 2019-08-01 19:45 (UTC) (edited on 2023-11-11 15:48 (UTC) by bartus)
Note: If you want to have both
gimp-git
and stockgimp
installed, there's a non-conflicting version of this package calledgimp-develop-git
This package is also hosted on GitHub.
Please report
issues
andpatches
to gimp-git*github.comTravis CI Status: <img alt="Build Status" src="https://travis-ci.org/bartoszek/AUR-gimp-git.svg?branch=master" />
Use env vars to control build process:
DISABLE_MESON=1
to build with Autotools build system (disabled by default)MAKEFLAGS="xxx"
to override default make flags.Usage cases:
makepkg DISABLE_MESON=1
yay -S gimp-git --mflags "DISABLE_MESON=1"
Disclaimer: Package uses Travis to automatically update version of dependencies. Script executes once a day, so please wait a day before reporting dependencies version mismatch, thanks!