head 1.18; access; symbols pkgsrc-2023Q4:1.18.0.84 pkgsrc-2023Q4-base:1.18 pkgsrc-2023Q3:1.18.0.82 pkgsrc-2023Q3-base:1.18 pkgsrc-2023Q2:1.18.0.80 pkgsrc-2023Q2-base:1.18 pkgsrc-2023Q1:1.18.0.78 pkgsrc-2023Q1-base:1.18 pkgsrc-2022Q4:1.18.0.76 pkgsrc-2022Q4-base:1.18 pkgsrc-2022Q3:1.18.0.74 pkgsrc-2022Q3-base:1.18 pkgsrc-2022Q2:1.18.0.72 pkgsrc-2022Q2-base:1.18 pkgsrc-2022Q1:1.18.0.70 pkgsrc-2022Q1-base:1.18 pkgsrc-2021Q4:1.18.0.68 pkgsrc-2021Q4-base:1.18 pkgsrc-2021Q3:1.18.0.66 pkgsrc-2021Q3-base:1.18 pkgsrc-2021Q2:1.18.0.64 pkgsrc-2021Q2-base:1.18 pkgsrc-2021Q1:1.18.0.62 pkgsrc-2021Q1-base:1.18 pkgsrc-2020Q4:1.18.0.60 pkgsrc-2020Q4-base:1.18 pkgsrc-2020Q3:1.18.0.58 pkgsrc-2020Q3-base:1.18 pkgsrc-2020Q2:1.18.0.54 pkgsrc-2020Q2-base:1.18 pkgsrc-2020Q1:1.18.0.34 pkgsrc-2020Q1-base:1.18 pkgsrc-2019Q4:1.18.0.56 pkgsrc-2019Q4-base:1.18 pkgsrc-2019Q3:1.18.0.52 pkgsrc-2019Q3-base:1.18 pkgsrc-2019Q2:1.18.0.50 pkgsrc-2019Q2-base:1.18 pkgsrc-2019Q1:1.18.0.48 pkgsrc-2019Q1-base:1.18 pkgsrc-2018Q4:1.18.0.46 pkgsrc-2018Q4-base:1.18 pkgsrc-2018Q3:1.18.0.44 pkgsrc-2018Q3-base:1.18 pkgsrc-2018Q2:1.18.0.42 pkgsrc-2018Q2-base:1.18 pkgsrc-2018Q1:1.18.0.40 pkgsrc-2018Q1-base:1.18 pkgsrc-2017Q4:1.18.0.38 pkgsrc-2017Q4-base:1.18 pkgsrc-2017Q3:1.18.0.36 pkgsrc-2017Q3-base:1.18 pkgsrc-2017Q2:1.18.0.32 pkgsrc-2017Q2-base:1.18 pkgsrc-2017Q1:1.18.0.30 pkgsrc-2017Q1-base:1.18 pkgsrc-2016Q4:1.18.0.28 pkgsrc-2016Q4-base:1.18 pkgsrc-2016Q3:1.18.0.26 pkgsrc-2016Q3-base:1.18 pkgsrc-2016Q2:1.18.0.24 pkgsrc-2016Q2-base:1.18 pkgsrc-2016Q1:1.18.0.22 pkgsrc-2016Q1-base:1.18 pkgsrc-2015Q4:1.18.0.20 pkgsrc-2015Q4-base:1.18 pkgsrc-2015Q3:1.18.0.18 pkgsrc-2015Q3-base:1.18 pkgsrc-2015Q2:1.18.0.16 pkgsrc-2015Q2-base:1.18 pkgsrc-2015Q1:1.18.0.14 pkgsrc-2015Q1-base:1.18 pkgsrc-2014Q4:1.18.0.12 pkgsrc-2014Q4-base:1.18 pkgsrc-2014Q3:1.18.0.10 pkgsrc-2014Q3-base:1.18 pkgsrc-2014Q2:1.18.0.8 pkgsrc-2014Q2-base:1.18 pkgsrc-2014Q1:1.18.0.6 pkgsrc-2014Q1-base:1.18 pkgsrc-2013Q4:1.18.0.4 pkgsrc-2013Q4-base:1.18 pkgsrc-2013Q3:1.18.0.2 pkgsrc-2013Q3-base:1.18 pkgsrc-2013Q2:1.16.0.22 pkgsrc-2013Q2-base:1.16 pkgsrc-2013Q1:1.16.0.20 pkgsrc-2013Q1-base:1.16 pkgsrc-2012Q4:1.16.0.18 pkgsrc-2012Q4-base:1.16 pkgsrc-2012Q3:1.16.0.16 pkgsrc-2012Q3-base:1.16 pkgsrc-2012Q2:1.16.0.14 pkgsrc-2012Q2-base:1.16 pkgsrc-2012Q1:1.16.0.12 pkgsrc-2012Q1-base:1.16 pkgsrc-2011Q4:1.16.0.10 pkgsrc-2011Q4-base:1.16 pkgsrc-2011Q3:1.16.0.8 pkgsrc-2011Q3-base:1.16 pkgsrc-2011Q2:1.16.0.6 pkgsrc-2011Q2-base:1.16 pkgsrc-2011Q1:1.16.0.4 pkgsrc-2011Q1-base:1.16 pkgsrc-2010Q4:1.16.0.2 pkgsrc-2010Q4-base:1.16 pkgsrc-2010Q3:1.15.0.12 pkgsrc-2010Q3-base:1.15 pkgsrc-2010Q2:1.15.0.10 pkgsrc-2010Q2-base:1.15 pkgsrc-2010Q1:1.15.0.8 pkgsrc-2010Q1-base:1.15 pkgsrc-2009Q4:1.15.0.6 pkgsrc-2009Q4-base:1.15 pkgsrc-2009Q3:1.15.0.4 pkgsrc-2009Q3-base:1.15 pkgsrc-2009Q2:1.15.0.2 pkgsrc-2009Q2-base:1.15 pkgsrc-2009Q1:1.14.0.28 pkgsrc-2009Q1-base:1.14 pkgsrc-2008Q4:1.14.0.26 pkgsrc-2008Q4-base:1.14 pkgsrc-2008Q3:1.14.0.24 pkgsrc-2008Q3-base:1.14 cube-native-xorg:1.14.0.22 cube-native-xorg-base:1.14 pkgsrc-2008Q2:1.14.0.20 pkgsrc-2008Q2-base:1.14 cwrapper:1.14.0.18 pkgsrc-2008Q1:1.14.0.16 pkgsrc-2008Q1-base:1.14 pkgsrc-2007Q4:1.14.0.14 pkgsrc-2007Q4-base:1.14 pkgsrc-2007Q3:1.14.0.12 pkgsrc-2007Q3-base:1.14 pkgsrc-2007Q2:1.14.0.10 pkgsrc-2007Q2-base:1.14 pkgsrc-2007Q1:1.14.0.8 pkgsrc-2007Q1-base:1.14 pkgsrc-2006Q4:1.14.0.6 pkgsrc-2006Q4-base:1.14 pkgsrc-2006Q3:1.14.0.4 pkgsrc-2006Q3-base:1.14 pkgsrc-2006Q2:1.14.0.2 pkgsrc-2006Q2-base:1.14 pkgsrc-2006Q1:1.13.0.2 pkgsrc-2006Q1-base:1.13 pkgsrc-2005Q4:1.10.0.2 pkgsrc-2005Q4-base:1.10 pkgsrc-2005Q3:1.9.0.10 pkgsrc-2005Q3-base:1.9 pkgsrc-2005Q2:1.9.0.8 pkgsrc-2005Q2-base:1.9 pkgsrc-2005Q1:1.9.0.6 pkgsrc-2005Q1-base:1.9 pkgsrc-2004Q4:1.9.0.4 pkgsrc-2004Q4-base:1.9 pkgsrc-2004Q3:1.9.0.2 pkgsrc-2004Q3-base:1.9 pkgsrc-2004Q2:1.8.0.2 pkgsrc-2004Q2-base:1.8 pkgsrc-2004Q1:1.6.0.2 pkgsrc-2004Q1-base:1.6; locks; strict; comment @# @; 1.18 date 2013.07.18.13.10.03; author wiz; state Exp; branches; next 1.17; commitid IwPR3JIu7qtV9XXw; 1.17 date 2013.07.17.19.43.23; author hauke; state Exp; branches; next 1.16; commitid VLKtT8kKQNZkmRXw; 1.16 date 2010.11.15.18.28.45; author drochner; state Exp; branches; next 1.15; 1.15 date 2009.06.14.22.58.11; author joerg; state Exp; branches; next 1.14; 1.14 date 2006.06.15.22.13.59; author jlam; state Exp; branches; next 1.13; 1.13 date 2006.03.14.11.35.00; author tron; state Exp; branches; next 1.12; 1.12 date 2006.03.14.01.14.35; author jlam; state Exp; branches; next 1.11; 1.11 date 2005.12.29.06.22.25; author jlam; state Exp; branches; next 1.10; 1.10 date 2005.12.05.20.51.17; author rillig; state Exp; branches; next 1.9; 1.9 date 2004.06.20.20.12.20; author jmmv; state Exp; branches; next 1.8; 1.8 date 2004.04.27.22.43.29; author snj; state Exp; branches; next 1.7; 1.7 date 2004.04.12.21.21.19; author jmmv; state Exp; branches; next 1.6; 1.6 date 2004.02.12.15.31.56; author minskim; state Exp; branches; next 1.5; 1.5 date 2004.02.12.12.07.41; author jmmv; state Exp; branches; next 1.4; 1.4 date 2004.02.10.02.04.54; author xtraeme; state Exp; branches; next 1.3; 1.3 date 2004.01.26.14.59.46; author jmmv; state Exp; branches; next 1.2; 1.2 date 2004.01.26.11.06.05; author jmmv; state Exp; branches; next 1.1; 1.1 date 2004.01.22.12.38.47; author jmmv; state Exp; branches; next ; desc @@ 1.18 log @Fix previous. See PR 48059. @ text @# $NetBSD: modules.mk,v 1.17 2013/07/17 19:43:23 hauke Exp $ # # This Makefile fragment is intended to be included by packages that install # GTK2 modules. It takes care of rebuilding the corresponding databases at # (de)installation time. # # The following variables can be defined: # GTK2_IMMODULES - Set to YES if the package installs immodules. # .if !defined(GTK2_MODULES_MK) GTK2_MODULES_MK= # defined GTK_QUERY_IMMODULES= ${BUILDLINK_PREFIX.gtk2}/bin/gtk-query-immodules-2.0 .if defined(_BUILDING_GTK2) BUILDLINK_PREFIX.gtk2= ${PREFIX} GTK2_IMMODULES= YES .endif .if defined(GTK2_IMMODULES) && !empty(GTK2_IMMODULES:M[Yy][Ee][Ss]) FILES_SUBST+= GTK_IMMODULES_DB=${GTK_IMMODULES_DB:Q} FILES_SUBST+= GTK_QUERY_IMMODULES=${GTK_QUERY_IMMODULES:Q} GTK_IMMODULES_DB= ${BUILDLINK_PREFIX.gtk2}/lib/gtk-2.0/2.10.0/immodules.cache INSTALL_TEMPLATES+= ../../x11/gtk2/files/immodules.tmpl DEINSTALL_TEMPLATES+= ../../x11/gtk2/files/immodules.tmpl .endif PRINT_PLIST_AWK+= /^libdata\/gtk-2.0/ { next; } .if !defined(_BUILDING_GTK2) . include "../../x11/gtk2/buildlink3.mk" .endif .endif # GTK2_MODULES_MK @ 1.17 log @Patch as submitted in PR pkg/48059: "x11/gtk2 updated to 2.24.20. This version changed location of "immodules.cache". But, post-install/deinstall process for pkgsrc is not changed in last update. This update make a bug for immodule user." @ text @d1 1 a1 1 # $NetBSD: modules.mk,v 1.16 2010/11/15 18:28:45 drochner Exp $ d24 1 a24 1 GTK_IMMODULES_DB= ${BUILDLINK_PREFIX.gtk2}/libdata/gtk-2.0/immodules.cache @ 1.16 log @update to 2.22.0 This switches to the gnome-2.32 release branch @ text @d1 1 a1 1 # $NetBSD: modules.mk,v 1.15 2009/06/14 22:58:11 joerg Exp $ d24 1 a24 1 GTK_IMMODULES_DB= ${BUILDLINK_PREFIX.gtk2}/libdata/gtk-2.0/gtk.immodules @ 1.15 log @Remove @@dirrm related logic. @ text @d1 1 a1 1 # $NetBSD: modules.mk,v 1.14 2006/06/15 22:13:59 jlam Exp $ a8 1 # GTK2_LOADERS - Set to YES if the package installs pixbuf loaders. a14 1 GDK_PIXBUF_QUERY_LOADERS= ${BUILDLINK_PREFIX.gtk2}/bin/gdk-pixbuf-query-loaders a18 1 GTK2_LOADERS= YES a28 8 .if defined(GTK2_LOADERS) && !empty(GTK2_LOADERS:M[Yy][Ee][Ss]) FILES_SUBST+= GDK_PIXBUF_LOADERS_DB=${GDK_PIXBUF_LOADERS_DB:Q} FILES_SUBST+= GDK_PIXBUF_QUERY_LOADERS=${GDK_PIXBUF_QUERY_LOADERS:Q} GDK_PIXBUF_LOADERS_DB= ${BUILDLINK_PREFIX.gtk2}/libdata/gtk-2.0/gdk-pixbuf.loaders INSTALL_TEMPLATES+= ../../x11/gtk2/files/loaders.tmpl DEINSTALL_TEMPLATES+= ../../x11/gtk2/files/loaders.tmpl .endif @ 1.14 log @Pluralize INSTALL_TEMPLATE and DEINSTALL_TEMPLATE variable names as per the pkglint warning: As {INSTALL,DEINSTALL}_TEMPLATE is modified using "+=", its name should indicate plural. This does make the variables a bit more suggestive of the fact that they hold lists of values. @ text @d1 1 a1 1 # $NetBSD: modules.mk,v 1.13 2006/03/14 11:35:00 tron Exp $ a40 1 PRINT_PLIST_AWK+= /^@@dirrm libdata\/gtk-2.0/ { next; } @ 1.13 log @Fix a bug in the recent package install framework related changes. The file "${PREFIX}/libdata/gtk-2.0/gdk-pixbuf.loaders" was not generated which broke the build of at least the "xchat" package. Bump package revision after this fix. @ text @d1 1 a1 1 # $NetBSD: modules.mk,v 1.12 2006/03/14 01:14:35 jlam Exp $ d28 2 a29 2 INSTALL_TEMPLATE+= ../../x11/gtk2/files/immodules.tmpl DEINSTALL_TEMPLATE+= ../../x11/gtk2/files/immodules.tmpl d36 2 a37 2 INSTALL_TEMPLATE+= ../../x11/gtk2/files/loaders.tmpl DEINSTALL_TEMPLATE+= ../../x11/gtk2/files/loaders.tmpl @ 1.12 log @Modify the pkginstall framework so that it manages all aspects of INSTALL/DEINSTALL script creation within pkgsrc. If an INSTALL or DEINSTALL script is found in the package directory, it is automatically used as a template for the pkginstall-generated scripts. If instead, they should be used simply as the full scripts, then the package Makefile should set INSTALL_SRC or DEINSTALL_SRC explicitly, e.g.: INSTALL_SRC= ${PKGDIR}/INSTALL DEINSTALL_SRC= # emtpy As part of the restructuring of the pkginstall framework internals, we now *always* generate temporary INSTALL or DEINSTALL scripts. By comparing these temporary scripts with minimal INSTALL/DEINSTALL scripts formed from only the base templates, we determine whether or not the INSTALL/DEINSTALL scripts are actually needed by the package (see the generate-install-scripts target in bsd.pkginstall.mk). In addition, more variables in the framework have been made private. The *_EXTRA_TMPL variables have been renamed to *_TEMPLATE, which are more sensible names given the very few exported variables in this framework. The only public variables relating to the templates are: INSTALL_SRC INSTALL_TEMPLATE DEINSTALL_SRC DEINSTALL_TEMPLATE HEADER_TEMPLATE The packages in pkgsrc have been modified to reflect the changes in the pkginstall framework. @ text @d1 1 a1 1 # $NetBSD: modules.mk,v 1.11 2005/12/29 06:22:25 jlam Exp $ d36 2 a37 2 INSTALL_EXTRA_TMPL+= ../../x11/gtk2/files/loaders.tmpl DEINSTALL_EXTRA_TMPL+= ../../x11/gtk2/files/loaders.tmpl @ 1.11 log @Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk automatically detects whether we want the pkginstall machinery to be used by the package Makefile. @ text @d1 1 a1 1 # $NetBSD: modules.mk,v 1.10 2005/12/05 20:51:17 rillig Exp $ d28 2 a29 2 INSTALL_EXTRA_TMPL+= ../../x11/gtk2/files/immodules.tmpl DEINSTALL_EXTRA_TMPL+= ../../x11/gtk2/files/immodules.tmpl @ 1.10 log @Fixed pkglint warnings. The warnings are mostly quoting issues, for example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some other changes are outlined in http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html @ text @d1 1 a1 1 # $NetBSD: modules.mk,v 1.9 2004/06/20 20:12:20 jmmv Exp $ a29 1 USE_PKGINSTALL= YES a37 1 USE_PKGINSTALL= YES @ 1.9 log @Update to 2.4.3. While here, rework the way the libdata/ files are handled by creating/deleting them from the (de)install scripts (and not registered in the PLIST). This allows pkg_tarup to work properly and also avoids some warnings during 'make replace'. Changes since 2.4.2: * GtkButton - Give extra space to children of !CAN_FOCUS buttons [Matthias Clasen] * GtkFileChooser - Make DND work when the dialog is modal [Federico Mena Quintero] * GtkToolbar - Don't show empty overflow menu [Soeren Sandmann] - Don't show initial separator in overflow menu [Soeren] - Handle dynamic changes to overflow menu [Soeren] * Documentation improvements [Bastien Nocera, Matthias] * Other bug fixes [Matthias, Soeren, Sven Neumann] * Updated translations (hu,ne) @ text @d1 1 a1 1 # $NetBSD: modules.mk,v 1.8 2004/04/27 22:43:29 snj Exp $ d25 2 a26 2 FILES_SUBST+= GTK_IMMODULES_DB="${GTK_IMMODULES_DB}" FILES_SUBST+= GTK_QUERY_IMMODULES="${GTK_QUERY_IMMODULES}" d34 2 a35 2 FILES_SUBST+= GDK_PIXBUF_LOADERS_DB="${GDK_PIXBUF_LOADERS_DB}" FILES_SUBST+= GDK_PIXBUF_QUERY_LOADERS="${GDK_PIXBUF_QUERY_LOADERS}" @ 1.8 log @Remove buildlink2 support, as all packages including this file are using buildlink3. @ text @d1 1 a1 1 # $NetBSD: modules.mk,v 1.7 2004/04/12 21:21:19 jmmv Exp $ d18 6 d45 3 a47 1 .include "../../x11/gtk2/buildlink3.mk" @ 1.7 log @During print-PLIST, suppress any files installed under libdata/gtk-2.0, and the directory itself, as they are automatically handled during post install by this package. @ text @d1 1 a1 1 # $NetBSD: modules.mk,v 1.6 2004/02/12 15:31:56 minskim Exp $ a38 1 .if defined(USE_BUILDLINK3) && !empty(USE_BUILDLINK3:M[Yy][Ee][Ss]) a39 4 .else USE_BUILDLINK2= YES .include "../../x11/gtk2/buildlink2.mk" .endif @ 1.6 log @.if should be closed with .endif, not with .fi (hi jmmv!). @ text @d1 1 a1 1 # $NetBSD: modules.mk,v 1.5 2004/02/12 12:07:41 jmmv Exp $ d36 3 @ 1.5 log @Preserve previous behavior: only use buildlink3 when USE_BUILDLINK3 is set to yes; otherwise, default to buildlink2. @ text @d1 1 a1 1 # $NetBSD: modules.mk,v 1.4 2004/02/10 02:04:54 xtraeme Exp $ d41 1 a41 1 .fi @ 1.4 log @bl3ify @ text @d1 1 a1 1 # $NetBSD: modules.mk,v 1.3 2004/01/26 14:59:46 jmmv Exp $ d36 1 a36 1 USE_BUILDLINK3= YES d38 4 @ 1.3 log @We want to include buildlink2.mk, not ourselves. From Min Sik Kim in PR pkg/24249. @ text @d1 1 a1 1 # $NetBSD: modules.mk,v 1.2 2004/01/26 11:06:05 jmmv Exp $ d36 2 a37 2 USE_BUILDLINK2= YES .include "../../x11/gtk2/buildlink2.mk" @ 1.2 log @Fix path in GTK_QUERY_IMMODULES. From Min Sik Kim in PR pkg/24243. @ text @d1 1 a1 1 # $NetBSD: modules.mk,v 1.1 2004/01/22 12:38:47 jmmv Exp $ d37 1 a37 1 .include "../../x11/gtk2/modules.mk" @ 1.1 log @Move "configuration" files from PKG_SYSCONFDIR to PREFIX/libdata. Those files are not intended to be configured by the end user, but should be automatically regenerated when (de)installing extra GTK modules. Bump PKGREVISION to 3 because of this change. While doing this, implement a framework so that other packages installing GTK modules can rebuild those databases easily at (de)install time. @ text @d1 1 a1 1 # $NetBSD$ d15 1 a15 1 GTK_QUERY_IMMODULES= ${BUILDLINK_PREFIX.gtk2}/bin/gtk2-query-immodules @