Powered by Invision Power Board


  
 
Reply to this topicStart new topicStart Poll

> imagemagick version 6.x installieren
kaminkehrer
Geschrieben am: Freitag, 29.Oktober 2021, 14:45 Uhr
Quote Post


Prinz
****

Gruppe: Supporter
Beiträge: 1144
Mitgliedsnummer.: 300
Mitglied seit: 2004-02-08



Hallo,

wie kann ich auf einen plain neu installiertem gen2vdr 70 imagemagick version 6.x installieren.
Ich möchte gerne skinflatplus nutzen.
Ich möchte nicht das ganze System aktualisieren sondern auch schmutzig das imagemagick 6.x installieren.

Wie kann ich dieses in gentoo machen.

Grüße
kaminkehrer
Email Poster
Top
MegaV0lt
Geschrieben am: Samstag, 30.Oktober 2021, 07:45 Uhr
Quote Post


Professional
****

Gruppe: G2V3+User
Beiträge: 889
Mitgliedsnummer.: 544
Mitglied seit: 2005-06-01



Hatte ich damals so lösen können

CODE
echo ">=media-gfx/imagemagick-7.0.0" >> /etc/portage/package.mask/media
emerge -av media-gfx/imagemagick
Email PosterUsers WebsiteICQ
Top
kaminkehrer
Geschrieben am: Samstag, 30.Oktober 2021, 08:10 Uhr
Quote Post


Prinz
****

Gruppe: Supporter
Beiträge: 1144
Mitgliedsnummer.: 300
Mitglied seit: 2004-02-08



Danke MegaVolt,

damals ging das.
Das System ist aber mittlerweile so veraltet das kein emerge mehr durchläuft.

Ich würde das gerne irgendwie einfach lösen ohne den Rattenschwanz des gentoo Systems zu aktualisieren.

Wenn einer eine Idee bitte her damit!

Grüße
kaminkehrer

Bei mir sieht das aktuell so aus:
CODE
vdrmb1 ~ # emerge -av media-gfx/imagemagick


These are the packages that would be merged, in order:

Calculating dependencies / * ERROR: app-misc/graphlcd-base-9999::G2V-overlay failed (depend phase):
*   git-2.eclass could not be found by inherit()
*
* Call stack:                                                                                                                                    /                  *                   ebuild.sh, line 635:  Called source '/var/db/repos/G2V-overlay/app-misc/graphlcd-base/graphlcd-base-9999.ebuild'             |                  *   graphlcd-base-9999.ebuild, line  12:  Called inherit 'git-2' 'eutils' 'flag-o-matic' 'multilib'
*                   ebuild.sh, line 300:  Called die
* The specific snippet of code:                                                                                                                  -                  *              [[ -z ${location} ]] && die "${1}.eclass could not be found by inherit()"
*
* If you need support, post the output of `emerge --info '=app-misc/graphlcd-base-9999::G2V-overlay'`,
* the complete build log and the output of `emerge -pqv '=app-misc/graphlcd-base-9999::G2V-overlay'`.
* Working directory: '/usr/lib64/python3.6/site-packages'
* S: '/tmp/portage/app-misc/graphlcd-base-9999/work/graphlcd-base-9999'                                                                          -                  * ERROR: media-video/naludump-0.1.1::G2V-overlay failed (depend phase):
*   eutils: EAPI 4 not supported
*
* Call stack:                                                                                                                                    -                  *               ebuild.sh, line 635:  Called source '/var/db/repos/G2V-overlay/media-video/naludump/naludump-0.1.1.ebuild'
*   naludump-0.1.1.ebuild, line   7:  Called inherit 'eutils'                                                                                    -                  *               ebuild.sh, line 326:  Called __qa_source '/usr/portage/eclass/eutils.eclass'
*               ebuild.sh, line 111:  Called source '/usr/portage/eclass/eutils.eclass'                                                          |                  *           eutils.eclass, line  32:  Called die
* The specific snippet of code:                                                                                                                  -                  *      *) die "${ECLASS}: EAPI ${EAPI:-0} not supported";;
*
* If you need support, post the output of `emerge --info '=media-video/naludump-0.1.1::G2V-overlay'`,
* the complete build log and the output of `emerge -pqv '=media-video/naludump-0.1.1::G2V-overlay'`.
* Working directory: '/usr/lib64/python3.6/site-packages'
* S: '/tmp/portage/media-video/naludump-0.1.1/work/naludump-0.1.1'                                                                               \                  * ERROR: media-tv/epg2timers-1.5.2a::G2V-overlay failed (depend phase):
*   eutils: EAPI 0 not supported
*
* Call stack:                                                                                                                                    \                  *                  ebuild.sh, line 635:  Called source '/var/db/repos/G2V-overlay/media-tv/epg2timers/epg2timers-1.5.2a.ebuild'
*   epg2timers-1.5.2a.ebuild, line   4:  Called inherit 'eutils'                                                                                 \                  *                  ebuild.sh, line 326:  Called __qa_source '/usr/portage/eclass/eutils.eclass'
*                  ebuild.sh, line 111:  Called source '/usr/portage/eclass/eutils.eclass'
*              eutils.eclass, line  32:  Called die                                                                                              \                  * The specific snippet of code:
*      *) die "${ECLASS}: EAPI ${EAPI:-0} not supported";;
*
* If you need support, post the output of `emerge --info '=media-tv/epg2timers-1.5.2a::G2V-overlay'`,
* the complete build log and the output of `emerge -pqv '=media-tv/epg2timers-1.5.2a::G2V-overlay'`.                                             \                  * Working directory: '/usr/lib64/python3.6/site-packages'
* S: '/tmp/portage/media-tv/epg2timers-1.5.2a/work/epg2timers-1.5.2a'                                                                            -                 Exception in callback AsynchronousTask.wait()
handle: <Handle AsynchronousTask.wait()>
Traceback (most recent call last):
 File "/usr/lib64/python3.6/asyncio/events.py", line 145, in _run
   self._callback(*self._args)
 File "/usr/lib64/python3.6/site-packages/_emerge/AsynchronousTask.py", line 84, in wait
   self._wait_hook()
 File "/usr/lib64/python3.6/site-packages/_emerge/AsynchronousTask.py", line 195, in _wait_hook
   self._exit_listener_stack.pop()(self)
 File "/usr/lib64/python3.6/site-packages/portage/util/_async/AsyncScheduler.py", line 80, in _task_exit
   self._schedule()
 File "/usr/lib64/python3.6/site-packages/_emerge/PollScheduler.py", line 154, in _schedule
   self._schedule_tasks()
 File "/usr/lib64/python3.6/site-packages/portage/util/_async/AsyncScheduler.py", line 66, in _schedule_tasks
   task.start()
 File "/usr/lib64/python3.6/site-packages/_emerge/AsynchronousTask.py", line 30, in start
   self._start()
 File "/usr/lib64/python3.6/site-packages/_emerge/EbuildMetadataPhase.py", line 59, in _start
   self._async_wait()
 File "/usr/lib64/python3.6/site-packages/_emerge/AbstractPollTask.py", line 99, in _async_wait
   self._unregister()
 File "/usr/lib64/python3.6/site-packages/_emerge/EbuildMetadataPhase.py", line 147, in _unregister
   self.scheduler.remove_reader(self._files.ebuild)
AttributeError: 'NoneType' object has no attribute 'ebuild'
--Return--
> /usr/lib64/python3.6/site-packages/portage/util/_eventloop/asyncio_event_loop.py(76)_internal_caller_exception_handler()->None
-> pdb.set_trace()
(Pdb)
(Pdb)
Email Poster
Top
kaminkehrer
Geschrieben am: Samstag, 30.Oktober 2021, 08:16 Uhr
Quote Post


Prinz
****

Gruppe: Supporter
Beiträge: 1144
Mitgliedsnummer.: 300
Mitglied seit: 2004-02-08



Hallo,

darf ich das bei gentoo auch direkt als source installieren?

CODE
Install from Linux Source
ImageMagick builds on a variety of Linux and Linux-like operating systems including Linux, Solaris, FreeBSD, Mac OS X, and others. A compiler is required and fortunately almost all modern Linux systems have one. Clone the source repository:

$ git clone https://github.com/ImageMagick/ImageMagick.git ImageMagick-7.1.0
Or download ImageMagick.tar.gz from imagemagick.org or a mirror and verify the distribution against its message digest.

Next configure and compile ImageMagick. Note the pkg-config script is required so that ImageMagick can find certain optional delegate libraries on your system. To configure, type:

$ cd ImageMagick-7.1.0
$ ./configure
$ make
If build fails, try gmake instead.

For advanced users, we recommend a modules build:

$ ./configure --with-modules
If ImageMagick configured and compiled without complaint, you are ready to install it on your system. Administrator privileges are required to install. To install, type

sudo make install
You may need to configure the dynamic linker run-time bindings:

sudo ldconfig /usr/local/lib
Finally, verify the ImageMagick install worked properly, type

/usr/local/bin/convert logo: logo.gif
For a more comprehensive test, run the ImageMagick validation suite. Ghostscript and Freetype are prerequisites, otherwise expect the EPS, PS, PDF and text annotations tests to fail.

make check
Congratulations, you have a working ImageMagick distribution and you are ready to use ImageMagick to convert, compose, or edit your images or perhaps you'll want to use one of the Application Program Interfaces for C, C++, Perl, and others.

The above instructions will satisfy a great number of ImageMagick users, but we suspect a few will have additional questions or problems to consider. For example, what does one do if ImageMagick fails to configure or compile? Or what if you don't have administrator privileges and what if you don't want to install ImageMagick in the default /../usr/local folder? You will find the answer to these questions, and more, in Advanced Linux Source Installation.


Oder mag gentoo das nicht?

Danke und Grüße
kaminkehrer
Email Poster
Top
MegaV0lt
Geschrieben am: Samstag, 30.Oktober 2021, 08:45 Uhr
Quote Post


Professional
****

Gruppe: G2V3+User
Beiträge: 889
Mitgliedsnummer.: 544
Mitglied seit: 2005-06-01



Versuche doch mal die Version:
https://github.com/MegaV0lt/vdr-plugin-skinflatplus

Da sollte es auch mit ImageMagick 6 und 7 und Graphicsmagick laufen. Einstellbar im Makefile

Edit:
Im make.plgcfg
CODE
# External image lib to use: imagemagick, graphicsmagick
IMAGELIB = imagemagick


Wenn GraphicsMagick auf dem System ist, läuft es auch ohne die Anpassung
Email PosterUsers WebsiteICQ
Top
kaminkehrer
Geschrieben am: Samstag, 30.Oktober 2021, 12:59 Uhr
Quote Post


Prinz
****

Gruppe: Supporter
Beiträge: 1144
Mitgliedsnummer.: 300
Mitglied seit: 2004-02-08



Hallo MegaVolt,

Perfekt! das hat geklappt.
Ich brauchte aber nichts anpassen, da das Makefile es schon selber entscheidet
CODE
ifeq ($(IMAGELIB), imagemagick)
 $(info Compiling with ImageMagick++)
 INCLUDES += $(shell pkg-config --cflags Magick++ freetype2 fontconfig)
 LIBS += $(shell pkg-config --libs Magick++)
 DEFINES += -DIMAGEMAGICK
else ifeq ($(IMAGELIB), graphicsmagick)
 $(info Compiling with GraphicsMagick++)
 INCLUDES += $(shell pkg-config --cflags GraphicsMagick++ freetype2 fontconfig)
 LIBS += $(shell pkg-config --libs GraphicsMagick++)
else
 $(error ERROR: IMAGELIB must be either imagemagick or graphicsmagick)
endif


Danke und Grüße
kaminkehrer
Email Poster
Top
Thema wird von 1 Benutzer(n) gelesen (1 Gäste und 0 Anonyme Benutzer)
0 Mitglieder:

Topic Options Reply to this topicStart new topicStart Poll