pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/gnome-screensaver Install a NetBSD flavoured scree...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d9cb501419b6
branches:  trunk
changeset: 399674:d9cb501419b6
user:      ahoka <ahoka%pkgsrc.org@localhost>
date:      Thu Sep 24 19:05:36 2009 +0000

description:
Install a NetBSD flavoured screensaver.

diffstat:

 x11/gnome-screensaver/Makefile                         |   17 ++-
 x11/gnome-screensaver/PLIST                            |    4 +-
 x11/gnome-screensaver/files/NetBSD-screensaver.svg     |  112 +++++++++++++++++
 x11/gnome-screensaver/files/netbsd-floaters.desktop.in |   11 +
 4 files changed, 141 insertions(+), 3 deletions(-)

diffs (192 lines):

diff -r 2c0174e46dd9 -r d9cb501419b6 x11/gnome-screensaver/Makefile
--- a/x11/gnome-screensaver/Makefile    Thu Sep 24 18:54:21 2009 +0000
+++ b/x11/gnome-screensaver/Makefile    Thu Sep 24 19:05:36 2009 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.36 2009/08/26 19:58:30 sno Exp $
+# $NetBSD: Makefile,v 1.37 2009/09/24 19:05:36 ahoka Exp $
 #
 
 DISTNAME=      gnome-screensaver-2.26.1
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    x11 gnome
 MASTER_SITES=  ${MASTER_SITE_GNOME:=sources/gnome-screensaver/2.26/}
 
@@ -37,11 +37,24 @@
 
 INSTALLATION_DIRS=     ${EGDIR}/pam.d
 
+SUBST_CLASSES+=                flavour
+SUBST_STAGE.flavour=   pre-install
+SUBST_FILES.flavour=   savers/netbsd-floaters.desktop.in
+SUBST_SED.flavour=     -e "s|@PREFIX@|${PREFIX}|g"
+SUBST_MESSAGE.flavour= Preparing NetBSD flavoured screensaver
+
+post-extract:
+       cp ${FILESDIR}/netbsd-floaters.desktop.in ${WRKSRC}/savers/
+
 post-install:
        ${INSTALL_DATA} ${FILESDIR}/pam-gnome-screensaver-NetBSD \
            ${DESTDIR}${EGDIR}/pam.d/gnome-screensaver-NetBSD
        ${INSTALL_DATA} ${WRKSRC}/data/gnome-screensaver \
            ${DESTDIR}${EGDIR}/pam.d/gnome-screensaver-Linux
+       ${INSTALL_DATA} ${FILESDIR}/NetBSD-screensaver.svg \
+           ${DESTDIR}${PREFIX}/share/pixmaps/
+       ${INSTALL_DATA} ${WRKSRC}/savers/netbsd-floaters.desktop.in \
+           ${DESTDIR}${PREFIX}/share/applications/screensavers/netbsd-floaters.desktop
 
 .include "../../devel/GConf/schemas.mk"
 BUILDLINK_API_DEPENDS.glib2+=          glib2>=2.8.0
diff -r 2c0174e46dd9 -r d9cb501419b6 x11/gnome-screensaver/PLIST
--- a/x11/gnome-screensaver/PLIST       Thu Sep 24 18:54:21 2009 +0000
+++ b/x11/gnome-screensaver/PLIST       Thu Sep 24 19:05:36 2009 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.14 2009/06/14 18:24:48 joerg Exp $
+@comment $NetBSD: PLIST,v 1.15 2009/09/24 19:05:36 ahoka Exp $
 bin/gnome-screensaver
 bin/gnome-screensaver-command
 bin/gnome-screensaver-preferences
@@ -14,6 +14,7 @@
 share/applications/gnome-screensaver-preferences.desktop
 share/applications/screensavers/cosmos-slideshow.desktop
 share/applications/screensavers/footlogo-floaters.desktop
+share/applications/screensavers/netbsd-floaters.desktop
 share/applications/screensavers/personal-slideshow.desktop
 share/applications/screensavers/popsquares.desktop
 share/desktop-directories/gnome-screensaver.directory
@@ -108,3 +109,4 @@
 share/pixmaps/backgrounds/cosmos/sombrero.jpg
 share/pixmaps/backgrounds/cosmos/whirlpool.jpg
 share/pixmaps/gnome-logo-white.svg
+share/pixmaps/NetBSD-screensaver.svg
diff -r 2c0174e46dd9 -r d9cb501419b6 x11/gnome-screensaver/files/NetBSD-screensaver.svg
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/gnome-screensaver/files/NetBSD-screensaver.svg        Thu Sep 24 19:05:36 2009 +0000
@@ -0,0 +1,112 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/";
+   xmlns:cc="http://creativecommons.org/ns#";
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
+   xmlns:svg="http://www.w3.org/2000/svg";
+   xmlns="http://www.w3.org/2000/svg";
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd";
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape";
+   version="1.0"
+   width="48"
+   height="48"
+   viewBox="0 0 966.72271 840"
+   id="svg2"
+   sodipodi:version="0.32"
+   inkscape:version="0.46"
+   sodipodi:docname="NetBSD.svg"
+   inkscape:output_extension="org.inkscape.output.svg.inkscape">
+  <metadata
+     id="metadata2504">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage"; />
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <sodipodi:namedview
+     inkscape:window-height="719"
+     inkscape:window-width="690"
+     inkscape:pageshadow="2"
+     inkscape:pageopacity="0.0"
+     guidetolerance="10.0"
+     gridtolerance="10.0"
+     objecttolerance="10.0"
+     borderopacity="1.0"
+     bordercolor="#666666"
+     pagecolor="#ffffff"
+     id="base"
+     showgrid="false"
+     inkscape:zoom="8.9374382"
+     inkscape:cx="30.507559"
+     inkscape:cy="22.771278"
+     inkscape:window-x="327"
+     inkscape:window-y="25"
+     inkscape:current-layer="g6" />
+  <defs
+     id="defs31">
+    <inkscape:perspective
+       sodipodi:type="inkscape:persp3d"
+       inkscape:vp_x="0 : 362.64999 : 1"
+       inkscape:vp_y="0 : 1000 : 0"
+       inkscape:vp_z="966.71997 : 362.64999 : 1"
+       inkscape:persp3d-origin="483.35999 : 241.76666 : 1"
+       id="perspective2506" />
+  </defs>
+  <style
+     type="text/css"
+     id="style4" />
+  <g
+     transform="matrix(2.2175078,0,0,2.1314617,6.6364474,-1010.5484)"
+     style="stroke-width:0.40052065;stroke-miterlimit:10"
+     id="g6">
+    <g
+       transform="matrix(0.1,0,0,-0.1,0,840)"
+       style="stroke-width:0.40052065"
+       id="g8">
+      <path
+         d="M 834,3091.06 C 834,3091.06 821.73,3119.6 787.13,3100.5 C 758.36,3084.54 773.321,3055.07 773.321,3055.07 L 1314.01,1911.73 L 1445.17,1911.73 L 833.991,3091.06"
+         style="fill:#777777;stroke:none"
+         id="path10" />
+      <path
+         d="M 2368.8,129.319 L 1959.76,918.729 L 1783.61,918.729 L 2194.5,49.9197 C 2194.5,49.9197 2235.91,-31.8501 2324.76,13.3502 C 2413.58,58.5499 2368.82,129.32 2368.82,129.32"
+         style="fill:#777777;stroke:none"
+         id="path12" />
+      <path
+         d="M 3876.46,3169.4 C 3363.82,3415.44 2900.01,3297.94 2381.26,3142.7 C 1859.03,2986.5 1394.51,2901.96 872.68,3114.87 C 929.53,3013.29 957.99,2962.51 1014.87,2861.01 C 1067.09,2767.64 
1119.38,2674.28 1171.62,2580.95 C 1228.49,2479.39 1256.92,2428.65 1313.8,2327.11 C 1729.28,2209.68 2073.36,2361.97 2442.57,2546.55 C 2885.93,2768.07 3286.4,2967.36 3792.96,2851.89 C 3364.87,3066.26 
2976.79,3013.13 2529.17,2891.69 C 2967.41,3114.79 3380.01,3288.31 3876.46,3169.4"
+         style="fill:#f26711;stroke:none"
+         id="path14" />
+      <path
+         d="M 840.76,1344.47 C 840.76,1258.83 840.76,1175.9 843.389,1132.38 C 834.19,1116.64 797.309,1102.08 765.709,1102.08 C 764.38,1102.08 720.91,1169.28 659.02,1245.71 L 354.77,1622.44 C 
279.721,1717.29 234.93,1771.27 211.22,1791.04 C 204.65,1777.89 204.65,1755.51 204.65,1706.76 L 204.65,1451.17 C 204.65,1344.47 209.9,1245.71 224.4,1210.11 C 236.259,1182.47 266.539,1174.56 
300.779,1168.01 L 337.659,1162.71 C 348.178,1152.15 345.559,1124.47 337.659,1116.64 C 266.539,1119.21 213.859,1120.59 161.179,1120.59 C 112.45,1120.59 63.7298,1119.21 13.6898,1116.64 C 5.7803,1124.47 
3.1499,1152.15 13.6898,1162.71 L 36.0696,1166.67 C 71.6294,1174.58 96.6396,1182.47 108.489,1210.11 C 121.659,1245.71 126.939,1344.47 126.939,1451.17 L 126.939,1785.78 C 126.939,1858.2 126.939,1879.26 
117.72,1897.71 C 108.49,1920.11 88.74,1933.3 42.6403,1942.5 L 5.7803,1947.79 C -3.4389,1958.33 -2.129,1989.94 11.0299,1993.87 C 72.9393,1991.3 138.779,1989.94 192.8,1989.94 C 237.569,1989.94 
275.769,1991.26 303.429,1993.88 C 316.619,1934.61 402.219,1834.53 520.739,1693.55 L 631.369,1563.13 C 690.649,1494.63 727.518,1448.57 757.829,1418.23 C 763.088,1431.43 763.088,1453.85 763.088,1477.51 
L 763.088,1659.32 C 763.088,1766 757.829,1864.8 743.318,1900.42 C 731.459,1928.04 702.498,1935.91 666.939,1942.5 L 631.369,1947.79 C 620.849,1958.33 623.479,1985.98 631.369,1993.87 C 702.508,1991.3 
753.869,1989.94 807.869,1989.94 C 856.578,1989.94 904.008,1991.26 955.379,1993.88 C 963.288,1985.98 965.898,1958.33 955.379,1947.77 L 931.669,1943.84 C 897.44,1935.91 872.399,1928.04 860.53,1900.35 C 
846.07,1864.8 840.781,1766 840.781,1659.28 L 840.781,1344.45"
+         style="fill:#f26711;stroke:none"
+         id="path16" />
+      <path
+         d="M 1153.67,1490.7 C 1172.14,1490.7 1193.18,1493.37 1207.7,1502.54 C 1214.28,1506.57 1216.88,1519.75 1216.88,1532.82 C 1216.88,1576.31 1191.88,1605.31 1147.1,1605.31 C 1091.77,1605.31 
1044.37,1552.62 1044.37,1510.49 C 1044.37,1492.01 1062.79,1490.7 1104.95,1490.7 L 1153.67,1490.7 z M 1066.77,1432.75 C 1036.48,1432.75 1033.83,1430.14 1033.83,1409.06 C 1033.83,1310.24 
1097.06,1214.09 1219.53,1214.09 C 1256.42,1214.09 1306.47,1221.96 1342.02,1282.58 C 1356.51,1285.2 1376.27,1274.67 1376.27,1252.32 C 1322.26,1140.33 1224.81,1102.08 1145.78,1102.08 C 967.979,1102.08 
871.85,1227.27 871.85,1370.85 C 871.85,1536.83 991.699,1665.94 1156.32,1665.94 C 1293.28,1665.94 1367.04,1577.68 1367.04,1476.21 C 1367.04,1451.19 1360.46,1432.75 1319.65,1432.75 L 1066.77,1432.75"
+         style="fill:#f26711;stroke:none"
+         id="path18" />
+      <path
+         d="M 1626.73,1576.31 C 1609.62,1576.31 1608.3,1575.03 1608.3,1546.01 L 1608.3,1348.48 C 1608.3,1274.67 1608.3,1192.99 1700.49,1192.99 C 1718.93,1192.99 1739.99,1202.2 1755.82,1212.73 C 
1768.96,1208.81 1776.87,1194.33 1774.22,1178.51 C 1737.35,1139.01 1666.24,1102.08 1584.59,1102.08 C 1475.26,1102.08 1437.08,1165.33 1437.08,1252.32 L 1437.08,1546.01 C 1437.08,1573.71 1435.76,1576.31 
1412.05,1576.31 L 1371.24,1576.31 C 1356.74,1581.68 1352.79,1607.95 1363.32,1617.2 C 1404.14,1631.64 1441.02,1655.39 1472.64,1676.44 C 1496.34,1693.55 1529.28,1721.19 1570.1,1779.24 C 1579.3,1784.47 
1603.03,1783.12 1609.62,1772.62 L 1609.62,1673.81 C 1609.62,1648.8 1610.94,1647.48 1634.64,1647.48 L 1751.87,1647.48 C 1758.45,1642.23 1762.39,1634.28 1762.39,1622.44 C 1762.39,1607.95 
1758.45,1584.28 1745.28,1576.31 L 1626.72,1576.31"
+         style="fill:#f26711;stroke:none"
+         id="path20" />
+      <path
+         d="M 2102.36,1343.19 C 2102.36,1240.43 2115.54,1175.9 2218.29,1175.9 C 2315.75,1175.9 2367.1,1250.96 2367.1,1357.68 C 2367.1,1472.29 2301.24,1552.62 2174.83,1552.62 C 2102.37,1552.62 
2102.37,1551.32 2102.37,1498.59 L 2102.37,1343.21 L 2102.36,1343.19 z M 2102.36,1647.48 C 2102.36,1613.2 2103.7,1610.62 2172.18,1610.62 C 2285.44,1610.62 2327.59,1683.02 2327.59,1762.07 C 
2327.59,1876.67 2256.46,1933.32 2165.58,1933.32 C 2103.7,1933.32 2102.36,1922.74 2102.36,1864.8 L 2102.36,1647.48 z M 1920.6,1775.27 C 1920.6,1908.28 1917.97,1922.74 1862.66,1929.37 L 1827.09,1934.67 
C 1815.24,1941.26 1812.6,1980.76 1832.37,1982.08 C 1932.47,1988.65 2028.61,1993.95 2160.34,1993.95 C 2286.75,1993.95 2371.08,1979.43 2428.99,1945.17 C 2485.63,1910.93 2519.85,1855.58 2519.85,1777.91 
C 2519.85,1667.23 2426.36,1623.77 2385.54,1613.2 C 2372.35,1610.62 2359.17,1605.31 2359.17,1598.73 C 2359.17,1594.79 2365.79,1590.87 2377.65,1588.19 C 2481.69,1565.78 2569.91,1497.35 2571.24,1369.59 
C 2572.57,1248.38 2500.13,1177.23 2417.18,1148.22 C 2334.17,1119.25 2235.42,1115.3 2155.07,1115.3 C 2107.67,1115.3 2057.62,1120.62 2019.41,1120.62 C 1954.85,1120.62 1890.32,1119.25 1815.27,1116.64 C 
1804.75,1124.53 1804.75,1158.76 1815.27,1162.71 L 1853.47,1170.63 C 1912.72,1182.47 1920.63,1191.7 1920.63,1310.26 L 1920.63,1775.27"
+         style="fill:#777777;stroke:none"
+         id="path22" />
+      <path
+         d="M 2858.47,1099.5 C 2737.33,1099.5 2662.24,1133.75 2634.6,1149.53 C 2609.58,1178.51 2592.47,1273.35 2592.47,1362.94 C 2601.67,1380.04 2631.98,1381.39 2642.51,1366.9 C 2668.84,1281.28 
2757.06,1160.1 2869.03,1160.1 C 2966.47,1160.1 3011.28,1227.27 3011.28,1293.11 C 3011.28,1399.8 2911.2,1463.03 2832.16,1502.54 C 2737.33,1550.02 2634.6,1629 2633.31,1759.45 C 2633.31,1908.28 
2747.9,2011.07 2938.86,2011.07 C 2982.31,2011.07 3036.3,2005.77 3089.01,1989.94 C 3106.12,1984.68 3117.96,1982.08 3133.78,1979.43 C 3144.27,1950.45 3157.49,1879.31 3157.49,1791.04 C 3150.89,1775.27 
3117.96,1773.93 3106.12,1787.05 C 3083.72,1854.28 3027.06,1950.45 2932.24,1950.45 C 2845.34,1950.45 2797.94,1893.78 2797.94,1827.96 C 2797.94,1767.34 2851.88,1712.05 2917.74,1677.79 L 3004.7,1631.64 
C 3086.34,1588.18 3190.4,1511.8 3190.4,1366.9 C 3190.4,1204.86 3057.33,1099.5 2858.47,1099.5"
+         style="fill:#777777;stroke:none"
+         id="path24" />
+      <path
+         d="M 3479.68,1359.03 C 3479.68,1286.54 3482.33,1239.14 3506.01,1211.46 C 3529.76,1185.1 3567.92,1173.26 3615.34,1173.26 C 3843.17,1173.26 3920.89,1376.07 3920.89,1555.26 C 3920.89,1792.38 
3795.77,1933.32 3557.37,1933.32 C 3521.87,1933.32 3496.79,1926.73 3488.9,1916.15 C 3480.99,1905.64 3479.68,1880.62 3479.68,1839.81 L 3479.68,1359.01 L 3479.68,1359.03 z M 3291.36,1776.58 C 
3291.36,1901.71 3288.72,1926.73 3228.13,1933.32 L 3203.12,1935.93 C 3189.97,1942.52 3189.97,1980.76 3205.77,1982.08 C 3316.4,1988.65 3419.11,1993.95 3558.74,1993.95 C 3666.73,1993.95 3774.7,1983.33 
3865.6,1950.45 C 4038.15,1888.55 4132.94,1733.11 4132.94,1568.48 C 4132.94,1391.93 4048.66,1249.64 3897.22,1174.58 C 3807.67,1129.76 3699.64,1112.7 3563.99,1112.7 C 3502.12,1112.7 3436.2,1120.62 
3388.82,1120.62 C 3325.58,1120.62 3258.41,1119.25 3183.37,1116.64 C 3172.84,1124.53 3172.84,1156.13 3183.37,1162.71 L 3224.19,1169.3 C 3283.45,1179.82 3291.36,1189.04 3291.36,1310.26 L 
3291.36,1776.58"
+         style="fill:#777777;stroke:none"
+         id="path26" />
+      <path
+         d="M 4083.45,1892.85 C 4083.45,1925.46 4095.02,1953.33 4118.17,1976.42 C 4141.31,1999.51 4169.21,2011.07 4201.82,2011.07 C 4234.42,2011.07 4262.29,1999.51 4285.38,1976.42 C 4308.45,1953.33 
4320,1925.46 4320,1892.85 C 4320,1860.21 4308.45,1832.34 4285.38,1809.18 C 4262.29,1786.04 4234.42,1774.46 4201.82,1774.46 C 4169.21,1774.46 4141.31,1786.04 4118.17,1809.18 C 4095.02,1832.34 
4083.45,1860.21 4083.45,1892.85 z M 4300.62,1892.85 C 4300.62,1920.17 4291,1943.47 4271.72,1962.76 C 4252.44,1982.03 4229.16,1991.68 4201.82,1991.68 C 4174.5,1991.68 4151.16,1982.03 4131.83,1962.76 C 
4112.49,1943.47 4102.83,1920.17 4102.83,1892.85 C 4102.83,1865.52 4112.49,1842.19 4131.83,1822.85 C 4151.16,1803.55 4174.5,1793.86 4201.82,1793.86 C 4229.16,1793.86 4252.44,1803.55 4271.72,1822.85 C 
4291,1842.19 4300.62,1865.52 4300.62,1892.85 z M 4238.55,1821.66 L 4201.46,1884.36 L 4180.4,1884.36 L 4180.4,1821.66 L 4159.72,1821.66 L 4159.72,1967.09 L 4197.04,1967.09 C 4232.06,1967.09 
4249.56,1953.66 4249.56,1926.84 C 4249.56,1908.18 4240.14,1894.98 4221.3,1887.29 L 4261.18,1821.66 L 4238.55,1821.66 z M 4180.4,1949.48 L 4180.4,1900.86 C 4182.14,1900.62 4186.68,1900.53 4194,1900.53 
C 4207.5,1900.53 4216.59,1902.25 4221.24,1905.71 C 4225.9,1909.18 4228.23,1915.78 4228.23,1925.54 C 4228.23,1941.62 4217.75,1949.66 4196.81,1949.66 L 4188.61,1949.66 L 4180.4,1949.48"
+         style="fill:#777777;stroke:none"
+         id="path28" />
+    </g>
+  </g>
+</svg>
diff -r 2c0174e46dd9 -r d9cb501419b6 x11/gnome-screensaver/files/netbsd-floaters.desktop.in
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/gnome-screensaver/files/netbsd-floaters.desktop.in    Thu Sep 24 19:05:36 2009 +0000
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Floating Flag
+Comment=Bubbles the NetBSD flag around the screen
+Exec=@PREFIX@/libexec/gnome-screensaver/floaters @PREFIX@/share/pixmaps/NetBSD-screensaver.svg
+TryExec=@PREFIX@/libexec/gnome-screensaver/floaters
+StartupNotify=false
+Terminal=false
+Type=Application
+Categories=GNOME;Screensaver;
+OnlyShowIn=GNOME;



Home | Main Index | Thread Index | Old Index