FreeBSD Bugzilla – Attachment 237308 Details for
Bug 267043
mail/claws-mail: Add GTK2 and GTK3 options
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
additions to previously submitted patch
CLAWSgtk2gtk3.diff (text/plain), 5.29 KB, created by
Chris Hutchinson
on 2022-10-14 20:02:44 UTC
(
hide
)
Description:
additions to previously submitted patch
Filename:
MIME Type:
Creator:
Chris Hutchinson
Created:
2022-10-14 20:02:44 UTC
Size:
5.29 KB
patch
obsolete
>diff --git a/mail/claws-mail/Makefile b/mail/claws-mail/Makefile >index 972a6d89f345..bc0477a2b351 100644 >--- a/mail/claws-mail/Makefile >+++ b/mail/claws-mail/Makefile >@@ -8,32 +8,38 @@ LICENSE= GPLv3 > LICENSE_FILE= ${WRKSRC}/COPYING > > LIB_DEPENDS= libcurl.so:ftp/curl \ >- libetpan.so:mail/libetpan \ >- libexpat.so:textproc/expat2 \ >- libfontconfig.so:x11-fonts/fontconfig \ >- libfreetype.so:print/freetype2 \ >- libgcrypt.so:security/libgcrypt \ >- libgnutls.so:security/gnutls \ >- libharfbuzz.so:print/harfbuzz \ >- libnettle.so:security/nettle \ >- libsasl2.so:security/cyrus-sasl2 >+ libetpan.so:mail/libetpan \ >+ libexpat.so:textproc/expat2 \ >+ libfontconfig.so:x11-fonts/fontconfig \ >+ libfreetype.so:print/freetype2 \ >+ libgcrypt.so:security/libgcrypt \ >+ libgnutls.so:security/gnutls \ >+ libharfbuzz.so:print/harfbuzz \ >+ libnettle.so:security/nettle \ >+ libsasl2.so:security/cyrus-sasl2 \ >+ liblber.so:net/openldap26-client \ >+ libldap.so:net/openldap26-client > RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss \ > mime-support>0:misc/mime-support > > USES= autoreconf compiler:c++11-lang cpe desktop-file-utils gettext \ > gettext-tools gnome pathfix pkgconfig python:3.5+ shebangfix \ > ssl xorg >-USE_GNOME= cairo gtk20 librsvg2 >+USE_GNOME= cairo librsvg2 > USE_XORG= ice sm > SHEBANG_FILES= tools/*.pl tools/*.py tools/tb2claws-mail > > OPTIONS_DEFINE= COMPFACE DEBUG DOCS ENCHANT IPV6 LDAP NLS STARTUP \ > THEMES >-OPTIONS_DEFAULT= COMPFACE ENCHANT STARTUP THEMES >+OPTIONS_DEFAULT= COMPFACE ENCHANT GTK2 STARTUP THEMES >+OPTIONS_RADIO= BRANCH >+OPTIONS_RADIO_BRANCH= GTK2 GTK3 > OPTIONS_SUB= yes > > COMPFACE_DESC= X-Face support > ENCHANT_DESC= Spell checking support >+GTK2_DESC= Build GTK2+ release >+GTK3_DESC= Build GTK3+ release > STARTUP_DESC= Startup notification support > THEMES_DESC= Additional themes > >@@ -58,8 +64,22 @@ STARTUP_CONFIGURE_ENABLE= startup-notification > > THEMES_RUN_DEPENDS= claws-mail-themes>0:x11-themes/claws-mail-themes > >+.include <bsd.port.options.mk> >+MASTER_OPTIONS= ${PORT_OPTIONS} > .include "Makefile.claws" > >+.if ${PORT_OPTIONS:MGTK2} >+USE_GNOME+= gtk20 >+ >+PLIST_SUB+= GTK2="" >+.else >+PLIST_SUB+= GTK2="@comment " >+.endif >+ >+.if ${PORT_OPTIONS:MGTK3} >+USE_GNOME+= gtk30 >+.endif >+ > post-patch: > @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ > ${WRKSRC}/src/common/ssl.c >diff --git a/mail/claws-mail/Makefile.claws b/mail/claws-mail/Makefile.claws >index dc05c10dedf5..53ee30e66310 100644 >--- a/mail/claws-mail/Makefile.claws >+++ b/mail/claws-mail/Makefile.claws >@@ -13,6 +13,10 @@ CONFIGURE_ARGS= ${ICONV_CONFIGURE_ARG} --disable-dbus --disable-static > .include "${.CURDIR}/../claws-mail/Makefile.ver" > .include "${.CURDIR}/../claws-mail/Makefile.claws.plugins" > >+.if ${MASTER_OPTIONS:MGTK2} >+EXTRA_PATCHES+= ${.CURDIR}/../claws-mail/files/extra-patch-configure.ac >+.endif >+ > .for p in ${CLAWS_PLUGINS} > CONFIGURE_ARGS+= --disable-${p}-plugin > .endfor >diff --git a/mail/claws-mail/Makefile.ver b/mail/claws-mail/Makefile.ver >index 251cf99d6626..919bdfbb00da 100644 >--- a/mail/claws-mail/Makefile.ver >+++ b/mail/claws-mail/Makefile.ver >@@ -1 +1,10 @@ >+.if !defined(MASTER_OPTIONS) >+MASTER_OPTIONS!= ${MAKE} -C ${.CURDIR}/../claws-mail -V PORT_OPTIONS >+.endif >+ >+.if ${MASTER_OPTIONS:MGTK2} > PORTVERSION= 3.19.0 >+.endif >+.if ${MASTER_OPTIONS:MGTK3} >+PORTVERSION= 4.1.0 >+.endif >diff --git a/mail/claws-mail/distinfo b/mail/claws-mail/distinfo >index 1c824e70b128..402f91e3725c 100644 >--- a/mail/claws-mail/distinfo >+++ b/mail/claws-mail/distinfo >@@ -2,3 +2,5 @@ TIMESTAMP = 1652727190 > SHA256 (claws-mail-3.19.0.tar.xz) = 0d0c757a9975da1f97bf5309cd051c18ad6c765fefe9319276aa3a9e48229fa2 > SHA512 (claws-mail-3.19.0.tar.xz) = 88780df55873919197d3c6df5102a8eb89a586e8287419c179e1d0af839435a719814b1e3643aa783a7badeadceafda2dc3cb4a3265432b5ad3a210663922b20 > SIZE (claws-mail-3.19.0.tar.xz) = 6543188 >+SHA256 (claws-mail-4.1.0.tar.xz) = 0e1a9ca0db8d2a9e058ae30cdc7fc919779214ec3c56ee0c8a7f88cc23817a8e >+SIZE (claws-mail-4.1.0.tar.xz) = 6471604 >diff --git a/mail/claws-mail/pkg-plist b/mail/claws-mail/pkg-plist >index 32fd820e5fd6..a32b2168b30e 100644 >--- a/mail/claws-mail/pkg-plist >+++ b/mail/claws-mail/pkg-plist >@@ -97,7 +97,7 @@ include/claws-mail/gtk/about.h > include/claws-mail/gtk/authors.h > include/claws-mail/gtk/claws-marshal.h > include/claws-mail/gtk/colorlabel.h >-include/claws-mail/gtk/colorsel.h >+%%GTK2%%include/claws-mail/gtk/colorsel.h > include/claws-mail/gtk/combobox.h > include/claws-mail/gtk/description_window.h > include/claws-mail/gtk/filesel.h >@@ -105,7 +105,7 @@ include/claws-mail/gtk/foldersort.h > include/claws-mail/gtk/gtkaspell.h > include/claws-mail/gtk/gtkcmclist.h > include/claws-mail/gtk/gtkcmctree.h >-include/claws-mail/gtk/gtkcmoptionmenu.h >+%%GTK2%%include/claws-mail/gtk/gtkcmoptionmenu.h > include/claws-mail/gtk/gtksctree.h > include/claws-mail/gtk/gtkshruler.h > include/claws-mail/gtk/gtkunit.h >@@ -293,7 +293,7 @@ share/icons/hicolor/64x64/apps/claws-mail.png > %%NLS%%share/locale/nl/LC_MESSAGES/claws-mail.mo > %%NLS%%share/locale/pl/LC_MESSAGES/claws-mail.mo > %%NLS%%share/locale/pt_BR/LC_MESSAGES/claws-mail.mo >-%%NLS%%share/locale/pt_PT/LC_MESSAGES/claws-mail.mo >+%%GTK2%%%%NLS%%share/locale/pt_PT/LC_MESSAGES/claws-mail.mo > %%NLS%%share/locale/ro/LC_MESSAGES/claws-mail.mo > %%NLS%%share/locale/ru/LC_MESSAGES/claws-mail.mo > %%NLS%%share/locale/sk/LC_MESSAGES/claws-mail.mo
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
portmaster
:
maintainer-approval?
Actions:
View
|
Diff
Attachments on
bug 267043
:
237292
| 237308