summaryrefslogtreecommitdiffstats
path: root/build-aux/osx/bundle/data/gedit.bundle
blob: edb138ff9373e148da104b570bb081d699d99b29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
<app-bundle>

  <meta>
    <!-- Where to pick up the GTK+ installation, icon themes,
         etc. Note that "${env:JHBUILD_PREFIX}" is evaluated to the
         value of the environment variable JHBUILD_PREFIX. You can
         define additional prefixes and refer to them in paths
         throughout this file on the form "${prefix:name}". This is
         useful for installing certain libraries or even the
         application itself separately. Note that JHBUILD_PREFIX is
         defined by jhbuild, so it you are not using jhbuild you can
         either define your own or just hardcode the path here.
    -->
    <gtk>gtk+-3.0</gtk>
    <prefix name="default">${env:JHBUILD_PREFIX}</prefix>

    <!-- The project directory is the default location of the created
         app. If you leave out the path, the current directory is
         used. Note the usage of an environment variable here again.
    <destination overwrite="yes">${env:HOME}/Desktop</destination>
    -->

    <!-- Optionally specify a launcher script to use. If the
         application sets up everything needed itself, like
         environment variable, linker paths, etc, a launcher script is
         not needed. If the source path is left out, the default
         script will be used.
    -->
    <launcher-script>${project}/Gedit</launcher-script>
    <run-install-name-tool/>
  </meta>

  <!-- The special macro "${project}" refers to the directory where
       this bundle file is located. The application name and bundle
       identifier are taken from the plist file.
  -->
  <plist>${project}/Info.plist</plist>
  <main-binary>${prefix}/bin/gedit</main-binary>

  <!-- Copy in dependencies of python plugins -->
  <binary>${prefix}/lib/libgit2-glib*.dylib</binary>

  <!-- Copy in GTK+ printer backends -->
  <binary>${prefix}/lib/gtk-3.0/${pkg:gtk+-3.0:gtk_binary_version}/printbackends/*.so</binary>

  <!-- Copy in GTK+ im modules -->
  <binary>${prefix}/lib/gtk-3.0/${pkg:gtk+-3.0:gtk_binary_version}/immodules/*.so</binary>

  <!-- Copy in pango modules -->
  <binary>${prefix}/lib/pango/${pkg:pango:pango_module_version}/modules/*.so</binary>

  <!-- Copy in gdk pixbuf loader modules -->
  <binary>${prefix}/lib/gdk-pixbuf-2.0/${pkg:gdk-pixbuf-2.0:gdk_pixbuf_binary_version}/loaders/*.so</binary>

  <!-- Copy in plugins and plugin loaders -->
  <binary>${prefix}/lib/libpeas-1.0/loaders/*.so</binary>
  <binary>${prefix}/lib/gedit/plugins/*.so</binary>

  <!-- Take the applespell enchant provider -->
  <binary>${prefix}/lib/enchant/libenchant_applespell.so</binary>

  <!-- Copy in peas modules -->
  <binary>${prefix}/lib/libpeas-1.0/loaders/*.so</binary>

  <!-- Copy in girepository typelibs -->
  <data>${prefix}/lib/girepository-1.0</data>

  <!-- Copy in gedit private girepository typelibs -->
  <data>${prefix}/lib/gedit/girepository-1.0</data>


  <!-- python -->
  <binary>${prefix}/lib/python3.3/site-packages/cairo/*.so</binary>
  <binary>${prefix}/lib/python3.3/site-packages/gi/*.so</binary>

  <!--<data>${prefix}/lib/python3.3/site-packages/cairo</data>
  <data>${prefix}/lib/python2.3/site-packages/gi</data>-->

  <data>${prefix}/include/python3.3m/pyconfig.h</data>

  <binary>${prefix}/lib/python3.3/lib-dynload/*.so</binary>
  <data>${prefix}/lib/python3.3</data>
  <binary>${prefix}/bin/python3</binary>

  <!-- GTK+3 data -->
  <data>${prefix}/etc/gtk-3.0/*</data>

  <!-- gtksourceview -->
  <data>${prefix}/share/gtksourceview-4</data>

  <!-- gedit -->
  <data>${prefix}/share/gedit</data>
  <data>${prefix}/lib/gedit</data>

  <!-- locale (TODO: trim) -->
  <data>${prefix}/share/locale</data>
  <data>${prefix}/lib/charset.alias</data>

  <!-- mime database -->
  <data>${prefix}/share/mime</data>

  <!-- iso-codes -->
  <data>${prefix}/share/xml/iso-codes</data>

  <!-- Themes -->
  <data>${prefix}/share/themes/Default</data>
  <data>${prefix}/share/themes/Adwaita</data>
  <data>${prefix}/share/themes/HighContrast</data>
  <data>${prefix}/share/themes/Mac</data>

  <!-- App icon -->
  <data dest="${bundle}/Contents/Resources">${project}/gedit.icns</data>
  <data dest="${bundle}/Contents/Resources">${project}/geditdoc.icns</data>

  <!-- gsettings schema -->
  <data>${prefix}/share/glib-2.0/schemas/gschemas.compiled</data>

  <!-- Icon theme -->
  <icon-theme icons="auto">Adwaita</icon-theme>
  <icon-theme icons="auto">gnome</icon-theme>
</app-bundle>