[Midnightbsd-cvs] mports: x11/gnome-panel: Update for gnome 2.22
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sun Jun 1 15:43:42 EDT 2008
Log Message:
-----------
Update for gnome 2.22
Modified Files:
--------------
mports/x11/gnome-panel:
Makefile (r1.2 -> r1.3)
mports/x11/gnome-panel/files:
patch-po_ko.po (r1.2 -> r1.3)
Added Files:
-----------
mports/x11/gnome-panel/files:
iso3166.tab (r1.1)
patch-applets_clock_clock-location.c (r1.1)
patch-applets_clock_clock-zonetable.c (r1.1)
patch-applets_clock_clock.c (r1.1)
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/x11/gnome-panel/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -L x11/gnome-panel/Makefile -L x11/gnome-panel/Makefile -u -r1.2 -r1.3
--- x11/gnome-panel/Makefile
+++ x11/gnome-panel/Makefile
@@ -3,15 +3,15 @@
# Whom: Joe Marcus Clarke <marcus at FreeBSD.org>
#
# $MidnightBSD$
-# $FreeBSD: ports/x11/gnome-panel/Makefile,v 1.80 2007/07/29 19:16:37 kris Exp $
-# $MCom: ports/x11/gnome-panel/Makefile,v 1.146 2007/03/14 21:00:05 marcus Exp $
+# $FreeBSD: ports/x11/gnome-panel/Makefile,v 1.90 2008/04/20 00:42:32 marcus Exp $
+# $MCom: ports/x11/gnome-panel/Makefile,v 1.177 2008/03/23 06:13:12 marcus Exp $
#
PORTNAME= gnome-panel
-PORTVERSION= 2.20.3
-PORTREVISION= 0
+PORTVERSION= 2.22.1.3
+PORTREVISION?= 0
CATEGORIES= x11 gnome
-MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITES= GNOME
MASTER_SITE_SUBDIR= sources/gnome-panel/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
DIST_SUBDIR= gnome2
@@ -23,19 +23,24 @@
.if !defined(REFERENCE_PORT)
+LIB_DEPENDS= gweather.1:${PORTSDIR}/net/libgweather \
+ polkit-gnome.0:${PORTSDIR}/sysutils/policykit-gnome
+
+USE_XORG= x11
USE_GETTEXT= yes
-USE_XLIB= yes
INSTALLS_OMF= yes
USE_LDCONFIG= yes
INSTALLS_ICONS= yes
-USE_GNOME= gnomeprefix gnomehack intlhack gnomedesktop \
+USE_GNOME= gnomeprefix gnomehack intlhack gnomedesktop librsvg2 \
libwnck gnomemenus gnomedocutils ltverhack referencehack
WANT_GNOME= yes
GNOME_DESKTOP_VERSION=2
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
CONFIGURE_ARGS= --with-kde-datadir=${LOCALBASE}/share \
- --with-kde-docdir=${LOCALBASE}/share/doc
+ --with-kde-docdir=${LOCALBASE}/share/doc \
+ --disable-network-manager \
+ --enable-polkit
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
@@ -66,6 +71,17 @@
@${FIND} ${WRKSRC} -type f | \
${XARGS} -n 10 ${REINPLACE_CMD} -e \
's|"applications.menu"|"gnome-applications.menu"|'
+.if ( ${OSVERSION} > 600000 && ${OSVERSION} < 600006 ) || \
+ ( ${OSVERSION} < 503101 )
+.for po in da.po it.po zh_CN.po zh_TW.po
+ @${REINPLACE_CMD} -e 's|%-|%|g' ${WRKSRC}/po/${po}
+.endfor
+.endif
+
+post-install:
+ ${MKDIR} ${PREFIX}/share/gnome-panel
+ ${INSTALL_DATA} ${FILESDIR}/iso3166.tab \
+ ${PREFIX}/share/gnome-panel/iso3166.tab
.include <bsd.port.post.mk>
--- /dev/null
+++ x11/gnome-panel/files/patch-applets_clock_clock.c
@@ -0,0 +1,11 @@
+--- applets/clock/clock.c.orig 2008-02-26 14:17:49.000000000 +0100
++++ applets/clock/clock.c 2008-02-26 18:01:17.000000000 +0100
+@@ -84,6 +84,8 @@
+
+ #define FALLBACK_CONFIG_TOOL "time-admin"
+
++#define daylight 1
++
+ static const char *clock_config_tools [] = {
+ CLOCK_TIME_UTILITY,
+ FALLBACK_CONFIG_TOOL
--- /dev/null
+++ x11/gnome-panel/files/iso3166.tab
@@ -0,0 +1,268 @@
+# $OpenBSD: iso3166.tab,v 1.17 2007/02/02 20:26:51 millert Exp $
+# ISO 3166 alpha-2 country codes
+#
+# @(#)iso3166.tab 8.4
+#
+# From Paul Eggert (2006-09-27):
+#
+# This file contains a table with the following columns:
+# 1. ISO 3166-1 alpha-2 country code, current as of
+# ISO 3166-1 Newsletter No. V-12 (2006-09-26). See:
+# <a href="http://www.iso.org/iso/en/prods-services/iso3166ma/index.html">
+# ISO 3166 Maintenance agency (ISO 3166/MA)
+# </a>.
+# 2. The usual English name for the country,
+# chosen so that alphabetic sorting of subsets produces helpful lists.
+# This is not the same as the English name in the ISO 3166 tables.
+#
+# Columns are separated by a single tab.
+# The table is sorted by country code.
+#
+# Lines beginning with `#' are comments.
+#
+#country-
+#code country name
+AD Andorra
+AE United Arab Emirates
+AF Afghanistan
+AG Antigua & Barbuda
+AI Anguilla
+AL Albania
+AM Armenia
+AN Netherlands Antilles
+AO Angola
+AQ Antarctica
+AR Argentina
+AS Samoa (American)
+AT Austria
+AU Australia
+AW Aruba
+AX Aaland Islands
+AZ Azerbaijan
+BA Bosnia & Herzegovina
+BB Barbados
+BD Bangladesh
+BE Belgium
+BF Burkina Faso
+BG Bulgaria
+BH Bahrain
+BI Burundi
+BJ Benin
+BM Bermuda
+BN Brunei
+BO Bolivia
+BR Brazil
+BS Bahamas
+BT Bhutan
+BV Bouvet Island
+BW Botswana
+BY Belarus
+BZ Belize
+CA Canada
+CC Cocos (Keeling) Islands
+CD Congo (Dem. Rep.)
+CF Central African Rep.
+CG Congo (Rep.)
+CH Switzerland
+CI Cote d'Ivoire
+CK Cook Islands
+CL Chile
+CM Cameroon
+CN China
+CO Colombia
+CR Costa Rica
+CU Cuba
+CV Cape Verde
+CX Christmas Island
+CY Cyprus
+CZ Czech Republic
+DE Germany
+DJ Djibouti
+DK Denmark
+DM Dominica
+DO Dominican Republic
+DZ Algeria
+EC Ecuador
+EE Estonia
+EG Egypt
+EH Western Sahara
+ER Eritrea
+ES Spain
+ET Ethiopia
+FI Finland
+FJ Fiji
+FK Falkland Islands
+FM Micronesia
+FO Faroe Islands
+FR France
+GA Gabon
+GB Britain (UK)
+GD Grenada
+GE Georgia
+GF French Guiana
+GG Guernsey
+GH Ghana
+GI Gibraltar
+GL Greenland
+GM Gambia
+GN Guinea
+GP Guadeloupe
+GQ Equatorial Guinea
+GR Greece
+GS South Georgia & the South Sandwich Islands
+GT Guatemala
+GU Guam
+GW Guinea-Bissau
+GY Guyana
+HK Hong Kong
+HM Heard Island & McDonald Islands
+HN Honduras
+HR Croatia
+HT Haiti
+HU Hungary
+ID Indonesia
+IE Ireland
+IL Israel
+IM Isle of Man
+IN India
+IO British Indian Ocean Territory
+IQ Iraq
+IR Iran
+IS Iceland
+IT Italy
+JE Jersey
+JM Jamaica
+JO Jordan
+JP Japan
+KE Kenya
+KG Kyrgyzstan
+KH Cambodia
+KI Kiribati
+KM Comoros
+KN St Kitts & Nevis
+KP Korea (North)
+KR Korea (South)
+KW Kuwait
+KY Cayman Islands
+KZ Kazakhstan
+LA Laos
+LB Lebanon
+LC St Lucia
+LI Liechtenstein
+LK Sri Lanka
+LR Liberia
+LS Lesotho
+LT Lithuania
+LU Luxembourg
+LV Latvia
+LY Libya
+MA Morocco
+MC Monaco
+MD Moldova
+ME Montenegro
+MG Madagascar
+MH Marshall Islands
+MK Macedonia
+ML Mali
+MM Myanmar (Burma)
+MN Mongolia
+MO Macau
+MP Northern Mariana Islands
+MQ Martinique
+MR Mauritania
+MS Montserrat
+MT Malta
+MU Mauritius
+MV Maldives
+MW Malawi
+MX Mexico
+MY Malaysia
+MZ Mozambique
+NA Namibia
+NC New Caledonia
+NE Niger
+NF Norfolk Island
+NG Nigeria
+NI Nicaragua
+NL Netherlands
+NO Norway
+NP Nepal
+NR Nauru
+NU Niue
+NZ New Zealand
+OM Oman
+PA Panama
+PE Peru
+PF French Polynesia
+PG Papua New Guinea
+PH Philippines
+PK Pakistan
+PL Poland
+PM St Pierre & Miquelon
+PN Pitcairn
+PR Puerto Rico
+PS Palestine
+PT Portugal
+PW Palau
+PY Paraguay
+QA Qatar
+RE Reunion
+RO Romania
+RS Serbia
+RU Russia
+RW Rwanda
+SA Saudi Arabia
+SB Solomon Islands
+SC Seychelles
+SD Sudan
+SE Sweden
+SG Singapore
+SH St Helena
+SI Slovenia
+SJ Svalbard & Jan Mayen
+SK Slovakia
+SL Sierra Leone
+SM San Marino
+SN Senegal
+SO Somalia
+SR Suriname
+ST Sao Tome & Principe
+SV El Salvador
+SY Syria
+SZ Swaziland
+TC Turks & Caicos Is
+TD Chad
+TF French Southern & Antarctic Lands
+TG Togo
+TH Thailand
+TJ Tajikistan
+TK Tokelau
+TL East Timor
+TM Turkmenistan
+TN Tunisia
+TO Tonga
+TR Turkey
+TT Trinidad & Tobago
+TV Tuvalu
+TW Taiwan
+TZ Tanzania
+UA Ukraine
+UG Uganda
+UM US minor outlying islands
+US United States
+UY Uruguay
+UZ Uzbekistan
+VA Vatican City
+VC St Vincent
+VE Venezuela
+VG Virgin Islands (UK)
+VI Virgin Islands (US)
+VN Vietnam
+VU Vanuatu
+WF Wallis & Futuna
+WS Samoa (western)
+YE Yemen
+YT Mayotte
+ZA South Africa
+ZM Zambia
+ZW Zimbabwe
Index: patch-po_ko.po
===================================================================
RCS file: /home/cvs/mports/x11/gnome-panel/files/patch-po_ko.po,v
retrieving revision 1.2
retrieving revision 1.3
diff -L x11/gnome-panel/files/patch-po_ko.po -L x11/gnome-panel/files/patch-po_ko.po -u -r1.2 -r1.3
--- x11/gnome-panel/files/patch-po_ko.po
+++ x11/gnome-panel/files/patch-po_ko.po
@@ -1,38 +1,29 @@
---- po/ko.po.orig Sun Jul 8 18:23:19 2007
-+++ po/ko.po Sun Jul 8 18:26:46 2007
-@@ -88,7 +88,7 @@
+--- po/ko.po.orig 2008-02-26 18:15:58.000000000 +0100
++++ po/ko.po 2008-02-26 18:16:31.000000000 +0100
+@@ -95,7 +95,7 @@ msgstr "%H:%M"
#. * possible.
- #: ../applets/clock/calendar-window.c:233
+ #: ../applets/clock/calendar-window.c:250
msgid "%b %d"
-msgstr "%b %e일"
+msgstr "%B %e일"
- #: ../applets/clock/calendar-window.c:741
- msgid "_Tasks"
-@@ -129,7 +129,7 @@
+ #: ../applets/clock/calendar-window.c:765
+ msgid "Tasks"
+@@ -146,7 +146,7 @@ msgstr "%H:%M:%S"
#.
- #: ../applets/clock/clock.c:367
+ #: ../applets/clock/clock.c:443
msgid "%a %b %e"
-msgstr "%b %e일 (%a)"
+msgstr "%B %e일 (%a)"
#. translators: reverse the order of these arguments
#. * if the time should come before the
-@@ -156,7 +156,7 @@
- #. Show date in tooltip
- #: ../applets/clock/clock.c:520
- msgid "%A %B %d"
--msgstr "%b %e일 %A"
-+msgstr "%B %e일 %A"
+@@ -207,7 +207,7 @@ msgstr "%p %I:%M"
- #: ../applets/clock/clock.c:534
- msgid "Click to hide your appointments and tasks"
-@@ -188,7 +188,7 @@
-
- #: ../applets/clock/clock.c:1073
+ #: ../applets/clock/clock.c:1590
msgid "%A, %B %d %Y"
-msgstr "%Y년 %b %e일 %A"
+msgstr "%Y년 %B %e일 %A"
- #: ../applets/clock/clock.c:1148
+ #: ../applets/clock/clock.c:1665
#, c-format
--- /dev/null
+++ x11/gnome-panel/files/patch-applets_clock_clock-location.c
@@ -0,0 +1,11 @@
+--- applets/clock/clock-location.c.orig 2008-04-07 17:17:51.000000000 -0400
++++ applets/clock/clock-location.c 2008-04-07 22:54:31.000000000 -0400
+@@ -27,6 +27,8 @@
+ #include "clock-marshallers.h"
+ #include "set-timezone.h"
+
++#define daylight 1
++
+ G_DEFINE_TYPE (ClockLocation, clock_location, G_TYPE_OBJECT)
+
+ typedef struct {
--- /dev/null
+++ x11/gnome-panel/files/patch-applets_clock_clock-zonetable.c
@@ -0,0 +1,15 @@
+--- applets/clock/clock-zonetable.c.orig 2008-04-15 16:58:01.000000000 -0400
++++ applets/clock/clock-zonetable.c 2008-04-19 20:32:30.000000000 -0400
+@@ -18,8 +18,12 @@
+ #define ISO3166_FILE SYSTEM_ZONEINFODIR"/country.tab"
+ #else
+ #define ZONETAB_FILE SYSTEM_ZONEINFODIR"/zone.tab"
++#ifdef __FreeBSD__
++#define ISO3166_FILE DATADIR"/gnome-panel/iso3166.tab"
++#else
+ #define ISO3166_FILE SYSTEM_ZONEINFODIR"/iso3166.tab"
+ #endif
++#endif
+
+ static GObject *zonetable_singleton = NULL;
+
More information about the Midnightbsd-cvs
mailing list