public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Adolf Belka <adolf.belka@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: [PATCH 1/4] gd: Update to version 2.3.3
Date: Thu, 23 Sep 2021 16:56:06 +0200	[thread overview]
Message-ID: <13db655a-5d6d-f638-81a6-b3e1ae58b6cb@ipfire.org> (raw)
In-Reply-To: <7837DC61-B355-4260-AFB0-4C839B206051@ipfire.org>

[-- Attachment #1: Type: text/plain, Size: 3401 bytes --]

Hi Michael,

On 23/09/2021 14:45, Michael Tremer wrote:
> Hello,
> 
>> On 23 Sep 2021, at 13:24, Adolf Belka <adolf.belka(a)ipfire.org> wrote:
>>
>> - Update from 2.0.33 (2006) to 2.3.3 (Sep 2021)
>> - Updating gd requires GD-Graph and perl-GD to be updated otherwise the png graphs
>>    didn't work so all required changes are part of this patch series
> 
> We no longer have PNG graphs. At least not from rrdtool.
> 
> Is this vnstat maybe?
They are still used for the pie charts in the logs section.
firewalllogip.dat - line 400
firewalllogport.dat - line 400
firewalllogcountry.dat - line 427.

Regards,
Adolf.
> 
> -Michael
> 
>> - Update rootfile
>> - Dependencies checked from library so bump. Nothing found.
>> - Changelog is too large to include here.
>>    For full details see https://github.com/libgd/libgd/releases
>>
>> Tested-by: Adolf Belka <adolf.belka(a)ipfire.org>
>> Signed-off-by: Adolf Belka <adolf.belka(a)ipfire.org>
>> ---
>> config/rootfiles/common/gd | 13 +++++++------
>> lfs/gd                     | 15 +++++++++------
>> 2 files changed, 16 insertions(+), 12 deletions(-)
>>
>> diff --git a/config/rootfiles/common/gd b/config/rootfiles/common/gd
>> index 09366b717..434102084 100644
>> --- a/config/rootfiles/common/gd
>> +++ b/config/rootfiles/common/gd
>> @@ -4,15 +4,15 @@
>> #usr/bin/gd2togif
>> #usr/bin/gd2topng
>> #usr/bin/gdcmpgif
>> -#usr/bin/gdlib-config
>> #usr/bin/gdparttopng
>> #usr/bin/gdtopng
>> #usr/bin/giftogd2
>> #usr/bin/pngtogd
>> #usr/bin/pngtogd2
>> #usr/bin/webpng
>> -#usr/include/entities.h
>> #usr/include/gd.h
>> +#usr/include/gd_color_map.h
>> +#usr/include/gd_errors.h
>> #usr/include/gd_io.h
>> #usr/include/gdcache.h
>> #usr/include/gdfontg.h
>> @@ -21,8 +21,9 @@
>> #usr/include/gdfonts.h
>> #usr/include/gdfontt.h
>> #usr/include/gdfx.h
>> -#usr/lib/libgd.a
>> +#usr/include/gdpp.h
>> #usr/lib/libgd.la
>> -usr/lib/libgd.so
>> -usr/lib/libgd.so.2
>> -usr/lib/libgd.so.2.0.0
>> +#usr/lib/libgd.so
>> +usr/lib/libgd.so.3
>> +usr/lib/libgd.so.3.0.11
>> +#usr/lib/pkgconfig/gdlib.pc
>> diff --git a/lfs/gd b/lfs/gd
>> index 134d2fccd..d4a593fbf 100644
>> --- a/lfs/gd
>> +++ b/lfs/gd
>> @@ -24,10 +24,10 @@
>>
>> include Config
>>
>> -VER        = 2.0.33
>> +VER        = 2.3.3
>>
>> -THISAPP    = gd-$(VER)
>> -DL_FILE    = $(THISAPP).tar.gz
>> +THISAPP    = libgd-$(VER)
>> +DL_FILE    = $(THISAPP).tar.xz
>> DL_FROM    = $(URL_IPFIRE)
>> DIR_APP    = $(DIR_SRC)/$(THISAPP)
>> TARGET     = $(DIR_INFO)/$(THISAPP)
>> @@ -40,7 +40,7 @@ objects = $(DL_FILE)
>>
>> $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
>>
>> -$(DL_FILE)_MD5 = be0a6d326cd8567e736fbc75df0a5c45
>> +$(DL_FILE)_MD5 = 7a58b54d375eda236414201252a0ee3c
>>
>> install : $(TARGET)
>>
>> @@ -69,9 +69,12 @@ $(subst %,%_MD5,$(objects)) :
>>
>> $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
>> 	@$(PREBUILD)
>> -	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
>> +	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
>> 	$(UPDATE_AUTOMAKE)
>> -	cd $(DIR_APP) && ./configure --prefix=/usr --disable-nls
>> +	cd $(DIR_APP) && ./configure \
>> +			--prefix=/usr \
>> +			--disable-static \
>> +			--without-tiff
>> 	cd $(DIR_APP) && make $(MAKETUNING)
>> 	cd $(DIR_APP) && make install
>> 	@rm -rf $(DIR_APP)
>> -- 
>> 2.33.0
>>
> 

  reply	other threads:[~2021-09-23 14:56 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-23 12:24 Adolf Belka
2021-09-23 12:24 ` [PATCH 2/4] perl-GD: Update to version 2.73 Adolf Belka
2021-09-23 12:24 ` [PATCH 3/4] ExtUtils-PkgConfig: Build of this required for latest version of perl-GD Adolf Belka
2021-09-23 12:24 ` [PATCH 4/4] GD-Graph: Update to version 1.54 Adolf Belka
2021-09-23 12:45 ` [PATCH 1/4] gd: Update to version 2.3.3 Michael Tremer
2021-09-23 14:56   ` Adolf Belka [this message]
2021-09-23 16:03     ` Matthias Fischer
2021-09-23 16:52       ` Matthias Fischer
2021-09-24 13:47         ` Adolf Belka
2021-09-24 10:40     ` Michael Tremer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=13db655a-5d6d-f638-81a6-b3e1ae58b6cb@ipfire.org \
    --to=adolf.belka@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox